/*
Theme Name: Retruth
Author: Likid
Description: リ・トゥルース専用のクラシックテーマです。
Version: 1.0.3
Requires at least: 7.1
Requires PHP: 7.4
Text Domain: retruth
*/

:root {
  --navy: #1C3D5A;
  --navy-deep: #0E2235;
  --navy-soft: #2B5F8A;
  --green-deep: #2D5A45;
  --green-soft: #3D7A5F;
  --green-light: #7ecfa0;
  --green-muted: rgba(45, 90, 69, 0.08);

  --cream: #FAFAF6;
  --cream-warm: #F4F1EB;
  --stone: #E5E0D8;
  --white: #FFFFFF;

  --text-main: #3A3A3A;
  --text-sub: #595959;
  --text-muted: #8C8C8C;

  --gold: #B08D57;
  --gold-soft: #C9A96E;
  --rust: #D45F3B;

  --font-gothic: 'BIZ UDPGothic', 'Hiragino Sans', 'Meiryo', sans-serif;
  --font-mincho: var(--font-gothic);
  --font-western: 'Cormorant', Georgia, serif;

  --content-w: min(1080px, 88vw);
  --section-py: clamp(72px, 12vw, 140px);
  --radius: 10px;
  --radius-lg: 18px;
  --shadow-s: 0 2px 12px rgba(28, 61, 90, 0.05);
  --shadow-m: 0 4px 24px rgba(28, 61, 90, 0.08);
  --shadow-l: 0 12px 48px rgba(28, 61, 90, 0.1);
}

*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 76px;
}

body {
  font-family: var(--font-gothic);
  color: var(--text-main);
  background: var(--cream);
  line-height: 1.95;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  font-size: 16px;
}

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

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

button {
  cursor: pointer;
}

.cw {
  width: var(--content-w);
  margin: 0 auto;
}

/* ------------------------------------------------
   Typography helpers
   ------------------------------------------------ */
.eng {
  font-family: var(--font-western);
  font-weight: 500;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  font-size: 14px;
  color: var(--rust);
}

.sec-ttl {
  font-family: var(--font-mincho);
  font-size: clamp(28px, 3.4vw, 42px);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.sec-sub {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 2;
  max-width: 640px;
}

.sec-head {
  text-align: center;
  margin-bottom: clamp(36px, 6vw, 60px);
}

.sec-head .eng {
  margin-bottom: 10px;
  display: block;
}

.sec-head .sec-sub {
  margin: 16px auto 0;
}

/* ------------------------------------------------
   Buttons
   ------------------------------------------------ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-gothic);
  font-size: 16px;
  font-weight: 500;
  padding: 17px 38px;
  min-height: 52px;
  border-radius: 50px;
  border: none;
  transition: all 0.35s cubic-bezier(.4, 0, .2, 1);
  letter-spacing: 0.06em;
}

.btn--navy {
  background: var(--navy);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(28, 61, 90, 0.22);
}

.btn--navy:hover {
  background: var(--navy-soft);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(28, 61, 90, 0.28);
}

.btn--green {
  background: linear-gradient(135deg, var(--green-deep) 0%, #347A55 100%);
  color: var(--white);
  box-shadow: 0 4px 20px rgba(45, 90, 69, 0.25);
}

.btn--green:hover {
  background: linear-gradient(135deg, var(--green-soft) 0%, #4A9A6F 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(45, 90, 69, 0.3);
}

.btn--outline {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn--outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn svg {
  width: 16px;
  height: 16px;
  transition: transform 0.3s;
}

.btn:hover svg {
  transform: translateX(3px);
}

/* ------------------------------------------------
   Header
   ------------------------------------------------ */
.hdr {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(250, 250, 246, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(28, 61, 90, 0.04);
  transition: box-shadow 0.3s;
}

.hdr.is-scrolled {
  box-shadow: var(--shadow-s);
}

.hdr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
  padding: 0 clamp(16px, 4vw, 36px);
  max-width: 1200px;
  margin: 0 auto;
}

.hdr-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hdr-logo-mark {
  width: 34px;
  height: 34px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--green-deep) 100%);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-family: var(--font-western);
  font-size: 16px;
  font-weight: 600;
}

.hdr-logo-text {
  font-family: var(--font-mincho);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
}

