:root {
    --deep-navy: #0e1a2b;
    --accent-gold: #b39359;
    --border: #e0e0e0;
    --accent-gold: #b39359;
    --soft-white: #f9f9f9;
    --text-main: #333333;
    --border-light: #ececec;
}

html,
body {
    margin: 0;
    padding: 0;
    line-height: 1.8;
    color: #333;
    overflow-x: hidden;
    font-family: 'Noto Sans JP', sans-serif;
}
.serif { font-family: 'Playfair Display', 'Noto Serif JP', serif; }
.content-wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 18px;
    box-sizing: border-box;
}
.inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 6px;
    box-sizing: border-box;
}

/* 共通セクション */
.center { text-align: center; }
.section-header { margin-bottom: 10px; }
.navy-label {
    display: block;
    color: var(--accent-gold);
    margin-bottom: 4px;
}
.navy-text {
    color: var(--deep-navy);
    font-size: 2rem;
}
.gold-label {
    display: block;
    margin-bottom: 4px;
}
.gold-text {
    color: var(--accent-gold);
    font-size: 2rem;
}
.gold-line {
    border-bottom: 1px solid var(--accent-gold) !important;
    color: white !important;
}
.section-title {
    color: var(--deep-navy);
    font-size: 2rem;
}
.section-title,
.gold-text,
.navy-text {
    margin-top: 0;
    margin-bottom: 16px;
}
@media (max-width: 768px) {
    .section-title,
    .gold-text,
    .navy-text {
        font-size: 1.6rem;
        margin-bottom: 10px;
    }
}

/* Intro */
.intro-block {
    text-align: center;
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 1s ease forwards;
}
@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.intro-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 20px;
}
.serif-italic {
    font-family: 'Playfair Display', serif;
    font-style: italic;
    font-size: 1.4rem;
    color: var(--accent-gold);
    margin-bottom: 10px;
}
.intro-text {
    font-size: 0.95rem;
    line-height: 1.9;
    color: #555;
}
@media (max-width: 768px) {
    .intro-block {
        padding: 20px 0 24px;
    }
    .intro-text {
        font-size: 0.9rem;
    }
}

/* Hero */
.hero-header-text h1 {
    font-size: 2.8rem;
    letter-spacing: 0.15em;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    font-weight: 300;
}
.hero-footer-text p {
    font-size: 1.7rem;
    letter-spacing: 0.3em;
    font-weight: 300;
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px); /* 30px下から開始 */
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fade-in {
    opacity: 0; /* 最初は隠す */
    animation: fadeInUp 1.5s ease-out forwards;
    animation-delay: 0.5s; /* 動画が始まって少ししてから */
}
.fade-in-delay {
    opacity: 0;
    animation: fadeInUp 1.5s ease-out forwards;
    animation-delay: 1.2s; /* 1行目の後にふわっと出す */
}

/* --- Hero Section 基本設定 --- */
.hero-video-section {
    position: relative;
    height: 85vh; 
    width: 100%;
    overflow: hidden;
    background: var(--deep-navy); /* 動画の背景をDeep Navyに */
}
.bg-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 1;
}
.hero-text-container {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between; /* 上下に配置 */
    padding: 400px 20px; /* PC版の基本余白 */
    box-sizing: border-box;
    z-index: 3;
    text-align: center;
    color: white;
}
.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 26, 43, 0.4); /* Deep Navyのベール */
    z-index: 2;
}

