/* =========================================================
   top.css — サイト固有CSS（広島 家づくり比較ガイド）
   Figma：有限会社山尾工務店御中 / Frame 1:2
   =========================================================
   【色のルール（CSS_GUIDE.md）】
   ・サイトの色は「管理画面 ＞ 設定 ＞ サイト情報設定 ＞ サイトカラー設定」で入力する
     （このサイトの設定値は README「このサイトの設定値」参照）
   ・hex は変数の定義行（下の --top-*）だけ。プロパティへの直書きは禁止
   ・横はみ出し対策は overflow-x: clip（hidden は sticky を殺すので禁止）
   ========================================================= */


/* ---------------------------------------------------------
   ① サイト固有トークン（管理画面のカラー設定に無い色だけ）
   --------------------------------------------------------- */
:root {
  --top-paper:        #fffdf8;               /* 生成り白：カード・白セクション背景 */
  --top-green-soft:   #e5ebdf;               /* 比較表セクション背景・リスト丸 */
  --top-gold-light:   #e3c79c;               /* 家族カードの矢印 */
  --top-pattern-base: #ece4d4;               /* 画像枠のストライプ下地 */
  --top-pattern-line: rgba(78, 106, 75, 0.06);
  --top-shadow:       rgba(47, 61, 46, 0.25);
  --top-footer-lead:  #c2c9b8;
  --top-footer-link:  #dfe3d6;
  --top-footer-sub:   #a9b19e;

  --font: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-mincho: "Zen Old Mincho", "Noto Serif JP", serif;
  --font-gothic: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;
  --font-en: "Cormorant Garamond", serif;
  --top-wrap: 1200px;
  --top-gutter: 32px;
}

/* ① 緊急時のサイトカラー上書き（通常は管理画面で設定する）
:root {
  --color-main: ...;
}
*/


/* ---------------------------------------------------------
   ② TOPページ共通
   --------------------------------------------------------- */
body.home { overflow-x: clip; }

.top-page {
  display: block;
  color: var(--color-text);
  font-family: var(--font-gothic);
  letter-spacing: 0.06em;
  overflow-x: clip;
}

:where(.top-page) :where(p, h1, h2, h3, h4, dl, dd) { margin: 0; }

.top-container {
  width: min(var(--top-wrap), calc(100% - var(--top-gutter) * 2));
  margin: 0 auto;
}

/* 画像枠：ストライプのプレースホルダー＋画像はcover */
.top-pattern {
  position: relative;
  overflow: hidden;
  background-color: var(--top-pattern-base);
  background-image: repeating-linear-gradient(135deg, var(--top-pattern-line) 0 8px, transparent 8px 16px);
}

.top-pattern > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* 画像上の引用元（hikaku_render_cite）をオーバーレイ表示 */
.top-company__hero > .cite-note {
  position: absolute;
  left: 0;
  bottom: 6px;
  z-index: 1;
  margin: 0;
  padding: 2px 10px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--top-paper) 75%, transparent);
  color: var(--color-text-mid);
  font-size: 11px;
  line-height: 2;
  letter-spacing: 0.08em;
  text-align: left;
}

.top-page .cite-note,
.top-page .cite-note a { color: var(--color-text-mid); }

/* セクション見出し */
.top-section { padding: 63px 0 160px; }

.top-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 72px;
  text-align: center;
}

.top-heading__en {
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 22px;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.14em;
}

