
:root {
    --hiro-blue: #0f3d6e;
    --hiro-blue-dark: #082544;
    --hiro-blue-light: #2563a8;
    --sea-blue: #4a90b8;
    --gold: #d69c12;
    --gold-light: #e0c78a;
    --cream: #f5f2e8;
    --paper: #fbfaf5;
    --ink: #1f1f1f;
    --gray: #6a6a6a;
    --line: #d4d0c4;
    --red: #9b2c2c;
    --green: #4a6d3a;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
    font-family: 'Noto Serif JP', serif;
    color: var(--ink);
    background: var(--paper);
    line-height: 1.8;
    font-size: 15px;
    overflow-x: hidden;
}
body:has(.open) {
    overflow: hidden;
}

/* ===== Top Bar ===== */
.top-bar {
    background: var(--hiro-blue-dark);
    color: var(--cream);
    font-size: 12px;
    padding: 6px 0;

    display: none;
}
.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar a {
    color: var(--cream);
    text-decoration: none;
    margin-left: 20px;
    opacity: 0.85;
    transition: opacity 0.2s;
}
.top-bar a:hover { opacity: 1; color: var(--gold-light); }
.top-bar .tagline {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 2px;
}

/* ===== Header ===== */
header {
    background: white;
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 0 rgba(0,0,0,0.03);
}
.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: var(--hiro-blue);
}

.logo-mark {
    width: 56px;
    height: 56px;
    background: var(--hiro-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);

    background: url(./school-emblem-blue.webp) #ffffff center/cover;
}
footer .logo-mark {
    clip-path: polygon(50% 0%, 53% 7%, 84% 23%, 99% 24%, 91% 33%, 91% 67%, 98% 79%, 88% 75%, 55% 92%, 50% 100%, 45% 94%, 13% 74%, 6% 79%, 10% 67%, 10% 33%, 3% 24%, 16% 24%, 47% 7%);
}
.logo-mark::before {
    content: '';
    position: absolute;
    inset: 4px;
    border: 1px solid var(--gold);
    clip-path: polygon(50% 0%, 100% 25%, 100% 75%, 50% 100%, 0% 75%, 0% 25%);

    display: none;
}
.logo-mark span {
    font-family: 'Noto Serif JP', serif;
    font-weight: 900;
    font-size: 26px;
    color: white;
    letter-spacing: -1px;
    z-index: 1;
}
.logo-text {
    height: 56px;
    display: grid;
    grid-template-rows: 1fr 25px;
    align-items: end;
}
.logo-text h1 {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 2px;
    line-height: 1.2;
    color: var(--hiro-blue);
}
.logo-text p {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    font-size: 10.5px;
    color: var(--gold);
    letter-spacing: 2px;
    margin-top: 3px;

    display: grid;
    height: 100%;
    align-items: start;
    margin: 0px;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2px;
}
nav a {
    text-decoration: none;
    color: var(--ink);
    font-size: 14px;
    font-weight: 500;
    padding: 10px 14px;
    letter-spacing: 1px;
    position: relative;
    transition: color 0.2s;
}
nav a::after {
    content: '';
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 4px;
    height: 2px;
    background: var(--hiro-blue);
    transform: scaleX(0);
    transition: transform 0.3s;
}
nav a:hover { color: var(--hiro-blue); }
nav a:hover::after { transform: scaleX(1); }

/* ===== Hero ===== */
.hero {
    position: relative;
    height: 580px;
    background:
        linear-gradient(135deg, rgba(8,37,68,0.88) 0%, rgba(15,61,110,0.17) 40%, rgba(74,144,184,0.6) 100%),
        radial-gradient(ellipse at bottom right, rgba(201,169,97,0.25), transparent 60%),
        linear-gradient(180deg, #082544 0%, #0f3d6e 50%, #1a4a80 100%);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(0deg, transparent, transparent 60px, rgba(255,255,255,0.03) 60px, rgba(255,255,255,0.03) 61px);
    pointer-events: none;
}
.hero-bg {
    position: absolute;
    inset: 0;
    background: url(./header1-scaled.webp) center/cover no-repeat;
    opacity: 0.15;

    opacity: 0.6;
}
.hero-bg::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(270deg, transparent 0%, rgba(8,37,68,0.3) 100%);
}

