@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@400;500;700&family=Shippori+Mincho:wght@400;700&family=Hannari&display=swap');

:root {
    --primary: #7d91ff;
    --primary-light: #f0f4ff;
    --primary-dark: #D66F6F;
    --accent: #6c5ce7;
    --accent-light: #a29bfe;
    --text: #2c3e50;
    --text-light: #576574;
    --bg: #ffffff;
    --bg-alt: #f8faff;
    --white: #ffffff;
    --starry-blue: #0b132b;
    --font-serif: 'Shippori Mincho', serif;
    --font-sans: 'Noto Sans JP', sans-serif;
    --transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background-color: var(--bg);
    line-height: 1.8;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

h1, h2, h3, h4, .serif {
    font-family: var(--font-serif);
    font-weight: 700;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 120px 0;
}

/* --- Starry Decoration Elements --- */
.starry-strip {
    background-image: url('../img/starry_bg.png');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.starry-strip::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to top, var(--bg), transparent);
}

.starry-strip-top::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100px;
    background: linear-gradient(to bottom, var(--bg), transparent);
}

/* --- Header --- */
header {
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(15px);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 4px 30px rgba(0,0,0,0.03);
    display: flex;
    align-items: center;
}

header .container {
    max-width: 1600px;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo h1 {
    font-size: 1.6rem;
    color: var(--primary-dark);
    letter-spacing: 0.15em;
    background: linear-gradient(45deg, var(--primary-dark), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-desktop {
    display: flex;
    gap: 40px;
    font-weight: 500;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.nav-desktop a {
    font-size: 16px;
}

.nav-desktop a {
    font-size: 16px;
}

.nav-desktop a:hover {
    color: var(--primary);
}

.header-social-wrap {
    display: flex;
    gap: 12px;
}

.btn-instagram-sm, .btn-threads-sm, .btn-line-sm {
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 700;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    min-width: 90px; /* Force same width */
    text-align: center;
}

.btn-instagram-sm {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    color: white;
}

.btn-threads-sm {
    background: white;
    color: black;
    border: 1px solid black;
}

.btn-line-sm {
    background-color: #06C755;
    color: white;
    border: none;
}

.btn-instagram-sm:hover, .btn-threads-sm:hover, .btn-line-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

/* --- Hero Split --- */
.hero-split {
    height: 100vh;
    min-height: 700px;
    position: relative;
    overflow: hidden;
    background: #000;
}

.hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.15);
    transition: opacity 2.5s ease-in-out, transform 10s ease-out;
    z-index: 1;
    overflow: hidden;
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.0);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.hero-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 20;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 900px;
}

.logo-box-wrap {
    text-align: center;
}

/* --- Custom Typographic Logo --- */
.custom-logo {
    position: relative;
    width: 400px;
    height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

/* Restored Watercolor Splash - Matching original color tones */
.custom-logo::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 320px;
    height: 320px;
    /* Soft Reddish Palette matching brand color #D66F6F */
    background: radial-gradient(circle, rgba(214, 111, 111, 0.85) 0%, rgba(214, 111, 111, 0.6) 45%, transparent 75%);
    filter: blur(20px);
    z-index: -1;
    border-radius: 50%;
    animation: splashPulse 8s ease-in-out infinite;
}
    50% { transform: translate(-50%, -50%) scale(1.08); opacity: 0.7; }
}

.logo-new-wrap {
    display: flex;
    flex-direction: column;
    align-items: center; /* Changed from flex-start to center */
    justify-content: center;
    gap: 0;
    width: fit-content;
    margin: 0 auto;
}

.logo-line-1, .logo-line-2, .logo-line-3 {
    color: var(--white);
    font-family: 'Hannari', serif;
    text-shadow: 0 4px 15px rgba(0,0,0,0.3);
    line-height: 1.1;
    display: block;
}

.logo-line-1, .logo-line-3 {
    font-size: 5rem;
}

.logo-line-2 {
    font-size: 4.5rem;
    margin-left: 0; /* Removed indentation */
    margin-top: -10px;
    margin-bottom: -10px;
}

@media (max-width: 768px) {
    .logo-line-1, .logo-line-3 { font-size: 3.5rem; }
    .logo-line-2 { font-size: 3rem; margin-left: 0; }
}

.slogan-txt {
    font-family: 'Hannari', serif;
    color: #ffffff;
    font-size: 1.8rem;
    letter-spacing: 0.5em;
    text-shadow: 0 4px 15px rgba(0,0,0,0.8);
    font-weight: 400;
    margin-top: 20px;
}



