/* ============================================
   親父ハイパフォーマンスサイト v0.1
   STAR★BEARY - Taiwan Crane Game Park
   ============================================ */

/* RESET & BASE
   ============================================ */
*, *::before, *::after { box-sizing: border-box; }
* { margin: 0; padding: 0; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
    font-family: "M PLUS Rounded 1c", system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Noto Sans JP", sans-serif;
    font-weight: 500;
    font-size: 17px;
    line-height: 1.75;
    color: var(--text-main);
    background: var(--bg);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    word-break: auto-phrase;
    line-break: strict;
}
.feature-content p,
.card-body p,
.tour-hero-text p,
.parking-text p,
.cm-content,
.recruit-lead,
.section-sub,
.faq-answer,
.legal-page p,
.legal-page li {
    word-break: keep-all;
    overflow-wrap: anywhere;
    line-break: strict;
}
h1, h2, h3, h4, h5, h6,
.section-title, .hero-title, .card-body h3, .feature-content h3,
.recruit-card h3, .tour-hero-text h3, .parking-text h3,
.cta-box h2, .rb-text h2, .recruit-h1 {
    word-break: auto-phrase;
    line-break: strict;
    overflow-wrap: anywhere;
}
.btn, .nav a, .recruit-tag, .stat-label, .info-label, .footer-col h4,
.kicker, .lang-switch button, .nav-lang-mobile button,
.flag-pill, .cm-badge, .recruit-card-head, .tour-pills li {
    white-space: nowrap;
}
img, svg, video { display: block; max-width: 100%; height: auto; }
ul { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; border: 0; background: transparent; color: inherit; }
:focus-visible { outline: 3px solid var(--accent-cyan); outline-offset: 3px; border-radius: 4px; }

/* DESIGN TOKENS
   ============================================ */
:root {
    --primary: #FEF101;
    --primary-dark: #F5C500;
    --secondary: #FF3366;
    --secondary-dark: #E61D52;
    --accent-cyan: #33CCFF;
    --accent-cyan-dark: #1AA0CC;
    --bg: #FFFBF0;
    --bg-alt: #FFF;
    --bg-dark: #0E0E1A;
    --text-main: #1A1A2E;
    --text-muted: #5C5C7A;
    --text-light: #FFF;
    --line: #1A1A2E;

    --radius: 16px;
    --radius-lg: 28px;
    --radius-xl: 40px;
    --shadow-brutal: 8px 8px 0 var(--line);
    --shadow-brutal-lg: 14px 14px 0 var(--line);
    --shadow-brutal-pink: 8px 8px 0 var(--secondary);
    --shadow-soft: 0 12px 40px -12px rgba(26, 26, 46, 0.25);

    --font-display: "Outfit", "M PLUS Rounded 1c", sans-serif;
    --font-jp: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
    --font-pop: "Bungee", "M PLUS Rounded 1c", sans-serif;

    --container: 1240px;
    --header-h: 76px;

    --easing: cubic-bezier(0.65, 0, 0.35, 1);
    --easing-bounce: cubic-bezier(0.68, -0.55, 0.27, 1.55);
}

/* UTILITIES
   ============================================ */
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}
.skip-link {
    position: absolute;
    top: -100px;
    left: 0;
    background: var(--text-main);
    color: var(--text-light);
    padding: 12px 16px;
    z-index: 9999;
    transition: top .2s;
}
.skip-link:focus { top: 0; }

/* LOADER
   ============================================ */
.loader {
    position: fixed;
    inset: 0;
    background: var(--primary);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity .6s var(--easing), visibility .6s var(--easing);
}
.loader.is-hidden {
    opacity: 0;
    visibility: hidden;
}
.loader-inner {
    text-align: center;
}
.loader-claw {
    width: 80px;
    height: 60px;
    margin: 0 auto 24px;
    position: relative;
}
.loader-claw span {
    position: absolute;
    top: 0;
    width: 8px;
    height: 40px;
    background: var(--text-main);
    border-radius: 4px;
    transform-origin: top center;
    animation: clawWiggle 1.2s ease-in-out infinite;
}
.loader-claw span:nth-child(1) { left: 20%; animation-delay: 0s; }
.loader-claw span:nth-child(2) { left: 50%; animation-delay: .2s; transform: translateX(-50%); }
.loader-claw span:nth-child(3) { left: 80%; animation-delay: .4s; }
@keyframes clawWiggle {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(15deg); }
}
.loader-claw span:nth-child(2) {
    animation-name: clawWiggleCenter;
}
@keyframes clawWiggleCenter {
    0%, 100% { transform: translateX(-50%) rotate(0); }
    50% { transform: translateX(-50%) rotate(-15deg); }
}
.loader-text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 20px;
    letter-spacing: 0.15em;
    color: var(--text-main);
}
.dots { animation: dotPulse 1.4s infinite; }
@keyframes dotPulse {
    0%, 20% { opacity: 0; }
    50%, 100% { opacity: 1; }
}

/* ANNOUNCEMENT BAR
   ============================================ */
.ann-bar {
    background: var(--text-main);
    color: var(--primary);
    padding: 8px 0;
    overflow: hidden;
    position: sticky;
    top: 0;
    z-index: 99;
    border-bottom: 3px solid var(--primary);
}
.ann-marquee {
    display: flex;
    gap: 48px;
    white-space: nowrap;
    animation: marquee 22s linear infinite;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.05em;
}
.ann-marquee span { flex-shrink: 0; }
@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}
@media (max-width: 768px) {
    .ann-marquee { animation-duration: 11s; gap: 32px; }
}

/* HEADER
   ============================================ */
.header {
    position: sticky;
    top: 38px;
    z-index: 90;
    background: rgba(255, 251, 240, 0.92);
    backdrop-filter: saturate(180%) blur(14px);
    -webkit-backdrop-filter: saturate(180%) blur(14px);
    border-bottom: 2px solid var(--text-main);
    transition: top .3s var(--easing);
}
.header.is-scrolled {
    background: rgba(255, 251, 240, 0.98);
    box-shadow: 0 4px 20px -8px rgba(0,0,0,.15);
}
.header-inner {
    max-width: var(--container);
    margin: 0 auto;
    padding: 6px 16px;
    display: flex;
    align-items: center;
    gap: 20px;
}
.logo-link {
    flex-shrink: 0;
    display: block;
    transition: transform .3s var(--easing-bounce);
}
.logo-link:hover { transform: rotate(-3deg) scale(1.05); }
.logo-img {
    width: 110px;
    height: auto;
}
@media (max-width: 768px) {
    .header-inner { padding: 4px 12px; gap: 12px; }
    .logo-img { width: 90px; }
}
.nav {
    display: flex;
    gap: 4px;
    margin-left: auto;
}
.nav a {
    padding: 10px 14px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 0.06em;
    border-radius: 8px;
    transition: all .2s var(--easing);
    position: relative;
}
.nav a::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: 6px;
    height: 3px;
    background: var(--secondary);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s var(--easing);
}
.nav a:hover { color: var(--secondary); }
.nav a:hover::after { transform: scaleX(1); }
.nav a.is-active { color: var(--secondary); }
.nav a.is-active::after { transform: scaleX(1); }

.header-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-left: auto;
}
.lang-switch {
    display: flex;
    border: 2px solid var(--text-main);
    border-radius: 999px;
    overflow: hidden;
}
.lang-switch button {
    padding: 6px 12px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 12px;
    background: transparent;
    transition: all .2s;
}
.lang-switch button.active {
    background: var(--text-main);
    color: var(--primary);
}
.lang-switch button:not(.active):hover {
    background: var(--primary);
}

.hamburger {
    display: none;
    width: 44px;
    height: 44px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    border: 2px solid var(--text-main);
    border-radius: 12px;
    background: var(--primary);
}
.hamburger span {
    display: block;
    width: 22px;
    height: 3px;
    background: var(--text-main);
    border-radius: 2px;
    transition: all .3s var(--easing);
}
.hamburger.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* BUTTONS
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 24px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 15px;
    letter-spacing: 0.04em;
    border-radius: 999px;
    border: 2px solid var(--text-main);
    text-decoration: none;
    cursor: pointer;
    transition: transform .2s var(--easing), box-shadow .2s var(--easing), background .2s;
    white-space: nowrap;
    position: relative;
}
.btn::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    box-shadow: 4px 4px 0 var(--text-main);
    transition: box-shadow .2s var(--easing);
    pointer-events: none;
}
.btn:hover {
    transform: translate(-2px, -2px);
}
.btn:hover::before {
    box-shadow: 6px 6px 0 var(--text-main);
}
.btn:active {
    transform: translate(2px, 2px);
}
.btn:active::before {
    box-shadow: 0 0 0 var(--text-main);
}
.btn-arrow {
    transition: transform .2s var(--easing);
    display: inline-block;
}
.btn:hover .btn-arrow { transform: translateX(4px); }

