/*
Theme Name: 山本尚子税理士事務所
Theme URI: 
Author: 山本尚子税理士事務所
Author URI: https://www.zeirishi-naoko.com/
Description: 山本尚子税理士事務所 専用テーマ
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: yamamoto-zeirishi
Requires at least: 5.2
Requires PHP: 7.4
*/

:root {
  /* フォント：端末に入っている日本語フォントを使います（外部サービスからは読み込みません）。
     別のフォントにしたい場合は、この2行を書き換えてください。 */
  --font-body: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", "Yu Gothic Medium", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", "Noto Sans JP", sans-serif;
  --font-heading: "Hiragino Maru Gothic ProN", "Hiragino Sans", "BIZ UDPGothic", "Yu Gothic", "Meiryo", "Noto Sans CJK JP", "Noto Sans JP", sans-serif;
  --bg: #f0f4f8;
  --surface: #ffffff;
  --ink: #0f172a;
  --muted: #475569;
  --accent: #0d7377;
  --accent-light: #0d8570;
  --accent-weak: rgba(13, 115, 119, 0.08);
  --accent-warm: #c0432b;
  --accent-warm-weak: rgba(192, 67, 43, 0.10);
  --line: rgba(15, 23, 42, 0.08);
  --step--2: clamp(0.64rem, 0.62rem + 0.12vw, 0.72rem);
  --step--1: clamp(0.8rem, 0.76rem + 0.2vw, 0.96rem);
  --step-0: clamp(1rem, 0.92rem + 0.4vw, 1.25rem);
  --step-1: clamp(1.15rem, 1.05rem + 0.5vw, 1.5rem);
  --step-2: clamp(1.4rem, 1.2rem + 1vw, 2rem);
  --step-3: clamp(1.7rem, 1.4rem + 1.5vw, 2.8rem);
  --step-4: clamp(2.2rem, 1.8rem + 2vw, 4rem);
  --space-xs: clamp(0.5rem, 0.4rem + 0.5vw, 0.75rem);
  --space-sm: clamp(0.75rem, 0.6rem + 0.75vw, 1.125rem);
  --space: clamp(1rem, 0.8rem + 1vw, 1.5rem);
  --space-md: clamp(1.25rem, 1rem + 1.25vw, 2rem);
  --space-lg: clamp(1.5rem, 1.2rem + 1.5vw, 2.5rem);
  --space-xl: clamp(2rem, 1.6rem + 2vw, 3.5rem);
  --space-2xl: clamp(2.5rem, 2rem + 2.5vw, 5rem);
  --radius: 16px;
  --radius-sm: 10px;
  --header-height: 80px;   /* 固定ナビの高さ（実測の最大 約79px）。サイドバーの追従位置に使用 */
  --shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 24px -8px rgba(0,0,0,0.12);
  --shadow-lg: 0 1px 3px rgba(0,0,0,0.04), 0 16px 40px -12px rgba(0,0,0,0.18);
}
* { box-sizing: border-box; margin: 0; padding: 0; -webkit-tap-highlight-color: transparent; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--font-body);
  font-size: var(--step-0);
  line-height: 1.8;
  color: var(--ink);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;   /* 長い行が画面の外にはみ出す前に折り返す（word-break: keep-all の箇所でも有効） */
}

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: var(--space-sm) 5vw;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s, box-shadow 0.3s;
}
.nav.scrolled {
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 1px 3px rgba(0,0,0,0.06);
}
.nav.scrolled .nav-logo,
.nav.scrolled .nav-link,
.nav.scrolled .nav-toggle { color: var(--ink); }
.nav-logo {
  font-family: var(--font-heading);
  font-size: var(--step-0);
  font-weight: 800;
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
  z-index: 102;
}
.nav-links {
  display: flex;
  gap: clamp(0.8rem, 0.5rem + 1.5vw, 1.8rem);
  list-style: none;
  align-items: center;
}
.nav-link {
  font-size: var(--step--1);
  font-weight: 500;
  color: rgba(255,255,255,0.9);
  text-decoration: none;
  transition: color 0.3s;
  position: relative;
  display: block;
  padding: 0.5em 0;
  white-space: nowrap;
}
.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0; left: 0;
  width: 0; height: 2px;
  background: var(--accent-warm);
  transition: width 0.3s;
  border-radius: 1px;
}
.nav-link:hover::after,
.nav-link:focus::after { width: 100%; }
.nav-link.active::after { width: 100%; }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.6rem;
  z-index: 102;
  color: #fff;
  min-height: 44px;
  min-width: 44px;
  touch-action: manipulation;
}
.nav-overlay {
  position: fixed;
  inset: 0;
  background: rgba(13, 115, 119, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  z-index: 101;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--space-lg);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}
