@charset "UTF-8";

/* ===== ベース ===== */

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    padding: 0 0 84px;
    color: #4b3f5e;
    font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
    line-height: 1.9;
    background: #f7effa url("images/LPbackground.jpg") center top / cover no-repeat fixed;
    position: relative;
    z-index: 0;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: linear-gradient(180deg,
        rgba(255, 255, 255, 0.18) 0%,
        rgba(255, 255, 255, 0.55) 30%,
        rgba(255, 255, 255, 0.62) 70%,
        rgba(255, 255, 255, 0.4) 100%);
    pointer-events: none;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
}

a {
    color: #d4589a;
    text-decoration: none;
}

a:hover {
    color: #b8407e;
    text-decoration: underline;
}

.nobr {
    display: inline-block;
}

.inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: clamp(48px, 6vw, 80px) 20px;
}

.inner.narrow {
    max-width: 820px;
}

.band {
    background: rgba(255, 255, 255, 0.62);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.8);
}

h1, h2, h3,
.site-logo,
.price-value,
.dialog-inner h2 {
    font-family: "Zen Maru Gothic", "Noto Sans JP", sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
}

h2 {
    font-size: clamp(24px, 3.6vw, 32px);
    margin: 0 0 32px;
    scroll-margin-top: 80px;
}

h3 {
    font-size: 19px;
    margin: 40px 0 16px;
}

.eyebrow {
    margin: 0 0 8px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.16em;
    color: #b06fc9;
}

.section-note {
    margin: -24px 0 32px;
    font-size: 14px;
    color: #8579a0;
}

.accent {
    color: #d4589a;
}

/* ===== ヘッダー ===== */

.site-header {
    position: sticky;
    top: 0;
    z-index: 60;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.9);
}

.header-inner {
    max-width: 1040px;
    margin: 0 auto;
    padding: 12px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}

.site-logo {
    flex: none;
    font-size: 17px;
    color: #4b3f5e;
    line-height: 1.3;
    white-space: nowrap;
}

.site-logo:hover {
    text-decoration: none;
    color: #d4589a;
}

.nav {
    min-width: 0;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 4px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.nav ul li a {
    display: inline-block;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 500;
    color: #7a6d92;
    white-space: nowrap;
    border-radius: 999px;
    transition: 0.2s;
}

.nav ul li a:hover {
    background: #fbeaf5;
    color: #d4589a;
    text-decoration: none;
}

/* ===== ヒーロー ===== */

.hero {
    max-width: 1040px;
    margin: 0 auto;
    padding: clamp(36px, 6vw, 72px) 20px clamp(28px, 4vw, 48px);
}

.hero-inner {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: clamp(24px, 4vw, 48px);
    align-items: center;
}

.hero h1 {
    font-size: clamp(28px, 5.2vw, 44px);
    line-height: 1.45;
    margin: 0 0 20px;
    text-wrap: pretty;
    text-shadow: 0 2px 14px rgba(255, 255, 255, 0.9);
}

.hero-sub {
    margin: 0 0 28px;
    font-size: 15px;
    color: #6d6087;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-image img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 24px;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 14px 34px rgba(150, 110, 180, 0.18);
    display: block;
}

.hero-slider {
    margin-top: clamp(24px, 4vw, 40px);
    overflow: hidden;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.6);
}

.slides {
    display: flex;
    width: 200%;
    transition: transform 0.8s ease;
}

.slides img {
    width: 50%;
    height: 180px;
    object-fit: contain;
    flex-shrink: 0;
    cursor: zoom-in;
}

/* ===== ボタン ===== */

.button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f08fb8 0%, #b98ee0 100%);
    color: #ffffff;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 8px 20px rgba(200, 120, 190, 0.32);
    transition: 0.2s;
}

.button:hover {
    filter: brightness(1.06);
    color: #ffffff;
    text-decoration: none;
    transform: translateY(-2px);
}

.button-ghost {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #eed6ee;
    color: #4b3f5e;
    box-shadow: none;
}

.button-ghost:hover {
    background: #ffffff;
    border-color: #e79bc6;
    color: #d4589a;
    filter: none;
}

/* ===== 導入 ===== */

.voice-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 14px;
}

.voice-list li {
    padding: 20px 22px;
    border-radius: 18px;
    background: #fdf2f9;
    border: 1px solid #f3ddef;
    font-size: 15px;
    font-weight: 500;
    color: #5f5478;
}

