@charset "UTF-8";

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-size: 16px;
}

:root {
    --color-primary: #C9A6A9;
    /* Muted Pink */
    --color-secondary: #bb7563;
    /* Brownish Gray */
    --color-text: #4a3a2a;
    /* Dark Brown */
    --color-bg: #FFF8F5;
    /* Pale Pink/Beige (Unified BG) */
    --color-white: #ffffff;
    --font-header: "Tangerine", cursive;
    --font-base: "Shippori Mincho", serif;
    --font-gothic: "Zen Kaku Gothic New", sans-serif;
    --header-height: 160px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

main {
    /* padding-top: var(--header-height); */
}


/* Reset & Base */
body {
    margin: 0;
    padding: 0;
    font-family: var(--font-base);
    color: var(--color-text);
    background-color: var(--color-white);
    line-height: 1.8;
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
    transition: opacity 0.3s;
}

a:hover {
    opacity: 0.7;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: bottom;
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1,
h2,
h3 {
    margin: 0;
    font-weight: 400;
}

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

.section-title h2 {
    font-size: 3rem;
    color: var(--color-primary);
    font-family: var(--font-header);
    /* English Serif */
    margin-bottom: 10px;
}

.section-title p {
    font-size: 0.9rem;
    color: var(--color-secondary);
}

/* Utility */
.text-center {
    text-align: center;
}

.btn-more {
    display: inline-block;
    padding: 10px 40px;
    border: 1px solid var(--color-primary);
    color: var(--color-primary);
    margin-top: 30px;
    font-size: 0.9rem;
}

.btn-more:hover {
    background-color: var(--color-primary);
    color: var(--color-white);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.5);
    /* Semi-transparent white */
    backdrop-filter: blur(5px);
    /* Optional: add soft blur for modern feel if background is busy */
    z-index: 1000;
    padding: 30px 0;
    /* Plenty of padding as requested */
    transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
}

.header.is-scrolled {
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

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

/* Utility */
.pc-only {
    display: block !important;
}

.sp-only {
    display: none !important;
}

@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }

    .sp-only {
        display: block !important;
    }
}


.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 40px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.header-right {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 15px;
}

@media (max-width: 768px) {
    .header-inner {
        padding: 0 20px;
        flex-direction: column;
        /* Stack logo and nav slightly for better flow on mobile */
        align-items: center;
        height: auto;
        padding-top: 10px;
        padding-bottom: 10px;
        gap: 10px;
    }

    .header-right {
        width: 100%;
        align-items: center;
        gap: 5px;
    }
}

.header-sns {
    margin-bottom: 5px;
}