/* スマホ用調整（レスポンシブ） */
@media (max-width: 768px) {
    .content-wrapper {
        padding: 0;
    }
    .inner {
        padding: 0;
    }
    .access-card,
    .guide-card,
    .course-card {
        border-radius: 0;
    }
    .access-card {
        padding: 18px 12px;
    }
    .access-card-body {
        gap: 12px;
    }
    .access-block .inner {
        padding: 0;
    }

    .access-card-wide .access-media img {
        border-radius: 0;
        border-left: 0;
        border-right: 0;
    }
    .hero-video-section {
        height: 70vh; /* スマホでは少し高さを抑えて画面内の情報密度を上げる */
    }
    .bg-video {
        width: 140%; 
        object-fit: cover;
        background: black; 
    }
    .hero-text-container {
        /* スマホ時はpaddingによる中央空けではなく、要素自体のマージンで上下に飛ばす */
        padding: 120px 10px; 
    }
    .hero-header-text h1 {
        font-size: 1.7rem; /* タイトルサイズをさらに微調整 */
        margin-top: 10px;
        line-height: 1.3;
    }
    .hero-footer-text p {
        font-size: 1.2rem;
        margin-bottom: 10px;
        white-space: normal; /* 折り返しを許可して画面外に突き抜けないように */
        padding: 0 10px;
    }
}

/* グリッドレイアウト（注意事項・アクセス） */
.guideline-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.access-grid {
    display: grid; grid-template-columns: 1fr 1fr; gap: 40px; margin: 40px 0;
}

.guide-card h3 {
    font-size: 1.1rem;
    color: var(--deep-navy);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}

.guide-side-image {
    float: right;
    margin: 0 0 10px 14px;
}
.guide-side-image img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* Deep Navy Block */
.navy-block {
    position: relative;
    left: 50%;
    right: 50%;
    width: 100vw;
    margin-left: -50vw;
    margin-right: -50vw;

    background-color: var(--deep-navy);
    color: #fff;
    padding: 40px 0;
    box-shadow: inset 0 0 100px rgba(0, 0, 0, 0.5);
}
.navy-block .inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    box-sizing: border-box;
}

/* Map */
.map {
    margin: 30px 0 40px;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(0, 0, 0, 0.12);
}
.map iframe {
    display: block;
    filter: sepia(50%);
    transition: 0.4s;
}
.map iframe:hover{
    filter: none;
}

/* 装飾写真 */
.mid-photo.decor img {
    width: 100%;
    max-width: 700px;
    display: block;
    margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}
@media (max-width: 768px) {
    .guideline-grid, .access-grid { grid-template-columns: 1fr; }
}

/* Photos as Decor (飾りのレベルに抑制) */
.mid-photo.decor {
    max-width: 700px;
    margin: 40px auto;
}

.mid-photo img {
    width: 100%;
    height: auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
}

.photo-pair {
    display: flex;
    gap: 20px;
    margin-top: 40px;
}

.photo-pair img {
    width: calc(50% - 10px);
    height: 200px;
    object-fit: cover;
}

/* Footer */
.navy-footer {
    background: var(--deep-navy);
    color: white;
    padding: 10px 0 10px;
    text-align: center;
}
.footer-quote {
    margin-bottom: 30px;
}
.main-quote {
    font-size: 2rem;
    font-style: italic;
    color: var(--accent-gold);
    margin-bottom: 0px;
}
.sub-quote {
    font-size: 1.1rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    opacity: 0.8;
}
.navy-footer img {
    width: 50%;
    margin-bottom: 10px;
}
/*
.footer-bottom-info {
    border-top: 1px solid rgba(179, 147, 89, 0.2);
    padding-top: 20px;
}
*/
.footer-logo {
    font-size: 1rem;
    letter-spacing: 0.3em;
    margin-bottom: 1px;
}
.copyright {
    font-size: 0.7rem;
    opacity: 0.5;
}
.id-link{
  font-family:'Roboto',sans-serif;
  color:var(--soft-white);
  text-decoration:none;
  font-weight:bold;
}
.id-link:hover{ text-decoration:underline; }
@media (max-width: 768px) {
    .navy-footer img {
        width: 100%;
        margin-bottom: 10px;
    }
}

/* Guide */
.guide-card {
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 24px 20px;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.guide-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.1);
}

.guide-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    aspect-ratio: 1 / 1;
    margin-bottom: 14px;
    background: #fdf2f2;
    color: #c9171e;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border-radius: 50%;
}

