@charset "UTF-8";

/*
変数定義( var(変数名)で呼び出す）
----------------------------------------------------------- */
:root {
    --color-primary: #A89F9E; /* ローズグレー */
    --color-secondary: #D9D4CD; /* グレージュ */
    --color-accent: #eed13f;
    --color-text: #6B6159; /* トープ */
    --color-card: #C7CBB4;
    --color-body: #F5F2EB; /* エクリュ */
    --width-mid: 1200px;
    --width-narrow: 750px;
    --space-unit: 15px;
    --space-section: 50px;
    --space-section-100: 100px;
    --header-height: 100px;
    --gap: 30px;
    --duration: 0.7s; /* f-upアニメーション時間 */
}

/*
ベース
----------------------------------------------------------- */
html {
    font-size: 100%;
    overflow-x: clip;
}
body {
    font-family: "Cormorant Garamond", "Noto Serif JP", serif;
    overflow-x: clip;
    padding-top: var(--space-section-100);
    background: var(--color-body);
    color: var(--color-text);
}
img {
    display: block;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/*
レイアウト
----------------------------------------------------------- */
.wrapper {
    width: 100%;
    padding: 0 var(--space-unit);
    box-sizing: border-box;
}
.wrapper-mid {
    max-width: var(--width-mid);
    margin: 0 auto;
    padding: 0 var(--space-unit);
    box-sizing: border-box;
}
.wrapper-narrow {
    max-width: var(--width-narrow);
    margin: 0 auto;
    padding: 0 var(--space-unit);
    box-sizing: border-box;
}

/*
ユーティリティ - Flex
----------------------------------------------------------- */
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.justify-between { justify-content: space-between; }
.align-center { align-items: center; }
.align-start { align-items: flex-start; }
.gap { gap: var(--gap); }

/*
ユーティリティ - Grid
----------------------------------------------------------- */
.grid { display: grid; }
.grid-3col { grid-template-columns: repeat(3, 1fr); }
.grid-2col { grid-template-columns: repeat(2, 1fr); }

/*
共通コンポーネント
----------------------------------------------------------- */
.sec-title {
    font-family: "Cormorant Garamond", serif; /* 英語フォントを指定 */
    font-size: 60px;
    font-weight: 400; /* Regularのこと */
    text-align: center;
    padding-bottom: var(--space-section);
}
.lead {
    font-family: "Noto Serif JP", serif; /* 日本語フォント */
    font-size: 18px;
    font-weight: 400;
    line-height: 1.6;
    text-align: center;
    margin-top: 15px;
}
/* ボタン共通 */
.btn {
    display: block;
    text-align: center;
    font-weight: bold;
    transition: all var(--duration);
    margin: 0 auto;
}
/* プライマリーボタン */
.btn-primary {
    width: 220px;
    height: 60px;
    line-height: 59px;  /* border分1px引く */
    background: var(--color-primary);
    color: var(--color-body);
    border-radius: 5px;
    border: 1px solid var(--color-primary);
    transition: background 0.3s, color 0.3s;
}
/* セカンダリーボタン */
.btn-secondary {
    width: 175px;
    height: 40px;
    line-height: 39px;  /* border分1px引く */
    background: var(--color-secondary);
    border-radius: 5px;
    font-size: 14px;
    color: var(--color-text);
    border: 1px solid var(--color-secondary);
    transition: background 0.3s, color 0.3s;
}
/* ページトップボタン */
.pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    width: 50px;
    height: 50px;
    background-color: var(--color-primary);
    border-radius: 50%;
    border: 1px solid var(--color-primary);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    opacity: 0;         /* 最初は透明 */
    visibility: hidden; /* 最初は非表示 */
    transition: background 0.3s, color 0.3s, border-color 0.3s, opacity 0.5s, visibility 0.5s;
}
/* スクロールした時にJavaScriptで出現させるための設定 */
.pagetop.is-visible {
    opacity: 1;
    visibility: visible;
}
/* ボタンの中の「上向き矢印（↑）」を描くコード */
.pagetop:before {
    position: absolute;
    content: "";
    height: 10px;
    width: 10px;
    /* 矢印の色を「エクリュ」 */
    border-top: 3px solid var(--color-body);
    border-right: 3px solid var(--color-body);
    translate: 0 20%;
    rotate: -45deg; /* L字の線を45度傾けて「∧」の形に */
    top: calc(50% - 5px);
    left: calc(50% - 5px);
}
.pagetop:hover {
    background-color: var(--color-body); /* 背景がエクリュに */
    border-color: var(--color-primary);  /* 枠線はローズグレー */
    transition: all var(--duration); /* 0.7秒 */
}
/* ホバーした時に中の矢印の色もひっくり返す */
.pagetop:hover::before {
    border-top: 3px solid var(--color-primary);
    border-right: 3px solid var(--color-primary);
}