.top-heading__title {
  margin-top: 20px;
  color: var(--color-text);
  font-family: var(--font-mincho);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.top-heading__title::after {
  content: "";
  display: block;
  width: 1px;
  height: 48px;
  margin: 28px auto 0;
  background: var(--color-main);
}

.top-heading__lead {
  color: var(--color-text-mid);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.06em;
}

.top-heading--left {
  align-items: flex-start;
  margin-bottom: 0;
  text-align: left;
}

.top-heading--left .top-heading__title::after {
  width: 48px;
  height: 1px;
  margin: 28px 0 0;
}

/* 小見出し（— 見出し） */
.top-subheading {
  display: flex;
  align-items: center;
  gap: 24px;
  margin-bottom: 0;
  color: var(--color-text);
  font-family: var(--font-mincho);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

.top-subheading::before {
  content: "";
  flex: 0 0 40px;
  height: 1px;
  background: var(--color-accent);
}

.top-subheading__num {
  padding: 0 4px;
  color: var(--color-main);
  font-family: var(--font-en);
  font-size: 40px;
  font-style: italic;
  font-weight: 600;
  line-height: 1.6;
}

.top-subheading--sm {
  gap: 20px;
  margin: 95px 0 0;
  font-size: 26px;
  line-height: 2;
}

/* 丸マーカーのリスト */
.top-dot-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-dot-list li {
  position: relative;
  padding-left: 28px;
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

.top-dot-list li::before {
  content: "";
  position: absolute;
  top: 9px;
  left: 2px;
  width: 12px;
  height: 12px;
  border: 1px solid var(--color-main);
  border-radius: 50%;
  background: var(--top-green-soft);
}

/* ---------------------------------------------------------
   ボタン（.top-btn ＝ 自前リンク／.top-btn-set ＝ 会社ボタンセットの見た目上書き）
   --------------------------------------------------------- */
.top-btn,
.top-btn-set .company-btn-set__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-width: 360px;
  min-height: 68px;
  padding: 20px 40px;
  border: 1px solid var(--color-main);
  border-radius: 999px;
  font-family: var(--font-mincho);
  font-size: 17px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: 0.1em;
  text-align: center;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.top-btn::after,
.top-btn-set .company-btn-set__btn::after {
  content: "";
  flex: 0 0 28px;
  height: 8px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='8' viewBox='0 0 28 8'%3E%3Cpath d='M0 7.5H27.5L21 3' fill='none' stroke='black'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='8' viewBox='0 0 28 8'%3E%3Cpath d='M0 7.5H27.5L21 3' fill='none' stroke='black'/%3E%3C/svg%3E") no-repeat center / contain;
  transition: transform 0.2s ease;
}

.top-btn:hover::after,
.top-btn-set .company-btn-set__btn:hover::after { transform: translateX(4px); }

.top-btn--primary,
.top-btn-set .company-btn-set__btn--hp {
  background: var(--color-main);
  color: var(--top-paper);
}

.top-btn--primary:hover,
.top-btn-set .company-btn-set__btn--hp:hover {
  background: var(--color-main-dark);
  color: var(--top-paper);
  opacity: 1;
}

.top-btn--outline,
.top-btn-set .company-btn-set__btn--article {
  background: var(--top-paper);
  color: var(--color-main);
}

.top-btn--outline:hover,
.top-btn-set .company-btn-set__btn--article:hover {
  background: var(--top-green-soft);
  opacity: 1;
}

.top-btn--block {
  width: 100%;
  min-width: 0;
  min-height: 0;
  padding: 12px 20px;
  font-size: 14px;
  letter-spacing: 0.1em;
}

.top-btn-set {
  justify-content: center;
  gap: 0 24px;
  margin-top: 0;
  padding-top: 56px;
}

/* 比較表内の小さいボタン */
.top-btn-set--sm {
  flex-wrap: nowrap;
  gap: 10px;
  padding-top: 0;
}

.top-btn-set--sm .company-btn-set__btn {
  flex: 1 1 0;
  min-width: 0;
  min-height: 60px;
  padding: 10px 12px;
  font-size: 13px;
  letter-spacing: 0.1em;
}

.top-btn-set--sm .company-btn-set__btn::after { display: none; }


/* ---------------------------------------------------------
   FV
   --------------------------------------------------------- */
.top-fv { padding: 40px 0 110px; }

.top-fv__inner {
  position: relative;
  display: flex;
  width: min(var(--top-wrap), calc(100% - var(--top-gutter) * 2));
  min-height: 600px;
  margin: 0 auto;
}

.top-fv__copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex: 0 0 780px;
  padding: 20px 48px 0 0;
}

.top-fv__lead {
  flex: 0 0 531px;
  padding-top: 120px;
}

.top-fv__sub {
  color: var(--color-text-mid);
  font-family: var(--font-mincho);
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.12em;
}

.top-fv__text {
  color: var(--color-text);
  font-family: var(--font-mincho);
  font-size: 24px;
  line-height: 1.7;
  letter-spacing: 0.1em;
}

.top-fv__text-em { color: var(--color-main); }

.top-fv__lead .top-btn { margin-top: 41px; }

.top-fv__title {
  display: block;
  flex: 0 0 161px;
  height: 580px;
  min-width: 0;
  writing-mode: vertical-rl;
  color: var(--color-text);
  font-family: var(--font-mincho);
  font-size: 46px;
  font-weight: 500;
  line-height: 81px;    /* 縦書きの列幅 */
  letter-spacing: 6px;  /* 1文字 52px ピッチ */
  white-space: nowrap;
}

.top-fv__title-col { display: block; }

.top-fv__title-em { color: var(--color-main); }

.top-fv__visual {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-width: 0;
  height: 600px;
  /* 右端は画面端まで伸ばす */
  margin-right: calc((100vw - min(var(--top-wrap), calc(100vw - var(--top-gutter) * 2))) / -2);
}

.top-fv__main {
  position: absolute;
  inset: 0;
  border-bottom-left-radius: 160px;
}

.top-fv__deco {
  position: absolute;
  right: calc(2px + (100vw - min(var(--top-wrap), calc(100vw - var(--top-gutter) * 2))) / 2);
  bottom: -130px;
  z-index: 0;
  color: color-mix(in srgb, var(--color-main) 8%, transparent);
  font-family: var(--font-en);
  font-size: 120px;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.02em;
  white-space: nowrap;
  pointer-events: none;
}

.top-fv__sub-img {
  position: absolute;
  right: calc(80px + (100vw - min(var(--top-wrap), calc(100vw - var(--top-gutter) * 2))) / 2);
  bottom: -50px;
  z-index: 1;
  width: 300px;
  height: 220px;
  border: 10px solid var(--color-bg);
  box-sizing: border-box;
}


/* ---------------------------------------------------------
   リード
   --------------------------------------------------------- */
.top-lead { padding: 52px 0 100px; }

.top-lead__inner {
  display: flex;
  align-items: center;
  gap: 59px;
}

.top-lead__body { flex: 0 1 621px; min-width: 0; }

.top-lead__title {
  color: var(--color-text);
  font-family: var(--font-mincho);
  font-size: 34px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.1em;
  white-space: nowrap;
}

.top-lead__text {
  font-size: 17px;
  line-height: 2.3;
  letter-spacing: 0.056em;
}

.top-lead__visual {
  position: relative;
  flex: 0 0 520px;
  height: 560px;
}

.top-lead__arch {
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 440px;
  border-radius: 200px 200px 0 0;
}

.top-lead__circle {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 240px;
  height: 240px;
  border: 8px solid var(--color-bg);
  border-radius: 50%;
  box-sizing: border-box;
}


/* ---------------------------------------------------------
   目次
   --------------------------------------------------------- */
.top-toc__box {
  display: flex;
  align-items: center;
  gap: 40px;
  padding: 24px 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
}

.top-toc__head {
  flex: 0 0 200px;
  border-right: 1px solid var(--color-border);
}

.top-toc__en {
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 18px;
  font-style: italic;
  line-height: 1.6;
  letter-spacing: 0.14em;
}

.top-toc__ja {
  font-family: var(--font-mincho);
  font-size: 15px;
  line-height: 1.6;
  letter-spacing: 0.12em;
}

.top-toc__list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 40px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-toc__list a {
  display: inline-block;
  padding-left: 24px;
  color: var(--color-text);
  font-size: 14px;
  line-height: 1.9;
  letter-spacing: 0.068em;
  transition: color 0.2s ease;
}

.top-toc__list a:hover { color: var(--color-main); opacity: 1; }


/* ---------------------------------------------------------
   会社選びのポイント
   --------------------------------------------------------- */
.top-point { background: var(--top-paper); }

.top-point .top-heading__title::after { margin-bottom: 0; }
.top-point .top-heading__lead { margin-top: 0; }

.top-point__list {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

.top-point__item {
  display: flex;
  align-items: center;
  gap: 100px;
}

.top-point__item.is-reverse { flex-direction: row-reverse; }

.top-point__img {
  flex: 1 1 0;
  min-width: 0;
  height: 460px;
  border-top-right-radius: 160px;
}

.top-point__item.is-reverse .top-point__img {
  border-top-right-radius: 0;
  border-top-left-radius: 160px;
}

.top-point__body { flex: 1 1 0; min-width: 0; }

.top-point__no {
  display: flex;
  align-items: baseline;
  gap: 14px;
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 64px;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.015em;
}

.top-point__no span {
  font-size: 15px;
  font-style: normal;
  letter-spacing: 0.2em;
}

.top-point__title {
  color: var(--color-text);
  font-family: var(--font-mincho);
  font-size: 30px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.top-point__text {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.06em;
}

.top-check {
  padding: 28px 32px;
  background: var(--color-bg);
}

.top-check__title {
  color: var(--color-main);
  font-family: var(--font-mincho);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.14em;
}


/* ---------------------------------------------------------
   比較表
   --------------------------------------------------------- */
.top-compare { background: var(--top-green-soft); }

.top-compare .top-heading { margin-bottom: 72px; }

.top-compare__scroll {
  overflow-x: auto;
  background: var(--top-paper);
  box-shadow: 0 20px 60px -30px var(--top-shadow);
}

.top-compare__table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  table-layout: fixed;
  background: var(--top-paper);
}

.top-compare__table th,
.top-compare__table td {
  padding: 13px 24px;
  border: 1px solid var(--color-border);
  vertical-align: middle;
  text-align: left;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.068em;
}

.top-compare__table thead th { padding: 23px 24px; }

.top-compare__table th:first-child,
.top-compare__table td:first-child { width: 180px; }

.top-compare__table tbody th {
  background: var(--color-bg);
  color: var(--color-text);
  font-family: var(--font-mincho);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.06em;
}

.top-compare__corner {
  background: var(--color-main) !important;
  color: var(--top-paper);
  font-family: var(--font-mincho);
  font-weight: 500;
  text-align: center !important;
}

.top-compare__company { background: var(--top-paper); font-weight: 400; }

.top-compare__company-inner {
  display: flex;
  align-items: center;
  gap: 24px;
}

.top-compare__thumb {
  flex: 0 0 200px;
  height: 130px;
}

.top-compare__thumb img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.top-compare__copy {
  color: var(--color-main);
  font-family: var(--font-mincho);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.7;
}

.top-compare__name {
  font-family: var(--font-mincho);
  font-size: 24px;
  font-weight: 600;
  line-height: 1.7;
  letter-spacing: 0.1em;
}

.top-compare__name a { color: var(--color-text); }

.top-compare__table td.is-small { font-size: 13.5px; }

.top-compare__star {
  display: flex;
  align-items: center;
  gap: 14px;
}

.top-stars {
  flex: 0 0 92px;
  color: var(--color-accent);
  font-size: 15px;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.top-stars__off { opacity: 0.35; }

.top-compare__price {
  color: var(--color-main);
  font-family: var(--font-mincho);
  font-size: 22px;
  line-height: 1.4;
}

.top-compare__unit {
  margin-left: 6px;
  font-family: var(--font-mincho);
  font-size: 14px;
}

.top-compare__btn-row td { padding: 13px 24px; }

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px);
  white-space: nowrap;
}


/* ---------------------------------------------------------
   おすすめ各社
   --------------------------------------------------------- */
.top-company { padding: 120px 0 160px; }

.top-company__intro {
  position: relative;
  width: min(1360px, calc(100% - var(--top-gutter) * 2));
  height: 600px;
  margin: 0 auto 140px;
}

.top-company__hero {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 64%;
  border-bottom-right-radius: 200px;
}

.top-company__card {
  position: absolute;
  top: 50%;
  right: 0;
  z-index: 2;
  width: 640px;
  max-width: 100%;
  padding: 56px 64px;
  transform: translateY(-50%);
  background: var(--top-paper);
  box-shadow: 0 30px 60px -36px var(--top-shadow);
}

.top-company.is-reverse .top-company__hero {
  left: auto;
  right: 0;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 200px;
}

.top-company.is-reverse .top-company__card { right: auto; left: 0; }

.top-company.is-reverse .top-company__hero > .cite-note { left: auto; right: 0; }

.top-company__no {
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 20px;
  font-style: italic;
  line-height: 1;
  letter-spacing: 0.14em;
}

.top-company__copy {
  margin-right: -48px;  /* Figma：カード内余白にはみ出して1行に収める */
  color: var(--color-main);
  font-family: var(--font-mincho);
  font-size: 18px;
  line-height: 2;
  letter-spacing: 0.08em;
}

.top-company__name {
  color: var(--color-text);
  font-family: var(--font-mincho);
  font-size: 44px;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.12em;
}

.top-company__lead {
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.06em;
}

.top-company__body {
  display: flex;
  flex-direction: column;
  gap: 120px;
}

/* 理由 */
.top-reason {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-reason__item {
  display: flex;
  align-items: center;
  gap: 48px;
  padding: 40px 48px;
  background: var(--top-paper);
  border: 1px solid var(--color-border);
}

.top-reason__item.is-reverse .top-reason__media { order: 3; }

.top-reason__no {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  flex: 0 0 96px;
  color: var(--color-accent);
  font-family: var(--font-en);
}

.top-reason__no small {
  color: var(--color-text-mid);
  font-size: 13px;
  line-height: 1;
  letter-spacing: 0.24em;
}

.top-reason__no span {
  font-size: 72px;
  font-style: italic;
  line-height: 1;
}

.top-reason__media { flex: 0 0 360px; }

.top-reason__img { height: 240px; }

.top-reason__media .cite-note { margin-top: 4px; }

.top-reason__body {
  flex: 1 1 auto;
  min-width: 0;
}

.top-reason__title {
  color: var(--color-main-dark);
  font-family: var(--font-mincho);
  font-size: 24px;
  font-weight: 500;
  line-height: 2;
  letter-spacing: 0.08em;
}

/* 向いている家族 */
.top-family {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.top-family__item {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 36px 40px;
  background: var(--color-main);
}

.top-family__title {
  color: var(--top-paper);
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.08em;
}

.top-family__text {
  display: flex;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid color-mix(in srgb, var(--top-paper) 35%, transparent);
  color: var(--top-paper);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.064em;
}

.top-family__text::before {
  content: "→";
  color: var(--top-gold-light);
}

/* 施工事例（template-parts/company-works.php） */
.company-works {
  --works-cols: 4;
  position: relative;
}

.company-works__grid {
  display: grid;
  grid-template-columns: repeat(var(--works-cols), minmax(0, 1fr));
  gap: 24px 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.company-works__item--wide { grid-column: span 2; }

.company-works__link {
  display: flex;
  flex-direction: column;
  gap: 12px;
  color: var(--color-text);
  text-decoration: none;
}

.company-works__images {
  display: flex;
  gap: 4px;
}

.company-works__img {
  position: relative;
  flex: 1 1 0;
  height: 300px;
  overflow: hidden;
  background-color: var(--top-pattern-base);
}

.company-works__img img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

a.company-works__link:hover { opacity: 1; }
a.company-works__link:hover .company-works__img img { transform: scale(1.04); }

.company-works__caption {
  display: flex;
  align-items: baseline;
  gap: 14px;
  white-space: nowrap;
}

.company-works__no {
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 17px;
  font-style: italic;
  line-height: 2;
  letter-spacing: 0.12em;
}

.company-works__title {
  overflow: hidden;
  text-overflow: ellipsis;
  font-family: var(--font-mincho);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.08em;
}

.company-works .cite-note { margin-top: 16px; }

/* 口コミ */
.top-review {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.top-review__item {
  display: flex;
  gap: 48px;
  padding: 36px 48px;
  background: var(--top-paper);
  border: 1px solid var(--color-border);
}

.top-review__side {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 220px;
  padding-right: 24px;
  border-right: 1px solid var(--color-border);
}

.top-review__label {
  color: var(--color-main);
  font-family: var(--font-mincho);
  font-size: 17px;
  line-height: 2;
  letter-spacing: 0.1em;
}

.top-review__side .cite-note {
  align-self: flex-start;
  margin: 0;
  padding-bottom: 2px;
  border-bottom: 1px solid var(--color-border);
  font-size: 12px;
  line-height: 2;
  text-align: left;
}

.top-review__body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1 1 auto;
  min-width: 0;
  font-size: 15px;
  line-height: 1.95;
  letter-spacing: 0.064em;
}

.top-review__block + .top-review__block { margin-top: 0; }

.top-review__heading {
  margin-top: 5px;
  color: var(--color-main);
  font-family: var(--font-mincho);
  font-size: 14px;
  line-height: 1.95;
}

.top-review__heading::before {
  content: "■ ";
  color: var(--color-accent);
}

/* 会社概要 */
.top-info {
  display: flex;
  gap: 56px;
}

.top-info__list {
  flex: 1 1 0;
  min-width: 0;
  border-top: 1px solid var(--color-border);
}

.top-info__list > div {
  display: flex;
  gap: 16px;
  border-bottom: 1px solid var(--color-border);
}

.top-info__list dt {
  flex: 0 0 160px;
  padding: 20px 0;
  color: var(--color-main);
  font-family: var(--font-mincho);
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.1em;
}

.top-info__list dd {
  flex: 1 1 auto;
  min-width: 0;
  padding: 20px 0;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.06em;
  overflow-wrap: anywhere;
}

.top-info__list dd.is-accent,
.top-info__list dd.is-accent a { color: var(--color-main); }

.top-info__map {
  flex: 1 1 0;
  min-width: 0;
  min-height: 360px;
}

.top-info__map iframe,
.top-list__map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


/* ---------------------------------------------------------
   土地選び
   --------------------------------------------------------- */
.top-land { padding: 27px 0 86px; }

.top-land .top-heading { margin-bottom: 0; }

.top-land__intro {
  display: flex;
  align-items: center;
  gap: 25px;
}

.top-land__text {
  flex: 1 1 0;
  min-width: 0;
  font-size: 17px;
  line-height: 2.3;
  letter-spacing: 0.056em;
}

.top-land__img {
  flex: 0 0 647px;
  height: 446px;
  border-radius: 200px 0 0 200px;
}

.top-land__scroll { overflow-x: auto; }

.top-land__table {
  width: 100%;
  min-width: 960px;
  border-collapse: collapse;
  background: var(--top-paper);
}

.top-land__table th,
.top-land__table td {
  padding: 21px 24px;
  border: 1px solid var(--color-border);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.064em;
  text-align: left;
  vertical-align: middle;
}

.top-land__table thead th {
  padding: 21px 24px;
  background: var(--color-main);
  color: var(--top-paper);
  font-family: var(--font-mincho);
  font-weight: 500;
  letter-spacing: 0.1em;
  text-align: center;
}

.top-land__table thead th:nth-child(1) { width: 12%; }
.top-land__table thead th:nth-child(2) { width: 13%; }
.top-land__table thead th:nth-child(3) { width: 18%; }
.top-land__table thead th:nth-child(4) { width: 26%; }

.top-land__table tbody th {
  background: var(--color-bg);
  font-family: var(--font-mincho);
  font-weight: 600;
  text-align: center;
  white-space: nowrap;
}

.top-land__table td.is-num {
  color: var(--color-main);
  font-family: var(--font-mincho);
  font-size: 17px;
  white-space: nowrap;
}

.top-land__sources {
  padding-top: 31px;
  color: var(--color-text-mid);
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 0.074em;
}

.top-land__sources ol {
  margin: 4px 0 0;
  padding-left: 18px;
  list-style: decimal;
}

.top-land__sources a {
  color: var(--color-main);
  overflow-wrap: anywhere;
}

.top-land .top-subheading--sm + .top-land__scroll { margin-top: 0; }


/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */
.top-faq {
  padding: 160px 0 65px;
  background: var(--top-paper);
}

.top-faq__inner {
  display: flex;
  align-items: flex-start;
  gap: 100px;
}

.top-faq__side {
  position: sticky;
  top: calc(var(--header-height, 88px) + 24px);
  display: flex;
  flex-direction: column;
  gap: 72px;
  flex: 0 0 380px;
}

.top-faq__img {
  height: 460px;
  border-bottom-right-radius: 190px;
}

.top-faq__list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1 1 auto;
  min-width: 0;
}

.top-faq__item {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
}

.top-faq__q {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 32px;
  cursor: pointer;
  list-style: none;
}

.top-faq__q::-webkit-details-marker { display: none; }

.top-faq__num {
  flex: 0 0 56px;
  color: var(--color-main);
  font-family: var(--font-en);
  font-size: 26px;
  font-style: italic;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0.04em;
}

.top-faq__num--a {
  color: var(--color-accent);
  font-weight: 400;
  line-height: 1.4;
}

.top-faq__question {
  flex: 1 1 auto;
  min-width: 0;
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.7;
  letter-spacing: 0.06em;
}

.top-faq__icon {
  position: relative;
  flex: 0 0 20px;
  height: 20px;
}

.top-faq__icon::before,
.top-faq__icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  width: 20px;
  height: 1px;
  background: var(--color-main);
  transition: transform 0.2s ease;
}

.top-faq__icon::after { transform: rotate(90deg); }
.top-faq__item[open] .top-faq__icon::after { transform: rotate(0deg); }

.top-faq__a {
  display: flex;
  gap: 16px;
  padding: 0 32px 32px;
}

.top-faq__answer {
  flex: 1 1 auto;
  min-width: 0;
  padding-top: 24px;
  border-top: 1px dashed var(--color-border);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.064em;
}

.top-faq__answer > * + * { margin-top: 14px; }

.top-faq__answer h3,
.top-faq__answer h4,
.top-faq__answer strong:only-child {
  color: var(--color-main);
  font-family: var(--font-mincho);
  font-size: 15px;
  font-weight: 500;
}

.top-faq__answer ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
  list-style: none;
}

.top-faq__answer ul li {
  position: relative;
  padding-left: 28px;
}

.top-faq__answer ul li::before {
  content: "";
  position: absolute;
  top: 8px;
  left: 2px;
  width: 12px;
  height: 12px;
  border: 1px solid var(--color-main);
  border-radius: 50%;
  background: var(--top-green-soft);
}


/* ---------------------------------------------------------
   会社一覧
   --------------------------------------------------------- */
.top-list { padding: 44px 0 65px; }

.top-list .top-heading { margin-bottom: 72px; }

:root { --company-card-display: flex; }

.top-list__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

/* main.css の .company-list-card（!important指定）を打ち消す */
.top-list .company-list-card.top-list__card {
  padding: 0 !important;
  overflow: hidden;
  background: var(--top-paper) !important;
  border: 1px solid var(--color-border) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  transform: none !important;
}

.top-list__map { height: 215px; }

.top-list__map-label {
  position: absolute;
  right: 16px;
  bottom: 14px;
  z-index: 1;
  padding: 2px 10px;
  border-radius: 2px;
  background: color-mix(in srgb, var(--top-paper) 85%, transparent);
  color: var(--color-text-mid);
  font-size: 12px;
  line-height: 2;
  letter-spacing: 0.08em;
  pointer-events: none;
}

.top-list__map iframe + .top-list__map-label { display: none; }

.top-list__body {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 23px 28px 28px;
}

.top-list__name {
  font-family: var(--font-mincho);
  font-size: 19px;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

.top-list__info {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  line-height: 1.7;
  letter-spacing: 0.068em;
}

.top-list__info > div { display: flex; gap: 8px; }

.top-list__info dt {
  flex: 0 0 72px;
  color: var(--color-main);
  font-family: var(--font-mincho);
}

.top-list__info dd { flex: 1 1 auto; min-width: 0; }

.top-list__body .top-btn { margin-top: 6px; }

.top-list__toggle {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  width: min(420px, 100%);
  margin: 32px auto 0;
  padding: 18px 40px;
  border-color: var(--color-main);
  background: var(--top-paper);
  color: var(--color-main);
  font-family: var(--font-mincho);
  font-size: 16px;
  font-weight: 400;
  letter-spacing: 0.1em;
}

.top-list__toggle::after {
  content: "";
  width: 20px;
  height: 20px;
  background:
    linear-gradient(currentColor, currentColor) center / 20px 1px no-repeat,
    linear-gradient(currentColor, currentColor) center / 1px 20px no-repeat;
}

.company-list-toggle-input:checked ~ .top-list__toggle::after {
  background: linear-gradient(currentColor, currentColor) center / 20px 1px no-repeat;
}

.top-list__toggle:hover {
  background: var(--top-green-soft);
  color: var(--color-main);
}


/* ---------------------------------------------------------
   新着記事・サイトコンテンツ一覧（テーマ自動出力）の見た目上書き
   --------------------------------------------------------- */
body.home .hikaku-news {
  padding: 64px 0 120px;
  background: var(--color-bg);
}

body.home .hikaku-news__inner {
  display: grid;
  grid-template-columns: 1fr auto;
  grid-template-areas:
    "eyebrow more"
    "title   more"
    "grid    grid";
  align-items: end;
  width: min(var(--top-wrap), calc(100% - var(--top-gutter) * 2));
}

body.home .hikaku-news__eyebrow {
  grid-area: eyebrow;
  margin: 0 0 20px;
  text-align: left;
}

body.home .hikaku-news__eyebrow-badge {
  padding: 0;
  background: none;
  border-radius: 0;
  font-size: 0;
}

body.home .hikaku-news__eyebrow-badge::after {
  content: "New Articles";
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  letter-spacing: 0.14em;
}

body.home .hikaku-news__title,
body.home .hikaku-contents__title {
  margin: 0;
  color: var(--color-text);
  font-family: var(--font-mincho);
  font-size: 40px;
  font-weight: 500;
  line-height: 1.6;
  letter-spacing: 0.1em;
}

body.home .hikaku-news__title {
  grid-area: title;
  text-align: left;
}

body.home .hikaku-news__title::after {
  content: "";
  display: block;
  width: 48px;
  height: 1px;
  margin-top: 28px;
  background: var(--color-main);
}

body.home .hikaku-news__grid,
body.home .hikaku-news__empty {
  grid-area: grid;
  margin-top: 56px;
}

body.home .hikaku-news__grid { gap: 32px; }

body.home .hikaku-news-card {
  background: none;
  border: 0;
  border-radius: 0;
}

body.home .hikaku-news-card:hover { box-shadow: none; transform: none; }

body.home .hikaku-news-card__thumb {
  aspect-ratio: 4 / 3;
  border-radius: 4px;
  background-color: var(--top-pattern-base);
  background-image: repeating-linear-gradient(135deg, var(--top-pattern-line) 0 8px, transparent 8px 16px);
}

body.home .hikaku-news-card__body { padding: 16px 0 0; }

body.home .hikaku-news-card__meta { gap: 14px; margin-bottom: 16px; }

body.home .hikaku-news-card__date {
  color: var(--color-text-mid);
  font-family: var(--font-en);
  font-size: 16px;
  letter-spacing: 0.1em;
}

body.home .hikaku-news-card__cat {
  padding: 0 12px;
  border: 1px solid var(--color-main);
  border-radius: 999px;
  color: var(--color-main);
  font-size: 13px;
  font-weight: 400;
  line-height: 1.9;
}

body.home .hikaku-news-card__title {
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 500;
  line-height: 1.8;
  letter-spacing: 0.06em;
}

body.home .hikaku-news__more {
  grid-area: more;
  align-self: end;
  margin: 0 0 28px;
}

body.home .hikaku-news__more-btn {
  gap: 16px;
  padding: 14px 24px 14px 32px;
  border-width: 1px;
  background: var(--top-paper);
  font-family: var(--font-mincho);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
}

body.home .hikaku-news__more-btn span { display: none; }

body.home .hikaku-news__more-btn::after {
  content: "";
  width: 28px;
  height: 8px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='8' viewBox='0 0 28 8'%3E%3Cpath d='M0 7.5H27.5L21 3' fill='none' stroke='black'/%3E%3C/svg%3E") no-repeat center / contain;
          mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='28' height='8' viewBox='0 0 28 8'%3E%3Cpath d='M0 7.5H27.5L21 3' fill='none' stroke='black'/%3E%3C/svg%3E") no-repeat center / contain;
}

body.home .hikaku-news__more-btn:hover {
  background: var(--top-green-soft);
  color: var(--color-main);
}

body.home .hikaku-contents {
  padding: 64px 0 140px;
  background: var(--top-paper);
  border-top: 1px solid var(--color-border);
}

body.home .hikaku-contents__inner { width: min(var(--top-wrap), calc(100% - var(--top-gutter) * 2)); }

body.home .hikaku-contents__title { text-align: center; }

body.home .hikaku-contents__title::before {
  content: "Site Contents";
  display: block;
  margin-bottom: 20px;
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 22px;
  font-style: italic;
  font-weight: 400;
  line-height: 1;
  letter-spacing: 0.14em;
}

body.home .hikaku-contents__title::after {
  content: "";
  display: block;
  width: 1px;
  height: 48px;
  margin: 28px auto 0;
  background: var(--color-main);
}

body.home .hikaku-contents__card {
  margin-top: 64px;
  padding: 0;
  background: none;
  border: 0;
  border-top: 1px solid var(--color-border);
  border-bottom: 1px solid var(--color-border);
  border-radius: 0;
}

body.home .hikaku-contents__grid {
  gap: 0;
  counter-reset: hikaku-contents;
}

body.home .hikaku-contents__group {
  padding: 40px 56px 40px 0;
  counter-increment: hikaku-contents;
}

body.home .hikaku-contents__group:nth-child(even) {
  padding: 40px 56px;
  border-left: 1px solid var(--color-border);
}

body.home .hikaku-contents__cat {
  margin: 0 0 8px;
  padding: 0;
  border: 0;
  font-family: var(--font-mincho);
  font-size: 20px;
  font-weight: 500;
  line-height: 2.2;
  letter-spacing: 0.1em;
}

body.home .hikaku-contents__cat a {
  display: flex;
  align-items: baseline;
  gap: 12px;
}

body.home .hikaku-contents__cat a::before {
  content: counter(hikaku-contents, decimal-leading-zero);
  color: var(--color-accent);
  font-family: var(--font-en);
  font-size: 22px;
  font-style: italic;
  font-weight: 500;
}

body.home .hikaku-contents__cat a::after {
  content: "一覧をみる";
  margin-left: auto;
  border-bottom: 1px solid var(--color-main);
  color: var(--color-main);
  font-size: 14px;
  line-height: 2;
  letter-spacing: 0.068em;
}

body.home .hikaku-contents__post {
  position: relative;
  padding: 12px 0 12px 20px;
  border-bottom: 1px dashed var(--color-border);
  font-size: 15px;
  line-height: 1.8;
  letter-spacing: 0.064em;
}

body.home .hikaku-contents__post::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 0;
  width: 10px;
  height: 1px;
  background: var(--color-main);
}

body.home .hikaku-contents__post a { color: var(--color-text); }
body.home .hikaku-contents__post a:hover { color: var(--color-main); text-decoration: none; }


/* ---------------------------------------------------------
   ③ 下層ページの微調整（必要な場合のみ）
   --------------------------------------------------------- */


/* ---------------------------------------------------------
   ④ レスポンシブ（1024px / 768px / 390px）
   --------------------------------------------------------- */
@media (max-width: 1024px) {
  .top-heading__title { font-size: 34px; }

  .top-fv__copy { flex-basis: 62%; padding-right: 24px; }
  .top-fv__lead { flex: 1 1 auto; }
  .top-fv__title { flex-basis: 130px; height: 500px; padding-right: 0; font-size: 38px; line-height: 64px; letter-spacing: 4px; }

  .top-lead__inner { flex-direction: column; align-items: stretch; }
  .top-lead__title { white-space: normal; }
  .top-lead__visual { flex-basis: auto; width: min(520px, 100%); margin: 0 auto; }

  .top-point__item,
  .top-point__item.is-reverse { gap: 48px; }

  .top-company__card { width: 56%; padding: 40px; }
  .top-company__name { font-size: 34px; }

  .top-reason__item { flex-wrap: wrap; }
  .top-reason__media { flex: 1 1 280px; }
  .top-reason__body { flex: 1 1 100%; order: 4; }

  .top-land__img { flex-basis: 50%; }

  .top-faq__inner { gap: 48px; }
  .top-faq__side { flex-basis: 300px; }

  .top-list__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  body.home .hikaku-news__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  :root { --top-gutter: 16px; }

  .top-section { padding: 48px 0 88px; }

  .top-heading { margin-bottom: 40px !important; }
  .top-heading__en { font-size: 18px; }
  .top-heading__title { font-size: 26px; letter-spacing: 0.06em; }
  .top-heading__title::after { height: 32px; margin-top: 20px; }
  .top-heading__lead { font-size: 14px; text-align: left; }

  .top-subheading { display: block; font-size: 22px; }
  .top-subheading::before { display: inline-block; width: 24px; margin-right: 12px; vertical-align: middle; }
  .top-subheading__num { font-size: 30px; }
  .top-subheading--sm { margin-top: 56px; font-size: 20px; }

  .top-dot-list li { font-size: 15px; }

  .top-btn,
  .top-btn-set .company-btn-set__btn {
    width: 100%;
    min-width: 0;
    min-height: 58px;
    padding: 16px 24px;
    font-size: 15px;
  }

  .top-btn-set { flex-direction: column; gap: 12px; padding-top: 32px; }
  .top-btn-set--sm { flex-direction: column; }

  /* FV */
  .top-fv { padding: 16px 0 64px; }
  .top-fv__inner { flex-direction: column-reverse; min-height: 0; }
  .top-fv__visual {
    height: 300px;
    margin-right: calc(var(--top-gutter) * -1);
  }
  .top-fv__main { border-bottom-left-radius: 96px; }
  .top-fv__sub-img { right: 16px; bottom: -40px; width: 150px; height: 110px; border-width: 6px; }
  .top-fv__deco { right: 0; bottom: -64px; font-size: 52px; }
  .top-fv__copy {
    flex: 0 0 auto;
    flex-direction: column-reverse;
    align-items: stretch;
    gap: 24px;
    padding: 64px 0 0;
  }
  .top-fv__title {
    flex: 0 0 auto;
    height: auto;
    padding-right: 0;
    writing-mode: horizontal-tb;
    font-size: 30px;
    line-height: 1.6;
    letter-spacing: 0.04em;
    white-space: normal;
  }
  .top-fv__lead { padding-top: 0; }
  .top-fv__sub { font-size: 15px; }
  .top-fv__text { font-size: 18px; }
  .top-fv__lead .top-btn { margin-top: 24px; font-size: 14px; }

  /* リード */
  .top-lead { padding: 24px 0 64px; }
  .top-lead__title { font-size: 22px; line-height: 1.8; }
  .top-lead__text { margin-top: 16px; font-size: 15px; line-height: 2.1; }
  .top-lead__visual { height: 380px; }
  .top-lead__arch { width: 70%; height: 300px; }
  .top-lead__circle { width: 170px; height: 170px; }

  /* 目次 */
  .top-toc__box { flex-direction: column; align-items: stretch; gap: 16px; }
  .top-toc__head { flex: 0 0 auto; border-right: 0; }
  .top-toc__list { flex-direction: column; gap: 4px; }
  .top-toc__list a { padding-left: 16px; }

  /* ポイント */
  .top-point__list { gap: 64px; }
  .top-point__item,
  .top-point__item.is-reverse { flex-direction: column; align-items: stretch; gap: 24px; }
  .top-point__img { flex: 0 0 auto; height: 240px; }
  .top-point__no { font-size: 48px; }
  .top-point__title { font-size: 22px; }
  .top-point__text { font-size: 15px; }
  .top-check { padding: 20px; }

  /* 比較表（横スクロール） */
  .top-compare__table { min-width: 720px; }
  .top-compare__table th:first-child,
  .top-compare__table td:first-child { width: 120px; }
  .top-compare__table th,
  .top-compare__table td { padding: 12px 14px; font-size: 13px; }
  .top-compare__company-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .top-compare__thumb { flex: 0 0 auto; width: 100%; height: 120px; }
  .top-compare__name { font-size: 18px; }
  .top-compare__star { flex-direction: column; align-items: flex-start; gap: 2px; }
  .top-stars { flex-basis: auto; }

  /* 会社 */
  .top-company { padding: 64px 0 88px; }
  .top-company__intro { height: auto; margin-bottom: 64px; }
  .top-company__hero,
  .top-company.is-reverse .top-company__hero {
    position: relative;
    width: calc(100% + var(--top-gutter));
    height: 260px;
    margin-left: calc(var(--top-gutter) * -1);
    border-radius: 0 0 96px 0;
  }
  .top-company.is-reverse .top-company__hero {
    margin-left: 0;
    border-radius: 0 0 0 96px;
  }
  .top-company__card,
  .top-company.is-reverse .top-company__card {
    position: relative;
    top: auto;
    left: auto;
    right: auto;
    width: auto;
    margin: -48px 0 0 16px;
    padding: 28px 24px;
    transform: none;
  }
  .top-company__copy { font-size: 15px; }
  .top-company__name { font-size: 26px; letter-spacing: 0.06em; }
  .top-company__lead { font-size: 14px; }
  .top-company__body { gap: 72px; }

  .top-reason { gap: 20px; }
  .top-reason__item { flex-direction: column; align-items: stretch; gap: 16px; padding: 24px 20px; }
  .top-reason__item.is-reverse .top-reason__media { order: 0; }
  .top-reason__no { flex-direction: row; align-items: baseline; gap: 10px; flex-basis: auto; }
  .top-reason__no span { font-size: 44px; }
  .top-reason__media { flex: 0 0 auto; }
  .top-reason__img { height: 200px; }
  .top-reason__title { font-size: 19px; line-height: 1.7; }

  .top-family { grid-template-columns: 1fr; gap: 12px; }
  .top-family__item { padding: 24px; }
  .top-family__title { font-size: 17px; }
  .top-family__text { font-size: 14px; }

  .company-works__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px 8px; }
  .company-works__item--wide { grid-column: span 2; }
  .company-works__img { height: 160px; }
  .company-works__no { font-size: 14px; }
  .company-works__title { font-size: 13px; }

  .top-review__item { flex-direction: column; gap: 16px; padding: 24px 20px; }
  .top-review__side { flex-basis: auto; flex-direction: row; align-items: baseline; flex-wrap: wrap; padding: 0 0 12px; border-right: 0; border-bottom: 1px solid var(--color-border); }
  .top-review__label { font-size: 15px; }
  .top-review__body { font-size: 14px; }

  .top-info { flex-direction: column; gap: 24px; }
  .top-info__list dt { flex-basis: 100px; padding: 14px 0; font-size: 14px; }
  .top-info__list dd { padding: 14px 0; font-size: 14px; }
  .top-info__map { min-height: 260px; }

  /* 土地 */
  .top-land__intro { flex-direction: column; align-items: stretch; gap: 24px; }
  .top-land__text { font-size: 15px; line-height: 2.1; }
  .top-land__img { flex: 0 0 auto; height: 220px; margin-right: calc(var(--top-gutter) * -1); border-radius: 110px 0 0 110px; }
  .top-land__table { min-width: 760px; }
  .top-land__table th,
  .top-land__table td { padding: 14px; font-size: 13px; }
  .top-land__table td.is-num { font-size: 15px; }
  .top-land__sources { font-size: 12px; }

  /* FAQ */
  .top-faq { padding: 64px 0 64px; }
  .top-faq__inner { flex-direction: column; align-items: stretch; gap: 32px; }
  .top-faq__side { position: static; flex-basis: auto; gap: 0; }
  .top-faq__side .top-heading { margin-bottom: 0 !important; }
  .top-faq__img { display: none; }
  .top-faq__q { gap: 10px; padding: 18px 16px; }
  .top-faq__num { flex-basis: 42px; font-size: 20px; }
  .top-faq__question { font-size: 15px; }
  .top-faq__icon { flex-basis: 16px; height: 16px; }
  .top-faq__icon::before,
  .top-faq__icon::after { width: 16px; }
  .top-faq__a { gap: 10px; padding: 0 16px 20px; }
  .top-faq__answer { padding-top: 16px; font-size: 14px; }

  /* 会社一覧 */
  .top-list__grid { grid-template-columns: 1fr; gap: 16px; }
  .top-list__map { height: 180px; }
  .top-list__body { padding: 20px; }
  .top-list__name { font-size: 17px; }
  .top-list__toggle { padding: 14px 24px; font-size: 15px; }

  /* 新着・コンテンツ */
  body.home .hikaku-news { padding: 48px 0 72px; }
  body.home .hikaku-news__inner {
    grid-template-columns: 1fr;
    grid-template-areas: "eyebrow" "title" "grid" "more";
  }
  body.home .hikaku-news__eyebrow-badge::after { font-size: 18px; }
  body.home .hikaku-news__title,
  body.home .hikaku-contents__title { font-size: 26px; }
  body.home .hikaku-news__grid { grid-template-columns: 1fr; margin-top: 32px; }
  body.home .hikaku-news__more { margin: 32px 0 0; text-align: center; }
  body.home .hikaku-contents { padding: 48px 0 72px; }
  body.home .hikaku-contents__title::before { font-size: 18px; }
  body.home .hikaku-contents__card { margin-top: 40px; }
  body.home .hikaku-contents__group,
  body.home .hikaku-contents__group:nth-child(even) { padding: 28px 0; border-left: 0; }
  body.home .hikaku-contents__group + .hikaku-contents__group { border-top: 1px solid var(--color-border); }
  body.home .hikaku-contents__cat { font-size: 18px; }
  body.home .hikaku-contents__post { font-size: 14px; }
}

@media (max-width: 390px) {
  .top-heading__title { font-size: 23px; }
  .top-fv__title { font-size: 26px; }
  .top-lead__title { font-size: 20px; }
  .top-company__name { font-size: 23px; }
  .top-info__list > div { flex-direction: column; gap: 0; }
  .top-info__list dt { flex-basis: auto; padding-bottom: 0; }
  .top-info__list dd { padding-top: 4px; }
}
