@charset "utf-8";

/* ==========================================================
   買取弁天  共通・PC向けスタイル
   スマホ向け（700px以下）の上書きは sp.css
   ----------------------------------------------------------
   1. ベース
   2. ヘッダー（全ページ共通）
   3. LINEボタン
   4. LP全体・セクション
   5. セクション間の区切り
   6. よくあるご質問
   7. 最終CTA
   8. フッター（全ページ共通）
   9. 下層ページ共通
  10. 会社概要ページ
  11. 利用規約・プライバシーポリシー
   ========================================================== */


/* ----------------------------------------------------------
   1. ベース
   ---------------------------------------------------------- */
:root {
  --ink: #2a190f;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: #eee2cd;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  background: #eee2cd;
}


/* ----------------------------------------------------------
   2. ヘッダー（全ページ共通）
   ---------------------------------------------------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 250, 240, .97);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(180, 122, 36, .24);
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}

.site-header__in {
  display: flex;
  align-items: center;
  gap: 22px;
  max-width: 1180px;
  min-height: 68px;
  margin: auto;
  padding: 8px 18px;
}

.brand {
  color: #a70e0b;
  font-family: "Yu Mincho", serif;
  font-size: 28px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.brand small {
  display: block;
  color: #8b641d;
  font: 600 9px/1.1 sans-serif;
  letter-spacing: .12em;
}

.nav {
  display: flex;
  gap: 20px;
  margin-left: auto;
}

.nav a {
  color: #2a190f;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
}

.nav a:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}


/* ----------------------------------------------------------
   3. LINEボタン
   ---------------------------------------------------------- */
/* ヘッダーの小さいLINEボタン（HTMLテキスト） */
.header-line {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 3px solid #fff;
  border-radius: 999px;
  background: #08b84a;
  box-shadow: 0 0 0 2px #08a842, 0 7px 18px rgba(0, 110, 45, .24);
  color: #fff;
  font-family: "Yu Gothic", sans-serif;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  padding: 10px 18px;
  font-size: 14px;
  white-space: nowrap;
}

/* CVボタン（画像 cv_btn.png）。大きさは全箇所共通で、ここの width で決める */
.cv-btn {
  display: block;
  width: 54%;
  transition: filter .2s ease;
}

.cv-btn img {
  display: block;
  width: 100%;
  height: auto;
}

.cv-btn:hover {
  filter: brightness(1.2);
}

/* 「売り方は、二つ。」の画像下部中央の余白に重ねる */
.cv-btn--courses {
  position: absolute;
  bottom: 1%;
  left: 50%;
  z-index: 5;
  transform: translateX(-50%);
}

/* 最終CTAの画像中央（台座の上）に重ねる */
.cv-btn--final {
  position: absolute;
  top: 60%;
  left: 50%;
  z-index: 8;
  transform: translate(-50%, -50%);
}


/* ----------------------------------------------------------
   4. LP全体・セクション
   ---------------------------------------------------------- */
.lp {
  position: relative;
  width: min(100%, 1728px);
  margin: auto;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 5% 13%, rgba(192, 24, 18, .12), transparent 20%),
    radial-gradient(ellipse at 95% 30%, rgba(184, 125, 31, .13), transparent 22%),
    radial-gradient(ellipse at 7% 62%, rgba(193, 28, 20, .09), transparent 20%),
    radial-gradient(ellipse at 93% 82%, rgba(178, 119, 28, .12), transparent 22%),
    linear-gradient(90deg, #f7ead5 0, #fff9ee 10%, #fff9ee 90%, #f7ead5 100%);
  box-shadow: 0 0 50px rgba(65, 34, 14, .2);
}

/* 画像1枚で構成するセクション。画像下の隙間を出さないため line-height を 0 にする */
.section {
  position: relative;
  line-height: 0;
}

.section .main {
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  height: auto;
}

/* PC用とスマホ用の画像は、HTMLの <picture> で 700px を境に切り替える */
.section picture {
  display: block;
}


/* ----------------------------------------------------------
   5. セクション間の区切り
   ---------------------------------------------------------- */