.hdr-nav {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hdr-nav a {
  font-size: 14px;
  color: var(--text-sub);
  transition: color 0.3s;
  letter-spacing: 0.02em;
}

.hdr-nav a:hover {
  color: var(--navy);
}

.hdr-nav .hdr-cta {
  background: var(--navy);
  color: var(--white) !important;
  padding: 9px 22px;
  border-radius: 50px;
  font-weight: 500;
  font-size: 14px;
}

.hdr-nav .hdr-cta:hover {
  background: var(--navy-soft);
}

.hdr-hamburger {
  display: none;
  background: none;
  border: none;
  width: 44px;
  height: 44px;
  position: relative;
}

.hdr-hamburger span {
  display: block;
  width: 20px;
  height: 1.5px;
  background: var(--navy);
  position: absolute;
  left: 12px;
  transition: all 0.3s;
}

.hdr-hamburger span:nth-child(1) { top: 17px; }
.hdr-hamburger span:nth-child(2) { top: 22px; }
.hdr-hamburger span:nth-child(3) { top: 27px; }

/* ------------------------------------------------
   Mobile nav overlay
   ------------------------------------------------ */
.mobile-nav {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(250, 250, 246, 0.97);
  backdrop-filter: blur(20px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 80px 24px 24px;
  overflow: hidden;
}

.mobile-nav.is-open {
  display: flex;
}

.mobile-nav-links {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  max-width: 100%;
  max-height: 100%;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.mobile-nav a {
  flex-shrink: 0;
  font-family: var(--font-mincho);
  font-size: 16px;
  color: var(--navy);
  letter-spacing: 0.08em;
  padding: 10px 24px;
}

.mobile-nav-close {
  position: absolute;
  top: 12px;
  right: 8px;
  background: none;
  border: none;
  font-size: 32px;
  color: var(--navy);
  min-width: 44px;
  min-height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* ------------------------------------------------
   Hero
   ------------------------------------------------ */
.hero {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 25% 60%, rgba(28, 61, 90, 0.05) 0%, transparent 50%),
    linear-gradient(175deg, var(--cream) 0%, var(--cream-warm) 100%);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(to right,
      #FDFBF7 50%,
      rgba(253, 251, 247, 0.9) 56%,
      rgba(253, 251, 247, 0.3) 62%,
      transparent 68%);
  pointer-events: none;
}

.hero::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  z-index: 4;
  background: linear-gradient(90deg, transparent, var(--stone), transparent);
}

.hero-inner {
  position: relative;
  z-index: 3;
  width: var(--content-w);
  margin: 0 auto;
  display: flex;
  align-items: flex-start;
  padding: 88px 0 56px;
}

.hero-text {
  position: relative;
  z-index: 3;
  max-width: 100%;
  opacity: 0;
  animation: riseIn 0.9s 0.2s cubic-bezier(.25, .46, .45, .94) forwards;
}

@keyframes riseIn {
  from { opacity: 0; transform: translateY(28px); }
  to   { opacity: 1; transform: translateY(0); }
}

.hero-label {
  font-family: var(--font-western);
  font-size: 14px;
  letter-spacing: 0.35em;
  color: var(--rust);
  margin-bottom: 20px;
  font-weight: 500;
  text-transform: uppercase;
}

.hero-ttl {
  font-family: var(--font-mincho);
  font-size: clamp(30px, 5.5vw, 54px);
  font-weight: 700;
  color: var(--navy-deep);
  line-height: 1.55;
  letter-spacing: 0.03em;
  margin-bottom: 22px;
  word-break: keep-all;
  overflow-wrap: break-word;
  white-space: nowrap;
}

.hero-lead {
  font-size: clamp(14px, 1.4vw, 18px);
  color: var(--text-sub);
  line-height: 2.1;
  margin-bottom: 36px;
  max-width: 520px;
}

.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.hero-tel {
  margin-top: 28px;
  padding: 16px 20px;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-s);
  display: inline-flex;
  flex-direction: column;
  gap: 2px;
  display: none;
}

.hero-tel-label {
  font-size: 14px;
  color: var(--text-muted);
  letter-spacing: 0.04em;
}

.hero-tel-num {
  font-family: var(--font-western);
  font-size: 28px;
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
  text-decoration: none;
}

.hero-tel-hours {
  font-size: 14px;
  color: var(--text-muted);
}

.hero-visual {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  width: 60%;
  z-index: 1;
  clip-path: polygon(33% 0%, 100% 0%, 100% 100%, 0% 100%);
  opacity: 0;
  animation: riseIn 1.1s 0.3s cubic-bezier(.25, .46, .45, .94) forwards;
}

.hero-img-frame {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-img-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.hero-card {
  position: absolute;
  bottom: 36px;
  left: 36px;
  background: var(--white);
  border-radius: var(--radius);
  padding: 14px 22px;
  box-shadow: var(--shadow-m);
  display: flex;
  align-items: center;
  gap: 12px;
  display: none;
}

.hero-card-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(45, 90, 69, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-deep);
  font-size: 16px;
}

.hero-card-body {
  font-size: 14px;
  color: var(--text-sub);
  line-height: 1.4;
}

.hero-card-body strong {
  display: block;
  color: var(--text-main);
  font-size: 16px;
}

/* ------------------------------------------------
   Worries
   ------------------------------------------------ */
.worries {
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, var(--white) 0%, #FFF4EE 100%);
}

.worries-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.worry-col {
  background: var(--cream);
  border-radius: var(--radius-lg);
  padding: clamp(26px, 3.5vw, 40px);
  border: 1px solid rgba(28, 61, 90, 0.08);
  border-top: 5px solid var(--navy);
  box-shadow: 0 12px 30px rgba(28, 61, 90, 0.07);
}

.worry-col:nth-child(2) {
  border-top-color: var(--rust);
}

.worry-col-ttl {
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 16px;
}

.worry-col-ttl h3 {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
}

.worry-col-ttl h3 span {
  display: inline-block;
}

.worry-col-ttl .ico {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
  border-radius: 50%;
  background: rgba(28, 61, 90, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  line-height: 1;
}

.worry-item {
  padding: 12px 0;
  border-bottom: 1px solid rgba(28, 61, 90, 0.05);
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.7;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.worry-item:last-child {
  border-bottom: none;
}

.worry-item::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--rust);
  margin-top: 10px;
  flex-shrink: 0;
}

.worry-item > div {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.worry-item strong {
  color: var(--navy);
  font-size: 16px;
  font-weight: 700;
}

.worry-item span {
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.75;
}

.worries-bottom {
  text-align: center;
  margin-top: 44px;
  padding-top: 36px;
  border-top: 1px solid var(--stone);
}

.worries-bottom-ttl {
  font-family: var(--font-mincho);
  font-size: clamp(20px, 2.2vw, 24px);
  color: var(--navy);
  margin-bottom: 6px;
}

.worries-bottom-sub {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

/* ------------------------------------------------
   Services
   ------------------------------------------------ */
.services {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.svc-lead {
  text-align: center;
  max-width: 720px;
  margin: 0 auto clamp(36px, 5vw, 56px);
  font-size: 16px;
  color: var(--text-sub);
  line-height: 2.1;
  word-break: keep-all;
  overflow-wrap: break-word;
  text-wrap: balance;
}

.svc-perspectives-ttl {
  font-size: 20px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--navy);
  margin-bottom: 24px;
  text-align: center;
}

.svc-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 40px;
}

.svc-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: clamp(24px, 3.5vw, 36px);
  border: 1px solid rgba(28, 61, 90, 0.08);
  box-shadow: 0 10px 26px rgba(28, 61, 90, 0.06);
  transition: all 0.4s cubic-bezier(.25, .46, .45, .94);
  position: relative;
  overflow: hidden;
}

.svc-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 6px;
  opacity: 1;
  transition: opacity 0.4s;
}

