@charset "UTF-8";


:root {
    --primary-black:     #534439;
    --primary-white:     #F9F9F9;
    --primary-warmwhite: #fffdf9;
    --primary-red:       #CE292A;
    --primary-beige:     #F5ECDE;
    --primary-gray:      #E1E1E1;
    --primary-sand:      #A49882;
    --primary-litesand:  #D8D3CA;

    --contentWidth:   90%;
    --contentPadding: 6.1%;

    /* spacing */
    --space-xs:  0.4rem;
    --space-sm:  0.8rem;
    --space-md:  1.6rem;
    --space-lg:  2.4rem;
    --space-xl:  4rem;
    --space-2xl: 6.4rem;

    /* section / title */
    --title-mb:   4rem;
    --section-pb: 8rem;
}

html {
    font-size: 62.5%;
}

body {
    font-family: 'Shippori Mincho', 'Zen Old Mincho', serif;
    font-style: normal;
    color: var(--primary-black);
    background-color: #1c1a17;
    line-height: 1.6;
    min-height: 101vh;
}

/* セーフエリア上部を常に覆う（iOS sticky GPUレイヤーより上に描画されるよう will-change で強制） */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: env(safe-area-inset-top, 0px);
    background: #1c1a17;
    z-index: 9998;
    pointer-events: none;
    will-change: transform;
    -webkit-transform: translateZ(0);
    transform: translateZ(0);
}


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


/* ==================================
セクション、タイトル
=================================== */

.section {
    padding-top: 65px;
    padding-bottom: 85px;
}

.title {
    color: var(--primary-red);
    font-family: 'Shippori Mincho', serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-align: center;
    line-height: 1.6;
    margin: 0 auto;
    margin-bottom: 45px;
}

.title::before {
    content: "";
    display: block;
    margin: 0 auto 13px;
    width: 30px;
    height: 35px;
    background-image: url(../images/icon/top_bimon.svg);
    background-position: center;
    background-repeat: no-repeat;
}


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

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    width: 21.7rem;       /* 217px */
    height: 4.6rem;       /* 46px */
    border-radius: 0.8rem; /* 8px */
    font-family: 'Shippori Mincho', serif;
    font-size: 1.6rem;
    font-weight: 600;
    letter-spacing: 0;
    text-decoration: none;
    cursor: pointer;
    border: none;
    transition: opacity 0.2s ease;
    flex-shrink: 0;
    -webkit-tap-highlight-color: transparent;
}

.btn__arrow {
    width: 0.8rem;
    height: 1.3rem;
    display: inline-block;
    flex-shrink: 0;
    vertical-align: middle;
    background-color: currentColor;
    -webkit-mask-image: url('../images/icon/btn_right.svg');
    mask-image: url('../images/icon/btn_right.svg');
    -webkit-mask-size: contain;
    mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
}

.btn--red {
    background-color: var(--primary-red);
    color: var(--primary-white);
}