.btn-primary { background: var(--primary); color: var(--text-main); }
.btn-secondary { background: var(--secondary); color: #fff; }
.btn-ghost {
    background: transparent;
    color: var(--text-main);
}
.btn-ghost::before { box-shadow: 4px 4px 0 var(--secondary); }
.btn-ghost:hover::before { box-shadow: 6px 6px 0 var(--secondary); }

.btn-line { background: #06C755; color: #fff; padding: 10px 18px; font-size: 14px; }
.btn-line::before { box-shadow: 3px 3px 0 var(--text-main); }
.btn-ig { background: linear-gradient(45deg,#feda75,#fa7e1e,#d62976,#962fbf,#4f5bd5); color: #fff; border-color: #fff; }
.btn-x { background: #000; color: #fff; border-color: #000; }
.btn-tt {
    background: #000;
    color: #fff;
    border-color: #000;
    position: relative;
    overflow: hidden;
}
.btn-tt::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 6px;
    background: linear-gradient(180deg, #25F4EE 0%, #25F4EE 50%, #FE2C55 50%, #FE2C55 100%);
    pointer-events: none;
}
.btn-tt span { position: relative; z-index: 1; padding-left: 4px; }

.btn-block {
    display: flex;
    width: 100%;
}
.btn-large {
    padding: 20px 28px;
    font-size: 17px;
    font-weight: 900;
}
.cta-buttons .btn { font-size: 16px; padding: 18px 12px; font-weight: 900; }
@media (max-width: 640px) {
    .cta-buttons .btn { font-size: 15px; padding: 16px 8px; }
}

/* HERO
   ============================================ */
.hero {
    position: relative;
    min-height: calc(100vh - var(--header-h) - 38px);
    padding: 60px 0 80px;
    overflow: hidden;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.bg-gradient {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(254, 241, 1, .8), transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(255, 51, 102, .25), transparent 50%),
        radial-gradient(ellipse at 100% 30%, rgba(51, 204, 255, .3), transparent 50%);
}
.bg-stars span {
    position: absolute;
    width: 24px;
    height: 24px;
    background: var(--text-main);
    clip-path: polygon(50% 0%, 61% 35%, 98% 35%, 68% 57%, 79% 91%, 50% 70%, 21% 91%, 32% 57%, 2% 35%, 39% 35%);
    animation: starFloat 8s ease-in-out infinite;
}
.bg-stars span:nth-child(1) { top: 10%; left: 10%; width: 30px; height: 30px; animation-delay: 0s; }
.bg-stars span:nth-child(2) { top: 25%; left: 88%; width: 18px; height: 18px; animation-delay: -1s; }
.bg-stars span:nth-child(3) { top: 50%; left: 5%; width: 22px; height: 22px; animation-delay: -2s; }
.bg-stars span:nth-child(4) { top: 80%; left: 92%; width: 26px; height: 26px; animation-delay: -3s; }
.bg-stars span:nth-child(5) { top: 60%; left: 50%; width: 16px; height: 16px; animation-delay: -4s; }
.bg-stars span:nth-child(6) { top: 5%; left: 60%; width: 20px; height: 20px; animation-delay: -5s; }
.bg-stars span:nth-child(7) { top: 90%; left: 15%; width: 28px; height: 28px; animation-delay: -6s; }
.bg-stars span:nth-child(8) { top: 40%; left: 70%; width: 14px; height: 14px; animation-delay: -7s; }
.bg-stars span:nth-child(9) { top: 75%; left: 40%; width: 22px; height: 22px; animation-delay: -3.5s; }
.bg-stars span:nth-child(10) { top: 20%; left: 35%; width: 18px; height: 18px; animation-delay: -1.5s; }
@keyframes starFloat {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-20px) rotate(20deg); }
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 0.85fr 1.6fr;
    gap: 32px;
    align-items: center;
}
.hero-content { animation: fadeInUp 1s var(--easing) .3s both; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

.hero-flag { margin-bottom: 24px; }
.flag-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 18px;
    background: var(--text-main);
    color: var(--primary);
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.1em;
}

.hero-title {
    font-family: var(--font-jp);
    font-weight: 900;
    font-size: clamp(2.5rem, 6vw, 5rem);
    line-height: 1.05;
    letter-spacing: -0.02em;
    margin-bottom: 28px;
}
.hero-title .line-1 {
    display: block;
    color: var(--text-main);
    margin-bottom: 4px;
    white-space: nowrap;
}
.hero-title .line-2 {
    display: block;
    color: var(--secondary);
    text-shadow: 4px 4px 0 var(--text-main);
    transform: rotate(-1deg);
    margin-bottom: 8px;
    white-space: nowrap;
}
.hero-title .line-3 {
    display: inline-block;
    font-family: var(--font-pop);
    font-weight: 400;
    background: var(--accent-cyan);
    color: var(--text-main);
    padding: 4px 18px;
    border: 3px solid var(--text-main);
    border-radius: 12px;
    box-shadow: 5px 5px 0 var(--text-main);
    transform: rotate(-2deg);
    font-size: 0.78em;
    margin-top: 8px;
    margin-left: 6px;
    margin-right: 12px;
    margin-bottom: 12px;
    white-space: nowrap;
    max-width: 100%;
}

.hero-lead {
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    line-height: 1.85;
    color: var(--text-main);
    margin-bottom: 32px;
    max-width: 540px;
    font-weight: 700;
}

.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 36px;
    max-width: 540px;
}
.stat {
    background: var(--bg-alt);
    border: 2px solid var(--text-main);
    border-radius: 14px;
    padding: 14px 8px;
    text-align: center;
    box-shadow: 4px 4px 0 var(--text-main);
    transition: transform .3s var(--easing-bounce);
}
.stat:hover { transform: translateY(-4px) rotate(-2deg); }
.stat {
    padding: 22px 10px;
}
.stat strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(2.6rem, 5.5vw, 3.6rem);
    color: var(--secondary);
    line-height: 1;
}
.stat strong span {
    font-size: 0.5em;
    color: var(--text-main);
    margin-left: 2px;
}
.stat-label {
    display: block;
    font-size: 18px;
    font-weight: 900;
    color: var(--text-main);
    margin-top: 10px;
    font-family: var(--font-jp);
}
@media (max-width: 480px) {
    .stat strong { font-size: 2rem; }
    .stat-label { font-size: 15px; }
}

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

.hero-visual {
    position: relative;
    animation: fadeInScale 1.2s var(--easing-bounce) .5s both;
}
@keyframes fadeInScale {
    from { opacity: 0; transform: scale(0.9); }
    to { opacity: 1; transform: scale(1); }
}
.hero-visual {
    padding: 12px 16px 12px 8px;
}
.hero-frame {
    position: relative;
    border: 4px solid var(--text-main);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-brutal-lg);
    transform: rotate(1deg);
    transition: transform .4s var(--easing);
    background: var(--primary);
}
.hero-frame:hover { transform: rotate(0deg) scale(1.02); }
.hero-frame img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: contain;
    object-position: center;
    background: var(--primary);
}
.hero-badge-circle {
    position: absolute;
    top: -22px;
    right: -22px;
    width: 110px;
    height: 110px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    border: 4px solid var(--text-main);
    box-shadow: 4px 4px 0 var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    transform: rotate(-12deg);
    animation: badgePulse 2.5s ease-in-out infinite;
}
@keyframes badgePulse {
    0%, 100% { transform: rotate(-12deg) scale(1); }
    50% { transform: rotate(-8deg) scale(1.06); }
}
.badge-text {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 18px;
    line-height: 1.1;
}

.scroll-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    z-index: 1;
    animation: bobUpDown 2s ease-in-out infinite;
}
.scroll-hint span {
    width: 22px;
    height: 36px;
    border: 3px solid var(--text-main);
    border-radius: 12px;
    position: relative;
}
.scroll-hint span::after {
    content: "";
    position: absolute;
    top: 6px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 8px;
    background: var(--text-main);
    border-radius: 2px;
    animation: scrollDot 1.5s ease-in-out infinite;
}
.scroll-hint small {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 10px;
    letter-spacing: 0.2em;
}
@keyframes scrollDot {
    0% { transform: translate(-50%, 0); opacity: 1; }
    100% { transform: translate(-50%, 16px); opacity: 0; }
}
@keyframes bobUpDown {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-8px); }
}

/* TRUST BAND
   ============================================ */
.trust-band {
    background: var(--text-main);
    padding: 60px 0;
    color: var(--text-light);
    border-top: 4px solid var(--primary);
    border-bottom: 4px solid var(--primary);
    position: relative;
    z-index: 1;
}
.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
}
.trust-item {
    text-align: center;
    padding: 16px;
    border-radius: 20px;
    transition: transform .3s var(--easing-bounce);
}
.trust-item:hover { transform: translateY(-6px); }
.trust-ico {
    font-size: 48px;
    margin-bottom: 12px;
    filter: drop-shadow(3px 3px 0 var(--secondary));
}
.trust-item h3 {
    font-family: var(--font-jp);
    font-weight: 900;
    font-size: 1.2rem;
    margin-bottom: 8px;
    color: var(--primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.trust-item p {
    font-size: 0.9rem;
    line-height: 1.5;
    color: rgba(255,255,255,.8);
}

/* SECTION HEAD COMMON
   ============================================ */
.section-head {
    text-align: center;
    margin-bottom: 64px;
}
.kicker {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.3em;
    color: var(--secondary);
    margin-bottom: 12px;
}
.section-title {
    font-family: var(--font-jp);
    font-weight: 900;
    font-size: clamp(1.8rem, 4vw, 3rem);
    line-height: 1.2;
}
.section-title .title-jp {
    display: block;
    color: var(--text-main);
    word-break: keep-all;
    line-break: strict;
}
.section-title .title-jp > span {
    display: inline-block;
}
.section-title .title-en {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 0.45em;
    color: var(--text-muted);
    letter-spacing: 0.1em;
    margin-top: 8px;
}
.section-sub {
    margin-top: 16px;
    font-size: 1rem;
    color: var(--text-muted);
}

/* CONCEPT
   ============================================ */
.concept {
    padding: 100px 0;
    background:
        repeating-linear-gradient(45deg, transparent, transparent 60px, rgba(254, 241, 1, .15) 60px, rgba(254, 241, 1, .15) 120px);
}
.concept-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.card {
    background: var(--bg-alt);
    border: 3px solid var(--text-main);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: transform .4s var(--easing-bounce), box-shadow .4s var(--easing);
    box-shadow: var(--shadow-brutal);
    display: flex;
    flex-direction: column;
}
.card:hover {
    transform: translate(-6px, -6px) rotate(-1deg);
    box-shadow: 14px 14px 0 var(--secondary);
}
.card-img {
    aspect-ratio: 4/3;
    overflow: hidden;
    border-bottom: 3px solid var(--text-main);
}
.card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--easing);
}
.card:hover .card-img img { transform: scale(1.08); }
.card-body {
    padding: 28px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.card-num {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 12px;
    color: var(--secondary);
    letter-spacing: 0.2em;
    margin-bottom: 10px;
}
.card-body h3 {
    font-family: var(--font-jp);
    font-weight: 900;
    font-size: 1.4rem;
    line-height: 1.4;
    margin-bottom: 12px;
    color: var(--text-main);
}
.card-body p {
    font-size: 0.95rem;
    line-height: 1.8;
    color: var(--text-muted);
    flex: 1;
}
.card-highlight {
    background: var(--primary);
    border-color: var(--text-main);
}
.card-highlight .card-num { color: var(--secondary); }
.card-highlight .card-body p { color: var(--text-main); }
.card-img-num {
    background: linear-gradient(135deg, var(--primary) 0%, #FFE680 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 4/3;
    overflow: hidden;
    border-bottom: 3px solid var(--text-main);
    position: relative;
}
.card-img-num::before {
    content: "★";
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 32px;
    color: var(--secondary);
    text-shadow: 2px 2px 0 var(--text-main);
    transform: rotate(-15deg);
}
.card-img-num::after {
    content: "★";
    position: absolute;
    bottom: 12px;
    right: 16px;
    font-size: 28px;
    color: var(--accent-cyan);
    text-shadow: 2px 2px 0 var(--text-main);
    transform: rotate(20deg);
}
.big-num {
    font-family: var(--font-pop);
    font-size: clamp(3rem, 7vw, 5rem);
    color: var(--secondary);
    text-align: center;
    line-height: 1;
    text-shadow: 5px 5px 0 var(--text-main);
    letter-spacing: -0.02em;
    z-index: 1;
}
.big-num span { font-size: 1.6em; }
.big-num small { font-size: 0.6em; margin-left: 4px; vertical-align: 0.4em; }

/* FEATURES
   ============================================ */
.features {
    padding: 100px 0;
    background: var(--bg);
}
.features-list {
    display: grid;
    gap: 20px;
    max-width: 920px;
    margin: 0 auto;
}
.feature {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 24px;
    align-items: center;
    padding: 28px;
    background: var(--bg-alt);
    border: 3px solid var(--text-main);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-brutal);
    transition: transform .3s var(--easing);
}
.feature:nth-child(odd) { transform: rotate(-0.5deg); }
.feature:nth-child(even) { transform: rotate(0.5deg); }
.feature:hover {
    transform: rotate(0) translateY(-4px);
    box-shadow: var(--shadow-brutal-lg);
}
.feature-num {
    font-family: var(--font-pop);
    font-size: 3.5rem;
    color: var(--secondary);
    line-height: 1;
    text-shadow: 4px 4px 0 var(--text-main);
}
.feature-content h3 {
    font-family: var(--font-jp);
    font-weight: 900;
    font-size: 1.25rem;
    margin-bottom: 8px;
}
.feature-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.7;
}