.svc-card:nth-child(1)::after { background: var(--navy); }
.svc-card:nth-child(2)::after { background: var(--green-deep); }
.svc-card:nth-child(3)::after { background: var(--rust); }

.svc-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-l);
}

.svc-card:hover::after {
  opacity: 1;
}

.svc-ico {
  width: 80px;
  height: 80px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 44px;
  line-height: 1;
  margin-bottom: 18px;
}

.svc-card:nth-child(1) .svc-ico { background: var(--navy); }
.svc-card:nth-child(2) .svc-ico { background: var(--green-deep); }
.svc-card:nth-child(3) .svc-ico { background: var(--rust); }

.svc-card .svc-ico { color: var(--white); }

.svc-card h3 {
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 10px;
}

.svc-card p {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.85;
}

.svc-detail {
  margin: 0 auto 36px;
}

.svc-detail-list {
  list-style: none;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 48px;
}

.svc-detail-list li {
  font-size: 16px;
  color: var(--text-sub);
  padding-left: 18px;
  position: relative;
  line-height: 1.7;
}

.svc-detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  width: 8px;
  height: 8px;
  border: 1.5px solid var(--green-deep);
  border-radius: 50%;
}

.svc-note {
  text-align: center;
  font-family: var(--font-mincho);
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  padding: 24px 36px;
  background: linear-gradient(90deg, rgba(45, 90, 69, 0.1), rgba(212, 95, 59, 0.08));
  border-radius: var(--radius);
  border-left: 3px solid var(--green-deep);
}

/* Mid-section CTA */
.mid-cta {
  text-align: center;
  margin-top: 44px;
  padding-top: 32px;
}

.mid-cta-text {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 14px;
}

/* Stats banner */
.stats-banner {
  display: flex;
  justify-content: center;
  gap: clamp(24px, 5vw, 56px);
  flex-wrap: wrap;
  margin-bottom: 44px;
  padding: 28px 20px;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-s);
}

.stat-item {
  text-align: center;
}

.stat-num {
  font-family: var(--font-western);
  font-size: clamp(32px, 4vw, 48px);
  font-weight: 600;
  color: var(--navy);
  line-height: 1.2;
}

.stat-num em {
  font-style: normal;
  font-size: 0.5em;
  color: var(--text-sub);
  font-family: var(--font-gothic);
}

