/* --- 基本設定 --- */
:root {
    --main-color: #00A0E9;
    /* イメージカラー: 空色 */
    --accent-color: #FFD700;
    /* アクセントカラー: 黄色 */
    --text-color: #333;
    --bg-color: #f9f9f9;
}

/* --- 開催中・開催後バナー --- */
#live-banner,
#thankyou-banner {
    padding: 40px 20px;
    text-align: center;
}

#live-banner {
    background-color: var(--accent-color);
    color: var(--text-color);
}

#thankyou-banner {
    background-color: #e6f6ff;
}

#thankyou-banner .chisamaru-container {
    margin: 0 auto 20px;
}

#thankyou-banner .chisamaru-container .bousai-zukin.deep {
    display: none;
}

#thankyou-banner .chisamaru-container .bousai-zukin.shallow {
    display: block;
}

/* --- 隠れちさまるミニゲーム --- */
.hidden-chisamaru {
    position: absolute;
    bottom: 80px;
    /* フッターの少し上 */
    left: 10px;
    /* 画面の左端 */
    width: 40px;
    z-index: 10;
    opacity: 0.3;
    /* 少し半透明にして隠す */
    transition: opacity 0.3s, transform 0.3s;
}

.hidden-chisamaru:hover {
    opacity: 1;
    /* マウスを乗せるとハッキリ見える */
    transform: scale(1.2);
}

.hidden-chisamaru .bousai-zukin.shallow {
    display: none;
}

/* 通常モード */
/* --- フローティングちさまる (最終FIX版) --- */
.floating-chisamaru {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 100px;
    /* ★クリック領域を確保するため、あえて少し大きめに */
    height: 100px;
    z-index: 998;
    cursor: pointer;
}

.floating-chisamaru svg {
    /* ★SVG自体にスタイルを適用 */
    width: 100%;
    height: 100%;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.15));
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-chisamaru:hover svg {
    transform: scale(1.1) rotate(-8deg);
}

.floating-chisamaru .bousai-zukin.shallow {
    display: none;
    /* 常に通常モード */
}

/* スマホでは少し小さく */
@media (max-width: 768px) {
    .floating-chisamaru {
        width: 80px;
        height: 80px;
        bottom: 15px;
        right: 15px;
    }
}

/* --- ページアイコンちさまる (完全版) --- */
.page-icon-container {
    width: 100px;
    margin: 0 auto -20px;
    position: relative;
    z-index: 2;
}

.page-icon-container svg {
    width: 100%;
    height: auto;
}

.page-icon-container .bousai-zukin.deep {
    display: none;
}

.page-icon-container .bousai-zukin.shallow {
    display: block;
}

/* --- 表情定義 --- */
/* キラキラ (Sparkle) */
.page-icon-container.sparkle .eye {
    d: path("M 75 70 L 75 90 M 65 80 L 85 80 M 68 73 L 82 87 M 82 73 L 68 87") !important;
    fill: none;
}

.page-icon-container.sparkle .eye.right {
    d: path("M 125 70 L 125 90 M 115 80 L 135 80 M 118 73 L 132 87 M 132 73 L 118 87") !important;
    fill: none;
}

.page-icon-container.sparkle .mouth {
    d: path("M 85 125 C 90 145, 110 145, 115 125") !important;
}

/* 笑顔 (Smile) */
.page-icon-container.smile .eye {
    d: path("M 65 75 C 75 70, 75 90, 65 85") !important;
}

.page-icon-container.smile .eye.right {
    d: path("M 135 75 C 125 70, 125 90, 135 85") !important;
}

.page-icon-container.smile .mouth {
    d: path("M 80 120 C 100 150, 120 120, 80 120 Z") !important;
    fill: #333;
}

/* ぺこり (Bowing) */
.page-icon-container.bowing .eye {
    d: path("M 65 90 C 75 80, 75 80, 85 90") !important;
}

.page-icon-container.bowing .eye.right {
    d: path("M 115 90 C 125 80, 125 80, 135 90") !important;
}

.page-icon-container.bowing .mouth {
    d: path("M 95 130 L 105 130") !important;
}

.page-icon-container.bowing .chisamaru-inner-body {
    transform: rotate(15deg);
}

/* ウインク (Wink) */
.page-icon-container.wink .eye.right {
    d: path("M 115 80 L 135 80") !important;
}

.page-icon-container.wink .mouth {
    d: path("M 85 130 Q 100 135, 115 130") !important;
}

/* なるほど (Surprised) */
.page-icon-container.surprised .eye {
    stroke-width: 5 !important;
}

.page-icon-container.surprised .mouth {
    d: path("M 100 120 a 10 10 0 1 0 0.001 0") !important;
}

/* 考え中 (Thinking) */
.page-icon-container.thinking .eye {
    d: path("M 65 80 L 85 80") !important;
}

.page-icon-container.thinking .eye.right {
    d: path("M 115 80 L 135 80") !important;
}

.page-icon-container.thinking .mouth {
    d: path("M 95 135 L 105 135") !important;
}

.page-icon-container svg path {
    stroke-width: 2.5 !important;
    /* ★★★ これが、最後の魔法です ★★★ */
}

/* --- ヘッダーロゴ画像 --- */
.site-logo-image {
    height: 50px;
    /* ロゴの高さを指定します。PCでの見え方に応じて調整してください */
    width: auto;
    display: block;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    margin: 0;
    color: var(--text-color);
    background-color: var(--bg-color);
}

