/* =========================================================
   Cralier - Stylesheet (Mobile First)
   ========================================================= */

/* ----- Design Tokens ----- */
:root {
  /* ----- Cralier カラーパレット(Figma 由来) ----- */
  --c-text:      #7C5B38;   /* クラリエ濃い茶色 */
  --c-bg:        #EADCC2;   /* クラリエクリーム色 */
  --c-bg-soft:   #F5EBE1;   /* クラリエ薄いクリーム色 */
  --c-accent:    #BDA58B;   /* クラリエ茶色 */
  --c-white:     #FFF7F2;   /* クラリエ白に近いクリーム色 */

  --c-pink-text:  #D28A92;  /* クラリエピンク文字 */
  --c-pink-bg:    #F6DEDF;  /* クラリエピンク背景 */
  --c-green-text: #839E7C;  /* クラリエ緑文字 */
  --c-green-bg:   #DEE8E1;  /* クラリエ緑背景 */
  --c-blue-text:  #678DBB;  /* クラリエ水色文字 */
  --c-blue-bg:    #D1E2E6;  /* クラリエ水色背景 */

  /* ----- 補助変数(パレット外) ----- */
  --c-text-soft: #BDA58B;   /* 副次的なテキスト = 茶色エイリアス */
  --c-line:      #e3d6c0;   /* 線・ボーダー */

  --ff-en:    "Cormorant Garamond", "Times New Roman", serif;
  --ff-jp:    "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  --ff-body:  "M PLUS 1p", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;

  --maxw-mobile: 480px;
  --maxw-tablet: 768px;
  --maxw-pc:     1080px;

  --r-card: 4px;
  --shadow-card: 0 4px 18px rgba(120, 90, 60, 0.08);
}

/* ----- Reset ----- */
*,
*::before,
*::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--ff-body);
  font-size: 14px;
  line-height: 1.8;
  color: var(--c-text);
  background: var(--c-white);
  letter-spacing: 0.04em;
}

img { max-width: 100%; height: auto; display: block; }
ul, ol { list-style: none; padding: 0; margin: 0; }
a { color: inherit; text-decoration: none; }
button { background: none; border: 0; cursor: pointer; font: inherit; color: inherit; }

/* =========================================================
   Header
   ========================================================= */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  background: rgba(246, 237, 224, 0.92);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
}
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  max-width: var(--maxw-pc);
  margin: 0 auto;
}
.site-header__logo img,
.site-header__logo .logo-text {
  height: 26px;
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 24px;
  color: var(--c-accent);
  display: block;
}

/* Nav: ハンバーガーの左に常時表示 */
.site-nav__list {
  display: flex;
  gap: 14px;
  font-family: var(--ff-en);
  font-size: 11px;
  letter-spacing: 0.12em;
}
.site-nav__list a {
  color: var(--c-text);
  transition: color .2s;
}
.site-nav__list a:hover { color: var(--c-accent); }

/* Hamburger */
.hamburger {
  width: 32px; height: 24px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex-shrink: 0;
  padding: 0;
  z-index: 101;
}
.hamburger span {
  display: block;
  height: 2px;
  width: 100%;
  background: var(--c-text);
  border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(11px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-11px) rotate(-45deg); }

/* =========================================================
   Drawer
   ========================================================= */
.drawer {
  position: fixed;
  top: 0; right: -75%;
  width: 75%;
  max-width: 320px;
  height: 100vh;
  background: var(--c-white);
  z-index: 110;
  transition: right .3s ease;
  padding: 80px 28px;
  box-shadow: -4px 0 18px rgba(120, 90, 60, 0.12);
}
.drawer.is-open { right: 0; }
.drawer ul { display: flex; flex-direction: column; gap: 20px; }

/* ドロワー閉じるボタン(×) */
.drawer-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  color: var(--c-text);
  z-index: 1;
  transition: color .2s, transform .2s;
}
.drawer-close::before,
.drawer-close::after {
  content: "";
  position: absolute;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 2px;
}
.drawer-close::before { transform: rotate(45deg); }
.drawer-close::after  { transform: rotate(-45deg); }
.drawer-close:hover {
  color: var(--c-accent);
  transform: rotate(90deg);
}
.drawer a {
  font-family: var(--ff-en);
  font-size: 16px;
  letter-spacing: 0.16em;
}
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(50, 40, 30, 0.4);
  z-index: 105;
  opacity: 0;
  visibility: hidden;
  transition: opacity .3s, visibility .3s;
}
.drawer-overlay.is-open { opacity: 1; visibility: visible; }

/* =========================================================
   Section common
   ========================================================= */
main { padding-top: 54px; }

.section {
  padding: 56px 24px;
  max-width: var(--maxw-pc);
  margin: 0 auto;
}

/* 空状態メッセージ(ジャンルフィルタ結果ゼロ件など) */
.empty-msg {
  text-align: center;
  padding: 36px 20px;
  color: var(--c-text-soft);
  font-size: 13px;
  letter-spacing: 0.05em;
  margin: 0;
  font-family: var(--ff-body);
}

