/* ========== RESET & BASE ========== */
*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --primary-blue: #2029a7;
  --purple: #7227ce;
  --navy-deeper: #0a0a1f;
  --text-dark: #010101;
  --text-body: #2b2b2b;
  --text-logo: #4b4948;
  --text-heading: #1e2939;
  --white: #ffffff;
  --gray-50: #f8f9fa;
  --gray-100: #f0f2f5;
  --gray-200: #e2e5ea;
  --gray-border: #dddddd;
  --gray-500: #6b7280;
  --gray-700: #374151;
  --red-light: #fef2f2;
  --red-border: #e57373;
  --blue-light: #eff6ff;
  --blue-border: #5b8fd4;
  --line-green: #39ae36;
  --font-sans: 'Inter', 'Noto Sans JP', sans-serif;
  --font-serif: 'Noto Serif JP', serif;
  --max-width: 1200px;
}

html {
  font-size: 16px;
}

body {
  font-family: var(--font-sans);
  color: var(--gray-900);
  line-height: 1.8;
  background: var(--white);
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  display: block;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0;
}

@media (max-width: 1200px) {
  .container {
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  .container {
    padding: 0 16px;
  }
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  align-items: stretch;
  height: 72px;
  background: var(--white);
}

.header-logo-area {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 20px;
  background: var(--white);
  flex-shrink: 0;
  color: var(--text-logo);
  transition: opacity 0.2s ease;
}

.header-logo-area:hover {
  opacity: 0.75;
}

.logo-img {
  height: 44px;
  width: auto;
  flex-shrink: 0;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.3;
}

.logo-main {
  color: var(--text-logo);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.4px;
}

.logo-sub {
  color: var(--text-logo);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.6px;
}

.header-nav-area {
  flex: 1;
  background: var(--primary-blue);
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 32px 0 24px;
  min-width: 0;
}

.header-nav-list {
  display: flex;
  align-items: center;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0;
}

.header-nav-list li {
  position: relative;
  display: flex;
  align-items: center;
}

.header-nav-list li + li::before {
  content: "｜";
  color: rgba(255, 255, 255, 0.6);
  font-size: 14px;
  padding: 0 2px;
  pointer-events: none;
}

.header-nav-list a {
  display: inline-block;
  padding: 4px 10px;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}

.header-nav-list a:hover,
.header-nav-list a:focus-visible {
  opacity: 0.7;
}

.header-hamburger {
  width: 82px;
  height: 82px;
  background: #fff;
  border: none;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  padding-right: 26px;
  gap: 6px;
  flex-shrink: 0;
  cursor: pointer;
  color: inherit;
  transition: background-color 0.2s ease;
}

.header-hamburger:hover,
.header-hamburger:focus-visible {
  background: #f0f0f0;
  outline: none;
}

.header-hamburger span {
  display: block;
  height: 3px;
  background: #2029a7;
  transition: transform 0.25s ease, opacity 0.2s ease, width 0.25s ease, margin 0.25s ease;
  transform-origin: center center;
}

.header-hamburger span:nth-child(1) { width: 32px; }
.header-hamburger span:nth-child(2) { width: 22px; }
.header-hamburger span:nth-child(3) { width: 14px; }

/* バツ表示時は中央に大きく表示 */
.header-hamburger.is-open {
  align-items: center;
  padding-right: 0;
}
.header-hamburger.is-open span {
  width: 48px;
  height: 4px;
}
.header-hamburger.is-open span:nth-child(1) {
  transform: translateY(11px) rotate(-45deg);
}
.header-hamburger.is-open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}
.header-hamburger.is-open span:nth-child(3) {
  transform: translateY(-11px) rotate(45deg);
}

/* ========== MOBILE MENU ========== */
.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  z-index: 999;
  background: var(--primary-blue);
  max-height: calc(100vh - 72px);
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.25s ease;
}

.mobile-menu.is-open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.mobile-menu ul {
  list-style: none;
  margin: 0;
  padding: 8px 0;
}

.mobile-menu li + li {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mobile-menu a {
  display: block;
  padding: 18px 28px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 1.2px;
}

.mobile-menu a:hover,
.mobile-menu a:focus-visible {
  background: rgba(255, 255, 255, 0.08);
}

/* モバイルでは拡張セクションを非表示（現状の簡易リスト維持） */
.mobile-menu-sitemap,
.mobile-menu-office {
  display: none;
}

/* PC (769px 以上): ハンバーガーメニューをリッチな 3 カラムに */
@media (min-width: 769px) {
  .mobile-menu-inner {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    gap: 64px;
    max-width: 1440px;
    margin: 0 auto;
    padding: 48px clamp(32px, 7vw, 120px) 64px;
  }

  /* PC ではヘッダーのグローバルナビと重複するため非表示 */
  .mobile-menu-primary {
    display: none;
  }

  .mobile-menu-sitemap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
  }
  .mobile-menu-office {
    display: block;
  }

  .mobile-menu-heading {
    margin: 0 0 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.25);
    color: rgba(255, 255, 255, 0.72);
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 0.14em;
  }

  .mobile-menu-col ul {
    padding: 0;
  }
  .mobile-menu-col li + li {
    border-top: none;
  }
  .mobile-menu-col a {
    padding: 8px 0;
    font-size: 14px;
    letter-spacing: 0.06em;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
  }
  .mobile-menu-col a::before {
    content: "›";
    margin-right: 8px;
    color: rgba(255, 255, 255, 0.5);
  }
  .mobile-menu-col a:hover {
    background: transparent;
    color: var(--white);
  }

  .mobile-menu-office-item {
    margin-bottom: 18px;
    color: rgba(255, 255, 255, 0.82);
    font-size: 13px;
    line-height: 1.7;
  }
  .mobile-menu-office-name {
    margin: 0 0 4px;
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 0.08em;
  }
  .mobile-menu-office-address {
    margin: 0 0 4px;
  }
  .mobile-menu-office-tel {
    margin: 0;
  }
  .mobile-menu-office-tel a {
    display: inline;
    padding: 0;
    color: var(--white);
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.04em;
  }
  .mobile-menu-office-tel a::before {
    content: "TEL ";
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.7);
    margin-right: 6px;
  }
  .mobile-menu-office-hours {
    margin: 16px 0 0;
    padding-top: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    font-size: 12px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
  }
}


/* ========== HERO ========== */
.hero {
  margin-top: 72px;
  position: relative;
  background: var(--navy-deeper);
}

.hero-photo {
  width: 100%;
  display: block;
  line-height: 0;
  overflow: visible;
}

.hero-photo picture {
  display: block;
  width: 100%;
}

.hero-photo--middle {
  position: relative;
  background: url('./hero-row-middle.png') center / cover no-repeat;
  background-color: #000;
  display: flow-root;
}

@media (max-width: 768px) {
  .hero-photo--middle {
    background-image: url('./hero-row-middle-sp.png');
  }
}

.hero-photo--middle .hero-photo-img,
.hero-photo--middle picture {
  display: none;
}

.hero-photo-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.hero-overlay {
  position: relative;
  width: 100%;
  line-height: normal;
  margin-top: -36px;
}

.hero-overlay-bg {
  display: none;
}

.hero-text-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  width: 100%;
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 clamp(32px, 7vw, 140px) clamp(16px, 2vw, 32px);
  gap: clamp(24px, 3vw, 56px);
}

.hero-text-left {
  flex: 1;
  min-width: 0;
}

.hero-title {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 14px;
  margin: 0;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.05em;
}

.hero-title-row {
  display: flex;
  align-items: center;
  gap: 28px;
  flex-wrap: wrap;
}

.hero-title-line {
  display: inline-block;
  background: var(--white);
  padding: 10px 26px;
  font-size: clamp(28px, 3.7vw, 64px);
  color: var(--text-dark);
  line-height: 1.15;
}

.hero-title-line--highlight {
  color: var(--purple);
}

.hero-pill {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ea0000;
  color: var(--white);
  border-radius: 999px;
  padding: 14px 60px;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: clamp(20px, 2.3vw, 44px);
  letter-spacing: 0.05em;
  line-height: 1;
  white-space: nowrap;
}

.hero-pill::after {
  content: "";
  position: absolute;
  left: 28px;
  bottom: -10px;
  width: 0;
  height: 0;
  border-left: 9px solid transparent;
  border-right: 9px solid transparent;
  border-top: 12px solid #ea0000;
}

.hero-pill-quote {
  position: absolute;
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.3em;
  line-height: 1;
  color: var(--white);
  pointer-events: none;
}

.hero-pill-quote--left {
  top: -0em;
  left: 14px;
}

.hero-pill-quote--right {
  top: calc(100% - 0.4em);
  right: 14px;
}

.hero-sub {
  color: var(--white);
  font-family: var(--font-serif);
  font-size: clamp(17px, 1.65vw, 30px);
  font-weight: 600;
  letter-spacing: 0.15em;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.9);
  margin-top: 12px;
}

/* PC のみ：hero-text-left を少し上に */
@media (min-width: 769px) {
  .hero--image .hero-text-left {
    margin-top: 0;
  }
}

.hero-sub-accent {
  color: #ffd43b;
  font-size: 1.12em;
  text-decoration: underline;
  text-underline-offset: 6px;
  text-decoration-thickness: 1.5px;
}

.hero-badges {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: clamp(7px, 0.85vw, 12px);
  flex-shrink: 0;
  width: clamp(220px, 21vw, 280px);
  margin: 0;
  padding: 0;
}

.hero-badge-item {
  display: grid;
  grid-template-columns: 20% 80%;
  align-items: center;
  background: rgba(32, 41, 167, 0.5);
  border: 1px solid var(--white);
  padding: clamp(12px, 1.3vw, 20px) 0;
  color: var(--white);
  font-size: clamp(16px, 1.45vw, 22px);
  font-weight: 700;
  letter-spacing: 0.06em;
  white-space: nowrap;
  backdrop-filter: blur(1px);
}

.hero-badge-item > span {
  text-align: center;
}

.hero-badge-item .badge-icon-img {
  justify-self: center;
}

.badge-icon-img {
  width: clamp(20px, 2vw, 30px);
  height: clamp(20px, 2vw, 30px);
  flex-shrink: 0;
  object-fit: contain;
}

/* ========== HERO STATS (実績バッジ 3点：紺地ゴールド枠) ========== */
.hero-stats {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1vw, 14px);
  margin: clamp(18px, 2.2vw, 30px) 0 0;
  padding: 0;
  width: 100%;
  max-width: 880px;
}

.hero-stat {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.7vw, 12px);
  background: #15172a;
  border: 1px solid #ddaf53;
  border-radius: 10px;
  padding: clamp(8px, 0.85vw, 12px) clamp(10px, 1.1vw, 16px);
  min-width: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.3);
}

.hero-stat-icon {
  width: clamp(44px, 4.4vw, 68px);
  height: clamp(44px, 4.4vw, 68px);
  object-fit: contain;
  flex-shrink: 0;
}

.hero-stat-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
  text-align: center;
}

.hero-stat-head {
  font-family: var(--font-serif, "Noto Serif JP", serif);
  font-size: clamp(11px, 0.95vw, 15px);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin: 0;
  /* nowrap は外して長文ヘッダ（「風俗トラブル対応歴」「ご利用者側の弁護」）を折り返せるように */
}

.hero-stat-main {
  font-family: var(--font-serif, "Noto Serif JP", serif);
  font-weight: 700;
  color: #ddaf53;
  letter-spacing: 0.02em;
  line-height: 1.1;
  margin: 0;
  white-space: nowrap; /* 数字+単位+「の」だけは1行で */
}

.hero-stat-num {
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 700;
  color: #ddaf53;
}

.hero-stat-unit {
  font-size: clamp(11px, 0.95vw, 16px);
  color: #ddaf53;
  margin-left: 2px;
}

.hero-stat-of {
  font-size: clamp(11px, 0.95vw, 16px);
  color: #ffffff;
  margin-left: 2px;
}

.hero-stat-foot {
  font-family: var(--font-serif, "Noto Serif JP", serif);
  font-size: clamp(11px, 1vw, 16px);
  font-weight: 700;
  color: #fff6f6;
  letter-spacing: 0.02em;
  line-height: 1.25;
  margin: 0;
}

/* タブレット以下：3列のままだがさらに詰める */
@media (max-width: 1024px) {
  .hero-stats {
    gap: 8px;
    max-width: 100%;
  }
  .hero-stat {
    padding: 8px 10px;
    gap: 7px;
  }
  .hero-stat-icon {
    width: 42px;
    height: 42px;
  }
  .hero-stat-num {
    font-size: 20px;
  }
}

/* スマホ：横3列を維持しつつアイコンは上に積む（縦のスペースを節約） */
@media (max-width: 768px) {
  .hero-stats {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    margin-top: 14px;
  }
  .hero-stat {
    flex-direction: column;
    padding: 8px 4px;
    gap: 4px;
    border-radius: 8px;
  }
  .hero-stat-icon {
    width: 36px;
    height: 36px;
  }
  .hero-stat-body {
    gap: 1px;
  }
  .hero-stat-head {
    font-size: 10px;
    letter-spacing: 0;
    line-height: 1.2;
  }
  .hero-stat-num {
    font-size: 18px;
  }
  .hero-stat-unit,
  .hero-stat-of {
    font-size: 10px;
  }
  .hero-stat-foot {
    font-size: 10px;
    letter-spacing: 0;
    line-height: 1.2;
  }
}

/* 極小スマホ（≤360px）：さらに縮める */
@media (max-width: 360px) {
  .hero-stat-icon {
    width: 32px;
    height: 32px;
  }
  .hero-stat-head,
  .hero-stat-foot {
    font-size: 9px;
  }
  .hero-stat-num {
    font-size: 16px;
  }
}

/* ========== SECTION HEADERS ========== */
.section-header {
  text-align: center;
  margin-bottom: 50px;
}

.section-header.light .section-title {
  color: var(--white);
}

.section-title {
  font-size: 30px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  letter-spacing: 3px;
}

.section-line {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--purple), var(--primary-blue));
  margin: 12px auto;
}

.section-subtitle {
  font-size: 18px;
  color: var(--text-dark);
  letter-spacing: 1.8px;
}

/* ========== INTRO MESSAGE ========== */
.intro-message {
  padding: 0;
  background: var(--white);
}

.intro-message-inner {
  display: flex;
  align-items: stretch;
  gap: clamp(32px, 5vw, 80px);
}

.intro-message-text {
  flex: 1 1 0;
  min-width: 0;
  padding: clamp(56px, 6vw, 96px) 0 clamp(56px, 6vw, 96px) max(24px, calc((100vw - 1200px) / 2));
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.intro-message-photo {
  flex: 0 0 54%;
  max-width: 820px;
  align-self: stretch;
}

.intro-message-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: left center;
}

.intro-title {
  margin: 0 0 20px;
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.4;
  letter-spacing: 0.05em;
}

.intro-title-rule {
  display: block;
  width: 60px;
  height: 3px;
  background: var(--primary-blue, #2029a7);
  margin: 0 0 20px;
}

.intro-title-text {
  display: inline-block;
}

.intro-subtitle {
  color: #4a5565;
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.05em;
  margin: 0;
}

@media (max-width: 768px) {
  .intro-message {
    padding: 48px 0 40px;
  }
  .intro-message-inner {
    flex-direction: column;
    align-items: stretch;
    gap: 24px;
    text-align: center;
  }
  .intro-message-text {
    padding: 32px 24px 0;
    align-items: center;
  }
  .intro-message-photo {
    flex: 0 0 auto;
    max-width: 100%;
    order: 1;
  }
  .intro-title {
    font-size: 20px;
    margin-bottom: 16px;
  }
  .intro-title-rule {
    width: 40px;
    margin: 0 auto 16px;
  }
  .intro-subtitle {
    font-size: 13px;
    line-height: 1.7;
    letter-spacing: 0.02em;
    padding: 0 24px;
  }
}

/* ========== CONCERNS ========== */
.concerns {
  padding: 60px 0;
  background: #f5f7fa;
}

.concerns-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  margin: 0 0 56px;
}

.concerns-title {
  display: flex;
  flex-direction: column;
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.8;
  letter-spacing: 0.04em;
  color: var(--text-heading);
  margin: 0;
  text-align: left;
}

.concerns-title-line--accent {
  color: var(--primary-blue);
}

.concerns-illustration {
  width: 120px;
  height: auto;
  flex-shrink: 0;
}

.concerns-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px 28px;
  margin: 0;
  padding: 0;
}

.concern-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.concern-card-head {
  background: #868686;
  color: var(--white);
  border-radius: 20px 20px 20px 0;
  padding: 18px 14px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 14px;
  min-height: 94px;
  text-align: left;
}

.concern-card-head::before {
  content: "";
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  background: url("./concern-icon.png") center/contain no-repeat;
}

.concern-card-head h3 {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  color: var(--white);
  letter-spacing: 0.05em;
}

.concern-card > p {
  font-family: var(--font-sans);
  font-size: 16px;
  line-height: 1.8;
  letter-spacing: 0.03em;
  color: var(--text-body);
  margin: 0;
  padding: 0 6px;
}

/* ========== CTA SECTION ========== */
.cta-section {
  position: relative;
  padding-top: 60px;
  padding-bottom: 0;
  background: var(--white);
  overflow: hidden;
}


.cta-backdrop {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: calc(100% - 40px);
  display: flex;
  z-index: 0;
  pointer-events: none;
}

.cta-backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 31, 0.55);
}

.cta-backdrop img {
  flex: 1;
  width: 100%;
  min-width: 0;
  height: 100%;
  object-fit: cover;
  filter: grayscale(0.3) brightness(0.75);
}

.cta-inner {
  background: linear-gradient(to right, var(--primary-blue) 0%, var(--purple) 100%);
  border-radius: 20px;
  display: flex;
  align-items: stretch;
  min-height: 380px;
  position: relative;
  overflow: hidden;
  width: min(1280px, 88%);
  margin-left: auto;
  margin-right: auto;
  z-index: 1;
}

.cta-content {
  flex: 1;
  padding: 40px clamp(28px, 4vw, 60px);
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}

.cta-title {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0;
  line-height: 1.3;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 12px;
}

.cta-title-mark {
  display: inline-block;
  width: 12px;
  height: 12px;
  background: #FFFF00;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.cta-title-underline {
  text-decoration: underline;
  text-decoration-color: #FFFF00;
  text-decoration-thickness: 2px;
  text-underline-offset: 6px;
}

.cta-divider {
  display: none;
}

.cta-text {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: clamp(14px, 1.1vw, 18px);
  line-height: 1.75;
  letter-spacing: 0.05em;
  margin: 20px 0 28px;
  border-left: 1px solid #FFFF00;
  padding-left: 16px;
}

.cta-phone {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 24px;
}

.phone-icon-img {
  width: 42px;
  height: 54px;
  flex-shrink: 0;
}

.phone-number {
  color: var(--white);
  font-size: clamp(42px, 4.2vw, 64px);
  font-weight: 500;
  letter-spacing: 0.04em;
  font-family: var(--font-sans);
  line-height: 1;
  font-feature-settings: "tnum" 1;
}

.cta-badges {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 0;
  flex-wrap: wrap;
}

.cta-badges > span {
  flex: 1 1 0;
  min-width: 120px;
  background: rgba(32, 41, 167, 0.5);
  border: 1px solid var(--white);
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 12px;
  text-align: center;
}

.cta-badges > span + span::before {
  content: none;
}

.cta-badge-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.cta-badge-text {
  display: block;
}

.cta-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(16px, 1.4vw, 24px);
  margin-top: auto;
  flex-wrap: nowrap;
}