.header-sns img {
    width: 24px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.header-sns a:hover img {
    opacity: 0.5;
}

.logo img {
    height: 100px;
}

.nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-list {
    display: flex;
    gap: 35px;
}

@media (max-width: 768px) {
    .logo img {
        height: 50px;
    }

    .nav {
        width: 100%;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        /* Hide scrollbar Firefox */
        -ms-overflow-style: none;
        /* Hide scrollbar IE/Edge */
    }

    .nav::-webkit-scrollbar {
        display: none;
        /* Hide scrollbar Chrome/Safari */
    }

    .nav-list {
        display: flex;
        gap: 30px;
        flex-wrap: nowrap;
        justify-content: flex-start;
        padding: 5px 20px;
        margin-top: 10px;
    }

    .nav-list li {
        flex-shrink: 0;
    }

    .nav-list li a {
        font-size: 0.95rem;
        white-space: nowrap;
    }
}

.nav-sns {
    display: flex;
    align-items: center;
}

.nav-sns img {
    width: 20px;
    height: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.nav-sns a:hover img {
    opacity: 0.5;
}

.nav a {
    font-size: 14px;
    color: var(--color-text);
    font-family: var(--font-base);
    font-weight: 400;
}

.header-nav-sns {
    display: flex;
    align-items: center;
    gap: 40px;
}

@media (max-width: 768px) {
    .header-nav-sns {
        width: 100%;
        justify-content: center;
        gap: 15px;
        margin-top: 10px;
    }
}

/* Hero */
.hero {
    position: relative;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-top: calc(0px + var(--header-height));
    /* Offset for fixed header */
    background-image: url('../images/common/bg_texture.svg');
    background-size: 100%;
    background-position: center bottom;
    background-repeat: no-repeat;
    overflow: hidden;
}

@media (max-width: 768px) {
    .hero {
        background-size: cover;
    }
}

.hero-message-container {
    position: relative;
    display: inline-block;
    padding: 30px 40px;
}

/* Base states for animation */
.hero-message-container::before,
.hero-message-container::after,
.hero-decor-layer::before,
.hero-decor-layer::after {
    content: '';
    position: absolute;
    width: 100px;
    height: 100px;
    border: 1px solid #bb7563;
    pointer-events: none;
    opacity: 0;
    transition: all 1.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Outer Lines Positioning */
.hero-message-container::before {
    top: -10px;
    left: -120px;
    border-right: none;
    border-bottom: none;
    transform: translate(-10px, -10px);
}

.hero-message-container::after {
    bottom: -10px;
    right: -120px;
    border-left: none;
    border-top: none;
    transform: translate(10px, 10px);
}

/* Inner Lines Positioning */
.hero-decor-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-decor-layer::before {
    top: -20px;
    left: -110px;
    border-right: none;
    border-bottom: none;
    transform: translate(-5px, -5px);
}

.hero-decor-layer::after {
    bottom: -20px;
    right: -110px;
    border-left: none;
    border-top: none;
    transform: translate(5px, 5px);
}

.catchcopy {
    opacity: 0;
    transform: translateY(20px);
    transition: all 2.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    font-size: 1.2rem;
    line-height: 4.5em;
    text-align: center;
    color: var(--color-text);
    font-family: var(--font-base);
    font-weight: 400;
}

@media (max-width: 768px) {
    .catchcopy {
        font-size: 1rem;
        letter-spacing: 0.1em;
        line-height: 3.2;
        /* padding-top: 15vh; */
    }
}




/* Animation triggered by parent .visible class */
.hero-content.visible .catchcopy,
.hero-content.visible .hero-message-container::before,
.hero-content.visible .hero-message-container::after,
.hero-content.visible .hero-decor-layer::before,
.hero-content.visible .hero-decor-layer::after {
    opacity: 1;
}

.hero-content.visible .catchcopy {
    transform: translateY(0);
    transition-delay: 0.2s;
}

.hero-content.visible .hero-message-container::before,
.hero-content.visible .hero-message-container::after {
    transform: translate(0, 0);
    transition-delay: 0.5s;
}

.hero-content.visible .hero-decor-layer::before,
.hero-content.visible .hero-decor-layer::after {
    transform: translate(0, 0);
    transition-delay: 0.7s;
}

.hero-text-vertical {
    writing-mode: vertical-rl;
    font-size: 1.8rem;
    line-height: 2.5;
    margin-right: -40px;
    /* Offset for vertical visual balance */
}

/* Responsive adjustments for hero decorations */
@media (max-width: 768px) {
    .hero-message-container {
        padding: 20px 25px;
    }

    .hero-message-container::before,
    .hero-message-container::after,
    .hero-decor-layer::before,
    .hero-decor-layer::after {
        width: 40px;
        height: 40px;
    }

    .hero-message-container::before {
        top: -15px;
        left: -10px;
    }

    .hero-message-container::after {
        bottom: -15px;
        right: -10px;
    }

    .hero-decor-layer::before {
        top: -10px;
        left: -15px;
    }

    .hero-decor-layer::after {
        bottom: -10px;
        right: -15px;
    }
}

/* Sections Common */
.section {
    padding: 100px 0;
    position: relative;
    overflow: hidden;
}

.bg-decoration {
    position: absolute;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

.hero-deco-1 {
    top: -10%;
    right: -10%;
    width: 600px;
    opacity: 0.4;
}

.section-deco-1 {
    top: 20%;
    left: -15%;
    width: 500px;
}

/* About Section Regenerated */
.about {
    background-color: var(--color-white) !important;
    padding: 100px 0 !important;
}

.about-row {
    display: flex;
    align-items: top;
    gap: 130px;
    max-width: 1050px;
    margin: 0 auto;
}

.about-row+.about-row {
    margin-top: 120px;
}

@media (max-width: 768px) {
    .about-row+.about-row {
        margin-top: 50px;
    }
}

/* Image Column & Decorations */
.about-text-column,
.about-image-column {
    flex: 1 1 0;
    position: relative;
    min-width: 0;
    /* Prevent flex blowouts */
}

.about-image-wrapper {
    position: relative;
    z-index: 1;
}

.about-image-wrapper img {
    display: block;
    width: 100%;
    max-width: 400px;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    margin: 0 auto;
    /* Center if it hits max-width */
}

.about-image-column::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 450px;
    background-color: var(--color-bg);
    z-index: 0;
}

/* Row 1 Decoration (Top-Left) */
.about-row:not(.is-reversed) .about-image-column {
    padding-top: 30px;
}

.about-row:not(.is-reversed) .about-image-column::before {
    top: -30px;
    left: -50px;
}

/* Row 2 Decoration (Top-Right) */
.about-row.is-reversed .about-image-column {
    padding-top: 30px;
}

.about-row.is-reversed .about-image-column::before {
    top: 30px;
    right: -50px;
}

/* Text Column & Typography */
.about-text-column {
    /* flex: 1.1; */
    padding-top: 40px;
}


/* Common Section Title */
.common-section-title {
    display: flex;
    align-items: baseline;
    gap: 30px;
    margin-bottom: 60px;
    position: relative;
    z-index: 10;
}

.common-section-title.is-vertical {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
}

.common-section-title.is-centered {
    justify-content: center;
}

.common-section-title .en {
    font-family: var(--font-header);
    font-size: 3.5rem;
    color: var(--color-secondary);
    line-height: 1;
}

.common-section-title .jp {
    font-family: var(--font-base);
    font-size: 1rem;
    color: var(--color-secondary);
    font-weight: 400;
}

@media (max-width: 768px) {
    .common-section-title {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 5px;
        margin-bottom: 40px;
    }

    .common-section-title .en {
        font-size: 2.8rem;
    }

    .common-section-title .jp {
        font-size: 0.9rem;
    }

    /* Side Margins for specific text sections */
    .wig-body,
    .smile-text-content,
    .access-info-column,
    .course-mv-text,
    .mv-content {
        padding-left: 20px;
        padding-right: 20px;
    }
}

.about-text-body {
    font-family: var(--font-base);
}

.about-text-body p {
    font-size: 1rem;
    line-height: 2.2;
    color: var(--color-text);
    /* Soft red-brown/dark gray */
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .about-text-body p {
        font-size: 0.95rem;
    }
}

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

/* Row Reversal Logic */
.is-reversed {
    flex-direction: row-reverse;
}

/* Responsive Redesign for About */
@media (max-width: 992px) {
    .about {
        padding: 80px 0 !important;
    }

    .about-row {
        flex-direction: column !important;
        gap: 50px;
        align-items: center;
    }

    .about-text-column {
        order: 1;
        text-align: left;
        width: 100%;
        max-width: 600px;
        padding: 0 20px;
    }

    .about-text-column .common-section-title {
        justify-content: center;
    }

    .about-image-column {
        order: 2;
        width: 100%;
        max-width: 450px;
        padding: 30px !important;
        /* Unified padding for mobile decorative boxes */
    }

    .about-title-wrapper {
        justify-content: center;
    }
}

/* Course Section */
.course-section {
    padding: 150px 0 0 0;
    background-image: url('../images/common/bg_texture.svg');
    background-size: 100%;
    /* background-repeat: repeat; */
    /* background-position: ; */
    /* 下部 15% 程度の範囲で透明に変化させる */
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

@media (max-width: 768px) {
    .course-section {
        padding: 80px 0 0 0 !important;
        background-size: cover;
        background-position: center;
    }
}

.container-s {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 20px;
}

.course-box {
    background-color: rgba(255, 255, 255, 0.85);
    padding: 100px 200px 150px 200px;
    border-radius: 4px;
    /* box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05); */
}

.course-header {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.course-header .jp-subtitle {
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    color: var(--color-secondary);
    font-weight: 600;
}

.course-list {
    width: 75%;
    margin: 0 auto;
    padding-bottom: 100px;
}

@media (max-width: 768px) {
    .course-list {
        width: 100%;
        padding-bottom: 80px;
    }
}

.course-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-list li {
    font-size: 1rem;
    line-height: 2.5;
    color: var(--color-text);
    position: relative;
    padding-left: 25px;
    margin-bottom: 5px;
}

@media (max-width: 768px) {
    .course-list li {
        font-size: 0.95rem;
    }
}

.course-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.25em;
    /* Align with the first line of text based on line-height */
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    background-image: url('../images/common/bullet_circle.svg');
    background-size: contain;
    background-repeat: no-repeat;
}

.course-footer {
    width: 70%;
    text-align: right;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .course-footer {
        width: 100%;
        text-align: center;
    }
}

.link-details {
    display: inline-block;
    font-size: 1rem;
    color: var(--color-secondary);
    transition: opacity 0.3s;
    border-bottom: 1px solid var(--color-secondary);
    padding-bottom: 5px;
    text-align: right;
}

@media (max-width: 768px) {
    .link-details {
        font-size: 0.95rem;
    }
}

.link-details span {
    margin-left: 20px;
    display: inline-block;
    transition: transform 0.3s;
}

.link-details:hover {
    opacity: 0.7;
}

.link-details:hover span {
    transform: translateX(5px);
}

/* Responsive Course */
@media (max-width: 768px) {
    .course-box {
        padding: 60px 30px;
    }

    .course-header .cursive-title {
        font-size: 2.8rem;
    }

    .course-list li {
        font-size: 0.95rem;
        line-height: 2.2;
    }
}

/* Service */
.service-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
}

.service-item {
    text-align: center;
}

.service-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 20px;
}

.service-item h3 {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: var(--color-primary);
    font-family: var(--font-gothic);
}

.service-item p {
    font-size: 0.9rem;
    color: var(--color-secondary);
}

/* Wig Section - Background Image Style */
.wig-section {
    position: relative;
    background-image: url('../images/top/partial_wig.jpg');
    background-size: cover;
    background-position: center 20%;
    /* Person is on the right */
    background-repeat: no-repeat;
    background-color: var(--color-white);
    /* Base color for transition */
    padding: 300px 0 250px 0 !important;
    /* min-height: 600px; */
    display: flex;
    align-items: center;
    margin-top: 100px;
}

.wig-section .container {
    width: 100%;
    max-width: 1150px;
    margin: 0 auto;
    /* padding: 0 0px; */
    /* Removed override to keep global container padding */
    text-align: left;
}

.wig-text-content {
    position: relative;
    z-index: 1;
    max-width: 550px;
    width: fit-content;
}

.wig-mobile-image {
    display: none;
}

.wig-header {
    display: flex;
    align-items: baseline;
    gap: 20px;
    margin-bottom: 40px;
}

.wig-header .jp-subtitle {
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    color: var(--color-secondary);
    font-weight: 600;
}

.wig-body {
    font-family: var(--font-base);
}

.wig-body p {
    font-size: 0.95rem;
    line-height: 2.2;
    color: var(--color-text);
    margin-bottom: 30px;
}

@media (max-width: 768px) {
    .wig-body p {
        font-size: 0.95rem;
    }
}

.wig-footer {
    margin-top: 50px;
    text-align: right;
}

/* Responsive Wig */
@media (max-width: 992px) {
    .wig-section {
        background-image: none;
        /* background-color: #FFF8F5 !important; */
        background-color: #fff !important;
        padding: 0px 0 80px 0 !important;
        min-height: auto;
    }

    .wig-section::after {
        display: none;
    }

    .wig-section .container::before {
        display: none;
    }

    .wig-mobile-image {
        display: block;
        width: 100vw;
        position: relative;
        left: 50%;
        right: 50%;
        margin-left: -50vw;
        margin-right: -50vw;
        max-width: none;
        margin-bottom: 40px;
    }

    .wig-mobile-image img {
        width: 100%;
        height: auto;
        border-radius: 0;
        display: block;
    }

    .wig-text-content {
        max-width: 600px;
        margin: 0 auto;
        text-align: left;
        padding: 0 20px;
    }

    .wig-text-content .common-section-title {
        justify-content: center;
    }

    .wig-header {
        justify-content: center;
    }

    .wig-footer {
        text-align: center;
    }
}

/* Profile */
.profile-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
}

.profile-img img {
    width: 250px;
    height: 250px;
    object-fit: cover;
    border-radius: 50%;
    border: 5px solid white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.profile-text {
    max-width: 500px;
}

.profile-text .role {
    color: var(--color-primary);
    margin-bottom: 10px;
    display: block;
    font-size: 0.9rem;
}

.profile-text h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
}

/* Access / Information Section */
.access {
    padding: 100px 0 500px 0 !important;
}

@media (max-width: 768px) {
    .access {
        padding: 100px 0 200px 0 !important;
    }
}

.access-header {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 20px;
    margin-bottom: 60px;
}

.access-header .jp-subtitle {
    font-family: var(--font-gothic);
    font-size: 0.95rem;
    color: var(--color-secondary);
    font-weight: 600;
}

.access-grid {
    display: flex;
    align-items: flex-start;
    gap: 0px;
    max-width: 850px;
    margin: 0 auto;
}

.access-info-column {
    flex: 1;
}

.access-info {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 25px 0;
}

.access-info dt {
    font-size: 1rem;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .access-info dt {
        font-size: 0.95rem;
    }
}

.access-info dd {
    font-size: 1rem;
    line-height: 2.0;
    color: var(--color-text);
    margin: 0;
}

@media (max-width: 768px) {
    .access-info dd {
        font-size: 0.95rem;
    }
}

.access-info dd .map-link {
    display: inline-block;
    margin-top: 5px;
    text-decoration: underline;
    text-underline-offset: 6px;
    transition: opacity 0.3s;
    color: var(--color-secondary);
}

.access-info dd .note {
    font-size: 0.9em;
    display: block;
    margin-top: 5px;
}

/* .access-map-column {
    flex: 1;
} */

.access-map img {
    width: 100%;
    height: auto;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .access-map img {
        padding: 0 20px;
    }
}

/* Responsive Access */
@media (max-width: 992px) {
    .course-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .price-image-wrapper {
        height: 250px;
    }

    .menu-name {
        word-break: break-all;
        overflow-wrap: break-word;
    }
}

@media (max-width: 992px) {
    .access-grid {
        flex-direction: column;
        gap: 50px;
    }

    .access-map-column {
        width: 100%;
        order: -1;
        /* Map on top for mobile */
    }

    .access-info {
        grid-template-columns: 100px 1fr;
    }
}

/* Smile Project Section */
.smile {
    background-color: #FFF8F5;
    padding: 0px 0 140px;
    margin-top: -100px;
    /* Pull up to overlap with white section */
    position: relative;
    z-index: 5;
    text-align: center;
    overflow: visible;
    /* Ensure arc is not clipped */
}

.smile-arc {
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 100%;
    aspect-ratio: 780.25 / 99.19;
    background-image: url('../images/common/bg_circle_pink.svg');
    background-size: 100% 100%;
    background-position: top center;
    background-repeat: no-repeat;
    margin-bottom: 0px;
    /* Overlap slightly to prevent gap */
    z-index: 10;
}

.smile-logo {
    margin-bottom: 50px;
    padding-top: 0px;
    /* Extra breathing room from the arch peak */
}

.smile-logo img {
    height: 120px;
}

.smile-text-content {
    max-width: 850px;
    margin: 0 auto;
}

.smile-lead {
    font-size: 1rem;
    color: var(--color-text);
    /* margin-bottom: 40px; */
    font-weight: 400;
}

@media (max-width: 768px) {
    .smile-lead {
        font-size: 0.95rem;
    }
}

.smile-body {
    font-size: 1rem;
    line-height: 2.2;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .smile-body {
        font-size: 0.95rem;
    }
}

/* Responsive Smile */
@media (max-width: 768px) {
    .smile {
        padding: 60px 20px 100px;
        margin-top: -40px;
        overflow: visible;
    }

    .smile-arc {
        /* height: 40px; */
    }

    .smile-logo img {
        height: 100px;
    }

    .smile-lead {
        font-size: 0.95rem;
        margin-bottom: 0px;
    }
}

/* Footer */
.footer {
    background-image: url('../images/common/bg_texture.svg');
    background-size: cover;
    background-position: center;
    padding: 120px 0 40px;
    /* Increased padding as requested */
    color: var(--color-text);
    position: relative;
}

.footer-inner {
    max-width: 1000px;
    margin: 0 auto 60px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    /* Align to top as in design */
}

.footer-logo-area {
    text-align: left;
}

.footer-logo img {
    height: 90px;
}

.footer-nav-area {
    text-align: left;
}

.footer-nav-wrapper {
    display: flex;
    align-items: flex-end;
    /* Align icon with the last item */
    gap: 25px;
}

.footer-nav {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    /* Vertical alignment */
    gap: 12px;
}

.footer-nav a {
    font-size: 14px;
    color: var(--color-text);
    font-family: var(--font-base);
    transition: opacity 0.3s;
    line-height: 1.6;
}

.footer-nav a:hover {
    opacity: 0.6;
}

.social-icons {
    margin-bottom: 5px;
    /* Fine-tune vertical alignment with 'Information' text */
}

.social-icons img {
    width: 24px;
    opacity: 0.8;
}

.footer-bottom {
    max-width: 1000px;
    margin: 0 auto;
}

.footer-line {
    border: none;
    border-top: 1px solid rgba(74, 58, 42, 0.15);
    margin-bottom: 25px;
}

.footer-bottom-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-privacy {
    font-size: 12px;
    color: var(--color-text);
    font-family: var(--font-base);
    text-decoration: none;
    transition: opacity 0.3s;
}

.footer-privacy:hover {
    opacity: 0.6;
}

.copyright {
    font-size: 12px;
    color: var(--color-text);
    /* Match the design visual */
}

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

    .footer-inner {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 50px;
        margin-bottom: 40px;
    }

    .footer-logo-area {
        text-align: center;
    }

    .footer-nav-area {
        width: 100%;
    }

    .footer-nav-wrapper {
        flex-direction: column;
        align-items: center;
        gap: 25px;
    }

    .footer-nav {
        align-items: center;
        gap: 20px;
    }

    .social-icons {
        margin-top: 10px;
        margin-bottom: 0;
    }

    .footer-bottom-flex {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}


/* Course Page */
.course-mv {
    background-image: url('../images/common/bg_texture.svg');
    background-size: cover;
    background-position: center;
    padding: 100px 0;
    text-align: center;
}

/* .mv-title removed - using .common-section-title */

.course-top-bg-wrapper {
    position: relative;
    z-index: 1;
    background-color: var(--color-bg);
    /* Clean base for pseudo-element approach */
}

.course-top-bg-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/common/bg_texture.svg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    z-index: -1;
    pointer-events: none;
    /* Subtle Double Fade: Top 0-5%, Bottom 95-100% */
    mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 5%,
            black 95%,
            transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom,
            transparent 0%,
            black 5%,
            black 95%,
            transparent 100%);
}

