@charset "UTF-8";

/* ============================================
   共通設定 / 変数
============================================ */
:root {
  --c-orange: #ffa239;        /* メインカラー */
  --c-orange-light: #ffbb83;  /* サブカラー */
  --c-cta: #f97d12;           /* ボタン・CTAバナー */
  --c-cta-dark: #ed700e;
  --c-text: #333333;
  --c-text-sub: #666666;
  --c-white: #ffffff;
  --c-ivory: #fff7ed;
  --c-ivory-pale: #fffaf3;
  --c-hero-bg: #fef8f2;       /* bg-hero-curves のアイボリー部分 */
  --c-line: #f0e2d2;

  --inner: 1160px;
  --header-h: 84px;

  --shadow-card: 0 4px 20px rgba(180, 120, 60, .10);
  --shadow-btn: 0 6px 16px rgba(240, 120, 20, .28);
}

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

html { scroll-behavior: smooth; scroll-padding-top: var(--header-h); }

body {
  margin: 0;
  color: var(--c-text);
  font-family: "Noto Sans JP", "Hiragino Maru Gothic ProN", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 500;
  background: var(--c-white) url(../img/bg-texture-ivory.webp) repeat-y center top / 100% auto;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; vertical-align: bottom; }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, p { margin: 0; }
a { color: inherit; text-decoration: none; }
button { font: inherit; color: inherit; }

.inner {
  width: min(100% - 48px, var(--inner));
  margin-inline: auto;
}

.is-orange { color: var(--c-cta); }

/* ---- 共通見出し ---- */
.section-title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .02em;
  text-align: center;
  margin-bottom: 48px;
}

/* ---- 共通ボタン ---- */
.btn-primary,
.btn-white {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  position: relative;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: .04em;
  transition: transform .2s, box-shadow .2s, opacity .2s;
}

.btn-primary {
  background: var(--c-cta);
  color: var(--c-white);
  box-shadow: var(--shadow-btn);
}

.btn-white {
  background: var(--c-white);
  color: var(--c-cta);
}

.btn-primary:hover,
.btn-white:hover { transform: translateY(-2px); opacity: .92; }

.btn-arrow { width: 18px; }
.btn-primary .btn-arrow { filter: brightness(0) invert(1); }

/* ============================================
   ヘッダー / グローバルナビ
============================================ */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  /* backdrop-filter は使わない（fixed のSPメニューの基準位置がずれるため） */
  background: var(--c-white);
  box-shadow: 0 1px 0 rgba(0, 0, 0, .06);
}

.site-header-inner {
  width: min(100% - 40px, 1440px);
  margin-inline: auto;
  height: var(--header-h);
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-header-logo { flex: none; }
.site-header-logo img { width: 190px; }

.site-nav { margin-left: auto; }

.site-nav-list {
  display: flex;
  align-items: center;
  gap: 26px;
}

.site-nav-list a {
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: color .2s;
}
.site-nav-list a:hover { color: var(--c-cta); }

/* ナビ内のCTA（SPメニュー時のみ表示） */
.site-nav-cta { display: none; }

.site-header-cta {
  flex: none;
  display: inline-flex;
  align-items: center;
  height: 46px;
  padding: 0 26px;
  border-radius: 999px;
  background: var(--c-cta);
  color: var(--c-white);
  font-size: 15px;
  font-weight: 700;
  white-space: nowrap;
  transition: opacity .2s;
}
.site-header-cta:hover { opacity: .88; }

/* ---- ハンバーガー（タブレット以下） ---- */
.nav-toggle {
  display: none;
  flex: none;
  width: 48px;
  height: 48px;
  margin-left: auto;
  padding: 0;
  border: 0;
  border-radius: 12px;
  background: var(--c-cta);
  cursor: pointer;
  position: relative;
}
.nav-toggle span {
  position: absolute;
  left: 13px;
  width: 22px;
  height: 2px;
  border-radius: 2px;
  background: var(--c-white);
  transition: transform .25s, opacity .2s;
}
.nav-toggle span:nth-child(1) { top: 17px; }
.nav-toggle span:nth-child(2) { top: 23px; }
.nav-toggle span:nth-child(3) { top: 29px; }

.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(51, 51, 51, .45);
}

/* ============================================
   1. ファーストビュー
============================================ */
.hero {
  position: relative;
  /* 波は下端に寄せて配置する（素材をそのまま全面に伸ばすと波が高くなりすぎ、
     写真の机・手元まで隠れてしまうため）。上側はアイボリーの下地でつなぐ */
  background: url(../img/bg-hero-curves.webp) no-repeat center bottom / 100% 42%,
              var(--c-hero-bg);
  overflow: hidden;
}