.hero-ornament {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    width: 480px;
    height: 480px;
    border: 1px solid rgba(201,169,97,0.25);
    border-radius: 50%;
}
.hero-ornament::before {
    content: '';
    position: absolute;
    inset: 40px;
    border: 1px solid rgba(201,169,97,0.2);
    border-radius: 50%;
}
.hero-ornament::after {
    content: '';
    position: absolute;
    inset: 80px;
    border: 1px dashed rgba(201,169,97,0.15);
    border-radius: 50%;
}

.hero-wave {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 80px;
    background:
        linear-gradient(180deg, transparent 0%, rgba(8,37,68,0.6) 100%);
}
.hero-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 48px;
    position: relative;
    z-index: 2;
    width: 100%;
}
.hero-label {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 5px;
    font-size: 13px;
    margin-bottom: 24px;
    display: flex;
    align-items: center;
    gap: 16px;
}
.hero-label::before {
    content: '';
    width: 50px;
    height: 1px;
    background: var(--gold);
}
.hero h2 {
    font-size: 56px;
    color: var(--cream);
    font-weight: 500;
    line-height: 1.3;
    letter-spacing: 6px;
    margin-bottom: 24px;

    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.5);
}
.hero h2 .accent {
    color: var(--gold-light);
    font-weight: 700;
    position: relative;
}
.hero .sub-catch {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    color: rgba(201,169,97,0.9);
    font-size: 22px;
    letter-spacing: 3px;
    margin-bottom: 20px;
    display: block;

    color: var(--gold-light);
    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.9);
}
.hero p {
    color: rgba(245,242,232,0.9);
    font-size: 15px;
    max-width: 520px;
    line-height: 2.2;
    margin-bottom: 36px;
    letter-spacing: 1.5px;

    text-shadow: 2px 4px 6px rgba(0, 0, 0, 0.5);
}
.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    padding: 16px 40px;
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 3px;
    transition: all 0.3s;
}
.hero-cta:hover {
    background: var(--gold);
    color: var(--hiro-blue-dark);
}
.hero-cta .arrow {
    transition: transform 0.3s;
}
.hero-cta:hover .arrow { transform: translateX(6px); }

/* ===== Section Base ===== */
section.content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 90px 24px;
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
.section-header .en {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 6px;
    font-size: 14px;
    display: block;
    margin-bottom: 12px;
}
.section-header h3 {
    font-size: 32px;
    color: var(--hiro-blue);
    font-weight: 700;
    letter-spacing: 8px;
}
.section-header .divider {
    width: 50px;
    height: 2px;
    background: var(--gold);
    margin: 20px auto 0;
}

/* ===== Greeting ===== */
.greeting {
    background:
        linear-gradient(rgba(251,250,245,0.95), rgba(251,250,245,0.95));
    padding: 90px 24px;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}
.greeting-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: center;
}
.greeting-visual {
    background: linear-gradient(135deg, var(--hiro-blue) 0%, var(--hiro-blue-dark) 100%);
    aspect-ratio: 3/4;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}
.greeting-visual::before {
    content: '';
    position: absolute;
    inset: 16px;
    border: 1px solid rgba(201,169,97,0.4);
}
.greeting-visual::after {
    content: '';
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(201,169,97,0.2);
}
.greeting-visual .kanji {
    font-family: 'Noto Serif JP', serif;
    font-size: 140px;
    color: rgba(201,169,97,0.4);
    font-weight: 900;
    writing-mode: vertical-rl;
    letter-spacing: 20px;
}

.en-label {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 5px;
    font-size: 13px;
    display: block;
    margin-bottom: 10px;
}
.greeting-body h3 {
    font-size: 28px;
    color: var(--hiro-blue);
    font-weight: 700;
    letter-spacing: 5px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--line);
}
.greeting-body p {
    font-size: 14.5px;
    line-height: 2.2;
    color: var(--ink);
    margin-bottom: 18px;
    letter-spacing: 1px;
}
.greeting-signature {
    margin-top: 24px;
    font-size: 13px;
    color: var(--gray);
    text-align: right;
}
.greeting-signature strong {
    display: inline-block;
    font-size: 17px;
    color: var(--hiro-blue);
    margin-left: 10px;
    font-weight: 500;
}

/* ===== News ===== */
    .news-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: start;
}
.news-side h4 {
    font-size: 26px;
    color: var(--hiro-blue);
    font-weight: 700;
    letter-spacing: 6px;
    margin-bottom: 8px;
}
.news-side .en {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 24px;
    display: block;
}
.news-side p {
    color: var(--gray);
    font-size: 13px;
    line-height: 2;
    margin-bottom: 24px;
}
.news-more {
    display: inline-block;
    color: var(--hiro-blue);
    text-decoration: none;
    font-size: 13px;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 4px;
    transition: all 0.2s;
}
.news-more:hover {
    color: var(--gold);
}

