:root {
    --primary-orange: #FF8C00;
    --primary-green: #9ACD32;
    --text-color: #333333;
    --bg-warm: #FFFBF0;
    --bg-white: #FFFFFF;
    --font-main: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

* {
    box-sizing: border-box;
}

html,
body {
    min-height: 100vh;
    background-color: var(--bg-warm);
}

body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    /* Changed from 20px to 0 for full-width layout */
    color: var(--text-color);
    background-color: var(--bg-warm);
    line-height: 1.6;
    overflow-x: hidden;
    /* Prevent horizontal scroll from animations */

    /* Sticky Footer Setup Removed for Layout Stability */
    /* display: flex; */
    /* flex-direction: column; */

    /* Enable z-index stacking over HERO */
    position: relative;
    z-index: 0;
}

main {
    /* flex: 1; */
    background-color: var(--bg-warm);
    position: relative;
    z-index: 1;
}



a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s;
}

/* Layout Util */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Scroll Animations - for sections below HERO */
/* Exclude HERO content as it uses parent fade-in */
.animate-on-scroll:not(.hero .animate-on-scroll) {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.is-visible:not(.hero .animate-on-scroll) {
    opacity: 1;
    transform: translateY(0);
}

/* HERO content inherits from parent HERO fade-in */
.hero .animate-on-scroll {
    opacity: 1;
    transform: none;
}

/* Header */
.site-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 40px;

    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    /* Soft warm beige gradient for natural look */
    background: linear-gradient(to bottom, rgba(255, 251, 240, 0.95) 0%, rgba(255, 251, 240, 0) 100%);
    backdrop-filter: blur(8px);
    box-shadow: none;
    transition: all 0.4s ease;

    /* Fade-in animation */
    opacity: 0;
    animation: fadeInHeader 2s ease-out forwards;
    animation-delay: 0.2s;
}

@keyframes fadeInHeader {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Navigation Links */
.site-header nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}

.site-header nav a {
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    color: #555;
    transition: all 0.3s ease;
    position: relative;
    padding-bottom: 4px;
}

.site-header nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--primary-green);
    transition: width 0.3s ease;
}

.site-header nav a:hover {
    color: var(--primary-green);
}

.site-header nav a:hover::after {
    width: 100%;
}

/* Scrolled State (White Background) */
.site-header.scrolled {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(5px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    padding: 8px 40px;
}

.site-header.scrolled .logo {
    color: var(--primary-orange);
    text-shadow: none;
}

.site-header.scrolled nav a {
    color: var(--text-color);
    text-shadow: none;
}

.site-header.scrolled nav a:hover {
    color: var(--primary-orange);
}

.logo {
    font-weight: 900;
    font-size: 1.3rem;
    color: #7CB342;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
}

.site-header nav ul {
    display: flex;
    gap: 30px;
    list-style: none;
    align-items: center;
}



/* Hero Section */
.hero {
    height: calc(100vh + 5vw);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: -1;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);

    /* Fade-in animation */
    opacity: 0;
    animation: fadeInHero 2s ease-out forwards;
    animation-delay: 0.3s;
}

@keyframes fadeInHero {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation: zoomIn 20s infinite alternate;
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
}

.hero h2 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow:
        0 4px 12px rgba(0, 0, 0, 0.3),
        1px 1px 0 rgba(0, 0, 0, 0.15),
        2px 2px 0 rgba(0, 0, 0, 0.08),
        3px 3px 2px rgba(0, 0, 0, 0.05);
}

.hero .highlight {
    color: #FF8C00;
    display: inline-block;
    text-shadow:
        1px 1px 0 rgba(0, 0, 0, 0.2),
        2px 2px 0 rgba(0, 0, 0, 0.12),
        3px 3px 2px rgba(0, 0, 0, 0.08);
}

.hero p {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.95);
    letter-spacing: 0.1em;
    text-shadow:
        0 2px 8px rgba(0, 0, 0, 0.2),
        1px 1px 0 rgba(0, 0, 0, 0.12),
        2px 2px 0 rgba(0, 0, 0, 0.06),
        3px 3px 2px rgba(0, 0, 0, 0.04);
}