.cta-contact {
  flex: 1 1 auto;
  min-width: 0;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 14px;
  z-index: 2;
  flex-shrink: 0;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 18px;
  min-width: 200px;
  border-radius: 36px;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: opacity 0.2s;
  cursor: pointer;
  border: 1px solid var(--white);
  color: var(--white);
  white-space: nowrap;
}

.btn:hover {
  opacity: 0.85;
}

.btn-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  object-fit: contain;
}

.btn-line {
  background: var(--line-green);
}

.btn-mail {
  background: #DA2727;
}

.cta-image {
  width: 360px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  align-self: stretch;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 18%, black 100%);
  mask-image: linear-gradient(to right, transparent 0%, black 18%, black 100%);
}

.cta-lawyer-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* ========== WHY CHOOSE US ========== */
.why-choose {
  position: relative;
  z-index: 0;
  margin-top: -40px;
  padding: 100px 0 60px;
  background:
    linear-gradient(rgba(255, 255, 255, 0.6), rgba(255, 255, 255, 0.6)),
    url("./hexagon-bg.jpg") center top / cover no-repeat,
    #f2f7fc;
}

.why-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: 0.06em;
  color: var(--text-heading);
}

.why-title-rule {
  flex: 0 0 56px;
  height: 1px;
  background: #101828;
}

.why-subtitle {
  text-align: center;
  font-size: 17px;
  color: #4a5565;
  letter-spacing: 0.06em;
  margin: 0 0 56px;
}

.reasons-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 32px;
  margin: 0;
  padding: 0;
  max-width: 1200px;
  margin-inline: auto;
}

.reason-card {
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.10);
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 20px;
  gap: 20px;
}

.reason-image {
  flex: 0 0 40%;
  max-width: 220px;
  height: 160px;
  overflow: hidden;
  margin: 0;
  border-radius: 6px;
  align-self: flex-start;
}

.reason-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reason-body {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.reason-badge {
  display: inline-block;
  background: linear-gradient(90deg, #7227CE 0%, #2029a7 100%);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 999px;
}

.reason-card h3 {
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  margin: 0;
  color: var(--primary-blue);
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.reason-card p {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.85;
  margin: 0;
  letter-spacing: 0.03em;
}

/* ========== CONSULTATIONS ========== */
.consultations {
  position: relative;
  padding: 60px 0;
  background: #F4F6FA;
}

.consultations-card {
  background: transparent;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

.consultations-title {
  font-family: var(--font-sans);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--text-heading);
  margin: 0 0 32px;
  padding-left: 0;
  border-left: 0;
  line-height: 1.3;
}

.consultation-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 40px;
  margin: 0;
  padding: 0;
}

.consultation-item {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.consultation-image {
  flex: 0 0 auto;
  width: 100px;
}

.consultation-image img {
  width: 100%;
  height: auto;
  display: block;
}

.consultation-body {
  flex: 1 1 0;
  min-width: 0;
  margin-top: 30px;
  background: #2029a7;
  border-radius: 0 20px 20px 20px;
  padding: 20px 24px;
  color: var(--white);
}

.consultation-title {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  margin: 0 0 14px;
  padding: 0 0 14px;
  letter-spacing: 0.06em;
  border-bottom: 1px solid rgba(255, 255, 255, 1);
}

.consultation-title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #FFFF00;
  transform: rotate(45deg);
  flex-shrink: 0;
  margin-top: 10px;
}

.consultation-item p {
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  letter-spacing: 0.03em;
  margin: 0;
}

/* ========== COMPARISON ========== */
.comparison {
  padding: 60px 0;
  background:
    linear-gradient(rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.8)),
    url("./consultations-bg.jpg") center center / cover no-repeat,
    #f4ebff;
}

.comparison-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 700;
  color: #101828;
  line-height: 1.35;
  letter-spacing: 0.1em;
}

.comparison-title-rule {
  flex: 0 0 56px;
  height: 1px;
  background: #101828;
}

.comparison-subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--text-heading);
  letter-spacing: 0.06em;
  margin: 0 0 48px;
}

.comparison-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 32px auto 0;
}

.comparison-box {
  position: relative;
  padding: 52px 32px 40px;
  border-radius: 10px;
  overflow: visible;
  isolation: isolate;
}

.comparison-box--demerit {
  background: #ffffff;
}

.comparison-box--merit {
  background: #ffffff;
}

.comparison-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -48%);
  width: 218px;
  height: 218px;
  z-index: 0;
  pointer-events: none;
}

.comparison-mark--x {
  display: block;
}

.comparison-mark--x .comparison-mark-bar {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #F1F1F1;
  border-radius: 25px;
}

.comparison-mark--x .comparison-mark-bar:nth-child(1) {
  transform: rotate(45deg) scale(1.08, 0.18);
}

.comparison-mark--x .comparison-mark-bar:nth-child(2) {
  transform: rotate(-45deg) scale(1.08, 0.18);
}

.comparison-mark--o {
  border-radius: 50%;
  border: 35px solid #FFF5F5;
}

.comparison-label {
  position: absolute;
  top: -22px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: block;
  padding: 9px 24px;
  border-radius: 25px;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  letter-spacing: 0.1em;
  color: var(--white);
  max-width: 340px;
  width: max-content;
  line-height: 32px;
}

.comparison-box--demerit .comparison-label {
  background: #949494;
}

.comparison-box--demerit .comparison-label::after {
  content: "";
  position: absolute;
  left: 30px;
  bottom: -22px;
  width: 36px;
  height: 24px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='24' viewBox='0 0 36 24' fill='none'><path d='M36 24L1.71655e-06 -6.67478e-07L27.2056 -3.04586e-06L36 24Z' fill='%23949494'/></svg>") center/contain no-repeat;
}

.comparison-box--merit .comparison-label {
  background: #e7000b;
}

.comparison-box--merit .comparison-label::after {
  content: "";
  position: absolute;
  left: 30px;
  bottom: -22px;
  width: 36px;
  height: 24px;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='36' height='24' viewBox='0 0 36 24' fill='none'><path d='M36 24L1.71655e-06 -6.67478e-07L27.2056 -3.04586e-06L36 24Z' fill='%23e7000b'/></svg>") center/contain no-repeat;
}

.comparison-list {
  position: relative;
  z-index: 1;
  list-style: none;
  padding: 0;
  margin: 0;
}

.comparison-list li {
  font-family: var(--font-sans);
  font-size: 16px;
  color: var(--text-heading);
  padding: 13px 0 13px 32px;
  line-height: 1.6;
  position: relative;
  border-bottom: 1px solid #EDEDED;
}

.comparison-list li:first-child {
  border-top: 1px solid #EDEDED;
}

.comparison {
  position: relative;
}

.comparison-figure {
  position: absolute;
  left: 50%;
  bottom: -50px;
  transform: translateX(-50%);
  height: 120px;
  width: auto;
  display: block;
  pointer-events: none;
  z-index: 2;
}

.comparison-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='square' stroke-linejoin='miter'/></svg>") center/contain no-repeat;
  mask: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='black' stroke-width='2.5' stroke-linecap='square' stroke-linejoin='miter'/></svg>") center/contain no-repeat;
}

.comparison-box--demerit .comparison-list li::before {
  width: 13px;
  height: 13px;
  background: #949494;
  border-radius: 50%;
  -webkit-mask: none;
  mask: none;
}

.comparison-box--merit .comparison-list li::before {
  color: #e7000b;
}

/* ========== CASES ========== */
.cases {
  position: relative;
  z-index: 0;
  margin-top: -40px;
  padding: 100px 0 60px;
  background: linear-gradient(180deg, #e8f0fa 0%, #f0f4fa 100%);
}

.cases-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
  letter-spacing: 0.1em;
}

.cases-title-rule {
  flex: 0 0 56px;
  height: 1px;
  background: #101828;
}

.cases-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--text-heading);
  letter-spacing: 0.06em;
  margin: 0 0 48px;
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 auto 40px;
  max-width: 1200px;
}

.case-card {
  background: var(--white);
  border-radius: 10px;
  padding: 24px 20px 28px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
}

.case-number {
  font-family: "Roboto", var(--font-sans);
  font-size: 40px;
  font-weight: 700;
  color: #ECE7F2;
  letter-spacing: 0.1em;
  line-height: 1;
  text-align: center;
  margin: 0;
}

.case-card h4 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  margin: 4px 0 0;
  color: #2029a7;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-align: center;
}

.case-card h4::after {
  content: "";
  display: block;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #B6BAD0;
  margin: 11px auto 0;
}

.case-before, .case-after {
  position: relative;
  width: 100%;
  border-radius: 10px;
  padding: 14px 20px 14px 24px;
  min-height: 90px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
  overflow: visible;
}

.case-before {
  background: #F1F1F1;
}

.case-after {
  background: #FEF6F6;
}

.case-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 25px;
  padding: 3px 16px 2px;
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--white);
  margin: 0;
  line-height: 1;
}

.before-label {
  background: #949494;
}

.after-label {
  background: #DA2727;
}

.case-before p, .case-after p {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  margin: 0;
  letter-spacing: 0.05em;
  line-height: 1.3;
}

.case-before p {
  color: #373434;
}

.case-after p {
  color: #DA2727;
}

.case-figure {
  position: absolute;
  right: 8px;
  bottom: 0;
  height: 98px;
  width: auto;
  pointer-events: none;
}

.case-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0;
  color: transparent;
  line-height: 0;
  padding: 0;
  width: 100%;
}

.case-arrow::before {
  content: "";
  display: block;
  width: 40px;
  height: 16px;
  background: url("./case-arrow-down.svg") center/contain no-repeat;
  transform: rotate(90deg);
}

.case-comment {
  width: 100%;
  margin-top: 4px;
  padding-top: 0;
  border-top: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.case-comment span {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 16px;
  color: #364153;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.05em;
}

.case-comment-icon {
  width: 15px;
  height: 15px;
  flex-shrink: 0;
}

.case-comment p {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #2B2B2B;
  line-height: 1.5;
  margin: 0;
}

.section-btn-wrap {
  text-align: center;
  margin-top: 16px;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  min-width: 320px;
  padding: 18px 32px;
  border-radius: 999px;
  background: linear-gradient(to right, var(--primary-blue), var(--purple));
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.08em;
  transition: opacity 0.2s;
}

.btn-outline:hover {
  opacity: 0.88;
}

.btn-outline .arrow,
.hub-card-btn .arrow,
.arrow {
  font-size: 12px;
  /* macOS/iOS で ▶ が絵文字フォールバックされる現象の抑制 */
  font-variant-emoji: text;
  font-family: "Hiragino Sans", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
}


/* ========== PRICING ========== */
.pricing {
  padding: 60px 0;
  background: var(--white);
}

.pricing-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
  letter-spacing: 0.1em;
}

.pricing-title-rule {
  flex: 0 0 100px;
  height: 1px;
  background: #101828;
}

.pricing-subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--text-heading);
  letter-spacing: 0.06em;
  margin: 0 0 48px;
}

.pricing-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0 auto 36px;
  padding: 0;
  max-width: 1200px;
}

.pricing-card {
  background: var(--white);
  border: 1px solid #8c8c8c;
  padding: 28px 24px 32px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 300px;
}

.pricing-card h3 {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin: 0 0 14px;
  letter-spacing: 0.1em;
  line-height: 1.4;
}

.pricing-divider {
  display: block;
  width: 100px;
  height: 1px;
  background: #8c8c8c;
  margin: 0 0 28px;
}

.pricing-amount {
  font-family: var(--font-sans);
  font-weight: 700;
  color: var(--primary-blue);
  letter-spacing: 0.1em;
  line-height: 1.2;
  margin: 0 0 14px;
  display: inline-flex;
  align-items: baseline;
  gap: 2px;
}

.pricing-amount--free {
  font-size: 30px;
}

.pricing-amount-num {
  font-size: 30px;
}

.pricing-amount-unit {
  font-size: 20px;
}

.pricing-sub {
  font-family: var(--font-sans);
  font-size: 13px;
  color: var(--text-body);
  line-height: 1.5;
  margin: -4px 0 14px;
  letter-spacing: 0.02em;
}

.pricing-note {
  font-family: var(--font-sans);
  font-size: 14px;
  color: var(--text-body);
  line-height: 1.75;
  margin: auto 0 0;
  letter-spacing: 0.03em;
}

.pricing-notice {
  background: #e7e8ee;
  border-radius: 10px;
  padding: 26px 48px 28px;
  margin: 0 auto 36px;
  max-width: 1200px;
}

.pricing-notice h4 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 14px;
  text-align: center;
  color: #101828;
  letter-spacing: 0.05em;
}

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

.pricing-notice li {
  position: relative;
  font-family: var(--font-sans);
  font-size: 14px;
  color: #374151;
  line-height: 1.9;
  padding-left: 18px;
}

.pricing-notice li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--primary-blue);
}

/* ========== FLOW ========== */
.flow {
  padding: 60px 0;
  background: #f3fcff;
}

.flow-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
  letter-spacing: 0.1em;
}

.flow-title-rule {
  flex: 0 0 100px;
  height: 1px;
  background: #101828;
}

.flow-subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--text-heading);
  letter-spacing: 0.06em;
  margin: 0 0 48px;
}

.flow-steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 40px;
  row-gap: 40px;
  margin: 0 auto;
  padding: 0;
  max-width: 1200px;
  position: relative;
}

.flow-step {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  padding: 20px 22px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 310px;
}

.flow-step + .flow-step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
  width: 18px;
  height: 30px;
  background: url("./flow-arrow.svg") center/contain no-repeat;
}

.step-number {
  display: block;
  font-family: 'Inter', var(--font-sans);
  font-size: 32px;
  font-weight: 700;
  color: #dbeafe;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin: 0 0 8px;
}

.step-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px;
  flex-shrink: 0;
}

.step-icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.flow-step h3 {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: #101828;
  letter-spacing: 0.05em;
  margin: 0 0 14px;
  line-height: 1.5;
}

.flow-step p {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  letter-spacing: 0.03em;
  margin: 0;
  text-align: left;
}

/* ========== FAQ ========== */
.faq {
  padding: 60px 0;
  background: var(--white);
}

.faq-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
  letter-spacing: 0.1em;
}

.faq-title-rule {
  flex: 0 0 100px;
  height: 1px;
  background: #101828;
}

.faq-subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--text-heading);
  letter-spacing: 0.06em;
  margin: 0 0 48px;
}

.faq-list {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background: var(--white);
  border-radius: 10px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.faq-item summary {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 22px 28px;
  cursor: pointer;
  list-style: none;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  transition: background 0.2s;
  color: #101828;
  letter-spacing: 0.05em;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary:hover {
  background: #fafafa;
}

.faq-q,
.faq-a {
  font-family: 'Inter', var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: #101828;
  letter-spacing: 0.05em;
  line-height: 1;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}

.faq-question {
  flex: 1;
  line-height: 1.4;
}

.faq-toggle {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  transition: transform 0.25s ease;
}

.faq-item[open] .faq-toggle {
  transform: rotate(90deg);
}

.faq-answer {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 4px 28px 24px;
  border-top: 1px solid #e5e7eb;
  margin: 0 6px;
}

.faq-answer .faq-a {
  color: var(--primary-blue);
  padding-top: 20px;
}

.faq-answer p {
  font-family: var(--font-sans);
  font-size: 15px;
  color: #2b2b2b;
  line-height: 1.7;
  letter-spacing: 0.04em;
  padding-top: 20px;
  margin: 0;
  flex: 1;
}

/* ========== OFFICE ========== */
.office {
  padding: 60px 0;
  background: var(--white);
}

.office-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 0 14px;
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 700;
  color: var(--text-heading);
  line-height: 1.35;
  letter-spacing: 0.1em;
}

.office-title-rule {
  flex: 0 0 100px;
  height: 1px;
  background: #101828;
}

.office-subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--text-heading);
  letter-spacing: 0.06em;
  margin: 0 0 40px;
}

.office-photo {
  margin: 0 auto 40px;
  max-width: 1200px;
  border-radius: 10px;
  overflow: hidden;
}

.office-photo img {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 1000 / 492;
  object-fit: cover;
}

.office-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin: 0 auto 40px;
  max-width: 1200px;
}

.office-info-title {
  font-family: var(--font-sans);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.06em;
  margin: 0 0 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-blue);
}

.office-details {
  margin: 0;
}

.office-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
}

.office-row:last-child {
  border-bottom: 0;
}

.office-row dt {
  font-family: var(--font-sans);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.08em;
  margin: 0;
  line-height: 1.6;
}

.office-row dd {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-body);
  letter-spacing: 0.04em;
  margin: 0;
  line-height: 1.6;
}

.office-map {
  border-radius: 10px;
  overflow: hidden;
  background: #f0f2f5;
}

.office-map img,
.office-map iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 480 / 300;
  object-fit: cover;
  border: 0;
}

/* ========== FOOTER ========== */
.footer {
  background: #101828;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 60px;
  padding: 80px 0 0;
  font-family: var(--font-sans);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 40px 56px;
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.footer-about {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.footer-logo-mark {
  width: 59px;
  height: 59px;
  flex-shrink: 0;
  object-fit: contain;
}

.footer-logo-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
  flex: 1;
}

.footer-logo-main {
  color: var(--white);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.02em;
  white-space: nowrap;
}

.footer-logo-sub {
  display: block;
  width: 100%;
  font-size: 18px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.9px;
  text-align: right;
}

.footer-about-text {
  font-size: 16px;
  font-style: normal;
  line-height: 1.5;
  color: #ffffff;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

.footer-nav {
  min-width: 0;
}

.footer-heading {
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 20px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.25);
  letter-spacing: 0.05em;
  line-height: 1.5;
}

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

.footer-list li {
  margin-bottom: 12px;
}

.footer-list li a {
  font-size: 14px;
  color: #ffffff;
  transition: color 0.2s ease;
  display: inline-flex;
  align-items: center;
  line-height: 2;
  letter-spacing: 0.05em;
}

.footer-list li a::before {
  content: "\2022";
  margin-right: 8px;
  font-size: 14px;
  line-height: 1;
  color: #ffffff;
  display: inline-block;
  transform: translateY(-1px);
}

.footer-list li a:hover {
  color: var(--white);
}

.footer-list li a:hover::before {
  color: var(--white);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 24px 40px;
  text-align: center;
}

.footer-copyright {
  font-size: 16px;
  color: #ffffff;
  letter-spacing: 0.05em;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .header-nav-list a {
    padding: 6px 10px;
    font-size: 14px;
    letter-spacing: 1px;
  }
  .logo-main { font-size: 18px; }
  .logo-sub { font-size: 12px; }
  .logo-img { height: 52px; }
  .header-logo-area { padding: 0 20px; gap: 12px; }
}

@media (max-width: 1024px) {
  .header-nav-area {
    display: none;
  }
  .header {
    justify-content: space-between;
  }
  .header-hamburger {
    width: 100px;
    height: 100px;
    padding-right: 24px;
    gap: 8px;
  }
  .header-hamburger span:nth-child(1) { width: 44px; }
  .header-hamburger span:nth-child(2) { width: 30px; }
  .header-hamburger span:nth-child(3) { width: 16px; }

  .concerns-grid,
  .consultation-grid,
  .cases-grid,
  .pricing-grid,
  .reasons-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
    column-gap: 48px;
    row-gap: 60px;
  }

  .flow-step + .flow-step::before {
    left: -36px;
  }

  .flow-steps .flow-step:nth-child(3)::before {
    top: -40px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }

  .footer-inner {
    grid-template-columns: 1.4fr 1fr 1fr;
    gap: 40px;
    padding: 0 32px 48px;
  }
  .footer-logo-main {
    font-size: 24px;
  }
  .footer-logo-sub {
    font-size: 16px;
  }
  .footer-heading {
    font-size: 16px;
  }
}

