/* ============================================
   宇野大輔法律事務所 貞操権侵害LP - style.css
   参照サイト（aokita-law.net/teisouken/）構造準拠
   ============================================ */

/* -------------------------------------------
   基本設定
   ------------------------------------------- */
:root {
  /* メインカラーパレット（グリーン系） */
  --main-color: #34D399;
  --main-dark: #2BA07B;
  --accent: #10B981;
  --accent-light: #6EE7B7;
  --soft: #D1FAE5;
  --bg-light: #ECFDF5;
  --bg-section: #ECFDF5;
  /* テキストカラー */
  --text-color: #3D5B57;
  --text-sub: #5A8080;
  --white: #ffffff;
  /* その他 */
  --border-color: #B8E6E0;
  --pastel-pink: #F5E6E8;
  --pastel-purple: #E8E0F0;
  --pastel-blue: #E0E8F0;
}

body {
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text-color);
  line-height: 1.8;
  background: linear-gradient(
    180deg,
    #F0F4F8 0%,
    #E8F0F6 20%,
    #EEF5F0 40%,
    #F5F0F8 60%,
    #FFFFFF 100%
  );
  -webkit-text-size-adjust: 100%;
}

.sp { display: none; }
.pc { display: block; }

/* ===== 【修正】画像比率崩れ修正：共通安全設定 ===== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* -------------------------------------------
   ヘッダー
   ------------------------------------------- */
header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
}

.header-fixed.site-header {
  background: var(--white);
  border-bottom: 2px solid var(--main-color);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.header-fixed .flex {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 20px;
}

/* ヘッダーロゴ（.header-logoクラスに対応） */
.header-logo {
  max-width: 200px;
  flex-shrink: 0;
}

.header-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* 互換性：.logoクラスにも同じスタイルを適用 */
.logo {
  max-width: 200px;
  flex-shrink: 0;
}

.logo img {
  width: 100%;
  height: auto;
}

.header-content {
  display: flex;
  align-items: center;
  gap: 20px;
}

.header-contact-info {
  text-align: center;
}

.campaign-text {
  color: var(--accent);
  font-weight: bold;
  font-size: 13px;
  letter-spacing: 0.5px;
}

.phone-number {
  display: block;
  font-size: clamp(22px, 4vw, 36px);
  font-weight: 800;
  color: var(--main-color);
  line-height: 1.2;
  letter-spacing: 1px;
}

.reception-hours {
  font-size: 12px;
  color: var(--text-sub);
}

.button001 {
  text-align: center;
}

.button001 a {
  display: inline-block;
  background: var(--accent);
  color: var(--white);
  padding: 12px 24px;
  border-radius: 6px;
  font-weight: bold;
  font-size: 14px;
  transition: opacity 0.3s;
}

.button001 a:hover {
  opacity: 0.8;
}

.button001 p {
  font-size: 11px;
  color: var(--text-sub);
  margin-top: 4px;
}

/* -------------------------------------------
   ファーストビュー
   ------------------------------------------- */
.fv {
  margin-top: 80px; /* ヘッダー分 */
  width: 100%;
  overflow: hidden;
}

.fv picture {
  display: block;
  width: 100%;
}

.fv img {
  width: 100%;
  height: auto;
  display: block;
}

.mvArea {
  width: 100%;
  max-width: 1366px;
  margin: 0 auto;
}

.mvArea img {
  width: 100%;
  height: auto;
  max-height: 500px;
  display: block;
  object-fit: contain;
}

/* -------------------------------------------
   CTAボタン共通
   ------------------------------------------- */
.cta-gradation-back {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  padding: 30px 20px;
  text-align: center;
}

.cta-title {
  max-width: 350px;
  width: 70%;
  margin: 0 auto 20px;
  display: block;
}

.cta-title-text {
  font-size: 28px;
  font-weight: bold;
  color: var(--main-color);
  margin: 0 auto 30px;
  text-align: center;
  letter-spacing: 1px;
}

.pc-flex {
  max-width: 700px;
  margin: 0 auto;
  display: flex;
  gap: 16px;
  justify-content: center;
  align-items: flex-start;
}

.pc-flex > * {
  flex: 0 1 auto;
}

.cta-button01 {
  max-width: 320px;
  width: 100%;
  transition: opacity 0.3s;
}

.cta-button01:hover {
  opacity: 0.85;
}

/* CTAボタン（テキストベース） */
.cta-btn {
  display: inline-block;
  padding: 22px 56px;
  color: var(--white);
  text-decoration: none;
  border: none;
  border-radius: 12px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-align: center;
  min-width: 240px;
}

.cta-btn:active {
  transform: translateY(0);
}

/* 電話ボタン：オレンジ（緑背景に対して最高コントラスト・緊急感） */
.cta-btn-tel {
  background-color: #F97316;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.45);
}

.cta-btn-tel:hover {
  background-color: #EA580C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.55);
}

/* メールボタン：ネイビー（信頼感・緑背景に対して高コントラスト） */
.cta-btn-mail {
  background-color: #1E3A5F;
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.4);
}

.cta-btn-mail:hover {
  background-color: #162D4A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 58, 95, 0.5);
}

/* -------------------------------------------
   コンテナ
   ------------------------------------------- */
.container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

/* -------------------------------------------
   セクション共通
   ------------------------------------------- */
section {
  padding: 60px 0;
}

.text {
  line-height: 2;
  font-size: 15px;
}

/* -------------------------------------------
   問題セクション（plobrem）
   ------------------------------------------- */
.plobrem {
  background: var(--bg-section);
  text-align: center;
  padding: 40px 0 48px; /* 共通60pxより詰める */
}

.plobrem-inner {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.plobrem-title {
  font-size: clamp(22px, 4vw, 32px);
  font-weight: bold;
  text-align: center;
  padding: 0 10px 12px; /* 下パディングを30px→12pxに削減 */
  margin-bottom: 8px;   /* section-titleのmargin-bottom:32pxを上書き */
  line-height: 1.5;
  color: var(--text-color);
}

/* PC・スマホ共通：タイトル→画像→リストの縦一列 */
.plobrem-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  text-align: center;
}

.plobrem-illustration {
  order: 1; /* 画像を先に */
}

.plobrem-text {
  order: 2; /* リストを後に */
  width: 100%;
  max-width: 640px;
  text-align: left;
}

.plobrem-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plobrem-list li {
  padding: 12px 16px;
  margin: 8px 0;
  background: var(--white);
  border-left: 4px solid var(--main-color);
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-color);
}

.plobrem-title span {
  color: var(--accent);
}

.plobrem-img {
  max-width: 250px;
  width: 70%;
  height: auto;
  margin: 0 auto 30px;
  display: block;
}

.plobrem-frame {
  border: 2px solid var(--main-color);
  border-radius: 12px;
  padding: 25px 30px;
  background: var(--white);
  text-align: left;
}

.plobrem-ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.plobrem-ul li {
  padding: 12px 16px;
  margin: 8px 0;
  background: var(--soft);
  border-left: 4px solid var(--main-color);
  border-radius: 4px;
  font-size: 15px;
  line-height: 1.7;
}

.plobrem-text {
  font-size: clamp(16px, 3vw, 20px);
  text-align: center;
  line-height: 2;
  padding: 30px 20px;
  font-weight: 600;
}

.plobrem-text span {
  color: var(--accent);
  font-weight: bold;
}

/* -------------------------------------------
   インプットセクション
   ------------------------------------------- */
.input {
  background: var(--white);
  padding: 60px 0;
}

.input-image-only {
  padding: 0;
  text-align: center;
  line-height: 0;
  background: #f0f9f5;
}