@media (max-width: 992px) {
    .hero-split {
        flex-direction: column;
    }
    .split-left, .split-right {
        flex: 1;
        width: 100%;
    }
    .logo-box {
        padding: 40px;
    }
    .logo-box img {
        max-width: 200px;
    }
    .slogan-txt {
        font-size: 1.2rem;
    }
    .hand-ill {
        width: 150px;
    }
}

/* --- Section Title --- */
.section-title {
    text-align: center;
    margin-bottom: 80px;
}

.section-title > span {
    color: #fbc02d;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.4em;
    display: block;
    margin-bottom: 20px;
    -webkit-text-stroke: 0.5px black;
}

.section-title h2 {
    font-size: 2.8rem;
    color: #d66f6f;
}

/* --- Feature Cards (Blue-white style from image) --- */
.feature-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 30px;
    text-align: center;
    border: 2px solid var(--primary-light);
    transition: var(--transition);
}

.feature-card:hover {
    border-color: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(125, 145, 255, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 15px rgba(125, 145, 255, 0.2));
}

/* --- About Row (Rounded Images from image) --- */
.about-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

.about-img {
    flex: 1;
    position: relative;
}

.about-img img {
    border-radius: 50% 50% 50% 50% / 30% 30% 70% 70%;
}

.about-content h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
    color: var(--primary-dark);
}

/* --- Customer Reviews List --- */
.features-grid {
    display: flex;
    flex-direction: column;
    gap: 50px;
    max-width: 800px;
    margin: 0 auto;
}

/* --- Case Studies --- */
.cases-item {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    border: 1px solid var(--primary-light);
    transition: 1.5s cubic-bezier(0.19, 1, 0.22, 1); /* Slower animation */
}

.cases-item:hover {
    background: var(--primary-light);
    border-color: var(--primary);
}

/* --- Service Redesign --- */
#service {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%) !important;
    position: relative;
    z-index: 1;
}

#service::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 2%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(125, 145, 255, 0.15) 0%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
    pointer-events: none;
}

#service::after {
    content: '';
    position: absolute;
    bottom: 5%;
    right: 2%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(214, 111, 111, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.service-item {
    display: flex;
    align-items: center;
    gap: 60px;
    margin-bottom: 100px;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 60px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.8);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04);
    position: relative;
    transition: var(--transition);
}

.service-item:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.8);
    box-shadow: 0 30px 70px rgba(125, 145, 255, 0.12);
}


.service-item:last-child {
    margin-bottom: 0;
}

.service-item.service-reverse {
    flex-direction: row-reverse;
}

.service-img-wrap {
    flex: 1;
    position: relative;
    z-index: 2;
}

.service-img-wrap img {
    width: 100%;
    max-width: 450px;
    aspect-ratio: 1/1;
    height: 500px;
    object-fit: cover;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
}

.service-content-wrap {
    flex: 1;
}

.service-num {
    font-size: 8rem;
    position: absolute;
    top: -40px;
    right: 20px;
    color: rgba(125, 145, 255, 0.05);
    font-weight: 900;
    line-height: 1;
    z-index: -1;
    font-family: var(--font-serif);
    user-select: none;
    transition: var(--transition);
    color: #58A24F;
    font-weight: 700;
    margin-bottom: 20px;
    display: block;
    letter-spacing: 0.1em;
}

.service-content-wrap h3 {
    font-size: 2rem;
    margin-bottom: 25px;
    line-height: 1.4;
    position: relative;
}

.service-content-wrap h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 3px;
    background: var(--primary);
    border-radius: 3px;
}

.service-reverse .service-content-wrap h3::after {
    left: auto;
    right: 0;
}

.service-reverse .service-content-wrap {
    text-align: right;
}

.service-reverse .service-num {
    left: 20px;
    right: auto;
}

.service-content-wrap-h3-placeholder {
    color: var(--primary-dark);
    margin-bottom: 30px;
    line-height: 1.4;
}

.service-content-wrap p {
    font-size: 1rem;
    line-height: 2;
    color: var(--text-light);
    text-align: justify;
}

/* CTA banner removed brush styles */

/* --- CTA Banner (Starry) --- */
.cta-banner {
    background-image: url('../img/starry_bg.png');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    color: var(--white);
    text-align: center;
    position: relative;
}

.cta-banner.teal-fade-bg {
    background-image: none;
}

.cta-banner::before, .cta-banner::after {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100px;
}

.cta-banner::before {
    top: 0;
    background: linear-gradient(to bottom, var(--bg), transparent);
}

.cta-banner::after {
    bottom: 0;
    background: linear-gradient(to top, var(--bg), transparent);
}

.cta-button {
    background: var(--white);
    color: var(--primary-dark);
    padding: 20px 60px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
    margin-top: 40px;
}

/* --- Footer (Light Blue from image) --- */
footer {
    background: #f0f4ff;
    padding: 80px 0 40px;
    color: var(--text);
}