.hero-photo {
  position: absolute;
  inset: 0;
  /* 写真は右寄せ。画面端に貼り付かないよう右に余白を取る（広い画面ほど内側へ） */
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  padding-right: clamp(0px, (100% - 1200px) * .28, 190px);
  /* 上の背景と同じ位置になるよう、bg-hero-curves の波線に合わせて写真下端を切り抜き */
  clip-path: polygon(
    0% 0%, 100% 0%,
    100% 79.4%, 98% 81%, 96% 82.6%, 94% 83.7%, 92% 84.5%, 90.5% 85.3%,
    88.4% 86.1%, 86.4% 86.9%, 84.4% 87.3%, 82.4% 87.7%, 79.9% 88.1%,
    74.9% 88.5%, 71.4% 88.9%, 68.3% 89.7%, 65.3% 90.1%, 62.8% 90.9%,
    60.3% 91.7%, 57.8% 92.5%, 55.3% 93.3%, 53.3% 94%, 50.3% 94.5%,
    48.2% 94.8%, 45.7% 95.3%, 42.7% 95.6%, 38.2% 96.1%, 30.2% 96.4%,
    25.1% 96.4%, 20.1% 96.1%, 15.1% 94.8%, 10.1% 93.7%, 5% 92.5%, 0% 90.5%
  );
}
/* 高さいっぱい・幅は元画像比のまま（拡大しないので人物が寄りすぎず、上下に隙間も出ない）。
   左右の直線的な縁はマスクで背景に溶かすので、画面幅が変わっても継ぎ目が出ない */
.hero-photo img {
  display: block;
  width: auto;
  height: 100%;
  max-width: none;
  flex: none;
  -webkit-mask-image: linear-gradient(90deg,
    rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 17%,
    rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
  mask-image: linear-gradient(90deg,
    rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 1) 17%,
    rgba(0, 0, 0, 1) 90%, rgba(0, 0, 0, 0) 100%);
}
/* 左側はコピーを読みやすくするためのアイボリーのベール（縁消しは img 側のマスクが担当） */
.hero-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
    var(--c-hero-bg) 0%,
    var(--c-hero-bg) 22%,
    rgba(254, 248, 242, .6) 31%,
    rgba(254, 248, 242, .2) 41%,
    rgba(254, 248, 242, 0) 51%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  width: min(100% - 48px, var(--inner));
  margin-inline: auto;
}
.hero-head { padding-top: 76px; }
.hero-actions { padding-bottom: 132px; }

.hero-copy { max-width: 560px; }

.hero-title {
  font-size: 58px;
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .01em;
}

.hero-lead {
  margin-top: 22px;
  font-size: 20px;
  font-weight: 700;
}

.hero-badges {
  display: flex;
  gap: 16px;
  margin-top: 34px;
}

.hero-badge {
  width: 124px;
  height: 124px;
  border-radius: 50%;
  background: rgba(255, 255, 255, .94);
  border: 2px solid var(--c-orange-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: var(--c-cta);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}
.hero-badge img { width: 34px; }

.hero-btn {
  width: min(100%, 500px);
  height: 76px;
  margin-top: 32px;
  font-size: 24px;
}
.hero-btn .btn-arrow { position: absolute; right: 30px; width: 16px; }

.hero-subactions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 18px;
}

.hero-subaction {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  height: 64px;
  padding: 0 20px;
  border-radius: 999px;
  background: var(--c-white);
  box-shadow: var(--shadow-card);
  transition: transform .2s;
}
.hero-subaction:hover { transform: translateY(-2px); }
.hero-subaction > img:first-child { width: 26px; }
.hero-subaction-text {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.4;
}
.hero-subaction-text strong { font-size: 15px; }
.hero-subaction .btn-arrow { width: 12px; }

/* ============================================
   2. 動画
============================================ */
.video {
  padding: 88px 0 96px;
  background: url(../img/bg-section-corner-curves.webp) no-repeat center center / cover;
}

.video-inner {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 56px;
  align-items: center;
}

.video-wrap {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  background: #000;
}
.video-wrap iframe { width: 100%; height: 100%; border: 0; display: block; }

.video-label {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 999px;
  background: var(--c-cta);
  color: var(--c-white);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
}

.video-title {
  margin-top: 18px;
  font-size: 34px;
  font-weight: 700;
  line-height: 1.45;
}

