/* ----------------------------------------
* 離婚 地域LP（名古屋）PC用CSS
* テーマ：daylight-pc／テンプレート：page_nagoya.php から読み込む
* 医療過誤の名古屋LP（/medical/nagoya/）の chiiki.css をもとに、離婚サイト（/divorce/）の色使いに合わせた
* クラス名はすべて chiiki- で始まる
---------------------------------------- */

/* メインビジュアル */
html,
body,
.chiiki-body,
.chiiki-article {
  background-color: #fff;
}

.chiiki-fv {
  /* 背景画像は地域ごとに HTML の style="background-image:url(...)" で指定 */
  background-color: #f26575;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.chiiki-fv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.78) 50%, rgba(255, 255, 255, 0.35) 100%);
}

.chiiki-fv__inner {
  position: relative;
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 24px 0;
  display: flex;
  align-items: flex-end;
  gap: 24px;
}

.chiiki-fv__text {
  flex: 1 1 55%;
  padding-bottom: 40px;
  color: #fff;
}

.chiiki-fv__catch {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0 0 16px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.chiiki-fv__catch-area {
  font-size: 70%;
}

.chiiki-em {
  color: #fffbe5;
}

.chiiki-fv__h1 {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 24px;
  padding: 0;
  border: none;
  color: #fff;
  background: none;
}

.chiiki-fv__badges {
  display: flex;
  gap: 16px;
}

/* 金のリング＋紺の円 */
.chiiki-fv__badge {
  width: 150px;
  height: 150px;
  flex-shrink: 0;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, #fbe7a1 0%, #c9a227 35%, #fff4c2 52%, #b8860b 75%, #e8c766 100%);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.chiiki-fv__badge-in {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: radial-gradient(circle at 50% 30%, #f26575 0%, #d9505f 75%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.25);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #fff;
}

.chiiki-fv__badge-sub {
  font-size: 1em;
  font-weight: 700;
  color: #fffbe5;
  letter-spacing: 0.05em;
  padding-bottom: 4px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(255, 251, 229, 0.7);
}

.chiiki-fv__badge-main {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.03em;
}

.chiiki-fv__badge-main b {
  font-size: 42px;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #fffbe5;
  margin: 0 2px;
  vertical-align: -2px;
}
/* バッジの3行目（大阪の「大阪駅 徒歩8分」のような補足。注記なので小さめ） */
.chiiki-fv__badge-note {
  margin-top: 4px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.2;
  color: #fffbe5;
}

.chiiki-fv__img {
  flex: 1 1 45%;
}

.chiiki-fv__img img {
  display: block;
  width: 100%;
  height: auto;
  padding-bottom: 15%;
}

/* 冒頭文章 */
.chiiki-intro p {
  line-height: 1.9;
}

/* 冒頭の呼びかけ（hタグにしない見出し） */
.chiiki-intro .chiiki-lead {
  position: relative;
  margin: 10px 0 32px;
  padding: 28px 16px;
  text-align: center;
  font-size: 26px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.06em;
  color: #414141;
  background: #fffbe5;
  border-radius: 6px;
}

.chiiki-intro .chiiki-lead::before,
.chiiki-intro .chiiki-lead::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 2px;
  background: #9e8b5d;
}

.chiiki-intro .chiiki-lead::before {
  top: 14px;
}

.chiiki-intro .chiiki-lead::after {
  bottom: 14px;
}

.chiiki-sp-br {
  display: none;
}

/* 冒頭文章の弁護士写真（PCは縦長を右に回り込み、スマホは横長を文章の上に全幅） */
.chiiki-intro__photo {
  float: right;
  width: 240px;
  margin: 0 0 16px 28px;
}

.chiiki-intro__photo img {
  display: block;
  width: 85%;
  height: auto;
  border-radius: 6px;
}

/* よくあるご質問の回答 */
.chiiki-faq dd p {
  margin: 0 0 12px;
  line-height: 1.8;
}

/* ご相談をお受けしていない事案（注意書きとして小さく。枠・背景は付けない） */
.chiiki-exclude {
  margin-top: 20px;
  font-size: 85%;
  color: #555;
  line-height: 1.7;
}

.chiiki-exclude p {
  margin: 0;
}

.chiiki-exclude .chiiki-exclude__ttl {
  font-weight: 700;
}

/* 表（弁護士費用など） */
.chiiki-table-wrap {
  margin: 20px 0 8px;
}

.chiiki-table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.chiiki-table th,
.chiiki-table td {
  border: 1px solid #e8e0d5;
  padding: 12px;
  vertical-align: middle;
  line-height: 1.5;
}