/* カード画像ズーム用 */
.card figure {
    overflow: hidden;
    margin-bottom: var(--space-unit);
}
.card figure img {
    transition: transform 0.4s ease;
}

/* ページネーション（SNSアイコン・ページトップボタンと同じ丸ボーダーのテイスト） */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: var(--space-section);
}
.pagination .page-numbers {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 1px solid var(--color-primary);
    border-radius: 50%;
    color: var(--color-text);
    font-size: 14px;
    text-decoration: none;
    transition: background 0.3s, color 0.3s, border-color 0.3s;
}
.pagination .page-numbers.dots {
    width: auto;
    height: auto;
    border: none;
    color: var(--color-text);
}
.pagination .page-numbers.current {
    background: var(--color-primary);
    color: var(--color-body);
    border-color: var(--color-primary);
}

/* ホバー制御（PCのみ） */
@media (hover: hover) and (pointer: fine) {
    .btn-primary:hover {
        background: var(--color-body); /* 背景がエクリュに */
        color: var(--color-primary); /* 文字がローズグレーに */
        border-color: var(--color-primary);
    }
    /* sec-03（PICK UP）だけ特別なホバー：背景が透けて後ろがボケる＆色もローズグレーに統一 */
    .sec-03 .btn-primary:hover {
        background: transparent;
        backdrop-filter: blur(8px);
        -webkit-backdrop-filter: blur(8px);
        color: var(--color-primary);
        border-color: var(--color-primary);
    }
    .btn-secondary:hover {
        background: var(--color-text); /* 背景がトープに */
        color: var(--color-secondary); /* 文字がグレージュに */
        border-color: var(--color-text);
    }
    .sec-03 .btn-secondary:hover {
        background: var(--color-text);
        color: var(--color-body);
        border-color: var(--color-text);
    }
    .card figure img:hover {
        transform: scale(1.08);
    }
    .pagetop:hover {
        background: var(--color-body);
    }
    .pagetop:hover::before {
        border-color: var(--color-primary);
    }
    .pagination .page-numbers:hover {
        background: var(--color-primary);
        color: var(--color-body);
    }
}

/* ↑ここまでが共通ルール（グローバルスタイル） */

/*
ローディング
----------------------------------------------------------- */
/* #→id=loadingにデザインをつける合図 */
#loading {
    display: flex;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--color-body);
    justify-content: center;
    align-items: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.8s ease;
}
#loading.is-hidden {
    opacity: 0;
    pointer-events: none;
}
.loading-logo {
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
.loading-logo.is-visible {
    opacity: 1;
    transform: translateY(0);
}

/*
header
----------------------------------------------------------- */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 100;
}
.header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(245, 242, 235, 0.80);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}
.header .wrapper {
    height: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
}
/* ロゴ */
.logo img {
    margin: 0;
}
/* グローバルナビ（PC） */
.nav-link {
    display: block;
    padding: 0 16px;
    height: calc(var(--header-height) - 20px);
    line-height: calc(var(--header-height) - 20px);
    font-size: 15px;
    font-weight: bold;
    color: var(--color-text);
    position: relative; /* ::afterの基準 */
}
/* 下線：通常時は幅0で非表示 */
.nav-link::after {
    content: "";
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%); /* 中央から伸びる */
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}
/* ホバー時：中央から両端に向かって伸びる */
@media (hover: hover) and (pointer: fine) {
    .nav-link:hover::after {
        width: 100%;
    }
}
/* オーバーレイ・ハンバーガーボタン（PCでは非表示） */
.nav-overlay,
.menu {
    display: none;
}