.input-section-img {
  width: 216px;
  height: 240px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.input-frame {
  max-width: 450px;
  width: 80%;
  margin: 0 auto 30px;
  display: block;
}

.input-text {
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  color: var(--main-dark);
  margin: 20px 0;
  line-height: 1.8;
}

.input-ul li {
  background: var(--soft);
  border-left-color: var(--accent);
}

.input-subtitle {
  font-size: clamp(18px, 3.5vw, 24px);
  text-align: center;
  font-weight: bold;
  line-height: 1.8;
  padding: 20px 10px;
  color: var(--text-color);
}

.input-title {
  background: var(--main-color);
  color: var(--white);
  padding: 15px 20px;
  border-radius: 8px;
  margin: 30px auto 20px;
  max-width: 600px;
}

.input-content-text {
  padding: 10px 0 20px;
}

.chek02-imgbox {
  text-align: center;
  margin-bottom: 10px;
}

.check02 {
  width: 60px;
  height: auto;
}

/* -------------------------------------------
   Teach セクション
   ------------------------------------------- */
.teach {
  background: #f0f9f5;
  padding: 48px 20px;
}

.teach-inner {
  max-width: 480px;
  margin: 0 auto;
  text-align: center;
}

.teach-lead {
  font-size: 15px;
  line-height: 1.9;
  color: #333;
  margin-bottom: 24px;
}

.teach-checklist {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  text-align: left;
}

.teach-checklist li {
  font-size: 15px;
  color: #c0392b;
  font-weight: 700;
  padding: 8px 0 8px 36px;
  position: relative;
  border-bottom: 1px solid #f0e0de;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.teach-checklist li:last-child {
  border-bottom: none;
}

.teach-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"),
    linear-gradient(135deg, #333333 0%, #999999 100%);
  background-size: 14px, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
}

.teach-closing {
  font-size: 14px;
  line-height: 1.9;
  color: #555;
}

@media (max-width: 768px) {
  .teach-checklist li {
    font-size: 13px;
    white-space: normal;
  }
}

.uno-message-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 24px auto 0;
}

.consultation-flow-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
}

.consult-support-wrap {
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #f0f9f5;
}

.consult-support-img {
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  max-width: 480px;
}

.trouble-woman-wrap {
  background-color: #ecfef6;
  line-height: 0;
  text-align: center;
  width: 100%;
}

.trouble-woman-inline-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
  background-color: #ecfef6;
}

.fullback {
  background: var(--main-color);
  padding: 25px 20px;
  text-align: center;
  margin: 20px 0;
}

.fullback.brown {
  background: var(--main-dark);
}

.teach-subtitle01 {
  color: var(--white);
  font-size: clamp(18px, 3.5vw, 26px);
  font-weight: bold;
  line-height: 1.6;
}

.teach-subtitle {
  color: var(--white);
  font-size: clamp(16px, 3vw, 22px);
  font-weight: bold;
  line-height: 1.8;
  text-align: center;
}

.teach-subtitle span {
  color: var(--accent-light);
}

.teach-content-text {
  padding: 15px 0;
}

.teach-important-frame {
  max-width: 500px;
  width: 80%;
  margin: 30px auto;
  display: block;
}

.img-flex {
  text-align: center;
}

/* -------------------------------------------
   プロフィールセクション
   ------------------------------------------- */
.profile {
  background: var(--white);
  padding: 60px 0;
}

.profile hr {
  border: none;
  border-top: 3px solid var(--main-color);
  max-width: 800px;
  margin: 0 auto 40px;
}

.profile-title {
  font-size: clamp(20px, 3.5vw, 28px);
  font-weight: bold;
  text-align: center;
  line-height: 1.6;
  color: var(--main-dark);
}

.profile-subtitle {
  text-align: center;
  line-height: 1.8;
  margin: 10px 0 30px;
}

.inner-img {
  max-width: 300px;
  width: 70%;
  height: auto;
  margin: 20px auto;
  display: block;
  border-radius: 8px;
}

.profile-box {
  max-width: 700px;
  margin: 30px auto;
  padding: 30px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 8px;
}

.profile-box h5 {
  font-size: 18px;
  font-weight: bold;
  color: var(--main-dark);
  margin: 20px 0 10px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--main-color);
}

.profile-box p {
  margin: 4px 0;
}

.profile-list li {
  margin: 6px 0;
}

/* -------------------------------------------
   根拠セクション（konkyo）
   ------------------------------------------- */
.konkyo {
  background: var(--bg-section);
  padding: 60px 0;
}

.konkyo-text {
  max-width: 700px;
  margin: 30px auto;
  padding: 0 20px;
}

.konkyo-text span {
  color: var(--accent);
  font-weight: bold;
}

.frame-img {
  max-width: 500px;
  width: 80%;
  height: auto;
  margin: 30px auto;
  display: block;
}

.merit-title {
  padding-bottom: 10px;
}

.merit-title span {
  color: var(--accent);
}

.plobrem-frame02 {
  border: 2px solid var(--accent);
  border-radius: 12px;
  padding: 25px 30px 25px 50px;
  background: var(--white);
}

.numbering {
  counter-reset: item;
  list-style: none;
  padding: 0;
}

.numbering li {
  counter-increment: item;
  padding: 12px 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 15px;
  line-height: 1.7;
}

.numbering li::before {
  content: counter(item) ".";
  color: var(--accent);
  font-weight: bold;
  margin-right: 10px;
  font-size: 18px;
}

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

/* -------------------------------------------
   選ばれる理由（reason）
   ------------------------------------------- */
.reason {
  background: var(--white);
  padding: 60px 0;
}

/* -------------------------------------------
   アコーディオン共通
   ------------------------------------------- */
.acc-box {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 20px;
  margin: 15px 0;
  background: var(--white);
}

.acc-box-innerbox {
  display: flex;
  align-items: flex-start;
  gap: 15px;
  flex-wrap: wrap;
}

.acc-number {
  display: inline-block;
  background: var(--main-color);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: bold;
  white-space: nowrap;
  flex-shrink: 0;
}

.acc-title {
  font-size: 15px;
  line-height: 1.7;
  flex: 1;
  min-width: 200px;
}

.hide-text {
  display: none;
  padding: 15px 0 5px;
  line-height: 2;
  font-size: 14px;
  color: var(--text-sub);
}

.readmore {
  display: block;
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-radius: 4px;
  cursor: pointer;
  font-size: 13px;
  color: var(--main-color);
  font-weight: bold;
  text-align: center;
  transition: background 0.3s;
  position: relative;
}

.readmore::after {
  content: "▼ 続きを読む";
}

.readmore.on-click::after {
  content: "▲ 閉じる";
}

.readmore:hover {
  background: var(--soft);
}

/* -------------------------------------------
   料金セクション
   ------------------------------------------- */
.price {
  background: var(--bg-section);
  padding: 60px 0;
}

.container-box {
  max-width: 700px;
  margin: 20px auto;
}

.innerbox {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 25px;
  margin: 15px 0;
  background: var(--white);
}

.price-textbox {
  margin: 20px 0;
}

.price-title {
  font-size: 18px;
  font-weight: bold;
  color: var(--main-dark);
  margin-bottom: 15px;
}

.price-text p {
  margin: 4px 0;
}

/* -------------------------------------------
   サービスの流れ
   ------------------------------------------- */
.serviceflow {
  background: var(--white);
  padding: 60px 0;
}

/* ===== 【修正】Service Flow セクション定義 ===== */
.serviceflow-inner {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}

.serviceflow-steps {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}

.serviceflow-step {
  text-align: center;
  padding: 20px;
}

.step-number {
  display: inline-block;
  background: var(--main-color);
  color: var(--white);
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: bold;
  font-size: 14px;
  margin-bottom: 15px;
}

.step-title {
  font-size: 16px;
  font-weight: bold;
  color: var(--text-color);
  margin: 15px 0;
  line-height: 1.4;
}

.step-description {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
  margin-bottom: 20px;
}

.step-illustration {
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 200px;
}

.step-illustration img {
  max-width: 100%;
  height: auto;
  width: auto;
  object-fit: contain;
}

.flow-title {
  font-size: 16px;
}

.flow-title span {
  font-size: 18px;
  font-weight: bold;
}

.flow-text {
  line-height: 2;
  font-size: 14px;
  padding: 10px 0;
}

.flow-img {
  max-width: 200px;
  width: 50%;
  height: auto;
  margin: 15px auto;
  display: block;
}

.plobrem02-img {
  max-width: 250px;
  width: 60%;
  height: auto;
  margin: 15px auto;
  display: block;
}

.triangle {
  text-align: center;
  font-size: 24px;
  color: var(--main-color);
  padding: 5px 0;
}

/* -------------------------------------------
   よくあるご質問
   ------------------------------------------- */
.question {
  background: var(--bg-section);
  padding: 60px 0;
}

/* -------------------------------------------
   追伸（PS）
   ------------------------------------------- */
.ps {
  background: var(--white);
  padding: 60px 0;
}

.frame-ps {
  position: relative;
}

.ps-text {
  line-height: 2.2;
}

