@charset "UTF-8";

:root {
  --c-text: #000;
  --c-green: #006d5c;
  --c-green-deep: #2a5c50;
  --c-green-muted: #4c7168;
  --c-green-dark: #1c3d35;
  --c-line: #06c755;
  --c-beige: #f3f1ea;
  --c-gray: #f4f4f4;
  --c-orange: #ff8800;
  --c-tint: rgba(0, 109, 92, .1);
  /* 方眼の背景（デザインは 40px の枠線を 80% に縮めて敷き詰めたもの＝32px 間隔のうすい線） */
  --grid-lines:
    linear-gradient(90deg, rgba(76, 113, 104, .08) 1px, transparent 1px) center top / 32px 32px,
    linear-gradient(rgba(76, 113, 104, .08) 1px, transparent 1px) center top / 32px 32px;
  --shadow-header: 0 4px 4px rgba(42, 92, 80, .2);
  --shadow-band: 0 4px 4px rgba(76, 113, 104, .3);
  --header-h: 90px;
  --gutter: 20px;
}

/* ---------- ベース ---------- */
*, *::before, *::after { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 16px);
}
body {
  margin: 0;
  overflow-x: clip;
  background: #fff;
  color: var(--c-text);
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  line-height: 1.45;
}
h1, h2, h3, h4, p, ul, ol, dl, dd, figure { margin: 0; }
h1, h2, h3, p, li, dd { text-wrap: pretty; }
ul { padding: 0; list-style: none; }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
button, input, select, textarea { font: inherit; color: inherit; }
.sr-only {
  position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.pc-only { display: inline; }
.sp-only { display: none; }
@media (max-width: 767px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
}

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  height: 42px; padding: 0 20px; border-radius: 21px;
  background: var(--c-green); color: #fff;
  font-size: 18px; font-weight: 700; line-height: 1.2; text-align: center;
  text-decoration: none; white-space: nowrap;
  transition: opacity .2s, transform .2s;
}
.btn:hover { opacity: .85; transform: translateY(-2px); }
.btn--line { background: var(--c-line); }
.btn--lg { width: 340px; max-width: 100%; height: 54px; border-radius: 27px; }
.btn--more { width: 160px; height: 42px; border-radius: 21px; font-size: 16px; }
.btn-row { display: flex; justify-content: center; gap: 14px; }
.btn-row .btn { width: 220px; }
@media (max-width: 767px) {
  .btn { font-size: 16px; }
  .btn--lg { width: 300px; height: 52px; border-radius: 26px; }
  .btn-row { flex-direction: column; align-items: center; gap: 12px; }
  .btn-row .btn { width: 280px; height: 48px; border-radius: 24px; }
}

/* ---------- ヘッダー ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  height: var(--header-h);
  background: #fff;
  box-shadow: var(--shadow-header);
}
.site-header__inner {
  display: flex; align-items: center;
  height: 100%; padding: 0 24px 0 19px;
}
.site-header__logo { flex: none; display: block; width: 200px; }
.site-header__logo img { width: 100%; }
.site-nav {
  display: flex; flex: 1; align-items: center; justify-content: space-between;
  margin-left: 35px;
}
.site-nav__list { display: flex; gap: 39px; padding-top: 6px; }
.site-nav__list a {
  font-size: 15px; font-weight: 700; text-decoration: none;
  transition: color .2s;
}
.site-nav__list a:hover,
.site-nav__list a[aria-current="page"] { color: var(--c-green); }
.site-nav__cta { display: flex; gap: 14px; }
.site-nav__cta .btn { width: 220px; }
.menu-toggle { display: none; }

@media (max-width: 1439px) {
  .site-nav { margin-left: 28px; }
  .site-nav__list { gap: 24px; }
  .site-nav__list a { font-size: 14px; }
  .site-nav__cta .btn { width: 190px; font-size: 16px; }
}
@media (max-width: 1199px) {
  :root { --header-h: 70px; }
  .site-header__inner { justify-content: space-between; padding: 0 8px 0 16px; }
  .site-header__logo { width: 170px; }
  .menu-toggle {
    display: grid; place-items: center;
    width: 54px; height: 54px; padding: 0;
    border: 0; background: none; cursor: pointer;
  }
  .menu-toggle__bar,
  .menu-toggle__bar::before,
  .menu-toggle__bar::after {
    display: block; width: 26px; height: 2px;
    background: var(--c-green); border-radius: 1px;
  }
  .menu-toggle__bar { position: relative; transition: background .2s; }
  .menu-toggle__bar::before,
  .menu-toggle__bar::after {
    content: ""; position: absolute; left: 0;
    transition: transform .25s;
  }
  .menu-toggle__bar::before { top: -8px; }
  .menu-toggle__bar::after { top: 8px; }
  .is-menu-open .menu-toggle__bar { background: transparent; }
  .is-menu-open .menu-toggle__bar::before { transform: translateY(8px) rotate(45deg); }
  .is-menu-open .menu-toggle__bar::after { transform: translateY(-8px) rotate(-45deg); }

  .site-nav {
    position: fixed; top: var(--header-h); right: 0; bottom: 0; left: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start; gap: 32px;
    margin: 0; padding: 16px var(--gutter) 48px;
    background: #fff; overflow-y: auto;
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s, transform .25s, visibility .25s;
  }
  .is-menu-open .site-nav { opacity: 1; visibility: visible; transform: none; }
  .is-menu-open body { overflow: hidden; }
  .site-nav__list { flex-direction: column; gap: 0; padding: 0; }
  .site-nav__list a {
    display: block; padding: 18px 4px;
    border-bottom: 1px solid #e3e3e3; font-size: 16px;
  }
  .site-nav__cta { flex-direction: column; gap: 12px; }
  .site-nav__cta .btn { width: 100%; height: 52px; border-radius: 26px; font-size: 17px; }
}
@media (max-width: 767px) {
  :root { --header-h: 60px; }
  .site-header__logo { width: 140px; }
}

/* ---------- 下層ページの大見出し（STORIES / ABOUT / FAQ など） ---------- */
.page-title { margin-top: 61px; text-align: center; }
.page-title__en {
  display: block; padding-left: .05em;
  color: var(--c-green-muted);
  font-size: 96px; font-weight: 700; line-height: 1.2; letter-spacing: .05em;
}
.page-title__ja { display: block; font-size: 20px; font-weight: 700; }
@media (max-width: 767px) {
  .page-title { margin-top: 40px; }
  .page-title__en { font-size: 52px; }
  .page-title__ja { font-size: 15px; }
}

/* ---------- 飾りの英字つきセクション見出し（FLOW / FAQ） ---------- */
.deco-head { position: relative; }
.deco-head__title {
  position: relative; z-index: 1;
  margin-left: calc(50% - var(--title-x));
  font-size: 32px; font-weight: 700;
}
.deco-head__en {
  position: absolute; z-index: 0;
  top: var(--en-top, -41px); left: calc(50% + var(--en-x));
  transform: translateX(-50%);
  color: var(--en-color, var(--c-beige));
  font-size: 128px; font-weight: 700; line-height: 1.45;
  white-space: nowrap; pointer-events: none; user-select: none;
}
/* タブレット・スマホは横に並べる幅がないので、英字を見出しの上に置く（重ねると文字がにじんで見えるため） */
@media (max-width: 1023px) {
  .deco-head { display: flex; flex-direction: column-reverse; align-items: center; text-align: center; }
  .deco-head__title { margin-left: 0; }
  /* 英字の上半分はセクションの上の余白に食い込ませて、見出しの位置が下がりすぎないようにする */
  .deco-head__en { position: static; transform: none; margin: -0.5em 0 0.06em; font-size: 88px; line-height: 1; }
}
@media (max-width: 767px) {
  .deco-head__title { font-size: 24px; }
  .deco-head__en { font-size: 64px; }
}