/*
main visual
----------------------------------------------------------- */
.mv {
    width: 100%;
    height: 1000px;
    position: relative;
    overflow: hidden;
    background-color: var(--color-body);
}
.mv-container {
    width: 100%;
    max-width: 1920px;
    height: 1000px;
    position: relative;
    margin: 0 auto;
}
.left-box {
    width: 900px;
    height: 900px;
    flex-shrink: 0;
    position: relative;
    top: 0;
}
.right-box.mv-right-fade {
    width: 1400px;
    height: 900px;
    position: absolute;
    top: 100px; /* 左側より100px下に */
    right: 0;
    z-index: 2;
    /* ★ページめくりに必須（奥行き） */
    perspective: 2000px;
    overflow: hidden;
}
.fade-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform-origin: right center; /* 右端を軸に回転 */
    transform: rotateY(90deg) rotateX(8deg) skewY(-4deg);
    /* フェード＋回転の両方 */
    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(.25,.8,.25,1);
}
.fade-img.is-active {
    opacity: 1;
    transform: rotateY(0deg) rotateX(0deg) skewY(0deg);
}

/*
NEWS
----------------------------------------------------------- */
.sec-news {
    padding: 50px 0 var(--space-section) 0;
}
.sec-news-list {
    padding-bottom: 30px;
}
.sec-news-item {
    border-bottom: 1px dotted rgba(107, 97, 89, 0.3); /* 点線の色をトープ */
    position: relative;
    overflow: hidden;
    transition: background 0.3s;
}
/* ホバー時の背景ハイライト */
.sec-news-item:hover {
    background: rgba(201, 168, 76, 0.06);
}
/* ゴールドラインが下から伸びる */
.sec-news-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 2px;
    height: 100%;
    background: var(--color-accent);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
}
.sec-news-item:hover::before {
    transform: scaleY(1);
}
.sec-news-item a {
    display: flex;
    align-items: baseline;
    gap: 1.5em;
    padding: var(--space-unit) 0 var(--space-unit) 8px;
    text-decoration: none;
    color: var(--color-text);
    font-size: 14px;
    transition: color 0.3s, letter-spacing 0.3s;
}
.sec-news-item a:hover {
    color: var(--color-accent);
    letter-spacing: 0.03em;
}
.sec-news-date {
    flex-shrink: 0;
    color: var(--color-text); /* トープ */
}
.sec-news-title {
    flex: 1;
    color: var(--color-text); /* トープ */
}
.sec-news .btn-secondary {
    margin-bottom: var(--space-section-100);
}

/*
ABOUT
----------------------------------------------------------- */
/* 左右を横並び */
.about-container {
    display: flex;
    column-gap: 150px; /* 真ん中に150pxの隙間 */
    align-items: flex-start; /* 上端で揃える */
}
/* 左の写真の幅 */
.about-left {
    width: calc((100% - 150px) / 2); /* 全体の幅から、真ん中の150pxを引いた「残りの半分」を自動計算 */
}
/* 右（文章 ＋ 2枚目の写真）の幅 */
.about-right {
    /* 左と同じ幅にする */
    width: calc((100% - 150px) / 2);
    display: flex;
    flex-direction: column; /* 中身（見出し、文章、写真）を上から下に縦に並べる！ */
}
.lead {
    text-align: left;
    margin-top: 0;
    margin-bottom: 50px; /* リード文と下の文章の間の隙間 */
}
.about-text-box {
    margin-bottom: 150px; /* 文章と2枚目の写真の間の隙間 */
}
.about-text {
    font-size: 14px;
    line-height: 1.8;
    letter-spacing: 0.05em;
}