.cta-button {
    background: linear-gradient(135deg, #9ACD32 0%, #7CB342 100%);
    color: white;
    padding: 14px 36px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    display: inline-block;
    box-shadow: 0 6px 20px rgba(154, 205, 50, 0.35);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(154, 205, 50, 0.5);
    background: linear-gradient(135deg, #A8D653 0%, #8BC34A 100%);
}

/* Sections General */
section {
    padding: 100px 0;
    position: relative;
}

h3 {
    font-size: clamp(2rem, 4vw + 1rem, 3rem);
    color: var(--primary-orange);
    margin-bottom: 40px;
    text-align: center;
    position: relative;
}

h3::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--primary-green);
    margin: 20px auto 0;
}

/* Diagonal & Waves */
.section-diagonal {
    background: #F1F8E9;
    position: relative;
    padding: 40px 0 120px 0;
    margin-top: calc(100vh + 5vw);
    z-index: 5;
}

.section-diagonal::before {
    content: '';
    position: absolute;
    top: -5vw;
    left: 0;
    width: 100%;
    height: 5vw;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 100' preserveAspectRatio='none'%3E%3Cpath d='M0,100 L0,50 Q40,35 80,50 T160,50 T240,50 T320,50 T400,50 T480,50 T560,50 T640,50 T720,50 T800,50 T880,50 T960,50 T1040,50 T1120,50 T1200,50 L1200,100 Z' fill='%23F1F8E9'/%3E%3C/svg%3E");
    background-size: cover;
    background-repeat: no-repeat;
    z-index: 1;
}

.section-diagonal::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5vw;
    background: var(--bg-warm);
    /* Right rising diagonal / */
    clip-path: polygon(0 100%, 100% 0, 100% 100%);
    z-index: 1;
}

.section-diagonal-reverse {
    background: var(--bg-warm);
    position: relative;
    padding: 150px 0;
    margin-top: -5vw;
    /* Allow overlap with previous section if needed, or remove */
    z-index: 4;
}

/* Reverse: Slope / instead of \ */
.section-diagonal-reverse::before {
    content: '';
    position: absolute;
    top: -5vw;
    left: 0;
    width: 100%;
    height: 5.1vw;
    background: var(--bg-warm);
    /* Slope / : High Right, Low Left */
    /* Polygon: Top-Right(100,0), Bottom-Left(0,100), Bottom-Right(100,100) -> Triangle at Bottom-Right */
    /* Wait, I want White shape on Top-Right? */
    /* Before connects to Previous layout (White usually). */
    /* So I want a Warm shape overlapping the previous section */
    /* Let's just use clip-path on the Top Edge of this Warm section to be / */
    /* Triangle Top-Right */
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    z-index: 1;
}

/* For reverse, we might not need bottom cut if next section is same color. */
/* But if we do: */
.section-diagonal-reverse::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 5.1vw;
    background: white;
    /* If next section is white/image */
    /* If next is Gallery (White? No gallery has no bg set, default warm or white?) */
    /* Gallery section bg not set, likely warm? */
    /* Let's check gallery css later. Assuming White for now to alternate. */
    clip-path: polygon(100% 0, 0 100%, 100% 100%);
    z-index: 1;
    display: none;
    /* Disable unless needed to avoid weird lines */
}

.section-wave {
    background: var(--bg-warm);
    position: relative;
    padding-top: 100px;
}

/* About */
.flex-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.text-content {
    flex: 1;
}

.text-content p {
    font-size: 1.1rem;
    line-height: 1.9;
}

.image-content {
    flex: 1;
}

.image-content img {
    max-width: 100%;
    border-radius: 30px 0 30px 0;
    /* Avant-garde shape */
    box-shadow: 20px 20px 0 var(--primary-green);
}

.lead-text {
    font-size: clamp(1.2rem, 2vw + 1rem, 1.5rem);
    font-weight: bold;
    color: var(--primary-orange);
    margin-bottom: 20px;
}

/* Features - No Card Design */
.feature-list {
    display: flex;
    flex-direction: column;
    gap: 80px;
    padding: 40px 0;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 30px;
    position: relative;
}

.step-num {
    font-size: clamp(3rem, 10vw, 6rem);
    font-weight: 900;
    color: rgba(154, 205, 50, 0.3);
    /* Translucent Green */
    line-height: 0.8;
    flex-shrink: 0;
}