.stat-label {
  font-size: 14px;
  color: var(--text-muted);
  margin-top: 4px;
}

.profile-readmore {
  display: none;
  background: none;
  border: none;
  color: var(--navy-soft);
  font-size: 16px;
  font-family: var(--font-gothic);
  cursor: pointer;
  margin-top: 8px;
  padding: 0;
  text-decoration: underline;
  text-underline-offset: 3px;
}

/* ------------------------------------------------
   Comparison
   ------------------------------------------------ */
.comparison {
  padding: var(--section-py) 0;
  background: var(--white);
}

.cmp-wrap {
  overflow-x: auto;
}

.cmp-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  min-width: 580px;
  table-layout: fixed;
}

.cmp-table colgroup col:first-child { width: 22%; }
.cmp-table colgroup col:not(:first-child) { width: 26%; }

.cmp-table th,
.cmp-table td {
  padding: 16px 14px;
  font-size: 16px;
}

.cmp-table thead th {
  font-family: var(--font-mincho);
  font-weight: 600;
  text-align: center;
  color: var(--text-sub);
  border-bottom: 2px solid var(--stone);
}

.cmp-table thead th:first-child { text-align: left; }

.cmp-table thead th:last-child {
  color: var(--navy);
  background: rgba(28, 61, 90, 0.03);
  border-radius: var(--radius) var(--radius) 0 0;
}

.cmp-table tbody td {
  text-align: center;
  border-bottom: 1px solid rgba(28, 61, 90, 0.05);
  color: var(--text-sub);
}

.cmp-table tbody td:first-child {
  text-align: left;
  font-weight: 500;
  color: var(--text-main);
}

.cmp-table tbody td:last-child {
  background: rgba(28, 61, 90, 0.03);
  color: var(--navy);
  font-weight: 600;
}

.cmp-table tbody tr:last-child td { border-bottom: none; }

.cmp-table tbody tr:last-child td:last-child {
  border-radius: 0 0 var(--radius) var(--radius);
}

.cmp-good { color: var(--navy); font-weight: 700; }
.cmp-bad  { color: #C47068; }
.cmp-mid  { color: var(--text-muted); }

/* SP比較カード */
.cmp-cards {
  display: none;
}

.cmp-card {
  border: 1px solid var(--stone);
  border-radius: var(--radius);
  overflow: hidden;
}

.cmp-card--ours { border-color: var(--navy); }

.cmp-card-head {
  padding: 11px 16px;
  font-family: var(--font-mincho);
  font-size: 16px;
  font-weight: 600;
  background: var(--navy);
  color: var(--white);
}

.cmp-card-head--other {
  background: var(--cream-warm);
  color: var(--text-sub);
}

.cmp-card-list {
  list-style: none;
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  background: var(--white);
}

.cmp-card-list li {
  font-size: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.cmp-card-list li span {
  font-size: 16px;
  flex-shrink: 0;
}

/* ------------------------------------------------
   Flow
   ------------------------------------------------ */
.flow {
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, var(--cream) 0%, var(--cream-warm) 100%);
}

.flow-phases {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.flow-phase {
  border-radius: var(--radius-lg);
  overflow: hidden;
}

.flow-phase-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 24px;
  font-family: var(--font-mincho);
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
}

.flow-phase--free .flow-phase-header      { background: var(--green-deep); color: var(--white); }
.flow-phase--paid .flow-phase-header      { background: var(--gold); color: var(--white); }
.flow-phase--consultation .flow-phase-header { background: var(--navy); color: var(--white); }

.flow-phase-tag {
  font-family: var(--font-gothic);
  font-size: 14px;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.25);
  padding: 3px 10px;
  border-radius: 50px;
  letter-spacing: 0.05em;
}

.flow-phase-tag--paid {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.4);
}

.flow-steps-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--white);
  border: 1px solid var(--stone);
  border-top: none;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
}

.flow-steps-row--half,
.flow-phase--paid .flow-steps-row {
  grid-template-columns: repeat(2, 1fr);
}

.flow-phase--free .flow-steps-row--half {
  grid-template-columns: 1fr;
}

.flow-step {
  text-align: center;
  padding: 28px 12px 24px;
  position: relative;
}

.flow-step + .flow-step::before {
  content: '→';
  position: absolute;
  left: -10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: var(--navy-soft);
  opacity: 0.4;
}

.flow-num {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--cream);
  border: 2px solid var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  font-family: var(--font-western);
  font-size: 18px;
  font-weight: 600;
  color: var(--navy);
  transition: all 0.3s;
}

.flow-phase--free .flow-num  { border-color: var(--green-deep); }
.flow-phase--paid .flow-num  { border-color: var(--gold); color: var(--navy); }