.news-list { list-style: none; }
.news-item {
    display: grid;
    grid-template-columns: 110px 110px 1fr;
    gap: 20px;
    padding: 22px 0;
    border-bottom: 1px dashed var(--line);
    align-items: baseline;
    transition: background 0.2s;
}
.news-item:hover { background: rgba(15,61,110,0.02); }
.news-date {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 600;
    color: var(--gold);
    font-size: 15px;
    letter-spacing: 1px;

    font-weight: 600;
}
.news-cat {
    font-size: 11px;
    padding: 3px 10px;
    text-align: center;
    letter-spacing: 2px;
    border: 1px solid;
    width: fit-content;
}
.news-cat.notice { color: var(--hiro-blue); border-color: var(--hiro-blue); }
.news-cat.event { color: var(--red); border-color: var(--red); }
.news-cat.report { color: var(--green); border-color: var(--green); }
.news-cat.magazine { color: var(--gold); border-color: var(--gold); }
.news-title a {
    color: var(--ink);
    text-decoration: none;
    font-size: 14.5px;
    line-height: 1.7;
    transition: color 0.2s;
}
.news-title a:hover { color: var(--hiro-blue); }

/* ===== About / History ===== */
.about {
    background:
        linear-gradient(rgba(245,242,232,0.88), rgba(245,242,232,0.92)),
        repeating-linear-gradient(0deg, transparent, transparent 39px, rgba(15,61,110,0.06) 39px, rgba(15,61,110,0.06) 40px);
    padding: 100px 0;
    position: relative;
}
.about-inner {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 24px;
    text-align: center;
}
.about-mark {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    color: var(--gold);
    font-size: 90px;
    line-height: 1;
    opacity: 0.7;
    margin-bottom: 20px;
}
.about-quote {
    font-size: 30px;
    color: var(--hiro-blue);
    font-weight: 500;
    line-height: 2;
    letter-spacing: 8px;
    margin-bottom: 40px;
}
.about-text {
    color: var(--ink);
    line-height: 2.3;
    font-size: 15px;
    max-width: 720px;
    margin: 0 auto 40px;
    text-align: left;
    letter-spacing: 0.5px;
}
.about-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 60px;
    padding-top: 50px;
    border-top: 1px solid var(--line);
}
.stat { text-align: center; }
.stat-num {
    font-family: 'Cormorant Garamond', serif;
    font-size: 52px;
    color: var(--gold);
    font-weight: 600;
    line-height: 1;
}
.stat-num .unit {
    font-size: 18px;
    color: var(--hiro-blue);
    margin-left: 4px;
}
.stat-label {
    font-size: 12px;
    color: var(--gray);
    letter-spacing: 3px;
    margin-top: 10px;
}

/* ===== History Timeline ===== */
.history-section {
    max-width: 900px;
    margin: 80px auto 0;
}
.history-title {
    text-align: center;
    margin-bottom: 40px;
}
.history-title .en {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: 4px;
    font-size: 13px;
    display: block;
    margin-bottom: 8px;
}
.history-title h4 {
    font-size: 22px;
    color: var(--hiro-blue);
    letter-spacing: 5px;
}
.timeline {
    position: relative;
    padding: 20px 0;
}
.timeline::before {
    content: '';
    position: absolute;
    left: 120px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--line);
}
.tl-item {
    display: grid;
    grid-template-columns: 120px 40px 1fr;
    gap: 0;
    padding: 14px 0;
    align-items: baseline;

    grid-template-columns: 120px 0px 1fr;
}
.tl-year {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    font-size: 18px;
    padding-right: 24px;
    text-align: right;
}
.tl-dot {
    position: relative;
    height: 100%;
}
.tl-dot::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 8px;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: var(--hiro-blue);
    border-radius: 50%;
    border: 2px solid var(--paper);
    box-shadow: 0 0 0 1px var(--hiro-blue);

    top: 50%;
    margin: 0 0 0 0.5px;
    transform: translate(-50%, -50%);
}
.tl-body {
    font-size: 14px;
    color: var(--ink);
    padding-left: 16px;
    line-height: 1.9;

    text-align: left;
    padding-left: 28px;
}
.tl-body .jp-year {
    font-size: 12px;
    color: var(--gray);
    margin-right: 8px;

    margin-right: 12px;
}

