.footer-clouds-img {
    position: absolute;
    top: -60px;
    left: 0;
    width: 100%;
    z-index: 1;
    pointer-events: none;
}

@media (max-width: 900px) {
    .footer-clouds-img {
        top: -40px;
    }
}

@media (max-width: 600px) {
    .footer-clouds-img {
        top: -25px;
    }
}

@media (max-width: 900px) {
    .footer-clouds {
        background-size: 700px 60px;
        height: 60px;
        top: -40px;
    }
}

@media (max-width: 600px) {
    .footer-clouds {
        background-size: 400px 40px;
        height: 40px;
        top: -25px;
    }
}

/* --- Custom Footer for Marimba School --- */
.footer-main-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    max-width: 900px;
    margin: 0 auto 20px auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
    top: -45px
}

.footer-niji-block {
    min-width: 260px;
    flex: 1 1 300px;
    display: flex;
    align-items: center;
}

.footer-niji-img {
    width: 100%;
    max-width: 400px;
    height: auto;
    display: block;
}

.footer-hukidasi-imgblock {
    flex: auto;
    display: flex;
    align-items: flex-end;
}

.footer-hukidasi-imgonly {
    width: 360px;
    max-width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 700px) {
    .footer-main-row {
        flex-direction: column;
        align-items: center;
        padding: 0 10px;
    }

    .footer-niji-block,
    .footer-hukidasi-imgblock {
        width: 100%;
        justify-content: center;
    }

    .footer-hukidasi-imgonly {
        width: 100%;
        margin-bottom: 20px;
    }

    .footer-niji-img {
        max-width: 100%;
    }
}

@import url('https://fonts.googleapis.com/css2?family=Zen+Kaku+Gothic+New:wght@400;500;700&family=Zen+Maru+Gothic:wght@300;400;500;700;900&display=swap');

:root {
    --primary-color: #F8BBD0;
    /* Pastel Pink */
    --secondary-color: #B3E5FC;
    /* Pastel Blue */
    --accent-color: #FFECB3;
    /* Pastel Yellow */
    --text-color: #444;
    --heading-color: #5D4037;
    --white: #ffffff;
    --background-color: #FFF9FA;
    /* Very light pink/white */
    --font-main: 'Zen Maru Gothic', sans-serif;
}



* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
}

a {
    text-decoration: none;
    color: inherit;
    transition: 0.3s;
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Utilities */
.sp-only {
    display: none;
}

@media (max-width: 900px) {
    .sp-only {
        display: block;
    }
}

/* Utilities */
.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

.btn {
    display: inline-block;
    padding: 10px 24px;
    border-radius: 50px;
    font-weight: bold;
    text-align: center;
    cursor: pointer;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: #fff;
    color: var(--primary-color);
}

.btn-nav {
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 8px 16px;
    font-size: 0.9rem;
}

.btn-large {
    font-size: 1.2rem;
    padding: 15px 40px;
}

.section {
    padding: 0;
}

.section>.container {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.section.fade-in-visible>.container {
    opacity: 1;
    transform: translateY(0);
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 2rem;
    color: var(--heading-color);
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 10px auto 0;
}

.section-subtitle {
    color: var(--primary-color);
    font-weight: bold;
    margin-top: 5px;
    letter-spacing: 0.05em;
}

/* Top Info Bar */
.top-info-bar {
    background-color: #6cc4c5;
    color: var(--white);
    font-size: 0.6rem;
    padding: 3px 0;
    text-align: left;
}

/* Header */

.site-header {
    background-color: #fff;
    background-image: url('img/header_bg.png');
    background-size: 930px;
    /* Keep original size */
    background-repeat: no-repeat;
    background-position: center top;
    /* Center horizontally, top aligned or center */
    padding: 10px 0 25px;
    position: relative;
    width: 100%;
    z-index: 100;
}

.header-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 150px;
}

.header-logo-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1.2;
    color: #423933;
    font-family: 'Zen Maru Gothic', sans-serif;
    text-align: center;
}