.guide-card h3 {
    margin: 0 0 12px;
    font-size: 1.1rem;
    font-weight: 700;
    color: #0f2350;
    line-height: 1.4;
}

.guide-card p {
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.8;
    color: #444;
}

.guideline-grid.inverse .guide-card {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.22);
    border-radius: 16px;
    padding: 24px 22px;
    backdrop-filter: blur(2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.18);
}

.guideline-grid.inverse .guide-icon {
    width: 52px;
    height: 52px;
    flex: 0 0 52px;
    aspect-ratio: 1 / 1;
    margin-bottom: 14px;
    background: rgba(212, 175, 55, 0.12);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    border-radius: 50%;
}

.guideline-grid.inverse .guide-card h3 {
    color: var(--accent-gold);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 10px;
    margin-bottom: 12px;
}

.guideline-grid.inverse .guide-card p {
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.9;
    margin: 0;
}

.guide-head {
    display: block;
}

@media (max-width: 768px) {
    .guide-card {
        padding: 18px 14px;
    }

    .guide-head {
        display: flex;
        align-items: center;
        gap: 12px;
        margin-bottom: 10px;
    }

    .guide-icon {
        width: 42px;
        height: 42px;
        margin-bottom: 0;
        flex: 0 0 42px;
        font-size: 18px;
    }

    .guide-card h3 {
        margin: 0;
        padding-bottom: 0;
        border-bottom: 0;
        font-size: 1rem;
        line-height: 1.4;
    }

    .guide-card p {
        font-size: 0.9rem;
        line-height: 1.7;
    }
}

/* White block */
.white-block {
    background: #ffffff;
    padding: 20px 0;
}

.white-block .guide-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.white-block .guide-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #f8f5ee;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.white-block .guide-card h3 {
    margin: 0 0 12px;
    font-size: 1.08rem;
    color: var(--deep-navy);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}

.white-block .guide-card p {
    margin: 0;
    color: #444;
    line-height: 1.85;
}

.light-block {
    background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
    padding: 80px 0 100px;
}

.light-block .guide-card {
    background: #ffffff;
    border: 1px solid #e6e9ef;
    border-radius: 16px;
    padding: 24px 22px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.05);
}

.light-block .guide-icon {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #eef2f7;
    color: #0f2350;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.light-block .guide-card h3 {
    margin: 0 0 12px;
    font-size: 1.08rem;
    color: var(--deep-navy);
    border-bottom: 1px solid #e6e9ef;
    padding-bottom: 10px;
}

.light-block .guide-card p {
    margin: 0;
    color: #444;
    line-height: 1.85;
}

.access-block {
    background: #ffffff;
    padding: 40px 0;
}

.access-intro {
    margin-bottom: 30px;
}

.access-intro h4 {
    margin: 0 0 12px;
    font-size: 1.5rem;
    color: var(--deep-navy);
}

.access-intro p {
    margin: 0;
    line-height: 1.8;
    color: #444;
}

.access-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    margin-top: 32px;
}

.access-card {
    position: relative;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 18px;
    padding: 26px 24px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.06);
}

.access-card-wide {
    grid-column: 1 / -1;
}

.access-card-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}

.access-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
    margin: 0;
    font-size: 1.1rem;
    color: var(--deep-navy);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}

.access-note-inline {
    font-size: 0.78rem;
    padding: 4px 10px;
    border-radius: 999px;
    background: #0f2350;
    color: #fff;
    white-space: nowrap;
}

.access-head-text {
    flex: 1;
    min-width: 0;
}

.access-card-head h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    color: var(--deep-navy);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}

.access-card-head .access-note {
    margin-bottom: 0;
}

/* 下段だけ2分割 */
.access-card-body {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(280px, 1fr);
    gap: 24px;
    align-items: start;
}

.access-card-body .access-media {
    margin: 0;
}

.access-card-body .access-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    margin-bottom: 0;
}

.access-card-body .access-content {
    min-width: 0;
}