/* GALLERY
   ============================================ */
.gallery {
    padding: 100px 0;
    background: var(--text-main);
    color: var(--text-light);
}
.gallery .section-title .title-jp { color: var(--primary); }
.gallery .section-title .title-en { color: rgba(255,255,255,.5); }
.gallery .section-sub { color: rgba(255,255,255,.7); }

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: 220px 220px;
    gap: 16px;
    margin-bottom: 40px;
}
.gallery-item {
    position: relative;
    border: 3px solid var(--primary);
    border-radius: var(--radius);
    overflow: hidden;
    background: rgba(255,255,255,.05);
    transition: transform .4s var(--easing-bounce);
}
.gallery-item:hover { transform: scale(1.02) rotate(-1deg); }
.gallery-item-large {
    grid-column: span 2;
    grid-row: span 2;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.gallery-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 16px;
    background: linear-gradient(to top, rgba(0,0,0,.9), transparent);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 0.05em;
    color: var(--primary);
}
.gallery-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-pop);
    color: var(--text-main);
    font-size: 1.4rem;
    line-height: 1.2;
    text-align: center;
}
.gp-1 { background: var(--primary); }
.gp-2 { background: var(--accent-cyan); }
.gp-3 { background: var(--secondary); color: #fff; }
.gp-4 { background: linear-gradient(135deg, var(--primary), var(--accent-cyan)); }

.gallery-cta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    align-items: center;
    margin-top: 32px;
}
.gallery-cta .btn { flex: 0 1 auto; }
@media (max-width: 640px) {
    .gallery-cta { flex-direction: column; align-items: stretch; padding: 0 16px; }
    .gallery-cta .btn { width: 100%; }
}

/* LOCATION
   ============================================ */
.location {
    padding: 100px 0;
    background: var(--bg);
}
.location-grid {
    display: grid;
    grid-template-columns: 380px 1fr;
    gap: 32px;
    margin-bottom: 60px;
}
.location-info-box {
    background: var(--bg-alt);
    border: 3px solid var(--text-main);
    border-radius: var(--radius-lg);
    padding: 32px;
    box-shadow: var(--shadow-brutal);
}
.info-row {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: 16px;
    align-items: start;
    padding: 16px 0;
    border-bottom: 2px dashed rgba(26,26,46,.15);
}
.info-row:last-of-type { border-bottom: 0; }
.info-label {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 0.15em;
    color: var(--secondary);
    padding-top: 6px;
}
.info-value {
    font-weight: 700;
    line-height: 1.6;
}
.info-value small {
    font-weight: 500;
    font-size: 0.85em;
    color: var(--text-muted);
}
.open-info .info-value {
    font-family: var(--font-pop);
    color: var(--secondary);
    font-size: 1.4rem;
    line-height: 1.2;
}
.location-info-box .btn {
    margin-top: 16px;
}
.location-map {
    border: 4px solid var(--text-main);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-brutal-lg);
    width: 100%;
    height: 100%;
    min-height: 480px;
    background: var(--bg-alt);
}
.location-map iframe {
    display: block;
    width: 100% !important;
    height: 100% !important;
    min-height: 480px;
    border: 0;
}
@media (max-width: 1024px) {
    .location-map { min-height: 400px; }
    .location-map iframe { min-height: 400px; height: 400px !important; }
}

.access-routes {
    background: var(--text-main);
    color: var(--text-light);
    border-radius: var(--radius-lg);
    padding: 32px;
    border: 3px solid var(--text-main);
}
.routes-title {
    text-align: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.1rem;
    color: var(--primary);
    letter-spacing: 0.1em;
    margin-bottom: 24px;
}
.routes-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}
.route {
    background: rgba(255,255,255,.06);
    border-radius: var(--radius);
    padding: 20px;
    text-align: center;
    border: 2px solid rgba(254,241,1,.3);
}
.route-from {
    display: block;
    font-size: 12px;
    color: rgba(255,255,255,.7);
    margin-bottom: 6px;
}
.route strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 6px;
}
.route small {
    font-size: 11px;
    color: rgba(255,255,255,.5);
}

/* RECRUIT
   ============================================ */
.recruit {
    padding: 100px 0;
    background:
        linear-gradient(180deg, var(--primary) 0%, var(--bg) 100%);
    position: relative;
}
.recruit-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 32px;
}
.recruit-card {
    background: var(--bg-alt);
    border: 3px solid var(--text-main);
    border-radius: var(--radius-lg);
    padding: 28px;
    box-shadow: var(--shadow-brutal);
    display: flex;
    flex-direction: column;
    transition: transform .3s var(--easing-bounce);
}
.recruit-card:hover {
    transform: translateY(-6px) rotate(-1deg);
}
.recruit-card-highlight {
    background: var(--accent-cyan);
}
.recruit-card-special {
    background: var(--secondary);
    color: #fff;
}
.recruit-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 12px;
}
.recruit-card-head h3 {
    font-family: var(--font-jp);
    font-weight: 900;
    font-size: 1.4rem;
}
.recruit-tag {
    background: var(--text-main);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 11px;
    letter-spacing: 0.1em;
}
.recruit-tag.tag-blue { background: var(--text-main); color: var(--accent-cyan); }
.recruit-tag.tag-pink { background: #fff; color: var(--secondary); }
.special-lead {
    font-weight: 900;
    font-size: 1.05rem;
    margin-bottom: 16px;
}
.recruit-details {
    display: grid;
    gap: 12px;
    margin-bottom: 24px;
    flex: 1;
}
.recruit-details li {
    display: grid;
    grid-template-columns: 60px 1fr;
    gap: 12px;
    align-items: start;
    padding-bottom: 12px;
    border-bottom: 2px dashed rgba(26,26,46,.15);
}
.recruit-card-special .recruit-details li {
    border-bottom-color: rgba(255,255,255,.25);
}
.recruit-details li:last-child { border-bottom: 0; padding-bottom: 0; }
.recruit-details span {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 11px;
    letter-spacing: 0.1em;
    color: var(--secondary);
    padding-top: 4px;
}
.recruit-card-special .recruit-details span { color: var(--primary); }
.recruit-details strong {
    display: block;
    font-weight: 800;
    line-height: 1.5;
}
.recruit-details small {
    display: block;
    font-size: 0.8rem;
    font-weight: 500;
    margin-top: 4px;
    opacity: 0.7;
}
.recruit-note {
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* FAQ
   ============================================ */
.faq {
    padding: 100px 0;
    background: var(--bg);
}
.faq-list {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    gap: 14px;
}
.faq-item {
    background: var(--bg-alt);
    border: 3px solid var(--text-main);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 4px 4px 0 var(--text-main);
    transition: transform .2s var(--easing);
}
.faq-item[open] {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0 var(--secondary);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    padding: 20px 56px 20px 24px;
    font-weight: 800;
    font-size: 1rem;
    line-height: 1.5;
    position: relative;
    transition: background .2s;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary:hover { background: rgba(254,241,1,.3); }
.faq-item summary::after {
    content: "＋";
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: var(--secondary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    transition: transform .3s var(--easing-bounce);
}
.faq-item[open] summary::after {
    content: "−";
    transform: translateY(-50%) rotate(180deg);
}
.faq-answer {
    padding: 0 24px 22px;
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.8;
    border-top: 2px dashed rgba(26,26,46,.1);
    margin-top: -2px;
    padding-top: 20px;
}

/* CONTACT CTA
   ============================================ */
.contact-cta {
    padding: 100px 0;
    background:
        radial-gradient(ellipse at center, rgba(255,51,102,.1), transparent 70%),
        var(--text-main);
    color: var(--text-light);
}
.cta-box {
    background: var(--primary);
    color: var(--text-main);
    border: 4px solid var(--text-main);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-brutal-lg);
    max-width: 920px;
    margin: 0 auto;
    position: relative;
}
.cta-box::before {
    content: "";
    position: absolute;
    inset: -10px;
    border: 2px dashed var(--text-main);
    border-radius: calc(var(--radius-xl) + 10px);
    pointer-events: none;
    opacity: 0.3;
}
.cta-box h2 {
    font-family: var(--font-jp);
    font-weight: 900;
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    margin-bottom: 16px;
}
.cta-box p {
    font-size: 1rem;
    line-height: 1.8;
    margin-bottom: 32px;
}
.cta-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    max-width: 700px;
    margin: 0 auto;
}
.cta-buttons .btn { width: 100%; padding: 14px 8px; font-size: 14px; }
@media (max-width: 640px) {
    .cta-buttons { grid-template-columns: repeat(2, 1fr); max-width: 420px; }
    .cta-buttons .btn { font-size: 12px; padding: 12px 6px; }
    .btn { font-size: 14px; padding: 12px 20px; }
    .hero-cta { flex-direction: column; }
    .hero-cta .btn { width: 100%; }
}

/* FOOTER
   ============================================ */
.footer {
    background: var(--text-main);
    color: var(--text-light);
    padding: 60px 0 32px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
    padding-bottom: 40px;
    border-bottom: 2px solid rgba(255,255,255,.1);
}
.footer-logo {
    width: 180px;
    margin-bottom: 20px;
    background: var(--primary);
    padding: 14px 18px;
    border-radius: 14px;
    border: 3px solid var(--primary);
    box-shadow: 4px 4px 0 var(--secondary);
    display: block;
}
[data-theme="dark"] .footer-logo {
    background: var(--primary);
}
.footer-desc {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,.7);
}
.footer-col h4 {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 13px;
    color: var(--primary);
    letter-spacing: 0.15em;
    margin-bottom: 16px;
}
.footer-col ul { display: grid; gap: 8px; }
.footer-col a {
    color: rgba(255,255,255,.7);
    font-size: 0.9rem;
    transition: color .2s;
}
.footer-col a:hover { color: var(--primary); }
.footer-info {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255,255,255,.7);
}
.footer-sns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.footer-sns a {
    width: 40px;
    height: 40px;
    border: 2px solid rgba(255,255,255,.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 12px;
    transition: all .2s;
}
.footer-sns a:hover {
    background: var(--primary);
    color: var(--text-main);
    border-color: var(--primary);
    transform: translateY(-2px);
}
.footer-bottom {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: rgba(255,255,255,.5);
    font-size: 0.8rem;
}
.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}
.footer-links a:hover { color: var(--primary); }
.copyright { font-family: var(--font-display); }