.flow-step:hover .flow-num                   { background: var(--navy); color: var(--white); }
.flow-phase--free .flow-step:hover .flow-num { background: var(--green-deep); color: var(--white); }
.flow-phase--paid .flow-step:hover .flow-num { background: var(--gold); color: var(--white); }

.flow-step h4 {
  font-family: var(--font-mincho);
  font-size: 16px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
  line-height: 1.4;
}

.flow-step p {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.7;
}

.flow-note {
  text-align: center;
  font-size: 16px;
  color: var(--text-sub);
  padding-top: 20px;
  font-style: italic;
}

/* ------------------------------------------------
   Pricing
   ------------------------------------------------ */
.pricing {
  padding: var(--section-py) 0;
  background: linear-gradient(180deg, var(--cream-warm) 0%, #EDE8DF 100%);
  color: var(--text-main);
  position: relative;
  overflow: hidden;
}

.pricing::before {
  content: '';
  position: absolute;
  top: -40%;
  right: -15%;
  width: 55vw;
  height: 55vw;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(28, 61, 90, 0.03) 0%, transparent 60%);
  pointer-events: none;
}

.pricing .eng     { color: var(--rust); }
.pricing .sec-ttl { color: var(--navy); }

.pricing-lead {
  text-align: center;
  font-family: var(--font-mincho);
  font-size: 16px;
  color: var(--text-main);
  line-height: 2;
  margin-bottom: 48px;
}

.pricing-phases {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 36px;
}

.pricing-phase {
  background: var(--white);
  border-radius: 16px;
  padding: 32px 28px;
  box-shadow: 0 2px 16px rgba(0, 0, 0, 0.06);
}

.pricing-phase--free {
  background: linear-gradient(135deg, var(--navy) 0%, #1a3a5c 100%);
}

.pricing-phase-head {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--stone);
}

.pricing-phase--free .pricing-phase-head {
  border-bottom-color: rgba(255, 255, 255, 0.2);
}

