/* ============================================
   映画『正直不動産』完成披露試写会
   Premium Cinematic Design System
   ============================================ */

/* ============================================
   CSS Variables
   ============================================ */
:root {
    /* ── Main palette ── */
    --sky-100: #e8f4fd;
    --sky-200: #b8ddf5;
    --sky-300: #7cc2ed;
    --sky-400: #4da8e5;
    --sky-500: #2b8fd6;
    --sky-600: #1a6fb3;
    --sky-700: #145690;
    --sky-800: #0f3d6b;
    --sky-900: #0a2848;

    --white: #ffffff;
    --off-white: #f7f9fc;
    --warm-white: #fafbfd;

    --ink-900: #0d1b2a;
    --ink-800: #1b2d3f;
    --ink-700: #2a3f55;
    --ink-600: #3b5068;
    --ink-500: #506a80;
    --ink-400: #7a8fa0;
    --ink-300: #a4b3c0;
    --ink-200: #c8d3dc;
    --ink-100: #e4eaef;

    --red: #c41e24;
    --red-dark: #a0181e;
    --gold: #c8a955;

    /* ── Typography ── */
    --ff-body: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
    --ff-display: 'Noto Serif JP', 'Yu Mincho', 'ヒラギノ明朝 ProN', serif;

    /* ── Spacing rhythm ── */
    --sp-xs: 4px;
    --sp-sm: 8px;
    --sp-md: 16px;
    --sp-lg: 24px;
    --sp-xl: 40px;
    --sp-2xl: 64px;
    --sp-3xl: 96px;

    /* ── Radii ── */
    --r-sm: 4px;
    --r-md: 8px;
    --r-lg: 16px;
    --r-xl: 24px;
    --r-full: 999px;

    /* ── Shadows ── */
    --shadow-soft: 0 1px 3px rgba(0, 0, 0, 0.04), 0 4px 16px rgba(0, 0, 0, 0.06);
    --shadow-card: 0 4px 24px rgba(43, 143, 214, 0.08), 0 1px 4px rgba(0, 0, 0, 0.04);
    --shadow-elevated: 0 8px 40px rgba(43, 143, 214, 0.12), 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-deep: 0 16px 64px rgba(10, 40, 72, 0.15);

    /* ── Transitions ── */
    --ease-out: cubic-bezier(0.16, 1, 0.3, 1);
    --ease-smooth: cubic-bezier(0.4, 0, 0.2, 1);
    --duration-fast: 200ms;
    --duration-normal: 400ms;
    --duration-slow: 800ms;

    --max-w: 860px;
    --max-w-narrow: 640px;
}

/* ============================================
   Reset & Base
   ============================================ */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: var(--ff-body);
    color: var(--ink-800);
    line-height: 1.8;
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}


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

a {
    text-decoration: none;
    color: inherit;
}

/* ============================================
   Layout
   ============================================ */
.container {
    width: 100%;
    max-width: var(--max-w);
    margin: 0 auto;
    padding: 0 var(--sp-lg);
}

/* ============================================
   HEADER  —  transparent → white on scroll
   Fixed header with glass effect
   ============================================ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 200;
    height: 56px;
    display: flex;
    align-items: center;
    transition: background var(--duration-normal) var(--ease-smooth),
        box-shadow var(--duration-normal) var(--ease-smooth);
}

/* Transparent state (on hero) */
.site-header--transparent {
    background: transparent;
}

/* After scroll */
.site-header--solid {
    background: rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    box-shadow: 0 1px 0 rgba(0, 0, 0, 0.06);
}

.header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--sp-lg);
}

.header__logo img {
    height: 26px;
    width: auto;
    transition: opacity var(--duration-fast);
}

.header__logo:hover img {
    opacity: 0.7;
}

/* Two logo variants for transparent/solid states */
.header__logo .logo--dark {
    display: block;
}

.header__logo .logo--white {
    display: none;
}

.site-header--transparent .header__logo .logo--dark {
    display: none;
}

.site-header--transparent .header__logo .logo--white {
    display: block;
}

.header__nav {
    display: flex;
    align-items: center;
    gap: var(--sp-md);
}