.chiiki-table thead th {
  background: #f26575;
  color: #fff;
  text-align: center;
}

.chiiki-table tbody th {
  background: #fff;
  text-align: left;
  font-weight: 700;
}

/* 通常のボタン（費用・弁護士紹介・相談の流れなどへのリンク） */
.chiiki-btn {
  text-align: center;
  margin: 30px 0 10px;
}

.chiiki-btn a {
  display: inline-block;
  min-width: 60%;
  padding: 16px 48px;
  background: #9e8b5d;
  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  border-radius: 40px;
  text-decoration: none !important;
  box-shadow: 0 4px 0 #7a6a44;
  position: relative;
}

.chiiki-btn a:hover {
  opacity: 0.85;
}

.chiiki-btn a::after {
  content: "";
  width: 9px;
  height: 9px;
  border-top: solid 3px #fff;
  border-right: solid 3px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 24px;
  margin-top: -5px;
}

.chiiki-small {
  font-size: 85%;
  color: #555;
}

/* 弁護士紹介（写真） */
.chiiki-lawyers {
  list-style: none;
  padding: 0;
  margin: 20px auto 8px;
  max-width: 660px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px 20px;
}

.chiiki-lawyers li {
  margin: 0;
  text-align: center;
  color: #414141;
}

.chiiki-lawyers img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 192 / 289;
  object-fit: cover;
  margin-bottom: 8px;
  background: #f7f5f2;
}

.chiiki-lawyers__title {
  display: block;
  font-size: 1em;
  font-weight: 700;
  color: #f26575;
  line-height: 1.4;
}

.chiiki-lawyers__name {
  display: block;
  margin-top: 2px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.chiiki-lawyers__en {
  display: block;
  font-size: 1em;
  color: #555;
  letter-spacing: 0.03em;
}

/* よくあるご質問 */
.chiiki-faq dt {
  position: relative;
  cursor: pointer;
  background: #f7f5f2;
  border-left: 5px solid #f26575;
  padding: 14px 44px 14px 16px;
  margin-top: 12px;
  font-weight: 700;
  border: 1px solid #e8e0d5;
}

.chiiki-faq dt::before {
  content: "Q. ";
  color: #f26575;
}

.chiiki-faq dt span::before,
.chiiki-faq dt span::after {
  content: "";
  position: absolute;
  right: 18px;
  top: 50%;
  width: 14px;
  height: 2px;
  background: #f26575;
}

.chiiki-faq dt span::after {
  transform: rotate(90deg);
  transition: transform 0.2s;
}

.chiiki-faq dt span.active::after {
  transform: rotate(0deg);
}

.chiiki-faq dd {
  display: none;
  margin: 0;
  padding: 14px 16px;
  border: 1px solid #e8e0d5;
  border-top: none;
}

/* ----------------------------------------
* 相談ボタン＋注記（メインビジュアルの下）
---------------------------------------- */
.chiiki-cta {
  background: #f7f5f2;
  padding: 40px 16px 40px;
}

.chiiki-cta__buttons {
  max-width: 900px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
}

.chiiki-cta__btn {
  flex: 1 1 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 12px 48px;
  border-radius: 8px;
  color: #fff !important;
  font-weight: 700;
  text-decoration: none !important;
  line-height: 1.3;
  position: relative;
  transition: opacity 0.2s;
}

/* テーマ側の電話リンクの色指定に負けないよう、文字・アイコンを白に固定 */
#chiiki .chiiki-cta__btn,
#chiiki .chiiki-cta__btn span,
#chiiki .chiiki-cta__btn svg {
  color: #fff !important;
}

#chiiki .chiiki-cta__btn::after {
  content: "";
  width: 9px;
  height: 9px;
  border-top: solid 3px #fff;
  border-right: solid 3px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 50%;
  right: 24px;
  margin-top: -5px;
}

.chiiki-cta__btn:hover {
  opacity: 0.85;
}

/* 電話：メインカラーで明るく */
.chiiki-cta__btn--tel {
  background: #f26575;
  box-shadow: 0 4px 0 #d9505f;
}

#chiiki .chiiki-cta__btn--tel .chiiki-cta__btn-sub {
  color: #fffbe5 !important;
}

.chiiki-cta__btn--web {
  background: #9e8b5d;
  box-shadow: 0 4px 0 #7a6a44;
}

.chiiki-cta__btn-sub {
  font-size: 1em;
  font-weight: 700;
  margin-bottom: 4px;
}

