@charset "UTF-8";

/* ============================================================
   買取吉兆 - style.css
   ※ 色・フォント・余白は Figma「買取吉兆様 コピー」PC_TOP の実値
   ※ 現状はセクション構造とレイアウトの骨組みのみ
============================================================ */

/* ------------------------------------------------------------
   デザイントークン（Figma実値）
------------------------------------------------------------ */
:root {
  /* --- カラー --- */
  --color-primary: #ffa239;            /* メインオレンジ（ヘッダー帯・CTA・電話ボタン） */
  --color-primary-70: rgba(255, 162, 57, 0.7); /* カードのアクセントバー */
  --color-line: #06c755;               /* LINE グリーン */
  --color-text: #45474a;               /* 本文（Figma変数: black 45474A） */
  --color-heading: #482607;            /* 大見出し・Q・番号の焦茶 */
  --color-heading-20: rgba(72, 38, 7, 0.2); /* 01〜03 ウォーターマーク */
  --color-white: #ffffff;
  --color-bg: #ffffff;
  --color-bg-beige: #f5f3ed;           /* カード背景ベージュ */
  --color-overlay: rgba(69, 71, 74, 0.5); /* 画像オーバーレイ */

  /* --- 影 --- */
  --shadow-card: 0 0 5px rgba(69, 71, 74, 0.08);
  --shadow-btn: 3px 3px 2px rgba(69, 71, 74, 0.2);

  /* --- フォント --- */
  --font-mincho: "Shippori Mincho", serif;       /* 見出し・数字 */
  --font-noto: "Noto Sans JP", sans-serif;        /* 本文ゴシック */

  /* --- タイプスケール（size / line-height / weight） --- */
  --fs-h1: 40px;   --lh-h1: 68px;  --fw-h1: 700;  /* H1_bold40px */
  --fs-h2: 32px;   --lh-h2: 48px;  --fw-h2: 600;  /* h2_semibold */
  --fs-h3: 18px;   --lh-h3: 30px;  --fw-h3: 600;  /* h3_semibold */
  --fs-body: 16px; --lh-body: 24px;                /* text_shippori / text_noto */
  --fw-mincho-md: 500;  /* text_shippori */
  --fw-body: 350;       /* text_noto DemiLight */
  --fs-tel: 34px;  --lh-tel: 44px; --fw-tel: 700; /* 電話番号 */
  --fs-num: 90px;  --lh-num: 68px;                /* 01〜03 ウォーターマーク */

  /* --- レイアウト --- */
  --container: 1280px;        /* フレーム幅 */
  --content-max: 1200px;      /* コンテンツ最大幅（px40 余白） */
  --content-narrow: 1100px;   /* px90 余白セクション */
  --content-shops: 1000px;    /* px140 余白セクション */
  --pad-x: 40px;
  --gap-section: 60px;
  --pad-section-y: 160px;

  /* --- 角丸 --- */
  --radius-card: 10px;
  --radius-btn: 7px;
}

/* ------------------------------------------------------------
   リセット / ベース
------------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 144px; }  /* 追従ヘッダー分アンカー着地をずらす（実測PC高さ136px+余白） */

body {
  margin: 0;
  font-family: var(--font-noto);
  font-weight: var(--fw-body);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  color: var(--color-text);
  background: var(--color-bg);
}

h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
button { font: inherit; color: inherit; cursor: pointer; }

/* コンテナ */
.container {
  width: 100%;
  max-width: var(--container);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}

/* プレースホルダー（画像枠／骨組み確認用） */
.ph {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 80px;
  background: repeating-linear-gradient(45deg, #ece8df, #ece8df 10px, #f5f3ed 10px, #f5f3ed 20px);
  color: #9b958a;
  font-size: 13px;
  font-family: var(--font-noto);
  border-radius: var(--radius-card);
}

/* 共通見出し */
.section-title {
  font-family: var(--font-mincho);
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  font-weight: var(--fw-h1);
  color: var(--color-text);
  text-align: center;
}
.section-title--brown { color: var(--color-heading); }
/* Figma準拠：見出しは palt（日本語プロポーショナル詰め）。letter-spacingと併用で字面が広がりすぎないように */
.section-title,
.cta-band__title,
.popular-card__title,
.reasons__title { font-feature-settings: "palt" 1; }

.section-head {
  display: flex;
  flex-direction: column;
  gap: 13px;
  align-items: center;
  margin-bottom: var(--gap-section);
}
.section-eyebrow {
  font-family: var(--font-mincho);
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  font-weight: var(--fw-h3);
  text-align: center;
}

/* 電話番号テキスト共通 */
.tel-number {
  display: block;
  font-family: var(--font-mincho);
  font-weight: var(--fw-tel);
  font-size: var(--fs-tel);
  line-height: var(--lh-tel);
}
.tel-hours {
  display: block;
  font-family: var(--font-mincho);
  font-size: 14px;
  line-height: 1.4;
  text-align: center;
}

/* LINE ボタン共通（ヘッダー：白地・緑枠2px・緑文字 / Figma 1:25） */
.btn--line {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 15px;
  background: var(--color-white);
  border: 2px solid var(--color-line);
  border-radius: var(--radius-btn);
  color: var(--color-line);
  font-family: var(--font-mincho);
  font-weight: var(--fw-mincho-md);
  font-size: 22px;          /* 「LINE」22px（「で相談する」は20px → 下記で縮小） */
  line-height: 22px;
  white-space: nowrap;
}
.btn--line > span:last-child { font-size: 20px; }   /* 「で相談する」 */
.btn--line__icon { display: inline-flex; color: var(--color-line); }

/* ============================================================
   1. ヘッダー（Figma 1:13 / 高さ129 = 帯85 + ナビ44）
============================================================ */
.site-header { position: sticky; top: 0; z-index: 50; }  /* 吉兆指示：メニューバー追従 */

/* 上段オレンジ帯（1:14） */
.header-bar { background: var(--color-primary); }
.header-bar__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-block: 12px;     /* py-12 → 帯高さ85px */
}
.header-logo { line-height: 0; }
.header-logo img { width: 208px; height: 53px; object-fit: contain; }
.header-contact { display: flex; align-items: center; gap: 31px; }

.header-ig {
  display: inline-flex; align-items: center; justify-content: center;
  width: 30px; height: 30px; color: var(--color-white);
}
.header-ig svg { display: block; }

.header-tel { display: inline-flex; align-items: center; gap: 2px; color: var(--color-white); }
.header-tel__icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; }
.header-tel__icon svg { width: 26px; height: 26px; }
.header-tel__num { display: flex; flex-direction: column; align-items: center; width: 230px; }

/* 下段ナビ（1:30 / 白地・中央寄せ・gap144） */
.global-nav { background: var(--color-white); }
.global-nav__list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 144px;
  padding: 12px 60px;
}
.global-nav__list a {
  font-family: var(--font-mincho);
  font-weight: var(--fw-mincho-md);
  font-size: var(--fs-body);
  line-height: 20px;
  color: var(--color-text);
  white-space: nowrap;
}

/* ============================================================
   2. ファーストビュー（Figma 1:36 / 高さ429・幅1280）
   背景はコラージュ＋人物＋#45474a 70%オーバーレイを1枚に書き出し
============================================================ */
/* Figma FV(1280×429) を全幅で“等比”表示。aspect-ratioで高さを幅に連動させ、
   背景はcover（フレーム比＝画像比なのでクロップ無し＝Figmaと同じ見え方）。
   文字・バッジは cqw（コンテナ幅の%）で配置・サイズ指定し、フレームごと等比スケール。 */
