/* ============================================
   西三筋町会 祭礼周知ページ
   令和8年度 鳥越神社例大祭
   ============================================ */

*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* --- Palette --- */
    --black: #0A0A0A;
    --dark: #141414;
    --dark-warm: #1A1815;
    --charcoal: #252220;
    --slate: #3A3632;
    --muted: #6B6560;
    --stone: #9A948E;
    --sand: #C4BDB4;
    --cream: #F2EDE6;
    --off-white: #F8F5F0;
    --white: #FFFFFF;
    --red: #B8312F;
    --red-dark: #8C2422;
    --red-muted: #D4625F;
    --gold: #A6893A;
    --gold-light: #C9AD5E;
    --navy: #1C2840;

    /* --- Typography --- */
    --font-heading: 'Shippori Mincho', 'Yu Mincho', '游明朝', serif;
    --font-body: 'Zen Kaku Gothic New', -apple-system, BlinkMacSystemFont, sans-serif;

    /* --- Spacing --- */
    --section-pad: 72px;
    --section-pad-sm: 48px;

    /* --- Effects --- */
    --shadow-sm: 0 1px 4px rgba(0,0,0,0.06);
    --shadow-md: 0 2px 16px rgba(0,0,0,0.08);
    --transition: 0.25s ease;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 56px;
}

body {
    font-family: var(--font-body);
    color: var(--charcoal);
    background: var(--off-white);
    line-height: 1.85;
    font-size: 14.5px;
    font-weight: 400;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.02em;
}

.container {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--red);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--red-dark);
}

/* ========================================
   HERO
   ======================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background-image: url('https://www.genspark.ai/api/files/s/bihzuRCY');
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        180deg,
        rgba(10, 10, 10, 0.35) 0%,
        rgba(10, 10, 10, 0.50) 50%,
        rgba(10, 10, 10, 0.75) 100%
    );
}

.hero::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--gold);
    opacity: 0.4;
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 40px 24px;
}

.hero-title {
    margin-bottom: 8px;
}

.title-year {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(1rem, 2.2vw, 1.25rem);
    color: var(--gold-light);
    letter-spacing: 0.35em;
    margin-bottom: 12px;
    font-weight: 400;
}

.title-main {
    display: block;
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 7vw, 4rem);
    color: var(--white);
    letter-spacing: 0.18em;
    font-weight: 800;
    text-shadow: 0 2px 20px rgba(0, 0, 0, 0.5);
    line-height: 1.25;
}

.hero-subtitle {
    font-family: var(--font-heading);
    font-size: clamp(0.85rem, 1.8vw, 1rem);
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.4em;
    margin-bottom: 32px;
    font-weight: 400;
}

.hero-date {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(166, 137, 58, 0.3);
    padding: 10px 28px;
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.9rem;
    letter-spacing: 0.12em;
    margin-bottom: 36px;
    font-weight: 300;
}

.hero-date i {
    color: var(--gold-light);
    opacity: 0.7;
}

/* --- Countdown --- */
.countdown {
    margin-bottom: 36px;
}

.countdown-label {
    color: rgba(255, 255, 255, 0.45);
    font-size: 0.72rem;
    margin-bottom: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    font-weight: 500;
}

.countdown-boxes {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.countdown-item {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 10px 12px;
    min-width: 60px;
    text-align: center;
}

.countdown-item span {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

.countdown-item small {
    display: block;
    font-size: 0.6rem;
    color: rgba(255, 255, 255, 0.35);
    margin-top: 4px;
    letter-spacing: 0.15em;
    font-weight: 300;
}

.hero-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--white);
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 12px 36px;
    font-size: 0.82rem;
    font-weight: 500;
    letter-spacing: 0.15em;
    transition: var(--transition);
}

.hero-cta:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.4);
}

.hero-cta i {
    font-size: 0.7rem;
    animation: bounceDown 2.5s infinite;
}

@keyframes bounceDown {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(3px); }
    60% { transform: translateY(1px); }
}

/* ========================================
   NAVIGATION
   ======================================== */
