/*
Theme Name: ai-katsuyo-lab-v3
Theme URI: https://ai.hanabusalab.jp/
Author: Hanabusa Lab
Description: Version 3 redesign workspace for AI Katsuyo Lab.
Version: 0.2.1
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: ai-katsuyo-lab-v3
*/

:root {
  --navy: #08295c;
  --navy-dark: #051d42;
  --blue: #0f55b6;
  --blue-soft: #eaf4ff;
  --blue-line: #c7ddf6;
  --orange: #a87312;
  --orange-dark: #7b5718;
  --cta: #08295c;
  --cta-hover: #0f55b6;
  --cta-shadow: rgba(8, 41, 92, 0.18);
  --gold-soft: #fff7e6;
  --gold-line: #e8c77a;
  --gold-text: #6f4d13;
  --green: #247a39;
  --text: #15243a;
  --muted: #596a80;
  --line: #d8e5f3;
  --soft: #f6faff;
  --surface: #ffffff;
  --footer: #061b3e;
  --max: 1160px;
  --radius-sm: 8px;
  --shadow-soft: 0 18px 42px rgba(8, 41, 92, 0.1);
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  color: var(--text);
  background: #fff;
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, system-ui, sans-serif;
  line-height: 1.75;
  letter-spacing: 0;
}

body.nav-open {
  overflow: hidden;
}

body.modal-open {
  overflow: hidden;
}

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

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

a:hover,
a:focus,
a:visited {
  text-decoration: none;
}

.screen-reader-text {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.site-main {
  flex: 1;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(8, 41, 92, 0.1);
  backdrop-filter: blur(10px);
}

.site-header__inner {
  width: min(100% - 40px, var(--max));
  min-height: 72px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 24px;
}

.site-brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex: 0 0 auto;
}

.site-brand__mark {
  width: 34px;
  height: 34px;
}

.site-brand__text strong {
  display: block;
  color: #101d32;
  font-size: 22px;
  line-height: 1.05;
  font-weight: 800;
}

.site-brand__text small {
  display: block;
  color: #20304a;
  font-size: 12px;
  line-height: 1.2;
  margin-top: 3px;
  font-weight: 600;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  flex: 1 1 auto;
  color: #12223a;
  font-size: 14px;
  font-weight: 700;
}

.global-nav__item {
  position: relative;
  padding: 24px 0;
}

.global-nav__item > a::after {
  content: "";
  width: 6px;
  height: 6px;
  display: inline-block;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: rotate(45deg) translateY(-2px);
  margin-left: 8px;
  opacity: 0.65;
}

.global-nav__dropdown {
  position: absolute;
  top: 68px;
  left: 50%;
  transform: translate(-50%, 8px);
  width: 230px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 41, 92, 0.12);
  opacity: 0;
  visibility: hidden;
  transition: 0.16s ease;
}

.global-nav__item:hover .global-nav__dropdown,
.global-nav__item:focus-within .global-nav__dropdown {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.global-nav__dropdown a {
  display: block;
  padding: 9px 10px;
  border-radius: 6px;
  color: #263b5b;
  font-size: 13px;
  font-weight: 700;
}

.global-nav__dropdown a:hover,
.global-nav__dropdown a:focus {
  background: var(--blue-soft);
  color: var(--blue);
}

.site-header__cta,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  border: 1px solid transparent;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  transition: background 0.16s ease, border-color 0.16s ease, color 0.16s ease, box-shadow 0.16s ease;
}

.site-header__cta,
.button--orange {
  color: #fff;
  background: var(--cta);
  border-color: rgba(232, 199, 122, 0.72);
}

.site-header__cta:hover,
.button--orange:hover {
  background: var(--cta-hover);
  border-color: var(--gold-line);
  box-shadow: 0 10px 22px var(--cta-shadow);
}

.article-body a.button,
.article-body a.button:visited,
.article-body a.button:hover,
.article-body a.button:focus {
  color: #fff;
  text-decoration: none;
}

.article-body a.button--outline,
.article-body a.button--outline:visited {
  color: var(--navy);
}

.button--outline {
  color: var(--navy);
  background: #fff;
  border-color: #9fbfe6;
}

.button--outline:hover {
  background: var(--blue-soft);
  border-color: var(--blue);
  box-shadow: 0 10px 22px rgba(8, 41, 92, 0.1);
}

.button--large {
  min-width: 300px;
  min-height: 56px;
  font-size: 17px;
}

.mobile-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 9px;
}

.mobile-toggle span:not(.screen-reader-text) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--navy);
  border-radius: 999px;
}

.mobile-nav {
  display: none;
}

.hero-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(248, 252, 255, 0.98) 0%, rgba(248, 252, 255, 0.9) 46%, rgba(232, 244, 255, 0.58) 100%),
    url("assets/images/hero-ai-diagnosis-bg.webp?v=2026062102") center / cover no-repeat;
  border-bottom: 1px solid var(--line);
}

.hero-section__inner {
  position: relative;
  z-index: 1;
  width: min(100% - 40px, var(--max));
  min-height: 560px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(360px, 0.98fr);
  align-items: center;
  gap: 40px;
  padding: 52px 0 0;
}

.hero-label {
  display: inline-flex;
  margin: 0 0 18px;
  padding: 7px 18px;
  color: var(--blue);
  background: #fff;
  border: 1px solid #9fc4ed;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
}

.hero-section h1 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(31px, 2.8vw, 42px);
  line-height: 1.2;
  font-weight: 900;
}

.hero-section h1 span {
  display: block;
}

.hero-lead {
  margin: 16px 0 0;
  color: var(--blue);
  font-size: clamp(18px, 1.6vw, 22px);
  line-height: 1.45;
  font-weight: 700;
}

.hero-text {
  max-width: 620px;
  margin: 16px 0 0;
  color: #233a5a;
  font-size: 16px;
  font-weight: 400;
}

.hero-actions {
  margin-top: 26px;
  display: grid;
  max-width: 460px;
  gap: 12px;
}

.hero-price {
  width: 100%;
  padding: 16px 18px;
  background: #fff;
  border: 1px solid #9fc4ed;
  border-radius: 8px;
}

.hero-price span,
.hero-price em {
  display: block;
  color: #334d70;
  font-size: 13px;
  font-style: normal;
  font-weight: 500;
}

.hero-price strong {
  display: block;
  color: var(--navy);
  font-size: 34px;
  line-height: 1.08;
  margin: 5px 0;
  font-weight: 900;
}

.hero-price small {
  font-size: 18px;
}

.hero-buttons {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  align-content: center;
}

.hero-buttons .button {
  min-width: 0;
}

.hero-section__visual {
  position: relative;
  align-self: end;
  display: flex;
  justify-content: center;
  padding-right: 68px;
}

.hero-section__visual img {
  width: min(100%, 520px);
  max-height: 560px;
  object-fit: contain;
}

.speech-bubble {
  position: absolute;
  top: 68px;
  right: -8px;
  width: 176px;
  max-width: 42vw;
  margin: 0;
  padding: 12px 16px;
  color: var(--navy);
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  border: 2px solid #9dccf5;
  border-radius: 26px 26px 26px 16px;
  box-shadow: 0 12px 26px rgba(8, 41, 92, 0.13), inset 0 0 0 4px rgba(255, 255, 255, 0.86);
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
  z-index: 2;
}

.speech-bubble::before,
.speech-bubble::after {
  content: "";
  position: absolute;
  border-radius: 999px;
  background: #fff;
  border: 2px solid #9dccf5;
  box-shadow: 0 8px 18px rgba(8, 41, 92, 0.1);
}

.speech-bubble::before {
  left: -18px;
  bottom: 14px;
  width: 16px;
  height: 16px;
}

