@charset "UTF-8";

:root {
    /* ===== Font Sizes ===== */
    --font-xs: clamp(0.75rem, 0.3vw, 0.875rem);
    --font-sm: clamp(0.875rem, 1.05vw, 1rem);
    --font-base: clamp(1rem, 1.2vw, 1.125rem);
    --font-md: clamp(1.125rem, 1.4vw, 1.25rem);
    --font-lg: clamp(1.25rem, 1.8vw, 1.5rem);
    --font-xl: clamp(1.5rem, 2.2vw, 2rem);
    --font-xxl: clamp(2rem, 4vw, 3rem);

    /* ===== Spacing / Margin / Padding ===== */
    --space-xs: clamp(0.25rem, 0.5vw, 0.5rem);
    --space-sm: clamp(0.5rem, 1vw, 1rem);
    --space-md: clamp(1rem, 2vw, 2rem);
    --space-lg: clamp(2rem, 4vw, 4rem);
    --space-xl: clamp(4rem, 6vw, 6rem);

    /* ===== Layout Sizes ===== */
    --container-width: 1200px;
    --sidebar-width: clamp(140px, 10vw, 200px);
    --gutter: clamp(1rem, 2vw, 2rem);

    /* ===== Line Height ===== */
    --line-height-base: 1.7;
    --line-height-tight: 1.4;
    --line-height-loose: 1.9;

    /* ===== Border Radius ===== */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 16px;

    /* ===== Transition ===== */
    --transition-fast: 0.2s ease;
    --transition-slow: 0.5s ease;

    /* ===== width ===== */
    --img-width-logo: clamp(4rem, 8vw, 10rem);
    --content-min-width: 1000px;
    --content-preferred-width: calc(70vw + 10rem);
    --content-max-width: 1800px;
    --content-max-width-auto: auto;

}

/* ---------- ベースデザイン全体 ---------- */
html,
body {
    font-family: "Bebas Neue", "Montserrat", 'Inter', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fffdfc;
    color: #333;
    line-height: 1.6;
    height: 100%;
    overflow: hidden;
}

section {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 100vh;
    height: auto;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease;
    pointer-events: none;
}

section.active {
    opacity: 1;
    pointer-events: auto;
    z-index: 1;
}

h1,
h2,
h3,
h4 {
    font-family: "Josefin Sans", sans-serif;
    font-weight: 300;
    margin: 0;
}

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

a {
    color: #ff6f91;
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    text-decoration: underline;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    color: #111;
    border: 1px solid #111;
    margin-top: 1rem;
    font-weight: bold;
    transition: background-color 0.3s ease;
}

.btn:hover {
    background-color: #e65c7a;
}

.container {
    padding: 2rem 1rem;
}

.full-width-section {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    padding: 0;
}

.full-width-section h2 {
    font-size: 2.5rem;
    color: #444;
    font-weight: 600;
}

.full-width-section p {
    font-size: 1.2rem;
    color: #666;
}

.full-width-content-wrapper {
    display: flex;
    align-items: stretch;
    /* 画像とテキストの高さを揃える */
    width: 100%;
    height: 100%;
    /* 子要素を縦いっぱいに */
}

.full-width-img {
    flex: 0 0 40%;
    height: 100%;
    transform: translateY(20px);
    /* 初期状態：少し下にズラす */
    opacity: 0;
    transition: transform 1s ease, opacity 1s ease;
}

section#page6.active .full-width-img,
section#page2.active .full-width-img,
section#page3.active .full-width-img {
    transform: translateY(0);
    opacity: 1;
    transition-delay: 0.3s;
}

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

.full-width-content {
    flex: 1;
    padding-left: 7rem;
    padding-right: 3rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.full-width-content>h2 {
    font-weight: bold;
    margin-bottom: var(--space-lg);
}

.full-width-content h2 {
    font-size: var(--font-md);
}

.full-width-content p {
    font-size: var(--font-sm);
    line-height: 2.8;
    color: #666;
    letter-spacing: .12rem;
    margin-bottom: 0;
}

.full-width-content.menu>h2 {
    font-size: var(--font-xl);
    margin-bottom: var(--space-lg);
    font-weight: bold;
}

.full-width-content.menu h2 {
    font-size: var(--font-sm);
}

.full-width-content.menu p {
    font-size: var(--font-xs);
    margin: 0 0 1rem;
    border-bottom: 1px solid #ccc;
    padding-bottom: .5rem;
}

.content-box {
    margin-top: 1rem;
    text-align: center;
}

.service-price {
    font-size: var(--font-sm);
    font-weight: normal;
}

.fade-in {
    opacity: 0;
    transition: opacity 1.5s ease;
}

.fade-in.show {
    opacity: 1;
}

/* ---------- パララックス用レイヤーのスタイル ---------- */
.parallax-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    will-change: transform;
    pointer-events: none;
    z-index: -1;
}