.ps-img {
  max-width: 300px;
  width: 100%;
  height: auto;
  position: relative;
  top: 60px;
}

/* -------------------------------------------
   事務所情報
   ------------------------------------------- */
.about {
  background: var(--bg-section);
  padding: 60px 0;
}

.table-frame {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.table_design02 {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
}

.table_design02 th,
.table_design02 td {
  padding: 15px 20px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
  line-height: 1.6;
}

.table_design02 th {
  background: var(--soft);
  width: 30%;
  font-weight: bold;
  text-align: left;
}

.table_design02 td a {
  color: var(--main-color);
  text-decoration: underline;
}

/* -------------------------------------------
   フッター
   ------------------------------------------- */
footer {
  background: #EEF7F2; /* 薄いミントグリーン：サイトカラーと統一感ある明るい背景 */
  color: #1A3A2E;      /* 深いダークグリーン：明るい背景に対して高コントラスト */
  text-align: center;
  padding: 48px 20px 32px;
  border-top: 3px solid #34D399;
}

.footer-inner {
  max-width: 800px;
  margin: 0 auto;
}

.footer-content {
  margin-bottom: 28px;
}

.footer-title {
  font-size: 18px;
  font-weight: bold;
  color: #0F2820; /* 最も濃い：事務所名は一番目立たせる */
  margin-bottom: 12px;
  letter-spacing: 1px;
}

.footer-address,
.footer-hours,
.footer-note {
  font-size: 13px;
  color: #2D6B52; /* 中程度の濃さ：補助テキスト */
  line-height: 2;
  margin: 0;
}

.footer-tel {
  margin: 10px 0;
}

.footer-tel a {
  font-size: 22px;
  font-weight: bold;
  color: #1A6B4A; /* 濃いグリーン：電話番号は目立たせる */
  text-decoration: none;
  letter-spacing: 1.5px;
}

.footer-tel a:hover {
  color: #0F2820;
}

.footer-links {
  margin-bottom: 24px;
  padding-top: 20px;
  border-top: 1px solid #B8E6D4; /* 薄い区切り線 */
}

.footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer-links li a {
  font-size: 13px;
  color: #1A6B4A;
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links li a:hover {
  color: #0F2820;
  text-decoration: underline;
}

.footer-copyright {
  font-size: 12px;
  color: #5A9B80; /* やや薄め：コピーライトは控えめに */
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid #B8E6D4;
}

footer .small-text {
  font-size: 12px;
  line-height: 1.8;
}

footer a {
  color: #1A6B4A;
}

footer a:hover {
  color: #0F2820;
  opacity: 1;
}

/* -------------------------------------------
   Contact Form 7 カスタマイズ
   ------------------------------------------- */
table.CF7_table {
  width: 80%;
  margin: 3em auto;
  border: 2px solid var(--border-color);
  background: var(--white);
}

table.CF7_table tr {
  border-top: 1px solid var(--border-color);
  line-height: 3.5em;
}

.CF7_table input,
.CF7_table textarea {
  border: 1px solid #d8d8d8;
  max-width: 98%;
  width: 100%;
  margin: 10px;
  background: var(--white);
}

.CF7_table ::placeholder {
  color: #797979;
}

.CF7_req {
  font-size: 0.9em;
  padding: 5px;
  background: var(--accent);
  color: var(--white);
  border-radius: 3px;
  margin: auto 1em;
}

.CF7_unreq {
  font-size: 0.9em;
  padding: 5px;
  background: #bdbdbd;
  color: var(--white);
  border-radius: 3px;
  margin: auto 1em;
}

.wpcf7 input.wpcf7-submit {
  background-color: var(--accent);
  border-radius: 3px;
  color: var(--white);
  font-size: 1.2em;
  font-weight: bold;
  margin: 2em auto;
  padding: 10px;
  border: none;
  cursor: pointer;
}

.CF7_btn {
  text-align: center;
  margin-top: 20px;
}

/* -------------------------------------------
   Checkbox カスタマイズ
   ------------------------------------------- */
.wpcf7-spinner {
  width: 0;
  margin: 0;
}

.wpcf7-list-item {
  display: block;
  line-height: 1;
  margin: 20px;
}

input[type="checkbox"] {
  display: none;
}

.wpcf7-list-item-label {
  position: relative;
  height: 20px;
  line-height: 20px;
  padding-left: 25px;
  display: inline-block;
}

.wpcf7-list-item-label::before {
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border: 2px solid #797979;
  background: var(--white);
  position: absolute;
  left: 0;
  top: 0;
  box-sizing: border-box;
}

input[type="checkbox"]:checked + .wpcf7-list-item-label::after {
  content: "";
  display: block;
  width: 10px;
  height: 8px;
  border-top: 3px solid var(--main-color);
  border-right: 3px solid var(--main-color);
  transform: rotate(135deg);
  position: absolute;
  left: 5px;
  top: 5px;
}

/* -------------------------------------------
   リンクボタン共通
   ------------------------------------------- */
.link_btn {
  transition: opacity 0.3s;
}

.link_btn:hover {
  opacity: 0.8;
}

/* -------------------------------------------
   レスポンシブ（タブレット）
   ------------------------------------------- */
@media screen and (max-width: 768px) {
  .sp { display: block; }
  .pc { display: none; }

  .header-fixed .flex {
    flex-direction: column;
    gap: 8px;
    padding: 8px 12px;
  }

  /* スマホ用：ロゴサイズを縮小 */
  .header-logo {
    max-width: 150px;
  }

  .header-logo img {
    width: 100%;
    height: auto;
  }

  .logo {
    max-width: 150px;
  }

  .header-content {
    flex-direction: column;
    gap: 8px;
  }

  .phone-number {
    font-size: clamp(20px, 5vw, 30px);
  }

  /* スマホ用：FV画像 */
  .fv {
    margin-top: 120px;
  }

  .fv img {
    width: 100%;
    height: auto;
    max-height: none;
  }

  .pc-flex {
    flex-direction: column;
    align-items: center;
  }

  .cta-button01 {
    max-width: 280px;
  }

  .plobrem-frame {
    padding: 20px 15px;
  }

  .plobrem-ul li {
    font-size: 14px;
    padding: 10px 12px;
  }

  table.CF7_table {
    width: 95%;
  }

  .CF7_table tr,
  .CF7_table td,
  .CF7_table th {
    display: block;
    width: 100%;
    line-height: 2.5em;
  }

  .CF7_table th {
    background-color: #ebedf5;
  }

  .table_design02 th {
    width: 35%;
  }

  .acc-box-innerbox {
    flex-direction: column;
    gap: 8px;
  }

  /* ===== 【修正】画像調整（タブレット・SP） ===== */
  .serviceflow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .step-illustration {
    min-height: 150px;
  }

  .plobrem-img,
  .inner-img,
  .frame-img,
  .ps-img {
    max-width: 92%;
    margin-left: auto;
    margin-right: auto;
  }

  .flow-img {
    max-width: 150px;
    width: 70%;
  }

  .ps-img {
    max-width: 200px;
    top: 30px;
  }
}

/* -------------------------------------------
   レスポンシブ（スマートフォン）
   ------------------------------------------- */
@media screen and (max-width: 480px) {
  .fv {
    margin-top: 100px;
  }

  section {
    padding: 40px 0;
  }

  .plobrem-title {
    font-size: clamp(18px, 5vw, 24px);
    padding: 15px 10px 20px;
  }

  .container {
    padding: 0 15px;
  }

  .innerbox {
    padding: 15px;
  }

  .profile-box {
    padding: 20px 15px;
  }

  .plobrem-frame02 {
    padding: 20px 15px 20px 35px;
  }

  .button001 a {
    padding: 10px 16px;
    font-size: 12px;
  }

  /* ===== 【修正】画像調整（超小型 SP） ===== */
  .serviceflow-steps {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .step-illustration {
    min-height: 120px;
  }

  .step-illustration img {
    max-width: 80%;
  }

  .plobrem-img,
  .inner-img,
  .frame-img {
    max-width: 95%;
  }

  .flow-img {
    max-width: 120px;
    width: 60%;
  }

  .ps-img {
    max-width: 150px;
    top: 30px;
  }

  .cta-button01 {
    max-width: 85%;
  }
}
/* ============================================
   包括的なCSS修正ファイル
   style.css に上書きまたは追記してください
   ============================================ */

/* ============================================
   1. ヘッダー関連の修正
   ============================================ */

/* ロゴサイズ削減（PC） */
.header-logo {
  max-width: 130px;
  flex-shrink: 0;
}

.header-logo img {
  width: 100%;
  height: auto;
  display: block;
}

/* 電話番号スタイル */
.header-tel {
  color: var(--main-color);
  font-weight: bold;
  font-size: 18px;
  text-decoration: none;
  transition: opacity 0.3s;
}

.header-tel:hover {
  opacity: 0.8;
}

/* メールボタン（右上配置・色付き） */
.header-mail-btn {
  background-color: var(--main-color);
  color: var(--white);
  border: none;
  padding: 10px 18px;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  font-size: 13px;
  transition: all 0.3s ease;
  white-space: nowrap;
}

.header-mail-btn:hover {
  background-color: var(--main-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(52, 211, 153, 0.3);
}

/* ============================================
   2. 画像関連の修正（中央表示）
   ============================================ */

/* 問題セクション（illust09） */
.plobrem-illustration {
  text-align: center;
  margin: 0 auto;
}

.plobrem-illustration img {
  max-width: 216px;
  width: 100%;
  aspect-ratio: 216 / 280;
  object-fit: contain;
  display: block;
}

/* 既婚者確認セクション（illust10） */
.teach-illustration {
  text-align: center;
  margin: 0 auto;
}

.teach-illustration img {
  max-width: 300px;
  width: 90%;
  height: auto;
  display: inline-block;
}

/* 重要フレーム */
.teach-frame {
  text-align: center;
  margin: 15px 0;
}

.teach-frame img {
  width: 450px;
  max-width: 100%;
  aspect-ratio: 225 / 271;
  height: auto;
  display: inline-block;
  object-fit: contain;
}

/* プロフィール画像 */
.profile-image {
  text-align: center;
  margin-bottom: 20px;
}

.profile-image img {
  max-width: 250px;
  width: 90%;
  height: auto;
  display: inline-block;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* PS（最後に）セクション画像 */
.ps-illustration {
  text-align: center;
  margin: 0 auto 20px;
}

.ps-illustration img {
  max-width: 280px;
  width: 90%;
  height: auto;
  display: inline-block;
}

/* ============================================
   3. CTA（Call to Action）ボタン修正
   ============================================ */

/* CTAボタンコンテナ中央配置 */
.cta-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
}

/* CTAボタン基本スタイル */
.cta-btn {
  display: inline-block;
  padding: 22px 56px;
  border: none;
  border-radius: 12px;
  font-size: 19px;
  font-weight: 900;
  letter-spacing: 0.5px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  white-space: nowrap;
  min-width: 240px;
  text-align: center;
  color: var(--white);
}

/* 電話ボタン：オレンジ（緑背景への最高コントラスト・行動を促す色） */
.cta-btn-tel {
  background-color: #F97316;
  box-shadow: 0 4px 16px rgba(249, 115, 22, 0.45);
}

.cta-btn-tel:hover {
  background-color: #EA580C;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 115, 22, 0.55);
}

/* メールボタン：ネイビー（信頼感・緑に対して視覚的に差別化） */
.cta-btn-mail {
  background-color: #1E3A5F;
  box-shadow: 0 4px 16px rgba(30, 58, 95, 0.4);
}

.cta-btn-mail:hover {
  background-color: #162D4A;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(30, 58, 95, 0.5);
}

/* CTAセクション全体の中央配置 */
.cta-section {
  text-align: center;
}

.cta-content {
  max-width: 700px;
  margin: 0 auto;
  padding: 30px 20px;
}

/* ============================================
   4. input-list の修正（アイコン・テキスト配置）
   ============================================ */

.input-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.input-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  margin-bottom: 10px;
  background-color: var(--bg-light);
  border-left: 4px solid var(--main-color);
  border-radius: 4px;
  transition: all 0.3s ease;
}

.input-list li:hover {
  background-color: #E0F9F1;
  transform: translateX(4px);
}

.check-icon {
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  margin-top: 2px;
}

.input-list span {
  flex: 1;
  color: var(--text-color);
  line-height: 1.6;
  font-size: 15px;
}

/* ============================================
   5. konkyo-frame（中央表示＋外枠）
   ============================================ */

.konkyo-frame {
  text-align: center;
  margin: 20px 0;
  padding: 20px;
  background-color: var(--bg-light);
  border: 2px solid var(--main-color);
  border-radius: 8px;
}

.konkyo-frame img {
  max-width: 280px;
  width: 90%;
  height: auto;
  display: inline-block;
}

.difficult-title {
  text-align: center;
  padding: 32px 20px 8px;
  background: #fff;
}

.konkyo-frame-wrap {
  text-align: center;
  padding: 20px;
  background: #fff;
}

.konkyo-frame-img {
  max-width: 480px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ============================================
   6. PS（最後に）セクション修正
   ============================================ */

.ps-text {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
  padding: 30px 20px;
}

.ps-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 15px;
}

.ps-signature {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 25px;
}

/* ============================================
   7. why-difficult-section（中央揃え＋外枠）
   ============================================ */

.why-difficult-section {
  background-color: var(--bg-light);
  border: 2px solid var(--main-color);
  border-radius: 10px;
  padding: 40px 20px;
  margin: 40px 0;
}

.why-difficult-inner {
  max-width: 1100px;
  margin: 0 auto;
}

.why-difficult-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.why-difficult-item {
  text-align: center;
  padding: 20px;
  background-color: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.why-difficult-item:hover {
  box-shadow: 0 4px 12px rgba(52, 211, 153, 0.15);
  transform: translateY(-4px);
}

.why-difficult-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.why-difficult-item h3 {
  color: var(--main-color);
  margin: 12px 0;
  font-size: 16px;
}

.why-difficult-item p {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.6;
}

/* difficult-checklist（teach-checklistと同デザイン・黒テキスト・游教科書体） */
.difficult-checklist {
  list-style: none;
  padding: 0;
  margin: 16px 0 0;
  text-align: left;
}

.difficult-checklist li {
  padding: 10px 0 10px 36px;
  position: relative;
  border-bottom: 1px solid #ddd;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.difficult-checklist li:last-child {
  border-bottom: none;
}

.difficult-checklist li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 14px;
  width: 22px;
  height: 22px;
  border-radius: 4px;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'/%3E%3C/svg%3E"),
    linear-gradient(135deg, #333333 0%, #999999 100%);
  background-size: 14px, cover;
  background-repeat: no-repeat, no-repeat;
  background-position: center, center;
}

.difficult-checklist-title {
  font-size: 15px;
  color: #111111;
  font-weight: 700;
  font-family: "游教科書体", "YuKyokasho", "游教科書", sans-serif;
  line-height: 1.4;
}

.difficult-checklist-desc {
  font-size: 13px;
  color: #444444;
  font-weight: 400;
  font-family: "游教科書体", "YuKyokasho", "游教科書", sans-serif;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .difficult-checklist-title {
    font-size: 13px;
  }
  .difficult-checklist-desc {
    font-size: 12px;
  }
}

/* ============================================
   8. about section（テキスト中央＋MAP縮小）
   ============================================ */

.about-table-wrapper {
  text-align: center;
  margin-bottom: 30px;
}

.about-table {
  margin: 0 auto;
  max-width: 600px;
}

.about-table th,
.about-table td {
  text-align: left;
  padding: 12px 16px;
}

.about-table th {
  background-color: var(--main-color);
  color: var(--white);
  font-weight: bold;
  width: 120px;
}

.about-map {
  text-align: center;
  margin-top: 30px;
}

.about-map iframe {
  width: 100%;
  max-width: 800px;
  height: 350px;
  border-radius: 8px;
  border: 2px solid var(--border-color);
}

/* ============================================
   9. benefits section（中央揃え＋外枠）
   ============================================ */

.benefits-section {
  background-color: var(--bg-light);
  border: 2px solid var(--accent);
  border-radius: 10px;
  padding: 40px 20px;
  margin: 40px 0;
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-top: 30px;
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
}

.benefit-card {
  text-align: left;
  padding: 20px;
  background-color: var(--white);
  border-radius: 8px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.benefit-card:hover {
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.15);
  transform: translateY(-4px);
}

.benefit-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.benefit-number {
  flex-shrink: 0;
  font-size: 22px;
  font-weight: 900;
  color: #9a4748;
  line-height: 1.3;
  min-width: 32px;
}

.benefit-content {
  flex: 1;
}

.benefit-card h3 {
  color: #333333;
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 700;
}

.benefit-card p {
  font-size: 13px;
  color: var(--text-sub);
  line-height: 1.6;
  margin: 0;
}

/* ============================================
   10. postscript セクション（画像＋テキスト）
   ============================================ */

.postscript-section {
  background: linear-gradient(135deg, var(--bg-light) 0%, var(--white) 100%);
  border: 2px solid var(--main-color);
  border-radius: 10px;
  padding: 40px 20px;
  margin: 40px 0;
}

.postscript-message {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.postscript-message h2 {
  color: var(--main-color);
  margin-bottom: 20px;
}

.postscript-message p {
  font-size: 15px;
  line-height: 1.8;
  margin-bottom: 15px;
  color: var(--text-color);
}

.postscript-signature {
  font-size: 14px;
  color: var(--text-sub);
  margin-top: 25px;
}

/* ============================================
   11. レスポンシブ対応（スマホ）
   ============================================ */

@media screen and (max-width: 768px) {
  /* ロゴのスマホサイズ */
  .header-logo {
    max-width: 100px;
  }

  /* 電話番号とメールボタンの配置 */
  .header-contact {
    flex-direction: column;
    gap: 8px;
  }

  .header-tel {
    font-size: 16px;
  }

  .header-mail-btn {
    width: 100%;
    padding: 8px 16px;
    font-size: 12px;
  }

  /* 画像のスマホサイズ */
  .plobrem-illustration img {
    max-width: 160px;
  }
  .teach-illustration img,
  .ps-illustration img {
    max-width: 200px;
  }

  .profile-image img {
    max-width: 200px;
  }

  .teach-frame img {
    max-width: 150px;
  }

  /* CTAボタン */
  .cta-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .cta-btn {
    width: 100%;
    min-width: unset;
    padding: 18px 24px;
    font-size: 17px;
  }

  /* input-list */
  .input-list li {
    flex-direction: column;
    align-items: flex-start;
  }

  .check-icon {
    width: 20px;
    height: 20px;
  }

  /* why-difficult-grid */
  .why-difficult-grid {
    grid-template-columns: 1fr;
  }

  /* benefits-grid */
  .benefits-grid {
    grid-template-columns: 1fr;
  }

  /* about map */
  .about-map iframe {
    height: 280px;
  }

  /* テキスト調整 */
  .ps-text p,
  .postscript-message p {
    font-size: 14px;
  }
}

/* ============================================
   12. CTA タイトルテキスト
   ============================================ */

.cta-title-text {
  font-size: 28px;
  font-weight: bold;
  color: var(--main-color);
  margin: 0 auto 25px;
  text-align: center;
  letter-spacing: 1px;
}

@media screen and (max-width: 768px) {
  .cta-title-text {
    font-size: 22px;
    margin-bottom: 20px;
  }
}

/* ============================================
   PC専用 追加修正（2026-03-20）
   ============================================ */

/* ============================================
   1. FV画像：アスペクト比2005:731を正確に適用
   ============================================ */
.fv {
  margin-top: 80px;
  width: 100%;
  overflow: hidden;
}

.fv picture {
  display: block;
  width: 100%;
}

/* PC：幅100%・自然な縦横比で全体表示 */
.fv img {
  width: 100%;
  height: auto;
  display: block;
}

/* ============================================
   2. CTA：タイトル画像・グラデーション背景分離
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, #ECFDF5 0%, #D1FAE5 100%);
  padding: 40px 20px;
  text-align: center;
}

/* CTAタイトル画像ラッパー */
.cta-title-wrap {
  text-align: center;
  margin-bottom: 24px;
}

.cta-title-img {
  max-width: 320px;
  width: 60%;
  height: auto;
  display: inline-block;
}

/* CTAボタンは背景をリセットして自分の色を持つ */
.cta-buttons {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  align-items: center;
  background: transparent;
}

/* ============================================
   3. セクションタイトル共通：中央揃え・大きく
   ============================================ */
.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
  color: var(--text-color);
  margin-bottom: 32px;
  line-height: 1.4;
}

/* ============================================
   4. 「こんな悩み抱えていませんか？」タイトル
   ============================================ */
.plobrem-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  line-height: 1.3;
  margin-bottom: 8px; /* 隙間を詰める */
  padding-bottom: 12px;
}

.title-small {
  font-size: 20px;
  color: var(--text-sub);
  font-weight: normal;
}

.title-large {
  font-size: 48px;
  color: var(--main-color);
  font-weight: bold;
  letter-spacing: 2px;
  line-height: 1;
}

/* ============================================
   5. 「事実関係の把握が重要です」
   ============================================ */
.input .section-title {
  text-align: center;
  font-size: 30px;
}

/* input-list：全体を一つの枠で覆う */
.input-list {
  list-style: none;
  padding: 20px 24px;
  margin: 16px 0;
  background-color: var(--white);
  border: 2px solid var(--main-color);
  border-radius: 10px;
}

.input-list li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border-color);
  background: none;
  border-left: none;
  border-radius: 0;
  margin-bottom: 0;
  transform: none;
}

.input-list li:last-child {
  border-bottom: none;
}

.input-list li:hover {
  background: none;
  transform: none;
}

.check-icon {
  flex-shrink: 0;
  width: 28px;
  height: 28px;
}

.input-list span {
  font-size: 15px;
  color: var(--text-color);
  line-height: 1.6;
}

/* ============================================
   6. 「既婚か不明な場合でも大丈夫です」
   ============================================ */
.teach .section-title {
  text-align: center;
  font-size: 30px;
}

/* illust10：216×409px（縦長） */
.teach-illustration img {
  max-width: 216px;
  width: 100%;
  aspect-ratio: 216 / 409;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* teach-text 中央揃え */
.teach-text {
  text-align: center;
}

/* ============================================
   7. illust09：216×350px
   ============================================ */
.plobrem-illustration img {
  max-width: 216px;
  width: 100%;
  aspect-ratio: 216 / 280;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* ============================================
   8. プロフィールセクション：中央揃え
   ============================================ */
.profile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.profile-text {
  text-align: center;
  max-width: 700px;
}

.profile-name {
  text-align: center;
  font-size: 24px;
  color: var(--main-color);
}

.profile-title {
  text-align: center;
}

.profile-info p,
.profile-biography p,
.profile-biography ul {
  text-align: left;
  display: inline-block;
  text-align: left;
}

.profile-biography {
  text-align: left;
  display: inline-block;
  max-width: 600px;
  width: 100%;
}

/* postscript image */
.postscript-image {
  text-align: center;
  margin: 20px 0;
}

.postscript-image img {
  max-width: 200px;
  width: 100%;
  height: auto;
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  display: inline-block;
}

/* ============================================
   9. 「ひとりで解決するのは難しいです」
   ============================================ */
.konkyo .section-title {
  text-align: center;
  font-size: 30px;
}

/* ============================================
   10. reason（選ばれる理由）：中央・外枠
   ============================================ */
.reason {
  border: 2px solid var(--main-color);
  border-radius: 10px;
  padding: 40px 20px;
  margin: 40px 0;
  background-color: var(--white);
}

.reason-inner {
  max-width: 900px;
  margin: 0 auto;
}

.reason-items {
  max-width: 800px;
  margin: 0 auto;
}

.reason-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.reason-title-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background-color: var(--bg-light);
  border: none;
  cursor: pointer;
  font-size: 16px;
  font-weight: bold;
  color: var(--text-color);
  text-align: left;
  transition: background 0.3s;
}

.reason-title-btn:hover {
  background-color: #D1FAE5;
}

.reason-content {
  padding: 16px 20px;
  background-color: var(--white);
  display: none;
}

.reason-item.active .reason-content {
  display: block;
}

.reason-icon {
  font-size: 20px;
  color: var(--main-color);
  transition: transform 0.3s;
}

.reason-item.active .reason-icon {
  transform: rotate(45deg);
}

/* ============================================
   11. warning：中央揃え・タイトル目立たせる
   ============================================ */
.warning-section {
  background-color: #FFF9F0;
  border: 2px solid #F59E0B;
  border-radius: 10px;
  padding: 40px 20px;
  margin: 40px 0;
}

.warning-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.warning-section .section-title {
  font-size: 36px;
  color: #D97706;
  letter-spacing: 2px;
  margin-bottom: 8px;
}

.warning-subtitle {
  font-size: 22px;
  font-weight: bold;
  color: #92400E;
  margin-bottom: 28px;
  display: block;
}

.warning-box {
  background-color: var(--white);
  border: 1px solid #FCD34D;
  border-radius: 8px;
  padding: 28px;
  text-align: left;
  max-width: 800px;
  margin: 0 auto;
}

.warning-box h3 {
  color: #B45309;
  font-size: 20px;
  margin-bottom: 16px;
  text-align: center;
}

.warning-list {
  padding-left: 20px;
  margin: 16px 0;
}

.warning-list li {
  margin-bottom: 12px;
  font-size: 15px;
  line-height: 1.7;
}

.warning-note {
  text-align: center;
  margin-top: 20px;
  color: #92400E;
}

/* ============================================
   12. 料金表：中央揃え
   ============================================ */
.price {
  background-color: var(--bg-section);
  padding: 60px 20px;
}

.price-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.price-lead {
  font-size: 14px;
  color: #555;
  line-height: 1.9;
  margin: 16px auto 28px;
  max-width: 700px;
  text-align: left;
}

.price-items {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
}

.price-item {
  flex: 1;
  min-width: 300px;
  max-width: 420px;
  background: var(--white);
  border: 2px solid var(--main-color);
  border-radius: 10px;
  padding: 28px 24px;
  text-align: center;
}

.price-plan-title {
  font-size: 18px;
  color: var(--main-color);
  font-weight: bold;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent-light);
}

.price-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 12px;
}

