/* ===================================
   style.css — つづき司法書士/行政書士事務所
   士業向け配色：紺×グリーン×白基調
   =================================== */

/* ▼ CSS変数 */
:root {
  --color-primary:      #1C3A70;
  --color-primary-dark: #142B56;
  --color-accent:       #1F8A60;
  --color-accent-dark:  #176B4A;
  --color-line:         #06C755;
  --color-bg:           #FFFFFF;
  --color-bg-sub:       #F8F6F1;
  --color-text:         #2E2820;
  --color-text-sub:     #6B6860;
  --color-border:       #E2DDD6;
  --radius-sm:  8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --container: 1120px;
  --section-pad-pc:     96px;
  --section-pad-mobile: 64px;
}

/* ▼ ベース */
body {
  font-family: "M PLUS Rounded 1c", "Noto Sans JP", "Hiragino Sans",
               "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  overflow-x: hidden;
}

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

/* ▼ セクション共通 */
section {
  padding: clamp(var(--section-pad-mobile), 8vw, var(--section-pad-pc)) 0;
}

.section-bg-sub {
  background: var(--color-bg-sub);
}

/* ▼ セクション見出し共通 */
.section-heading {
  text-align: center;
  margin-bottom: 56px;
}

.section-heading .label {
  display: inline-block;
  font-size: 13px;
  font-weight: 500;
  color: var(--color-accent);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.section-heading h2 {
  font-family: "Noto Serif JP", "M PLUS Rounded 1c", serif;
  font-size: clamp(22px, 4vw, 32px);
  font-weight: 700;
  color: var(--color-primary);
  line-height: 1.4;
}

.section-heading p {
  margin-top: 16px;
  font-size: 15px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

/* ▼ ボタン共通 */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 14px 32px;
  border-radius: var(--radius-sm);
  font-size: 16px;
  font-weight: 600;
  line-height: 1;
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-primary {
  background: var(--color-accent);
  color: #fff;
  box-shadow: 0 4px 12px rgba(31, 138, 96, 0.25);
}
.btn-primary:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(31, 138, 96, 0.35);
}

.btn-secondary {
  background: transparent;
  color: #fff;
  border: 2px solid #fff;
}
.btn-secondary:hover {
  background: #fff;
  color: var(--color-primary);
}

.btn-outline {
  background: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
}
.btn-outline:hover {
  background: var(--color-primary);
  color: #fff;
}

.btn-navy {
  background: var(--color-primary);
  color: #fff;
}
.btn-navy:hover {
  background: var(--color-primary-dark);
  transform: translateY(-2px);
}

.btn-tel {
  background: var(--color-accent);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 12px rgba(31,138,96,0.25);
}
.btn-tel:hover {
  background: var(--color-accent-dark);
  transform: translateY(-2px);
}

/* =========================================
   ▼ ヘッダー
   ========================================= */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  height: 72px;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ロゴ */
.site-logo {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
  flex-shrink: 0;
}
.site-logo .name-main {
  font-family: "Noto Serif JP", serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}
.site-logo .name-sub {
  font-size: 11px;
  color: var(--color-text-sub);
  letter-spacing: 0.05em;
}

/* PCナビ */
.header-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}
.header-nav a {
  font-size: 12px;
  font-weight: 500;
  color: var(--color-text);
  padding: 6px 8px;
  border-radius: var(--radius-sm);
  transition: color 0.15s, background 0.15s;
  white-space: nowrap;
}
.header-nav a:hover {
  color: var(--color-accent);
  background: rgba(31,138,96,0.06);
}

/* ヘッダー右：電話＋CTAボタン */
.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}
.header-tel {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  line-height: 1.2;
}
.header-tel .tel-label {
  font-size: 10px;
  color: var(--color-text-sub);
}
.header-tel a {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-primary);
  letter-spacing: 0.05em;
}
.header-tel a:hover {
  color: var(--color-accent);
}

.header-cta {
  min-height: 40px;
  padding: 8px 18px;
  font-size: 13px;
}