.layer-back {
    background-image: url('img/bg-art-back.png');
    /* パステル背景 */
    z-index: -3;
}

.layer-mid {
    background-image: url('img/bg-art-mid.png');
    /* 中間アート層 */
    z-index: -2;
}

.layer-front {
    background-image: url('img/bg-art-front.png');
    /* 前景デコレーション */
    z-index: -1;
}

/* ---------- オープニングコンテンツ ---------- */
.white-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 1.5s ease;
}

.white-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* ロゴ全体ラッパー */
.logo-wrapper {
    position: relative;
    width: auto;
    height: 120px;
}

/* ロゴタイトル（最初にふわっと） */
.logo-title {
    width: 8rem;
    opacity: 0;
    transform: scale(0.95);
    transition: opacity 1s ease, transform 1s ease;
}

.logo-title.show {
    opacity: 1;
    transform: scale(1);
}

/* リーフの初期位置 */
.logo-leaf {
    position: absolute;
    top: 28px;
    left: 41px;
    width: 2.5rem;
    opacity: 0;
}

/* 回転アニメーション */
.logo-leaf.orbit {
    animation: orbit 2s ease-out forwards;
    opacity: 1;
}

@keyframes orbit {
    0% {
        transform: rotate(0deg) translateX(150px) rotate(0deg);
    }

    100% {
        transform: rotate(360deg) translateX(0) rotate(-360deg);
    }
}

.white-overlay.hidden {
    display: none;
}

/* ---------- ヒーローコンテンツ ---------- */
.hero {
    position: relative;
    height: 100vh;
    overflow: hidden;
    background-color: #fef6f9;
    background-image: url('../img/leto-hero.png');
    background-repeat: no-repeat;
    background-size: cover;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    opacity: 0;
    filter: blur(10px);
    transition: opacity 2s ease, filter 2s ease;
}

.hero.bg-show {
    opacity: 1;
    filter: blur(0);
}

.hero-content-wrapper {
    position: absolute;
    bottom: -100%;
    left: 0;
    width: 27%;
    height: 100%;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
    transition: bottom 1.5s ease;
}

.hero-content-wrapper.show {
    bottom: 0;
}


.hero-content {
    opacity: 0;
    color: #000;
    text-align: center;
    transition: opacity 1.5s ease;
}

.hero-content.show {
    opacity: 1;
}

.hero-content h1 {
    font-size: 3rem;
    color: #444;
    margin: 0;
}

.hero-content p {
    font-size: var(--font-sm);
    color: #777;
    margin-top: 1rem;
}

.hero-logo h1 img {
    width: var(--img-width-logo);
    margin: auto;
}

.yoyaku-btn {
    padding: 1.4rem 4rem;
    background: #fff;
    color: #94764f;
    border: 1px solid #94764f;
    font-size: var(--font-sm);
    margin-top: 1rem;
}

.section,
.full-width-section,
.under-section {
    background-color: #fff !important;
}

.hero.hidden {
    display: none;
}

body.mobile-scroll,
body.mobile-scroll html {
    overflow: auto !important;
}

/* --- Blogカードのレイアウト --- */
.blog-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
    padding: 0;
    margin: 0 auto 3rem;
    max-width: 1100px;
    list-style: none;
}

.blog-item {
    background: #fff;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.07);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    transition: box-shadow 0.3s;
    height: 100%;
    min-width: 0;
}

.blog-item:hover {
    box-shadow: 0 10px 32px rgba(0, 0, 0, 0.11);
}

.blog-img {
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #faf9f8;
}

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