.nav-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.nav-overlay a {
  font-family: var(--font-heading);
  font-size: var(--step-2);
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 0.5em 1em;
  min-height: 48px;
  display: flex;
  align-items: center;
}

/* ===== PAGE HEADER ===== */
.page-header {
  position: relative;
  padding: 140px 5vw 60px;
  background: linear-gradient(135deg, #0d7377 0%, var(--accent-light) 40%, #0f4c5c 100%);
  text-align: center;
  color: #fff;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 40%),
              radial-gradient(circle at 80% 20%, rgba(224,122,95,0.15) 0%, transparent 35%);
}
.page-header h1 {
  font-family: var(--font-heading);
  font-size: var(--step-3);
  font-weight: 800;
  position: relative;
  line-height: 1.2;
  word-break: keep-all;
}
.page-header p {
  font-size: var(--step-0);
  opacity: 0.9;
  margin-top: var(--space-sm);
  position: relative;
  max-width: 560px;
  margin-left: auto;
  margin-right: auto;
  word-break: keep-all;
}

/* ===== SECTIONS ===== */
.section {
  padding: var(--space-2xl) 5vw;
  max-width: 1100px;
  margin: 0 auto;
}
.section-alt {
  background: var(--surface);
  border-radius: var(--radius);
  margin: var(--space-lg) auto;
  max-width: 1100px;
  padding: var(--space-2xl) 5vw;
  box-shadow: var(--shadow);
}
.section-header {
  text-align: center;
  margin-bottom: var(--space-xl);
}
.section-number {
  font-family: var(--font-heading);
  font-size: var(--step--1);
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-weak);
  width: 2.8em;
  height: 2.8em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: var(--space-sm);
}
.section h2 {
  font-family: var(--font-heading);
  font-size: var(--step-3);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: var(--space-sm);
  letter-spacing: -0.01em;
  word-break: keep-all;
}
.section-subtitle {
  font-size: var(--step-0);
  color: var(--muted);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.8;
  word-break: keep-all;
}

/* ===== CARDS ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: var(--space);
}
.feature-card {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.feature-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.feature-card:hover, .feature-card:active {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.feature-card:hover::before, .feature-card:active::before { transform: scaleX(1); }
.feature-icon {
  width: 56px; height: 56px;
  border-radius: var(--radius-sm);
  background: var(--accent-weak);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--space-sm);
  flex-shrink: 0;
}
.feature-card h3 {
  font-family: var(--font-heading);
  font-size: var(--step-1);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  word-break: keep-all;
}
.feature-card p {
  font-size: var(--step--1);
  color: var(--muted);
  line-height: 1.75;
  word-break: normal;
  overflow-wrap: break-word;
  text-align: left;
}

/* ===== BANNER ===== */
.policy-banner {
  background: linear-gradient(135deg, var(--accent-warm) 0%, #b83a26 100%);
  border-radius: var(--radius);
  padding: var(--space-xl) var(--space);
  text-align: center;
  color: #fff;
  margin-bottom: var(--space-xl);
  position: relative;
  overflow: hidden;
}
.policy-banner::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: rgba(255,255,255,0.05);
  border-radius: 50%;
}
.policy-banner h3 {
  font-family: var(--font-heading);
  font-size: var(--step-2);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  position: relative;
  word-break: keep-all;
}
.policy-banner p {
  font-size: var(--step-0);
  max-width: 640px;
  margin: 0 auto;
  opacity: 0.95;
  position: relative;
  word-break: keep-all;
}

/* ===== STEPS ===== */
.policy-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: var(--space-md);
  margin-bottom: var(--space-xl);
}
.policy-step {
  padding: var(--space-md);
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  min-width: 0;
}
.step-num {
  text-align: center;
}
.policy-step h3 {
  text-align: center;
}
.step-num {
  font-family: var(--font-heading);
  font-size: var(--step-3);
  font-weight: 800;
  color: var(--accent);
  line-height: 1;
  margin-bottom: var(--space-xs);
  display: block;
}
.policy-step h3 {
  font-size: var(--step-0);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  word-break: keep-all;
  line-height: 1.4;
}
.policy-step p {
  font-size: var(--step--1);
  color: var(--muted);
  word-break: normal;
  overflow-wrap: break-word;
  line-height: 1.75;
  text-align: left;
}