.chiiki-cta__btn-main {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.03em;
}

.chiiki-cta__icon {
  width: 0.9em;
  height: 0.9em;
  margin-right: 6px;
  vertical-align: -0.08em;
}

/* 相談ボタンの下の「お受けしているご相談」（名古屋など） */
.chiiki-cta__target {
  max-width: 900px;
  margin: 16px auto 0;
}

.chiiki-cta__target .chiiki-cta__target-ttl {
  margin: 0;
  font-weight: 700;
  color: #414141;
}

.chiiki-cta .chiiki-check {
  margin-top: 8px;
  background: #fff;
}

.chiiki-cta__note {
  max-width: 900px;
  margin: 16px auto 0;
  font-size: 13px;
  color: #555;
  line-height: 1.6;
}

.chiiki-cta__note p {
  margin: 0;
  padding-left: 1em;
  text-indent: -1em;
}

.chiiki-cta__note p::before {
  content: "※";
}

/* 前の※の続きの文（※を付けずに字下げをそろえる） */
.chiiki-cta__note p.chiiki-cta__note-cont::before {
  content: none;
}

.chiiki-cta__note p.chiiki-cta__note-cont {
  text-indent: 0;
}

/* ----------------------------------------
* 地域LPで追加した部品
---------------------------------------- */

/* 見出し（テーマ側の見出しに影響されないよう、このLPの中だけで指定） */
.chiiki-article h2.SH1 {
  font-size: 170%;
  background-color: #f26575;
  color: #fff;
  border: none;
  padding: 15px 32px;
  line-height: 1.4;
  margin: 20px 0;
  text-align: center;
  font-weight: 700;
}

.chiiki-article h3 {
  border-left: 5px solid #f26575;
  clear: both;
  font-size: 1.4em;
  color: #414141;
  font-weight: 700;
  margin: 30px 0 16px;
  padding: 0 0 0 8px;
}

/* ご相談をお受けしている3つのケース */
.chiiki-cases {
  list-style: none;
  padding: 0;
  margin: 16px 0 8px;
  counter-reset: chiiki-cases;
}

.chiiki-cases li {
  counter-increment: chiiki-cases;
  position: relative;
  margin: 0 0 12px;
  padding: 16px 16px 16px 72px;
  background: #f7f5f2;
  border-left: 5px solid #f26575;
}

.chiiki-cases li::before {
  content: counter(chiiki-cases);
  position: absolute;
  left: 18px;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  line-height: 38px;
  text-align: center;
  border-radius: 50%;
  background: #f26575;
  color: #fff;
  font-size: 20px;
  font-weight: 700;
}

.chiiki-cases__label {
  display: block;
  font-size: 19px;
  font-weight: 700;
  color: #414141;
}

.chiiki-cases__desc {
  display: block;
  margin-top: 4px;
  font-size: 1em;
  color: #555;
  line-height: 1.6;
}

/* チェックリスト（ご相談をお受けしている事案など。クリックできないので影・ホバーは付けない） */
.chiiki-check {
  list-style: none;
  padding: 12px 20px;
  margin: 12px 0 0;
  background: #f7f5f2;
  border-radius: 6px;
}

.chiiki-check li {
  position: relative;
  margin: 0;
  padding: 10px 0 10px 32px;
  border-bottom: 1px dashed #e8e0d5;
  font-weight: 700;
  line-height: 1.7;
}

.chiiki-check li:last-child {
  border-bottom: none;
}

.chiiki-check li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 16px;
  width: 16px;
  height: 16px;
  background: #fff;
  border: 2px solid #f26575;
  border-radius: 3px;
}

.chiiki-check li::after {
  content: "";
  position: absolute;
  left: 9px;
  top: 17px;
  width: 6px;
  height: 11px;
  border-right: 3px solid #9e8b5d;
  border-bottom: 3px solid #9e8b5d;
  transform: rotate(45deg);
}

.chiiki-check__desc {
  display: block;
  font-weight: 400;
  color: #555;
}