.feature-text h4 {
    font-size: clamp(1.5rem, 3vw + 1rem, 1.8rem);
    margin: 0 0 15px 0;

    color: var(--text-color);
    border-bottom: 2px solid var(--primary-orange);
    display: inline-block;
    padding-bottom: 5px;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.gallery-item {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.4s;
}

.gallery-item:hover {
    transform: scale(1.05);
    z-index: 2;
}

.gallery-item.big {
    grid-column: span 2;
}

/* Footer & Info */
.info {
    background: #F1F8E9;
    color: #333;
    padding: 80px 0;
}

.info h3 {
    color: #333;
}

.info .highlight-green {
    color: var(--primary-orange);
}

.info h3::after {
    background-color: var(--primary-orange);
}

.info .info-logo span {
    color: #333 !important;
}

.info-details {
    text-align: center;
}

.facility-name {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-orange);
}

footer {
    background: #222;
    color: #888;
    text-align: center;
    padding: 20px;
    font-size: 0.8rem;
}

/* Animations */
@keyframes zoomIn {
    0% {
        transform: scale(1);
    }

    100% {
        transform: scale(1.1);
    }
}

/* Message Section */
.message-container {
    text-align: center;
    max-width: 800px;
}

.message-content {
    font-size: 1.2rem;
    line-height: 2;
}

.message-content p {
    text-align: left;
}

.message-content strong {
    color: var(--primary-orange);
    background: linear-gradient(transparent 60%, rgba(255, 140, 0, 0.2) 60%);
}

.quote {
    font-size: 1.5rem;
    font-style: italic;
    color: var(--primary-green);
    margin: 40px 0;
    font-weight: bold;
}

.highlight-green {
    color: var(--primary-green);
}

.feature-text p {
    margin-bottom: 1em;
}

.feature-text strong {
    color: var(--primary-orange);
}

.scroll-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: var(--primary-green);
    color: white;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(50px);
    transition: all 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    z-index: 999;
}


.scroll-top-btn.is-visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* Scroll Animation Helper Classes */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 2.2s ease-out, transform 2.2s ease-out;
}

.animate-on-scroll.is-visible {
    opacity: 1;
    transform: translateY(0);
}


/* Timeline Section */
.daily-flow {
    background: white;
    overflow-x: clip;
}

.timeline {
    position: relative;
    max-width: 1000px;
    margin: 50px auto;
    padding: 20px 0;
    overflow-x: clip;
}

/* Center Line */
.timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: #eee;
    /* Subtle guiding line */
    top: 0;
    bottom: 80px;
    left: 50%;
    margin-left: -2px;
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    background-color: inherit;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item.left {
    left: 0;
    text-align: right;
}

.timeline-item.right {
    left: 50%;
    text-align: left;
}

/* Icons */
.icon-circle {
    position: absolute;
    width: 50px;
    height: 50px;
    right: 0;
    transform: translateX(50%) translateY(-50%);
    background-color: white;
    border: 4px solid;
    top: 35px;
    border-radius: 50%;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
}

/* FontAwesome icon centering adjustments */
.icon-circle i {
    display: block;
    line-height: 1;
}

/* Individual icon position adjustments */
.icon-circle .fa-car {
    transform: translateY(1px);
}

.icon-circle .fa-heart-pulse {
    transform: translateY(2px);
}

.icon-circle .fa-droplet {
    transform: translateY(1px);
}

.icon-circle .fa-music {
    transform: translateX(-2px);
}

.icon-circle .fa-mug-hot {
    transform: translateX(2px);
}

.timeline-item.right .icon-circle {
    left: 0;
    right: auto;
    transform: translateX(-50%) translateY(-50%);
}

.icon-circle.orange {
    border-color: var(--primary-orange);
    color: var(--primary-orange);
}

.icon-circle.green {
    border-color: var(--primary-green);
    color: var(--primary-green);
}

/* Time */
.time {
    font-weight: 900;
    color: var(--primary-orange);
    font-size: 1.5rem;
    position: absolute;
    top: 35px;
    white-space: nowrap;
    transform: translateY(-50%);
}

.timeline-item.left .time {
    left: 100%;
    transform: translateX(40px) translateY(-50%);
    /* Start to the right of the center line */
    right: auto;
    text-align: left;
}