/* ===== Events ===== */
.events-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.event-card {
    background: white;
    border: 1px solid var(--line);
    padding: 0;
    transition: all 0.3s;
    overflow: hidden;
}
.event-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 24px 48px rgba(15,61,110,0.12);
    border-color: var(--gold);
}
.event-image {
    height: 180px;
    background: linear-gradient(135deg, var(--hiro-blue) 0%, var(--hiro-blue-dark) 100%);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-family: 'Cormorant Garamond', serif;
    font-size: 38px;
    font-style: italic;
    font-weight: 600;
    letter-spacing: 4px;
    overflow: hidden;
}
.event-image::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(201,169,97,0.3);
}
.event-image.img2 {
    background: linear-gradient(135deg, var(--sea-blue) 0%, var(--hiro-blue) 100%);
}
.event-image.img3 {
    background: linear-gradient(135deg, var(--green) 0%, #2d4527 100%);
}
.event-body { padding: 26px; }
.event-date-bar {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 14px;
    font-size: 12px;
}
.event-date-bar .date {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    letter-spacing: 1px;
    font-size: 14px;
}
.event-date-bar .tag {
    padding: 2px 10px;
    background: var(--cream);
    color: var(--hiro-blue);
    border: 1px solid var(--line);
    letter-spacing: 1px;
}
.event-card h4 {
    font-size: 17px;
    color: var(--hiro-blue);
    margin-bottom: 12px;
    line-height: 1.6;
    font-weight: 700;
}
.event-card p {
    color: var(--gray);
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 18px;
}
.event-meta {
    padding-top: 16px;
    border-top: 1px dashed var(--line);
    font-size: 12px;
    color: var(--gray);
    display: flex;
    gap: 18px;
    flex-wrap: wrap;
}
.event-meta span::before {
    content: '●';
    color: var(--gold);
    margin-right: 6px;
    font-size: 7px;
    vertical-align: middle;
}

/* ===== Branches ===== */
.branches {
    background: var(--hiro-blue);
    color: var(--cream);
    padding: 110px 0;
    position: relative;
    overflow: hidden;
}
.branches::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 900px;
    height: 900px;
    border: 1px solid rgba(201,169,97,0.08);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.branches::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(201,169,97,0.1);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.branches-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}
.branches .section-header h3 { color: var(--cream); }
.branches .section-header .en { color: var(--gold-light); }

.branch-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: rgba(201,169,97,0.2);
    border: 1px solid rgba(201,169,97,0.2);

    grid-template-columns: repeat(2, 1fr);
}
.branch {
    background: var(--hiro-blue);
    padding: 28px 20px;
    text-align: center;
    transition: background 0.3s;
    cursor: pointer;
}
.branch:hover { background: var(--hiro-blue-dark); }
.branch .region {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold-light);
    font-size: 12px;
    letter-spacing: 3px;
    font-style: italic;
    font-weight: 600;
    margin-bottom: 8px;
}
.branch .name {
    font-size: 16px;
    color: var(--cream);
    font-weight: 500;
    letter-spacing: 2px;
    margin-bottom: 10px;
}
.branch .count {
    font-family: 'Cormorant Garamond', serif;
    font-size: 22px;
    color: var(--gold-light);
}
.branch .count .unit {
    font-size: 12px;
    color: rgba(245,242,232,0.7);
    margin-left: 4px;
}

/* ===== Services ===== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}
.service {
    text-align: center;
    padding: 44px 28px;
    border: 1px solid var(--line);
    background: white;
    transition: all 0.3s;
}
.service:hover {
    border-color: var(--gold);
    transform: translateY(-4px);
    box-shadow: 0 16px 32px rgba(15,61,110,0.08);
}
.service-icon {
    width: 78px;
    height: 78px;
    margin: 0 auto 24px;
    border: 1px solid var(--gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    font-family: 'Cormorant Garamond', serif;
    font-size: 28px;
    font-style: italic;
    font-weight: 600;
    position: relative;
}
.service-icon::before {
    content: '';
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(201,169,97,0.3);
    border-radius: 50%;
}
.service h4 {
    font-size: 18px;
    color: var(--hiro-blue);
    margin-bottom: 14px;
    letter-spacing: 4px;
    font-weight: 700;
}
.service p {
    font-size: 13px;
    color: var(--gray);
    line-height: 2;
    margin-bottom: 20px;
}
.service-link {
    color: var(--hiro-blue);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 2px;
    border-bottom: 1px solid var(--gold);
    padding-bottom: 2px;
}

/* ===== CTA ===== */
.cta {
    background:
        linear-gradient(rgba(8,37,68,0.92), rgba(15,61,110,0.92)),
        repeating-linear-gradient(45deg, var(--hiro-blue), var(--hiro-blue) 12px, var(--hiro-blue-dark) 12px, var(--hiro-blue-dark) 24px);
    padding: 90px 24px;
    text-align: center;
    color: var(--cream);
    position: relative;
}
.cta::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 600px;
    height: 600px;
    border: 1px solid rgba(201,169,97,0.12);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}