.fv {
  position: relative;
  width: 100%;
  aspect-ratio: 1280 / 429;
  overflow: hidden;
  container-type: inline-size;
  background: #45474a url("../images/fv-bg.jpg") center / cover no-repeat;
}
.fv__inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* コピー（1:44 / left90 top56 w798 gap14 白）→ /1280*100cqw で等比化 */
.fv__copy {
  position: absolute;
  left: 7.031cqw;   /* 90 */
  top: 4.375cqw;    /* 56 */
  width: 62.344cqw; /* 798 */
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  gap: 1.094cqw;    /* 14 */
}
.fv__title {
  font-family: var(--font-mincho);
  font-weight: var(--fw-h1);
  font-size: 3.125cqw;   /* 40 */
  line-height: 5.313cqw; /* 68 */
  white-space: nowrap;
  font-feature-settings: "palt" 1;   /* Figma準拠：日本語を詰める */
}
.fv__lead {
  font-family: var(--font-mincho);
  font-weight: var(--fw-h3);   /* SemiBold */
  font-size: 1.406cqw;   /* 18 */
  line-height: 2.344cqw; /* 30 */
}

/* バッジ3つ（1:47/1:50/1:53 / left90 top247 / 135 gap30） */
.fv__badges {
  position: absolute;
  left: 7.031cqw;    /* 90 */
  top: 19.297cqw;    /* 247 */
  display: flex;
  gap: 2.344cqw;     /* 30 */
}
.fv__badge {
  position: relative;
  display: flex; align-items: center; justify-content: center; text-align: center;
  width: 10.547cqw; height: 10.547cqw; border-radius: 50%;   /* 135 */
  background: rgba(245, 243, 237, 0.9);   /* ベージュ90% */
  color: var(--color-text);
  font-family: var(--font-noto);
  font-weight: 500;
  font-size: 1.406cqw;   /* 18 */
  line-height: 2.188cqw; /* 28 */
}
/* 二重線リング（Figma Ellipse4）：塗り円→透過の隙間→外周リング を::afterの枠線で。SPと同方式（PC用に比率調整） */
.fv__badge::after {
  content: ""; position: absolute; inset: -0.34cqw; border-radius: 50%;
  border: 0.2cqw solid #f5f3ed; pointer-events: none;
}

/* ▼ ヒーロー見出しの可読性＆多言語くずれ対策（日本語の見た目は維持） ----------- */
/* 微弱なテキストシャドウ：白文字が背景画像に重なっても読めるように（日本語の印象はほぼ不変） */
.fv__title, .fv__lead { text-shadow: 0 2px 10px rgba(0, 0, 0, 0.32); }
/* SP専用改行：セグメントをPCは行内(inline)、SPはブロック化して改行。
   ※ <br>のdisplay切替はこの環境で改行が復活しないため span 方式に統一 */
.sp-line { display: inline; }
.pc-comma { display: inline; }   /* PCのみカンマ表示（SPは非表示） */

/* 英・中・韓など文字数が増える言語：PCでは1行固定を解除して折り返し、
   人物(x≈850px)に被らない最大幅に収める。
   ※ cqw はコンテナ(.fv)前提のため PC(≥769px)限定。SPは下部のブレークポイントが担当。 */
@media (min-width: 769px) {
  html[data-lang="en"] .fv__title,
  html[data-lang="zh"] .fv__title,
  html[data-lang="ko"] .fv__title {
    white-space: normal;
    max-width: 50cqw;        /* 起点90px + 50cqw(640px) = 730px。人物の手前で改行 */
    font-size: 2.5cqw;       /* 約32px。長文でも収まるよう少しだけ小さく */
    line-height: 1.35;
  }
  html[data-lang="en"] .fv__lead,
  html[data-lang="zh"] .fv__lead,
  html[data-lang="ko"] .fv__lead {
    max-width: 50cqw;
    line-height: 1.55;
  }
}

/* ============================================================
   3 / 10. CTA帯（Figma 1:57 / オレンジ帯246 + 白カードが下にオーバーフロー）
============================================================ */
.cta-band {
  position: relative;
  background: var(--color-bg-beige);   /* カードのはみ出し背面 */
  padding: 33px 0 60px;
}
.cta-band::before {                     /* オレンジ帯（高さ246） */
  content: "";
  position: absolute; top: 0; left: 0; right: 0;
  height: 246px;
  background: var(--color-primary);
  z-index: 0;
}
.cta-band__inner {
  position: relative; z-index: 1;
  width: 100%; max-width: var(--container);
  margin-inline: auto;
  padding-inline: 90px;
}
.cta-band__title {
  font-family: var(--font-mincho);
  font-weight: var(--fw-h2);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  color: var(--color-white);
  text-align: center;
}
.cta-band__panel {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  gap: 30px;
  margin-top: 29px;
  padding: 34px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: 0 0 10px rgba(69, 71, 74, 0.08);
}
.cta-col { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cta-col__label { font-family: var(--font-noto); font-size: var(--fs-body); color: var(--color-text); }

/* 装飾ラベル（＼ テキスト ／） */
.deco-label { display: inline-flex; align-items: center; gap: 14px; }
.deco-label::before,
.deco-label::after { content: ""; width: 2px; height: 17px; background: var(--color-text); }
.deco-label::before { transform: rotate(-22deg); }
.deco-label::after  { transform: rotate(22deg); }

.cta-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 12px;
  height: 92px; padding: 0 20px;
  border-radius: var(--radius-btn);
  box-shadow: var(--shadow-btn);
}
.cta-btn__icon { display: inline-flex; align-items: center; flex: 0 0 auto; }
.cta-btn__num { display: flex; flex-direction: column; align-items: center; }
.cta-btn__num .tel-number { white-space: nowrap; }
.cta-btn--line .cta-btn__txt { white-space: nowrap; }
.cta-btn--tel { width: 360px; background: var(--color-primary); color: var(--color-white); }
.cta-btn--line {
  width: 361px; gap: 20px;
  background: var(--color-white);
  border: 3px solid var(--color-line);
  color: var(--color-line);
  font-family: var(--font-mincho);
}
.cta-btn--line .cta-btn__txt { font-weight: var(--fw-mincho-md); font-size: 26px; line-height: 22px; }
.cta-btn--access {
  width: 214px; gap: 10px; padding: 0 29px;
  background: var(--color-text); color: var(--color-white);
  font-family: var(--font-mincho); font-weight: var(--fw-mincho-md); font-size: var(--fs-body);
}