.btn--outline {
    background-color: transparent;
    color: var(--primary-black);
    border: 1px solid var(--primary-black);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn--outline-red {
    background-color: transparent;
    color: var(--primary-red);
    border: 1.5px solid var(--primary-red);
    transition: background-color 0.2s ease, color 0.2s ease;
}

.btn:hover { opacity: 0.8; }

.btn--outline:hover {
    background-color: var(--primary-black);
    color: var(--primary-white);
    opacity: 1;
}

.btn--outline-red:hover {
    background-color: var(--primary-red);
    color: var(--primary-white);
    opacity: 1;
}

/* タップ時：トランジションなしで即座に最終状態の色を表示 */
.btn:active { opacity: 1; }

.btn--outline:active {
    background-color: var(--primary-black);
    color: var(--primary-white);
    opacity: 1;
    transition: none;
}

.btn--outline-red:active {
    background-color: var(--primary-red);
    color: var(--primary-white);
    opacity: 1;
    transition: none;
}


/* PC要素 非表示（SP） */
.pc-logo,
.pc-nav {
    display: none;
}

/* ==================================
   下層ページ共通ヘッダー（SP）
=================================== */

.header--takiniku {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background-color: #FCF9F9;
    border-bottom: 1px solid var(--primary-black);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

body:has(.header--takiniku) main {
    padding-top: 82px;
}

.header--takiniku.is-transparent {
    background-color: transparent;
    border-bottom-color: transparent;
}

.header--takiniku.is-hidden {
    transform: translateY(-100%);
}

.header--takiniku__inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 24px;
    max-width: 480px;
    margin: 0 auto;
}

.header--takiniku__logo img {
    height: 82px;
    width: auto;
    display: block;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Shippori Mincho', serif;
    font-size: 1.2rem;
    color: var(--primary-sand);
}

.breadcrumb a {
    color: var(--primary-sand);
    text-decoration: none;
}

.breadcrumb a:last-child {
    color: var(--primary-black);
    font-weight: 600;
}

.breadcrumb__arrow img {
    width: 6px;
    height: auto;
    display: block;
    opacity: 0.55;
}

@media (min-width: 1024px) {
    .header--takiniku {
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }
}

/* ==================================
   sticky-menu
=================================== */

.sticky-menu {
    position: fixed;
    bottom: 43px;
    left: 50%;
    transform: translateX(-50%);
    width: 271px;
    z-index: 200;
    border-radius: 10px;
    overflow: visible;
}

/* ボタン行 */
.sticky-btn {
    position: relative;
    z-index: 201;
    width: 271px;
}

.sticky-btn__left,
.sticky-btn__right,
.sticky-btn__close {
    -webkit-tap-highlight-color: transparent;
}

.sticky-btn__inner {
    display: flex;
    height: 45px;
    width: 271px;
}

.sticky-btn__left {
    width: 190px;
    height: 45px;
    flex-shrink: 0;
    background-color: #CE292A;
    color: var(--primary-white);
    font-family: 'Shippori Mincho', serif;
    font-size: 1.5rem;
    letter-spacing: 0.12em;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}

.sticky-menu.is-open .sticky-btn__left {
    border-top-left-radius: 0;
}

@media (hover: hover) {
    .sticky-btn__left:hover { opacity: 0.85; }
}

.sticky-btn__text { display: block; }

.sticky-btn__right {
    width: 81px;
    height: 45px;
    flex-shrink: 0;
    background-color: #CE292A;
    border: none;
    border-left: 1px solid rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: opacity 0.2s ease;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}

.sticky-menu.is-open .sticky-btn__right {
    border-top-right-radius: 0;
}

@media (hover: hover) {
    .sticky-btn__right:hover { opacity: 0.85; }
}

.sticky-btn__menu-icon img {
    width: 22px;
    height: auto;
    display: block;
}

/* CLOSEボタン */
.sticky-btn__close {
    display: none;
    width: 271px;
    height: 45px;
    background-color: #CE292A;
    color: var(--primary-white);
    font-family: 'Shippori Mincho', serif;
    font-size: 1.3rem;
    letter-spacing: 0.2em;
    border: none;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
    cursor: pointer;
    transition: opacity 0.2s ease;
    text-align: center;
    align-items: center;
    justify-content: center;
}

.sticky-menu.is-open .sticky-btn__close {
    display: flex;
}

@media (hover: hover) {
    .sticky-btn__close:hover { opacity: 0.85; }
}

.sticky-menu.is-open .sticky-btn__inner { display: none; }

/* ==================================
   ナビオーバーレイ
=================================== */

.menu-overlay {
    display: none;
    background-color: var(--primary-red);
    position: absolute;
    bottom: 100%; /* ボタンの真上に展開 */
    left: 0;
    width: 271px;
    border-radius: 10px 10px 0 0; /* 上2角のみ丸 */
    overflow: hidden;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 201;
}

.sticky-menu.is-open--nav .menu-overlay { display: block; }

.menu-overlay__list { list-style: none; }

.menu-overlay__list li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-overlay__list li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.menu-overlay__list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px var(--contentPadding);
    padding-left: calc(var(--contentPadding) + 1.2em); /* ・の幅分確保 */
    text-decoration: none;
    position: relative;
}