/* ===== CLIENT TYPES ===== */
.client-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space);
}
.client-box {
  border-radius: var(--radius);
  padding: var(--space-md);
}
.client-box.good {
  background: linear-gradient(135deg, rgba(13,115,119,0.06) 0%, rgba(20,160,133,0.08) 100%);
  border: 2px solid var(--accent);
}
.client-box.bad {
  background: linear-gradient(135deg, rgba(224,122,95,0.06) 0%, rgba(217,83,79,0.08) 100%);
  border: 2px solid var(--accent-warm);
}
.client-box h3 {
  font-family: var(--font-heading);
  font-size: var(--step-1);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  display: flex;
  align-items: center;
  gap: 0.5em;
  word-break: keep-all;
}
.client-box.good h3 { color: var(--accent); }
.client-box.bad h3 { color: var(--accent-warm); }
.client-box ul {
  list-style: none;
  font-size: var(--step--1);
}
.client-box li {
  padding: 0.5em 0;
  padding-left: 1.5em;
  position: relative;
  border-bottom: 1px solid var(--line);
  word-break: keep-all;
}
.client-box li:last-child { border-bottom: none; }
.client-box li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.95em;
  width: 8px; height: 8px;
  border-radius: 50%;
}
.client-box.good li::before { background: var(--accent); }
.client-box.bad li::before { background: var(--accent-warm); }

/* ===== PROFILE ===== */
.profile-card {
  display: grid;
  grid-template-columns: 140px 1fr minmax(280px, 1fr);
  gap: var(--space-md);
  align-items: center;
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  overflow: hidden;
}
.profile-avatar {
  width: 140px; height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-family: var(--font-heading);
  font-size: var(--step-3);
  font-weight: 800;
  flex-shrink: 0;
}
.profile-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space-sm);
  width: 100%;
  max-width: 100%;
  overflow: hidden;
}
.profile-logo img {
  max-width: 100%;
  height: auto;
  max-height: 260px;
  object-fit: contain;
  display: block;
}
.profile-info h2,
.profile-info h3 {
  font-family: var(--font-heading);
  font-size: var(--step-2);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  word-break: keep-all;
}
.profile-info p {
  font-size: var(--step--1);
  color: var(--muted);
  margin-bottom: 0.3em;
  word-break: keep-all;
}

/* ===== FEE TABLE ===== */
.fee-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: var(--space-lg);
}
.fee-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
  min-width: 600px;
}
.fee-table th,
.fee-table td {
  padding: 1em 1.2em;
  text-align: left;
  border-bottom: 1px solid var(--line);
  word-break: keep-all;
}
.fee-table th {
  background: var(--accent-weak);
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-heading);
}
.fee-table tr:hover { background: var(--accent-weak); }
.fee-table td:last-child {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.fee-note {
  font-size: var(--step--1);
  color: var(--muted);
  padding: var(--space);
  background: var(--accent-warm-weak);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent-warm);
  word-break: keep-all;
}

/* ===== CONTACT ===== */
.contact-form {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  max-width: 640px;
  margin: 0 auto;
}
.form-group {
  margin-bottom: var(--space);
}
.form-group label {
  display: block;
  font-size: var(--step--1);
  font-weight: 700;
  margin-bottom: 0.4em;
  word-break: keep-all;
}
.form-group input,
.form-group textarea,
.form-group select {
  width: 100%;
  padding: 0.85em 1em;
  font-size: var(--step-0);
  font-family: inherit;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13,115,119,0.12);
}
.form-group textarea {
  min-height: 160px;
  resize: vertical;
}
.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  width: 100%;
  padding: 1em;
  font-family: var(--font-heading);
  font-size: var(--step-0);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 52px;
  touch-action: manipulation;
}
.btn-submit:hover, .btn-submit:active {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(13,115,119,0.35);
}
.contact-alt {
  text-align: center;
  margin-top: var(--space-xl);
  padding: var(--space-md);
  background: var(--accent-weak);
  border-radius: var(--radius);
}
.contact-alt h3 {
  font-family: var(--font-heading);
  font-size: var(--step-1);
  font-weight: 700;
  margin-bottom: var(--space-xs);
}
.contact-alt p {
  font-size: var(--step--1);
  color: var(--muted);
  margin-bottom: 0.3em;
}