.timeline-item.right .time {
    right: 100%;
    transform: translateX(-40px) translateY(-50%);
    /* End to the left of the center line */
    left: auto;
    text-align: right;
}

/* Content */
.timeline-item .content {
    /* No Card design - just text */
    padding: 0 20px;
    padding-top: 10px;
}

.timeline-item h4 {
    font-size: 1.5rem;
    color: var(--primary-orange);
    margin: 0 0 10px;
}

.timeline-item p {
    margin: 0;
}

.note {
    text-align: left;
    max-width: 300px;
    margin: 50px auto 0;
    padding: 15px 20px;
    background: white;
    border-radius: 8px;
    color: #666;
    font-size: 0.9rem;
    z-index: 2;
    position: relative;
}

/* Access Section */
.access-container {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

.access-info {
    flex: 4;
    background: white;
    color: var(--text-color);
    /* Fix: Explicitly set dark text color to override section white */
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.access-map {
    flex: 6;
    min-height: 400px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    border: 5px solid white;
}

.access-map iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.access-dl {
    margin: 0;
}

.access-dl dt {
    font-weight: bold;
    color: var(--primary-green);
    margin-top: 20px;
    border-left: 4px solid var(--primary-orange);
    padding-left: 10px;
}

.access-dl dt:first-child {
    margin-top: 0;
}

.access-dl dd {
    margin: 10px 0 0 0;
    line-height: 1.8;
}

.google-map-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 30px;
    max-width: 100%;
    box-sizing: border-box;
    background: white;
    color: var(--primary-orange);
    border: 2px solid var(--primary-orange);
    border-radius: 50px;
    font-weight: bold;
    transition: all 0.3s;
    text-align: center;
}

.google-map-btn:hover {
    background: var(--primary-orange);
    color: white;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #FFF8E1 0%, #FFF 100%);
    padding: 80px 0;
}

.contact-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 30px;
    box-shadow: 0 20px 50px rgba(255, 140, 0, 0.1);
    text-align: center;
}

.phone-cta-box {
    background: #FFFBF0;
    padding: 30px;
    border-radius: 20px;
    margin-bottom: 40px;
    border: 2px dashed var(--primary-orange);
}

.phone-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--primary-orange);
    margin: 10px 0;
    font-family: "Arial", sans-serif;
    letter-spacing: 2px;
}

.reception-time {
    font-size: 0.9rem;
    color: #666;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
    color: var(--text-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #f9f9f9;
    font-size: 1rem;
    transition: all 0.3s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    background: white;
    box-shadow: 0 0 0 3px rgba(255, 140, 0, 0.1);
}

.submit-btn {
    background: var(--primary-green);
    color: white;
    border: none;
    padding: 18px;
    font-size: 1.2rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    margin-top: 10px;
    box-shadow: 0 5px 15px rgba(154, 205, 50, 0.4);
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(154, 205, 50, 0.6);
    background: #8BC34A;
}

/* Footer */
footer {
    background-color: #333;
    color: #999;
    padding: 20px 0;
    text-align: center;
    font-size: 0.85rem;
    position: relative;
    z-index: 1;
}

footer a:hover {
    color: #fff;
}

/* Mobile Timeline */
@media (max-width: 768px) {
    .timeline::after {
        left: 31px;
    }

    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
        text-align: left;
        /* Align all left */
    }

    .timeline-item.left,
    .timeline-item.right {
        left: 0;
        text-align: left;
    }

    .icon-circle {
        left: 6px;
        right: auto;
        top: 10px;
        transform: none;
    }

    .timeline-item.right .icon-circle {
        left: 6px;
        transform: none;
    }

    .time {
        position: relative;
        text-align: left !important;
        left: 0 !important;
        right: auto !important;
        top: 0;
        margin-bottom: 5px;
        font-size: 1.2rem;
        transform: none;
    }

    .timeline-item.left .time,
    .timeline-item.right .time {
        transform: none;
    }

    .timeline-item .content {
        padding-top: 0;
    }
}

/* =============================================
   Base Mobile Styles (before media queries)
   ============================================= */

/* Minimum width guarantee */
html {
    min-width: 240px;
}

