/***************************************
 ***************************************/
body {
    margin: 0;
    padding: 0;
    background-color: rgb(242, 242, 242); /* 背景色をRGB(242,242,242)に設定 */
}
/* development 環境 */
body.developmentFTL {
  background-color: #a9dae9;    /*薄い青系*/
}

/* development 環境 */
body.development {
  background-color: #a9dae9;
}

/* staging 環境 */
body.staging {
  background-color: #b0d8c8;    /*薄い緑系*/
}

/* production 環境 */
body.production {
  background-color: #f2f2f2; /* 背景色をRGB(242,242,242) [#f2f2f2]に設定 */
}
/***************************************
 ***************************************/
.header {
    position: relative;
    width: 100%; /* 横幅を常に画面全体にフィット */
    height: 50vh; /* 高さはビューポート高さの50% */
  /*  background: url('../image/baseg.png') no-repeat center center;	*/
    background-size: 100% 100%; /* 横方向フィット & 縦方向ストレッチ */
}
.header-text {
    position: absolute;
    top: 4vh; /* 開始位置を縦方向の10%に設定 */
    width: 100%; /* テキスト全体で調整 */
}
.header-text .line1 {
    position: relative;
    text-align: left; /* 左揃え */
    margin: 0 auto; /* 左右の余白を自動調整 */
    width: fit-content; /* テキスト幅に自動調整 */
    color: rgb(19, 55, 141);
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    font-size: 4vh; /* line1の文字サイズ */
    margin-left: calc(32% - 4em); /* line2の開始位置と同じに設定 */
}
.header-text .line2 {
    text-align: center; /* 中央揃え */
    color: rgb(19, 55, 141);
    margin: 0;
    font-size: 7vh; /* line2の文字サイズ */
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}
.larger-number {
    font-size: 6vh; /* 「6」だけ1サイズ大きく */
    color: rgb(19, 55, 141); /* 必要であれば色を統一 */
    font-weight: bold;
}
/***************************************
 ***************************************/
.prefecture-dropdown {
	position: relative; /* 矢印の基準を設定 */
    display: block;
    margin: 0 auto; /* 中央揃え */
    padding: 0.6em 2.0vw; /* login-buttonのpaddingに合わせる */
    font-size: 1.5vw; /* login-buttonのfont-sizeと一致 */
    font-weight: bold;
    color: rgb(19, 55, 141); /* テキスト色 */
    background-color: white;
    border: 2px solid rgb(19, 55, 141); /* ボーダー色 */
    border-radius: 6px; /* login-buttonのborder-radiusと一致 */
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* 軽い影を追加 */
    cursor: pointer;
    text-decoration: none;
    text-align: center; /* テキストを中央揃え */
    white-space: nowrap;
    width: 28.2%;
    max-width: 28.2%;
    appearance: none; /* デフォルトの矢印をカスタム */
}

.prefecture-dropdown:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(19, 55, 141, 0.5); /* フォーカス時の強調 */
}

.prefecture-dropdown::-ms-expand {
    display: none; /* Edgeのデフォルト矢印を非表示 */
}

/* カスタム矢印を追加 */
.prefecture-dropdown::after {
    content: '▼';
    position: absolute;
    right: 1em;
    pointer-events: none;
}

.prefecture-dropdown:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}
/***************************************
 ***************************************/
.user-info {
	position: relative; /* 矢印の基準を設定 */
    display: block;
    margin: 0 auto; /* 中央揃え */
    padding: 0.6em 2.0vw; /* login-buttonのpaddingに合わせる */
    font-size: 1.5vw; /* login-buttonのfont-sizeと一致 */
    font-weight: bold;
    color: rgb(19, 55, 141); /* テキスト色 */
    background-color: white;
    border: 2px solid rgb(19, 55, 141); /* ボーダー色 */
    border-radius: 6px; /* login-buttonのborder-radiusと一致 */
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5); /* 軽い影を追加 */
    cursor: pointer;
    text-decoration: none;
    text-align: center; /* テキストを中央揃え */
    white-space: nowrap;
    width: 24%;
    max-width: 24%;
    appearance: none; /* デフォルトの矢印をカスタム */
}

.user-info:focus {
    outline: none;
    box-shadow: 0 0 5px rgba(19, 55, 141, 0.5); /* フォーカス時の強調 */
}
/***************************************
 ***************************************/
.login-button {
    display: block; /* ブロック要素に変更 */
    margin: 0 auto; /* 左右のマージンを自動調整 */
    padding: 0.5em 4.0vw; /* 必要に応じて調整 */
    font-size: 1.5vw;
    font-weight: bold;
    color:  rgb(19, 55, 141); /* テキスト色 */;
    background: linear-gradient(45deg, #ff7e5f, #feb47b);
    border: none;
    border-radius: 6px;
    box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    white-space: nowrap;
    width: 20%;
    max-width: 20%;

    pointer-events: none;
    opacity: 0.5;
}

.login-button:hover {
    opacity: 0.85;
}
/***************************************
 ***************************************/
.header-text .goTop-button {
   	display: flex;
    justify-content: center; /* 中央揃え */
}
.header-text .goTop-button img {
    width: auto;
    height: 4vh; /* ボタン画像の高さを調整 */
    cursor: pointer; /* ボタンとしてクリック可能に */
}


.loginStyle01 {
    text-align: center; 
}
.loginStyle02 {
    color: red;
    font-weight: bold;
}
.loginStyle03 {
    background: none;
    border: none;
    padding: 0;
    cursor: pointer;
}

/* ——— 初回アクセス時案内メッセージ ——— */
.header-text .intro-message {
    text-align: left;                /* 中央寄せ */
    color: rgb(19, 55, 141);           /* 見出しと同じ青色 */
    font-size: 2vh;                    /* ビューポート高さに連動 */
    font-weight: normal;               /* 強調しすぎない */
    line-height: 1.4;                  /* 読みやすい行間 */
    margin: 1.5vh auto;                /* 上下に適度な余白 */
    width: auto;                        /* 横幅を制限して可読性向上 */
    max-width: 900px;                  /* 大画面でも行長を抑制 */
}
/* ——— 案内文を囲む角丸ボックス ——— */
.header-text .intro-box {
    background-color: rgba(19, 55, 141, 0.08);  /* 薄い青背景 */
    border: 1px solid rgba(19, 55, 141, 0.3);    /* 青系のボーダー */
    border-radius: 12px;                         /* 角丸 */
    padding: 1vh 1vw;                            /* 内側余白 */
    margin: 1.5vh auto;                          /* 上下マージン＋中央寄せ */
    width: 60%;
    max-width: 900px;
}

.header-text .intro-box .intro-message {
    margin: 0;
    font-size: 2vh;          /* 読みやすい大きさ */
    line-height: 1.4;
    color: rgb(19, 55, 141); /* 見出しと揃えた青色 */
    text-align: left;
    white-space: normal;     /* 自然な改行を許可 */
}