/* FAB STACK (5 SNS縦並び)
   ============================================ */
.fab-stack {
    position: fixed;
    bottom: 20px;
    right: 16px;
    z-index: 88;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.fab {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    color: #fff;
    border: 2px solid var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 3px 3px 0 var(--text-main);
    transition: all .25s var(--easing-bounce);
    text-decoration: none;
    position: relative;
}
.fab:hover {
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--text-main);
}
.fab-label {
    font-family: var(--font-display);
    font-size: 8px;
    font-weight: 900;
    letter-spacing: 0.05em;
    margin-top: 1px;
    line-height: 1;
}
.fab-line { background: #06C755; }
.fab-ig {
    background: linear-gradient(45deg, #feda75 0%, #fa7e1e 25%, #d62976 50%, #962fbf 75%, #4f5bd5 100%);
}
.fab-x { background: #000; }
.fab-tt {
    background: #000;
    overflow: hidden;
}
.fab-tt::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(37, 244, 238, .6), transparent 40%, transparent 60%, rgba(254, 44, 85, .6));
    pointer-events: none;
}
.fab-tt svg, .fab-tt .fab-label { position: relative; z-index: 1; }
.fab-tel { background: var(--secondary); }
@media (max-width: 480px) {
    .fab-stack { right: 10px; gap: 6px; bottom: 14px; }
    .fab { width: 46px; height: 46px; }
    .fab-label { font-size: 7px; }
    .fab svg { width: 18px; height: 18px; }
}

/* SCROLL REVEAL
   ============================================ */
.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .35s var(--easing), transform .35s var(--easing);
}
.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/* RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .hero-inner { grid-template-columns: 1fr; gap: 40px; }
    .hero-visual { order: -1; max-width: 480px; margin: 0 auto; }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-template-rows: auto; }
    .gallery-item-large { grid-column: span 2; aspect-ratio: 16/9; }
    .gallery-item:not(.gallery-item-large) { aspect-ratio: 1; }
    .location-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .recruit-grid { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin-left: auto; margin-right: auto; margin-bottom: 32px; }
    .concept-cards { grid-template-columns: repeat(2, 1fr); max-width: 880px; margin: 0 auto; }
    .cta-buttons { grid-template-columns: repeat(2, 1fr); max-width: 560px; }
}

@media (max-width: 900px) {
    .recruit-grid { grid-template-columns: 1fr; max-width: 600px; }
    .concept-cards { grid-template-columns: 1fr; max-width: 600px; }
}

@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--text-main);
        flex-direction: column;
        justify-content: center;
        padding: 80px 24px 24px;
        gap: 8px;
        transition: right .4s var(--easing);
        z-index: 95;
    }
    .nav.is-open { right: 0; }
    .nav a {
        font-size: 1.5rem;
        color: var(--primary);
        padding: 14px 24px;
        text-align: center;
    }
    .nav a::after { display: none; }
    .hamburger { display: flex; position: relative; z-index: 96; }
    .lang-switch { display: none; }
    .header-actions .btn-line { display: none; }

    .trust-grid { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .features-list { padding: 0; }
    .feature {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 8px;
    }
    .feature-num { font-size: 2.5rem; }
    .routes-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .gallery-grid { grid-template-columns: 1fr; }
    .gallery-item-large { grid-column: span 1; }

    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .hero-cta .btn { flex: 1; min-width: 0; }

    .container { padding: 0 16px; }
    .concept, .features, .gallery, .location, .recruit, .faq, .contact-cta { padding: 64px 0; }
    .section-head { margin-bottom: 40px; }
    .cta-box { padding: 40px 24px; }
    .hero-badge-circle { width: 86px; height: 86px; top: -16px; right: -16px; }
    .badge-text { font-size: 14px; }
}

@media (max-width: 480px) {
    .hero-title { font-size: 2.2rem; }
    .stat strong { font-size: 1.4rem; }
    .stat-label { font-size: 10px; }
    .hero-stats { gap: 8px; }
    .stat { padding: 12px 6px; }
    .hero-visual { padding: 12px 16px 12px 12px; }
    .recruit-banner-card { padding: 24px 18px; }
    .rb-text h2 { font-size: 1.1rem; }
    .rb-arrow { width: 100%; padding: 12px 16px; font-size: 12px; }
    .cta-buttons { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 360px) {
    .container { padding: 0 12px; }
    .hero-title { font-size: 1.9rem; }
    .hero-title .line-3 { font-size: 0.75em; padding: 3px 12px; box-shadow: 4px 4px 0 var(--text-main); }
    .footer-logo { width: 140px; }
    .nav-lang-mobile button { font-size: 12px; padding: 10px 6px; }
    .recruit-stats { gap: 8px; }
    .recruit-stats > div { min-width: 80px; padding: 10px 14px; }
    .recruit-stats strong { font-size: 1.4rem; }
}

/* REDUCED MOTION
   ============================================ */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    .ann-marquee { animation: none; }
    .bg-stars span { animation: none; }
}

/* ============================================
   v0.2 ADDITIONS — modern trend features
   ============================================ */

/* SCROLL PROGRESS ----------------------- */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: linear-gradient(90deg, var(--secondary), var(--primary), var(--accent-cyan));
    background-size: 200% 100%;
    animation: progressShimmer 3s linear infinite;
    z-index: 100;
    transition: width .12s var(--easing);
    pointer-events: none;
}
@keyframes progressShimmer {
    0% { background-position: 0% 0; }
    100% { background-position: 200% 0; }
}

/* CUSTOM CURSOR (PC only) -------------- */
.cursor, .cursor-dot {
    display: none;
}
@media (hover: hover) and (pointer: fine) {
    body.has-custom-cursor {
        cursor: none;
    }
    body.has-custom-cursor a,
    body.has-custom-cursor button,
    body.has-custom-cursor [role="button"] {
        cursor: none;
    }
    .cursor {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 36px;
        height: 36px;
        border: 2px solid var(--text-main);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9998;
        transform: translate(-50%, -50%);
        transition: width .2s var(--easing), height .2s var(--easing), background .2s, mix-blend-mode .2s;
        mix-blend-mode: difference;
    }
    .cursor-dot {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 6px;
        height: 6px;
        background: var(--secondary);
        border-radius: 50%;
        pointer-events: none;
        z-index: 9999;
        transform: translate(-50%, -50%);
    }
    .cursor.is-hover {
        width: 60px;
        height: 60px;
        background: var(--primary);
        mix-blend-mode: normal;
    }
}

/* MESH GRADIENT BG ---------------------- */
.bg-mesh {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(at 27% 37%, hsla(45, 100%, 50%, 0.4) 0px, transparent 50%),
        radial-gradient(at 97% 21%, hsla(345, 100%, 60%, 0.3) 0px, transparent 50%),
        radial-gradient(at 52% 99%, hsla(195, 100%, 50%, 0.3) 0px, transparent 50%),
        radial-gradient(at 10% 29%, hsla(280, 100%, 60%, 0.2) 0px, transparent 50%),
        radial-gradient(at 97% 96%, hsla(170, 100%, 50%, 0.2) 0px, transparent 50%);
    filter: blur(40px);
    animation: meshFloat 20s ease-in-out infinite;
    opacity: 0.6;
}
@keyframes meshFloat {
    0%, 100% { transform: scale(1) rotate(0deg); }
    33% { transform: scale(1.1) rotate(60deg); }
    66% { transform: scale(0.95) rotate(-60deg); }
}

/* THEME TOGGLE -------------------------- */
.theme-toggle {
    width: 40px;
    height: 40px;
    border: 2px solid var(--text-main);
    border-radius: 50%;
    background: var(--bg-alt);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .3s var(--easing-bounce);
    position: relative;
    overflow: hidden;
}
.theme-toggle:hover { transform: rotate(20deg) scale(1.05); }
.theme-toggle .sun, .theme-toggle .moon {
    position: absolute;
    font-size: 20px;
    transition: all .4s var(--easing-bounce);
}
.theme-toggle .moon { opacity: 0; transform: rotate(-90deg); }
[data-theme="dark"] .theme-toggle .sun { opacity: 0; transform: rotate(90deg); }
[data-theme="dark"] .theme-toggle .moon { opacity: 1; transform: rotate(0deg); }