.price-table td {
  padding: 10px 12px;
  border-bottom: 1px solid var(--border-color);
  font-size: 14px;
}

.price-label {
  font-weight: bold;
  color: var(--text-sub);
  text-align: left;
  width: 35%;
}

.price-value {
  text-align: right;
  color: var(--text-color);
}

.price-note {
  font-size: 12px;
  color: var(--text-sub);
  margin-top: 10px;
  text-align: left;
}

.price-desc {
  text-align: center;
  margin-top: 28px;
  font-size: 15px;
  color: var(--text-sub);
}

/* ============================================
   13. FAQセクション：中央揃え
   ============================================ */
.question {
  background-color: var(--white);
  padding: 60px 20px;
}

.question-inner {
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.question-items {
  max-width: 800px;
  margin: 0 auto;
  text-align: left;
}

.question-item {
  border: 1px solid var(--border-color);
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

.question-title-btn {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 20px;
  background-color: var(--bg-light);
  border: none;
  cursor: pointer;
  font-size: 15px;
  font-weight: bold;
  color: var(--text-color);
  text-align: left;
  transition: background 0.3s;
}

.question-title-btn:hover {
  background-color: #D1FAE5;
}

.question-content {
  padding: 16px 20px;
  background-color: var(--white);
  display: none;
}

.question-item.active .question-content {
  display: block;
}

.question-icon {
  font-size: 20px;
  color: var(--main-color);
  transition: transform 0.3s;
}

.question-item.active .question-icon {
  transform: rotate(45deg);
}

/* ============================================
   14. 「最後に」PS セクション：中央揃え
   ============================================ */
.ps .section-title {
  text-align: center;
  font-size: 30px;
}

.ps-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

/* ============================================
   15. 「一人で解決が難しい理由」：中央・大きく
   ============================================ */
.why-difficult-section .section-title {
  text-align: center;
  font-size: 30px;
}

/* why-difficult-icon：数字スタイル（絵文字削除後） */
.why-difficult-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--main-color);
  color: var(--white);
  font-size: 18px;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-family: "Hiragino Kaku Gothic ProN", sans-serif;
}