/* ホバードット */
@media (min-width: 1024px) {
    .menu-overlay__list a::before {
        content: "・";
        color: var(--primary-white);
        font-size: 1.4rem;
        position: absolute;
        left: calc(var(--contentPadding) - 0.6em);
        top: 50%;
        transform: translateY(-50%);
        opacity: 0;
        transition: opacity 0.18s ease, left 0.18s ease;
        pointer-events: none;
    }

    .menu-overlay__list a:hover::before {
        opacity: 1;
        left: calc(var(--contentPadding) - 0.1em);
    }
}

.nav-ja {
    font-family: 'Shippori Mincho', serif;
    font-size: 1.5rem;
    letter-spacing: 0.1em;
    color: var(--primary-white);
    flex: 1;
}

.nav-en {
    font-family: 'Zen Old Mincho', serif;
    font-size: 1.2rem;
    letter-spacing: 0.12em;
    color: rgba(255, 255, 255, 0.6);
}


/* ==================================
   コンタクトオーバーレイ
=================================== */

.contact-overlay {
    display: none;
    background-color: var(--primary-red);
    position: absolute;
    bottom: 100%;
    left: 0;
    width: 271px;
    border-radius: 10px 10px 0 0;
    overflow: hidden;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
    z-index: 201;
}

.sticky-menu.is-open--contact .contact-overlay { display: block; }

.contact-overlay ul { list-style: none; }

.contact-overlay li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-overlay li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-overlay a {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 18px var(--contentPadding);
    text-decoration: none;
}

.contact-overlay img {
    width: 24px;
    height: auto;
    flex-shrink: 0;
    filter: brightness(0) invert(1);
    opacity: 0.85;
}

.contact-overlay span,
.contact-overlay p {
    font-family: 'Shippori Mincho', serif;
    color: var(--primary-white);
}

.contact-overlay span {
    font-size: 1.5rem;
    letter-spacing: 0.08em;
    display: block;
}

.contact-overlay p {
    font-size: 1.2rem;
    letter-spacing: 0.06em;
    opacity: 0.75;
}


/* ==================================
   背景オーバーレイ
=================================== */

.bg-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 150;  /* sticky-menu(200)より下、コンテンツより上 */
    cursor: pointer;
}


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

.footer {
    background-color: var(--primary-black);
    padding: 4rem 0 3rem;
}

.footer__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2.4rem;
    position: relative;
    width: var(--contentWidth);
    margin: 0 auto;
}

.footer__pagetop {
    position: absolute;
    top: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    opacity: 0.5;
    transition: opacity 0.2s ease;
}

.footer__pagetop:hover { opacity: 1; }

.footer__pagetop img {
    width: 24px;
    height: auto;
    display: block;
    filter: brightness(0) invert(1);
}

.footer__logo img {
    height: 52px;
    width: auto;
    display: block;
}

.footer__info {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.6rem;
}

.footer__info p {
    font-family: 'Zen Old Mincho', serif;
    font-size: 1.2rem;
    letter-spacing: 0.08em;
    color: rgba(255, 253, 249, 0.6);
    line-height: 1.8;
}

.footer__copy {
    font-family: 'Zen Old Mincho', serif;
    font-size: 1.0rem;
    letter-spacing: 0.06em;
    color: rgba(255, 253, 249, 0.3);
    margin-top: 0.8rem;
}


/* ==================================
   PC
=================================== */