.course-view {
    background: transparent;
    padding-top: calc(100px + var(--header-height));
}

.menu-section {
    padding: 100px 0;
    background: transparent;
}

@media (max-width: 768px) {
    .menu-section {
        padding: 50px 0;
    }
}

.menu-card {
    background: #fff;
    border-radius: 0;
    /* Square corners as requested */
    padding: 80px 60px;
    /* Generous padding as requested */
    box-shadow: 0 5px 25px rgba(0, 0, 0, 0.03);
    max-width: 1000px;
    margin: 0 auto 80px;
}

.menu-category-title {
    text-align: left;
    /* design update */
    margin-bottom: 30px;
    position: relative;
    font-size: 1rem;
    color: var(--color-text);
    font-weight: 400;
}

@media (max-width: 768px) {
    .menu-category-title {
        font-size: 0.95rem;
    }
}

/* .menu-category-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 1px;
    background: var(--color-primary);
} */

.menu-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 85%;
    /* Wider usage of card */
    margin: 0 auto;
}

@media (max-width: 768px) {
    .menu-list {
        width: 100%;
    }
}

.menu-item {
    display: flex;
    flex-direction: column;
}

.menu-bullet {
    width: 9px;
    height: 9px;
    flex-shrink: 0;
    display: block;
    /* Ensure correct box model */
}

