@charset "UTF-8";
/* =========================================================
   土地の売却ページ（page-land.php）専用スタイル
   ※ functions.php が assets/css/ 内のCSSを自動で読み込みます
   ※ style.css（共通）のあとに読み込まれます
   ※ ページタイトル帯・パンくずは style.css の
     全ページ共通パーツ（.page-hero / .breadcrumb）を使用しています
   ※ 数値は design/land.jpg（1600px幅・等倍）からの採寸です
   ※ 「土地売却・ご相談の流れ」のSP版のみ design/land_flow_sp.png に準拠
   ※ フォーム本体の見た目は assets/css/contact.css（.contact-form）を流用しています

   ＜目次＞
     0. ページ共通の変数・インナー・見出し
     1. メインビジュアル
     2. お持ちの土地について、こんなお悩みはありませんか？
     3. 土地の売却・活用を支える3つの強み
     4. 土地売却・ご相談の流れ（グレー帯）
     5. 売るか、活用するか。…（フォーム）
     6. タブレット（768〜1024px）
     7. SP（〜767px）
     8. 小型SP（〜374px）
========================================================= */


/* =========================================================
   0. ページ共通の変数・インナー・見出し
========================================================= */
.l-land {
  --land-dark: #282828;            /* TEL／FAX の帯 */
  --land-panel: #e8e8e8;           /* グレー帯の下地 */
  --land-panel-light: #f2f2f2;     /* お悩みボックスの下地 */
  --land-blue: #0b6096;            /* フローの丸数字・見出し */
  --land-line-blue: #3593c7;       /* 強みの下線・フローのつなぎ線 */
  --land-line-gray: #dadada;       /* 強みの下線（グレー部分） */
  --land-dot: #c4c4c4;             /* チェックリストの点線 */
  --land-card-border: #cfcfcf;     /* SPフローのカード枠線 */

  /* 白のアーチ柄（white_oval.png 835px）の表示幅（building と同じ） */
  --land-oval-size: 676px;

  padding-bottom: 120px;
}

/* --- 共通インナー（style.css の --container: 1200px に合わせる） --- */
.land__inner {
  max-width: calc(var(--container) + 40px);
  margin: 0 auto;
  padding: 0 20px;
}

/* --- セクション見出し（明朝・中央） --- */
.land-title {
  font-size: 3.4rem;
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: .14em;
  text-indent: .14em;
  text-align: center;
}

/* --- 見出し下のリード文 --- */
.land-lead {
  margin-top: 22px;
  font-size: 1.7rem;
  line-height: 1.85;
  letter-spacing: .16em;
  text-indent: .16em;
  text-align: center;
}


/* =========================================================
   1. メインビジュアル（キャッチコピーは画像に含まれています）
========================================================= */
.land-mv {
  margin-top: 68px;
}

.land-mv__img {
  line-height: 0;
}

.land-mv__img img {
  width: 100%;
  height: auto;
}


/* =========================================================
   2. お持ちの土地について、こんなお悩みはありませんか？
========================================================= */
.land-worry {
  padding-top: 60px;
}

/* 薄いグレーのボックス（背景に白のアーチ柄をうっすら敷く） */
.land-worry__box {
  position: relative;
  isolation: isolate;
  margin-top: 24px;
  padding: 50px 34px 30px 31px;
  background-color: var(--land-panel-light);
}

.land-worry__box::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/land/white_oval.png") repeat right top / var(--land-oval-size) auto;
  opacity: .7;
  pointer-events: none;
  z-index: -1;
}

/* 写真（左）＋チェックリスト（右） */
.land-worry__body {
  display: grid;
  grid-template-columns: 537fr 574fr;
  column-gap: 25px;
  align-items: stretch;
}

.land-worry__img {
  line-height: 0;
}

.land-worry__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* --- チェックリスト（白地） --- */
.land-worry__list {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 20px 30px 20px 44px;
  background-color: #fff;
  list-style: none;
}