@media (min-width: 1024px) {

    /* 全体 */
    body         { background-color: #1c1a17; }
    main         { background-color: var(--primary-white); }
    .sticky-menu { display: none !important; }
    .bg-overlay  { display: none !important; }

    .container {
        background-image: url(../images/pc_back.png);
        background-size: cover;
        background-position: center;
        background-attachment: fixed;
        position: relative;
    }

    /* ロゴ（左） */
    .pc-logo {
        display: flex;
        align-items: center;
        justify-content: center;
        position: fixed;
        inset: 0 calc(50% + 240px) 0 0;
        z-index: 10000;
    }

    .pc-logo a { display: block; }

    .pc-logo img {
        width: clamp(130px, 16vw, 240px);
        height: auto;
        display: block;
    }

    /* ナビ（右） */
    .pc-nav {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        position: fixed;
        inset: 0 0 0 calc(50% + 240px);
        z-index: 10000;
    }

    .pc-nav__list { list-style: none; width: min(220px, 60%); }

    .pc-nav__item { border-bottom: 1px solid rgba(255, 253, 249, 0.2); padding-left: 32px; }
    .pc-nav__item:first-child { border-top: 1px solid rgba(255, 253, 249, 0.2); }

    .pc-nav__link {
        display: flex;
        align-items: center;
        padding: 22px 0;
        text-decoration: none;
        position: relative;
    }

    .pc-nav__dot {
        position: absolute;
        left: -20px;
        top: 50%;
        transform: translateY(-50%) scale(0);
        width: 5px;
        height: 5px;
        background-color: var(--primary-warmwhite);
        border-radius: 50%;
        transition: transform 0.2s ease;
    }

    .pc-nav__link:hover .pc-nav__dot,
    .pc-nav__link.is-current .pc-nav__dot { transform: translateY(-50%) scale(1); }

    .pc-nav__ja {
        font-family: 'Shippori Mincho', serif;
        font-size: 2rem;
        font-weight: 400;
        letter-spacing: 0.12em;
        color: var(--primary-warmwhite);
    }

    .pc-nav__arrow,
    .pc-nav__link::after { display: none; }

    .pc-nav__contact {
        margin-top: 32px;
        display: flex;
        align-items: center;
        gap: 2.5rem;
        width: min(220px, 60%);
        padding-left: 65px;
    }

    .pc-nav__tel {
        display: flex;
        align-items: center;
        gap: 8px;
        text-decoration: none;
        color: var(--primary-white);
        transition: opacity 0.2s ease;
    }

    .pc-nav__tel:hover { opacity: 0.6; }

    .pc-nav__tel img {
        width: 35px;
        height: 35px;
        display: block;
        filter: brightness(0) invert(1);
    }

    .pc-nav__tel span {
        font-family: 'Shippori Mincho', serif;
        font-size: 1.3rem;
        letter-spacing: 0.05em;
        white-space: nowrap;
        display: none;
    }

    .pc-nav__instagram {
        display: flex;
    }

    .pc-nav__instagram a { display: inline-block; transition: opacity 0.2s ease; }
    .pc-nav__instagram a:hover { opacity: 0.6; }

    .pc-nav__instagram img {
        width: 35px;
        height: 35px;
        display: block;
        filter: brightness(0) invert(1);
    }

    /* 中央コンテンツ（480px） */
    main,
    .footer,
    #loading {
        width: 480px;
        margin: 0 auto;
    }

    main,
    .footer {
        position: relative;
        z-index: 1;
        overflow-x: clip;
    }
}

/* 1024px〜1200px */
@media (min-width: 1024px) and (max-width: 1200px) {
    .pc-logo img  { width: clamp(120px, 14vw, 200px); }
    .pc-nav__list { width: min(180px, 65%); }
    .pc-nav__ja   { font-size: 1.4rem; }
    .pc-nav__link { padding: 18px 0; }
}

/* ==================================
   Loading
=================================== */

#loading {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background-color: #302F2F;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.7s ease;
}

#loading.is-hidden {
    opacity: 0;
    pointer-events: none;
}

.loading__logo {
    width: 64px;
    height: auto;
    filter: brightness(0) invert(1);
    opacity: 0.9;
    animation: loadingBreath 1.4s ease-in-out infinite;
}

@keyframes loadingBreath {
    0%, 100% { transform: scale(1);   opacity: 0.85; }
    50%       { transform: scale(1.1); opacity: 1;   }
}