.footer-bottom {
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid rgba(125, 145, 255, 0.2);
    text-align: center;
    font-size: 0.9rem;
    color: #62B0B4;
    opacity: 0.7;
}

.reveal {
    opacity: 1; /* Changed to 1 to prevent vanishing */
    transform: translateY(0);
    transition: 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.pc-br {
    display: block;
}

@media (max-width: 992px) {
    .pc-br {
        display: none;
    }
}

.sp-only {
    display: none;
}

.sp-indent {
    display: inline;
}

@media (max-width: 992px) {
    .sp-only {
        display: block;
    }
    .sp-indent {
        display: block;
        padding-left: 1.2em;
    }
}

@media (max-width: 992px) {
    .about-row, .service-item {
        flex-direction: column !important;
        gap: 50px;
    }
    
    .service-img-wrap {
        width: 100% !important;
        max-width: 400px !important; /* Standardized container width */
        margin: 0 auto 30px !important;
    }

    .service-img-wrap img {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 1 / 1 !important; /* Force identical square proportions */
        object-fit: cover !important;
        display: block !important;
        border-radius: 50% 50% 50% 50% / 40% 40% 60% 60% !important;
    }
    
    .service-content-wrap h3 {
        font-size: 1.8rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }
    .md-hidden {
        display: block !important;
    }
}

/* --- Starry Background for sections --- */
.starry-bg {
    background-image: url('../img/starry_bg.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.starry-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7); /* Light overlay to keep text readable */
    z-index: 1;
}

.soft-purple-bg {
    background-color: #f6f4ff;
}

.proper-ash-bg {
    background-color: #e0e0e0 !important;
    position: relative !important;
}

.proper-ash-bg::before {
    display: none !important;
}

.proper-ash-bg .container {
    position: relative !important;
    z-index: 2 !important;
}

.starry-bg .container {
    position: relative;
    z-index: 2;
}

/* --- Teal Fade Background --- */
.teal-fade-bg {
    background-color: #62B0B4;
    position: relative;
    overflow: hidden;
}

.teal-fade-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, 
        rgba(255, 255, 255, 0.2) 0%, 
        transparent 25%, 
        transparent 75%, 
        rgba(255, 255, 255, 0.2) 100%);
    pointer-events: none;
    z-index: 1;
}

.teal-fade-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    box-shadow: inset 0 0 150px rgba(255, 255, 255, 0.15);
    pointer-events: none;
    z-index: 1;
}

.teal-fade-bg .container {
    position: relative;
    z-index: 2;
}

.teal-fade-bg .section-title > span {
    color: #fbc02d !important;
}

.teal-fade-bg .section-title h2 {
    color: white !important;
}

.teal-fade-bg .section-title h2 {
    text-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* --- Reiki Section Custom Image --- */
.abt-img-center {
    margin-bottom: 30px;
}

.abt-img-center img {
    width: 100%;
    max-width: 700px; /* Increased for better visual impact */
    height: auto;
    border-radius: 60% 40% 60% 40% / 40% 60% 40% 60%; /* Organic shape */
    box-shadow: 0 10px 30px rgba(125, 145, 255, 0.2);
    display: block;
}

@media (max-width: 768px) {
    .abt-img-center img {
        max-width: 100%;
    }
}

/* --- Menu Grid Redesign --- */
.menu-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.menu-column {
    background: rgba(255, 255, 255, 0.8);
    border-radius: 30px;
    overflow: hidden;
    transition: var(--transition);
    border: 1px solid var(--primary-light);
    text-align: center;
    padding-bottom: 30px;
}

.menu-column:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(125, 145, 255, 0.2);
    background: var(--white);
    border-color: var(--primary); /* Lighting effect on hover */
}

.menu-img-wrap {
    width: 100%;
    height: 350px; /* Increased size */
    overflow: hidden;
    padding: 20px;
}

.menu-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50% 50% 50% 50% / 40% 40% 60% 60%;
}

.menu-item-info {
    padding: 0 20px;
}

.menu-item-info h4 {
    font-size: 1.2rem;
    margin: 15px 0 10px;
    color: #62B0B4;
}

.menu-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent);
    margin-bottom: 10px;
}

.menu-item-info p {
    font-size: 0.85rem;
    color: var(--text-light);
    line-height: 1.6;
}

@media (max-width: 992px) {
    .menu-grid {
        grid-template-columns: 1fr;
    }
}


body {
    font-family: var(--font-sans);
    color: var(--text);
    background-color: #f6f4ff; /* Updated to soft purple */
    line-height: 1.8;
    overflow-x: hidden;
}

/* --- Global CTA Section --- */
.global-cta {
    background: #D66F6F;
    padding: 25px 0; /* Slimmed height */
    color: var(--white);
}