.intro-text {
    margin: 0;
    font-size: clamp(16px, 2.2vw, 19px);
    line-height: 2.1;
    text-wrap: pretty;
}

/* ===== カレンダー ===== */

.calendar-slider {
    display: flex;
    align-items: center;
    gap: 16px;
    max-width: 620px;
    background: rgba(255, 255, 255, 0.86);
    border: 1px solid rgba(255, 255, 255, 0.9);
    border-radius: 22px;
    padding: 20px;
    box-shadow: 0 10px 28px rgba(150, 110, 180, 0.12);
}

.calendar-window {
    flex: 1;
    min-width: 0;
    border-radius: 14px;
    overflow: hidden;
}

.calendar-window img {
    width: 100%;
    display: block;
    cursor: zoom-in;
    transition: opacity 0.3s;
}

.calendar-btn {
    flex: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid #f0ddf1;
    background: #fbf1fa;
    font-size: 20px;
    line-height: 1;
    color: #a292bd;
    cursor: pointer;
    transition: 0.2s;
}

.calendar-btn:hover {
    background: #f7e3f3;
    color: #d4589a;
}

/* ===== ワークショップ ===== */

.workshop {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    max-width: 620px;
}

.workshop img {
    width: 100%;
    border-radius: 18px;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 24px rgba(150, 110, 180, 0.14);
    cursor: zoom-in;
}

/* ===== 駐車場 ===== */

.parking {
    max-width: 820px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px dashed #e4c9ea;
    border-radius: 20px;
    padding: 24px 26px;
}

.parking p {
    margin: 10px 0;
    padding-left: 30px;
    position: relative;
    font-size: 15px;
    color: #5f5478;
    line-height: 1.8;
}

.parking p::before {
    content: "🚗";
    position: absolute;
    left: 0;
    top: 0;
}

/* ===== カード ===== */

.cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 24px;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #f2e2f3;
    border-radius: 22px;
    overflow: hidden;
    box-shadow: 0 10px 26px rgba(150, 110, 180, 0.1);
}

.card img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.card p {
    margin: 0;
    padding: 20px 22px;
    font-size: 15px;
    line-height: 1.8;
}

/* ===== 料金 ===== */

.price-wrap {
    max-width: 640px;
}

.price-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #f2e2f3;
    border-radius: 22px;
    padding: 28px;
    margin-bottom: 16px;
    box-shadow: 0 10px 26px rgba(150, 110, 180, 0.1);
}

.price-change {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    color: #d4589a;
    background: #fceaf4;
    padding: 5px 12px;
    border-radius: 999px;
    margin-bottom: 16px;
}

.price-note {
    margin: 0 0 22px;
    font-size: 14px;
    line-height: 1.9;
    color: #6d6087;
}

.price-amount {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
    padding-top: 20px;
    border-top: 1px solid #f2e2f3;
}

.price-label {
    font-size: 14px;
    font-weight: 700;
    color: #8579a0;
}

.price-value {
    font-size: 40px;
    line-height: 1;
    color: #d4589a;
}

.price-value span {
    font-size: 20px;
}

.time-text {
    font-size: 13px;
    color: #8579a0;
}

.price-free {
    margin: 16px 0 0;
    padding: 12px 16px;
    border-radius: 14px;
    background: #eef3fb;
    color: #5f7fa8;
    font-size: 14px;
    font-weight: 700;
}

.price-examples {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 10px;
}

.price-examples li {
    padding: 14px 18px;
    background: rgba(255, 255, 255, 0.76);
    border: 1px solid #f3ddef;
    border-radius: 16px;
    font-size: 14px;
    color: #5f5478;
}

/* ===== FAQ ===== */

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

.faq-card {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #f2e2f3;
    border-radius: 22px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.faq-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 34px rgba(150, 110, 180, 0.18);
}

.img-wrap img {
    width: 100%;
    height: 170px;
    object-fit: cover;
    display: block;
}

.faq-body {
    padding: 22px;
}

.faq-body h3 {
    margin: 0 0 12px;
    font-size: 17px;
    line-height: 1.6;
}

.faq-body p {
    margin: 0;
    font-size: 14px;
    color: #5f5478;
    line-height: 1.9;
}

/* ===== 地図 ===== */

.map-wrap {
    border-radius: 22px;
    overflow: hidden;
    border: 3px solid rgba(255, 255, 255, 0.9);
    box-shadow: 0 10px 26px rgba(150, 110, 180, 0.14);
}

