@charset "UTF-8";

:root {
    --font-en: 'Playfair Display', serif;
    --font-jp: 'Noto Sans JP', sans-serif;
    --color-text: #050505;
    --color-accent: rgb(204, 16, 48);
    --color-sub: #555;
    --color-bg: #fdfdfd;
    --spacing-section: 150px;
}

html.lenis {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}

.lenis.lenis-scrolling iframe {
    pointer-events: none;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-jp);
    color: var(--color-text);
    background-color: var(--color-bg);
    /* Fallback behavior */
    line-height: 2;
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.05em;
    cursor: none;
    /* Hide default cursor */
    overflow-x: hidden;
    /* Fluid base font size: 16px at small screens, growing to 20px at large screens */
    font-size: clamp(1rem, 0.9rem + 0.4vw, 1.25rem);
    position: relative;
    /* Ensure stacking context */
}

/* 
   Robust Background Implementation 
   Using a pseudo-element is better for mobile "fixed" backgrounds 
   avoids jumpiness and zoom issues on iOS.
*/
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    /* Modern mobile viewport unit */
    z-index: -1;

    /* Relative path works locally AND on server if structure is maintained */
    background-image: linear-gradient(to bottom, rgba(253, 253, 253, 0.85), rgba(253, 253, 253, 0.6)), url('./images/ballet_bg.png');
    background-size: cover;
    background-position: center top;
    background-repeat: no-repeat;
    pointer-events: none;
}

/* Loader */
.loader {
    position: fixed;
    top: -10vh;
    /* Aggressively cover top rubber-band area */
    left: 0;
    width: 100%;
    height: 120vh;
    /* Fallback */
    height: 120dvh;
    /* Cover dynamic UI areas and bottom rubber-band */
    background: #000;
    color: #fff;
    z-index: 99999;
    /* Increased z-index */
    display: flex;
    justify-content: center;
    align-items: center;
    transition: transform 0.8s ease-in-out;
    /* Ensure content is centered despite the height offset */
    padding-top: 10vh;
}

/* Scroll Lock during load */
body.loading {
    overflow: hidden !important;
    height: 100vh;
    touch-action: none;
    /* Prevent touch scroll */
}

.loader.hidden {
    transform: translateY(-100%);
}

.loader-logo {
    font-family: var(--font-en);
    font-size: 2rem;
    letter-spacing: 0.2em;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    word-break: keep-all;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

/* Custom Cursor */
.cursor,
.cursor-follower {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    mix-blend-mode: exclusion;
    /* Stylish effect */
}

.cursor {
    width: 8px;
    height: 8px;
    background: #fff;
    transition: transform 0.1s;
}

.cursor-follower {
    width: 40px;
    height: 40px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.1s, top 0.1s, left 0.1s;
}

/* Main Layout */
.main-content {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 40px;
}

/* Global Header */
.global-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 30px 50px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    mix-blend-mode: exclusion;
    /* Ensures visibility on light/dark backgrounds */
    color: #fff;
    /* White effectively with exclusion blend mode */
    transition: background-color 0.3s ease, padding 0.3s ease, color 0.3s ease;
}

.global-header.scrolled {
    mix-blend-mode: normal;
    background-color: rgba(253, 253, 253, 0.5);
    /* 50% opacity as requested */
    color: #050505;
    padding-top: 20px;
    padding-bottom: 20px;
}

.header-logo {
    display: none;
    /* Requested to be removed */
    font-family: var(--font-en);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    font-weight: 600;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    gap: 40px;
}

.desktop-nav a {
    text-decoration: none;
    color: inherit;
    font-family: var(--font-en);
    font-size: 1rem;
    position: relative;
    /* transition: color 0.3s; */
}

/* Underline hover effect */
.desktop-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0%;
    height: 1px;
    background: currentColor;
    transition: width 0.3s ease;
}

.desktop-nav a:hover::after,
.desktop-nav a.active::after {
    width: 100%;
}

/* Mobile Menu Trigger */
.mobile-menu-trigger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 10001;
    /* Above overlay */
}

.mobile-menu-trigger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #fff;
    /* White for exclusion mode */
    transition: transform 0.3s, opacity 0.3s, background-color 0.3s;
}

.global-header.scrolled .mobile-menu-trigger span {
    background-color: #050505;
}