/* チェックマークは背景画像（SVG／reform ページと共用） */
.land-worry__item {
  padding: 10px 0 10px 42px;
  background: url("../images/reform/check_blue.svg") no-repeat left 0 top calc(10px + .45em) / 28px auto;
  font-size: 2rem;
  line-height: 1.8;
  letter-spacing: .12em;
}

/* 2項目め以降は点線で区切る */
.land-worry__item + .land-worry__item {
  border-top: 1px dotted var(--land-dot);
}

.land-worry__text {
  margin-top: 24px;
  font-size: 1.7rem;
  line-height: 1.8;
  letter-spacing: .16em;
  text-indent: .16em;
  text-align: center;
}


/* =========================================================
   3. 土地の売却・活用を支える3つの強み
   PC：文章（576px）＋写真（598px）を横に並べ、
       偶数番目（02）は写真を左に入れ替える
========================================================= */
.land-point {
  padding-top: 86px;
}

.land-point__list {
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-top: 60px;
}

.land-point__item {
  display: grid;
  grid-template-columns: minmax(0, 576fr) minmax(0, 598fr);
  grid-template-areas: "body img";
  column-gap: 25px;
  align-items: start;
}

/* 偶数番目：写真｜文章 */
.land-point__item:nth-child(even) {
  grid-template-columns: minmax(0, 598fr) minmax(0, 576fr);
  grid-template-areas: "img body";
}

.land-point__img {
  grid-area: img;
  line-height: 0;
}

.land-point__img img {
  width: 100%;
  height: auto;
  aspect-ratio: 1196 / 658;
  object-fit: cover;
}

.land-point__body {
  grid-area: body;
}

/* 見出し：下に「青（左217px）＋グレー」の2色の線 */
.land-point__title {
  position: relative;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--land-line-gray);
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.4;
  letter-spacing: .1em;
}

.land-point__title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 217px;
  height: 1px;
  background-color: var(--land-line-blue);
}

.land-point__no {
  margin-right: .2em;
  letter-spacing: 0;
}

.land-point__text {
  margin-top: 30px;
  padding-right: 40px; /* デザインどおり、見出しの線より少し手前で折り返す */
  font-size: 1.7rem;
  line-height: 1.82;
  letter-spacing: .16em;
  text-align: justify;
}


/* =========================================================
   4. 土地売却・ご相談の流れ（グレー帯）
   PC：5ステップを横に並べ、丸数字のあいだを青い線でつなぐ
========================================================= */
.land-flow {
  position: relative;
  isolation: isolate;
  margin-top: 100px;
  padding: 74px 0 58px;
  background-color: var(--land-panel);
}

/* 背景の白いアーチ柄 */
.land-flow::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../images/land/white_oval.png") repeat center top / var(--land-oval-size) auto;
  pointer-events: none;
  z-index: -1;
}

.land-flow__heading {
  text-align: center;
}

/* 「FLOW」とその下の青い線はSPのみ（design/land_flow_sp.png） */
.land-flow__en {
  display: none;
}

.land-flow__ja {
  display: block;
  font-size: 2.8rem;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .14em;
  text-indent: .14em;
}

/* 1ステップ＝約260px（コンテナ1200pxより左右49pxずつはみ出す）
   画面幅が足りないときは、はみ出し量を自動で減らして横スクロールを防ぐ */
.land-flow__list {
  --land-flow-bleed: clamp(0px, (100vw - 1240px) / 2, 49px);
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  margin: 40px calc(var(--land-flow-bleed) * -1) 0;
  list-style: none;
}