.map-wrap iframe {
    width: 100%;
    height: 420px;
    border: 0;
    display: block;
}

/* ===== たまご ===== */

.egg-box {
    max-width: 480px;
    margin: 0 auto;
    padding: 32px 24px;
    background: rgba(255, 255, 255, 0.8);
    border: 2px dashed #e9c9e8;
    border-radius: 26px;
    text-align: center;
}

#growth-message {
    margin: 0 0 20px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #6d6087;
}

.egg-container {
    width: 190px;
    height: 190px;
    margin: 0 auto 20px;
    border-radius: 50%;
    background: radial-gradient(circle, #ffffff 0%, #fbeaf6 72%);
    display: flex;
    align-items: center;
    justify-content: center;
}

#egg-image {
    max-width: 150px;
    height: auto;
    filter: drop-shadow(0 5px 12px rgba(150, 110, 180, 0.18));
    animation: eggSway 3.4s infinite ease-in-out;
}

@keyframes eggSway {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-8px) rotate(2deg); }
}

.next-step {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #f3ddef;
    font-size: 14px;
    color: #6d6087;
}

#days-left {
    display: inline-block;
    min-width: 1.5em;
    color: #d4589a;
    font-size: 1.4em;
}

.egg-reset {
    display: block;
    margin: 18px auto 0;
    border: none;
    background: none;
    font-family: inherit;
    font-size: 12px;
    color: #a99cbd;
    text-decoration: underline;
    cursor: pointer;
}

/* ===== 予約 ===== */

.cta-box {
    background: linear-gradient(180deg, rgba(252, 233, 245, 0.85) 0%, rgba(238, 232, 252, 0.85) 100%);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    margin-top: clamp(48px, 6vw, 80px);
    padding: clamp(48px, 6vw, 80px) 20px;
    scroll-margin-top: 70px;
}

.cta-box h2 {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.reserve-card {
    max-width: 760px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.94);
    border-radius: 24px;
    padding: clamp(24px, 4vw, 36px);
    text-align: center;
    box-shadow: 0 14px 34px rgba(150, 110, 180, 0.14);
}

.reserve-info {
    margin: 0 0 24px;
    padding-left: 22px;
    text-align: left;
}

.reserve-info li {
    font-size: 15px;
    color: #5f5478;
    margin-bottom: 10px;
}

.reserve-info strong {
    color: #d4589a;
}

.reserve-image-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: nowrap;
    background: #fdf4fa;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 24px;
}

.reserve-image-box {
    flex: 1;
    max-width: 230px;
    text-align: center;
}

.reserve-image-box img {
    width: 100%;
    border-radius: 12px;
    border: 1px solid #f0ddf1;
    cursor: zoom-in;
}

.reserve-image-box span {
    display: block;
    margin-top: 8px;
    font-size: 12px;
    color: #8579a0;
    line-height: 1.4;
}

.reserve-arrow {
    flex: none;
    font-size: 22px;
    font-weight: 700;
    color: #d4589a;
}

.reserve-note {
    margin: 0 0 8px;
    font-size: 14px;
    color: #6d6087;
    line-height: 1.9;
    text-align: left;
}

.agreement-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 24px 0 20px;
    font-size: 14px;
    color: #5f5478;
}

.agreement-area input {
    width: 18px;
    height: 18px;
    accent-color: #e07cb4;
    cursor: pointer;
}

/* ===== フッター ===== */

footer {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(6px);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
}

.footer-container {
    max-width: 1040px;
    margin: 0 auto;
    padding: clamp(40px, 5vw, 64px) 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 32px;
}

.contact-title {
    margin: 0 0 16px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #b06fc9;
}

.footer-links {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
}

.footer-links a {
    font-size: 14px;
}

.contact-note {
    margin: 0 0 18px;
    font-size: 14px;
    color: #6d6087;
    line-height: 1.9;
}