.header__link {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.18em;
    color: var(--ink-600);
    padding: 5px 18px;
    border: 1.5px solid var(--ink-200);
    border-radius: var(--r-full);
    transition: all var(--duration-fast);
}

.header__link:hover {
    background: var(--sky-500);
    border-color: var(--sky-500);
    color: var(--white);
}

.site-header--transparent .header__link {
    color: rgba(255, 255, 255, 0.9);
    border-color: rgba(255, 255, 255, 0.4);
}

.site-header--transparent .header__link:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.6);
    color: var(--white);
}

/* ============================================
   HERO  —  Full-bleed cinematic poster
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    min-height: 400px; /* 最低限の高さを確保 */
    overflow: hidden;
    background: #fff; /* 画像が足りない部分は白背景 */
}

.hero__visual {
    position: relative;
    z-index: 0;
    width: 100%;
    margin: auto;

    max-width: 600px;
}

.hero__visual img {
    width: 100%;
    height: auto;
    display: block;
}

/* Bottom gradient: .hero__gradientは非表示にして::afterで画像に直接かける */
.hero__gradient {
    display: none;
}

/* 画像の下部に白グラデーション（全画面幅共通） */
/*.hero__visual::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 30%;
    background: linear-gradient(to top,
            #fff 0%,
            rgba(255, 255, 255, 0.95) 20%,
            rgba(255, 255, 255, 0.7) 55%,
            transparent 100%);
    z-index: 1;
    pointer-events: none;
}*/

/* Dark upper vignette for text readability */
.hero__vignette {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 25%;
    background: linear-gradient(to bottom,
            rgba(10, 40, 72, 0.35) 0%,
            transparent 100%);
    z-index: 1;
}

.hero__content {
    /* position: absolute; */
    inset: 0;
    z-index: 2;
    text-align: center;
    padding: 40px var(--sp-lg) 70px;
    width: 100%;
    max-width: 100%;
    /* Grid: 上にラベル/タイトル/日付、1frで余白、下にボタン */
    display: grid;
    grid-template-rows: auto auto auto 1fr auto;
    justify-items: center;
    align-items: start;
}

.hero__event-label { grid-row: 1; }
.hero__title       { grid-row: 2; }
.hero__date        { grid-row: 3; }
.hero__cta         { grid-row: 5; align-self: end; }

.hero__event-label {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.22em;
    color: var(--sky-600);
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(8px);
    padding: 6px 22px;
    border-radius: var(--r-full);
    margin-bottom: var(--sp-md);
    opacity: 0;
    transform: translateY(16px);
    animation: fadeUp 0.6s var(--ease-out) 0.6s forwards;
}

.hero__title {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: clamp(1rem, 5vw, 3rem);
    font-weight: 900;
    color: #000;
    text-shadow: none;
    letter-spacing: 0.05em;
    line-height: 1.2;
    margin-bottom: var(--sp-xs);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s var(--ease-out) 0.8s forwards;
}

.hero__date {
    font-family: 'Impact', 'Arial Black', sans-serif;
    font-size: clamp(1rem, 6vw, 3rem);
    font-weight: 900;
    color: #fff200; /* bright yellow */
    text-shadow: 
        0 0 8px #ff4500,
        0 0 16px #ff4500,
        0 0 24px #ff0000;
    letter-spacing: 0.05em;
    margin-bottom: var(--sp-lg);
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s var(--ease-out) 1s forwards;
    line-height: 2;
}

.hero__cta {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeUp 0.7s var(--ease-out) 1.2s forwards;
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 48px;
    font-family: var(--ff-body);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    border: none;
    border-radius: var(--r-full);
    cursor: pointer;
    transition: all var(--duration-normal) var(--ease-out);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    line-height: 1;
}

.btn--primary {
    background: var(--sky-500);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(43, 143, 214, 0.3);
}

.btn--primary:hover {
    background: var(--sky-600);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(43, 143, 214, 0.4);
}

.btn--primary:active {
    transform: translateY(0);
}