/* =========================================================
   Breadcrumb(パンくず)— 全ページ共通の帯デザイン
   ========================================================= */
.breadcrumb {
  font-family: var(--ff-body);
  font-size: 11px;
  letter-spacing: 0.08em;
  padding: 8px 24px;
  background: var(--c-accent);
  color: var(--c-white);
}
.breadcrumb a {
  color: var(--c-white);
  text-decoration: none;
  opacity: 0.9;
  transition: opacity .2s;
}
.breadcrumb a:hover { opacity: 1; }
.breadcrumb__sep { margin: 0 8px; opacity: 0.7; }
.breadcrumb__current { color: var(--c-white); }

.section-title {
  font-family: var(--ff-en);
  font-size: 22px;
  letter-spacing: 0.18em;
  color: var(--c-accent);
  margin: 0 0 28px;
  font-weight: 500;
}
/* 一文字ずつ浮き上がりフェードインするアニメーション
   JS が textContent を span に分割し、画面内に入ったら .is-in-view を付与する */
.section-title__char {
  display: inline-block;
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease-out, transform .55s cubic-bezier(.2, .7, .3, 1);
  transition-delay: calc(var(--char-i, 0) * 60ms);
  will-change: transform, opacity;
}
.section-title.is-in-view .section-title__char {
  opacity: 1;
  transform: translateY(0);
}
/* 動きを抑えたいユーザー(prefers-reduced-motion) には即表示 */
@media (prefers-reduced-motion: reduce) {
  .section-title__char {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* =========================================================
   Hero — メインビジュアルを大きく1枚で表示
   ========================================================= */
.hero {
  position: relative;
  padding: 0;
  background: var(--c-bg);
  overflow: hidden;
}
.hero__deco--top {
  width: 100%;
  display: block;
  margin: 0;
}
.hero__deco--top img {
  width: 100%;
  height: auto;
  display: block;
  max-height: none;
  object-fit: cover;
}

/* =========================================================
   News
   ========================================================= */
.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 8px;
  margin: 0 0 24px;
}
.news-tab {
  padding: 5px 14px;
  border: 1px solid var(--c-accent);
  border-radius: 999px;
  background: transparent;
  color: var(--c-accent);
  font-size: 12px;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: background .2s, color .2s;
  white-space: nowrap;
}
.news-tab:hover { background: var(--c-bg-soft); }
.news-tab.is-active {
  background: var(--c-accent);
  color: var(--c-white);
}

/* カテゴリごとの色分け(data-filter 属性で切り替え。アクティブ時は背景も同色) */
.news-tab[data-filter="shop"]   { border-color: var(--c-pink-text);  color: var(--c-pink-text);  }
.news-tab[data-filter="recipe"] { border-color: var(--c-green-text); color: var(--c-green-text); }
.news-tab[data-filter="komono"] { border-color: var(--c-blue-text);  color: var(--c-blue-text);  }
.news-tab[data-filter="event"]  { border-color: var(--c-text);       color: var(--c-text);       }
.news-tab[data-filter="info"]   { border-color: var(--c-accent);     color: var(--c-accent);     }

.news-tab[data-filter="shop"].is-active   { background: var(--c-pink-text);  color: #fff; }
.news-tab[data-filter="recipe"].is-active { background: var(--c-green-text); color: #fff; }
.news-tab[data-filter="komono"].is-active { background: var(--c-blue-text);  color: #fff; }
.news-tab[data-filter="event"].is-active  { background: var(--c-text);       color: #fff; }
.news-tab[data-filter="info"].is-active   { background: var(--c-accent);     color: #fff; }

.news-empty {
  text-align: center;
  color: var(--c-text-soft);
  font-size: 13px;
  padding: 24px 0;
  margin: 0;
}

.news-list {
  border-top: 1px solid var(--c-line);
  /* 記事数が少なくても5個分の高さを確保(下のセクションが見えないように) */
  min-height: 255px;
}
.news-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 12px;
  align-items: center;
  padding: 14px 4px;
  border-bottom: 1px solid var(--c-line);
  font-size: 13px;
}
.news-item[hidden] { display: none; }
.news-date {
  color: var(--c-text-soft);
  font-family: var(--ff-en);
  letter-spacing: 0.06em;
}
.news-cat {
  display: inline-block;
  border: 1px solid var(--c-accent);
  color: var(--c-accent);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 11px;
  white-space: nowrap;
}
/* カテゴリごとの色分け(data-cat 属性で切り替え) */
.news-cat[data-cat="shop"]   { border-color: var(--c-pink-text);  color: var(--c-pink-text);  }
.news-cat[data-cat="recipe"] { border-color: var(--c-green-text); color: var(--c-green-text); }
.news-cat[data-cat="komono"] { border-color: var(--c-blue-text);  color: var(--c-blue-text);  }
.news-cat[data-cat="event"]  { border-color: var(--c-text);       color: var(--c-text);       }
.news-cat[data-cat="info"]   { border-color: var(--c-accent);     color: var(--c-accent);     }
.news-title {
  color: var(--c-text);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color .2s;
}
.news-title:hover { color: var(--c-accent); }

.more-link {
  text-align: right;
  margin-top: 18px;
}
.more-link a {
  font-family: var(--ff-en);
  font-size: 13px;
  letter-spacing: 0.16em;
  color: var(--c-accent);
  border-bottom: 1px solid var(--c-accent);
  padding-bottom: 4px;
  display: inline-flex;
  gap: 8px;
  align-items: center;
}
.more-link .arrow { transition: transform .2s; }
.more-link a:hover .arrow { transform: translateX(4px); }

/* =========================================================
   Shop banner
   ========================================================= */
.shop-banner {
  position: relative;
  display: block;                    /* <a> をブロック化 */
  width: 100%;
  border-radius: 22px;
  overflow: hidden;
  color: inherit;                    /* 文字色は通常通り(下線も消す) */
  text-decoration: none;
  background-color: var(--c-white);
  box-shadow: var(--shadow-card);
  /* スクロールに合わせてふわっと登場 */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease-out, transform .9s cubic-bezier(.2, .7, .3, 1);
}
.shop-banner.is-in-view {
  opacity: 1;
  transform: translateY(0);
}
@media (prefers-reduced-motion: reduce) {
  .shop-banner { opacity: 1; transform: none; transition: none; }
}

/* ---- 上ゾーン: 写真背景 + 左キャッチコピー ---- */
.shop-banner__hero {
  position: relative;
  min-height: 300px;
  padding: 26px 22px 44px;
  background-color: var(--c-bg-soft);
  background-image: url('../images-webp/shop-banner.webp');
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
}
.shop-banner__copy {
  position: relative;
  z-index: 1;
  max-width: 58%;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

/* リード文(ワープ文字 / SVG textPath) */
.shop-banner__lead {
  margin: 0;
  color: var(--c-text);
  line-height: 0;
}
.shop-banner__lead-svg {
  display: block;
  width: 100%;
  max-width: 190px;
  height: auto;
  overflow: visible;
}

/* Cralier ロゴ画像
   元 SVG が viewBox 100x100 で上下に大きな余白を持つので
   container を高さ固定 + overflow:hidden でビジュアル上クロップ */
.shop-banner__brand {
  margin: 2px 0 0;
  height: 78px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}
.shop-banner__brand img {
  display: block;
  width: 200px;
  max-width: 100%;
  height: auto;
  flex-shrink: 0;
}
.shop-banner__kit {
  width: 200px;            /* Cralier ロゴと同じ幅にして中央寄せ */
  max-width: 100%;
  margin: 0;
  font-family: var(--ff-en);
  font-size: 15px;
  letter-spacing: 0.32em;
  text-indent: 0.32em;     /* letter-spacing の右余りを相殺 */
  text-align: center;
  color: var(--c-accent);
}
.shop-banner__desc {
  margin: 12px 0 0;
  padding: 6px 0;
  font-size: 12px;
  line-height: 1.9;
  letter-spacing: 0.04em;
  color: var(--c-text);
  /* 写真の上でも読みやすいよう、文字の下に左→右で薄くなる白を敷く */
  background: linear-gradient(
    to right,
    rgba(255, 250, 242, 0.85) 0%,
    rgba(255, 250, 242, 0.6) 55%,
    rgba(255, 250, 242, 0) 100%
  );
}

/* ---- 下ゾーン: 白背景(スカラップ区切り) ---- */
.shop-banner__info {
  position: relative;
  margin-top: -20px;                 /* 写真側へ少し食い込ませる */
  padding: 30px 20px 22px;
  background: var(--c-white);
  /* 上端は平ら(角丸を付けると両端のスカラップが肩に乗って崩れるため) */
  border-radius: 0;
}
/* 上端のスカラップ(白い半円が並ぶ波形) */
.shop-banner__info::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: -12px;
  height: 13px;
  background-image: radial-gradient(circle at 13px 13px, var(--c-white) 12px, transparent 13px);
  background-size: 26px 13px;
  background-repeat: repeat-x;
  background-position: left bottom;
}

/* 3 つの特徴(横並び・点線区切り) */
.shop-features {
  display: flex;
  align-items: stretch;
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}
.shop-feature {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 7px;
  padding: 4px 8px;
  min-width: 0;
  text-align: center;
}
.shop-feature + .shop-feature {
  border-left: 1px dotted var(--c-line);
}
.shop-feature__icon {
  width: 40px;
  height: 40px;
  color: var(--c-accent);
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.shop-feature__icon svg,
.shop-feature__icon img { width: 100%; height: 100%; object-fit: contain; }
/* 画像アイコンは線が太めで重く見えるため、他のSVGより一回り小さめに揃える */
.shop-feature__icon--img { width: 34px; height: 34px; }
.shop-feature__icon--heart { color: var(--c-pink-text); }
.shop-feature__icon--play  { color: #E8C36A; }
.shop-feature__en {
  font-family: var(--ff-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: var(--c-text);
  line-height: 1.2;
}
.shop-feature__text {
  font-size: 10.5px;
  color: var(--c-text-soft);
  line-height: 1.5;
  letter-spacing: 0.02em;
}

/* CTA ボタン(横長矢印付き) */
.shop-banner__btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 24px;
  background: var(--c-white);
  border: 1px solid var(--c-pink-bg);
  border-radius: 999px;
  color: var(--c-text);
  font-size: 14px;
  letter-spacing: 0.12em;
  box-shadow: 0 2px 10px rgba(120, 90, 60, 0.06);
  text-decoration: none;
  transition: transform .2s, box-shadow .2s;
}
.shop-banner__btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(120, 90, 60, 0.12);
}
.shop-banner__arrow {
  position: relative;
  flex: 1;
  height: 1px;
  background: var(--c-text);
  max-width: 90px;
  /* ホバー時にすっと伸びるアニメーション */
  transition: max-width .35s cubic-bezier(.25, .8, .25, 1);
}
.shop-banner__arrow::after {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  width: 8px;
  height: 8px;
  border-top: 1px solid var(--c-text);
  border-right: 1px solid var(--c-text);
  transform: translate(1px, -50%) rotate(45deg);
}
/* バナーをホバーすると矢印の横線が伸びる */
.shop-banner:hover .shop-banner__arrow { max-width: 130px; }

/* Buttons */
.btn {
  display: inline-block;
  min-width: 200px;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 13px;
  letter-spacing: 0.16em;
  text-align: center;
  transition: opacity .2s, transform .2s, background .2s;
}
.btn--primary {
  background: var(--c-accent);
  color: var(--c-white);
}
.btn--primary:hover { opacity: .85; }
.btn--ghost {
  border: 1px solid var(--c-accent);
  color: var(--c-accent);
  background: transparent;
}
.btn--ghost:hover { background: var(--c-accent); color: var(--c-white); }

/* =========================================================
   Pick Up (common)
   ========================================================= */
.pickup { margin-top: 56px; }

.pickup-title {
  text-align: center;
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 20px;
  color: var(--c-accent);
  margin: 0 0 32px;
  font-weight: 500;
}
.pickup-title .leaf-l,
.pickup-title .leaf-r {
  font-size: 12px;
  margin: 0 10px;
  color: var(--c-accent);
}

/* Pick Up — マット画像の上にポラロイド + コラージュ写真を散りばめる */
.pickup-stage {
  position: relative;
  padding: 28px 14px 36px;
  background: url('../images-webp/mat.webp') no-repeat center center;
  background-size: 100% 100%;
  border-radius: 8px;
}

/* コラージュ写真(装飾) */
.collage {
  position: absolute;
  pointer-events: none;
  z-index: 1;
  display: block;
}
.collage--1 {
  top: 4%;
  right: -2%;
  width: 36%;
  max-width: 150px;
  transform: rotate(8deg);
}
.collage--2 {
  top: 38%;
  left: -4%;
  width: 32%;
  max-width: 130px;
  transform: rotate(-10deg);
}
.collage--3 {
  bottom: 3%;
  right: -2%;
  width: 36%;
  max-width: 150px;
  transform: rotate(-6deg);
}

/* Polaroid */
.polaroid-list {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0;
}
.polaroid {
  position: relative; /* .polaroid__link(ステルスリンク)の基準 */
  background: var(--c-white);
  padding: 14px 14px 22px;
  width: 70%;
  max-width: 280px;
  border-radius: 14px;
  box-shadow: var(--shadow-card);
  text-align: center;
  opacity: 0;
  /* 登場用とホバー用で transition を共有(transform/opacity 両方) */
  transition: opacity .7s ease-out, transform .7s cubic-bezier(.2, .7, .3, 1);
}
/* カード全体をクリック領域にするオーバーレイリンク(中身のレイアウトを壊さない) */
.polaroid__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-decoration: none;
}
.polaroid--left {
  align-self: flex-start;
  /* 初期は左外にずらしておく(画面外から流れ込む) */
  transform: translateX(-60px) rotate(-3deg);
}
.polaroid--right {
  align-self: flex-end;
  /* 初期は右外にずらしておく */
  transform: translateX(60px) rotate(3deg);
}
.polaroid.is-in-view { opacity: 1; }
.polaroid--left.is-in-view  { transform: translateX(0) rotate(-3deg); }
.polaroid--right.is-in-view { transform: translateX(0) rotate(3deg); }
.polaroid:hover { transform: rotate(0) translateY(-3px); }

/* 動きを抑える設定のユーザーには即表示(rotate は維持) */
@media (prefers-reduced-motion: reduce) {
  .polaroid { opacity: 1; transition: none; }
  .polaroid--left  { transform: rotate(-3deg); }
  .polaroid--right { transform: rotate(3deg); }
}

.polaroid__img {
  aspect-ratio: 1 / 1;
  background: var(--c-bg-soft);
  margin-bottom: 12px;
  overflow: hidden;
}
.polaroid__img img {
  width: 100%; height: 100%;
  object-fit: cover;
}
.polaroid__name {
  font-size: 13px;
  margin: 0 0 4px;
  letter-spacing: 0.06em;
}
.polaroid__price {
  font-family: var(--ff-en);
  font-size: 14px;
  color: var(--c-accent);
  margin: 0;
}

/* =========================================================
   Recipe
   ========================================================= */
.recipe-banner {
  position: relative;
  display: flex;                  /* <a> をブロック化 + flex */
  align-items: center;
  border-radius: 22px;
  overflow: hidden;
  background-image: url('../images-webp/recipe-banner.webp');
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
  min-height: 320px;
  padding: 24px 16px;
  color: inherit;
  text-decoration: none;
  /* スクロールに合わせてふわっと登場 */
  opacity: 0;
  transform: translateY(30px);
  transition: opacity .9s ease-out, transform .9s cubic-bezier(.2, .7, .3, 1);
}
.recipe-banner.is-in-view {
  opacity: 1;
  transform: translateY(0);
}
.recipe-banner__card {
  background: var(--c-bg-soft);
  border-radius: 22px;
  padding: 26px 20px 24px;
  width: 72%;
  max-width: 280px;
  text-align: center;
  box-shadow: 0 4px 18px rgba(120, 90, 60, 0.12);
  /* ホバー時に浮く動き */
  transition: transform .3s cubic-bezier(.25, .8, .25, 1), box-shadow .3s ease;
}
.recipe-banner:hover .recipe-banner__card {
  transform: translateY(-6px);
  box-shadow: 0 12px 26px rgba(120, 90, 60, 0.18);
}
@media (prefers-reduced-motion: reduce) {
  .recipe-banner { opacity: 1; transform: none; transition: none; }
}
.recipe-banner__lead {
  margin: 0 0 12px;
  color: var(--c-text);
  line-height: 0;
}
.recipe-banner__lead-svg {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  height: auto;
  overflow: visible;
}
.recipe-banner__en {
  font-family: "Fredericka the Great", "Times New Roman", serif;
  font-size: 50px;
  color: var(--c-text);
  margin: 0;
  line-height: 1;
  letter-spacing: 0.02em;
  font-weight: 400;
}
.recipe-banner__sub {
  font-size: 11px;
  color: var(--c-text);
  margin: 4px 0 16px;
  letter-spacing: 0.18em;
}
.recipe-banner__desc {
  font-size: 13px;
  color: var(--c-text);
  margin: 0;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

/* Slider (Recipe pickup) — JS駆動の無限カルーセル */
.slider {
  position: relative;
  overflow: hidden;
}
.slider__track {
  display: flex;
  gap: 12px;
  margin: 0;
  padding: 0;
  list-style: none;
  will-change: transform;
}

.recipe-card {
  position: relative; /* .recipe-card__link(ステルスリンク)の基準 */
  flex: 0 0 78%;
  background: var(--c-white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
/* index の Pick Up: creator-slider 配下では中央ズーム + 両脇は小さく半透明 */
[data-creator-slider] .recipe-card {
  transform: scale(0.78);
  transform-origin: center center;
  transition: transform 500ms ease, opacity 500ms ease;
  opacity: 0.55;
}
[data-creator-slider] .recipe-card.is-active {
  transform: scale(1);
  opacity: 1;
}
/* レシピが1件しかない時(スライダー機能が無効)も等倍&中央配置で表示
   (2件以上で initCreatorSliders が走ると transform で位置制御されるので justify-content は実害なし) */
[data-creator-slider] .slider__track:has(> .recipe-card:only-child) {
  justify-content: center;
}
[data-creator-slider] .slider__track > .recipe-card:only-child {
  transform: scale(1);
  opacity: 1;
}
/* カード全体をクリック領域にするオーバーレイリンク(中身のレイアウトを壊さない) */
.recipe-card__link {
  position: absolute;
  inset: 0;
  z-index: 1;
  border-radius: inherit;
  text-decoration: none;
}
.recipe-card__img {
  aspect-ratio: 1 / 1;
  background: var(--c-bg-soft);
  overflow: hidden;
}
.recipe-card__img img { width: 100%; height: 100%; object-fit: cover; }
.recipe-card__title {
  text-align: center;
  font-size: 13px;
  padding: 12px 4px 16px;
  margin: 0;
  letter-spacing: 0.08em;
}

.slider__dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}
.slider__dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--c-line);
  padding: 0;
  transition: background .2s, transform .2s;
}
.slider__dots .is-active {
  background: var(--c-accent);
  transform: scale(1.3);
}

/* =========================================================
   Komonogatari
   ========================================================= */
.komono-banner {
  position: relative;
  display: block;
  border-radius: 22px;
  overflow: hidden;
  min-height: 360px;
  background:
    url('../images-webp/komono-banner.webp') no-repeat center / cover;
  color: inherit;
  text-decoration: none;
  /* スクロールに合わせてふわっと登場 */
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity .9s ease-out,
    transform .9s cubic-bezier(.2, .7, .3, 1),
    box-shadow .3s ease;
}
.komono-banner.is-in-view {
  opacity: 1;
  transform: translateY(0);
}
/* ホバーで少し浮く */
.komono-banner:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 30px rgba(120, 90, 60, 0.18);
}
@media (prefers-reduced-motion: reduce) {
  .komono-banner { opacity: 1; transform: none; transition: none; }
}

/* タイトル(コモノガタリ + KOMONOGATARI) */
.komono-banner__title {
  position: absolute;
  top: calc(22% + 15px);
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
  padding: 0 16px;
}
.komono-banner__jp {
  font-family: "Kaisei Decol", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 30px;
  color: var(--c-text);
  letter-spacing: 0.32em;
  margin: 0 0 12px;
  line-height: 1;
  font-weight: 400;
  text-shadow: 0 2px 6px rgba(80, 60, 30, 0.18);
  /* letter-spacing で余分にずれる分を相殺(右側だけ余る現象の補正) */
  text-indent: 0.32em;
}
.komono-banner__en {
  font-family: "Londrina Sketch", "Cormorant Garamond", sans-serif;
  font-size: 18px;
  color: var(--c-text);
  letter-spacing: 0.18em;
  margin: 0;
  line-height: 1;
  text-indent: 0.18em;
}

/* 紹介テキスト(KOMONOGATARI の下に中央寄せ) */
/* 区切りのカラフルドット(水色→ピンク→緑をループ) */
.komono-banner__dots {
  display: flex;
  justify-content: center;
  gap: 7px;
  margin: 12px 0 2px;
}
.komono-banner__dots i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  border: 1px solid;          /* 外周リング(色は下で指定) */
  box-sizing: content-box;    /* リングは外側に出す */
}
.komono-banner__dots i:nth-child(3n + 1) { background: var(--c-blue-bg);  border-color: var(--c-blue-text); }
.komono-banner__dots i:nth-child(3n + 2) { background: var(--c-pink-bg);  border-color: var(--c-pink-text); }
.komono-banner__dots i:nth-child(3n + 3) { background: var(--c-green-bg); border-color: var(--c-green-text); }

.komono-banner__desc {
  font-family: "Kaisei Decol", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 12px;
  color: var(--c-text);            /* クラリエ濃い茶色(#7C5B38) */
  margin: 16px 0 0;
  text-align: center;
  line-height: 1.95;
  letter-spacing: 0.06em;
  font-weight: 400;
}

/* Komono cards (ドア + 紹介テキスト) */
.komono-list {
  display: flex;
  flex-direction: column;
  gap: 36px;
  margin: 24px -10px 0;
  padding: 30px 10px 36px;
  background: url('../images-webp/top-pickup-bg.webp') no-repeat center center;
  background-size: cover;
  border-radius: 8px;
}
.komono-card {
  position: relative; /* .komono-card__link(ステルスリンク)の基準 */
  display: flex;
  align-items: center;
  gap: 6px;
}
.komono-card--reverse { flex-direction: row-reverse; }
/* カード全体をクリック領域にするオーバーレイリンク(中身のレイアウトを壊さない) */
.komono-card__link {
  position: absolute;
  inset: 0;
  z-index: 3; /* ドアのlayer(leafやframe)より前面に */
  text-decoration: none;
}
/* reverse 配置の時、テキストが左端ギリギリにならないよう左に余白を確保 */
.komono-card--reverse .komono-card__body { padding-left: 8%; }

/* ドア部分 */
.komono-card__door {
  position: relative;
  flex: 0 0 48%;
  aspect-ratio: 1 / 1;
  /* ドアの開閉に立体感を出すための奥行き */
  perspective: 1400px;
  perspective-origin: center center;
}
.komono-card__work {
  position: absolute;
  top: 13%;
  left: 17%;
  width: 66%;
  height: 80%;
  object-fit: cover;
  border-radius: 50% 50% 4px 4px / 35% 35% 4px 4px;
  z-index: 0;
}
.komono-card__frame {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
}
/* ドア板:フレームと同じ1200×1200。枠と完全に重ねて配置
   ドアノブが画像左にあるので、蝶番は反対側(右)。右ヒンジでドアノブ側が手前に開く */
.komono-card__leaf {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  z-index: 3;
  transform-origin: right center;
  transform: rotateY(0deg);
  transition: transform 1.4s cubic-bezier(.55, .02, .25, 1);
  backface-visibility: hidden;
  pointer-events: none;
}
.komono-card.is-open .komono-card__leaf {
  transform: rotateY(92deg);
}
/* 動きを抑える設定 */
@media (prefers-reduced-motion: reduce) {
  .komono-card__leaf {
    transition: none;
    transform: rotateY(92deg);
  }
}

/* 本文 */
.komono-card__body {
  flex: 1;
  min-width: 0;
}
.komono-card__title {
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 22px;
  color: var(--c-text);
  margin: 0 0 8px;
  font-weight: 500;
}
.komono-card__title small {
  font-family: var(--ff-jp);
  font-style: normal;
  font-size: 11px;
  color: var(--c-text-soft);
  margin-left: 4px;
}

/* ジャンルタグ(色分け) */
.komono-card__tag {
  display: inline-block;
  font-size: 10px;
  padding: 3px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
}
.komono-card__tag--resin {
  background: var(--c-blue-bg);
  color: var(--c-blue-text);
}
.komono-card__tag--knit {
  background: var(--c-pink-bg);
  color: var(--c-pink-text);
}
.komono-card__tag--felt {
  background: var(--c-green-bg);
  color: var(--c-green-text);
}

/* 紹介文 — しっぽり明朝 */
.komono-card__desc {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 11px;
  color: var(--c-text);
  margin: 0;
  line-height: 1.95;
  letter-spacing: 0.02em;
}

/* =========================================================
   About
   ========================================================= */
.about-card {
  position: relative;
  background: url('../images-webp/top-about-bg.webp') no-repeat center center;
  background-size: contain;          /* 画像全体が入るようにする */
  border-radius: var(--r-card);
  aspect-ratio: 402 / 179;           /* 画像の比率に合わせる */
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 12px 20px;
  text-decoration: none;
  color: inherit;
  transition: opacity .2s;
}
.about-card:hover { opacity: 0.85; }
.about-card__brand {
  font-family: "Tilt Prism", "Cormorant Garamond", sans-serif;
  font-size: 22px;
  letter-spacing: 0.32em;
  color: var(--c-accent);
  margin: 0;
  text-indent: 0.32em;
  line-height: 1;
  font-weight: 400;
}
.about-card__logo {
  margin: 0;
  /* 画像 SVG が正方形(余白多め)なので、表示高さを制限してクロップ */
  height: 70px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.about-card__logo img {
  display: block;
  width: 200px;
  max-width: 55%;
  height: auto;
  flex-shrink: 0;
}

/* =========================================================
   Contact
   ========================================================= */
.contact-card {
  position: relative;
  background: url('../images-webp/top-contact-bg.webp') no-repeat center center;
  background-size: contain;
  border-radius: var(--r-card);
  aspect-ratio: 402 / 110;     /* 画像と同じ比率で全体が入るように */
  display: flex;
  align-items: center;
  text-decoration: none;
  color: inherit;
  transition: opacity .2s;
}
.contact-card:hover { opacity: 0.85; }
.contact-card__body {
  margin-left: 50%;            /* 左半分は封筒の写真エリア */
  margin-right: 7%;
  text-align: center;
  flex: 1;
}
.contact-card__title {
  font-family: "Kaisei Decol", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 14px;
  letter-spacing: 0.18em;
  color: var(--c-text);
  margin: 0 0 8px;
  padding-bottom: 6px;
  font-weight: 400;
  text-indent: 0.18em;
  position: relative;
}
.contact-card__title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 12%;
  width: 76%;
  height: 1px;
  background: var(--c-line);
}
.contact-card__desc {
  font-family: "Kaisei Decol", "Hiragino Mincho ProN", "Yu Mincho", serif;
  font-size: 9.5px;
  color: var(--c-text);
  margin: 0;
  line-height: 1.85;
  letter-spacing: 0.04em;
  font-weight: 400;
}

/* =========================================================
   Footer
   ========================================================= */
.site-footer {
  background: #ede1cc;
  text-align: center;
  padding: 40px 24px 32px;
  margin-top: 40px;
}
.sns {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 20px;
}
.sns a {
  width: 64px;
  height: 64px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: opacity .2s, transform .2s;
}
.sns a:hover {
  opacity: .7;
  transform: translateY(-2px);
}
.sns img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  font-size: 11px;
  margin-bottom: 22px;
  color: var(--c-text-soft);
}
.footer-links li:not(:last-child)::after {
  content: "|";
  margin-left: 14px;
  color: var(--c-line);
}
.footer-links a:hover { color: var(--c-accent); }

.footer-logo img,
.footer-logo .footer-logo-text {
  width: 90px;
  margin: 12px auto 8px;
  font-family: var(--ff-en);
  font-style: italic;
  font-size: 28px;
  color: var(--c-accent);
  display: block;
}
.copyright {
  font-family: var(--ff-en);
  font-size: 10px;
  color: var(--c-text-soft);
  letter-spacing: 0.08em;
  margin: 0;
}

/* =========================================================
   Side Nav (PC only) — 左パネルと右タグ
   モバイルでは非表示
   ========================================================= */
.side-left,
.side-right { display: none; }

/* ----- 左パネル ----- */
.side-card {
  position: relative;
  background: var(--c-bg-soft);
  border: 1px solid var(--c-accent);
  border-radius: 16px;
  padding: 28px 24px;
  width: 220px;
}
.side-card::before {
  content: "";
  position: absolute;
  inset: 5px;
  border: 1px solid var(--c-accent);
  border-radius: 12px;
  pointer-events: none;
}

.side-section + .side-section { margin-top: 24px; }

.side-section__title {
  font-family: var(--ff-en);
  font-size: 14px;
  letter-spacing: 0.2em;
  color: var(--c-accent);
  text-align: center;
  margin: 0 0 10px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--c-line);
  font-weight: 500;
}
.side-section ul { display: flex; flex-direction: column; gap: 4px; }
.side-section a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 6px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--c-text);
  transition: background .2s, color .2s;
}
.side-section a:hover {
  background: var(--c-white);
  color: var(--c-accent);
}

