@charset "UTF-8";

/* ======================================== 
   Variables & Base Settings
   ======================================== */
:root {
    --primary-darkred: #8c5853;
    /* ブランドカラー（エンジ） --color-primary */
    --primary-brown: #8b7950;
    /* アースカラー（オリーブゴールド）--color-secondary */
    --primary-white: #fefefe;
    /* ヘッダー背景カラー */
    --primary-gray: #f5f5f5;
    /* 薄いグレー背景 --color-bg-light */
    --primary-black: #252525;
    /* 本文テキストカラー --color-text */
    --primary-darkblue: #333348;
    /* アクセントカラー濃紺　*/
    --font-serif: "Noto Serif JP", serif;
    --font-sans: "Noto Sans JP", Arial, sans-serif;
}

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
    /* スムーススクロール */
    scroll-padding-top: 60px;
    /* 固定ヘッダーの高さ分だけ上部余白を確保 */
}

body {
    font-family: var(--font-sans);
    color: var(--primary-black);
    background-color: #ffffff;
    line-height: 1.6;
    font-size: 1.4rem;
    font-weight: 400;
    font-style: normal;
    letter-spacing: 0.05rem;
    overflow: visible;
}

body.is-modal-open {
    overflow: hidden;
}

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

ul {
    list-style: none;
}

.btn {
    display: inline-block;
    justify-content: space-between;
    align-items: center;
    color: #ffffff;
    text-align: center;
    font-size: 1.6rem;
    background-color: var(--primary-darkred);
    padding: 10px 30px;
    opacity: 1;
    transition: opacity 0.4s ease;
}

.btn:hover {
    opacity: 0.8;
}

/************************************/
/* @media 600px: common             */
/************************************/
@media screen and (min-width: 600px) {
    .body {
        font-size: 1.6rem;
        line-height: 2;
    }
}

/* 600px */

/* ======================================== 
   Header
   ======================================== */
.header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 16px;
    background-color: var(--primary-white);
    width: 100%;
    height: 60px;
    position: fixed;
    top: 0;
    z-index: 100;
    box-shadow: 0 1px 3px rgba(240, 240, 240, 0.6);
    /* #F0F0F0 */
}

.header__logo {
    height: 40px;
    width: auto;
    cursor: pointer;
}

.header__logo--pctop {
    display: none;
}

.header__icons {
    display: flex;
    align-items: center;
}

.header__cart {
    width: 32px;
    height: auto;
    margin-left: auto;
    margin-right: 16px;
    cursor: pointer;
}

.header__btn {
    width: 32px;
    height: auto;
    cursor: pointer;
}

/* ドロワーナビゲーション (デフォルト非表示) */
.nav {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    padding-bottom: 100px;
    background-color: var(--primary-white);
    z-index: 200;
    transition: transform 0.4s ease, visibility 0.4s ease;
    /* 追加: 閉じている時は判定と表示を完全に無効化する */
    visibility: hidden;
    pointer-events: none;
}

.nav.nav__open {
    transform: translateX(100%);
    opacity: 1;
    /* 追加: 開いた時だけタップ判定と表示を有効化する */
    visibility: visible;
    pointer-events: auto;
}

.nav__header {
    display: inline-block;
    position: relative;
    background-color: var(--primary-white);
    width: 100%;
    height: 60px;
    padding: 15px 20px;
}

.nav__header img {
    display: flex;
    width: 30px;
    height: 30px;
    justify-content: right;
    align-items: center;
}

.nav__btn {
    position: absolute;
    right: 20px;
    top: 12px;
    width: 30px;
    height: 30px;
    transition: transform 0.4s ease;
    transform: scale(0.1) rotate(0deg);
    cursor: pointer;
}

.nav__btn.nav__open {
    transform: scale(1) rotate(-360deg);
}

.nav__list {
    display: block;
    align-items: center;
    padding: 0 20px;
}

.nav__item {
    font-size: 1.6rem;
    margin: 20px auto 0;
    width: 84%;
    height: 100%;
}

.nav__item:nth-of-type(1) {
    margin: 0 auto;
}

.nav__item:nth-of-type(2) {
    margin: 40px auto 0;
}

.nav__item:nth-of-type(1) {
    margin: 0 auto;
}

.nav__item a {
    display: block;
    align-items: center;
    box-sizing: border-box;
    text-align: center;
}

.nav__logo img {
    width: auto;
    height: 60px;
}

.nav__separator {
    display: block;
    margin: 20px auto;
    width: 182px;
    height: 1px;
    /* 横4px（1px描画 + 3px幅）、縦1px（線幅） */
    background-image: linear-gradient(to right, var(--primary-brown) 1px, transparent 1px);
    background-size: 4px 1px;
    background-position: bottom;
    background-repeat: repeat-x;
}

.nav__btnEntry {
    flex-direction: row;
}

.nav__btnEntry img {
    display: inline-block;
    width: 22px;
    height: 22px;
    margin-right: 10px;
}

.nav__item--pc {
    display: none;
}

.brPc {
    display: none;
}