/* ご相談の多い例（アイコン付きのカード。クリックできないので枠・影・ホバーは付けない） */
.chiiki-icon-cards {
  list-style: none;
  padding: 0;
  margin: 16px 0 8px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.chiiki-icon-cards li {
  width: calc((100% - 40px) / 3);
  margin: 0;
  padding: 24px 16px 20px;
  background: #f7f5f2;
  text-align: center;
}

.chiiki-icon-cards img {
  display: block;
  width: 110px;
  height: auto;
  margin: 12px auto 16px;
}

.chiiki-icon-cards p {
  margin: 0 0 6px;
  line-height: 1.7;
}

/* カード内の記事リンク（控えめな四角いボタン：白地に細い緑の枠、右に小さな矢印） */
.chiiki-icon-cards a {
  position: relative;
  display: inline-block;
  margin-top: 6px;
  padding: 6px 30px 6px 14px;
  background: #fff;
  border: 1px solid #f26575;
  border-radius: 4px;
  color: #f26575 !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
}

.chiiki-icon-cards a::after {
  content: "";
  position: absolute;
  right: 13px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -4px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.chiiki-icon-cards a:hover {
  background: #f26575;
  color: #fff !important;
}

.chiiki-icon-cards .chiiki-icon-cards__ttl {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.4;
  color: #f26575;
}

/* 弁護士選びの3つのポイント */
.chiiki-point-list__item {
  margin: 0 0 24px;
  padding: 16px 20px 20px;
  border: 1px solid #e8e0d5;
  border-top: 4px solid #f26575;
  background: #fff;
}

/* 左に小さい写真（写真が入ったカードだけ2列にする。スマホは写真を上に） */
.chiiki-point-list__item:has(.chiiki-point-list__photo) {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.chiiki-point-list__photo {
  flex: 0 0 180px;
  margin: 8px 0 0;
}

/* 写真が入るまでの空の枠 */
.chiiki-point-list__photo:empty {
  aspect-ratio: 4 / 3;
  background: #f7f5f2;
  border-radius: 6px;
}

.chiiki-point-list__photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 6px;
}

.chiiki-point-list__body {
  flex: 1 1 auto;
  min-width: 0;
}

.chiiki-point-list__num {
  display: inline-block;
  font-size: 1em;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #9e8b5d;
}

.chiiki-point-list__item h3 {
  border-left: none;
  padding: 0 0 10px;
  margin: 4px 0 12px;
  color: #f26575;
  border-bottom: 1px solid #e8e0d5;
}

.chiiki-point-list__item p {
  margin: 0 0 8px;
  line-height: 1.8;
}

.chiiki-point-list__ours {
  margin-top: 14px;
  padding: 14px 16px;
  background: #fffbe5;
}

.chiiki-point-list__ours p {
  margin: 0;
}

.chiiki-point-list__ours .chiiki-point-list__ours-ttl {
  margin-bottom: 4px;
  font-weight: 700;
  color: #9e8b5d;
}

/* 解決事例 */
.chiiki-case {
  margin: 0 0 24px;
  border: 1px solid #e8e0d5;
  background: #fff;
}

.chiiki-case__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
  margin: 0;
  padding: 12px 16px;
  background: #f7f5f2;
}

.chiiki-case__tags li {
  margin: 0;
  padding: 3px 10px;
  font-size: 1em;
  font-weight: 700;
  color: #f26575;
  background: #fff;
  border: 1px solid #f26575;
  cursor: default;
}

.chiiki-case__tags li.chiiki-case__tags-amount {
  color: #fff;
  background: #9e8b5d;
  border-color: #9e8b5d;
}

.chiiki-case__body {
  margin: 0;
  padding: 8px 16px 16px;
}

.chiiki-case__body dt {
  margin-top: 12px;
  font-weight: 700;
  color: #f26575;
}

.chiiki-case__body dd {
  margin: 4px 0 0;
  line-height: 1.8;
}

/* 結果は薄い背景の上に太字で強調（クリックできないので枠・影は付けない） */
.chiiki-case__body dd.chiiki-case__result {
  margin-top: 8px;
  padding: 16px 20px;
  background: #f7f5f2;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: #9e8b5d;
}

/* オフィスのビル外観（PCは写真が左・住所が右、スマホは写真を上に全幅） */
.chiiki-office {
  display: flex;
  align-items: stretch;
  gap: 24px;
  margin: 16px 0;
}

.chiiki-office__photo {
  flex: 0 0 300px;
  margin: 0;
}

.chiiki-office__photo img {
  display: block;
  width: 100%;
  height: auto;
}

/* 住所・アクセスは薄い背景の上に置く（クリックできないので枠・影は付けない） */
.chiiki-office__body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 16px 20px;
  border-radius: 6px;
}

.chiiki-office__body p {
  margin: 0;
  line-height: 1.8;
}

.chiiki-office__body p + p {
  margin-top: 6px;
}

/* 見出しの下に置く写真（全幅） */
.chiiki-photo {
  margin: 0 0 16px;
}