/* Japanese text wrapping rules */
body {
    word-break: keep-all;
    overflow-wrap: break-word;
}

p,
li,
dd,
.feature-text {
    word-break: normal;
    overflow-wrap: anywhere;
    line-height: 1.8;
}

/* Mobile Navigation - Hamburger Menu Base */
.mobile-menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: none;
    background: transparent;
    cursor: pointer;
    position: relative;
    z-index: 1001;
}

.mobile-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--primary-orange);
    margin: 5px auto;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Design */
@media (max-width: 768px) {
    .site-header {
        background: rgba(255, 255, 255, 0.95);
        padding: 10px 20px;
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        flex-wrap: nowrap;
    }

    /* Override desktop scroll padding */
    .site-header.scrolled {
        padding: 10px 20px;
    }

    .site-header .logo {
        color: var(--primary-orange);
        text-shadow: none;
        flex-shrink: 0;
    }

    .mobile-menu-toggle {
        display: block;
        order: 2;
    }

    .site-header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    .site-header nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        margin: 0;
        padding: 10px 0;
    }

    .site-header nav ul.active {
        display: flex;
    }

    .site-header nav ul li {
        width: 100%;
        text-align: center;
    }

    .site-header nav a {
        display: block;
        padding: 12px 20px;
        color: var(--text-color);
        text-shadow: none;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .site-header nav ul li:last-child a {
        border-bottom: none;
    }

    /* Hero title font size handled by clamp() */


    .flex-container {
        flex-direction: column;
        gap: 30px;
    }

    .image-content img {
        border-radius: 20px;
        box-shadow: 10px 10px 0 var(--primary-green);
    }

    .section-diagonal,
    .section-diagonal-reverse {
        clip-path: none;
        /* Remove complex clip-paths on mobile for better fit */
        padding: 80px 0;
        /* Keep parallax offset for mobile */
    }

    .section-diagonal {
        margin-top: calc(100vh + 5vw);
    }

    .feature-item {
        flex-direction: column;
        gap: 10px;
        text-align: left;
    }

    .feature-item .step-num {
        margin: 0;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .gallery-item.big {
        grid-column: span 1;
    }

    /* Mobile Access & Contact */
    .access-container {
        flex-direction: column;
    }

    .access-map {
        min-height: 350px;
        height: 350px;
    }

    .access-map iframe {
        height: 350px;
    }

    .contact-wrapper {
        padding: 30px 20px;
    }

    .phone-number {
        font-size: 1.8rem;
    }
}

/* =============================================
   Enhanced Mobile Responsive (max-width: 480px)
   ============================================= */

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {

    /* Header & Navigation */
    .site-header {
        padding: 10px 15px;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
    }

    /* Override desktop/tablet scroll padding */
    .site-header.scrolled {
        padding: 10px 15px;
    }

    .site-header .logo {
        font-size: 1.1rem;
        flex-shrink: 0;
    }

    .mobile-menu-toggle {
        order: 2;
        flex-shrink: 0;
    }

    .site-header nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .site-header nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        gap: 0;
        background: rgba(255, 255, 255, 0.98);
        padding: 10px 0;
        margin-top: 10px;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    }

    .site-header nav ul.active {
        display: flex;
    }

    .site-header nav ul li {
        width: 100%;
        text-align: center;
    }

    .site-header nav a {
        display: block;
        padding: 12px 20px;
        font-size: 0.95rem;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    .site-header nav ul li:last-child a {
        border-bottom: none;
    }

    .mobile-menu-toggle {
        display: block;
    }

    /* Hero Section */
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 80px;
    }

    .hero-content h1 {
        font-size: clamp(1.5rem, 8vw, 2.5rem);
        line-height: 1.4;
    }

    .hero-content p {
        font-size: clamp(0.9rem, 4vw, 1.2rem);
    }

    .cta-button {
        padding: 12px 28px;
        font-size: 1rem;
    }

    /* Section Headers */
    h3 {
        font-size: clamp(1.4rem, 6vw, 2rem);
        margin-bottom: 25px;
    }

    section {
        padding: 60px 0;
    }

    /* Feature Items */
    .step-num {
        font-size: clamp(2rem, 12vw, 4rem);
    }

    .feature-text h4 {
        font-size: clamp(1.1rem, 4.5vw, 1.5rem);
        line-height: 1.5;
    }

    .feature-text p {
        font-size: 0.95rem;
    }

    .feature-list {
        gap: 50px;
    }

    /* Lead Text */
    .lead-text {
        font-size: clamp(1rem, 4vw, 1.3rem);
    }

    /* Timeline adjustments */
    .timeline-item h4 {
        font-size: 1.2rem;
    }

    .timeline-item p {
        font-size: 0.9rem;
    }

    .time {
        font-size: 1rem;
    }

    /* Message Section */
    .message-content {
        font-size: 1rem;
        line-height: 1.9;
    }

    .quote {
        font-size: 1.2rem;
    }

    /* Access Section */
    .access-dl dt {
        font-size: 0.9rem;
    }

    .access-dl dd {
        font-size: 0.95rem;
    }

    .google-map-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }

    /* Contact Section */
    .phone-number {
        font-size: clamp(1.4rem, 6vw, 1.8rem);
    }

    .phone-cta-box {
        padding: 20px 15px;
    }

    .form-group input,
    .form-group textarea {
        padding: 12px;
        font-size: 16px;
        /* Prevent iOS zoom */
    }

    .submit-btn {
        padding: 14px;
        font-size: 1rem;
    }

    /* Container padding */
    .container {
        padding: 0 15px;
    }
}