/* --- 【最重要バグ修正】重ね順のルールを確立 --- */
main {
    position: relative;
    z-index: 1;
    /* ヘッダー(999)より明確に下、という基準を作る */
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* --- ヘッダー --- */
.site-header {
    background-color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-logo-link {
    text-decoration: none;
}

.site-logo {
    margin: 0;
    font-size: 24px;
    color: var(--main-color);
    font-weight: 700;
}

/* ↓↓↓ ここから下が重要です ↓↓↓ */
.site-nav-pc ul {
    /* .site-nav から .site-nav-pc へ変更 */
    margin: 0;
    padding: 0;
    list-style: none;
    /* ← これで黒丸が消えます */
    display: flex;
    /* ← これで横並びになります */
}

.site-nav-pc li a {
    /* .site-nav から .site-nav-pc へ変更 */
    text-decoration: none;
    /* ← これで下線が消えます */
    color: var(--text-color);
    /* ← これで文字色が黒になります */
    padding: 10px 15px;
    font-weight: 700;
    transition: color 0.3s;
    white-space: nowrap;
    /* ← 項目が増えても改行しないように */
}

.site-nav-pc li a:hover {
    /* .site-nav から .site-nav-pc へ変更 */
    color: var(--main-color);
}

/* --- メインビジュアル --- */
.hero {
    background-color: var(--main-color);
    color: #fff;
    text-align: center;
    padding: 100px 20px;
    /* ★★★ ここを修正 ★★★ */
    background-image:
        linear-gradient(to right, rgba(0, 160, 233, 0.8), rgba(0, 100, 180, 0.8)),
        /* グラデーションを少し濃くする */
        url('/2026/images/hero-bg.jpg');
    background-size: cover;
    background-position: center center;
    /* 上下左右中央を基準に表示 */
}

.hero-title,
.hero-slogan,
.hero-date {
    /* ★★★ 文字に影をつけ、視認性を上げる ★★★ */
    text-shadow: 0px 2px 5px rgba(0, 0, 0, 0.3);
}

.hero-title {
    font-size: 3rem;
    margin: 0 0 20px;
    font-weight: 700;
    line-height: 1.4;
}

.hero-slogan {
    font-size: 1.5rem;
    margin: 0 0 40px;
    font-weight: 700;
}

.hero-date {
    font-size: 1.2rem;
    background-color: rgba(255, 255, 255, 0.2);
    padding: 10px 20px;
    display: inline-block;
    border-radius: 30px;
}

/* --- カウントダウン --- */
#countdown {
    background-color: var(--accent-color);
    color: var(--text-color);
    padding: 20px;
    text-align: center;
}

#countdown .timer {
    font-size: 2.5rem;
    font-weight: 700;
    letter-spacing: 2px;
}

#countdown p {
    margin: 0;
    font-size: 1rem;
    font-weight: 700;
}

/* --- セクション共通 --- */
.section {
    padding: 80px 0;
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s, transform 0.8s;
}

.section.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 60px;
    color: var(--main-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background-color: var(--accent-color);
    margin: 10px auto 0;
}

/* --- 各セクション --- */
.vision-content,
.about-content,
.how-to-steps,
.character-content {
    display: flex;
    gap: 40px;
    align-items: center;
}

.vision-text,
.about-text,
.character-text {
    flex: 1;
}

.vision-image,
.about-image {
    flex: 1;
    max-width: 450px;
    text-align: center;
}

.vision-image img,
.about-image img {
    max-width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.step {
    flex: 1;
    background-color: #fff;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    border-radius: 50%;
    background-color: var(--main-color);
    color: #fff;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.step h3 {
    margin-top: 0;
    font-size: 1.2rem;
}

.step .hashtag {
    font-weight: 700;
    color: var(--main-color);
    background-color: #e6f6ff;
    padding: 5px 10px;
    border-radius: 5px;
    display: inline-block;
}

/* --- ちさまるギャラリー (最終FIX・完全クリーンアップ版) --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.gallery-item p {
    font-weight: bold;
}

.chisamaru-container svg {
    width: 100%;
    max-width: 150px;
    height: auto;
    overflow: visible;
}

/* --- 以下、各表情と、"中身だけ" のアニメーション --- */
/* 差分1：笑顔 (Smile) */
.smile .eye {
    d: path("M 65 75 C 75 70, 75 90, 65 85") !important;
}

.smile .eye.right {
    d: path("M 135 75 C 125 70, 125 90, 135 85") !important;
}

.smile .mouth {
    d: path("M 80 120 C 100 150, 120 120, 80 120 Z") !important;
    fill: #333;
}

.smile:hover .chisamaru-inner-body {
    animation: happy-bounce 0.5s;
}

@keyframes happy-bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

/* 差分2：ウインク (Wink) */
.wink .eye.right {
    d: path("M 115 80 L 135 80") !important;
}

.wink .mouth {
    d: path("M 85 130 Q 100 135, 115 130") !important;
}

.wink:hover .chisamaru-inner-body {
    animation: wink-nod 0.5s;
}

@keyframes wink-nod {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(5deg) translateY(-5px);
    }
}

/* 差分3：驚き (Surprised) */
.surprised .eye {
    stroke-width: 7 !important;
}

