@charset "UTF-8";

/* ===================
全体共通
====================== */

:root {
     /* color background */
    --color-bg-base: #E1D8D4;
    --color-bg-accent: #CBC3C0;
    --color-bg-light: #EBE1DC;

    /* color text */
    --color-text-strong: #2F2F2F;
    --color-text-heading: #3A3A3A;
    --color-text-body: #4A4A4A;
    --color-text-muted: #6A6A6A;

    /* font-family */
    --font-body-ja:
        "Noto Sans JP",
        "Hiragino Kaku Gothic ProN",
        "Yu Gothic",
        Meiryo,
        sans-serif;

    --font-display-ja:
        "Noto Serif JP",
        "Hiragino Mincho ProN",
        "Yu Mincho",
        serif;

    --font-body-en:
        "Crimson Text",
        serif;

    --font-display-en:
        "Cormorant Garamond",
        serif;

    --font-logo:
        "EB Garamond",
        serif;
}

html {
    font-size: 62.5%;
}

body {
    font-family: var(--font-body-ja);
    font-style: normal;
    color: var(--color-text-body);
    background-color: var(--color-bg-base);
    line-height: 1.5;
    font-size: 1.6rem;
}

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



/* ===================
共通ボタン
====================== */

/* 共通リンクのボタン(hero our-scents our-quality) */
.link-btn {
    display: inline-flex;
    
    justify-content: center;
    align-items: center;
    gap: 0.75em;
    cursor: pointer;

    /* テキストなど中身改行しないようにする */
    white-space: nowrap;

    border-radius: 50px;
    border: 1px solid currentColor;

    padding:
        clamp(2.6rem, 1.8rem + 2vw, 3.6rem)
        clamp(5.5rem, 3rem + 6vw, 10rem);
}

.link-btn--hero {
    font-size: 1.8rem;
}

/* .link-btnをホバーしたら、矢印が6px動く */
.link-btn:hover .link-btn__arrow {
    transform: translateX(8px);
}

.link-btn:hover {
    opacity: 0.8;
}

.link-btn__text {
    text-align: center;
    font-family: var(--font-body-ja);
    line-height: 1;
    letter-spacing: 0.06em;
    font-size: 1.8rem;
}

.link-btn__arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 0.6em;
    height: 1em;

    /* hoverでトランスフォームが変わったら（要素を動かしたりするのが）0.4秒かけて動く準備　→　hoverで使うやつ*/
    transition: transform 0.4s;
}

.link-btn__arrow svg {
    display: block;
    width: 100%;
    height: 100%;
}



/* ===================
ヘッダー
====================== */

/* topページの固定ヘッダー */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 64px;
    z-index: 1000;
    background-color: var(--color-bg-base);
    
    /* 少しスクロールしたら、フワッと上に消える */
    transition: 
    transform 0.8s ease,
    opasity 0.8s ease;
}

/* jsで上にヘッダーを隠す時に使う 少しスクロールしたら、フワッと上に消える */
.site-header.is-hidden {
    transform: translateY(-100%);
    opacity: 0;
    
}

/* fixedヘッダー分の高さ６４px　bodyで下げる */
body {
    padding-top: 64px;
}

/* ヘッダーの中身を整える箱 */
.site-header__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1280px;
    padding-inline: 5.1%;
    margin: 0 auto;
    height: 100%;
}

.site-header__logo {
    margin: 0;
}

.logo {
    color: #5B5C5E;
    text-align: center;
    font-family: var(--font-logo);
    font-size: 2rem;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.12em;
}

/* sp open ハンバーガーボタン */
.site-header__open-btn {
    display:inline-flex;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    cursor: pointer;
}

.site-header__open-btn img {
    display: block;
    width: 30px;
    height: auto;
}

/* nav base */

/* navメニュー全体をを隠している状態のまとめた箱 */
.site-nav {
    position: fixed;
    inset: 0;
    visibility: hidden;
    opacity: 0;
    pointer-events: none;

    transition: opacity 0.5s ease, visibility 0.5s ease;
}

/* navメニュー全体が開いた状態　is-openが付いたら開くっていうCSSを書いてる */
.site-nav.is-open {
    visibility: visible;
    opacity: 1;
    pointer-events: auto;
}

/* ドロワーメニューの後ろのうっすら黒い背景 ここもjsでクリックしたら閉じれるようにする */
.site-nav__overlay {
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.5);
    cursor: pointer;
}

/* 右から出てくるドロワー本体全体（ヘッダーとナビ） */
.site-nav__panel {
    position: absolute;
    top: 0;
    right: 0;
    width: min(85%, 320px);
    height: 100%;
    background-color: var(--color-bg-base);
    transform: translateX(100%);

    transition: transform 0.5s ease;
}

/* site-navにis-openがついた時、その中のsite-nav__panel（ヘッダーとナビ）が、0の元の位置に戻る*/
.site-nav.is-open .site-nav__panel {
    transform: translateX(0);
}

/* ドロワー上部 */
.site-nav__header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 64px;
    padding-inline: 5.1%;
}

.site-nav__close-btn {
    display:inline-flex;
    justify-content: center;
    align-items: center;

    /* 箱は大きめにして、pointerできる範囲を増やしている */
    width: 44px;
    height: 44px;
    cursor: pointer
}

.site-nav__close-btn img {
    display: block;
    width: 30px;
    height: auto;
}