.global-cta-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 60px;
}

.cta-text h2 {
    font-size: 2rem; /* Slightly smaller for slim height */
    color: var(--white);
    margin: 0;
}

.cta-buttons {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
}

.btn-soft-purple, .btn-instagram, .btn-threads, .btn-line {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 25px; /* Slimmer buttons */
    border-radius: 12px;
    transition: var(--transition);
    min-width: 180px;
    text-align: center;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(125, 145, 255, 0.15); /* Added shadow for better visibility */
}

.btn-soft-purple {
    background-color: #ffffff;
    color: #58A24F;
    border: 1px solid #000000;
}

.btn-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    color: var(--white);
}

.btn-threads {
    background-color: #ffffff;
    color: #000000;
    border: 1px solid #000000;
}

.btn-soft-purple:hover, .btn-instagram:hover, .btn-threads:hover, .btn-line:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

.btn-line {
    background-color: #06C755;
    color: #ffffff;
    border: none;
    transform: translateY(-2px);
    box-shadow: 0 5px 10px rgba(0,0,0,0.1);
}

/* --- Footer Refinement --- */
footer {
    padding: 60px 0 30px;
    background: #ffffff;
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(125, 145, 255, 0.2);
}

.footer-nav-list {
    display: flex;
    gap: 30px;
    font-weight: 500;
    font-size: 0.9rem;
}

@media (max-width: 992px) {
    .footer-top {
        flex-direction: column !important;
        gap: 30px;
        text-align: center;
    }

    .footer-nav-list {
        display: grid !important;
        grid-template-columns: repeat(6, 1fr);
        gap: 20px 10px;
        width: 100%;
        max-width: 400px;
        margin: 0 auto;
    }

    .footer-nav-list a {
        font-size: 0.85rem;
    }

    /* First 3 items take 2 units each (1/3 of row) */
    .footer-nav-list a:nth-child(1),
    .footer-nav-list a:nth-child(2),
    .footer-nav-list a:nth-child(3) {
        grid-column: span 2;
    }

    /* Last 2 items take 3 units each (1/2 of row) */
    .footer-nav-list a:nth-child(4),
    .footer-nav-list a:nth-child(5) {
        grid-column: span 3;
    }
}


/* --- Hamburger Button --- */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1000;
}

.hamburger-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--primary-dark);
    transition: 0.3s;
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}
.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}
.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- Mobile Nav Overlay --- */
.nav-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--white);
    z-index: 900;
    display: flex;
    justify-content: center;
    align-items: center;
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-mobile-overlay.active {
    transform: translateX(0);
}

.nav-mobile-inner {
    text-align: center;
    width: 100%;
    padding: 20px;
}

.nav-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.mobile-link {
    font-size: 1.2rem;
    font-weight: 700;
    color: #2C3E50; /* Dark Navy for high contrast */
    transition: color 0.3s ease;
}

.mobile-link:active, .mobile-link:hover {
    color: #62B0B4; /* Updated touch state color */
}

.nav-mobile-cta {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.nav-phone-btn {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent);
}

.btn-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #D66F6F !important; /* Updated to correct red color */
    color: #fff !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 11px;
    font-weight: 700;
    line-height: 1.1;
    z-index: 1500;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: var(--transition);
    text-align: center;
    padding: 0;
}

.btn-top:hover {
    transform: translateY(-5px);
    background-color: #c05f5f;
    color: #fff;
}

/* --- Responsive Adjustments --- */
@media (max-width: 992px) {
    header {
        height: 70px;
    }

    .header-inner {
        justify-content: center; /* Center everything in header for SP */
        position: relative;
    }

    .logo {
        margin: 0 auto;
    }
    
    .nav-desktop, .nav-btn-purple.md-hidden {
        display: none !important;
    }
    
    .hamburger-btn {
        display: flex;
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
    }

    section {
        padding: 80px 0;
    }

    /* Recommend Section SP Font Fix */
    #recommend .section-title h2 {
        font-size: 1.5rem;
    }

    /* First View Mobile - Match PC Layout */
    .hero-split {
        height: 100vh; /* Stay full height */
        min-height: 500px;
        padding-top: 0;
    }

    .hero-slides {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.15);
    transition: opacity 2.5s ease-in-out, transform 10s ease-out;
    z-index: 1;
    overflow: hidden;
    will-change: opacity, transform;
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1.0);
    z-index: 2;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 5;
}