.surprised .mouth {
    d: path("M 100 120 a 10 10 0 1 0 0.001 0") !important;
}

.surprised:hover .chisamaru-inner-body {
    animation: surprised-shake 0.3s;
}

@keyframes surprised-shake {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-3px);
    }

    75% {
        transform: translateX(3px);
    }
}

/* 差分4：しょんぼり (Sad) */
.sad .eye {
    d: path("M 65 85 C 75 90, 75 70, 65 75") !important;
}

.sad .eye.right {
    d: path("M 135 85 C 125 90, 125 70, 135 75") !important;
}

.sad .mouth {
    d: path("M 90 140 Q 100 130, 110 140") !important;
}

.sad:hover .chisamaru-inner-body {
    animation: sad-tremble 1s infinite;
}

@keyframes sad-tremble {

    0%,
    100% {
        transform: translateX(0);
    }

    25% {
        transform: translateX(-1px);
    }

    75% {
        transform: translateX(1px);
    }
}

/* 差分5：PON */
.pon .eye {
    d: path("M 65 75 L 85 85 M 85 75 L 65 85") !important;
}

.pon .eye.right {
    d: path("M 115 75 L 135 85 M 135 75 L 115 85") !important;
}

.pon .mouth {
    d: path("M 90 130 C 95 140, 105 140, 110 130") !important;
}

.pon:hover .chisamaru-inner-body {
    animation: pon-spin 0.7s;
}

@keyframes pon-spin {
    0% {
        transform: rotate(0deg) scale(1);
    }

    80% {
        transform: rotate(360deg) scale(1);
    }

    90% {
        transform: rotate(360deg) scale(1.1);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

/* --- 差分6：考え中 (Thinking) --- */
.thinking .eye {
    d: path("M 65 80 L 85 80") !important;
}

/* -- の目 */
.thinking .eye.right {
    d: path("M 115 80 L 135 80") !important;
}

.thinking .mouth {
    d: path("M 95 135 L 105 135") !important;
}

/* _ の口 */
.thinking:hover .chisamaru-inner-body {
    animation: thinking-tilt 2s infinite ease-in-out;
}

@keyframes thinking-tilt {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(3deg);
    }
}

/* --- 差分7：キラキラ (Sparkle) --- */
.sparkle .eye {
    d: path("M 75 70 L 75 90 M 65 80 L 85 80 M 68 73 L 82 87 M 82 73 L 68 87") !important;
    fill: none;
}

/* ✨ の目 */
.sparkle .eye.right {
    d: path("M 125 70 L 125 90 M 115 80 L 135 80 M 118 73 L 132 87 M 132 73 L 118 87") !important;
    fill: none;
}

.sparkle .mouth {
    d: path("M 85 125 C 90 145, 110 145, 115 125") !important;
}

/* Oの口 */
.sparkle:hover .chisamaru-inner-body {
    animation: sparkle-glow 1.5s infinite;
}

@keyframes sparkle-glow {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.9;
        transform: scale(1.02);
    }
}

/* --- 差分8：うとうと (Dozing) --- */
.dozing .eye {
    d: path("M 65 90 C 75 80, 75 80, 85 90") !important;
}

/* ^^ の目 */
.dozing .eye.right {
    d: path("M 115 90 C 125 80, 125 80, 135 90") !important;
}

.dozing .mouth {
    d: path("M 95 130 Q 100 135, 105 130") !important;
}

.dozing:hover .chisamaru-inner-body {
    animation: dozing-bob 3s infinite ease-in-out;
}

@keyframes dozing-bob {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(5px) rotate(-2deg);
    }
}

/* --- 差分9：黙祷 (Mokutou) --- */
/* ★★★ この表情の時だけ、深く被った「通常モード」の頭巾を表示する ★★★ */
.mokutou .bousai-zukin.deep {
    display: block !important;
    /* !importantで、強制的に表示 */
}

.mokutou .bousai-zukin.shallow {
    display: none !important;
    /* !importantで、強制的に非表示 */
}

/* 表情：静かに閉じた目と、一文字の口 */
.mokutou .eye {
    d: path("M 65 90 C 75 100, 75 100, 85 90") !important;
    /* (︶) のような、穏やかな下向きの弧 */
}

.mokutou .eye.right {
    d: path("M 115 90 C 125 100, 125 100, 135 90") !important;
}

.mokutou .mouth {
    d: path("M 95 135 L 105 135") !important;
    /* (—) のような、静かな一文字の口 */
}

.mokutou .cheek {
    opacity: 0.1 !important;
    /* チークを薄くし、厳粛な雰囲気に */
}

/* アニメーション：ゆっくりと、深く、一度だけお辞儀をする */
.mokutou:hover .chisamaru-inner-body {
    animation: bowing-pray 3s ease-in-out;
}

@keyframes bowing-pray {

    0%,
    100% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(10deg) translateY(5px);
    }
}

/* --- フッター (最終版) --- */
.site-footer {
    background-color: #333;
    color: #ccc;
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid #555;
}

.footer-about h4,
.footer-links h4,
.footer-social h4 {
    color: #fff;
    font-size: 1.1rem;
}

.footer-about p {
    line-height: 1.8;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a,
.footer-social a {
    color: #ccc;
    text-decoration: none;
}

.footer-links a:hover,
.footer-social a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-social a {
    display: block;
    margin-bottom: 20px;
}

.footer-copyright {
    text-align: center;
    padding-top: 20px;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
    }
}