.footer-line {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.footer-line img {
    width: 106px;
    height: 106px;
    object-fit: contain;
    border-radius: 12px;
    border: 1px solid #f0ddf1;
    background: #ffffff;
}

.line-button {
    display: inline-block;
    padding: 12px 22px;
    border-radius: 999px;
    background: #06c755;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
}

.line-button:hover {
    background: #05b04c;
    color: #ffffff;
    text-decoration: none;
}

.copyright {
    margin: 0;
    padding: 20px;
    text-align: center;
    font-size: 13px;
    color: #a99cbd;
    border-top: 1px solid #f3e7f4;
}

/* ===== 固定バー ===== */

.fixed-bar {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 70;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(14px);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 10px 16px;
}

.fixed-bar > * {
    text-decoration: none;
}

.up-button {
    flex: none;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 1px solid #f0ddf1;
    background: #fbf1fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #a292bd;
    font-size: 16px;
}

.up-button:hover {
    color: #d4589a;
    text-decoration: none;
}

.bar-line,
.bar-reserve {
    padding: 13px 16px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 15px;
    text-align: center;
}

.bar-line {
    flex: 1;
    max-width: 220px;
    background: #ffffff;
    border: 1px solid #eed6ee;
    color: #4b3f5e;
}

.bar-line:hover {
    border-color: #06c755;
    color: #06c755;
    text-decoration: none;
}

.bar-reserve {
    flex: 1.4;
    max-width: 300px;
    background: linear-gradient(135deg, #f08fb8 0%, #b98ee0 100%);
    color: #ffffff;
    box-shadow: 0 8px 20px rgba(200, 120, 190, 0.32);
}

.bar-reserve:hover {
    filter: brightness(1.06);
    color: #ffffff;
    text-decoration: none;
}

/* ===== スクロールで飛ぶロケット ===== */

#climber {
    position: fixed;
    top: 0;
    right: 2px;
    bottom: 0;
    width: 96px;
    z-index: 40;
    pointer-events: none;
    clip-path: inset(72px 0 76px 0);
}

.climber-train {
    position: absolute;
    top: 60px;
    right: 0;
    width: 94px;
    filter: drop-shadow(0 6px 12px rgba(90, 60, 120, 0.24));
}

.climber-train svg {
    display: block;
    width: 100%;
    overflow: visible;
    transform: rotate(180deg);
    transition: transform 0.5s ease;
}

#climber.is-up .climber-train svg {
    transform: rotate(0deg);
}

.ct-body {
    fill: url(#ctShade);
    stroke: #ccd2d9;
    stroke-width: 0.9;
    stroke-linejoin: round;
}

.ct-wing,
.ct-tailwing {
    fill: url(#ctWing);
    stroke: #d3d8de;
    stroke-width: 0.7;
    stroke-linejoin: round;
}

.ct-portholes circle {
    fill: #3d4a63;
}

.ct-cockpit {
    fill: url(#ctGlass);
}

.ct-cockpit-bar {
    fill: none;
    stroke: #ffffff;
    stroke-width: 1.2;
    stroke-linecap: round;
}

.ct-nose-dome,
.ct-porthole,
.ct-stripe,
.ct-window,
.ct-window-ring {
    display: none;
}

.ct-engine {
    fill: #e8ebef;
    stroke: #ccd2d9;
    stroke-width: 0.8;
}

.ct-fin {
    fill: #dfe3e9;
    stroke: #ccd2d9;
    stroke-width: 0.7;
}

.ct-flame {
    fill: #ffb057;
    opacity: 0.85;
}

.ct-highlight {
    fill: none;
    stroke: rgba(255, 255, 255, 0.85);
    stroke-width: 1.6;
    stroke-linecap: round;
}

.ct-flame {
    fill: url(#ctFlame);
}

.ct-flame-core {
    fill: #fff2c4;
}

.ct-flame-group {
    transform-origin: 23px 96px;
    opacity: 0.35;
    transform: scaleY(0.5);
    transition: opacity 0.25s ease, transform 0.25s ease;
}

#climber.is-burning .ct-flame-group {
    opacity: 1;
    animation: flameFlicker 0.22s steps(2, end) infinite;
}

@keyframes flameFlicker {
    0% { transform: scaleY(1) scaleX(1); }
    50% { transform: scaleY(0.82) scaleX(1.08); }
    100% { transform: scaleY(1) scaleX(1); }
}

@media (prefers-reduced-motion: reduce) {

    .climber-train svg {
        transition: none;
    }

    #climber.is-burning .ct-flame-group {
        animation: none;
    }
}

/* ===== 画像モーダル ===== */

#image-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(60, 40, 70, 0.82);
    z-index: 3000;
    align-items: center;
    justify-content: center;
    cursor: zoom-out;
}

#image-modal img {
    max-width: 90%;
    max-height: 90%;
    border-radius: 12px;
    background: #ffffff;
}

