@charset "UTF-8";
/* ============================================================
   サービス詳細ページ共通
   05_中古車販売 / 06_買取 / 07_車検点検 / 08_修理板金 / 09_自動車保険
   どのページも「導入 → 緑地のPOINTカード → ページ固有 → よくある質問」の構成。
   ============================================================ */

/* ------------------------------------------------------------
   導入（左テキスト674px + 右画像470px）
   ------------------------------------------------------------ */
.lead { position: relative; }
.lead__inner {
  position: relative;
  z-index: 1;
  width: var(--container);
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  gap: 34px;
}
.lead__body { width: 674px; }
.lead__chips { margin-top: 12px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; }
.lead__chip {
  display: inline-flex;
  align-items: center;
  background: var(--green);
  border-radius: 5px;
  color: #fff;
  font-weight: 700;
}
.lead__chip--sm { min-height: 58px; padding: 12px 0 18px 16px; font-size: 28px; line-height: 28px; }
.lead__chip--lg { min-height: 72px; padding: 12px 16px 18px; font-size: 42px; line-height: 42px; }
.lead__text {
  margin-top: 24px;
  font-size: 16px;
  line-height: 40px;
  letter-spacing: -.015em;
  font-weight: 400;
  color: #000;
}
.lead__photo { flex: none; width: 470px; border-radius: 10px; }

/* ------------------------------------------------------------
   POINT カード（緑地 / 580x499 の2×2）
   ------------------------------------------------------------ */
.points-sec {
  position: relative;
  background: var(--green-mid) url("../img/green-paper.jpg") center / cover no-repeat;
  color: #fff;
}
.points-sec__head { text-align: center; padding-top: 100px; }
.points-sec__head .label { justify-content: center; }
.points-sec__head .sec-title { margin-top: 12px; color: #fff; }

.points-grid {
  width: 1200px;
  margin: 40px auto 0;
  display: grid;
  grid-template-columns: 580px 580px;
  gap: 40px;
}
.point-card {
  position: relative;
  height: 499px;
  padding: 43px 40px 0;
  background: #fff;
  border-radius: 10px;
  color: var(--ink);
}
.point-card__no {
  position: absolute;
  left: 40px;
  top: 43px;
  writing-mode: vertical-rl;
  display: flex;
  align-items: center;
  gap: 16px;
  font-family: var(--ff-en);
  font-size: 18px;
  line-height: 18px;
  color: var(--green-mid);
}
.point-card__no .label__dot { width: 8px; height: 8px; }
.point-card__photo {
  width: 470px;
  height: 255px;
  margin-left: 30px;
  border-radius: 10px;
}
/* 写真の下端にかぶせる緑のラベル */
.point-card__chips {
  position: absolute;
  left: 40px;
  top: 223px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
}
.point-card__chip {
  display: inline-flex;
  align-items: center;
  padding: 12px 16px 16px;
  background: var(--green);
  border-radius: 5px;
  color: #fff;
  font-weight: 700;
}
.point-card__chip--sm { font-size: 20px; line-height: 20px; }
.point-card__chip--lg { font-size: 28px; line-height: 28px; }
.point-card__text {
  position: absolute;
  left: 40px;
  top: 355px;
  width: 500px;
  font-size: 16px;
  line-height: 30px;
  font-weight: 400;
  color: #000;
}

/* ------------------------------------------------------------
   FLOW（丸アイコン + 番号の5ステップ）
   ------------------------------------------------------------ */
.flow { position: relative; }
.flow__head { text-align: center; padding-top: 100px; }
.flow__head .label { justify-content: center; }
.flow__head .sec-title { margin-top: 12px; }

.flow__list {
  width: 1197px;
  margin: 43px auto 0;
  display: flex;
  gap: 18px;
}
.flow-step {
  position: relative;
  width: 225px;
  height: 234px;
  padding: 32px;
  background: #fff;
  border-radius: 30px;
  text-align: center;
}
.flow-step__num {
  position: absolute;
  left: 40px;
  top: 32px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: grid; place-items: center;
  font-family: var(--ff-en);
  font-size: 18px;
  line-height: 18px;
}
.flow-step__ico {
  width: 100px; height: 100px;
  margin-inline: auto;
  border-radius: 50%;
  background: #eef7ed;
  display: grid;
  place-items: center;
  color: var(--green);
}
/* アイコンは Figma と同じ緑の単色。形はインライン SVG で用意している */
.ico--50 { width: 50px; height: 50px; }
.ico--52 { width: 52px; height: 50px; }
.ico--47 { width: 47px; height: 60px; }
.ico--60 { width: 60px; height: 60px; }
.ico--62 { width: 62px; height: 62px; }

.flow-step__label {
  margin-top: 16px;
  font-size: 18px;
  line-height: 27px;
  letter-spacing: .06em;
  font-weight: 700;
  color: var(--ink);
}

/* ------------------------------------------------------------
   よくある質問（アコーディオン）
   ------------------------------------------------------------ */
.faq { position: relative; }
.faq__head { text-align: center; padding-top: 100px; }
.faq__head .label { justify-content: center; }
.faq__head .sec-title { margin-top: 12px; }

.faq__list { width: 960px; margin: 40px auto 0; display: flex; flex-direction: column; gap: 20px; }
.faq-item {
  padding: 32px 40px;
  background: #fff;
  border: 1px solid #e7e4de;
  border-radius: 12px;
}
.faq-item__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  height: 50px;
  cursor: pointer;
  list-style: none;
}
.faq-item__q::-webkit-details-marker { display: none; }
.faq-item__q > span:first-child { display: flex; align-items: center; gap: 8px; }
.faq-item__mark { font-size: 18px; line-height: 18px; font-weight: 700; letter-spacing: .04em; color: var(--green-mid); flex: none; }
.faq-item__text { font-size: 20px; line-height: 50px; font-weight: 400; color: #000; }
.faq-item__btn {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--orange);
  flex: none;
}
.faq-item__btn::before,
.faq-item__btn::after {
  content: "";
  position: absolute;
  left: 9px; top: 16.5px;
  width: 18px; height: 3px;
  background: #fff;
  transition: transform .25s ease;
}
.faq-item__btn::after { transform: rotate(90deg); }
.faq-item[open] .faq-item__btn::after { transform: rotate(0); }