/* DARK THEME ---------------------------- */
[data-theme="dark"] {
    --bg: #0E0E1A;
    --bg-alt: #18182E;
    --text-main: #FFF;
    --text-muted: #B0B0CC;
    --line: #FFF;
    --shadow-brutal: 8px 8px 0 var(--secondary);
    --shadow-brutal-lg: 14px 14px 0 var(--secondary);
}
[data-theme="dark"] .header { background: rgba(14, 14, 26, 0.92); border-bottom-color: var(--primary); }
[data-theme="dark"] .ann-bar { background: var(--primary); color: var(--bg); border-bottom-color: var(--secondary); }
[data-theme="dark"] .trust-band { background: #000; border-color: var(--primary); }
[data-theme="dark"] .gallery,
[data-theme="dark"] .tour { background: #000; }
[data-theme="dark"] .footer { background: #000; }
[data-theme="dark"] .stat { background: var(--bg-alt); }
[data-theme="dark"] .card { background: var(--bg-alt); }
[data-theme="dark"] .feature { background: var(--bg-alt); }
[data-theme="dark"] .recruit-card { background: var(--bg-alt); }
[data-theme="dark"] .faq-item { background: var(--bg-alt); }
[data-theme="dark"] .location-info-box { background: var(--bg-alt); }
[data-theme="dark"] .concept { background: var(--bg); }
[data-theme="dark"] .features { background: var(--bg-alt); }
[data-theme="dark"] .location { background: var(--bg); }
[data-theme="dark"] .recruit { background: linear-gradient(180deg, var(--secondary) 0%, var(--bg) 100%); }
[data-theme="dark"] .faq { background: var(--bg-alt); }
[data-theme="dark"] .footer-logo { filter: none; }
[data-theme="dark"] .lang-switch { border-color: var(--primary); }
[data-theme="dark"] .lang-switch button.active { background: var(--primary); color: var(--bg); }
[data-theme="dark"] .theme-toggle { background: var(--bg); border-color: var(--primary); color: var(--primary); }

/* DARK THEME — additional overrides for white-dependent components ---- */
/* Gallery */
[data-theme="dark"] .gallery-item { background: rgba(255,255,255,.06); border-color: var(--primary); }
[data-theme="dark"] .gallery-placeholder { color: var(--text-main); }
[data-theme="dark"] .gp-1 { background: var(--primary); color: var(--bg); }
[data-theme="dark"] .gp-2 { background: var(--accent-cyan); color: var(--bg); }
[data-theme="dark"] .gp-3 { background: var(--secondary); color: #fff; }
[data-theme="dark"] .gp-4 { background: linear-gradient(135deg, var(--primary), var(--accent-cyan)); color: var(--bg); }

/* Tour / Gallery section labels */
[data-theme="dark"] .tour .section-title .title-en { color: rgba(255,255,255,.65); }
[data-theme="dark"] .tour .section-sub { color: rgba(255,255,255,.85); }
[data-theme="dark"] .tour .section-sub small { color: rgba(255,255,255,.6); }
[data-theme="dark"] .gallery .section-title .title-en { color: rgba(255,255,255,.65); }
[data-theme="dark"] .gallery .section-sub { color: rgba(255,255,255,.85); }

/* Footer text */
[data-theme="dark"] .footer-desc { color: rgba(255,255,255,.78); }
[data-theme="dark"] .footer-col a { color: rgba(255,255,255,.78); }
[data-theme="dark"] .footer-col a:hover { color: var(--primary); }
[data-theme="dark"] .footer-info { color: rgba(255,255,255,.78); }

/* Recruit pink tag — was solid #fff, swap to dark surface */
[data-theme="dark"] .recruit-tag.tag-pink { background: var(--bg-alt); color: var(--secondary); border: 1px solid var(--secondary); }

/* Dashed dividers — switch dark overlay to light tint */
[data-theme="dark"] .info-row { border-bottom-color: rgba(255,255,255,.18); }
[data-theme="dark"] .recruit-details li { border-bottom-color: rgba(255,255,255,.18); }
[data-theme="dark"] .legal-meta { border-bottom-color: rgba(255,255,255,.18); }
[data-theme="dark"] .legal-table th, [data-theme="dark"] .legal-table td { border-bottom-color: rgba(255,255,255,.18); }

/* Matsuri — soften white card glare on dark bg */
[data-theme="dark"] .matsuri { background: var(--bg-alt); }
[data-theme="dark"] .matsuri::before { background: repeating-linear-gradient(45deg, transparent 0 20px, rgba(255,255,255,0.04) 20px 24px); }
[data-theme="dark"] .matsuri-card { background: #F6F2E2; border-color: var(--primary); box-shadow: 12px 12px 0 var(--secondary); }
[data-theme="dark"] .matsuri-tag { background: var(--primary); color: var(--bg); }
[data-theme="dark"] .matsuri-stamp { box-shadow: 4px 4px 0 var(--primary); }
[data-theme="dark"] .m-line-1 { background: var(--bg); color: var(--primary); }
[data-theme="dark"] .matsuri-hours h3 { background: var(--primary); color: var(--bg); }
[data-theme="dark"] .matsuri-pills span { background: var(--primary); color: var(--bg); box-shadow: 3px 3px 0 var(--secondary); }
[data-theme="dark"] .reg-row th { background: var(--primary); color: var(--bg); }

/* Legal page */
[data-theme="dark"] .legal-page { background: var(--bg); }
[data-theme="dark"] .legal-page h1 { color: var(--text-main); }
[data-theme="dark"] .legal-page h2 { color: var(--primary); border-left-color: var(--secondary); }
[data-theme="dark"] .legal-page p, [data-theme="dark"] .legal-page li { color: var(--text-main); }
[data-theme="dark"] .legal-meta { color: var(--text-muted); }
[data-theme="dark"] .legal-table th { background: var(--bg-alt); color: var(--primary); border-right-color: var(--primary); }
[data-theme="dark"] .legal-table td { color: var(--text-main); }

/* CM SECTION ---------------------------- */
.cm-section {
    background: var(--text-main);
    padding: 0;
    position: relative;
}
.cm-frame {
    position: relative;
    max-width: 1600px;
    margin: 0 auto;
}
/* チバガレージ 3u130 検証系: native scroll-snap 捨てて JS 完全制御
   cm-carousel = viewport (overflow:hidden 静止)、内側 cm-track が transform で動く */
.cm-carousel {
    overflow: hidden;
    scrollbar-width: none;
    touch-action: pan-y; /* 縦は native scroll 通す、横は JS が制御 */
    user-select: none;
    -webkit-user-select: none;
    position: relative;
}
.cm-carousel::-webkit-scrollbar { display: none; }
.cm-track {
    display: flex;
    will-change: transform;
}
.cm-slide {
    flex: 0 0 100%;
}
.cm-aspect {
    position: relative;
    aspect-ratio: 16/7;
    overflow: hidden;
    background: var(--text-main);
}
.cm-dots {
    position: absolute;
    bottom: 14px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 4px;
    z-index: 5;
    background: rgba(0,0,0,.55);
    padding: 4px 8px;
    border-radius: 999px;
    backdrop-filter: blur(8px);
}
@media (max-width: 768px) {
    .cm-dots { bottom: 100px; }
}
.cm-dots button {
    width: 30px;
    height: 30px;
    border: 0;
    padding: 0;
    cursor: pointer;
    background: transparent;
    position: relative;
    flex-shrink: 0;
}
.cm-dots button::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(255,255,255,.5);
    transition: all .25s var(--easing);
}
.cm-dots button.active::before {
    background: var(--primary);
    width: 26px;
}
.cm-dots button:active::before {
    transform: translate(-50%, -50%) scale(1.3);
}
.cm-arrow {
    position: absolute;
    top: 38%;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.22);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255,255,255,.55);
    color: #fff;
    font-size: 28px;
    line-height: 1;
    z-index: 5;
    cursor: pointer;
    transition: opacity .3s ease, background .2s;
    font-family: var(--font-display);
    font-weight: 900;
    opacity: 0;
    transform: translateY(-50%);
}
.cm-arrow.hint-on {
    /* ★ CSS animation で 9回点滅 (iOS Safari 確実動作) */
    animation: cm-arrow-blink 0.6s ease-in-out 9;
    animation-fill-mode: forwards;
    opacity: 1;
}
@keyframes cm-arrow-blink {
    0%, 100% { opacity: 1; transform: translateY(-50%) scale(1.1); }
    50% { opacity: 0.3; transform: translateY(-50%) scale(0.9); }
}
.cm-arrow.hint-fade {
    opacity: 0;
    pointer-events: none;
    transition: opacity .6s ease;
    animation: none;
}
.cm-arrow:hover {
    background: rgba(255,255,255,.4);
    opacity: 1 !important;
    pointer-events: auto !important;
}
.cm-frame:hover .cm-arrow {
    opacity: 0.85;
    pointer-events: auto;
}
/* タップでUI隠し */
.cm-frame.is-clean .cm-overlay,
.cm-frame.is-clean .cm-dots,
.cm-frame.is-clean .cm-mute,
.cm-frame.is-clean .cm-arrow {
    opacity: 0 !important;
    pointer-events: none !important;
    transition: opacity .25s ease;
}
.fab-stack {
    transition: opacity .7s cubic-bezier(.2,.8,.2,1), transform .7s cubic-bezier(.2,.8,.2,1);
}
body.is-cm-clean .fab-stack {
    opacity: 0 !important;
    transform: translateY(28px) scale(0.85);
    pointer-events: none !important;
}
/* ★ 画像背景廃止。お祭り感ある斜めストライプ柄（テーマカラー：黒 × 濃紫）*/
.cm-slide {
    background-color: #1A1A2E;
    background-image: repeating-linear-gradient(
        135deg,
        #1A1A2E 0px,
        #1A1A2E 18px,
        #2D1B3F 18px,
        #2D1B3F 36px
    );
    position: relative;
    overflow: hidden;
}
/* ★ cm-thumb 完全 hide: 「よくわからないフレーム」の正体（社長指摘）。
   video のみで運用、非 active は黒背景 */
.cm-thumb {
    display: none !important;
}
/* チバガレージ 3u129 本線:
   thumb (z=1) は常時表示。video (z=2) は opacity 0 デフォルト
   reveal は active video が frame 到達後（rVFC / playing）にのみ is-ready 付与
   leave で is-ready 剥奪 → opacity 0 → thumb が透けて見える（一斉hide禁止） */
/* ★ video element は display:block 維持 (iOS Safari autoplay 許可条件)
   visibility:hidden + opacity:0 で hide。GPU layer 確保で autoplay 通る */
.cm-slide .cm-video {
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: contain;
    background: transparent;
    z-index: 2;
    display: block !important;
    visibility: hidden !important;
    opacity: 0 !important;
    transition: none;
    pointer-events: none;
}
/* is-active かつ is-ready の時のみ表示 */
.cm-slide.is-active .cm-video.is-ready {
    visibility: visible !important;
    opacity: 1 !important;
}
.cm-thumb {
    object-fit: contain !important;
}
.cm-prev { left: 16px; }
.cm-next { right: 16px; }
@media (max-width: 768px) {
    .cm-arrow { width: 36px; height: 36px; font-size: 22px; top: 45%; }
    .cm-prev { left: 8px; }
    .cm-next { right: 8px; }
    .cm-dots { bottom: 32px; padding: 3px 6px; gap: 2px; }
    .cm-dots button { width: 16px; height: 16px; }
    .cm-dots button::before { width: 5px; height: 5px; }
    .cm-dots button.active::before { width: 16px; height: 5px; }
}
/* legacy .cm-video（削除済・新ルールは上の .cm-slide .cm-video で定義） */
.cm-fallback {
    position: absolute;
    inset: 0;
    z-index: 0;
}
.cm-fallback {
    background:
        radial-gradient(ellipse at center, #2D1B3F 0%, #0E0E1A 80%);
}
.cm-fallback img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    filter: brightness(0.95) saturate(1.1);
}
.cm-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background:
        linear-gradient(180deg, transparent 40%, rgba(0,0,0,.6) 100%),
        radial-gradient(ellipse at center, transparent 30%, rgba(0,0,0,.4) 100%);
    display: flex;
    align-items: flex-end;
    padding: 60px;
}
.cm-content {
    color: var(--text-light);
    max-width: 720px;
}
.cm-badge {
    display: inline-block;
    background: var(--secondary);
    color: #fff;
    padding: 6px 18px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 15px;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    animation: badgeBlink 1.4s infinite;
}
@keyframes badgeBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}
.cm-title {
    font-family: var(--font-jp);
    font-weight: 900;
    font-size: clamp(2rem, 5vw, 4rem);
    line-height: 1.2;
    margin-bottom: 12px;
    text-shadow: 0 4px 24px rgba(0,0,0,.7), 2px 2px 0 rgba(0,0,0,.3);
}
.cm-sub {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    color: var(--primary);
    letter-spacing: 0.05em;
    text-shadow: 0 2px 12px rgba(0,0,0,.6);
}
.cm-mute {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,.15);
    backdrop-filter: blur(8px);
    border: 2px solid rgba(255,255,255,.4);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all .2s var(--easing-bounce);
    z-index: 3;
}
.cm-mute:hover { background: rgba(255,255,255,.3); transform: scale(1.05); }
.cm-mute .ico-on { display: none; }
.cm-mute .ico-off { display: block; }
.cm-mute.is-on .ico-on { display: block; }
.cm-mute.is-on .ico-off { display: none; }