/*
movie
----------------------------------------------------------- */
.movie {
    width: 100%;
    margin-top: 250px;
    margin-bottom: 250px;
}
.image-video {
    width: 100%;
    height: auto;
    display: block;
}

/*
JOURNAL
----------------------------------------------------------- */
.journal-container {
    display: flex;
    flex-direction: column;
    gap: 20px; /* 段と段の間のすき間 */
    margin-bottom: 50px; /* ボタンとの間のすき間 */
}
.journal-row {
    display: flex;
    align-items: center;
    background-color: var(--color-card);
    padding: 25px;
    box-sizing: border-box;
    gap: 25px;
}
/* 2段目だけ左右をひっくり返す！ */
.journal-row:nth-child(even) {
    flex-direction: row-reverse;
}
/* 画像とテキストの幅をそれぞれ50%ずつに分ける */
.journal-img {
    width: 50%;
    margin: 0;
}
.journal-img img {
    width: 100%;
    height: auto;
    object-fit: cover;
}
/* 見出しと本文の文字装飾 */
.journal-lead {
    font-size: 20px;
    font-weight: 400;
    margin-bottom: 75px; /* 見出しの下 */
    color: var(--color-text);
}
.journal-text {
    font-size: 14px;
    line-height: 1.8; /* 行の高さ（行送り */
    letter-spacing: 0.05em; /* 文字間隔（カーニング */
    color: var(--color-text);
}
.journal-content {
    display: flex;
    align-items: center;
    width: 50%;
    box-sizing: border-box;
}
.journal-img figure {
    margin: 0;
    height: 100%;
}

/*
PICK UP
----------------------------------------------------------- */
.sec-03 {
    padding-top: 100px;
}
.card-list {
    margin-bottom: var(--space-section);
}
/* 写真の下に20pxのすき間をあける */
.card figure {
    margin-bottom: 20px;
}
.card-title {
    font-size: 14px;
    line-height: calc(26 / 14);
    font-weight: bold;
    text-align: center;
}
/* 金額の下に20pxのすき間をあける */
.card-text {
    font-size: 14px;
    line-height: calc(26 / 14);
    font-weight: bold;
    text-align: center;
    padding-bottom: 20px;
}
.sec-03 .btn-primary {
    margin-bottom: var(--space-section-100);
}

/*
loop-slide-area
----------------------------------------------------------- */
.loop-slide-area {
    overflow: hidden;
}
.loop-slider .swiper-slide {
    width: 700px;
    height: 450px;
    flex-shrink: 0;
    margin-right: 20px;
}
.loop-slider .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/*
footer
----------------------------------------------------------- */
.footer {
    background: var(--color-text);
}
.footer .wrapper-mid {
    padding-top: var(--space-section);
    padding-bottom: var(--space-section);
}
/* 左側：写真のサイズ */
.footer-left img {
    max-width: 600px;
    width: 100%;
    height: auto;
    display: block;
}
/* 右側エリア：中身をすべて中央に集める */
.footer-right {
    display: flex;
    flex-direction: column;
    align-items: center; /* すべて中央揃えにする */
    gap: 24px;          /* 縦のブロック同士のすき間 */
    width: 50%;         /* 右側のエリア幅 */
}
.footer-title {
    font-family: "Cormorant Garamond", serif; /* 英語フォントを指定 */
    font-size: 28px;
    font-weight: 400;
    letter-spacing: 0.12em;
    color: var(--color-body);
    text-align: center;
}
.footer-address {
    display: inline-block;
    font-size: 13px;
    line-height: 1.8;
    color: var(--color-body);
    font-style: normal;
    border: 1px solid var(--color-body);
    padding: 12px 24px;
}
.footer-address a {
    color: var(--color-body);
    text-decoration: none;
}
.footer-address a:hover {
    color: var(--color-accent);
}
.footer-sns {
    gap: 90px;
    justify-content: center;
}
.footer-sns a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 65px;
    height: 65px;
    border: 1px solid rgba(232, 228, 220, 0.4);
    border-radius: 22px;
    color: var(--color-body);
    font-size: 18px;
    text-decoration: none;
    transition: border-color 0.3s, color 0.3s;
}
.footer-sns a:hover {
    border-color: var(--color-body);
    background-color: rgba(232, 228, 220, 0.1);
}
/* プライバシーポリシー・特商法リンク */
.footer-links {
    gap: 30px;
    justify-content: center;
    margin-top: 9px;
}
.footer-links a {
    font-size: 12px;
    color: var(--color-body);
    text-decoration: none;
    letter-spacing: 0.05em;
    transition: color 0.3s;
}
.footer-links a:hover {
    color: var(--color-primary);
}
.copyright {
    height: 60px;
    line-height: 60px;
    background: var(--color-body);
    color: var(--color-text);
    text-align: center;
    font-size: 12px;
}
small {
    font-size: 100%;
}