/* SPの時のメニュー一覧 */
.site-nav__list {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background-color: var(--color-bg-accent);
    padding: 80px 0 80px 4.1%;
    gap: 48px;
    height: calc(100% - 80px);
}

.site-nav__item {
    width: 100%;
    border-bottom: 1px solid var(--color-text-muted);
}

.site-nav__item a {
    display: block;
    padding-bottom: 20px;
    color: var(--color-text-body);
    font-family: var(--font-body-en);
    font-size: 2rem;
    line-height: 1;
    letter-spacing: 0.1em;
}


@media screen and (min-width: 768px) {

    .site-header {
        height: 80px;
    }

    /* ヘッダー分の高さ80px分　メインごと下げる */
    body {
        padding-top: 80px;
    }

    .logo {
        font-size: 3rem;
    }

    .site-header__open-btn {
        display: none;
    }

    /* navメニューを見える状態にしSPの設定値を元に戻した　transitionは不要 */
    .site-nav {
        position: static;
        inset: auto;
        visibility: visible;
        pointer-events: auto;
        opacity: 1;
        transition: none;
    }

    .site-nav__overlay {
        display: none;
    }

    .site-nav__panel {
        position: static;
        width: auto;
        height: auto;
        transform: none;
        background: transparent;
        transition: none;
    }

    .site-nav__header {
        display: none;
    }

    .site-nav__list {
        display: flex;
        flex-direction: row;
        justify-content: center;
        background-color: transparent;
        padding: 0;
        gap: 40px;
        height: auto;
    }

    .site-nav__item {
        width: auto;
        border-bottom: none;
    }

    .site-nav__item a {
        padding-bottom: 0;
    }
}



/* ===================
footer
====================== */

.footer {
    position: relative;
    background-color: #C1BAB7;
    padding: 40px 5.1%;
}

.footer__wrapper {
    width: 100%;
}

.footer__top {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

.footer__cta {
    display: flex;
    justify-content: flex-end;
    width: 100%;
}

.footer__bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-top: 32px;
}

.footer__policy-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem 2rem;
}

.footer__logo {
    font-size: 2rem;
}

.link-btn--contact {
    padding:
        clamp(1.5rem, 1.2rem + 1vw, 2.4rem)
        clamp(3.6rem, 2rem + 3vw, 6.5rem);

    color: var(--color-text-muted);
}

.link-btn--contact .link-btn__text {
    font-size: 1.6rem;
    letter-spacing: 0.04em;
}

.footer__policy-item a {
    color: var(--color-text-muted);
    font-family: var(--font-body-ja);
    font-size: 1.3rem;
    line-height: 1;
    letter-spacing: 0.04em;
}

.footer__copyright,
.footer__cautionary-note {
    color: var(--color-text-muted);
    text-align: center;
    font-family: var(--font-body-ja);
    font-size: 1.3rem;
    line-height: 1;
    letter-spacing: 0.04em;
}


@media screen and (min-width: 768px) {

    .footer {
        padding: 48px 5.5%;
    }

    .footer__wrapper {
        width: auto;
        max-width: 1100px;
        margin: 0 auto;
    }

    .footer__top {
        display: flex;
        flex-direction: row-reverse;
        align-items: center;
        justify-content: space-between;
        gap: 0;
    }

    .footer__cta {
        display: block;
        justify-content: flex-start;
        width: auto;
    }

    .footer__bottom {
        justify-content: space-between;
        align-items: center;
        margin-top: 40px;
    }

    .footer__policy-list {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        gap: 0 3rem;
    }
}



/* ===================
ページ共通のhero
====================== */

.page-hero {
    position: relative;
}

.page-hero__title-group {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    display: flex;
    align-items: center;
    flex-direction: column;
    gap: clamp(20px, 4vw, 40px);
    width: 100%;
    margin: 0 auto;
}

.page-hero__img {
    display: block;
    width: 100%;
    height: clamp(260px, 50vw, 320px);
    overflow: hidden;
}

.page-hero__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-hero__title {
    color: var(--color-text-body);
    text-align: center;
    font-family: var(--font-display-ja);
    font-size: clamp(2.4rem, 6vw, 3.2rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: 0.1em;
}

.page-hero__sabtitle {
    color: var(--color-text-body);
    text-align: center;
    font-family: var(--font-display-en);
    font-size: clamp(1.6rem, 4vw, 2.2rem);
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0.1em;
}


@media screen and (min-width: 768px) {

    .page-hero__img {
        height: clamp(300px, 35vw, 420px);
    }

    .page-hero__title {
        font-size: clamp(2.4rem, 4vw, 5rem);
    }

    .page-hero__sabtitle {
        font-size: clamp(1.6rem, 2.5vw, 2.8rem);
    }
}



/* ===================
breadcrumb パンくず
====================== */

.breadcrumb {
    padding: 16px 4.1%;
    background-color: var(--color-bg-light);
}

.breadcrumb__inner {
    margin: 0 auto;
}

.breadcrumb__list {
    display: flex;
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0 13px;
}

.breadcrumb__item {
    color: var(--color-text-muted);
    font-family: var(--font-body-ja);
    font-size: 1.4rem;
    line-height: 1;
    letter-spacing: 0.06em;

    display: flex;
    align-items: center;
}

.breadcrumb__item:not(:last-child)::after {
    content: '';
    display: inline-block;
    vertical-align: middle;
    transform: rotate(45deg);
    width: 3px;
    height: 3px;
    margin-left: 10px;
    border-top: 1px solid #333333;
    border-right: 1px solid #333333;
}