/* TOUR SECTION -------------------------- */
.tour {
    padding: 100px 0;
    background: var(--text-main);
    color: var(--text-light);
    position: relative;
    overflow: hidden;
}
.tour::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(254,241,1,.12), transparent 60%),
        radial-gradient(ellipse at 80% 100%, rgba(255,51,102,.12), transparent 60%);
    pointer-events: none;
}
.tour > .container { position: relative; z-index: 1; }
.tour .section-title .title-jp { color: var(--primary); }
.tour .section-title .title-en { color: rgba(255,255,255,.5); }
.tour .section-sub { color: rgba(255,255,255,.7); }
.tour .section-sub small { color: rgba(255,255,255,.4); font-size: 0.85em; }

.tour-hero {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 64px;
}
.tour-hero-img {
    position: relative;
    border: 3px solid var(--primary);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 16/10;
    background: linear-gradient(135deg, var(--primary), var(--accent-cyan));
}
.tour-hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s var(--easing);
}
.tour-hero-img:hover img { transform: scale(1.04); }
.tour-hero-img figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 20px;
    background: linear-gradient(to top, rgba(0,0,0,.8), transparent);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 13px;
    color: var(--primary);
}
.tour-hero-text { padding: 16px; }
.tour-mark {
    display: inline-block;
    font-family: var(--font-pop);
    font-size: 4rem;
    color: var(--secondary);
    line-height: 1;
    text-shadow: 4px 4px 0 var(--primary);
    margin-bottom: 12px;
}
.tour-hero-text h3 {
    font-family: var(--font-jp);
    font-weight: 900;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    color: var(--primary);
    line-height: 1.4;
    margin-bottom: 16px;
}
.tour-hero-text p {
    color: rgba(255,255,255,.85);
    line-height: 1.85;
    margin-bottom: 20px;
}
.tour-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.tour-pills li {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(254,241,1,.4);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 700;
}

.tour-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 80px;
}
.tour-item {
    position: relative;
    aspect-ratio: 4/5;
    border: 2px solid var(--primary);
    border-radius: var(--radius);
    overflow: hidden;
    transition: transform .4s var(--easing-bounce);
    background: var(--bg-alt);
}
.tour-item:hover { transform: translateY(-6px) rotate(-1deg); }
.tour-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.tour-item figcaption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 14px 16px 14px 20px;
    background: linear-gradient(to top, rgba(0,0,0,.95), transparent);
    color: #fff;
    font-weight: 800;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}
.tour-item figcaption span {
    font-family: var(--font-pop);
    color: var(--primary);
    font-size: 1.4rem;
    line-height: 1;
}

.tour-kids {
    background: var(--bg-alt);
    color: var(--text-main);
    border-radius: var(--radius-xl);
    padding: 56px;
    margin-bottom: 80px;
    border: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
}
.tour-kids::before {
    content: "★";
    position: absolute;
    top: -30px;
    right: -30px;
    font-size: 200px;
    color: var(--primary);
    opacity: 0.2;
    line-height: 1;
    transform: rotate(-15deg);
    pointer-events: none;
}
.tour-kids-head {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}
.tour-kids-head .kicker { color: var(--secondary); }
.tour-kids-head h3 {
    font-family: var(--font-jp);
    font-weight: 900;
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    margin-bottom: 12px;
}
.tour-kids-head p {
    color: var(--text-muted);
    line-height: 1.85;
}
.tour-kids-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}
.kids-item {
    aspect-ratio: 1;
    border: 3px solid var(--text-main);
    border-radius: var(--radius);
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    transition: transform .3s var(--easing-bounce);
}
.kids-item:nth-child(odd) { transform: rotate(-2deg); }
.kids-item:nth-child(even) { transform: rotate(2deg); }
.kids-item:hover { transform: rotate(0) scale(1.05); }
.kids-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.tour-parking {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
    align-items: center;
    background: var(--bg-alt);
    color: var(--text-main);
    padding: 48px;
    border-radius: var(--radius-xl);
    border: 4px solid var(--primary);
}
.parking-text .kicker { color: var(--secondary); }
.parking-text h3 {
    font-family: var(--font-jp);
    font-weight: 900;
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    margin-bottom: 12px;
}
.parking-text p {
    color: var(--text-muted);
    line-height: 1.85;
    margin-bottom: 24px;
}
.parking-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}
.parking-stats > div {
    background: var(--bg);
    border: 2px solid var(--text-main);
    border-radius: 14px;
    padding: 16px 8px;
    text-align: center;
    box-shadow: 4px 4px 0 var(--text-main);
}
.parking-stats strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--secondary);
    line-height: 1;
}
.parking-stats span {
    display: block;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: 4px;
    font-weight: 700;
}
.parking-img {
    border: 3px solid var(--text-main);
    border-radius: var(--radius-lg);
    overflow: hidden;
    aspect-ratio: 4/3;
    background: linear-gradient(135deg, #555, #888);
}
.parking-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* IMG FALLBACK (when AI image not loaded) */
img[data-fallback] {
    background: linear-gradient(135deg, rgba(254,241,1,.3), rgba(255,51,102,.3), rgba(51,204,255,.3));
}
img[data-fallback]:not([src]),
img[data-fallback].is-broken {
    /* Will be replaced by JS — see script.js */
}

/* RECRUIT BANNER ------------------------ */
.recruit-banner {
    padding: 80px 0;
    background: var(--bg);
}
.recruit-banner-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 36px 44px;
    background: var(--primary);
    border: 3px solid var(--text-main);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-brutal);
    transition: transform .3s var(--easing-bounce), box-shadow .3s var(--easing);
    text-decoration: none;
    color: var(--text-main);
    flex-wrap: wrap;
}
.recruit-banner-card:hover {
    transform: translate(-4px, -4px);
    box-shadow: var(--shadow-brutal-lg);
}
.rb-text { flex: 1; min-width: 280px; }
.rb-kicker {
    display: inline-block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 12px;
    letter-spacing: 0.2em;
    color: var(--secondary);
    margin-bottom: 8px;
}
.rb-text h2 {
    font-family: var(--font-jp);
    font-weight: 900;
    font-size: clamp(1.3rem, 2.2vw, 1.8rem);
    line-height: 1.4;
    margin-bottom: 6px;
}
.rb-text p {
    font-size: 0.95rem;
    color: var(--text-main);
    opacity: 0.75;
}
.rb-arrow {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--text-main);
    color: var(--primary);
    padding: 14px 22px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 0.05em;
    transition: gap .2s var(--easing);
}
.recruit-banner-card:hover .rb-arrow { gap: 16px; }