.chiiki-photo img {
  display: block;
  width: 100%;
  max-width: 760px;
  height: auto;
  margin: 0 auto;
  border-radius: 6px;
}

/* 地図 */
.chiiki-map {
  max-width: 850px;
  margin: 16px auto;
}

.chiiki-map iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 850 / 400;
}

/* カルテ開示・証拠保全 */
.chiiki-def {
  margin: 12px 0;
  border: 1px solid #e8e0d5;
}

.chiiki-def dt {
  padding: 10px 16px;
  background: #f7f5f2;
  font-weight: 700;
  color: #f26575;
}

.chiiki-def dd {
  margin: 0;
  padding: 10px 16px 14px;
  line-height: 1.8;
}

/* 1文ごとの <p> で、テーマ側の段落の余白が入らないようにする */
.chiiki-def dd p {
  margin: 0;
}

/* 弁護士費用 */
.chiiki-fee-lead {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #f26575;
  margin: 8px 0 16px;
}

.chiiki-fee-lead span {
  display: block;
  font-size: 14px;
  color: #555;
  font-weight: 400;
}

/* 初回無料の案内を囲みで目立たせる（東京など、費用の表を載せないページ用）
   クリックできないので、ボタンに見えないよう影・ホバーは付けず、上下の線で囲む */
.chiiki-fee-lead.chiiki-fee-lead--box {
  max-width: 560px;
  margin: 16px auto 24px;
  padding: 20px 16px;
  font-size: 26px;
  line-height: 1.5;
  background: #fffbe5;
  border-top: 3px solid #9e8b5d;
  border-bottom: 3px solid #9e8b5d;
}

.chiiki-fee-lead.chiiki-fee-lead--box span {
  margin-top: 6px;
}

/* 文が長い場合（名古屋など）は囲みを広げる */
.chiiki-fee-lead.chiiki-fee-lead--wide {
  max-width: 760px;
}

/* 文節の途中で改行させない（まとまりごとに折り返す） */
.chiiki-fee-lead.chiiki-fee-lead--box .chiiki-nowrap,
.chiiki-fee-lead .chiiki-nowrap {
  display: inline-block;
  margin-top: 0;
  font-size: inherit;
  font-weight: inherit;
  color: inherit;
}

.chiiki-table--fee thead th:first-child {
  width: 30%;
}

/* 費用の表は項目・費用とも中央寄せ */
.chiiki-table--fee tbody th,
.chiiki-table--fee tbody td {
  text-align: center;
}

.chiiki-table--fee tbody td {
  line-height: 1.7;
}

.chiiki-table__note {
  display: block;
  margin-top: 4px;
  font-size: 13px;
  font-weight: 400;
  color: #555;
}

/* ご相談から解決までの流れ（/medical/ トップの流れと同じ形：大きな番号＋見出し、本文の左に点線） */
.chiiki-flow {
  margin: 24px 0 8px;
}

.chiiki-flow__step {
  margin: 0 0 8px;
}

.chiiki-article .chiiki-flow__ttl {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 12px;
  padding: 0 0 6px;
  border-left: none;
  border-bottom: 2px solid #f7f5f2;
  font-size: 26px;
  color: #414141;
}

.chiiki-flow__num {
  flex: 0 0 auto;
  width: 34px;
  text-align: center;
  font-size: 52px;
  line-height: 1;
  color: #9e8b5d;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.chiiki-flow__body {
  margin-left: 15px;
  padding: 4px 0 24px 32px;
  border-left: 4px dotted #b5b5b6;
}

.chiiki-flow__step:last-child .chiiki-flow__body {
  border-left-color: transparent;
}

.chiiki-flow__body p {
  margin: 0 0 8px;
  line-height: 1.8;
}

/* 流れのステップ内の細い画像（/medical/ トップと同じ 850×250） */
.chiiki-flow__img {
  margin: 0 0 12px;
}

.chiiki-flow__img img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

/* 解決までの7つのステップ（縦型のフロー） */
.chiiki-steps {
  list-style: none;
  max-width: 560px;
  margin: 24px auto 8px;
  padding: 0;
  counter-reset: chiiki-steps;
}

.chiiki-steps li {
  counter-increment: chiiki-steps;
  position: relative;
  margin: 0 0 28px;
  padding: 14px 16px 14px 72px;
  background: #f7f5f2;
  border: 2px solid #f26575;
  font-size: 18px;
  font-weight: 700;
  color: #414141;
}