/* ============================================
   16. 事務所情報：中央揃え
   ============================================ */
.about .section-title {
  text-align: center;
  font-size: 30px;
}

/* ============================================
   17. 「弁護士に依頼する6つのメリット」：中央揃え
   ============================================ */
.benefits-section .section-title {
  text-align: center;
  font-size: 30px;
}

.benefits-heading {
  line-height: 1.4;
}

.benefits-highlight {
  color: #9a4748;
  font-size: 1.25em;
}

/* ============================================
   18. お問い合わせフォームセクション
   ============================================ */
.contact-section {
  background: #F0FFF8;
  border-top: 3px solid var(--main-color);
  padding: 60px 20px;
}

.contact-inner {
  max-width: 680px;
  margin: 0 auto;
}

.contact-section-title {
  text-align: center;
  font-size: 28px;
  color: var(--main-dark);
  margin-bottom: 8px;
}

.contact-lead {
  text-align: center;
  color: #555;
  font-size: 14px;
  margin-bottom: 32px;
}

.contact-form {
  background: #fff;
  border-radius: 12px;
  padding: 36px 40px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 14px;
  font-weight: bold;
  color: #333;
  margin-bottom: 6px;
}

.form-required {
  color: var(--main-color);
  margin-left: 2px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"],
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ccc;
  border-radius: 8px;
  font-size: 15px;
  font-family: inherit;
  background: #FAFAFA;
  box-sizing: border-box;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--main-color);
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-privacy {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 24px;
  font-size: 14px;
  color: #444;
}