/* Mobile Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    background: #000;
    /* Dark elegant background */
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.5s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.mobile-nav ul {
    list-style: none;
    text-align: center;
}

.mobile-nav li {
    margin: 30px 0;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s, transform 0.5s;
}

.mobile-menu-overlay.active .mobile-nav li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav a {
    text-decoration: none;
    color: #fff;
    font-family: var(--font-en);
    font-size: 2rem;
}

/* Active Menu State (Trigger) */
.mobile-menu-trigger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.mobile-menu-trigger.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-trigger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* Loop for stagger delay in mobile menu */
.mobile-menu-overlay.active li:nth-child(1) {
    transition-delay: 0.1s;
}

.mobile-menu-overlay.active li:nth-child(2) {
    transition-delay: 0.2s;
}

.mobile-menu-overlay.active li:nth-child(3) {
    transition-delay: 0.3s;
}

.mobile-menu-overlay.active li:nth-child(4) {
    transition-delay: 0.4s;
}

.mobile-menu-overlay.active li:nth-child(5) {
    transition-delay: 0.5s;
}

/* Hero / Intro */
.intro-section {
    padding-top: 25vh;
    margin-bottom: var(--spacing-section);
    text-align: center;
    position: relative;
}

.page-title {
    font-family: var(--font-en);
    color: var(--color-accent);
    /* Fluid font size: 3rem -> 6rem (Reduced to prevent wrapping) */
    font-size: clamp(3rem, 6vw, 6rem);
    font-weight: 400;
    margin-bottom: 80px;
    letter-spacing: -0.02em;
    line-height: 1;
    white-space: nowrap;
}

.intro-text p {
    margin-bottom: 24px;
}

.highlight-text {
    font-size: 2rem;
    font-family: var(--font-en);
    font-style: italic;
    font-weight: 400;
}

.sub-text {
    font-size: 1.1rem;
    color: var(--color-sub);
    letter-spacing: 0.2em;
}

/* Text Reveal Animation Classes */
.char-reveal {
    display: inline-block;
    opacity: 0;
    transform: translateY(100%);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1), opacity 1s ease;
}

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

/* Class List */
.class-list {
    display: flex;
    flex-direction: column;
    gap: 120px;
    margin-bottom: var(--spacing-section);
}

.class-card {
    display: grid;
    /* Perfect center alignment: split space 50/50 */
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
    padding-bottom: 80px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    opacity: 0;
    /* JS handles reveal */
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.class-card.visible {
    opacity: 1;
    transform: translateY(0);
}

.class-header {
    text-align: right;
    position: relative;
    /* For parallax data-speed */
}

.class-name-en {
    font-family: var(--font-en);
    color: var(--color-accent);
    /* Fluid: 2.5rem -> 4.5rem */
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 400;
    line-height: 1.1;
    margin-bottom: 12px;
}

.class-name-jp {
    display: block;
    font-size: 0.9rem;
    color: var(--color-sub);
    font-weight: 300;
    letter-spacing: 0.1em;
}

.class-body {
    padding-top: 15px;
}

.class-target {
    font-size: 1rem;
    margin-bottom: 40px;
    color: var(--color-text);
    font-feature-settings: "palt";
}

/* Schedule Grid */
.schedule-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px 60px;
    margin-bottom: 40px;
}

.schedule-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.schedule-item .day {
    font-family: var(--font-en);
    font-weight: 600;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    color: var(--color-sub);
}

.schedule-item .time {
    font-size: 1.1rem;
    font-weight: 400;
}

/* Price List */
.price-list {
    margin-top: 30px;
    display: flex;
    flex-wrap: wrap;
    gap: 30px 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.03);
}

.price-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.price-item span:first-child {
    font-size: 0.8rem;
    color: var(--color-sub);
}

.price-item span:last-child {
    font-family: var(--font-jp);
    /* Changed to Sans-serif (Noto Sans JP) for readability */
    font-size: 1.3em;
    /* Slightly larger relative to base */
    font-weight: 400;
    /* Normal weight to match other text */
}

/* Trial Section */
.trial-section {
    text-align: center;
    margin-bottom: var(--spacing-section);
    opacity: 0;
    transition: opacity 1s ease;
}

.trial-section.visible {
    opacity: 1;
}