#image-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 40px;
    line-height: 1;
    cursor: pointer;
}

/* ===== 同意モーダル ===== */

#fixed-consent-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(60, 40, 70, 0.6);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.consent-inner {
    background: #ffffff;
    border-radius: 22px;
    padding: 26px;
    width: 100%;
    max-width: 360px;
    max-height: 90vh;
    overflow-y: auto;
    text-align: center;
}

.consent-title {
    margin: 0 0 16px;
    font-family: "Zen Maru Gothic", sans-serif;
    font-weight: 700;
    font-size: 16px;
}

.consent-body {
    background: #fdf4fa;
    border: 1px solid #f3ddef;
    border-radius: 16px;
    padding: 16px;
    margin-bottom: 18px;
    text-align: left;
}

.consent-body p {
    margin: 0 0 8px;
    font-size: 13px;
    line-height: 1.7;
    color: #5f5478;
}

.consent-images {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 12px 0;
}

.consent-images img {
    width: 110px;
    border-radius: 10px;
    border: 1px solid #f0ddf1;
    cursor: zoom-in;
}

.consent-images div div {
    font-size: 12px;
    margin-top: 5px;
    text-align: center;
    color: #8579a0;
}

.consent-check {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: #faf4fc;
    border-radius: 14px;
    padding: 14px;
    margin-bottom: 18px;
    font-size: 13px;
}

.consent-check input {
    width: 18px;
    height: 18px;
    accent-color: #e07cb4;
    cursor: pointer;
}

#modal-agree-btn {
    width: 100%;
    padding: 13px 20px;
    border: none;
    border-radius: 999px;
    background: #d6cfe0;
    color: #ffffff;
    font-family: inherit;
    font-weight: 700;
    font-size: 15px;
    cursor: not-allowed;
    transition: 0.2s;
}

#modal-close-btn {
    margin-top: 14px;
    border: none;
    background: none;
    color: #a99cbd;
    font-family: inherit;
    font-size: 12px;
    cursor: pointer;
}

/* ===== 初回ポップアップ ===== */

#popupDialog {
    border: none;
    padding: 0;
    background: transparent;
    width: 90%;
    max-width: 420px;
    max-height: 90vh;
    overflow-y: auto;
    margin: auto;
}

#popupDialog::backdrop {
    background: rgba(60, 40, 70, 0.65);
}

.dialog-inner {
    background: #ffffff;
    border-radius: 22px;
    padding: 34px 26px;
    text-align: center;
    position: relative;
}

.dialog-inner .badge {
    display: inline-block;
    padding: 5px 14px;
    border-radius: 999px;
    background: #fceaf4;
    color: #d4589a;
    font-size: 12px;
    font-weight: 700;
    margin-bottom: 14px;
}

#popupDialog h2 {
    margin: 0 0 18px;
    font-size: 19px;
    line-height: 1.6;
}

#popupDialog p {
    margin: 0 0 12px;
    font-size: 14px;
    color: #5f5478;
    line-height: 1.9;
    text-align: left;
}

#closePopup {
    position: absolute;
    top: 10px;
    right: 14px;
    border: none;
    background: none;
    font-size: 26px;
    color: #a99cbd;
    cursor: pointer;
}

/* ===== レスポンシブ ===== */

@media (max-width: 900px) {

    #climber {
        clip-path: inset(96px 0 70px 0);
    }

    .header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 10px 0 0;
    }

    .site-logo {
        text-align: center;
        padding: 0 16px;
    }
}

@media (max-width: 860px) {

    #climber {
        right: 0;
        width: 58px;
        clip-path: inset(96px 0 70px 0);
    }

    .climber-train {
        right: 0;
        width: 56px;
    }
}

/* ===== スマホ ===== */