.sticky-nav {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(166, 137, 58, 0.2);
}

.nav-inner {
    max-width: 860px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
}

.nav-brand {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.2em;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.nav-toggle span {
    display: block;
    width: 20px;
    height: 1.5px;
    background: var(--sand);
    transition: var(--transition);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 0;
    align-items: center;
}

.nav-links a {
    display: block;
    padding: 6px 10px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.72rem;
    font-weight: 500;
    letter-spacing: 0.06em;
    transition: var(--transition);
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--white);
}

/* ========================================
   SECTIONS — Common
   ======================================== */
.section {
    padding: var(--section-pad) 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--dark-warm);
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 0.12em;
    line-height: 1.4;
}

.section-title span {
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

.section-title span::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background: var(--red);
}

.section-title small {
    display: block;
    font-family: var(--font-body);
    font-size: 0.78rem;
    color: var(--muted);
    font-weight: 400;
    margin-top: 8px;
    letter-spacing: 0.06em;
}

.section-title.light {
    color: var(--white);
}

.section-title.light span::after {
    background: var(--gold-light);
}

/* ========================================
   GREETING
   ======================================== */
.greeting {
    padding-top: 24px;
    padding-bottom: 8px;
}

.greeting-card {
    text-align: center;
    background: var(--white);
    padding: 36px 32px;
    border-left: 2px solid var(--red);
    box-shadow: var(--shadow-sm);
    max-width: 640px;
    margin: 0 auto;
}

.greeting-card p {
    font-size: 0.92rem;
    line-height: 2.1;
    color: var(--charcoal);
}

/* ========================================
   SCHEDULE
   ======================================== */
.schedule-grid {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.schedule-card {
    display: grid;
    grid-template-columns: 88px 1fr;
    background: var(--white);
    overflow: hidden;
    transition: var(--transition);
}

.schedule-card:first-child {
    border-top: 1px solid var(--cream);
}

.schedule-card:hover {
    background: #FDFCFA;
}

.schedule-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 16px;
    color: var(--white);
    min-height: 88px;
}

.day-fri .schedule-date { background: var(--dark-warm); }
.day-sat .schedule-date { background: var(--slate); }
.day-sun .schedule-date { background: var(--red); }
.day-mon .schedule-date { background: var(--dark-warm); }

.date-num {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
}

.date-day {
    font-size: 0.68rem;
    margin-top: 3px;
    opacity: 0.65;
    letter-spacing: 0.1em;
    font-weight: 300;
}

.schedule-body {
    padding: 20px 24px;
    border-bottom: 1px solid var(--cream);
}

.schedule-body h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-warm);
    margin-bottom: 4px;
    letter-spacing: 0.04em;
}

.schedule-body p {
    font-size: 0.85rem;
    color: var(--muted);
    line-height: 1.65;
}

.schedule-detail {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
}

.schedule-detail span {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 0.75rem;
    color: var(--red);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.schedule-detail span i {
    font-size: 0.7rem;
}

.highlight-card {
    box-shadow: inset 0 0 0 1px var(--red);
}

/* ========================================
   PHOTO
   ======================================== */
.photo-section {
    padding: 12px 0;
}

.photo-banner {
    overflow: hidden;
}

.photo-banner img {
    width: 100%;
    height: 320px;
    object-fit: cover;
    filter: contrast(1.03);
}

/* ========================================
   INFO CARDS
   ======================================== */
.info-columns {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.info-card {
    background: var(--white);
    padding: 32px;
    box-shadow: var(--shadow-sm);
}

.info-card-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--cream);
}

.info-card-header i {
    font-size: 1rem;
    color: var(--muted);
}

.info-card-header h3 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
}

.info-card.general { border-top: 2px solid var(--red); }
.info-card.officer { border-top: 2px solid var(--dark-warm); }

.info-card p {
    font-size: 0.88rem;
    line-height: 1.85;
}

.highlight-text {
    color: var(--red);
    font-weight: 500;
    margin-top: 4px;
}