/* ===== FOOTER ===== */
.footer {
  background: var(--ink);
  color: rgba(255,255,255,0.7);
  padding: var(--space-xl) 5vw;
  text-align: center;
}
.footer p {
  font-size: var(--step--1);
  margin-bottom: 0.5em;
  word-break: keep-all;
}
.footer-name {
  font-family: var(--font-heading);
  font-size: var(--step-1);
  font-weight: 700;
  color: #fff;
  margin-bottom: var(--space-xs);
}
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: var(--space-sm);
  margin-bottom: var(--space);
  list-style: none;
  padding: 0;
}
.footer-nav li {
  list-style: none;
}
.footer-nav a {
  color: rgba(255,255,255,0.6);
  text-decoration: none;
  font-size: var(--step--1);
  transition: color 0.3s;
}
.footer-nav a:hover { color: #fff; }

/* ===== スキップリンク（キーボード操作・読み上げ用） =====
   普段は画面の外に隠れていて、Tabキーで最初にフォーカスしたときだけ左上に表示される */
.skip-link {
  position: absolute;
  left: 1rem;
  top: -4rem;
  z-index: 10000;
  padding: 0.6em 1.2em;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  transition: top 0.2s;
}
.skip-link:focus { top: 0; }
main:focus { outline: none; }

/* ===== SCROLL REVEAL ===== */
/* ※ .js クラスは header.php の先頭で付けます。JSが使えない／読み込みに失敗した場合は付かない（3秒後に外れる）ため、本文は最初から表示されます。 */
.js .reveal {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}
.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ===== HERO HOME ===== */
.hero-home {
  position: relative;
  min-height: 85dvh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: linear-gradient(135deg, #0d7377 0%, var(--accent-light) 40%, #0f4c5c 100%);
  padding: 60px 0 40px;
}
.hero-home::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 80%, rgba(255,255,255,0.08) 0%, transparent 40%),
              radial-gradient(circle at 80% 20%, rgba(224,122,95,0.15) 0%, transparent 35%);
}
.hero-canvas {
  position: absolute;
  inset: 0;
  opacity: 0.35;
}
.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: var(--space) 5vw;
  text-align: center;
}
.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: var(--step--1);
  font-weight: 700;
  letter-spacing: 0.15em;
  color: rgba(255,255,255,0.9);
  background: rgba(255,255,255,0.12);
  padding: 0.5em 1.2em;
  border-radius: 999px;
  margin-bottom: var(--space);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.15);
}
.hero-home h1 {
  font-family: var(--font-heading);
  font-size: var(--step-4);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: var(--space-md);
  letter-spacing: -0.02em;
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero-home h1 .accent-word {
  color: #f4d03f;
  position: relative;
  display: inline-block;
}
.hero-home h1 .accent-word::after {
  content: "";
  position: absolute;
  bottom: 0.05em;
  left: -0.1em; right: -0.1em;
  height: 0.25em;
  background: rgba(244, 208, 63, 0.25);
  border-radius: 4px;
  z-index: -1;
}
.hero-lead {
  font-size: var(--step-1);
  color: rgba(255,255,255,0.92);
  max-width: 640px;
  margin: 0 auto var(--space-lg);
  line-height: 1.9;
  word-break: keep-all;
}
.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-heading);
  font-size: var(--step-0);
  font-weight: 700;
  color: var(--accent);
  background: #fff;
  padding: 1em 2.2em;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 48px;
  touch-action: manipulation;
}
.hero-cta:hover, .hero-cta:active {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}
.scroll-indicator {
  position: absolute;
  bottom: var(--space-lg);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: rgba(255,255,255,0.7);
  font-size: var(--step--2);
  letter-spacing: 0.1em;
}
.scroll-indicator svg {
  animation: bounce 2s infinite;
}
@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(8px); }
  60% { transform: translateY(4px); }
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5em;
  font-size: var(--step--2);
  color: var(--muted);
  margin-bottom: var(--space-md);
  list-style: none;
}
.breadcrumb a {
  color: var(--accent);
  text-decoration: none;
}
.breadcrumb a:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-toggle { display: block; }
  .hero-home {
    min-height: 100svh;
    padding: 100px 0 80px;
  }
  .hero-home h1 { font-size: var(--step-3); line-height: 1.2; }
  .hero-lead { font-size: var(--step-0); }
  .hero-cta {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 1.1em 2em;
  }
  .page-header { padding: 120px 5vw 50px; }
  .page-header h1 { font-size: var(--step-2); }
  .features-grid { grid-template-columns: 1fr; }
  .feature-card { padding: var(--space); }
  .policy-steps { grid-template-columns: 1fr 1fr; gap: var(--space-sm); }
  .policy-step { padding: var(--space-sm); }
  .client-types { grid-template-columns: 1fr; }
  .client-box { padding: var(--space); }
  .profile-card {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--space);
    padding: var(--space);
  }
  .profile-logo {
    margin: 0 auto;
    max-width: 200px;
  }
  .profile-logo img {
    max-height: 60px;
  }
  .profile-avatar {
    margin: 0 auto;
    width: 120px; height: 120px;
    font-size: var(--step-2);
  }
  .section { padding: var(--space-xl) 5vw; }
  .section-alt {
    margin: var(--space) 4vw;
    padding: var(--space-xl) 5vw;
    border-radius: var(--radius-sm);
  }
  .policy-banner {
    padding: var(--space-lg) var(--space);
    margin-bottom: var(--space-lg);
  }
  .section h2 { font-size: var(--step-2); }
  .scroll-indicator { display: none; }
  .contact-form { padding: var(--space); }
}
@media (max-width: 480px) {
  .hero-home h1 { font-size: var(--step-2); }
  .hero-eyebrow { font-size: var(--step--2); padding: 0.4em 1em; }
  .policy-steps { grid-template-columns: 1fr; }
  .step-num { font-size: var(--step-2); }
  .section h2 { font-size: calc(var(--step-2) * 0.95); }
  .feature-icon { width: 48px; height: 48px; }
  .feature-icon svg { width: 24px; height: 24px; }
  .page-header h1 { font-size: calc(var(--step-2) * 0.95); }
  .fee-table { min-width: 100%; }
  .fee-table th, .fee-table td { padding: 0.8em; font-size: 0.85rem; }
}
@media (prefers-reduced-motion: reduce) {
  .js .reveal { opacity: 1; transform: none; transition: none; }
  .scroll-indicator svg, .float-shape { animation: none; }
}
@media print {
  body { background: #fff; }
  .hero-home { min-height: auto; padding: var(--space-xl) 0; }
  .no-print { display: none; }
  .section, .section-alt {
    max-width: 100%;
    box-shadow: none;
    border: 1px solid #ddd;
  }
}
@page { size: A4; margin: 18mm; }

.feature-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  border-radius: var(--radius);
}
.feature-card-link:focus { outline: none; }
.feature-card-link:focus-visible .feature-card {
  box-shadow: 0 0 0 3px var(--accent);
}
.feature-card-link .feature-card { height: 100%; }
.feature-card h3 {
  overflow-wrap: break-word;
  word-break: keep-all;
  line-height: 1.4;
}
.feature-card p {
  overflow-wrap: break-word;
  word-break: normal;
}
.card-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
  font-size: var(--step--2);
  font-weight: 700;
  color: var(--accent);
  margin-top: var(--space-sm);
  transition: gap 0.3s;
}
.feature-card-link:hover .card-arrow,
.feature-card-link:active .card-arrow { gap: 0.6em; }