.form-privacy input[type="checkbox"] {
  display: inline-block !important;
  width: 20px;
  height: 20px;
  accent-color: var(--main-color);
  flex-shrink: 0;
  cursor: pointer;
}

.form-privacy label {
  cursor: pointer;
  line-height: 1.5;
}

.form-privacy-link {
  color: #2d7a5a;
  text-decoration: underline;
  font-weight: 700;
}

.form-privacy-link:hover {
  color: #1e5c42;
}

.form-submit {
  display: block;
  width: 100%;
  padding: 16px;
  background: linear-gradient(90deg, var(--main-dark) 0%, var(--main-color) 100%);
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  letter-spacing: 1px;
  transition: opacity 0.2s, transform 0.1s;
}

.form-submit:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .contact-form {
    padding: 24px 20px;
  }
  .contact-section {
    padding: 40px 16px;
  }
}

/* ============================================
   19. スマホ対応（PC限定修正のスマホ調整）
   ============================================ */
@media screen and (max-width: 768px) {
  .section-title {
    font-size: 22px;
  }

  .title-large {
    font-size: 36px;
  }

  .title-small {
    font-size: 16px;
  }

  .fv img {
    width: 100%;
    height: auto;
    max-height: none;
    object-fit: unset;
    aspect-ratio: auto;
  }

  .cta-title-img {
    max-width: 240px;
    width: 80%;
  }

  .price-items {
    flex-direction: column;
    align-items: center;
  }

  .price-item {
    min-width: unset;
    width: 100%;
    max-width: 100%;
  }

  .why-difficult-icon {
    width: 40px;
    height: 40px;
    font-size: 15px;
  }
}

/* ============================================
   ヘッダー デザイン刷新（画像参考）
   ============================================ */

/* ヘッダー全体 */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background: var(--white);
  border-bottom: 1px solid var(--border-color);
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.header-inner {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  max-width: 100%;
  min-height: 70px;
}

/* ===== 左：ロゴ ===== */
.header-logo {
  display: flex;
  align-items: center;
  padding: 10px 24px;
  flex-shrink: 0;
  max-width: 180px;
}

.header-logo a {
  display: block;
}

.header-logo img {
  width: 140px;
  height: auto;
  display: block;
}

/* ===== 右：ヘッダー画像（クリッカブルマップ） ===== */
.header-contact {
  display: flex;
  align-items: stretch;
  background-image: url('img/header-pc.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 0;
  flex: 0 0 auto;
  width: 100%;
  height: 70px;
}

/* 電話エリア（クリッカブル：左側） */
.header-tel-link {
  flex: 1;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: background-color 0.2s ease;
}

.header-tel-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
}

/* メールエリア（クリッカブル：右側） */
.header-mail-link {
  flex: 1;
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: background-color 0.2s ease;
}

.header-mail-link:hover {
  background-color: rgba(0, 0, 0, 0.05);
}
}

/* ===== FV のマージン調整（ヘッダー高さに合わせる） ===== */
.fv {
  margin-top: 70px;
}