.video-points {
  display: grid;
  gap: 12px;
  margin-top: 28px;
}
.video-points li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 24px;
  border-radius: 999px;
  background: var(--c-white);
  box-shadow: var(--shadow-card);
  font-weight: 700;
}
.video-points img { width: 34px; flex: none; }

/* ============================================
   3. 不安への共感・安心宣言
============================================ */
.promise {
  position: relative;
  padding: 0 0 72px;
  background: var(--c-ivory-pale);
  overflow: hidden;
}

.promise-photo {
  position: absolute;
  top: 0;
  right: 0;
  width: 54%;
  height: 560px;
}
.promise-photo img { width: 100%; height: 100%; object-fit: cover; }
.promise-photo::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, var(--c-ivory-pale) 0%, rgba(255, 250, 243, .55) 22%, rgba(255, 250, 243, 0) 48%);
}

/* 写真は絶対配置。CTAバナーの帯を不透明にして前面に置き、写真の下端をここで止める */
.promise-inner { position: relative; z-index: 1; }

.promise-cta {
  position: relative;
  z-index: 1;
  background: var(--c-ivory-pale);
}
.promise-copy { max-width: 560px; padding: 92px 0 72px; }

.promise-title {
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
}
.promise-lead {
  margin-top: 18px;
  font-size: 20px;
  font-weight: 700;
}

.promise-cards {
  display: flex;
  gap: 16px;
  margin-top: 34px;
}
.promise-card {
  flex: 1;
  padding: 22px 10px 20px;
  border-radius: 14px;
  background: var(--c-white);
  box-shadow: var(--shadow-card);
  text-align: center;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}
.promise-card img { width: 42px; margin-bottom: 10px; }

/* ---- CTAバナー（共通） ---- */
.cta-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  padding: 30px 40px;
  border-radius: 18px;
  background: var(--c-cta);
  box-shadow: var(--shadow-btn);
}
.cta-banner-text {
  color: var(--c-white);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.55;
  text-align: center;
  flex: 1;
}
.cta-banner-btn {
  flex: none;
  width: 288px;
  height: 64px;
  font-size: 20px;
}
.cta-banner-btn .btn-arrow { position: absolute; right: 24px; width: 14px; }

/* ============================================
   4. 買取品目
============================================ */
.items {
  padding: 88px 0 96px;
  background: var(--c-ivory-pale);
}

.items-main {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.items-card {
  border-radius: 14px;
  overflow: hidden;
  background: var(--c-white);
  box-shadow: var(--shadow-card);
}
.items-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}
.items-card p {
  padding: 14px 10px;
  text-align: center;
  font-weight: 700;
}

.items-sub {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: 32px;
  padding: 12px 24px;
  border-radius: 14px;
  background: var(--c-white);
  box-shadow: var(--shadow-card);
}
.items-sub li {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 10px;
  font-size: 15px;
  font-weight: 700;
  border-bottom: 1px dotted var(--c-orange-light);
  border-right: 1px dotted var(--c-orange-light);
}
.items-sub li:nth-child(4n) { border-right: 0; }
.items-sub li:nth-last-child(-n+4) { border-bottom: 0; }
.items-sub img { width: 30px; flex: none; }

.items-note {
  margin-top: 28px;
  text-align: center;
  font-weight: 700;
}

/* ============================================
   5. 選ばれる理由
============================================ */
.reasons {
  padding: 88px 0 96px;
  background: url(../img/bg-section-corner-curves.webp) no-repeat center center / cover;
}

.reasons-list { display: grid; gap: 24px; }

.reasons-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  border-radius: 16px;
  overflow: hidden;
  background: var(--c-white);
  box-shadow: var(--shadow-card);
}
.reasons-item.is-reverse .reasons-body { order: 2; }

.reasons-body { padding: 44px 44px 40px; }