/* Shimmer effect */
.btn--primary::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            transparent,
            rgba(255, 255, 255, 0.15),
            transparent);
    animation: shimmer 4s ease-in-out infinite;
}

.btn--red {
    background: var(--red);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(196, 30, 36, 0.25);
}

.btn--red:hover {
    background: var(--red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(196, 30, 36, 0.35);
}

.btn--outline {
    background: transparent;
    color: var(--sky-600);
    border: 1.5px solid var(--sky-300);
    box-shadow: none;
}

.btn--outline:hover {
    background: var(--sky-100);
    border-color: var(--sky-500);
}

.btn--white {
    background: rgba(255, 255, 255, 0.9);
    color: var(--sky-700);
    backdrop-filter: blur(8px);
    box-shadow: var(--shadow-soft);
}

.btn--white:hover {
    background: var(--white);
    transform: translateY(-2px);
    box-shadow: var(--shadow-elevated);
}

.btn--lg {
    padding: 16px 56px;
    font-size: 0.95rem;
}

.btn--block {
    display: flex;
    width: 100%;
}

.btn__arrow {
    font-size: 1.1em;
    transition: transform var(--duration-fast);
}

.btn:hover .btn__arrow {
    transform: translateX(3px);
}

/* ============================================
   FORM PAGE
   ============================================ */
.form-page {
    padding: 80px 0 var(--sp-3xl);
    background: #ffffff;
    min-height: 100vh;
}

.form-card {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-xl);
    padding: var(--sp-xl) var(--sp-xl);
    box-shadow: var(--shadow-card);
}

.form-card__header {
    text-align: center;
    margin-bottom: var(--sp-xl);
    padding-bottom: var(--sp-lg);
    border-bottom: 1px solid var(--ink-100);
}

.form-card__title {
    font-family: var(--ff-display);
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--ink-900);
    letter-spacing: 0.08em;
    margin-bottom: 4px;
}

.form-card__sub {
    font-size: 0.82rem;
    color: var(--ink-400);
}

/* Form Elements */
.field {
    margin-bottom: var(--sp-lg);
}

.field__label {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.84rem;
    font-weight: 600;
    color: var(--ink-800);
    margin-bottom: 6px;
}

.field__required {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--white);
    background: var(--red);
    padding: 1px 6px;
    border-radius: var(--r-full);
    letter-spacing: 0.04em;
}

.field__optional {
    display: inline-block;
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--ink-500);
    background: var(--ink-100);
    padding: 1px 6px;
    border-radius: var(--r-full);
    letter-spacing: 0.04em;
}

.field__input {
    width: 100%;
    padding: 11px 14px;
    font-family: var(--ff-body);
    font-size: 0.92rem;
    color: var(--ink-900);
    background: var(--white);
    border: 1.5px solid var(--ink-200);
    border-radius: var(--r-md);
    outline: none;
    transition: border-color var(--duration-fast),
        box-shadow var(--duration-fast);
    appearance: none;
    -webkit-appearance: none;
}

.field__input:focus {
    border-color: var(--sky-400);
    box-shadow: 0 0 0 3px rgba(43, 143, 214, 0.08);
}

.field__input::placeholder {
    color: var(--ink-300);
}

.field__input--error {
    border-color: var(--red) !important;
    box-shadow: 0 0 0 3px rgba(196, 30, 36, 0.06) !important;
}

.field__input--valid {
    border-color: #43a047;
}

select.field__input {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237a8fa0' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.field__hint {
    font-size: 0.72rem;
    color: var(--ink-400);
    margin-top: 4px;
}

.field__error {
    font-size: 0.72rem;
    color: var(--red);
    margin-top: 4px;
    display: none;
}

.field__error.show {
    display: block;
}

/* Radio / Checkbox custom */
.radio-group {
    display: flex;
    gap: var(--sp-md);
    flex-wrap: wrap;
    margin-top: 4px;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 7px;
    cursor: pointer;
}

.radio-item input[type="radio"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--ink-200);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: border-color var(--duration-fast);
    flex-shrink: 0;
}

.radio-item input[type="radio"]:checked {
    border-color: var(--sky-500);
}