/* ========================================
   HANTEN — 貸半纏
   ======================================== */
.hanten-section {
    background: var(--white);
}

.hanten-intro {
    text-align: center;
    max-width: 640px;
    margin: 0 auto 32px;
    font-size: 0.88rem;
    color: var(--muted);
}

.application-method-list {
    list-style: none;
    padding: 0;
    margin-top: 24px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.application-method-list li {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    background: var(--off-white);
    padding: 20px;
    border-radius: 8px;
    border-left: 4px solid var(--gold);
}

.application-method-list li i {
    font-size: 1.8rem;
    color: var(--red);
    min-width: 32px;
    margin-top: 4px;
}

.application-method-list li div {
    flex: 1;
}

.application-method-list li strong {
    display: block;
    font-size: 1rem;
    color: var(--dark-warm);
    margin-bottom: 6px;
    font-weight: 700;
}

.application-method-list li p {
    font-size: 0.9rem;
    color: var(--charcoal);
    line-height: 1.7;
    margin: 0;
}

.deadline-banner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    background: var(--red);
    color: var(--white);
    padding: 16px 32px;
    margin: 0 auto 32px;
    max-width: 420px;
}

.deadline-banner i {
    font-size: 1.1rem;
    opacity: 0.8;
}

.deadline-banner strong {
    display: block;
    font-size: 0.72rem;
    opacity: 0.75;
    letter-spacing: 0.08em;
    font-weight: 400;
}

.deadline-banner span {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.1em;
}

.deadline-banner.compact {
    margin-top: 32px;
    margin-bottom: 0;
}

/* ========================================
   APPLICATION BUTTON
   ======================================== */
.application-button-wrapper {
    text-align: center;
    margin-top: 32px;
}

.application-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--red);
    color: white;
    padding: 18px 40px;
    border: none;
    border-radius: 8px;
    font-size: 1.05rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    cursor: not-allowed;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(198, 40, 40, 0.3);
    font-family: var(--font-base);
}

.application-button:not(:disabled) {
    cursor: pointer;
    background: linear-gradient(135deg, var(--red), #d32f2f);
}

.application-button:not(:disabled):hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(198, 40, 40, 0.4);
}

.application-button:disabled {
    opacity: 0.7;
    background: #999;
}

.application-button i {
    font-size: 1.2rem;
}

.application-note {
    margin-top: 12px;
    font-size: 0.85rem;
    color: var(--stone);
    letter-spacing: 0.05em;
}

.price-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 150px;
    height: 150px;
    border: 1px solid var(--gold);
    margin: 0 auto 40px;
}

.price-label {
    font-size: 0.7rem;
    color: var(--stone);
    letter-spacing: 0.1em;
}

.price-amount {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--dark-warm);
    line-height: 1.2;
}

.price-amount small {
    font-size: 0.6rem;
    font-weight: 400;
    color: var(--muted);
}

/* --- Hanten Schedule --- */
.hanten-schedule {
    background: var(--off-white);
    padding: 28px;
    margin-bottom: 28px;
    border: 1px solid var(--cream);
}

.hanten-schedule h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--dark-warm);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.06em;
}

.hanten-schedule h3 i {
    color: var(--muted);
    font-size: 0.9rem;
}

.hanten-timeline {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.timeline-item {
    display: grid;
    grid-template-columns: 88px 1fr;
    gap: 14px;
}

.timeline-date {
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--red);
    font-size: 0.88rem;
    padding-top: 2px;
    letter-spacing: 0.02em;
}

.timeline-content strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dark-warm);
    margin-bottom: 3px;
}

.timeline-content ul {
    list-style: none;
    padding: 0;
}

.timeline-content ul li {
    font-size: 0.85rem;
    color: var(--muted);
    padding: 1px 0;
}

.timeline-content ul li::before {
    content: '–  ';
    color: var(--stone);
}

/* --- Qualification --- */
.qualification-box {
    background: var(--off-white);
    padding: 28px;
    border: 1px solid var(--cream);
}