.menu-content {
    flex-grow: 1;
}

.menu-title-row {
    display: flex;
    align-items: center;
    /* Perfect vertical center for 1st line */
    gap: 15px;
}

.menu-name {
    font-weight: 400;
    font-size: 1rem;
    /* Refined size */
    color: var(--color-text);
    line-height: 1.4;
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .menu-name {
        font-size: 0.95rem;
    }
}

.menu-note {
    display: block;
    font-size: 14px;
    /* Refined size */
    color: var(--color-text);
    margin-top: 2px;
    line-height: 1.2;
    padding-left: 27px;
    /* 12px bullet + 15px gap */
}

.menu-leader {
    flex-grow: 1;
    border-bottom: 1px dotted rgba(74, 58, 42, 0.2);
    /* Subtle leader line */
    height: 1px;
    margin-bottom: -1px;
    /* Visual adjustment for perfect baseline centering */
}

.menu-price {
    font-size: 1rem;
    color: var(--color-text);
    flex-shrink: 0;
}

@media (max-width: 768px) {
    .menu-price {
        font-size: 0.95rem;
    }
}

@media (max-width: 768px) {
    .menu-content {
        display: grid;
        grid-template-columns: 25px 1fr;
        align-items: start;
    }

    .menu-title-row {
        display: contents;
        /* Allows children to be part of the parent grid */
    }

    .menu-bullet {
        grid-column: 1;
        grid-row: 1;
        margin-top: 0.6em;
        /* Align with the first line of text */
    }

    .menu-name {
        grid-column: 2;
        grid-row: 1;
        flex-shrink: 1;
        white-space: normal;
        word-break: break-all;
        text-align: left;
    }

    .menu-note {
        grid-column: 2;
        grid-row: 2;
        padding-left: 0;
        margin-top: 5px;
        text-align: left;
    }

    .menu-leader {
        display: none;
    }

    .menu-price {
        grid-column: 1 / span 2;
        grid-row: 3;
        text-align: right;
        margin-top: 10px;
    }
}

/* Animation */
.fade-up {
    opacity: 0;
    transform: translateY(30px);
    /* transition: all 0.8s ease; */
    transition: all 1.5s ease;
}

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

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        flex-direction: column;
        gap: 15px;
    }

    .nav ul {
        gap: 30px;
        font-size: 1rem;
    }

    .hero-text-vertical {
        writing-mode: horizontal-tb;
        margin: 0;
        font-size: 1.4rem;
        line-height: 1.8;
    }

    .about-content,
    .wig-content,
    .profile-content,
    .access-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }

    .service-list {
        grid-template-columns: 1fr;
    }

    .access-info {
        grid-template-columns: 80px 1fr;
        text-align: left;
    }

    .hero-deco-1 {
        width: 300px;
        right: -20%;
    }

    /* Course Page Mobile */
    .course-mv {
        padding: 60px 0;
    }

    /* .mv-title removed - using .common-section-title */

    .menu-card {
        padding: 40px 20px;
    }

    .menu-item {
        flex-direction: column;
        align-items: stretch;
        gap: 5px;
    }

    .menu-leader {
        display: none;
    }

    .menu-price {
        text-align: right;
    }
}

.menu-card-wrapper {
    max-width: 1000px;
    margin: 0 auto 80px;
}

.menu-card-note {
    text-align: right;
    font-size: 1rem;
    color: var(--color-text);
    margin-top: 30px;
}

@media (max-width: 768px) {
    .menu-card-note {
        font-size: 0.95rem;
        text-align: center;
    }
}