.chiiki-steps li::before {
  content: counter(chiiki-steps);
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f26575;
  color: #fff;
  font-size: 22px;
}

.chiiki-steps li:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -24px;
  transform: translateX(-50%);
  border: 11px solid transparent;
  border-top-color: #f26575;
}

.chiiki-steps li:last-child {
  margin-bottom: 0;
  background: #fffbe5;
}

/* 基礎知識（解説記事へのリンクカード。薄い緑の丸い帯＋右の緑の丸に白い矢印） */
.chiiki-links {
  list-style: none;
  margin: 24px 0 8px;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 35px 20px;
}

.chiiki-links li {
  margin: 0;
}

.chiiki-links a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 17px;
  height: 100%;
  padding: 10px 84px 10px 24px;
  /* background: #FFEEF6; */
  border-radius: 40px;
  color: #f26575 !important;
  font-size: 18px;
  font-weight: 700;
  border: solid 2px;
  line-height: 1.5;
  text-align: center;
  text-decoration: none !important;
  transition: opacity 0.2s;
}

.chiiki-links a:hover {
  background: #efe9e0;
}

/* 右の白い丸 */
.chiiki-links a::before {
  content: "";
  position: absolute;
  right: 12px;
  top: 50%;
  width: 52px;
  height: 52px;
  margin-top: -26px;
  border-radius: 50%;
  background: #f26575;
}

/* 丸の中の矢印 */
.chiiki-links a::after {
  content: "";
  position: absolute;
  right: 36px;
  top: 50%;
  width: 9px;
  height: 9px;
  margin-top: -5px;
  border-top: 3px solid #fff;
  border-right: 3px solid #fff;
  transform: rotate(45deg);
}

/* 依頼するメリット（名古屋など）。弁護士選びのポイントと同じカードを使い、導入文との間をあける */
.chiiki-merit {
  margin-top: 20px;
}

/* ----------------------------------------
* 離婚・名古屋LPで追加した部品
---------------------------------------- */

/* 女性・男性のための離婚相談バナー（大阪・東京ページと同じ画像） */
.chiiki-banners {
  list-style: none;
  margin: 24px 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 20px;
}

.chiiki-banners li {
  margin: 0;
}

.chiiki-banners img {
  display: block;
  width: 100%;
  height: auto;
}

/* 10のサポート（トップの「12のサポート」と同じく、クリーム地にゴールドのボタン） */
.chiiki-links.chiiki-links--support {
  grid-template-columns: repeat(5, 1fr);
  gap: 10px;
  padding: 20px;

}

.chiiki-links.chiiki-links--support a {
  min-height: 84px;
  padding: 0px 28px 0px 12px;
  border-radius: 5px;
  background: #9e8b5d;
  color: #fff !important;
  font-size: 17px;
}

.chiiki-links.chiiki-links--support a:hover {
  background: #9e8b5d;
  opacity: 0.8;
}

.chiiki-links.chiiki-links--support a::before {
  content: none;
}

.chiiki-links.chiiki-links--support a::after {
  right: 12px;
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
}

/* 選ばれる理由（カード内の「詳しくはこちら」は控えめなボタン） */
/* 理由の画像は横長（580×265）なので、切らずにそのままの比率で見せる */
.chiiki-reason .chiiki-point-list__photo {
  flex-basis: 260px;
}

.chiiki-reason .chiiki-point-list__photo img {
  aspect-ratio: 580 / 265;
}

.chiiki-reason .chiiki-point-list__item h3 {
  margin-bottom: 16px;
}

.chiiki-more {
  margin: 0;
  text-align: center;
}

.chiiki-more a {
  position: relative;
  display: inline-block;
  padding: 8px 34px 8px 1px;
  background: #9e8b5d;
  border-radius: 5px;
  color: #fff !important;
  font-weight: 700;
  line-height: 1.5;
  width: 40%;
  text-decoration: none !important;
  transition: background 0.2s, color 0.2s;
}

.chiiki-more a::after {
  content: "";
  position: absolute;
  right: 14px;
  top: 50%;
  width: 6px;
  height: 6px;
  margin-top: -4px;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}

.chiiki-more a:hover {
  opacity: 0.8;
}

/* 解決事例（タイトル＋本文＋詳しいページへのリンク） */
.chiiki-case__ttl {
  margin: 0;
  padding: 14px 16px;
  background: #f7f5f2;
  border-left: 5px solid #f26575;
  font-size: 19px;
  font-weight: 700;
  line-height: 1.5;
  color: #414141;
}

.chiiki-case__text {
  padding: 16px 16px 4px;
}