/* ===== スマホ対応 ===== */
@media screen and (max-width: 768px) {
  /* ヘッダー：縦2段（ロゴ上・連絡先下） */
  .header-inner {
    flex-direction: column;
    min-height: unset;
    flex-wrap: nowrap;
  }

  /* ロゴ行：全体カラーに合わせた薄ミント背景 + 中央揃え */
  .header-logo {
    width: 100%;
    padding: 8px 16px;
    max-width: none;
    justify-content: center;
    background: #E8F8F2;
  }

  .header-logo img {
    width: 110px;
  }

  /* 連絡先エリア：スマホ版ヘッダー画像 */
  .header-contact {
    width: 100%;
    background-image: url('img/header-sp.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    height: 100px;
  }

  /* 電話エリア（クリッカブル：左側） */
  .header-tel-link {
    flex: 1;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    display: block;
  }

  /* メールエリア（クリッカブル：右側） */
  .header-mail-link {
    flex: 1;
    background: transparent;
    cursor: pointer;
    text-decoration: none;
    display: block;
  }

  /* FV margin-top：ロゴ行(約42px) + スマホ版ヘッダー画像(100px) ≒ 142px */
  .fv {
    margin-top: 142px;
  }

  /* セクション余白を削減 */
  section {
    padding: 30px 0;
  }

  /* ===== plobremリストを中央揃え（赤丸箇所） ===== */
  .plobrem-text {
    text-align: center;
  }
  .plobrem-list li {
    text-align: left;
    display: inline-block;
    width: 100%;
  }

  /* ===== ✅アイコンを各項目の左に（flex-direction修正） ===== */
  .input-list li {
    flex-direction: row;
    align-items: flex-start;
  }
  .check-icon {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    margin-top: 2px;
  }

  /* ===== 既婚か不明セクション：illust10 縮小 ===== */
  .teach-illustration img {
    max-width: 130px;
  }

  /* ===== 既婚か不明セクション：重要フレーム 拡大 ===== */
  .teach-frame img {
    max-width: 280px;
    width: 90%;
  }

  /* ===== STEP3（illust10）縮小：step-illustrationを限定 ===== */
  .step-illustration img {
    max-width: 130px;
    width: 60%;
  }
}

/* =====================================================
   CTAカード型デザイン（参考画像スタイル・グリーン系）
   ===================================================== */

/* セクション背景 */
.cta-section {
  background: #2BA07B !important;
  padding: 30px 20px !important;
  text-align: center;
}

/* カード本体 */
.cta-card {
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
  border: 1.5px solid #e0e0e0;
  max-width: 480px;
  margin: 0 auto;
  padding: 24px 24px 22px;
}

/* ===== 見出しエリア ===== */
.cta-heading {
  text-align: center;
  margin-bottom: 18px;
}
.cta-heading-sub {
  font-size: 14px;
  color: #555555;
  margin-bottom: 2px;
  font-weight: 600;
}
.cta-heading-main {
  font-size: 30px;
  font-weight: 900;
  color: #1a1a1a;
  line-height: 1.2;
}
.cta-heading-accent {
  color: #2BA07B;
}

/* ===== ラベルバッジ（アウトライン・ピル型） ===== */
.cta-block-label {
  display: inline-block;
  background: transparent;
  color: #2BA07B;
  border: 1.5px solid #2BA07B;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 22px;
  border-radius: 999px;
  margin-bottom: 10px;
  letter-spacing: 0.04em;
  text-align: center;
}

/* ===== 電話エリア：白背景・黒文字 ===== */
.cta-tel-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 16px;
  margin-bottom: 16px;
  text-align: left;
}

/* 電話番号リンク */
.cta-tel-link {
  display: block;
  font-size: 36px;
  font-weight: 900;
  color: #d32f2f;
  letter-spacing: 0.04em;
  text-decoration: none;
  line-height: 1.2;
  margin-bottom: 6px;
  transition: color 0.2s;
  text-align: left;
}
.cta-tel-link:hover { color: #b71c1c; }

/* 受付時間 */
.cta-tel-hours {
  font-size: 13px;
  color: #555555;
  margin-bottom: 4px;
}

/* タップ案内 */
.cta-tel-note {
  font-size: 11px;
  color: #2BA07B;
  font-weight: 600;
}

/* ===== メールエリア ===== */
.cta-mail-block {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px 16px;
  text-align: left;
}

/* メールボタン：ワインレッド・ピル型（参考画像に合わせる） */
.cta-mail-btn {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  background: #8B4555;
  color: #ffffff;
  border-radius: 12px;
  padding: 16px 18px;
  text-decoration: none;
  font-weight: 700;
  font-size: 16px;
  transition: background 0.2s, transform 0.15s;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  line-height: 1.4;
  width: 100%;
}
.cta-mail-btn:hover {
  background: #704555;
  transform: translateY(-2px);
}

/* アイコン共通スタイル */
.cta-icon {
  width: 48px;
  height: 48px;
  min-width: 48px;
  object-fit: contain;
}

/* 電話テキスト内容 */
.cta-tel-content {
  flex: 1;
}

.cta-block-label {
  text-align: left !important;
}

.cta-tel-hours,
.cta-tel-note {
  text-align: left;
}

/* メール内容コンテナ */
.cta-mail-content {
  flex: 1;
}

/* メールボタン テキストグループ */
.cta-mail-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

/* メールボタン下部サブテキスト */
.cta-mail-sub {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
  letter-spacing: 0.04em;
  margin-top: 3px;
}

/* ===== スマホ対応（CTAカード） ===== */
@media screen and (max-width: 768px) {
  .cta-section {
    padding: 30px 16px !important;
  }
  .cta-card {
    padding: 18px 14px 16px;
    border-radius: 12px;
    max-width: 100%;
  }
  .cta-heading-main {
    font-size: 24px;
  }
  .cta-tel-block,
  .cta-mail-block {
    flex-direction: column;
    gap: 12px;
    padding: 12px;
    margin-bottom: 12px;
  }
  .cta-icon {
    width: 40px;
    height: 40px;
    min-width: 40px;
  }
  .cta-tel-link {
    font-size: 28px;
  }
  .cta-mail-btn {
    font-size: 15px;
    padding: 12px 14px;
    width: 100%;
  }
}

/* =====================================================
   スマホ修正（2026/03/19）
   ① ヘッダー1行横並び：ロゴ | 電話 | メール
   ② FV 横余白ゼロ・被り修正
   ===================================================== */

@media screen and (max-width: 768px) {
  html, body {
    overflow-x: hidden !important;
    max-width: 100% !important;
  }

  /* --------------------------------------------------
     ヘッダー全体：1行横並び
     -------------------------------------------------- */
  .header-inner {
    flex-direction: row !important;
    align-items: stretch !important;
    flex-wrap: nowrap !important;
    min-height: unset !important;
  }

  /* ロゴ：左端・コンパクト */
  .header-logo {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: auto !important;
    flex-shrink: 0 !important;
    max-width: none !important;
    padding: 6px 8px !important;
    background: #E8F8F2 !important;
  }

  .header-logo a {
    display: block !important;
    line-height: 0 !important;
  }

  .header-logo img {
    width: 72px !important;
    height: auto !important;
    display: block !important;
    max-width: 100% !important;
  }

  /* 電話・メールエリア：残り幅を使い切る */
  .header-contact {
    flex: 1 !important;
    width: auto !important;
    flex-direction: row !important;
    align-items: stretch !important;
    justify-content: space-between !important;
    background: linear-gradient(90deg, var(--main-dark) 0%, var(--main-color) 100%) !important;
  }

  /* 電話エリア */
  .header-tel-area {
    flex: 1 !important;
    align-items: flex-start !important;
    text-align: left !important;
    padding: 5px 6px 5px 10px !important;
    gap: 1px !important;
    border-right: 1px solid rgba(255,255,255,0.3) !important;
  }

  .header-free-label {
    font-size: 8px !important;
    letter-spacing: 0 !important;
  }

  .header-tel {
    font-size: 15px !important;
    letter-spacing: 0 !important;
    white-space: nowrap !important;
  }

  .header-hours {
    font-size: 8px !important;
    white-space: nowrap !important;
  }

  /* メールエリア */
  .header-mail-area {
    align-items: center !important;
    justify-content: center !important;
    padding: 5px 8px !important;
    min-width: 80px !important;
    width: auto !important;
    flex-shrink: 0 !important;
    gap: 2px !important;
  }

  .header-mail-btn {
    font-size: 10px !important;
    padding: 6px 8px !important;
    white-space: nowrap !important;
    text-align: center !important;
  }

  .header-24h {
    font-size: 7px !important;
    text-align: center !important;
    white-space: nowrap !important;
  }

  /* --------------------------------------------------
     FV：1行ヘッダー高さ（約54px）に合わせた margin-top
         + 画面全幅・余白ゼロ
     -------------------------------------------------- */
  .fv {
    margin-top: 56px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
  }

  .fv picture {
    display: block !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    line-height: 0 !important;
    font-size: 0 !important;
  }

  .fv img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    max-width: 100% !important;
  }
}