.qualification-box h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--dark-warm);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 0.06em;
}

.qualification-box h3 i {
    color: var(--muted);
    font-size: 0.9rem;
}

.qual-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 18px;
}

.qual-ok, .qual-ng {
    padding: 18px;
    background: var(--white);
    border: 1px solid var(--cream);
}

.qual-ok h4, .qual-ng h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 5px;
    font-weight: 600;
}

.qual-ok h4 { color: #3D7A40; }
.qual-ok h4 i { font-size: 0.8rem; }
.qual-ng h4 { color: var(--red); }
.qual-ng h4 i { font-size: 0.8rem; }

.qual-ok p, .qual-ng p {
    font-size: 0.85rem;
    color: var(--charcoal);
}

.disclaimer {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    padding: 14px 16px;
    background: var(--white);
    border: 1px solid var(--cream);
}

.disclaimer i {
    color: var(--gold);
    font-size: 0.88rem;
    margin-top: 2px;
    flex-shrink: 0;
}

.disclaimer p {
    font-size: 0.8rem;
    color: var(--muted);
}

/* ========================================
   FLOW — 募集の流れ
   ======================================== */
.flow-section {
    background: var(--cream);
}

.flow-timeline {
    position: relative;
    max-width: 560px;
    margin: 0 auto;
}

.flow-timeline::before {
    content: '';
    position: absolute;
    left: 19px;
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--sand);
}

.flow-step {
    display: flex;
    gap: 20px;
    margin-bottom: 28px;
    position: relative;
}

.flow-step:last-child {
    margin-bottom: 0;
}

.flow-marker {
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}

.flow-circle {
    width: 40px;
    height: 40px;
    background: var(--dark-warm);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.9rem;
}

.flow-content {
    background: var(--white);
    padding: 20px 24px;
    box-shadow: var(--shadow-sm);
    flex: 1;
    border: 1px solid rgba(0,0,0,0.03);
}

.flow-date {
    font-size: 0.75rem;
    color: var(--red);
    font-weight: 500;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}

.flow-content h4 {
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--dark-warm);
    margin-bottom: 4px;
    letter-spacing: 0.03em;
}

.flow-content p,
.flow-content ul {
    font-size: 0.85rem;
    color: var(--muted);
}

.flow-content ul {
    list-style: none;
    padding: 0;
}

.flow-content ul li {
    padding: 2px 0;
}

.flow-content ul li::before {
    content: '– ';
    color: var(--stone);
}

.warning-box {
    background: var(--off-white);
    border: 1px solid var(--cream);
    padding: 12px 16px;
    margin-top: 10px;
}

.warning-box p {
    font-size: 0.84rem;
    line-height: 1.7;
    color: var(--charcoal);
}

.warning-box i {
    color: var(--red);
    font-size: 0.82rem;
}

/* ========================================
   KIDS — 子供神輿
   ======================================== */