/* ハンバーガーメニュー */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 48px;
  height: 48px;
  cursor: pointer;
  padding: 8px;
}
.hamburger span {
  display: block;
  height: 2px;
  background: var(--color-primary);
  border-radius: 2px;
  transition: all 0.2s ease;
}
.hamburger.is-open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.is-open span:nth-child(2) { opacity: 0; }
.hamburger.is-open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* モバイルナビ */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0,0,0,0.12);
  z-index: 999;
  padding: 16px 24px 24px;
}
.mobile-nav.is-open { display: block; }
.mobile-nav a {
  display: block;
  padding: 14px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 15px;
  font-weight: 500;
  color: var(--color-text);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav-tel {
  margin-top: 16px;
  text-align: center;
}
.mobile-nav-tel a {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-primary);
  border-bottom: none !important;
}

/* =========================================
   ▼ ヒーローセクション
   ========================================= */
.hero {
  padding-top: 72px; /* ヘッダー分 */
  position: relative;
  min-height: 620px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, #1C3A70 0%, #0D2247 60%, #142B56 100%);
  overflow: hidden;
}

/* 背景画像（images/hero-bg.jpg 配置後に有効化） */
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('../images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.58;
  transform: scale(1.01);
}

/* 半透明オーバーレイ */
.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(13, 34, 71, 0.88) 0%,
    rgba(28, 58, 112, 0.78) 48%,
    rgba(13, 34, 71, 0.42) 100%
  );
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: var(--container);
  margin: 0 auto;
  padding: 64px 24px;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  font-size: 13px;
  padding: 6px 14px;
  border-radius: 99px;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}

.hero h1 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(30px, 5.5vw, 52px);
  font-weight: 700;
  color: #fff;
  line-height: 1.35;
  margin-bottom: 20px;
  max-width: 780px;
  text-shadow: 0 3px 16px rgba(0,0,0,0.28);
}

.hero-sub {
  font-size: clamp(15px, 2vw, 18px);
  color: rgba(255,255,255,0.88);
  margin-bottom: 36px;
  line-height: 1.6;
  max-width: 760px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.22);
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.hero-trust-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
  max-width: 780px;
}
.hero-trust-list li {
  display: inline-flex;
  align-items: center;
  min-height: 36px;
  padding: 7px 13px;
  border-radius: 99px;
  background: rgba(255,255,255,0.14);
  border: 1px solid rgba(255,255,255,0.28);
  color: rgba(255,255,255,0.92);
  font-size: 13px;
  font-weight: 600;
  backdrop-filter: blur(5px);
}
.hero-trust-list li::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #9FE0C8;
  margin-right: 8px;
}

/* ヒーロー内の画像プレースホルダー表記 */
.hero-img-placeholder {
  display: none; /* 非表示。images/README.mdに指示を記載済み */
}

/* =========================================
   ▼ 選ばれる理由
   ========================================= */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.reason-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-top: 4px solid rgba(31,138,96,0.28);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  text-align: center;
  transition: box-shadow 0.2s, transform 0.2s;
}
.reason-card:hover {
  box-shadow: 0 8px 28px rgba(28,58,112,0.10);
  transform: translateY(-3px);
}

.reason-icon {
  width: 64px;
  height: 64px;
  background: rgba(31,138,96,0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}
.reason-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-accent);
  fill: none;
  stroke-width: 1.5;
}

.reason-card h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  line-height: 1.5;
}
.reason-card p {
  font-size: 14px;
  color: var(--color-text-sub);
  line-height: 1.75;
}

/* =========================================
   ▼ 対応業務
   ========================================= */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--color-bg);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: box-shadow 0.2s, transform 0.2s;
}
.service-card:hover {
  box-shadow: 0 8px 28px rgba(28,58,112,0.10);
  transform: translateY(-3px);
}

.service-card-header {
  background: var(--color-primary);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.service-card-header svg {
  width: 28px;
  height: 28px;
  stroke: rgba(255,255,255,0.85);
  fill: none;
  stroke-width: 1.5;
  flex-shrink: 0;
}
.service-card-header h3 {
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  line-height: 1.3;
}

.service-card-body {
  padding: 20px 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.service-target {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.7;
}
.service-target .label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-accent);
  background: rgba(31,138,96,0.1);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.service-list {
  font-size: 13px;
  color: var(--color-text);
  line-height: 1.7;
}
.service-list .label {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  color: var(--color-primary);
  background: rgba(28,58,112,0.08);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 6px;
}

.service-card-footer {
  padding: 0 24px 20px;
}
.service-card-footer a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 13px;
  font-weight: 600;
  color: var(--color-accent);
  transition: gap 0.15s;
}
.service-card-footer a:hover { gap: 8px; }
.service-card-footer a::after {
  content: "→";
}