/* Contact Section */
.contact-section {
    padding: 120px 0 var(--header-height);
    text-align: center;
    background: var(--color-white);
    position: relative;
}

@media (max-width: 768px) {
    .contact-section {
        padding: 120px 0 100px 0;
    }
}

.contact-section.contact-page-section {
    padding-top: 0;
}

.top-contact .contact-section {
    background: #FFF8F5;
}

.wig-contact .contact-section {
    background: #ffffff;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .contact-content {
        padding: 0 20px;
    }
}

.contact-lead {
    font-size: 1rem;
    line-height: 2.2;
    color: var(--color-text);
    margin-bottom: 60px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .contact-lead {
        font-size: 0.95rem;
    }
}

.contact-sub {
    font-size: 1rem;
    color: var(--color-text);
    margin-bottom: 60px;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .contact-sub {
        font-size: 0.95rem;
    }
}

.contact-link-wrapper {
    margin-top: 50px;
}

.contact-link {
    font-size: 1.2rem;
    color: var(--color-primary);
    /* Match theme pink */
    text-decoration: none;
    padding: 0 5px 10px;
    border-bottom: 2px solid var(--color-primary);
    /* Slightly thicker underline */
    transition: all 0.3s ease;
    display: inline-block;
    font-weight: 400;
}

.contact-link:hover {
    color: #b08e91;
    /* Slightly darker pink for emphasis */
    border-bottom-color: #b08e91;
}

/* Contact Page Selection View */
.contact-view {
    position: relative;
    background-image: url('../images/common/bg_texture.svg');
    background-size: cover;
    background-position: center bottom;
    padding-top: calc(120px + var(--header-height));
    padding-bottom: 260px;
    /* Room for the arc */
    z-index: 5;
}

@media (max-width: 768px) {
    .contact-view {
        padding-bottom: 100px;
    }
}

.contact-arc-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    aspect-ratio: 780.25 / 99.19;
    background-image: url('../images/common/bg_circle_white.svg');
    background-size: 100% 100%;
    background-position: bottom center;
    background-repeat: no-repeat;
    z-index: 10;
}

.arch-intro {
    background: #ffffff;
    padding: 0px 0 100px;
    text-align: center;
}

.arch-content {
    max-width: 900px;
    margin: 0 auto;
}

.arch-content p {
    font-size: 1.1rem;
    line-height: 2.2;
    color: var(--color-text);
    font-family: var(--font-base);
}

.selection-grid {
    display: flex;
    justify-content: center;
    gap: 100px;
    max-width: 1000px;
    margin: 0 auto;
}

/* Wig Page MV */
.wig-mv {
    position: relative;
    height: 100vh;
    background-image: url('../images/wig/photo_model_01.jpg');
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    overflow: hidden;
}

.wig-mv-visual {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    /* Sync padding with info layer for title positioning */
    padding-top: calc(var(--header-height) + 50px);
}

.wig-mv-info {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    padding-top: calc(var(--header-height) + 50px);
}


.container--wide {
    max-width: 1400px;
    width: 100%;
}

.wig-mv-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.wig-mv-title {
    position: absolute;
    top: 0px;
    right: 100px;
    z-index: 5;
    margin-bottom: 0;
}

.wig-mv-message {
    max-width: 550px;
    margin-left: 5%;
    /* Positioned towards the left (approx 20-30% of screen) */
}

.wig-mv-message p {
    font-size: 1.1rem;
    line-height: 2.3;
    /* Further increased line-height */
    color: #fff;
    margin-bottom: 2.2rem;
    /* More spacious */
    font-weight: 400;
}

.wig-mv-message p:last-child {
    margin-bottom: 0;
}

.pc-only {
    display: block;
}

/* Base Responsive adjustment for pc-only */
@media (max-width: 768px) {
    .pc-only {
        display: none;
    }

    .wig-mv {
        height: auto;
        min-height: auto;
        background: none;
        /* Background will be on visual part */
    }

    .wig-mv-visual {
        position: relative;
        height: 150vw;
        min-height: 500px;
        background-image: url('../images/wig/photo_model_01_rp.jpg');
        background-size: 140%;
        background-position: center top;
        background-repeat: no-repeat;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .wig-mv-inner {
        padding-top: 60px;
        /* Offset for header if needed */
    }

    .wig-mv-info {
        position: static;
        height: auto;
        padding: 60px 0;
        background-color: #ffffff;
    }

    .wig-mv-title {
        position: static;
        margin-bottom: 0;
        flex-direction: column;
        align-items: center;
        /* Center-align the children */
        gap: 0;
        text-align: center;
        /* Shifted slightly to the left over the model */
        transform: translate(-50px, 40px);
    }

    .wig-mv-title .en {
        font-size: 2.8rem;
    }

    .wig-mv-title .jp {
        margin-top: 5px;
    }

    .wig-mv-message {
        max-width: 600px;
        margin: 0 auto;
        text-align: left;
        padding: 0 40px;
    }

    .wig-mv-message p {
        color: var(--color-text);
        font-size: 0.95rem;
        line-height: 2.0;
        margin-bottom: 1.5rem;
        text-shadow: none;
    }
}

/* Wig Collection */
.wig-collection {
    background-color: #FFF8F5;
    padding: 120px 0;
}

/* .collection-title removed - using .common-section-title */

.collection-card {
    background: #ffffff;
    max-width: 1200px;
    /* Expanded width */
    margin: 0 auto 100px;
    /* Increased margin */
    display: flex;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.015);
    /* Even more subtle shadow */
    padding: 100px 100px;
    /* More generous horizontal padding */
    gap: 100px;
    /* Slightly increased gap */
    /* Increased gap */
    border-radius: 0;
}

@media (max-width: 768px) {
    .collection-card {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
    }
}

.card-visual {
    /* flex: 1; */
    display: flex;
    flex-direction: column;
}

.card-num-type {
    display: flex;
    align-items: baseline;
    gap: 12px;
    width: 100%;
    margin-bottom: 40px;
}

.card-num-type .num {
    font-family: var(--font-header);
    font-weight: 400;
    font-size: 7rem;
    color: #B8C4CC;
    /* Muted blue-gray */
    line-height: 1;
}

.card-num-type .type {
    font-family: var(--font-gothic);
    font-size: 1.2rem;
    font-weight: 400;
    color: #6D5C53;
    /* Dark brown */
}

.card-image {
    margin-bottom: 40px;
    text-align: center;
    /* Center image within the visual column */
}

.card-image img {
    max-width: 220px;
    height: auto;
}

@media (max-width: 768px) {
    .card-image img {
        max-width: 180px;
    }
}

.card--vortex .card-image img {
    max-width: 150px;
    /* Further reduced specifically for tsumuji type */
}

@media (max-width: 768px) {
    .card--vortex .card-image img {
        max-width: 130px;
    }
}

.card-features {
    list-style: none;
    padding: 0 0 0 1.5rem;
    /* Added left padding for indentation */
    margin-top: auto;
    /* Push to bottom */
    width: 100%;
    font-family: var(--font-gothic);
    font-size: 0.9rem;
    line-height: 2.1;
    color: var(--color-text);
    text-indent: -1em;
    /* Hanging indent for the dot */
}

