/* ==========================================================================
   楽語一会 - LP Stylesheet
   高級感と本物志向のデザイン - 心と体に、やさしい時間を。
   ========================================================================== */

/* ==========================================================================
   1. CSS Reset & Base Styles
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 18px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-weight: 400;
    line-height: 1.8;
    letter-spacing: 0.05em;
    color: #333;
    background-color: #fafafa;
    overflow-x: hidden;
    /* Selection Protection */
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

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

a {
    transition: opacity 0.3s ease, transform 0.3s ease;
}

a:hover {
    opacity: 0.7;
}

ul, ol {
    list-style: none;
}

button {
    background: none;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

/* ==========================================================================
   2. Typography & Section Titles
   ========================================================================== */
h1, h2, h3, h4, h5, h6 {
    font-family: 'New Tegomin', serif;
    font-weight: 700;
    line-height: 1.4;
    letter-spacing: 0.08em;
}

.section__title {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 30px 0;
    margin-bottom: 20px;
}

.section__title-main {
    font-family: 'New Tegomin', serif;
    font-size: clamp(1.8rem, 4.5vw, 2.5rem);
    color: #3b4d44;
    letter-spacing: 0.15em;
    font-weight: 700;
    position: relative;
    z-index: 1;
    padding-bottom: 20px;
    text-align: center;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .section__title-main {
        font-size: 1.5rem;
    }
}

.section__title-main::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 1px;
    background-color: #8fa896;
}

/* Horizontal Ellipse (Oval) for Price Section */
.section__title-main--circle {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 240px;
    max-width: 90%;
    height: 90px;
    padding: 0;
    border: 1px solid rgba(200, 168, 130, 0.6);
    border-radius: 100px;
    white-space: nowrap;
    background-color: transparent;
    transition: all 0.4s ease;
}

.section__title-main--circle:hover {
    background-color: rgba(200, 168, 130, 0.05);
    border-color: rgba(200, 168, 130, 1);
}

@media (max-width: 768px) {
    .section__title-main--circle {
        width: 200px;
        height: 70px;
        font-size: 1.3rem !important;
    }
}

.section__title-main--circle::after {
    display: none; /* Hide default underline for circle */
}

/* Ribbon/Tag Decoration for About Section */
.section__title-main--tag {
    position: relative;
    padding: 12px 32px;
    background: #f8f3ed;
    border-left: 5px solid #c8a882;
    border-right: 1px solid rgba(200, 168, 130, 0.2);
    display: inline-block;
    box-shadow: 2px 2px 10px rgba(0,0,0,0.03);
    margin-bottom: 10px;
}

@media (max-width: 768px) {
    .section__title-main--tag {
        padding: 10px 20px;
        font-size: 1.2rem !important;
    }
}

/* ==========================================================================
   3. Wagara (Japanese Patterns)
   ========================================================================== */
.wagara-seigaiha::before, .wagara-hishi::before, .wagara-tatewaku::before, .wagara-shippo::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: 0.04;
}