/* --- ポータルリンク --- */
.portal-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.portal-card {
    display: block;
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.portal-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 160, 233, 0.1);
}

.portal-card h3 {
    margin: 0 0 10px;
    color: var(--main-color);
}

.portal-card p {
    margin: 0;
    line-height: 1.7;
}

/* --- 記事風コンテンツ --- */
.prose {
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
}

.prose h3 {
    font-size: 1.5rem;
    color: var(--main-color);
    margin-top: 2em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid var(--accent-color);
}

/* --- パビリオン --- */
.pavilion-category-title {
    text-align: center;
    font-size: 1.8rem;
    margin: 80px 0 40px;
}

.pavilion-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.pavilion-card {
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.pavilion-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.pavilion-card h4 {
    font-size: 1.2rem;
    padding: 0 20px;
    margin: 15px 0;
}

.pavilion-card p {
    padding: 0 20px 20px;
    margin: 0;
    line-height: 1.7;
}

.pavilion-card.is-tba {
    text-align: center;
    padding: 40px;
    background: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* --- ロードマップ (タイムライン) --- */
.timeline {
    list-style: none;
    padding: 0;
    max-width: 800px;
    margin: 60px auto;
}

.timeline-item {
    position: relative;
    padding: 20px 0 30px 40px;
    border-left: 3px solid var(--main-color);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -11px;
    top: 20px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    border: 3px solid var(--main-color);
}

.timeline-item.is-highlight::before {
    background: var(--accent-color);
}

.timeline-date {
    font-weight: 700;
    font-size: 1.2rem;
}

.timeline-content h4 {
    margin: 10px 0;
}

.timeline-content p {
    margin: 0;
}

/* --- ちさまるページ --- */
.text-center {
    text-align: center;
}

/* --- ギャラリー --- */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    text-align: center;
}

.gallery-item img {
    max-width: 100%;
    background: #fff;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.gallery-item p {
    font-weight: bold;
}

/* --- ファンキット --- */
.fankit-grid {
    /* goods-grid と類似のスタイル */
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    text-align: center;
}

.fankit-item {
    background: #fff;
    border-radius: 10px;
    padding: 30px 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.fankit-item img {
    max-width: 100%;
    height: 180px;
    object-fit: contain;
    margin-bottom: 15px;
}

.fankit-item h4 {
    margin: 10px 0;
}

.fankit-item p {
    margin: 0 0 20px;
}

.button {
    display: inline-block;
    background-color: var(--main-color);
    color: #fff;
    padding: 10px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s;
}

.button:hover {
    background-color: #0088cc;
}

/* --- サポーター (アップデート版) --- */
.supporter-category-title {
    text-align: center;
    font-size: 1.8rem;
    margin: 60px 0 30px;
}

.supporter-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.supporter-logo {
    display: block;
    text-decoration: none;
    color: var(--text-color);
    text-align: center;
    transition: opacity 0.3s;
}

.supporter-logo:hover {
    opacity: 0.7;
}

.supporter-logo img {
    max-height: 80px;
    /* ロゴの最大高さを指定 */
    width: auto;
    margin-bottom: 10px;
}

.supporter-logo p {
    margin: 0;
    font-weight: bold;
}

.supporter-item.is-tba {
    color: #888;
}

/* --- ギャラリー --- */
.gallery-placeholder {
    margin-top: 60px;
    padding: 80px 40px;
    text-align: center;
    background-color: #f0f8ff;
    border: 2px dashed var(--main-color);
    border-radius: 10px;
}

.gallery-placeholder p {
    font-size: 1.5rem;
    color: var(--main-color);
    font-weight: bold;
    line-height: 1.8;
}

/* --- FAQ --- */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 25px;
}

.faq-item h4 {
    /* Q */
    background: #e6f6ff;
    padding: 15px 20px;
    border-radius: 5px;
    margin: 0 0 10px;
}

.faq-item p {
    /* A */
    padding: 0 20px;
    margin: 0;
    line-height: 1.8;
}

/* --- 開催宣言 --- */
.declaration-box {
    margin-top: 60px;
    padding: 40px;
    border: 2px solid var(--main-color);
    border-radius: 5px;
    background: #f0f8ff;
    font-size: 1.1rem;
    line-height: 2.2;
}

.declaration-date {
    margin-top: 40px;
    text-align: right;
}

.declaration-signer {
    text-align: right;
    line-height: 1.8;
}

/* --- ヘッダー外部リンク --- */
.header-links {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-left: 20px;
    /* ナビとの間隔 */
}

.header-links a {
    display: block;
    height: 24px;
}

.header-links img {
    height: 100%;
    transition: opacity 0.3s;
}

.header-links a:hover img {
    opacity: 0.7;
}

/* --- フッターナビ --- */
.footer-nav {
    margin-bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-nav a {
    color: #fff;
    text-decoration: none;
}

.footer-nav a:hover {
    text-decoration: underline;
}

/* (レスポンシブナビゲーションのスタイル部分) */
/* 画面幅が1200px以下になったら切り替え */
@media (max-width: 1200px) {

    /* ← この数値を大きく調整 */
    .site-nav-pc {
        display: none;
    }

    /* PC用ナビを隠す */
    .nav-toggle {
        display: block;
    }

    /* ハンバーガーボタンを表示 */
    .header-links {
        display: none;
    }
}

/* --- リアルタイム・ハブ --- */
.live-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-top: 60px;
}

.live-column h3 {
    text-align: center;
    font-size: 1.5rem;
}

.timeline-container {
    height: 800px;
    background: #f5f5f5;
    border-radius: 10px;
    border: 1px solid #ddd;
    overflow: hidden;
    /* 埋め込みウィジェットがはみ出さないように */
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.manual-link a {
    font-weight: bold;
}

@media(max-width: 768px) {
    .live-grid {
        grid-template-columns: 1fr;
    }
}

.site-nav-pc ul {
    margin: 0;
    padding: 0;
    list-style: none;
    display: flex;
}

.site-nav-pc li {
    position: relative;
}

.site-nav-pc li a {
    display: block;
    text-decoration: none;
    color: var(--text-color);
    padding: 20px 15px;
    font-weight: 700;
    transition: color 0.3s;
    white-space: nowrap;
}

.site-nav-pc li a:hover {
    color: var(--main-color);
}

.dropdown-menu {
    display: block;
    /* displayは常にblockにしておく */
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    list-style: none;
    padding: 10px 0;
    margin: 0;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    min-width: 200px;
    z-index: 1000;
    /* ↓↓↓ ここからが重要 ↓↓↓ */
    opacity: 0;
    /* 透明にして隠す */
    visibility: hidden;
    /* 操作もできないように隠す */
    transform: translateY(10px);
    /* 少し下に配置 */
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    /* なめらかなアニメーション */
}

.dropdown.is-active .dropdown-menu {
    /* ★is-activeクラスがついたら表示 */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    padding: 12px 20px;
}

.dropdown-menu li a:hover {
    background-color: #f5f5f5;
}

/* --- リアルタイム・エントランス --- */
.entrance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 60px;
}

.entrance-card {
    display: block;
    padding: 30px;
    border-radius: 10px;
    background-color: #fff;
    text-decoration: none;
    color: var(--text-color);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.entrance-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 160, 233, 0.1);
}