.cta-inner { position: relative; z-index: 2; }
.cta .en-label {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: 5px;
    font-size: 13px;
    display: block;
    margin-bottom: 14px;
}
.cta h3 {
    font-size: 30px;
    letter-spacing: 8px;
    margin-bottom: 16px;
    font-weight: 500;
}
.cta p {
    color: rgba(245,242,232,0.85);
    margin-bottom: 36px;
    font-size: 14px;
    letter-spacing: 1px;
}
.cta-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-btn {
    padding: 16px 40px;
    text-decoration: none;
    letter-spacing: 3px;
    font-size: 13px;
    transition: all 0.3s;
    border: 1px solid var(--gold);
}
.cta-btn.primary {
    background: var(--gold);
    color: var(--hiro-blue-dark);
}
.cta-btn.primary:hover {
    background: var(--gold-light);
    transform: translateY(-2px);
}
.cta-btn.secondary {
    color: var(--gold-light);
}
.cta-btn.secondary:hover {
    background: var(--gold);
    color: var(--hiro-blue-dark);
}

/* ===== Footer ===== */
footer {
    background: var(--hiro-blue-dark);
    color: rgba(245,242,232,0.75);
    padding: 70px 24px 28px;
    font-size: 13px;
}
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(201,169,97,0.2);

    grid-template-columns: 2fr 1fr 1.2fr;
}
.footer-brand .logo-mark {
    margin-bottom: 16px;
}
.footer-brand h5 {
    color: var(--cream);
    letter-spacing: 3px;
    margin-bottom: 8px;
    font-size: 16px;
}
.footer-brand .en-name {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    font-weight: 600;
    color: var(--gold-light);
    font-size: 12px;
    letter-spacing: 2px;
    margin-bottom: 14px;
    display: block;
}
.footer-brand p {
    font-size: 12px;
    line-height: 2;
    max-width: 300px;
}
.footer-col h6 {
    color: var(--gold-light);
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    letter-spacing: 3px;
    font-size: 13px;
    margin-bottom: 18px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(201,169,97,0.2);
}
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a {
    color: rgba(245,242,232,0.75);
    text-decoration: none;
    font-size: 12px;
    letter-spacing: 1px;
    transition: color 0.3s;
}
.footer-col a:hover { color: var(--gold-light); }
.contact-info {
    font-size: 12px;
    line-height: 2;
    color: rgba(245,242,232,0.7);
}
.contact-info strong {
    display: block;
    color: var(--gold-light);
    margin-top: 8px;
    font-size: 11px;
    letter-spacing: 2px;
}
.footer-bottom {
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    font-size: 11px;
    color: rgba(245,242,232,0.5);
    letter-spacing: 1px;
}
.footer-bottom a {
    color: rgba(245,242,232,0.5);
    text-decoration: none;
    margin-left: 16px;

    transition-duration: 0.3s;
}
.footer-bottom a:hover { color: var(--gold-light); }

.preparation {
    display: none !important;
}


/* ===== 共通: ボタンの外枠 ===== */
.hb-btn {
    width: 48px;
    height: 48px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: background 0.2s;

    position: absolute;
    width: 20px;
    height: 40px;
    top: 18px;
    right: 20px;
}
/* ========== PATTERN 1: クラシック3本線 ========== */
.hb-classic span {
    display: block;
    width: 28px;
    height: 2px;
    background: var(--hiro-blue);
    position: relative;
    transition: all 0.3s ease;

    width: 20px;
}
.hb-classic span::before,
.hb-classic span::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--hiro-blue);
    transition: all 0.3s ease;
}
.hb-classic span::before {
    top: -9px;

    top: -6px;
}
.hb-classic span::after {
    bottom: -9px;

    bottom: -6px;
}

.hb-classic.active span {
    background: transparent;
}
.hb-classic.active span::before {
    top: 0;
    transform: rotate(45deg);
}
.hb-classic.active span::after {
    bottom: 0;
    transform: rotate(-45deg);
}