/* ========== UNIFIED SECTION HEADINGS (h2) ========== */
.why-title,
.consultations-title,
.comparison-title,
.cases-title,
.pricing-title,
.flow-title,
.faq-title,
.office-title,
.service-section-title,
.guide-intro-title,
.guide-section-title,
.guide-reasons-title,
.guide-flow-title,
.pricing-intro-title,
.hub-intro-title,
.office-intro-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 28px;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--text-heading);
  text-align: center;
}

.why-title::after,
.consultations-title::after,
.comparison-title::after,
.cases-title::after,
.pricing-title::after,
.flow-title::after,
.faq-title::after,
.office-title::after,
.service-section-title::after,
.guide-intro-title::after,
.guide-section-title::after,
.guide-reasons-title::after,
.guide-flow-title::after,
.pricing-intro-title::after,
.hub-intro-title::after,
.office-intro-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary-blue, #2029a7);
}

.why-title-text--accent,
.cases-title-text--accent {
  color: #2029a7;
}

.why-title-rule,
.comparison-title-rule,
.cases-title-rule,
.pricing-title-rule,
.flow-title-rule,
.faq-title-rule,
.office-title-rule,
.service-section-title-rule,
.guide-intro-title-rule,
.guide-section-title-rule,
.guide-why-title-rule,
.guide-tips-title-rule,
.guide-reasons-title-rule,
.guide-flow-title-rule,
.pricing-intro-rule,
.hub-intro-rule,
.office-intro-rule,
.guide-intro-rule,
.guide-section-rule,
.guide-reasons-rule,
.guide-flow-rule,
.guide-why-rule {
  display: none !important;
}

@media (max-width: 768px) {
  .header {
    height: 72px;
  }
  .logo-img { height: 36px; }
  .logo-main { font-size: 12px; letter-spacing: 0; }
  .logo-sub { font-size: 9px; letter-spacing: 0.3px; }
  .header-logo-area {
    padding: 0 10px;
    gap: 8px;
    flex-shrink: 1;
    min-width: 0;
  }
  .logo-text { min-width: 0; overflow: hidden; }
  .logo-main, .logo-sub {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .header-hamburger {
    width: 72px;
    height: 72px;
    padding-right: 16px;
    gap: 6px;
  }
  .header-hamburger span { height: 3px; }
  .header-hamburger span:nth-child(1) { width: 32px; }
  .header-hamburger span:nth-child(2) { width: 22px; }
  .header-hamburger span:nth-child(3) { width: 12px; }
  .header-hamburger.is-open span { width: 32px; }
  .header-hamburger.is-open span:nth-child(1) { transform: translateY(9px) rotate(-45deg); }
  .header-hamburger.is-open span:nth-child(3) { transform: translateY(-9px) rotate(45deg); }
  .mobile-menu {
    top: 72px;
    max-height: calc(100vh - 72px);
  }
  .mobile-menu a { padding: 16px 20px; }
  .hero { margin-top: 72px; }

  .hero-text-wrap {
    flex-direction: column;
    align-items: stretch;
    padding: 40px 20px;
    gap: 28px;
  }

  .hero-title { gap: 8px; }
  .hero-title-row { gap: 8px; }
  .hero-title-line {
    padding: 4px 11px;
    font-size: 22px;
    letter-spacing: 0;
  }
  .hero-title-line--highlight {
    font-size: 28px;
    padding: 4px 13px;
  }

  .hero-pill {
    padding: 5px 18px;
    font-size: 15px;
    letter-spacing: 0.04em;
  }
  .hero-pill::after {
    left: 12px;
    bottom: -5px;
    border-left-width: 5px;
    border-right-width: 5px;
    border-top-width: 6px;
  }
  .hero-pill-quote {
    font-size: 1em;
  }
  .hero-pill-quote--left {
    top: -0.05em;
    left: 6px;
  }
  .hero-pill-quote--right {
    top: calc(100% - 0.7em);
    right: 6px;
  }

  .hero-sub {
    margin-top: 12px;
    font-size: 13px;
    letter-spacing: 0.06em;
    line-height: 1.7;
  }

  .hero-badges {
    width: 100%;
    max-width: none;
    margin: 0;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 8px;
  }

  .hero-badge-item {
    display: block;
    position: relative;
    flex: 1 1 0;
    font-size: 13px;
    padding: 7px 8px 7px 36px;
    letter-spacing: 0.02em;
    text-align: center;
  }

  .hero-badge-item:first-child {
    flex-basis: 100%;
  }

  .hero-badge-item .badge-icon-img {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    width: 14px;
    height: 14px;
  }

  .badge-icon-img {
    width: 14px;
    height: 14px;
  }

  .concerns-grid,
  .consultation-grid,
  .cases-grid,
  .pricing-grid,
  .comparison-boxes {
    grid-template-columns: 1fr;
  }

  .concerns {
    padding: 48px 0 56px;
  }
  .concerns-heading {
    flex-direction: column-reverse;
    gap: 16px;
    margin-bottom: 36px;
    text-align: center;
  }
  .concerns-title {
    font-size: 20px;
    line-height: 1.7;
    text-align: center;
  }
  .concerns-illustration {
    width: 96px;
  }
  .concern-card-head {
    padding: 9px 14px;
    min-height: 0;
  }
  .concern-card-head h3 {
    font-size: 15px;
  }
  .concern-card > p {
    font-size: 14px;
    padding: 0 4px;
  }

  .cta-section {
    padding: 24px 16px;
  }

  .cta-backdrop {
    display: none;
  }

  .cta-inner {
    flex-direction: column;
    width: 100%;
    margin: 0;
    border-radius: 16px;
    min-height: auto;
  }

  .cta-inner::after {
    display: none;
  }

  .cta-content {
    padding: 28px 20px 20px;
  }

  .cta-title {
    white-space: normal;
    font-size: 18px;
    letter-spacing: 0.03em;
    flex-wrap: wrap;
    gap: 8px;
    line-height: 1.5;
  }

  .cta-divider {
    margin: 12px 0;
  }

  .cta-text {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .cta-contact-row {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    margin-top: 0;
  }

  .cta-contact {
    flex: 1 1 auto;
  }

  .cta-phone {
    gap: 10px;
    margin-bottom: 12px;
    justify-content: center;
  }

  .phone-icon-img {
    width: 28px;
    height: 36px;
  }

  .phone-number {
    font-size: 32px;
    letter-spacing: 0.04em;
  }

  .cta-badges {
    gap: 8px;
    justify-content: center;
    flex-wrap: wrap;
  }

  .cta-badges > span {
    flex: 1 1 calc(50% - 4px);
    flex-direction: row;
    font-size: 12px;
    gap: 6px;
    letter-spacing: 0.04em;
    padding: 6px 10px;
    min-width: 0;
  }

  .cta-badges > span:first-child {
    flex-basis: 100%;
  }

  .cta-badge-icon {
    width: 16px;
    height: 16px;
  }

  .cta-badges span + span::before {
    height: 12px;
    margin-right: 4px;
  }

  .cta-buttons {
    flex-direction: row;
    gap: 10px;
    width: 100%;
    box-sizing: border-box;
  }

  .btn {
    min-width: 0;
    flex: 1;
    font-size: 13px;
    padding: 12px 10px;
    letter-spacing: 0.04em;
    gap: 6px;
  }

  .btn-icon {
    width: 16px;
    height: 16px;
  }

  .cta-image {
    width: 100%;
    height: 220px;
    mask-image: none;
    -webkit-mask-image: none;
  }

  .why-choose {
    padding: 48px 0 64px;
  }
  .why-title {
    flex-direction: column;
    gap: 12px;
    font-size: 20px;
    letter-spacing: 0.03em;
  }
  .why-title-rule {
    display: none;
  }
  .why-title::after {
    content: "";
    width: 40px;
    height: 3px;
    background: var(--primary-blue);
  }
  .why-title {
    margin-bottom: 20px;
  }
  .why-subtitle {
    font-size: 13px;
    margin-bottom: 32px;
  }
  .reasons-grid {
    gap: 20px;
    grid-template-columns: 1fr;
  }
  .reason-card {
    padding: 14px;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }
  .reason-image {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    height: 140px;
    margin-bottom: 0;
  }
  .reason-body {
    width: 100%;
  }
  .reason-card h3 {
    font-size: 16px;
  }
  .reason-card p {
    font-size: 13px;
  }

  .consultations {
    padding: 48px 0 56px;
  }
  .consultations-card {
    padding: 32px 20px 36px;
    border-radius: 10px;
  }
  .consultations-title {
    font-size: 18px;
    margin-bottom: 24px;
    padding-left: 10px;
    border-left-width: 4px;
  }
  .consultation-grid {
    gap: 16px;
  }
  .consultation-item {
    display: block;
    position: relative;
    gap: 0;
  }
  .consultation-image {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 40px;
    max-height: 40px;
    z-index: 2;
  }
  .consultation-image img {
    height: 40px;
    width: auto;
    max-width: 40px;
    object-fit: contain;
  }
  .consultation-body {
    margin-top: 0;
    padding: 14px 16px 16px;
    width: 100%;
  }
  .consultation-title {
    font-size: 16px;
    margin: 0 0 10px;
    padding: 0 0 10px 48px;
    gap: 8px;
    min-height: 44px;
    align-items: flex-start;
  }
  .consultation-title::before {
    margin-top: 8px;
  }
  .consultation-tag {
    padding: 8px 12px;
    gap: 10px;
  }
  .consultation-item h3 {
    font-size: 14px;
  }
  .consultation-item p {
    font-size: 13px;
  }

  .comparison {
    padding: 48px 0 64px;
  }
  .comparison-title {
    flex-direction: column;
    gap: 12px;
    font-size: 20px;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
  }
  .comparison-title-rule {
    display: none;
  }
  .comparison-title::after {
    content: "";
    width: 40px;
    height: 3px;
    background: var(--primary-blue);
  }
  .comparison-subtitle {
    font-size: 13px;
    margin-bottom: 32px;
  }
  .comparison-boxes {
    gap: 56px;
    margin-top: 32px;
  }
  .comparison-box {
    padding: 36px 20px 24px;
  }
  .comparison-mark {
    width: 140px;
    height: 140px;
  }
  .comparison-mark--o {
    border-width: 22px;
  }
  .comparison-label {
    font-size: 15px;
    padding: 8px 18px;
    height: auto;
    line-height: 24px;
    top: -18px;
  }
  .comparison-box--demerit .comparison-label::after,
  .comparison-box--merit .comparison-label::after {
    bottom: -18px;
    width: 28px;
    height: 18px;
  }
  .comparison-list li {
    font-size: 14px;
    padding: 10px 0 10px 26px;
  }
  .comparison-figure {
    height: 88px;
    left: auto;
    right: 12px;
    bottom: 8px;
    transform: none;
  }

  .cases {
    padding: 48px 0 64px;
  }
  .cases-title {
    flex-direction: column;
    gap: 12px;
    font-size: 20px;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
  }
  .cases-title-rule {
    display: none;
  }
  .cases-title::after {
    content: "";
    width: 40px;
    height: 3px;
    background: var(--primary-blue);
  }
  .cases-subtitle {
    font-size: 13px;
    margin-bottom: 32px;
  }
  .cases-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .case-card h4 {
    font-size: 15px;
  }
  .case-figure {
    height: 64px;
    width: auto;
    right: 6px;
  }
  .btn-outline {
    min-width: 240px;
    font-size: 14px;
    padding: 14px 24px;
  }

  .pricing {
    padding: 48px 0 64px;
  }
  .pricing-title {
    flex-direction: column;
    gap: 12px;
    font-size: 20px;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
  }
  .pricing-title-rule {
    display: none;
  }
  .pricing-title::after {
    content: "";
    width: 40px;
    height: 3px;
    background: var(--primary-blue);
  }
  .pricing-subtitle {
    font-size: 13px;
    margin-bottom: 32px;
  }
  .pricing-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .pricing-card {
    min-height: 0;
    padding: 24px 20px 28px;
  }
  .pricing-card h3 {
    font-size: 20px;
    margin-bottom: 12px;
  }
  .pricing-divider {
    margin-bottom: 20px;
  }
  .pricing-amount--free,
  .pricing-amount-num {
    font-size: 26px;
  }
  .pricing-amount-unit {
    font-size: 16px;
  }
  .pricing-notice {
    padding: 20px 24px;
  }
  .pricing-notice h4 {
    font-size: 16px;
  }
  .pricing-notice li {
    font-size: 13px;
  }

  .flow {
    padding: 48px 0 64px;
  }
  .flow-title {
    flex-direction: column;
    gap: 12px;
    font-size: 20px;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
  }
  .flow-title-rule {
    display: none;
  }
  .flow-title::after {
    content: "";
    width: 40px;
    height: 3px;
    background: var(--primary-blue);
  }
  .flow-subtitle {
    font-size: 13px;
    margin-bottom: 32px;
  }
  .flow-steps {
    grid-template-columns: 1fr;
    column-gap: 0;
    row-gap: 56px;
  }
  .flow-step {
    min-height: 0;
    padding: 18px 20px 24px;
  }
  .flow-step + .flow-step::before {
    top: -34px;
    left: 50%;
    transform: translateX(-50%) rotate(90deg);
  }
  .step-number {
    font-size: 24px;
  }
  .step-icon {
    width: 48px;
    height: 48px;
    margin-bottom: 16px;
  }
  .step-icon img {
    width: 24px;
    height: 24px;
  }
  .flow-step h3 {
    font-size: 16px;
  }
  .flow-step p {
    font-size: 14px;
  }

  .faq {
    padding: 48px 0 64px;
  }
  .faq-title {
    flex-direction: column;
    gap: 12px;
    font-size: 20px;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
  }
  .faq-title-rule {
    display: none;
  }
  .faq-title::after {
    content: "";
    width: 40px;
    height: 3px;
    background: var(--primary-blue);
  }
  .faq-subtitle {
    font-size: 13px;
    margin-bottom: 32px;
  }
  .faq-item summary {
    padding: 16px 18px;
    font-size: 14px;
    gap: 12px;
  }
  .faq-q,
  .faq-a {
    font-size: 18px;
    width: 18px;
  }
  .faq-answer {
    padding: 4px 18px 18px;
    gap: 12px;
    margin: 0 4px;
  }
  .faq-answer p {
    font-size: 13px;
    padding-top: 14px;
  }
  .faq-answer .faq-a {
    padding-top: 14px;
  }
  .faq-toggle {
    width: 12px;
    height: 12px;
  }

  .office {
    padding: 48px 0 64px;
  }
  .office-title {
    flex-direction: column;
    gap: 12px;
    font-size: 20px;
    letter-spacing: 0.03em;
    margin-bottom: 20px;
  }
  .office-title-rule {
    display: none;
  }
  .office-title::after {
    content: "";
    width: 40px;
    height: 3px;
    background: var(--primary-blue);
  }
  .office-subtitle {
    font-size: 13px;
    margin-bottom: 32px;
  }
  .office-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .office-info-title {
    font-size: 18px;
    margin-bottom: 14px;
  }
  .office-row {
    grid-template-columns: 80px 1fr;
    gap: 10px;
    padding: 10px 0;
  }
  .office-row dt,
  .office-row dd {
    font-size: 13px;
  }

  .footer {
    padding: 56px 0 0;
  }
  .footer-inner {
    grid-template-columns: 1fr;
    gap: 40px;
    padding: 0 24px 40px;
  }
  .footer-logo-main {
    font-size: 20px;
    white-space: normal;
  }
  .footer-logo-sub {
    font-size: 14px;
  }
  .footer-logo-mark {
    width: 44px;
    height: 44px;
  }
  .footer-about-text {
    font-size: 13px;
  }
  .footer-heading {
    font-size: 16px;
    margin-bottom: 16px;
    padding-bottom: 12px;
  }
  .footer-list li {
    margin-bottom: 0;
  }
  .footer-list li a {
    font-size: 13px;
    display: flex;
    align-items: center;
    padding: 10px 0;
    min-height: 44px;
  }
  .footer-bottom {
    padding: 20px 24px;
  }
  .footer-copyright {
    font-size: 14px;
  }
}

/* ==========================================================================
   SERVICE PAGE (shared components - reusable for service-* pages)
   ========================================================================== */

/* ---------- Skip Link (a11y) ---------- */
.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-blue);
  color: #fff;
  padding: 8px 16px;
  z-index: 10000;
  text-decoration: none;
  border-radius: 0 0 6px 0;
}
.skip-link:focus {
  top: 0;
}

/* ---------- Page Hero ---------- */
.page-hero {
  position: relative;
  padding-top: 72px;
  background-color: var(--navy-deeper);
  background-image: url("./service-fv-bg.png");
  background-position: right top;
  background-size: cover;
  background-repeat: no-repeat;
  background-origin: content-box;
  background-clip: content-box;
  overflow: hidden;
}

body.page-guide .page-hero,
body.page-office .page-hero,
body.page-lawyers .page-hero,
body.page-pricing .page-hero,
body.page-contact .page-hero,
body.page-faq .page-hero,
body.page-column .page-hero,
body.page-privacy .page-hero,
body.page-terms .page-hero,
body.page-sitemap .page-hero {
  background-image: url("./page-hero-bg.png");
}

.page-hero-content {
  position: relative;
  z-index: 1;
  padding: 100px 24px;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
}

.page-hero-title {
  font-family: var(--font-sans);
  font-size: 42px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.1em;
  line-height: 1.79;
  margin: 0 0 24px;
}

.page-hero-subtitle {
  font-size: 24px;
  font-weight: 400;
  color: #ffffff;
  letter-spacing: 0.05em;
  line-height: 1.5;
  margin: 0;
}

/* ---------- Service Section Title (shared) ---------- */
.service-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  font-size: 30px;
  font-weight: 700;
  color: #101828;
  margin: 0 0 14px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  text-align: center;
}

.service-section-title-rule {
  flex: 0 0 56px;
  height: 1px;
  background: #101828;
}

.service-section-subtitle {
  text-align: center;
  font-size: 17px;
  color: var(--text-heading);
  margin: 0 0 48px;
  letter-spacing: 0.05em;
}

.mobile-only {
  display: none;
}

/* ---------- Service Intro ---------- */
.service-intro {
  padding: 80px 0;
  background: var(--white);
}

.service-intro-title {
  position: relative;
  padding-left: 24px;
  font-size: 28px;
  font-weight: 700;
  color: #101828;
  margin: 0 0 40px;
  letter-spacing: 0.1em;
  line-height: 1.5;
  min-height: 50px;
  display: flex;
  align-items: center;
}

.service-intro-bar {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 50px;
  background: var(--purple);
}

.service-intro-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  margin-top: 40px;
}

.service-intro-row:first-of-type {
  margin-top: 0;
}

.service-intro-text {
  display: flex;
  flex-direction: column;
}

.service-intro-lead {
  font-size: 20px;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0 0 24px;
  letter-spacing: 0.1em;
  line-height: 1.6;
}

.service-intro-text p {
  font-size: 15px;
  line-height: 2;
  color: var(--text-body);
  margin: 0;
  letter-spacing: 0.03em;
}

.service-intro-text p + p {
  margin-top: 24px;
}

.service-intro-image {
  width: 100%;
}