.entrance-card.main-card {
    background-color: var(--main-color);
    color: #fff;
}

.card-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.entrance-card h3 {
    margin: 0 0 10px;
}

.entrance-card.main-card h3 {
    color: #fff;
}

.entrance-card p {
    margin: 0 0 20px;
}

.entrance-card span {
    font-weight: bold;
    color: var(--main-color);
}

.entrance-card.main-card span {
    color: #fff;
    background: rgba(255, 255, 255, 0.2);
    padding: 5px 10px;
    border-radius: 20px;
}

/* --- プレスルーム --- */
.press-info-box {
    margin: 30px 0;
    padding: 20px;
    background: #f5f5f5;
    border-left: 5px solid var(--main-color);
}

.press-info-box ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.press-info-box li {
    margin-bottom: 10px;
}

/* (既存のエントランス用スタイルに追記・修正) */
.entrance-card button.copy-button {
    font-weight: bold;
    color: var(--main-color);
    background: none;
    border: 2px solid var(--main-color);
    padding: 10px 20px;
    border-radius: 30px;
    cursor: pointer;
    transition: background-color 0.3s, color 0.3s;
}

.entrance-card button.copy-button:hover {
    background-color: var(--main-color);
    color: #fff;
}

.entrance-card.main-card button.copy-button {
    color: #fff;
    border-color: #fff;
}

.entrance-card.main-card button.copy-button:hover {
    background-color: #fff;
    color: var(--main-color);
}

/* aタグのデザインを流用 */
.entrance-card.account-card span {
    font-weight: bold;
    color: var(--main-color);
}

.how-to-search {
    text-align: center;
    margin-top: 60px;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 10px;
}

.how-to-search p {
    margin-top: 0;
}

/* --- 防災博のあゆみ --- */
.history-timeline {
    max-width: 800px;
    margin: 60px auto;
    border-left: 3px solid var(--accent-color);
    padding-left: 40px;
}

.history-year-block {
    position: relative;
    margin-bottom: 50px;
}

.history-year {
    position: absolute;
    left: -85px;
    top: -10px;
    font-size: 2.5rem;
    color: var(--main-color);
}

.history-event {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.history-event h4 {
    font-size: 1.5rem;
    margin: 0 0 10px;
}

.history-slogan {
    font-weight: bold;
}

.history-links {
    margin-top: 20px;
}

.history-future-block {
    text-align: center;
    color: #aaa;
    padding: 20px 0;
}

/* --- フッターちさまる --- */
.footer-chisamaru-container {
    width: 60px;
    margin: -30px auto 20px;
    /* コピーライトとの間に配置 */
    opacity: 0.5;
}

.footer-chisamaru-container .bousai-zukin.deep {
    display: none;
}

.footer-chisamaru-container .bousai-zukin.shallow {
    display: block;
}

/* うとうと表情を適用 */
.footer-chisamaru-container.dozing .eye {
    d: path("M 65 90 C 75 80, 75 80, 85 90") !important;
}

.footer-chisamaru-container.dozing .eye.right {
    d: path("M 115 90 C 125 80, 125 80, 135 90") !important;
}

.footer-chisamaru-container.dozing .mouth {
    d: path("M 95 130 Q 100 135, 105 130") !important;
}

/* --- ページローダー --- */
#loader-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #f9f9f9;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s, visibility 0.5s;
    /* visibilityも追加 */
}