/* Extra Small Mobile (max-width: 320px) */
@media (max-width: 320px) {
    .site-header .logo {
        font-size: 1rem;
    }

    .hero-content h1 {
        font-size: 1.4rem;
    }

    h3 {
        font-size: 1.3rem;
    }

    .step-num {
        font-size: 2rem;
    }

    .feature-text h4 {
        font-size: 1rem;
    }

    .phone-number {
        font-size: 1.3rem;
        letter-spacing: 0;
    }

    .cta-button,
    .google-map-btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
}

/* Instagram Banner */
.instagram-banner {
    padding: 40px 20px;
    text-align: center;
    background: linear-gradient(135deg, #fff5f5 0%, #ffe8ec 100%);
}

.instagram-banner a {
    display: inline-block;
    max-width: 800px;
    width: 100%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.instagram-banner a:hover {
    transform: translateY(-4px);
}

.instagram-banner img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


/* Hero H1 (Main Catch) - Added for proper styling */
.hero h1 {
    font-size: clamp(2.8rem, 6vw, 4.5rem);
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 700;
    text-shadow:
        0 4px 12px rgba(0, 0, 0, 0.3),
        1px 1px 0 rgba(0, 0, 0, 0.15),
        2px 2px 0 rgba(0, 0, 0, 0.08),
        3px 3px 2px rgba(0, 0, 0, 0.05);
}

/* =========================================
   Overflow Master Fix (Android 表示サイズ対策)
   1) 横はみ出しの根絶
   2) 表示サイズを変えても「幅だけは常に画面ピッタリ」
   ========================================= */

/* min-width保証を無効化（これがあると縮まない局面が出る） */
html {
    min-width: 0 !important;
}

/* 横方向は "スクロールさせず切る" をルートで統一 */
html,
body {
    width: 100%;
    max-width: 100%;
    overflow-x: clip;
    /* hiddenより意図が明確。値はMDN参照 */
}

/* keep-all をやめる：英数字の塊があると一発で横崩れする */
body {
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    /* 長い英数字・URLでも折り返す */
}

/* 画像・SVG・動画・iframeが "勝手に幅を主張" しないように固定 */
/* ただし .icon-circle 内のSVG（FontAwesome）は除外 */
img,
video,
canvas,
iframe {
    max-width: 100%;
}

svg:not(.icon-circle svg):not(.icon-circle *) {
    max-width: 100%;
}

/* Google Map: width属性(600)が残っててもCSSで強制的に100%へ */
.access-map iframe {
    width: 100% !important;
}

/* HERO: fixed自体はOK。左右を確実に0にして幅計算を安定させる */
.hero {
    left: 0;
    right: 0;
    width: auto;
    max-width: 100vw;
    /* 念のため */
}

/* "下が細く見える"の主因になりやすい固定paddingを可変にする */
.container {
    padding-left: clamp(12px, 4vw, 20px);
    padding-right: clamp(12px, 4vw, 20px);
}

/* フレックス/グリッドで文字がデカくなると横に押し出すのを防ぐ */
:where(.flex-container, .feature-item, .access-container, .contact-wrapper, .site-header)>* {
    min-width: 0;
}

/* =============================================
   Recruit Page Styles
   ============================================= */

/* Recruit Hero */
.recruit-hero {
    position: relative;
    height: 70vh;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    color: white;
    text-align: center;
}

.recruit-hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.recruit-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.5);
}