.chiiki-case__text p {
  margin: 0 0 8px;
  line-height: 1.8;
}

.chiiki-case .chiiki-more {
  padding: 4px 16px 16px;
}

/* 費用の表（相談料） */
.chiiki-table--consult thead th:first-child {
  width: 62%;
}

.chiiki-table--consult tbody td {
  text-align: center;
  font-weight: 700;
  background: #fff;
}

.chiiki-table--consult tbody tr:first-child td {
  color: #e53452;
}

/* よくあるご質問の回答内の部品 */
.chiiki-faq dd ul.chiiki-faq__list {
  margin: 0 0 12px;
  padding: 12px 16px 12px 36px;
  background: #f7f5f2;
  border-radius: 6px;
}

.chiiki-faq dd ul.chiiki-faq__list li {
  margin: 0 0 6px;
  line-height: 1.7;
}

.chiiki-faq dd ul.chiiki-faq__list li:last-child {
  margin-bottom: 0;
}

.chiiki-faq dd .chiiki-faq__source {
  font-size: 85%;
  color: #555;
}

/* ワンポイント（弁護士の実務経験からの補足） */
.chiiki-onepoint {
  margin: 16px 0 12px;
  padding: 16px 18px 6px;
  background: #ffeef6;
  border: 2px solid #fcc8d2;
  border-radius: 6px;
}

.chiiki-faq dd .chiiki-onepoint .chiiki-onepoint__ttl {
  margin-bottom: 10px;
  font-weight: 700;
  color: #e53452;
}

.chiiki-faq dd .chiiki-btn {
  margin: 16px 0 8px;
}

/* ----------------------------------------
* 離婚サイトのテーマ（daylight-pc / daylight-sp）のスタイルと重ならないようにする指定
---------------------------------------- */

/* 本文の幅（テーマの #content・#main は使わない） */
.chiiki-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 0 60px;
}

/* SPテーマの「.st-contents section { padding: 0 15px; }」を打ち消す */
.chiiki-body section,
#chiiki section {
  padding: 0;
}

/* テーマの h3 の下線・細字・位置指定を打ち消す */
.chiiki-article h3 {
  border-bottom: none;
  position: static;
}

/* テーマの「h2 + p」「h2 + h3」のマイナスの余白を打ち消す */
.chiiki-article h2 + p,
.chiiki-article h3 + p,
.chiiki-article h2 + h3 {
  margin-top: 0;
}

/* テーマの ul のリセットで消える「・」を戻す */
.chiiki-faq dd ul.chiiki-faq__list {
  list-style: disc;
}

/* FVの h1 の代わりの p（テーマの p の余白を受けない） */
.chiiki-fv__text p.chiiki-fv__h1 {
  margin: 0 0 24px;
}

/* ----------------------------------------
* 離婚サイト（https://www.daylight-law.jp/divorce/）の見た目に合わせる指定
* ・見出し（h2）：濃いグレーの文字＋ピンク→黄色のグラデーションの下線（トップの h2.top_new と同じ）
* ・帯・見出しのアクセント：ピンク #f26575
* ・ボタン：ゴールド #9e8b5d（トップの「詳しくはこちら」と同じ）、WEB予約は青緑 #018c87
* ・背景：アイボリー #f7f5f2、クリーム #fffbe5
---------------------------------------- */

/* メインビジュアル：トップと同じく、明るい写真の上に濃いグレーの文字
   写真の上でも文字が読めるよう、文字側（左）を白く強めにかぶせる */
#chiiki .chiiki-fv::before {
  background: linear-gradient(to right, rgba(255, 255, 255, 0.88) 0%, rgba(255, 255, 255, 0.78) 50%, rgba(255, 255, 255, 0.35) 100%);
}

#chiiki .chiiki-fv__text {
  color: #333;
}

#chiiki .chiiki-fv__catch {
  font-size: 42px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.03em;
  color: #333;
  text-shadow: 0 0 6px #fff, 0 0 12px #fff, 0 0 18px rgba(255, 255, 255, 0.9);
}

#chiiki .chiiki-em {
  color: #e53452;
}

/* H1の代わりの一文：ゴールド（#9e8b5d）のベタ塗りの帯に白文字 */
#chiiki .chiiki-fv__text p.chiiki-fv__h1 {
  display: inline-block;
  margin: 0 0 24px;
  padding: 8px 20px;
  font-size: 22px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: #fff;
  background-color: #9e8b5d;
  background-image: none;
  border-radius: 4px;
  text-shadow: none;
}