#loader-wrapper .chisamaru-container {
    width: 100px;
}

#loader-wrapper p {
    margin-top: 15px;
    font-weight: bold;
    color: var(--text-color);
}

/* うとうと表情を適用 */
#loader-wrapper .chisamaru-container.dozing .bousai-zukin.deep {
    display: none;
}

#loader-wrapper .chisamaru-container.dozing .bousai-zukin.shallow {
    display: block;
}

#loader-wrapper .chisamaru-container.dozing .eye {
    d: path("M 65 90 C 75 80, 75 80, 85 90") !important;
}

#loader-wrapper .chisamaru-container.dozing .eye.right {
    d: path("M 115 90 C 125 80, 125 80, 135 90") !important;
}

#loader-wrapper .chisamaru-container.dozing .mouth {
    d: path("M 95 130 Q 100 135, 105 130") !important;
}

/* ロード完了後のスタイル */
body.loaded #loader-wrapper {
    opacity: 0;
    visibility: hidden;
    /* 完全に非表示にする */
}

/* --- トップへ戻るボタン --- */
#scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 25px;
    width: 60px;
    height: auto;
    z-index: 998;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    /* 初期位置を少し下にする */
    transition: opacity 0.3s, transform 0.3s, visibility 0.3s;
    filter: drop-shadow(0px 4px 6px rgba(0, 0, 0, 0.15));
}

#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    /* 表示時に元の位置へ */
}

#scroll-to-top:hover {
    transform: translateY(-5px);
    /* ホバーで少し浮き上がる */
}

/* PON!表情を適用 */
#scroll-to-top.pon .bousai-zukin.deep {
    display: none;
}

#scroll-to-top.pon .bousai-zukin.shallow {
    display: block;
}

#scroll-to-top.pon .eye {
    d: path("M 65 75 L 85 85 M 85 75 L 65 85") !important;
}

#scroll-to-top.pon .eye.right {
    d: path("M 115 75 L 135 85 M 135 75 L 115 85") !important;
}

#scroll-to-top.pon .mouth {
    d: path("M 90 130 C 95 140, 105 140, 110 130") !important;
}

/* スマホでの位置調整 */
@media (max-width: 768px) {
    #scroll-to-top {
        bottom: 90px;
        right: 20px;
        width: 50px;
    }
}

/* --- ちさまる日記 (最終FIX版) --- */
.diary-entries {
    max-width: 700px;
    margin: 60px auto;
}

.diary-item {
    display: flex;
    gap: 15px;
    margin-bottom: 40px;
    align-items: flex-start;
    /* アイコンと吹き出しの上端を揃える */
}

.diary-icon {
    flex-shrink: 0;
    width: 60px;
    /* アイコンサイズを指定 */
}

.diary-bubble {
    flex-grow: 1;
}

.diary-date {
    font-size: 0.9rem;
    font-weight: bold;
    color: var(--text-color);
    margin: 0 0 5px;
}

.diary-content {
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    line-height: 1.8;
    position: relative;
}

.diary-content::before {
    /* 吹き出しのしっぽ */
    content: '';
    position: absolute;
    top: 15px;
    left: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #fff;
}

/* --- 日記ちさまるの表情定義 --- */
.diary-icon .bousai-zukin.deep {
    display: none;
}

.diary-icon .bousai-zukin.shallow {
    display: block;
}

/* --- 表情定義 --- */
/* キラキラ (Sparkle) */
.diary-icon-container.sparkle .eye {
    d: path("M 75 70 L 75 90 M 65 80 L 85 80 M 68 73 L 82 87 M 82 73 L 68 87") !important;
    fill: none;
}

.diary-icon-container.sparkle .eye.right {
    d: path("M 125 70 L 125 90 M 115 80 L 135 80 M 118 73 L 132 87 M 132 73 L 118 87") !important;
    fill: none;
}

.diary-icon-container.sparkle .mouth {
    d: path("M 85 125 C 90 145, 110 145, 115 125") !important;
}

/* 笑顔 (Smile) */
.diary-icon-container.smile .eye {
    d: path("M 65 75 C 75 70, 75 90, 65 85") !important;
}

.diary-icon-container.smile .eye.right {
    d: path("M 135 75 C 125 70, 125 90, 135 85") !important;
}

.diary-icon-container.smile .mouth {
    d: path("M 80 120 C 100 150, 120 120, 80 120 Z") !important;
    fill: #333;
}

/* ぺこり (Bowing) */
.diary-icon-container.bowing .eye {
    d: path("M 65 90 C 75 80, 75 80, 85 90") !important;
}

.diary-icon-container.bowing .eye.right {
    d: path("M 115 90 C 125 80, 125 80, 135 90") !important;
}

.diary-icon-container.bowing .mouth {
    d: path("M 95 130 L 105 130") !important;
}

.diary-icon-container.bowing .chisamaru-inner-body {
    transform: rotate(15deg);
}

/* ウインク (Wink) */
.diary-icon-container.wink .eye.right {
    d: path("M 115 80 L 135 80") !important;
}

.diary-icon-container.wink .mouth {
    d: path("M 85 130 Q 100 135, 115 130") !important;
}