.recruit-hero-content {
    position: relative;
    z-index: 10;
    padding: 20px;
    max-width: 900px;
}

.urgent-badge {
    display: inline-block;
    background: linear-gradient(135deg, #FF6B6B 0%, #FF4757 100%);
    color: white;
    padding: 8px 24px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 1.1rem;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.4);
    animation: pulse 2s infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }
}

.recruit-hero-content h1 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 15px;
    font-weight: 900;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    font-weight: 600;
    margin-bottom: 30px;
}

.hero-highlights {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 15px;
    margin-top: 30px;
}

.highlight-item {
    background: rgba(255, 255, 255, 0.95);
    color: var(--text-color);
    padding: 15px 20px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
}

.highlight-item:hover {
    transform: translateY(-3px);
}

.highlight-item i {
    font-size: 1.5rem;
    color: var(--primary-orange);
}

.highlight-item span {
    font-size: 0.95rem;
    font-weight: 600;
}

.highlight-item strong {
    color: var(--primary-orange);
    font-size: 1.1rem;
}

/* Recruit Message */
.recruit-message {
    padding: 100px 0;
    background: #F1F8E9;
    text-align: center;
}

.recruit-message-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.2rem;
    line-height: 2;
}

.recruit-message-content p {
    margin-bottom: 20px;
}

/* Career Path Section */
.career-path {
    padding: 100px 0;
    background: var(--bg-warm);
}

.career-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.career-option {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.career-option:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.career-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background: linear-gradient(135deg, var(--primary-orange) 0%, #FFB347 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
}

.career-option h4 {
    font-size: 1.5rem;
    color: var(--primary-orange);
    margin-bottom: 15px;
}

.career-option p {
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 15px;
    text-align: left;
}

.career-message {
    text-align: center;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-green);
    margin-top: 50px;
}

.career-message i {
    margin-right: 10px;
}

/* Recruit Requirements Table */
.recruit-table-wrapper {
    max-width: 900px;
    margin: 40px auto;
    overflow-x: auto;
}

.recruit-table {
    width: 100%;
    border-collapse: collapse;
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border-radius: 12px;
    overflow: hidden;
}

.recruit-table th,
.recruit-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
    text-align: left;
    vertical-align: top;
}

.recruit-table th {
    background: var(--bg-warm);
    color: var(--primary-orange);
    font-weight: bold;
    width: 25%;
    min-width: 120px;
    white-space: nowrap;
}

.recruit-table td {
    color: var(--text-color);
    line-height: 1.8;
}

.recruit-table tr:last-child th,
.recruit-table tr:last-child td {
    border-bottom: none;
}

/* Mobile Responsive for Recruit Page */
@media (max-width: 768px) {
    .recruit-hero {
        height: auto;
        min-height: 600px;
        padding: 100px 20px 50px;
    }

    .hero-highlights {
        grid-template-columns: 1fr;
    }

    .highlight-item {
        justify-content: center;
    }

    .career-options {
        grid-template-columns: 1fr;
    }

    .recruit-table th,
    .recruit-table td {
        display: block;
        width: 100%;
    }

    .recruit-table th {
        background: var(--bg-warm);
        padding-bottom: 5px;
    }

    .recruit-table td {
        padding-top: 10px;
        padding-left: 30px;
    }
}

@media (max-width: 480px) {
    .urgent-badge {
        font-size: 0.95rem;
        padding: 6px 18px;
    }

    .recruit-hero-content h1 {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .highlight-item {
        padding: 12px 15px;
    }

    .highlight-item i {
        font-size: 1.2rem;
    }

    .highlight-item span {
        font-size: 0.85rem;
    }

    .career-option {
        padding: 30px 20px;
    }

    .career-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
}