/* Screen-reader only h1 (header background image has the text) */
.header-title-sr {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* Header Nav Wrapper */
.header-nav-wrapper {
    position: relative;
}

/* Insta Nav Item - PC */
.insta-nav-item {
    position: relative;
}

/* Insta Badge */
.insta-badge {
    position: absolute;
    left: 50%;
    /* Anchor to center */
    margin-left: 350px;
    /* Push to right side of content (approx) */
    bottom: 50px;
    z-index: 1000;
    right: auto;
    /* clear right positioning */
    width: auto;
}

.insta-icon {
    width: 130px;
    height: auto;
}

/* Desktop: show insta.png, hide insta2.png */
.insta-desktop {
    display: block;
}

.insta-mobile {
    display: none;
}

.header-name {
    font-size: 1.4rem;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.header-title {
    font-size: 2.5rem;
    font-weight: bold;
    margin: 5px 0;
}

.header-en {
    font-size: 1rem;
    color: #423933;
    letter-spacing: 0.05em;
    font-family: 'Zen Maru Gothic', sans-serif;
    text-transform: uppercase;
    font-weight: bold;
}

/* Header Line */
.header-line {
    background-color: #fff;
    width: 100%;
    text-align: center;
    line-height: 0;
}

.header-line img {
    max-width: 60%;
    height: auto;
}

/* Main Navigation */
.main-nav {
    background-color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 999;
}

.main-nav ul {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.main-nav a {
    color: #423933;
    font-weight: bold;
    font-size: 1rem;
    font-family: 'Zen Maru Gothic', sans-serif;
    letter-spacing: 0.05em;
    transition: color 0.3s ease;
}

.main-nav a:hover {
    color: #ff7ca6;
}

/* Hide SP-only menu elements on desktop */
.sp-menu-header,
.sp-menu-insta {
    display: none;
}



/* Hero */
.hero {
    height: 500px;
    position: relative;
    width: 100%;
}

/* Hero Slider - Crossfade */
.hero-slider {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center bottom;
}

.hero-slide-1 {
    background-image: url('img/hero1.jpg');
    z-index: 2;
    animation: heroFade 12s ease-in-out infinite;
}

.hero-slide-2 {
    background-image: url('img/hero2.jpg');
    z-index: 1;
}

/* Slide 3 is SP-only (controlled by JS) */
.hero-slide-3 {
    display: none;
}

@keyframes heroFade {

    0%,
    40% {
        opacity: 1;
    }

    50%,
    90% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.hukidasi-container {
    position: absolute;
    bottom: -85px;
    /* User's custom value */
    left: 50%;
    margin-left: -480px;
    /* Position relative to center. Container is ~1000px, so -500px is left edge. */
    width: 350px;
    z-index: 25;
}

.hukidasi-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.1));
}

/* Intro Section with Overlap and Cloud Edge */
.intro-section {
    position: relative;
    z-index: 20;
    margin-top: -30px;
    /* Overlap hero */
    padding: 40px 20px 0px;
    /* Top padding creates space below cloud edge */
    text-align: center;

    /* Background: White center (1000px width), Blue sides */
    background: linear-gradient(to right,
            #e0f7fa 0%,
            #e0f7fa calc(50% - 500px),
            #fff calc(50% - 500px),
            #fff calc(50% + 500px),
            #e0f7fa calc(50% + 500px),
            #e0f7fa 100%);
}

/* Cloud Separator - Top Edge */
.intro-section::before {
    content: '';
    position: absolute;
    top: -78px;
    left: 0;
    width: 100%;
    height: 80px;
    z-index: 20;

    /* Match the background of the section */
    background: linear-gradient(to right,
            #e0f7fa 0%,
            #e0f7fa calc(50% - 500px),
            #fff calc(50% - 500px),
            #fff calc(50% + 500px),
            #e0f7fa calc(50% + 500px),
            #e0f7fa 100%);

    /* Create cloud bumps using interference pattern */
    -webkit-mask-image:
        radial-gradient(circle at 50% 100%, black 69%, transparent 70%),
        radial-gradient(circle at 50% 100%, black 69%, transparent 70%);
    mask-image:
        radial-gradient(circle at 50% 100%, black 69%, transparent 70%),
        radial-gradient(circle at 50% 100%, black 69%, transparent 70%);

    -webkit-mask-size: 100px 65px, 160px 80px;
    mask-size: 100px 65px, 160px 80px;

    -webkit-mask-repeat: repeat-x;
    mask-repeat: repeat-x;

    -webkit-mask-position: 0 bottom, 25px bottom;
    mask-position: 0 bottom, 25px bottom;
}

/* Remove old cloud separator div style if present */
.cloud-separator {
    display: none;
}

/* Reusable Background: White center (1000px width), Blue sides */
.bg-white-blue {
    background: linear-gradient(to right,
            #e0f7fa 0%,
            #e0f7fa calc(50% - 500px),
            #fff calc(50% - 500px),
            #fff calc(50% + 500px),
            #e0f7fa calc(50% + 500px),
            #e0f7fa 100%);
}

.intro-text {
    font-size: 1.1rem;
    line-height: 2.2;
    color: #423933;
    font-weight: 700;
    font-family: 'Zen Maru Gothic', sans-serif;
}

/* About */
.about-section {
    /* reuse the gradient logic */
    background: linear-gradient(to right,
            #e0f7fa 0%,
            #e0f7fa calc(50% - 500px),
            #fff calc(50% - 500px),
            #fff calc(50% + 500px),
            #e0f7fa calc(50% + 500px),
            #e0f7fa 100%);
    text-align: center;
    padding-bottom: 80px;
    position: relative;
    padding-top: 40px;
    /* Space for decoration */
}

.ribbon-title-container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 10;
    margin-bottom: 30px;
}

.ribbon-title {
    width: 600px;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.midashi-img {
    width: 350px;
    max-width: 100%;
    height: auto;
}

/* Decoration Image */
.decoration-img {
    position: absolute;
    top: 55px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    max-width: 90%;
    /* Responsive sizing */
    opacity: 0.9;
    z-index: 1;
    pointer-events: none;
}

/* Specific decoration position for About and Lesson */
.about-section .decoration-img {
    top: -10px;
    /* Adjust as needed */
}



/* Shared Text Styles */
.about-text,
.lesson-text-col {
    position: relative;
    z-index: 5;
    color: #423933;
    font-weight: bold;
}

.about-text {
    max-width: 700px;
    margin: 0 auto;
    font-size: 1.05rem;
    line-height: 1.8;
}

/* Lesson Section */
.lesson-section {
    padding-bottom: 60px;
    position: relative;
}

.lesson-content {
    max-width: 900px;
    margin: 0 auto;
    margin-top: -50px;
    /* Pull up to hide under ribbon */
    position: relative;
    z-index: 1;
    /* Ensure it's below ribbon (z:10) */
}

.lesson-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 0;
    /* Increased margin between blocks */
    min-height: 350px;
    /* Ensure space for background image */
    background-repeat: no-repeat;
    background-size: 550px auto;
    /* Adjust size of background image */
    position: relative;
}

/* Individual Backgrounds */
.lesson-toddler {
    background-image: url('img/02block_img1.png');
    background-position: right center;
    justify-content: flex-start;
    background-size: 400px;
    /* Text on left */
}

.lesson-toddler .lesson-text-col {
    width: 60%;
    /* Limit text width to not cover whole image */
    padding-left: 100px;
    /* Space or overlap adjustment */
    margin-right: -50px;
    /* Pull text towards image for overlap */
    z-index: 5;
}

.lesson-student {
    padding-left: 100px;
    background-image: url('img/02block_img2.png');
    background-position: 135px center;
    justify-content: flex-end;
    background-size: 440px;
    min-height: 270px;
    /* Text on right */
}

.lesson-student .lesson-text-col {
    width: 60%;
    padding-left: 50px;
    z-index: 5;
    /* margin-left: -50px; Overlap logic if needed */
}

.lesson-adult {
    background-image: url('img/02block_img3.png');
    background-position: 350px center;
    justify-content: flex-start;
    background-size: 400px;
    padding: 0 0 0 150px;
    min-height: 240px;
}

.lesson-adult .lesson-text-col {
    width: 60%;
    padding-right: 50px;
    z-index: 5;
}


/* Text Column */
.lesson-text-col {
    text-align: left;
}


.lesson-subtitle {
    font-size: 1.5rem;
    color: var(--primary-color);
    /* Pink color */
    font-weight: bold;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #ff8ba7;
    /* Match image color approx */
}

.lesson-subtitle .icon img {
    width: 40px;
    height: auto;
    vertical-align: middle;
}

.lesson-text-col p {
    line-height: 2;
    font-size: 1rem;
}

.lesson-text-col .note {
    font-size: 0.8rem;
    color: #888;
    display: block;
    margin-top: 10px;
}

@media (max-width: 768px) {
    .lesson-row {
        background-position: top center;
        /* Image on top */
        background-size: 300px auto;
        /* Smaller image */
        flex-direction: column;
        justify-content: flex-end;
        /* Text below */
        padding-top: 300px;
        /* Space for image */
        text-align: center;
        min-height: auto;
        margin-bottom: 60px;
    }

    .lesson-student {
        background-position: top center;
        padding-top: 300px;
        /* Ensure space for image */
    }

    .lesson-row.reverse {
        flex-direction: column;
        /* Force column on mobile */
    }

    .lesson-text-col,
    .lesson-toddler .lesson-text-col,
    .lesson-student .lesson-text-col,
    .lesson-adult .lesson-text-col {
        width: 100%;
        padding: 0;
        margin: 0;
        text-align: center;
    }

    .lesson-subtitle {
        justify-content: center;
    }
}

.about-text h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: var(--primary-color);
}


/* Instructor Section */
.instructor-section {
    padding-bottom: 80px;
    text-align: center;
}

.instructor-container {
    max-width: 800px;
    margin: 0 auto;
}

.profile-header-bg {
    width: 100%;
    max-width: 600px;
    /* Adjust based on image design */
    height: 260px;
    /* Adjust height to fit image aspect ratio */
    margin: 0 auto 10px;
    background-image: url('img/03block_img.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    /* Center text vertically if needed, or adjust */
    justify-content: flex-end;
    /* Text on right? User said image layout */
}

/* Overlay Position - Adjust based on where space is in the image */
.profile-name-overlay {
    position: absolute;
    right: 100px;
    /* Adjust based on image */
    top: 50%;
    transform: translateY(-50%);
    text-align: left;
    background: rgba(255, 255, 255, 0.8);
    /* Optional: semi-transparent bg for readability if needed */
    padding: 20px;
    border-radius: 10px;
}

.instructor-name {
    font-size: 2rem;
    font-weight: bold;
    color: #423933;
    margin-bottom: 5px;
    letter-spacing: 0.1em;
}

.instructor-name-en {
    font-size: 1.2rem;
    font-weight: bold;
    color: #ff8ba7;
    /* Pink */
    font-family: 'Zen Kaku Gothic New', sans-serif;
}

.profile-text {
    text-align: left;
    line-height: 1.8;
    font-size: 1rem;
    font-weight: bold;
    color: #423933;
    max-width: 550px;
    margin: 0 auto;
    padding: 0 20px;
}


@media (max-width: 768px) {
    .profile-header-bg {
        background-image: url('img/03back_image2.png');
        /* Mobile Image */
        background-size: contain;
        /* Contain for mobile too? or cover? Let's assume contain to show whole image */
        height: 500px;
        /* Taller height for mobile if needed */
        max-width: 100%;
        margin-bottom: 20px;
        justify-content: center;
        align-items: flex-end;
        /* Text at bottom? */
    }

    .profile-name-overlay {
        position: relative;
        right: auto;
        top: auto;
        transform: none;
        background: rgba(255, 255, 255, 0.9);
        width: 90%;
        margin-bottom: 20px;
        text-align: center;
    }
}


/* Courses */
/* ... Courses styles hidden/not used? If keeping courses, keep them. */
/* Replacing Courses styles with Gallery styles or adding after? */
/* User replaced Gallery html. Let's add Gallery CSS. */

/* Gallery Section */
.gallery-section {
    padding-bottom: 80px;
    text-align: center;
}

.gallery-block {
    margin-bottom: 0;
}

.gallery-subtitle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #423933;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
}

.gallery-subtitle .icon img {
    width: 30px;
    height: auto;
}

/* Recital Styles */
.recital-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.recital-img {
    width: 48%;
    /* Almost half */
    max-width: 320px;
    height: auto;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* Dividers */
.gallery-divider {
    margin: 40px 0;
}

.divider-img {
    max-width: 45%;
    height: auto;
}

/* Activity Blocks (Visits & TV) */
.activity-bg {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center;
    position: relative;
    /* Fixed height for background image area */
    height: 350px;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* Text on right default */
}

.activity-bg-1 {
    background-image: url('img/04block_3.png');
    height: 400px;
    /* Visits image usually larger/taller? */
}

.activity-bg-2 {
    background-image: url('img/04block_4.png');
    height: 300px;
    /* TV image might be 16:9-ish */
}

.activity-text {
    width: 45%;
    /* Right half */
    padding-right: 50px;
    text-align: left;
    font-weight: bold;
    line-height: 2;
    color: #423933;
    z-index: 5;
    /* transform removed from here to allow individual control */
}

.activity-visits .activity-text {
    transform: translateY(-90px);
    margin-right: 60px;
}

.activity-tv .activity-text {
    transform: translateY(10px);
    padding: 0 0 0 110px;
    font-size: 1.3em;
}

.text-right-tv {
    padding-right: 80px;
    /* Slight adjust for TV block */
}

/* Insta Link */
.insta-link-container {
    margin-top: 70px;
}

.insta-link-img {
    max-width: 750px;
    width: 100%;
    transition: transform 0.3s;
}

.insta-link-img:hover {
    transform: scale(1.05);
}

/* Mobile Responsive Gallery */
@media (max-width: 768px) {
    .recital-img {
        width: 100%;
        /* Stack on mobile */
        margin-bottom: 20px;
    }

    .gallery-subtitle {
        justify-content: center;
    }

    /* Mobile layout: Remove background image and stack content */
    /* User requested different layout for mobile, currently using simple text block */
    .activity-bg {
        background-image: none !important;
        height: auto;
        display: block;
        padding: 20px;
        background-color: transparent;
    }

    .activity-text {
        width: 100%;
        padding: 0;
        text-align: center;
        background: rgba(255, 255, 255, 0.8);
        padding: 20px;
        border-radius: 10px;
        margin-bottom: 20px;
    }
}

.course-body ul {
    margin-top: 15px;
    padding-left: 20px;
    border-top: 1px dashed #ddd;
    padding-top: 15px;
}

.course-body li {
    list-style: disc;
    margin-bottom: 5px;
    color: #666;
}

/* Instructor */
.instructor-profile {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.instructor-image .placeholder-circle {
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    font-size: 1.2rem;
}

.instructor-info {
    max-width: 500px;
}

.instructor-info h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--heading-color);
    border-bottom: 1px solid var(--primary-color);
    padding-bottom: 10px;
    display: inline-block;
}

.en-name {
    font-size: 1rem;
    color: #999;
    margin-left: 10px;
    font-weight: 400;
}

/* Gallery - Placeholders */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    height: 150px;
    background-color: #eee;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #aaa;
    border-radius: 8px;
}


/* Lesson Fees Section */
.fees-section {
    font-weight: bold;
    position: relative;
    padding-bottom: 80px;
    /* Background handled by .bg-white-blue class */
}

.fees-section::before {
    content: "";
    position: absolute;
    top: 15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 650px;
    /* Adjust as needed */
    height: 300px;
    background-image: url('img/05block_1.png');
    background-repeat: no-repeat;
    background-position: top center;
    background-size: contain;
    z-index: 0;
    pointer-events: none;
}

.fees-section .container {
    position: relative;
    z-index: 1;
}

.fees-subtitle {
    text-align: center;
    margin: 5px 0 25px;
}

.fees-grid {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    max-width: 1000px;
    margin: 0 auto;
}

.fee-card {
    background: #fff;
    border: 6px solid #ffbfdf;
    /* Thicker border, new pink */
    border-radius: 20px;
    width: 250px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.fee-header {
    background: #ff97ba;
    /* Darker pink for header */
    color: #fff;
    text-align: center;
    padding: 5px;
}

.fee-header h3 {
    font-size: 1.8rem;
    font-weight: bold;
    margin: 0;
}

.fee-body {
    padding: 15px 0 30px;
    text-align: center;
    color: #423933;
}

.fee-name {
    font-size: 1.5rem;
    font-weight: bold;
    color: #fe6095;
    line-height: 1.2;
    /* Adjusted from 1 for better multi-line handling if needed */
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.flex_nasi {
    display: block;
}

.fee-sub {
    font-size: 1.1rem;
    font-weight: normal;
    display: block;
    /* Ensure it wraps if inside flex, though it's inside h4 usually */
}

.fee-divider {
    border-bottom: 3px dotted #ffe0e9;
    margin: 15px auto;
    width: 80%;
}

.fee-price {
    font-size: 1.5rem;
    line-height: 1.5;
    height: 160px;
    /* Fixed height to align all cards */
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price-big {
    font-size: 1.3rem;
    font-weight: bold;
    color: #423933;
}

.fee-or {
    font-size: 0.8rem;
    display: block;
    margin: 5px 0;
}

.fees-notes {
    margin-top: 40px;
    font-size: 0.85rem;
    color: #666;
    text-align: left;
    line-height: 1.6;
    padding-left: 85px;
}

@media (max-width: 768px) {
    .fees-grid {
        flex-direction: column;
        align-items: center;
        gap: 30px;
        /* Increase gap between cards */
    }

    .fee-card {
        width: 90%;
        max-width: 350px;
        height: auto;
        /* Ensure card height is flexible */
    }

    .fee-name {
        height: auto;
        margin-bottom: 5px;
        padding-bottom: 0;
    }

    .fee-price {
        height: auto;
        margin-top: 10px;
    }

    .fee-body {
        padding: 20px 0;
    }

    .fees-notes {
        padding-left: 0;
        width: 90%;
        max-width: 350px;
        /* Match card width */
        margin: 30px auto 0;
        /* Center block */
        text-align: left;
        /* Keep text left */
    }
}

/* Access Section */
.access-section {
    position: relative;
    padding-bottom: 80px;
    text-align: center;
}

.access-content {
    position: relative;
    z-index: 2;
    font-weight: bold;
    /* Text above tree */
}

.access-address {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #423933;
}

.access-station {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #423933;
}

.access-note {
    font-size: 0.85rem;
    color: #666;
}

/* Tree Decoration */
.access-tree {
    position: absolute;
    top: 40px;
    left: 50%;
    margin-left: 170px;
    /* Center (half of 200px) */
    width: 200px;
    height: auto;
    z-index: 20;
    pointer-events: none;
    opacity: 0.9;
}

/* Mobile Responsive Access */
@media (max-width: 768px) {
    .access-tree {
        position: absolute;
        top: 35px;
        left: 50%;
        margin-left: 80px;
        /* Center (half of 150px) */
        transform: none;
        width: 150px;
        margin-right: 0;
        margin-bottom: 0;
        margin-top: 0;
        /* Reset others */
    }
}

/* Contact Section */
.contact-section {
    padding-bottom: 80px;
    position: relative;
    /* bg-white-blue handles background */
}

.contact-title-container {
    position: relative;
    /* Flower positioning context */
    /*margin-bottom: 30px;*/
}

.contact-flower {
    position: absolute;
    top: 50%;
    left: 20%;
    /* Adjust horizontal position based on screen width logic requested */
    /* Positioning relative to center */
    transform: translate(-100%, -50%) translateX(-220px);
    /* 220px to left of center */
    width: 120px;
    height: auto;
    left: 50%;
    pointer-events: none;
}

.contact-intro {
    text-align: center;
    margin-bottom: 50px;
    line-height: 1.8;
}

/* Form Layout */
.contact-form-layout {
    max-width: 800px;
    margin: 0 auto;
    background: #fff;
    font-weight: bold;
    /* Use transparent or white? Image shows white background? No, it's on bg-white-blue. */
    /* Wait, form fields are on the page directly. The image shows the form inside the section. */
    /* Let's remove background on form container to let gradient show through, or use white card? */
    /* Image shows white background for the whole page (or gradient).
       Inputs have pink background. */
    background: transparent;
}

.form-group {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
    /* Top align for multiline text */
}

.form-label-col {
    width: 250px;
    display: flex;
    align-items: center;
    padding-top: 10px;
    /* Align with input */
    gap: 15px;
}

.form-input-col {
    flex: 1;
}

.badge {
    padding: 5px 15px;
    border-radius: 20px;
    color: #fff;
    font-size: 0.8rem;
    font-weight: bold;
    min-width: 60px;
    text-align: center;
}

.badge-required {
    background: #ff5e89;
    /* Bright pink */
}

.badge-optional {
    background: #bbb;
}

.form-control {
    width: 100%;
    padding: 12px;
    border: none;
    background: #ffe0ef;
    /* Light pink background for inputs as per image */
    border-radius: 5px;
    font-size: 1rem;
    font-family: inherit;
}

.form-control:focus {
    outline: 2px solid #ff8ba7;
    background: #fff;
}

.radio-label {
    display: block;
    margin-bottom: 10px;
    cursor: pointer;
}

.radio-label input {
    margin-right: 10px;
    accent-color: #ff5e89;
}

.form-submit {
    text-align: right;
    /* Right align button */
    margin-top: 15px;
}

.btn-submit {
    background: #ff5e89;
    color: #fff;
    border: none;
    padding: 15px 35px;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 30px;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}

.btn-submit:hover {
    transform: scale(1.05);
    background: #ff4070;
}

/* Mobile Responsive Contact */
@media (max-width: 768px) {
    .form-group {
        flex-direction: column;
    }

    .form-label-col {
        width: 100%;
        margin-bottom: 10px;
        padding-top: 0;
    }

    .contact-flower {
        width: 80px;
        transform: translate(-100%, -50%) translateX(-140px);
    }
}

/* Old footer styles removed */

/* Footer */
.bg-cloud-blue {
    background-color: #f2fafc;
}

.site-footer {
    position: relative;
    /* Space for clouds */
    padding-bottom: 20px;
    /* Separation from previous section */
}

.footer-content-row {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    margin-bottom: 50px;
    flex-wrap: wrap;
}

.footer-logo-img {
    width: 400px;
    max-width: 100%;
    height: auto;
}

.footer-hukidasi-block {
    position: relative;
    width: 300px;
    max-width: 100%;
}

.footer-hukidasi-text {
    position: absolute;
    top: 45%;
    left: 45%;
    /* Right side of bubble usually */
    transform: translate(-50%, -50%) rotate(5deg);
    text-align: center;
    color: #fff;
    width: 200px;
}

.hukidasi-main {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 5px;
    line-height: 1.3;
}

.hukidasi-sub {
    font-size: 0.9rem;
    line-height: 1.4;
}

.copyright {
    text-align: center;
    font-size: 0.9rem;
    position: relative;
    margin-top: -35px;
    color: black;
}

/* Mobile Responsive Footer */
@media (max-width: 768px) {
    .site-footer {
        padding-top: 80px;
    }

    .footer-content-row {
        flex-direction: column;
        gap: 30px;
    }

    .footer-logo-img {
        width: 300px;
    }

    .footer-hukidasi-block {
        width: 280px;
    }
}

/* Mobile Responsive */
@media (max-width: 975px) {
    .hero {
        height: 500px;
    }

    .header-line {
        display: none;
    }

    .hukidasi-container {
        width: 330px;
        left: 50%;
        margin-left: 0;
        /* Reset desktop positioning */
        transform: translateX(-50%);
        bottom: -90px;
    }

    .intro-text {
        font-size: 0.95rem;
        text-align: left;
        /* Easier to read on mobile? or keep center. Keep center for now. */
        text-align: center;
        margin-top: 120px;
    }

    .header-container {
        flex-direction: column;
        gap: 10px;
    }

    /* Conflicting styles removed for hamburger menu
    .main-nav ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 10px;
    }
    */

    .instructor-profile {
        text-align: center;
    }

    .instructor-info h3 {
        display: block;
        margin-bottom: 20px;
    }

    .top-info-bar {
        text-align: center;
    }

    /* Insta Badge - Mobile */
    .insta-desktop {
        display: none;
    }

    .insta-mobile {
        display: block;
    }

    .insta-badge {
        right: 5px;
        bottom: auto;
        top: 70%;
        transform: translateY(-50%);
        left: auto;
        /* Reset desktop positioning */
        margin-left: 0;
        /* Reset desktop positioning */
    }

    .insta-icon {
        width: 60px;
    }
}

/* Hamburger Menu Styles moved to end for specificity */
.hamburger-menu {
    display: none;
    position: fixed;
    top: 30px;
    /* Adjust based on top info bar + spacing */
    right: 5px;
    width: 45px;
    height: 45px;
    background-color: #999;
    /* Gray circle */
    border-radius: 50%;
    z-index: 2000;
    cursor: pointer;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 4px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.hamburger-menu span {
    width: 20px;
    height: 3px;
    background-color: #fff;
    border-radius: 3px;
    transition: 0.3s;
}

/* Mobile Responsive Navigation - Overrides Desktop */
@media (max-width: 900px) {
    .hamburger-menu {
        display: flex;
    }

    /* Change Nav to Overlay - Redesigned Menu */
    .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100vh;
        height: 100dvh;
        background-image: url('img/sp_menu_bg.png');
        background-size: cover;
        background-position: center;
        background-color: #d4eef5;
        z-index: 1500;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.3s ease;
        padding: 0;
        overflow: hidden;
        overscroll-behavior: contain;
        touch-action: none;
    }

    .main-nav.active {
        opacity: 1;
        pointer-events: auto;
    }

    /* SP Menu Header (logo at top) */
    .sp-menu-header {
        display: block;
        width: 100%;
        text-align: center;
        padding: 15px 0 0;
    }

    .sp-menu-logo {
        width: 100%;
        max-width: 80%;
        height: auto;
        margin-top: 30px;
    }

    .main-nav .container {
        /*flex: 1;
        display: flex;
        justify-content: center;
        */
        align-items: center;
        margin: 30px 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .main-nav a {
        font-size: 1.2rem;
        /*text-decoration: underline;
        text-underline-offset: 4px;*/
    }

    /* SP Menu Instagram (bottom) */
    .sp-menu-insta {
        display: block;
        padding: 20px 0 40px;
        text-align: center;
    }

    .sp-menu-insta-img {
        width: 80%;
        height: auto;
    }

    /* Hero Mobile - JS handles 3-image slideshow */
    .hero-slide-1 {
        background-image: url('img/sp_hero.jpg');
        animation: none;
    }

    .hero-slide-2 {
        background-image: url('img/sp_hero2.jpg');
        opacity: 0;
    }

    .hero-slide-3 {
        display: block;
        background-image: url('img/sp_hero3.jpg');
        opacity: 0;
    }

    .hero-slide {
        background-position: center top;
    }

    /* Fix Background Gradient for Mobile (Blue sides) */
    .bg-white-blue,
    .intro-section,
    .about-section {
        background: linear-gradient(to right,
                #e0f7fa 0%,
                #e0f7fa 20px,
                #fff 20px,
                #fff calc(100% - 20px),
                #e0f7fa calc(100% - 20px),
                #e0f7fa 100%) !important;
    }

    /* About Section Image - Static on Mobile */
    .about-section .decoration-img {
        position: static;
        transform: none;
        width: 100%;
        max-width: 300px;
        margin: 20px auto;
        display: block;
    }

    /* --- SP Midashi Individual Adjustments --- */
    /* 01: マリンバとは？ */
    #about .midashi-img {
        width: 90%;
    }

    /* 02: レッスンについて */
    #lessons .midashi-img {
        width: 95%;
        margin-left: 20px;
    }

    /* 03: 講師挨拶・プロフィール */
    #instructor .midashi-img {
        width: 90%;
    }

    /* 04: レッスン料金 */
    #fees .midashi-img {
        width: 90%;
        margin: 0 auto;
        display: block;
    }

    .fees-section::before {
        display: none;
    }

    /* 05: アクセス */
    #access .midashi-img {
        width: 95%;
        margin-left: 10px;
    }

    .access-tree {
        display: none;
    }

    /* 06: お問い合わせ */
    #contact .midashi-img {
        width: 95%;
    }

    .contact-flower {
        display: none;
    }

    /* Cloud separator fix for new gradient if needed, but intro-section uses mask so maybe okay? 
       Actually intro-section::before background matches intro-section. We need to update that too if we want perfect match. 
       Let's stick to the main request first. User asked for text area below hero. */

    .intro-section::before {
        background: linear-gradient(to right,
                #e0f7fa 0%,
                #e0f7fa 20px,
                #fff 20px,
                #fff calc(100% - 20px),
                #e0f7fa calc(100% - 20px),
                #e0f7fa 100%);
    }

    /* Header Adjustments for Mobile */
    .header-logo-group {
        position: relative;
        z-index: 10;
        margin-top: 10px;
    }

    /* Utilities - PC Only */
    .pc-only {
        display: none;
    }

    /* Mobile Instructor Profile */
    .sp-instructor-profile {
        text-align: center;
        margin-bottom: 30px;
    }

    .sp-instructor-img-container {
        position: relative;
        width: 280px;
        margin: 0 auto 20px;
    }

    .sp-inst-main-img {
        width: 100%;
        height: auto;
        display: block;
    }

    .sp-inst-flower {
        position: absolute;
        top: -10px;
        left: -20px;
        width: 80px;
        /* Adjust size */
        height: auto;
        z-index: 10;
    }

    .sp-inst-sparkle {
        position: absolute;
        bottom: 10px;
        right: -20px;
        width: 70px;
        /* Adjust size */
        height: auto;
        z-index: 10;
    }

    .sp-inst-name-block .instructor-name {
        font-size: 1.8rem;
        color: #444;
        margin-bottom: 5px;
    }

    .sp-inst-name-block .instructor-name-en {
        font-size: 1.2rem;
        color: #ff8ba7;
        /* Pink */
        font-weight: bold;
    }

    /* Lesson Section Mobile */
    .lesson-flower-sp {
        position: absolute;
        bottom: -5px;
        left: 50%;
        margin-left: 130px;
        /* Offset from center */
        width: 80px;
        height: auto;
        z-index: 20;
    }

    .lesson-row {
        background-image: url('img/sp_line.png') !important;
        /* Mobile divider */
        background-position: bottom center;
        background-repeat: no-repeat;
        background-size: 80% auto;
        /* Hide desktop bg */
        padding: 20px 0 50px 0;
        /* Reset padding completely */
        min-height: auto;
        border-bottom: none;
        margin-bottom: 40px;
        flex-direction: column;
        /* Ensure column */
        justify-content: flex-start;
    }

    /* Reset specific lesson paddings */
    .lesson-toddler,
    .lesson-student,
    .lesson-adult,
    .lesson-toddler .lesson-text-col,
    .lesson-student .lesson-text-col,
    .lesson-adult .lesson-text-col {
        padding-left: 0 !important;
        padding-right: 0 !important;
        width: 100%;
        text-align: center;
        margin: 0;
    }

    .lesson-row:last-child {
        border-bottom: none;
        background-image: none !important;
        padding-bottom: 0;
    }

    .sp-lesson-img-container {
        position: relative;
        width: 300px;
        margin: 20px auto;
    }

    .sp-lesson-main-img {
        width: 100%;
        height: auto;
        border-radius: 50%;
        /* Make circle if not already? Image might be cut but user said circle. Safe to add. */
        display: block;
    }

    .sp-lesson-sparkle {
        position: absolute;
        bottom: -20px;
        right: -50px;
        width: 90px;
        height: auto;
    }

    .sp-lesson-sparkle-student {
        right: auto;
        left: -30px;
        bottom: -20px;
        width: 70px;
        /* Adjust size if needed, usually smaller/different */
    }

    .lesson-subtitle {
        /*margin-top: 25px;*/
        justify-content: center;
        font-size: 1.6rem;
        position: relative;
        /* Context for sparkle */
    }

    .sp-lesson-sparkle-adult {
        position: absolute;
        top: 5px;
        /* Adjust based on image */
        left: 50%;
        margin-left: 60px;
        /* Offset from center */
        width: 135px;
        height: auto;
        pointer-events: none;
    }

    .lesson-text-col p {
        text-align: center;
        /* Center text on mobile as per image? */
        /* Image shows centered text */
        text-align: center;
    }

    /* Mobile Gallery Layout */
    .sp-gallery-linear {
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        margin-top: 30px;
    }

    .sp-gallery-line {
        width: 80%;
        max-width: 300px;
        margin: 10px auto 20px;
    }

    .sp-gallery-img {
        width: 100%;
        max-width: 320px;
        height: auto;
        display: block;
    }

    .sp-tv {
        position: relative;
        top: -50px;
    }

    .sp-gallery-text {
        font-size: 1rem;
        font-weight: bold;
        line-height: 1.6;
        margin-bottom: 20px;
        color: #444;
    }

    .sp-insta-link-container {
        margin-top: 0px;
    }

    .site-header {
        background-image: url('img/sp_header_bg.png');
        background-size: contain;
        /* Ensure rainbow fits */
        background-position: center -5px;
        /* Adjust vertical position */
        height: auto;
        min-height: 150px;
        /* Ensure height for rainbow */
        padding: 10px 0 0 0;
    }

    .header-container {
        align-items: center;
        padding-top: 20px;
    }

    .header-title {
        font-size: 2.3rem;
    }

    /* Adjust Hamburger for active state (X shape) */
    .hamburger-menu.active span:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }

    .hamburger-menu.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger-menu.active span:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }

    /* Mobile Contact Form */
    .contact-form-layout {
        padding: 0 20px;
        /* Side margins */
    }

    .form-group {
        flex-direction: column;
        margin-bottom: 5px;
        align-items: flex-start;
        /* Reset align */
    }

    .form-label-col {
        width: 100%;
        margin-bottom: 5px;
        padding-top: 0;
    }

    .form-input-col {
        width: 100%;
    }

    .radio-label {
        display: block;
        margin-bottom: 10px;
    }

    .form-control {
        width: 100%;
        box-sizing: border-box;
        /* Include padding */
    }

    /* Mobile Footer */
    .footer-main-row {
        flex-direction: column-reverse;
        /* Fukidasi Top, Niji Bottom (Reverse of HTML order usually, or if HTML is Fukidasi then Niji, Column Reverse puts Niji Top. Wait.
        HTML: 
        1. footer-niji-block
        2. footer-hukidasi-imgblock
        flex-direction: column-reverse means:
        Bottom: 1. footer-niji-block
        Top: 2. footer-hukidasi-imgblock
        This is correct. Fukidasi on TOP.
        */
        flex-direction: column-reverse;
        align-items: center;
        margin-top: -30px;
        /* Pull up closer to clouds? */
    }

    .footer-hukidasi-imgblock {
        width: 90%;
        max-width: 100%;
    }

    .footer-niji-block {
        width: 100%;
        max-width: 100%;
        margin-top: -10px;
        /* Adjust spacing */
        flex: 1 1 150px;
    }

    .footer-niji-img {
        max-width: 100%;
    }

    .copyright {
        margin-top: -25px;
        /* Reduced from 30px */
        font-size: 1rem;
        position: static;
        /* Remove relative positioning if problematic */
        margin-bottom: -5px;
    }

    .footer-main-row {
        flex-direction: column-reverse;
        align-items: center;
        margin-top: -30px;
        margin-bottom: 0;
        /* Remove bottom margin */
    }
}