.blog-text {
    padding: 1.2rem 1.2rem 2rem;
    flex: 1 1 auto;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.blog-text a {
    padding: 0.5rem 1rem;
    font-size: var(--font-xs);
    margin: 1rem 16px 0 0;
}

.blog-text h3 {
    font-size: var(--font-sm);
    margin: 0 0 1rem 0;
    font-weight: 600;
    color: #555;
}

.blog-day-title span {
    font-size: var(--font-xs);
}

.blog-btn {
    text-align: center;
}

.link-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 3rem auto;
}

.link-btn a {
    display: inline-block;
    padding: .5rem 3rem;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, #d4af37, #b4882c);
    border: none;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.05em;
    text-align: center;
}

.link-btn a:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 25px rgba(180, 136, 44, 0.45);
    background: linear-gradient(135deg, #e6c35c, #c79e3b);
}

/* --- 2列×3段 for タブレット&スマホ --- */
@media (max-width: 1024px) {
    .full-width-content {
        padding-left: 3rem;
    }
}

@media (max-width: 900px) {
    .blog-content-wrapper {
        width: 94%;
        margin: auto;
    }

    .blog-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

    .blog-item {
        border-radius: 0.7rem;
        flex-direction: revert;
        box-shadow: none;
    }

    .blog-text {
        flex: auto;
        flex-direction: revert;
        justify-content: space-between;
        padding: .5rem;
    }

    .blog-text a {
        margin: 0;
    }
}

@media (max-width: 820px) {
    .hero.bg-show {
        padding-top: 35vh;
    }

    .hero-content-wrapper {
        position: relative;
        width: 100vw;
        height: 65vh;
        margin: 0 auto;
        transform: translateY(100%);
        opacity: 0;
        transition: transform 0.8s cubic-bezier(0.33, 1, 0.68, 1), opacity 0.7s;
        border-top-left-radius: 2rem;
        border-top-right-radius: 2rem;
        background: #fff;
        z-index: 10;
        box-shadow: 0 -6px 30px rgba(0, 0, 0, 0.05);
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .hero-content-wrapper.show {
        transform: translateY(0);
        opacity: 1;
    }

    .hero-content-wrapper.hide {
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.5s, bottom 0.8s cubic-bezier(0.33, 1, 0.68, 1);
    }

    .full-width-content {
        padding-left: 2rem;
    }

    .menu-list .title-price {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .menu-list .title-price h2 {
        font-size: 1rem;
        margin: 0 1rem 0 0;
    }

    .menu-list .service-price {
        font-size: 1rem;
        margin: 0;
    }

    .blog-item {
        flex-direction: column;
    }

    .blog-text {
        flex-direction: column;
    }

    .blog-text h3 {
        margin: 0;
    }
}

@media (max-width: 768px) {
    .full-width-content-wrapper {
        flex-direction: column;
    }

    .full-width-img {
        flex: none;
        width: 100%;
        height: 300px;
    }

    .full-width-content {
        padding: 2rem;
        justify-content: flex-start;
    }

    .blog-list {
        grid-template-columns: repeat(1, 1fr);
        gap: 2rem;
    }

    .blog-img {
        width: 10%;
    }

    .blog-text {
        justify-content: space-between;
    }

    .blog-text h3 {
        margin: 0 1rem 0 0;
        line-height: 1.6;
        font-size: var(--font-xs);
    }

    .blog-day-title span {
        font-size: var(--font-xs);
    }

    .link-btn {
        margin: 0 auto;
    }
}


@media (max-width: 600px) {
    .full-width-content.menu p {
        margin: 0 0 .5rem;
        padding-bottom: 0;
    }

    .blog-list {
        gap: 1rem;
        margin-bottom: 2rem;
    }

    .blog-item {
        border-radius: 0.7rem;
    }

    .blog-text {
        padding: 0 1rem;
    }
}

@media (max-width: 413px) {
    .hero-content h1 {
        font-size: 2rem;
    }

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

    .btn {
        text-align: center;
    }

    .full-width-content {
        padding: 1.2rem;
    }

    .full-width-img {
        height: 200px;
    }

    .full-width-content p {
        line-height: 2;
    }

    .full-width-content.menu h2 {
        margin-bottom: 0;
    }

    .full-width-content.menu h3 {
        font-size: var(--font-sm);
    }

    .full-width-content.menu p {
        padding-bottom: 0;
        margin-bottom: .8rem;
    }

    .link-btn a {
        padding: .3rem 2rem;
    }
}