/* WordPress specific */
.wp-block-post-content a { color: var(--accent); }
.screen-reader-text {
  border: 0;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
  height: 1px;
  margin: -1px;
  overflow: hidden;
  padding: 0;
  position: absolute;
  width: 1px;
  word-wrap: normal !important;
}

/* ===== LOGO GRID ===== */
.logo-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: var(--space-xl);
  margin: var(--space-lg) auto;
  max-width: 600px;
  flex-wrap: wrap;
}
.logo-item {
  flex: 0 1 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--space);
  background: var(--surface);
  border-radius: var(--radius-sm);
  border: 1px solid var(--line);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logo-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}
.logo-item img {
  max-width: 100%;
  height: auto;
  max-height: 100px;
  object-fit: contain;
  display: block;
}
.logo-single {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: var(--space-lg) auto;
  max-width: 300px;
}
.logo-single .logo-item {
  flex: 0 1 220px;
}
.logo-single .logo-item img {
  max-height: 120px;
}

/* ===== NOTE BOX ===== */
.note-box {
  font-size: var(--step--1);
  color: var(--ink);
  padding: var(--space-md);
  background: var(--accent-weak);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
  max-width: 700px;
  margin: var(--space-lg) auto 0;
  line-height: 1.9;
}

/* ===== FEE SIMULATOR ===== */
.simulator {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--space-lg);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  max-width: 720px;
  margin: 0 auto;
}
.sim-row {
  margin-bottom: var(--space-md);
}
.sim-row label {
  display: block;
  font-size: var(--step--1);
  font-weight: 700;
  margin-bottom: 0.5em;
  color: var(--ink);
}
.sim-row select {
  width: 100%;
  padding: 1em 1.2em;
  font-size: var(--step-0);
  font-family: inherit;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230d7377' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 1.2em;
  padding-right: 3em;
}
.sim-row select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13,115,119,0.12);
}
.price-result {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: var(--radius);
  padding: var(--space-xl) var(--space);
  text-align: center;
  color: #fff;
  margin-top: var(--space-lg);
  position: relative;
  overflow: hidden;
}
.price-result::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.price-result h3 {
  font-family: var(--font-heading);
  font-size: var(--step-1);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  position: relative;
}
.price-amount {
  font-family: var(--font-heading);
  font-size: var(--step-4);
  font-weight: 800;
  line-height: 1;
  position: relative;
}
.price-amount .unit {
  font-size: var(--step-1);
  font-weight: 700;
}
.price-note {
  font-size: var(--step--1);
  opacity: 0.9;
  margin-top: var(--space-xs);
  position: relative;
}
.price-year {
  font-size: var(--step-0);
  opacity: 0.85;
  margin-top: var(--space-xs);
  position: relative;
}
.price-placeholder {
  font-size: var(--step-0);
  opacity: 0.8;
  position: relative;
}
.included-services {
  margin-top: var(--space-xl);
}
.included-services h3 {
  font-family: var(--font-heading);
  font-size: var(--step-1);
  font-weight: 700;
  margin-bottom: var(--space-sm);
  text-align: center;
}
.included-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: var(--space-sm);
}
.included-item {
  display: flex;
  align-items: flex-start;
  gap: 0.6em;
  font-size: var(--step--1);
  padding: 0.6em 0;
}
.included-item svg {
  flex-shrink: 0;
  margin-top: 0.15em;
  color: var(--accent);
}
.option-table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.option-table {
  width: 100%;
  border-collapse: collapse;
  font-size: var(--step--1);
  min-width: 480px;
}
.option-table th,
.option-table td {
  padding: 0.9em 1.1em;
  text-align: left;
  border-bottom: 1px solid var(--line);
}
.option-table th {
  background: var(--accent-weak);
  color: var(--accent);
  font-weight: 700;
  font-family: var(--font-heading);
}
.option-table td:last-child {
  font-weight: 700;
  color: var(--accent);
  white-space: nowrap;
}
.fee-note-box {
  font-size: var(--step--1);
  color: var(--muted);
  padding: var(--space);
  background: var(--accent-warm-weak);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent-warm);
  word-break: keep-all;
  margin-top: var(--space-lg);
}
.sim-note {
  font-size: var(--step--2);
  color: var(--muted);
  margin-top: 0.5em;
  line-height: 1.7;
  padding-left: 0.2em;
}
@media (max-width: 768px) {
  .simulator { padding: var(--space); }
  .price-amount { font-size: var(--step-3); }
  .included-grid { grid-template-columns: 1fr; }
}