.wagara-seigaiha::before {
    background-image: 
        radial-gradient(circle at 50% 100%, transparent 45%, #8fa896 46%, #8fa896 50%, transparent 51%),
        radial-gradient(circle at 50% 100%, transparent 65%, #8fa896 66%, #8fa896 70%, transparent 71%);
    background-size: 80px 40px;
    background-position: 0 0, 40px 20px;
}

.wagara-hishi::before {
    background-image:
        linear-gradient(45deg, #c8a882 25%, transparent 25%),
        linear-gradient(-45deg, #c8a882 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, #c8a882 75%),
        linear-gradient(-45deg, transparent 75%, #c8a882 75%);
    background-size: 40px 40px;
    background-position: 0 0, 0 20px, 20px -20px, -20px 0px;
}

.wagara-tatewaku::before {
    background-image: 
        radial-gradient(circle at 0% 50%, transparent 45%, rgba(143, 168, 150, 0.4) 47%, transparent 50%),
        radial-gradient(circle at 100% 50%, transparent 45%, rgba(143, 168, 150, 0.4) 47%, transparent 50%);
    background-size: 60px 100px;
    background-position: 0 0, 0 50px;
}

.wagara-shippo::before {
    background-image: 
        radial-gradient(circle at 100% 100%, transparent 45%, #c8a882 46%, #c8a882 50%, transparent 51%),
        radial-gradient(circle at 0% 100%, transparent 45%, #c8a882 46%, #c8a882 50%, transparent 51%),
        radial-gradient(circle at 100% 0%, transparent 45%, #c8a882 46%, #c8a882 50%, transparent 51%),
        radial-gradient(circle at 0% 0%, transparent 45%, #c8a882 46%, #c8a882 50%, transparent 51%);
    background-size: 60px 60px;
}

.diamond-clip {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

/* ==========================================================================
   4. Layout Containers
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 50px;
}

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

.section {
    padding: 80px 0;
    position: relative;
    background-color: #fafafa;
    overflow: hidden;
}

.bg-brand-soft {
    background-color: #f5f0eb !important;
}

.bg-brand-sand {
    background-color: #eee9e4 !important; /* 少し濃いめの砂色 */
}

.bg-brand-light-gold {
    background-color: #fbf8f4 !important; /* ごく僅かに金色のニュアンス */
}

.pb-0 {
    padding-bottom: 0 !important;
}

.section__watermark {
    position: absolute;
    writing-mode: vertical-rl;
    font-family: 'Zen Old Mincho', serif;
    font-size: clamp(3.5rem, 10vw, 7rem);
    color: rgba(200, 168, 130, 0.10);
    z-index: 0;
    pointer-events: none;
    top: 50%;
    transform: translateY(-50%);
    white-space: nowrap;
}

.section__watermark--left { left: 3%; }
.section__watermark--center { left: 50%; transform: translate(-50%, -50%); }
.section__watermark--right { right: 3%; }

@media (max-width: 768px) {
    .section__watermark {
        font-size: clamp(2.5rem, 8vw, 4rem);
        opacity: 0.05; /* スマホではより薄くして高級感を */
    }
    .section__watermark--left { left: 5%; }
    .section__watermark--right { right: 5%; }
}

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

.menu-recommend__details p {
    margin-bottom: 10px;
}

/* Speech Bubble (吹き出し) */
.speech-bubble {
    position: relative;
    background: #c8a882;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    display: inline-block;
    font-family: 'New Tegomin', serif;
    font-size: 1.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    box-shadow: 0 4px 15px rgba(200, 168, 130, 0.2);
    margin-bottom: 12px;
    z-index: 10;
}

.speech-bubble::after {
    content: '';
    position: absolute;
    top: 100%; /* 下側から出す */
    left: 50%;
    transform: translateX(-50%);
    border-width: 12px;
    border-style: solid;
    border-color: #c8a882 transparent transparent transparent; /* 下向きの三角形 */
}

/* ==========================================================================
   5. FV Split Layout (PC Only)
   ========================================================================== */
@media (min-width: 1024px) {
    .layout-phase-1 {
        display: flex;
        width: 100%;
    }

    .sticky-sidebar {
        width: 35%;
        position: relative;
        background-color: #FAFAF8;
        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 1.5rem;
        border-right: 1px solid rgba(0, 0, 0, 0.03);
    }

    .scroll-content-area {
        width: 65%;
        position: sticky;
        top: 0;
        height: 100vh;
        overflow: hidden;
    }
}

.writing-vertical-rl {
    writing-mode: vertical-rl;
    text-orientation: upright;
}

@keyframes kenburns {
    0% { transform: scale(1.0); }
    100% { transform: scale(1.1); }
}

.animate-kenburns {
    animation: kenburns 10s ease-out infinite alternate;
}

#fv {
    aspect-ratio: 1 / 1;
    width: 100%;
}

@media (min-width: 1024px) {
    #fv { aspect-ratio: auto; height: 100vh; }
}

/* ==========================================================================
   6. Components (CTA / Cards)
   ========================================================================== */
.pc-fixed-header.is-visible {
    transform: translateY(0) !important;
}

.cta-section {
    background: linear-gradient(135deg, #3d2a1f 0%, #2c1810 100%);
    padding: 60px 0;
}

.service-cards-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

@media (max-width: 1024px) {
    .service-cards-grid { grid-template-columns: 1fr; }
}

.service-card {
    background: white;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.service-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 36px rgba(0,0,0,0.10);
}

.service-card__img-wrapper {
    position: relative;
    overflow: hidden;
    height: 240px;
}

.service-card__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.service-card:hover .service-card__img {
    transform: scale(1.05);
}

.service-card__overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(59,77,68,0.85));
    padding: 20px 18px 16px;
}

.service-card__label {
    font-family: 'New Tegomin', serif;
    font-size: 1.3rem;
    color: white;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-shadow: 0 1px 4px rgba(0,0,0,0.3);
}

.service-card__body {
    padding: 24px 22px 28px;
}

.service-card__title {
    font-family: 'New Tegomin', serif;
    font-size: 1.15rem;
    color: #3b4d44;
    margin-bottom: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.service-card__text {
    font-size: 0.95rem;
    line-height: 2;
    color: #555;
    letter-spacing: 0.03em;
}

/* ==========================================================================
   7. Third View (TV) - ご利用イメージ
   ========================================================================== */
.tv__content {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 40px;
    align-items: center;
}

@media (max-width: 1024px) {
    .tv__content { grid-template-columns: 1fr; }
}

.tv__image {
    position: relative;
    z-index: 1;
}

.tv__image::after {
    display: none;
}

.tv__text {
    background: white;
    padding: 60px 50px;
    border-radius: 4px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
}

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

.tv__list {
    border-left: 1px solid #c8a882;
    padding-left: 30px;
}

.tv__list li {
    margin-bottom: 25px;
    font-weight: 500;
    position: relative;
    padding-left: 30px;
    font-size: 1.15rem;
}

.tv__list li::before {
    content: '・';
    position: absolute;
    left: 0;
    color: #c8a882;
    font-weight: 700;
}

.tv__message {
    font-weight: 700;
    color: #8b6f4d;
    font-size: 1.2rem;
    margin-top: 40px;
}

.tv__image-inner {
    aspect-ratio: 1/1;
    object-fit: contain;
    width: 100%;
    height: 100%;
    background-color: #f5f0eb;
}

/* --- About Card --- */
.about-card {
    background: white;
    max-width: 800px;
    margin: -60px auto 0;
    padding: 50px 40px;
    box-shadow: 0 8px 40px rgba(0,0,0,0.06);
    border-radius: 4px;
    position: relative;
    z-index: 2;
}

.about-card__title {
    font-family: 'New Tegomin', serif;
    font-size: clamp(1.3rem, 3vw, 1.8rem);
    color: #3b4d44;
    text-align: center;
    margin-bottom: 30px;
    letter-spacing: 0.1em;
    line-height: 1.8;
    font-weight: 700;
}

.about-card__text {
    font-size: 0.95rem;
    line-height: 2.2;
    color: #555;
    text-align: center;
    letter-spacing: 0.05em;
    max-width: 620px;
    margin: 0 auto;
}

.about-card__line {
    width: 30px;
    height: 1px;
    background: #8fa896;
    margin: 30px auto 0;
}

/* --- About Hero Image Adjustments --- */
.about__hero-img {
    width: 94%;
    max-width: 1100px;
    margin: 0 auto;
    height: 300px;
    overflow: hidden;
    border-radius: 8px; /* 角を少し丸めて上品に */
    box-shadow: 0 10px 30px rgba(0,0,0,0.05); /* 軽い影で浮かせる */
}

@media (min-width: 1024px) {
    .about__hero-img {
        height: 600px;
    }
}

.about__hero-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ==========================================================================
   8. Price Section
   ========================================================================== */
.menu-price--parallax {
    position: relative;
    background-color: #2c1810;
    padding: 60px 0;
}

.menu-price--parallax .section__title,
.menu-price--parallax .section__title-main {
    color: #fff !important;
}

.menu-price--parallax .section__title-main--circle {
    border-color: rgba(255, 255, 255, 0.4); /* 円も白系の透過に */
}

.menu-price__parallax-bg {
    position: absolute;
    inset: 0;
    background-color: #2c1810;
    z-index: -1;
}

.menu-price__content {
    display: grid;
    grid-template-columns: 40% 60%;
    gap: 40px;
    align-items: center;
}

@media (max-width: 1024px) {
    .menu-price__content { grid-template-columns: 1fr; }
}

.menu-price__list {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .menu-price__list {
        padding: 30px 15px; /* 左右をさらに絞り 15px に調整 */
    }
}

.menu-price__category {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #c8a882;
    color: #2c1810;
}

.menu-price__items li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px dotted #ddd;
}

.menu-price__img-bg-contain {
    background-color: #f5f0eb;
    object-fit: contain;
    width: 100%;
    height: auto;
}

/* ==========================================================================
   9. Access & Footer
   ========================================================================== */
.access__content {
    display: grid;
    grid-template-columns: 45% 55%;
    gap: 30px;
}

@media (max-width: 1024px) {
    .access__content { grid-template-columns: 1fr; }
}

.access__details {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 15px 30px;
}

.footer {
    background: #1a0f0a;
    color: #fff;
    padding: 40px 0 20px;
}

@media (max-width: 1024px) {
    .footer {
        padding-bottom: 80px; /* 追従ボタンと重ならないための余白 */
    }
}

.footer__nav ul {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* ==========================================================================
   10. Global UI / Scroll
   ========================================================================== */
.fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

body.nav-open .fixed-cta {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

@media (min-width: 1025px) {
    .fixed-cta { display: none; }
}

.fixed-cta__btn--phone {
    background: linear-gradient(135deg, #d4a574 0%, #b8885a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 18px;
    color: #fff;
    font-weight: bold;
    letter-spacing: 0.1em;
}

.scroll-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: rgba(200, 168, 130, 0.9);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
}

.scroll-top.show { opacity: 1; visibility: visible; }

.fade-in-up { opacity: 0; }
.fade-in-valid {
    animation: fadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(40px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Scroll Reveal Animations */
.js-reveal {
    opacity: 0;
    transition: all 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    will-change: transform, opacity;
}

.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-zoom { transform: scale(0.95); }

.js-reveal.is-revealed {
    opacity: 1 !important;
    transform: translate(0) scale(1) !important;
}

/* Delay modifiers */
.delay-100 { transition-delay: 0.1s; }
.delay-200 { transition-delay: 0.2s; }
.delay-300 { transition-delay: 0.3s; }
.delay-400 { transition-delay: 0.4s; }
.delay-500 { transition-delay: 0.5s; }