/* RECRUIT PAGE -------------------------- */
.recruit-page { padding-top: 0; }
.recruit-hero {
    padding: 100px 0 60px;
    background:
        radial-gradient(ellipse at 30% 30%, rgba(254,241,1,.6), transparent 60%),
        radial-gradient(ellipse at 70% 80%, rgba(51,204,255,.4), transparent 60%),
        var(--bg);
    text-align: center;
}
.recruit-h1 {
    font-family: var(--font-jp);
    font-weight: 900;
    font-size: clamp(2.4rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin: 12px 0 20px;
}
.recruit-h1 span:first-child {
    display: inline-block;
    background: var(--text-main);
    color: var(--primary);
    padding: 4px 24px;
    border-radius: 14px;
    transform: rotate(-2deg);
}
.rh1-en {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 0.4em;
    color: var(--secondary);
    letter-spacing: 0.15em;
    margin-top: 16px;
}
.recruit-lead {
    max-width: 640px;
    margin: 0 auto 40px;
    font-weight: 700;
    line-height: 1.85;
}
.recruit-stats {
    display: flex;
    justify-content: center;
    gap: 24px;
    flex-wrap: wrap;
}
.recruit-stats > div {
    background: var(--bg-alt);
    border: 3px solid var(--text-main);
    border-radius: var(--radius);
    padding: 18px 28px;
    box-shadow: 4px 4px 0 var(--text-main);
    text-align: center;
    min-width: 120px;
}
.recruit-stats strong {
    display: block;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 2rem;
    color: var(--secondary);
    line-height: 1;
}
.recruit-stats span {
    display: block;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 6px;
    font-weight: 700;
}
.recruit-cards {
    padding: 60px 0;
    background: var(--bg);
}
.recruit-back {
    padding: 40px 0 100px;
    background: var(--bg);
    text-align: center;
}
.back-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--text-main);
    border-radius: 999px;
    background: var(--bg-alt);
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 14px;
    transition: all .2s;
}
.back-link:hover {
    background: var(--text-main);
    color: var(--primary);
}

/* MOBILE NAV LANG SWITCH ---------------- */
.nav-lang-mobile {
    display: none;
}
@media (max-width: 768px) {
    .nav-lang-mobile {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 8px;
        margin-bottom: 24px;
        padding-bottom: 24px;
        border-bottom: 2px solid rgba(254,241,1,.2);
        width: 100%;
        max-width: 320px;
    }
    .nav-lang-mobile button {
        padding: 12px 8px;
        font-family: var(--font-jp);
        font-weight: 800;
        font-size: 14px;
        border: 2px solid var(--primary);
        border-radius: 14px;
        background: transparent;
        color: var(--primary);
        white-space: nowrap;
        text-align: center;
        line-height: 1.2;
    }
    .nav-lang-mobile button.active {
        background: var(--primary);
        color: var(--text-main);
    }
}

/* CONTACT LINK -------------------------- */
.contact-link {
    color: var(--secondary);
    font-weight: 800;
    text-decoration: underline;
    text-decoration-thickness: 2px;
    text-underline-offset: 4px;
}
.contact-link:hover { color: var(--text-main); }
.line-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #06C755;
    color: #fff;
    padding: 8px 16px;
    border-radius: 999px;
    text-decoration: none;
    border: 2px solid var(--text-main);
    box-shadow: 3px 3px 0 var(--text-main);
    font-weight: 800;
    font-size: 0.95rem;
    transition: transform .2s var(--easing);
}
.line-link:hover {
    color: #fff;
    transform: translate(-2px, -2px);
    box-shadow: 5px 5px 0 var(--text-main);
}
.line-link svg { display: inline-block; }

/* TILT CARD HELPER (3D effect) ---------- */
.tilt {
    transform-style: preserve-3d;
    will-change: transform;
}

/* MATSURI BANNER (お祭り感プレオープン告知) -- */
.matsuri {
    position: relative;
    background: var(--primary);
    color: var(--text-main);
    padding: 70px 20px 90px;
    overflow: hidden;
    text-align: center;
}
.matsuri::before {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(45deg, transparent 0 20px, rgba(26,26,46,0.06) 20px 24px);
    pointer-events: none;
    z-index: 0;
}
.matsuri::after {
    content: '';
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at 10% 20%, rgba(255,51,102,0.12) 0%, transparent 45%),
                radial-gradient(circle at 90% 80%, rgba(51,204,255,0.12) 0%, transparent 45%);
    pointer-events: none;
    z-index: 0;
}
.matsuri > * { position: relative; z-index: 1; }
.matsuri-lanterns {
    display: flex;
    justify-content: space-around;
    margin-bottom: 32px;
    font-size: 2.4rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}
.lantern {
    display: inline-block;
    animation: lanternSwing 3s ease-in-out infinite;
    filter: drop-shadow(2px 2px 0 rgba(0,0,0,0.2));
}
.lantern:nth-child(2) { animation-delay: 0.3s; }
.lantern:nth-child(3) { animation-delay: 0.6s; }
.lantern:nth-child(4) { animation-delay: 0.9s; }
.lantern:nth-child(5) { animation-delay: 1.2s; }
@keyframes lanternSwing {
    0%, 100% { transform: rotate(0deg) translateY(0); }
    25% { transform: rotate(4deg) translateY(-6px); }
    75% { transform: rotate(-4deg) translateY(6px); }
}

.matsuri-card {
    position: relative;
    background: #FFF;
    border: 4px solid var(--text-main);
    box-shadow: 12px 12px 0 var(--secondary);
    padding: 48px 32px 40px;
    transform: rotate(-1deg);
    max-width: 640px;
    margin: 0 auto;
    border-radius: 6px;
}
.matsuri-stamp {
    position: absolute;
    top: -28px;
    right: -18px;
    width: 96px;
    height: 96px;
    border: 4px solid var(--secondary);
    border-radius: 50%;
    background: var(--secondary);
    color: #FFF;
    font-family: var(--font-pop);
    font-size: 1.6rem;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: rotate(15deg);
    line-height: 1;
    box-shadow: 4px 4px 0 var(--text-main);
    text-align: center;
    z-index: 2;
}
.matsuri-tag {
    display: inline-block;
    background: var(--text-main);
    color: var(--primary);
    padding: 8px 22px;
    font-family: var(--font-display);
    font-size: 0.85rem;
    font-weight: 900;
    border-radius: 999px;
    margin-bottom: 20px;
    letter-spacing: 0.05em;
}
.matsuri-title {
    font-family: var(--font-jp);
    font-weight: 900;
    line-height: 1.2;
    margin-bottom: 32px;
}
.m-line-1 {
    display: block;
    background: var(--text-main);
    color: #FFF;
    padding: 12px 16px;
    font-family: var(--font-display);
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    margin-bottom: 8px;
    letter-spacing: 0.02em;
    border-radius: 6px;
}
.m-line-1 small { font-size: 0.6em; margin: 0 4px; opacity: 0.85; }
.m-line-2 {
    display: block;
    background: var(--primary);
    color: var(--text-main);
    padding: 14px 16px;
    font-size: clamp(1.5rem, 4vw, 2.4rem);
    border: 3px solid var(--text-main);
    border-radius: 6px;
    box-shadow: 4px 4px 0 var(--text-main);
    position: relative;
}
.m-bang {
    display: inline-block;
    color: var(--secondary);
    font-family: var(--font-pop);
    font-size: 1.4em;
    margin-left: 6px;
    text-shadow: 3px 3px 0 var(--text-main);
    transform: rotate(8deg);
    animation: bangBob 0.8s ease-in-out infinite;
    vertical-align: -4px;
}
@keyframes bangBob {
    0%, 100% { transform: rotate(8deg) translateY(0) scale(1); }
    50% { transform: rotate(12deg) translateY(-4px) scale(1.1); }
}

.matsuri-hours { margin: 36px 0 24px; text-align: left; }
.matsuri-hours h3 {
    font-family: var(--font-jp);
    font-weight: 900;
    margin-bottom: 14px;
    font-size: 1.1rem;
    text-align: center;
    background: var(--text-main);
    color: var(--primary);
    padding: 8px 12px;
    border-radius: 999px;
}
.matsuri-hours table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-bottom: 8px;
    border: 3px solid var(--text-main);
    border-radius: 8px;
    overflow: hidden;
}
.matsuri-hours th, .matsuri-hours td {
    padding: 12px 12px;
    text-align: left;
    border-bottom: 2px solid var(--text-main);
    vertical-align: middle;
}
.matsuri-hours tr:last-child th,
.matsuri-hours tr:last-child td { border-bottom: 0; }
.matsuri-hours th {
    background: #FFF8C7;
    font-weight: 800;
    width: 40%;
    border-right: 2px solid var(--text-main);
    font-family: var(--font-jp);
}
.matsuri-hours th small { font-size: 0.85em; font-weight: 600; }
.matsuri-hours td {
    background: #FFF;
    font-family: var(--font-display);
}
.matsuri-hours td strong { font-weight: 900; font-size: 1rem; display: inline-block; }
.hour-tag {
    display: inline-block;
    background: var(--accent-cyan);
    color: var(--text-main);
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 0.7rem;
    margin-left: 8px;
    font-weight: 900;
    letter-spacing: 0.05em;
}
.hour-tag.tag-pink { background: var(--secondary); color: #FFF; }
.reg-row th { background: var(--primary); }
.reg-row td { background: #FFF8C7; }

.matsuri-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 28px;
}
.matsuri-pills span {
    background: var(--text-main);
    color: var(--primary);
    padding: 14px 22px;
    border-radius: 999px;
    font-family: var(--font-jp);
    font-weight: 900;
    font-size: 1.1rem;
    box-shadow: 3px 3px 0 var(--secondary);
    white-space: nowrap;
}

.matsuri-confetti {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
}
.matsuri-confetti span {
    position: absolute;
    font-family: var(--font-pop);
    font-size: 1.6rem;
    color: var(--secondary);
    text-shadow: 2px 2px 0 var(--text-main);
}
.matsuri-confetti span:nth-child(1) { left: 4%; top: 12%; animation: mFloat 3s ease-in-out infinite; color: var(--secondary); }
.matsuri-confetti span:nth-child(2) { left: 12%; top: 70%; animation: mSpin 5s linear infinite; color: var(--accent-cyan); }
.matsuri-confetti span:nth-child(3) { right: 8%; top: 22%; animation: mFloat 3.5s ease-in-out infinite; color: var(--text-main); }
.matsuri-confetti span:nth-child(4) { right: 22%; bottom: 14%; animation: mFloat 2.6s ease-in-out infinite; color: var(--secondary); }
.matsuri-confetti span:nth-child(5) { left: 88%; top: 6%; animation: mSpin 4s linear infinite reverse; color: var(--text-main); }
.matsuri-confetti span:nth-child(6) { left: 50%; bottom: 6%; animation: mFloat 4.2s ease-in-out infinite; color: var(--accent-cyan); }
.matsuri-confetti span:nth-child(7) { right: 30%; top: 48%; animation: mFloat 3.2s ease-in-out infinite; color: var(--secondary); }
.matsuri-confetti span:nth-child(8) { left: 20%; top: 38%; animation: mSpin 3.5s linear infinite; color: var(--text-main); }
@keyframes mFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-18px); }
}
@keyframes mSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@media (max-width: 768px) {
    .matsuri { padding: 48px 12px 64px; }
    .matsuri-lanterns { font-size: 1.8rem; margin-bottom: 24px; }
    .matsuri-card { padding: 32px 16px 28px; box-shadow: 8px 8px 0 var(--secondary); }
    .matsuri-stamp { width: 76px; height: 76px; font-size: 1.2rem; top: -20px; right: -8px; }
    .matsuri-hours th, .matsuri-hours td { padding: 10px 8px; font-size: 0.9rem; }
    .matsuri-pills span { font-size: 0.82rem; padding: 8px 14px; }
    .matsuri-confetti span { font-size: 1.2rem; }
}
@media (max-width: 480px) {
    .matsuri-pills { flex-direction: column; align-items: stretch; }
    .matsuri-pills span { text-align: center; }
}