.reasons-head {
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.reasons-num { width: 62px; flex: none; margin-top: -6px; }

.reasons-title {
  font-size: 25px;
  font-weight: 700;
  line-height: 1.5;
}

.reasons-text {
  margin-top: 18px;
  font-size: 15px;
  line-height: 1.95;
}

.reasons-photo { position: relative; min-height: 250px; }
.reasons-photo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reasons-item:nth-child(1) .reasons-photo img { object-position: 50% 40%; }
.reasons-item:nth-child(2) .reasons-photo img { object-position: 52% 40%; }
.reasons-item:nth-child(3) .reasons-photo img { object-position: 50% 55%; }

/* ============================================
   6. 買取方法・ご利用の流れ
============================================ */
.flow {
  padding: 88px 0 96px;
  background: var(--c-ivory-pale);
}

.flow-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.flow-col {
  display: flex;
  flex-direction: column;
  padding: 26px 18px 24px;
  border-radius: 16px;
  background: var(--c-white);
  box-shadow: var(--shadow-card);
}

.flow-col-head {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.flow-col-title {
  font-size: 23px;
  font-weight: 700;
  color: var(--c-cta);
}
.flow-col-icon { width: 46px; }

.flow-col-lead {
  margin-top: 8px;
  text-align: center;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

.flow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: 18px;
  padding: 20px 8px;
  border-radius: 12px;
  background: var(--c-ivory);
}

.flow-step {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 700;
}
.flow-step img { width: 30px; }
.flow-step-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: var(--c-cta);
  color: var(--c-white);
  font-size: 11px;
  line-height: 1;
}
/* ステップ間の矢印 */
.flow-step + .flow-step::before {
  content: "";
  position: absolute;
  top: 38px;
  left: -9px;
  width: 7px;
  height: 7px;
  border-top: 2px solid var(--c-orange-light);
  border-right: 2px solid var(--c-orange-light);
  transform: rotate(45deg);
}

.flow-col-note {
  margin-top: auto;
  padding-top: 14px;
  text-align: center;
  font-size: 13px;
  line-height: 1.7;
  color: var(--c-text-sub);
}

/* ============================================
   7. お客様の声
============================================ */
.voice { padding: 88px 0 96px; }

.voice-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.voice-card {
  display: flex;
  gap: 16px;
  padding: 26px 24px;
  border-radius: 16px;
  background: var(--c-white);
  box-shadow: var(--shadow-card);
}
.voice-face { width: 72px; height: 72px; flex: none; }

.voice-title {
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
}
.voice-text {
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.85;
}
.voice-profile {
  margin-top: 16px;
  font-size: 13px;
  color: var(--c-text-sub);
}

.voice-note {
  margin-top: 24px;
  text-align: right;
  font-size: 13px;
  color: var(--c-text-sub);
}

/* ============================================
   8. 店舗情報
============================================ */
.shop {
  padding: 88px 0 96px;
  background: var(--c-ivory-pale);
}

.shop-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.shop-card {
  border-radius: 16px;
  overflow: hidden;
  background: var(--c-white);
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}
.shop-photo { height: 260px; }
.shop-photo img { width: 100%; height: 100%; object-fit: cover; }
/* 金沢八景店：外観の看板が入るよう上寄せ */
.shop-list > :first-child .shop-photo img { object-position: 50% 18%; }

.shop-body {
  padding: 24px 28px 28px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.shop-name {
  font-size: 22px;
  font-weight: 700;
  color: var(--c-cta);
}

.shop-info {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 10px 14px;
  margin: 18px 0 24px;
  font-size: 15px;
}
.shop-info dt {
  font-size: 13px;
  font-weight: 700;
  color: var(--c-cta);
  padding-top: 3px;
}
.shop-info dd { margin: 0; line-height: 1.7; }

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border: 2px solid var(--c-orange);
  border-radius: 999px;
  color: var(--c-cta);
  font-weight: 700;
  transition: background-color .2s, color .2s;
}
.btn-outline:hover { background: var(--c-orange); color: var(--c-white); }
.btn-outline:hover .btn-arrow { filter: brightness(0) invert(1); }

.shop-btn {
  width: 100%;
  height: 56px;
  margin-top: auto;
}

.shop-btn .btn-arrow { position: absolute; right: 22px; width: 13px; }

/* ============================================
   9. よくある質問
============================================ */
.faq { padding: 88px 0 96px; }

.faq-list {
  display: grid;
  gap: 14px;
  margin-bottom: 44px;
}

.faq-item {
  border-radius: 12px;
  background: var(--c-white);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.faq-q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  width: 100%;
  padding: 22px 26px;
  border: 0;
  background: none;
  text-align: left;
  font-size: 17px;
  font-weight: 700;
  cursor: pointer;
}
.faq-icon {
  width: 22px;
  flex: none;
  transition: transform .25s;
}
.faq-q[aria-expanded="true"] .faq-icon { transform: rotate(45deg); }

.faq-a {
  padding: 0 26px 24px;
  font-size: 15px;
  line-height: 1.95;
}

/* ============================================
   10. 会社概要
============================================ */
.company {
  padding: 80px 0 88px;
  background: var(--c-white);
}

.company-inner {
  display: grid;
  grid-template-columns: 1.08fr .92fr;
  gap: 48px;
  align-items: center;
}

.company-title {
  font-size: 30px;
  font-weight: 700;
  padding-bottom: 14px;
  border-bottom: 3px solid var(--c-orange);
}

.company-table {
  width: 100%;
  margin-top: 26px;
  border-collapse: collapse;
  font-size: 15px;
}
.company-table th,
.company-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--c-line);
  text-align: left;
  vertical-align: top;
  line-height: 1.7;
}
.company-table th {
  width: 168px;
  background: var(--c-ivory);
  font-weight: 700;
}