.service-intro-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* ---------- Service Crimes ---------- */
.service-crimes {
  padding: 80px 0;
  background:
    linear-gradient(rgba(239, 246, 250, 0.8), rgba(239, 246, 250, 0.8)),
    url("./hexagon-bg.jpg") center top / cover no-repeat,
    #f0f4fa;
}

.service-crimes-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
  counter-reset: crime;
}

.service-crime-card {
  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 4px 5px rgba(0, 0, 0, 0.10);
  padding: 25px 24px;
  display: grid;
  grid-template-columns: 240px 1fr;
  grid-template-rows: 160px auto;
  column-gap: 20px;
  row-gap: 17px;
  align-items: start;
  align-content: start;
  counter-increment: crime;
}

.service-crime-image {
  grid-column: 1;
  grid-row: 1;
  width: 240px;
  height: 160px;
  border-radius: 0;
  overflow: hidden;
  background: transparent;
  aspect-ratio: auto;
}

.service-crime-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-crime-title {
  grid-column: 2;
  grid-row: 1;
  align-self: center;
  margin: 0;
  padding: 0;
  background: none;
  color: #2029A7;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.3;
  letter-spacing: 0.05em;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 11px;
}

.service-crime-title::before {
  content: "Reason." counter(crime, decimal-leading-zero);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 30px;
  padding: 2px 20px 0;
  background: linear-gradient(90deg, #7227CE 0%, #2029a7 100%);
  color: #ffffff;
  font-family: "Roboto", var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 15px;
  line-height: 1;
}

.service-crime-title .service-crime-title-sub {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-top: 2px;
  letter-spacing: 0.05em;
}

.service-crime-text {
  grid-column: 1 / -1;
  align-self: start;
  margin: 0;
  padding: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #2B2B2B;
  letter-spacing: 0.03em;
}

.service-crime-text + .service-crime-text {
  padding-top: 0;
  margin-top: 4px;
}

/* ---------- Service Risks ---------- */
.service-risks {
  position: relative;
  padding: 60px 0;
  background: #F4F6FA;
}

.service-risks-inner {
  position: relative;
}

.service-risks-card {
  background: transparent;
  padding: 0;
  border-radius: 0;
  max-width: 1200px;
  margin: 0 auto;
  box-shadow: none;
}

.service-risks-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 0 28px;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  color: var(--text-heading);
  text-align: center;
  padding: 0;
  white-space: normal;
}

.service-risks-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary-blue, #2029a7);
}

.service-risks-bar {
  display: none;
}

.service-risks-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
}

.service-risk-box {
  background: transparent;
  color: var(--white);
  border-radius: 0;
  padding: 0;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 16px;
}

.service-risk-image {
  flex: 0 0 auto;
  width: 100px;
}

.service-risk-image img {
  width: 100%;
  height: auto;
  display: block;
}

.service-risk-body {
  flex: 1 1 0;
  min-width: 0;
  margin-top: 30px;
  background: #2029a7;
  border-radius: 0 20px 20px 20px;
  padding: 20px 24px;
  color: var(--white);
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.service-risk-head {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: transparent;
  color: var(--white);
  height: auto;
  width: 100%;
  padding: 0 0 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 1);
  margin: 0;
}

.service-risk-mark {
  flex-shrink: 0;
  width: 8px;
  height: 8px;
  background: #FFFF00;
  transform: rotate(45deg);
  font-size: 0;
  color: transparent;
  display: inline-block;
  margin-top: 10px;
}

.service-risk-sub {
  flex: 1;
  margin: 0;
  padding: 0;
  font-size: 20px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  line-height: 1.4;
  display: flex;
  align-items: center;
}

.service-risk-text {
  margin: 0;
  font-size: 15px;
  line-height: 1.85;
  color: var(--white);
  letter-spacing: 0.03em;
}

/* ---------- Service Benefits ---------- */
.service-benefits {
  padding: 80px 0;
  background: linear-gradient(180deg, #f0f4fa 0%, #ffffff 100%);
}

.service-benefits-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0 0 28px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-align: center;
}

.service-benefits-heading::after {
  content: "";
  display: block;
  width: 40px;
  height: 3px;
  background: var(--primary-blue, #2029a7);
  margin-top: 8px;
}

.service-benefits-heading-row1 {
  display: block;
  text-align: center;
}

.service-benefits-heading-row1::before,
.service-benefits-heading-row1::after {
  content: none;
  display: none;
}

.service-benefits-heading-row2 {
  display: block;
  color: #101828;
}

.service-benefits-desc {
  display: flex;
  flex-direction: column;
  align-items: center;
  font-size: 15px;
  color: var(--text-heading);
  text-align: center;
  margin: 0 0 48px;
  letter-spacing: 0.05em;
  line-height: 1.8;
}

.service-benefits-desc span {
  display: block;
}

.service-benefits-grid {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 50px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.service-benefit-card {
  display: flex;
  align-items: center;
  gap: 0;
  background: transparent;
  box-shadow: none;
}


.service-benefit-image {
  flex: 1 1 0;
  min-width: 0;
  height: 377px;
  overflow: hidden;
  background: transparent;
}

.service-benefit-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.service-benefit-body {
  position: relative;
  flex: 0 0 600px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.10);
  padding: 52px 35px 20px;
  margin-left: -54px;
  min-height: 230px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 14px;
}

.service-benefit-card--image-right .service-benefit-body {
  margin-left: 0;
  margin-right: -54px;
}

.service-benefit-ribbon {
  position: absolute;
  top: -12px;
  left: 33px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #2029A7;
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  width: 165px;
  height: 40px;
  padding: 0;
  margin: 0;
  letter-spacing: 0.06em;
  line-height: 1;
  clip-path: polygon(15px 0, 100% 0, calc(100% - 15px) 100%, 0 100%);
}

.service-benefit-sub {
  font-family: var(--font-sans);
  font-size: 24px;
  font-weight: 700;
  color: #1E2939;
  margin: 0;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.service-benefit-divider {
  display: block;
  width: 100px;
  height: 1px;
  background: #1E2939;
  margin: 0;
}

.service-benefit-text {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #000000;
  letter-spacing: normal;
}

/* ---------- Service Pricing ---------- */
.service-pricing {
  position: relative;
  padding: 80px 0;
  background: #ffffff;
}

.service-pricing::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("./service-pricing-bg.svg") center / cover no-repeat;
  opacity: 0.5;
  pointer-events: none;
  z-index: 0;
}

.service-pricing > * {
  position: relative;
  z-index: 1;
}

.service-pricing-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.service-pricing-card {
  border: 1px solid #8c8c8c;
  padding: 28px 32px;
}

.service-pricing-card-title {
  font-size: 22px;
  font-weight: 700;
  color: #101828;
  text-align: center;
  margin: 0 0 24px;
  letter-spacing: 0.08em;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--primary-blue);
}

.service-pricing-card-note {
  display: inline-block;
  font-size: 12px;
  font-weight: 400;
  color: var(--text-body);
  letter-spacing: 0.03em;
}

.service-pricing-table {
  margin: 0;
}

.service-pricing-table div {
  display: grid;
  grid-template-columns: 180px 1fr;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid #e5e7eb;
  gap: 16px;
}

.service-pricing-table div:last-child {
  border-bottom: none;
}

.service-pricing-table dt {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  margin: 0;
  flex-shrink: 0;
}

.service-pricing-table dd {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-blue);
  margin: 0;
  text-align: left;
}

.service-pricing-table small {
  display: block;
  font-size: 12px;
  color: var(--text-body);
  font-weight: 400;
  margin-top: 4px;
  letter-spacing: 0.03em;
}

.service-pricing-note {
  text-align: center;
  font-size: 14px;
  line-height: 2;
  color: var(--text-body);
  margin: 40px auto 0;
  max-width: 900px;
  letter-spacing: 0.05em;
}

/* ---------- Service Page Responsive ---------- */
@media (max-width: 1200px) {
  .service-risks-card {
    padding: 40px 32px;
  }
}

@media (max-width: 1024px) {
  .service-intro-row {
    gap: 28px;
  }
  .service-benefits-grid {
    gap: 32px;
  }
  .service-benefit-body {
    padding: 24px 28px;
  }
  .service-risks-grid {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  /* Page Hero */
  .page-hero-title {
    font-size: 24px;
    letter-spacing: 0.08em;
    line-height: 1.5;
  }
  .page-hero-subtitle {
    font-size: 16px;
  }
  .page-hero {
    padding-top: 72px;
    /* SP 専用の背景画像に差し替え */
    background-image: url("./service-fv-bg-sp.png");
  }
  /* page-hero-bg.png を使うページは SP でも維持 */
  body.page-guide .page-hero,
  body.page-office .page-hero,
  body.page-lawyers .page-hero,
  body.page-pricing .page-hero,
  body.page-contact .page-hero,
  body.page-faq .page-hero,
  body.page-column .page-hero {
    background-image: url("./page-hero-bg.png");
  }
  .page-hero-content {
    padding: 80px 20px 56px;
    text-align: left;
  }

  /* SP のみ service-fv-bg.png を使用するページヘッダーに黒透過を追加して文字の視認性を強化 */
  .page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    pointer-events: none;
    z-index: 0;
  }
  body.page-guide .page-hero::after,
  body.page-office .page-hero::after,
  body.page-lawyers .page-hero::after,
  body.page-pricing .page-hero::after,
  body.page-contact .page-hero::after,
  body.page-faq .page-hero::after,
  body.page-column .page-hero::after,
  body.page-privacy .page-hero::after,
  body.page-terms .page-hero::after,
  body.page-sitemap .page-hero::after {
    content: none;
  }

  /* Section title (shared) */
  .service-section-title {
    flex-direction: column;
    gap: 12px;
    font-size: 20px;
    line-height: 1.5;
    position: relative;
    padding-top: 28px;
  }
  .service-section-title-rule {
    display: none;
  }
  .service-section-title::after {
    content: "";
    position: static;
    width: 40px;
    height: 3px;
    background: var(--primary-blue);
  }
  .service-section-subtitle {
    font-size: 14px;
    margin: 0 0 32px;
  }
  .mobile-only {
    display: inline;
  }

  /* Intro */
  .service-intro {
    padding: 56px 0;
  }
  .service-intro-title {
    font-size: 18px;
    padding-left: 18px;
    margin: 0 0 24px;
    min-height: 40px;
    letter-spacing: 0.06em;
  }
  .service-intro-bar {
    width: 6px;
    height: 40px;
  }
  .service-intro-row {
    grid-template-columns: 1fr;
    gap: 16px;
    margin-top: 28px;
  }
  .service-intro-row--image-text .service-intro-image {
    order: 2;
  }
  .service-intro-row--image-text .service-intro-text {
    order: 1;
  }
  .service-intro-lead {
    font-size: 16px;
    margin: 0 0 16px;
  }
  .service-intro-text p {
    font-size: 14px;
    line-height: 1.9;
  }
  .service-intro-text p + p {
    margin-top: 16px;
  }

  /* Crimes */
  .service-crimes {
    padding: 56px 0;
  }
  .service-crimes-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-crime-card {
    grid-template-columns: 1fr;
    padding: 16px;
    row-gap: 12px;
  }
  .service-crime-image {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    height: 160px;
  }
  .service-crime-title {
    grid-column: 1;
    grid-row: 2;
    font-size: 16px;
    padding: 0;
  }
  .service-crime-text {
    grid-column: 1;
    font-size: 13px;
    padding: 0;
  }

  /* Risks */
  .service-risks {
    padding: 56px 0;
  }
  .service-risks-card {
    padding: 0;
  }
  .service-risks-title {
    font-size: 16px;
    padding-left: 14px;
    margin: 0 0 24px;
    letter-spacing: 0.03em;
    white-space: normal;
  }
  .service-risks-bar {
    width: 5px;
    height: 36px;
  }
  .service-risks-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .service-risk-box {
    display: block;
    position: relative;
    gap: 0;
  }
  .service-risk-image {
    position: absolute;
    top: 14px;
    left: 14px;
    width: 40px;
    max-height: 40px;
    z-index: 2;
  }
  .service-risk-image img {
    height: 40px;
    width: auto;
    max-width: 40px;
    object-fit: contain;
  }
  .service-risk-body {
    margin-top: 0;
    padding: 14px 16px 16px;
    width: 100%;
  }
  .service-risk-head {
    gap: 8px;
    padding: 0 0 10px 48px;
    margin: 0 0 4px;
    min-height: 44px;
    align-items: flex-start;
  }
  .service-risk-mark {
    margin-top: 8px;
  }
  .service-risk-mark {
    width: 8px;
    height: 8px;
  }
  .service-risk-sub {
    font-size: 16px;
    padding: 0;
  }
  .service-risk-text {
    font-size: 13px;
  }

  /* Benefits */
  .service-benefits {
    padding: 56px 0;
  }
  .service-benefits-heading {
    font-size: 20px;
    letter-spacing: 0.06em;
  }
  .service-benefits-desc {
    font-size: 13px;
    margin: 0 0 32px;
  }
  .service-benefits-grid {
    gap: 28px;
  }
  .service-benefit-card {
    flex-direction: column;
    grid-template-columns: 1fr;
    align-items: stretch;
  }
  .service-benefit-card--image-right .service-benefit-image {
    order: 0;
  }
  .service-benefit-card--image-right .service-benefit-body {
    order: 1;
  }
  .service-benefit-image {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 10;
  }
  .service-benefit-body,
  .service-benefit-card--image-right .service-benefit-body,
  .service-benefit-card--image-left .service-benefit-body {
    flex: 1 1 auto;
    width: auto;
    margin: 0 16px;
    padding: 20px;
    min-height: 0;
  }
  .service-benefit-ribbon {
    font-size: 18px;
    width: 140px;
    height: 36px;
    padding: 0 0 0 14px;
  }
  .service-benefit-sub {
    font-size: 18px;
    margin: 12px 0 0;
  }
  .service-benefit-divider {
    width: 80px;
    margin: 10px 0;
  }
  .service-benefit-text {
    font-size: 14px;
    line-height: 1.9;
  }

  /* Pricing */
  .service-pricing {
    padding: 56px 0;
  }
  .service-pricing-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .service-pricing-card {
    padding: 20px 18px;
  }
  .service-pricing-card-title {
    font-size: 18px;
    margin: 0 0 16px;
  }
  .service-pricing-table div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
  .service-pricing-table dt,
  .service-pricing-table dd {
    font-size: 13px;
  }
  .service-pricing-table small {
    font-size: 11px;
  }
  .service-pricing-note {
    font-size: 12px;
    margin: 24px auto 0;
  }
}

/* SP: 全 h2 の装飾を「見出しの下に縦線」で統一 */
@media (max-width: 768px) {
  body.page-service .service-intro-title,
  body.page-service .service-risks-title,
  body.page-service .service-benefits-heading,
  body.page-service .service-section-title,
  body.page-service .cases-title,
  body.page-service .faq-title,
  body.page-service .office-title,
  body.page-service .service-urgency-title {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding-left: 0;
    white-space: normal;
  }

  /* 既存の装飾（縦棒・左右横線）を非表示 */
  body.page-service .service-intro-bar,
  body.page-service .service-risks-bar,
  body.page-service .service-section-title-rule,
  body.page-service .cases-title-rule,
  body.page-service .faq-title-rule,
  body.page-service .office-title-rule,
  body.page-service .service-urgency-divider {
    display: none;
  }
  body.page-service .service-benefits-heading-row1::before,
  body.page-service .service-benefits-heading-row1::after {
    display: none;
  }
  body.page-service .service-benefits-heading-row1 {
    display: block;
  }

  /* 既存 SP 装飾の absolute 配置を打ち消す */
  body.page-service .service-intro-title,
  body.page-service .service-risks-title,
  body.page-service .service-benefits-heading,
  body.page-service .service-section-title,
  body.page-service .cases-title,
  body.page-service .faq-title,
  body.page-service .office-title,
  body.page-service .service-urgency-title {
    padding-top: 0;
  }

  /* 見出しの下に縦線（既存の top:0 absolute 指定を上書き） */
  body.page-service .service-intro-title::after,
  body.page-service .service-risks-title::after,
  body.page-service .service-benefits-heading::after,
  body.page-service .service-section-title::after,
  body.page-service .cases-title::after,
  body.page-service .faq-title::after,
  body.page-service .office-title::after,
  body.page-service .service-urgency-title::after {
    content: "";
    display: block;
    position: static;
    top: auto;
    left: auto;
    transform: none;
    width: 40px;
    height: 3px;
    background: var(--primary-blue);
    margin: 14px auto 0;
  }
}

/* ==========================================================================
   service-settlement ページ専用の背景上書き (body.page-service でスコープ)
   ========================================================================== */
body.page-service .cases {
  background: url("./service-cases-bg.png") center / cover no-repeat, #ffffff;
}

body.page-service .service-benefits {
  background:
    url("./service-benefits-bg.png") center top / cover no-repeat,
    #ffffff;
}

body.page-service .faq {
  background: #f6f6f6;
}

body.page-service .office {
  background: rgba(231, 232, 238, 0.5);
}

.service-pricing-btn-wrap {
  margin-top: 40px;
}