.radio-item input[type="radio"]:checked::after {
    content: '';
    position: absolute;
    inset: 3px;
    background: var(--sky-500);
    border-radius: 50%;
}

.radio-item label {
    font-size: 0.9rem;
    font-weight: 400;
    cursor: pointer;
}

.checkbox-item {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap; /* エラーメッセージが下段に落ちるように追加 */
    justify-content: center; /* ラベルとチェックボックスを中央に寄せる */
    gap: 10px;
    cursor: pointer;
}

.checkbox-item input[type="checkbox"] {
    appearance: none;
    width: 18px;
    height: 18px;
    border: 2px solid var(--ink-200);
    border-radius: var(--r-sm);
    flex-shrink: 0;
    margin-top: 3px;
    cursor: pointer;
    position: relative;
    transition: all var(--duration-fast);
}

.checkbox-item input[type="checkbox"]:checked {
    background: var(--sky-500);
    border-color: var(--sky-500);
}

.checkbox-item input[type="checkbox"]:checked::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 5px;
    width: 5px;
    height: 9px;
    border: solid var(--white);
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-item label {
    font-size: 0.82rem;
    line-height: 1.7;
    cursor: pointer;
    font-weight: 400;
    color: var(--ink-700);
}

/* Postal code layout */
.postal-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.postal-prefix {
    font-weight: 600;
    color: var(--ink-800);
    font-size: 1rem;
}

.postal-input {
    max-width: 150px;
}

.age-group {
    display: flex;
    align-items: center;
    gap: 8px;
}

.age-input {
    max-width: 90px;
}

.age-suffix {
    font-size: 0.92rem;
    color: var(--ink-700);
}

/* Privacy */
.privacy-box {
    background: var(--off-white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-md);
    padding: var(--sp-lg);
    margin: var(--sp-lg) 0;
}

.privacy-box__title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--ink-900);
    margin-bottom: var(--sp-sm);
}

.privacy-box__text {
    font-size: 0.76rem;
    color: var(--ink-500);
    line-height: 1.9;
    margin-bottom: var(--sp-md);
    /*max-height: 160px;
    overflow-y: auto;
    border: 1px solid var(--ink-100);
    padding: 12px;
    border-radius: var(--r-sm);
    background: var(--white);*/
}

/* Mail domain notice */
.domain-notice {
    background: var(--sky-100);
    border-left: 3px solid var(--sky-400);
    padding: var(--sp-md) var(--sp-lg);
    border-radius: 0 var(--r-sm) var(--r-sm) 0;
    margin: var(--sp-lg) 0;
    font-size: 0.8rem;
    line-height: 1.8;
    color: var(--ink-600);
}

.domain-notice strong {
    color: var(--ink-900);
}

/* Submit area */
.form-submit {
    text-align: center;
    padding-top: var(--sp-lg);
    margin-top: var(--sp-lg);
    border-top: 1px solid var(--ink-100);
}

/* Server-side error list */
.error-list {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: var(--r-md);
    padding: var(--sp-md) var(--sp-lg);
    margin-bottom: var(--sp-lg);
    list-style: none;
}

.error-list li {
    font-size: 0.8rem;
    color: var(--red);
    padding: 2px 0;
}

.error-list li::before {
    content: '⚠ ';
}

/* ============================================
   THANKS PAGE
   ============================================ */
.thanks-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 100px var(--sp-lg) var(--sp-2xl);
    background: linear-gradient(180deg, var(--sky-100) 0%, var(--white) 50%);
}

.thanks-card {
    background: var(--white);
    border: 1px solid var(--ink-100);
    border-radius: var(--r-xl);
    padding: var(--sp-2xl) var(--sp-xl);
    text-align: center;
    max-width: 500px;
    width: 100%;
    box-shadow: var(--shadow-card);
    animation: fadeUp 0.8s var(--ease-out) both;
}

.thanks-card__icon {
    width: 72px;
    height: 72px;
    background: linear-gradient(135deg, var(--sky-400), var(--sky-600));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto var(--sp-lg);
    animation: scaleIn 0.5s var(--ease-out) 0.3s both;
}