@media (max-width: 768px) {
    .card-features li {
        font-size: 0.95rem;
    }
}

.card-features li::before {
    content: "・";
    margin-right: 0px;
    /* Screenshot 2 has very tight dot */
}

.card-content {
    flex: 2;
    /* Increased flex to allow more width for text */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    /* Ensure all children align to content left */
    padding-top: 58px;
}

@media (max-width: 768px) {
    .card-content {
        padding-top: 20px;
    }
}

.card-catch {
    color: var(--color-secondary);
    font-family: var(--font-gothic);
    font-size: 1.2rem;
    margin-bottom: 30px;
    text-align: left;
}

@media (max-width: 768px) {
    .card-catch {
        font-size: 1.1rem;
    }
}

.card-description {
    font-family: var(--font-base);
    font-size: 0.95rem;
    /* Slightly smaller for elegance */
    line-height: 2.2;
    color: var(--color-text);
    margin-bottom: 50px;
    text-align: left;
}

.card-description p {
    margin-bottom: 25px;
    /* Spacing between combined paragraphs */
    font-size: 0.95rem;
}

.card-description p:last-child {
    margin-bottom: 0;
}

.card-price-area {
    width: 100%;
    margin-top: auto;
    border-top: 1px solid rgba(140, 74, 56, 0.15);
    /* Delicate reddish-brown line */
    padding-top: 30px;
    text-align: left;
}

@media (max-width: 768px) {
    .card-price-area {
        text-align: right;
    }
}

.card-price-area .price {
    font-size: 1.2rem;
    font-weight: 400;
    font-family: var(--font-gothic);
    color: var(--color-text);
}

.card-price-area .price span {
    font-size: 0.75rem;
    /* Proportionally smaller */
    font-weight: 400;
}

@media (max-width: 992px) {
    .wig-section-inner {
        padding: 60px 20px;
    }

    .wig-main-visual img {
        height: 400px;
        object-position: center;
    }
}

@media (max-width: 768px) {
    .wig-collection {
        padding: 80px 0 0 0;
    }

    .collection-title {
        flex-direction: column;
        gap: 0;
        margin-bottom: 40px;
    }

    .collection-title .en {
        font-size: 2.8rem;
    }

    .collection-card {
        flex-direction: column;
        padding: 40px 20px;
        gap: 40px;
    }

    .card-num-type {
        justify-content: center;
    }

    .card-price-area .price {
        font-size: 1.2rem;
    }
}

.card-link-wrapper {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.choice-card {
    width: 40%;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    background-color: #fff;
    transition: box-shadow 0.3s ease;
}

.choice-card:hover {
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.card-header {
    height: 200px;
    background-size: 100%;
    background-repeat: no-repeat;
    display: flex;
    justify-content: center;
    padding: 0 30px 20px;
    text-align: center;
    background-image: url(../images/contact/nav_blue.svg);
}

.card-title {
    color: var(--color-text);
    font-size: 1.1rem;
    font-family: var(--font-gothic);
    line-height: 1.5;
    top: 100%;
    transform: translateY(-50%);
    position: relative;
}

.consultation .card-title {
    transform: translateY(-60%);
}

.hotpepper .card-title {
    transform: translateY(-70%);
}

.card-body {
    padding: 10px 40px 40px 40px;
    display: flex;
    flex-direction: column;
}

.card-text {
    font-size: 1rem;
    line-height: 1.8;
    /* Design specified */
    color: #665c54;
    /* Softer brown/gray */
    font-family: var(--font-base);
    /* Shippori Mincho */
    margin-bottom: 40px;
    text-align: left;
}

@media (max-width: 768px) {
    .card-text {
        font-size: 0.95rem;
    }
}

.card-link-area {
    display: flex;
    justify-content: center;
    margin-top: auto;
}

.icon-arrow {
    width: 30px;
    transition: transform 0.3s ease;
}

.card-link-wrapper:hover .icon-arrow {
    transform: translateX(10px);
}

.card-link {
    transition: all 0.3s ease;
    cursor: pointer;
}

.card-link span {
    border-bottom: 1px solid #4a3a2a;
    padding-bottom: 3px;
}

.card-link:hover {
    opacity: 0.5;
}

.card-link:hover span {
    border-bottom-width: 2px;
    /* Emphasize underline on hover */
}

.icon-arrow {
    width: 150px;
    height: auto;
}

/* Mobile Responsive for Contact Page */
@media (max-width: 768px) {
    .arch-intro {
        padding: 20px 20px 40px;
    }

    .arch-content {
        padding: 0;
    }

    .arch-content p {
        font-size: 1rem;
    }

    .selection-grid {
        flex-direction: column;
        gap: 30px;
        padding: 0 20px;
    }

    .choice-card {
        width: 100%;
        max-width: 100%;
    }

    .card-header {
        height: 160px;
    }

    .card-title {
        font-size: 1.15rem;
    }

    .card-body {
        padding: 30px 20px;
    }
}

/* Contact Form Section */
.contact-form-section {
    background-color: #FFF8F5;
    padding: 100px 0 200px 0;
}

/* .form-title removed - using .common-section-title */

.form-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.form-row {
    display: flex;
    align-items: center;
    gap: 40px;
}

.form-row.align-top {
    align-items: flex-start;
}

.form-label {
    flex: 0 0 180px;
    /* Slightly adjusted width */
    text-align: left;
    /* Changed from right to left as requested */
    font-size: 1rem;
    color: var(--color-text);
    padding-left: 0px;
    /* Subtle padding from the left edge */
    font-family: var(--font-gothic);

}

@media (max-width: 768px) {
    .form-label {
        font-size: 0.95rem;
    }
}

.form-field {
    flex: 1;
}

.form-field input[type="text"],
.form-field input[type="email"],
.form-field input[type="tel"],
.form-field textarea {
    width: 100%;
    padding: 12px 15px;
    background-color: #ffffff;
    border: 1px solid #888;
    font-family: var(--font-gothic);
    font-size: 1rem;
    color: var(--color-text);
    transition: border-color 0.3s ease;
}

@media (max-width: 768px) {

    .form-field input,
    .form-field textarea {
        font-size: 0.95rem;
    }
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-buttons {
    display: flex;
    justify-content: center;
    gap: 100px;
    margin-top: 40px;
}

.confirm-text {
    font-size: 1.1rem;
    color: var(--color-text);
    font-family: var(--font-gothic);
    padding: 10px 0;
    line-height: 1.6;
}

.confirm-text.message-text {
    background: #ffffff;
    padding: 15px;
    border-radius: 4px;
    border: 1px solid #e5e5e5;
}

.btn-reset,
.btn-submit {
    padding: 15px 60px;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-base);
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    display: inline-block;
    font-family: var(--font-gothic);

}

@media (max-width: 768px) {

    .btn-reset,
    .btn-submit {
        font-size: 0.95rem;
    }
}

.btn-reset {
    background-color: #eeeeee;
    color: #666666;
}

.btn-submit {
    background-color: #F5DED5;
    color: var(--color-text);
}

.btn-reset:hover {
    background-color: #e0e0e0;
    opacity: 1;
}

.btn-submit:hover {
    background-color: #f2ccc0;
    /* Slightly deeper pink on hover */
    opacity: 1;
}


.error-message {
    color: #e3342f;
    font-size: 1rem;
    margin-top: 5px;
    font-weight: 400;
}

@media (max-width: 768px) {
    .error-message {
        font-size: 0.95rem;
    }
}

.form-field.has-error input,
.form-field.has-error textarea {
    border-color: #e3342f !important;
    background-color: #fffafa;
}

/* Mobile Responsive for Contact Form */
@media (max-width: 768px) {
    .contact-form-section {
        padding: 60px 0;
        margin-top: 40px;
    }

    .contact-form {
        gap: 20px;
        /* Reduced gap between rows */
    }

    .form-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
        /* Reduced gap between label and field */
    }

    .form-label {
        flex: none;
        text-align: left;
        font-size: 0.85rem;
    }

    .form-field {
        width: 100%;
    }

    .form-buttons {
        flex-direction: column-reverse;
        margin-top: 20px;
        /* Reduced margin-top */
        gap: 15px;
        /* Reduced gap between buttons */
    }

    .btn-reset,
    .btn-submit {
        width: 100%;
        padding: 15px;
    }
}

/* Wig Essence Section */
.wig-essence {
    padding: 120px 0;
    background-color: #fdf6f2;
    /* Subtle background color matching marble feel */
    background-image: url('../images/common/bg_texture.svg');
    background-size: cover;
    background-position: center;
}


.essence-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    max-width: 1200px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .essence-grid {
        gap: 40px;
        padding: 0 20px;
    }
}