/* ========================================
   ハニーポット（不可視フィールド）
   ======================================== */
.hp-field {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

/* ========================================
   モーダルオーバーレイ
   ======================================== */
body.modal-open {
    overflow: hidden;
}

.modal-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(255, 150, 185, 0.3);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 9999;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-overlay.is-open {
    display: flex;
    animation: modalFadeIn 0.25s ease forwards;
}

@keyframes modalFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.modal-card {
    background: #fff;
    border-radius: 20px;
    padding: 36px 40px;
    max-width: 600px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 40px rgba(255, 94, 137, 0.2);
    animation: modalSlideUp 0.3s cubic-bezier(0.34, 1.4, 0.64, 1) forwards;
}

@keyframes modalSlideUp {
    from { transform: translateY(24px); opacity: 0; }
    to   { transform: translateY(0);    opacity: 1; }
}

.modal-title {
    font-family: var(--font-main);
    font-size: 1.25rem;
    color: var(--heading-color);
    text-align: center;
    margin-bottom: 6px;
}

.modal-lead {
    font-size: 0.88rem;
    color: #999;
    text-align: center;
    margin-bottom: 22px;
}

/* 確認データテーブル */
.modal-data {
    border: 1px solid #ffd6e7;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 20px;
}

.modal-data-row {
    display: grid;
    grid-template-columns: 130px 1fr;
    border-bottom: 1px solid #ffd6e7;
}

.modal-data-row:last-child {
    border-bottom: none;
}

.modal-data-row dt {
    background: #fff5f9;
    padding: 10px 14px;
    padding-top: 12px;
    font-size: 0.78rem;
    color: #cc4477;
    font-weight: bold;
    display: flex;
    align-items: flex-start;
}

.modal-data-row dd {
    padding: 10px 14px;
    font-size: 0.88rem;
    color: var(--text-color);
    word-break: break-all;
}

.conf-message-text {
    white-space: pre-wrap;
    word-break: break-word;
}

/* エラーメッセージ */
.modal-error-msg {
    display: none;
    background: #fff0f0;
    border: 1px solid #ffb3c1;
    border-radius: 10px;
    padding: 10px 16px;
    margin-bottom: 16px;
    color: #c0002a;
    font-size: 0.85rem;
    text-align: center;
}

.modal-error-msg.is-visible {
    display: block;
}

/* モーダルアクションボタン */
.modal-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-modal-back {
    background: #fff;
    border: 2px solid #ff5e89;
    color: #ff5e89;
    padding: 12px 28px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    transition: background 0.2s;
}

.btn-modal-back:hover {
    background: #fff0f5;
}

.btn-modal-submit {
    background: linear-gradient(135deg, #ff5e89, #ff85a2);
    color: #fff;
    border: none;
    padding: 12px 32px;
    border-radius: 50px;
    font-family: var(--font-main);
    font-weight: bold;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    box-shadow: 0 4px 14px rgba(255, 94, 137, 0.3);
}

.btn-modal-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 94, 137, 0.4);
}