/* ===== BLOG HEADER COMPACT ===== */
.blog-header-compact {
  padding: 100px 5vw 40px;
}
.blog-header-compact h1 {
  font-size: var(--step-2);
}
.blog-header-compact p {
  font-size: var(--step--1);
  margin-top: var(--space-xs);
}

/* ===== BLOG ===== */
.blog-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--space);
  margin-bottom: var(--space-xl);
  width: 100%;
  max-width: 100%;
}
.blog-card {
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.blog-thumb {
  display: block;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg);
}
.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-thumb img {
  transform: scale(1.05);
}
.blog-body {
  padding: var(--space-md);
  flex: 1;
  display: flex;
  flex-direction: column;
}
.blog-meta {
  font-size: var(--step--2);
  color: var(--muted);
  margin-bottom: var(--space-xs);
  display: flex;
  gap: var(--space-sm);
  align-items: center;
}
.blog-cat {
  display: inline-block;
  padding: 0.15em 0.7em;
  background: var(--bg);
  border-radius: 999px;
  font-size: var(--step--2);
  color: var(--muted);
}
.blog-title {
  font-size: var(--step-1);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
}
.blog-title a {
  color: var(--ink);
  text-decoration: none;
}
.blog-title a:hover {
  color: var(--accent);
}
.blog-excerpt {
  font-size: var(--step--1);
  color: var(--muted);
  line-height: 1.8;
  margin-bottom: var(--space-sm);
  flex: 1;
}
.blog-more {
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--accent);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3em;
}
.blog-more:hover {
  color: var(--accent-light);
}

/* 2カラムレイアウト */
.blog-two-column {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: var(--space-xl);
  align-items: start;
}
.blog-main {
  min-width: 0;
}
.blog-sidebar {
  position: sticky;
  top: calc(var(--header-height) + var(--space));
}

/* サイドバーウィジェット */
.widget {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--space-md);
  margin-bottom: var(--space);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
/* 見出しは h2（ページの見出し構造のため）。.section h2 の大きな文字設定に引きずられないよう、
   .widget を付けて優先度を上げ、本文と同じ書体・行間・字間に戻している */
.widget .widget-title {
  font-family: inherit;
  font-size: var(--step-0);
  font-weight: 700;
  line-height: inherit;
  letter-spacing: normal;
  word-break: normal;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--accent);
  color: var(--ink);
}
.widget-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget-list li {
  border-bottom: 1px solid var(--line);
}
.widget-list li:last-child {
  border-bottom: none;
}
.widget-list a {
  display: block;
  padding: 0.6em 0;
  color: var(--ink);
  text-decoration: none;
  font-size: var(--step--1);
  transition: color 0.3s ease;
}
.widget-list a:hover {
  color: var(--accent);
}
.widget-count {
  color: var(--muted);
  font-size: var(--step--2);
}