.section-title {
    font-family: var(--font-en);
    color: var(--color-accent);
    font-size: clamp(3rem, 6vw, 5.5rem);
    font-weight: 400;
    margin-bottom: 60px;
}

.trial-lead {
    font-size: 1.2rem;
    margin-bottom: 50px;
    letter-spacing: 0.2em;
}

.contact-box {
    display: inline-block;
    border: 1px solid #1a1a1a;
    padding: 50px 100px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.contact-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1a1a;
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: -1;
}

.contact-box:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.contact-box:hover {
    color: #fff;
    border-color: #1a1a1a;
}

/* Trial SNS Buttons (LINE / Instagram) */
.trial-sns {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin: 30px 0 20px;
}

.contact-box .trial-note {
    font-size: 0.85rem;
    color: var(--color-sub);
    letter-spacing: 0.05em;
    margin-bottom: 18px;
}

.contact-box:hover .trial-note {
    color: rgba(255, 255, 255, 0.75);
}

.contact-box .tel-link {
    font-size: 0.95rem;
}

/* Trial CTA Effects (申し込みの背中押し演出) */

/* Staged entrance: lead → box */
.trial-section .trial-lead {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease 0.2s, transform 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.2s;
}

.trial-section.visible .trial-lead {
    opacity: 1;
    transform: translateY(0);
}

.trial-section .contact-box {
    opacity: 0;
    transform: translateY(30px) scale(0.97);
    transition:
        opacity 0.9s ease 0.45s,
        transform 0.9s cubic-bezier(0.16, 1, 0.3, 1) 0.45s,
        color 0.4s cubic-bezier(0.16, 1, 0.3, 1),
        border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.trial-section.visible .contact-box {
    opacity: 1;
    transform: translateY(0) scale(1);
    animation: box-breathe 4.5s ease-in-out 1.5s infinite;
}

/* Soft breathing glow in accent color */
@keyframes box-breathe {

    0%,
    100% {
        box-shadow: 0 0 0 rgba(204, 16, 48, 0);
    }

    50% {
        box-shadow: 0 14px 45px rgba(204, 16, 48, 0.14);
    }
}

/* Pulse rings on SNS circles */
.trial-sns .sns-circle {
    position: relative;
}

.trial-sns .sns-circle::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50%;
    pointer-events: none;
    animation: pulse-ring 2.8s cubic-bezier(0.16, 1, 0.3, 1) infinite;
}

.trial-sns .line-circle::after {
    color: #06C755;
}

.trial-sns .insta-circle::after {
    color: #d6249f;
    animation-delay: 1.4s;
}