.hero-container {
        position: absolute;
        top: auto; /* Moved to bottom */
        bottom: 8%;
        left: 50%;
        transform: translateX(-50%);
        padding: 0;
        background: none;
        width: 90%;
        text-align: center;
    }

    .custom-logo {
        transform: scale(0.65); /* Scale down for SP */
        margin-bottom: -40px; /* Pull up slogan */
    }

    .slogan-txt {
        color: var(--white);
        font-size: 0.95rem;
        letter-spacing: 0.1em;
        text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    }

    /* Standardize Japanese Headings SP */
    .section-title h2 {
        font-size: 1.4rem !important;
        letter-spacing: 0.05em;
    }

    /* Specific Menu SP Typography */
    .menu-more-btn {
        font-size: 0.85rem;
        width: 220px;
    }
    
    /* 闕ｳﾂ騾｡・ｪ郢ｧ・ｪ郢ｧ・ｹ郢ｧ・ｹ郢晢ｽ｡邵ｺ・ｮ郢晢ｽ｡郢昜ｹ斟礼ｹ晢ｽｼ font size */
    #recommend-course h2 {
        font-size: 1.2rem !important; /* Extremely small to fit 1 line */
        margin: 10px 0 !important;
    }
    
    /* 邵ｲ闊娯凰邵ｺ蜷ｶ笘・ｹｧ竏壹＆郢晢ｽｼ郢ｧ・ｹ邵ｲ繝ｻsp size */
    #recommend-course h3 {
        font-size: 1.0rem !important;
        margin-bottom: 10px !important;
    }

    /* Recommend Section SP (Image top, text bottom) */
    .about-row.sp-img-top {
        display: flex !important;
        flex-direction: column-reverse !important;
        gap: 30px;
    }

    /* Message Section SP (Image top, text bottom) */
    .about-row.sp-reverse {
        display: flex !important;
        flex-direction: column !important; /* Image on top, text below */
        gap: 30px;
    }

    /* Staff Section PC/SP Ordering */
    .profile-row {
        gap: 50px !important;
    }

    @media (max-width: 992px) {
        .profile-row {
            display: grid !important;
            grid-template-columns: 1fr;
            gap: 30px !important;
        }
        .profile-row .about-content {
            display: contents;
        }
        .profile-row .section-title {
            order: -2;
            text-align: center !important;
            margin-bottom: 20px !important;
        }
        .profile-row .about-img {
            display: none !important; /* Image removed on SP as requested */
        }
        .profile-row .about-text-only {
            order: 0;
            text-align: center;
        }
    }

    .about-row {
        flex-direction: column !important;
        gap: 40px;
    }

    /* Fullscreen Map SP */
    #access {
        padding-bottom: 0 !important;
    }
    
    #access .container {
        padding-bottom: 0 !important;
    }

    #access .about-row {
        gap: 0;
    }

    #access .about-img {
        width: 100vw !important;
        max-width: none !important;
        margin-left: -20px !important;
        margin-right: -20px !important;
        height: 350px !important;
        border-radius: 0 !important;
        box-shadow: none !important;
    }

    /* Staff Section Image Fix */
    #profile .about-img img {
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
    }

    /* Global CTA SP */
    .global-cta {
        padding: 40px 0;
    }

    .global-cta-inner {
        flex-direction: column !important;
        text-align: center;
        gap: 25px;
    }

    .cta-text h2 {
        font-size: 1.5rem;
    }

    .cta-buttons {
        flex-direction: column !important;
        align-items: center;
        width: 100%;
        gap: 15px;
    }

    .btn-soft-purple, .btn-instagram, .btn-threads, .btn-line {
        width: 100% !important;
        max-width: 320px !important;
        height: 55px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
    }
    
    /* Menu Grid SP */
    .menu-grid {
        grid-template-columns: 1fr;
    }
}


/* --- New Navbar Button --- */
.nav-btn-purple {
    background-color: #6c5ce7; /* Accent color */
    color: var(--white); /* White text */
    padding: 10px 30px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 4px 15px rgba(108, 92, 231, 0.2);
    transition: var(--transition);
    min-width: 160px;
    text-align: center;
}

.nav-btn-purple:hover {
    transform: translateY(-2px);
    filter: brightness(1.1);
    box-shadow: 0 8px 20px rgba(108, 92, 231, 0.3);
}

/* --- Menu More Button --- */
.menu-more-btn {
    background-color: #6c5ce7;
    color: var(--white);
    padding: 18px 0; /* Increased height */
    width: 250px;
    border-radius: 50px;
    font-weight: 700;
    transition: var(--transition);
    display: block; /* Required for auto margin centering */
    margin: 40px auto 0; /* Centered horizontally */
    box-shadow: 0 5px 15px rgba(108, 92, 231, 0.3);
    font-size: 1rem;
    line-height: 1;
    text-align: center;
}

.menu-more-btn:hover {
    transform: translateY(-3px);
    filter: brightness(1.15); /* Lighting effect */
    box-shadow: 0 12px 25px rgba(108, 92, 231, 0.5);
}