.land-flow__item {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

/* 丸数字 */
.land-flow__no {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 70px;
  height: 70px;
  border: 2px solid var(--land-blue);
  border-radius: 50%;
  color: var(--land-blue);
  font-family: var(--font-serif);
  font-size: 3.2rem;
  font-weight: 500;
  line-height: 1;
  letter-spacing: 0;
}

/* 次の丸数字へつなぐ線（丸から15pxずつ離す） */
.land-flow__item:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 35px;
  left: calc(50% + 35px + 15px);
  width: calc(100% - 70px - 30px);
  height: 1px;
  background-color: var(--land-line-blue);
}

.land-flow__title {
  margin-top: 14px;
  color: var(--land-blue);
  font-size: 2.5rem;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: .06em;
}

.land-flow__text {
  margin-top: 6px;
  font-size: 1.9rem;
  line-height: 1.75;
  letter-spacing: .06em;
}

.land-flow__note {
  margin-top: 22px;
  font-size: 1.7rem;
  line-height: 1.8;
  letter-spacing: .04em;
  text-align: center;
}


/* =========================================================
   5. 売るか、活用するか。まずは土地の状況を整理しませんか。（フォーム）
   フォーム本体の見た目は assets/css/contact.css（.contact-form）を流用
========================================================= */
.land-contact {
  padding-top: 75px;
}

/* contact.css の .contact-form { margin-top: 100px } をこのページ用に上書き */
.contact-form.land-contact__form {
  margin-top: 48px;
}

/* --- フォーム内の小見出し（住まい情報／お客様情報） --- */
.land-form__title {
  margin-top: 64px;
}

.land-form__title:first-child {
  margin-top: 0;
}

/* 小見出し下の「※必須項目…」は左寄せ */
.contact-form__note.land-form__note {
  margin-top: 16px;
  text-align: left;
}

.land-form__note + .contact-form__table {
  margin-top: 16px;
}

/* --- 所在地：「（都道府県）＋入力欄」を3段に並べる --- */
.land-form__addr {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px 12px;
  align-items: center;
}

.land-form__addr-label {
  color: var(--color-gray);
  font-size: 1.5rem;
  white-space: nowrap;
}

/* --- 面積の入力欄 --- */
.contact-form__data .land-form__input--area {
  width: 160px;
}

/* --- フォーム下の案内 --- */
.land-form-info {
  margin-top: 56px;
}

.land-form-info__list {
  list-style: none;
}

.land-form-info__item {
  font-size: 1.5rem;
  line-height: 1.9;
  letter-spacing: .06em;
}

.land-form-info__link {
  color: var(--color-blue);
  text-decoration: underline;
}

/* TEL／FAX の帯（建物ページと同じ見た目） */
.land-form-info__contact {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 8px 56px;
  margin-top: 32px;
  padding: 22px 20px;
  background: var(--land-dark) url("../images/assessment/black_oval.png") repeat center center;
  color: #fff;
}

.land-form-info__contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
}

.land-form-info__contact-label {
  padding: 2px 10px;
  border: 1px solid rgba(255, 255, 255, .8);
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .08em;
}

.land-form-info__contact-num {
  font-family: var(--font-display);
  font-size: 3.6rem;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: .04em;
}

.land-form-info__contact-num a {
  color: inherit;
}