/* 5つ目・3列グリッドで最後の行を中央揃え */
.services-grid .service-card:nth-child(4) { grid-column: 1; }
.services-grid .service-card:nth-child(5) { grid-column: 2; }

/* =========================================
   ▼ 料金の目安
   ========================================= */
/* タブ */
.price-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  justify-content: center;
  margin-bottom: 32px;
}

.price-tab {
  padding: 10px 24px;
  border: 2px solid var(--color-border);
  border-radius: 99px;
  font-size: 14px;
  font-weight: 600;
  color: var(--color-text-sub);
  background: var(--color-bg);
  cursor: pointer;
  transition: all 0.15s;
}
.price-tab.is-active,
.price-tab:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
  background: rgba(28,58,112,0.05);
}
.price-tab.is-active {
  background: var(--color-primary);
  color: #fff;
  border-color: var(--color-primary);
}

.price-panel {
  display: none;
}
.price-panel.is-active {
  display: block;
}

.price-table-wrap {
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
}

.price-table {
  width: 100%;
  font-size: 15px;
}
.price-table th {
  background: var(--color-primary);
  color: #fff;
  padding: 14px 20px;
  text-align: left;
  font-weight: 600;
}
.price-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--color-border);
  color: var(--color-text);
}
.price-table tr:last-child td {
  border-bottom: none;
}
.price-table tr:nth-child(even) td {
  background: var(--color-bg-sub);
}
.price-table .price-val {
  font-weight: 700;
  color: var(--color-primary);
  white-space: nowrap;
}

.price-note {
  margin-top: 16px;
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.7;
  padding: 14px 18px;
  background: rgba(28,58,112,0.04);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--color-primary);
}

/* =========================================
   ▼ 代表メッセージ
   ========================================= */
.profile-layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 56px;
  align-items: start;
}

.profile-img {
  position: relative;
}
.profile-img-box {
  width: 100%;
  aspect-ratio: 3/4;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: linear-gradient(135deg, #eef4f1 0%, #dfe8e4 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 14px 34px rgba(28,58,112,0.12);
}
.profile-img-placeholder {
  text-align: center;
  padding: 24px;
  font-size: 13px;
  color: #6B8AAA;
  line-height: 1.7;
}

.profile-img-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-img-caption {
  margin-top: 12px;
  font-size: 12px;
  line-height: 1.7;
  color: var(--color-text-sub);
  text-align: center;
}

.profile-text .name-block {
  margin-bottom: 24px;
}
.profile-text .name-block .role {
  font-size: 13px;
  color: var(--color-accent);
  font-weight: 500;
  margin-bottom: 6px;
}
.profile-text .name-block h2 {
  font-family: "Noto Serif JP", serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--color-primary);
}
.profile-text .name-block .name-en {
  font-size: 14px;
  color: var(--color-text-sub);
  letter-spacing: 0.08em;
}

.profile-message {
  font-size: 16px;
  line-height: 1.85;
  color: var(--color-text);
  margin-bottom: 32px;
}
.profile-message p + p {
  margin-top: 16px;
}

.profile-career h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--color-border);
}
.profile-career ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.profile-career li {
  font-size: 14px;
  color: var(--color-text);
  padding-left: 16px;
  position: relative;
  line-height: 1.6;
}
.profile-career li::before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--color-accent);
}

/* =========================================
   ▼ 相談の流れ
   ========================================= */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  position: relative;
}

/* ステップ間の矢印 */
.flow-steps::before {
  content: "";
  position: absolute;
  top: 48px;
  left: calc(12.5% + 24px);
  right: calc(12.5% + 24px);
  height: 2px;
  background: var(--color-border);
  z-index: 0;
}

.flow-step {
  text-align: center;
  padding: 0 16px;
  position: relative;
  z-index: 1;
}

.flow-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  font-family: "Montserrat", sans-serif;
}

.flow-step h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 10px;
  line-height: 1.4;
}
.flow-step p {
  font-size: 13px;
  color: var(--color-text-sub);
  line-height: 1.7;
}

/* =========================================
   ▼ よくある質問（アコーディオン）
   ========================================= */
.faq-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 18px 24px;
  background: var(--color-bg);
  text-align: left;
  cursor: pointer;
  transition: background 0.15s;
}
.faq-question:hover {
  background: rgba(28,58,112,0.03);
}
.faq-question.is-open {
  background: rgba(28,58,112,0.04);
}