/* --- Footer Brand Match --- */
.footer-logo h2 {
    font-size: 1.6rem;
    letter-spacing: 0.15em;
    background: linear-gradient(45deg, var(--primary-dark), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* --- Access 50/50 Split (PC) --- */
#access .about-content, #access .about-img {
    flex: 1; /* Enforce 50/50 on PC */
}

/* --- Best Recommend Stable Box --- */
.recommend-box {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 50px 40px;
    border-radius: 40px;
    display: inline-block;
    margin: 40px auto;
    max-width: 700px;
    width: 95%;
    text-align: center;
    border: 2px solid var(--primary-dark);
    box-shadow: 0 20px 40px rgba(214, 111, 111, 0.1);
}

.recommend-box h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #d66f6f;
}

.recommend-box .course-desc {
    font-size: 1.2rem;
    margin-bottom: 5px;
    color: #333;
}

.recommend-box .price-box {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 0px;
}

.recommend-box .old-price {
    text-decoration: line-through;
    font-size: 1.2rem;
    opacity: 0.7;
    margin-right: 15px;
}

.recommend-box .new-price {
    color: #58A24F;
}

.recommend-box .promo-badge {
    background: var(--white);
    color: var(--accent);
    display: inline-block;
    padding: 5px 20px;
    border-radius: 10px;
    font-weight: 700;
    margin-bottom: 25px;
}

.recommend-box .sub-text {
    font-size: 1rem;
    opacity: 0.9;
    margin-top: 0px;
    margin-bottom: 0px;
}

@media (max-width: 992px) {
    .recommend-box .course-desc {
        font-size: 1rem !important;
    }
}

/* --- Message Section Refinements --- */
#message .about-content {
    flex: 1.5;
    text-align: left;
}

#message .about-img {
    flex: 1;
}

#message .about-img img {
    max-width: 320px;
    width: 100%;
    margin: 0 auto;
    border-radius: 60% 40% 60% 40% / 40% 60% 40% 60%;
}

@media (min-width: 993px) {
    #message .about-img img {
        margin-left: auto;
        margin-right: 0;
    }
}

@media (max-width: 992px) {
    #about .about-content {
        text-align: left !important;
    }
    #message .about-content {
        text-align: left !important;
    }

    .btn-top {
        bottom: 100px !important; /* Raised position for SP */
        right: 20px !important;
    }

    .access-cta {
        display: flex !important;
        flex-direction: row !important;
        justify-content: center !important;
        gap: 15px !important;
        width: 100% !important;
        max-width: 500px !important;
        margin: 30px auto 40px !important;
    }

    .access-cta a {
        flex: 1 !important;
        width: auto !important;
        padding: 10px !important;
        font-size: 0.8rem !important;
    }
}

.access-cta {
    margin-top: 30px;
}

.access-table td {
    text-align: left;
    padding: 15px 10px;
}

.access-table td a {
    color: #2C3E50;
    font-weight: 700;
}

/* --- Features Columns Redesign --- */
.features-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.feature-col {
    background: rgba(255, 255, 255, 0.9);
    padding: 50px 30px;
    border-radius: 25px;
    text-align: center;
    border: 1px solid var(--primary-light);
    box-shadow: 0 15px 35px rgba(125, 145, 255, 0.05);
    transition: var(--transition);
}

.feature-col:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 45px rgba(125, 145, 255, 0.1);
    background: #ffffff;
}

.feature-num {
    font-size: 2.2rem;
    color: #58A24F;
    font-weight: 700;
    display: block;
    margin-bottom: 20px;
}

.feature-col h4 {
    font-size: 1.25rem;
    color: #2C3E50;
    line-height: 1.4;
}

@media (max-width: 992px) {
    .features-columns {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .about-row, #message-row {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
    }
    
    .about-img {
        order: 1 !important;
        width: 100% !important;
        margin-bottom: 30px !important;
        display: flex;
        justify-content: center;
    }
    
    .about-content {
        order: 2 !important;
        width: 100% !important;
        text-align: left !important;
    }

    .sp-reverse {
        flex-direction: column !important;
    }

    .logo h1 {
        font-size: 1.1rem !important;
        letter-spacing: 0.05em !important;
        white-space: nowrap;
        text-align: left !important;
    }
    
    .hero-slide {
        flex-direction: column;
    }

    .split-left, .split-right {
        width: 100% !important;
        height: 50% !important;
        flex: none !important;
    }

    .hero-container {
        padding: 0 20px;
        width: 90%;
    }
    
    .header-inner {
        padding: 0 15px;
        justify-content: flex-start !important;
        gap: 15px;
    }
    
    .nav-desktop, .header-social-wrap {
        display: none !important;
    }
}