/*
JOURNAL ページ専用
----------------------------------------------------------- */
.page-journal {
    padding-top: 200px; /* ヘッダーの高さ分、下げる */
}
.page-journal .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 200px;
    z-index: 100;
}
.page-journal .header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(199, 203, 180);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.page-journal .header .wrapper {
    height: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
}
.page-journal .page-title-en {
    font-family: "Cormorant Garamond", serif;
    font-size: 60px;
    letter-spacing: 0.15em;
    color: var(--color-text);
    font-weight: 400;
}
.journal .card-list {
    margin-top: 100px;
    margin-bottom: 100px;
}
.journal .card {
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.journal .card figure {
    width: 100%;
    max-width: 400px;
    margin: 0 auto 20px auto;
}
.journal .card figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 400 / 530;
    object-fit: cover;
}
/* カードの見出し */
.journal .card-title {
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    color: var(--color-text);
    font-weight: 400;
    margin-bottom: 15px;
    letter-spacing: 0.05em;
}
/* カードの説明文 */
.journal .card-text {
    font-family: "Noto Serif JP", serif;
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text);
    font-weight: 400;
    max-width: 400px;
    margin: 0 auto 20px auto;
    text-align: left;
    /* 行数を揃える（高さ統一） */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* 各カードの小さなLearn moreボタン */
.journal .card .btn-secondary {
    margin-top: auto;
    margin-bottom: 100px;
}
/* 一番下の中央にある大きなLearn moreボタン */
.journal .btn-primary {
    margin: 0 auto 100px auto;
}

/*
SHOP ページ専用
----------------------------------------------------------- */
.page-shop {
    padding-top: 200px; /* ヘッダーの高さ分、下げる */
}
.page-shop .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 220px; /* 200px → 220px（2段ナビ分の余白） */
    z-index: 100;
}
.page-shop .header::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: rgba(199, 203, 180);
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}
.page-shop .header .wrapper {
    height: 100%;
    padding-top: 10px;
    padding-bottom: 10px;
    box-sizing: border-box;
}
.page-shop .page-title-en {
    font-family: "Cormorant Garamond", serif;
    font-size: 60px;
    letter-spacing: 0.15em;
    color: var(--color-text);
    font-weight: 400;
}
.shop .sec-title {
    margin-top: 100px;
    text-align: center;
}
.shop .card-list {
    margin-top: 100px;
    margin-bottom: 100px;
    row-gap: 100px;
}
.shop .card {
    padding: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}
.shop .card figure {
    width: 100%;
    max-width: 380px;
    margin: 0 auto 20px auto;
}
.shop .card figure img {
    width: 100%;
    height: auto;
    aspect-ratio: 380 / 440;
    object-fit: cover;
}
/* カードの見出し */
.shop .card-title {
    font-family: "Noto Serif JP", serif;
    font-size: 20px;
    color: var(--color-text);
    font-weight: 400;
    margin-bottom: 10px; /* 見出しから金額（テキスト）までの隙間 */
    letter-spacing: 0.05em;
}
/* カードの説明文 */
.shop .card-text {
    font-family: "Noto Serif JP", serif;
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text);
    font-weight: 400;
    max-width: 380px;
    margin: 0 auto;
    text-align: center;
}
.shop .btn-primary {
    margin: 0 auto 100px auto;
}