@media (max-width: 768px) {

    body {
        padding-bottom: 78px;
        background-attachment: scroll;
        background-size: cover;
        line-height: 1.85;
    }

    /* ヘッダー：ロゴ行＋横スクロールのタブ */

    .header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        padding: 10px 0 0;
    }

    .site-logo {
        font-size: 15px;
        text-align: center;
        padding: 0 16px;
    }

    .nav ul {
        justify-content: flex-start;
        gap: 6px;
        padding: 0 16px 8px;
        scrollbar-width: none;
    }

    .nav ul::-webkit-scrollbar {
        display: none;
    }

    .nav ul li a {
        padding: 7px 14px;
        background: rgba(255, 255, 255, 0.7);
        border: 1px solid #f0ddf1;
    }

    /* 余白を全体に圧縮 */

    .inner {
        padding: 44px 62px 44px 16px;
    }

    h2 {
        margin-bottom: 24px;
        scroll-margin-top: 96px;
    }

    h3 {
        font-size: 17px;
        margin: 32px 0 14px;
    }

    .section-note {
        margin: -18px 0 24px;
    }

    /* ヒーロー：画像を上、見出しを下に */

    .hero {
        padding: 20px 62px 32px 16px;
    }

    .hero-inner {
        display: flex;
        flex-direction: column;
        gap: 20px;
    }

    .hero-image {
        order: -1;
    }

    .hero-image img {
        aspect-ratio: 1 / 1;
        border-radius: 18px;
        border-width: 2px;
    }

    .hero h1 {
        margin-bottom: 14px;
    }

    .hero-sub {
        margin-bottom: 20px;
        font-size: 14px;
    }

    .hero-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
    }

    .hero-actions .button {
        text-align: center;
        padding: 16px 20px;
    }

    .hero-slider {
        margin-top: 24px;
    }

    .slides img {
        height: 130px;
    }

    /* 各パーツ */

    .voice-list li {
        padding: 16px 18px;
        font-size: 14px;
    }

    .calendar-slider {
        gap: 8px;
        padding: 14px;
        border-radius: 18px;
    }

    .calendar-btn {
        width: 44px;
        height: 44px;
    }

    .workshop {
        grid-template-columns: 1fr 1fr;
        gap: 12px;
    }

    .parking {
        padding: 20px 18px;
    }

    .parking p {
        font-size: 14px;
    }

    .cards,
    .faq {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .card img {
        aspect-ratio: 16 / 10;
    }

    .card p {
        padding: 16px 18px;
        font-size: 14px;
    }

    .img-wrap img {
        height: 150px;
    }

    .faq-body {
        padding: 18px;
    }

    .faq-card:hover {
        transform: none;
        box-shadow: none;
    }

    .price-card {
        padding: 22px;
    }

    .price-value {
        font-size: 34px;
    }

    .map-wrap iframe {
        height: 300px;
    }

    .egg-box {
        margin: 0 16px;
        padding: 26px 20px;
    }

    .egg-container {
        width: 160px;
        height: 160px;
    }

    #egg-image {
        max-width: 124px;
    }

    /* 予約 */

    .cta-box {
        margin-top: 44px;
        padding: 44px 62px 44px 16px;
    }

    .reserve-card {
        padding: 22px 18px;
        border-radius: 20px;
    }

    .reserve-info {
        padding-left: 20px;
    }

    .reserve-info li {
        font-size: 14px;
    }

    .reserve-image-area {
        gap: 8px;
        padding: 14px;
    }

    .reserve-image-box {
        max-width: 120px;
    }

    .reserve-note {
        font-size: 13px;
    }

    .agreement-area {
        font-size: 13px;
        text-align: left;
    }

    /* フッター */

    .footer-container {
        padding: 36px 62px 36px 16px;
        gap: 28px;
    }

    .footer-line {
        gap: 12px;
    }

    /* 固定バー：親指の届く範囲に */

    .fixed-bar {
        gap: 8px;
        padding: 8px 62px 8px 12px;
        padding-bottom: calc(8px + env(safe-area-inset-bottom));
    }

    .up-button {
        width: 46px;
        height: 46px;
    }

    .bar-line,
    .bar-reserve {
        font-size: 14px;
        padding: 14px 12px;
        max-width: none;
    }

    /* モーダル */

    .consent-inner,
    .dialog-inner {
        padding: 22px 18px;
    }
}

@media (max-width: 400px) {

    /* 横スクロールをやめて2行に折り返す（切れ防止） */

    .nav ul {
        flex-wrap: wrap;
        justify-content: center;
        overflow-x: visible;
        gap: 5px;
        padding: 0 12px 10px;
    }

    .nav ul li a {
        font-size: 12px;
        padding: 6px 10px;
    }

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

    .reserve-image-area {
        gap: 6px;
    }

    .reserve-arrow {
        font-size: 18px;
    }

    .bar-line {
        display: none;
    }

    .bar-reserve {
        flex: 1;
    }
}