.speech-bubble::after {
  left: -31px;
  bottom: 5px;
  width: 9px;
  height: 9px;
}

.speech-bubble span {
  display: block;
}

.notice-strip {
  background: #fff;
}

.notice-strip__inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 12px 0;
  display: flex;
  align-items: center;
  gap: 12px;
  border-bottom: 1px solid var(--line);
  color: #24456f;
  font-size: 14px;
  font-weight: 700;
}

.notice-strip span {
  flex: 0 0 auto;
  color: var(--blue);
}

.section {
  padding: 64px 0;
  scroll-margin-top: 110px;
}

.section--soft {
  background: var(--soft);
}

.section__inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.section-heading {
  max-width: 760px;
  margin: 0 auto 28px;
  text-align: center;
}

.section-heading--left {
  max-width: none;
  margin-left: 0;
  text-align: left;
}

.section-kicker {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  line-height: 1.2;
  letter-spacing: 0.12em;
  font-weight: 900;
}

.section-heading h2,
.content-row-heading h2,
.book-section__copy h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(21px, 2vw, 28px);
  line-height: 1.35;
  font-weight: 900;
}

.section-heading p:not(.section-kicker),
.book-section__copy p {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 15px;
}

.split-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: start;
}

.mini-card-grid {
  display: grid;
  gap: 12px;
}

.mini-card-grid--problems {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card-grid--features {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mini-card,
.service-card,
.post-card,
.price-panel,
.book-card,
.compact-post,
.faq-item {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-card,
.post-card,
.compact-post,
.service-overview-card {
  transition: box-shadow 0.18s ease, border-color 0.18s ease;
}

.service-card:hover,
.post-card:hover,
.compact-post:hover,
.service-overview-card:hover {
  border-color: #b9d3f5;
  box-shadow: 0 16px 34px rgba(8, 41, 92, 0.11);
}

.mini-card {
  min-height: 118px;
  padding: 16px 10px;
  display: grid;
  place-items: center;
  text-align: center;
}

.mini-card-grid--problems .mini-card {
  min-height: 84px;
  grid-template-columns: 40px 1fr;
  gap: 12px;
  place-items: center start;
  padding: 14px 16px;
  text-align: left;
}

.mini-card-grid--problems .mini-card:last-child {
  grid-column: 1 / -1;
}

.mini-card .dashicons,
.service-card .dashicons,
.flow-item .dashicons {
  width: auto;
  height: auto;
  color: var(--blue);
  font-size: 34px;
  line-height: 1;
}

.mini-card-grid--problems .dashicons {
  font-size: 30px;
}

.mini-card p {
  margin: 10px 0 0;
  color: #243c5f;
  font-size: 13px;
  line-height: 1.55;
  font-weight: 800;
}

.mini-card-grid--problems .mini-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.45;
}

.mini-card--wide {
  min-height: 128px;
  grid-template-columns: 42px 1fr;
  align-items: center;
  place-items: initial;
  gap: 12px;
  text-align: left;
  padding: 18px;
}

.mini-card--wide h3 {
  margin: 0 0 5px;
  color: var(--blue);
  font-size: 16px;
  line-height: 1.4;
}

.mini-card--wide p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.flow-list {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 170px));
  justify-content: center;
  gap: 12px;
}