.access-card-body .access-content p:last-child {
    margin-bottom: 0;
}

.access-card-wide .access-media {
    margin: 0;
}

.access-card-wide .access-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    margin-bottom: 0;
}

.access-card-wide .access-content {
    min-width: 0;
}

.access-icon {
    width: 54px;
    height: 54px;
    margin-bottom: 14px;
    border-radius: 50%;
    background: #f8f5ee;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.access-card h3 {
    margin: 0 0 10px;
    font-size: 1.1rem;
    color: var(--deep-navy);
    border-bottom: 1px solid var(--border-light);
    padding-bottom: 10px;
}

.access-card p {
    margin: 0 0 12px;
    color: #444;
    line-height: 1.85;
}

.access-note {
    display: inline-block;
    margin-bottom: 16px;
    padding: 6px 12px;
    border-radius: 999px;
    background: #0f2350;
    color: #fff !important;
    font-size: 0.88rem;
    line-height: 1.4;
}

.access-media img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    border: 1px solid var(--border-light);
    margin-bottom: 16px;
}
@media (max-width: 768px) {
    .access-grid {
        grid-template-columns: 1fr;
    }
    .access-card-wide {
        grid-column: auto;
        grid-template-columns: 1fr;
    }
    .access-card-head {
        gap: 12px;
    }
    .access-card-body {
        grid-template-columns: 1fr;
    }
    .access-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 6px;
    }
    .access-note-inline {
        font-size: 0.75rem;
    }
}

/* Sea Conditions */
.sea-chart-wrap {
    border-radius: 14px;
    overflow: hidden;
    border: 1px solid #dbe4ee;
    background: #fff;
}
.sea-chart-wrap iframe {
    display: block;
}
.sea-legend {
    margin-top: 14px;
    text-align: center;
}
.sea-legend img {
    max-width: 100%;
    height: auto;
}
.sea-scale {
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sea-scale-item {
    display: grid;
    grid-template-columns: 90px 1fr;
    gap: 14px;
    align-items: start;
    padding: 4px 14px;
    border-radius: 12px;
    border: 1px solid #e5ebf2;
    background: #fafcff;
    background: rgba(212, 175, 55, 0.12);
}
.sea-scale-range {
    font-weight: 700;
    color: rgba(255, 255, 255, 0.62);
    white-space: nowrap;
}
.sea-scale-text {
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.7;
    font-size: 0.94rem;
}
.sea-scale-item.moderate {
    border-left: 6px solid #9bcf63;
}
.sea-scale-item.caution {
    border-left: 6px solid #eab839;
}
.sea-scale-item.strong {
    border-left: 6px solid #f9934e;
}
.sea-scale-item.danger {
    border-left: 6px solid #ff4200;
}
.sea-note {
    margin-top: 22px;
    color: #eee;
    font-size: 0.92rem;
    line-height: 1.8;
}

@media (max-width: 640px) {
    .sea-scale-item {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .sea-scale-range {
        font-size: 0.96rem;
    }
}

.course-block {
    background: linear-gradient(180deg, #ffffff 0%, #f8fafc 100%);
    padding: 40px 0;
}

.section-lead {
    margin: 0 0 40px;
    color: #444;
    line-height: 1.9;
    font-size: 1rem;
}

.course-group {
    margin-top: 42px;
}

.course-group:first-of-type {
    margin-top: 0;
}

.course-group-head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.course-group-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #f8f5ee;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex: 0 0 48px;
}

.course-group-head h3 {
    margin: 0;
    font-size: 1.25rem;
    color: var(--deep-navy);
}

.course-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

.course-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 160px;
    grid-template-areas:
        "title title"
        "text  thumb";
    gap: 12px 16px;
    align-items: start;

    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: 16px;
    padding: 22px 20px;
    box-shadow: 0 8px 22px rgba(0, 0, 0, 0.05);
    text-decoration: none;
    color: inherit;
    box-sizing: border-box;
}

.course-card h4 {
    grid-area: title;
    margin: 0;
    min-width: 0;
    font-size: 1.05rem;
    line-height: 1.5;
    color: var(--deep-navy);
}

.course-card p {
    grid-area: text;
    margin: 0;
    min-width: 0;
    line-height: 1.7;
    color: #444;
    font-size: 0.95rem;
}

.course-thumb {
    grid-area: thumb;
    min-width: 0;
    align-self: start;
}
.course-thumb img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 10px;
    display: block;
}