.faq-item__body { margin-top: 16px; padding-top: 16px; border-top: 1px solid #e7e4de; display: flex; gap: 8px; }
.faq-item__body p { font-size: 20px; line-height: 30px; font-weight: 400; color: #000; }

/* ============================================================
   SP（760px 以下 / サービス詳細ページ共通）
   05〜09 で共通の lead / points-sec / flow / faq を組み替える。
   ページ固有のセクション（check, menu, price, case, merit）は
   各ページの CSS 側で対応する。

   height はページ固有 CSS 側で「.lead--xx { height: NNNpx }」のように
   unconditional に上書きされているため、同じ specificity のままだと
   後読みのページ固有 CSS に負けてしまう。
   「section.lead」のようにタグ名を足して specificity を上げることで、
   ページ固有 CSS 側を編集せずにここで一括リセットしている。
   ------------------------------------------------------------ */
@media (max-width: 760px) {
  /* 導入 */
  section.lead { height: auto; padding: 40px 0; }
  .lead__inner { flex-direction: column; gap: 20px; }
  .lead__body { width: 100%; }
  .lead__chips { gap: 8px; }
  .lead__chip--sm { min-height: 36px; padding: 8px 8px 8px 0; font-size: 18px; line-height: 18px; }
  .lead__chip--lg { min-height: 44px; padding: 8px 12px 10px; font-size: 24px; line-height: 24px; }
  .lead__text { margin-top: 16px; font-size: 14px; line-height: 26px; }
  .lead__photo { width: 100%; border-radius: 5px; }

  /* POINT カード */
  section.points-sec { height: auto; padding-bottom: 40px; }
  .points-sec__head { padding-top: 40px; }
  .points-grid { width: auto; margin: 24px 16px 0; grid-template-columns: 1fr; gap: 20px; }
  .point-card { height: auto; padding: 24px 20px 28px; }
  .point-card__no { position: static; writing-mode: horizontal-tb; margin-bottom: 12px; }
  .point-card__photo { width: 100%; height: 180px; margin-left: 0; }
  .point-card__chips { position: static; margin-top: 12px; gap: 6px; }
  .point-card__chip--sm { font-size: 15px; line-height: 15px; padding: 8px 10px 10px; }
  .point-card__chip--lg { font-size: 20px; line-height: 20px; padding: 8px 12px 10px; }
  .point-card__text { position: static; width: auto; margin-top: 16px; font-size: 14px; line-height: 26px; }

  /* FLOW */
  section.flow { height: auto; padding: 60px 0; }
  .flow__head { padding-top: 0; }
  .flow__list { width: auto; margin: 24px 16px 0; flex-wrap: wrap; justify-content: center; gap: 12px; }
  .flow-step { width: calc(50% - 6px); height: auto; padding: 20px 16px; border-radius: 16px; }
  .flow-step__num { left: 16px; top: 16px; width: 32px; height: 32px; font-size: 14px; }
  .flow-step__ico { width: 64px; height: 64px; }
  .flow-step__ico .ico { width: 32px; height: 32px; }
  .flow-step__label { margin-top: 12px; font-size: 14px; line-height: 21px; }

  /* よくある質問 */
  section.faq { height: auto; padding: 60px 0; }
  .faq__head { padding-top: 0; }
  .faq__list { width: auto; margin: 20px 16px 0; gap: 12px; }
  .faq-item { padding: 20px; border-radius: 10px; }
  .faq-item__q { height: auto; min-height: 32px; gap: 12px; }
  .faq-item__mark { font-size: 15px; line-height: 15px; }
  .faq-item__text { font-size: 15px; line-height: 24px; }
  .faq-item__btn { width: 28px; height: 28px; }
  .faq-item__btn::before, .faq-item__btn::after { left: 7px; top: 12.5px; width: 14px; }
  .faq-item__body { margin-top: 12px; padding-top: 12px; }
  .faq-item__body p { font-size: 14px; line-height: 24px; }
}