/* =========================================================
   6. タブレット（768〜1024px）
========================================================= */
@media screen and (min-width: 768px) and (max-width: 1024px) {

  .land-title {
    font-size: 2.8rem;
    letter-spacing: .1em;
    text-indent: .1em;
  }

  .land-lead,
  .land-worry__text {
    font-size: 1.5rem;
    letter-spacing: .08em;
    text-indent: 0;
  }

  /* --- お悩み：写真とリストを縦に積む --- */
  .land-worry__box {
    padding: 30px;
  }

  .land-worry__body {
    grid-template-columns: 1fr;
    row-gap: 20px;
  }

  .land-worry__img img {
    height: auto;
  }

  .land-worry__item {
    font-size: 1.8rem;
    letter-spacing: .08em;
  }

  /* --- 3つの強み：横並びのまま文字だけ縮める --- */
  .land-point__title {
    padding-bottom: 12px;
    font-size: 2rem;
    letter-spacing: .04em;
  }

  .land-point__title::after {
    width: 140px;
  }

  .land-point__text {
    margin-top: 18px;
    font-size: 1.5rem;
    letter-spacing: .06em;
  }

  /* --- フロー：5列のまま文字だけ縮める --- */
  .land-flow__no {
    width: 60px;
    height: 60px;
    font-size: 2.6rem;
  }

  .land-flow__item:not(:last-child)::after {
    top: 30px;
    left: calc(50% + 30px + 8px);
    width: calc(100% - 60px - 16px);
  }

  .land-flow__title {
    font-size: 1.9rem;
    letter-spacing: .02em;
  }

  .land-flow__text {
    font-size: 1.4rem;
    letter-spacing: 0;
  }

  .land-flow__note {
    font-size: 1.5rem;
  }
}