.thanks-card__icon svg {
    width: 32px;
    height: 32px;
    fill: none;
    stroke: white;
    stroke-width: 3;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.thanks-card__title {
    font-family: var(--ff-display);
    font-size: 1.3rem;
    color: var(--ink-900);
    margin-bottom: var(--sp-md);
}

.thanks-card__body {
    font-size: 0.88rem;
    color: var(--ink-500);
    line-height: 2;
    margin-bottom: var(--sp-xl);
}

.thanks-card__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--sp-sm);
}


/* ============================================
   FOOTER
   ============================================ */
.site-footer {
    padding: var(--sp-xl) 0 var(--sp-lg);
    background: var(--ink-900);
    text-align: center;
}

.footer__links {
    display: flex;
    justify-content: center;
    gap: var(--sp-lg);
    margin-bottom: var(--sp-md);
    flex-wrap: wrap;
}

.footer__links a {
    font-size: 0.72rem;
    color: var(--sky-300);
    letter-spacing: 0.06em;
    transition: opacity var(--duration-fast);
}

.footer__links a:hover {
    opacity: 0.6;
}

.footer__copy {
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.35);
    line-height: 1.8;
}

/* ============================================
   LOADING OVERLAY
   ============================================ */
.loading-overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.88);
    backdrop-filter: blur(6px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.loading-overlay.active {
    display: flex;
}

.loading__content {
    text-align: center;
}

.loading__spinner {
    width: 36px;
    height: 36px;
    border: 3px solid var(--sky-200);
    border-top-color: var(--sky-500);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 0 auto var(--sp-md);
}

.loading__text {
    font-size: 0.85rem;
    color: var(--ink-700);
    letter-spacing: 0.08em;
}

/* ============================================
   ANIMATIONS
   ============================================ */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.5);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }

    40% {
        left: 100%;
    }

    100% {
        left: 100%;
    }
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 152, 0, 0.35);
    }

    50% {
        transform: scale(1.04);
        box-shadow: 0 0 0 12px rgba(255, 152, 0, 0);
    }
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Scroll reveal */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity 0.7s var(--ease-out),
        transform 0.7s var(--ease-out);
}

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

/* Stagger children */
.reveal[data-delay="100"] {
    transition-delay: 0.1s;
}

.reveal[data-delay="200"] {
    transition-delay: 0.2s;
}

.reveal[data-delay="300"] {
    transition-delay: 0.3s;
}