/* ページネーション */
.pagination {
  display: flex;
  justify-content: center;
  gap: var(--space-xs);
  margin-top: var(--space-xl);
  flex-wrap: wrap;
}
.pagination a,
.pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 2.5em;
  height: 2.5em;
  padding: 0 0.8em;
  border-radius: var(--radius-sm);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  text-decoration: none;
  font-size: var(--step--1);
  transition: all 0.3s ease;
}
.pagination a:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}
.pagination .current {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

/* ブログ詳細 */
.blog-single {
  max-width: 720px;
  margin: 0 auto;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.blog-single-thumb {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: var(--bg);
}
.blog-single-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.blog-single-content {
  padding: var(--space-xl) var(--space-2xl);
  font-size: var(--step-0);
  line-height: 2;
  color: var(--ink);
}
.blog-single-content h2 {
  font-size: var(--step-2);
  font-weight: 700;
  margin-top: var(--space-xl);
  margin-bottom: var(--space-md);
  padding-bottom: var(--space-xs);
  border-bottom: 2px solid var(--accent);
}
.blog-single-content h3 {
  font-size: var(--step-1);
  font-weight: 700;
  margin-top: var(--space-lg);
  margin-bottom: var(--space-sm);
  color: var(--ink);
}
.blog-single-content p {
  margin-bottom: var(--space-md);
}
.blog-single-content ul,
.blog-single-content ol {
  margin-bottom: var(--space-md);
  padding-left: 1.5em;
}
.blog-single-content li {
  margin-bottom: 0.5em;
}
.blog-single-content a {
  color: var(--accent);
  text-decoration: underline;
}
.blog-single-content a:hover {
  color: var(--accent-light);
}
.blog-single-meta {
  text-align: center;
  margin-bottom: var(--space-md);
}
.blog-single-cat {
  display: inline-block;
  padding: 0.15em 0.7em;
  background: var(--bg);
  border-radius: 999px;
  font-size: var(--step--2);
  color: var(--muted);
  margin-left: var(--space-sm);
}
.blog-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space);
  max-width: 720px;
  margin: var(--space-xl) auto 0;
}
.blog-nav-prev,
.blog-nav-next {
  background: var(--surface);
  border-radius: var(--radius);
  padding: var(--space-md);
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.blog-nav-next {
  text-align: right;
}
.blog-nav a {
  color: var(--ink);
  text-decoration: none;
  font-size: var(--step--1);
}
.blog-nav a:hover {
  color: var(--accent);
}
.blog-back {
  text-align: center;
  margin-top: var(--space-xl);
}

/* カテゴリーナビ */
.blog-cat-nav {
  margin-bottom: var(--space-lg);
}
.blog-cat-link {
  display: inline-block;
}
.blog-cat-link:hover {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}
.blog-cat-link.active {
  background: var(--accent) !important;
  color: #fff !important;
  border-color: var(--accent) !important;
}

/* レスポンシブ */
@media (max-width: 768px) {
  .blog-header-compact {
    padding: 80px 5vw 30px;
  }
  .blog-header-compact h1 {
    font-size: var(--step-1);
  }
  .blog-two-column {
    grid-template-columns: 1fr;
  }
  .blog-sidebar {
    position: static;
    order: 2;
  }
  .blog-main {
    order: 1;
  }
  .blog-single-content {
    padding: var(--space-lg) var(--space);
  }
  .blog-nav {
    grid-template-columns: 1fr;
  }
  .blog-nav-next {
    text-align: left;
  }
}

/* ===== CONTACT FORM 7 対応 ===== */
.wpcf7 {
  max-width: 100%;
}
.wpcf7-form {
  width: 100%;
}
.wpcf7-form p {
  margin-bottom: var(--space);
  font-size: var(--step--1);
  font-weight: 700;
  color: var(--ink);
}
.wpcf7-form label {
  display: block;
  font-size: var(--step--1);
  font-weight: 700;
  margin-bottom: 0.4em;
  word-break: keep-all;
  color: var(--ink);
}
.wpcf7-form .wpcf7-form-control-wrap {
  display: block;
  margin-top: 0.4em;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  padding: 0.85em 1em;
  font-size: var(--step-0);
  font-family: inherit;
  border: 2px solid var(--line);
  border-radius: var(--radius-sm);
  background: var(--bg);
  color: var(--ink);
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
}
.wpcf7-form input[type="text"]:focus,
.wpcf7-form input[type="email"]:focus,
.wpcf7-form input[type="tel"]:focus,
.wpcf7-form textarea:focus,
.wpcf7-form select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(13,115,119,0.12);
}
.wpcf7-form textarea {
  min-height: 160px;
  resize: vertical;
}
.wpcf7-form input[type="submit"],
.wpcf7-form .wpcf7-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5em;
  width: 100%;
  padding: 1em;
  font-family: var(--font-heading);
  font-size: var(--step-0);
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border: none;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: transform 0.3s, box-shadow 0.3s;
  min-height: 52px;
  touch-action: manipulation;
}
.wpcf7-form input[type="submit"]:hover,
.wpcf7-form .wpcf7-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px -4px rgba(13,115,119,0.35);
}
.wpcf7-form .wpcf7-spinner {
  display: none;
}
.wpcf7-form .wpcf7-response-output {
  margin-top: var(--space);
  padding: var(--space);
  border-radius: var(--radius-sm);
  font-size: var(--step--1);
}
.wpcf7-form .wpcf7-not-valid-tip {
  color: var(--accent-warm);
  font-size: var(--step--2);
  margin-top: 0.3em;
}
.wpcf7-form select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%230d7377' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 1.2em;
  padding-right: 3em;
}