/*
CONTACT ページ専用
----------------------------------------------------------- */
/* CONTACT ページ全体 */
.contact .wrapper-mid {
    max-width: 900px;
    margin: 0 auto;
    padding: 60px 20px;
}
.contact label {
    display: block;
    font-family: "Noto Serif JP", serif;
    font-size: 14px;
    margin-bottom: 10px;
    color: var(--color-text);
}
/* 説明文 */
.contact-lead {
    text-align: center;
    font-family: "Noto Serif JP", serif;
    font-size: 14px;
    line-height: 2;
    margin-bottom: 30px;
    color: var(--color-text);
}
/* フォームの入力欄 */
.contact input,
.contact textarea {
    width: 100%;
    padding: 14px;
    border: 1px solid var(--color-text);
    background: #faf8f5;
    margin-bottom: 24px;
    font-family: "Noto Serif JP", serif;
    font-size: 14px;
    letter-spacing: 0.05em;
}

.contact input:focus,
.contact textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    background: #fff;
}
/* 送信ボタンの親要素（外枠） */
.contact-submit-wrap {
    margin: 40px auto 50px;
    width: 200px;
    height: 60px;
}
/* 送信ボタン本体の調整 */
.contact-submit-wrap .btn {
    width: 100%;
    height: 100%;
    display: flex;          /* 文字を上下左右の真ん中に持ってくるための設定 */
    align-items: center;    /* 縦方向の真ん中 */
    justify-content: center;/* 横方向の真ん中 */
    padding: 0;             /* 元々ついている上下パディングによる文字のズレをリセット */
    box-sizing: border-box;
    color: var(--color-text);
}

/*
NEWS詳細ページ専用
----------------------------------------------------------- */
/* タイトル */
.news-single-title {
    font-family: "Cormorant Garamond", serif;
    font-size: 18px;
    margin-bottom: 30px;
}
/* 本文 */
.news-single-content {
    font-family: "Noto Serif JP", serif;
    font-size: 14px;
    margin: 0 auto 80px auto;
}
/* 日付 */
.news-single-date {
    font-family: "Cormorant Garamond", serif;
    font-size: 12px;
    margin-bottom: 15px;
}
/* 一覧に戻るボタン */
.single .btn-secondary {
    display: block;
    margin: 0 auto 100px auto;
}

/*
SHOP専用 - 2段ナビ
----------------------------------------------------------- */
/* PC：グロナビの下にカテゴリーnavを2段目として配置 */
.nav--shop {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-end;
    gap: 10px;
}
.nav-sublist {
    justify-content: flex-end;
    gap: 24px;
}
.nav-sublink {
    display: block;
    font-size: 13px;
    letter-spacing: 0.08em;
    color: var(--color-text);
    opacity: 0.65;
    transition: opacity 0.3s;
}
@media (hover: hover) and (pointer: fine) {
    .nav-sublink:hover {
        opacity: 1;
    }
}

