/* ----------------------------------------
* 医療過誤 地域ページ 共通CSS（福岡・東京・大阪・名古屋）
* テンプレート：medical/page-{地域}.php
* クラス名はすべて chiiki- で始まる（地域名を入れない）
---------------------------------------- */

/* メインビジュアル */
.chiiki-fv {
  /* 背景画像は地域ごとに HTML の style="background-image:url(...)" で指定 */
  background-color: #11b797;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  position: relative;
}

.chiiki-fv::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(20, 60, 55, 0.55);
}

.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: #fcfbe3;
}

.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%, #11b797 0%, #0b7a65 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: #fcfbe3;
  letter-spacing: 0.05em;
  padding-bottom: 4px;
  margin-bottom: 4px;
  border-bottom: 1px solid rgba(252, 251, 227, 0.6);
}

.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: #fcfbe3;
  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: #fcfbe3;
}

@media screen and (max-width: 767px) {
  .chiiki-fv__badge-note {
    margin-top: 2px;
    font-size: 11px;
  }
}

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

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

@media screen and (max-width: 767px) {
  .chiiki-fv {
    background-position: right;
  }

  /* 写真の左側に見せたいもの（大阪の第3ビルなど）があるページ用 */
  .chiiki-fv.chiiki-fv--sp-left {
    background-position: left;
  }

  .chiiki-fv__inner {
    flex-direction: column;
    align-items: stretch;
    padding: 24px 16px 0;
    gap: 0;
  }

  .chiiki-fv__text {
    padding-bottom: 16px;
    text-align: center;
  }

  .chiiki-fv__catch {
    font-size: 22px;
  }

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

  .chiiki-fv__h1 {
    font-size: 16px;
    margin-bottom: 16px;
  }

  .chiiki-fv__badges {
    gap: 8px;
    justify-content: center;
  }

  .chiiki-fv__badge {
    width: 32%;
    height: auto;
    aspect-ratio: 1 / 1;
    padding: 3px;
  }

  .chiiki-fv__badge-sub {
    font-size: 1em;
    letter-spacing: 0;
    padding-bottom: 2px;
    margin-bottom: 2px;
  }

  .chiiki-fv__badge-main {
    font-size: 1em;
  }

  .chiiki-fv__badge-main b {
    font-size: 24px;
  }
}

/* 冒頭文章 */
.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: #fcfbe3;
  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: #f09f04;
}

.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: 100%;
  height: auto;
  border-radius: 6px;
}

@media screen and (max-width: 767px) {
  .chiiki-intro .chiiki-lead {
    font-size: 19px;
    padding: 24px 12px;
    letter-spacing: 0.03em;
  }

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

  .chiiki-intro__photo {
    float: none;
    width: 100%;
    margin: 0 0 20px;
  }
}

/* よくあるご質問の回答 */
.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 #cfdcd9;
  padding: 12px;
  vertical-align: middle;
  line-height: 1.5;
}

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

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

@media screen and (max-width: 767px) {
  .chiiki-table th,
  .chiiki-table td {
    padding: 8px 6px;
  }
}

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

.chiiki-btn a {
  display: inline-block;
  min-width: 60%;
  padding: 16px 48px;
  background: #013b7a;
  color: #fff !important;
  font-size: 18px;
  font-weight: 700;
  border-radius: 40px;
  text-decoration: none !important;
  box-shadow: 0 4px 0 #00234a;
  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;
}

@media screen and (max-width: 767px) {
  .chiiki-btn a {
    display: block;
    min-width: 0;
    padding: 14px 40px 14px 20px;
    font-size: 1em;
  }
}

.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: #edf2f1;
}

.chiiki-lawyers__title {
  display: block;
  font-size: 1em;
  font-weight: 700;
  color: #11b797;
  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;
}

@media screen and (max-width: 767px) {
  .chiiki-lawyers {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px 12px;
  }

  .chiiki-lawyers__title {
    letter-spacing: -0.02em;
  }

  .chiiki-lawyers__name {
    font-size: 1em;
  }

}

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

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

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

.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 #cfdcd9;
  border-top: none;
}

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

.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: #11b797;
  box-shadow: 0 4px 0 #0b7a65;
}

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

.chiiki-cta__btn--web {
  background: #f09f04;
  box-shadow: 0 4px 0 #a86f00;
}

.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;
}

@media screen and (max-width: 767px) {
  .chiiki-cta {
    padding: 16px 16px 14px;
  }

  .chiiki-cta__buttons {
    flex-direction: column;
    gap: 12px;
  }

  .chiiki-cta__btn-main {
    font-size: 22px;
  }

  .chiiki-cta__note {
    font-size: 12px;
  }
}


/* ----------------------------------------
* 医療過誤LPで追加した部品
---------------------------------------- */

/* 見出し（医療過誤サイトに top.css がない場合に備えて、このLPの中だけで指定） */
.chiiki-article h2.SH1 {
  font-size: 170%;
  background-color: #11b797;
  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 #11b797;
  clear: both;
  font-size: 1.4em;
  color: #414141;
  font-weight: 700;
  margin: 30px 0 16px;
  padding: 0 0 0 8px;
}

@media screen and (max-width: 767px) {
  .chiiki-article h2.SH1 {
    font-size: 120%;
    padding: 15px 16px;
  }

  .chiiki-article h3 {
    font-size: 1.1em;
  }
}