.pricing-phase-label {
  display: block;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.pricing-phase--free .pricing-phase-label { color: var(--cream); }

.pricing-phase-sub {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-items {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.pricing-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.pricing-item-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.pricing-item-name {
  font-size: 16px;
  color: var(--text-main);
  font-weight: 500;
}

.pricing-item-time {
  font-size: 14px;
  color: var(--text-muted);
}

.pricing-item-price {
  font-family: var(--font-mincho);
  font-size: 22px;
  font-weight: 700;
  color: var(--navy);
  white-space: nowrap;
}

.pricing-phase-note {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.8;
  margin-top: 12px;
}

.pricing-free-block {
  text-align: center;
  padding: 20px 0;
}

.pricing-free-text {
  display: block;
  font-family: var(--font-mincho);
  font-size: clamp(32px, 4vw, 48px);
  color: var(--cream);
  margin-bottom: 16px;
}

.pricing-free-text em {
  font-style: normal;
  color: var(--green-light, #7ecfa0);
}

.pricing-free-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.9;
  text-align: left;
}

.pricing-phase--free .pricing-item-name {
  color: var(--white);
}

.pricing-phase--free .pricing-item-price {
  color: var(--green-light);
}

.pricing-phase--free .pricing-item-time,
.pricing-phase--free .pricing-phase-sub {
  color: rgba(255, 255, 255, 0.85);
}

.pricing-external-note {
  margin-top: 24px;
  padding: 20px 0 0 1em;
  text-indent: -1em;
  border-top: 1px solid rgba(255, 255, 255, 0.25);
  color: var(--white);
  font-size: 14px;
  line-height: 1.9;
}

.pricing-notes {
  max-width: 600px;
  margin: 0 auto;
}

.pricing-note {
  padding: 8px 0 8px 1.4em;
  text-indent: -1.4em;
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.7;
}

/* ------------------------------------------------
   Cases
   ------------------------------------------------ */
.cases {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.case-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(28, 61, 90, 0.1);
  border-top: 6px solid var(--navy);
  box-shadow: 0 12px 30px rgba(28, 61, 90, 0.08);
  transition: all 0.4s;
}

.case-card:nth-child(2) {
  border-top-color: var(--rust);
}

.case-card:hover {
  box-shadow: var(--shadow-l);
  transform: translateY(-3px);
}

.case-body {
  padding: clamp(28px, 4vw, 42px);
}

.case-number {
  display: block;
  margin-bottom: 10px;
  color: var(--rust);
  font-family: var(--font-western);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 0.12em;
}

.case-title {
  min-height: 70px;
  margin-bottom: 18px;
  color: var(--navy);
  font-family: var(--font-mincho);
  font-size: 22px;
  font-weight: 700;
  line-height: 1.6;
}

.case-tags {
  display: flex;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.case-tag {
  font-size: 14px;
  padding: 2px 9px;
  border-radius: 50px;
  background: rgba(28, 61, 90, 0.05);
  color: var(--navy);
  font-weight: 500;
}

.case-detail,
.case-result {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.9;
}

.case-detail {
  padding-bottom: 24px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--stone);
}

.case-label {
  margin-bottom: 8px;
  color: var(--green-deep);
  font-size: 16px;
  font-weight: 700;
}

.case-result {
  padding: 20px 22px;
  background: var(--cream);
  border-left: 4px solid var(--green-deep);
  border-radius: 0 var(--radius) var(--radius) 0;
}

/* ------------------------------------------------
   Profile
   ------------------------------------------------ */
.profile {
  padding: var(--section-py) 0;
  background: var(--white);
}

.profile-inner {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: clamp(28px, 5vw, 56px);
  align-items: start;
}

.profile-photo {
  aspect-ratio: 10/11;
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: sticky;
  top: 96px;
  background: var(--cream-warm);
}

.profile-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.profile-body h3 {
  font-family: var(--font-mincho);
  font-size: 24px;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}

.profile-role {
  font-size: 16px;
  color: var(--green-deep);
  font-weight: 500;
  margin-bottom: 22px;
}

.profile-career {
  margin-bottom: 32px;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--stone);
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.9;
}

.profile-career h4 {
  font-size: 18px;
  color: var(--navy);
  margin-bottom: 16px;
}

.profile-career ul {
  padding-left: 1.3em;
}

.profile-career li + li {
  margin-top: 12px;
}

.profile-msg {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 2.1;
  margin-bottom: 28px;
}

.profile-certs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 22px;
}

.profile-cert {
  padding: 5px 12px;
  background: var(--cream);
  border-radius: 50px;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  border: 1px solid rgba(28, 61, 90, 0.06);
}

.profile-local {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 14px 18px;
  background: var(--green-muted);
  border-radius: 6px;
  font-size: 16px;
  color: var(--green-deep);
  font-weight: 500;
}

/* ------------------------------------------------
   FAQ
   ------------------------------------------------ */
.faq {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.faq-list {
  max-width: 780px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid var(--stone);
}

.faq-q {
  width: 100%;
  background: none;
  border: none;
  padding: 22px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  text-align: left;
  font-family: var(--font-gothic);
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  line-height: 1.6;
  transition: color 0.3s;
}

.faq-q:hover { color: var(--navy); }

.faq-q::after {
  content: '+';
  font-size: 22px;
  color: var(--navy-soft);
  flex-shrink: 0;
  width: 26px;
  height: 26px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s;
}

.faq-item.open .faq-q::after { content: '\2212'; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(.25, .46, .45, .94);
}

.faq-item.open .faq-a { max-height: 600px; }

.faq-a-inner {
  padding: 0 0 22px;
  font-size: 16px;
  color: var(--text-sub);
  line-height: 1.95;
}

/* ------------------------------------------------
   Contact
   ------------------------------------------------ */
.contact {
  padding: var(--section-py) 0;
  background: var(--white);
}

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

.contact-note {
  text-align: center;
  font-size: 16px;
  color: var(--text-sub);
  margin-bottom: 36px;
  line-height: 1.9;
}

.contact-note strong { color: var(--navy); }

.fg { margin-bottom: 22px; }

.fg-label {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 16px;
  font-weight: 500;
  color: var(--text-main);
  margin-bottom: 6px;
}

.fg-req {
  font-size: 14px;
  padding: 2px 7px;
  background: var(--rust);
  color: var(--white);
  border-radius: 3px;
  font-weight: 600;
}

.fg-opt {
  font-size: 14px;
  padding: 2px 7px;
  background: var(--stone);
  color: var(--text-sub);
  border-radius: 3px;
  font-weight: 500;
}

.fg-input,
.fg-textarea {
  width: 100%;
  padding: 16px 18px;
  min-height: 54px;
  border: 1px solid var(--stone);
  border-radius: 6px;
  font-family: var(--font-gothic);
  font-size: 16px;
  color: var(--text-main);
  background: var(--cream);
  transition: all 0.3s;
  outline: none;
}

.fg-input:focus,
.fg-textarea:focus {
  border-color: var(--navy-soft);
  box-shadow: 0 0 0 3px rgba(28, 61, 90, 0.06);
  background: var(--white);
}

.fg-textarea {
  min-height: 196px;
  line-height: 1.8;
  resize: vertical;
}

.fg-hint {
  font-size: 16px;
  color: var(--text-sub);
  margin-top: 5px;
}

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

.contact-submit .btn {
  width: 100%;
  max-width: 380px;
  justify-content: center;
  padding: 17px 36px;
}

.contact-privacy {
  text-align: center;
  margin-top: 14px;
  font-size: 14px;
  color: var(--text-muted);
}

.contact-privacy a { text-decoration: underline; }

.contact-status {
  margin-top: 16px;
  font-size: 16px;
  color: var(--navy);
  line-height: 1.8;
}

.contact-tel-box {
  text-align: center;
  padding: 28px;
  background: var(--cream);
  border-radius: var(--radius);
  border: 1.5px solid var(--stone);
  margin-bottom: 28px;
}

.contact-tel-lead {
  font-size: 16px;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.contact-reservation-text {
  max-width: 520px;
  margin: 8px auto 0;
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.9;
}

.contact-tel-number {
  font-family: var(--font-western);
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 600;
  color: var(--navy);
  letter-spacing: 0.06em;
  display: block;
  margin-bottom: 4px;
}

.contact-tel-hours {
  font-size: 14px;
  color: var(--text-muted);
}

.contact-divider {
  text-align: center;
  position: relative;
  margin-bottom: 28px;
}

.contact-divider::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  height: 1px;
  background: var(--stone);
}

.contact-divider span {
  position: relative;
  background: var(--white);
  padding: 0 16px;
  font-size: 14px;
  color: var(--text-muted);
}

/* ------------------------------------------------
   Company
   ------------------------------------------------ */
.company {
  padding: var(--section-py) 0;
  background: var(--cream);
}

.company-tbl {
  max-width: 780px;
  margin: 0 auto;
}

.company-row {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid rgba(28, 61, 90, 0.06);
  font-size: 16px;
}

.company-row dt { font-weight: 600; color: var(--navy); }
.company-row dd { color: var(--text-sub); }

/* ------------------------------------------------
   Footer
   ------------------------------------------------ */
.ftr {
  padding: 44px 0 28px;
  background: var(--navy-deep);
  color: rgba(255, 255, 255, 0.55);
}

.ftr-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
}

.ftr-logo {
  font-family: var(--font-mincho);
  font-size: 16px;
  color: rgba(255, 255, 255, 0.7);
  letter-spacing: 0.06em;
}

.ftr-links {
  display: flex;
  gap: 20px;
  font-size: 14px;
}

.ftr-links a:hover { color: var(--white); }

.ftr-copy {
  width: 100%;
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 14px;
  font-family: var(--font-western);
  letter-spacing: 0.12em;
}

/* ------------------------------------------------
   SP floating CTA
   ------------------------------------------------ */
.sp-cta {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 10px 14px;
  background: rgba(250, 250, 246, 0.94);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(28, 61, 90, 0.06);
  z-index: 998;
  transition: transform 0.3s;
}

.sp-cta-inner {
  display: flex;
  gap: 8px;
}

.sp-cta-tel {
  flex: 0 0 auto;
  padding: 12px 18px;
  font-size: 16px;
}

.sp-cta-tel svg {
  width: 16px;
  height: 16px;
}

.sp-cta-form {
  flex: 1;
  justify-content: center;
}

body.menu-open { overflow: hidden; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

/* Form thank-you */
.form-thanks {
  text-align: center;
  padding: 60px 24px;
}

.form-thanks-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--green-deep);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin: 0 auto 24px;
}

