/****************************/
/* ヘッダーの設定			*/
/****************************/
.header {
    position: sticky;
    top: 0;
    width: 100%; /* 横幅を常に画面全体にフィット */
    height: 7vh; /* 高さはビューポート高さの50% */
    background: url('../image/head.png') no-repeat center center;
    background-size: 100% 100%; /* 横方向フィット & 縦方向ストレッチ */
}
/*----------------------*/
/* ヘッダー文字列		*/
/*----------------------*/
.header-text {
    position: absolute;
    top: 0vh;	 /* 開始位置を縦方向の0%に設定	*/
    width: 100%; /* テキスト全体で調整			*/
}
.header-text .line1 {
    position: relative;
    text-align: left;	/* 左揃え */
    margin: 0 auto;		/* 左右の余白を自動調整 */
    width: fit-content;	/* テキスト幅に自動調整 */
    color: white;
    font-weight: bold;	/* 強調表示				*/
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);	/* 文字に影をつける	*/
}
.header-text .line1 {
    font-size: 2vh;					/* line1の文字サイズ	*/
    margin-left: calc(12.5% - 4em);	/* line1の開始位置		*/
}
/* 実施年	*/
.larger-number {
    font-size: 2.5vh;	/*実施年の数値だけサイズを少し大きく	*/
    color: white;		/* 必要であれば色を統一					*/
    font-weight: bold;	/* 強調表示								*/
}
.header-text .line2 {
    text-align: left;	/* 左揃え			*/
    color: white;
    margin: 0;
    font-size: 3vh;					/* line2の文字サイズ	*/
    font-weight: bold;				/* 強調表示				*/
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);	/* 文字に影をつける	*/
    margin-left: calc(15% - 4em);	/* line2の開始位置		*/
    margin-top: -0.7vh;				/* 少しだけ上に移動		*/
}

.prev-container,
.logout-container {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    z-index: 10; /* 背景より前面に表示 */
}
.prev-container {
    right: 6vw;
}
.logout-container {
    right: 2vw;
}

.prev-button,
.logout-button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
}
.prev-icon {
    width: 40px;
    height: 40px;
}
.logout-icon {
    width: 46px;
    height: 46px;
}
.prev-button:hover,
.logout-button:hover {
    opacity: 0.85;
}