.service-pricing-btn {
  min-width: 500px;
  padding: 22px 32px;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

@media (max-width: 768px) {
  .service-pricing-btn {
    min-width: 0;
    width: 100%;
    padding: 16px 24px;
    font-size: 16px;
  }
}

/* ---------- Service Urgency (FAQ と office の間) ---------- */
.service-urgency {
  background: #ffffff;
  padding: 60px 0;
}

.service-urgency-inner {
  display: flex;
  align-items: center;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.service-urgency-image {
  flex: 0 0 auto;
  width: 48%;
  max-width: 500px;
}

.service-urgency-image img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.service-urgency-text {
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
  color: #101828;
}

.service-urgency-title {
  font-size: 24px;
  font-weight: 700;
  color: #1e293b;
  letter-spacing: 0.05em;
  margin: 0 0 20px;
  line-height: 1.5;
}

.service-urgency-divider {
  display: block;
  width: 100px;
  height: 1px;
  background: #101828;
  margin: 0 0 24px;
}

.service-urgency-text p {
  font-size: 16px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  color: #1e293b;
  margin: 0 0 16px;
}

.service-urgency-text p:last-child {
  margin-bottom: 0;
}

@media (max-width: 768px) {
  .service-urgency-inner {
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 0 20px;
  }
  .service-urgency-image {
    width: 100%;
    max-width: 100%;
    aspect-ratio: auto;
  }
  .service-urgency-text {
    padding: 0;
  }
  .service-urgency-title {
    font-size: 18px;
    margin-bottom: 14px;
  }
  .service-urgency-divider {
    width: 60px;
    margin-bottom: 16px;
  }
  .service-urgency-text p {
    font-size: 14px;
    line-height: 1.85;
  }
}

/* h2 直下の余白を統一 */
body.page-service .service-intro-title,
body.page-service .service-risks-title,
body.page-service .service-benefits-heading,
body.page-service .service-section-title,
body.page-service .cases-title,
body.page-service .faq-title,
body.page-service .office-title {
  margin-bottom: 32px;
}

@media (max-width: 768px) {
  body.page-service .service-intro-title,
  body.page-service .service-risks-title,
  body.page-service .service-benefits-heading,
  body.page-service .service-section-title,
  body.page-service .cases-title,
  body.page-service .faq-title,
  body.page-service .office-title {
    margin-bottom: 20px;
  }
}

/* CTA 直後のセクションはマイナスマージンで CTA に食い込ませ、padding-top を広めに取る */
body.page-service .cta-section + .service-crimes,
body.page-service .cta-section + .service-benefits,
body.page-service .cta-section + .faq {
  position: relative;
  z-index: 0;
  margin-top: -40px;
  padding-top: 120px;
}

@media (max-width: 768px) {
  body.page-service .cta-section + .service-crimes,
  body.page-service .cta-section + .service-benefits,
  body.page-service .cta-section + .faq {
    margin-top: -30px;
    padding-top: 80px;
  }
}

/* ==========================================================================
   pricing.html ページ専用スタイル
   ========================================================================== */

/* Pricing intro */
.pricing-intro {
  padding: 72px 0 40px;
  background: #ffffff;
  text-align: center;
}

.pricing-intro-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 auto 24px;
  color: #101828;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.pricing-intro-rule {
  display: block;
  width: 100px;
  height: 1px;
  background: #101828;
}

.pricing-intro-text {
  display: inline-block;
}

.pricing-intro-desc {
  margin: 0;
  color: #1e293b;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* Pricing table */
.pricing-table {
  padding: 40px 0 72px;
  background: #ffffff;
}

.pricing-table-title,
.pricing-breakdown-title {
  position: relative;
  padding-left: 24px;
  margin: 0 0 32px;
  color: #101828;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.pricing-table-bar,
.pricing-breakdown-bar {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 50px;
  background: var(--purple);
}

.pricing-block {
  margin-bottom: 36px;
}

.pricing-block-title {
  position: relative;
  display: flex;
  align-items: center;
  padding: 18px 24px 18px 32px;
  margin: 0 0 24px;
  background: #f0f1ff;
  color: #2029a7;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.06em;
  border-radius: 4px;
  overflow: hidden;
}

.pricing-block-bar {
  position: absolute;
  left: 0;
  top: 0;
  width: 2px;
  height: 100%;
  background: var(--primary-blue);
}

.pricing-block-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.pricing-block-grid--single {
  grid-template-columns: minmax(0, 570px);
}

.pricing-fee-card {
  border: 1px solid #d0d5dd;
  background: #ffffff;
  padding: 28px 32px 32px;
  text-align: center;
  border-radius: 4px;
}

.pricing-fee-label {
  margin: 0 0 12px;
  color: #101828;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.pricing-fee-divider {
  display: block;
  width: 76px;
  height: 1px;
  background: #101828;
  margin: 0 auto 16px;
}

.pricing-fee-amount {
  margin: 0;
  color: var(--primary-blue);
  font-size: 26px;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.pricing-fee-note {
  margin: 14px 0 0;
  color: #475569;
  font-size: 13px;
  line-height: 1.7;
}

.pricing-notes {
  list-style: none;
  margin: 40px 0 0;
  padding: 32px 40px;
  background: #e7e8ee80;
  border-radius: 4px;
  color: #1e293b;
  font-size: 13px;
  line-height: 2;
}

.pricing-notes li {
  position: relative;
  padding-left: 18px;
}

.pricing-notes li::before {
  content: "※";
  position: absolute;
  left: 0;
  top: 0;
}

/* Pricing breakdown */
.pricing-breakdown {
  padding: 60px 0;
  background: #ffffff;
}

.pricing-breakdown-list {
  margin: 0;
  border-top: 1px solid #e2e8f0;
}

.pricing-breakdown-row {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 20px 0;
  border-bottom: 1px solid #e2e8f0;
}

.pricing-breakdown-row dt {
  margin: 0;
  color: #101828;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.pricing-breakdown-row dd {
  margin: 0;
  color: #334155;
  font-size: 14px;
  line-height: 1.9;
}

@media (max-width: 1024px) {
  .pricing-block-grid {
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .pricing-intro {
    padding: 48px 0 24px;
  }
  .pricing-intro-title {
    font-size: 18px;
    gap: 12px;
    flex-direction: column;
    line-height: 1.5;
  }
  .pricing-intro-rule {
    display: none;
  }
  .pricing-intro-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-blue);
  }
  .pricing-intro-desc {
    font-size: 13px;
    line-height: 1.85;
    text-align: left;
  }
  .pricing-table {
    padding: 24px 0 56px;
  }
  .pricing-table-title,
  .pricing-breakdown-title {
    font-size: 18px;
    padding-left: 14px;
  }
  .pricing-table-bar,
  .pricing-breakdown-bar {
    width: 5px;
    height: 36px;
  }
  .pricing-block-title {
    padding: 14px 16px;
    font-size: 15px;
  }
  .pricing-block-grid,
  .pricing-block-grid--single {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .pricing-fee-card {
    padding: 20px 18px 24px;
  }
  .pricing-fee-label {
    font-size: 15px;
  }
  .pricing-fee-amount {
    font-size: 22px;
  }
  .pricing-fee-note {
    font-size: 12px;
  }
  .pricing-notes {
    padding: 20px 16px;
    font-size: 12px;
    line-height: 1.85;
  }
  .pricing-breakdown {
    padding: 48px 0 72px;
  }
  .pricing-breakdown-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }
  .pricing-breakdown-row dt {
    font-size: 14px;
  }
  .pricing-breakdown-row dd {
    font-size: 13px;
  }
}

/* ==========================================================================
   lawyers.html ページ専用スタイル
   ========================================================================== */
.lawyers-list {
  padding: 60px 0;
  background: #ffffff;
}

.lawyer-card {
  padding: 32px 0;
}

.lawyer-card-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: 48px;
  align-items: start;
}

.lawyer-photo {
  width: 300px;
  height: 450px;
  overflow: hidden;
  background: #d9d9d9;
  border-radius: 4px;
}

.lawyer-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lawyer-profile {
  padding-top: 8px;
}

.lawyer-role {
  margin: 0 0 12px;
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-blue);
  letter-spacing: 0.08em;
}

.lawyer-name {
  margin: 0 0 12px;
  color: #101828;
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.05em;
  line-height: 1.3;
  display: flex;
  align-items: baseline;
  gap: 18px;
  flex-wrap: wrap;
}

.lawyer-name-main {
  font-family: var(--font-serif);
  font-size: 30px;
  font-weight: 700;
}

.lawyer-name-kana {
  font-family: var(--font-serif);
  font-size: 16px;
  font-weight: 500;
  color: #475569;
  letter-spacing: 0.05em;
}

.lawyer-title {
  margin: 0 0 20px;
  color: #334155;
  font-size: 16px;
  font-weight: 600;
  line-height: 1.75;
  letter-spacing: 0.04em;
}

.lawyer-comment {
  margin: 0;
  padding: 24px 28px;
  background: #f6f6f6;
  border-radius: 4px;
  color: #1e293b;
  font-size: 16px;
  line-height: 1.95;
  letter-spacing: 0.03em;
}

.lawyer-details {
  margin: 28px 0 0;
}

.lawyer-details-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid #e2e8f0;
}

.lawyer-details-row:first-child {
  border-top: 1px solid #e2e8f0;
}

.lawyer-details-row dt {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  padding-left: 4px;
  color: #101828;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.lawyer-details-dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--primary-blue);
  flex-shrink: 0;
}

.lawyer-details-row dd {
  margin: 0;
  color: #334155;
  font-size: 16px;
  line-height: 1.95;
}

@media (max-width: 1024px) {
  .lawyer-card-inner {
    grid-template-columns: 240px 1fr;
    gap: 32px;
  }
  .lawyer-photo {
    width: 240px;
    height: 360px;
  }
  .lawyer-details-row {
    grid-template-columns: 160px 1fr;
  }
}

@media (max-width: 768px) {
  .lawyers-list {
    padding: 48px 0 72px;
  }
  .lawyer-card {
    padding: 24px 0;
  }
  .lawyer-card-inner {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .lawyer-photo {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    max-width: 280px;
    margin: 0 auto;
  }
  .lawyer-role {
    font-size: 13px;
  }
  .lawyer-name {
    font-size: 20px;
    gap: 10px;
  }
  .lawyer-name-main {
    font-size: 20px;
  }
  .lawyer-name-kana {
    font-size: 12px;
  }
  .lawyer-title {
    font-size: 13px;
    margin-bottom: 14px;
  }
  .lawyer-comment {
    font-size: 13px;
    line-height: 1.9;
  }
  .lawyer-details {
    margin-top: 18px;
  }
  .lawyer-details-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
  }
  .lawyer-details-row dt {
    font-size: 13px;
  }
  .lawyer-details-row dd {
    font-size: 12px;
  }
  .lawyer-details-dot {
    width: 8px;
    height: 8px;
  }
}

/* ==========================================================================
   ハブページ共通スタイル (body.page-hub)
   ========================================================================== */

/* Hub intro */
.hub-intro {
  padding: 72px 0 40px;
  background: #ffffff;
  text-align: center;
}

.hub-intro-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 auto 24px;
  color: #101828;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.hub-intro-rule {
  display: block;
  width: 100px;
  height: 1px;
  background: #101828;
  flex-shrink: 0;
}

.hub-intro-desc {
  margin: 0;
  color: #1e293b;
  font-size: 16px;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* Hub cards */
.hub-cards {
  padding: 40px 0 96px;
  background: #ffffff;
}

.hub-card-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.hub-card {
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  gap: 0;
}

.hub-card-image {
  flex: 1 1 0;
  min-width: 0;
  height: 359px;
  overflow: hidden;
  background: transparent;
  border-radius: 10px;
}

.hub-card-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hub-card-body {
  position: relative;
  flex: 0 0 600px;
  background: #ffffff;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
  border-radius: 10px;
  padding: 30px 35px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 20px;
  min-height: 258px;
  z-index: 2;
}

.hub-card--image-left .hub-card-body {
  margin-left: -71px;
}

.hub-card--image-right .hub-card-body {
  margin-right: -71px;
  margin-left: 0;
}

.hub-card-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 0;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  color: #1E2939;
  letter-spacing: 0.05em;
  line-height: 1.2;
}

.hub-card-title::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #2029a7;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.hub-card-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: #1E2939;
  margin: 0;
}

.hub-card-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #000000;
  letter-spacing: 0.03em;
}

.hub-card-btn {
  align-self: flex-end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 250px;
  height: 50px;
  padding: 0;
  border-radius: 50px;
  background: linear-gradient(to right, #2029A7, #7227CE);
  color: #ffffff;
  font-family: var(--font-sans);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: opacity 0.2s;
}

.hub-card-btn:hover {
  opacity: 0.88;
}

.hub-card-btn .arrow {
  font-size: 14px;
}

@media (max-width: 1200px) {
  .hub-card {
    grid-template-columns: 1fr 1fr;
  }
  .hub-card--image-left .hub-card-body {
    margin-left: -60px;
  }
  .hub-card--image-right .hub-card-body {
    margin-right: -60px;
  }
}

@media (max-width: 1024px) {
  .hub-card-body {
    padding: 32px 36px;
  }
  .hub-card-image {
    height: 320px;
  }
}

@media (max-width: 768px) {
  .hub-intro {
    padding: 48px 0 24px;
  }
  .hub-intro-title {
    font-size: 18px;
    flex-direction: column;
    gap: 12px;
    line-height: 1.5;
  }
  .hub-intro-rule {
    width: 60px;
  }
  .hub-intro-desc {
    font-size: 13px;
    line-height: 1.9;
    text-align: left;
  }
  .hub-cards {
    padding: 24px 0 64px;
  }
  .hub-card-list {
    gap: 24px;
  }
  .hub-card,
  .hub-card--image-right {
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
  }
  .hub-card--image-right .hub-card-image {
    order: 0;
  }
  .hub-card--image-right .hub-card-body {
    order: 1;
  }
  .hub-card-image {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .hub-card-body {
    flex: 1 1 auto;
    width: auto;
    min-height: 0;
    padding: 24px 20px;
    gap: 14px;
  }
  .hub-card--image-left .hub-card-body,
  .hub-card--image-right .hub-card-body {
    margin-left: 16px;
    margin-right: 16px;
    margin-top: -32px;
  }
  .hub-card-title {
    font-size: 16px;
    margin-bottom: 12px;
  }
  .hub-card-divider {
    width: 60px;
    margin-bottom: 14px;
  }
  .hub-card-text {
    font-size: 13px;
  }
  .hub-card-btn {
    min-width: 0;
    width: 100%;
    padding: 14px 20px;
    font-size: 14px;
  }
  body.page-hub .hub-intro-title {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  body.page-hub .hub-intro-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-blue);
    margin-top: 14px;
  }
  body.page-hub .hub-intro-rule {
    display: none;
  }
}

/* ==========================================================================
   office.html ページ専用スタイル
   ========================================================================== */

/* Office intro */
.office-intro {
  padding: 72px 0 56px;
  background: #ffffff;
  text-align: center;
}

.office-intro-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 auto 24px;
  color: #101828;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.office-intro-rule {
  display: block;
  width: 100px;
  height: 1px;
  background: #101828;
  flex-shrink: 0;
}

.office-intro-desc {
  margin: 0;
  color: #1e293b;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* Offices list */
.offices {
  padding: 40px 0 96px;
  background: #ffffff;
}

.office-item {
  margin: 0 0 72px;
}

.office-item:last-child {
  margin-bottom: 0;
}

.office-item-title {
  position: relative;
  padding-left: 24px;
  margin: 0 0 32px;
  color: #101828;
  font-size: 24px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.4;
}

.office-item-bar {
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 50px;
  background: var(--primary-blue);
}

.office-item-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

.office-item-map {
  width: 100%;
  aspect-ratio: 650 / 487;
  overflow: hidden;
  background: #e2e8f0;
  border-radius: 4px;
}

.office-item-map img,
.office-item-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.office-item-info {
  margin: 0;
}

.office-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 24px;
  padding: 16px 0;
  border-bottom: 1px solid #e2e8f0;
}

.office-row:first-child {
  padding-top: 0;
}

.office-row:first-child,
.office-item-info .office-row:nth-of-type(2) {
  border-top: none;
}

.office-item-info .office-row + .office-row {
  border-top: none;
}

.office-row dt {
  margin: 0;
  color: #101828;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.office-row dd {
  margin: 0;
  color: #334155;
  font-size: 15px;
  line-height: 1.8;
}

.office-row dd a {
  color: var(--primary-blue);
  text-decoration: underline;
}

.office-row dd a:hover {
  text-decoration: none;
}

@media (max-width: 1024px) {
  .office-item-body {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .office-row {
    grid-template-columns: 120px 1fr;
    gap: 16px;
  }
}

@media (max-width: 768px) {
  .office-intro {
    padding: 48px 0 32px;
  }
  .office-intro-title {
    font-size: 18px;
    flex-direction: column;
    gap: 12px;
    line-height: 1.5;
  }
  .office-intro-rule {
    display: none;
  }
  .office-intro-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-blue);
  }
  .office-intro-desc {
    font-size: 13px;
    line-height: 1.9;
    text-align: left;
  }
  .offices {
    padding: 24px 0 64px;
  }
  .office-item {
    margin-bottom: 56px;
  }
  .office-item-title {
    font-size: 18px;
    padding-left: 14px;
  }
  .office-item-bar {
    width: 5px;
    height: 36px;
  }
  .office-row {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 14px 0;
  }
  .office-row dt {
    font-size: 14px;
  }
  .office-row dd {
    font-size: 14px;
  }
}

/* ==========================================================================
   guide.html (初めての方へ) ページ専用スタイル
   ========================================================================== */

/* Guide intro */
.guide-intro {
  padding: 72px 0 64px;
  background: #ffffff;
  text-align: center;
}

.guide-intro-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 auto 24px;
  color: #101828;
  font-weight: 700;
  font-size: 26px;
  line-height: 1.6;
  letter-spacing: 0.05em;
}

.guide-intro-rule,
.guide-section-rule,
.guide-reasons-rule,
.guide-flow-rule {
  display: block;
  width: 100px;
  height: 1px;
  background: currentColor;
  flex-shrink: 0;
}

.guide-intro-desc {
  margin: 0;
  color: #1e293b;
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.04em;
}

/* Guide why (3 cards zigzag with hexagon bg) */
.guide-why {
  position: relative;
  padding: 60px 0;
  background:
    linear-gradient(rgba(239, 246, 250, 0.85), rgba(239, 246, 250, 0.85)),
    url("./hexagon-bg.jpg") center top / cover no-repeat,
    #f0f4fa;
}

.guide-section-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 auto 40px;
  color: #101828;
  font-weight: 700;
  font-size: 26px;
  letter-spacing: 0.05em;
  line-height: 1.4;
  text-align: center;
}

.guide-why-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 70px;
}

.guide-why-card {
  display: flex;
  align-items: flex-end;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  gap: 0;
}

.guide-why-card .guide-why-body {
  transform: translateY(40px);
}

.guide-why-image {
  flex: 0 0 715px;
  height: 342px;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
}

.guide-why-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-why-body {
  position: relative;
  flex: 0 0 600px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.10);
  padding: 30px 35px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 14px;
  min-height: 258px;
  z-index: 2;
}

.guide-why-card--image-left .guide-why-body {
  margin-left: -115px;
}

.guide-why-card--image-right .guide-why-body {
  margin-right: -115px;
  margin-left: 0;
}

.guide-why-title {
  display: flex;
  align-items: center;
  gap: 13px;
  margin: 0;
  color: #1E2939;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.2;
  text-align: left;
}

.guide-why-number {
  font-family: "Roboto", var(--font-sans);
  font-size: 38px;
  font-weight: 500;
  color: #2029a7;
  letter-spacing: 0.05em;
  line-height: 1;
}

.guide-why-diamond {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #2029a7;
  transform: rotate(45deg);
  flex-shrink: 0;
}

.guide-why-divider {
  display: block;
  width: 100%;
  height: 1px;
  background: #1E2939;
  margin: 0;
}

.guide-why-text {
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  color: #000000;
  letter-spacing: 0.03em;
}

/* Guide tips */
.guide-tips {
  padding: 60px 0;
  background: #ffffff;
}

.guide-tips-inner {
  display: flex;
  flex-direction: column;
  gap: 58px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.guide-tips-row {
  display: flex;
  gap: 50px;
  align-items: center;
  width: 100%;
}

.guide-tips-body {
  flex: 0 0 550px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 0;
}

.guide-tips-title {
  margin: 0;
  color: #101828;
  font-family: var(--font-sans);
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.guide-tips-divider {
  display: block;
  width: 50px;
  height: 4px;
  background: #2029a7;
  margin: 12px 0 4px;
  border-radius: 0;
}

.guide-tips-subtitle-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0 0 9px;
}

.guide-tips-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  background: #2029a7;
  border-radius: 50%;
  flex-shrink: 0;
}

.guide-tips-subtitle {
  margin: 0;
  color: #101828;
  font-family: var(--font-sans);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.5;
}

.guide-tips-lead {
  margin: 0;
  color: #000000;
  font-size: 16px;
  line-height: 1.5;
  letter-spacing: 0.01em;
}

.guide-tips-image {
  flex: 0 0 602px;
  height: 339px;
  overflow: hidden;
  background: transparent;
  border-radius: 0;
}

.guide-tips-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-tips-rules {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 45px;
  width: 100%;
  counter-reset: tip;
}

.guide-tips-rule {
  flex: 1 1 0;
  min-width: 0;
  background: #E8EFF9;
  border-radius: 10px;
  padding: 23px 24px;
  display: flex;
  flex-direction: column;
  gap: 15px;
  min-height: 160px;
  counter-increment: tip;
}

.guide-tips-rule-head {
  display: flex;
  align-items: center;
  gap: 15px;
}

.guide-tips-rule-num {
  flex-shrink: 0;
  width: 50px;
  height: 50px;
  background: #2029a7;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: "Roboto", var(--font-sans);
  font-weight: 700;
  font-size: 20px;
}