.essence-card {
    background: #ffffff;
    width: calc((100% - 120px) / 3);
    /* 3 columns with 60px gap (2 gaps total per row = 120px) */
    min-height: 480px;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 40px 40px;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
}

@media (min-width: 1025px) {

    .essence-card:nth-child(4),
    .essence-card:nth-child(5) {
        width: calc(33.333% - 20px);
    }
}

.essence-card .num {
    font-family: var(--font-gothic);
    font-size: 2.8rem;
    /* Slightly larger like screenshot */
    color: var(--color-text);
    margin-bottom: 40px;
    font-weight: 300;
}

.essence-card .card-title {
    font-family: var(--font-gothic);
    font-size: 1.25rem;
    /* Balanced for 2 lines */
    color: var(--color-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
    /* Reduced spacing */
    font-weight: 400;
    /* Slightly lighter weight for elegance */
    /* Reset global .card-title positioning */
    position: static;
    top: auto;
    transform: none;
}

.card-separator {
    width: 100%;
    /* Matches text width */
    height: 1px;
    background-color: rgba(74, 58, 42, 0.2);
    /* More neutral brown matching other lines */
    margin-bottom: 40px;
    /* Reduced spacing */
}

.essence-card .card-text {
    font-family: var(--font-base);
    font-size: 1rem;
    /* Slightly larger for readability */
    line-height: 2.4;
    /* More airy lines */
    color: var(--color-text);
    text-align: left;
}

@media (max-width: 768px) {
    .essence-card .card-text {
        font-size: 0.95rem;
    }
}

@media (max-width: 1024px) {
    .essence-card {
        width: calc(50% - 15px);
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .wig-essence {
        padding: 80px 0 100px 0;
    }


    .essence-card {
        width: 100%;
        padding: 40px 30px;
    }

    .card-separator {
        width: 100%;
        max-width: 200px;
        /* Smaller for mobile */
        margin-bottom: 40px;
    }
}

/* Wig Delivery Flow Section */
.wig-delivery {
    background-color: #FFF8F5;
    padding-bottom: 120px;
}

/* White container with simplified bowl-shaped bottom arc */
.delivery-inner-wrap {
    background: #ffffff;
    padding: 120px 0 0px;
    /* Balanced padding */
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.02);
    position: relative;
    /* overflow: visible to allow the arc pseudo-element to show */
    z-index: 2;
}

.delivery-inner-wrap::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    aspect-ratio: 780.25 / 99.19;
    background-image: url('../images/common/bg_circle_white_2.svg');
    background-size: 100% 100%;
    background-position: top center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 10;
}

.delivery-inner {
    position: relative;
    z-index: 3;
}


.delivery-flow {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0;
    max-width: 1200px;
    /* Increased to match others */
    margin: 0 auto 50px;
}

.flow-step {
    flex: 1;
    height: 280px;
    /* Approximately double the previous height (160px) as requested */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0 100%, 20% 50%);
    padding: 0 15px;
    margin-right: -20px;
}

.flow-step:first-child {
    clip-path: polygon(0 0, 80% 0, 100% 50%, 80% 100%, 0 100%);
    padding-left: 30px;
}

.flow-step:last-child {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 20% 50%);
    margin-right: 0;
    padding-right: 25px;
}

.flow-step .step-text {
    font-family: var(--font-gothic);
    font-size: 1.1rem;
    /* Slightly larger */
    color: var(--color-secondary);
    /* Warm brown-red */
    font-weight: 400;
    line-height: 1.8;
}

/* Color Gradient: Verified colors from design */
.step-1 {
    background-color: #fdf5f2;
}

.step-2 {
    background-color: #f7e9e3;
}

.step-3 {
    background-color: #f1ddd4;
}

.step-4 {
    background-color: #ead1c5;
}

.step-5 {
    background-color: #e4c5b6;
}

.step-6 {
    background-color: #dfb9a7;
}

.delivery-note {
    text-align: center;
    font-family: var(--font-gothic);
    font-size: 1.1rem;
    color: var(--color-text);
    margin-top: 40px;
}

@media (max-width: 768px) {
    .delivery-note {
        font-size: 0.95rem;
    }
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .delivery-flow {
        flex-wrap: wrap;
        gap: 15px;
    }

    .flow-step {
        flex: 0 0 calc(33.33% - 10px);
        height: 80px;
        clip-path: none;
        border-radius: 4px;
    }

    .flow-step:first-child {
        clip-path: none;
    }
}

@media (max-width: 768px) {
    .wig-delivery {
        padding-bottom: 40px;
    }

    .delivery-inner-wrap {
        background: #ffffff;
        /* Revert to solid white on mobile */
        padding: 80px 20px 80px;
    }

    .delivery-inner-wrap::before,
    .delivery-inner-wrap::after {
        display: none;
        /* Hide complex pseudo-elements */
    }


    .delivery-flow {
        flex-direction: column;
        gap: 0px;
        /* White gap between interlocking steps */
    }

    .flow-step {
        width: 100% !important;
        height: 180px !important;
        padding: 40px 20px !important;
        margin-right: 0 !important;
        flex: none !important;
        min-height: 0 !important;
        /* Sharper interlocking shape (30px depth) */
        clip-path: polygon(0% 0%, 50% 30px, 100% 0%, 100% calc(100% - 30px), 50% 100%, 0% calc(100% - 30px));
        display: flex;
        align-items: center;
        justify-content: center;
        margin-top: 0 !important;
    }

    .flow-step:first-child {
        margin-top: 0 !important;
        padding: 40px 20px !important;
        clip-path: polygon(0% 0%, 100% 0%, 100% calc(100% - 30px), 50% 100%, 0% calc(100% - 30px));
    }

    .flow-step:last-child {
        /* Last one has a flat bottom but sharper interlocking top */
        clip-path: polygon(0% 0%, 50% 30px, 100% 0%, 100% 100%, 0% 100%);
        padding: 40px 20px !important;
        border-radius: 0 0 4px 4px !important;
    }
}