.kids-section {
    background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('https://www.genspark.ai/api/files/s/AWB3XkyY');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.kids-card {
    background: var(--white);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    max-width: 560px;
    margin: 0 auto;
    border-left: 2px solid var(--gold);
}

.kids-intro {
    font-size: 0.92rem;
    margin-bottom: 20px;
    color: var(--charcoal);
}

.kids-rules {
    list-style: none;
    padding: 0;
    margin-bottom: 24px;
}

.kids-rules li {
    padding: 5px 0;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.kids-rules li i {
    color: #3D7A40;
    font-size: 0.78rem;
}

.kids-warning {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: var(--off-white);
    border: 1px solid var(--cream);
    padding: 16px 20px;
}

.kids-warning i {
    font-size: 1rem;
    color: var(--gold);
    margin-top: 3px;
    flex-shrink: 0;
}

.kids-warning strong {
    display: block;
    font-family: var(--font-heading);
    color: var(--dark-warm);
    margin-bottom: 2px;
    font-size: 0.88rem;
}

.kids-warning p {
    font-size: 0.85rem;
    color: var(--muted);
}

/* ========================================
   MIYAIRI — 宮入道中
   ======================================== */
.miyairi-section {
    background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('https://www.genspark.ai/api/files/s/ggPuZniE');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.miyairi-date {
    text-align: center;
    font-size: 0.95rem;
    color: var(--dark-warm);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    letter-spacing: 0.04em;
}

.miyairi-date i {
    color: var(--red);
    font-size: 0.85rem;
}

.recruit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    max-width: 520px;
    margin: 0 auto;
}

.recruit-card {
    background: var(--off-white);
    padding: 28px 24px;
    text-align: center;
    border: 1px solid var(--cream);
}

.recruit-header {
    margin-bottom: 10px;
}

.recruit-count {
    display: inline-block;
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 800;
    color: var(--red);
    line-height: 1;
}

.recruit-header h3 {
    font-family: var(--font-heading);
    font-size: 1rem;
    color: var(--dark-warm);
    margin-top: 4px;
    letter-spacing: 0.06em;
}

.recruit-card > p {
    font-size: 0.85rem;
    color: var(--muted);
    margin-bottom: 10px;
}

.recruit-req {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 0.78rem;
    font-weight: 500;
    color: var(--charcoal);
    background: var(--white);
    padding: 5px 14px;
    border: 1px solid var(--cream);
}

/* ========================================
   HATAMOCHI — 旗持ち
   ======================================== */
.hatamochi-section {
    background-image: linear-gradient(rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.92)), url('https://www.genspark.ai/api/files/s/uI60vyB2');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hatamochi-card {
    background: var(--white);
    padding: 36px;
    box-shadow: var(--shadow-sm);
    max-width: 600px;
    margin: 0 auto;
    border-left: 2px solid var(--gold);
}

.hatamochi-date {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--dark-warm);
    font-weight: 500;
    margin-bottom: 14px;
    letter-spacing: 0.02em;
}

.hatamochi-date i {
    color: var(--red);
    font-size: 0.85rem;
}

.hatamochi-content {
    font-size: 0.9rem;
    margin-bottom: 20px;
    line-height: 1.85;
}

.hatamochi-detail {
    display: flex;
    gap: 32px;
}

.detail-item strong {
    display: block;
    font-size: 0.7rem;
    color: var(--stone);
    margin-bottom: 2px;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-weight: 400;
}

.detail-item p {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--dark-warm);
    letter-spacing: 0.02em;
}

/* ========================================
   ORG CHART — 組織図
   ======================================== */
.org-section {
    background: var(--cream);
}

.org-chart-image {
    max-width: 660px;
    margin: 0 auto;
    background: var(--white);
    padding: 24px;
    box-shadow: var(--shadow-sm);
}

.org-chart-image img {
    width: 100%;
    height: auto;
}

.org-team-photo {
    max-width: 800px;
    margin: 48px auto 0;
    background: var(--white);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    text-align: center;
}

.org-team-photo img {
    width: 100%;
    height: auto;
    display: block;
    margin-bottom: 16px;
}

.photo-caption {
    font-size: 0.9rem;
    color: var(--stone);
    font-weight: 500;
    letter-spacing: 0.05em;
    margin: 0;
}

/* ========================================
   INSTAGRAM
   ======================================== */
.instagram-section {
    background: var(--cream);
}

.instagram-feed {
    max-width: 1000px;
    margin: 0 auto;
}

.instagram-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 40px;
}

.instagram-embed-item {
    position: relative;
    min-height: 300px;
    background: var(--white);
    border-radius: 4px;
    overflow: hidden;
}

.instagram-embed-item .instagram-media {
    margin: 0 !important;
    min-width: 100% !important;
    max-width: 100% !important;
    width: 100% !important;
    border-radius: 4px !important;
    box-shadow: var(--shadow-sm) !important;
}

.instagram-cta {
    text-align: center;
}

.instagram-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #833ab4, #fd1d1d, #fcb045);
    color: white;
    padding: 16px 36px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0.05em;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(131, 58, 180, 0.3);
}