/* =========================================================
   7. SP（〜767px）
========================================================= */
@media screen and (max-width: 767px) {

  .l-land {
    --land-oval-size: 420px;
    padding-bottom: 80px;
  }

  .land-title {
    font-size: 2.2rem;
    letter-spacing: .06em;
    text-indent: .06em;
  }

  .land-lead {
    margin-top: 16px;
    word-break: auto-phrase;
    font-size: 1.4rem;
    letter-spacing: .04em;
    text-indent: 0;
  }

  /* --- 1. メインビジュアル（SP用の縦長画像に切り替わります） --- */
  .land-mv {
    margin-top: 30px;
  }

  /* --- 2. お悩み（写真 → リスト → 一文の順に積む） --- */
  .land-worry {
    padding-top: 48px;
  }

  .land-worry__box {
    margin-top: 20px;
    padding: 12px 12px 18px;
  }

  .land-worry__body {
    grid-template-columns: 1fr;
    row-gap: 14px;
  }

  .land-worry__img img {
    height: auto;
  }

  .land-worry__list {
    padding: 6px 12px;
  }

  /* 1文字だけ次の行に落ちないよう、字間はつめる */
  .land-worry__item {
    padding-left: 26px;
    background-size: 18px auto;
    font-size: 1.3rem;
    letter-spacing: 0;
    word-break: auto-phrase; /* 対応ブラウザ（Chrome/Edge）では文節で折り返す */
  }

  .land-worry__text {
    margin-top: 16px;
    word-break: auto-phrase;
    font-size: 1.3rem;
    letter-spacing: .04em;
    text-indent: 0;
  }

  /* --- 3. 3つの強み（写真 → 見出し → 本文の順に縦に積む） --- */
  .land-point {
    padding-top: 56px;
  }

  .land-point__list {
    gap: 36px;
    margin-top: 24px;
  }

  .land-point__item,
  .land-point__item:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    grid-template-areas:
      "img"
      "body";
    row-gap: 18px;
  }

  .land-point__title {
    padding-bottom: 10px;
    word-break: auto-phrase;
    font-size: 1.8rem;
    letter-spacing: .04em;
  }

  .land-point__title::after {
    width: 100px;
  }

  .land-point__text {
    margin-top: 14px;
    padding-right: 0;
    font-size: 1.4rem;
    line-height: 1.85;
    letter-spacing: .04em;
  }

  /* --- 4. フロー（design/land_flow_sp.png）
         「FLOW」＋2行の見出し＋青い短い線、
         白いカードを縦に積み、カードのあいだに下向きの矢印 --- */
  .land-flow {
    margin-top: 56px;
    padding: 26px 0 32px;
  }

  .land-flow__en {
    display: block;
    color: #555;
    font-family: var(--font-display);
    font-size: 1.2rem;
    font-weight: 500;
    line-height: 1.5;
    letter-spacing: .3em;
    text-indent: .3em;
  }

  .land-flow__ja {
    margin-top: 10px;
    font-size: 2.2rem;
    line-height: 1.45;
    letter-spacing: .08em;
    text-indent: .08em;
  }

  /* 見出し下の青い短い線 */
  .land-flow__heading::after {
    content: "";
    display: block;
    width: 33px;
    height: 1px;
    margin: 16px auto 0;
    background-color: var(--land-blue);
  }

  .land-flow__list {
    display: block;
    margin: 22px 0 0;
  }

  /* カード：丸数字｜縦線｜見出し＋説明 */
  .land-flow__item {
    flex-direction: row;
    padding: 12px 18px;
    border: 1px solid var(--land-card-border);
    background-color: #fff;
    text-align: left;
  }

  .land-flow__item + .land-flow__item {
    margin-top: 18px;
  }

  /* PCのつなぎ線を、カード下の矢印（くの字）に置き換える */
  .land-flow__item:not(:last-child)::after {
    top: auto;
    bottom: -13px;
    left: 50%;
    width: 8px;
    height: 8px;
    border-right: 1px solid var(--color-text);
    border-bottom: 1px solid var(--color-text);
    background-color: transparent;
    transform: translateX(-50%) rotate(45deg);
  }

  .land-flow__no {
    flex: 0 0 auto;
    width: 41px;
    height: 41px;
    border-width: 1px;
    font-size: 1.9rem;
  }

  .land-flow__body {
    flex: 1 1 auto;
    min-width: 0;
    margin-left: 18px;
    padding: 2px 0 2px 20px;
    border-left: 1px solid var(--land-card-border);
  }

  .land-flow__title {
    margin-top: 0;
    font-size: 1.7rem;
    line-height: 1.4;
  }

  .land-flow__text {
    margin-top: 2px;
    font-size: 1.3rem;
    line-height: 1.6;
    letter-spacing: .04em;
  }

  .land-flow__note {
    margin-top: 14px;
    word-break: auto-phrase;
    padding-left: 1em;
    text-indent: -1em;
    font-size: 1.3rem;
    letter-spacing: .04em;
    text-align: left;
  }

  /* --- 5. フォーム --- */
  .land-contact {
    padding-top: 48px;
  }

  .contact-form.land-contact__form {
    margin-top: 28px;
  }

  .land-form__title {
    margin-top: 44px;
  }

  /* 所在地：ラベルを入力欄の上に置く */
  .land-form__addr {
    grid-template-columns: minmax(0, 1fr);
    gap: 4px;
  }

  .land-form__addr-label {
    font-size: 1.3rem;
  }

  .land-form__addr-label:not(:first-child) {
    margin-top: 8px;
  }

  .contact-form__data .land-form__input--area {
    width: 110px;
  }

  .land-form-info {
    margin-top: 40px;
  }

  .land-form-info__item {
    font-size: 1.3rem;
    letter-spacing: .02em;
  }

  .land-form-info__item + .land-form-info__item {
    margin-top: 4px;
  }

  /* TEL／FAX は縦に並べる */
  .land-form-info__contact {
    flex-direction: column;
    align-items: center;
    gap: 6px;
    margin-top: 24px;
    padding: 16px;
  }

  .land-form-info__contact-label {
    font-size: 1.4rem;
  }

  .land-form-info__contact-num {
    font-size: 2.8rem;
  }
}


/* =========================================================
   8. 小型SP（〜374px）
========================================================= */
@media screen and (max-width: 374px) {

  .land-title {
    font-size: 1.9rem;
    letter-spacing: .02em;
    text-indent: .02em;
  }

  .land-worry__item {
    font-size: 1.2rem;
  }

  .land-point__title {
    font-size: 1.5rem;
    letter-spacing: 0;
  }

  .land-flow__item {
    padding-left: 14px;
    padding-right: 14px;
  }

  .land-flow__body {
    margin-left: 14px;
    padding-left: 14px;
  }
}