/* ===== Drawer Menu（パネル） ===== */
.drawer-overlay {
    position: absolute;
    inset: 0;
    background: rgba(8,37,68,0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s;
    z-index: 10;
}
.drawer-overlay.open {
    opacity: 1;
    pointer-events: auto;
}
.drawer {
    position: absolute;
    top: 0;
    right: 0;
    width: 320px;
    height: 100%;
    background: var(--hiro-blue);
    color: var(--cream);
    transform: translateX(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 100;
    padding: 70px 0 30px;
    overflow-y: auto;
}
.drawer.open { transform: translateX(0); }
.drawer-inner { padding: 0 30px; }
.drawer-title {
    font-family: 'Cormorant Garamond', serif;
    font-style: italic;
    color: var(--gold-light);
    font-size: 14px;
    letter-spacing: 4px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(214,156,18,0.3);
    margin-bottom: 20px;
}
.drawer-nav {
    list-style: none;
}
.drawer-nav li {
    border-bottom: 1px dashed rgba(214,156,18,0.2);
}
.drawer-nav li:last-child { border-bottom: none; }
.drawer-nav a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    color: var(--cream);
    text-decoration: none;
    font-size: 14px;
    letter-spacing: 2px;
    transition: all 0.2s;
}
.drawer-nav a::after {
    content: '→';
    color: var(--gold-light);
    font-size: 13px;
    opacity: 0.6;
    transition: all 0.2s;
}
.drawer-nav a:hover {
    color: var(--gold-light);
    padding-left: 8px;
}
.drawer-nav a:hover::after {
    opacity: 1;
    transform: translateX(4px);
}
.drawer-nav .num {
    font-family: 'Cormorant Garamond', serif;
    color: var(--gold);
    font-size: 11px;
    margin-right: 14px;
    font-style: italic;
}
.drawer-footer {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(214,156,18,0.3);
    font-size: 11px;
    color: rgba(245,242,232,0.6);
    letter-spacing: 1px;
    line-height: 1.9;
}

/* ===== Responsive ===== */
@media (max-width: 900px) {
    .hb-btn {
        display: block;
    }
    .header-inner {
        flex-direction: column;
        gap: 16px;
        align-items: start;
        padding: 10px 46px 10px 10px;
    }
    .header-inner nav {
        position: absolute;
    }
    .logo-text p {
        line-height: 1.2;
    }
    nav ul {
        display: none;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav a { padding: 8px 10px; font-size: 13px; }
    .hero { height: auto; padding: 80px 0; }
    .hero h2 { font-size: 30px; letter-spacing: 3px; }
    .hero .sub-catch { font-size: 16px; }
    .hero-inner { padding: 0 24px; }
    .greeting-inner { grid-template-columns: 1fr; gap: 32px; }
    .greeting-visual { aspect-ratio: 4/3; }
    .greeting-visual .kanji { font-size: 80px; }
    .news-wrapper { grid-template-columns: 1fr; gap: 32px; }
    .news-item { grid-template-columns: 1fr; gap: 6px; padding: 16px 0; }
    .about-quote { font-size: 20px; letter-spacing: 4px; }
    .about-stats { grid-template-columns: repeat(2, 1fr); }
    .stat-num { font-size: 38px; }
    .timeline::before { left: 80px; }
    .tl-item {
        grid-template-columns: 80px 30px 1fr;

        grid-template-columns: 80px 0px 1fr;
    }
    .events-grid { grid-template-columns: 1fr; }
    .branch-grid { grid-template-columns: repeat(2, 1fr); }
    .services-grid { grid-template-columns: 1fr; }
    .footer-main { grid-template-columns: 1fr; gap: 32px; }
    .footer-bottom { flex-direction: column; gap: 8px; }
    .top-bar-inner { flex-direction: column; gap: 4px; font-size: 11px; }
    .cta h3 { font-size: 22px; letter-spacing: 4px; }
}
@media (min-width: 901px) {
    .hb-btn { display: none; }
}

/* ===== Animation ===== */
@keyframes fadeUp {
from { opacity: 0; transform: translateY(24px); }
to { opacity: 1; transform: translateY(0); }
}
.hero-label, .hero h2, .hero .sub-catch, .hero p, .hero-cta {
    opacity: 0;
    animation: fadeUp 0.9s ease-out forwards;
}
.hero-label { animation-delay: 0.1s; }
.hero h2 { animation-delay: 0.3s; }
.hero .sub-catch { animation-delay: 0.5s; }
.hero p { animation-delay: 0.7s; }
.hero-cta { animation-delay: 0.9s; }