.guide-tips-rule-num::before {
  content: counter(tip, decimal-leading-zero);
}

.guide-tips-rule strong {
  display: block;
  color: #000000;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin: 0;
}

.guide-tips-rule p {
  margin: 0;
  color: #000000;
  font-size: 14px;
  line-height: 1.5;
}

.guide-tips-outro {
  margin: 0;
  text-align: center;
  color: #2029a7;
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.02em;
}


/* Guide reasons (4 cards on navy background) */
.guide-reasons {
  padding: 60px 0;
  background: var(--primary-blue);
  color: #ffffff;
}

.guide-reasons-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 auto 16px;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: center;
  color: #ffffff;
}

.guide-reasons-sub {
  text-align: center;
  margin: 0 0 56px;
  color: #ffffff;
  font-size: 18px;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.guide-reasons-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px 32px;
  margin: 0 auto;
  padding: 0;
  max-width: 1200px;
}

.guide-reason-card {
  background: #FFF;
  border-radius: 20px;
  box-shadow: 0 4px 10px 0 rgba(0, 0, 0, 0.10);
  border: none;
  overflow: hidden;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 20px;
  gap: 20px;
}

.guide-reason-image {
  flex: 0 0 40%;
  max-width: 220px;
  height: 160px;
  margin: 0;
  overflow: hidden;
  background: transparent;
  border-radius: 6px;
  align-self: flex-start;
}

.guide-reason-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.guide-reason-body {
  flex: 1 1 0;
  min-width: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.guide-reason-badge {
  display: inline-block;
  background: linear-gradient(90deg, #7227CE 0%, #2029a7 100%);
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.06em;
  padding: 6px 16px;
  border-radius: 999px;
}

.guide-reason-title {
  margin: 0;
  padding: 0;
  color: var(--primary-blue);
  font-family: var(--font-sans);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.06em;
  line-height: 1.5;
}

.guide-reason-text {
  margin: 0;
  padding: 0;
  font-family: var(--font-sans);
  font-size: 15px;
  line-height: 1.85;
  color: var(--text-body);
  letter-spacing: 0.03em;
}

/* Guide flow (4 steps with arrows) */
.guide-flow {
  padding: 60px 0;
  background: #f3fcff;
}

.guide-flow-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin: 0 auto 16px;
  color: #101828;
  font-weight: 700;
  font-size: 30px;
  letter-spacing: 0.1em;
  line-height: 1.4;
  text-align: center;
}

.guide-flow-sub {
  text-align: center;
  margin: 0 0 56px;
  color: #4a5565;
  font-size: 18px;
  letter-spacing: 0.1em;
  font-weight: 500;
}

.guide-flow-list {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  column-gap: 40px;
  row-gap: 40px;
  margin: 0 auto;
  padding: 0;
  max-width: 1200px;
  position: relative;
}

.guide-flow-step {
  position: relative;
  background: var(--white);
  border-radius: 10px;
  padding: 20px 22px 28px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-height: 310px;
}

.guide-flow-step + .guide-flow-step::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -30px;
  transform: translateY(-50%);
  width: 18px;
  height: 30px;
  background: url("./flow-arrow.svg") center/contain no-repeat;
}

.guide-flow-step-label {
  display: block;
  position: static;
  font-family: 'Inter', var(--font-sans);
  font-size: 32px;
  font-weight: 700;
  color: #dbeafe;
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin: 0 0 8px;
  text-align: center;
}

.guide-flow-step-icon {
  width: 56px;
  height: 56px;
  border-radius: 999px;
  background: var(--primary-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 0 20px;
  flex-shrink: 0;
}

.guide-flow-step-icon img {
  width: 28px;
  height: 28px;
  filter: brightness(0) invert(1);
}

.guide-flow-step-title {
  font-family: var(--font-sans);
  font-size: 18px;
  font-weight: 700;
  color: #101828;
  letter-spacing: 0.05em;
  margin: 0 0 14px;
  line-height: 1.5;
}

.guide-flow-step-text {
  font-family: var(--font-sans);
  font-size: 15px;
  color: var(--text-body);
  line-height: 1.8;
  letter-spacing: 0.03em;
  margin: 0;
  text-align: left;
}

@media (max-width: 1200px) {
  .guide-why-card {
    grid-template-columns: 1fr 1fr;
  }
  .guide-why-card--image-left .guide-why-body {
    margin-left: -60px;
  }
  .guide-why-card--image-right .guide-why-body {
    margin-right: -60px;
  }
}

@media (max-width: 1024px) {
  .guide-reasons-list {
    grid-template-columns: 1fr;
  }
  .guide-flow-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 56px 28px;
  }
  .guide-flow-step + .guide-flow-step:nth-child(odd)::before {
    display: none;
  }
  .guide-flow-step + .guide-flow-step:nth-child(3)::before {
    content: "";
    top: -42px;
    left: 50%;
    transform: translate(-50%, 0) rotate(90deg);
    width: 30px;
    height: 51px;
  }
}

@media (max-width: 768px) {
  .guide-intro {
    padding: 48px 0 40px;
  }
  .guide-intro-title {
    font-size: 18px;
    flex-direction: column;
    gap: 12px;
    line-height: 1.55;
  }
  .guide-intro-rule,
  .guide-section-rule,
  .guide-reasons-rule,
  .guide-flow-rule {
    width: 60px;
  }
  .guide-intro-desc {
    font-size: 13px;
    line-height: 1.9;
    text-align: left;
  }
  .guide-why {
    padding: 48px 0 64px;
  }
  .guide-section-title {
    font-size: 18px;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 24px;
  }
  .guide-why-list {
    gap: 24px;
  }
  .guide-why-card,
  .guide-why-card--image-right {
    flex-direction: column;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: stretch;
  }
  .guide-why-card--image-right .guide-why-image {
    order: 0;
  }
  .guide-why-card--image-right .guide-why-body {
    order: 1;
  }
  .guide-why-image {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
  }
  .guide-why-body {
    flex: 1 1 auto;
    width: auto;
    min-height: 0;
    padding: 24px 20px;
    margin: -32px 16px 0 !important;
    transform: none;
  }
  .guide-why-card .guide-why-body {
    transform: none;
  }
  .guide-why-card--image-right .guide-why-body {
    order: 1;
  }
  .guide-why-title {
    font-size: 16px;
  }
  .guide-why-divider {
    width: 60px;
  }
  .guide-why-text {
    font-size: 13px;
  }
  .guide-tips {
    padding: 56px 0 64px;
  }
  .guide-tips-inner {
    gap: 32px;
    padding: 0 16px;
  }
  .guide-tips-row {
    flex-direction: column;
    gap: 24px;
  }
  .guide-tips-body {
    flex: 0 0 auto;
    padding: 0;
  }
  .guide-tips-title {
    font-size: 20px;
    margin-bottom: 14px;
  }
  .guide-tips-divider {
    width: 60px;
    height: 3px;
    margin: 8px 0 4px;
  }
  .guide-tips-subtitle {
    font-size: 16px;
  }
  .guide-tips-lead {
    font-size: 13px;
    line-height: 1.85;
  }
  .guide-tips-image {
    flex: 0 0 auto;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    border-radius: 4px;
  }
  .guide-tips-rules {
    flex-direction: column;
    gap: 16px;
  }
  .guide-tips-rule {
    flex: 0 0 auto;
    width: 100%;
    padding: 18px 20px;
    min-height: 0;
  }
  .guide-tips-rule strong {
    font-size: 16px;
  }
  .guide-tips-rule p {
    font-size: 13px;
  }
  .guide-tips-outro {
    font-size: 14px;
  }
  .guide-reasons {
    padding: 56px 0 64px;
  }
  .guide-reasons-title {
    font-size: 20px;
    flex-direction: column;
    gap: 10px;
  }
  .guide-reasons-sub {
    font-size: 14px;
    margin-bottom: 32px;
  }
  .guide-reasons-list {
    gap: 16px;
  }
  .guide-reason-card {
    flex-direction: column;
    align-items: stretch;
    padding: 14px;
    gap: 12px;
  }
  .guide-reason-image {
    flex: 0 0 auto;
    max-width: 100%;
    width: 100%;
    height: 140px;
    margin: 0;
  }
  .guide-reason-body {
    padding: 0;
  }
  .guide-reason-title {
    margin-bottom: 8px;
    font-size: 15px;
  }
  .guide-reason-text {
    font-size: 13px;
    line-height: 1.85;
  }
  .guide-flow {
    padding: 48px 0 64px;
  }
  .guide-flow-title {
    font-size: 18px;
    flex-direction: column;
    gap: 10px;
  }
  .guide-flow-list {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .guide-flow-step + .guide-flow-step::before {
    top: -30px;
    left: 50%;
    transform: translate(-50%, -50%) rotate(90deg);
  }
  body.page-guide .guide-intro-title,
  body.page-guide .guide-section-title,
  body.page-guide .guide-reasons-title,
  body.page-guide .guide-flow-title {
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  body.page-guide .guide-intro-title::after,
  body.page-guide .guide-section-title::after,
  body.page-guide .guide-reasons-title::after,
  body.page-guide .guide-flow-title::after {
    content: "";
    display: block;
    width: 40px;
    height: 3px;
    background: var(--primary-blue);
    margin-top: 14px;
  }
  body.page-guide .guide-intro-rule,
  body.page-guide .guide-section-rule,
  body.page-guide .guide-reasons-rule,
  body.page-guide .guide-flow-rule {
    display: none;
  }
}

/* ==========================================================================
   contact page 専用スタイル (body.page-contact)
   ========================================================================== */

/* --- Intro section --- */
body.page-contact .contact-intro {
  padding: 72px 0 32px;
  background: var(--white);
}

/* --- 3つの連絡方法カード --- */
body.page-contact .contact-methods {
  padding: 24px 0 72px;
  background: var(--white);
}

.contact-methods-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin: 0;
  padding: 0;
}

.contact-method-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  padding: 32px 24px 28px;
  background: var(--white);
  border: 1px solid #e2e5ea;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 10px 24px -18px rgba(16, 24, 40, 0.18);
}

.contact-method-label {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--primary-blue);
}

.contact-method-phone-wrap {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.contact-method-phone-icon {
  width: 26px;
  height: 26px;
  color: var(--primary-blue);
}

.contact-method-phone {
  font-size: 28px;
  font-weight: 800;
  letter-spacing: 0.04em;
  color: var(--text-heading);
  font-family: var(--font-sans);
  text-decoration: none;
}

.contact-method-btn {
  width: 100%;
  min-width: 0;
  justify-content: center;
}

.contact-method-hours {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.04em;
}

.contact-method-note {
  margin: 0;
  font-size: 12px;
  color: #6b7280;
  letter-spacing: 0.04em;
}

/* --- Contact form section --- */
body.page-contact .contact-form-section {
  padding: 72px 0;
  background: #f8f9fa;
}

.contact-form {
  max-width: 820px;
  margin: 48px auto 0;
  background: var(--white);
  border: 1px solid #e2e5ea;
  border-radius: 14px;
  padding: 48px clamp(20px, 4vw, 56px);
  box-shadow: 0 10px 28px -20px rgba(16, 24, 40, 0.2);
}

.form-row {
  margin-bottom: 28px;
}

.form-row:last-of-type {
  margin-bottom: 0;
}

.form-row--split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.form-label {
  display: block;
  margin-bottom: 10px;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.04em;
}

.form-req {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: #ea0000;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.form-optional {
  display: inline-block;
  margin-left: 8px;
  padding: 2px 8px;
  background: #6b7280;
  color: var(--white);
  font-size: 11px;
  font-weight: 700;
  border-radius: 3px;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.form-control {
  width: 100%;
  padding: 14px 16px;
  font-family: inherit;
  font-size: 15px;
  color: var(--text-body);
  background: var(--white);
  border: 1px solid #cfd4dc;
  border-radius: 8px;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
  appearance: none;
  -webkit-appearance: none;
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-blue);
  box-shadow: 0 0 0 3px rgba(32, 41, 167, 0.12);
}

textarea.form-control {
  resize: vertical;
  line-height: 1.7;
  min-height: 160px;
}

select.form-control {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'><path d='M5 8l5 5 5-5' stroke='%23101828' stroke-width='2' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 16px;
  padding-right: 40px;
}

.form-choices {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 14px;
}

.form-choice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  background: var(--white);
  border: 1px solid #cfd4dc;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-body);
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, color 0.15s ease;
}

.form-choice input {
  accent-color: var(--primary-blue);
}

.form-choice:has(input:checked) {
  border-color: var(--primary-blue);
  background: rgba(32, 41, 167, 0.06);
  color: var(--primary-blue);
  font-weight: 700;
}

.form-consent {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 32px 0 24px;
  padding: 16px 18px;
  background: #f0f2f5;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-body);
  cursor: pointer;
}

.form-consent input {
  margin-top: 3px;
  accent-color: var(--primary-blue);
}