/* バッジ：金のリング＋ゴールド（#9e8b5d）の円、文字は白 */
#chiiki .chiiki-fv__badge-in {
  background: radial-gradient(circle at 50% 30%, #b09d6f 0%, #9e8b5d 55%, #85744b 100%);
  box-shadow: inset 0 0 0 2px rgba(255, 255, 255, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.35);
}

#chiiki .chiiki-fv__badge-sub {
  color: #fff;
  border-bottom-color: rgba(255, 255, 255, 0.7);
}

#chiiki .chiiki-fv__badge-main {
  font-size: 21px;
  color: #fff;
}

#chiiki .chiiki-fv__badge-main b {
  color: #fffbe5;
}

/* 相談ボタン：電話はピンク、WEB予約はトップと同じ青緑 */
.chiiki-cta {
  background: #f7f5f2;
}

.chiiki-cta__btn {
  border-radius: 5px;
}

.chiiki-cta__btn--tel {
  background: #f26575;
  box-shadow: 0 4px 0 #d9505f;
}

.chiiki-cta__btn--web {
  background: #018c87;
  box-shadow: 0 4px 0 #016b67;
}

/* h2：トップの h2.top_new と同じ形 */
.chiiki-article h2.SH1 {
  position: relative;
  font-size: 32px;
  background: none;
  color: #3f3f3f;
  padding: 0 0 16px;
  margin: 20px 0 28px;
}

.chiiki-article h2.SH1::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: linear-gradient(to right, #fa709a 0%, #fee140 100%);
}

/* h3：ピンクの左線＋濃いグレーの文字 */
.chiiki-article h3 {
  color: #3f3f3f;
}

/* 冒頭の呼びかけ：クリーム地＋ピンクの線 */
.chiiki-intro .chiiki-lead {
  color: #3f3f3f;
}

.chiiki-intro .chiiki-lead::before,
.chiiki-intro .chiiki-lead::after {
  background: #f26575;
}

/* 通常のボタン：ゴールド、角丸5px（トップの「詳しくはこちら」と同じ） */
.chiiki-btn a {
  border-radius: 5px;
  box-shadow: none;
}

.chiiki-btn a:hover {
  opacity: 0.8;
}

/* 選ぶときのポイント・選ばれる理由のカード */
.chiiki-point-list__num {
  color: #f26575;
}

.chiiki-point-list__item h3 {
  color: #3f3f3f;
}

.chiiki-point-list__ours .chiiki-point-list__ours-ttl {
  color: #9e8b5d;
}

/* 表の見出し行はピンク */
.chiiki-table thead th {
  background: #f26575;
}

/* よくあるご質問：トップと同じく、アイボリー地＋左に薄いピンクの四角 */
.chiiki-faq dt {
  border-left: 0;
  padding-left: 64px;
  color: #444;
}

.chiiki-faq dt::before {
  content: "Q";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4d2c7;
  color: #fff;
  font-size: 20px;
  font-family: "Helvetica Neue", Arial, sans-serif;
}

.chiiki-faq dt span::before,
.chiiki-faq dt span::after {
  background: #9e8b5d;
}

/* カードの h3 の下線（テーマ対策の「h3 の下線を消す」指定より後に戻す） */
.chiiki-article .chiiki-point-list__item h3 {
  border-bottom: 1px solid #e8e0d5;
}




/* ご依頼いただいたお客様の満足度（トップページと同じ見せ方） */
.chiiki-satisfaction {
  margin: 24px 0 8px;
  padding: 32px 20px 24px;
  background: #f7f5f2;
  border-radius: 8px;
  text-align: center;
}

.chiiki-satisfaction__img {
  margin: 0 auto 16px;
  max-width: 300px;
}

.chiiki-satisfaction__img img {
  display: block;
  width: 100%;
  height: auto;
}

.chiiki-article .chiiki-satisfaction p {
  text-align: center;
}

.chiiki-article .chiiki-satisfaction .chiiki-satisfaction__rate {
  margin: 0 0 8px;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  color: #4d4d4d;
}

.chiiki-satisfaction__rate span {
  margin-left: 0.2em;
  font-size: 1.3em;
  color: #e53452;
}

.chiiki-article .chiiki-satisfaction .chiiki-satisfaction__text {
  margin: 0 0 12px;
  font-size: 18px;
  color: #4d4d4d;
}

.chiiki-article .chiiki-satisfaction .chiiki-satisfaction__note {
  margin: 0;
  font-size: 13px;
  line-height: 1.6;
  color: #666;
}