@keyframes pulse-ring {
    0% {
        box-shadow: 0 0 0 0 currentColor;
        opacity: 0.4;
    }

    70%,
    100% {
        box-shadow: 0 0 0 16px currentColor;
        opacity: 0;
    }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {

    .trial-sns .sns-circle::after,
    .trial-section.visible .contact-box {
        animation: none;
    }
}

/* Responsive */
/* Responsive */

/* Tablet (max-width: 1024px) */
@media (max-width: 1024px) {
    .main-content {
        padding: 0 40px;
        max-width: 100%;
    }

    .page-title {
        font-size: 4rem;
        /* Adjusted for tablet */
    }

    .class-card {
        gap: 40px;
        grid-template-columns: 200px 1fr;
        /* Slightly tighter grid */
    }

    :root {
        --spacing-section: 100px;
        /* Reduced spacing */
    }
}

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .global-header {
        padding: 20px 20px;
    }

    .desktop-nav {
        display: none;
    }

    .mobile-menu-trigger {
        display: flex;
        order: -1;
        /* Move to left side */
    }

    .main-content {
        padding: 0 20px;
    }

    .page-title {
        font-size: clamp(1.8rem, 5vw, 3rem);
        margin-bottom: 40px;
    }

    .intro-section {
        padding-top: 15vh;
        margin-bottom: 60px;
    }

    .highlight-text {
        font-size: 1.5rem;
    }

    /* Class Cards: FORCE VERTICAL STACK */
    .class-card {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch;
        /* デスクトップ用 align-items:start の打ち消し(子要素を全幅に) */
        gap: 15px;
        padding-bottom: 50px;
    }

    .class-header {
        text-align: center;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        padding-bottom: 10px;
        margin-bottom: 15px;
        width: 100%;
        display: block !important;
        /* Ensure block level */
    }

    .class-name-en {
        font-size: 2.5rem;
        line-height: 1.1;
        margin-bottom: 5px;
        display: block;
    }

    /* Class Target should be below header */
    .class-body .class-target {
        margin-top: -10px;
        /* Pull closer to header visual */
        margin-bottom: 25px;
        display: block;
        text-align: center;
    }

    /* Reset Parallax */
    .class-header,
    .intro-section {
        transform: none !important;
    }

    /* Schedule Grid: Stack items vertically */
    .schedule-grid {
        display: flex;
        flex-direction: column;
        gap: 10px;
        margin-bottom: 25px;
    }

    .schedule-item {
        display: flex;
        flex-direction: row;
        /* Day left / Time right for balanced rows */
        align-items: center;
        gap: 12px;
        width: 100%;
        border-bottom: 1px dashed rgba(0, 0, 0, 0.05);
        padding-bottom: 10px;
    }

    .schedule-item .day {
        font-size: 0.75rem;
        color: #999;
    }

    .schedule-item .time {
        font-size: 1.1rem;
        margin-left: auto;
    }

    .schedule-item .note {
        font-size: 0.8rem;
        color: var(--color-sub);
    }

    /* Price List: Stack */
    .price-list {
        display: flex;
        flex-direction: column;
        gap: 12px;
        margin-top: 10px;
        padding-top: 15px;
    }

    .price-item {
        display: flex;
        justify-content: space-between;
        align-items: center;
        width: 100%;
        font-size: 0.9rem;
    }

    .contact-box {
        padding: 30px 20px;
        width: 100%;
        border: 1px solid #1a1a1a;
    }

    .section-title {
        font-size: 2.2rem;
    }

    /* Disable Custom Cursor & Hover Effects (Touch devices) */
    .cursor,
    .cursor-follower {
        display: none !important;
    }

    body {
        cursor: auto !important;
    }

    .contact-box:hover,
    .contact-box:hover::before {
        transform: none;
        /* Disable complex hover effects */
        background: transparent;
        color: inherit;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    .page-title {
        font-size: clamp(1.3rem, 6.5vw, 2rem);
    }

    .class-name-en {
        font-size: 2rem;
    }
}

/* Touch Ripple Effect (Mobile/Tablet) */
.touch-ripple {
    position: fixed;
    top: 0;
    left: 0;
    width: 40px;
    /* Kept base size */
    height: 40px;
    border-radius: 50%;
    /* Stronger opacity: 0.4 -> 0.65 for "1.5x clearer" feel */
    background: radial-gradient(circle, rgba(204, 16, 48, 0.65) 0%, rgba(204, 16, 48, 0.0) 70%);
    transform: translate(-50%, -50%) scale(0);
    pointer-events: none;
    z-index: 100000;
    animation: ripple-anim 0.6s ease-out forwards;
    filter: blur(2px);
}

@keyframes ripple-anim {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }

    100% {
        transform: translate(-50%, -50%) scale(4);
        /* Expands significantly */
        opacity: 0;
    }
}

/* Instagram Feed Section */
.instagram-feed-section {
    padding-top: 50px;
    margin-bottom: var(--spacing-section);
    text-align: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.5s;
}

.section-desc {
    font-size: 1rem;
    color: var(--color-sub);
    margin-bottom: 40px;
    letter-spacing: 0.1em;
}

.instagram-frame-wrapper {
    max-width: 900px;
    margin: 0 auto;
    border: 1px solid rgba(0, 0, 0, 0.05);
    /* Subtle frame */
    padding: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.instagram-link-container {
    margin-top: 50px;
}

.instagram-btn,
.map-route-btn {
    display: inline-block;
    padding: 15px 40px;
    border: 1px solid var(--color-text);
    text-decoration: none;
    color: var(--color-text);
    font-family: var(--font-en);
    font-size: 1rem;
    letter-spacing: 0.1em;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.map-route-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-jp);
    font-size: 0.95rem;
}

.route-icon {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.route-btn-note {
    font-size: 0.8rem;
    color: var(--color-sub);
    letter-spacing: 0.05em;
    margin-top: 14px;
}

.instagram-btn::before,
.map-route-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0%;
    height: 100%;
    background: var(--color-text);
    transition: width 0.3s ease;
    z-index: -1;
}