/* なるほど (Surprised) */
.diary-icon-container.surprised .eye {
    stroke-width: 7 !important;
}

.diary-icon-container.surprised .mouth {
    d: path("M 100 120 a 10 10 0 1 0 0.001 0") !important;
}

/* 考え中 (Thinking) */
.diary-icon-container.thinking .eye {
    d: path("M 65 80 L 85 80") !important;
}

.diary-icon-container.thinking .eye.right {
    d: path("M 115 80 L 135 80") !important;
}

.diary-icon-container.thinking .mouth {
    d: path("M 95 135 L 105 135") !important;
}

/* --- Cookie同意バナー --- */
.cookie-consent-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    color: #fff;
    padding: 15px 0;
    z-index: 9999;
    /* 最前面に表示 */
    transform: translateY(100%);
    /* 初期状態は画面下に隠す */
    transition: transform 0.5s ease-out;
}

.cookie-consent-banner.show {
    transform: translateY(0);
    /* 表示時にスライドイン */
}

.cookie-consent-banner .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.cookie-consent-banner p {
    margin: 0;
    font-size: 0.9rem;
}

.cookie-consent-banner a {
    color: var(--accent-color);
    text-decoration: underline;
}

.cookie-consent-banner .button {
    flex-shrink: 0;
    /* ボタンが縮まないように */
    padding: 8px 25px;
}

@media (max-width: 768px) {
    .cookie-consent-banner .container {
        flex-direction: column;
    }

    .cookie-consent-banner p {
        text-align: center;
    }
}

/* --- ファンキット (追加コンテンツ予告) --- */
.coming-soon-section {
    margin-top: 80px;
    padding: 40px;
    background-color: #f5f5f5;
    border-radius: 10px;
    text-align: center;
}

.coming-soon-section h3 {
    margin-top: 0;
    color: var(--main-color);
}

.coming-soon-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin: 30px 0;
}

.coming-soon-item {
    padding: 20px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    width: 150px;
}

.coming-soon-item .item-icon {
    font-size: 2.5rem;
}

.coming-soon-item p {
    margin: 10px 0 0;
    font-weight: bold;
}

.coming-soon-note {
    font-size: 0.9rem;
    color: #777;
    margin-bottom: 0;
}

/* --- お知らせ --- */
/* トップページ用 */
#latest-news {
    background: #fff;
}

.news-summary-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-summary-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    color: var(--text-color);
    transition: background-color 0.3s;
}

.news-summary-item:hover {
    background-color: #f9f9f9;
}

.news-summary-item .news-date {
    font-weight: bold;
    flex-shrink: 0;
}

.news-summary-item .news-title {
    font-weight: bold;
}

/* お知らせ一覧ページ用 */
.news-list {
    max-width: 800px;
    margin: 0 auto;
}