/* 左右に細い金線、中央に赤い丸が入る区切り */
.bridge {
  position: relative;
  z-index: 2;
  height: clamp(14px, 1.6vw, 26px);
  background:
    radial-gradient(ellipse at 7% 52%, rgba(190, 28, 20, .10), transparent 24%),
    radial-gradient(ellipse at 93% 48%, rgba(181, 121, 29, .11), transparent 26%),
    linear-gradient(90deg, #f7ead5 0, #fff9ee 16%, #fff9ee 84%, #f7ead5 100%);
  pointer-events: none;
}

.bridge::before,
.bridge::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18%;
  height: 1px;
  background: linear-gradient(90deg, transparent, #b97b28, transparent);
  opacity: .35;
}

.bridge::before {
  left: 11%;
}

.bridge::after {
  right: 11%;
}

.bridge b {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #b91813;
  transform: translate(-50%, -50%);
}

/* 飾りのない区切り（FAQの前後） */
.soft-seam {
  position: relative;
  z-index: 2;
  height: clamp(12px, 1.4vw, 22px);
  background:
    radial-gradient(ellipse at 6% 50%, rgba(190, 28, 20, .10), transparent 25%),
    radial-gradient(ellipse at 94% 50%, rgba(181, 121, 29, .11), transparent 27%),
    linear-gradient(90deg, #f7ead5 0, #fff9ee 18%, #fff9ee 82%, #f7ead5 100%);
  pointer-events: none;
}

/* 「ご利用の流れ」とFAQの間は細くする */
.flow-faq-seam {
  height: 8px;
  background: linear-gradient(90deg, #f7ead5, #fff9ee 18%, #fff9ee 82%, #f7ead5);
}


/* ----------------------------------------------------------
   6. よくあるご質問
   ---------------------------------------------------------- */
.faq-v24 {
  position: relative;
  z-index: 3;
  background: #fff8ec;
}

/* 見出し画像・下部の飾り画像 */
.faq-v24__head,
.faq-v24__bottom {
  display: block;
  width: 100%;
  height: auto;
  overflow: visible;
}

/* 下の最終CTAと2px重ねて、隙間から背景が見えないようにする */
.faq-v24__bottom {
  position: relative;
  z-index: 4;
  margin-bottom: -2px;
}

.faq-v24__list {
  max-width: 1500px;
  margin: auto;
  padding: clamp(8px, 1.15vw, 20px) clamp(8px, 1.5vw, 26px) clamp(12px, 1.7vw, 28px);
  background: linear-gradient(#fffaf1, #fff8ec);
}

.faq-v24__item {
  position: relative;
  margin: 0 0 clamp(7px, .9vw, 14px);
}

/* 質問行：［Qマーク］［質問文］［開閉アイコン］の3列 */
.faq-v24__q {
  display: grid;
  grid-template-columns: 58px 1fr 50px;
  align-items: center;
  position: relative;
  width: 100%;
  min-height: 72px;
  padding: 8px 12px;
  border: 1px solid #c9903d;
  border-radius: clamp(8px, 1vw, 17px);
  background: #fffaf1;
  box-shadow: 0 4px 12px rgba(92, 45, 8, .13);
  text-align: left;
  cursor: pointer;
}

.faq-v24__q:focus-visible {
  outline: 3px solid #d91b14;
  outline-offset: 3px;
}

/* Qマーク */
.faq-v24__q::before {
  content: "Q";
  display: grid;
  place-items: center;
  width: 46px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: #c91410;
  color: #fff;
  font: 700 25px/1 Georgia, serif;
}

/* 質問文 */
.faq-v24__sr {
  color: #b7130f;
  font: 700 clamp(16px, 1.55vw, 24px)/1.45 "Yu Mincho", serif;
}

/* 開閉アイコン。HTML内の「−」は font-size:0 で隠し、::before で ＋／− を出す */
.faq-v24__minus {
  display: grid;
  place-items: center;
  width: 40px;
  aspect-ratio: 1;
  border: 2px solid #b77818;
  border-radius: 50%;
  background: #fff;
  color: #9b6419;
  font-size: 0;
}

.faq-v24__minus::before {
  content: "+";
  font: 400 32px/1 Arial;
}

.faq-v24__item.open .faq-v24__minus {
  background: #b7130f;
  color: #fff;
}

.faq-v24__item.open .faq-v24__minus::before {
  content: "−";
}

/* 回答。grid の行を 0fr → 1fr に変えて開閉アニメーションさせる */
.faq-v24__answer {
  display: grid;
  grid-template-rows: 0fr;
  opacity: 0;
  transition: grid-template-rows .28s ease, opacity .18s ease;
}

.faq-v24__item.open .faq-v24__answer {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-v24__shell {
  min-height: 0;
  overflow: hidden;
}

.faq-v24__inner {
  position: relative;
  overflow: hidden;
  border: 1.5px solid #b77818;
  border-top: 0;
  border-radius: 0 0 16px 16px;
  background: url("../images/answer-bg.jpg") center/cover no-repeat;
  box-shadow: 0 5px 14px rgba(92, 45, 8, .10);
}

.faq-v24__item.open .faq-v24__inner {
  min-height: clamp(250px, 23.5vw, 405px);
}

/* 回答文を読みやすくするため、左側を白くぼかす */
.faq-v24__inner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(90deg, rgba(255, 250, 241, .99) 0%, rgba(255, 250, 241, .96) 42%, rgba(255, 250, 241, .30) 63%, rgba(255, 250, 241, 0) 82%);
}

.faq-v24__inner p {
  position: relative;
  z-index: 3;
  width: 55%;
  margin: 0;
  padding: clamp(18px, 2.5vw, 42px) clamp(16px, 2vw, 34px) clamp(18px, 2.5vw, 42px) clamp(18px, 2.8vw, 46px);
  font-size: clamp(13px, 1.58vw, 23px);
  line-height: 1.95;
}

/* 回答右側の弁天イラスト */
.faq-v24__benten {
  position: absolute;
  right: 1.5%;
  bottom: 0;
  z-index: 2;
  height: 94%;
  max-width: 46%;
  object-fit: contain;
  filter: drop-shadow(-8px 0 12px rgba(120, 66, 20, .04));
  mix-blend-mode: multiply;
  -webkit-mask-image: linear-gradient(to left, #000 0%, #000 72%, transparent 100%);
  mask-image: linear-gradient(to left, #000 0%, #000 72%, transparent 100%);
  pointer-events: none;
}

@media (prefers-reduced-motion: reduce) {
  .faq-v24__answer {
    transition: none;
  }
}


/* ----------------------------------------------------------
   7. 最終CTA
   ---------------------------------------------------------- */
#final-cta {
  z-index: 3;
}


/* ----------------------------------------------------------
   8. フッター（全ページ共通）
   ---------------------------------------------------------- */
/* position: relative は、直前の .lp の影がフッターに被らないようにするため */
.footer {
  position: relative;
  padding: 26px 12px 30px;
  background: #151515;
  color: #d8cbb8;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
  font-size: 12px;
  line-height: 1.9;
  text-align: center;
}

.footer a {
  margin: 0 8px;
  color: #eee3d1;
  text-decoration: none;
}


/* ----------------------------------------------------------
   9. 下層ページ共通（company.html / terms.html / privacy.html）
   ---------------------------------------------------------- */
.subpage {
  background: #fff8ec;
}

.subpage body {
  background: #fff8ec;
  color: #2a190f;
  font-family: "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;
}

.subpage-wrap {
  max-width: 900px;
  margin: auto;
  padding: 65px 20px 100px;
}

.subpage-wrap h1 {
  margin: 0 0 12px;
  color: #a70e0b;
  font-family: "Yu Mincho", serif;
  font-size: 38px;
  text-align: center;
}

.subpage-lead {
  margin-bottom: 42px;
  color: #765d43;
  text-align: center;
}

.subpage-note {
  margin-top: 22px;
  padding: 16px;
  background: #fff3df;
  font-size: 13px;
  line-height: 1.7;
}

.subpage-back {
  display: block;
  width: max-content;
  margin: 40px auto 0;
  color: #7e4d11;
  font-weight: 700;
  text-decoration: none;
}


/* ----------------------------------------------------------
   10. 会社概要ページ（company.html）
   ---------------------------------------------------------- */
.company-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  box-shadow: 0 10px 30px rgba(90, 45, 8, .06);
}

.company-table th,
.company-table td {
  padding: 18px;
  border-bottom: 1px solid #ead9bf;
  line-height: 1.7;
  text-align: left;
}

.company-table th {
  width: 28%;
  background: #fff3df;
  color: #7e4d11;
}


/* ----------------------------------------------------------
   11. 利用規約・プライバシーポリシー（terms.html / privacy.html）
   ---------------------------------------------------------- */
.legal h1 {
  margin-bottom: 40px;
}

/* 項目の見出し */
.legal h2,
.legal h3 {
  margin: 44px 0 14px;
  padding-bottom: 8px;
  border-bottom: 1px solid #e7d4b8;
  color: #7e4d11;
  font-size: 18px;
}

/* ページ内の大きな区切り（「匿名加工情報の取り扱いについて」） */
.legal .legal-title {
  margin: 80px 0 28px;
  padding: 0;
  border: 0;
  color: #a70e0b;
  font-family: "Yu Mincho", serif;
  font-size: 28px;
  text-align: center;
}

.legal p,
.legal li {
  font-size: 15px;
  line-height: 1.9;
}

.legal p {
  margin: 0 0 10px;
}

.legal ol,
.legal ul {
  margin: 0;
  padding-left: 1.6em;
}

.legal li + li {
  margin-top: 6px;
}