.course-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.08);
    border-color: rgba(212, 175, 55, 0.45);
}

@media (max-width: 768px) {
    .course-grid {
        grid-template-columns: 1fr;
    }
    .course-card {
        grid-template-columns: minmax(0, 1fr) 100px;
        grid-template-areas:
            "title title"
            "text thumb";
        gap: 10px 12px;
        padding: 16px 14px;
        border-radius: 0;
    }
    .course-card h4 {
        font-size: 1rem;
    }
    .course-card p {
        font-size: 0.9rem;
        line-height: 1.65;
    }
    .course-thumb img {
        aspect-ratio: 4 / 3;
        height: auto;
    }
}

.cta-block {
    background: linear-gradient(135deg, #0f2350 0%, #1a2f63 100%);
    padding: 40px 0;
    width: 100vw;
    margin-left: calc(50% - 50vw);
}

.cta-card {
    text-align: center;
    color: #fff;
    max-width: 720px;
    margin: 0 auto;
}

.cta-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: rgba(212, 175, 55, 0.15);
    color: var(--accent-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
}

.cta-title {
    margin: 0 0 16px;
    font-size: 1.9rem;
    color: var(--accent-gold);
}

.cta-text {
    margin: 0 0 28px;
    line-height: 1.9;
    color: rgba(255,255,255,0.9);
    font-size: 1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 26px;
    border-radius: 999px;
    background: var(--accent-gold);
    color: #0f2350;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.25s ease;
}

.cta-button:hover {
    background: #fff;
    color: #0f2350;
    transform: translateY(-2px);
    box-shadow: 0 10px 24px rgba(0,0,0,0.25);
}

html {
    scroll-behavior: smooth;
}

/* =========================
   Hero Navigation
========================= */
.hero-nav {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: auto;
    z-index: 20;
    padding: 18px 24px;
    box-sizing: border-box;
}

.hero-nav-inner {
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.hero-nav-logo {
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    letter-spacing: 0.14em;
    white-space: nowrap;
}

.hero-nav-menu {
    display: flex;
    align-items: center;
    gap: 22px;
}

.hero-nav-menu a {
    color: rgba(255, 255, 255, 0.92);
    text-decoration: none;
    font-size: 0.92rem;
    letter-spacing: 0.08em;
    white-space: nowrap;
    transition: opacity 0.2s ease;
}

.hero-nav-menu a:hover {
    opacity: 0.75;
}

/* Hamburger */
.nav-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    border-radius: 10px;
    padding: 0;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    backdrop-filter: blur(4px);
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
}

/* セクション頭がメニューに隠れにくいように */
#guide,
#access,
#hakou,
#course,
#kanji {
    scroll-margin-top: 24px;
}

/* Mobile */
@media (max-width: 900px) {
    .hero-nav {
        padding: 14px 12px;
    }

    .hero-nav-inner {
        align-items: flex-start;
    }

    .nav-toggle {
        display: inline-flex;
    }

    .hero-nav-menu {
        position: absolute;
        top: 66px;
        right: 12px;
        left: 12px;
        min-width: 0;
        width: auto;
        display: none;
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        background: rgba(14, 26, 43, 0.96);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 14px;
        overflow: hidden;
        box-shadow: 0 14px 30px rgba(0, 0, 0, 0.25);
    }

    .hero-nav-menu.is-open {
        display: flex;
    }

    .hero-nav-menu a {
        padding: 14px 16px;
        font-size: 0.92rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .hero-nav-menu a:last-child {
        border-bottom: 0;
    }
}