.btn-modal-submit:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

/* サンクスモーダル */
.modal-card-thanks {
    text-align: center;
    max-width: 440px;
}

.thanks-icon {
    font-size: 2.8rem;
    margin-bottom: 10px;
}

.thanks-text {
    font-size: 0.93rem;
    color: var(--text-color);
    line-height: 1.9;
    margin-bottom: 24px;
}

.thanks-spam-note {
    font-size: 0.8rem;
    color: #aaa;
}

/* reCAPTCHA バッジを非表示（帰属表記をフォーム内に記載することで規約準拠） */
.grecaptcha-badge {
    visibility: hidden !important;
}

/* reCAPTCHA 帰属表記 */
.recaptcha-notice {
    font-size: 0.72rem;
    color: #bbb;
    text-align: center;
    margin-top: 10px;
    line-height: 1.6;
}

.recaptcha-notice a {
    color: #bbb;
    text-decoration: underline;
}

/* モーダルのレスポンシブ */
@media (max-width: 600px) {
    .modal-card {
        padding: 24px 18px;
    }

    .modal-data-row {
        grid-template-columns: 100px 1fr;
    }

    .modal-data-row dt {
        font-size: 0.72rem;
        padding: 8px 10px;
    }

    .modal-data-row dd {
        font-size: 0.82rem;
        padding: 8px 10px;
    }

    .btn-modal-back,
    .btn-modal-submit {
        padding: 11px 22px;
        font-size: 0.88rem;
    }
}