/*
レスポンシブ tablet + mobile 共通
----------------------------------------------------------- */
@media screen and (max-width: 1199px) {
    .mv {
        height: auto;
        clip-path: none;
    }
    .mv-container {
        position: relative; /* fixedから通常配置に変更 */
        z-index: 1;        /* 最背後から表に引き上げる */
        flex-direction: column;
        height: auto;
        gap: 20px;
        padding: 0 4%;
        box-sizing: border-box;
    }
    .mv-box {
        width: 100%;
        height: auto;
    }
    .mv-box.left-box img {
        width: 100%;
        height: auto;
    }
    .right-box.mv-right-fade {
        width: 100%;
        height: auto;
        top: 0;
        right: 0;
        position: relative;
        aspect-ratio: 14 / 9; /* 比率を保って自動で高さを出す */
    }
    .nav {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100%;
        background: var(--color-secondary); /* ダーク背景 */
        transform: translateX(100%); /* 閉じた状態：画面外に隠す */
        transition: transform 0.4s ease;
        z-index: 1000;
        overflow-y: auto;
        padding-top: var(--header-height);
        box-shadow: -4px 0 20px rgba(0, 0, 0, 0.1);
    }
    /* 開いた状態：スライドイン */
    body.open .nav {
        transform: translateX(0);
    }
    /* SP/TB時のnav-list：縦並びに変更 */
    .nav-list {
        flex-direction: column;
    }
    /* SP/TB時のnav-link：ドロワーリンクのスタイルに変更 */
    .nav-link {
        height: 55px;
        line-height: 55px;
        padding: 0 var(--space-section);
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }
    /* ドロワー時はホバー下線アニメーションを無効化 */
    .nav-link::after {
        display: none;
    }
    /* オーバーレイ */
    .nav-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.5);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease, visibility 0.4s ease;
    }
    /* 開いた状態：オーバーレイ表示 */
    body.open .nav-overlay {
        opacity: 1;
        visibility: visible;
    }
    /* ハンバーガーメニュー */
    .menu {
        display: block;
        position: fixed;
        top: 15px;
        right: 15px;
        width: 30px;
        height: 30px;
        z-index: 1001;
    }
    .menu span {
        display: block;
        height: 3px;
        background: var(--color-text); /* ダーク背景に映えるオフホワイト */
        position: absolute;
        width: 100%;
        left: 0;
        transition: 0.5s ease-in-out;
        border-radius: 3px;
    }
    .menu span:nth-child(1) { top: 5px; }
    .menu span:nth-child(2) { top: 15px; }
    .menu span:nth-child(3) { top: 25px; }
    body.open .menu span:nth-child(1) { top: 12px; rotate: 135deg; }
    body.open .menu span:nth-child(2) { width: 0; left: 50%; }
    body.open .menu span:nth-child(3) { top: 12px; rotate: -135deg; }

    /* SHOP専用：ドロワー内でカテゴリーnavをグロナビの下に積む */
    .nav--shop {
        align-items: stretch;
    }
    .nav-sublist {
        flex-direction: column;
        border-top: 1px solid rgba(255, 255, 255, 0.15);
        margin-top: 10px;
        padding-top: 10px;
    }
    .nav-sublink {
        height: 45px;
        line-height: 45px;
        padding: 0 var(--space-section);
        font-size: 13px;
    }
}

/* JOURNAL ページ専用 tablet + mobile 共通 */
@media screen and (max-width: 1199px) {
    .page-journal .header .wrapper,
    .page-shop .header .wrapper {
        display: block;
    }
    .page-journal .header .logo,
    .page-shop .header .logo {
        padding-bottom: 10px;
    }
    .page-title-en {
        text-align: center;
    }
}

/*
レスポンシブ tablet
----------------------------------------------------------- */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .about-container {
        gap: 70px;
        justify-content: center;
    }
    /* sec-03のボックスのみ1カラムに変更 */
    .sec-03 .grid-2col {
        grid-template-columns: 1fr;
    }
    .footer .wrapper-mid {
        gap: 24px;
    }
    .footer-left img {
        max-width: 400px;
    }
}

/* JOURNAL・SHOP ページ専用 tablet */
@media screen and (min-width: 768px) and (max-width: 1199px) {
    .page-journal .header {
        height: 150px;
    }
    .page-shop .header {
        height: 190px; /* SHOPは2段ナビ分プラス */
    }
}