.company-visual {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.company-visual img { width: 100%; display: block; }

/* ============================================
   11. お問い合わせフォーム
============================================ */
.contact {
  padding: 88px 0 104px;
  background: url(../img/bg-contact-curves.webp) no-repeat center center / cover;
}

.contact-title {
  font-size: 34px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}
.contact-lead {
  margin-top: 10px;
  text-align: center;
  font-weight: 500;
}

.contact-form {
  width: min(100%, 800px);
  margin: 40px auto 0;
  padding: 44px 48px 48px;
  border-radius: 18px;
  background: var(--c-white);
  box-shadow: var(--shadow-card);
}

.form-row { margin-bottom: 24px; }

.form-label {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  font-size: 15px;
  font-weight: 700;
}
.form-req {
  padding: 2px 10px;
  border-radius: 4px;
  background: var(--c-cta);
  color: var(--c-white);
  font-size: 11px;
  line-height: 1.7;
}

.form-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  background: var(--c-ivory-pale);
  font: inherit;
  font-size: 15px;
  color: var(--c-text);
  transition: border-color .2s, background-color .2s;
}
.form-input::placeholder { color: #b8b0a6; }
.form-input:focus {
  outline: none;
  border-color: var(--c-orange);
  background: var(--c-white);
}
.form-textarea { resize: vertical; min-height: 130px; line-height: 1.8; }

/* ---- プライバシーポリシー（スクロール枠） ---- */
.form-policy {
  height: 220px;
  overflow-y: auto;
  padding: 18px 20px;
  border: 1px solid var(--c-line);
  border-radius: 8px;
  background: var(--c-ivory-pale);
  font-size: 13px;
  line-height: 1.9;
}
.form-policy h3 {
  margin: 18px 0 6px;
  font-size: 14px;
  font-weight: 700;
  color: var(--c-cta);
}
.form-policy h3:first-child { margin-top: 0; }
.form-policy ul { margin: 6px 0 0; padding-left: 1.2em; list-style: disc; }
.form-policy li { margin-bottom: 4px; }

.form-agree {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin: 8px 0 24px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
}
.form-agree input {
  width: 20px;
  height: 20px;
  accent-color: var(--c-cta);
  cursor: pointer;
}

.form-submit {
  width: min(100%, 420px);
  height: 68px;
  margin: 0 auto;
  display: flex;
  border: 0;
  font-size: 20px;
  cursor: pointer;
}
.form-submit .btn-arrow { position: absolute; right: 26px; width: 14px; }
/* 送信処理中（reCAPTCHAのトークン取得中） */
.form-submit.is-sending,
.form-submit:disabled {
  opacity: .6;
  cursor: default;
  transform: none;
}

/* ---- フォームのエラー表示（mail.php から戻された場合） ---- */
.form-errors {
  margin-bottom: 24px;
  padding: 16px 20px;
  border: 1px solid #e5534b;
  border-radius: 8px;
  background: #fdf2f1;
  color: #c23a32;
  font-size: 14px;
}
.form-errors li { margin-bottom: 4px; }
.form-errors li:last-child { margin-bottom: 0; }

/* ============================================
   確認画面 / サンクスページ（mail.php・thanks.html）
============================================ */
.subpage {
  padding: 72px 0 96px;
  background: url(../img/bg-contact-curves.webp) no-repeat center center / cover;
  min-height: 60vh;
}

.subpage-title {
  font-size: 30px;
  font-weight: 700;
  text-align: center;
  line-height: 1.5;
}

.subpage-lead {
  margin-top: 12px;
  text-align: center;
}

.subpage-card {
  width: min(100%, 760px);
  margin: 32px auto 0;
  padding: 40px 44px 44px;
  border-radius: 18px;
  background: var(--c-white);
  box-shadow: var(--shadow-card);
}

.confirm-list {
  display: grid;
  grid-template-columns: 180px 1fr;
  margin: 0 0 32px;
  font-size: 15px;
}
.confirm-list dt,
.confirm-list dd {
  margin: 0;
  padding: 16px 14px;
  border-bottom: 1px solid var(--c-line);
  line-height: 1.8;
}
.confirm-list dt { background: var(--c-ivory); font-weight: 700; }

.subpage-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-top: 8px;
}
.subpage-btn {
  min-width: 220px;
  height: 62px;
  padding: 0 28px;
  border: 0;
  font-size: 17px;
  cursor: pointer;
}
.btn-outline.subpage-btn { border: 2px solid var(--c-orange); background: none; }