.side-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.side-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* 元 SVG が white fill/stroke なので、CSS filter で accent カラー(#c9a784)に着色 */
  filter:
    brightness(0) saturate(100%)
    invert(70%) sepia(35%) saturate(355%)
    hue-rotate(347deg) brightness(91%) contrast(83%);
}

/* ----- 右タグ(横向き) ----- */
/* 元ファイル: 50.19 x 141.95 (縦) → -90deg 回転で 141.95 x 50.19 (横) */
.tag {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;   /* タグ矩形内で中央寄せ */
  width: 254px;              /* 90 * 141.95/50.19 ≈ 254 */
  height: 90px;
  padding: 0 14px 0 84px;    /* 左:紐+ハトメ部分を除外  右:見栄え調整 */
  color: var(--c-white);
  font-family: var(--ff-en);
  text-decoration: none;
  transition: transform .3s;
}
.tag__bg {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 90px;
  height: 254px;
  transform: translate(-50%, -50%) rotate(-90deg);
  z-index: 0;
  pointer-events: none;
}
.tag__icon {
  position: relative;
  z-index: 1;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  margin-right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.tag__icon img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.tag__label {
  position: relative;
  z-index: 1;
  font-size: 14px;
  letter-spacing: 0.12em;
  font-weight: 500;
  line-height: 1.15;
}
.tag:hover { transform: rotate(0) translateY(-4px) !important; }

/* =========================================================
   背景動画(PC専用・グリッター演出)
   モバイル: JS で要素自体を DOM 削除。
              CSS でも display:none + 画面外配置 + 高さゼロで三重防御。
   PC(768px+): position:fixed で背景に重ねる。
   ========================================================= */
.bg-video {
  display: none !important;
  position: fixed !important;
  top: -99999px !important;
  left: -99999px !important;
  width: 0 !important;
  height: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

@media (min-width: 768px) {
  .bg-video {
    display: block !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    object-fit: cover;
    opacity: 0.3 !important;
    pointer-events: none;
    z-index: -1;
  }
}

/* 横スクロール防止 */
html, body {
  overflow-x: hidden;
}

/* =========================================================
   PC view (>=768px)
   モバイルレイアウトを保ったまま中央配置
   両サイドの背景に cralier-bg.png を全面表示
   ========================================================= */
@media (min-width: 768px) {
  /* 背景は viewport 全体を 1 枚で覆う */
  html {
    background-color: var(--c-bg);
    background-image: url('../images-webp/cralier-bg.webp');
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    background-attachment: fixed;
  }

  /* body をモバイル幅に固定して中央配置 */
  body {
    max-width: 480px;
    margin: 0 auto;
    background: var(--c-white);
    min-height: 100vh;
    box-shadow: 0 0 40px rgba(120, 90, 60, 0.18);
    position: relative;
  }

  /* fixed 要素を中央 480px の列に揃える */
  .site-header {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
  }
}

/* =========================================================
   Side Nav 表示 (>=1024px)
   ========================================================= */
@media (min-width: 1024px) {
  .side-left {
    display: block;
    position: fixed;
    top: 50%;
    right: calc(50vw + 260px);
    transform: translateY(-50%);
    z-index: 50;
  }

  .side-right {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    position: fixed;
    top: 50%;
    left: calc(50vw + 260px);
    transform: translateY(-50%);
    z-index: 50;
  }

  /* タグごとに少し角度をつけて吊り下げ感を演出 */
  .side-right .tag:nth-child(1) { transform: rotate(-3deg); }
  .side-right .tag:nth-child(2) { transform: rotate(2deg); }
  .side-right .tag:nth-child(3) { transform: rotate(-2deg); }
}