/* Wig Aftercare Section */
.wig-aftercare {
    background-color: #FFF8F5;
    /* Restore solid color */
    padding: 200px 0 140px;
    /* Maintain padding for the arc transition */
}

.aftercare-content {
    max-width: 900px;
    margin: 0 auto;
}


.aftercare-content {
    max-width: 1000px;
    margin: 0 auto;
}

@media (max-width: 768px) {
    .aftercare-content {
        padding: 50px 20px;
    }
}

.aftercare-item {
    margin-bottom: 100px;
    /* Increased spacing */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Center everything */
}

.aftercare-item:first-child {
    margin-bottom: 60px;
}

.aftercare-item:last-child {
    margin-bottom: 0;
}

.aftercare-item .item-header {
    width: 100%;
    margin-bottom: 40px;
    border-bottom: 1px solid #d8ccc4;
    /* Matches screenshot subtlety */
    padding-bottom: 12px;
}

.title-with-tax {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    width: 100%;
}

.aftercare-item .item-name {
    font-family: var(--font-gothic);
    font-size: 1.1rem;
    color: var(--color-secondary);
    font-weight: 400;
    margin: 0;
    line-height: 1;
}

.tax-note {
    font-size: 0.85rem;
    color: var(--color-text);
    margin: 0;
}

.aftercare-item .item-body {
    width: 100%;
    text-align: left;
    padding: 0 85px;
}

@media (max-width: 768px) {
    .aftercare-item .item-body {
        padding: 0 0px;
    }
}

.aftercare-item .body-text {
    font-family: var(--font-base);
    font-size: 1rem;
    line-height: 2;
    color: var(--color-text);
    margin: 0 0 50px 0;
}

@media (max-width: 768px) {
    .aftercare-item .body-text {
        font-size: 0.95rem;
    }
}

.policy-boxes {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
}

.policy-box {
    background: #ffffff;
    padding: 50px 40px;
    border-radius: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.015);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.policy-box.solo {
    grid-column: span 2;
}

.policy-box .box-title {
    font-family: var(--font-gothic);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-secondary);
    margin-bottom: 30px;
    text-align: center;
    border-bottom: 1px dashed rgba(140, 74, 56, 0.3);
    padding-bottom: 15px;
    width: 100%;
    max-width: 280px;
}

@media (max-width: 768px) {
    .policy-box .box-title {
        font-size: 0.95rem;
    }
}

.policy-box .box-list {
    list-style: none;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 250px;
    /* Synchronized width to align 'heads' across different boxes */
    text-align: left;
}

.policy-box .box-list li {
    font-family: var(--font-gothic);
    font-size: 0.9rem;
    line-height: 2.2;
    color: var(--color-text);
    position: relative;
    padding-left: 1.2em;
    margin-bottom: 0px;
}

.policy-box .box-list li::before {
    content: "・";
    position: absolute;
    left: 0;
}

.sub-item {
    margin-bottom: 25px;
}

.sub-item:last-child {
    margin-bottom: 0;
}

.repair-section {
    margin-top: 30px;
    border-top: 1px dashed #e5d8d0;
    padding-top: 25px;
}

.price-row {
    display: flex;
    align-items: baseline;
    margin-bottom: 8px;
}

.price-row .label {
    font-family: var(--font-gothic);
    font-size: 1rem;
    font-weight: 400;
    color: var(--color-text);
}

@media (max-width: 768px) {
    .price-row .label {
        font-size: 0.95rem;
    }
}

.price-row .leader {
    flex: 1;
    border-bottom: 1px dotted #e5d8d0;
    margin: 0 15px;
}

.price-row .price {
    font-family: var(--font-gothic);
    font-size: 1.15rem;
    font-weight: 400;
    color: var(--color-text);
    /* Primary brown */
}

@media (max-width: 768px) {
    .price-row {
        flex-direction: column;
        align-items: flex-start;
    }

    .price-row .leader {
        display: none;
    }

    .price-row .price {
        width: 100%;
        text-align: right;
        margin-top: 5px;
    }
}

.repair-price-list {
    margin-top: 20px;
}

.repair-price-list .price-row {
    margin-bottom: 20px;
}

.repair-price-list .price-row .label {
    font-weight: 400;
    /* Mighter weight for bulleted list */
}

/* Mobile responsive */
@media (max-width: 768px) {
    .wig-aftercare {
        padding: 60px 0;
    }

    .aftercare-item {
        padding: 0 20px;
    }

    .aftercare-item .item-body {
        padding-left: 0;
    }

    .policy-boxes {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .policy-box {
        padding: 25px 20px;
    }
}

/* Privacy Policy Page */
.privacy-mv {
    background: #FFF8F5;
    padding: calc(80px + var(--header-height)) 0 80px;
    text-align: center;
}

.privacy-section {
    padding: 100px 0 160px;
    background: #fff;
}

.privacy-content {
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    padding: 80px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
    font-family: var(--font-base);
    color: var(--color-text);
    line-height: 2;
}

.privacy-intro {
    margin-bottom: 60px;
    padding-bottom: 40px;
    border-bottom: 1px solid #eee;
}

.privacy-item {
    margin-bottom: 60px;
}

.privacy-item-title {
    font-size: 1.1rem;
    font-weight: 500;
    margin-bottom: 25px;
    color: var(--color-secondary);
}

.privacy-list {
    list-style: none;
    padding-left: 20px;
    margin: 20px 0;
}

.privacy-list li {
    position: relative;
    padding-left: 15px;
    margin-bottom: 5px;
}

.privacy-list li::before {
    content: "・";
    position: absolute;
    left: 0;
}

.privacy-date {
    text-align: right;
    margin-top: 80px;
    font-size: 0.95rem;
}

/* Contact Agreement */
.form-agreement {
    margin: 40px 0 60px;
    text-align: center;
}

.form-agreement label {
    display: inline-flex;
    align-items: center;
    cursor: pointer;
    font-size: 0.95rem;
    color: var(--color-text);
}

.form-agreement input[type="checkbox"] {
    margin-right: 12px;
    width: 18px;
    height: 18px;
    accent-color: var(--color-primary);
}

.form-agreement .privacy-link {
    color: var(--color-secondary);
    text-decoration: underline;
    margin: 0 4px;
}

@media (max-width: 768px) {
    .about-text-column {
        width: 100%;
        padding: 40px 40px;
    }

    .about-text-body p {
        font-size: 0.95rem;
        line-height: 1.8;
    }
}

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

    .privacy-mv {
        padding-top: calc(100px + var(--header-height));
    }

    .privacy-section {
        padding: 60px 0 100px;
    }
}

@keyframes fade-in-bg {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}