/* ---------- お問い合わせ帯（各ページ下部） ---------- */
.cta-contact {
  position: relative;
  padding: 102px var(--gutter) 130px;
  background: #fff;
  box-shadow: var(--shadow-band);
  text-align: center;
}
.cta-contact__title { font-size: 36px; font-weight: 700; line-height: 50px; }
.cta-contact__lead { margin-top: 12px; font-size: 18px; line-height: 30px; }
.cta-contact__list { display: flex; justify-content: center; gap: 63px; margin-top: 54px; }
.cta-contact__link {
  display: flex; flex-direction: column; align-items: center;
  width: 192px; text-decoration: none;
  transition: transform .2s;
}
.cta-contact__link:hover { transform: translateY(-4px); }
.cta-contact__icon { width: 90px; height: 90px; }
.cta-contact__label { margin-top: 22px; font-size: 24px; font-weight: 700; }
.cta-contact__tel { white-space: nowrap; }
.cta-contact__freedial { display: inline-block; width: auto; height: 1.05em; margin-right: .15em; vertical-align: -.12em; }
@media (max-width: 767px) {
  .cta-contact { padding: 56px 12px 60px; }
  .cta-contact__title { font-size: 22px; line-height: 1.5; }
  .cta-contact__lead { margin-top: 8px; font-size: 14px; line-height: 1.8; }
  .cta-contact__list { gap: 4px; margin-top: 32px; }
  .cta-contact__item { flex: 1; }
  .cta-contact__link { width: auto; }
  .cta-contact__icon { width: 64px; height: 64px; }
  /* 改行は <br> の位置だけにする（iPhone の Safari で「メ／ール」のように言葉の途中で折り返されたため） */
  .cta-contact__label { margin-top: 12px; font-size: 13px; white-space: nowrap; }
}
@media (max-width: 374px) {
  .cta-contact__label { font-size: 12px; }
}