/* ご相談をお受けしている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: #edf2f1;
  border-left: 5px solid #11b797;
}

.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: #11b797;
  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;
}

@media screen and (max-width: 767px) {
  .chiiki-cases li {
    padding: 14px 12px 14px 58px;
  }

  .chiiki-cases li::before {
    left: 12px;
    width: 32px;
    height: 32px;
    line-height: 32px;
    font-size: 17px;
  }

  .chiiki-cases__label {
    font-size: 16px;
  }
}

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

.chiiki-check li {
  position: relative;
  margin: 0;
  padding: 10px 0 10px 32px;
  border-bottom: 1px dashed #cfdcd9;
  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 #11b797;
  border-radius: 3px;
}

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

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

@media screen and (max-width: 767px) {
  .chiiki-check {
    padding: 8px 14px;
  }
}

/* ご相談の多い例（アイコン付きのカード。クリックできないので枠・影・ホバーは付けない） */
.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: #edf2f1;
  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 #11b797;
  border-radius: 4px;
  color: #11b797 !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: #11b797;
  color: #fff !important;
}

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

@media screen and (max-width: 767px) {
  .chiiki-icon-cards {
    gap: 12px;
  }

  .chiiki-icon-cards li {
    width: calc((100% - 12px) / 2);
    padding: 16px 10px 14px;
  }

  .chiiki-icon-cards img {
    width: 72px;
    margin: 8px auto 10px;
  }

  .chiiki-icon-cards .chiiki-icon-cards__ttl {
    font-size: 17px;
  }
}

/* 弁護士選びの3つのポイント */
.chiiki-point-list__item {
  margin: 0 0 24px;
  padding: 16px 20px 20px;
  border: 1px solid #cfdcd9;
  border-top: 4px solid #11b797;
  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: #edf2f1;
  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;
}

@media screen and (max-width: 767px) {
  .chiiki-point-list__item:has(.chiiki-point-list__photo) {
    display: block;
  }

  .chiiki-point-list__photo {
    margin: 4px 0 12px;
  }

  .chiiki-point-list__photo img,
  .chiiki-point-list__photo:empty {
    aspect-ratio: 2 / 1;
  }
}

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

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

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

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

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

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

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

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

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

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

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

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

.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: #edf2f1;
  border-radius: 6px;
  font-size: 20px;
  font-weight: 700;
  line-height: 1.6;
  color: #013b7a;
}

@media screen and (max-width: 767px) {
  .chiiki-case__body dd.chiiki-case__result {
    padding: 14px 16px;
    font-size: 17px;
  }
}

/* オフィスのビル外観（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;
  background: #edf2f1;
  border-radius: 6px;
}

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

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

@media screen and (max-width: 767px) {
  .chiiki-office {
    display: block;
  }

  .chiiki-office__photo {
    margin-bottom: 12px;
  }

  .chiiki-office__body {
    padding: 14px 16px;
  }
}

/* 見出しの下に置く写真（全幅） */
.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 #cfdcd9;
}

.chiiki-def dt {
  padding: 10px 16px;
  background: #edf2f1;
  font-weight: 700;
  color: #11b797;
}

.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: #11b797;
  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: #fcfbe3;
  border-top: 3px solid #f09f04;
  border-bottom: 3px solid #f09f04;
}

.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;
}

@media screen and (max-width: 767px) {
  .chiiki-fee-lead.chiiki-fee-lead--box {
    font-size: 20px;
    padding: 16px 12px;
  }
}

.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 #edf2f1;
  font-size: 26px;
  color: #414141;
}

.chiiki-flow__num {
  flex: 0 0 auto;
  width: 34px;
  text-align: center;
  font-size: 52px;
  line-height: 1;
  color: #f09f04;
  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;
}

@media screen and (max-width: 767px) {
  .chiiki-article .chiiki-flow__ttl {
    font-size: 20px;
    gap: 8px;
  }

  .chiiki-flow__num {
    width: 26px;
    font-size: 40px;
  }

  .chiiki-flow__body {
    margin-left: 11px;
    padding-left: 18px;
  }
}

/* 解決までの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: #edf2f1;
  border: 2px solid #11b797;
  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: #11b797;
  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: #11b797;
}

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

@media screen and (max-width: 767px) {
  .chiiki-steps li {
    font-size: 16px;
    padding: 12px 12px 12px 62px;
  }

  .chiiki-steps li::before {
    width: 46px;
    font-size: 19px;
  }
}

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

.chiiki-links li {
  margin: 0;
}

.chiiki-links a {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 76px;
  height: 100%;
  padding: 12px 84px 12px 24px;
  background: #edf2f1;
  border-radius: 40px;
  color: #11b797 !important;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  text-align: center;
  text-decoration: none !important;
  transition: opacity 0.2s;
}

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

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

/* 丸の中の矢印 */
.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);
}

@media screen and (max-width: 767px) {
  .chiiki-links {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .chiiki-links a {
    min-height: 64px;
    padding: 10px 68px 10px 20px;
    font-size: 1em;
  }

  .chiiki-links a::before {
    right: 10px;
    width: 44px;
    height: 44px;
    margin-top: -22px;
  }

  .chiiki-links a::after {
    right: 30px;
  }
}

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