.faq-q-mark {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--color-primary);
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Montserrat", sans-serif;
}

.faq-question-text {
  flex: 1;
  font-size: 15px;
  font-weight: 600;
  color: var(--color-text);
  line-height: 1.5;
}

.faq-arrow {
  flex-shrink: 0;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.faq-arrow svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-text-sub);
  fill: none;
  stroke-width: 2;
}
.faq-question.is-open .faq-arrow {
  transform: rotate(180deg);
}

.faq-answer {
  display: none;
  padding: 0 24px 20px 72px;
  font-size: 15px;
  color: var(--color-text);
  line-height: 1.8;
  background: rgba(28,58,112,0.02);
}
.faq-answer.is-open {
  display: block;
}

/* =========================================
   ▼ アクセス
   ========================================= */
.access-layout {
  display: grid;
  grid-template-columns: 1fr 400px;
  gap: 40px;
  align-items: start;
}

.access-visuals {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.access-map iframe {
  width: 100%;
  height: 360px;
  border-radius: var(--radius-md);
  border: none;
}

.office-photo {
  margin: 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--color-border);
  background: var(--color-bg);
  box-shadow: 0 8px 26px rgba(28,58,112,0.08);
}
.office-photo img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
}
.office-photo figcaption {
  padding: 12px 16px;
  font-size: 13px;
  line-height: 1.7;
  color: var(--color-text-sub);
}

.access-info h3 {
  font-family: "Noto Serif JP", serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--color-border);
}

.access-table {
  width: 100%;
}
.access-table th {
  font-size: 13px;
  font-weight: 600;
  color: var(--color-text-sub);
  padding: 10px 12px 10px 0;
  vertical-align: top;
  white-space: nowrap;
  width: 6em;
}
.access-table td {
  font-size: 14px;
  color: var(--color-text);
  padding: 10px 0;
  line-height: 1.65;
  vertical-align: top;
  border-bottom: 1px solid var(--color-border);
}
.access-table tr:last-child td { border-bottom: none; }
.access-table a {
  color: var(--color-accent);
  font-weight: 700;
}

/* =========================================
   ▼ 最終CTA
   ========================================= */
.final-cta {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  color: #fff;
  text-align: center;
  padding: clamp(64px, 8vw, 96px) 0;
}

.final-cta h2 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(22px, 4vw, 34px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}

.final-cta p {
  font-size: 15px;
  color: rgba(255,255,255,0.8);
  margin-bottom: 36px;
  line-height: 1.7;
}

.final-cta-tel {
  margin-bottom: 12px;
}
.final-cta-tel a {
  font-size: clamp(32px, 5vw, 46px);
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.05em;
  transition: opacity 0.15s;
}
.final-cta-tel a:hover { opacity: 0.8; }
.final-cta-tel .tel-label {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  display: block;
  margin-bottom: 4px;
  letter-spacing: 0.1em;
}

.final-cta-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 28px;
}

/* =========================================
   ▼ フッター
   ========================================= */
.site-footer {
  background: var(--color-primary-dark);
  color: rgba(255,255,255,0.75);
  padding: 48px 0 24px;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1.2fr 0.85fr 0.85fr 0.55fr;
  gap: 32px;
  margin-bottom: 40px;
}

.footer-logo .name-main {
  font-family: "Noto Serif JP", serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}
.footer-address {
  font-size: 13px;
  line-height: 1.8;
  color: rgba(255,255,255,0.65);
}
.footer-address a {
  color: rgba(255,255,255,0.9);
}
.footer-registration {
  font-size: 12px;
  color: rgba(255,255,255,0.5);
  margin-top: 12px;
  line-height: 1.7;
}

.footer-nav h4,
.footer-contact h4,
.footer-qr h4 {
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: 0.08em;
}
.footer-nav ul,
.footer-contact ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-nav a,
.footer-contact a {
  font-size: 13px;
  color: rgba(255,255,255,0.65);
  transition: color 0.15s;
}
.footer-nav a:hover,
.footer-contact a:hover {
  color: #fff;
}