.form-thanks-ttl {
  font-family: var(--font-mincho);
  font-size: 22px;
  color: var(--navy);
  margin-bottom: 14px;
}

.form-thanks-body {
  font-size: 16px;
  color: var(--text-sub);
  line-height: 2;
}

/* ------------------------------------------------
   Reveal animation
   ------------------------------------------------ */
.rv {
  opacity: 0;
  transform: translateY(22px);
  transition: all 0.65s cubic-bezier(.25, .46, .45, .94);
}

.rv.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------
   Responsive — 960px
   ------------------------------------------------ */
@media (max-width: 960px) {
  .hdr-nav       { display: none; }
  .hdr-hamburger { display: block; }

  .hero {
    height: auto;
    padding-top: 0;
    display: flex;
    flex-direction: column;
  }

  .hero::before { display: none; }

  .hero-inner {
    height: auto;
    padding: 88px 0 0;
    order: 1;
  }

  .hero-text {
    width: 100%;
    max-width: 100%;
    text-align: center;
    padding: 8px 0 48px;
  }

  .hero-lead {
    margin: 0 auto 36px;
    max-width: 100%;
  }

  .hero-btns   { justify-content: center; }
  .hero-tel    { display: none; }

  .hero-visual {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    height: 320px;
    order: 2;
    clip-path: none;
  }

  .hero-img-frame { border-radius: 0; }
  .hero-img-frame img { object-position: center; }
  .hero-card { display: none; }
  .hero-lead br { display: none; }

  /* SP：長文のcenterを解除 */
  .sec-head .sec-sub    { text-align: left; }
  .svc-lead             { text-align: left; }
  .svc-note             { text-align: left; }
  .pricing-lead         { text-align: left; }
  .worries-bottom-ttl   { text-align: left; }
  .worries-bottom-sub   { text-align: left; }

  .worries-grid    { grid-template-columns: 1fr; }
  .svc-grid        { grid-template-columns: 1fr; }
  .svc-detail-list { grid-template-columns: 1fr; }

  .flow-steps-row,
  .flow-steps-row--half { grid-template-columns: repeat(2, 1fr); }

  .cases-grid   { grid-template-columns: 1fr; }

  .profile-inner { grid-template-columns: 1fr; }
  .profile-photo { max-width: 240px; margin: 0 auto; position: static; }

  .company-row { grid-template-columns: 1fr; gap: 3px; }

}