/************************************/
/* @media 1025x: header             */
/************************************/
@media screen and (min-width: 1025px) {
    .header {
        height: 80px;
        margin: 0 auto;
        padding: 0 30px;
        background-color: var(--primary-white);
    }

    .header__logo {
        height: 50px;
        width: auto;
    }

    .header__cart {
        display: none;
    }

    .header__btn {
        display: none;
    }

    .header__icons {
        display: none;
    }

    .nav__header {
        display: none;
    }

    .nav {
        background: transparent;
        width: auto;
        height: auto;
        top: 0;
        left: auto;
        padding: 0;
        position: static;
        transform: none;
        /* SP対策を追加したので、PCでは常に表示・操作可能にする */
        visibility: visible;
        pointer-events: auto;
    }

    .nav__list {
        display: flex;
        justify-content: end;
        align-items: center;
        gap: 25px;
        /* gap: calc(100vw * 0.025); */
        padding: 0;
    }

    .nav__item {
        margin-top: 0;
        font-size: 1.3rem;
        line-height: 1.2;
        width: auto;
        color: var(--primary-black);
    }

    .nav__item a {
        display: flex;
        align-items: center;
    }

    .nav__item--sp {
        display: none;
    }

    .nav__item--pc {
        display: block;
        height: 30px;
    }

    .nav__btnEntry {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        padding: 4px 16px;
        color: #ffffff;
        background-color: var(--primary-brown);
        cursor: pointer;
    }

    .brPc {
        display: none;
    }
}

/* pc 1025px */

/* ======================================== 
   Common Section Style
   ======================================== */
.section {
    margin: 0 auto;
    padding: 60px 0;
}

.topic {
    width: 100%;
    text-align: center;
}

.topic__img {
    height: 28px;
    width: auto;
    margin: 8px auto;
}

.link__btn {
    width: 89.3%;
    height: 45px;
    max-width: 480px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 45px auto 0;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 480px;
    padding: 10px 30px;
    color: #ffffff;
    background-color: var(--primary-darkred);
    text-decoration: none;
    font-size: 1.6rem;
}

.btn img {
    width: 18px;
    height: 18px;
}

/************************************/
/* @media 600px: common section     */
/************************************/
@media screen and (min-width: 600px) {

    .section,
    .top__section {
        padding: 90px 0;
        font-size: 1.6rem;
        line-height: 2;
    }

    .topic__img {
        height: 40px;
        width: auto;
        margin: 12px auto;
    }

    .btn {
        width: 480px;
    }

    .link__btn {
        width: 100%;
        max-width: 480px;
    }
}

/* ======================================== 
   Scroll fade-in animation
   ======================================== */

/* 画面に現れる前のアニメーション対象の初期状態 */
.scroll__fade {
    opacity: 0;
    visibility: hidden;
    transform: translateY(100px);
    transition:
        opacity 1s ease,
        transform 1s ease;
    will-change: opacity, visibility, transform;
}

/* 画面に入った時の状態 */
.scroll__fade.is-inview {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* ======================================== 
   Footer
   ======================================== */
.footer {
    margin-top: 90px;
    background-color: var(--primary-brown);
    color: #ffffff;
    padding: 30px 20px;
    text-align: center;
    text-decoration: none;
}

.contact__access {
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.contact__access a {
    background-color: #ffffff;
    color: var(--primary-brown);
    padding: 2px 8px;
    text-decoration: none;
    font-size: 1.2rem;
}

.contact__tel {
    margin-top: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 18px;
}

.sns {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.sns img {
    width: 24px;
    height: 24px;
}

.footer__sublinks {
    margin: 0 auto;
}

.warnings {
    margin: 20px auto 0;
    font-size: 1.2rem;
    width: 254px;
    padding: 0 0 20px;
    /* 横4px（1px描画 + 3px幅）、縦1px（線幅） */
    background-image: linear-gradient(to right, #ffffff 1px, transparent 1px);
    background-size: 4px 1px;
    background-position: bottom;
    background-repeat: repeat-x;
}

.footer__pcOnly {
    display: none;
}

.copyright {
    margin-top: 20px;
    font-size: 1.2rem;
}

/************************************/
/* @media 1025px: footer            */
/************************************/
@media screen and (min-width: 1025px) {
    .footer {
        padding: 40px 12.5% 60px;
    }

    .contact__name {
        margin-top: 20px;
        font-size: 1.8rem;
    }

    .footer__section {
        display: flex;
        justify-content: space-between;
        align-items: start;
    }

    .sns {
        width: 166px;
        gap: 40px;
        justify-content: flex-end;
    }

    .footer__sublinks {
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0;
    }

    .footer__sublinks a:first-of-type {
        text-align: left;
    }

    .footer__sublinks a:last-of-type {
        text-align: right;
    }

    .warnings {
        width: 320px;
        font-size: 1.3rem;
        border: 1px solid #ffffff;
        box-sizing: border-box;
        padding: 10px 20px;
        background: none;
    }

    .footer__pcOnly {
        display: block;
        font-size: 1.3rem;
        width: 170px;
    }

    .brSp {
        display: none;
    }
}

/* ======================================== 
   Scroll To Top
   ======================================== */
.scrollToTop {
    position: fixed;
    right: 0;
    bottom: 20px;
    z-index: 90;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.scrollToTop.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.scrollToTop__btn {
    width: 45px;
    height: 45px;
}