.flow-item {
  position: relative;
  min-height: 214px;
  padding: 22px 12px 18px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.flow-item__num {
  position: absolute;
  top: -13px;
  left: 50%;
  transform: translateX(-50%);
  width: 28px;
  height: 28px;
  display: inline-grid;
  place-items: center;
  color: #fff;
  background: var(--blue);
  border-radius: 50%;
  font-size: 13px;
  font-weight: 900;
}

.flow-item h3 {
  margin: 10px 0 6px;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.35;
}

.flow-item p {
  margin: 0;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.55;
  font-weight: 600;
}

.flow-item--report {
  border-color: var(--gold-line);
  background: linear-gradient(180deg, var(--gold-soft) 0%, #fff 100%);
  box-shadow: 0 18px 34px rgba(123, 87, 24, 0.12);
}

.flow-item--report .flow-item__num {
  background: var(--orange);
}

.flow-item--report .dashicons,
.flow-item--report h3 {
  color: var(--gold-text);
}

.flow-report-preview {
  position: relative;
  width: 76px;
  height: 48px;
  margin-top: auto;
  transform: rotate(3deg);
}

.flow-report-preview span {
  position: absolute;
  inset: 0;
  display: block;
  background: #fff;
  border: 1px solid #d8e4f2;
  border-radius: 3px;
  box-shadow: 0 8px 16px rgba(8, 41, 92, 0.12);
}

.flow-report-preview span::before,
.flow-report-preview span::after {
  content: "";
  position: absolute;
  left: 9px;
  right: 9px;
  height: 3px;
  border-radius: 999px;
  background: #c7d8ec;
}

.flow-report-preview span::before {
  top: 10px;
}

.flow-report-preview span::after {
  top: 18px;
  box-shadow: 0 8px 0 var(--gold-line), 24px 8px 0 #8fb9e8;
}

.flow-report-preview span:nth-child(1) {
  transform: translate(-13px, 7px) rotate(-8deg);
}

.flow-report-preview span:nth-child(2) {
  transform: translate(0, 0);
  z-index: 2;
}

.flow-report-preview span:nth-child(3) {
  transform: translate(13px, 7px) rotate(8deg);
}

.price-services {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 36px;
  align-items: center;
}

.price-panel {
  padding: 24px;
  border-color: #9fc4ed;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
}

.price-panel .price-panel__tag {
  width: calc(100% + 48px);
  margin: -24px -24px 20px;
  padding: 10px;
  color: #fff !important;
  background: var(--blue);
  border-radius: 8px 8px 0 0;
  text-align: center;
  font-weight: 900;
}

.price-panel h2 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.45;
}

.price-panel p {
  margin: 0;
  color: #334d70;
  font-weight: 700;
}

.price-panel strong {
  display: block;
  margin: 10px 0 14px;
  color: var(--navy);
  font-size: 40px;
  line-height: 1.1;
  font-weight: 900;
}

.price-panel small {
  font-size: 17px;
}

.price-panel ul {
  margin: 0 0 18px;
  padding: 0;
  list-style: none;
}

.price-panel li {
  position: relative;
  padding-left: 24px;
  margin: 8px 0;
  color: #2f496b;
  font-size: 14px;
  font-weight: 700;
}

.price-panel li::before {
  content: "";
  position: absolute;
  top: 0.7em;
  left: 3px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.price-panel .button {
  width: 100%;
}

.service-list-link {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.service-list-link .button {
  min-width: 220px;
}

.service-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.service-card {
  position: relative;
  min-height: 190px;
  padding: 22px 20px;
  text-align: center;
}

.service-card--aux {
  grid-column: 1 / -1;
  min-height: 150px;
  background: #f8fbff;
}

.service-card--premium {
  border-color: var(--gold-line);
  background: linear-gradient(180deg, var(--gold-soft) 0%, #fff 100%);
}

.service-card h3 {
  margin: 14px 0 8px;
  color: var(--navy);
  font-size: 18px;
  line-height: 1.4;
}

.service-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.service-card__label {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 28px;
  margin: 0 0 12px;
  padding: 4px 12px;
  border: 1px solid #b9d3f5;
  border-radius: var(--radius-sm);
  background: #eef6ff;
  color: var(--blue);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.service-card .dashicons,
.service-overview-card > .dashicons {
  margin-top: 8px;
}

.service-card .service-card__label {
  margin-right: auto;
  margin-left: auto;
}

.service-overview-card .service-card__label {
  margin-right: 0;
  margin-left: 0;
}

.service-card--premium .service-card__label {
  border-color: var(--gold-line);
  background: var(--gold-soft);
  color: var(--gold-text);
}

.book-section {
  display: grid;
  grid-template-columns: 330px 1fr;
  gap: 34px;
  align-items: center;
}

.book-section__copy .button {
  margin-top: 22px;
}

.book-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.book-card {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  align-items: center;
  padding: 20px 22px 20px 18px;
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.book-card:hover,
.book-card:focus-visible {
  border-color: #b9d3f5;
  box-shadow: 0 16px 34px rgba(8, 41, 92, 0.11);
}

.book-cover {
  position: relative;
  display: block;
  margin: 0;
  width: fit-content;
  border-radius: 7px;
  background: #fff;
  isolation: isolate;
  filter: drop-shadow(14px 16px 22px rgba(8, 41, 92, 0.12));
}

.book-cover::before,
.book-cover::after {
  content: "";
  position: absolute;
  border-radius: 6px;
  z-index: -1;
}

.book-cover::before {
  top: 7px;
  right: -10px;
  bottom: -8px;
  width: 18px;
  background: linear-gradient(90deg, #f8fbff 0%, #d9e6f3 100%);
  border: 1px solid #c9d9e9;
}

.book-cover::after {
  left: 8px;
  right: -8px;
  bottom: -10px;
  height: 16px;
  background: #d5e3f0;
}

.book-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  border-radius: 6px;
  border: 1px solid var(--line);
  background: #fff;
}

.book-cover--card {
  width: 134px;
  height: 190px;
}

.book-card p {
  margin: 0 0 4px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 500;
}

.book-card h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.35;
}

.book-card span {
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.content-row-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 18px;
}

.content-row-heading a {
  color: var(--blue);
  font-size: 14px;
  font-weight: 800;
}

.post-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.post-card {
  overflow: hidden;
  background: #fff;
}

.post-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.post-card__image-link,
.compact-post__image-link {
  display: block;
}

.post-card__image-link {
  overflow: hidden;
}

.post-card h3 {
  margin: 16px 16px 6px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.45;
}

.post-card p {
  margin: 0 16px 18px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.three-column-section {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
}

.compact-list {
  display: grid;
  gap: 10px;
}

.compact-post {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px;
}

.compact-post img {
  width: 96px;
  height: 68px;
  object-fit: cover;
  border-radius: 6px;
}

.compact-post__image-link {
  width: 96px;
  height: 68px;
}

.compact-post h3 {
  margin: 0;
  color: var(--navy);
  font-size: 15px;
  line-height: 1.45;
}

.faq-list {
  display: grid;
  gap: 10px;
}

.faq-item {
  overflow: hidden;
}

.faq-item__button {
  width: 100%;
  padding: 15px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--navy);
  background: #fff;
  border: 0;
  cursor: pointer;
  text-align: left;
  font: inherit;
  font-size: 15px;
  font-weight: 800;
}

.faq-item__button .dashicons {
  color: var(--blue);
  transition: transform 0.16s ease;
}

.faq-item p {
  display: none;
  margin: 0;
  padding: 0 16px 16px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 600;
}

.faq-item.is-open p {
  display: block;
}

.faq-item.is-open .dashicons {
  transform: rotate(45deg);
}

.footer-cta {
  color: #fff;
  background: var(--navy);
  overflow: hidden;
}

.footer-cta__inner {
  position: relative;
  width: min(100% - 40px, var(--max));
  min-height: 210px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(360px, 520px) minmax(220px, 320px) 170px;
  justify-content: center;
  gap: 42px;
  align-items: center;
  padding: 34px 0;
}

.footer-cta__copy {
  max-width: 520px;
}

.footer-cta h2 {
  margin: 0 0 10px;
  font-size: clamp(21px, 2vw, 27px);
  line-height: 1.4;
}

.footer-cta p {
  margin: 0;
  color: #d7e7f9;
  font-size: 16px;
  font-weight: 700;
}

.footer-cta__person {
  align-self: end;
  justify-self: center;
  max-height: 205px;
  object-fit: contain;
  object-position: bottom;
}

.site-footer {
  background: var(--footer);
  color: #c5d5ea;
}

.site-footer__inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 42px 0 30px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 42px;
}

.site-footer__brand {
  align-self: center;
}

.site-brand--footer .site-brand__text strong {
  color: #fff;
}

.site-brand--footer .site-brand__mark {
  filter: brightness(0) invert(1);
  opacity: 0.94;
}

.site-brand--footer .site-brand__text small,
.site-footer__brand p {
  color: #c5d5ea;
}

.site-footer__brand p {
  max-width: 300px;
  margin: 16px 0 0;
  font-size: 14px;
}

.footer-books {
  max-width: 340px;
  margin-top: 22px;
}

.footer-books h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
}

.footer-book-list {
  display: grid;
  gap: 10px;
}

.footer-book-card {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  color: #c5d5ea;
}

.footer-book-cover {
  display: block;
  width: 52px;
  height: 74px;
  background: #fff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.22);
}

.footer-book-cover img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.footer-book-body {
  min-width: 0;
  display: grid;
  gap: 2px;
}

.footer-book-label,
.footer-book-price {
  color: #9fb3ce;
  font-size: 11px;
  line-height: 1.45;
}

.footer-book-title {
  color: #fff;
  font-size: 13px;
  line-height: 1.45;
  font-weight: 800;
}

.footer-book-more {
  display: inline-block;
  margin-top: 12px;
  color: #c5d5ea;
  font-size: 13px;
  font-weight: 800;
}

.footer-book-card:hover .footer-book-title,
.footer-book-more:hover {
  color: #fff;
  text-decoration: none;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.footer-links h3 {
  margin: 0 0 12px;
  color: #fff;
  font-size: 15px;
}

.footer-links a {
  display: block;
  margin: 7px 0;
  color: #c5d5ea;
  font-size: 13px;
}

.site-footer__bottom {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 18px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: #9fb3ce;
  text-align: center;
}

.back-to-top {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 40;
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(12, 75, 152, 0.18);
  border-radius: 999px;
  color: var(--navy);
  background: #fff;
  box-shadow: 0 14px 34px rgba(8, 41, 92, 0.2);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top .dashicons {
  width: auto;
  height: auto;
  font-size: 24px;
  line-height: 1;
}

.page-hero,
.single-hero {
  background: linear-gradient(90deg, #f3f9ff 0%, #f7fbff 58%, #eaf4ff 100%);
  border-bottom: 1px solid var(--line);
}

.page-hero__inner,
.single-hero__inner,
.content-section__inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
}

.page-hero__inner {
  padding: 70px 0 58px;
}

.page-hero__inner--split,
.single-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 48px;
  align-items: center;
}

.page-hero h1,
.single-hero h1 {
  max-width: 880px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(26px, 2.1vw, 34px);
  line-height: 1.28;
  font-weight: 900;
}

.page-hero p:not(.section-kicker),
.single-hero p:not(.section-kicker) {
  max-width: 760px;
  margin: 16px 0 0;
  color: #365071;
  font-size: 17px;
  font-weight: 700;
}

.page-hero .archive-image-note {
  margin-top: 12px;
  color: #516985;
  font-size: 14px;
  font-weight: 700;
}

.content-section {
  padding: 64px 0;
}

.article-body {
  color: #243a59;
  font-size: 16px;
  font-weight: 400;
}

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

.article-body h2,
.article-body h3,
.article-body h4 {
  color: var(--navy);
  line-height: 1.45;
}

.article-body h2 {
  margin: 44px 0 16px;
  font-size: 30px;
}

.article-body h3 {
  margin: 32px 0 12px;
  font-size: 23px;
}

.article-body p,
.article-body li {
  line-height: 1.95;
}

.article-body a {
  color: var(--blue);
  text-decoration: none;
}

.article-body img {
  border-radius: 8px;
}

.case-summary-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  margin-bottom: 34px;
}

.case-summary-item,
.case-detail-section,
.single-post-nav__card {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.case-summary-item {
  padding: 18px;
}

.case-summary-item span,
.single-post-nav__card span {
  display: block;
  margin-bottom: 7px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
}

.case-summary-item strong {
  color: var(--navy);
  font-size: 17px;
  line-height: 1.55;
}

.case-summary-item--impact {
  border-color: #b9d7f5;
  background: var(--blue-soft);
}

.case-detail-section {
  padding: 26px;
  margin: 0 0 24px;
}

.case-detail-section h2 {
  margin-top: 0;
}

.case-tool-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.case-tool-item {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid #c8dcef;
  border-radius: 999px;
  color: var(--blue);
  background: var(--blue-soft);
  font-size: 13px;
  font-weight: 800;
}

.case-note {
  margin: -6px 0 24px;
  padding: 16px 18px;
  border: 1px solid #d8e4ef;
  border-radius: 8px;
  background: #f8fbff;
  color: #3a506b;
}

.case-note strong {
  display: block;
  margin-bottom: 4px;
  color: var(--navy);
  font-size: 13px;
  line-height: 1.5;
}

.case-note p {
  margin: 0;
  font-size: 13px;
  line-height: 1.8;
}

.case-voice {
  margin: 0;
  padding: 18px 20px;
  border-left: 4px solid var(--orange);
  background: var(--gold-soft);
  color: #294463;
  line-height: 1.9;
}

.ebook-detail-section {
  padding: 28px;
  margin: 0 0 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.ebook-detail-section--lead {
  border-color: #b9d7f5;
  background: var(--blue-soft);
}

.ebook-detail-section h2 {
  margin-top: 0;
}

.ebook-detail-section p {
  margin-bottom: 18px;
}

.ebook-price {
  color: var(--navy);
  font-weight: 900;
}

.ebook-purchase-section {
  text-align: center;
  border-color: var(--gold-line);
  background: var(--gold-soft);
}

.ebook-purchase-section h2 {
  margin-bottom: 10px;
}

.ebook-purchase-section .ebook-price {
  margin-bottom: 18px;
}

.ebook-list-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.ebook-list-grid div,
.ebook-toc-list div {
  padding: 14px 16px;
  border: 1px solid #c8dcef;
  border-radius: 8px;
  background: #f8fbff;
  color: #294463;
  font-weight: 700;
  line-height: 1.7;
}

.ebook-check-list {
  margin: 0;
  padding-left: 1.2em;
}

.ebook-check-list li {
  margin: 8px 0;
}

.ebook-toc-list {
  display: grid;
  gap: 10px;
}

.single-post-nav {
  margin-top: 34px;
}

.single-post-nav__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.single-post-nav__card {
  display: block;
  padding: 18px;
  color: var(--navy);
  text-decoration: none;
}

.single-post-nav__card--next {
  text-align: right;
}

.single-post-nav__card strong {
  font-size: 15px;
  line-height: 1.55;
}

.single-post-nav__back {
  width: fit-content;
  display: flex;
  margin: 18px auto 0;
  padding: 10px 16px;
  border: 1px solid #c8dcef;
  border-radius: 8px;
  color: var(--navy);
  background: #f8fbff;
  text-decoration: none;
  font-weight: 900;
  line-height: 1.2;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

.single-post-nav__back:hover,
.single-post-nav__back:focus {
  border-color: var(--blue);
  color: var(--blue);
  background: var(--blue-soft);
  text-decoration: none;
}

.article-body a.single-post-nav__back,
.article-body a.single-post-nav__back:visited {
  color: var(--navy);
  text-decoration: none;
}

.article-body a.single-post-nav__back:hover,
.article-body a.single-post-nav__back:focus {
  color: var(--blue);
  text-decoration: none;
}

.legal-body {
  max-width: 920px;
}

.legal-body > p:first-child {
  padding: 22px 24px;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  background: var(--blue-soft);
}

.article-body table,
.legal-dl {
  width: 100%;
  border-collapse: collapse;
}

.article-body table th,
.article-body table td {
  padding: 14px;
  border: 1px solid var(--line);
  vertical-align: top;
}

.legal-dl {
  display: grid;
  gap: 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.legal-row {
  display: grid;
  grid-template-columns: 220px 1fr;
  border-bottom: 1px solid var(--line);
}

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

.legal-row dt,
.legal-row dd {
  margin: 0;
  padding: 15px 18px;
}

.legal-row dt {
  color: var(--navy);
  background: var(--blue-soft);
  font-weight: 900;
}

.legal-dl--compact {
  margin-top: 18px;
  max-width: 760px;
}

.legal-note {
  margin-top: 28px;
  padding: 18px 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.page-layout .legal-note,
.service-detail .legal-note {
  border-left-color: var(--line);
  background: #fff;
}

.legal-note p {
  margin: 0;
  color: #314765;
}

.company-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
  gap: 28px;
  align-items: start;
}

.company-message,
.company-profile {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(8, 41, 92, 0.06);
}

.company-message {
  padding: 32px;
}

.company-message h2 {
  margin: 8px 0 18px;
  color: var(--navy);
  font-size: 27px;
  line-height: 1.45;
}

.company-message p:not(.section-kicker) {
  margin: 0 0 14px;
  color: #314765;
  line-height: 1.9;
  font-weight: 400;
}

.company-message p:last-child {
  margin-bottom: 0;
}

.company-character {
  display: grid;
  grid-template-columns: 130px minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  margin-top: 28px;
  padding: 18px;
  border: 1px solid #c8dcef;
  border-radius: 8px;
  background: linear-gradient(180deg, #f8fbff 0%, #fff 100%);
}

.company-character__image {
  margin: 0;
  align-self: end;
}

.company-character__image img {
  width: 130px;
  height: 170px;
  object-fit: contain;
  object-position: center bottom;
}

.company-character h3 {
  margin: 6px 0 10px;
  color: var(--navy);
  font-size: 21px;
  line-height: 1.45;
}

.company-character p:not(.section-kicker) {
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
}

.company-profile {
  margin: 0;
}

.archive-card-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.archive-card,
.book-archive-card,
.form-panel,
.form-intro,
.side-cta,
.apply-price-card,
.empty-panel {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.archive-card {
  overflow: hidden;
}

.archive-card__image {
  display: block;
  aspect-ratio: 16 / 9;
  background: var(--blue-soft);
}

.archive-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.archive-card__body {
  padding: 20px;
}

.archive-card__meta {
  margin: 0 0 8px;
  color: var(--blue);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.08em;
}

.archive-card h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 19px;
  line-height: 1.5;
}

.archive-card p {
  margin: 0 0 14px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.text-link {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 4px 2px;
  color: var(--blue);
  font-weight: 900;
}

.external-link {
  display: inline-flex;
  align-items: center;
  gap: 0.72em;
}

.external-link::after {
  content: "↗";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.05em;
  height: 1.05em;
  border: 1px solid currentColor;
  border-radius: 3px;
  font-size: 0.72em;
  font-weight: 800;
  line-height: 1;
  opacity: 0.82;
  margin-left: 0.08em;
  transform: translateY(-0.06em);
}

#haaa-chatbot {
  transform: scale(0.86);
  transform-origin: bottom left;
}

#haaa-chatbot .haaa-speech-bubble {
  display: none !important;
}

.nav-links {
  margin-top: 34px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.page-numbers {
  min-width: 38px;
  min-height: 38px;
  display: inline-grid;
  place-items: center;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--navy);
  background: #fff;
  font-weight: 800;
}

.page-numbers.current {
  color: #fff;
  background: var(--blue);
  border-color: var(--blue);
}

.single-hero__inner {
  padding: 56px 0;
}

.single-hero__image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  border: 1px solid var(--line);
}

.single-ebook .single-hero__inner {
  grid-template-columns: minmax(0, 1fr) 300px;
}

.single-ebook .single-hero h1 {
  max-width: 760px;
  font-size: clamp(30px, 2.7vw, 38px);
  line-height: 1.35;
  font-weight: 800;
}

.single-ebook .single-hero__image {
  width: 100%;
  max-height: 390px;
  aspect-ratio: 2 / 3;
  object-fit: contain;
  padding: 10px;
  background: #fff;
  transform: perspective(900px) rotateY(-1.5deg);
  transform-origin: left center;
  box-shadow:
    7px 0 0 #eef5fc,
    12px 8px 0 #d6e4f1,
    18px 22px 34px rgba(8, 41, 92, 0.14);
}

.article-shell {
  display: grid;
  grid-template-columns: minmax(0, 760px) 300px;
  gap: 48px;
  align-items: start;
}

.article-side {
  position: sticky;
  top: 104px;
}

.side-cta {
  position: relative;
  overflow: hidden;
  padding: 26px 26px 28px;
  border-color: #9fc4ed;
  background: #fff;
  box-shadow: none;
}

.side-cta::before {
  content: none;
}

.side-cta .section-kicker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: calc(100% + 52px);
  min-height: 30px;
  margin: -26px -26px 22px;
  padding: 12px 10px;
  border-radius: 8px 8px 0 0;
  color: #fff;
  background: var(--blue);
  font-size: 13px;
  letter-spacing: 0.04em;
  text-align: center;
}

.side-cta h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 23px;
  line-height: 1.42;
}

.side-cta p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  font-weight: 400;
}

.side-cta__summary {
  line-height: 1.75;
}

.side-cta__price {
  margin: 8px 0 20px !important;
  color: var(--navy) !important;
  font-size: 28px !important;
  line-height: 1.15;
  font-weight: 900 !important;
  letter-spacing: 0;
}

.side-cta__price small,
.ebook-price small {
  font-size: 0.78em;
  font-weight: 800;
}

.footer-book-price small {
  font-size: 0.9em;
  font-weight: 800;
}

.side-cta .button {
  width: 100%;
  min-height: 54px;
}

.form-layout {
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 28px;
  align-items: start;
}

.form-layout--single {
  grid-template-columns: minmax(0, 760px);
  justify-content: center;
}

.form-intro,
.form-panel {
  padding: 28px;
}

.form-intro h2 {
  margin: 0 0 16px;
  color: var(--navy);
  font-size: 24px;
}

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

.form-intro li {
  position: relative;
  padding-left: 24px;
  margin: 10px 0;
  color: #2f496b;
  font-weight: 400;
}

.form-intro li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 3px;
  width: 11px;
  height: 6px;
  border-left: 2px solid var(--green);
  border-bottom: 2px solid var(--green);
  transform: rotate(-45deg);
}

.form-note {
  margin-top: 22px;
  padding: 18px;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  background: #f8fbff;
}

.form-note h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.45;
}

.form-note p {
  margin: 0;
  color: #334d70;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.apply-price-card {
  padding: 26px;
}

.apply-price-card span,
.apply-price-card p {
  color: #365071;
  font-weight: 500;
}

.apply-price-card strong {
  display: block;
  margin: 10px 0;
  color: var(--navy);
  font-size: 42px;
  line-height: 1.1;
  font-weight: 900;
}

.apply-price-card small {
  margin-left: 8px;
  font-size: 18px;
}

.hearing-card-grid,
.diagnosis-process__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.hearing-card {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.hearing-card .dashicons {
  width: 42px;
  height: 42px;
  color: var(--blue);
  font-size: 42px;
}

.hearing-card h3,
.diagnosis-process__grid h3 {
  margin: 0;
  color: var(--navy);
  line-height: 1.45;
}

.hearing-card p,
.diagnosis-process__grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

.hearing-card .button {
  width: fit-content;
  min-width: 240px;
  margin-top: 4px;
}

.hearing-card__pending {
  padding: 12px 14px;
  border: 1px dashed #9fbfe6;
  border-radius: 8px;
  background: #f8fbff;
  color: #334d70 !important;
  font-size: 14px;
  font-weight: 800;
}

.diagnosis-process {
  padding: 30px;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  background: #f8fbff;
}

.diagnosis-process__grid article {
  position: relative;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.diagnosis-process__grid span {
  display: inline-grid;
  place-items: center;
  min-width: 38px;
  height: 30px;
  margin-bottom: 12px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.wpcf7-form label {
  color: var(--navy);
  font-weight: 500;
}

.form-label-note {
  margin-left: 4px;
  font-size: 0.78em;
  font-weight: 700;
  vertical-align: 0.04em;
}

.form-label-note--optional {
  color: #64748b;
}

.form-label-note--required {
  color: var(--blue);
}

.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form textarea,
.wpcf7-form select {
  width: 100%;
  min-height: 44px;
  margin-top: 6px;
  padding: 10px 12px;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  font: inherit;
  font-weight: 400;
  background: #fff;
}

.wpcf7-form textarea {
  min-height: 150px;
}

.wpcf7-form input::placeholder,
.wpcf7-form textarea::placeholder {
  color: #748197;
  font-weight: 400;
}

.form-help {
  margin: -8px 0 14px;
  color: #516781;
  font-size: 13px;
  line-height: 1.6;
}

.wpcf7-submit {
  min-height: 48px;
  padding: 0 24px;
  border: 1px solid rgba(232, 199, 122, 0.72);
  border-radius: 8px;
  color: #fff;
  background: var(--cta);
  font-weight: 900;
  cursor: pointer;
}

.contact-interest {
  margin: 0 0 24px;
  padding: 18px;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  background: #f8fbff;
}

.contact-interest legend {
  padding: 0 8px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.5;
  font-weight: 900;
}

.contact-interest legend span {
  margin-left: 8px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.contact-interest__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.contact-interest__option {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 48px;
  padding: 10px 12px;
  border: 1px solid #c9ddf5;
  border-radius: 8px;
  background: #fff;
  color: #253d5f;
  font-weight: 800;
  cursor: pointer;
}

.contact-interest__option input {
  width: 18px;
  height: 18px;
  accent-color: var(--orange);
}

.book-archive-grid {
  display: grid;
  gap: 22px;
}

.book-archive-card {
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 24px;
  align-items: center;
  padding: 28px 30px;
}

.book-cover--archive {
  width: 180px;
  height: 255px;
}

.book-archive-card h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 25px;
  line-height: 1.45;
}

.book-archive-card p:not(.section-kicker) {
  margin: 0 0 18px;
  color: var(--muted);
  font-weight: 400;
  line-height: 1.85;
}

.book-archive-points {
  display: grid;
  gap: 8px;
  margin: 0 0 20px;
  padding: 0;
  list-style: none;
}

.book-archive-points li {
  position: relative;
  padding-left: 18px;
  color: #294463;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.65;
}

.book-archive-points li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--orange);
}

.service-detail-hero {
  background: linear-gradient(90deg, #f3f9ff 0%, #f7fbff 58%, #eaf4ff 100%);
  border-bottom: 1px solid var(--line);
}

.service-detail-hero__inner {
  width: min(100% - 40px, var(--max));
  margin: 0 auto;
  padding: 62px 0;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 46px;
  align-items: center;
}

.service-detail-hero h1 {
  max-width: 850px;
  margin: 0;
  color: var(--navy);
  font-size: clamp(28px, 2.75vw, 38px);
  line-height: 1.28;
  font-weight: 900;
}

.service-detail-hero p:not(.section-kicker) {
  max-width: 760px;
  margin: 18px 0 0;
  color: #365071;
  font-size: 16px;
  line-height: 1.9;
  font-weight: 600;
}

.service-detail-hero .hero-buttons {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  width: auto;
}

.service-detail-hero .hero-buttons .button {
  width: auto;
  min-width: 210px;
  max-width: 320px;
  padding-inline: 24px;
}

.service-overview-page {
  background: #fff;
}

.service-overview-hero {
  background:
    linear-gradient(90deg, rgba(243, 249, 255, 0.98) 0%, rgba(247, 251, 255, 0.94) 58%, rgba(232, 244, 255, 0.9) 100%);
}

.service-overview-hero__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 44px;
  align-items: center;
}

.service-overview-hero__copy {
  min-width: 0;
}

.service-overview-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 26px;
}

.service-overview-hero__panel {
  padding: 26px;
  border: 1px solid #9fc4ed;
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.service-overview-hero__panel span,
.service-overview-hero__panel small {
  display: block;
  color: var(--blue);
  font-weight: 900;
}

.service-overview-hero__panel span {
  width: fit-content;
  min-height: 28px;
  margin-bottom: 12px;
  padding: 4px 12px;
  border-radius: 999px;
  background: var(--blue-soft);
  font-size: 13px;
}

.service-overview-hero__panel strong {
  display: block;
  color: var(--navy);
  font-size: 26px;
  line-height: 1.4;
}

.service-overview-hero__panel small {
  margin-top: 10px;
  font-size: 16px;
}

.service-overview-hero__panel b {
  display: block;
  margin-top: 12px;
  color: var(--navy);
  font-size: 30px;
  line-height: 1.15;
  font-weight: 900;
}

.service-overview-hero__panel b small {
  display: inline;
  margin: 0;
  color: var(--navy);
  font-size: 15px;
}

.service-overview-hero__panel p {
  margin: 12px 0 0;
  color: #365071;
  font-weight: 700;
}

.service-overview-hero__panel em {
  display: block;
  margin-top: 10px;
  color: #516985;
  font-size: 13px;
  font-style: normal;
  line-height: 1.7;
}

.service-detail-hero__visual {
  margin: 0;
  display: grid;
  place-items: center;
}

.service-detail-hero__visual img {
  display: block;
  width: 100%;
  max-height: 410px;
  object-fit: contain;
  filter: drop-shadow(18px 24px 30px rgba(8, 41, 92, 0.14));
}

.service-detail-hero__visual--photo img {
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.service-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-stat {
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-stat strong,
.service-stat span {
  display: block;
}

.service-stat strong {
  color: var(--navy);
  font-size: 18px;
}

.service-stat span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.75;
}

.service-readable {
  max-width: 920px;
}

.service-readable h2,
.service-section-head h2 {
  margin: 0;
  color: var(--navy);
  font-size: clamp(22px, 2.15vw, 28px);
  line-height: 1.35;
}

.service-readable p,
.service-section-head p:not(.section-kicker) {
  color: #314765;
  line-height: 1.95;
  font-weight: 400;
}

.service-section-head {
  margin-bottom: 24px;
}

.service-card-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-card-grid--three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.service-split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 34px;
  align-items: center;
}

.service-flow {
  display: grid;
  gap: 14px;
}

.service-flow__item {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-flow__item > span {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-weight: 900;
}

.service-flow__item h3 {
  margin: 0 0 6px;
  color: var(--navy);
  font-size: 18px;
}

.service-flow__item p {
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.service-framework-section {
  background: #fff;
}

.service-framework {
  max-width: 920px;
  margin: 0 auto;
  padding: 28px 34px;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbff 100%);
  text-align: center;
}

.service-framework__badge,
.service-framework__label {
  width: fit-content;
  margin: 0 auto;
  padding: 5px 18px;
  border-radius: 999px;
  color: #fff;
  font-weight: 900;
  line-height: 1.25;
}

.service-framework__badge {
  background: var(--cta);
  border: 1px solid rgba(232, 199, 122, 0.72);
  font-size: 14px;
}

.service-framework__label {
  margin-top: 16px;
  background: var(--blue);
  font-size: 13px;
}

.service-framework__diagnosis,
.service-framework__partner,
.service-framework__item {
  position: relative;
  display: grid;
  align-items: center;
  border: 3px solid var(--blue);
  border-radius: 8px;
  background: #fff;
  text-align: left;
}

.service-framework__diagnosis {
  max-width: 620px;
  margin: 8px auto 0;
  grid-template-columns: 78px 1fr;
  gap: 18px;
  padding: 22px 32px;
}

.service-framework .dashicons {
  width: auto;
  height: auto;
  color: var(--blue);
  font-size: 48px;
  line-height: 1;
}

.service-framework h3 {
  margin: 0;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.35;
}

.service-framework p {
  margin: 5px 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.55;
}

.service-framework strong {
  color: var(--blue);
}

.service-framework small {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.service-framework__connector {
  width: 4px;
  height: 34px;
  margin: 0 auto;
  background: var(--blue);
}

.service-framework__menu {
  max-width: 720px;
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px 32px;
}

.service-framework__item {
  min-height: 118px;
  grid-template-columns: 74px 1fr;
  gap: 16px;
  padding: 20px 22px;
}

.service-framework__item .dashicons {
  font-size: 46px;
}

.service-framework__num {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--blue);
  font-size: 18px;
  font-weight: 900;
}

.service-framework__item > .dashicons {
  margin-left: 28px;
}

.service-framework__item h3 {
  font-size: 18px;
}

.service-framework__item p {
  font-size: 13px;
}

.service-framework__partner {
  max-width: 720px;
  margin: 18px auto 0;
  grid-template-columns: 110px 1fr;
  gap: 24px;
  padding: 26px 34px;
  background: var(--blue-soft);
}

.service-framework__partner .dashicons {
  font-size: 72px;
}

.service-framework__note {
  margin: 18px 0 0 !important;
  color: #748197 !important;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
}

.service-side-image,
.service-map {
  margin: 0;
}

.service-side-image img,
.service-map img {
  display: block;
  width: 100%;
  border-radius: 8px;
}

.service-side-image img {
  max-height: 520px;
  object-fit: contain;
}

.service-map img {
  border: 1px solid var(--line);
}

.service-area-section .service-note {
  margin-top: 18px;
}

.service-area-note {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  background: #f8fbff;
}

.service-area-note h3 {
  margin: 0 0 8px;
  color: var(--navy);
  font-size: 17px;
  line-height: 1.45;
}

.service-area-note p {
  margin: 0 0 10px;
  color: #334d70;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.8;
}

.service-related-links {
  padding: 22px;
  border: 1px solid var(--blue-line);
  border-radius: 8px;
  background: #f8fbff;
}

.service-related-links h2 {
  margin: 0 0 10px;
  color: var(--navy);
  font-size: 22px;
  line-height: 1.45;
}

.service-related-links p:not(.section-kicker) {
  margin: 0 0 10px;
  color: #334d70;
  font-size: 14px;
  line-height: 1.8;
}

.image-zoom-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: zoom-in;
}

.image-zoom-trigger img {
  transition: box-shadow 0.2s ease;
}

.image-zoom-trigger:hover img,
.image-zoom-trigger:focus-visible img {
  box-shadow: var(--shadow-soft);
}

.image-zoom-trigger:focus-visible {
  outline: 3px solid rgba(17, 96, 191, 0.35);
  outline-offset: 5px;
  border-radius: 10px;
}

.image-zoom-trigger__label {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 6px 13px;
  border-radius: var(--radius-sm);
  background: rgba(8, 41, 92, 0.9);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
}

.image-modal {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 28px;
  background: rgba(5, 20, 45, 0.78);
}

.image-modal.is-open {
  display: flex;
}

.image-modal__frame {
  max-width: min(94vw, 1120px);
  max-height: 88vh;
  padding: 14px;
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.28);
}

.image-modal__frame img {
  display: block;
  width: auto;
  max-width: 100%;
  max-height: calc(88vh - 28px);
  border-radius: 6px;
}

.image-modal__hint {
  display: none;
}

.image-modal__close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--navy);
  font-size: 28px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
}