.form-consent a {
  color: var(--primary-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.form-submit-wrap {
  margin-top: 32px;
  text-align: center;
}

.btn-submit {
  min-width: 320px;
  font-size: 16px;
  padding: 18px 32px;
  cursor: pointer;
  border: none;
}

.form-note {
  margin: 16px 0 0;
  font-size: 12px;
  color: #6b7280;
  line-height: 1.7;
  letter-spacing: 0.04em;
}

/* --- Flow section --- */
body.page-contact .contact-flow {
  padding: 60px 0;
  background: var(--white);
}

/* ==========================================================================
   SP 調整
   ========================================================================== */
@media (max-width: 768px) {
  body.page-contact .contact-intro {
    padding: 48px 0 24px;
  }
  body.page-contact .contact-methods {
    padding: 16px 0 48px;
  }
  .contact-methods-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .contact-method-card {
    padding: 24px 20px 22px;
    gap: 10px;
  }
  .contact-method-phone {
    font-size: 24px;
  }

  body.page-contact .contact-form-section {
    padding: 48px 0;
  }
  .contact-form {
    margin-top: 32px;
    padding: 28px 18px 32px;
    border-radius: 10px;
  }
  .form-row {
    margin-bottom: 20px;
  }
  .form-row--split {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .form-label {
    font-size: 14px;
  }
  .form-control {
    font-size: 16px; /* iOS ズーム防止 */
    padding: 12px 14px;
  }
  textarea.form-control {
    min-height: 140px;
  }
  .form-choice {
    padding: 8px 14px;
    font-size: 13px;
  }
  .btn-submit {
    min-width: 0;
    width: 100%;
    font-size: 15px;
    padding: 16px 24px;
  }
  body.page-contact .contact-flow {
    padding: 48px 0 56px;
  }
}

/* ==========================================================================
   FAQ page 専用スタイル (body.page-faq)
   ========================================================================== */

body.page-faq .faq-intro {
  padding: 72px 0 24px;
  background: var(--white);
}

/* カテゴリ目次 */
.faq-toc {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 12px;
  justify-content: center;
  margin: 36px auto 0;
  max-width: 880px;
}

.faq-toc a {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid #cfd4dc;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-heading);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.faq-toc a::before {
  content: "›";
  margin-right: 8px;
  color: var(--primary-blue);
  font-weight: 700;
}

.faq-toc a:hover,
.faq-toc a:focus-visible {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: rgba(32, 41, 167, 0.05);
  outline: none;
}

/* 各カテゴリセクション */
body.page-faq .faq-page-section {
  padding: 64px 0;
  background: var(--white);
  scroll-margin-top: 80px;
}

body.page-faq .faq-page-section--alt {
  background: #f8f9fa;
}

.faq-category-title {
  display: flex;
  align-items: baseline;
  gap: 16px;
  max-width: 880px;
  margin: 0 auto 32px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--primary-blue);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.06em;
}

.faq-category-num {
  font-family: var(--font-sans);
  font-size: 32px;
  font-weight: 800;
  color: var(--primary-blue);
  letter-spacing: 0.04em;
  line-height: 1;
}

body.page-faq .faq-list {
  max-width: 880px;
  margin: 0 auto;
}

body.page-faq .faq-answer p a {
  color: var(--primary-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* SP 調整 */
@media (max-width: 768px) {
  body.page-faq .faq-intro {
    padding: 48px 0 16px;
  }
  .faq-toc {
    margin-top: 24px;
    gap: 8px 8px;
  }
  .faq-toc a {
    padding: 8px 14px;
    font-size: 13px;
  }
  body.page-faq .faq-page-section {
    padding: 40px 0 48px;
    scroll-margin-top: 80px;
  }
  .faq-category-title {
    margin-bottom: 24px;
    padding-bottom: 12px;
    font-size: 18px;
    gap: 10px;
  }
  .faq-category-num {
    font-size: 24px;
  }
}

/* ==========================================================================
   Column (コラム一覧) ページ専用スタイル (body.page-column)
   ========================================================================== */

body.page-column .column-intro {
  padding: 72px 0 24px;
  background: var(--white);
}

/* カテゴリフィルター */
body.page-column .column-filter {
  padding: 24px 0 40px;
  background: var(--white);
}

.column-filter-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px 10px;
  max-width: 960px;
  margin: 0 auto;
}

.column-filter-link {
  display: inline-flex;
  align-items: center;
  padding: 10px 20px;
  background: var(--white);
  border: 1px solid #cfd4dc;
  border-radius: 999px;
  font-size: 14px;
  color: var(--text-body);
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.column-filter-link:hover,
.column-filter-link:focus-visible {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: rgba(32, 41, 167, 0.05);
  outline: none;
}

.column-filter-link.is-active {
  background: var(--primary-blue);
  border-color: var(--primary-blue);
  color: var(--white);
}

/* 一覧セクション */
body.page-column .column-list-section {
  padding: 16px 0 96px;
  background: #f8f9fa;
}

.column-list-grid {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 32px 28px;
  margin: 0;
  padding: 0;
}

.column-card {
  background: var(--white);
  border: 1px solid #e2e5ea;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 12px 32px -24px rgba(16, 24, 40, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.column-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px -20px rgba(16, 24, 40, 0.3);
}

.column-card-link {
  display: flex;
  flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}

.column-card-image {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #e2e5ea;
}

.column-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.column-card:hover .column-card-image img {
  transform: scale(1.04);
}

.column-card-category {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 12px;
  background: var(--primary-blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 4px;
  line-height: 1;
}

.column-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 22px 22px 26px;
  flex: 1;
}

.column-card-date {
  font-family: var(--font-sans);
  font-size: 13px;
  color: #6b7280;
  letter-spacing: 0.06em;
}

.column-card-title {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.55;
  color: var(--text-heading);
  letter-spacing: 0.02em;
  /* 2行クランプ */
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.column-card-excerpt {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
  color: #4a5565;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ページネーション */
.column-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 64px;
  flex-wrap: wrap;
}

.column-page-current,
.column-page-link,
.column-page-next {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  height: 44px;
  padding: 0 14px;
  border: 1px solid #cfd4dc;
  border-radius: 8px;
  background: var(--white);
  color: var(--text-body);
  font-weight: 700;
  font-size: 14px;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.column-page-current {
  background: var(--primary-blue);
  color: var(--white);
  border-color: var(--primary-blue);
  cursor: default;
}

.column-page-link:hover,
.column-page-next:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: rgba(32, 41, 167, 0.05);
}

.column-page-ellipsis {
  padding: 0 4px;
  color: #6b7280;
  font-weight: 700;
}

.column-page-next {
  gap: 6px;
  padding: 0 18px;
}

/* SP */
@media (max-width: 768px) {
  body.page-column .column-intro {
    padding: 48px 0 16px;
  }
  body.page-column .column-filter {
    padding: 16px 0 28px;
  }
  .column-filter-nav {
    gap: 6px 8px;
  }
  .column-filter-link {
    padding: 8px 14px;
    font-size: 13px;
  }
  body.page-column .column-list-section {
    padding: 8px 0 64px;
  }
  .column-list-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .column-card-body {
    padding: 18px 18px 22px;
    gap: 8px;
  }
  .column-card-title {
    font-size: 16px;
  }
  .column-card-excerpt {
    font-size: 13px;
    -webkit-line-clamp: 2;
  }
  .column-pagination {
    margin-top: 40px;
    gap: 6px;
  }
  .column-page-current,
  .column-page-link,
  .column-page-next {
    min-width: 40px;
    height: 40px;
    font-size: 13px;
    padding: 0 10px;
  }
  .column-page-next {
    padding: 0 14px;
  }
}

/* タブレット (769〜960px) は 2 カラム */
@media (min-width: 769px) and (max-width: 960px) {
  .column-list-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ==========================================================================
   Column Article (コラム詳細) ページ専用 (body.page-column-article)
   ========================================================================== */

body.page-column-article .article {
  padding: 140px 0 64px; /* 100px 固定ヘッダー分 + 40px 余白 */
  background: var(--white);
}

.article-container {
  max-width: 880px;
}

/* Breadcrumb */
.article-breadcrumb {
  margin-bottom: 32px;
  font-size: 13px;
  color: #6b7280;
}

.article-breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
}

.article-breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.article-breadcrumb li + li::before {
  content: "›";
  margin-right: 10px;
  color: #cfd4dc;
}

.article-breadcrumb a {
  color: #4a5565;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.article-breadcrumb a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.article-breadcrumb [aria-current="page"] {
  color: var(--text-heading);
  font-weight: 700;
}

/* Article Header */
.article-header {
  margin-bottom: 32px;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.article-category {
  display: inline-block;
  padding: 6px 14px;
  background: var(--primary-blue);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  border-radius: 4px;
  line-height: 1;
}

.article-date {
  font-family: var(--font-sans);
  font-size: 14px;
  color: #6b7280;
  letter-spacing: 0.06em;
}

.article-title {
  margin: 0 0 20px;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.45;
  color: var(--text-heading);
  letter-spacing: 0.02em;
}

.article-lead {
  margin: 0;
  padding: 18px 22px;
  background: #f0f2f5;
  border-left: 3px solid var(--primary-blue);
  font-size: 15px;
  line-height: 1.9;
  color: #2b3240;
  border-radius: 4px;
}

/* Eyecatch */
.article-eyecatch {
  margin: 0 0 40px;
  border-radius: 12px;
  overflow: hidden;
}

.article-eyecatch img {
  width: 100%;
  height: auto;
  display: block;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* Table of Contents */
.article-toc {
  margin: 0 0 48px;
  padding: 28px 32px 24px;
  background: #f8f9fa;
  border: 1px solid #e2e5ea;
  border-radius: 10px;
}

.article-toc-title {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-blue);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-heading);
}

.article-toc ol {
  margin: 0;
  padding-left: 1.4em;
  counter-reset: toc;
}

.article-toc > ol {
  padding-left: 0;
  list-style: none;
}

.article-toc > ol > li {
  counter-increment: toc;
  margin: 6px 0;
  font-weight: 700;
  color: var(--text-heading);
}

.article-toc > ol > li > a {
  color: var(--text-heading);
  text-decoration: none;
  letter-spacing: 0.04em;
  font-size: 15px;
  line-height: 1.7;
  display: inline-block;
}

.article-toc > ol > li > a:hover {
  color: var(--primary-blue);
}

.article-toc ol ol {
  margin: 6px 0 4px;
  padding-left: 1.4em;
  list-style: none;
}

.article-toc ol ol li {
  margin: 4px 0;
  font-weight: 500;
  font-size: 14px;
}

.article-toc ol ol a {
  color: #4a5565;
  text-decoration: none;
  font-weight: 500;
  font-size: 14px;
}

.article-toc ol ol a:hover {
  color: var(--primary-blue);
}

/* Article Body */
.article-body {
  font-size: 16px;
  line-height: 2;
  color: #2b3240;
  letter-spacing: 0.04em;
}

.article-body h2 {
  margin: 56px 0 20px;
  padding: 14px 20px 14px 22px;
  border-left: 5px solid var(--primary-blue);
  background: linear-gradient(90deg, rgba(32, 41, 167, 0.06) 0%, rgba(32, 41, 167, 0) 100%);
  font-size: 22px;
  font-weight: 800;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--text-heading);
  scroll-margin-top: 80px;
}

.article-body h2:first-child {
  margin-top: 0;
}

.article-body h3 {
  margin: 40px 0 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--gray-200);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.04em;
  color: var(--text-heading);
  scroll-margin-top: 80px;
}

.article-body p {
  margin: 0 0 1.2em;
}

.article-body strong {
  font-weight: 700;
  color: var(--text-heading);
  background: linear-gradient(transparent 65%, rgba(255, 212, 59, 0.45) 65%);
  padding: 0 2px;
}

.article-body ul,
.article-body ol {
  margin: 0 0 1.6em;
  padding-left: 1.6em;
}

.article-body ul li,
.article-body ol li {
  margin: 6px 0;
}

.article-body ul {
  list-style: none;
  padding-left: 0;
}

.article-body ul li {
  position: relative;
  padding-left: 1.4em;
}

.article-body ul li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 0.15em;
  color: var(--primary-blue);
  font-size: 0.8em;
}

.article-ordered-list {
  counter-reset: alist;
  list-style: none;
  padding-left: 0 !important;
}

.article-ordered-list li {
  counter-increment: alist;
  position: relative;
  padding: 14px 16px 14px 52px;
  margin: 10px 0 !important;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 3px solid var(--primary-blue);
}

.article-ordered-list li::before {
  content: counter(alist);
  position: absolute;
  left: 14px;
  top: 14px;
  width: 26px;
  height: 26px;
  background: var(--primary-blue);
  color: var(--white);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-sans);
}

.article-body blockquote {
  margin: 24px 0;
  padding: 20px 24px;
  background: #fff9e6;
  border-left: 4px solid #ffd43b;
  border-radius: 4px;
  font-style: normal;
  color: #3b3300;
}

.article-body blockquote p {
  margin: 0;
  line-height: 1.9;
  font-size: 15px;
}

/* Author */
.article-author {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 24px;
  margin: 64px 0 40px;
  padding: 28px;
  background: #f8f9fa;
  border: 1px solid #e2e5ea;
  border-radius: 12px;
}

.article-author-photo img {
  width: 120px;
  height: 120px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid var(--white);
  box-shadow: 0 4px 12px -6px rgba(16, 24, 40, 0.25);
}

.article-author-role {
  margin: 0 0 4px;
  font-size: 12px;
  color: #6b7280;
  letter-spacing: 0.14em;
  font-weight: 700;
}

.article-author-name {
  margin: 0 0 10px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.04em;
}

.article-author-bio {
  margin: 0 0 12px;
  font-size: 13px;
  line-height: 1.85;
  color: #4a5565;
}

.article-author-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--primary-blue);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
}

.article-author-link:hover {
  text-decoration: underline;
}

/* Back link */
.article-back {
  text-align: center;
  margin-top: 24px;
}

.article-back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--white);
  border: 1px solid #cfd4dc;
  border-radius: 999px;
  color: var(--text-heading);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-decoration: none;
  transition: border-color 0.15s ease, color 0.15s ease, background 0.15s ease;
}

.article-back-link:hover {
  border-color: var(--primary-blue);
  color: var(--primary-blue);
  background: rgba(32, 41, 167, 0.05);
}

/* 関連記事 */
body.page-column-article .article-related {
  padding: 72px 0;
  background: #f8f9fa;
}

body.page-column-article .article-related .column-list-grid {
  margin-top: 40px;
}

/* SP */
@media (max-width: 768px) {
  body.page-column-article .article {
    padding: 96px 0 40px; /* 72px SP 固定ヘッダー分 + 24px 余白 */
  }
  .article-breadcrumb {
    margin-bottom: 20px;
    font-size: 12px;
  }
  .article-breadcrumb ol {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }
  .article-breadcrumb ol::-webkit-scrollbar {
    display: none;
  }
  .article-breadcrumb li {
    white-space: nowrap;
  }
  .article-title {
    font-size: 22px;
    margin-bottom: 16px;
    line-height: 1.5;
  }
  .article-meta {
    gap: 10px;
    margin-bottom: 12px;
  }
  .article-lead {
    padding: 14px 16px;
    font-size: 13px;
    line-height: 1.85;
  }
  .article-eyecatch {
    margin-bottom: 28px;
    border-radius: 8px;
  }
  .article-toc {
    padding: 20px 20px 16px;
    margin-bottom: 36px;
  }
  .article-toc-title {
    font-size: 15px;
  }
  .article-toc > ol > li > a {
    font-size: 14px;
  }
  .article-toc ol ol a {
    font-size: 13px;
  }
  .article-body {
    font-size: 15px;
    line-height: 1.9;
  }
  .article-body h2 {
    margin: 40px 0 16px;
    padding: 10px 14px;
    border-left-width: 4px;
    font-size: 18px;
  }
  .article-body h3 {
    margin: 28px 0 12px;
    font-size: 16px;
  }
  .article-ordered-list li {
    padding: 12px 14px 12px 44px;
  }
  .article-ordered-list li::before {
    left: 12px;
    top: 12px;
    width: 22px;
    height: 22px;
    font-size: 12px;
  }
  .article-body blockquote {
    padding: 14px 16px;
  }
  .article-author {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 22px;
    text-align: center;
    margin-top: 48px;
  }
  .article-author-photo {
    display: flex;
    justify-content: center;
  }
  .article-author-photo img {
    width: 96px;
    height: 96px;
  }
  body.page-column-article .article-related {
    padding: 48px 0 56px;
  }
}

/* ==========================================================================
   汎用パンくずリスト (.breadcrumb)
   service / trouble / situation / type 配下のサブページ共通
   ========================================================================== */
.breadcrumb {
  background: #f8f9fa;
  border-bottom: 1px solid #e2e5ea;
  padding: 14px 0;
}

.breadcrumb ol {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 10px;
  font-size: 13px;
  color: #6b7280;
}

.breadcrumb li {
  display: inline-flex;
  align-items: center;
}

.breadcrumb li + li::before {
  content: "›";
  margin-right: 10px;
  color: #cfd4dc;
}

.breadcrumb a {
  color: #4a5565;
  text-decoration: none;
  letter-spacing: 0.04em;
}

.breadcrumb a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
}

.breadcrumb [aria-current="page"] {
  color: var(--text-heading);
  font-weight: 700;
}

@media (max-width: 768px) {
  .breadcrumb {
    padding: 10px 0;
  }
  .breadcrumb ol {
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    font-size: 12px;
  }
  .breadcrumb ol::-webkit-scrollbar {
    display: none;
  }
  .breadcrumb li {
    white-space: nowrap;
  }
}

/* イントロ内の箇条書き（メリットリスト等） */
.service-intro-list {
  list-style: none;
  margin: 16px 0 20px;
  padding: 0;
}
.service-intro-list li {
  position: relative;
  padding: 6px 0 6px 22px;
  font-size: 15px;
  line-height: 1.85;
  color: #2b3240;
}
.service-intro-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 6px;
  color: var(--primary-blue);
  font-weight: 800;
}
@media (max-width: 768px) {
  .service-intro-list li {
    padding-left: 20px;
    font-size: 14px;
    line-height: 1.8;
  }
}

/* service-crimes-grid 2 cards */
@media (min-width: 769px) {
  .service-crimes-grid--count-2 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 1200px;
  }
}

/* ==========================================================================
   ハブページの「準備中」プレースホルダ
   ========================================================================== */
.hub-coming-soon {
  max-width: 720px;
  margin: 24px auto 0;
  padding: 56px 32px;
  background: var(--white);
  border: 1px dashed #cfd4dc;
  border-radius: 14px;
  text-align: center;
}

.hub-coming-soon-label {
  margin: 0 0 12px;
  font-family: var(--font-sans);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.2em;
  color: var(--primary-blue);
}

.hub-coming-soon-text {
  margin: 0 0 24px;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.04em;
  line-height: 1.8;
}

.hub-coming-soon-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

@media (max-width: 768px) {
  .hub-coming-soon {
    padding: 40px 20px;
    border-radius: 10px;
  }
  .hub-coming-soon-label {
    font-size: 12px;
  }
  .hub-coming-soon-text {
    font-size: 15px;
  }
}

/* ==========================================================================
   service-risks-card --positive 変種（やるべきこと=ブルー＋✓）
   ========================================================================== */
.service-risks-card--positive .service-risk-head {
  background: var(--primary-blue);
}
.service-risks-card--positive .service-risks-bar {
  background: var(--primary-blue);
}

/* ==========================================================================
   トップFV（画像ベース版 + テキストオーバーレイ）
   ========================================================================== */
.hero--image {
  width: 100%;
  margin-top: 72px;        /* 固定ヘッダー分 */
  position: relative;
  background: #ffffff;
  overflow: hidden;
}

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

.hero-fv-image {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* hero--image 内では旧 .hero-overlay を画像の上に重ねる絶対配置に変更 */
.hero--image .hero-overlay {
  position: relative;
  background: none;          /* 旧背景画像を打ち消し */
}

.hero--image .hero-overlay-bg {
  display: none;             /* 黒オーバーレイを無効化 */
}

.hero--image .hero-text-wrap {
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  max-width: 1760px;
  margin: 0 auto;
  padding: 0 clamp(32px, 5vw, 80px) clamp(16px, 2vw, 32px);
  gap: clamp(24px, 3vw, 56px);
}

@media (min-width: 769px) {
  .hero--image .hero-badges {
    position: absolute;
    top: 50%;
    right: clamp(32px, 5vw, 80px);
    transform: translateY(-50%);
    align-self: auto;
    margin: 0;
  }
}

/* PC では text-left の flex:1 を解除して、左右コンテンツを近づける */
@media (min-width: 769px) {
  .hero--image .hero-text-left {
    flex: 0 0 auto;
  }
}

/* SP では縦長画像に合わせて配置調整（テキストとバッジを中央にまとめる） */
@media (max-width: 768px) {
  .hero--image .hero-text-wrap {
    flex-direction: column;
    align-items: stretch;
    justify-content: center;
    padding: 24px 20px;
    gap: 12px;
  }
  /* .hero-text-left に flex:1 が効いていてバッジを下に押し下げているのを解除 */
  .hero--image .hero-text-left {
    flex: 0 0 auto;
  }
  .hero--image .hero-badges {
    flex: 0 0 auto;
  }
}

/* スクリーンリーダー専用テキスト */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ==========================================================================
   ページローダー（ロゴ表示）
   ========================================================================== */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.5s ease, visibility 0s linear 0.5s;
}
.page-loader.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.page-loader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.page-loader-logo {
  width: 96px;
  height: auto;
  animation: loaderPulse 1.4s ease-in-out infinite;
}

@keyframes loaderPulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.06); opacity: 0.65; }
}

.page-loader-bar {
  width: 200px;
  height: 2px;
  background: var(--gray-200);
  border-radius: 1px;
  overflow: hidden;
}
.page-loader-bar > span {
  display: block;
  width: 35%;
  height: 100%;
  background: var(--primary-blue);
  border-radius: 1px;
  animation: loaderBar 1.2s ease-in-out infinite;
}
@keyframes loaderBar {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(330%); }
}

/* ==========================================================================
   スクロール時フェードイン（全セクション共通）
   ========================================================================== */
.fade-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
  will-change: opacity, transform;
}
.fade-up.is-visible {
  opacity: 1;
  transform: none;
}

/* ==========================================================================
   FV テキスト演出（読み込み完了後にスタガー表示）
   ========================================================================== */
@keyframes fvFadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to   { opacity: 1; transform: none; }
}

body .hero--image .hero-title-line--lead,
body .hero--image .hero-title-row,
body .hero--image .hero-title-line--main,
body .hero--image .hero-sub,
body .hero--image .hero-badge-item {
  opacity: 0;
}

body.is-loaded .hero--image .hero-title-line--lead,
body.is-loaded .hero--image .hero-title-row,
body.is-loaded .hero--image .hero-title-line--main,
body.is-loaded .hero--image .hero-sub,
body.is-loaded .hero--image .hero-badge-item {
  animation: fvFadeIn 0.7s cubic-bezier(0.22, 0.61, 0.36, 1) forwards;
}

body.is-loaded .hero--image .hero-title-line--lead { animation-delay: 0.05s; }
body.is-loaded .hero--image .hero-title-row        { animation-delay: 0.25s; }
body.is-loaded .hero--image .hero-title-line--main { animation-delay: 0.45s; }
body.is-loaded .hero--image .hero-sub              { animation-delay: 0.65s; }
body.is-loaded .hero--image .hero-badge-item:nth-child(1) { animation-delay: 0.85s; }
body.is-loaded .hero--image .hero-badge-item:nth-child(2) { animation-delay: 1.00s; }
body.is-loaded .hero--image .hero-badge-item:nth-child(3) { animation-delay: 1.15s; }

/* アニメ無効化を希望するユーザーは尊重 */
@media (prefers-reduced-motion: reduce) {
  .fade-up { opacity: 1 !important; transform: none !important; transition: none !important; }
  body .hero--image .hero-title-line--lead,
  body .hero--image .hero-title-row,
  body .hero--image .hero-title-line--main,
  body .hero--image .hero-sub,
  body .hero--image .hero-badge-item { opacity: 1 !important; animation: none !important; }
  .page-loader-logo { animation: none; }
  .page-loader-bar > span { animation: none; }
}

/* ==========================================================================
   ポリシー（プライバシー / 利用規約 等）本文スタイル
   ========================================================================== */
body.page-privacy .policy-section,
body.page-terms .policy-section {
  padding: 60px 0;
  background: var(--white);
}

.policy {
  max-width: 880px;
  margin: 0 auto;
  font-size: 15px;
  line-height: 2;
  color: #2b3240;
  letter-spacing: 0.04em;
}

.policy-lead {
  margin: 0 0 40px;
  padding: 18px 22px;
  background: #f8f9fa;
  border-left: 3px solid var(--primary-blue);
  font-size: 15px;
  line-height: 1.9;
  color: var(--text-heading);
  border-radius: 4px;
}

.policy-h2 {
  margin: 48px 0 16px;
  padding: 12px 18px 12px 20px;
  border-left: 5px solid var(--primary-blue);
  background: linear-gradient(90deg, rgba(32, 41, 167, 0.06) 0%, rgba(32, 41, 167, 0) 100%);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.04em;
  line-height: 1.55;
}

.policy-h2:first-of-type {
  margin-top: 0;
}

.policy p {
  margin: 0 0 1.2em;
}

.policy-list {
  list-style: none;
  margin: 0 0 1.4em;
  padding: 0;
}
.policy-list li {
  position: relative;
  padding: 4px 0 4px 22px;
}
.policy-list li::before {
  content: "●";
  position: absolute;
  left: 0;
  top: 4px;
  color: var(--primary-blue);
  font-size: 0.7em;
}

