/*-----------------------------------------------*/
/* 全体設定 */
/* body内のすべての要素に余白を追加（ヘッダーは除外） */
body > * {
    padding: 0 10 0 10px;
    box-sizing: border-box;
}

/* ヘッダーのスタイル */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #007E89;
    color: white;
    width: 100vw; /* 幅を画面いっぱいに */
    height: 60px; /* 明示的に高さを指定 */
    padding: 0 20px; /* 上下の余白を削除 */
    margin: 0; /* 画面上部にぴったり配置 */
    position: fixed; /* ヘッダーを固定 */
    top: 0;
    left: 0;
    z-index: 1000; /* 他の要素より前面に */
}

/* ヘッダーの高さ分を確保（固定ヘッダーの場合） */
body {
    padding-top: 60px; /* header の高さと合わせる */
}

h1 {
    margin: 0;
    font-size: 20px;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
}

/* ハンバーガーメニューアイコン */
.menu-icon {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 10;
}

.menu-icon span {
    display: block;
    width: 30px;
    height: 4px;
    background-color: white;
    transition: 0.3s;
}

/* メニューリスト */
.menu {
    display: none;
    position: absolute;
    top: 100%; /* ヘッダーの直下に配置 */
    right: 20px;
    background-color: rgba(0, 0, 0, 0.9);
    list-style: none;
    padding: 10px;
    border-radius: 5px;
    width: 150px;
}

.menu li {
    padding: 7px;
}

.menu a {
    color: white;
    text-decoration: none;
    display: block;
}

.menu a:hover {
    background-color: #444;
}

.menu.active {
    display: block;
}
.menu-message {
    padding: 10px;
    color: #ddd; /* テキストの色 */
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    border-bottom: 1px solid #555; /* 上部に区切り線 */
}

/*-----------------------------------------------*/
/* 挨拶セクション */
.aisatu {
    text-align: center;
    margin-bottom: 30px;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
    line-height: 4;
    font-size: 10px;
    position: relative;
    color: #007E89;
    background: url("background-01.png") no-repeat center center;
    background-size: cover;
}

.aisatu::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.aisatu h2,
.aisatu p {
    position: relative;
    z-index: 2;
    margin: 0;
    padding: 20px;
}

/*-----------------------------------------------*/
/* 情報セクション */
.info {
    background-color: #007E89;
    color: #FFFFFF;
    text-align: center;
    padding: 12px;
    margin-bottom: 10px;
    font-size: 15px;
    font-family: YuMincho, "Yu Mincho", "Hiragino Mincho ProN", serif;
    line-height: 1.6;
    border-radius: 5px;
}

/*-----------------------------------------------*/
/* 漫画ビューア */
.comic-viewer {
    max-width: 100%;
    height: 80vh;
    margin: 0 auto;
    overflow: hidden;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
}

.comic-viewer img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    padding: 10px; /* 画像の余白を確保 */
}

/*-----------------------------------------------*/
/* ナビゲーション */
.navigation {
    width: fit-content; /* コンテンツ幅に合わせる */
    margin: 20px auto; /* 上下に 20px の余白をつけつつ、中央配置 */
    text-align: center; /* 内部のテキストやボタンを中央寄せ */
}


button {
    background-color:#A11417;
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 0 5px;
    cursor: pointer;
    font-size: 16px;
    border-radius: 5px;
}

button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

/*-----------------------------------------------*/
/* フッター */
footer {
    background-color: #007E89;
    color: #FFFFFF;
    text-align: center;
    padding: 15px;
    font-size: 14px;
}

footer a {
    color: #1DA1F2;
    text-decoration: none;
    font-weight: bold;
}

footer a:hover {
    text-decoration: underline;
    color: #ff4500;
}

.social-icon {
    width: 30px;
    height: 30px;
    margin: 0 10px;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.social-icon:hover {
    transform: scale(1.2);
}