.instagram-btn:hover,
.map-route-btn:hover {
    color: #fff;
}

.instagram-btn:hover::before,
.map-route-btn:hover::before {
    width: 100%;
}

.route-btn-container {
    margin-top: 50px;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .instagram-grid {
        grid-template-columns: repeat(2, 1fr);
        /* 2 columns on tablet */
    }

    .instagram-scroll-area {
        height: 500px;
    }
}

@media (max-width: 480px) {
    .instagram-grid {
        grid-template-columns: 1fr;
        /* 1 column on mobile */
    }

    .instagram-frame-wrapper {
        padding: 10px;
    }

    .instagram-scroll-area {
        height: 400px;
    }
}

/* Generic Fade Up (Scroll Reveal via IntersectionObserver) */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Access Page */
.access-info-section {
    margin-bottom: var(--spacing-section);
}

.map-wrapper {
    border: 1px solid rgba(0, 0, 0, 0.05);
    padding: 20px;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    margin-bottom: 60px;
}

.map-wrapper iframe {
    display: block;
    width: 100%;
}

.access-details {
    max-width: 700px;
    margin: 0 auto;
}

.detail-item {
    display: grid;
    grid-template-columns: 140px 1fr;
    gap: 20px;
    align-items: baseline;
    padding: 25px 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-item:first-child {
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.detail-label {
    font-size: 0.85rem;
    color: var(--color-sub);
    letter-spacing: 0.2em;
}

.detail-value {
    font-size: 1.05rem;
}

/* Phone number link (Access details / Trial contact box) */
.tel-link {
    color: inherit;
    text-decoration: none;
    border-bottom: 1px solid currentColor;
    padding-bottom: 2px;
    transition: color 0.3s ease;
}

.tel-link:hover {
    color: var(--color-accent);
}

@media (max-width: 768px) {
    .map-wrapper {
        padding: 10px;
        margin-bottom: 40px;
    }

    .map-wrapper iframe {
        height: 350px;
    }

    .detail-item {
        grid-template-columns: 1fr;
        gap: 4px;
        padding: 18px 5px;
    }
}

/* About Page */
.about-story {
    max-width: 900px;
    margin: 0 auto var(--spacing-section);
    text-align: center;
}

.story-grid {
    display: grid;
    grid-template-columns: 2fr 3fr;
    gap: 60px;
    align-items: center;
    text-align: left;
}

.story-photo {
    margin: 0;
    padding: 15px;
    background: #fff;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.story-photo img {
    display: block;
    width: 100%;
    height: auto;
}

.about-body p {
    margin-bottom: 2em;
    font-feature-settings: "palt";
}

.about-body p:last-child {
    margin-bottom: 0;
}

@media (max-width: 768px) {
    .about-story {
        margin-bottom: 80px;
    }

    .story-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .story-photo {
        max-width: 300px;
        margin: 0 auto;
        padding: 10px;
    }
}

/* Global Footer */
.global-footer {
    background: #0a0a0a;
    color: #fff;
    padding: 50px 20px 25px;
    text-align: center;
}

.footer-logo {
    font-family: var(--font-en);
    font-size: 1.3rem;
    letter-spacing: 0.15em;
    margin-bottom: 8px;
}

.footer-address {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 0.1em;
    margin-bottom: 30px;
}

.footer-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-bottom: 35px;
}

.footer-sns {
    display: flex;
    justify-content: center;
    gap: 24px;
}

.sns-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-decoration: none;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.sns-circle:hover {
    opacity: 0.85;
    transform: translateY(-3px);
}

.line-circle {
    background: #06C755;
    /* LINE brand green */
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 0.02em;
}

.insta-circle {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
}

.insta-circle svg {
    width: 24px;
    height: 24px;
}

.footer-tel-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: #fff;
    text-decoration: none;
    padding: 12px 32px;
    border-radius: 999px;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    transition: background 0.3s ease, color 0.3s ease;
}

.footer-tel-btn:hover {
    background: #fff;
    color: #0a0a0a;
}

.footer-copyright {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 0.15em;
    font-family: var(--font-en);
}

@media (max-width: 768px) {
    .global-footer {
        padding: 40px 20px 20px;
    }

    .footer-cta {
        gap: 18px;
        margin-bottom: 30px;
    }
}