.footer-qr {
  max-width: 132px;
}
.footer-qr img {
  width: 112px;
  height: 112px;
  padding: 8px;
  border-radius: var(--radius-sm);
  background: #fff;
}
.footer-qr p {
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,0.58);
}

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  text-align: center;
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* =========================================
   ▼ スマホ下部固定CTAバー
   ========================================= */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 998;
  height: 60px;
  grid-template-columns: 1fr 1fr;
}
.mobile-cta-bar a {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  height: 60px;
}
.mobile-cta-bar .cta-tel {
  background: var(--color-accent);
}
.mobile-cta-bar .cta-mail {
  background: var(--color-primary);
}
.mobile-cta-bar svg {
  width: 18px;
  height: 18px;
  stroke: #fff;
  fill: none;
  stroke-width: 2;
}

/* =========================================
   ▼ パンくずリスト（下層ページ共通）
   ========================================= */
.breadcrumb {
  background: var(--color-bg-sub);
  padding: 12px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 13px;
  color: var(--color-text-sub);
}
.breadcrumb ol {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}
.breadcrumb li + li::before {
  content: "›";
  margin-right: 8px;
  color: var(--color-border);
}
.breadcrumb a {
  color: var(--color-accent);
}

/* =========================================
   ▼ ページタイトル（下層ページ共通）
   ========================================= */
.page-title-section {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-primary-dark) 100%);
  padding: 56px 0 48px;
  text-align: center;
  margin-top: 72px; /* ヘッダー分 */
}
.page-title-section h1 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(24px, 4vw, 36px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}
.page-title-section p {
  font-size: 15px;
  color: rgba(255,255,255,0.75);
}

/* =========================================
   ▼ CTAバナー（下層ページ共通）
   ========================================= */
.cta-banner {
  background: var(--color-bg-sub);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  text-align: center;
  margin: 0;
}
.cta-banner h2 {
  font-family: "Noto Serif JP", serif;
  font-size: clamp(20px, 3vw, 26px);
  font-weight: 700;
  color: var(--color-primary);
  margin-bottom: 12px;
}
.cta-banner p {
  font-size: 15px;
  color: var(--color-text-sub);
  margin-bottom: 28px;
  line-height: 1.7;
}
.cta-banner-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
}

/* =========================================
   ▼ スクロールアニメ（Intersection Observer）
   ========================================= */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================================
   ▼ レスポンシブ
   ========================================= */
@media (max-width: 1023px) {
  .header-nav { display: none; }
  .header-tel  { display: none; }
  .header-cta  { display: none; }
  .hamburger   { display: flex; }
  .mobile-cta-bar { display: grid; }

  .reasons-grid    { grid-template-columns: 1fr; }
  .services-grid   {
    grid-template-columns: 1fr 1fr;
  }
  .services-grid .service-card:nth-child(4) { grid-column: auto; }
  .services-grid .service-card:nth-child(5) { grid-column: auto; }

  .profile-layout  { grid-template-columns: 1fr; }
  .profile-img-box { max-width: 240px; margin: 0 auto; }

  .flow-steps {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .flow-steps::before { display: none; }

  .access-layout { grid-template-columns: 1fr; }

  .footer-inner { grid-template-columns: 1fr; gap: 28px; }
  .footer-qr { max-width: none; }

  /* スマホ下部CTAバー分の余白 */
  body { padding-bottom: 60px; }
}

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

  .hero {
    min-height: 640px;
  }
  .hero-overlay {
    background: linear-gradient(
      180deg,
      rgba(13, 34, 71, 0.88) 0%,
      rgba(28, 58, 112, 0.82) 55%,
      rgba(13, 34, 71, 0.62) 100%
    );
  }
  .hero-content {
    padding: 56px 20px 48px;
  }
  .hero-trust-list {
    gap: 8px;
  }
  .hero-trust-list li {
    font-size: 12px;
    min-height: 34px;
    padding: 6px 10px;
  }

  .hero-cta { flex-direction: column; }
  .hero-cta .btn { width: 100%; }

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

  .price-tabs { gap: 6px; }
  .price-tab  { padding: 8px 16px; font-size: 13px; }

  .flow-steps { grid-template-columns: 1fr; }

  .final-cta-buttons { flex-direction: column; align-items: center; }
  .final-cta-buttons .btn { width: 100%; max-width: 320px; }

  .reasons-grid { gap: 16px; }

  .faq-answer { padding-left: 24px; }

  .cta-banner { padding: 36px 24px; }
  .cta-banner-buttons { flex-direction: column; align-items: center; }
  .cta-banner-buttons .btn { width: 100%; }

  .section-heading { margin-bottom: 36px; }
}
