:root {
    --primary: #8D6E63;
    --primary-dark: #6D4C41;
    --secondary: #D7CCC8;
    --accent: #BCAAA4;
    --bg-light: #FDF5E6;
    --bg-white: #FFFFFF;
    --text-main: #3E2723;
    --text-sub: #795548;
    --gold: #D4AF37;
    --container-width: 1100px;
    --transition: all 0.3s ease;
}

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

body {
    font-family: 'Noto Sans JP', sans-serif;
    line-height: 1.8;
    color: var(--text-main);
    background-color: var(--bg-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 5%;
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 1s ease-out, transform 1.2s ease-out;
}

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

.section {
    padding: 100px 0;
}

.bg-light {
    background-color: var(--bg-light);
}

.section-title {
    text-align: center;
    margin-bottom: 60px;
}

.section-title .en {
    display: block;
    font-size: 0.9rem;
    color: var(--gold);
    letter-spacing: 3px;
    margin-bottom: 10px;
    font-weight: 500;
}

.section-title h2 {
    font-size: 2rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 2px;
    background-color: var(--primary);
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-sub);
}

/* Header */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary);
}

.logo span {
    font-size: 1.2rem;
    padding-left: 5px;
    font-weight: 400;
}

nav ul {
    display: flex;
    gap: 30px;
}

nav ul li a {
    font-weight: 500;
    font-size: 0.95rem;
}

nav ul li a:hover {
    color: var(--primary);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    flex-direction: column;
    gap: 6px;
    z-index: 1001;
}

.menu-toggle .bar {
    width: 25px;
    height: 3px;
    background-color: var(--primary);
    transition: var(--transition);
    border-radius: 3px;
}

.close-btn {
    display: none;
}

/* Nav Overlay */
.nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Hero */
#hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
}

#hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.hero-content {
    position: relative;
    z-index: 10;
    color: #fff;
    max-width: 600px;
    margin-left: 5%;
}

.hero-content h2 {
    font-size: 3.5rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-content h2 span {
    display: inline-block;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary);
    color: #fff;
    border-radius: 50px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(141, 110, 99, 0.4);
}

.btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
}

/* About / Nurse Note */
.nurse-note {
    background: var(--bg-light);
    border-left: 5px solid var(--primary);
    padding: 30px;
    margin-top: 30px;
    border-radius: 0 15px 15px 0;
}

.nurse-note h3 {
    font-size: 1.1rem;
    color: var(--primary);
    margin-bottom: 10px;
}

/* Detox Section */
.flex-info {
    display: flex;
    gap: 50px;
    align-items: center;
}

.info-img {
    flex: 1;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-text {
    flex: 1.2;
}

/* Cards */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.card {
    background: #fff;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.card-img {
    margin-bottom: 20px;
    border-radius: 10px;
    overflow: hidden;
}

.card h3 {
    margin-bottom: 5px;
    color: var(--primary);
}

.card h4 {
    font-size: 0.95rem;
    color: var(--text-sub);
    margin-bottom: 15px;
    font-weight: 500;
}

/* Commitment Section Specifics */
.commitment-intro {
    max-width: 800px;
    margin: 0 auto 50px;
    text-align: center;
}

.commitment-intro>div {
    margin-bottom: 40px;
    padding: 30px;
    background: var(--bg-light);
    border-radius: 15px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.commitment-intro h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 20px;
    display: inline-block;
    border-bottom: 2px solid var(--accent);
    padding-bottom: 5px;
}

.commitment-vision h4 {
    font-size: 1.1rem;
    color: var(--text-main);
    margin-bottom: 15px;
}

.keywords {
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.logo-footer {
    margin-top: 25px;
    padding-top: 15px;
    border-top: 1px dashed var(--accent);
    font-size: 0.95rem;
    color: var(--text-sub);
}

.logo-footer p {
    margin: 5px 0;
}

.push-point {
    margin-top: 20px;
    text-align: left;
    background: #fff9f0;
    padding: 20px;
    border-radius: 10px;
    border: 1px solid var(--secondary);
}

.push-point h5 {
    color: #e67e22;
    text-align: center;
    margin-bottom: 10px;
    font-size: 1.05rem;
}

.push-point ul {
    list-style-type: disc;
    padding-left: 20px;
    font-size: 0.9rem;
}

.push-point ul li {
    margin-bottom: 8px;
}

.push-point ul li:last-child {
    margin-bottom: 0;
}

/* Pricing */
.price-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.price-box {
    background: #fff;
    padding: 30px;
    border-radius: 20px;
}

.price-box h3 {
    text-align: center;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--secondary);
    padding-bottom: 10px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

table td {
    padding: 12px 0;
    border-bottom: 1px dashed var(--secondary);
}

table td::after {
    content: "";
    display: inline-block;
    height: 1.8em;
    vertical-align: middle;
}

table td:last-child {
    text-align: right;
    font-weight: 700;
}

.special td {
    color: var(--primary);
    background-color: rgba(141, 110, 99, 0.05);
}

.special td:first-child::after {
    content: ' 初回限定';
    font-size: 0.7rem;
    vertical-align: middle;
    margin-left: 5px;
    background: var(--gold);
    color: #fff;
    padding: 2px 5px;
    border-radius: 3px;
}

.price-notes {
    margin-top: 30px;
    text-align: center;
    font-size: 0.9rem;
    color: var(--text-sub);
}

/* Access */
.contact-info {
    text-align: center;
    margin-bottom: 40px;
}

.map-placeholder {
    width: 100%;
    height: 450px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.map-placeholder iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer */
footer {
    background: var(--primary);
    color: #fff;
    padding: 40px 0;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    #hero {
        height: 70vh;
        background-attachment: scroll;
        background-position: center center;
    }

    .container {
        padding: 0 20px;
    }

    .hero-content h2 {
        font-size: 2.5rem;
    }

    .flex-info {
        flex-direction: column;
    }

    .card-grid,
    .price-container {
        grid-template-columns: 1fr;
    }

    header .container {
        justify-content: space-between;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-list {
        position: fixed;
        top: 0;
        right: -100%;
        width: 65%;
        height: 100vh;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: 0.4s ease-in-out;
        z-index: 1000;
        gap: 40px;
    }

    body.menu-open .logo span {
        display: block;
        padding-left: 0;
        font-size: 1.25rem;
        line-height: 1.1;
    }

    body.menu-open .logo {
        line-height: 1.1;
    }

    .nav-list.active {
        right: 0;
    }

    .close-btn {
        display: block;
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 2.5rem;
        cursor: pointer;
        color: var(--primary);
        line-height: 1;
    }

    .nav-list li a {
        font-size: 1.5rem;
        color: var(--text-main);
    }

    /* Hamburger Animation */
    .menu-toggle.active .bar:nth-child(2) {
        opacity: 0;
    }

    .menu-toggle.active .bar:nth-child(1) {
        transform: translateY(9px) rotate(45deg);
    }

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