@charset "UTF-8";

:root {
    --color-main: #4A3B32;
    --color-bg: #F9F8F6;
    --color-accent: #C5A880;
    --font-sans: 'Noto Sans JP', sans-serif;
    --font-serif: 'Noto Serif JP', serif;
}

html,
body {
    overflow-x: hidden;
    width: 100%;
    max-width: 100vw;
    position: relative;
}

body {
    font-family: var(--font-sans);
    color: var(--color-main);
    background-color: var(--color-bg);
    line-height: 2;
    letter-spacing: 0.05em;
    -webkit-font-smoothing: antialiased;
    /* SPベースフォントサイズ */
    font-size: 14px;
}

/* PCベースフォントサイズ */
@media (min-width: 768px) {
    body {
        font-size: 16px;
    }
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
.font-serif {
    font-family: var(--font-serif);
    letter-spacing: 0.1em;
    font-weight: 400;
}

section {
    padding-top: 100px;
    padding-bottom: 100px;
}

@media (min-width: 1024px) {
    section {
        padding-top: 140px;
        padding-bottom: 140px;
    }
}

/* ══════════════════════════════
   HEADER
══════════════════════════════ */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    z-index: 200;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(197, 168, 128, 0.2);
    transition: all 0.3s ease;
}

.nav-group {
    display: flex;
    align-items: stretch;
    list-style: none;
}

.nav-group li a {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    width: 110px;
    height: 90px;
    text-decoration: none;
    transition: color .3s;
    color: var(--color-main);
}

.nav-group li a:hover {
    color: var(--color-accent);
}

.nav-ja {
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.1em;
}

.nav-en {
    font-size: 9px;
    letter-spacing: 0.15em;
    color: var(--color-accent);
    text-transform: uppercase;
}

.header-logo {
    padding: 0 50px;
    font-family: var(--font-serif);
    font-size: 24px;
    letter-spacing: 0.15em;
    color: var(--color-main);
    text-decoration: none;
}

/* ══════════════════════════════
   FV (Rounded Stage)
══════════════════════════════ */
.fv {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    background: var(--color-bg);
    overflow: hidden;
    padding: 0;
}

.fv-stage {
    position: absolute;
    left: 140px;
    right: 80px;
    top: 110px;
    bottom: 40px;
    z-index: 10;
}

.fv-stage-inner {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(74, 59, 50, 0.1);
}

.fv-stage-inner::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 20%, rgba(74, 59, 50, 0.5) 100%);
    pointer-events: none;
    z-index: 2;
}

.fv-swiper {
    width: 100%;
    height: 100%;
    z-index: 1;
}

.fv-swiper img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide-counter-wrap {
    position: absolute;
    left: 60px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 20;
}

.counter-current {
    font-family: var(--font-serif);
    font-size: 32px;
    color: var(--color-accent);
    border-bottom: 1px solid var(--color-accent);
    padding-bottom: 5px;
}

.counter-total {
    font-size: 14px;
    color: var(--color-main);
    opacity: 0.5;
}

.res-circle-btn {
    position: absolute;
    left: 70px;
    bottom: 20px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: var(--color-accent);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 100;
    box-shadow: 0 10px 30px rgba(197, 168, 128, 0.4);
    transition: transform .4s cubic-bezier(0.2, 0.8, 0.2, 1), background .3s;
}

.res-circle-btn:hover {
    transform: scale(1.05);
    background: #B89947;
}

.res-circle-btn .btn-ja {
    font-size: 14px;
    font-weight: 500;
    margin-top: 5px;
    letter-spacing: 0.1em;
}

.fv-copy {
    position: absolute;
    bottom: 60px;
    left: 0;
    right: 0;
    text-align: center;
    z-index: 50;
    color: #fff;
    pointer-events: none;
}

.fv-badges {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 24px;
}

.fv-badges span {
    display: inline-block;
    padding: 8px 20px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.1em;
    color: #fff;
    background: rgba(197, 168, 128, 0.85);
    /* naturaGold */
    border: 1px solid rgba(255, 255, 255, 0.4);
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(5px);
}

