/* トップページ（2026-10-27 R-004 作り直し案）。トップの .rt 配下だけに効かせる。
   色は藍（#1F5F7A）を基準にし、赤は使わない。LINE の緑は LINE の決まりの色。 */

.rt {
  --rt-ai: #1f5f7a;
  --rt-ai-deep: #164759;
  --rt-ai-pale: #eef4f6;
  --rt-ink: #22313a;
  --rt-sub: #5b6b74;
  --rt-line-green: #06c755;
  --rt-border: #d6e1e6;
  color: var(--rt-ink);
  font-family: "Noto Sans JP", sans-serif;
  line-height: 1.8;
  overflow: hidden;
}
.rt *, .rt *::before, .rt *::after { box-sizing: border-box; }
.rt img { max-width: 100%; height: auto; }
.rt-inner { width: 100%; max-width: 1080px; margin: 0 auto; padding: 0 20px; }
.rt-narrow { max-width: 820px; }

/* 最初の画面 */
.rt-hero { position: relative; min-height: 520px; display: flex; align-items: center; }
.rt-hero__bg { position: absolute; inset: 0; }
.rt-hero__bg img { width: 100%; height: 100%; object-fit: cover; object-position: 70% 50%; }
.rt-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(14,40,52,.88) 0%, rgba(14,40,52,.72) 45%, rgba(14,40,52,.05) 75%);
}
.rt-hero__inner { position: relative; z-index: 1; padding-top: 56px; padding-bottom: 56px; color: #fff; }
.rt-hero__eyebrow { font-size: 15px; letter-spacing: .06em; margin: 0 0 12px; opacity: .9; }
.rt-hero__title { font-size: 44px; line-height: 1.4; font-weight: 700; margin: 0 0 16px; letter-spacing: .02em; }
.rt-hero__lead { font-size: 17px; max-width: 30em; margin: 0 0 28px; }
.rt-hero__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* ボタン */
.rt-btn {
  display: inline-flex; flex-direction: column; justify-content: center; align-items: center;
  min-width: 200px; min-height: 58px; padding: 10px 24px; border-radius: 6px;
  font-size: 17px; font-weight: 700; text-decoration: none; line-height: 1.3;
  transition: filter .15s, background-color .15s;
}
.rt-btn:hover { filter: brightness(1.08); }
.rt-btn--line { background: var(--rt-line-green); color: #fff; }
.rt-btn--main { background: #fff; color: var(--rt-ai-deep); }
.rt-btn--tel { border: 1.5px solid rgba(255,255,255,.8); color: #fff; font-family: Roboto, sans-serif; font-size: 20px; }
.rt-btn__sub { font-family: "Noto Sans JP", sans-serif; font-size: 12px; font-weight: 500; }

/* 安心ポイント */
.rt-trust {
  list-style: none; margin: -32px auto 0; position: relative; z-index: 2;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 0;
  background: #fff; border: 1px solid var(--rt-border); border-radius: 8px;
  padding: 0; max-width: 1040px; box-shadow: 0 8px 24px rgba(22,71,89,.08);
}
.rt-trust__item { padding: 18px 16px; text-align: center; font-size: 13px; color: var(--rt-sub); line-height: 1.5; }
.rt-trust__item + .rt-trust__item { border-left: 1px solid var(--rt-border); }
.rt-trust__item strong { display: block; font-size: 19px; color: var(--rt-ai-deep); margin-bottom: 2px; }

/* 見出し・区切り */
.rt-section { padding-top: 72px; padding-bottom: 72px; }
.rt-band { background: var(--rt-ai-pale); }
.rt-heading { font-size: 30px; font-weight: 700; text-align: center; margin: 0 0 8px; color: var(--rt-ai-deep); letter-spacing: .04em; }
.rt-heading::after { content: ""; display: block; width: 40px; height: 3px; background: var(--rt-ai); margin: 14px auto 0; }
.rt-heading__lead { text-align: center; color: var(--rt-sub); margin: 0 0 36px; }
.rt-heading + .rt-reasons, .rt-heading + .rt-faq, .rt-heading + .rt-company { margin-top: 36px; }

/* 買い取れるもの（タイルは同じ大きさで並べる） */
.rt-items { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 12px; }
.rt-items__link {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  padding: 20px 8px 16px; background: #fff; border: 1px solid var(--rt-border); border-radius: 8px;
  color: var(--rt-ink); text-decoration: none; font-size: 14px; font-weight: 500; text-align: center; line-height: 1.4;
  transition: border-color .15s, box-shadow .15s;
}
.rt-items__link:hover { border-color: var(--rt-ai); box-shadow: 0 4px 14px rgba(22,71,89,.1); }
.rt-items__link svg { width: 44px; height: 44px; fill: none; stroke: var(--rt-ai); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.rt-items__more { display: flex; justify-content: center; gap: 32px; margin-top: 28px; flex-wrap: wrap; }

.rt-textlink { color: var(--rt-ai); font-weight: 700; text-decoration: none; border-bottom: 1px solid currentColor; padding-bottom: 2px; }
.rt-textlink::after { content: " →"; }
.rt-textlink:hover { color: var(--rt-ai-deep); }

/* 2つの売り方 */
.rt-ways { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.rt-way { background: #fff; border-radius: 10px; padding: 32px; border-top: 4px solid var(--rt-ai); }
.rt-way img { display: block; height: 96px; width: auto; margin: 0 auto 12px; }
.rt-way__title { font-size: 22px; text-align: center; margin: 0 0 8px; color: var(--rt-ai-deep); }
.rt-way__text { text-align: center; margin: 0 0 20px; }
.rt-way__spec { display: grid; grid-template-columns: 7.5em 1fr; margin: 0; border-top: 1px solid var(--rt-border); font-size: 15px; }
.rt-way__spec dt, .rt-way__spec dd { padding: 12px 0; border-bottom: 1px solid var(--rt-border); margin: 0; }
.rt-way__spec dt { color: var(--rt-sub); font-weight: 500; }

/* 流れ */
.rt-flow { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; counter-reset: none; }
.rt-flow__step { text-align: center; position: relative; }
.rt-flow__step img { width: 112px; margin: 0 auto 12px; display: block; }
.rt-flow__step + .rt-flow__step::before {
  content: ""; position: absolute; left: -18px; top: 48px; width: 12px; height: 12px;
  border-top: 2px solid var(--rt-ai); border-right: 2px solid var(--rt-ai); transform: rotate(45deg);
}
.rt-flow__title { font-size: 18px; margin: 0 0 8px; color: var(--rt-ai-deep); display: flex; align-items: center; justify-content: center; gap: 8px; }
.rt-flow__no {
  display: inline-grid; place-items: center; width: 28px; height: 28px; border-radius: 50%;
  background: var(--rt-ai); color: #fff; font-family: Roboto, sans-serif; font-size: 15px;
}
.rt-flow__step p { font-size: 15px; text-align: left; margin: 0; }

/* 選ばれる理由 */
.rt-reasons { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.rt-reason { background: #fff; border-radius: 10px; padding: 28px 24px; }
.rt-reason img { width: 96px; display: block; margin: 0 auto 14px; border-radius: 50%; }
.rt-reason__title { font-size: 18px; text-align: center; margin: 0 0 10px; color: var(--rt-ai-deep); line-height: 1.5; }
.rt-reason p { font-size: 15px; margin: 0; }

/* よくある質問 */
.rt-faq { border-top: 1px solid var(--rt-border); }
.rt-faq__item { border-bottom: 1px solid var(--rt-border); }
.rt-faq__item summary {
  list-style: none; cursor: pointer; padding: 18px 40px 18px 36px; position: relative; font-weight: 700;
}
.rt-faq__item summary::-webkit-details-marker { display: none; }
.rt-faq__item summary::before { content: "Q"; position: absolute; left: 4px; color: var(--rt-ai); font-family: Roboto, sans-serif; font-size: 18px; }
.rt-faq__item summary::after { content: "+"; position: absolute; right: 8px; color: var(--rt-ai); font-size: 22px; line-height: 1; top: 18px; }
.rt-faq__item[open] summary::after { content: "−"; }
.rt-faq__item p { margin: 0; padding: 0 8px 20px 36px; color: var(--rt-sub); font-size: 15px; }
.rt-faq__more { text-align: center; margin: 28px 0 0; }

/* 運営会社 */
.rt-company { display: grid; grid-template-columns: 8em 1fr; margin: 0; background: #fff; border-radius: 8px; padding: 8px 28px; }
.rt-company dt, .rt-company dd { margin: 0; padding: 14px 0; border-bottom: 1px solid var(--rt-border); }
.rt-company dt:last-of-type, .rt-company dd:last-of-type { border-bottom: 0; }
.rt-company dt { color: var(--rt-sub); }

/* 最後の申し込み案内 */
.rt-cta { background: var(--rt-ai-deep); color: #fff; text-align: center; padding: 64px 0; }
.rt-cta__title { font-size: 26px; font-weight: 700; margin: 0 0 8px; }
.rt-cta__lead { margin: 0 0 28px; opacity: .9; }
.rt-cta__actions { justify-content: center; }

/* スマホ */
@media (max-width: 767px) {
  .rt-hero { min-height: 0; }
  .rt-hero::after { background: linear-gradient(180deg, rgba(14,40,52,.55) 0%, rgba(14,40,52,.88) 70%); }
  .rt-hero__inner { padding-top: 40px; padding-bottom: 64px; }
  .rt-hero__eyebrow { font-size: 12px; }
  .rt-hero__title { font-size: 30px; }
  .rt-hero__lead { font-size: 15px; }
  .rt-hero__actions { flex-direction: column; }
  .rt-btn { width: 100%; }
  .rt-trust { grid-template-columns: 1fr 1fr; margin: -24px 16px 0; width: auto; }
  .rt-trust__item:nth-child(3) { border-left: 0; }
  .rt-trust__item:nth-child(n+3) { border-top: 1px solid var(--rt-border); }
  .rt-trust__item strong { font-size: 16px; }
  .rt-section { padding-top: 52px; padding-bottom: 52px; }
  .rt-heading { font-size: 23px; }
  .rt-heading__lead { margin-bottom: 24px; font-size: 14px; }
  .rt-items { grid-template-columns: repeat(3, 1fr); gap: 8px; }
  .rt-items__link { padding: 14px 4px 12px; font-size: 12px; }
  .rt-items__link svg { width: 36px; height: 36px; }
  .rt-ways, .rt-reasons, .rt-flow { grid-template-columns: 1fr; }
  .rt-way { padding: 24px 20px; }
  .rt-way__spec { grid-template-columns: 6.5em 1fr; font-size: 14px; }
  .rt-flow { gap: 36px; }
  .rt-flow__step + .rt-flow__step::before { left: 50%; top: -24px; transform: translateX(-50%) rotate(135deg); }
  .rt-company { grid-template-columns: 1fr; padding: 4px 20px; }
  .rt-company dt { padding-bottom: 0; border-bottom: 0; font-size: 13px; }
  .rt-company dd { padding-top: 2px; }
  .rt-cta__title { font-size: 21px; }
  .rt-cta { padding: 48px 0; }
}