.service-overview-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 980px;
  margin-inline: auto;
}

.service-overview-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 260px;
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.service-overview-card--diagnosis {
  grid-column: 1 / -1;
  min-height: 260px;
  background: #f7fbff;
}

.service-overview-card--premium {
  grid-column: 1 / -1;
  min-height: 260px;
  border-color: var(--gold-line);
  background: linear-gradient(180deg, var(--gold-soft) 0%, #fff 100%);
}

.service-overview-card__num {
  position: absolute;
  top: 18px;
  right: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  height: 32px;
  padding: 0 10px;
  border-radius: 8px;
  background: var(--blue);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.service-overview-card > .dashicons {
  color: var(--blue);
  font-size: 38px;
  width: 38px;
  height: 38px;
}

.service-overview-card h3 {
  margin: 12px 0 10px;
  color: var(--navy);
  font-size: 20px;
  line-height: 1.45;
}

.service-overview-card p:not(.section-kicker) {
  color: var(--muted);
  line-height: 1.8;
}

.service-overview-card .text-link {
  align-self: flex-start;
  margin-top: auto;
  padding-top: 18px;
}

.service-check-list,
.service-plan-grid ul {
  padding-left: 1.2em;
  color: #314765;
  line-height: 1.9;
}

.service-price-grid,
.service-plan-grid,
.service-scope-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-plan-grid,
.service-scope-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.service-price-grid article,
.service-plan-grid article,
.service-scope {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-price-grid h3,
.service-plan-grid h3,
.service-scope h2 {
  margin: 0 0 12px;
  color: var(--navy);
  line-height: 1.45;
}

.service-price-grid strong,
.service-plan-grid strong {
  display: block;
  color: var(--blue);
  font-size: 30px;
  line-height: 1.2;
}

.service-price-grid small,
.service-plan-grid small {
  margin-left: 4px;
  color: var(--muted);
  font-size: 14px;
}

.service-note {
  margin: 18px 0 0;
  color: var(--muted);
  line-height: 1.8;
}

.service-scope--include {
  border-color: rgba(0, 115, 230, 0.24);
}

.service-scope--exclude {
  border-color: rgba(255, 139, 18, 0.3);
}

.service-faq-list {
  display: grid;
  gap: 12px;
}

.service-faq-list details {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.service-faq-list summary {
  cursor: pointer;
  padding: 18px 20px;
  color: var(--navy);
  font-weight: 900;
}

.service-faq-list p {
  margin: 0;
  padding: 0 20px 18px;
  color: var(--muted);
  line-height: 1.8;
}

.empty-panel {
  padding: 40px;
  text-align: center;
}

.empty-panel h2 {
  margin: 0 0 10px;
  color: var(--navy);
}

@media (max-width: 1100px) {
  .global-nav {
    display: none;
  }

  .site-header__inner {
    justify-content: space-between;
  }

  .mobile-toggle {
    display: block;
  }

  .site-header__cta {
    margin-left: auto;
  }

  .mobile-nav {
    position: fixed;
    inset: 72px 0 auto;
    max-height: calc(100vh - 72px);
    overflow: auto;
    display: none;
    padding: 18px 20px 28px;
    background: #fff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 18px 40px rgba(8, 41, 92, 0.14);
  }

  .mobile-nav.is-open {
    display: grid;
    gap: 8px;
  }

  .mobile-nav a,
  .mobile-nav summary {
    display: block;
    padding: 11px 10px;
    color: var(--navy);
    font-weight: 800;
  }

  .mobile-nav details {
    border: 1px solid var(--line);
    border-radius: 8px;
  }

  .mobile-nav details a {
    padding-left: 24px;
    color: #395274;
    font-size: 14px;
  }

  .mobile-nav__cta {
    color: #fff !important;
    background: var(--cta);
    border: 1px solid rgba(232, 199, 122, 0.72);
    border-radius: 8px;
    text-align: center;
  }

  .hero-section__inner {
    grid-template-columns: 1fr;
    padding-top: 36px;
  }

  .hero-section__visual {
    max-height: 360px;
    overflow: hidden;
    padding-right: 0;
  }

  .hero-section__visual img {
    width: min(80vw, 360px);
  }

  .speech-bubble {
    top: 24px;
    right: calc(50% - 250px);
    width: 140px;
    max-width: 30vw;
    padding: 10px 12px;
    border-radius: 22px 22px 22px 13px;
    font-size: 13px;
  }

  .speech-bubble::before {
    left: -15px;
    bottom: 11px;
    width: 13px;
    height: 13px;
  }

  .speech-bubble::after {
    left: -26px;
    bottom: 4px;
    width: 8px;
    height: 8px;
  }

  .split-grid,
  .price-services,
  .book-section,
  .three-column-section,
  .service-overview-hero__inner,
  .service-detail-hero__inner,
  .service-split,
  .service-scope-grid,
  .site-footer__inner,
  .footer-cta__inner,
  .page-hero__inner--split,
  .single-hero__inner,
  .article-shell,
  .form-layout {
    grid-template-columns: 1fr;
  }

  .mini-card-grid--problems,
  .mini-card-grid--features,
  .flow-list,
  .service-card-grid,
  .service-stat-grid,
  .post-card-grid,
  .book-list,
  .archive-card-grid,
  .service-overview-grid,
  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .article-side {
    position: static;
  }

  .single-ebook .single-hero__inner {
    grid-template-columns: 1fr;
  }

  .single-hero__image {
    max-height: 360px;
  }

  .service-detail-hero__visual img {
    max-height: 360px;
  }

  .service-price-grid,
  .service-plan-grid {
    grid-template-columns: 1fr;
  }

  .footer-cta__person {
    display: none;
  }
}

@media (min-width: 721px) and (max-width: 1100px) {
  .hero-section__inner {
    grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
    min-height: 620px;
    align-items: center;
    gap: 28px;
    padding-top: 40px;
  }

  .hero-section__copy {
    min-width: 0;
  }

  .hero-text {
    max-width: 620px;
  }

  .hero-actions {
    max-width: 520px;
  }

  .hero-section__visual {
    align-self: end;
    justify-content: center;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .hero-section__visual img {
    width: min(100%, 300px);
    max-height: 430px;
  }

  .speech-bubble {
    display: none;
  }
}

@media (max-width: 720px) {
  .site-header__inner,
  .hero-section__inner,
  .notice-strip__inner,
  .section__inner,
  .site-footer__inner,
  .site-footer__bottom,
  .footer-cta__inner,
  .service-detail-hero__inner,
  .page-hero__inner,
  .single-hero__inner,
  .content-section__inner {
    width: min(100% - 28px, var(--max));
  }

  .site-header__cta {
    display: none;
  }

  .speech-bubble {
    display: none;
  }

  .speech-bubble::before {
    left: -14px;
    bottom: 10px;
    width: 12px;
    height: 12px;
  }

  .speech-bubble::after {
    left: -24px;
    bottom: 3px;
    width: 7px;
    height: 7px;
  }

  .site-brand__text strong {
    font-size: 18px;
  }

  .hero-section h1 {
    font-size: 32px;
  }

  .hero-lead {
    font-size: 19px;
  }

  .hero-text {
    font-size: 15px;
  }

  .hero-section {
    overflow: hidden;
  }

  .hero-section__inner {
    min-height: 0;
    padding-top: 28px;
    padding-bottom: 26px;
  }

  .hero-section__copy {
    position: relative;
    z-index: 2;
  }

  .hero-label,
  .hero-section h1,
  .hero-lead {
    max-width: 100%;
  }

  .hero-label {
    padding-inline: 14px;
    font-size: 12px;
  }

  .hero-text {
    max-width: calc(100% - 120px);
  }

  .hero-section__visual {
    position: absolute;
    right: 6px;
    top: 164px;
    z-index: 1;
    width: 108px;
    max-height: none;
    padding-right: 0;
    overflow: visible;
    pointer-events: none;
  }

  .hero-section__visual img {
    width: 108px;
    max-height: none;
  }

  .hero-actions {
    margin-top: 56px;
    padding-right: 0;
  }

  .service-detail-hero__inner {
    padding: 42px 0;
    gap: 24px;
  }

  .service-detail-hero h1 {
    font-size: 30px;
  }

  .service-detail-hero p:not(.section-kicker) {
    font-size: 15px;
  }

  .service-detail-hero__visual img {
    max-height: 310px;
  }

  .hero-lead {
    font-size: 19px;
  }

  .hero-actions,
  .hero-buttons {
    display: grid;
    width: 100%;
    max-width: none;
  }

  .hero-buttons {
    grid-template-columns: 1fr;
  }

  .service-detail-hero .hero-buttons {
    display: grid;
    width: 100%;
  }

  .service-overview-hero__actions {
    display: grid;
    width: 100%;
  }

  .hero-buttons .button,
  .service-overview-hero__actions .button,
  .service-detail-hero .hero-buttons .button,
  .hero-price,
  .button--large {
    width: 100%;
    min-width: 0;
    max-width: none;
  }

  .hero-price strong {
    font-size: 34px;
  }

  .mini-card-grid--problems,
  .service-card-grid,
  .service-stat-grid,
  .mini-card-grid--features {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .flow-list,
  .post-card-grid,
  .book-list,
  .service-card-grid--two,
  .service-card-grid--three,
  .service-stat-grid,
  .archive-card-grid,
  .case-summary-grid,
  .ebook-list-grid,
  .single-post-nav__grid,
  .service-overview-grid,
  .footer-links {
    grid-template-columns: 1fr;
  }

  .service-overview-card,
  .service-overview-card--diagnosis,
  .service-overview-card--premium {
    aspect-ratio: auto;
    grid-column: auto;
    min-height: 0;
    width: 100%;
  }

  .service-overview-card {
    padding: 24px 20px;
  }

  .service-overview-card h3 {
    font-size: 20px;
  }

  .service-framework {
    max-width: 100%;
    margin-inline: auto;
    padding: 22px 16px;
  }

  .service-framework__diagnosis,
  .service-framework__partner,
  .service-framework__item {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .service-framework__diagnosis,
  .service-framework__partner {
    padding: 24px 18px;
  }

  .service-framework__menu {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-framework__item {
    padding: 22px 18px 18px;
  }

  .service-framework__item > .dashicons {
    margin-left: 0;
    margin-top: 16px;
  }

  .service-framework__num {
    top: 12px;
    left: 12px;
  }

  .service-framework h3 {
    font-size: 19px;
  }

  .image-modal {
    align-items: flex-start;
    justify-content: flex-start;
    padding: 64px 12px 18px;
    overflow: auto;
  }

  .image-modal__frame {
    width: max-content;
    min-width: calc(100vw - 24px);
    max-width: none;
    max-height: none;
    padding: 8px;
  }

  .image-modal__frame img {
    width: auto;
    min-width: 760px;
    max-width: none;
    max-height: none;
  }

  .image-modal__hint {
    display: block;
    position: fixed;
    left: 14px;
    bottom: 14px;
    z-index: 1001;
    padding: 8px 12px;
    border-radius: 8px;
    background: rgba(8, 41, 92, 0.92);
    color: #fff;
    font-size: 12px;
    font-weight: 800;
  }

  .mini-card {
    min-height: 104px;
    padding: 14px 8px;
  }

  .mini-card .dashicons,
  .service-card .dashicons,
  .flow-item .dashicons {
    font-size: 30px;
  }

  .mini-card p {
    font-size: 12px;
    line-height: 1.45;
  }

  .mini-card--wide {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    padding: 16px 12px;
  }

  .service-card {
    padding: 18px 12px;
  }

  .service-card h3 {
    font-size: 15px;
  }

  .service-card p {
    font-size: 12px;
  }

  .case-detail-section {
    padding: 20px;
  }

  .ebook-detail-section {
    padding: 20px;
  }

  .single-post-nav__card--next {
    text-align: left;
  }

  .book-card,
  .compact-post {
    grid-template-columns: 86px 1fr;
  }

  .book-section h2 {
    font-size: 26px;
    line-height: 1.35;
  }

  .book-cover--card {
    width: 86px;
    height: 122px;
  }

  .company-character {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 14px;
    padding: 14px;
  }

  .company-character__image img {
    width: 92px;
    height: 124px;
  }

  .company-character h3 {
    font-size: 18px;
  }

  .company-character p:not(.section-kicker) {
    font-size: 13px;
  }

  .section {
    padding: 48px 0;
  }

  .page-hero__inner,
  .single-hero__inner {
    padding: 42px 0;
  }

  .page-hero h1,
  .single-hero h1 {
    font-size: 27px;
  }

  .single-ebook .single-hero h1 {
    font-size: 27px;
    line-height: 1.45;
  }

  .page-hero p:not(.section-kicker),
  .single-hero p:not(.section-kicker) {
    font-size: 15px;
  }

  .content-section {
    padding: 44px 0;
  }

  .book-archive-card {
    grid-template-columns: 96px 1fr;
    gap: 16px;
    padding: 18px;
  }

  .book-cover--archive {
    width: 96px;
    height: 136px;
  }

  .book-archive-card h2 {
    font-size: 18px;
  }

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

  .company-message {
    padding: 22px;
  }

  .company-message h2 {
    font-size: 22px;
  }

  .service-readable h2,
  .service-section-head h2 {
    font-size: 22px;
  }

  .service-flow__item {
    grid-template-columns: 36px 1fr;
    padding: 16px;
  }

  .service-price-grid article,
  .service-plan-grid article,
  .service-scope,
  .service-stat {
    padding: 18px;
  }

  .service-price-grid strong,
  .service-plan-grid strong {
    font-size: 25px;
  }

  .legal-body > p:first-child,
  .legal-note {
    padding: 16px;
  }

  .form-intro,
  .form-panel,
  .side-cta,
  .apply-price-card,
  .hearing-card,
  .diagnosis-process {
    padding: 20px;
  }

  .side-cta .section-kicker {
    width: calc(100% + 40px);
    margin: -20px -20px 20px;
  }

  .apply-price-card strong {
    font-size: 34px;
  }

  .article-body h2 {
    font-size: 24px;
  }

  .article-body h3 {
    font-size: 20px;
  }

  .legal-row {
    grid-template-columns: 1fr;
  }

  .contact-interest__grid {
    grid-template-columns: 1fr;
  }

  .hearing-card-grid,
  .diagnosis-process__grid {
    grid-template-columns: 1fr;
  }

  .hearing-card .button {
    width: 100%;
    min-width: 0;
  }

  .contact-interest legend span {
    display: block;
    margin: 2px 0 0;
  }

  .back-to-top {
    right: 14px;
    bottom: 14px;
    width: 42px;
    height: 42px;
  }

  #haaa-chatbot,
  #haaa-chatbot .haaa-speech-bubble {
    display: none !important;
  }
}

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

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