.about-row {
    display: flex;
    align-items: center;
    gap: 80px;
}

#message-row {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    gap: 80px;
}

/* --- About Section Refining --- */
.about-title {
    text-align: center !important;
}

.about-title span {
    display: block;
    font-size: 0.8em;
    margin-top: 10px;
    color: white !important;
}

.content-heading {
    font-size: 16px;
    font-weight: bold;
    color: var(--primary-dark); /* Specific teal color */
    margin-bottom: 15px;
}

@media (max-width: 768px) {
    .content-heading .sp-br {
        display: block;
        margin-top: 5px;
    }
}

/* --- Hamburger & Close Button --- */
.mobile-close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 50px;
    color: #ff0000;
    background: none;
    border: none;
    cursor: pointer;
    line-height: 1;
    z-index: 2100;
    display: none;
}

.nav-mobile-overlay.active .mobile-close-btn {
    display: block;
}

/* --- Hamburger Button --- */
.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 2000;
}

@media (max-width: 992px) {
    .hamburger-btn {
        display: flex;
    }
}

.hamburger-btn span {
    width: 100%;
    height: 2px;
    background-color: var(--primary-dark);
    transition: var(--transition);
}

.hamburger-btn.active span {
    background-color: #ff0000 !important; /* Red color for close button */
}

.hamburger-btn.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.hamburger-btn.active span:nth-child(2) {
    opacity: 0;
}

.hamburger-btn.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* --- Mobile Nav Overlay --- */
.nav-mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: white;
    z-index: 1500;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.nav-mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-mobile-inner {
    padding: 20px;
    width: 100%;
}

.nav-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-bottom: 50px;
}

.mobile-link {
    font-size: 16px;
    font-weight: 500;
    font-family: var(--font-sans);
    color: #2C3E50;
    letter-spacing: 0.05em;
}

.nav-mobile-cta {
    margin-top: 40px;
    display: flex;
    justify-content: center;
}

.nav-mobile-cta .cta-buttons {
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
    max-width: 320px;
}

.nav-mobile-cta .btn-soft-purple {
    background-color: #ffffff !important;
    color: #58A24F !important;
    border: 1px solid #000000 !important;
}

.nav-mobile-cta .cta-buttons a {
    width: 100% !important;
    height: 55px !important;
    min-width: unset !important;
    flex: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin-bottom: 15px;
    padding: 0 !important;
}

.btn-instagram {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%);
    color: var(--white);
}

.nav-mobile-cta .btn-threads {
    background-color: #ffffff !important;
    color: #000000 !important;
    border: 1px solid #000000 !important;
}

/* --- Footer Navigation --- */
.footer-nav-list {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
    justify-content: flex-end;
}

.footer-nav-list a {
    font-size: 16px; /* Enforced 16px for footer */
    color: #2c3e50;
    font-weight: 600;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-nav-list a:hover,
.footer-nav-list a:active {
    color: #d66f6f;
}

@media (max-width: 768px) {
    .footer-top {
        flex-direction: column !important;
        gap: 25px !important;
        text-align: center !important;
    }

    .footer-logo h2 {
        font-size: 1.1rem !important;
        white-space: nowrap !important;
        margin: 0 auto !important;
    }
    
    .footer-nav-list {
        display: flex !important;
        justify-content: center !important;
        flex-wrap: wrap !important;
        gap: 15px 30px !important;
        max-width: 300px !important;
        margin: 0 auto !important;
    }
}
/* --- Premium Service Decoration --- */
.premium-service {
    padding-top: 100px !important;
    padding-bottom: 100px !important;
    background: linear-gradient(135deg, #f8faff 0%, #eef2ff 100%) !important;
    position: relative;
    z-index: 1;
}

.premium-service::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 2%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(125, 145, 255, 0.15) 0%, transparent 70%);
    filter: blur(50px);
    z-index: -1;
    pointer-events: none;
}

.premium-service::after {
    content: '';
    position: absolute;
    bottom: 5%;
    right: 2%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(214, 111, 111, 0.1) 0%, transparent 70%);
    filter: blur(60px);
    z-index: -1;
    pointer-events: none;
}

.premium-service .service-item {
    display: flex;
    align-items: flex-start; /* Changed from center to prevent vertical jitter */
    gap: 60px !important;
    margin-bottom: 100px !important;
    position: relative;
    background: rgba(255, 255, 255, 0.5) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    padding: 60px !important;
    border-radius: 50px !important;
    border: 1px solid rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.04) !important;
    transition: var(--transition) !important;
    flex-direction: row !important;
}

.premium-service .service-item:hover {
    transform: translateY(-10px) !important;
    background: rgba(255, 255, 255, 0.8) !important;
    box-shadow: 0 30px 70px rgba(125, 145, 255, 0.12) !important;
}