/* ------------------------------------------------
   Responsive — 580px
   ------------------------------------------------ */
@media (max-width: 580px) {
  .flow-steps-row,
  .flow-steps-row--half { grid-template-columns: 1fr; }

  .flow-step + .flow-step::before { content: none; }
  .flow-step { padding: 20px 16px; }
  .flow-phase-header { padding: 12px 16px; }

  .cmp-wrap  { overflow-x: visible; }
  .cmp-table { display: none; }

  .cmp-cards {
    display: flex;
    flex-direction: column;
    gap: 10px;
  }

  .pricing-phases { grid-template-columns: 1fr; }
  .hero-lead br { display: none; }
}

/* SP専用改行 — PC・タブレットでは非表示 */
.sp-br { display: none; }

@media (max-width: 480px) {
  .sp-br { display: inline; }
}

@media (max-width: 400px) {
  .hero-ttl { font-size: 28px; letter-spacing: 0; }
}

/* ------------------------------------------------
   Privacy policy
   ------------------------------------------------ */
.privacy-page {
  background: var(--cream);
}

.privacy-hero {
  padding: 156px 0 72px;
  background: var(--cream);
  border-bottom: 1px solid var(--stone);
}

.privacy-hero h1 {
  margin: 8px 0 20px;
  color: var(--navy-deep);
  font-family: var(--font-mincho);
  font-size: clamp(32px, 4vw, 46px);
  line-height: 1.45;
}

.privacy-hero p {
  max-width: 700px;
  color: var(--text-sub);
  font-size: 16px;
  line-height: 1.9;
}

.privacy-content {
  max-width: 900px;
  padding-top: 72px;
  padding-bottom: 112px;
}

.privacy-intro {
  margin-bottom: 56px;
  color: var(--text-main);
  font-size: 16px;
  line-height: 2;
}

.privacy-section {
  padding: 0 0 40px;
  margin-bottom: 40px;
  border-bottom: 1px solid var(--stone);
}

.privacy-section h2 {
  margin-bottom: 20px;
  color: var(--navy);
  font-family: var(--font-mincho);
  font-size: 24px;
  line-height: 1.6;
}

.privacy-section p,
.privacy-section li,
.privacy-section dt,
.privacy-section dd {
  font-size: 16px;
  line-height: 1.9;
}

.privacy-section p + p {
  margin-top: 16px;
}

.privacy-section p a {
  color: var(--green-deep);
  font-weight: 700;
  text-underline-offset: 4px;
}

.privacy-section ul {
  margin: 16px 0 0;
  padding-left: 24px;
}

.privacy-section li + li {
  margin-top: 6px;
}

.privacy-operator dl {
  border-top: 1px solid var(--stone);
}

.privacy-section.privacy-operator {
  padding: 0;
  margin-bottom: 40px;
  border-bottom: none;
}

.privacy-operator dl > div {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 18px 0;
  border-bottom: 1px solid var(--stone);
}

.privacy-operator dt {
  color: var(--navy);
  font-weight: 700;
}

.privacy-operator a {
  color: var(--green-deep);
  font-weight: 700;
  text-underline-offset: 4px;
}

.privacy-date {
  color: var(--text-muted);
  font-size: 16px;
  text-align: right;
}

.privacy-back {
  margin-top: 56px;
  text-align: center;
}

@media (max-width: 640px) {
  .privacy-hero {
    padding: 124px 0 52px;
  }

  .privacy-content {
    padding-top: 52px;
    padding-bottom: 88px;
  }

  .privacy-intro {
    margin-bottom: 44px;
  }

  .privacy-section {
    padding-bottom: 32px;
    margin-bottom: 32px;
  }

  .privacy-section h2 {
    font-size: 22px;
  }

  .privacy-operator dl > div {
    grid-template-columns: 1fr;
    gap: 4px;
  }
}

.contact .wpcf7-form-control-wrap { display: block; }

/* WordPress integration */
.admin-bar .hdr {
  top: 32px;
}

.site-content {
  min-height: 60vh;
  padding-top: 140px;
  padding-bottom: var(--section-py);
}

.site-entry + .site-entry {
  margin-top: 64px;
}

.site-entry-header {
  margin-bottom: 32px;
  color: var(--navy);
}

.site-entry-content > * + * {
  margin-top: 1.5em;
}

@media (max-width: 782px) {
  .admin-bar .hdr {
    top: 46px;
  }
}