.policy-contact {
  margin: 24px 0 0;
  padding: 22px 24px;
  background: #f8f9fa;
  border: 1px solid #e2e5ea;
  border-radius: 10px;
}
.policy-contact-row {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 12px;
  padding: 8px 0;
  border-bottom: 1px dashed #e2e5ea;
}
.policy-contact-row:last-child {
  border-bottom: none;
}
.policy-contact-row dt {
  font-size: 13px;
  font-weight: 700;
  color: #6b7280;
  letter-spacing: 0.06em;
}
.policy-contact-row dd {
  margin: 0;
  font-size: 14px;
  color: var(--text-heading);
}
.policy-contact-row a {
  color: var(--primary-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.policy-revised {
  margin: 48px 0 0 !important;
  text-align: right;
  font-size: 13px;
  color: #6b7280;
}

@media (max-width: 768px) {
  body.page-privacy .policy-section,
  body.page-terms .policy-section {
    padding: 48px 0 72px;
  }
  .policy {
    font-size: 14px;
    line-height: 1.9;
  }
  .policy-lead {
    padding: 14px 16px;
    font-size: 14px;
  }
  .policy-h2 {
    margin: 32px 0 12px;
    padding: 10px 14px;
    font-size: 16px;
    border-left-width: 4px;
  }
  .policy-contact-row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 10px 0;
  }
}

/* ==========================================================================
   サイトマップページ専用
   ========================================================================== */
body.page-sitemap .sitemap-section {
  padding: 60px 0;
  background: var(--white);
}

.sitemap-lead {
  max-width: 1100px;
  margin: 0 auto 40px;
  text-align: center;
  font-size: 15px;
  color: #4a5565;
  line-height: 1.85;
  letter-spacing: 0.04em;
}

.sitemap-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px 40px;
  max-width: 1100px;
  margin: 0 auto;
}

.sitemap-block {
  padding: 28px 28px 24px;
  background: #f8f9fa;
  border: 1px solid #e2e5ea;
  border-radius: 12px;
}

.sitemap-block-title {
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-blue);
  font-size: 17px;
  font-weight: 700;
  color: var(--text-heading);
  letter-spacing: 0.06em;
}

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

.sitemap-list > li {
  padding: 6px 0;
}

.sitemap-list > li > a {
  display: inline-block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-heading);
  text-decoration: none;
  letter-spacing: 0.04em;
  transition: color 0.15s ease;
}

.sitemap-list > li > a::before {
  content: "›";
  margin-right: 8px;
  color: var(--primary-blue);
}

.sitemap-list > li > a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sitemap-sublist {
  list-style: none;
  margin: 8px 0 4px 16px;
  padding: 0;
  border-left: 2px solid #e2e5ea;
  padding-left: 14px;
}

.sitemap-sublist li {
  padding: 4px 0;
  font-size: 14px;
  font-weight: 500;
  color: #4a5565;
  letter-spacing: 0.04em;
  line-height: 1.6;
}

.sitemap-sublist a {
  color: #4a5565;
  text-decoration: none;
  font-weight: 500;
}

.sitemap-sublist a::before {
  content: "・";
  margin-right: 4px;
  color: var(--primary-blue);
}

.sitemap-sublist a:hover {
  color: var(--primary-blue);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.sitemap-sublist li.is-coming > span {
  color: #9aa1ad;
}
.sitemap-sublist li.is-coming > span::before {
  content: "・";
  margin-right: 4px;
}
.sitemap-sublist li.is-coming small {
  margin-left: 4px;
  font-size: 11px;
  color: #9aa1ad;
}

@media (max-width: 768px) {
  body.page-sitemap .sitemap-section {
    padding: 48px 0 72px;
  }
  .sitemap-lead {
    margin-bottom: 28px;
    font-size: 14px;
    text-align: left;
  }
  .sitemap-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .sitemap-block {
    padding: 22px 20px;
  }
  .sitemap-block-title {
    font-size: 16px;
  }
  .sitemap-list > li > a {
    font-size: 14px;
  }
  .sitemap-sublist {
    margin-left: 8px;
    padding-left: 12px;
  }
  .sitemap-sublist li {
    font-size: 13px;
  }
}

/* ==========================================================================
   Gnav 拡張（お悩み別ドロップダウン + 電話 + CTA）
   ========================================================================== */
/* nav-area を flex で右寄せ・gap 付きに（既存 .header-nav-area の上書き） */
.header-nav-area {
  gap: 14px;
}

/* お悩み別ドロップダウン */
.header-nav-has-dropdown {
  position: relative;
}

.header-nav-trigger {
  background: none;
  border: none;
  color: var(--white);
  cursor: pointer;
  font: inherit;
  padding: 4px 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 1px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.header-nav-trigger:hover,
.header-nav-trigger:focus-visible {
  opacity: 0.7;
  outline: none;
}
.header-nav-arrow {
  font-size: 0.85em;
  transition: transform 0.2s ease;
}
.header-nav-has-dropdown:hover .header-nav-arrow,
.header-nav-has-dropdown:focus-within .header-nav-arrow {
  transform: rotate(180deg);
}

.header-nav-dropdown {
  position: absolute;
  top: calc(100% - 4px);
  left: 0;
  background: var(--primary-blue);
  list-style: none;
  margin: 0;
  padding: 8px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s linear 0.2s;
  z-index: 1001;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
}
.header-nav-has-dropdown:hover .header-nav-dropdown,
.header-nav-has-dropdown:focus-within .header-nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: none;
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0s;
}
/* dropdown 内 li では `｜` セパレータを表示しない */
.header-nav-dropdown li::before {
  content: none !important;
}
.header-nav-dropdown a {
  display: block;
  padding: 12px 22px;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.06em;
  text-decoration: none;
}
.header-nav-dropdown a:hover {
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

/* 電話 */
.header-nav-tel {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  color: var(--white);
  font-family: var(--font-sans);
  font-size: 17px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-decoration: none;
  white-space: nowrap;
  transition: opacity 0.2s ease;
}
.header-nav-tel:hover {
  opacity: 0.85;
}
.header-nav-tel-icon {
  width: 18px;
  height: 18px;
  filter: brightness(0) invert(1);
}

/* CTA ボタン */
.header-nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 22px;
  background: #ea0000;
  color: var(--white);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  border-radius: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.2s ease;
  box-shadow: 0 4px 12px rgba(234, 0, 0, 0.3);
}
.header-nav-cta:hover {
  background: #c80000;
  transform: translateY(-1px);
}

/* 中サイズ画面：tel を非表示にしてスペース確保 */
@media (max-width: 1200px) {
  .header-nav-tel-num {
    display: none;
  }
  .header-nav-tel {
    padding: 4px 6px;
  }
}

/* SP では nav-area 自体が非表示になるので CSS なし */

/* ==========================================================================
   SP ハンバーガー：アコーディオン式ナビ
   ========================================================================== */

/* SP CTA + アコーディオン本体（デフォルトは SP 用に表示） */
.mobile-menu-cta,
.mobile-menu-accordion {
  display: block;
}

/* PC では非表示（既存の3カラム sitemap を使う） */
@media (min-width: 769px) {
  .mobile-menu-cta,
  .mobile-menu-accordion {
    display: none !important;
  }
}

/* ===== SP CTA バナー（背景透過、区切り線なし） ===== */
.mobile-menu-cta {
  padding: 24px 20px 28px;
  background: transparent;
}

/* 電話 CTA：背景同色、シンプルなテキスト中心 */
.mobile-menu-tel-big {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 8px 0 14px;
  background: transparent;
  color: var(--white);
  text-decoration: none;
}

.mobile-menu-tel-icon {
  display: none;
}

.mobile-menu-tel-body {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.mobile-menu-tel-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: rgba(255,255,255,0.7);
}

.mobile-menu-tel-num {
  font-family: var(--font-sans);
  font-size: 30px;
  font-weight: 800;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--white);
}

.mobile-menu-tel-hours {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
  line-height: 1.4;
}

.mobile-menu-cta-buttons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.mobile-menu-cta-buttons .btn {
  min-width: 0;
  padding: 10px 8px;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.mobile-menu-cta-buttons .btn-icon {
  width: 16px;
  height: 16px;
}

/* ===== アコーディオンナビ ===== */
.mobile-menu-accordion {
  padding: 0;
}

.mobile-menu-acc-item,
.mobile-menu-acc-link {
  border-bottom: 1px solid rgba(255,255,255,0.12);
}

/* details summary（タップで開閉） */
.mobile-menu-acc-item > summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  cursor: pointer;
  list-style: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
}
.mobile-menu-acc-item > summary::-webkit-details-marker {
  display: none;
}

/* + / − アイコン */
.mobile-menu-acc-icon {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.mobile-menu-acc-icon::before,
.mobile-menu-acc-icon::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  background: var(--white);
  transition: transform 0.25s ease, opacity 0.25s ease;
}
.mobile-menu-acc-icon::before {
  /* 縦線 */
  width: 2px;
  height: 14px;
  transform: translate(-50%, -50%);
}
.mobile-menu-acc-icon::after {
  /* 横線 */
  width: 14px;
  height: 2px;
  transform: translate(-50%, -50%);
}
/* 開いている時は縦線を消して "−" に */
.mobile-menu-acc-item[open] > summary .mobile-menu-acc-icon::before {
  transform: translate(-50%, -50%) scaleY(0);
  opacity: 0;
}

/* アコーディオン子リスト */
.mobile-menu-acc-item > ul {
  list-style: none;
  margin: 0;
  padding: 4px 0 12px;
  background: rgba(0,0,0,0.18);
}
.mobile-menu-acc-item > ul > li > a {
  display: block;
  padding: 14px 24px 14px 44px;
  color: rgba(255,255,255,0.95);
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.04em;
  position: relative;
  text-decoration: none;
}
.mobile-menu-acc-item > ul > li > a::before {
  content: "›";
  position: absolute;
  left: 28px;
  color: rgba(255,255,255,0.55);
}
.mobile-menu-acc-item > ul > li > a:active,
.mobile-menu-acc-item > ul > li > a:hover {
  background: rgba(255,255,255,0.06);
}

/* アコーディオン用の単独リンク */
.mobile-menu-acc-link {
  display: block;
  padding: 18px 24px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-decoration: none;
}
.mobile-menu-acc-link:active,
.mobile-menu-acc-link:hover {
  background: rgba(255,255,255,0.06);
}

/* （以前ここで お問い合わせを赤 CTA 化していたが、トーン統一のため通常リンクに戻した） */

/* SP CTA 補足注記 */
.mobile-menu-cta-note {
  margin: 8px 0 0;
  text-align: center;
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  letter-spacing: 0.06em;
}

/* SP では事務所情報セクションは非表示 */
@media (max-width: 768px) {
  .mobile-menu-office {
    display: none !important;
  }
}

/* ==========================================================================
   汎用ユーティリティ：PC / SP の表示切替
   ========================================================================== */

/* PC のみ表示（SP では非表示） */
.pc-only {
  display: revert;
}
@media (max-width: 768px) {
  .pc-only {
    display: none !important;
  }
}

/* SP のみ表示（PC では非表示） */
.sp-only {
  display: none !important;
}
@media (max-width: 768px) {
  .sp-only {
    display: revert !important;
  }
}

/* <br> 用の専用クラス（display を inline に強制） */
br.pc-only,
.br-pc {
  display: none;
}
@media (min-width: 769px) {
  br.pc-only,
  .br-pc {
    display: inline;
  }
}

br.sp-only,
.br-sp {
  display: inline;
}
@media (min-width: 769px) {
  br.sp-only,
  .br-sp {
    display: none;
  }
}


/* ==========================================================================
   Contact Form 7（CF7）出力の調整
   元 HTML のマークアップ <input class="form-control"> に対し、CF7 は
   <span class="wpcf7-form-control-wrap"><input class="form-control"></span>
   と wrapper を入れる。display:contents で wrapper をレイアウト上消す。
   ========================================================================== */
.wpcf7-form-control-wrap {
  display: contents;
}

/* CF7 の独自 list-item ラベルが acceptance チェックボックスの
   テキストを wrap してしまうので、見た目を form-consent のフラットな状態に戻す */
.form-consent .wpcf7-form-control-wrap > .wpcf7-form-control.wpcf7-acceptance {
  display: inline-flex;
  margin: 0;
}
.form-consent .wpcf7-list-item {
  margin: 0;
  display: inline-flex;
  align-items: flex-start;
}
.form-consent .wpcf7-list-item label {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  cursor: pointer;
}
.form-consent .wpcf7-list-item-label {
  display: none; /* acceptance の <span> 二重ラベル化を消す */
}

/* バリデーションエラー表示（CF7） */
.wpcf7-not-valid-tip {
  display: block;
  color: #c62828;
  font-size: 13px;
  margin-top: 6px;
}
.wpcf7 form .wpcf7-response-output {
  margin: 24px 0 0;
  padding: 14px 18px;
  border-radius: 8px;
  border: 1px solid currentColor;
  font-size: 14px;
}
.wpcf7 form.sent .wpcf7-response-output {
  color: #2e7d32;
  background: #e8f5e9;
  border-color: #2e7d32;
}
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.aborted .wpcf7-response-output {
  color: #c62828;
  background: #ffebee;
  border-color: #c62828;
}

/* CF7 のスピナー */
.wpcf7-spinner {
  display: inline-block;
  vertical-align: middle;
  margin-left: 8px;
}


/* ==========================================================================


/* ==========================================================================
   記事内 CTA（ショートコード [wakai_cta]）
   wakai トーン: 紺紫グラデ・白カード・落ち着いた上品系
   ========================================================================== */
.wakai-inline-cta {
  margin: 48px auto;
  max-width: 600px;
  background: #ffffff;
  border: 1px solid #e2e5ea;
  border-radius: 12px;
  padding: 32px 28px 28px;
  position: relative;
  box-sizing: border-box;
  overflow: hidden;
}

.wakai-inline-cta-lead {
  font-size: 17px;
  font-weight: 800;
  color: var(--text-heading);
  line-height: 1.7;
  margin: 0 0 24px;
  text-align: center;
  letter-spacing: 0.02em;
}

/* 電話ブロック */
.wakai-inline-cta-phone {
  background: linear-gradient(180deg, #f7f8fa 0%, #f0f2f8 100%);
  border-radius: 10px;
  padding: 18px 20px 20px;
  margin-bottom: 16px;
  text-align: center;
}

.wakai-inline-cta-phone-label {
  display: inline-block;
  background: var(--primary-blue);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 18px;
  border-radius: 999px;
  margin: 0 0 14px;
  letter-spacing: 0.08em;
}

.wakai-inline-cta-phone-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin: 0 0 8px;
}

.wakai-inline-cta-free {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 4px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--purple) 100%);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  line-height: 1.2;
}

.wakai-inline-cta-phone-num a {
  font-family: var(--font-sans, system-ui), sans-serif;
  font-size: 30px;
  font-weight: 800;
  color: var(--primary-blue);
  text-decoration: none;
  letter-spacing: 0.02em;
  line-height: 1;
}

.wakai-inline-cta-phone-note {
  font-size: 12px;
  color: #6b7280;
  margin: 4px 0 0;
  letter-spacing: 0.04em;
}

/* Web ボタン */
.wakai-inline-cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--primary-blue) 0%, var(--purple) 100%);
  color: #fff !important;
  text-decoration: none !important;
  padding: 18px 24px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.06em;
  position: relative;
  transition: opacity 0.25s, transform 0.25s;
  box-shadow: 0 8px 20px -8px rgba(32, 41, 167, 0.5);
}

.wakai-inline-cta-btn:hover {
  opacity: 0.92;
  transform: translateY(-1px);
  color: #fff !important;
}

.wakai-inline-cta-btn-icon {
  display: inline-flex;
  align-items: center;
  color: #fff;
  opacity: 0.92;
}

.wakai-inline-cta-btn-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.3;
  font-size: 17px;
}

.wakai-inline-cta-btn-text small {
  font-size: 11px;
  font-weight: 400;
  margin-top: 3px;
  opacity: 0.85;
  letter-spacing: 0.04em;
}

.wakai-inline-cta-btn-arrow {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 18px;
  font-weight: 400;
  color: #fff;
  opacity: 0.85;
}

/* スマホ対応 */
@media (max-width: 600px) {
  .wakai-inline-cta {
    padding: 24px 18px 20px;
    margin: 36px auto;
  }
  .wakai-inline-cta-lead {
    font-size: 15px;
  }
  .wakai-inline-cta-phone {
    padding: 14px 14px 16px;
  }
  .wakai-inline-cta-phone-num a {
    font-size: 25px;
  }
  .wakai-inline-cta-free {
    font-size: 10px;
    padding: 3px 8px;
  }
  .wakai-inline-cta-btn-text {
    font-size: 15px;
  }
  .wakai-inline-cta-btn {
    padding: 16px 36px 16px 18px;
  }
  .wakai-inline-cta-btn-arrow {
    right: 14px;
  }
}


/* ==========================================================================
   コラム本文 追加装飾（em / 外部リンク / ブログカード）
   ========================================================================== */

/* ① <em> = 赤太字の強調（<strong> のマーカーと使い分け） */
.article-body em {
  font-style: normal;
  font-weight: 800;
  color: #c41e3a;
  letter-spacing: 0.02em;
}

/* 本文内のリンクは青字＋下線で明示。
   ただし .article-card / .article-ref / ボタン系は別途上書きで打ち消す。 */
.article-body a {
  color: var(--primary-blue, #2029a7);
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}
.article-body a:hover {
  color: var(--purple, #7227ce);
  text-decoration-color: var(--purple, #7227ce);
}

/* ② 外部リンク：target="_blank" が付いていれば自動で外部アイコン付与 */
.article-body a[target="_blank"]::after,
.article-body a.article-external::after {
  content: "";
  display: inline-block;
  width: 12px;
  height: 12px;
  margin-left: 4px;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232029a7' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'><polyline points='15 3 21 3 21 9'/><line x1='10' y1='14' x2='21' y2='3'/><path d='M21 14v5a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2h5'/></svg>");
  background-repeat: no-repeat;
  background-size: contain;
  vertical-align: 0;
}

/* 参考・出典系の小さなリンクラベル */
.article-body .article-ref {
  display: inline-block;
  font-size: 13px;
  color: #6b7280;
  border-left: 3px solid var(--primary-blue, #2029a7);
  padding: 2px 10px;
  margin: 4px 0;
  background: #f7f8fa;
  text-decoration: none;
}
.article-body .article-ref:hover {
  color: var(--primary-blue, #2029a7);
}

/* ③ ブログカード（記事間リンク・サムネなし） */
.article-card-wrap {
  margin: 32px 0;
}

.article-card {
  display: block;
  border: 1px solid #e2e5ea;
  border-radius: 6px;
  background: #fff;
  text-decoration: none !important;
  color: inherit !important;
  transition: background 0.2s;
}

.article-card:hover {
  background: #f7f8fa;
}

.article-card-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
}

.article-card-label {
  display: inline-block;
  width: fit-content;
  font-size: 11px;
  font-weight: 700;
  color: var(--primary-blue, #2029a7);
  letter-spacing: 0.08em;
  margin: 0;
}

.article-card-title {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-heading, #1e2939);
  line-height: 1.5;
  margin: 0;
  border: none;
  padding: 0;
}

.article-card-excerpt {
  display: -webkit-box;
  font-size: 13px;
  color: #6b7280;
  line-height: 1.7;
  margin: 0;
  overflow: hidden;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.article-card-domain {
  display: block;
  font-size: 11px;
  color: #9ca3af;
  margin: 0;
  letter-spacing: 0.04em;
}

/* スマホ：縦並びに */
@media (max-width: 600px) {
  .article-card {
    flex-direction: column;
  }
  .article-card-image {
    flex: 0 0 auto;
    width: 100%;
    aspect-ratio: 16 / 9;
  }
}