/* 下層ページでお問い合わせ帯がない場合の区切り */
.page-end { position: relative; height: 45px; background: #fff; box-shadow: var(--shadow-band); }

/* ---------- フッター ---------- */
.site-footer { background: #fff; }
.site-footer__main {
  display: flex; justify-content: space-between;
  width: min(1140px, 100% - var(--gutter) * 2); min-height: 188px;
  margin: 0 auto; padding: 36px 0 20px;
}
.site-footer__logo { display: block; width: 218px; }
.site-footer__name { margin-top: 9px; font-size: 18px; font-weight: 700; }
.site-footer__address { margin-top: 2px; font-size: 14px; font-style: normal; }
.site-footer__address a { text-decoration: none; }
.site-footer__right { display: flex; flex-direction: column; align-items: flex-end; padding-top: 8px; }
.site-footer__cta { display: flex; gap: 25px; }
.site-footer__cta .btn--line { width: 207px; }
.site-footer__cta .btn:not(.btn--line) { width: 220px; }
.site-footer__nav { display: flex; gap: 24px; margin-top: 53px; }
.site-footer__nav a { font-size: 13px; font-weight: 700; text-decoration: none; }
.site-footer__nav a:hover { color: var(--c-green); }
.site-footer__bottom { border-top: 1px solid var(--c-green); }
.site-footer__bottom-inner {
  display: flex; justify-content: space-between; align-items: center;
  width: min(1140px, 100% - var(--gutter) * 2);
  margin: 0 auto; padding-top: 4px;
  font-size: 12px; line-height: 35px;
}
.site-footer__bottom small { font-size: inherit; }
.site-footer__links { display: flex; gap: 28px; }
.site-footer__links a { text-decoration: none; }
.site-footer__links a:hover { text-decoration: underline; }
@media (max-width: 1023px) {
  .site-footer__main { flex-direction: column; gap: 28px; }
  .site-footer__right { align-items: flex-start; padding-top: 0; }
  .site-footer__nav { flex-wrap: wrap; gap: 12px 24px; margin-top: 24px; }
}
@media (max-width: 767px) {
  .site-footer__main { padding-top: 32px; }
  .site-footer__logo { width: 180px; }
  .site-footer__name { font-size: 16px; }
  .site-footer__address { font-size: 13px; line-height: 1.7; }
  .site-footer__right { align-items: stretch; }
  .site-footer__cta { flex-direction: column; gap: 10px; }
  .site-footer__cta .btn,
  .site-footer__cta .btn--line,
  .site-footer__cta .btn:not(.btn--line) { width: 100%; height: 48px; border-radius: 24px; }
  .site-footer__nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 12px; }
  .site-footer__bottom-inner { flex-direction: column-reverse; align-items: center; padding: 12px 0 8px; line-height: 2; }
  .site-footer__links { flex-wrap: wrap; justify-content: center; gap: 0 16px; }
}

/* ---------- スマホ用 画面下の固定ボタン ---------- */
.sp-cta { display: none; }
@media (max-width: 767px) {
  /* iPhone でスクロールして画面下のバーが縮むと、ホームバー・角丸の分の余白（env(safe-area-inset-bottom)、約34px）を空けるよう知らされる。
     全部を下に足すと文字の下だけが空きすぎるので、半分だけ高さに足す。
     文字は真ん中より少し上に置く（下はホームバーと角丸で狭く見えるため。iPhone のアプリの下のメニューと同じ考え方）。
     文字の上が約17px、下が約26px になり、ホームバーにも重ならない。スクロール前（余白の知らせがないとき）は 64px の真ん中のまま */
  body { padding-bottom: calc(64px + env(safe-area-inset-bottom) / 2); }
  .sp-cta {
    position: fixed; right: 0; bottom: 0; left: 0; z-index: 90;
    display: grid; grid-template-columns: repeat(3, 1fr);
    background: #fff; box-shadow: 0 -2px 8px rgba(0, 0, 0, .12);
  }
  .sp-cta a {
    height: calc(64px + env(safe-area-inset-bottom) / 2); padding-bottom: calc(env(safe-area-inset-bottom) / 4);
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px;
    color: #fff; font-size: 12px; font-weight: 700; text-decoration: none;
  }
  .sp-cta a strong { font-size: 14px; }
  .sp-cta__line { background: var(--c-line); }
  .sp-cta__mail { background: var(--c-green); }
  .sp-cta__tel { background: var(--c-green-muted); }
  .is-menu-open .sp-cta { display: none; }
  /* フォームの入力欄を触っている間は隠す（キーボードと重なって入力欄をふさがないように） */
  .is-typing .sp-cta { display: none; }
}

/* =========================================================
   トップページ
   ========================================================= */

/* ---------- メインビジュアル ---------- */
.hero {
  position: relative;
  height: clamp(480px, 58.333vw, 840px);
  margin-top: -12px;
  overflow: hidden;
  color: #fff; text-align: center;
}
.hero__bg {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  /* 写真の家並みは一番下にあるので、横に広い画面で上下が切れるときも下を残す */
  object-fit: cover; object-position: 62% 100%;
}
.hero__inner {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  height: 100%; padding: 55px var(--gutter) 0;
}
.hero__title { font-size: clamp(30px, 4.861vw, 70px); font-weight: 700; }
.hero__sub { margin-top: 33px; font-size: clamp(17px, 2.5vw, 36px); font-weight: 700; }
.hero__text { margin-top: 41px; font-size: 20px; font-weight: 700; line-height: 35px; }
.hero__btn { margin-top: 78px; }
/* 行の最後の「、」「。」は右半分が空白なので、その分を詰めて、真ん中にそろえたときに左に寄って見えないようにする（hang-sp はスマホで行の最後になるもの） */
.hero .hang { margin-right: -0.5em; }
/* 文字の幅に合わせて縮めると、詰めた分だけ幅が足りず変な所で折り返すので、横幅いっぱいにして真ん中にそろえる */
.hero__title, .hero__sub, .hero__text { align-self: stretch; }
@media (max-width: 767px) { .hero .hang-sp { margin-right: -0.5em; } }
@media (max-width: 1023px) {
  .hero__sub { margin-top: 20px; }
  .hero__text { margin-top: 24px; font-size: 16px; line-height: 1.9; }
  .hero__btn { margin-top: 44px; }
}
@media (max-width: 767px) {
  .hero { margin-top: 0; }
  .hero__inner { padding-top: 0; text-shadow: 0 1px 10px rgba(0, 0, 0, .28); }
  .hero__sub { margin-top: 14px; }
  .hero__text { margin-top: 18px; font-size: 13px; line-height: 1.9; }
  .hero__btn { margin-top: 32px; text-shadow: none; }
}

/* ---------- ロゴ・3つのBEST ---------- */
.top-best { padding-top: 82px; text-align: center; }
.top-best__logo { width: 345px; margin: 0 auto; filter: drop-shadow(0 0 4px #fff); }
.top-best__title { margin-top: 54px; color: var(--c-green-deep); font-size: 32px; font-weight: 700; }
.best-cards { display: flex; justify-content: center; gap: 36px; margin-top: 33px; }
.best-card { position: relative; width: 335px; padding: 6px 0 0 11px; text-align: left; }
.best-card__body { height: 223px; padding: 45px 0 0 21px; background: var(--card-bg); }
.best-card--value { --card-bg: #fff0db; }
.best-card--process { --card-bg: #ebf4d1; }
.best-card--speed { --card-bg: #e2f5f2; }
.best-card__tag { position: absolute; top: 0; left: 0; width: 101px; height: 38px; }
.best-card__tag::before {
  content: ""; position: absolute; top: 0; left: 0;
  width: 11.65px; height: 44px; background: var(--c-green-dark);
}
.best-card__tag img { position: relative; width: 100.55px; height: 37.53px; }
.best-card__tag span {
  position: absolute; top: 50%; left: 15.5px; transform: translateY(-50%);
  color: #fff; font-size: 23px; font-weight: 900; line-height: 1; letter-spacing: 1.61px;
}
.best-card__en { color: var(--c-green-deep); font-size: 40px; font-weight: 900; letter-spacing: 6px; }
.best-card__ja { font-size: 20px; font-weight: 500; letter-spacing: .6px; }
.best-card__text { margin-top: 19px; font-size: 14px; font-weight: 500; line-height: 1.5; }
.top-best__message {
  margin-top: 63px; padding: 0 var(--gutter);
  color: var(--c-green-deep); font-size: 24px; font-weight: 700; letter-spacing: .1em;
}
@media (max-width: 1150px) {
  .best-cards { flex-wrap: wrap; row-gap: 32px; }
}
@media (max-width: 767px) {
  .top-best { padding-top: 56px; }
  .top-best__logo { width: 220px; }
  .top-best__title { margin-top: 36px; font-size: 21px; }
  .best-cards { flex-direction: column; align-items: center; gap: 24px; padding: 0 var(--gutter); }
  .best-card { width: 100%; max-width: 335px; }
  .best-card__body { height: auto; padding: 44px 10px 24px 18px; }
  .best-card__en { font-size: 34px; }
  .top-best__message { margin-top: 44px; font-size: 15px; line-height: 1.8; letter-spacing: 0; }
}

/* ---------- お知らせ ---------- */
.top-news-wrap { margin-top: 94px; border-top: 1px solid #000; }
.top-news { display: flex; width: min(815px, 100% - var(--gutter) * 2); margin: 53px auto; }
.top-news__head { flex: none; width: 208px; }
.top-news__en { display: block; font-size: 32px; font-weight: 700; }
.top-news__ja { display: block; font-size: 16px; font-weight: 700; }
.top-news__list { flex: 1; margin-top: 6px; border-top: 1px solid #000; border-bottom: 1px solid #000; }
/* 1件ぶんの行。ページがあるお知らせは <a class="top-news__row">、ないものは <div class="top-news__row"> にする */
.top-news__row {
  display: flex; align-items: center;
  min-height: 65px; padding: 0 22px 0 11px;
  color: inherit; text-decoration: none;
}
a.top-news__row::after {
  content: ""; flex: none; width: 8px; height: 8px; margin-left: 16px;
  border-top: 2px solid var(--c-green); border-right: 2px solid var(--c-green);
  transform: rotate(45deg);
}
a.top-news__row:hover .top-news__title { color: var(--c-green); text-decoration: underline; text-underline-offset: 3px; }
.top-news__date { flex: none; width: 114px; font-size: 14px; font-weight: 700; }
.top-news__title { flex: 1; font-size: 16px; font-weight: 700; }
@media (max-width: 767px) {
  .top-news-wrap { margin-top: 56px; }
  .top-news { flex-direction: column; gap: 16px; margin: 40px auto; }
  .top-news__head { display: flex; align-items: baseline; gap: 12px; width: auto; }
  .top-news__en { font-size: 26px; }
  .top-news__ja { font-size: 14px; }
  .top-news__list { margin-top: 0; }
  .top-news__row { flex-wrap: wrap; padding: 14px 8px; }
  .top-news__date { width: 100%; font-size: 13px; }
  .top-news__title { font-size: 15px; }
}

/* ---------- お悩み・買取対象 ---------- */
.top-worries { padding: 75px var(--gutter) 66px; background: var(--c-gray); text-align: center; }
.top-worries__checks { display: inline-block; font-size: 24px; font-weight: 700; line-height: 44px; text-align: left; }
.top-worries__checks li { padding-left: 42px; background: url("../images/icon-check.svg") left center / 27px 22px no-repeat; }
.top-worries__arrow { width: 103px; margin: 22px auto 0; transform: scaleY(-1); }
.top-worries__lead { margin-top: 45px; font-size: 32px; font-weight: 700; line-height: 40px; }
.top-worries__lead strong { display: block; margin-top: 6px; font-size: 44px; font-weight: 700; line-height: 56px; }
.top-worries .btn-row { gap: 24px; margin-top: 40px; }
.top-worries .btn-row .btn { width: 282px; }
.top-target {
  display: flex; justify-content: center; gap: 141px;
  width: min(1318px, 100%); margin: 81px auto 0; padding: 71px 0 73px;
  border-radius: 20px;
  background: var(--grid-lines), #fff;
}
.top-target__col { width: 336px; }
.top-target__title { font-size: 32px; font-weight: 700; }
.top-target__visual { position: relative; width: 100%; aspect-ratio: 1; margin-top: 20px; }
.top-target__ring { position: absolute; inset: 0; z-index: 1; width: 100%; height: 100%; }
/* 輪の内側に置く絵（位置と大きさは輪に対する割合） */
.top-target__map { position: absolute; top: 8.631%; left: 9.226%; width: 81.845%; }
.top-target__house { position: absolute; top: 28.571%; left: 19.643%; width: 59.524%; }
.top-target__text { margin-top: 10px; font-size: 18px; font-weight: 500; line-height: 30px; }
@media (max-width: 1023px) {
  .top-target { gap: 48px; padding: 56px 24px 48px; }
}
@media (max-width: 767px) {
  .top-worries { padding: 48px 16px 48px; }
  .top-worries__checks { font-size: 17px; line-height: 2; }
  .top-worries__checks li { padding-left: 30px; background-size: 20px 16px; }
  .top-worries__arrow { width: 80px; margin-top: 16px; }
  .top-worries__lead { margin-top: 24px; font-size: 20px; line-height: 1.5; }
  .top-worries__lead strong { margin-top: 4px; font-size: 27px; line-height: 1.4; }
  .top-worries .btn-row { gap: 12px; margin-top: 24px; }
  .top-worries .btn-row .btn { width: 280px; }
  .top-target { flex-direction: column; align-items: center; gap: 44px; margin-top: 44px; padding: 40px 16px; }
  .top-target__col { width: 100%; max-width: 300px; }
  .top-target__title { font-size: 24px; }
  .top-target__text { font-size: 16px; line-height: 1.8; }
}

/* ---------- 売却の流れ（トップ） ---------- */
.top-flow { padding: 123px var(--gutter) 108px; }
.top-flow .deco-head { --title-x: 479px; --en-x: 332px; --en-top: -27px; }
.flow-steps {
  padding: 0; list-style: none;
  display: grid; grid-template-columns: repeat(4, 215px); column-gap: 33px;
  justify-content: center; margin-top: 138px;
}
.flow-step {
  position: relative;
  height: 139px; padding-top: 30px;
  border: 2px solid var(--c-green-muted); border-radius: 10px;
  background: #fff; text-align: center;
}
.flow-step__icon {
  position: absolute; z-index: 1;
  top: var(--icon-top); left: var(--icon-left); width: var(--icon-w);
}
.flow-step:nth-child(1) { --icon-top: -90px; --icon-left: 48px; --icon-w: 120px; }
.flow-step:nth-child(2) { --icon-top: -78.5px; --icon-left: 44.8px; --icon-w: 125.4px; }
.flow-step:nth-child(3) { --icon-top: -72px; --icon-left: 55.4px; --icon-w: 106.7px; }
.flow-step:nth-child(4) { --icon-top: -72.9px; --icon-left: 48.2px; --icon-w: 121.2px; }
.flow-step:not(:last-child)::after {
  content: ""; position: absolute; top: 50%; left: calc(100% - 2px);
  width: 32px; height: 14.73px; margin-top: -7.36px;
  background: url("../images/flow-arrow.svg") center / contain no-repeat;
}
.flow-step__no { color: var(--c-green-muted); font-size: 18px; font-weight: 700; }
.flow-step__title { margin-top: 14px; font-size: 24px; font-weight: 700; }
.flow-total { position: relative; width: 959px; height: 122px; margin: 0 auto; }
.flow-total__arrow { position: absolute; top: 73.5px; left: 6px; width: 762px; }
.flow-total__label { position: absolute; top: 2px; left: 871px; transform: translateX(-50%); }
.flow-days {
  color: var(--c-green-muted); font-weight: 700; line-height: 60px;
  text-align: center; white-space: nowrap;
}
.flow-days span { display: block; font-size: 20px; }
.flow-days em { font-size: 28px; font-style: normal; }
.flow-days strong { font-size: 64px; }
.top-flow .btn { display: flex; margin: 50px auto 0; }
@media (max-width: 1023px) {
  .top-flow { padding: 110px var(--gutter) 100px; }
  .flow-steps { grid-template-columns: minmax(0, 520px); row-gap: 34px; margin-top: 56px; }
  .flow-step {
    display: flex; flex-direction: column; justify-content: center;
    height: 92px; padding: 0 16px 0 112px; text-align: left;
  }
  .flow-step__icon { top: 50%; left: 18px; width: 76px; max-height: 70px; object-fit: contain; transform: translateY(-50%); }
  .flow-step:not(:last-child)::after {
    top: calc(100% + 6px); left: 50%;
    margin: 0 0 0 -16px; transform: rotate(90deg);
  }
  .flow-step__title { margin-top: 2px; }
  .flow-total { width: auto; height: auto; margin-top: 28px; }
  .flow-total__arrow { display: none; }
  .flow-total__label { position: static; transform: none; }
  .top-flow .btn { margin-top: 40px; }
}
@media (max-width: 767px) {
  .top-flow { padding: 84px var(--gutter) 72px; }
  .flow-step { height: 84px; padding-left: 96px; }
  .flow-step__icon { left: 14px; width: 66px; max-height: 60px; }
  .flow-step__no { font-size: 15px; }
  .flow-step__title { font-size: 20px; }
  .flow-days { line-height: 1.3; }
  .flow-days strong { font-size: 52px; }
}

/* ---------- よくある質問（トップ／FAQページ共通の開閉） ---------- */
.faq-item summary { list-style: none; cursor: pointer; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item__q {
  display: grid; grid-template-columns: 74px 1fr 62px; align-items: center;
  min-height: 74px;
}
.faq-item__q::before {
  content: "Q"; justify-self: center;
  font-size: 24px; font-weight: 700;
}
.faq-item__q::after {
  content: "\25BC"; justify-self: center;
  font-size: 16px; font-weight: 700;
  transition: transform .25s;
}
.faq-item[open] .faq-item__q::after { transform: rotate(180deg); }
.faq-item__text { padding: 10px 0; font-size: 18px; font-weight: 700; }
.faq-item__a { position: relative; margin: 0 38px 0 74px; padding: 25px 0 27px; border-top: 1px solid var(--c-green); }
.faq-item__a::before {
  content: "A"; position: absolute; top: 25px; left: -39px; transform: translateX(-50%);
  color: var(--c-orange); font-size: 24px; font-weight: 700; line-height: 1.2;
}
.faq-item__a p { font-size: 15px; line-height: 30px; }
.faq-item__a p + p { margin-top: 8px; }
@media (max-width: 767px) {
  .faq-item__q { grid-template-columns: 44px 1fr 36px; min-height: 64px; }
  .faq-item__q::before { font-size: 20px; }
  .faq-item__q::after { font-size: 13px; }
  .faq-item__text { padding: 14px 0; font-size: 15px; line-height: 1.6; }
  .faq-item__a { margin: 0 14px 0 44px; padding: 16px 0 20px; }
  .faq-item__a::before { top: 16px; left: -22px; font-size: 20px; }
  .faq-item__a p { font-size: 14px; line-height: 1.9; }
}

.top-faq { margin-bottom: 13px; padding: 62px var(--gutter) 72px; background: var(--c-beige); }
.top-faq .deco-head { --title-x: 464px; --en-x: 387.5px; --en-top: -71px; --en-color: #fffefc; }
.top-faq__list { display: grid; gap: 21px; width: min(820px, 100%); margin: 32px auto 0; }
/* PC：大きな「FAQ」の文字が1つ目の質問の箱に重ならないよう、文字を30px上げ、箱を32px下げる（2026年11月9日） */
@media (min-width: 1024px) { .top-faq__list { margin-top: 64px; } }
.top-faq .faq-item { background: #fff; }
.top-faq .faq-item__q::before { color: var(--c-green); }
.top-faq .btn { display: flex; margin: 40px auto 0; }
@media (max-width: 767px) {
  .top-faq { padding: 64px 16px 56px; }
  .top-faq__list { gap: 12px; margin-top: 28px; }
}

/* =========================================================
   中古住宅買取について（kaitori.html）
   ========================================================= */
.kaitori-lead {
  margin-top: 104px;
  font-size: 48px; font-weight: 700; line-height: 70px; text-align: center;
}
.best-sec { width: min(950px, 100% - var(--gutter) * 2); margin: 0 auto; }
.best-sec + .best-sec { margin-top: 159px; }
.best-sec:first-of-type { margin-top: 104px; }
.best-sec__head {
  position: relative; z-index: 1;
  display: flex; justify-content: space-between; align-items: flex-start;
  margin-bottom: -21.5px;
  color: var(--c-green);
}
.best-sec__en { font-size: 48px; font-weight: 700; }
.best-sec__ja { margin-top: 21px; font-size: 16px; font-weight: 700; }
.best-sec__band { padding: 34px 40px 23px 76px; background: var(--band-bg); font-size: 24px; font-weight: 700; }
.best-sec--speed { --band-bg: #e1f5f2; }
.best-sec--value { --band-bg: #ffefdb; }
.best-sec--process { --band-bg: #ebf4d1; }
.reason { display: grid; grid-template-columns: 185px 629px; align-items: center; margin: 39px 0 0 68px; }
.reason__label { position: relative; z-index: 0; justify-self: start; margin-left: 11px; font-size: 24px; font-weight: 700; }
.reason__label::before {
  content: ""; position: absolute; z-index: -1;
  left: -0.8em; right: -0.45em; bottom: 0.39em; height: 0.45em;
  background: var(--band-bg);
}
.reason__text { font-size: 18px; line-height: 30px; }
.reason__text strong { font-weight: 700; }

/* 仲介との期間比較 */
.compare {
  display: grid; grid-template-columns: 184px repeat(6, 110px); row-gap: 14px;
  margin: 51px 0 0 49px;
  font-size: 18px; font-weight: 700; text-align: center;
}
.compare__label { display: flex; align-items: center; justify-content: center; }
.compare__cell {
  display: flex; align-items: center; justify-content: center;
  height: 40px; padding: 0 4px;
  border: 1px solid #000; border-left: 0; background: #fff;
}
.compare__cell--first { border-left: 1px solid #000; }
.compare__cell--wide { grid-column: span 2; }
.compare__cell--skip { background: #e6ece9; }
.compare__label--ours { color: var(--c-green); }
/* 「早い！」：短くなった期間を、両端の縦棒と点線の矢印で示す */
.compare__fast {
  position: relative; grid-column: span 2; height: 40px;
  color: var(--c-green); font-size: 20px; line-height: 1.45; text-align: center;
}
/* 矢印と文字は、両端の縦棒のちょうど真ん中に置く */
.compare__fast-arrow { position: absolute; top: 23.6px; left: 50%; width: 202px; height: 14.73px; transform: translateX(-50%); }
.compare__fast::before,
.compare__fast::after {
  content: ""; position: absolute; top: -5px;
  width: 6px; height: 50px; background: var(--c-green);
}
.compare__fast::before { left: 0; }
.compare__fast::after { right: 0; }

/* 写真 */
.kaitori-photos { display: flex; justify-content: center; gap: 36px; margin-top: 30px; }
.kaitori-photos img { width: 350px; aspect-ratio: 350 / 263; object-fit: cover; }
.kaitori-photos__caption { margin-top: 48px; font-size: 18px; line-height: 30px; text-align: center; }

/* 仲介と買取の図 */
.deal-diagrams { display: flex; justify-content: center; gap: 107px; margin-top: 51px; }
.deal { display: flex; flex-direction: column; align-items: center; }
.deal__illust { display: flex; align-items: flex-end; height: 103px; }
.deal__illust img { width: var(--w); }
.deal__label { margin-top: 6px; font-size: 18px; font-weight: 700; }
.deal__label--ours { color: var(--c-green); }
.deal__circles { position: relative; display: flex; gap: 21px; margin-top: 14px; }
.deal__circles::before {
  content: ""; position: absolute; top: 50%; right: 64px; left: 64px;
  height: 1px; background: #000;
}
.deal__circle {
  position: relative;
  display: grid; place-items: center;
  width: 129px; height: 129px;
  border: 1px solid #000; border-radius: 50%; background: #fff;
  font-size: 18px; font-weight: 700; line-height: 45px; text-align: center;
}
.deal__circle--ours { background: #d2e8e4; }
.deal__equal { position: absolute; top: 50%; left: 50%; width: 8px; transform: translate(-50%, -50%); }
.dakara { margin-top: 28px; text-align: center; }
.dakara img { width: 103px; margin: 14.5px auto 0; transform: scaleY(-1); }
.dakara p { margin-top: 24px; font-size: 20px; font-weight: 700; }

/* だから〜のメリット */
.merits { display: grid; gap: 40px; width: min(903px, 100%); margin: 35px auto 0; }
.merit { display: grid; grid-template-columns: 228px 1fr; column-gap: 16px; align-items: start; }
.merit__img { justify-self: center; width: var(--w); }
.merit__title { font-size: 20px; font-weight: 700; }
.merit__text { margin-top: 7px; padding-left: 4px; font-size: 18px; line-height: 30px; }

/* 売却の流れ（詳細） */
.kaitori-flow { margin: 214px 0 8px; padding: 68px var(--gutter) 114px; background: var(--c-beige); }
.kaitori-flow .deco-head { --title-x: 475px; --en-x: 311px; --en-top: -31px; --en-color: #fff; }
.flow-cards { position: relative; width: min(950px, 100%); margin: 51px auto 0; padding: 0; list-style: none; }
.flow-cards::after {
  content: ""; position: absolute; top: 48px; left: 850px;
  width: 14.73px; height: 718px;
  background: url("../images/kaitori-arrow-flow-v.svg") center / contain no-repeat;
}
.flow-card {
  position: relative;
  padding: 31px 30px 28px 65px;
  border: 2px solid var(--c-green-muted); border-radius: 10px; background: #fff;
}
.flow-card + .flow-card { margin-top: 66px; }
.flow-card + .flow-card::before {
  content: ""; position: absolute; top: -55.5px; left: 50%;
  width: 103px; height: 43.5px; margin-left: -51.5px;
  background: url("../images/triangle-down-step.svg") center / contain no-repeat;
  transform: scaleY(-1);
}
.flow-card__head { display: flex; font-size: 32px; font-weight: 700; }
.flow-card__no { width: 160px; color: var(--c-green-muted); }
.flow-card__text { max-width: 733px; margin-top: 0; padding-left: 9px; font-size: 18px; line-height: 30px; }
.flow-card:last-child .flow-card__text { max-width: 603px; }
.flow-cards__days { position: absolute; top: 33px; right: 43px; }
@media (max-width: 1023px) {
  .kaitori-lead { font-size: 34px; line-height: 1.6; }
  .reason { grid-template-columns: 1fr; margin-left: 0; }
  .reason__label { padding-top: 0; margin-left: 19px; }
  .reason__text { margin-top: 8px; }
  .compare {
    grid-template-columns: repeat(6, minmax(0, 1fr)); row-gap: 8px;
    margin-left: 0; font-size: 15px;
  }
  .compare__label { grid-column: 1 / -1; justify-content: flex-start; margin-top: 8px; }
  .compare__cell { height: auto; min-height: 40px; padding: 4px 2px; line-height: 1.3; }
  .compare__fast { padding: 2px 0 0; font-size: inherit; text-align: center; }
  .compare__fast-arrow { top: auto; bottom: 3px; width: calc(100% - 20px); height: auto; }
  .deal-diagrams { flex-wrap: wrap; gap: 48px; }
  .flow-cards::after { display: none; }
  .flow-card:last-child .flow-card__text { max-width: none; }
  .flow-cards__days { position: static; margin-top: 16px; }
}
@media (max-width: 767px) {
  .kaitori-lead { margin-top: 56px; padding: 0 var(--gutter); font-size: 22px; line-height: 1.7; }
  .best-sec:first-of-type { margin-top: 64px; }
  .best-sec + .best-sec { margin-top: 88px; }
  .best-sec__head { flex-direction: column; margin-bottom: -10px; }
  .best-sec__en { font-size: 32px; line-height: 1.3; }
  .best-sec__ja { order: -1; margin-top: 0; font-size: 14px; }
  .best-sec__band { padding: 24px 16px 16px; font-size: 17px; line-height: 1.6; }
  .reason { margin-top: 28px; }
  .reason__label { font-size: 19px; }
  .reason__text { font-size: 15px; line-height: 1.9; }
  .compare { margin-top: 32px; font-size: 11px; letter-spacing: -.08em; }
  .compare__cell { padding: 4px 0; }
  .compare__label { font-size: 14px; }
  .kaitori-photos { flex-direction: column; align-items: center; gap: 12px; }
  .kaitori-photos img { width: 100%; max-width: 400px; }
  .kaitori-photos__caption { margin-top: 20px; font-size: 15px; line-height: 1.8; text-align: left; }
  .deal-diagrams { flex-direction: column; align-items: center; gap: 36px; margin-top: 36px; }
  .deal__label { font-size: 15px; }
  .deal__circles { gap: 12px; }
  .deal__circles::before { right: 45px; left: 45px; }
  .deal__circle { width: 90px; height: 90px; font-size: 14px; line-height: 30px; }
  .deal__equal { width: 6px; margin-top: 2px; }
  .dakara img { width: 80px; }
  .dakara p { margin-top: 16px; font-size: 18px; }
  .merits { gap: 36px; margin-top: 28px; }
  .merit { grid-template-columns: 1fr; row-gap: 12px; }
  .merit__img { width: min(var(--w), 180px); }
  .merit__title { font-size: 17px; line-height: 1.6; }
  .merit__text { padding-left: 0; font-size: 15px; line-height: 1.9; }
  .kaitori-flow { margin-top: 100px; padding: 64px 16px 72px; }
  .flow-cards { margin-top: 40px; }
  .flow-card { padding: 22px 18px 20px; }
  .flow-card + .flow-card { margin-top: 48px; }
  .flow-card + .flow-card::before { top: -40px; width: 64px; height: 27px; margin-left: -32px; }
  .flow-card__head { flex-direction: column; font-size: 21px; }
  .flow-card__no { width: auto; font-size: 16px; }
  .flow-card__text { margin-top: 10px; padding-left: 0; font-size: 15px; line-height: 1.9; }
  .flow-cards__days { text-align: center; }
}

/* =========================================================
   買取事例・お客様の声（voice.html）
   ========================================================= */
.voice-body { margin-top: 48px; padding: 47px var(--gutter) 0; background: var(--grid-lines), var(--c-tint); }
.voice-body__lead { font-size: 16px; font-weight: 700; text-align: center; }
.voice-card {
  width: min(1187px, 100%); margin: 37px auto 0; padding: 64px 0;
  border-radius: 80px; background: #fff;
}
.voice-card + .voice-card { margin-top: 70px; }
.voice-card--reason { padding: 48px 0 43px; }
.voice-card__title { font-size: 24px; font-weight: 700; text-align: center; }

/* 売却の経緯（円グラフ） */
.pie { position: relative; width: min(500px, 100%); aspect-ratio: 1; margin: 30px auto 0; container-type: inline-size; }
.pie__chart { width: 100%; }
.pie__label {
  position: absolute; transform: translateX(-50%);
  color: var(--c-green-muted); font-size: clamp(11px, 4cqw, 20px); font-weight: 700; white-space: nowrap;
}
.pie__img { position: absolute; }

/* お客様の声（吹き出し） */
.voices { display: grid; gap: 32px; width: min(703px, 100% - 32px); margin: 30px auto 0; }
/* デザインでは、人物＋吹き出しのまとまりが少し左寄せ（吹き出しの左端が x=497） */
@media (min-width: 1024px) { .voices { position: relative; left: -22.5px; } }
.voice { display: grid; grid-template-columns: 151px 1fr; align-items: start; }
.voice__person { position: relative; width: 128px; text-align: center; }
.voice__avatar { display: flex; align-items: flex-end; justify-content: center; height: 105px; }
.voice__avatar img { width: var(--w); max-width: none; }
.voice__avatar--circle { position: relative; align-items: flex-start; height: 100px; }
.voice__avatar--circle::before {
  content: ""; position: absolute; top: 0; left: 14px;
  width: 100px; height: 100px; border-radius: 50%; background: #f5f1ed;
}
.voice__avatar--circle img { position: relative; margin-top: var(--top, 0); }
.voice__name { margin-top: 7px; font-size: 14px; font-weight: 700; }
.voice--circle .voice__name { margin-top: 12px; }
.voice__bubble {
  position: relative;
  padding: 22px 26px 26px 37px;
  border: 2px solid var(--c-green); border-radius: 26px;
  font-size: 16px; line-height: 28px;
}
.voice__bubble::before {
  content: ""; position: absolute; top: 37px; left: -41px;
  width: 39px; height: 2px; background: var(--c-green);
}
.voice__bubble strong { font-weight: 700; }

/* 買取事例写真 */
.cases { margin: 87px calc(var(--gutter) * -1) 0; padding: 69px var(--gutter) 59px; background: rgba(255, 255, 255, .5); }
.cases__title { font-size: 24px; font-weight: 700; text-align: center; }
.cases__list { display: flex; justify-content: center; gap: 35px; margin-top: 36px; }
.cases__item { width: 350px; }
.cases__item img { width: 100%; aspect-ratio: 350 / 263; object-fit: cover; }
.cases__item figcaption { margin-top: 7px; font-size: 16px; line-height: 24px; }
.cases__note {
  width: min(876px, 100%); margin: 57px auto 0; padding: 15px 68px 13px 75px;
  background: #fff; font-size: 16px; line-height: 28px;
}
@media (max-width: 1199px) {
  .cases__list { gap: 20px; }
}
@media (max-width: 767px) {
  .voice-body { margin-top: 32px; padding: 32px 12px 0; }
  .voice-body__lead { font-size: 14px; line-height: 1.8; text-align: left; }
  .voice-card { margin-top: 28px; padding: 40px 0; border-radius: 32px; }
  .voice-card + .voice-card { margin-top: 32px; }
  .voice-card--reason { padding: 40px 12px; }
  .voice-card__title { font-size: 20px; }
  .voices { gap: 28px; width: calc(100% - 24px); margin-top: 24px; }
  .voice { grid-template-columns: 84px 1fr; column-gap: 8px; }
  .voice__person { width: 84px; }
  .voice__avatar { height: 72px; }
  .voice__avatar img { width: calc(var(--w) * .66); }
  .voice__avatar--circle { height: 66px; }
  .voice__avatar--circle::before { left: 9px; width: 66px; height: 66px; }
  .voice__avatar--circle img { margin-top: calc(var(--top, 0px) * .66); }
  .voice__name { font-size: 11px; }
  .voice__bubble { padding: 14px 14px 16px; border-radius: 18px; font-size: 14px; line-height: 1.85; }
  .voice__bubble::before { display: none; }
  .cases { margin: 48px -12px 0; padding: 48px 12px 48px; }
  .cases__title { font-size: 20px; }
  .cases__list { flex-direction: column; align-items: center; gap: 24px; margin-top: 24px; }
  .cases__item { width: 100%; max-width: 400px; }
  .cases__note { margin-top: 32px; padding: 16px; font-size: 14px; line-height: 1.85; }
}

/* =========================================================
   会社情報（company.html）
   ========================================================= */
.company { width: min(950px, 100% - var(--gutter) * 2); margin: 89px auto 139px; }
.company-sec + .company-sec { margin-top: var(--gap, 125px); }
.company-sec__title {
  display: flex; align-items: center; gap: 35px;
  margin-left: -1px; padding-right: 13px;
  font-size: 24px; font-weight: 700;
}
.company-sec__title::after { content: ""; flex: 1; height: 2px; background: #000; }
.company-table {
  width: min(681px, 100%); margin: 55px 0 0 146px;
  border-collapse: collapse;
  font-size: 16px; line-height: 30px;
}
.company-table th,
.company-table td { padding: 15px 11px 14px; border-top: 1px solid #000; border-bottom: 1px solid #000; text-align: left; vertical-align: top; }
.company-table th { width: 235px; font-weight: 400; }
.company-table td { padding-left: 0; }
.company-table--history { margin-top: 59px; }
.company-table--history th { width: 150px; }
.company-philosophy { margin: 35px 0 0 280px; }
.company-philosophy__title { font-size: 32px; font-weight: 700; line-height: 40px; }
.company-philosophy__text { margin-top: 10px; font-size: 20px; font-weight: 500; line-height: 36px; }
.company-map { display: block; width: 100%; height: 339px; margin-top: 22px; border: 0; }
.company-access { margin-top: 10px; font-size: 16px; font-style: normal; }
.company-access__freedial { display: inline-block; width: auto; height: .8em; margin-right: .3em; vertical-align: -.05em; }
@media (max-width: 1023px) {
  .company-table { margin-left: 0; width: 100%; }
  .company-philosophy { margin-left: 0; text-align: center; }
}
@media (max-width: 767px) {
  .company { margin: 56px auto 88px; }
  .company-sec + .company-sec { margin-top: 72px; }
  .company-sec__title { gap: 16px; padding-right: 0; font-size: 20px; }
  .company-table { margin-top: 24px; font-size: 14px; line-height: 1.7; }
  .company-table th, .company-table td { padding: 12px 8px; }
  .company-table th { width: 96px; }
  .company-table td { padding-left: 0; }
  .company-table--history th { width: 82px; }
  .company-philosophy { margin-top: 28px; }
  .company-philosophy__title { font-size: 22px; line-height: 1.5; }
  .company-philosophy__text { margin-top: 12px; font-size: 15px; line-height: 2; }
  .company-map { height: 260px; }
  .company-access { font-size: 14px; line-height: 1.8; }
}

/* =========================================================
   よくある質問（faq.html）
   ========================================================= */
.faq-list { display: grid; gap: 25px; width: min(820px, 100% - var(--gutter) * 2); margin: 79px auto 124px; }
.faq-list .faq-item { border: 1px solid var(--c-green); background: #fff; }
.faq-list .faq-item__q { min-height: 74px; }
.faq-list .faq-item__q::before { color: var(--c-green); }
.faq-list .faq-item__q::after { color: var(--c-green-muted); }
.faq-list--main { margin-bottom: 96px; }
.faq-group { width: min(820px, 100% - var(--gutter) * 2); margin: 0 auto 124px; }
.faq-group__title { display: flex; align-items: center; gap: 24px; font-size: 24px; font-weight: 700; }
.faq-group__title::after { content: ""; flex: 1; height: 2px; background: #000; }
.faq-group .faq-list { width: 100%; margin: 32px 0 0; }
@media (max-width: 767px) {
  .faq-list { gap: 12px; margin: 48px auto 72px; }
  .faq-list--main { margin-bottom: 56px; }
  .faq-group { margin-bottom: 72px; }
  .faq-group__title { gap: 16px; font-size: 20px; }
  .faq-group .faq-list { margin-top: 20px; }
}

/* =========================================================
   個人情報保護方針（privacy.html）
   ========================================================= */
.policy-title { margin-top: 114px; font-size: 36px; font-weight: 700; text-align: center; }
.policy {
  width: min(950px, 100% - var(--gutter) * 2); margin: 105px auto 117px;
  font-size: 16px; line-height: 28px;
}
.policy h2 {
  margin: 48px 0 14px; padding-bottom: 10px;
  border-bottom: 1px solid #d6d6d6;
  font-size: 18px; font-weight: 700; line-height: 1.5;
}
/* 見出しの中の箇条書きは (1)(2)…、さらにその中は a. b. … */
.policy ol { padding-left: 2.6em; list-style: none; counter-reset: item; }
.policy ol > li { position: relative; counter-increment: item; }
.policy ol > li::before { content: "(" counter(item) ")"; position: absolute; right: calc(100% + .4em); white-space: nowrap; }
.policy ol ol { padding-left: 2em; counter-reset: sub; }
.policy ol ol > li { counter-increment: sub; }
.policy ol ol > li::before { content: counter(sub, lower-alpha) "."; }
/* 段落や箇条書きが続くところは、少しすき間を空ける（:where で弱くして、制定日などの個別の余白を優先） */
:where(.policy) > :is(p, ol) + :is(p, ol) { margin-top: 10px; }
.policy .is-empty { color: #888; }
.policy a { color: var(--c-green); text-decoration: underline; text-underline-offset: 3px; overflow-wrap: anywhere; }
.policy a:hover { text-decoration: none; }
.policy-note { margin-top: 12px; }
.policy-date { margin-top: 56px; text-align: right; }
/* お知らせのページ（news/*.html）。本文の見た目は .policy を使い、日付・まとめの箱・署名だけ足す */
.news-article__date { color: #666; font-size: 14px; }
.news-article .news-article__date + p { margin-top: 24px; }
.news-article .news-article__box { margin-top: 28px; padding: 18px 24px; border-radius: 10px; background: var(--c-beige); }
.news-article .news-article__sign { margin-top: 40px; text-align: right; }
.news-article .news-article__more { margin-top: 48px; }
.news-article .news-article__back { margin-top: 16px; }

/* 外部送信のページ（external-transmission.html）：サービスごとの枠 */
.policy-service { margin-top: 20px; border: 1px solid #d6d6d6; border-radius: 8px; overflow: hidden; }
.policy-service__name { padding: 12px 24px; background: var(--c-beige); font-size: 16px; font-weight: 700; line-height: 1.6; }
.policy-service__list > div { display: grid; grid-template-columns: 180px 1fr; gap: 24px; padding: 14px 24px; border-top: 1px solid #e6e6e6; }
.policy-service__list dt { font-weight: 700; }
@media (max-width: 1023px) {
  .policy-title { padding: 0 var(--gutter); line-height: 1.5; }
}
@media (max-width: 767px) {
  .policy-title { margin-top: 48px; font-size: 24px; }
  .policy { margin: 40px auto 72px; font-size: 14px; line-height: 1.9; }
  .policy h2 { margin-top: 40px; font-size: 16px; }
  .policy ol { padding-left: 2.4em; }
  .policy-date { margin-top: 40px; }
  .news-article .news-article__box { padding: 14px 16px; }
  .policy-service { margin-top: 16px; }
  .policy-service__name { padding: 10px 16px; font-size: 15px; }
  .policy-service__list > div { grid-template-columns: 1fr; gap: 2px; padding: 12px 16px; }
  .policy-service__list dt { color: var(--c-green); font-size: 13px; }
}

/* =========================================================
   無料買取査定・ご相談（satei.html）。お問い合わせ（contact.html）もこの見た目を使う
   ========================================================= */
.contact { width: min(820px, 100% - var(--gutter) * 2); margin: 64px auto 120px; }
/* フォームの上の安心材料（✓付きで横に並べる） */
.contact__promise {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 36px;
  padding: 18px 24px; border-radius: 10px; background: var(--c-beige);
  list-style: none;
}
.contact__promise li { display: flex; align-items: center; gap: 8px; font-size: 16px; font-weight: 700; }
.contact__promise li::before {
  content: ""; flex: none; width: 20px; height: 20px; border-radius: 50%;
  background: var(--c-green) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.3 2.3 4.7-4.9' fill='none' stroke='%23fff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.contact__note { margin-top: 20px; font-size: 15px; line-height: 1.8; text-align: center; }
.contact__note .form__badge { margin-right: 2px; vertical-align: 1px; }
.contact__note a { color: var(--c-green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.contact__note a:hover { text-decoration: none; }
.form { margin-top: 48px; }
.form__section {
  margin-top: 56px; padding-bottom: 12px;
  border-bottom: 2px solid var(--c-green);
  color: var(--c-green); font-size: 20px; font-weight: 700;
}
.form > .form__section:first-of-type { margin-top: 0; }
/* 見出しのすぐ下の注意書き（査定フォームの「物件について」の築年数・駐車場の条件）。
   目に入るよう薄いベージュの箱に入れるが、入力の誤り（赤）と見分けがつくよう、警告の色にはしない */
.form__section-note {
  margin-top: 16px; padding: 12px 16px;
  border-left: 4px solid var(--c-green); border-radius: 4px;
  background: var(--c-beige);
  color: #222; font-size: 15px; line-height: 1.7;
  word-break: keep-all; overflow-wrap: anywhere; /* 折り返しは「、」の後だけにする */
}
.form__section-note strong { font-weight: 700; }
@media (max-width: 767px) { .form__section-note { padding: 10px 12px; font-size: 14px; } }
.form__row {
  display: grid; grid-template-columns: 240px 1fr; gap: 24px;
  padding: 24px 0; border-bottom: 1px solid #ccc;
  scroll-margin-top: calc(var(--header-h) + 24px);
}
.form__label { display: flex; align-items: flex-start; gap: 10px; padding-top: 10px; font-size: 16px; font-weight: 700; }
.form__badge {
  flex: none; padding: 2px 8px; border-radius: 3px;
  font-size: 12px; font-weight: 700; line-height: 1.6;
}
.form__badge--req { background: var(--c-orange); color: #fff; }
.form__badge--opt { background: #e6e6e6; color: #555; }
/* 文字を入れる欄は、欄の中の右端に印を出す。入力が済んだら緑のチェック（枠線もうっすら緑）、誤りがあれば赤の「!」 */
.form__control { position: relative; }
.form__control--zip { width: 200px; }
.form__ok,
.form__ng {
  position: absolute; top: 50%; right: 12px; width: 22px; height: 22px; margin-top: -11px;
  border-radius: 50%; background: var(--c-green); pointer-events: none;
  transform: scale(0); transition: transform .2s ease;
}
.form__ok::after {
  content: ""; position: absolute; left: 8px; top: 4px; width: 6px; height: 11px;
  border: solid #fff; border-width: 0 2px 2px 0; transform: rotate(45deg);
}
.form__ng { background: #c0392b; }
.form__ng::after {
  content: "!"; position: absolute; inset: 0;
  color: #fff; font-size: 15px; font-weight: 700; line-height: 22px; text-align: center;
}
.form__row.is-ok .form__ok,
.form__row.is-error .form__ng { transform: scale(1); }
@media (prefers-reduced-motion: reduce) { .form__ok, .form__ng { transition: none; } }
.form__control--textarea .form__ok,
.form__control--textarea .form__ng { top: 12px; margin-top: 0; }
/* PCの選択肢は、項目名（同意欄は「同意する」）の横にチェックを出す */
.form__ok--inline { position: relative; top: auto; right: auto; flex: none; margin-top: 1px; }
.form__choices .form__ok--inline { margin-top: 0; }
.form__control .form__input,
.form__control .form__textarea { padding-right: 44px; }
.form__row.is-ok .form__input,
.form__row.is-ok .form__textarea { border-color: rgba(0, 109, 92, .55); }
.form__field { min-width: 0; }
.form__input,
.form__textarea {
  width: 100%; padding: 12px 14px;
  border: 1px solid #bdbdbd; border-radius: 6px; background: #fff;
  font-size: 16px; line-height: 1.5;
  transition: border-color .2s, box-shadow .2s;
}
.form__input:focus,
.form__textarea:focus { outline: none; border-color: var(--c-green); box-shadow: 0 0 0 3px rgba(0, 109, 92, .15); }
.form__textarea { display: block; min-height: 180px; resize: vertical; }
.form__input.form__zip { display: block; width: 200px; }
/* メールアドレスの「もしかして…」 */
.form__suggest { margin-top: 8px; color: #333; font-size: 14px; }
.form__suggest strong { color: var(--c-green); overflow-wrap: anywhere; }
.form__suggest button {
  margin-left: 8px; padding: 3px 12px;
  border: 1px solid var(--c-green); border-radius: 4px; background: #fff;
  color: var(--c-green); font-size: 13px; font-weight: 700; cursor: pointer;
}
.form__suggest button:hover { background: var(--c-green); color: #fff; }
.form__zip-status { margin-top: 8px; color: var(--c-green); font-size: 13px; font-weight: 700; }
.form__zip-status:empty { display: none; }
.form__zip-status.is-error { color: #c0392b; }
/* PCの選択肢は ● と文字だけ（マウスなら小さくても押しやすいので、すっきり見せる） */
.form__choices { display: flex; flex-wrap: wrap; gap: 12px 28px; padding-top: 10px; }
.form__choices--stack { flex-direction: column; }
.form__choices label { display: flex; align-items: center; gap: 8px; font-size: 16px; cursor: pointer; }
.form__choices input { flex: none; width: 18px; height: 18px; margin: 0; accent-color: var(--c-green); }
.form__nowrap { display: inline-block; white-space: nowrap; }
.form__agree-note { padding-top: 10px; font-size: 15px; }
/* 同意欄は左右に分けず、送信ボタンのすぐ上に中央でまとめる */
.form__row.form__row--agree { display: block; padding-bottom: 0; border-bottom: 0; text-align: center; }
.form__row--agree .form__agree-note { padding-top: 0; }
.form__row--agree .form__choices { justify-content: center; align-items: center; }
.form__row--agree .form__badge { margin-left: 2px; }
.form__agree-note a { color: var(--c-green); font-weight: 700; }
/* 「ご希望の連絡方法」と「連絡のつきやすい時間帯」をひとまとまりに見せる */
.form__row--has-sub { padding-bottom: 6px; border-bottom: 0; }
.form__row--sub { padding-top: 6px; }
.form__row--sub .form__label { color: #555; font-size: 14px; font-weight: 500; }
/* 入力漏れの表示 */
.form__error { margin-top: 8px; color: #c0392b; font-size: 14px; font-weight: 700; }
.form__row.is-error .form__label { color: #c0392b; }
.form__row.is-error .form__input,
.form__row.is-error .form__textarea { border-color: #c0392b; background: #fff8f7; }
.form__errors {
  margin-top: 36px; padding: 18px 22px;
  border: 2px solid #c0392b; border-radius: 8px; background: #fff8f7;
  color: #c0392b; font-size: 15px;
}
.form__errors-title { font-weight: 700; }
.form__errors ul { margin-top: 6px; padding-left: 1.3em; list-style: disc; }
.form__errors button {
  padding: 0; border: 0; background: none; color: inherit;
  font: inherit; text-decoration: underline; cursor: pointer;
}
.form__submit { margin-top: 32px; text-align: center; }
.form__submit .btn { border: 0; cursor: pointer; appearance: none; font-family: inherit; }
/* タブレット・スマホの選択肢は、指で押しやすいよう1つずつ枠で囲んで縦1列に並べる
   （枠のどこを押しても選べる。選んだものは緑の枠＝文字の欄と同じ「済んだら緑」） */
@media (max-width: 1023px) {
  .form__choices { flex-direction: column; gap: 8px; padding-top: 0; }
  .form__choices label {
    gap: 10px; padding: 12px 14px;
    border: 1px solid #bdbdbd; border-radius: 6px; background: #fff; line-height: 1.5;
    transition: border-color .2s, background-color .2s, box-shadow .2s;
  }
  .form__choices label:focus-within { box-shadow: 0 0 0 3px rgba(0, 109, 92, .15); }
  .form__choices label.is-checked { border-color: var(--c-green); background: rgba(0, 109, 92, .06); }
  .form__row.is-error .form__choices label { border-color: #c0392b; background: #fff8f7; }
  .form__agree-note + .form__choices { margin-top: 10px; }
  .form__ok--inline { display: none; }
}
@media (max-width: 767px) {
  .contact { margin: 40px auto 72px; }
  .contact__promise { flex-direction: column; align-items: flex-start; gap: 8px; width: fit-content; margin: 0 auto; padding: 14px 20px; }
  .contact__promise li { font-size: 15px; }
  .contact__note { margin-top: 14px; font-size: 14px; }
  .form { margin-top: 32px; }
  .form__section { margin-top: 40px; font-size: 18px; }
  .form__row { grid-template-columns: 1fr; gap: 10px; padding: 18px 0; }
  .form__label { padding-top: 0; font-size: 15px; }
  .form__choices label { font-size: 15px; }
  .form__agree-note { padding-top: 0; font-size: 14px; }
  .form__row--has-sub { padding-bottom: 4px; }
  .form__row--sub { padding-top: 4px; }
  .form__errors { padding: 14px 16px; font-size: 14px; }
}

/* =========================================================
   スクロールでふわっと表示
   ========================================================= */
.js .js-reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s ease, transform .8s ease; }
.js .js-reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .js-reveal { opacity: 1; transform: none; transition: none; }
  .btn, .cta-contact__link { transition: none; }
}

/* =========================================================
   送信完了（satei-thanks.html と contact-thanks.html）
   ========================================================= */
.thanks { width: min(820px, 100% - var(--gutter) * 2); margin: 64px auto 120px; text-align: center; }
.thanks__lead { font-size: 18px; font-weight: 700; line-height: 1.9; }
.thanks__mail { margin-top: 20px; color: #555; font-size: 15px; line-height: 1.9; }
.thanks__box {
  width: min(640px, 100%); margin: 44px auto 0; padding: 28px 36px;
  border-radius: 10px; background: var(--c-beige);
  color: #444; font-size: 15px; line-height: 1.9; text-align: left;
}
.thanks__box p + p { margin-top: 6px; }
.thanks__box-title { margin-bottom: 4px; color: var(--c-green); font-size: 16px; font-weight: 700; }
.thanks__box a:not([href^="tel:"]) { color: var(--c-green); font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }
.thanks__box a:not([href^="tel:"]):hover { text-decoration: none; }
.thanks__box .thanks__tel { margin-top: 16px; padding-top: 16px; border-top: 1px solid #ddd8c9; color: #000; }
.thanks__tel a { color: var(--c-green); font-size: 20px; font-weight: 700; text-decoration: none; }
.thanks__btn { margin-top: 52px; }
@media (max-width: 767px) {
  .thanks { margin: 40px auto 72px; }
  .thanks__lead { font-size: 16px; }
  .thanks__mail { font-size: 14px; }
  .thanks__box { margin-top: 32px; padding: 20px 18px; font-size: 14px; }
  .thanks__btn { margin-top: 36px; }
}