/* LIVE CLAW STRIP (独立クレーン帯) ---- */
.claw-strip {
    position: relative;
    height: 140px;
    background: var(--text-main);
    border-top: 4px solid var(--primary);
    border-bottom: 4px solid var(--primary);
    overflow: hidden;
}
.claw-strip::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        repeating-linear-gradient(45deg, transparent 0 30px, rgba(254,241,1,.06) 30px 60px);
    pointer-events: none;
}
.claw-strip-inner {
    position: relative;
    max-width: 1400px;
    height: 100%;
    margin: 0 auto;
    padding: 0 24px;
}
.strip-rail {
    position: absolute;
    top: 18px;
    left: 24px;
    right: 24px;
    height: 6px;
    background: var(--primary);
    border-radius: 3px;
    box-shadow: 0 3px 0 rgba(0,0,0,.3);
}
.strip-rail::before, .strip-rail::after {
    content: "";
    position: absolute;
    top: -8px;
    width: 18px;
    height: 22px;
    background: var(--primary);
    border-radius: 3px;
}
.strip-rail::before { left: -10px; }
.strip-rail::after { right: -10px; }

.strip-crane {
    position: absolute;
    top: 18px;
    left: 5%;
    width: 50px;
    animation: stripMove 8s ease-in-out infinite;
    z-index: 2;
}
@keyframes stripMove {
    0%   { left: 5%; }
    25%  { left: 60%; }
    35%  { left: 60%; }
    50%  { left: 60%; }
    60%  { left: 12%; }
    100% { left: 5%; }
}
.strip-cable {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    background: var(--primary);
    transform: translateX(-50%);
    height: 24px;
    animation: stripCable 8s ease-in-out infinite;
    transform-origin: top center;
}
@keyframes stripCable {
    0%, 22%   { height: 24px; }
    32%, 42%  { height: 70px; }
    52%, 100% { height: 24px; }
}
.strip-claw {
    position: absolute;
    top: 22px;
    left: 50%;
    width: 32px;
    height: 22px;
    transform: translateX(-50%);
    animation: stripClaw 8s ease-in-out infinite;
    z-index: 2;
}
@keyframes stripClaw {
    0%, 22%   { top: 22px; }
    32%, 42%  { top: 68px; }
    52%, 100% { top: 22px; }
}
.strip-claw .strip-arm {
    position: absolute;
    top: 0;
    width: 5px;
    height: 18px;
    background: var(--primary);
    border-radius: 2px;
    transform-origin: top center;
}
.strip-arm-l { left: 5px; transform: rotate(-25deg); animation: stripArmL 8s ease-in-out infinite; }
.strip-arm-r { right: 5px; transform: rotate(25deg); animation: stripArmR 8s ease-in-out infinite; }
@keyframes stripArmL {
    0%, 32%   { transform: rotate(-25deg); }
    36%, 50% { transform: rotate(0deg); }
    55%, 100%{ transform: rotate(-25deg); }
}
@keyframes stripArmR {
    0%, 32%   { transform: rotate(25deg); }
    36%, 50% { transform: rotate(0deg); }
    55%, 100%{ transform: rotate(25deg); }
}
.strip-grab {
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%) scale(0);
    width: 14px;
    height: 14px;
    background: var(--secondary);
    border-radius: 50%;
    box-shadow: 0 0 0 2px var(--primary), 0 0 14px rgba(255,51,102,.8);
    animation: stripGrab 8s ease-in-out infinite;
}
@keyframes stripGrab {
    0%, 36%  { opacity: 0; transform: translateX(-50%) scale(0); }
    40%, 52% { opacity: 1; transform: translateX(-50%) scale(1); }
    56%, 100%{ opacity: 0; transform: translateX(-50%) scale(0); }
}

.strip-prizes {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 220px;
    height: 60px;
}
.strip-prizes .sp {
    position: absolute;
    font-family: var(--font-pop);
    font-size: 24px;
    text-shadow: 2px 2px 0 var(--text-main);
    animation: spBob 2s ease-in-out infinite;
}
.sp-1 { left: 10px; bottom: 0; color: var(--secondary); animation-delay: 0s; }
.sp-2 { left: 60px; bottom: 0; color: var(--accent-cyan); animation-delay: -0.4s; }
.sp-3 { left: 110px; bottom: 0; color: var(--secondary); animation-delay: -0.8s; }
.sp-4 { left: 160px; bottom: 0; color: var(--primary); animation-delay: -1.2s; }
.sp-5 { left: 200px; bottom: 14px; color: var(--accent-cyan); animation-delay: -1.6s; }
@keyframes spBob {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.strip-toast {
    position: absolute;
    top: 8px;
    right: 24px;
    background: var(--secondary);
    color: #fff;
    padding: 6px 14px;
    border-radius: 999px;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 13px;
    letter-spacing: 0.05em;
    box-shadow: 3px 3px 0 var(--primary);
    display: flex;
    align-items: center;
    gap: 6px;
    opacity: 0;
    animation: toastFade 8s ease-in-out infinite;
}
@keyframes toastFade {
    0%, 38%  { opacity: 0; transform: translateY(-8px); }
    44%, 60% { opacity: 1; transform: translateY(0); }
    66%, 100%{ opacity: 0; transform: translateY(-8px); }
}
.toast-emoji { font-size: 16px; }

@media (max-width: 768px) {
    .claw-strip { height: 110px; }
    .strip-rail { top: 14px; }
    .strip-crane { top: 14px; width: 40px; }
    @keyframes stripCable {
        0%, 22%   { height: 18px; }
        32%, 42%  { height: 56px; }
        52%, 100% { height: 18px; }
    }
    @keyframes stripClaw {
        0%, 22%   { top: 16px; }
        32%, 42%  { top: 54px; }
        52%, 100% { top: 16px; }
    }
    .strip-claw { width: 26px; }
    .strip-claw .strip-arm { height: 14px; }
    .strip-prizes { width: 180px; bottom: 4px; }
    .strip-prizes .sp { font-size: 20px; }
    .sp-1 { left: 6px; }
    .sp-2 { left: 46px; }
    .sp-3 { left: 86px; }
    .sp-4 { left: 126px; }
    .sp-5 { left: 156px; bottom: 10px; }
    .strip-toast { font-size: 11px; padding: 4px 10px; right: 12px; top: 6px; }
}

/* LEGAL PAGE STYLES --------------------- */
.legal-page {
    padding: 100px 0 80px;
    background: var(--bg);
    min-height: 70vh;
}
.legal-page h1 {
    font-family: var(--font-jp);
    font-weight: 900;
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    margin-bottom: 8px;
    color: var(--text-main);
}
.legal-meta {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 32px;
    border-bottom: 2px dashed rgba(26,26,46,.15);
    padding-bottom: 12px;
}
.legal-page section { margin-bottom: 28px; }
.legal-page h2 {
    font-family: var(--font-jp);
    font-weight: 800;
    font-size: 1.15rem;
    color: var(--secondary);
    margin-bottom: 10px;
    padding-left: 12px;
    border-left: 5px solid var(--primary);
}
.legal-page p, .legal-page li { line-height: 1.85; color: var(--text-main); }
.legal-page ul { padding-left: 24px; }
.legal-page ul li { list-style: disc; margin-bottom: 4px; }
.legal-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 24px;
}
.legal-table th, .legal-table td {
    padding: 16px 14px;
    text-align: left;
    vertical-align: top;
    border-bottom: 2px dashed rgba(26,26,46,.15);
    line-height: 1.7;
}
.legal-table th {
    background: var(--primary);
    width: 200px;
    font-weight: 800;
    border-right: 2px solid var(--text-main);
}
@media (max-width: 640px) {
    .legal-table th { width: 100px; font-size: 0.85rem; }
    .legal-table th, .legal-table td { padding: 10px 8px; font-size: 0.9rem; }
}

/* CONFETTI ON CLICK --------------------- */
.confetti-piece {
    position: fixed;
    width: 12px;
    height: 12px;
    pointer-events: none;
    z-index: 9997;
    will-change: transform, opacity;
}

/* RESPONSIVE OVERRIDES (v0.2) ----------- */
@media (max-width: 1024px) {
    .tour-hero { grid-template-columns: 1fr; }
    .tour-grid { grid-template-columns: repeat(2, 1fr); }
    .tour-kids-grid { grid-template-columns: repeat(2, 1fr); }
    .tour-parking { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
    .cm-aspect { aspect-ratio: 9/15; }
    .cm-overlay { padding: 32px 20px 60px; }
    .cm-content { max-width: 100%; }
    .cm-title { font-size: clamp(1.8rem, 8vw, 2.6rem); margin-bottom: 10px; }
    .cm-sub { font-size: 1.15rem; }
    .cm-badge { font-size: 13px; padding: 5px 14px; margin-bottom: 14px; }
    .cm-mute { top: 14px; left: 14px; width: 40px; height: 40px; }
    .tour { padding: 64px 0; }
    .tour-kids { padding: 32px 20px; }
    .tour-parking { padding: 24px; }
    .recruit-banner-card { padding: 28px 24px; }
    .rb-arrow { width: 100%; justify-content: center; }
    .recruit-hero { padding: 60px 0 40px; }
    .recruit-stats { gap: 12px; }
    .recruit-stats > div { padding: 14px 18px; min-width: 100px; }
}
@media (max-width: 480px) {
    .tour-grid { grid-template-columns: 1fr; }
}