.reveal[data-delay="400"] {
    transition-delay: 0.4s;
}
.complete-poster{
    max-width: 100%;
    height: auto;
    padding: 0px 30px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
   @media (min-width: 1500px){
         .hero__content{
            padding-top: 100px;
         }
   }
@media (max-width: 768px) {
    :root {
        --sp-xl: 32px;
        --sp-2xl: 48px;
        --sp-3xl: 64px;
    }

    .hero__content {
        padding-bottom: var(--sp-2xl);
    }

    .event-card__row {
        flex-direction: column;
        padding: var(--sp-md) var(--sp-lg);
    }

    .event-card__label {
        width: auto;
        margin-bottom: 2px;
    }

    .form-card {
        padding: var(--sp-lg) var(--sp-md);
    }

    .notice__block {
        padding: var(--sp-lg) var(--sp-md);
    }

    .kv__frame {
        max-width: 85%;
    }
    .complete-poster{
    padding: 0px;
}
}

@media (max-width: 480px) {
    html {
        font-size: 15px;
    }

    .site-header {
        height: 48px;
    }

    .header__logo img {
        height: 22px;
    }

    .hero__content {
        padding-bottom: var(--sp-xl);
    }

    .btn {
        padding: 12px 32px;
        font-size: 0.84rem;
    }

    .btn--lg {
        padding: 12px 20px;
        font-size: 0.85rem;
    }

    .header__link {
        font-size: 0.62rem;
        padding: 4px 12px;
    }

    .form-card {
        padding: var(--sp-lg) var(--sp-md);
    }

    .thanks-card,
    .congestion-card {
        padding: var(--sp-xl) var(--sp-md);
    }

    /* フォームの住所・郵便番号 */
    .postal-group {
        flex-wrap: wrap;
    }

    /* 生年月日の年/月/日セレクト が横並びで狭くなりすぎるので折り返す */
    .age-group {
        flex-wrap: wrap;
        gap: 6px;
    }

    /* フォーム入力全体の余白 */
    .field {
        margin-bottom: var(--sp-md);
    }

    /* 送信ボタンのブロック幅 */
    .btn--block {
        padding: 14px 20px;
    }
}

/* 375px以下: 極小スマホ対応 */
@media (max-width: 375px) {
    .hero__title {
        font-size: clamp(1.5rem, 5.5vw, 2rem);
    }
    .hero__date {
        font-size: clamp(1.7rem, 6.5vw, 2.4rem);
    }
    .age-group {
        gap: 4px;
    }
    .field__input {
        font-size: 0.85rem;
        padding: 9px 10px;
    }
}

/* ============================================
   ヒーローセクション レスポンシブ
   ============================================ */

/* 1100px以下: タイトル文字を徐々に小さくする */
@media (max-width: 1100px) {
    /*.hero__title {
        font-size: clamp(0.85rem, 3.5vw, 1.5rem);
    }
    .hero__date {
        font-size: clamp(0.85rem, 4vw, 1.6rem);
    }
    .hero__event-label {
        font-size: 0.65rem;
    }*/
}

/* 700px以下: 応募ボタンを非表示 & 画像→テキストの縦積みレイアウト */
@media (max-width: 700px) {
    .hero__cta {
        display: none;
    }
    .hero {
        min-height: unset; /* 画像の高さに合わせる */
    }
    /* 画像を通常フローに戻す（上に配置） */
    .hero__visual {
        position: relative;
        inset: auto;
    }
    /* ビネット（上部暗い影）と元のグラデーションは非表示 */
    .hero__vignette,
    .hero__gradient {
        display: none;
    }
    /* 画像の下部に白グラデーションを::afterで追加 */
    /*.hero__visual::after {
        content: '';
        position: absolute;
        bottom: -2px; 
        left: 0;
        right: 0;
        height: 30%;
        background: linear-gradient(to top,
            #fff 0%,
            rgba(255, 255, 255, 0.95) 20%,
            rgba(255, 255, 255, 0.7) 55%,
            transparent 100%);
        pointer-events: none;
    }*/
    /* テキストを画像の下に通常フローで配置 */
    .hero__content {
        position: relative;
        inset: auto;
        background: #fff;
        padding: var(--sp-md) var(--sp-lg);
        min-height: unset;
        display: block; /* gridではなくblockに */
    }
    /* テキスト色をダーク仕様に */
    .hero__event-label {
        margin-bottom: var(--sp-sm);
    }
    /* 縦積みなので文字を大きく戻す */
    .hero__title {
        font-size: clamp(1.8rem, 6vw, 2.6rem);
        color: #000;
    }
    .hero__date {
        font-size: clamp(2rem, 7vw, 3rem);
        margin-bottom: 0;
    }
}

/* ============================================
   UTILITIES (shojiki-movie 追加分)
   ============================================ */
.form-submit__note {
    font-size: 0.75rem;
    color: var(--ink-400);
    margin-top: 12px;
    text-align: center;
}

.notice-box {
    background: var(--off-white);
    border-left: 4px solid var(--red);
    border-radius: var(--r-sm);
    padding: 20px 24px;
}

.notice-box__title {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    color: var(--red);
    margin-bottom: 12px;
}

.notice-box__list {
    list-style: none;
    padding: 0;
    margin: 0;
    font-size: 0.8rem;
    color: var(--ink-600);
    line-height: 1.9;
}

.notice-box__list li {
    margin-bottom: 8px;
}

.contact-info {
    margin-top: 20px;
    margin-bottom: 30px;
    font-size: 0.8rem;
    line-height: 1.6;
    border: 1px solid var(--ink-200);
    padding: 15px;
    background: var(--white);
    border-radius: var(--r-sm);
}

.notice-section {
    padding: 24px 0;
}