/* 矢印（＞） */
.cta-arrow {
  width: 8px; height: 8px; flex: 0 0 auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

/* 縦区切り線 */
.cta-divider { align-self: center; width: 1px; height: 130px; background: #e3dfd6; }

/* ============================================================
   4. LINE査定バナー（カルーセル）
============================================================ */
.banner-row { background: var(--color-bg-beige); padding: 20px 0 80px; overflow: hidden; }
/* 自動スライダー（Figma バナー 1:90 準拠）：中央=大（764×400）、左右=663でチラ見せ。
   中央が入れ替わるコーフロー型。JSで --bw（カード幅）/ --bx（左右オフセット）/ --bh（高さ）を設定。 */
.banner-slider {
  position: relative;
  width: 100%; max-width: var(--container);
  height: var(--bh, 400px);
  margin-inline: auto; overflow: hidden;
}
.banner-card {
  position: absolute; top: 0; left: 50%;
  width: var(--bw, 764px); aspect-ratio: 764 / 400;
  margin-left: calc(var(--bw, 764px) / -2);
  overflow: hidden; background: var(--color-white); border-radius: 4px;
  transition: transform .7s ease, opacity .7s ease;
  will-change: transform; backface-visibility: hidden;
}
.banner-card img { width: 100%; height: 100%; object-fit: cover; display: block; }
.banner-card.is-center { transform: translateX(0) scale(1);                        z-index: 3; opacity: 1; }
.banner-card.is-right  { transform: translateX(var(--bx, 734px)) scale(0.868);     z-index: 2; opacity: .96; }
.banner-card.is-left   { transform: translateX(calc(var(--bx, 734px) * -1)) scale(0.868); z-index: 2; opacity: .96; }

.banner-dots { display: flex; align-items: center; justify-content: center; gap: 20px; margin-top: 30px; }
.banner-dot { width: 12px; height: 12px; border-radius: 50%; background: #d9d4ca; border: 0; padding: 0; cursor: pointer; transition: width .2s ease, height .2s ease, background-color .2s ease; }
.banner-dot.is-active { width: 16px; height: 16px; background: var(--color-primary); }

/* ============================================================
   5. 安心理由（選ばれてきた理由 / Figma 1:102 / 1280×802）
   中央コピー＋左右に写真をスタッガー配置
============================================================ */
.reasons { position: relative; background: var(--color-white); height: 802px; }
.reasons__inner {
  position: relative;
  width: 100%; max-width: var(--container);
  height: 100%;
  margin-inline: auto;
}
.reasons__text {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 464px;
  display: flex; flex-direction: column; gap: 40px;
  text-align: center;
}
.reasons__title {
  font-family: var(--font-mincho);
  font-weight: var(--fw-h1);   /* Bold 40 / 68 */
  font-size: var(--fs-h1);
  line-height: var(--lh-h1);
  color: var(--color-text);
}
.reasons__title .is-accent { color: var(--color-primary); }
.reasons__body {
  font-family: var(--font-mincho);
  font-weight: var(--fw-mincho-md);   /* Medium 18 / 30 */
  font-size: var(--fs-h3);
  line-height: var(--lh-h3);
  color: var(--color-text);
}
.reasons__img { position: absolute; margin: 0; overflow: hidden; border-radius: 20px; }
.reasons__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reasons__img--right { left: 938px; top: 97px;  width: 302px; height: 460px; }
.reasons__img--left  { left: 40px;  top: 377px; width: 302px; height: 359px; }

/* ============================================================
   6. 買取品目（Figma 1:111 / 背景グラデ・大4＋小20グリッド）
============================================================ */
.items {
  padding-block: var(--pad-section-y);
  background-image: linear-gradient(149.5deg, #f5f3ed 0%, #ffffff 100%);
}
.items__inner {
  width: 100%; max-width: calc(var(--content-max) + var(--pad-x) * 2);
  margin-inline: auto;
  padding-inline: var(--pad-x);
}
.items .section-title { margin-bottom: 60px; }

/* 品目大（4カテゴリ / 585×200・角丸なし） */
.items-large {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 30px;
}
.item-large { position: relative; display: block; height: 200px; overflow: hidden; }
.item-large img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-large__label {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-mincho); font-weight: var(--fw-h2);
  font-size: var(--fs-h2); line-height: var(--lh-h2);
  color: var(--color-white); background: var(--color-overlay);
}

/* 品目小（20カテゴリ / 277.5×198・カード背景テクスチャ＋中央サムネ） */
.items-small {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}
.item-small {
  position: relative;
  height: 198px;
  overflow: hidden;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 15px;
  background: url("../images/item-bg.png") center / cover no-repeat;
  box-shadow: 0 0 5px rgba(69, 71, 74, 0.08);
}
.item-small__thumb {
  width: 134px; height: 110px; overflow: hidden;
  background: rgba(69, 71, 74, 0.08);
}
.item-small__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.item-small__label {
  font-family: var(--font-mincho); font-weight: var(--fw-mincho-md);
  font-size: var(--fs-body); line-height: var(--lh-body);
  color: var(--color-text); text-align: center; padding-inline: 6px;
}

/* 横スクロール帯（要件② / 無限ループ・ホバー停止） */
.items-marquee { width: 100%; overflow: hidden; margin-block: 60px; }
.items-marquee__track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: items-marquee 60s linear infinite;
}
.items-marquee:hover .items-marquee__track { animation-play-state: paused; }
.marquee-item { flex: 0 0 auto; }
.marquee-item img {
  width: 180px; height: 130px; object-fit: cover; display: block;
  border-radius: var(--radius-card);
}
@keyframes items-marquee {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .items-marquee__track { animation: none; }
}

.items__note {
  margin-top: 0;
  text-align: center;
  font-family: var(--font-mincho);
  font-weight: var(--fw-h2);
  font-size: var(--fs-h2);
  line-height: var(--lh-h2);
  color: var(--color-text);
}

/* ============================================================
   7. 本日の地金買取相場（Figma 1:257 / bg #ede9e0）
============================================================ */
.market { position: relative; overflow: hidden; background: #ede9e0; padding: 80px 0 100px; }
.market__bg {
  position: absolute; top: -102px; left: 498px; width: 868px; height: 686px;
  background: url("../images/market-bg.png") center / cover no-repeat;
  opacity: 0.05; z-index: 0; pointer-events: none;
}
.market__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 60px;
}
.market__head { text-align: center; display: flex; flex-direction: column; gap: 13px; }
.market__date {
  font-family: var(--font-noto); font-weight: var(--fw-body);
  font-size: var(--fs-body); line-height: var(--lh-body); color: var(--color-text);
}
.market__grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 30px; }
.market__note {  /* Figma 1:773「※業者買取価格となります」右寄せ・吉兆指示で12pxに縮小・#45474a（Noto DemiLight） */
  font-family: var(--font-noto); font-weight: var(--fw-body); font-size: 12px; line-height: 18px;
  color: #45474a; text-align: right; margin-top: 20px;
}
.market-card {
  position: relative; flex: 0 0 auto;
  width: 277.5px; height: 104px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.market-card__badge {
  position: absolute; left: -74px; top: 50%; transform: translateY(-50%);
  width: 174px; height: 174px; border-radius: 50%;
}
.market-card__badge--gold      { background: #c09e28; }
.market-card__badge--platinum  { background: #7cb7cf; }
.market-card__badge--palladium { background: #45474a; }
.market-card__badge--silver    { background: #ececec; }
.market-card__name {
  position: absolute; left: 50px; top: 50%; transform: translate(-50%, -50%);
  font-family: var(--font-mincho); font-weight: var(--fw-h3);
  font-size: var(--fs-h3); line-height: var(--lh-h3);
  color: var(--color-text); white-space: nowrap;
}
.market-card__name--light { color: var(--color-white); }
.market-card__price {
  position: absolute; left: 96px; right: 10px; top: 50%; transform: translateY(-50%);
  display: flex; align-items: baseline; justify-content: center; gap: 4px;
  white-space: nowrap;
}
.market-card__value {
  font-family: var(--font-mincho); font-weight: var(--fw-h1);
  font-size: var(--fs-h1); line-height: 1;
  color: var(--color-primary);
}
.market-card__unit {
  font-family: var(--font-mincho); font-weight: var(--fw-h3);
  font-size: var(--fs-h3); line-height: 1; color: var(--color-text);
}
/* 非日本語は単位(JPY/日元)が幅を取るぶん数字を縮小して重なり防止 */
html[data-lang="en"] .market-card__value,
html[data-lang="zh"] .market-card__value,
html[data-lang="ko"] .market-card__value { font-size: 30px; }

/* ============================================================
   8. 人気の理由 01〜03（Figma 1:285）
============================================================ */
.popular { position: relative; overflow: hidden; background: var(--color-white); }
.popular::before {
  content: ""; position: absolute; inset: 0;
  background: url("../images/popular-bg.png") center / cover no-repeat;
  opacity: 0.1; pointer-events: none;
}
.popular__inner {
  position: relative; z-index: 1;
  width: 100%; max-width: calc(var(--content-max) + var(--pad-x) * 2);
  margin-inline: auto;
  padding: var(--pad-section-y) var(--pad-x);
}
.popular__list { display: flex; flex-direction: column; gap: 50px; }
.popular-card { position: relative; padding-top: 35px; }
.popular-card__num {
  position: absolute; top: 0; left: 50px; z-index: 2;
  font-family: var(--font-mincho); font-weight: var(--fw-mincho-md);
  font-size: var(--fs-num); line-height: var(--lh-num);
  color: var(--color-heading-20);
}
.popular-card__body {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 440px;
  gap: 97px;
  align-items: center;
  padding: 67px 50px;
  background: var(--color-bg-beige);
  border-radius: var(--radius-card);
  overflow: hidden;
}
.popular-card__body::before {   /* 左アクセントバー（オレンジ70%） */
  content: ""; position: absolute; left: 0; top: 0; bottom: 0; width: 10px;
  background: var(--color-primary-70);
}
.popular-card--reverse .popular-card__body { grid-template-columns: 440px 1fr; }
.popular-card--reverse .popular-card__text { order: 2; }
.popular-card--reverse .popular-card__media { order: 1; }
/* 02は左右反転：番号「02」とオレンジのアクセントバーも右側へ（Figma 1:306） */
.popular-card--reverse .popular-card__num { left: auto; right: 50px; }
.popular-card--reverse .popular-card__body::before { left: auto; right: 0; }
.popular-card__text { padding-inline: 40px; color: var(--color-text); }
.popular-card__title {
  font-family: var(--font-mincho); font-weight: var(--fw-h2);
  font-size: var(--fs-h2); line-height: var(--lh-h2);
  color: var(--color-text); margin-bottom: 30px;
}
.popular-card__text p { font-family: var(--font-noto); font-weight: var(--fw-body); }
.popular-card__media { width: 440px; height: 280px; overflow: hidden; }
.popular-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
/* 03の画像はFigma(image25)が左右反転版。CSSで水平反転して一致させる */
.popular-card:nth-child(3) .popular-card__media img { transform: scaleX(-1); }

/* ============================================================
   9. お客様の声（Figma 1:326 / 斜めグラデ背景）
============================================================ */
.voices {
  padding-block: var(--pad-section-y);
  background-image: linear-gradient(127deg, #ede9e0 0%, #fffdf7 46%, #ede9e0 100%);
}
.voices__inner {
  display: flex; flex-direction: column; align-items: center; gap: 60px;
  width: 100%; max-width: var(--container); margin-inline: auto; padding-inline: var(--pad-x);
}
.voices__list { display: flex; justify-content: center; gap: 38px; align-items: stretch; }
.voice-card {
  width: 342px;
  padding: 30px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  display: flex; flex-direction: column; gap: 24px;
}
.voice-card__head { display: flex; align-items: center; gap: 16px; }
.voice-card__avatar {
  width: 90px; height: 90px; border-radius: 50%; overflow: hidden; flex: 0 0 auto;
  /* Figma 1:822/829/836 の完成アバター（円＋人物を一体で書き出し）をそのまま使用 */
  background-size: cover; background-position: center; background-repeat: no-repeat;
}
.voice-card__avatar img { display: none; }            /* 旧imgは不使用 */
.voice-card__avatar--1 { background-image: url("../images/voice1.png"); }  /* 灰髪お団子・青円 */
.voice-card__avatar--2 { background-image: url("../images/voice2.png"); }  /* 眼鏡・金円 */
.voice-card__avatar--3 { background-image: url("../images/voice3.png"); }  /* 縞シャツ・グレー円 */
.voice-card__title {
  font-family: var(--font-mincho); font-weight: var(--fw-h3);
  font-size: var(--fs-h3); line-height: var(--lh-h3); color: #482607;   /* Figma 1:824 茶 */
}
.voice-card__body {
  font-family: var(--font-noto); font-weight: var(--fw-body);
  font-size: var(--fs-body); line-height: var(--lh-body); color: var(--color-text);
  padding-top: 24px; border-top: 1px solid #e6e2d8;
}

/* ============================================================
   11. 店舗情報（Figma 1:352 / 大理石うすい背景）
============================================================ */
.shops { position: relative; overflow: hidden; background: #f0ebe1; padding: var(--pad-section-y) 0; } /* marbleで白く洗い出るぶん地色を一段濃く（Figma実測#f6f5f0＋marble） */
.shops__bg {
  position: absolute; top: -54px; left: 50%; transform: translateX(-50%);
  width: 1855px; height: 1044px; max-width: none;
  background: url("../images/shops-bg.png") center / cover no-repeat;
  opacity: 0.3; pointer-events: none; z-index: 0;
}
.shops__inner {
  position: relative; z-index: 1;
  display: flex; flex-direction: column; align-items: center; gap: 60px;
  width: 100%; max-width: calc(var(--content-shops) + 140px * 2);
  margin-inline: auto; padding-inline: 140px;
}
.shops__grid { display: flex; justify-content: center; gap: 56px; }
.shop-card { width: 472px; display: flex; flex-direction: column; gap: 11px; }
.shop-card__media { width: 100%; height: 315px; overflow: hidden; background: var(--color-text); }
.shop-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.shop-card__access {
  align-self: flex-start;
  border: 1px solid var(--color-heading-20);
  padding: 3px 10px;
  font-family: var(--font-noto); font-weight: var(--fw-body);
  font-size: var(--fs-body); line-height: var(--lh-body); color: var(--color-heading);
}
.shop-card__name {
  font-family: var(--font-mincho); font-weight: var(--fw-h2);
  font-size: var(--fs-h2); line-height: var(--lh-h2); color: var(--color-text);
}
.shop-card__info { display: flex; flex-direction: column; gap: 10px; }
.shop-card__info > div { display: flex; gap: 16px; }
.shop-card__info dt {
  flex: 0 0 64px; width: 64px;
  font-family: var(--font-mincho); font-weight: var(--fw-mincho-md);
  font-size: var(--fs-body); line-height: var(--lh-body); color: var(--color-heading);
}
.shop-card__info dd {
  margin: 0;
  font-family: var(--font-noto); font-weight: var(--fw-body);
  font-size: var(--fs-body); line-height: var(--lh-body); color: var(--color-text);
}

/* ============================================================
   12. Instagram
============================================================ */
.instagram { padding-block: var(--pad-section-y); }
.instagram .container { max-width: calc(var(--content-shops) + var(--pad-x) * 2); }
.instagram .section-title { margin-bottom: 60px; }
.instagram__grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 20px; }
.instagram__tile { display: block; aspect-ratio: 1 / 1; min-height: 0; border-radius: 0; overflow: hidden; position: relative; background: var(--color-bg-beige); }
.instagram__tile img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s ease; }
.instagram__tile::after { content: ""; position: absolute; inset: 0; background: rgba(69, 71, 74, 0); transition: background-color .3s ease; }
.instagram__tile:hover img { transform: scale(1.06); }
.instagram__tile:hover::after { background: rgba(69, 71, 74, 0.12); }

/* ============================================================
   13. よくあるご質問
============================================================ */
.faq { padding-block: var(--pad-section-y); background: #f5f3ed; } /* Figma実測 #f5f3ed（薄ベージュ。#ede9e0は濃すぎだった） */
.faq .section-title { margin-bottom: 60px; }
.faq__list { display: grid; grid-template-columns: repeat(2, 1fr); gap: 30px; align-items: start; }
.faq-item { background: var(--color-white); border-radius: var(--radius-card); box-shadow: var(--shadow-card); }
.faq-item__q {
  display: flex; align-items: center; gap: 24px; width: 100%;
  padding: 20px 50px; background: none; border: none; text-align: left;
}
.faq-item__mark { font-family: var(--font-mincho); font-weight: var(--fw-h2); font-size: var(--fs-h2); line-height: var(--lh-h2); color: var(--color-heading); }
.faq-item__mark--a { color: var(--color-primary); }
.faq-item__qtext { flex: 1; font-family: var(--font-mincho); font-weight: var(--fw-h3); font-size: var(--fs-h3); line-height: var(--lh-h3); }
.faq-item__toggle { width: 14px; height: 14px; flex: 0 0 auto; position: relative; }
.faq-item__toggle::before,
.faq-item__toggle::after { content: ""; position: absolute; background: var(--color-primary); }
.faq-item__toggle::before { top: 6px; left: 0; width: 14px; height: 2px; }
.faq-item__toggle::after  { top: 0; left: 6px; width: 2px; height: 14px; }
.faq-item__q[aria-expanded="true"] .faq-item__toggle::after { display: none; }
.faq-item__a { display: none; gap: 24px; padding: 0 50px 28px; }
.faq-item.is-open .faq-item__a { display: flex; }
.faq-item__a p { flex: 1; font-family: var(--font-mincho); font-weight: var(--fw-mincho-md); }

/* ============================================================
   14. 会社概要（Figma 1:468）
============================================================ */
.company { padding-block: var(--pad-section-y); background: var(--color-white); }
.company .container { max-width: calc(var(--content-shops) + 140px * 2); padding-inline: 140px; }
.company .section-title { margin-bottom: 60px; }
.company__table { display: flex; flex-direction: column; }
.company__row {
  display: flex;
  gap: 4px;
  padding: 0 30px 20px;
  margin-bottom: 20px;
  border-bottom: 1px solid #e6e2d8;
  font-size: var(--fs-body); line-height: var(--lh-body); color: var(--color-text);
}
.company__row dt {
  flex: 0 0 272px; width: 272px;
  font-family: var(--font-mincho); font-weight: var(--fw-mincho-md);
}
.company__row dd {
  flex: 1; margin: 0;
  font-family: var(--font-mincho); font-weight: 800;   /* Shippori ExtraBold */
}

/* ============================================================
   15. フッター（Figma 1:499 / bg #ffa239）
============================================================ */
.site-footer { background: var(--color-primary); color: var(--color-white); }
.site-footer__inner {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 132px;
  width: 100%; max-width: var(--container); margin-inline: auto;
  padding: 55px 90px;
}
.site-footer__brand { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.site-footer__brand .btn--line { flex: 0 0 auto; }
.footer-logo { line-height: 0; }
.footer-logo img { width: 205px; height: 52px; object-fit: contain; }
.footer-tel { display: inline-flex; align-items: center; gap: 2px; color: var(--color-white); }
.footer-tel__icon { display: inline-flex; align-items: center; justify-content: center; width: 32px; }
.footer-tel__num { display: flex; flex-direction: column; align-items: center; width: 230px; }
.site-footer__nav {
  display: flex; flex-direction: column; align-items: flex-start; gap: 28px;
}
/* Figma 1:500：3カラム（列間144px・行間30px）で 買取品目/お客様のお声/店舗情報 → お知らせ/会社概要 */
.site-footer__nav ul {
  display: grid;
  grid-template-columns: repeat(3, auto);
  column-gap: 144px; row-gap: 30px;
  justify-content: start;
}
.site-footer__nav a {
  font-family: var(--font-mincho); font-weight: var(--fw-mincho-md);
  font-size: var(--fs-body); line-height: 20px; color: var(--color-white);
}
.footer-ig { display: inline-flex; color: var(--color-white); }
.footer-ig svg { display: block; }

/* ============================================================
   多言語（Google翻訳）言語切替
============================================================ */
/* 自作の言語切替：プルダウン（日本語/English/中文/한국어） */
.lang-select { position: relative; flex: 0 0 auto; }
.lang-select__toggle {
  display: inline-flex; align-items: center; gap: 7px;
  padding: 7px 12px; border: 1px solid #e0ddd4; border-radius: 999px;
  background: var(--color-white); color: var(--color-text);
  font-family: var(--font-noto); font-size: 13px; line-height: 1; cursor: pointer;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.lang-select__toggle:hover { border-color: var(--color-primary); }
.lang-select.is-open .lang-select__toggle { border-color: var(--color-primary); box-shadow: 0 0 0 3px rgba(255, 162, 57, 0.15); }
.lang-select__globe { display: inline-flex; color: var(--color-primary); }
.lang-select__globe svg { display: block; }
.lang-select__current { font-weight: 500; white-space: nowrap; }
.lang-select__caret {
  width: 6px; height: 6px; margin-left: 1px;
  border-right: 1.6px solid currentColor; border-bottom: 1.6px solid currentColor;
  transform: rotate(45deg) translate(-1px, -1px); transition: transform .2s ease;
}
.lang-select.is-open .lang-select__caret { transform: rotate(-135deg) translate(-1px, -1px); }
.lang-select__menu {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 60;
  min-width: 150px; margin: 0; padding: 6px; list-style: none;
  background: var(--color-white); border-radius: 12px;
  box-shadow: 0 10px 28px rgba(69, 71, 74, 0.18);
  animation: langMenuIn .16s ease;
}
.lang-select__menu[hidden] { display: none; }
@keyframes langMenuIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }
.lang-select__opt {
  display: block; width: 100%; text-align: left;
  padding: 9px 14px; border: 0; border-radius: 8px; background: transparent;
  font-family: var(--font-noto); font-size: 14px; color: var(--color-text);
  cursor: pointer; transition: background-color .15s ease, color .15s ease;
}
.lang-select__opt:hover { background: var(--color-bg-beige); }
.lang-select__opt.is-active { background: var(--color-primary); color: var(--color-white); font-weight: 500; }

/* Google翻訳の本体UI・上部バーは隠す（自作ボタン＋Cookieで制御） */
#google_translate_element { display: none !important; }
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
.goog-te-gadget-icon { display: none !important; }
.goog-te-gadget { font-size: 0 !important; }
body { top: 0 !important; position: static !important; }

/* Instagram「見る」ボタン */
.instagram__more {
  display: inline-flex; align-items: center; justify-content: center;
  margin-top: 32px; padding: 12px 32px;
  border: 1px solid var(--color-heading-20); border-radius: 999px;
  font-family: var(--font-mincho); font-weight: var(--fw-mincho-md);
  color: var(--color-heading); transition: background-color .25s ease, color .25s ease;
}
.instagram__more:hover { background: var(--color-primary); border-color: var(--color-primary); color: var(--color-white); }
.instagram__inner { display: flex; flex-direction: column; align-items: center; }
.instagram__inner .section-title { align-self: stretch; }
.instagram__grid { width: 100%; }

/* ============================================================
   SP ハンバーガーメニュー（Figma SP_TOP 1:528 / overlay 1:2709）
============================================================ */
.nav-toggle {
  display: none;            /* PCでは非表示 */
  flex-direction: column; justify-content: center; gap: 10px;
  width: 40px; height: 24px; padding: 0;
  background: none; border: none; cursor: pointer;
}
.nav-toggle span { display: block; height: 2px; width: 100%; background: var(--color-white); border-radius: 2px; transition: transform .25s ease, opacity .25s ease; }

.nav-overlay { position: fixed; inset: 0; z-index: 1000; display: flex; flex-direction: column; }
.nav-overlay[hidden] { display: none; }
.nav-overlay__menu {
  flex: 1; background: var(--color-white);
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 28px;
  padding: 80px 24px 40px;
}
.nav-overlay__menu a {
  font-family: var(--font-mincho); font-weight: var(--fw-h3);
  font-size: var(--fs-h3); line-height: var(--lh-h3); color: var(--color-text);
}
.nav-overlay__menu a:nth-child(even) { color: var(--color-primary); }
.nav-overlay__contact {
  background: var(--color-primary); color: var(--color-white);
  display: flex; flex-direction: column; align-items: center; gap: 18px;
  padding: 36px 24px 44px;
}
.nav-overlay__tel { display: inline-flex; align-items: center; gap: 8px; color: var(--color-white); }
.nav-overlay__tel-num { display: flex; flex-direction: column; align-items: center; }
.nav-overlay__ig { display: inline-flex; color: var(--color-white); }
.nav-overlay__close {
  position: absolute; top: 22px; right: 22px; width: 36px; height: 36px;
  background: none; border: none; cursor: pointer;
}
.nav-overlay__close span {
  position: absolute; top: 50%; left: 0; width: 100%; height: 2px;
  background: var(--color-primary); border-radius: 2px;
}
.nav-overlay__close span:first-child { transform: rotate(45deg); }
.nav-overlay__close span:last-child  { transform: rotate(-45deg); }
body.nav-open { overflow: hidden; }

/* ============================================================
   ボタン ホバー状態（Figma 1:2735 btn state / hover）
============================================================ */
.btn--line,
.cta-btn,
.cta-arrow,
.header-ig,
.footer-ig,
.global-nav__list a,
.site-footer__nav a {
  transition: background-color .25s ease, color .25s ease, border-color .25s ease, opacity .25s ease;
}
.btn--line, .cta-btn { cursor: pointer; }

/* LINEボタン：白地・緑 → 緑地・白 に反転 */
.btn--line:hover,
.cta-btn--line:hover {
  background: var(--color-line);
  border-color: var(--color-line);
  color: var(--color-white);
}
.btn--line:hover .btn--line__icon,
.cta-btn--line:hover .cta-btn__icon { color: var(--color-white); }

/* 電話ボタン：オレンジ → 淡いオレンジ */
.cta-btn--tel:hover { background: #ffc078; }

/* アクセスボタン：濃グレー → 淡いグレー */
.cta-btn--access:hover { background: #909193; }

/* 補助：ナビ・SNS・カードのホバー */
.global-nav__list a:hover,
.site-footer__nav a:hover { color: var(--color-primary); }
.site-footer__nav a:hover { color: var(--color-white); opacity: .7; }
.header-ig:hover, .footer-ig:hover { opacity: .7; }
.item-large:hover img,
.item-small:hover .item-small__thumb img { transform: scale(1.05); }
.item-large img, .item-small__thumb img { transition: transform .4s ease; }

/* ============================================================
   レスポンシブ（モバイルファースト：1024px未満で縦積み）
   ※ スマホ版デザインは別途 Figma を参照して詰める
============================================================ */
@media (max-width: 1024px) {
  :root { --pad-section-y: 80px; }

  /* SPヘッダー：ロゴ＋ハンバーガー、グローバルナビは隠してメニューへ */
  .header-bar__inner { flex-direction: row; align-items: center; justify-content: space-between; gap: 16px; }
  .header-logo img { width: 150px; height: auto; }
  .header-contact { display: none; }
  .nav-toggle { display: flex; }
  .global-nav { display: none; }
  /* SPは帯のみ（ナビ非表示）なので追従ヘッダー高さに合わせアンカー着地を調整 */
  html { scroll-padding-top: 80px; }

  /* FV（Figma SP 1:532｜375×573）：SP専用合成背景＋見出し/バッジを実座標で絶対配置。
     cqwは.fvの幅基準（375基準で 1cqw=3.75px）。アスペクト比固定なので全要素が等比に追従。 */
  .fv {
    aspect-ratio: 375 / 573; height: auto; container-type: inline-size;
    background: #45474a url("../images/fv-bg-sp.jpg") center / cover no-repeat;
  }
  .fv__inner { position: absolute; inset: 0; height: 100%; padding: 0; }
  /* コピー：Figma Frame10は中央配置・見出し32px Bold(カンマ無)・リード16px SemiBold lh30。
     見出しはnowrapで各行を折返さず（letter-spacingで字面が伸びても1行維持）、全幅中央に */
  .fv__copy { position: absolute; left: 0; top: 9.87cqw; width: 100%; padding-inline: 4cqw; gap: 6.4cqw; text-align: center; align-items: center; }
  .fv__title { white-space: nowrap; font-size: 8.53cqw; line-height: 1.6; letter-spacing: 0.6cqw; }   /* 32px・各行nowrap */
  .fv__lead  { font-size: 4.27cqw; line-height: 1.875; }                        /* 16px・行間30 */
  .pc-comma { display: none; }   /* SPはカンマ無し（Figmaに合わせ「しまったままのものを」で改行） */
  /* （SP改行は .sp-line のブロック化が担当） */
  /* バッジ三角（査定無料=上 / 高価買取=左下 / 経験豊富=右下。Figma 1:543/546/549 / φ109・文字16px Noto Medium） */
  .fv__badges { position: absolute; inset: 0; display: block; margin: 0; gap: 0; }
  .fv__badge {
    position: absolute; width: 29.07cqw; height: 29.07cqw;
    font-size: 4.27cqw; line-height: 1.75;                                      /* 16px・lh28 */
  }
  /* 二重線リング（Figma Ellipse4）：塗り円→透過の隙間(背景が透ける)→外周リング を ::after の枠線で確実に描画。
     inset-0.8cqw(=3px@375)で外周を+3px(全体115px=Figma実測)、border0.4cqw(=1.5px)のリング、内側1.5pxが隙間。
     box-shadow+cqwは描画が不安定だったので border 方式に変更。 */
  .fv__badge::after {
    content: ""; position: absolute; inset: -0.93cqw; border-radius: 50%;   /* 外周+3.5px≒全体116(Figma115相当) */
    border: 0.55cqw solid #f5f3ed; pointer-events: none;                     /* リング約2px・内側の隙間約1.5px */
  }
  .fv__badge:nth-child(1) { left: 6.4cqw;   top: 105.33cqw; }  /* 高価買取（左下 x24 y395） */
  .fv__badge:nth-child(2) { left: 39.2cqw;  top: 105.33cqw; }  /* 経験豊富（右下 x147 y395） */
  .fv__badge:nth-child(3) { left: 22.93cqw; top: 78.13cqw; }   /* 査定・手数料無料（上 x86 y293） */

  /* CTA（Figma SP 1:880 実値）：見出し24px「、」で改行、白カード内に電話/LINE/アクセス縦並び */
  .cta-band { padding-inline: 0; }
  .cta-band__inner { padding-inline: 24px; }
  .cta-band::before { height: 180px; }
  .cta-band__title { font-size: 24px; line-height: 1.6; letter-spacing: 2.4px; }   /* 吉兆/SP_h2 24/1.6 */
  .cta-band__panel { flex-direction: column; align-items: center; gap: 19px; padding: 30px 16px; margin-top: 24px; }
  .cta-col { gap: 10px; width: 100%; }
  .cta-col__label { font-size: 16px; }                                    /* 電話で話をしてみる 16px Noto */
  .cta-btn { height: 92px; }
  .cta-btn--tel, .cta-btn--line { width: 100%; }
  /* 電話：番号32px・アイコン40px・左右余白広め（Figma 1:891 px40/gap8） */
  .cta-btn--tel { gap: 10px; padding: 0 24px; }
  .cta-btn--tel .cta-btn__icon svg { width: 38px; height: 38px; }
  .cta-btn--tel .tel-number { font-family: var(--font-mincho); font-weight: 700; font-size: 32px; line-height: 1.25; }
  .cta-btn--tel .tel-hours { font-size: 14px; }
  /* LINE：文字24px(Figma 26/24)・アイコン31px。18pxは小さすぎたので戻す */
  .cta-btn--line { gap: 8px; padding: 0 24px; }
  .cta-btn--line .cta-btn__txt { font-size: 24px; line-height: 1.4; }
  .cta-btn--line .cta-btn__icon img { width: 31px; height: 31px; }
  /* アクセス：幅214・中央・文字16px（Figma 1:909） */
  .cta-col--access { width: 214px; max-width: 100%; margin-top: 0; }
  .cta-btn--access { width: 100%; font-size: 16px; }
  .cta-divider { display: none; }

  .banner-carousel { flex-direction: column; }
  .banner-card--side, .banner-card--main { width: 100%; height: auto; max-width: 764px; }
  .banner-card img { height: auto; }

  /* 選ばれてきた理由（Figma SP 1:592）：鑑定士写真=上・右端ピッタリ / バッグ写真=下・左端ピッタリ（各222×144）。
     画像は画面端まで（左右パディングなし）。テキストのみ24pxパディング。gap48 */
  .reasons { height: auto; padding: 64px 0; }
  .reasons__inner { height: auto; display: flex; flex-direction: column; align-items: stretch; gap: 48px; }
  .reasons__text { position: static; transform: none; width: 100%; max-width: none; order: 2; text-align: center; padding: 0 24px; }
  /* 選ばれた理由見出し：「相談だけでも大丈夫」(11字)が32px/palt無しだと327pxに収まらず中途半端折返し→28px+ls詰め+nowrapで各<br>行を1行固定 */
  .reasons__title { font-size: 28px; line-height: 1.6; letter-spacing: 0.2px; white-space: nowrap; }
  .reasons__body { white-space: nowrap; letter-spacing: -1px; }   /* 各行を1行固定。最長「お家も〜なります。」(19字)を327pxに収めるため軽く詰め */
  .reasons__img { position: static; width: 222px; max-width: 86%; height: 144px; }
  .reasons__img img { height: 100%; }
  .reasons__img--right { order: 1; align-self: flex-end; }    /* 鑑定士写真＝上・右端（Figma Frame30 x154 y96） */
  .reasons__img--left  { order: 3; align-self: flex-start; }  /* バッグ写真＝下・左端（Figma Frame31 x0 y748） */
  .items-large { grid-template-columns: 1fr; }
  .item-large { height: auto; aspect-ratio: 327 / 128; }      /* Figma SP 品目大タイル 327×128 */
  .items-small { grid-template-columns: repeat(2, 1fr); }
  /* 人気の理由 */
  .popular__inner { padding: 80px 24px; }
  .popular-card__body,
  .popular-card--reverse .popular-card__body { grid-template-columns: 1fr; gap: 30px; padding: 40px 24px; }
  .popular-card--reverse .popular-card__text { order: 1; }
  .popular-card--reverse .popular-card__media { order: 2; }
  .popular-card__text { padding-inline: 0; }
  .popular-card__media { width: 100%; height: auto; }
  .popular-card__media img { height: 100%; object-fit: cover; }   /* 枠(327/280)いっぱいに。autoだと画像下に余白が出る */

  /* 声：flex を縦積みに。innerのpaddingが40pxでカードが狭く文字が詰まっていた→SPは24pxに */
  .voices__inner { padding-inline: 24px; }
  .voices__list { flex-direction: column; align-items: center; }
  .voice-card { width: 100%; max-width: 472px; }

  /* 店舗：flex を縦積みに。上部の余白が空きすぎていたので padding-top を削減 */
  .shops { padding-top: 40px; }
  .shops__inner { padding-inline: 24px; }
  .shops__grid { flex-direction: column; align-items: center; }
  .shop-card { width: 100%; max-width: 472px; }
  .shop-card__name { font-size: 20px; line-height: 1.6; }   /* Figma SP 1:870 吉兆/SP_h3 20px（PCの32pxは大きすぎ） */

  .instagram__grid { grid-template-columns: repeat(3, 1fr); }
  .faq__list { grid-template-columns: 1fr; }

  /* 会社概要 */
  .company .container { padding-inline: 24px; }
  .company__row dt { flex-basis: 120px; width: 120px; }

  /* フッター（SPは中央寄せ） */
  .site-footer__inner { flex-direction: column; align-items: center; text-align: center; gap: 28px; padding: 48px 24px; }
  .site-footer__brand { align-items: center; }
  .site-footer__nav { margin-left: 0; align-items: center; }
  .site-footer__nav ul { justify-content: center; }
}

@media (max-width: 768px) {
  /* 大見出し：Figmaはpaltで詰まるがブラウザのShippori Minchoはpalt非対応で横に広く2行に折返す。
     32pxのままletter-spacingを詰めてnowrapで1行固定（iPhoneでも折返さない） */
  .section-title { font-size: 32px; line-height: 1.6; letter-spacing: 0.2px; white-space: nowrap; }
  .items-small { grid-template-columns: repeat(2, 1fr); }
  .instagram__grid { grid-template-columns: repeat(2, 1fr); }
  /* 会社概要：SPでもラベルと値は横並び維持（Figma SP準拠） */
  .company__row { flex-direction: row; gap: 12px; }
  .company__row dt { flex: 0 0 96px; width: 96px; }

  /* バナー：SPはスライダーにせず3枚を縦積み。順序はFigma SP 1:585＝LINE査定→貴金属高騰→ブランド品 */
  .banner-slider { height: auto; max-width: 327px; display: flex; flex-direction: column; margin-inline: auto; }
  .banner-card,
  .banner-card.is-left,
  .banner-card.is-center,
  .banner-card.is-right {
    position: static; transform: none; opacity: 1; z-index: auto;
    width: 100%; margin: 0 0 20px;
    aspect-ratio: 327 / 173;
  }
  .banner-card.is-center { order: 1; }   /* LINEで簡単査定 */
  .banner-card.is-right  { order: 2; }   /* 貴金属高騰中 金・銀 */
  .banner-card.is-left   { order: 3; margin-bottom: 0; }  /* ブランド品買取強化中（最後） */
  .banner-dots { display: none; }

  /* 地金相場：4行縦積み（Figma SP 1:751）。グリッドに幅を持たせないとカードが0幅に潰れて消えるので width:100% を付与 */
  .market__grid { flex-direction: column; align-items: center; gap: 16px; width: 100%; }
  .market-card { width: 100%; max-width: 327px; }
  .market__note { width: 100%; max-width: 327px; margin-inline: auto; margin-top: -40px; }   /* カード右端に揃え＋inner gap60を相殺してカードの20px下に（Figma 1:751 gap20） */

  /* CTA帯（Figma SP 1:553/1:880）：オレンジは「帯」で、白カードが下に約45px突き出して
     次エリアのベージュ地に食い込む演出。背面はベージュ、オレンジは::beforeで上から(高さ=全体-95px)。 */
  .cta-band { background: var(--color-bg-beige); padding-bottom: 50px; }
  .cta-band::before { display: block; height: calc(100% - 95px); }

  /* 人気のワケ（Figma SP）：01/03=番号右上・バー左、02=番号左上・バー右（reverse） */
  .popular-card__num { left: auto; right: 24px; font-size: 90px; top: -22px; }           /* Figma 1:804=90px（64は誤）。色はrgba(72,38,7,.2) */
  .popular-card--reverse .popular-card__num { left: 24px; right: auto; }                  /* 02 番号左 */
  .popular-card__body,
  .popular-card--reverse .popular-card__body { padding: 32px 0 0; gap: 40px; }   /* Figma gap40（テキスト↔画像）。カード長もFigmaに */
  /* オレンジバーはテキスト部のみ（z1）。画像(z2・全幅不透明)がバーを覆い、Figmaどおり画像にはバーが出ない */
  .popular-card__body::before { left: 0; right: auto; z-index: 1; }                        /* 01・03 バー左 */
  .popular-card--reverse .popular-card__body::before { left: auto; right: 0; }             /* 02 バー右 */
  .popular-card__text { padding: 0 24px; position: relative; z-index: 1; }
  /* 画像：Figma枠 327×280。バーの上に重ねて隠す */
  .popular-card__media { width: 100%; height: auto; aspect-ratio: 327 / 280; position: relative; z-index: 2; }
  /* 人気カードのタイトル：ls2.4だとnowrapで右余白を食い見切れる→1pxに詰め右余白を確保。下余白はFigma gap30 */
  .popular-card__title { font-size: 24px; line-height: 1.6; margin-bottom: 30px; letter-spacing: -1.5px; white-space: nowrap; }   /* paltが無いぶん負のlsで詰めて右余白確保（01「まとめて〜から、」が最長12字） */
  .popular-card__text p { font-size: 16px; line-height: 1.5; }   /* Figma text_noto 16/24（行間24=1.5。1.85は誤） */

  /* お客様の声（Figma SP 1:815/1:820）：見出し→カードは60px（section-headのmargin-bottom60が担当。
     gapを足すと二重(96px)になるので0に）。カードpadding24/gap24、本文16px・行間24px(1.5) */
  .voices__inner { gap: 0; }
  .voice-card__title { white-space: nowrap; }   /* タイトルの各<span>行を1行固定（Figmaは約9字で折返し3行） */
  .voice-card { padding: 24px; gap: 24px; }
  .voice-card__body { font-size: 16px; line-height: 1.5; }

  /* 買取品目の締め文「ここに記載がない物も〜」（Figma SP_h3 20/160） */
  .items__note { font-size: 20px; line-height: 1.6; white-space: nowrap; }   /* 各行が更に折返さないよう固定（3行はsp-line/brで） */
  /* 横スクロールアニメ（要件②＝買取品目サムネ列。CLAUDE.md指定）。SPでも表示・サイズ縮小 */
  .items-marquee { margin-block: 36px; }
  .marquee-item img { width: 140px; height: 100px; }
  .items-marquee__track { gap: 14px; }
  /* SP専用改行を有効化（地金相場見出し・CTA見出し・締め文・FV見出しなど） */
  .sp-line { display: block; }

  /* 買取品目・品目小（Figma SP 1:624｜セル155×107・サムネ118×65・ラベル12px明朝）。
     SPではデスクトップの198px高・16pxラベルが大きすぎたので実寸比に縮小。
     地色#f5f2ed＋白カード#fcfcfc（liveはカードが透過で白地に溶けていた） */
  .items { background: #f5f2ed; }
  .items-small { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .item-small { height: auto; aspect-ratio: 155 / 107; gap: 8px; padding: 8px; background: #fcfcfc; }
  .item-small__thumb { width: 100%; max-width: 118px; height: auto; aspect-ratio: 118 / 65; }
  .item-small__label { font-size: 12px; line-height: 1.4; padding-inline: 0; }

  /* よくあるご質問（Figma SP 1:924/925）：カードpx24/py16、Qマーク32px(lh48)、Q文18px、A本文16px(Shippori Medium) */
  .faq .section-title { margin-bottom: 60px; }   /* Figma SP 1:922 見出し→カード60px */
  .faq-item__q { padding: 16px 24px; gap: 24px; }
  .faq-item__mark { font-size: 32px; line-height: 1.5; }   /* Figma Q 32px（26は誤） */
  .faq-item__qtext { font-size: 18px; line-height: 1.6; }   /* Figma h3_semibold 18/30 */
  .faq-item__a { padding: 0 24px 16px; gap: 24px; }
  .faq-item__a p { font-size: 16px; line-height: 1.5; }   /* Figma text_shippori 16/24（14は誤） */

  /* フッター：ナビは中央1列縦積み（Figma SP 1:994） */
  .site-footer__inner { gap: 28px; }
  .site-footer__nav { align-items: center; }
  .site-footer__nav ul {
    grid-template-columns: 1fr; column-gap: 0; row-gap: 16px;
    justify-items: center; justify-content: center; text-align: center;
  }
}

/* ============================================================
   買取品目一覧ページ（items.html / Figma 1:1002）
============================================================ */
.page-hero {
  position: relative; height: 429px;
  display: flex; align-items: center; justify-content: center;
  background: #45474a url("../images/items-hero.jpg") center / cover no-repeat;
}
.page-hero::before {
  content: ""; position: absolute; inset: 0;
  background: rgba(69, 71, 74, 0.38);
}
.page-hero__title {
  position: relative; z-index: 1;
  font-family: var(--font-mincho); font-weight: var(--fw-h1);
  font-size: var(--fs-h1); line-height: var(--lh-h1); color: var(--color-white);
}
.breadcrumb { background: var(--color-white); padding: 12px 0; }
.breadcrumb .container { display: flex; align-items: center; gap: 8px;
  font-family: var(--font-noto); font-size: 14px; color: var(--color-text); }
.breadcrumb a { color: var(--color-text); }
.breadcrumb a:hover { color: var(--color-primary); }
.breadcrumb__sep { color: #b3ada1; }

/* 2カラム：左サイドバー索引＋右3列詳細（Figma 1:1064 / index290＋gap40＋detail870） */
.items-layout {
  display: flex; gap: 40px; align-items: flex-start;
  max-width: 1248px; margin-inline: auto; padding: 80px 24px;
}

/* 左サイドバー（固定スクロール追従） */
.cat-index {
  flex: 0 0 290px; width: 290px;
  position: sticky; top: 20px;
}
.cat-index__heading {
  font-family: var(--font-mincho); font-weight: 600;
  font-size: 18px; line-height: 30px; color: var(--color-text);
  padding-bottom: 15px; margin-bottom: 19px;
  border-bottom: 1px solid #e6e2d8;
}
.cat-index__list { display: flex; flex-direction: column; }
.cat-index__list li { border-bottom: 1px solid #e6e2d8; }
.cat-index__list a {
  display: flex; align-items: center; gap: 22px; padding: 10px 20px;
  color: var(--color-text); transition: background-color .2s ease;
}
.cat-index__list a:hover { background: var(--color-bg-beige); }
.cat-index__thumb { width: 40px; height: 40px; overflow: hidden; flex: 0 0 auto; }
.cat-index__thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.cat-index__name { flex: 1; font-family: var(--font-mincho); font-weight: var(--fw-mincho-md); font-size: 16px; line-height: 24px; color: var(--color-text); }
.cat-index__arrow {
  width: 7px; height: 7px; flex: 0 0 auto;
  border-top: 2px solid var(--color-text); border-right: 2px solid var(--color-text);
  transform: rotate(45deg);
}

/* 右カラム：カテゴリ詳細（3列グリッド） */
.cat-detail { flex: 1 1 auto; min-width: 0; }
.cat-block { padding: 0 0 48px; scroll-margin-top: 20px; }
.cat-block__title {
  font-family: var(--font-mincho); font-weight: var(--fw-h2);
  font-size: var(--fs-h2); line-height: var(--lh-h2); color: var(--color-heading);
  margin-bottom: 32px;
  text-align: center;
}
.cat-block__items { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.cat-item { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.cat-item__media { width: 100%; aspect-ratio: 1 / 1; background: var(--color-white); border-radius: var(--radius-card); box-shadow: 0 0 14px rgba(69, 71, 74, 0.08); display: block; }
.cat-item__media img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-card); display: block; }
.cat-item__name {
  font-family: var(--font-mincho); font-weight: var(--fw-mincho-md);
  font-size: var(--fs-body); line-height: var(--lh-body); color: var(--color-text); text-align: center;
}

/* タブレット以下：2カラム解除して索引を上に */
@media (max-width: 1024px) {
  .items-layout { flex-direction: column; gap: 32px; padding: 60px 24px; }
  .cat-index { position: static; width: 100%; flex: none; max-height: none; overflow: visible; }
  .cat-index__list { display: grid; grid-template-columns: repeat(2, 1fr); }
  .cat-index__list li:nth-child(odd) { border-right: 1px solid #e6e2d8; }
  .cat-index__list a { gap: 12px; }
}
@media (max-width: 768px) {
  /* SP：買取品目トップは縦長コラージュ（吉兆指定 修正写真_002）。画像比でフル表示 */
  .page-hero { height: auto; aspect-ratio: 1172 / 1396; background-image: url("../images/items-hero-sp.jpg"); }
  /* SP：左サイドバー索引は非表示、カテゴリを縦積み、品目は3列（Figma SP_買取品目 1:1987） */
  .cat-index { display: none; }
  .items-layout { display: block; max-width: 100%; padding: 40px 24px; }
  .cat-detail { width: 100%; }
  .cat-block { padding-bottom: 36px; }
  .cat-block__title { margin-bottom: 20px; }
  .cat-block__items { grid-template-columns: repeat(3, 1fr); gap: 12px 14px; }
  .cat-item { gap: 6px; }
  .cat-item__media { aspect-ratio: 99 / 72; box-shadow: 0 0 8px rgba(69,71,74,0.08); }
  .cat-item__name { font-size: 12px; line-height: 1.4; }
}
@media (max-width: 360px) {
  .cat-block__items { gap: 10px; }
}