.premium-service .service-item.service-reverse {
    flex-direction: row-reverse !important;
}

.premium-service .service-img-wrap {
    flex: 0 0 450px !important;
    height: 450px !important;
    width: 450px !important;
    max-width: 450px !important;
    position: relative !important;
    z-index: 2 !important;
    overflow: visible !important;
    contain: layout; /* Ultimate layout isolation */
}

.premium-service .service-img-wrap img {
    width: 450px !important;
    height: 450px !important;
    object-fit: cover !important;
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70% !important;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
    transition: border-radius 1.2s cubic-bezier(0.19, 1, 0.22, 1), 
                transform 1.2s cubic-bezier(0.19, 1, 0.22, 1),
                box-shadow 1.2s cubic-bezier(0.19, 1, 0.22, 1) !important;
    will-change: border-radius, transform;
    backface-visibility: hidden;
    transform: translateZ(0); /* GPU acceleration */
}

.premium-service .service-item:hover .service-img-wrap img {
    border-radius: 50% !important;
    transform: scale(1.05) rotate(2deg) translateZ(0) !important;
}

.premium-service .service-content-wrap {
    flex: 1 !important;
    min-width: 0 !important;
    padding-top: 80px !important;
    margin-top: 20px !important; /* Added margin for extra shift */
    position: relative !important;
    z-index: 2 !important;
}

.premium-service .service-num {
    font-size: 8rem !important;
    position: absolute !important;
    top: -40px !important;
    right: 20px !important;
    color: rgba(125, 145, 255, 0.05) !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    z-index: -1 !important;
    font-family: var(--font-serif) !important;
    user-select: none !important;
    transition: var(--transition) !important;
    margin-bottom: 0 !important;
}

.premium-service .service-item:hover .service-num {
    color: rgba(125, 145, 255, 0.1) !important;
    transform: scale(1.1) !important;
}

.premium-service .service-content-wrap h3 {
    font-size: 2rem !important;
    color: var(--primary-dark) !important;
    margin-bottom: 25px !important;
    line-height: 1.4 !important;
    position: relative !important;
}

.premium-service .service-content-wrap h3::after {
    display: none !important; /* Removed the accent bar */
}

.premium-service .service-reverse .service-content-wrap h3::after {
    left: auto !important;
    right: 0 !important;
}

.premium-service .service-reverse .service-content-wrap {
    text-align: right !important;
}

.premium-service .service-reverse .service-num {
    left: 20px !important;
    right: auto !important;
}

.premium-service .service-content-wrap p {
    font-size: 1rem !important;
    line-height: 1.8 !important;
    color: var(--text-light) !important;
    text-align: justify !important;
}

.premium-service .service-reverse .service-content-wrap p {
    text-align: right !important;
}

@media (max-width: 992px) {
    .premium-service .service-item,
    .premium-service .service-item.service-reverse {
        flex-direction: column !important;
        gap: 0 !important;
        padding: 40px 20px !important;
        margin-bottom: 50px !important;
        text-align: left !important;
    }

    .premium-service .service-item .service-content-wrap,
    .premium-service .service-item .service-content-wrap h3,
    .premium-service .service-item .service-content-wrap p {
        text-align: left !important;
    }

    .premium-service .service-content-wrap {
        padding-top: 20px !important;
        margin-top: 0 !important;
    }
    
    .premium-service .service-content-wrap h3::after {
        display: none !important;
    }

    .premium-service .service-img-wrap {
        width: 100% !important;
        flex: none !important;
        max-width: 280px !important;
        height: 280px !important; /* Reduced height for SP */
        margin: 0 auto 20px !important;
        contain: none !important; /* Re-enable for mobile transitions */
    }

    .premium-service .service-img-wrap img {
        width: 100% !important;
        height: 280px !important;
        border-radius: 30% 70% 70% 30% / 30% 30% 70% 70% !important;
        animation: autoMorph 8s ease-in-out infinite !important; /* Auto shape change */
        will-change: border-radius;
    }

    @keyframes autoMorph {
        0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
        50% { border-radius: 50% 40% 60% 50% / 50% 60% 40% 50%; }
    }

    .premium-service .service-item:hover .service-img-wrap img {
        animation-play-state: paused !important;
        border-radius: 50% !important;
    }
    
    .premium-service .service-num {
        font-size: 5rem !important;
        top: -20px !important;
        right: 10px !important;
    }

    .premium-service .service-reverse .service-num {
        left: auto !important;
        right: 10px !important;
    }

    .premium-service .service-content-wrap h3 {
        font-size: 1.6rem !important;
    }

    .premium-service .service-content-wrap p {
        text-align: left !important;
    }
}