.copy-main {
    font-family: var(--font-serif);
    font-size: 3.5rem;
    letter-spacing: 0.1em;
    line-height: 1.3;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Float Buttons */
.float-right {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 300;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.float-btn {
    width: 50px;
    padding: 15px 0;
    background: var(--color-main);
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    transition: background .3s;
    border: 1px solid var(--color-main);
}

.float-btn:hover {
    background: #fff;
    color: var(--color-main);
}

.float-btn-text {
    writing-mode: vertical-rl;
    font-size: 11px;
    margin-top: 8px;
    letter-spacing: 0.15em;
}

@media (max-width: 1023px) {
    .site-header {
        justify-content: space-between;
        height: 70px;
        padding: 0 20px;
    }

    .nav-group {
        display: none;
    }

    .header-logo {
        padding: 0;
        font-size: 20px;
    }

    .fv-stage {
        left: 15px;
        right: 15px;
        top: 90px;
        bottom: 15px;
    }

    .slide-counter-wrap,
    .float-right {
        display: none;
    }

    .res-circle-btn {
        left: 15px;
        width: 90px;
        height: 90px;
        bottom: 15px;
        padding: 10px;
    }

    .res-circle-btn .btn-ja {
        font-size: 10px;
        margin-top: 2px;
    }

    .res-circle-btn svg {
        width: 22px;
        height: 22px;
    }

    .fv-copy {
        bottom: 20px;
        padding: 0 15px;
    }

    .fv-badges {
        gap: 8px;
        margin-bottom: 16px;
    }

    .fv-badges span {
        padding: 5px 14px;
        font-size: 10px;
    }

    .copy-main {
        font-size: 28px;
    }
}

/* ══════════════════════════════
   COMMON COMPONENTS
══════════════════════════════ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header .sub {
    display: block;
    font-size: 11px;
    letter-spacing: 0.2em;
    color: var(--color-accent);
    text-transform: uppercase;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--color-main);
}

@media (min-width: 768px) {
    .section-header h2 {
        font-size: 2.5rem;
    }

    .section-header {
        margin-bottom: 80px;
    }
}

.natura-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 50px;
    background: transparent;
    color: var(--color-main);
    border: 1px solid var(--color-main);
    font-size: 13px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    transition: all 0.4s ease;
    text-decoration: none;
}

.natura-btn:hover {
    background: var(--color-main);
    color: #fff;
}

.natura-btn.gold {
    border-color: var(--color-accent);
    color: var(--color-accent);
}

.natura-btn.gold:hover {
    background: var(--color-accent);
    color: #fff;
}

/* Image decorations */
.img-elegant-wrap {
    position: relative;
    z-index: 1;
}

.img-elegant-wrap::before {
    content: '';
    position: absolute;
    top: -15px;
    left: -15px;
    width: 100%;
    height: 100%;
    border: 1px solid var(--color-accent);
    z-index: -1;
}

/* Service Cards */
.service-card {
    position: relative;
    background: #ffffff;
    border: 1px solid rgba(197, 168, 128, 0.2);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(74, 59, 50, 0.05);
}

.service-number {
    position: absolute;
    top: 20px;
    right: 20px;
    font-family: var(--font-serif);
    font-size: 60px;
    line-height: 1;
    color: var(--color-accent);
    opacity: 0.3;
    z-index: 5;
    font-style: italic;
}

/* SVG Animation */
.animate-check {
    stroke-dasharray: 20;
    stroke-dashoffset: 20;
    transition: stroke-dashoffset 0.6s ease-out 0.4s;
}

.reveal.active .animate-check {
    stroke-dashoffset: 0;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transition: transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: transform, opacity;
}

.reveal-up {
    transform: translateY(40px);
}

.reveal-left {
    transform: translateX(40px);
}

.reveal-right {
    transform: translateX(-40px);
}

.reveal.active {
    opacity: 1;
    transform: translate(0, 0);
}

.delay-100 {
    transition-delay: 100ms;
}

.delay-200 {
    transition-delay: 200ms;
}

.delay-300 {
    transition-delay: 300ms;
}

/* Mobile Menu */
#drawer {
    position: fixed;
    inset: 0;
    z-index: 1000;
    background: rgba(249, 248, 246, 0.98);
    backdrop-filter: blur(5px);
    transform: translateX(100%);
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

#drawer.active {
    transform: translateX(0);
}

#drawer a {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--color-main);
    letter-spacing: 0.1em;
}

.bottom-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    z-index: 999;
    transform: translateY(100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.bottom-cta.show {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
}

.bottom-cta a {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    font-size: 12px;
    letter-spacing: 0.1em;
    color: #fff;
}

.cta-tel {
    background-color: var(--color-main);
}

.cta-web {
    background-color: var(--color-accent);
}

/* Back to Top Button */
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 40px;
    width: 50px;
    height: 50px;
    background-color: var(--color-main);
    color: #fff;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 150;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: var(--color-accent);
    transform: translateY(-5px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

@media (max-width: 1023px) {
    .back-to-top {
        right: 15px;
        bottom: 70px;
        /* Above bottom CTA */
        width: 44px;
        height: 44px;
    }
}

/* Responsive Background for Recommend Sections */
.bg-recommend {
    background-image: url('../img/recommendbgsp.png');
}

@media (min-width: 768px) {
    .bg-recommend {
        background-image: url('../img/recommendbg.png');
    }
}