.thanks-text {
  text-align: center;
  line-height: 2.1;
}

/* ============================================
   フッター
============================================ */
.site-footer {
  padding: 56px 0 0;
  background: url(../img/bg-footer-orange.webp) no-repeat center center / cover;
  color: var(--c-white);
}

.site-footer-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.site-footer-logo img {
  width: 210px;
  /* 支給ロゴをそのまま使用（構成案の指示により改変しない） */
}

.site-footer-tel {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin-top: 18px;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.2;
}
.site-footer-tel img { width: 26px; filter: brightness(0) invert(1); }

.site-footer-hours {
  margin-top: 6px;
  font-size: 13px;
}

.site-footer-main {
  display: flex;
  flex-direction: column;
  gap: 26px;
  padding-top: 8px;
}

.site-footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 28px;
}
.site-footer-nav a {
  font-size: 14px;
  font-weight: 700;
  transition: opacity .2s;
}
.site-footer-nav a:hover { opacity: .75; }

.site-footer-sub {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 40px;
}

.site-footer-line {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.4;
}
.site-footer-line img {
  width: 34px;
  padding: 4px;
  border-radius: 8px;
  background: var(--c-white);
}

.site-footer-policy {
  font-size: 14px;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-footer-copy {
  margin-top: 40px;
  padding: 18px 0 20px;
  text-align: center;
  font-size: 13px;
  border-top: 1px solid rgba(255, 255, 255, .35);
}

/* ============================================
   タブレット（768px〜1023px）
============================================ */
@media (max-width: 1023px) {
  :root { --header-h: 68px; }

  .site-header-logo img { width: 150px; }
  .site-header-cta { display: none; }
  .nav-toggle { display: block; }

  .site-nav {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 95;
    width: min(84vw, 340px);
    height: 100dvh;
    margin: 0;
    padding: calc(var(--header-h) + 16px) 28px 40px;
    background: var(--c-white);
    box-shadow: -6px 0 24px rgba(0, 0, 0, .12);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform .28s ease;
  }
  .site-nav.is-open { transform: translateX(0); }

  .site-nav-list {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
  }
  .site-nav-list li { border-bottom: 1px dotted var(--c-orange-light); }
  .site-nav-list a {
    display: block;
    padding: 16px 4px;
    font-size: 16px;
  }

  .site-nav-cta {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 56px;
    margin-top: 24px;
    border-radius: 999px;
    background: var(--c-cta);
    color: var(--c-white);
    font-weight: 700;
  }

  /* ---- FV：タブレット以下は SP と同じく縦積みにする ---- */
  .hero { background: url(../img/bg-hero-curves.webp) no-repeat center bottom / 100% 260px, var(--c-hero-bg); }

  .hero-head { padding: 40px 0 28px; }
  .hero-actions { margin-top: -62px; padding-bottom: 88px; }

  /* 写真は左右いっぱい。元画像と同じ 3:2 にして上下を切らない（机・手元まで見せる） */
  .hero-photo {
    display: block;
    position: relative;
    inset: auto;
    width: 100%;
    height: auto;
    padding-right: 0;
    aspect-ratio: 3 / 2;
    clip-path: none;
  }
  .hero-photo img {
    width: 100%;
    max-width: none;
    height: 100%;
    margin-left: 0;
    object-fit: cover;
    object-position: 50% 50%;
    -webkit-mask-image: none;
    mask-image: none;
  }
  .hero-photo::after { display: none; }

  .hero-copy { max-width: none; }
  .hero-title { font-size: 44px; }
  .hero-lead { font-size: 18px; }
  .hero-badges { margin-top: 0; }
  .hero-badge {
    width: 124px;
    height: 124px;
    background: var(--c-white);
    font-size: 14px;
  }
  .hero-badge img { width: 30px; }
  .hero-btn { height: 68px; font-size: 21px; }

  .video { padding: 72px 0; }
  .video-inner { grid-template-columns: 1fr; gap: 36px; }
  .video-title { font-size: 28px; }

  /* 安心宣言：タブレット以下は写真を上に、コピーを下に縦積み */
  .promise-photo {
    position: relative;
    width: 100%;
    height: 300px;
  }
  .promise-photo::after {
    background: linear-gradient(180deg, rgba(255, 250, 243, 0) 60%, var(--c-ivory-pale) 100%);
  }
  .promise-copy { max-width: none; padding: 40px 0 48px; }
  .promise-title { font-size: 32px; }

  .section-title { font-size: 28px; }

  .cta-banner { flex-direction: column; padding: 28px 24px; }
  .cta-banner-text { font-size: 19px; }
  .cta-banner-btn { width: min(100%, 320px); }

  .items { padding: 72px 0; }
  .items-sub { grid-template-columns: repeat(2, 1fr); }
  .items-sub li:nth-child(4n) { border-right: 1px dotted var(--c-orange-light); }
  .items-sub li:nth-child(2n) { border-right: 0; }
  .items-sub li:nth-last-child(-n+4) { border-bottom: 1px dotted var(--c-orange-light); }
  .items-sub li:nth-last-child(-n+2) { border-bottom: 0; }

  .reasons { padding: 72px 0; }
  .reasons-item { grid-template-columns: 1fr; }
  .reasons-item.is-reverse .reasons-body { order: 0; }
  .reasons-body { padding: 32px 28px 28px; }
  .reasons-title { font-size: 21px; }
  .reasons-num { width: 52px; }
  .reasons-photo { min-height: 0; height: 240px; }
  .reasons-photo img { position: static; }

  .flow { padding: 72px 0; }
  .flow-cols { grid-template-columns: 1fr; }

  .voice { padding: 72px 0; }
  .voice-list { grid-template-columns: 1fr; }

  .shop { padding: 72px 0; }
  .shop-list { grid-template-columns: 1fr; }
  .shop-photo { height: 220px; }

  .faq { padding: 72px 0; }

  .company { padding: 64px 0 72px; }
  .company-inner { grid-template-columns: 1fr; gap: 32px; }
  .company-title { font-size: 25px; }

  .contact { padding: 72px 0 80px; }
  .contact-title { font-size: 27px; }
  .contact-form { padding: 32px 28px 36px; }

  .site-footer-inner { grid-template-columns: 1fr; gap: 28px; }
}

/* ============================================
   スマートフォン（〜767px）
============================================ */
@media (max-width: 767px) {
  body { font-size: 15px; }

  .inner { width: calc(100% - 36px); }

  /* ---- FV：見出し → 写真 → 安心ポイント（写真に重ねる）→ ボタン ---- */
  .hero { background: url(../img/bg-hero-curves.webp) no-repeat center bottom / 100% 170px, var(--c-hero-bg); }

  .hero-inner { width: calc(100% - 36px); }
  .hero-head { padding: 24px 0 22px; }

  /* 写真の比率・切り抜き解除はタブレットの指定を引き継ぐ */

  /* 安心ポイントの円を写真の下端に half かけて重ねる */
  .hero-actions {
    margin-top: -54px;
    padding-bottom: 64px;
  }

  .hero-copy { max-width: none; }
  .hero-title { font-size: 30px; line-height: 1.4; }
  .hero-lead { margin-top: 14px; font-size: 15px; }

  .hero-badges { gap: 10px; margin-top: 0; }
  .hero-badge {
    flex: 1;
    width: auto;
    height: auto;
    aspect-ratio: 1 / 1;
    background: var(--c-white);
    font-size: 12px;
    border-width: 2px;
  }
  .hero-badge img { width: 24px; }

  .hero-btn { width: 100%; height: 62px; font-size: 18px; margin-top: 24px; }
  .hero-btn .btn-arrow { right: 20px; }

  .hero-subactions { gap: 10px; }
  .hero-subaction { width: 100%; height: 58px; }

  .video { padding: 56px 0; }
  .video-title { font-size: 23px; }
  .video-points li { padding: 12px 18px; font-size: 14px; }
  .video-points img { width: 28px; }

  .promise { padding-bottom: 56px; }
  .promise-photo {
    position: relative;
    width: 100%;
    height: 220px;
  }
  .promise-photo::after {
    background: linear-gradient(180deg, rgba(255, 250, 243, 0) 55%, var(--c-ivory-pale) 100%);
  }
  .promise-copy { padding: 32px 0 40px; }
  .promise-title { font-size: 26px; }
  .promise-lead { font-size: 16px; }
  .promise-cards { flex-wrap: wrap; gap: 10px; }
  .promise-card { flex: 1 1 100%; display: flex; align-items: center; gap: 14px; text-align: left; padding: 14px 18px; }
  .promise-card img { width: 34px; margin-bottom: 0; flex: none; }
  .promise-card p br { display: none; }

  .section-title { font-size: 23px; margin-bottom: 32px; }

  .cta-banner { padding: 24px 18px; gap: 20px; }
  .cta-banner-text { font-size: 17px; }
  .cta-banner-btn { width: 100%; height: 58px; font-size: 17px; }

  .items { padding: 56px 0; }
  .items-main { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .items-card p { padding: 10px 4px; font-size: 14px; }
  .items-sub { padding: 6px 14px; }
  .items-sub li { padding: 13px 6px; font-size: 13px; gap: 8px; }
  .items-sub img { width: 26px; }
  .items-note { font-size: 14px; }

  .reasons { padding: 56px 0; }
  .reasons-body { padding: 26px 20px 24px; }
  .reasons-head { gap: 12px; }
  .reasons-num { width: 44px; }
  .reasons-title { font-size: 19px; }
  .reasons-title br { display: none; }
  .reasons-text { margin-top: 14px; font-size: 14px; }
  .reasons-photo { height: 190px; }

  .flow { padding: 56px 0; }
  .flow-col { padding: 22px 12px 20px; }
  .flow-col-title { font-size: 22px; }
  .flow-col-icon { width: 42px; }
  .flow-col-lead { font-size: 14px; }
  .flow-steps { gap: 8px; padding: 16px 6px; }
  .flow-step { font-size: 11px; gap: 4px; }
  .flow-step img { width: 26px; }
  .flow-step-num { width: 18px; height: 18px; font-size: 10px; }
  .flow-step + .flow-step::before { top: 32px; left: -7px; width: 6px; height: 6px; }
  .flow-col-note { font-size: 13px; }

  .voice { padding: 56px 0; }
  .voice-card { padding: 20px 18px; gap: 14px; }
  .voice-face { width: 60px; height: 60px; }
  .voice-title { font-size: 16px; }
  .voice-text { font-size: 13px; }
  .voice-note { text-align: left; font-size: 12px; }

  .shop { padding: 56px 0; }
  .shop-photo { height: 190px; }
  .shop-body { padding: 20px 20px 24px; }
  .shop-name { font-size: 19px; }
  .shop-info { grid-template-columns: 74px 1fr; font-size: 14px; }
  .shop-btn { height: 52px; margin-top: 20px; }

  .faq { padding: 56px 0; }
  .faq-q { padding: 18px 18px; font-size: 15px; gap: 14px; }
  .faq-a { padding: 0 18px 20px; font-size: 14px; }

  .company { padding: 56px 0; }
  .company-title { font-size: 22px; }
  .company-table { font-size: 14px; }
  .company-table th,
  .company-table td { display: block; width: auto; }
  .company-table th { border-bottom: 0; padding: 10px 14px; }
  .company-table td { padding: 10px 14px 14px; }

  .contact { padding: 56px 0 64px; }
  .contact-title { font-size: 22px; }
  .contact-lead { font-size: 14px; }
  .contact-form { padding: 24px 18px 28px; }
  .form-policy { height: 190px; padding: 14px 16px; font-size: 12px; }
  .form-agree { font-size: 14px; }
  .form-submit { height: 60px; font-size: 17px; }

  .site-footer { padding-top: 40px; }
  .site-footer-tel { font-size: 23px; }
  .site-footer-nav ul { gap: 10px 20px; }
  .site-footer-nav a { font-size: 13px; }
  .site-footer-copy { margin-top: 28px; }

  .subpage { padding: 48px 0 64px; }
  .subpage-title { font-size: 22px; }
  .subpage-lead { font-size: 14px; }
  .subpage-card { padding: 24px 18px 28px; }
  .confirm-list { grid-template-columns: 1fr; font-size: 14px; }
  .confirm-list dt { padding: 12px 14px; border-bottom: 0; }
  .confirm-list dd { padding: 12px 14px 16px; }
  .subpage-actions { flex-direction: column; gap: 12px; }
  .subpage-btn { min-width: 0; width: 100%; height: 56px; font-size: 16px; }
}


/* 「高価買取」「査定無料」を横並びで見せる */
.hero-pops {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.hero-pop {
    background: var(--c-cta);
    width: fit-content;
    padding: 0.5em 1em;
    color: #fff;
    line-height: 1;
}

/* KV右上のGoogleクチコミメダル */
.hero-medal {
    position: absolute;
    top: 24px;
    right: 32px;
    z-index: 2;
    width: 168px;
    height: auto;
    pointer-events: none;
}

@media (max-width: 1023px) {
    .hero-medal { top: 16px; right: 18px; width: 132px; }
}

@media (max-width: 767px) {
    .hero-medal { top: 12px; right: 12px; width: 92px; }
}