.instagram-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(131, 58, 180, 0.4);
}

.instagram-button i {
    font-size: 1.3rem;
}

/* ========================================
   DEADLINE SUMMARY
   ======================================== */
.deadline-summary {
    background: var(--dark-warm);
    padding: var(--section-pad) 0;
}

.deadline-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
}

.deadline-card {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    padding: 28px 20px;
    text-align: center;
}

.deadline-card-icon {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--gold-light);
    opacity: 0.7;
}

.deadline-card h4 {
    font-family: var(--font-heading);
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 12px;
    line-height: 1.5;
    letter-spacing: 0.04em;
    font-weight: 500;
}

.deadline-date {
    font-family: var(--font-heading);
    font-size: 1rem;
    font-weight: 700;
    color: var(--gold-light);
    letter-spacing: 0.06em;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: var(--black);
    color: rgba(255, 255, 255, 0.45);
    padding: 32px 0 16px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    margin-bottom: 16px;
}

.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--gold-light);
    margin-bottom: 2px;
    letter-spacing: 0.1em;
}

.footer-brand p {
    font-size: 0.78rem;
    opacity: 0.5;
}

.footer-note p {
    font-size: 0.78rem;
}

.footer-bottom {
    text-align: center;
}

.back-to-top {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.78rem;
    padding: 6px 14px;
    transition: var(--transition);
    letter-spacing: 0.06em;
}

.back-to-top:hover {
    color: var(--gold-light);
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    :root {
        --section-pad: 48px;
    }

    .nav-toggle {
        display: flex;
    }

    .nav-links {
        display: none;
        position: absolute;
        top: 50px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 8px 24px 16px;
        gap: 0;
        border-bottom: 1px solid rgba(166, 137, 58, 0.2);
    }

    .nav-links.open {
        display: flex;
    }

    .nav-links a {
        padding: 10px 0;
        font-size: 0.85rem;
        border-bottom: 1px solid rgba(255,255,255,0.04);
    }

    .section-title {
        font-size: 1.3rem;
    }

    .schedule-card {
        grid-template-columns: 72px 1fr;
    }

    .info-columns {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .info-card {
        border-top-width: 2px;
    }

    .qual-grid {
        grid-template-columns: 1fr;
    }

    .recruit-grid {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .deadline-cards {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .hatamochi-detail {
        flex-direction: column;
        gap: 12px;
    }

    .footer-content {
        flex-direction: column;
        text-align: center;
        gap: 12px;
    }

    .countdown-item {
        min-width: 54px;
        padding: 8px 10px;
    }

    .countdown-item span {
        font-size: 1.5rem;
    }

    .photo-banner img {
        height: 240px;
    }

    .application-method-list li {
        flex-direction: column;
        gap: 12px;
    }

    .application-method-list li i {
        font-size: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-date {
        font-size: 0.78rem;
        padding: 8px 18px;
    }

    .countdown-boxes {
        gap: 5px;
    }

    .countdown-item {
        min-width: 50px;
    }

    .countdown-item span {
        font-size: 1.3rem;
    }

    .schedule-card {
        grid-template-columns: 64px 1fr;
    }

    .schedule-date {
        padding: 14px 10px;
    }

    .date-num {
        font-size: 1.15rem;
    }

    .schedule-body {
        padding: 14px 16px;
    }

    .price-badge {
        width: 130px;
        height: 130px;
    }

    .price-amount {
        font-size: 1.7rem;
    }

    .kids-card,
    .hatamochi-card {
        padding: 24px 20px;
    }

    .kids-section,
    .miyairi-section,
    .hatamochi-section {
        background-attachment: scroll;
    }

    .instagram-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .instagram-embed-item {
        min-height: 400px;
    }

    .instagram-button {
        padding: 14px 28px;
        font-size: 0.95rem;
    }

    .application-button {
        padding: 16px 32px;
        font-size: 0.95rem;
    }

    .application-note {
        font-size: 0.8rem;
    }
}

/* ========================================
   SCROLL ANIMATION
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(16px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}