.news-item {
    padding-bottom: 30px;
    margin-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.news-item .news-date {
    font-size: 0.9rem;
    color: #777;
    margin: 0;
}

.news-item .news-title {
    font-size: 1.5rem;
    margin: 5px 0 15px;
    color: var(--main-color);
}

.news-item .news-content {
    margin: 0;
    line-height: 1.8;
}

/* (既存の.news-itemなどの下に追記) */
.news-content h3 {
    /* 記事内の見出し */
    font-size: 1.3rem;
    color: var(--main-color);
    margin-top: 1.5em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid var(--accent-color);
}

.news-content p {
    margin-bottom: 1em;
}

.news-content img {
    /* 記事内の画像 */
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    margin: 1em 0;
}

.news-content ul {
    line-height: 1.8;
}

/* --- 記事内画像のサイズ調整 --- */
.news-content img {
    /* デフォルトの画像スタイル */
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 1em 0;
}

.news-content img.size-small {
    max-width: 200px;
}

.news-content img.size-medium {
    max-width: 400px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.news-content img.size-large {
    max-width: 100%;
}

/* --- 記事内画像のサイズ調整 (最終FIX版) --- */
/* ★★★ 汎用的な .prose をターゲットにする ★★★ */
.prose img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    margin: 1em 0;
}

.prose img.size-small {
    max-width: 200px;
}

.prose img.size-medium {
    max-width: 400px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.prose img.size-large {
    max-width: 100%;
}

/* --- ちさまる プロフィール詳細 --- */
.profile-details {
    list-style: none;
    padding: 20px;
    margin: 30px 0;
    background-color: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #eee;
}

.profile-details li {
    display: flex;
    align-items: baseline;
    padding: 10px 0;
    border-bottom: 1px dashed #ddd;
}

.profile-details li:last-child {
    border-bottom: none;
}

.profile-details li strong {
    flex-shrink: 0;
    white-space: nowrap; /* ★★★ これが、最後の“神の一筆”です ★★★ */
    padding-right: 1em; /* 見た目のための、ささやかな余白 */
    color: var(--main-color);
}

/* --- FAQ 会話形式 (最終FIX版) --- */
.faq-list {
    max-width: 800px;
    margin: 60px auto;
}

.faq-item {
    margin-bottom: 50px;
}

.character-q,
.character-a {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.character-q {
    margin-bottom: 20px;
    justify-content: flex-start;
}

.character-a {
    justify-content: flex-end;
}

/* ★★★ ここからが“神の調律”です ★★★ */
.character-q .icon,
.character-a .icon {
    flex-shrink: 0;
    width: 9vw;
    /* 画面幅の9%を基準にする */
    max-width: 55px;
    /* ただし、最大でも55pxまで */
    min-width: 40px;
    /* 最小でも40pxは確保 */
}

.character-a .icon {
    order: 2;
    max-width: 65px;
    /* コレクトは少しだけ大きく */
    min-width: 50px;
}

/* ★★★ ここまで ★★★ */
.character-q p,
.character-a p {
    margin: 0;
    padding: 15px 20px;
    border-radius: 15px;
    line-height: 1.8;
    max-width: 80%;
}

.character-q p {
    background: #fff;
    position: relative;
    border: 1px solid #eee;
}

.character-q p::before {
    content: '';
    position: absolute;
    top: 15px;
    left: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #fff;
}

.character-a p {
    background: #E1F5FE;
    position: relative;
    order: 1;
}

.character-a p::after {
    content: '';
    position: absolute;
    top: 15px;
    right: -10px;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 10px solid #E1F5FE;
}

.character-a p strong {
    color: #01579B;
}

/* --- コレクト SVG用スタイル --- */
/* (あなたが提供してくださったSVG内のクラス名をそのまま使用) */
.icon.collect svg .body-fill {
    fill: #E1F5FE;
}

.icon.collect svg .body-stroke {
    stroke: #455A64;
    stroke-width: 3;
    stroke-linejoin: round;
}

.icon.collect svg .prism-core {
    fill: #B3E5FC;
    stroke: #455A64;
    stroke-width: 2.5;
    stroke-linejoin: round;
}

.icon.collect svg .prism-facet {
    fill: none;
    stroke: #78909C;
    stroke-width: 1.5;
    opacity: 0.8;
}

.icon.collect svg .eye-line {
    stroke: #263238;
    stroke-width: 3.5;
    stroke-linecap: round;
    fill: none;
}

.icon.collect svg .cheek {
    fill: #B2EBF2;
    opacity: 0.7;
}



/* --- レスポンシブナビゲーション --- */
.site-nav-pc {
    display: block;
}

/* PCでは表示 */
.nav-toggle,
.site-nav-mobile {
    display: none;
}

/* モバイル用は隠す */
/* 画面幅が900px以下になったら切り替え */
/* --- レスポンシブナビゲーション (スマホ対応強化) --- */
.site-nav-pc {
    display: block;
}

.nav-toggle,
.site-nav-mobile {
    display: none;
}

@media (max-width: 1100px) {

    /* 適用される画面幅を少し広げます */
    .site-nav-pc {
        display: none;
    }

    .nav-toggle {
        display: block;
        position: relative;
        width: 30px;
        height: 24px;
        border: none;
        background: transparent;
        cursor: pointer;
        z-index: 1001;
    }

    .nav-toggle span {
        display: block;
        position: absolute;
        width: 100%;
        height: 3px;
        background-color: var(--text-color);
        transition: transform 0.3s, opacity 0.3s;
    }

    .nav-toggle span:nth-child(1) {
        top: 0;
    }

    .nav-toggle span:nth-child(2) {
        top: 10px;
    }

    .nav-toggle span:nth-child(3) {
        bottom: 0;
    }

    /* メニューオープン時のハンバーガーボタン（×印に） */
    .nav-open .nav-toggle span:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .nav-open .nav-toggle span:nth-child(2) {
        opacity: 0;
    }

    .nav-open .nav-toggle span:nth-child(3) {
        transform: translateY(-11px) rotate(-45deg);
    }

    .nav-open .nav-toggle span {
        background-color: #fff;
    }

    .site-nav-mobile {
        display: block;
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background-color: rgba(0, 160, 233, 0.98);
        color: #fff;
        padding-top: 80px;
        transition: right 0.5s;
        z-index: 1000;
        overflow-y: auto;
    }

    .nav-open .site-nav-mobile {
        right: 0;
    }

    /* オープン時に画面内に表示 */
    .site-nav-mobile ul {
        list-style: none;
        padding: 0;
        text-align: center;
    }

    .site-nav-mobile li a {
        display: block;
        padding: 18px;
        color: #fff;
        text-decoration: none;
        font-size: 1.1rem;
        font-weight: bold;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    }

    /* --- 【スマホ用ドロップダウン】ここからが新しい --- */
    .site-nav-mobile .dropdown-menu {
        list-style: none;
        padding: 0;
        margin: 0;
        background-color: rgba(0, 0, 0, 0.2);
        max-height: 0;
        /* JSで開閉するために高さを0に */
        overflow: hidden;
        transition: max-height 0.5s ease-out;
        /* なめらかに開閉するアニメーション */
    }

    .site-nav-mobile .dropdown-menu.is-open {
        max-height: 500px;
        /* is-openクラスがついたら高さを広げる */
    }

    .site-nav-mobile .dropdown-menu li a {
        font-size: 1rem;
        font-weight: normal;
        padding-left: 40px;
        /* 階層を分かりやすくインデント */
    }

    .mobile-external-links {
        padding: 30px 0;
    }

    .mobile-external-links a {
        border: none;
        display: inline-block;
        margin: 0 10px;
        padding: 10px 20px;
        border: 1px solid #fff;
        border-radius: 30px;
    }
}
@media (max-width: 768px) {
    .site-logo-image {
        height: 40px; /* スマホでは、高さを40pxに抑制 */
    }
}