/* ===== BLOG POST CUSTOM CLASSES ===== */
.naoko-blog-post {
  max-width: 720px;
  margin: 0 auto;
  font-size: var(--step-0);
  line-height: 2;
  color: var(--ink);
}

.naoko-blog-lead {
  font-size: var(--step-1);
  color: var(--ink);
  background: var(--accent-weak);
  padding: var(--space-md);
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--accent);
  margin-bottom: var(--space-lg);
  line-height: 1.9;
}

.naoko-blog-box {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius-sm);
  padding: var(--space-md);
  margin: var(--space-lg) 0;
  box-shadow: var(--shadow);
}

.naoko-blog-box-title {
  font-family: var(--font-heading);
  font-size: var(--step-1);
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin-bottom: var(--space-sm);
  padding-bottom: var(--space-sm);
  border-bottom: 1px solid var(--line);
}

.naoko-blog-note {
  background: var(--accent-warm-weak);
  border-left: 4px solid var(--accent-warm);
  padding: var(--space);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  margin: var(--space-lg) 0;
  font-size: var(--step--1);
  color: var(--ink);
  line-height: 1.9;
}

.naoko-blog-step {
  display: flex;
  gap: var(--space-md);
  margin: var(--space-lg) 0;
  align-items: flex-start;
}

.naoko-blog-step-num {
  font-family: var(--font-heading);
  font-size: var(--step-2);
  font-weight: 800;
  color: var(--accent);
  background: var(--accent-weak);
  width: 2em;
  height: 2em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  flex-shrink: 0;
  line-height: 1;
}

.naoko-blog-step-body {
  flex: 1;
}

.naoko-blog-step-body h4 {
  font-family: var(--font-heading);
  font-size: var(--step-1);
  font-weight: 700;
  margin-bottom: var(--space-xs);
  color: var(--ink);
}

.naoko-blog-step-body p {
  font-size: var(--step--1);
  color: var(--muted);
  line-height: 1.8;
}

.naoko-blog-cta {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 100%);
  border-radius: var(--radius);
  padding: var(--space-xl) var(--space-lg);
  text-align: center;
  color: #fff;
  margin-top: var(--space-xl);
  position: relative;
  overflow: hidden;
}

.naoko-blog-cta::before {
  content: "";
  position: absolute;
  top: -50%; right: -20%;
  width: 60%; height: 200%;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}

.naoko-blog-cta h3 {
  font-family: var(--font-heading);
  font-size: var(--step-2);
  font-weight: 800;
  margin-bottom: var(--space-sm);
  position: relative;
}

.naoko-blog-cta p {
  font-size: var(--step-0);
  opacity: 0.95;
  margin-bottom: var(--space-md);
  position: relative;
}

.naoko-blog-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5em;
  font-family: var(--font-heading);
  font-size: var(--step-0);
  font-weight: 700;
  color: var(--accent);
  background: #fff;
  padding: 1em 2.2em;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0,0,0,0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  min-height: 48px;
  position: relative;
}

.naoko-blog-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.2);
}

.naoko-blog-post hr {
  border: none;
  border-top: 1px solid var(--line);
  margin: var(--space-xl) 0;
}

.naoko-blog-post ul {
  margin-bottom: var(--space);
  padding-left: 1.5em;
}

.naoko-blog-post li {
  margin-bottom: 0.5em;
}

/* ===== 画面には出さず、読み上げ・見出し構造にだけ使う文字 ===== */
.screen-reader-text {
  position: absolute;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