/*
レスポンシブ mobile
----------------------------------------------------------- */
@media screen and (max-width: 767px) {
    :root {
        --header-height: 60px; /* SPではヘッダーを少し低く */
    }
    .mv-container {
        flex-direction: column; /* 左右並びから「上下並び」に切り替え */
        height: 80vh;           /* スマホの画面の高さ60%くらいに収める */
    }
    .mv {
        height: auto;
        margin-bottom: 20px; /* MVの下側のすき間を20pxに指定して固定する */
    }
    .mv-box {
        width: 100%; /* 横幅いっぱいに広げる */
        height: 50%;            /* 上下に50%ずつ均等に分ける */
    }
    .sec-title {
        font-size: 32px;
        padding-bottom: var(--space-unit);
    }
    .lead {
        text-align: center;
    }
    /* グリッド → 1カラムに変更（SP） */
    .grid-3col {
        grid-template-columns: 1fr;
    }
    /* ページトップ（SP） */
    .pagetop {
        bottom: 20px;
        right: 10px;
    }
    /* ページネーション（SP） */
    .pagination .page-numbers {
        width: 34px;
        height: 34px;
        font-size: 13px;
    }
    /* ヘッダー（SP） */
    .header .wrapper {
        padding: 10px var(--space-unit);
    }
    /* ロゴ画像をヘッダーの内側に収める */
    .logo img {
        max-height: calc(var(--header-height) - 20px);
        width: auto;
    }
    /* セクション01（SP） */
    .sec-01 {
        padding-bottom: 30px;
    }
    .card-list {
        padding-bottom: 30px;
    }
    /* ニュース（SP） */
    .sec-news {
        padding-top: 30px;
        padding-bottom: 30px;
    }
    /* 【ABOUT】スマホで絶対に横並びにしない設定 */
    .about-container {
        flex-direction: column; /* 横並びを解除して縦並びに */
    }
    .about-left,
    .about-right {
        width: 100%; /* 横幅を画面いっぱいに広げる */
    }
    .about-left {
        margin-bottom: 24px; /* 1枚目の画像と、その下のテキストの間のすき間 */
    }
    /* 【JOURNAL】スマホで絶対に横並びにしない設定 */
    .journal-row,
    .journal-row:nth-child(even) {
        flex-direction: column; /* 横並びを解除して縦並びに */
        gap: 20px; /* 画像とテキストの間のすき間 */
        margin-bottom: 40px; /* 記事同士の間のすき間 */
    }
    .journal-img,
    .journal-content {
        width: 100%; /* 横幅を画面いっぱいに広げる */
    }
    /* スマホ時の画像が潰れたりはみ出したりしないため */
    .about-img img,
    .journal-img img {
        width: 100%;
        height: auto;
        display: block;
    }
    /* セクション03・ボックス（SP） */
    .sec-03 {
        padding: 30px 0;
    }
    /* セクション04・スライダー（SP） */
    .loop-slider .swiper-slide {
        width: 320px;
        height: 200px;
    }
    /* フッター（SP） */
    .footer .wrapper-mid {
        flex-direction: column;
        gap: var(--space-unit);
    }
    .footer-left {
        text-align: center; /* 画像をスマホの中央に寄せる */
        width: 100%;
    }
    .footer-right {
        align-items: center;
    }
    .footer-sns {
        gap: 16px;
    }
}

/* JOURNAL・SHOP ページ専用 mobile */
@media screen and (max-width: 767px) {
    .page-journal .header,
    .page-shop .header {
        height: 120px;
    }
    .logo img {
        width: 60%;
    }
    .page-journal .header .logo,
    .page-shop .header .logo {
        width: 70%;
    }
    .page-journal {
        padding-top: 120px;
    }
    .page-journal .page-title-en {
        font-size: 42px;
    }
    .journal .card-list {
        grid-template-columns: 1fr;
        gap: 40px;
        margin-top: 40px;
    }
    .journal .card figure {
        max-width: 85%;
    }
    .journal .card .btn-secondary {
        margin-bottom: 20px;
    }
    .page-shop {
        padding-top: 120px;
    }
    .page-shop .page-title-en {
        font-size: 42px;
    }
    .shop .sec-title {
        margin-top: 50px; /* スマホでは余白を少しコンパクトに */
    }
    .shop .card-list {
        grid-template-columns: 1fr; /* スマホでは綺麗に1列に並べる */
        gap: 50px; /* スマホ時のカード同士の隙間 */
        margin-top: 50px;
        margin-bottom: 50px;
    }
    .shop .card figure {
        max-width: 85%; /* スマホ画面に収まるサイズに */
    }
}