/* =====================================================
   Plobremセクション：画像差し替え
   ===================================================== */

.plobrem-image-only {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px 16px;
}

.plobrem-section-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
}

@media screen and (max-width: 768px) {
  .plobrem-section-img,
  .risk-section-img,
  .trouble-woman-inline-img,
  .uno-message-img,
  .consultation-flow-img,
  .consult-support-img {
    max-width: 100%;
  }
}

/* =====================================================
   CTA画像型デザイン（新規）
   ===================================================== */

/* セクション：flexで確実に中央寄せ */
.cta-section {
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  background: #2BA07B !important;
  padding: 30px 20px !important;
}

/* 画像ラッパー：中央に固定幅で表示 */
.cta-image-wrapper {
  position: relative;
  display: block;
  width: 100%;
  max-width: 480px;
  margin: 0 auto;
}

.cta-image {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* クリック可能エリア - 電話 */
.cta-tel-area {
  position: absolute;
  top: 35%;
  left: 0;
  width: 100%;
  height: 22%;
  cursor: pointer;
  text-decoration: none;
  display: block;
  z-index: 10;
}

/* クリック可能エリア - メール */
.cta-mail-area {
  position: absolute;
  bottom: 8%;
  left: 0;
  width: 100%;
  height: 20%;
  cursor: pointer;
  text-decoration: none;
  display: block;
  z-index: 10;
}

/* PC：ホバーで薄い白overlay */
@media (hover: hover) {
  .cta-tel-area:hover,
  .cta-mail-area:hover {
    background-color: rgba(255, 255, 255, 0.08);
    border-radius: 8px;
  }
}

/* スマホ対応 */
@media screen and (max-width: 768px) {
  .cta-image-wrapper {
    max-width: 100%;
  }

  .cta-tel-area {
    top: 33%;
    height: 24%;
  }

  .cta-mail-area {
    bottom: 6%;
    height: 22%;
  }
}

/* =====================================================
   ヘッダー画像型デザイン（新規）
   ===================================================== */

/* ヘッダー全体 */
.header {
  width: 100%;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9999;
  background: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 画像ラッパー */
.header-image-wrapper {
  position: relative;
  width: 100%;
  line-height: 0;
}

/* ヘッダー画像共通 */
.header-img {
  width: 100%;
  height: auto;
  display: block;
}

/* PC用のみ表示 */
.header-img-pc {
  display: block;
}

/* スマホ用は初期非表示 */
.header-img-sp {
  display: none;
}

/* 電話クリックエリア（画像内の電話番号部分） */
.header-tel-link {
  position: absolute;
  top: 0;
  left: 30%;
  width: 45%;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
  z-index: 10;
  transition: background-color 0.2s;
}

.header-tel-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* メールクリックエリア（画像内の無料相談ボタン部分） */
.header-mail-link {
  position: absolute;
  top: 0;
  right: 0;
  width: 18%;
  height: 100%;
  cursor: pointer;
  text-decoration: none;
  z-index: 10;
  transition: background-color 0.2s;
}

.header-mail-link:hover {
  background-color: rgba(255, 255, 255, 0.08);
}

/* ===== スマホ対応 ===== */
@media screen and (max-width: 768px) {
  .header-img-pc {
    display: none;
  }

  .header-img-sp {
    display: block;
  }

  /* スマホでの電話エリア */
  .header-tel-link {
    left: 25%;
    width: 50%;
  }

  /* スマホでのメールエリア */
  .header-mail-link {
    right: 0;
    width: 22%;
  }
}

/* =====================================================
   Plobrem Note Card（plobremセクション直下の注意書きカード）
   ===================================================== */

.plobrem-note-section {
  display: flex;
  justify-content: center;
  padding: 0 16px 0;
  background: #f0f9f5; /* plobremセクションの背景と合わせる */
}

.plobrem-note-card {
  background: #ffffff;
  border: 2px solid #9dd4be;
  border-radius: 14px;
  padding: 28px 32px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
}

/* 通常テキスト行 */
.plobrem-note-line {
  font-size: 15px;
  line-height: 1.9;
  color: #333333;
  margin: 0 0 10px;
}

.plobrem-note-line:last-child {
  margin-bottom: 0;
}

/* 「しかし実際は〜として」の行 */
.plobrem-note-middle {
  margin-top: 6px;
}

/* 「貞操権侵害」：大きく・赤・下線 */
.plobrem-note-keyword {
  font-size: 1.35em;
  font-weight: 900;
  color: #c0392b;
  text-decoration: underline;
  text-decoration-color: #c0392b;
  text-underline-offset: 4px;
  letter-spacing: 0.05em;
}

/* 「慰謝料請求」：赤・やや大きい */
.plobrem-note-red {
  font-size: 1.25em;
  font-weight: 900;
  color: #c0392b;
  letter-spacing: 0.04em;
}

@media screen and (max-width: 768px) {
  .plobrem-note-section {
    padding: 0 12px 0;
  }

  .plobrem-note-card {
    padding: 20px 20px;
    border-radius: 12px;
  }

  .plobrem-note-line {
    font-size: 14px;
  }

  .plobrem-note-keyword {
    font-size: 1.25em;
  }

  .plobrem-note-red {
    font-size: 1.15em;
  }
}

/* =====================================================
   Risk Section Image（plobrem-note-card直下の画像）
   ===================================================== */
.risk-section-img-wrap {
  margin: 0;
  padding: 0;
  line-height: 0;
  background: #f0f9f5;
}

.risk-section-img {
  width: 100%;
  max-width: 480px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* ============================================
   PC専用バランス調整（min-width: 769px）
   plobrem-section-img 基準（max-width: 480px 中央寄せ）に統一
   ============================================ */
@media (min-width: 769px) {

  /* teach-checklist：フォントサイズ拡大 */
  .teach-checklist li {
    font-size: 17px;
  }

  /* teach-closing：フォントサイズ拡大 */
  .teach-closing {
    font-size: 16px;
  }

  /* difficult-checklist-desc：フォントサイズ拡大 */
  .difficult-checklist-desc {
    font-size: 15px;
  }

  /* difficult-checklist-title：フォントサイズ拡大 */
  .difficult-checklist-title {
    font-size: 17px;
  }

  /* モバイル向けの max-width: 100% 上書きを PC では 480px に固定 */
  .risk-section-img,
  .trouble-woman-inline-img,
  .uno-message-img,
  .consultation-flow-img,
  .consult-support-img,
  .plobrem-section-img {
    max-width: 480px;
    width: 100%;
    margin: 0 auto;
  }
}

/* ============================================
   サブページ固定ヘッダー対応
   privacy / terms / thanks：コンテンツがヘッダーに隠れないよう余白を確保
   ============================================ */
.privacy-section,
.terms-section {
  padding-top: 130px;
  padding-left: 24px;
  padding-right: 24px;
  padding-bottom: 60px;
  max-width: 800px;
  margin: 0 auto;
}

.privacy-section h1,
.terms-section h1 {
  font-size: 22px;
  font-weight: 700;
  margin-bottom: 28px;
  color: #333;
  border-bottom: 2px solid #2d9467;
  padding-bottom: 12px;
}

.privacy-section h2,
.terms-section h2 {
  font-size: 16px;
  font-weight: 700;
  color: #2d7a5a;
  margin: 24px 0 8px;
}

.privacy-section p,
.terms-section p {
  font-size: 14px;
  color: #444;
  line-height: 1.9;
  margin-bottom: 12px;
}

.privacy-section ul,
.terms-section ul,
.privacy-section ol,
.terms-section ol {
  margin: 8px 0 16px 20px;
}

.privacy-section li,
.terms-section li {
  font-size: 14px;
  color: #444;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .privacy-section,
  .terms-section {
    padding-top: 80px;
    padding-left: 16px;
    padding-right: 16px;
  }
}
