:root {
  --brand: #f17a22;
  --brand-dark: #c95400;
  --brand-soft: #fff2e8;
  --brand-pale: #fff8f3;
  --line-green: #06c755;
  --ink: #24211f;
  --ink-soft: #5e5854;
  --navy: #2a3f4a;
  --navy-pale: #f1f4f5;
  --border: #e8e1dc;
  --surface: #ffffff;
  --surface-alt: #fbf8f5;
  --shadow: 0 14px 38px rgba(57, 39, 28, 0.08);
  --shadow-soft: 0 10px 28px rgba(42, 63, 74, 0.07);
  --container: 1180px;
  --font: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", sans-serif;

  /* ==================================================
     TYPOGRAPHY TOKENS
     下限12px。本文16pxを基準に、見出し階層を明確化する。
  ================================================== */
  --font-size-smallest: 0.5rem; /* 8px：メニュー用 例外 */
  --font-size-caption: 0.75rem; /* 12px：注記・日付・補助情報の下限 */
  --font-size-micro: var(--font-size-caption);
  --font-size-tiny: var(--font-size-caption);
  --font-size-label: var(--font-size-caption);
  --font-size-small: 0.8125rem; /* 13px：短い補足・コンパクトUI */
  --font-size-body-small: 0.875rem; /* 14px：カード補足・ナビゲーション */
  --font-size-ui: 0.875rem; /* 14px：ボタン・UIラベル */
  --font-size-body-medium: 0.9375rem; /* 15px：リード補助 */
  --font-size-body: 1rem; /* 16px：本文の基準 */
  --font-size-body-large: 1.125rem; /* 18px：強調本文 */
  --font-size-subtitle: 1.25rem; /* 20px：小見出し */
  --font-size-card-title: 1.375rem; /* 22px：カード見出し */
  --font-size-icon-large: 1.5rem; /* 24px：文字アイコン */
  --font-size-heading-xs: 1.5rem; /* 24px：小見出し上限 */
  --font-size-heading-sm: 1.75rem; /* 28px：大見出し下限 */
  --font-size-heading-md: 2rem; /* 32px：大見出し */
  --font-size-heading-mobile: 1.75rem; /* 28px：スマホのセクション見出し */
  --font-size-heading-lg: 2.25rem; /* 36px：大見出し上限 */
  --font-size-lower-hero-mobile: 2.25rem; /* 36px：下層キービジュアル */
  --font-size-hero-mobile: 2.5rem; /* 40px：トップのキャッチ */

  /* Fluid headings：大見出し28〜36px／キャッチ48〜64px */
  --font-size-section-heading: clamp(1.75rem, 3.2vw, 2.25rem);
  --font-size-hero-heading: clamp(3rem, 4.2vw, 3.6rem);
  --font-size-lower-hero-heading: clamp(3rem, 4.2vw, 3.6rem);
  --font-size-content-heading: clamp(1.75rem, 3.2vw, 2.25rem);
  --font-size-content-heading-compact: clamp(1.75rem, 3vw, 2.125rem);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  color: var(--ink);
  background: var(--surface);
  font-family: var(--font);
  font-size: var(--font-size-body);
  line-height: 1.85;
  letter-spacing: 0.045em;
}

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

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

button,
input,
textarea,
select {
  font: inherit;
}

summary,
button,
a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #185cc9;
  outline-offset: 4px;
}
img {
  width: 100%;
}

.sp {
  display: none;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 9999;
  padding: 10px 14px;
  color: #ffffff;
  background: #111111;
  transform: translateY(-180%);
}

.skip-link:focus {
  transform: translateY(0);
}

.container {
  width: min(calc(100% - 48px), var(--container));
  margin: 0 auto;
}

.section {
  padding: 112px 0;
}

.section--white {
  background: #ffffff;
}

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

.section-label,
.eyebrow {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: var(--font-size-label);
  font-weight: 700;
  letter-spacing: 0.22em;
}

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

.section-heading--center {
  max-width: 800px;
  margin-right: auto;
  margin-bottom: 54px;
  margin-left: auto;
  text-align: center;
}

.section-heading--split {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 48px;
}

.section-heading--split > div {
  flex: 0 0 auto;
}

.section-heading--split > p {
  max-width: 590px;
  margin: 0 0 8px;
}

.section-heading h2,
.office-hero h2,
.blog-intro h2,
.faq-intro h2,
.contact-strip h2 {
  margin: 0 0 18px;
  font-size: var(--font-size-section-heading);
  font-weight: 600;
  line-height: 1.45;
  letter-spacing: 0.075em;
}

.section-heading p,
.office-hero p,
.blog-intro p,
.faq-intro p,
.contact-strip p {
  margin: 0;
  color: var(--ink-soft);
}

.button {
  min-height: 52px;
  padding: 13px 24px;
  border: 1px solid transparent;
  border-radius: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: var(--font-size-ui);
  font-weight: 700;
  letter-spacing: 0.055em;
  transition:
    transform 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--header {
  min-height: 39px;
  padding: 8px 14px;
  font-size: var(--font-size-label);
}

.button--line {
  color: #ffffff;
  background: var(--line-green);
}

.button--line:hover {
  background: #02aa49;
}

.button--brand {
  color: #ffffff;
  background: var(--brand);
}

.button--brand:hover {
  background: var(--brand-dark);
}

.button--outline-brand {
  color: var(--brand-dark);
  background: #ffffff;
  border-color: var(--brand);
}

.button--outline-brand:hover {
  color: #ffffff;
  background: var(--brand);
}

.button--white {
  color: var(--brand-dark);
  background: #ffffff;
}

.button--tel {
  color: #ffffff;
  background: var(--navy);
}

.mobile-only {
  display: none;
}

.text-link {
  margin-top: 20px;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  color: var(--brand-dark);
  font-size: var(--font-size-ui);
  font-weight: 700;
}

.text-link span {
  transition: transform 0.2s ease;
}

.text-link:hover span {
  transform: translateX(5px);
}

.section-action {
  margin-top: 42px;
  text-align: center;
}

/* Header */
.site-header {
  position: relative;
  z-index: 50;
  background: #ffffff;
}

.header-meta {
  border-bottom: 1px solid #f0ece8;
}

.header-meta__inner {
  min-height: 31px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font-size: var(--font-size-tiny);
}

.header-meta__inner p {
  margin: 0;
}

.header-meta__links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-main {
  min-height: 110px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
}

.brand {
  width: 30%;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
footer .brand {
  width: 80%;
}

.brand__mark {
  width: 39px;
  height: 39px;
  color: var(--brand);
}

.brand__logo {
  display: block;
  height: 40px;
  width: auto;
}

.brand__text strong,
.brand__text small {
  display: block;
}

.brand__text strong {
  font-size: var(--font-size-body);
  font-weight: 700;
  letter-spacing: 0.035em;
}

.brand__text small {
  margin-top: 2px;
  color: #77716e;
  font-size: var(--font-size-micro);
  letter-spacing: 0.18em;
}

.header-main__right {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  gap: 20px;
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
}

.global-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-wrap: wrap;
  gap: 19px;
}

.global-nav a {
  position: relative;
  font-size: var(--font-size-label);
  font-weight: 600;
  white-space: nowrap;
}

.global-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -8px;
  left: 0;
  height: 2px;
  background: var(--brand);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.2s ease;
}

.global-nav a:hover::after {
  transform: scaleX(1);
}

.menu-button {
  width: 48px;
  height: 48px;
  padding: 4px;
  border: 0;
  display: none;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.menu-button span {
  width: 23px;
  height: 1px;
  margin: 5px auto;
  display: block;
  background: currentColor;
}

.menu-button em {
  display: block;
  font-size: var(--font-size-smallest);
  font-style: normal;
}

.mobile-menu {
  padding: 6px 24px 24px;
  border-top: 1px solid var(--border);
  background: #ffffff;
}

.mobile-menu a {
  padding: 13px 0;
  border-bottom: 1px solid var(--border);
  display: block;
  font-size: var(--font-size-ui);
  font-weight: 600;
}

/* Hero */
.hero {
  position: relative;
  overflow: hidden;
  background: #ffffff;
}

.hero::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 0;
  right: 0;
  bottom: 0;
  width: 54%;
  background-image: url("../images/hero-collage.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}

.hero__inner {
  min-height: 675px;
  position: relative;
  z-index: 2;
  display: flex;
  align-items: stretch;
}

.hero__copy {
  width: 52%;
  min-width: 0;
  padding-top: 98px;
  padding-right: 72px;
  padding-bottom: 82px;
  padding-left: max(24px, calc((100vw - var(--container)) / 2));
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
}

.hero h1 {
  margin: 0 0 30px;
  font-size: var(--font-size-hero-heading);
  font-weight: 500;
  line-height: 1.42;
  letter-spacing: 0.09em;
}

.hero__lead {
  margin: 0 0 28px;
  font-size: var(--font-size-body-medium);
  font-weight: 600;
  line-height: 2.05;
}

.hero__actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.hero__note {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: var(--font-size-label);
}

.hero__scroll {
  position: absolute;
  z-index: 2;
  right: 13px;
  bottom: 18px;
  padding-top: 52px;
  color: var(--ink);
  font-size: var(--font-size-micro);
  font-weight: 700;
  letter-spacing: 0.16em;
  writing-mode: vertical-rl;
}

.hero__scroll::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 42px;
  background: var(--brand);
}

/* About */
.feature-list {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 60px;
}

.feature-item {
  flex: 1 1 0;
  text-align: center;
}

.feature-item__icon {
  display: block;
  width: 85%;
  margin: 0 auto 20px;
}

.feature-item h3 {
  margin: 30px 0 15px 0;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  line-height: 1.65;
}

.feature-item p {
  max-width: 300px;
  margin: 0 auto;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

/* Courses */
.course-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
}

.course-list--large {
  gap: 22px;
}

.course-list--compact {
  margin-top: 22px;
  gap: 22px;
}

.course-card {
  min-width: 0;
  position: relative;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(72, 45, 27, 0.055);
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease;
}

.course-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.course-card--large {
  width: calc((100% - 44px) / 3);
}

.course-card--compact {
  width: calc((100% - 44px) / 3);
  display: flex;
  align-items: stretch;
}

.course-card img {
  width: 100%;
  object-fit: cover;
}

.course-card--large img {
  aspect-ratio: 16 / 7.1;
}

.course-card--compact img {
  width: 42%;
  min-height: 180px;
  object-fit: cover;
}

.course-card__body {
  min-width: 0;
  position: relative;
  padding: 22px 24px 28px;
}

.course-card--compact .course-card__body {
  width: 58%;
  padding: 20px 42px 20px 20px;
}

.course-card__index {
  margin: 0 0 4px !important;
  color: var(--brand-dark) !important;
  font-size: var(--font-size-caption) !important;
  font-weight: 700;
  letter-spacing: 0.16em;
}

.course-card h3 {
  margin: 0 0 12px;
  font-size: var(--font-size-body-large);
  font-weight: 700;
  line-height: 1.55;
}

.course-card p {
  margin: 0 0 17px;
  color: var(--ink-soft);
  font-size: var(--font-size-small);
  line-height: 1.8;
}

.course-card dl {
  margin: 0;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: var(--font-size-label);
}

.course-card dt {
  color: var(--brand-dark);
  font-weight: 700;
}

.course-card dd {
  margin: 4px 34px 0 0;
  line-height: 1.75;
}

.circle-arrow {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 28px;
  height: 28px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  font-size: var(--font-size-body-small);
}

.course-note {
  max-width: 840px;
  margin: 28px auto 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
  text-align: center;
}

/* Flow */
.section--flow {
  background: #ffffff;
}

.step-list {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  justify-content: center;
  list-style: none;
}

.step-list li {
  min-width: 0;
  flex: 1 1 0;
  min-height: 215px;
  position: relative;
  padding: 44px 20px 24px;
  border: 1px solid var(--border);
  background: #ffffff;
  text-align: center;
}

.step-list li + li {
  margin-left: 26px;
}

.step-list li + li::before {
  content: "→";
  position: absolute;
  top: 50%;
  left: -20px;
  color: var(--brand);
  font-size: var(--font-size-subtitle);
  transform: translateY(-50%);
}

.step-list__number {
  position: absolute;
  top: -18px;
  left: 50%;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--brand);
  font-size: var(--font-size-caption);
  font-weight: 700;
  transform: translateX(-50%);
}

.step-list small {
  color: var(--brand-dark);
  font-size: var(--font-size-tiny);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.step-list h3 {
  margin: 8px 0 11px;
  font-size: var(--font-size-body-medium);
}

.step-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-label);
  line-height: 1.75;
}

.flow-detail {
  margin-top: 78px;
  padding: 48px;
  display: flex;
  align-items: flex-start;
  gap: 48px;
  background: var(--brand-pale);
  border-top: 3px solid var(--brand);
}

.flow-detail__intro {
  width: 29%;
  flex: 0 0 auto;
}

.flow-detail__intro h3 {
  margin: 0 0 14px;
  font-size: var(--font-size-heading-sm);
  line-height: 1.55;
}

.flow-detail__intro p:last-child {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.career-list {
  width: 71%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 18px 0;
  list-style: none;
}

.career-list li {
  width: 33.333%;
  position: relative;
  padding: 0 22px 0 42px;
}

.career-list li span {
  position: absolute;
  top: 2px;
  left: 0;
  width: 28px;
  height: 28px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  background: #ffffff;
  font-size: var(--font-size-tiny);
  font-weight: 700;
}

.career-list h4 {
  margin: 0 0 4px;
  font-size: var(--font-size-body-small);
}

.career-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
  line-height: 1.65;
}

/* Stories */
.story-list {
  display: flex;
  align-items: stretch;
  gap: 22px;
}

.story-card {
  width: calc((100% - 44px) / 3);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
}

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

.story-card__body {
  padding: 24px;
}

.story-card__tag {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.story-card h3 {
  margin: 0 0 18px;
  font-size: var(--font-size-body-large);
  line-height: 1.7;
}

.story-card dl {
  margin: 0;
  font-size: var(--font-size-label);
}

.story-card dt {
  margin-top: 12px;
  color: var(--brand-dark);
  font-weight: 700;
}

.story-card dd {
  margin: 3px 0 0;
  color: var(--ink-soft);
  line-height: 1.75;
}

/* Offices */
.office-hero {
  display: flex;
  align-items: center;
  gap: 64px;
}

.office-hero__image {
  width: 55%;
  flex: 0 0 auto;
}

.office-hero__image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
}

.office-hero__text {
  flex: 1 1 auto;
}

.office-list {
  margin-top: 28px;
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.office-card {
  width: calc((100% - 32px) / 3);
  padding: 13px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 14px;
  background: #ffffff;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.office-card:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}

.office-card img {
  width: 34%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

.office-card div {
  min-width: 0;
  flex: 1 1 auto;
}

.office-card h3 {
  margin: 0 0 8px;
  font-size: var(--font-size-body-small);
  line-height: 1.55;
}

.office-card p {
  margin: 0 0 7px;
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
}

.office-card span {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
}

/* Blog */
.section--blog {
  background: var(--surface-alt);
}

.blog-layout {
  display: flex;
  align-items: flex-start;
  gap: 48px;
}

.blog-intro {
  width: 25%;
  flex: 0 0 auto;
}

.blog-intro h2 {
  font-size: var(--font-size-heading-lg);
}

.blog-list {
  width: 75%;
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.blog-card {
  width: calc((100% - 32px) / 3);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #ffffff;
}

.blog-card img {
  width: 100%;
  height: 160px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-card div {
  padding: 18px;
}

.blog-card p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: var(--font-size-tiny);
}

.blog-card p span {
  margin-left: 8px;
  color: var(--brand-dark);
}

.blog-card h3 {
  margin: 0;
  font-size: var(--font-size-body-small);
  line-height: 1.7;
}

/* FAQ */
.faq-layout {
  display: flex;
  align-items: flex-start;
  gap: 72px;
}

.faq-intro {
  width: 29%;
  flex: 0 0 auto;
  position: sticky;
  top: 24px;
}

.faq-list {
  width: 71%;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.faq-list details {
  width: 100%;
  border-top: 1px solid var(--border);
}

.faq-list details:last-child {
  border-bottom: 1px solid var(--border);
}

.faq-list summary {
  min-height: 85px;
  padding: 22px 42px 22px 0;
  position: relative;
  display: flex;
  align-items: center;
  cursor: pointer;
  font-size: var(--font-size-body-small);
  font-weight: 600;
  list-style: none;
}

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

.faq-list summary::after {
  content: "+";
  position: absolute;
  right: 8px;
  top: 50%;
  color: var(--brand);
  font-size: var(--font-size-icon-large);
  font-weight: 400;
  transform: translateY(-50%);
}

.faq-list details[open] summary::after {
  content: "−";
}

.faq-list details p {
  margin: 0;
  padding: 0 26px 24px 0;
  color: var(--ink-soft);
  font-size: var(--font-size-small);
  line-height: 1.8;
}

/* Contact and audience */
.contact-strip {
  padding: 58px 0;
  color: #ffffff;
  background: var(--brand);
}

.contact-strip__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 50px;
}

.contact-strip .section-label {
  color: #ffffff;
}

.contact-strip h2 {
  margin-bottom: 8px;
  font-size: var(--font-size-heading-md);
}

.contact-strip p {
  color: rgba(255, 255, 255, 0.84);
}

.contact-strip__buttons {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.contact-strip__buttons .button {
  min-width: 185px;
}

.audience-links {
  padding: 30px 0;
  background: var(--brand-soft);
}

.audience-links__inner {
  display: flex;
  align-items: stretch;
  gap: 12px;
}

.audience-links a {
  width: calc((100% - 36px) / 4);
  padding: 22px 24px;
  border: 1px solid #f0c8aa;
  background: #ffffff;
  transition:
    border-color 0.2s ease,
    transform 0.2s ease;
}

.audience-links a:hover {
  border-color: var(--brand);
  transform: translateY(-3px);
}

.audience-links span,
.audience-links small {
  display: block;
}

.audience-links span {
  margin-bottom: 5px;
  font-size: var(--font-size-body-medium);
  font-weight: 700;
}

.audience-links small {
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
}

/* Footer */
.site-footer {
  padding: 74px 0 24px;
  color: #ffffff;
  background: var(--navy);
}

.footer-top {
  display: flex;
  align-items: flex-start;
  gap: 74px;
}

.footer-brand {
  width: 30%;
  flex: 0 0 auto;
}

.brand--footer {
  color: #ffffff;
}

.brand--footer .brand__mark {
  color: var(--brand);
}

.brand--footer .brand__text small {
  color: rgba(255, 255, 255, 0.55);
}

.footer-brand > p {
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.66);
  font-size: var(--font-size-label);
  line-height: 1.9;
}

.footer-brand__operator {
  font-size: var(--font-size-caption) !important;
}

.footer-nav {
  width: 70%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 34px;
}

.footer-nav__column {
  min-width: 0;
  flex: 1 1 0;
}

.footer-nav h3 {
  margin: 0 0 17px;
  color: #ffffff;
  font-size: var(--font-size-small);
}

.footer-nav a {
  margin: 8px 0;
  display: block;
  color: rgba(255, 255, 255, 0.66);
  font-size: var(--font-size-caption);
  line-height: 1.6;
}

.footer-nav a:hover {
  color: #ffffff;
}

.footer-offices {
  margin-top: 48px;
  padding: 25px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
  display: flex;
  gap: 34px;
}

.footer-offices div {
  width: calc((100% - 68px) / 3);
}

.footer-offices strong,
.footer-offices span {
  display: block;
}

.footer-offices strong {
  margin-bottom: 5px;
  font-size: var(--font-size-label);
}

.footer-offices span {
  color: rgba(255, 255, 255, 0.58);
  font-size: var(--font-size-tiny);
}

.footer-bottom {
  padding-top: 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.48);
  font-size: var(--font-size-tiny);
}

.footer-bottom p {
  margin: 0;
}

.mobile-cta {
  display: none;
}

/* Responsive */
@media (max-width: 1180px) {
  .header-main {
    min-height: 78px;
  }

  .header-main__right {
    flex-direction: row;
    justify-content: flex-end;
  }

  .global-nav {
    display: none;
  }

  .menu-button {
    display: block;
  }

  .hero::after {
    width: 52%;
  }

  .hero__copy {
    width: 52%;
    padding-right: 44px;
  }

  .course-card--large,
  .course-card--compact {
    width: calc((100% - 22px) / 2);
  }

  .story-list {
    flex-wrap: wrap;
  }

  .story-card {
    width: calc((100% - 22px) / 2);
  }

  .step-list {
    flex-wrap: wrap;
    gap: 42px 24px;
  }

  .step-list li {
    flex: 0 0 calc((100% - 48px) / 3);
  }

  .step-list li + li {
    margin-left: 0;
  }

  .step-list li + li::before {
    display: none;
  }

  .career-list li {
    width: 50%;
  }

  .audience-links__inner {
    flex-wrap: wrap;
  }

  .audience-links a {
    width: calc((100% - 12px) / 2);
  }
}

@media (max-width: 900px) {
  .header-meta {
    display: none;
  }

  .header-actions .button {
    display: none;
  }

  .hero::after {
    width: 48%;
  }

  .hero__inner {
    min-height: 610px;
  }

  .hero__copy {
    width: 56%;
    padding: 64px 36px 54px 24px;
  }

  .feature-list {
    gap: 60px;
  }

  .flow-detail,
  .office-hero,
  .blog-layout,
  .faq-layout,
  .footer-top {
    flex-direction: column;
  }

  .flow-detail__intro,
  .career-list,
  .office-hero__image,
  .blog-intro,
  .blog-list,
  .faq-intro,
  .faq-list,
  .footer-brand,
  .footer-nav {
    width: 100%;
  }

  .faq-intro {
    position: static;
  }

  .office-list,
  .blog-list {
    flex-wrap: wrap;
  }

  .office-card,
  .blog-card {
    width: calc((100% - 16px) / 2);
  }

  .contact-strip__inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-strip__buttons {
    width: 100%;
    justify-content: flex-start;
  }

  .footer-nav {
    flex-wrap: wrap;
  }

  .footer-nav__column {
    flex: 0 0 calc((100% - 34px) / 2);
  }
}

@media (max-width: 640px) {
  body {
    font-size: var(--font-size-body);
  }

  .sp {
    display: inline;
  }

  .has-mobile-cta {
    padding-bottom: 66px;
  }

  .container {
    width: min(calc(100% - 32px), var(--container));
  }

  .section {
    padding: 76px 0;
  }

  .header-main {
    min-height: 70px;
  }

  .brand {
    width: 45%;
  }

  .brand__mark {
    width: 32px;
    height: 32px;
  }

  .brand__text strong {
    font-size: var(--font-size-body-small);
  }

  .brand__text small {
    display: none;
  }

  .brand__logo {
    height: 30px;
  }

  .header-main__right {
    flex: 0 0 auto;
  }

  .hero {
    min-height: 650px;
  }

  .hero::after {
    width: 100%;
    background-position: center center;
  }

  .hero::before {
    content: "";
    position: absolute;
    z-index: 1;
    inset: 0;
    background: #ffffff;
    opacity: 0.5;
    pointer-events: none;
  }

  .hero__inner {
    min-height: 650px;
    position: relative;
    z-index: 2;
  }

  .hero__copy {
    width: 100%;
    padding: 76px 24px 70px;
    background: transparent;
  }

  .hero h1 {
    font-size: var(--font-size-hero-mobile);
    line-height: 1.45;
  }

  .hero__lead br {
    display: none;
  }

  .hero__actions {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  .hero__actions .button {
    width: 100%;
  }

  .hero__scroll {
    display: none;
  }

  .section-heading h2,
  .office-hero h2,
  .blog-intro h2,
  .faq-intro h2,
  .contact-strip h2 {
    font-size: var(--font-size-heading-mobile);
  }

  .section-heading p br {
    display: none;
  }

  .section-heading--split {
    flex-direction: column;
    align-items: flex-start;
    gap: 15px;
  }

  .feature-list {
    flex-direction: column;
  }

  .feature-item {
    width: 100%;
  }

  .course-list--large,
  .course-list--compact {
    gap: 16px;
  }

  .course-card--large,
  .course-card--compact {
    width: 100%;
  }

  .course-card--compact img {
    width: 39%;
    min-height: 160px;
  }

  .course-card--compact .course-card__body {
    width: 61%;
  }

  .step-list {
    flex-direction: column;
    gap: 36px;
  }

  .step-list li {
    width: 100%;
    flex-basis: auto;
    min-height: 0;
    padding: 38px 24px 24px;
    text-align: left;
  }

  .flow-detail {
    padding: 30px 22px;
    gap: 28px;
  }

  .career-list {
    flex-direction: column;
    gap: 20px;
  }

  .career-list li {
    width: 100%;
  }

  .story-list,
  .office-list,
  .blog-list {
    flex-direction: column;
  }

  .story-card,
  .office-card,
  .blog-card {
    width: 100%;
  }

  .school-partner-list {
    flex-direction: column;
  }

  .school-partner-list .story-card {
    width: 100%;
  }
  #features .story-card {
    width: 100%;
  }

  .office-hero {
    gap: 34px;
  }

  .office-hero__image img {
    aspect-ratio: 4 / 3;
  }

  .faq-list summary {
    min-height: 76px;
  }

  .contact-strip__buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-strip__buttons .button {
    width: 100%;
    min-width: 0;
  }

  .mobile-only {
    display: inline-flex;
  }

  .audience-links__inner {
    flex-direction: column;
  }

  .audience-links a {
    width: 100%;
  }

  .footer-top {
    gap: 38px;
  }

  .footer-nav {
    flex-direction: column;
  }

  .footer-nav__column {
    width: 100%;
    flex-basis: auto;
  }

  .footer-offices {
    flex-direction: column;
  }

  .footer-offices div {
    width: 100%;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  /* TOP PAGE ONLY: fixed mobile CTA */
  .mobile-cta {
    position: fixed;
    z-index: 1000;
    right: 0;
    bottom: 0;
    left: 0;
    height: 66px;
    display: flex;
    box-shadow: 0 -5px 20px rgba(0, 0, 0, 0.16);
  }

  .mobile-cta a {
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: var(--font-size-small);
    font-weight: 700;
  }

  .mobile-cta__line {
    width: 40%;
    background: var(--line-green);
  }

  .mobile-cta__form {
    width: 40%;
    background: var(--brand);
  }

  .mobile-cta__tel {
    width: 20%;
    background: var(--navy);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ==================================================
   07. LOWER PAGE COMMON
   下層ページ共通：パンくず・ページヒーロー・見出し・関連導線
================================================== */
.breadcrumb {
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.breadcrumb__inner {
  min-height: 48px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  color: var(--ink-soft);
  font-size: var(--font-size-label);
}

.breadcrumb a {
  color: var(--brand-dark);
  font-weight: 600;
}

.lower-hero {
  overflow: hidden;
  background: var(--brand-pale);
}

.lower-hero__inner {
  min-height: 520px;
  display: flex;
  align-items: stretch;
}

.lower-hero__copy {
  width: 50%;
  padding: 92px 76px 84px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.lower-hero h1 {
  margin: 0 0 24px;
  font-size: var(--font-size-lower-hero-heading);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.lower-hero__lead {
  max-width: 610px;
  margin: 0 0 18px;
  color: var(--ink);
  font-size: var(--font-size-subtitle);
  font-weight: 500;
  line-height: 2;
}

.lower-hero__note {
  max-width: 600px;
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.lower-hero__visual {
  width: 50%;
  min-height: 520px;
  margin: 0;
  position: relative;
}

.lower-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.lower-hero__visual figcaption,
.first-guide-cra-support__visual figcaption {
  position: absolute;
  right: 18px;
  bottom: 18px;
  padding: 8px 12px;
  color: var(--navy);
  background: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-caption);
  font-weight: 600;
}

.local-nav {
  border-bottom: 1px solid var(--border);
  background: #ffffff;
}

.local-nav__inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  gap: 34px;
}

.local-nav__inner > p {
  flex: 0 0 auto;
  margin: 0;
  color: var(--navy);
  font-size: var(--font-size-small);
  font-weight: 700;
}

.local-nav__links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.local-nav__links a {
  padding: 8px 13px;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: #ffffff;
  font-size: var(--font-size-label);
  font-weight: 600;
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.local-nav__links a:hover,
.local-nav__links a[aria-current="location"] {
  color: #ffffff;
  border-color: var(--brand);
  background: var(--brand);
}

.page-section {
  padding: 112px 0;
  scroll-margin-top: 24px;
}

.page-section ul {
  padding: 0;
  margin: 0;
}
.page-section ul li {
  list-style: none;
}

.page-section--white {
  background: #ffffff;
}

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

.page-section--navy {
  color: #ffffff;
  background: var(--navy);
}

.content-heading {
  max-width: 760px;
  margin-bottom: 50px;
}

.content-heading--center {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.content-heading h2 {
  margin: 0 0 20px;
  font-size: var(--font-size-content-heading);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.07em;
}

.content-heading p {
  margin: 0;
  color: var(--ink-soft);
}

.content-heading--light p {
  color: rgba(255, 255, 255, 0.76);
}

.content-heading--light .section-label {
  color: #ffc69b;
}

.message-panel {
  margin-top: 46px;
  padding: 28px 34px;
  display: flex;
  align-items: flex-start;
  gap: 24px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.message-panel--brand {
  border-left: 5px solid var(--brand);
}

.message-panel__label {
  flex: 0 0 auto;
  padding: 5px 9px;
  color: #ffffff;
  background: var(--brand);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.message-panel h3 {
  margin: 0 0 8px;
  font-size: var(--font-size-subtitle);
}

.message-panel p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.related-pages {
  padding: 92px 0;
  background: var(--surface-alt);
}

.related-page-list {
  display: flex;
  align-items: stretch;
  gap: 16px;
}

.related-page-card {
  width: calc((100% - 32px) / 3);
  min-height: 150px;
  padding: 28px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 18px;
  background: #ffffff;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.related-page-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.related-page-card > span {
  flex: 0 0 auto;
  color: var(--brand);
  font-size: var(--font-size-label);
  font-weight: 700;
}

.related-page-card > div {
  min-width: 0;
  flex: 1 1 auto;
}

.related-page-card strong,
.related-page-card small {
  display: block;
}

.related-page-card strong {
  margin-bottom: 7px;
  font-size: var(--font-size-body-medium);
}

.related-page-card small {
  color: var(--ink-soft);
  font-size: var(--font-size-label);
  line-height: 1.7;
}

.related-page-card i {
  flex: 0 0 auto;
  color: var(--brand-dark);
  font-style: normal;
  font-size: var(--font-size-subtitle);
}

/* ==================================================
   08. PAGE: FIRST GUIDE
   /first-guide/
================================================== */

/* ---------- First Guide: Hero ---------- */
.lower-hero--first-guide {
  background: linear-gradient(
    110deg,
    #ffffff 0 50%,
    var(--brand-pale) 50% 100%
  );
}

/* ---------- First Guide: Purpose ---------- */
.first-guide-purpose-list {
  display: flex;
  align-items: stretch;
  gap: 22px;
}

.first-guide-purpose-card {
  width: calc((100% - 44px) / 3);
  min-height: 350px;
  padding: 28px;
  position: relative;
  border: 1px solid var(--border);
  background: #ffffff;
}

.first-guide-purpose-card__number {
  position: absolute;
  top: 22px;
  right: 22px;
  color: #d7c9c0;
  font-size: var(--font-size-label);
  font-weight: 700;
}

.first-guide-purpose-card__icon {
  width: 68px;
  height: 68px;
  margin-bottom: 30px;
  border: 1px solid #e8b48d;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand);
  background: var(--brand-pale);
}

.first-guide-purpose-card__icon svg {
  width: 38px;
  height: 38px;
}

.first-guide-purpose-card h3 {
  margin: 0 0 14px;
  font-size: var(--font-size-card-title);
  line-height: 1.65;
}

.first-guide-purpose-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

/* ---------- First Guide: Eligibility ---------- */
.first-guide-eligibility-layout {
  display: flex;
  align-items: flex-start;
  gap: 78px;
}

.first-guide-eligibility-main {
  width: calc(65% - 39px);
}

.check-card-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  list-style: none;
}

.check-card-list li {
  width: calc((100% - 14px) / 2);
  min-height: 170px;
  padding: 26px 24px 24px 54px;
  position: relative;
  border: 1px solid var(--border);
  background: #ffffff;
}

.check-card-list li::before {
  content: "✓";
  position: absolute;
  top: 25px;
  left: 23px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--brand);
  font-size: var(--font-size-small);
  font-weight: 700;
}

.check-card-list strong,
.check-card-list span {
  display: block;
}

.check-card-list strong {
  margin-bottom: 8px;
  font-size: var(--font-size-ui);
}

.check-card-list span {
  color: var(--ink-soft);
  font-size: var(--font-size-label);
  line-height: 1.75;
}

.first-guide-consult-card {
  width: calc(35% - 39px);
  padding: 36px;
  color: #ffffff;
  background: var(--navy);
  box-shadow: 18px 18px 0 var(--brand-soft);
}

.first-guide-consult-card .section-label {
  color: #ffc69b;
}

.first-guide-consult-card h3 {
  margin: 0 0 16px;
  font-size: var(--font-size-heading-xs);
  line-height: 1.6;
}

.first-guide-consult-card > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
  font-size: var(--font-size-body-small);
}

.first-guide-consult-card ul {
  margin: 24px 0;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  list-style: none;
}

.first-guide-consult-card li {
  padding: 5px 0 5px 20px;
  position: relative;
  font-size: var(--font-size-small);
}

.first-guide-consult-card li::before {
  content: "−";
  position: absolute;
  left: 0;
  color: #ffc69b;
}

.first-guide-consult-card .first-guide-consult-card__note {
  margin-bottom: 22px;
  font-size: var(--font-size-label);
}

.first-guide-consult-card .button {
  width: 100%;
}

/* ---------- First Guide: Service Comparison ---------- */
.comparison-scroll {
  overflow-x: auto;
  border: 1px solid var(--border);
  background: #ffffff;
}

.service-comparison {
  width: 100%;
  min-width: 830px;
  border-collapse: collapse;
  table-layout: fixed;
}

.service-comparison th,
.service-comparison td {
  padding: 22px 20px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
  font-size: var(--font-size-small);
  line-height: 1.7;
}

.service-comparison tr:last-child th,
.service-comparison tr:last-child td {
  border-bottom: 0;
}

.service-comparison th:last-child,
.service-comparison td:last-child {
  border-right: 0;
}

.service-comparison thead th {
  color: #ffffff;
  background: var(--navy);
  font-size: var(--font-size-body-small);
}

.service-comparison thead th:first-child {
  width: 18%;
}

.service-comparison tbody th {
  background: var(--surface-alt);
  font-weight: 700;
}

.service-comparison .service-comparison__featured {
  background: var(--brand-pale);
}

.service-comparison thead .service-comparison__featured {
  color: #ffffff;
  background: var(--brand);
}

.table-caption {
  margin: 14px 0 0;
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
}

/* ---------- First Guide: Cost ---------- */
.fee-card-list {
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.fee-card {
  width: calc((100% - 36px) / 3);
  min-height: 340px;
  padding: 34px 30px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: flex;
  flex-direction: column;
  background: rgba(255, 255, 255, 0.05);
}

.fee-card--featured {
  color: var(--ink);
  border-color: #ffffff;
  background: #ffffff;
}

.fee-card__label {
  margin: 0 0 26px;
  color: #ffc69b;
  font-size: var(--font-size-label);
  font-weight: 700;
  letter-spacing: 0.15em;
}

.fee-card--featured .fee-card__label {
  color: var(--brand-dark);
}

.fee-card h3 {
  margin: 0 0 16px;
  font-size: var(--font-size-card-title);
  line-height: 1.65;
}

.fee-card > p:not(.fee-card__label) {
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--font-size-small);
}

.fee-card--featured > p:not(.fee-card__label) {
  color: var(--ink-soft);
}

.fee-card > span {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
  font-size: var(--font-size-label);
  font-weight: 600;
}

.fee-card--featured > span {
  border-top-color: var(--border);
  color: var(--brand-dark);
}

/* ---------- First Guide: Process ---------- */
.guide-process-list {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  list-style: none;
}

.guide-process-item {
  width: 20%;
  min-height: 295px;
  padding: 34px 22px 28px;
  position: relative;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  border-left: 1px solid var(--border);
  text-align: center;
  background: #ffffff;
}

.guide-process-item:last-child {
  border-right: 1px solid var(--border);
}

.guide-process-item + .guide-process-item::before {
  content: "";
  position: absolute;
  z-index: 2;
  top: 50%;
  left: -7px;
  width: 13px;
  height: 13px;
  border-top: 1px solid var(--brand);
  border-right: 1px solid var(--brand);
  background: #ffffff;
  transform: translateY(-50%) rotate(45deg);
}

.guide-process-item__number {
  position: absolute;
  top: 14px;
  right: 15px;
  color: #d4c8c0;
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.guide-process-item__icon {
  width: 58px;
  height: 58px;
  margin: 8px auto 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--brand);
  font-size: var(--font-size-body-large);
  font-weight: 700;
}

.guide-process-item h3 {
  margin: 0 0 11px;
  font-size: var(--font-size-ui);
}

.guide-process-item p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-label);
  line-height: 1.75;
}

/* ---------- First Guide: CRA Support ---------- */
.first-guide-cra-support__layout {
  display: flex;
  align-items: center;
  gap: 78px;
}

.first-guide-cra-support__visual {
  width: calc(50% - 39px);
  margin: 0;
  position: relative;
}

.first-guide-cra-support__visual img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.first-guide-cra-support__content {
  width: calc(50% - 39px);
}

.first-guide-cra-support__content h2 {
  margin: 0 0 20px;
  font-size: var(--font-size-content-heading-compact);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.07em;
}

.first-guide-cra-support__content > p:not(.section-label) {
  margin: 0;
  color: var(--ink-soft);
}

.numbered-feature-list {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
}

.numbered-feature-list li {
  padding: 18px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.numbered-feature-list li:last-child {
  border-bottom: 1px solid var(--border);
}

.numbered-feature-list li > span {
  flex: 0 0 auto;
  color: var(--brand);
  font-size: var(--font-size-label);
  font-weight: 700;
}

.numbered-feature-list strong {
  display: block;
  margin-bottom: 4px;
  font-size: var(--font-size-ui);
}

.numbered-feature-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-label);
}

/* ---------- First Guide: Misunderstandings ---------- */
.first-guide-misunderstanding-layout {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.first-guide-misunderstanding-layout__intro {
  width: calc(38% - 40px);
  margin-bottom: 0;
  position: sticky;
  top: 24px;
}

.misunderstanding-list {
  width: calc(62% - 40px);
}

.misunderstanding-list details {
  border-top: 1px solid var(--border);
}

.misunderstanding-list details:last-child {
  border-bottom: 1px solid var(--border);
}

.misunderstanding-list summary {
  min-height: 90px;
  padding: 24px 54px 24px 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
  list-style: none;
  font-size: var(--font-size-ui);
  font-weight: 600;
}

.misunderstanding-list summary::-webkit-details-marker {
  display: none;
}

.misunderstanding-list summary span {
  color: var(--brand);
  font-size: var(--font-size-body);
  font-weight: 700;
}

.misunderstanding-list summary::after {
  content: "+";
  position: absolute;
  right: 10px;
  top: 50%;
  width: 30px;
  height: 30px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  transform: translateY(-50%);
}

.misunderstanding-list details[open] summary::after {
  content: "−";
  color: #ffffff;
  border-color: var(--brand);
  background: var(--brand);
}

.misunderstanding-list details > div {
  padding: 0 48px 26px 42px;
}

.misunderstanding-list details p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

/* ==================================================
   09. LOWER PAGE RESPONSIVE
   下層ページ共通・就労移行支援とは
================================================== */
@media (max-width: 1180px) {
  .lower-hero__copy {
    padding-right: 50px;
  }

  .first-guide-eligibility-layout,
  .first-guide-cra-support__layout {
    gap: 50px;
  }

  .first-guide-eligibility-main {
    width: calc(64% - 25px);
  }

  .first-guide-consult-card {
    width: calc(36% - 25px);
  }

  .first-guide-cra-support__visual,
  .first-guide-cra-support__content {
    width: calc(50% - 25px);
  }

  .guide-process-list {
    flex-wrap: wrap;
    gap: 18px;
  }

  .guide-process-item {
    width: calc((100% - 36px) / 3);
    border: 1px solid var(--border);
  }

  .guide-process-item + .guide-process-item::before {
    display: none;
  }
}

@media (max-width: 900px) {
  .lower-hero--first-guide {
    background: var(--brand-pale);
  }

  .lower-hero__inner {
    min-height: 0;
    flex-direction: column;
  }

  .lower-hero__copy,
  .lower-hero__visual {
    width: 100%;
  }

  .lower-hero__copy {
    padding: 66px 0 56px;
  }

  .lower-hero__visual {
    min-height: 430px;
  }

  .local-nav__inner {
    padding-top: 18px;
    padding-bottom: 18px;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .first-guide-purpose-list,
  .fee-card-list,
  .related-page-list {
    flex-wrap: wrap;
  }

  .first-guide-purpose-card,
  .fee-card {
    width: calc((100% - 22px) / 2);
  }

  .related-page-card {
    width: calc((100% - 16px) / 2);
  }

  .first-guide-eligibility-layout,
  .first-guide-cra-support__layout,
  .first-guide-misunderstanding-layout {
    flex-direction: column;
  }

  .first-guide-eligibility-main,
  .first-guide-consult-card,
  .first-guide-cra-support__visual,
  .first-guide-cra-support__content,
  .first-guide-misunderstanding-layout__intro,
  .misunderstanding-list {
    width: 100%;
  }

  .first-guide-misunderstanding-layout__intro {
    position: static;
  }

  .first-guide-consult-card {
    max-width: 620px;
  }

  .first-guide-cra-support__layout {
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .breadcrumb__inner {
    min-height: 42px;
    font-size: var(--font-size-caption);
  }

  .lower-hero__copy {
    padding: 52px 0 44px;
  }

  .lower-hero h1 {
    font-size: var(--font-size-lower-hero-mobile);
  }

  .lower-hero__lead {
    font-size: var(--font-size-body);
  }

  .lower-hero__visual {
    min-height: 310px;
  }

  .local-nav__links {
    width: 100%;
  }

  .local-nav__links a {
    width: calc((100% - 8px) / 2);
    text-align: center;
  }

  .page-section {
    padding: 78px 0;
  }

  .content-heading h2 {
    font-size: var(--font-size-heading-mobile);
  }

  .first-guide-purpose-list,
  .fee-card-list,
  .related-page-list,
  .guide-process-list {
    flex-direction: column;
  }

  .first-guide-purpose-card,
  .fee-card,
  .related-page-card,
  .guide-process-item {
    width: 100%;
  }

  .first-guide-purpose-card {
    min-height: 0;
  }

  .message-panel {
    padding: 24px;
    flex-direction: column;
    gap: 14px;
  }

  .first-guide-eligibility-layout {
    gap: 42px;
  }

  .check-card-list {
    flex-direction: column;
  }

  .check-card-list li {
    width: 100%;
    min-height: 0;
  }

  .first-guide-consult-card {
    padding: 30px 24px;
    box-shadow: 10px 10px 0 var(--brand-soft);
  }

  .comparison-scroll {
    margin-right: -16px;
  }

  .fee-card {
    min-height: 0;
  }

  .guide-process-list {
    gap: 14px;
  }

  .guide-process-item {
    min-height: 0;
    padding: 26px 24px;
    text-align: left;
  }

  .guide-process-item__icon {
    margin: 0 18px 0 0;
    float: left;
  }

  .guide-process-item h3,
  .guide-process-item p {
    margin-left: 76px;
  }

  .first-guide-cra-support__layout,
  .first-guide-misunderstanding-layout {
    gap: 42px;
  }

  .first-guide-cra-support__content h2 {
    font-size: var(--font-size-heading-mobile);
  }

  .misunderstanding-list summary {
    min-height: 78px;
    padding-right: 46px;
    font-size: var(--font-size-body-small);
  }

  .misunderstanding-list details > div {
    padding: 0 18px 22px 34px;
  }

  .related-pages {
    padding: 72px 0;
  }
}

/* ==================================================
   10. PAGE: COURSES
   /courses/
================================================== */

/* ---------- Courses: Hero ---------- */
.lower-hero--courses {
  background: var(--brand-pale);
}

.lower-hero__visual--courses img {
  filter: saturate(0.92) contrast(0.98);
}

/* ---------- Courses: Choice navigation ---------- */
.course-choice-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 14px;
}

.course-choice-card {
  width: calc((100% - 28px) / 3);
  min-height: 108px;
  padding: 20px 18px;
  border: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--surface);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.course-choice-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-3px);
}

.course-choice-card__mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border: 1px solid var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  background: var(--brand-pale);
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.course-choice-card > div {
  min-width: 0;
  flex: 1 1 auto;
}

.course-choice-card strong,
.course-choice-card small {
  display: block;
}

.course-choice-card strong {
  margin-bottom: 5px;
  font-size: var(--font-size-body-small);
  line-height: 1.55;
}

.course-choice-card small {
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
  line-height: 1.6;
}

.course-choice-card > i {
  flex: 0 0 auto;
  color: var(--brand-dark);
  font-size: var(--font-size-body-small);
  font-style: normal;
}

.courses-message-panel {
  margin-top: 34px;
}

/* ---------- Courses: Section heading ---------- */
.courses-section-heading {
  margin-bottom: 48px;
}

.courses-section-heading > div {
  width: 100%;
}

.courses-section-heading > p {
  width: 46%;
  max-width: none;
}

/* ---------- Courses: Six large course cards ---------- */
.courses-overview-list {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 24px;
}

.courses-overview-card {
  width: calc((100% - 24px) / 2);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  background: var(--surface);
  box-shadow: 0 10px 30px rgba(57, 39, 28, 0.05);
  scroll-margin-top: 150px;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    border-color 0.25s ease;
}

.courses-overview-card:hover {
  border-color: rgba(241, 122, 34, 0.52);
  box-shadow: 0 20px 42px rgba(57, 39, 28, 0.1);
  transform: translateY(-5px);
}

.courses-overview-card__image {
  position: relative;
  overflow: hidden;
}

.courses-overview-card__image img {
  width: 100%;
  aspect-ratio: 16 / 7;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.courses-overview-card:hover .courses-overview-card__image img {
  transform: scale(1.025);
}

.courses-overview-card__image > span {
  position: absolute;
  left: 0;
  top: 0;
  min-width: 54px;
  min-height: 54px;
  padding: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--surface);
  background: var(--brand);
  font-size: var(--font-size-body-small);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.courses-overview-card__body {
  flex: 1 1 auto;
  padding: 30px 30px 32px;
  display: flex;
  flex-direction: column;
}

.courses-overview-card__category {
  margin: 0 0 7px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.courses-overview-card h3 {
  margin: 0 0 14px;
  font-size: var(--font-size-heading-xs);
  line-height: 1.5;
}

.courses-overview-card h3 a {
  transition: color 0.2s ease;
}

.courses-overview-card h3 a:hover {
  color: var(--brand-dark);
}

.courses-overview-card__lead {
  margin: 0 0 22px;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
  line-height: 1.8;
}

.courses-overview-card__details {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.courses-overview-card__details > div:first-child {
  width: 58%;
}

.courses-overview-card__details > div:last-child {
  width: 42%;
}

.courses-overview-card__details h4 {
  margin: 0 0 10px;
  color: var(--brand-dark);
  font-size: var(--font-size-label);
}

.courses-overview-card__details p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-label);
  line-height: 1.75;
}

.skill-tag-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  list-style: none;
}

.skill-tag-list li {
  padding: 4px 8px;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: var(--surface-alt);
  font-size: var(--font-size-caption);
  line-height: 1.5;
}

.courses-overview-card .text-link {
  margin-top: 24px;
  align-self: flex-start;
}

/* ---------- Courses: Foundation cards ---------- */
.foundation-course-list {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.foundation-course-card {
  width: calc((100% - 40px) / 3);
  overflow: hidden;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: row;
  background: var(--surface);
  transition:
    border-color 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.foundation-course-card:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow);
  transform: translateY(-4px);
}

.foundation-course-card > img {
  width: 40%;
  aspect-ratio: 16 / 6;
  object-fit: cover;
}

.foundation-course-card__body {
  min-height: 270px;
  position: relative;
  padding: 24px 24px 52px;
}

.foundation-course-card__number {
  display: block;
  margin-bottom: 5px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.foundation-course-card h3 {
  margin: 0 0 12px;
  font-size: var(--font-size-card-title);
  line-height: 1.55;
}

.foundation-course-card p {
  margin: 0 0 18px;
  color: var(--ink-soft);
  font-size: var(--font-size-small);
  line-height: 1.75;
}

.foundation-course-card__body > i {
  position: absolute;
  right: 22px;
  bottom: 20px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  font-size: var(--font-size-body-small);
  font-style: normal;
}

/* ---------- Courses: Combination routes ---------- */
.courses-combination {
  overflow: hidden;
}

.course-route-list {
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.course-route-card {
  width: calc((100% - 36px) / 3);
  padding: 28px 24px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.06);
}

.course-route-card__type {
  margin: 0 0 8px;
  color: #ffd0ae;
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.course-route-card h3 {
  margin: 0 0 20px;
  color: var(--surface);
  font-size: var(--font-size-body-large);
  line-height: 1.55;
}

.course-route-card__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
}

.course-route-card__flow span,
.course-route-card__flow strong {
  padding: 6px 8px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  color: var(--surface);
  font-size: var(--font-size-caption);
  line-height: 1.45;
}

.course-route-card__flow strong {
  border-color: var(--brand);
  background: var(--brand);
}

.course-route-card__flow i,
.course-route-card__flow b {
  color: #ffd0ae;
  font-size: var(--font-size-small);
  font-style: normal;
}

.course-route-card > p:last-child {
  margin: 20px 0 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--font-size-small);
  line-height: 1.75;
}

.courses-combination__note {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--font-size-caption);
  text-align: center;
}

/* ---------- Courses: Individual support ---------- */
.courses-learning-style__layout {
  display: flex;
  align-items: flex-start;
  gap: 64px;
}

.courses-learning-style__content {
  width: 62%;
}

.courses-learning-style__content > h2 {
  margin: 0 0 20px;
  font-size: var(--font-size-content-heading-compact);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.055em;
}

.courses-learning-style__content > p {
  margin: 0;
  color: var(--ink-soft);
}

.courses-learning-style__features {
  margin-top: 32px;
  margin-bottom: 34px;
}

.courses-learning-style__aside {
  width: 38%;
  padding: 34px 30px;
  border-top: 4px solid var(--brand);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.courses-learning-style__aside h3 {
  margin: 0 0 20px;
  font-size: var(--font-size-card-title);
  line-height: 1.65;
}

.courses-learning-style__aside ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.courses-learning-style__aside li {
  position: relative;
  padding: 14px 0 14px 27px;
  border-top: 1px solid var(--border);
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
  line-height: 1.75;
}

.courses-learning-style__aside li::before {
  content: "";
  position: absolute;
  top: 24px;
  left: 3px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--brand);
  border-radius: 50%;
}

/* ==================================================
   11. PAGE: COURSES / RESPONSIVE
================================================== */

@media (max-width: 1080px) {
  .course-choice-card {
    width: calc((100% - 14px) / 2);
  }

  .courses-overview-card__details {
    flex-direction: column;
    gap: 18px;
  }

  .courses-overview-card__details > div:first-child,
  .courses-overview-card__details > div:last-child {
    width: 100%;
  }

  .course-route-list {
    flex-wrap: wrap;
  }

  .course-route-card {
    width: calc((100% - 18px) / 2);
  }
}

@media (max-width: 900px) {
  .lower-hero--courses {
    background: var(--brand-pale);
  }

  .courses-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .courses-section-heading > div,
  .courses-section-heading > p {
    width: 100%;
  }

  .courses-overview-card {
    width: 100%;
    flex-direction: row;
  }

  .courses-overview-card__image {
    width: 38%;
    flex: 0 0 auto;
  }

  .courses-overview-card__image img {
    height: 100%;
    aspect-ratio: auto;
  }

  .courses-overview-card__body {
    width: 62%;
  }

  .foundation-course-list {
    flex-wrap: wrap;
  }

  .foundation-course-card {
    width: calc((100% - 20px) / 2);
  }

  .courses-learning-style__layout {
    flex-direction: column;
    gap: 42px;
  }

  .courses-learning-style__content,
  .courses-learning-style__aside {
    width: 100%;
  }

  .courses-learning-style__aside {
    max-width: 720px;
  }
}

@media (max-width: 640px) {
  .course-choice-list,
  .courses-overview-list,
  .foundation-course-list,
  .course-route-list {
    flex-direction: column;
  }

  .course-choice-card,
  .courses-overview-card,
  .foundation-course-card,
  .course-route-card {
    width: 100%;
  }

  .course-choice-card {
    min-height: 0;
    padding: 17px 16px;
  }

  .courses-overview-card {
    flex-direction: column;
  }

  .courses-overview-card__image,
  .courses-overview-card__body {
    width: 100%;
  }

  .courses-overview-card__image img {
    height: auto;
    aspect-ratio: 16 / 8;
  }

  .courses-overview-card__body {
    padding: 25px 22px 28px;
  }

  .courses-overview-card h3 {
    font-size: var(--font-size-card-title);
  }

  .courses-overview-card__details {
    padding-top: 18px;
  }

  .foundation-course-card {
    flex-direction: row;
  }

  .foundation-course-card > img {
    width: 35%;
    aspect-ratio: auto;
    object-fit: cover;
  }

  .foundation-course-card__body {
    width: 65%;
    min-height: 0;
    padding: 20px 42px 52px 18px;
  }

  .foundation-course-card h3 {
    font-size: var(--font-size-body-medium);
  }

  .foundation-course-card p {
    font-size: var(--font-size-label);
  }

  .foundation-course-card .skill-tag-list {
    display: none;
  }

  .course-route-card {
    padding: 24px 20px;
  }

  .courses-learning-style__content > h2 {
    font-size: var(--font-size-heading-mobile);
  }

  .courses-learning-style__aside {
    padding: 28px 22px;
  }
}

/* ==================================================
   12. PAGE: COURSE DETAIL / WEB DESIGN
   /courses/web-design/
   共通のコース詳細ページひな型として再利用する領域
================================================== */

/* ---------- Course Detail: Hero ---------- */
.course-detail-hero {
  overflow: hidden;
  background: #ffffff;
}

.course-detail-hero__inner {
  min-height: 640px;
  display: flex;
  align-items: stretch;
}

.course-detail-hero__copy {
  width: 47%;
  padding: 88px 70px 82px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.course-detail-hero__copy h1 {
  margin: 0 0 26px;
  font-size: var(--font-size-lower-hero-heading);
  font-weight: 600;
  line-height: 1.38;
  letter-spacing: 0.055em;
}

.course-detail-hero__lead {
  max-width: 590px;
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-large);
  line-height: 1.95;
}

.course-detail-hero__tags {
  margin-top: 28px;
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}

.course-detail-hero__tags span {
  padding: 7px 11px;
  border: 1px solid rgba(241, 122, 34, 0.34);
  color: var(--brand-dark);
  background: var(--brand-pale);
  font-size: var(--font-size-caption);
  font-weight: 700;
  line-height: 1.45;
}

.course-detail-hero__actions {
  margin-top: 32px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.course-detail-hero__visual {
  width: calc(53% + max(24px, (100vw - var(--container)) / 2));
  margin: 0 calc(-1 * max(24px, (100vw - var(--container)) / 2)) 0 0;
  position: relative;
  overflow: hidden;
  background: var(--navy);
}

.course-detail-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
}

.course-detail-hero__visual::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(42, 63, 74, 0.12), transparent 44%);
  pointer-events: none;
}

.course-detail-hero__visual figcaption {
  position: absolute;
  right: 26px;
  bottom: 22px;
  z-index: 1;
  max-width: 360px;
  margin: 0;
  padding: 10px 14px;
  color: rgba(255, 255, 255, 0.88);
  background: rgba(42, 63, 74, 0.82);
  font-size: var(--font-size-caption);
  line-height: 1.65;
}

/* ---------- Course Detail: Shared headings ---------- */
.course-detail-section-heading {
  align-items: flex-end;
}

.course-detail-section-heading > div {
  flex: 0 0 auto;
}

.course-detail-section-heading > p {
  max-width: 570px;
}

.course-detail-note {
  max-width: 900px;
  margin: 30px auto 0;
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
  line-height: 1.8;
  text-align: center;
}

/* ---------- Course Detail: Overview ---------- */
.course-summary-list {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.course-summary-card {
  width: calc((100% - 40px) / 3);
  min-height: 270px;
  padding: 32px 28px;
  position: relative;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.course-summary-card__number {
  margin-bottom: 24px;
  display: block;
  color: var(--brand);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.course-summary-card h3 {
  margin: 0 0 14px;
  font-size: var(--font-size-card-title);
  line-height: 1.55;
}

.course-summary-card p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.85;
}

.course-fit-panel {
  margin-top: 42px;
  padding: 42px;
  border-top: 4px solid var(--brand);
  display: flex;
  align-items: flex-start;
  gap: 56px;
  background: var(--navy);
  color: #ffffff;
}

.course-fit-panel__heading {
  width: 32%;
  flex: 0 0 auto;
}

.course-fit-panel__heading .section-label {
  color: #ffd0ae;
}

.course-fit-panel__heading h3 {
  margin: 0;
  font-size: var(--font-size-heading-sm);
  line-height: 1.55;
}

.course-fit-list {
  width: 68%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 28px;
  list-style: none;
}

.course-fit-list li {
  width: calc((100% - 28px) / 2);
  padding: 14px 0 14px 28px;
  position: relative;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  color: rgba(255, 255, 255, 0.84);
  line-height: 1.75;
}

.course-fit-list li::before {
  content: "";
  position: absolute;
  top: 23px;
  left: 2px;
  width: 9px;
  height: 9px;
  border: 2px solid var(--brand);
  border-radius: 50%;
}

/* ---------- Course Detail: Skills ---------- */
.course-skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.course-skill-card {
  width: calc((100% - 20px) / 2);
  min-height: 320px;
  padding: 32px 30px;
  border: 1px solid rgba(42, 63, 74, 0.12);
  display: flex;
  align-items: flex-start;
  gap: 24px;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.course-skill-card__icon {
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  border: 1px solid rgba(241, 122, 34, 0.38);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  background: var(--brand-pale);
  font-size: var(--font-size-body-small);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.course-skill-card > div:last-child {
  min-width: 0;
}

.course-skill-card__category {
  margin: 0 0 7px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.course-skill-card h3 {
  margin: 0 0 14px;
  font-size: var(--font-size-card-title);
  line-height: 1.55;
}

.course-skill-card p:not(.course-skill-card__category) {
  margin: 0 0 22px;
  color: var(--ink-soft);
  line-height: 1.85;
}

/* ---------- Course Detail: Roadmap ---------- */
.course-roadmap {
  position: relative;
}

.course-roadmap::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 142px;
  width: 1px;
  background: var(--border);
}

.course-roadmap-phase {
  min-height: 250px;
  position: relative;
  display: flex;
  align-items: stretch;
}

.course-roadmap-phase + .course-roadmap-phase {
  margin-top: 18px;
}

.course-roadmap-phase__meta {
  width: 142px;
  padding: 28px 30px 28px 0;
  flex: 0 0 142px;
  position: relative;
  text-align: right;
}

.course-roadmap-phase__meta::after {
  content: "";
  position: absolute;
  top: 36px;
  right: -7px;
  width: 14px;
  height: 14px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.course-roadmap-phase__meta span,
.course-roadmap-phase__meta strong {
  display: block;
}

.course-roadmap-phase__meta span {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.course-roadmap-phase__meta strong {
  margin-top: 8px;
  font-size: var(--font-size-body);
}

.course-roadmap-phase__content {
  width: calc(100% - 142px);
  margin-left: 34px;
  padding: 30px 34px;
  border: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  background: #ffffff;
}

.course-roadmap-phase__content h3 {
  width: 34%;
  margin: 0;
  padding-right: 28px;
  font-size: var(--font-size-card-title);
  line-height: 1.55;
}

.course-roadmap-phase__content > p {
  width: 66%;
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.85;
}

.course-roadmap-phase__content ul {
  width: 100%;
  margin: 26px 0 0;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  gap: 10px 28px;
  list-style: none;
}

.course-roadmap-phase__content li {
  width: calc((100% - 28px) / 2);
  padding-left: 20px;
  position: relative;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
  line-height: 1.7;
}

.course-roadmap-phase__content li::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.course-roadmap-message {
  margin-top: 46px;
}

/* ---------- Course Detail: Works ---------- */
.course-work-list {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.course-work-card {
  width: calc((100% - 40px) / 3);
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
}

.course-work-card img {
  width: 100%;
  aspect-ratio: 10 / 7;
  object-fit: cover;
}

.course-work-card > div {
  padding: 26px 24px 28px;
}

.course-work-card__type {
  margin: 0 0 8px;
  color: #ffd0ae;
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.course-work-card h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: var(--font-size-card-title);
  line-height: 1.55;
}

.course-work-card p:not(.course-work-card__type) {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
  line-height: 1.8;
}

.course-work-card ul {
  margin: 20px 0 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  list-style: none;
}

.course-work-card li {
  padding: 6px 9px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: rgba(255, 255, 255, 0.86);
  font-size: var(--font-size-caption);
  line-height: 1.45;
}

.course-work-note {
  margin: 26px 0 0;
  color: rgba(255, 255, 255, 0.64);
  font-size: var(--font-size-caption);
  line-height: 1.8;
  text-align: center;
}

/* ---------- Course Detail: Careers ---------- */
.career-route-layout {
  display: flex;
  align-items: stretch;
  gap: 22px;
}

.career-route-block {
  width: calc((100% - 22px) / 2);
  padding: 36px 34px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.career-route-block--primary {
  border-top: 5px solid var(--brand);
}

.career-route-block--secondary {
  border-top: 5px solid var(--navy);
  background: var(--navy-pale);
}

.career-route-block__heading {
  margin-bottom: 24px;
}

.career-route-block__heading span {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.career-route-block__heading h3 {
  margin: 7px 0 0;
  font-size: var(--font-size-heading-sm);
  line-height: 1.45;
}

.career-route-block ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.career-route-block li {
  padding: 17px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.career-route-block strong {
  width: 36%;
  flex: 0 0 auto;
  font-size: var(--font-size-body);
  line-height: 1.65;
}

.career-route-block li span {
  color: var(--ink-soft);
  line-height: 1.7;
}

/* ---------- Course Detail: Support & evaluation ---------- */
.course-support-layout {
  display: flex;
  align-items: flex-start;
  gap: 66px;
}

.course-support-visual {
  width: 43%;
  flex: 0 0 auto;
}

.course-support-visual img {
  width: 100%;
  /* min-height: 620px; */
  object-fit: cover;
  box-shadow: var(--shadow);
}

.course-support-content h2 {
  margin: 0 0 20px;
  font-size: var(--font-size-content-heading);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.055em;
}

.course-support-content > p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Top Page: Features (見出し＋course-support-layoutの繰り返し) ---------- */
.feature-highlight-list {
  display: flex;
  flex-direction: column;
  gap: 64px;
}

.feature-highlight__title {
  margin: 0 0 24px;
  font-size: var(--font-size-heading-xs);
  font-weight: 600;
  line-height: 1.5;
}

/* IT専門スクール2校の紹介カード：既存の.story-cardを流用し、2カラム幅だけ上書きする */
.school-partner-list {
  margin-top: 32px;
  display: flex;
  gap: 20px;
}

.school-partner-list .story-card {
  width: calc((100% - 20px) / 2);
}

.evaluation-timeline {
  margin-top: 30px;
  border-top: 1px solid var(--border);
}

.evaluation-timeline > div {
  padding: 15px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.evaluation-timeline span {
  width: 72px;
  flex: 0 0 72px;
  color: var(--brand-dark);
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.evaluation-timeline p {
  margin: 0;
  color: var(--ink-soft);
  line-height: 1.7;
}

.course-support-checks {
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.course-support-checks li {
  padding: 11px 0 11px 30px;
  position: relative;
  color: var(--ink-soft);
  line-height: 1.7;
}

.course-support-checks li::before {
  content: "✓";
  position: absolute;
  left: 2px;
  color: var(--brand);
  font-weight: 700;
}

/* ---------- Course Detail: FAQ ---------- */
.course-detail-faq .accordion {
  max-width: 920px;
  margin: 0 auto;
}

.accordion--single-column details {
  border-top: 1px solid var(--border);
}

.accordion--single-column details:last-child {
  border-bottom: 1px solid var(--border);
}

.accordion--single-column summary {
  padding: 22px 54px 22px 0;
  position: relative;
  cursor: pointer;
  font-size: var(--font-size-body);
  font-weight: 700;
  line-height: 1.75;
  list-style: none;
}

.accordion--single-column summary::-webkit-details-marker {
  display: none;
}

.accordion--single-column summary::after {
  content: "+";
  position: absolute;
  top: 50%;
  right: 8px;
  width: 30px;
  height: 30px;
  border: 1px solid var(--brand);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  font-size: var(--font-size-body-large);
  font-weight: 500;
  transform: translateY(-50%);
}

.accordion--single-column details[open] summary::after {
  content: "−";
}

.accordion--single-column details > p {
  margin: 0;
  padding: 0 58px 24px 0;
  color: var(--ink-soft);
  line-height: 1.85;
}

/* ==================================================
   13. PAGE: COURSE DETAIL / WEB DESIGN / RESPONSIVE
================================================== */

@media (max-width: 1080px) {
  .course-detail-hero__copy {
    width: 49%;
    padding-right: 46px;
  }

  .course-detail-hero__visual {
    width: calc(51% + max(24px, (100vw - var(--container)) / 2));
  }

  .course-fit-panel {
    gap: 38px;
  }

  .course-fit-panel__heading {
    width: 34%;
  }

  .course-fit-list {
    width: 66%;
  }

  .course-skill-card {
    padding: 28px 24px;
  }

  .course-roadmap-phase__content h3 {
    width: 100%;
    padding-right: 0;
  }

  .course-roadmap-phase__content > p {
    width: 100%;
    margin-top: 12px;
  }

  .course-support-layout {
    gap: 42px;
  }

  .feature-highlight-list {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .course-detail-hero__inner {
    min-height: 0;
    flex-direction: column;
  }

  .course-detail-hero__copy {
    width: 100%;
    padding: 68px 0 54px;
  }

  .course-detail-hero__visual {
    width: calc(100% + 48px);
    margin: 0 -24px;
  }

  .course-detail-hero__visual img {
    min-height: 0;
    aspect-ratio: 16 / 8.8;
  }

  .course-detail-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .course-detail-section-heading > div,
  .course-detail-section-heading > p {
    width: 100%;
  }

  .course-summary-list {
    flex-wrap: wrap;
  }

  .course-summary-card {
    width: calc((100% - 20px) / 2);
  }

  .course-fit-panel {
    flex-direction: column;
  }

  .course-fit-panel__heading,
  .course-fit-list {
    width: 100%;
  }

  .course-skill-card {
    width: 100%;
    min-height: 0;
  }

  .course-roadmap-phase__content li {
    width: 100%;
  }

  .course-work-list {
    flex-wrap: wrap;
  }

  .course-work-card {
    width: calc((100% - 20px) / 2);
  }

  .career-route-layout {
    flex-direction: column;
  }

  .career-route-block {
    width: 100%;
  }

  .course-support-layout {
    align-items: stretch;
    flex-direction: column;
  }

  .course-support-visual,
  .course-support-content {
    width: 100%;
  }

  .course-support-visual img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .course-detail-hero__copy {
    padding: 52px 0 42px;
  }

  .course-detail-hero__copy h1 {
    font-size: var(--font-size-lower-hero-mobile);
  }

  .course-detail-hero__lead {
    font-size: var(--font-size-body);
  }

  .course-detail-hero__actions {
    flex-direction: column;
  }

  .course-detail-hero__actions .button {
    width: 100%;
  }

  .course-detail-hero__visual {
    width: calc(100% + 32px);
    margin: 0 -16px;
  }

  .course-detail-hero__visual img {
    aspect-ratio: 4 / 3;
  }

  .course-detail-hero__visual figcaption {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }

  .course-summary-list,
  .course-work-list {
    flex-direction: column;
  }

  .course-summary-card,
  .course-work-card {
    width: 100%;
  }

  .course-summary-card {
    min-height: 0;
    padding: 27px 22px;
  }

  .course-fit-panel {
    padding: 32px 22px;
  }

  .course-fit-panel__heading h3 {
    font-size: var(--font-size-heading-mobile);
  }

  .course-fit-list {
    flex-direction: column;
  }

  .course-fit-list li {
    width: 100%;
  }

  .course-skill-card {
    padding: 24px 20px;
    flex-direction: column;
  }

  .course-skill-card__icon {
    width: 54px;
    height: 54px;
    flex-basis: 54px;
  }

  .course-roadmap::before {
    left: 12px;
  }

  .course-roadmap-phase {
    min-height: 0;
    padding-left: 34px;
    flex-direction: column;
  }

  .course-roadmap-phase__meta {
    width: 100%;
    padding: 0 0 13px;
    flex-basis: auto;
    text-align: left;
  }

  .course-roadmap-phase__meta::after {
    top: 7px;
    right: auto;
    left: -28px;
  }

  .course-roadmap-phase__meta strong {
    margin-top: 3px;
  }

  .course-roadmap-phase__content {
    width: 100%;
    margin-left: 0;
    padding: 24px 20px;
  }

  .course-roadmap-phase__content ul {
    flex-direction: column;
  }

  .course-roadmap-phase__content li {
    width: 100%;
  }

  .career-route-block {
    padding: 30px 22px;
  }

  .career-route-block__heading h3 {
    font-size: var(--font-size-heading-mobile);
  }

  .career-route-block li {
    flex-direction: column;
    gap: 4px;
  }

  .career-route-block strong {
    width: 100%;
  }

  .course-support-content h2 {
    font-size: var(--font-size-heading-mobile);
  }

  .evaluation-timeline > div {
    gap: 16px;
  }

  .evaluation-timeline span {
    width: 66px;
    flex-basis: 66px;
  }

  .accordion--single-column summary {
    padding-right: 48px;
  }

  .accordion--single-column details > p {
    padding-right: 0;
  }
}

/* ==================================================
   14. PAGE: FLOW START
   /flow/start/
   ご利用までの流れページ専用
================================================== */

/* ---------- Flow Start: Hero ---------- */
.flow-start-hero {
  overflow: hidden;
  background: #ffffff;
}

.flow-start-hero__inner {
  min-height: 660px;
  display: flex;
  align-items: stretch;
}

.flow-start-hero__copy {
  width: 48%;
  padding: 92px 66px 82px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.flow-start-hero__copy h1 {
  margin: 0 0 28px;
  font-size: var(--font-size-lower-hero-heading);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.085em;
}

.flow-start-hero__lead {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-large);
  line-height: 2;
}

.flow-start-hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.flow-start-hero__note {
  margin: 22px 0 0;
  padding-left: 20px;
  position: relative;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.flow-start-hero__note::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--brand);
}

.flow-start-hero__visual {
  width: calc(52% + max(24px, (100vw - var(--container)) / 2));
  margin: 0 calc(-1 * max(24px, (100vw - var(--container)) / 2)) 0 0;
  position: relative;
  background: var(--surface-alt);
}

.flow-start-hero__visual img {
  width: 100%;
  height: 100%;
  min-height: 660px;
  object-fit: cover;
}

.flow-start-hero__visual figcaption {
  position: absolute;
  right: 30px;
  bottom: 28px;
  max-width: 360px;
  margin: 0;
  padding: 10px 14px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.9);
  font-size: var(--font-size-caption);
  line-height: 1.65;
}

/* ---------- Flow Start: Overview ---------- */
.start-flow-overview {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  list-style: none;
}

.start-flow-overview li {
  width: 20%;
  min-height: 270px;
  padding: 30px 24px 28px;
  border: 1px solid var(--border);
  border-right: 0;
  position: relative;
  display: flex;
  flex-direction: column;
  background: #ffffff;
}

.start-flow-overview li:last-child {
  border-right: 1px solid var(--border);
}

.start-flow-overview li:not(:last-child)::after {
  content: "→";
  position: absolute;
  top: 50%;
  right: -17px;
  z-index: 2;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  background: #ffffff;
  font-size: var(--font-size-body);
  transform: translateY(-50%);
}

.start-flow-overview__number {
  width: 50px;
  height: 50px;
  margin-bottom: 26px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--brand);
  font-size: var(--font-size-body);
  font-weight: 700;
}

.start-flow-overview small {
  margin-bottom: 6px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.start-flow-overview strong {
  margin-bottom: 12px;
  font-size: var(--font-size-subtitle);
  line-height: 1.5;
}

.start-flow-overview p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
  line-height: 1.8;
}

.flow-start-message {
  margin-top: 38px;
  padding: 24px 30px;
  border-left: 5px solid var(--brand);
  display: flex;
  align-items: flex-start;
  gap: 22px;
  background: var(--brand-pale);
}

.flow-start-message > span {
  flex: 0 0 auto;
  margin-top: 2px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.flow-start-message p {
  margin: 0;
  color: var(--ink-soft);
}

.flow-start-message strong {
  color: var(--ink);
}

/* ---------- Flow Start: Section Heading ---------- */
.flow-start-section-heading {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 54px;
}

.flow-start-section-heading > div {
  flex: 0 0 auto;
}

.flow-start-section-heading > p {
  max-width: 600px;
  margin-bottom: 8px;
}

/* ---------- Flow Start: Detailed Timeline ---------- */
.start-step-list {
  max-width: 1040px;
  margin: 0 auto;
  padding: 0;
  position: relative;
  list-style: none;
}

.start-step-list::before {
  content: "";
  position: absolute;
  top: 58px;
  bottom: 58px;
  left: 58px;
  width: 1px;
  background: rgba(241, 122, 34, 0.34);
}

.start-step-item {
  margin-bottom: 42px;
  display: flex;
  align-items: stretch;
  position: relative;
}

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

.start-step-item__meta {
  width: 118px;
  flex: 0 0 118px;
  padding-top: 34px;
  position: relative;
  text-align: center;
}

.start-step-item__meta::after {
  content: "";
  position: absolute;
  top: 35px;
  left: 35px;
  width: 34px;
  height: 34px;
  border: 9px solid var(--brand-pale);
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px rgba(241, 122, 34, 0.28);
}

.start-step-item__meta span,
.start-step-item__meta strong {
  display: block;
}

.start-step-item__meta span {
  margin-top: 54px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.start-step-item__meta strong {
  color: var(--navy);
  font-size: var(--font-size-heading-sm);
  line-height: 1.2;
}

.start-step-card {
  width: calc(100% - 118px);
  padding: 38px 42px 34px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.start-step-card--emphasis {
  border-top: 5px solid var(--brand);
}

.start-step-card__heading {
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
}

.start-step-card__heading p {
  margin: 0 0 5px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.17em;
}

.start-step-card__heading h3 {
  margin: 0;
  font-size: var(--font-size-heading-sm);
  font-weight: 600;
  line-height: 1.45;
}

.start-step-card__status {
  flex: 0 0 auto;
  padding: 7px 12px;
  border: 1px solid rgba(241, 122, 34, 0.38);
  color: var(--brand-dark);
  background: var(--brand-pale);
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.start-step-card__lead {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body);
}

.start-step-card__columns {
  margin-top: 28px;
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.start-step-card__columns > div {
  width: calc((100% - 18px) / 2);
  padding: 24px 26px;
  background: var(--surface-alt);
}

.start-step-card__columns h4 {
  margin: 0 0 14px;
  color: var(--navy);
  font-size: var(--font-size-subtitle);
  line-height: 1.5;
}

.start-step-card__columns ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.start-step-card__columns li {
  margin-top: 9px;
  padding-left: 20px;
  position: relative;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
  line-height: 1.75;
}

.start-step-card__columns li:first-child {
  margin-top: 0;
}

.start-step-card__columns li::before {
  content: "";
  position: absolute;
  top: 0.8em;
  left: 2px;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
}

.start-step-card__point {
  margin: 22px 0 0;
  padding: 16px 20px;
  border-left: 3px solid var(--brand);
  color: var(--ink-soft);
  background: var(--brand-pale);
  font-size: var(--font-size-body-small);
}

.start-step-card__point strong {
  color: var(--ink);
}

/* ---------- Flow Start: Visit and Trial ---------- */
.visit-trial-compare {
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.visit-trial-card {
  width: calc((100% - 84px) / 2);
  min-height: 390px;
  padding: 40px 38px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.visit-trial-card--brand {
  border-color: var(--brand);
  background: var(--brand-pale);
}

.visit-trial-card__label {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.visit-trial-card h3 {
  margin: 8px 0 12px;
  font-size: var(--font-size-heading-md);
  font-weight: 600;
}

.visit-trial-card__catch {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: var(--font-size-subtitle);
  font-weight: 600;
  line-height: 1.65;
}

.visit-trial-card ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.visit-trial-card li {
  margin-top: 12px;
  padding-left: 24px;
  position: relative;
  color: var(--ink-soft);
}

.visit-trial-card li:first-child {
  margin-top: 0;
}

.visit-trial-card li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--brand);
  font-weight: 700;
}

.visit-trial-compare__arrow {
  width: 44px;
  flex: 0 0 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  font-size: var(--font-size-heading-sm);
}

.visit-trial-note {
  max-width: 980px;
  margin: 26px auto 0;
  padding: 26px 30px;
  border-left: 5px solid var(--navy);
  background: var(--navy-pale);
}

.visit-trial-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--navy);
  font-size: var(--font-size-subtitle);
}

.visit-trial-note p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Flow Start: Procedure Support ---------- */
.procedure-support-layout {
  display: flex;
  align-items: center;
  gap: 68px;
}

.procedure-support-visual {
  width: 47%;
  margin: 0;
  position: relative;
}

.procedure-support-visual img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
}

.procedure-support-visual figcaption {
  position: absolute;
  right: 20px;
  bottom: 20px;
  left: 20px;
  padding: 10px 13px;
  color: var(--ink-soft);
  background: rgba(255, 255, 255, 0.91);
  font-size: var(--font-size-caption);
}

.procedure-support-content {
  width: 53%;
}

.procedure-support-content .section-label {
  color: #ffc69b;
}

.procedure-support-content h2 {
  margin: 0 0 22px;
  font-size: var(--font-size-content-heading);
  font-weight: 600;
  line-height: 1.5;
}

.procedure-support-content > p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.procedure-support-list {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.procedure-support-list li {
  padding: 20px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.procedure-support-list li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.procedure-support-list li > span {
  width: 42px;
  flex: 0 0 42px;
  color: #ffc69b;
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.procedure-support-list strong {
  display: block;
  margin-bottom: 5px;
  font-size: var(--font-size-subtitle);
}

.procedure-support-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--font-size-body-small);
}

.text-link--light {
  color: #ffffff;
}

.text-link--light span {
  color: #ffc69b;
}

/* ---------- Flow Start: FAQ ---------- */
.flow-start-faq .accordion {
  max-width: 920px;
  margin: 0 auto;
}

/* ==================================================
   15. PAGE: FLOW START / RESPONSIVE
================================================== */

@media (max-width: 1080px) {
  .flow-start-hero__copy {
    width: 49%;
    padding-right: 48px;
  }

  .flow-start-hero__visual {
    width: calc(51% + max(24px, (100vw - var(--container)) / 2));
  }

  .start-flow-overview li {
    padding-right: 20px;
    padding-left: 20px;
  }

  .procedure-support-layout {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .flow-start-hero__inner {
    min-height: 0;
    flex-direction: column;
  }

  .flow-start-hero__copy {
    width: 100%;
    padding: 68px 0 54px;
  }

  .flow-start-hero__visual {
    width: calc(100% + 48px);
    margin: 0 -24px;
  }

  .flow-start-hero__visual img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .start-flow-overview {
    flex-wrap: wrap;
    gap: 16px;
  }

  .start-flow-overview li {
    width: calc((100% - 16px) / 2);
    min-height: 230px;
    border-right: 1px solid var(--border);
  }

  .start-flow-overview li:not(:last-child)::after {
    display: none;
  }

  .flow-start-section-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .flow-start-section-heading > p {
    max-width: none;
    margin: 0;
  }

  .start-step-list::before {
    left: 47px;
  }

  .start-step-item__meta {
    width: 94px;
    flex-basis: 94px;
  }

  .start-step-item__meta::after {
    left: 30px;
  }

  .start-step-card {
    width: calc(100% - 94px);
    padding: 34px 30px 30px;
  }

  .start-step-card__columns {
    flex-direction: column;
  }

  .start-step-card__columns > div {
    width: 100%;
  }

  .visit-trial-compare {
    flex-direction: column;
  }

  .visit-trial-card {
    width: 100%;
    min-height: 0;
  }

  .visit-trial-compare__arrow {
    width: 100%;
    height: 42px;
    flex-basis: 42px;
    transform: rotate(90deg);
  }

  .procedure-support-layout {
    align-items: stretch;
    flex-direction: column;
  }

  .procedure-support-visual,
  .procedure-support-content {
    width: 100%;
  }

  .procedure-support-visual img {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }
}

@media (max-width: 640px) {
  .flow-start-hero__copy {
    padding: 52px 0 42px;
  }

  .flow-start-hero__copy h1 {
    font-size: var(--font-size-lower-hero-mobile);
  }

  .flow-start-hero__lead {
    font-size: var(--font-size-body);
  }

  .flow-start-hero__actions {
    flex-direction: column;
  }

  .flow-start-hero__actions .button {
    width: 100%;
  }

  .flow-start-hero__visual {
    width: calc(100% + 32px);
    margin: 0 -16px;
  }

  .flow-start-hero__visual img {
    aspect-ratio: 4 / 3;
  }

  .flow-start-hero__visual figcaption {
    right: 14px;
    bottom: 14px;
    left: 14px;
    max-width: none;
  }

  .start-flow-overview {
    flex-direction: column;
  }

  .start-flow-overview li {
    width: 100%;
    min-height: 0;
    padding: 26px 22px;
  }

  .start-flow-overview__number {
    margin-bottom: 18px;
  }

  .flow-start-message {
    padding: 22px 20px;
    flex-direction: column;
    gap: 10px;
  }

  .start-step-list::before {
    left: 12px;
  }

  .start-step-item {
    padding-left: 34px;
    flex-direction: column;
  }

  .start-step-item__meta {
    width: 100%;
    padding: 0 0 14px;
    flex-basis: auto;
    text-align: left;
  }

  .start-step-item__meta::after {
    top: 7px;
    left: -33px;
    width: 18px;
    height: 18px;
    border-width: 3px;
    box-shadow: none;
  }

  .start-step-item__meta span {
    margin-top: 0;
  }

  .start-step-item__meta strong {
    font-size: var(--font-size-subtitle);
  }

  .start-step-card {
    width: 100%;
    padding: 27px 20px 24px;
  }

  .start-step-card__heading {
    flex-direction: column;
    gap: 12px;
  }

  .start-step-card__heading h3 {
    font-size: var(--font-size-heading-mobile);
  }

  .start-step-card__status {
    align-self: flex-start;
  }

  .start-step-card__columns > div {
    padding: 22px 20px;
  }

  .visit-trial-card {
    padding: 30px 22px;
  }

  .visit-trial-card h3 {
    font-size: var(--font-size-heading-mobile);
  }

  .visit-trial-note {
    padding: 24px 20px;
  }

  .procedure-support-content h2 {
    font-size: var(--font-size-heading-mobile);
  }

  .procedure-support-list li {
    gap: 10px;
  }

  .procedure-support-list li > span {
    width: 34px;
    flex-basis: 34px;
  }
}

/* ==================================================
   16. PAGE: STORIES
   /stories/
   利用者・卒業生ストーリー一覧ページ専用
================================================== */

[hidden] {
  display: none !important;
}

/* ---------- Stories: Hero ---------- */
.stories-hero {
  overflow: hidden;
  background: #ffffff;
}

.stories-hero__inner {
  min-height: 690px;
  display: flex;
  align-items: stretch;
}

.stories-hero__copy {
  width: 48%;
  padding: 92px 70px 80px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.stories-hero__copy h1 {
  margin: 0 0 28px;
  font-size: var(--font-size-lower-hero-heading);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.07em;
}

.stories-hero__lead {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-large);
}

.stories-hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.stories-hero__note {
  margin: 22px 0 0;
  padding-left: 18px;
  border-left: 3px solid var(--brand);
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.stories-hero__visual {
  width: calc(52% + max(24px, (100vw - var(--container)) / 2));
  margin-right: calc(-1 * max(24px, (100vw - var(--container)) / 2));
  display: flex;
  gap: 12px;
}

.stories-hero__visual figure {
  margin: 0;
  overflow: hidden;
  background: var(--surface-alt);
}

.stories-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.stories-hero__visual-main {
  width: 62%;
}

.stories-hero__visual-main img {
  object-position: center 22%;
}

.stories-hero__visual-side {
  width: 38%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.stories-hero__visual-side figure {
  height: calc((100% - 12px) / 2);
}

/* ---------- Stories: Intro ---------- */
.stories-intro-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 80px;
}

.stories-intro-heading {
  width: 46%;
  margin: 0;
}

.stories-intro-heading h2 {
  margin: 0;
  font-size: var(--font-size-content-heading);
  font-weight: 600;
  line-height: 1.5;
}

.stories-intro-copy {
  width: 54%;
  padding-top: 28px;
}

.stories-intro-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.stories-intro-copy p + p {
  margin-top: 20px;
}

.stories-principles {
  margin-top: 68px;
  display: flex;
  gap: 22px;
}

.stories-principles article {
  width: calc((100% - 44px) / 3);
  padding: 34px 30px 30px;
  border-top: 4px solid var(--brand);
  background: var(--brand-pale);
}

.stories-principles article > span {
  color: var(--brand-dark);
  font-size: var(--font-size-label);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.stories-principles h3 {
  margin: 12px 0 10px;
  font-size: var(--font-size-subtitle);
  line-height: 1.55;
}

.stories-principles p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

/* ---------- Stories: Filter ---------- */
.stories-list-heading {
  align-items: flex-end;
}

.story-filter {
  margin: 0 0 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.story-filter__button {
  min-height: 46px;
  padding: 10px 20px;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: #ffffff;
  cursor: pointer;
  font-size: var(--font-size-ui);
  font-weight: 600;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    transform 0.2s ease;
}

.story-filter__button:hover {
  border-color: var(--brand);
  color: var(--brand-dark);
  transform: translateY(-1px);
}

.story-filter__button.is-active,
.story-filter__button[aria-pressed="true"] {
  border-color: var(--navy);
  color: #ffffff;
  background: var(--navy);
}

/* ---------- Stories: Archive Cards ---------- */
.stories-archive {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
}

.stories-archive-card {
  width: calc((100% - 28px) / 2);
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.stories-archive-card--featured {
  width: 100%;
  min-height: 530px;
  flex-direction: row;
}

.stories-archive-card__visual {
  height: 280px;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: var(--surface-alt);
}

.stories-archive-card--featured .stories-archive-card__visual {
  width: 46%;
  height: auto;
  min-height: 530px;
}

.stories-archive-card__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.stories-archive-card:hover .stories-archive-card__visual img {
  transform: scale(1.025);
}

.stories-archive-card__visual figcaption {
  position: absolute;
  top: 18px;
  left: 18px;
  padding: 7px 10px;
  color: #ffffff;
  background: rgba(42, 63, 74, 0.9);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.stories-archive-card__body {
  padding: 30px 30px 32px;
  display: flex;
  flex: 1;
  flex-direction: column;
}

.stories-archive-card--featured .stories-archive-card__body {
  width: 54%;
  padding: 52px 50px;
  justify-content: center;
}

.stories-archive-card__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.stories-archive-card__tags span {
  padding: 5px 10px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.stories-archive-card h3 {
  margin: 17px 0 12px;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  line-height: 1.55;
}

.stories-archive-card--featured h3 {
  font-size: var(--font-size-heading-sm);
}

.stories-archive-card__profile {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.stories-archive-card__timeline {
  margin: 24px 0 26px;
}

.stories-archive-card__timeline > div {
  padding: 13px 0;
  border-top: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.stories-archive-card__timeline > div:last-child {
  border-bottom: 1px solid var(--border);
}

.stories-archive-card__timeline dt {
  width: 64px;
  flex: 0 0 64px;
  color: var(--brand-dark);
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.stories-archive-card__timeline dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.stories-archive-card .text-link {
  margin-top: auto;
  align-self: flex-start;
}

.stories-filter-empty {
  margin: 30px 0 0;
  padding: 32px;
  border: 1px solid var(--border);
  background: #ffffff;
  text-align: center;
}

/* ---------- Stories: Model Routes ---------- */
.story-route-list {
  display: flex;
  gap: 22px;
}

.story-route-card {
  width: calc((100% - 44px) / 3);
  padding: 34px 28px 30px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.story-route-card__number {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.story-route-card h3 {
  margin: 12px 0 24px;
  font-size: var(--font-size-subtitle);
  line-height: 1.55;
}

.story-route-card ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.story-route-card li {
  padding: 16px 0 16px 24px;
  border-top: 1px solid var(--border);
  position: relative;
}

.story-route-card li:last-child {
  border-bottom: 1px solid var(--border);
}

.story-route-card li::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  position: absolute;
  top: 24px;
  left: 2px;
  background: var(--brand);
}

.story-route-card li:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 28px;
  position: absolute;
  bottom: -14px;
  left: 5px;
  background: var(--brand);
}

.story-route-card li span {
  display: block;
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.story-route-card li strong {
  display: block;
  margin-top: 4px;
  font-size: var(--font-size-body);
  line-height: 1.6;
}

.story-route-message {
  max-width: 920px;
  margin: 42px auto 0;
  padding: 28px 32px;
  border-left: 5px solid var(--brand);
  background: var(--brand-pale);
}

.story-route-message strong {
  display: block;
  margin-bottom: 8px;
  font-size: var(--font-size-subtitle);
}

.story-route-message p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Stories: How to Read ---------- */
.stories-read-layout {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.stories-read-copy {
  width: 46%;
  position: sticky;
  top: 130px;
}

.stories-read-copy .section-label {
  color: #ffc69b;
}

.stories-read-copy h2 {
  margin: 0 0 22px;
  font-size: var(--font-size-content-heading);
  font-weight: 600;
  line-height: 1.5;
}

.stories-read-copy p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
}

.stories-read-points {
  width: 54%;
}

.stories-read-points article {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.stories-read-points article:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.stories-read-points article > span {
  width: 48px;
  flex: 0 0 48px;
  color: #ffc69b;
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.stories-read-points h3 {
  margin: 0 0 6px;
  font-size: var(--font-size-subtitle);
}

.stories-read-points p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--font-size-body-small);
}

/* ---------- Stories: Publication Policy ---------- */
.story-policy-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.story-policy-list article {
  width: calc((100% - 20px) / 2);
  padding: 30px 30px 28px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}

.story-policy-list article > span {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.story-policy-list h3 {
  margin: 10px 0 10px;
  font-size: var(--font-size-subtitle);
}

.story-policy-list p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

/* ==================================================
   17. PAGE: STORIES / RESPONSIVE
================================================== */

@media (max-width: 1080px) {
  .stories-hero__copy {
    width: 49%;
    padding-right: 48px;
  }

  .stories-hero__visual {
    width: calc(51% + max(24px, (100vw - var(--container)) / 2));
  }

  .stories-intro-layout,
  .stories-read-layout {
    gap: 56px;
  }

  .stories-archive-card--featured .stories-archive-card__body {
    padding: 42px 38px;
  }
}

@media (max-width: 900px) {
  .stories-hero__inner {
    min-height: 0;
    flex-direction: column;
  }

  .stories-hero__copy {
    width: 100%;
    padding: 68px 0 54px;
  }

  .stories-hero__visual {
    width: calc(100% + 48px);
    height: 560px;
    margin: 0 -24px;
  }

  .stories-intro-layout,
  .stories-read-layout {
    flex-direction: column;
  }

  .stories-intro-heading,
  .stories-intro-copy,
  .stories-read-copy,
  .stories-read-points {
    width: 100%;
  }

  .stories-intro-copy {
    padding-top: 0;
  }

  .stories-read-copy {
    position: static;
  }

  .stories-principles,
  .story-route-list {
    flex-wrap: wrap;
  }

  .stories-principles article,
  .story-route-card {
    width: calc((100% - 22px) / 2);
  }

  .stories-archive-card--featured {
    min-height: 0;
    flex-direction: column;
  }

  .stories-archive-card--featured .stories-archive-card__visual,
  .stories-archive-card--featured .stories-archive-card__body {
    width: 100%;
  }

  .stories-archive-card--featured .stories-archive-card__visual {
    height: 420px;
    min-height: 0;
  }

  .stories-archive-card--featured h3 {
    font-size: var(--font-size-card-title);
  }
}

@media (max-width: 700px) {
  .stories-archive-card {
    width: 100%;
  }

  .stories-list-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .stories-list-heading > p {
    max-width: none;
    margin: 0;
  }

  .story-policy-list article {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .stories-hero__copy {
    padding: 52px 0 42px;
  }

  .stories-hero__copy h1 {
    font-size: var(--font-size-lower-hero-mobile);
  }

  .stories-hero__lead {
    font-size: var(--font-size-body);
  }

  .stories-hero__actions {
    flex-direction: column;
  }

  .stories-hero__actions .button {
    width: 100%;
  }

  .stories-hero__visual {
    width: calc(100% + 32px);
    height: 460px;
    margin: 0 -16px;
    gap: 8px;
  }

  .stories-hero__visual-side {
    gap: 8px;
  }

  .stories-hero__visual-side figure {
    height: calc((100% - 8px) / 2);
  }

  .stories-principles,
  .story-route-list {
    flex-direction: column;
  }

  .stories-principles article,
  .story-route-card {
    width: 100%;
  }

  .story-filter {
    gap: 8px;
  }

  .story-filter__button {
    min-height: 44px;
    padding: 9px 14px;
  }

  .stories-archive-card__visual {
    height: 245px;
  }

  .stories-archive-card--featured .stories-archive-card__visual {
    height: 340px;
  }

  .stories-archive-card__body,
  .stories-archive-card--featured .stories-archive-card__body {
    padding: 27px 20px 28px;
  }

  .stories-archive-card__timeline > div {
    flex-direction: column;
    gap: 5px;
  }

  .stories-archive-card__timeline dt {
    width: auto;
    flex-basis: auto;
  }

  .story-route-card,
  .story-policy-list article {
    padding: 27px 22px 25px;
  }

  .story-route-message {
    padding: 24px 20px;
  }

  .stories-read-points article {
    gap: 12px;
  }

  .stories-read-points article > span {
    width: 36px;
    flex-basis: 36px;
  }
}

/* ==================================================
   18. PAGE TEMPLATE: AUDIENCE DETAIL / FOR FAMILY
   /for-family/
   「○○の方へ」ページの共通ひな型＋家族向け固有スタイル
================================================== */

/* ---------- Audience Detail: Hero ---------- */
.audience-detail-hero {
  overflow: hidden;
  background: #ffffff;
}

.audience-detail-hero__inner {
  min-height: 650px;
  display: flex;
  align-items: stretch;
}

.audience-detail-hero__copy {
  width: 51%;
  padding: 82px 70px 82px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.audience-detail-hero__copy h1 {
  margin: 0 0 28px;
  font-size: var(--font-size-lower-hero-heading);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: 0.06em;
}

.audience-detail-hero__lead {
  max-width: 660px;
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-large);
}

.audience-detail-hero__actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.audience-detail-hero__note {
  max-width: 640px;
  margin: 22px 0 0;
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
}

.audience-detail-hero__visual {
  width: calc(49% + max(24px, (100vw - var(--container)) / 2));
  margin-right: calc((100vw - min(100vw - 48px, var(--container))) / -2);
  display: flex;
  gap: 12px;
  background: var(--brand-soft);
}

.audience-detail-hero__visual figure {
  margin: 0;
  overflow: hidden;
}

.audience-detail-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.audience-detail-hero__visual-main {
  width: 64%;
}

.audience-detail-hero__visual-sub {
  width: 36%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.audience-detail-hero__visual-sub figure {
  height: 52%;
}

.audience-detail-hero__message {
  min-height: 48%;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  background: var(--navy);
}

.audience-detail-hero__message span {
  margin-bottom: 12px;
  color: #ffc69b;
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.15em;
}

.audience-detail-hero__message strong {
  font-size: var(--font-size-subtitle);
  line-height: 1.7;
}

/* ---------- Audience Detail: Concern Cards ---------- */
.family-concerns-heading {
  max-width: none;
}

.audience-concern-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.audience-concern-card {
  width: calc((100% - 20px) / 2);
  min-height: 290px;
  padding: 34px 34px 32px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.audience-concern-card > span {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.audience-concern-card h3 {
  margin: 18px 0 14px;
  font-size: var(--font-size-card-title);
  line-height: 1.65;
}

.audience-concern-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body);
}

/* ---------- For Family: Family-only Consultation ---------- */
.family-consultation-layout {
  display: flex;
  align-items: center;
  gap: 76px;
}

.family-consultation-visual,
.family-consultation-copy {
  width: 50%;
}

.family-consultation-visual {
  position: relative;
}

.family-consultation-visual figure {
  height: 560px;
  margin: 0;
  overflow: hidden;
}

.family-consultation-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.family-consultation-visual__note {
  width: min(88%, 470px);
  margin: -74px 0 0 auto;
  padding: 25px 28px;
  position: relative;
  color: #ffffff;
  background: var(--navy);
}

.family-consultation-visual__note span {
  display: block;
  margin-bottom: 8px;
  color: #ffc69b;
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.family-consultation-visual__note strong {
  font-size: var(--font-size-subtitle);
  line-height: 1.7;
}

.family-consultation-copy h2 {
  margin: 0 0 24px;
  font-size: var(--font-size-content-heading);
  font-weight: 600;
  line-height: 1.5;
}

.family-consultation-copy > p:not(.section-label) {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

.family-consultation-points {
  margin: 32px 0 0;
  padding: 0;
  list-style: none;
}

.family-consultation-points li {
  padding: 20px 0;
  border-top: 1px solid var(--border);
}

.family-consultation-points li:last-child {
  border-bottom: 1px solid var(--border);
}

.family-consultation-points strong,
.family-consultation-points span {
  display: block;
}

.family-consultation-points strong {
  margin-bottom: 6px;
  font-size: var(--font-size-subtitle);
}

.family-consultation-points span {
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

/* ---------- Audience Detail: Support Values ---------- */
.audience-support-list {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.audience-support-card {
  width: calc((100% - 20px) / 2);
  min-height: 245px;
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}

.audience-support-card__number {
  width: 50px;
  height: 50px;
  flex: 0 0 50px;
  border: 1px solid var(--brand);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--brand-dark);
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.audience-support-card h3 {
  margin: 0 0 12px;
  font-size: var(--font-size-card-title);
}

.audience-support-card p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- For Family: Family Role ---------- */
.family-role-layout {
  display: flex;
  align-items: flex-start;
  gap: 76px;
}

.family-role-heading {
  width: 37%;
  position: sticky;
  top: 130px;
}

.family-role-heading .section-label {
  color: #ffc69b;
}

.family-role-heading h2 {
  margin: 0 0 24px;
  font-size: var(--font-size-content-heading);
  font-weight: 600;
  line-height: 1.55;
}

.family-role-heading p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.family-role-columns {
  width: 63%;
  display: flex;
  gap: 18px;
}

.family-role-column {
  width: calc((100% - 18px) / 2);
  padding: 30px 28px;
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.family-role-column > span {
  color: #ffc69b;
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.family-role-column h3 {
  margin: 10px 0 20px;
  font-size: var(--font-size-card-title);
}

.family-role-column ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.family-role-column li {
  padding: 14px 0 14px 26px;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.84);
}

.family-role-column li:last-child {
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.family-role-column li::before {
  content: "○";
  position: absolute;
  left: 0;
  top: 14px;
  color: #ffc69b;
  font-weight: 700;
}

.family-role-column--careful li::before {
  content: "△";
}

/* ---------- Audience Detail: Consultation Flow ---------- */
.family-flow-heading {
  max-width: none;
}

.audience-step-list {
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  list-style: none;
}

.audience-step-card {
  padding: 30px 0;
  display: flex;
  align-items: stretch;
  gap: 34px;
  border-top: 1px solid var(--border);
}

.audience-step-card:last-child {
  border-bottom: 1px solid var(--border);
}

.audience-step-card__number {
  width: 92px;
  flex: 0 0 92px;
  padding: 10px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: var(--brand-dark);
  border-right: 1px solid var(--border);
}

.audience-step-card__number span {
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.audience-step-card__number strong {
  margin-top: 3px;
  font-size: var(--font-size-heading-sm);
  line-height: 1;
}

.audience-step-card__body {
  min-width: 0;
  flex: 1 1 auto;
  display: flex;
  align-items: center;
  gap: 34px;
}

.audience-step-card__body h3 {
  width: 28%;
  flex: 0 0 28%;
  margin: 0;
  font-size: var(--font-size-card-title);
  line-height: 1.6;
}

.audience-step-card__body p {
  flex: 1 1 auto;
  margin: 0;
  color: var(--ink-soft);
}

.audience-step-card__body small {
  min-width: 132px;
  padding: 8px 12px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-size: var(--font-size-caption);
  font-weight: 700;
  text-align: center;
}

.family-flow-note {
  max-width: 920px;
  margin: 46px auto 0;
  padding: 28px 32px;
  border-left: 5px solid var(--brand);
  background: var(--brand-pale);
}

.family-flow-note strong {
  display: block;
  margin-bottom: 8px;
  font-size: var(--font-size-subtitle);
}

.family-flow-note p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- For Family: Information Sharing ---------- */
.family-information-layout {
  display: flex;
  align-items: flex-start;
  gap: 76px;
}

.family-information-copy {
  width: 54%;
}

.family-information-copy h2 {
  margin: 0 0 24px;
  font-size: var(--font-size-content-heading);
  font-weight: 600;
  line-height: 1.55;
}

.family-information-copy > p:not(.section-label) {
  margin: 0 0 18px;
  color: var(--ink-soft);
}

.family-information-box {
  width: 46%;
  padding: 32px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.family-information-box > span {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.family-information-box ul {
  margin: 20px 0;
  padding: 0;
  list-style: none;
}

.family-information-box li {
  padding: 13px 0 13px 22px;
  position: relative;
  border-top: 1px solid var(--border);
}

.family-information-box li:last-child {
  border-bottom: 1px solid var(--border);
}

.family-information-box li::before {
  content: "•";
  position: absolute;
  left: 4px;
  color: var(--brand);
}

.family-information-box p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

/* ---------- For Family: FAQ ---------- */
.family-faq-list {
  width: min(100%, 980px);
  margin: 0 auto;
}

.family-faq-list summary {
  font-size: var(--font-size-body);
}

.family-faq-list summary > span,
.family-faq-list .faq-answer > span {
  width: 34px;
  flex: 0 0 34px;
  color: var(--brand-dark);
  font-size: var(--font-size-body-large);
  font-weight: 700;
}

.family-faq-list .faq-answer {
  padding: 0 44px 26px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.family-faq-list .faq-answer p {
  padding: 0;
  font-size: var(--font-size-body);
}

.audience-links a.is-current {
  color: var(--brand-dark);
  background: var(--brand-soft);
}

/* ==================================================
   19. PAGE TEMPLATE: AUDIENCE DETAIL / RESPONSIVE
================================================== */

@media (max-width: 1080px) {
  .audience-detail-hero__copy {
    width: 50%;
    padding-right: 48px;
  }

  .audience-detail-hero__visual {
    width: calc(50% + max(24px, (100vw - var(--container)) / 2));
  }

  .family-consultation-layout,
  .family-role-layout,
  .family-information-layout {
    gap: 54px;
  }

  .audience-step-card__body {
    gap: 22px;
  }

  .audience-step-card__body small {
    min-width: 118px;
  }
}

@media (max-width: 900px) {
  .audience-detail-hero__inner {
    min-height: 0;
    flex-direction: column;
  }

  .audience-detail-hero__copy {
    width: 100%;
    padding: 68px 0 54px;
  }

  .audience-detail-hero__visual {
    width: calc(100% + 48px);
    height: 560px;
    margin: 0 -24px;
  }

  .family-consultation-layout,
  .family-role-layout,
  .family-information-layout {
    flex-direction: column;
  }

  .family-consultation-visual,
  .family-consultation-copy,
  .family-role-heading,
  .family-role-columns,
  .family-information-copy,
  .family-information-box {
    width: 100%;
  }

  .family-role-heading {
    position: static;
  }

  .audience-step-card__body {
    flex-wrap: wrap;
  }

  .audience-step-card__body h3 {
    width: 38%;
    flex-basis: 38%;
  }

  .audience-step-card__body small {
    margin-left: calc(38% + 22px);
  }
}

@media (max-width: 700px) {
  .audience-concern-card,
  .audience-support-card {
    width: 100%;
  }

  .family-concerns-heading,
  .family-flow-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 18px;
  }

  .family-concerns-heading > p,
  .family-flow-heading > p {
    max-width: none;
    margin: 0;
  }

  .family-role-columns {
    flex-direction: column;
  }

  .family-role-column {
    width: 100%;
  }

  .audience-step-card__body {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .audience-step-card__body h3 {
    width: 100%;
    flex-basis: auto;
  }

  .audience-step-card__body small {
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .audience-detail-hero__copy {
    padding: 52px 0 42px;
  }

  .audience-detail-hero__copy h1 {
    font-size: var(--font-size-lower-hero-mobile);
  }

  .audience-detail-hero__lead {
    font-size: var(--font-size-body);
  }

  .audience-detail-hero__actions {
    flex-direction: column;
  }

  .audience-detail-hero__actions .button {
    width: 100%;
  }

  .audience-detail-hero__visual {
    width: calc(100% + 32px);
    height: 490px;
    margin: 0 -16px;
    gap: 8px;
  }

  .audience-detail-hero__visual-sub {
    gap: 8px;
  }

  .audience-detail-hero__message {
    padding: 20px 16px;
  }

  .audience-detail-hero__message strong {
    font-size: var(--font-size-body);
  }

  .audience-concern-card,
  .audience-support-card,
  .family-information-box {
    min-height: 0;
    padding: 26px 22px;
  }

  .family-consultation-visual figure {
    height: 390px;
  }

  .family-consultation-visual__note {
    width: calc(100% - 22px);
    margin-top: -52px;
    padding: 20px;
  }

  .family-consultation-visual__note strong {
    font-size: var(--font-size-body);
  }

  .audience-support-card {
    gap: 16px;
  }

  .audience-support-card__number {
    width: 44px;
    height: 44px;
    flex-basis: 44px;
  }

  .family-role-column {
    padding: 26px 22px;
  }

  .audience-step-card {
    padding: 24px 0;
    gap: 18px;
  }

  .audience-step-card__number {
    width: 66px;
    flex-basis: 66px;
  }

  .audience-step-card__number strong {
    font-size: var(--font-size-heading-xs);
  }

  .family-flow-note {
    padding: 24px 20px;
  }

  .family-faq-list summary {
    min-height: 78px;
    padding-right: 38px;
    align-items: flex-start;
  }

  .family-faq-list .faq-answer {
    padding-right: 10px;
  }
}

/* ==================================================
   20. PAGE TEMPLATE: OFFICE DETAIL / KYOTO
   /offices/kyoto/
   他拠点へ展開する事業所詳細ページ共通ひな型＋京都ページ固有
================================================== */

/* ---------- Office Detail: Hero ---------- */
.office-detail-hero {
  overflow: hidden;
  background: #ffffff;
}

.office-detail-hero__inner {
  min-height: 690px;
  display: flex;
  align-items: stretch;
}

.office-detail-hero__copy {
  width: 47%;
  padding: 92px 74px 84px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.office-detail-hero__copy h1 {
  max-width: 650px;
  margin: 0 0 28px;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1.32;
  letter-spacing: 0.055em;
}

.office-detail-hero__lead {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-large);
  line-height: 2;
}

.office-detail-hero__meta {
  margin-top: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.office-detail-hero__meta span {
  padding: 7px 14px;
  color: var(--navy);
  border: 1px solid #cbd5d9;
  border-radius: 999px;
  background: #ffffff;
  font-size: var(--font-size-body-small);
  font-weight: 600;
}

.office-detail-hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.office-detail-hero__note {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
}

.office-detail-hero__visual {
  width: calc(53% + max(24px, (100vw - var(--container)) / 2));
  margin-right: min(-24px, calc((var(--container) - 100vw) / 2));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.office-detail-hero__main-image {
  min-height: 455px;
  margin: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.office-detail-hero__main-image img,
.office-detail-hero__sub-images img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-detail-hero__sub-images {
  height: 220px;
  display: flex;
  gap: 12px;
}

.office-detail-hero__sub-images figure,
.office-detail-hero__message {
  width: 50%;
  margin: 0;
}

.office-detail-hero__sub-images figure {
  overflow: hidden;
}

.office-detail-hero__message {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #ffffff;
  background: var(--navy);
}

.office-detail-hero__message span {
  margin-bottom: 12px;
  color: #f6c8a7;
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.office-detail-hero__message strong {
  font-size: var(--font-size-subtitle);
  font-weight: 600;
  line-height: 1.7;
}

/* ---------- Office Detail: Shared Section Background ---------- */
.page-section--navy-pale {
  background: var(--navy-pale);
}

/* ---------- Office Detail: Overview ---------- */
.office-overview-layout {
  display: flex;
  align-items: flex-start;
  gap: 84px;
}

.office-overview-heading {
  width: 34%;
  position: sticky;
  top: 32px;
}

.office-overview-heading h2,
.office-day-heading h2,
.office-access-copy h2,
.office-staff-copy h2 {
  margin: 0 0 20px;
  font-size: var(--font-size-content-heading);
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.office-overview-heading > p:last-child,
.office-day-heading > p:last-child,
.office-staff-copy > p {
  margin: 0;
  color: var(--ink-soft);
}

.office-information-card {
  width: 66%;
  padding: 14px 40px 30px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.office-information-card dl {
  margin: 0;
}

.office-information-card dl > div {
  padding: 24px 0;
  display: flex;
  align-items: flex-start;
  gap: 28px;
  border-bottom: 1px solid var(--border);
}

.office-information-card dt {
  width: 128px;
  flex: 0 0 128px;
  color: var(--navy);
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.office-information-card dd {
  margin: 0;
  flex: 1 1 auto;
}

.office-information-card__note {
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
}

/* ---------- Office Detail: Features & Gallery ---------- */
.office-feature-list {
  display: flex;
  flex-wrap: wrap;
  gap: 22px;
}

.office-feature-card {
  width: calc((100% - 44px) / 3);
  min-height: 285px;
  padding: 34px 30px;
  border-top: 4px solid var(--brand);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.office-feature-card > span {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.office-feature-card h3 {
  margin: 22px 0 14px;
  font-size: var(--font-size-card-title);
  line-height: 1.55;
}

.office-feature-card p {
  margin: 0;
  color: var(--ink-soft);
}

.office-gallery {
  margin-top: 58px;
  height: 470px;
  display: flex;
  gap: 14px;
}

.office-gallery figure {
  width: 24%;
  margin: 0;
  overflow: hidden;
  background: #e9e3de;
}

.office-gallery figure.office-gallery__wide {
  width: 52%;
}

.office-gallery img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.office-gallery-note {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
  text-align: right;
}

/* ---------- Office Detail: Daily Schedule ---------- */
.office-day-layout {
  display: flex;
  align-items: flex-start;
  gap: 84px;
}

.office-day-heading {
  width: 34%;
  position: sticky;
  top: 32px;
}

.office-day-timeline {
  width: 66%;
  position: relative;
}

.office-day-timeline::before {
  content: "";
  position: absolute;
  top: 28px;
  bottom: 28px;
  left: 82px;
  width: 1px;
  background: #d9cfc8;
}

.office-day-timeline article {
  min-height: 116px;
  padding: 18px 0;
  display: flex;
  align-items: flex-start;
  gap: 42px;
  position: relative;
}

.office-day-timeline article::before {
  content: "";
  width: 13px;
  height: 13px;
  position: absolute;
  top: 31px;
  left: 76px;
  border: 3px solid #ffffff;
  border-radius: 50%;
  background: var(--brand);
  box-shadow: 0 0 0 1px var(--brand);
}

.office-day-timeline time {
  width: 64px;
  flex: 0 0 64px;
  color: var(--navy);
  font-size: var(--font-size-body-large);
  font-weight: 700;
}

.office-day-timeline article > div {
  padding-left: 18px;
}

.office-day-timeline h3 {
  margin: 0 0 8px;
  font-size: var(--font-size-subtitle);
}

.office-day-timeline p {
  margin: 0;
  color: var(--ink-soft);
}

/* ---------- Office Detail: Learning & Support ---------- */
.office-support-heading,
.office-other-heading {
  max-width: none;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 56px;
}

.office-support-heading > div,
.office-other-heading > div {
  width: 56%;
}

.office-support-heading > p,
.office-other-heading > p {
  width: 38%;
}

.office-support-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.office-support-card {
  padding: 30px 34px;
  display: flex;
  align-items: flex-start;
  gap: 30px;
  border: 1px solid #dde4e7;
  background: #ffffff;
}

.office-support-card__icon {
  width: 76px;
  height: 76px;
  flex: 0 0 76px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 50%;
  background: var(--navy);
  font-size: var(--font-size-body-small);
  font-weight: 700;
  letter-spacing: 0.06em;
}

.office-support-card h3 {
  margin: 0 0 10px;
  font-size: var(--font-size-card-title);
}

.office-support-card p {
  margin: 0 0 12px;
  color: var(--ink-soft);
}

/* ---------- Office Detail: Staff Preview ---------- */
.office-staff-layout {
  display: flex;
  align-items: center;
  gap: 78px;
}

.office-staff-copy {
  width: 38%;
}

.office-staff-copy .button {
  margin-top: 28px;
}

.office-staff-preview {
  width: 62%;
  display: flex;
  gap: 20px;
}

.office-staff-preview article {
  width: calc((100% - 20px) / 2);
  border: 1px solid var(--border);
  background: #ffffff;
}

.office-staff-preview__photo {
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background:
    radial-gradient(circle at 50% 34%, #b8c5ca 0 14%, transparent 14.5%),
    radial-gradient(ellipse at 50% 92%, #a4b4ba 0 34%, transparent 34.5%),
    linear-gradient(135deg, #e6ecee, #c9d5d9);
}

.office-staff-preview__photo span {
  padding: 5px 10px;
  border: 1px solid rgba(255, 255, 255, 0.8);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.office-staff-preview article > div:last-child {
  padding: 24px;
}

.office-staff-preview p {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.office-staff-preview h3 {
  margin: 0 0 10px;
  font-size: var(--font-size-subtitle);
}

.office-staff-preview article > div:last-child > span {
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

/* ---------- Office Detail: Access ---------- */
.office-access-layout {
  display: flex;
  align-items: stretch;
  gap: 72px;
}

.office-access-map,
.office-access-copy {
  width: 50%;
}

.office-access-map {
  min-height: 570px;
  border: 1px solid #d8d0ca;
  background:
    linear-gradient(90deg, rgba(42, 63, 74, 0.07) 1px, transparent 1px) 0 0 /
      54px 54px,
    linear-gradient(rgba(42, 63, 74, 0.07) 1px, transparent 1px) 0 0 / 54px 54px,
    #f7f4f1;
}

.office-access-map__placeholder {
  height: 100%;
  min-height: 570px;
  padding: 46px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.office-access-map__placeholder span {
  width: 74px;
  height: 74px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 50%;
  background: var(--brand);
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.office-access-map__placeholder strong {
  font-size: var(--font-size-subtitle);
}

.office-access-map__placeholder p {
  max-width: 360px;
  margin: 12px 0 0;
  color: var(--ink-soft);
}

.office-access-copy address {
  margin: 0 0 28px;
  color: var(--ink-soft);
  font-style: normal;
}

.office-access-route {
  margin: 0 0 30px;
  padding: 0;
  list-style: none;
}

.office-access-route li {
  padding: 18px 0;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  border-top: 1px solid #d8d0ca;
}

.office-access-route li:last-child {
  border-bottom: 1px solid #d8d0ca;
}

.office-access-route li > span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border-radius: 50%;
  background: var(--navy);
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.office-access-route strong {
  display: block;
  margin-bottom: 5px;
  font-size: var(--font-size-body-large);
}

.office-access-route p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

/* ---------- Office Detail: Visit ---------- */
.office-visit-list {
  display: flex;
  gap: 22px;
}

.office-visit-list article {
  width: calc((100% - 44px) / 3);
  padding: 32px 28px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.office-visit-list article > span {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.office-visit-list h3 {
  margin: 20px 0 12px;
  font-size: var(--font-size-card-title);
}

.office-visit-list p {
  margin: 0;
  color: var(--ink-soft);
}

.office-visit-note {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  border: 1px solid var(--border);
  background: var(--brand-pale);
}

.office-visit-note > div {
  width: 25%;
  min-height: 116px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  border-right: 1px solid var(--border);
}

.office-visit-note > div:last-child {
  border-right: 0;
}

.office-visit-note span {
  margin-bottom: 6px;
  color: var(--brand-dark);
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.office-visit-note strong {
  font-size: var(--font-size-body-large);
}

/* ---------- Office Detail: Other Offices ---------- */
.office-other-list {
  display: flex;
  gap: 20px;
}

.office-other-card {
  width: calc((100% - 40px) / 3);
  overflow: hidden;
  border: 1px solid #dde4e7;
  background: #ffffff;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.office-other-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-soft);
}

.office-other-card.is-current {
  border-color: var(--brand);
}

.office-other-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.office-other-card > div {
  padding: 24px;
}

.office-other-card span {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.office-other-card h3 {
  margin: 10px 0 8px;
  font-size: var(--font-size-subtitle);
  line-height: 1.55;
}

.office-other-card p {
  margin: 0 0 14px;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.office-other-card strong {
  color: var(--navy);
  font-size: var(--font-size-body-small);
}

.office-other-card.is-current strong {
  color: var(--brand-dark);
}

/* ==================================================
   21. PAGE TEMPLATE: OFFICE DETAIL / RESPONSIVE
================================================== */

@media (max-width: 1080px) {
  .office-detail-hero__copy {
    width: 49%;
    padding-right: 52px;
  }

  .office-detail-hero__visual {
    width: calc(51% + max(24px, (100vw - var(--container)) / 2));
  }

  .office-overview-layout,
  .office-day-layout,
  .office-staff-layout,
  .office-access-layout {
    gap: 54px;
  }
}

@media (max-width: 900px) {
  .office-detail-hero__inner {
    min-height: 0;
    flex-direction: column;
  }

  .office-detail-hero__copy {
    width: 100%;
    padding: 68px 0 54px;
  }

  .office-detail-hero__visual {
    width: calc(100% + 48px);
    height: 590px;
    margin: 0 -24px;
  }

  .office-overview-layout,
  .office-day-layout,
  .office-staff-layout,
  .office-access-layout {
    flex-direction: column;
  }

  .office-overview-heading,
  .office-information-card,
  .office-day-heading,
  .office-day-timeline,
  .office-staff-copy,
  .office-staff-preview,
  .office-access-map,
  .office-access-copy {
    width: 100%;
  }

  .office-overview-heading,
  .office-day-heading {
    position: static;
  }

  .office-feature-card {
    width: calc((100% - 22px) / 2);
  }

  .office-feature-card:last-child {
    width: 100%;
  }

  .office-gallery {
    height: 400px;
  }

  .office-support-heading,
  .office-other-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 20px;
  }

  .office-support-heading > div,
  .office-support-heading > p,
  .office-other-heading > div,
  .office-other-heading > p {
    width: 100%;
  }

  .office-access-map,
  .office-access-map__placeholder {
    min-height: 470px;
  }

  .office-visit-note > div {
    width: 50%;
  }

  .office-visit-note > div:nth-child(2) {
    border-right: 0;
  }

  .office-visit-note > div:nth-child(-n + 2) {
    border-bottom: 1px solid var(--border);
  }
}

@media (max-width: 700px) {
  .office-feature-card,
  .office-feature-card:last-child,
  .office-visit-list article,
  .office-other-card {
    width: 100%;
  }

  .office-visit-list,
  .office-other-list {
    flex-direction: column;
  }

  .office-gallery {
    height: auto;
    flex-wrap: wrap;
  }

  .office-gallery figure,
  .office-gallery figure.office-gallery__wide {
    width: calc((100% - 14px) / 2);
    height: 250px;
  }

  .office-gallery figure.office-gallery__wide {
    width: 100%;
    height: 320px;
  }

  .office-staff-preview {
    flex-direction: column;
  }

  .office-staff-preview article {
    width: 100%;
    display: flex;
  }

  .office-staff-preview__photo {
    width: 38%;
    height: auto;
    min-height: 230px;
    flex: 0 0 38%;
  }

  .office-day-timeline::before {
    left: 68px;
  }

  .office-day-timeline article::before {
    left: 62px;
  }

  .office-day-timeline article {
    gap: 28px;
  }

  .office-day-timeline time {
    width: 52px;
    flex-basis: 52px;
    font-size: var(--font-size-body);
  }
}

@media (max-width: 640px) {
  .office-detail-hero__copy {
    padding: 52px 0 42px;
  }

  .office-detail-hero__copy h1 {
    font-size: var(--font-size-lower-hero-mobile);
  }

  .office-detail-hero__lead {
    font-size: var(--font-size-body);
  }

  .office-detail-hero__actions {
    flex-direction: column;
  }

  .office-detail-hero__actions .button {
    width: 100%;
  }

  .office-detail-hero__visual {
    width: calc(100% + 32px);
    height: 500px;
    margin: 0 -16px;
    gap: 8px;
  }

  .office-detail-hero__sub-images {
    height: 190px;
    gap: 8px;
  }

  .office-detail-hero__message {
    padding: 20px 16px;
  }

  .office-detail-hero__message strong {
    font-size: var(--font-size-body);
  }

  .office-information-card {
    padding: 8px 22px 24px;
  }

  .office-information-card dl > div {
    padding: 20px 0;
    flex-direction: column;
    gap: 6px;
  }

  .office-information-card dt {
    width: auto;
    flex-basis: auto;
  }

  .office-feature-card,
  .office-support-card,
  .office-visit-list article {
    min-height: 0;
    padding: 26px 22px;
  }

  .office-gallery figure,
  .office-gallery figure.office-gallery__wide {
    width: 100%;
    height: 250px;
  }

  .office-gallery-note {
    text-align: left;
  }

  .office-day-timeline::before {
    display: none;
  }

  .office-day-timeline article {
    min-height: 0;
    padding: 24px 0;
    flex-direction: column;
    gap: 8px;
    border-top: 1px solid var(--border);
  }

  .office-day-timeline article:last-child {
    border-bottom: 1px solid var(--border);
  }

  .office-day-timeline article::before {
    display: none;
  }

  .office-day-timeline article > div {
    padding-left: 0;
  }

  .office-support-card {
    flex-direction: column;
    gap: 18px;
  }

  .office-support-card__icon {
    width: 58px;
    height: 58px;
    flex-basis: 58px;
  }

  .office-staff-preview article {
    display: block;
  }

  .office-staff-preview__photo {
    width: 100%;
    height: 250px;
    min-height: 0;
  }

  .office-access-map,
  .office-access-map__placeholder {
    min-height: 390px;
  }

  .office-access-map__placeholder {
    padding: 30px 22px;
  }

  .office-visit-note > div {
    width: 100%;
    min-height: 96px;
    border-right: 0;
    border-bottom: 1px solid var(--border);
  }

  .office-visit-note > div:last-child {
    border-bottom: 0;
  }

  .office-other-card {
    display: flex;
  }

  .office-other-card img {
    width: 38%;
    height: auto;
    min-height: 210px;
    flex: 0 0 38%;
  }
}

/* ==================================================
   22. PAGE: STAFF
   /staff/
   職員紹介ページ専用
================================================== */

.staff-hero {
  overflow: hidden;
  background: var(--surface);
}

.staff-hero__inner {
  min-height: 690px;
  display: flex;
  align-items: stretch;
}

.staff-hero__copy {
  width: 48%;
  padding: 92px 78px 82px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.staff-hero__copy h1 {
  margin: 0 0 28px;
  font-size: var(--font-size-lower-hero-heading);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: 0.07em;
}

.staff-hero__lead {
  max-width: 610px;
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-large);
  line-height: 2;
}

.staff-hero__actions {
  margin-top: 34px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.staff-hero__note {
  max-width: 620px;
  margin: 24px 0 0;
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
  line-height: 1.8;
}

.staff-hero__visual {
  width: calc(52% + max(24px, (100vw - var(--container)) / 2));
  margin-right: calc((100vw - min(100vw - 48px, var(--container))) / -2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.staff-hero__main-image {
  height: 64%;
  margin: 0;
  overflow: hidden;
}

.staff-hero__main-image img,
.staff-hero__sub-area figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-hero__main-image img {
  object-position: center 40%;
}

.staff-hero__sub-area {
  height: calc(36% - 10px);
  display: flex;
  gap: 10px;
}

.staff-hero__sub-area figure,
.staff-hero__message {
  width: 50%;
  margin: 0;
}

.staff-hero__sub-area figure {
  overflow: hidden;
}

.staff-hero__sub-area figure img {
  object-position: center 24%;
}

.staff-hero__message {
  padding: 30px 28px;
  color: #ffffff;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.staff-hero__message span {
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.staff-hero__message strong {
  font-size: var(--font-size-subtitle);
  font-weight: 600;
  line-height: 1.8;
}

.staff-approach-layout {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 72px;
}

.staff-approach-heading {
  width: 43%;
  margin: 0;
}

.staff-approach-copy {
  width: 50%;
}

.staff-approach-copy p {
  margin: 0;
  color: var(--ink-soft);
}

.staff-approach-copy p + p {
  margin-top: 20px;
}

.staff-value-list {
  margin-top: 62px;
  display: flex;
  flex-wrap: wrap;
  border-top: 1px solid var(--border);
  border-left: 1px solid var(--border);
}

.staff-value-card {
  width: 25%;
  min-height: 286px;
  padding: 34px 28px;
  background: #ffffff;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}

.staff-value-card > span {
  display: block;
  margin-bottom: 46px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.staff-value-card h3 {
  margin: 0 0 14px;
  font-size: var(--font-size-card-title);
  line-height: 1.5;
}

.staff-value-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.staff-members-heading {
  margin-bottom: 42px;
}

.staff-office-group + .staff-office-group {
  margin-top: 56px;
}

.staff-office-group__title {
  margin: 0 0 24px;
  font-size: var(--font-size-heading-xs);
  font-weight: 600;
  line-height: 1.5;
}

.staff-profile-list {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
}

.staff-profile-card {
  width: calc((100% - 52px) / 3);
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
}

.staff-profile-card__photo {
  position: relative;
  height: 330px;
  margin: 0;
  overflow: hidden;
  background: var(--navy-pale);
}

.staff-profile-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 22%;
}

.staff-profile-card--photo-lower .staff-profile-card__photo img {
  object-position: center 35%;
}

.staff-profile-card--muted .staff-profile-card__photo img {
  filter: saturate(0.76);
}

.staff-profile-card__photo figcaption {
  position: absolute;
  right: 14px;
  bottom: 14px;
  padding: 6px 10px;
  color: #ffffff;
  background: rgba(42, 63, 74, 0.84);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.staff-profile-card__body {
  flex: 1;
  padding: 28px 26px 26px;
  display: flex;
  flex-direction: column;
}

.staff-profile-card__role {
  margin: 0 0 8px;
  color: var(--brand-dark);
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.staff-profile-card h3 {
  margin: 0 0 18px;
  font-size: var(--font-size-heading-xs);
  line-height: 1.45;
}

.staff-profile-card__message {
  min-height: 108px;
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.staff-profile-card dl {
  margin: auto 0 0;
  border-top: 1px solid var(--border);
}

.staff-profile-card dl > div {
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}

.staff-profile-card dt {
  margin-bottom: 4px;
  color: var(--navy);
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.staff-profile-card dd {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.staff-profile-card__note {
  margin: 16px 0 0;
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
}

.staff-team-layout {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 76px;
}

.staff-team-heading {
  width: 38%;
}

.staff-team-heading h2 {
  margin: 0 0 22px;
  color: #ffffff;
  font-size: var(--font-size-content-heading);
  line-height: 1.55;
}

.staff-team-heading > p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.staff-team-diagram {
  width: 56%;
  padding: 44px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.staff-team-diagram__center {
  min-height: 138px;
  padding: 26px;
  color: var(--navy);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.staff-team-diagram__center span {
  margin-bottom: 6px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.staff-team-diagram__center strong {
  font-size: var(--font-size-card-title);
}

.staff-team-diagram__items {
  margin-top: 14px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.staff-team-diagram__items article {
  width: calc((100% - 14px) / 2);
  min-height: 118px;
  padding: 20px;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
}

.staff-team-diagram__items span,
.staff-team-diagram__items strong,
.staff-team-diagram__items small {
  display: block;
}

.staff-team-diagram__items span {
  margin-bottom: 12px;
  color: #ffc79e;
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.staff-team-diagram__items strong {
  margin-bottom: 4px;
  font-size: var(--font-size-subtitle);
}

.staff-team-diagram__items small {
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-caption);
}

.staff-team-notes {
  margin-top: 48px;
  display: flex;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  border-left: 1px solid rgba(255, 255, 255, 0.18);
}

.staff-team-notes article {
  width: 33.333%;
  min-height: 174px;
  padding: 28px 26px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.staff-team-notes h3 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: var(--font-size-subtitle);
}

.staff-team-notes p {
  margin: 0;
  color: rgba(255, 255, 255, 0.7);
  font-size: var(--font-size-body-small);
}

.staff-consultation-heading {
  margin-bottom: 42px;
}

.staff-consultation-list {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.staff-consultation-card {
  width: calc((100% - 18px) / 2);
  min-height: 230px;
  padding: 30px 28px;
  background: #ffffff;
  border: 1px solid var(--border);
  display: flex;
  gap: 22px;
}

.staff-consultation-card__icon {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.staff-consultation-card h3 {
  margin: 0 0 10px;
  font-size: var(--font-size-card-title);
  line-height: 1.55;
}

.staff-consultation-card p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.staff-consultation-card small {
  color: var(--navy);
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.staff-first-meeting-layout {
  display: flex;
  align-items: center;
  gap: 70px;
}

.staff-first-meeting-visual,
.staff-first-meeting-copy {
  width: 50%;
}

.staff-first-meeting-visual {
  position: relative;
}

.staff-first-meeting-visual figure {
  height: 560px;
  margin: 0;
  overflow: hidden;
}

.staff-first-meeting-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-first-meeting-visual__label {
  position: absolute;
  right: -26px;
  bottom: 28px;
  width: 76%;
  padding: 26px 28px;
  color: #ffffff;
  background: var(--navy);
}

.staff-first-meeting-visual__label span,
.staff-first-meeting-visual__label strong {
  display: block;
}

.staff-first-meeting-visual__label span {
  margin-bottom: 8px;
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.staff-first-meeting-visual__label strong {
  font-size: var(--font-size-subtitle);
  line-height: 1.65;
}

.staff-first-meeting-copy h2 {
  margin: 0 0 20px;
  font-size: var(--font-size-content-heading);
  line-height: 1.55;
}

.staff-first-meeting-copy > p:not(.section-label) {
  margin: 0;
  color: var(--ink-soft);
}

.staff-first-meeting-copy ol {
  margin: 30px 0 32px;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.staff-first-meeting-copy li {
  padding: 22px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  gap: 20px;
}

.staff-first-meeting-copy li > span {
  width: 42px;
  flex: 0 0 42px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.staff-first-meeting-copy li strong {
  display: block;
  margin-bottom: 5px;
  font-size: var(--font-size-body);
}

.staff-first-meeting-copy li p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.staff-faq-list {
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
}

/* ==================================================
   23. PAGE: STAFF / RESPONSIVE
================================================== */

@media (max-width: 1080px) {
  .staff-hero__copy {
    width: 49%;
    padding-right: 54px;
  }

  .staff-hero__visual {
    width: calc(51% + max(24px, (100vw - var(--container)) / 2));
  }

  .staff-profile-card {
    width: calc((100% - 26px) / 2);
  }

  .staff-profile-card__message {
    min-height: 88px;
  }

  .staff-team-layout,
  .staff-first-meeting-layout {
    gap: 52px;
  }
}

@media (max-width: 900px) {
  .staff-hero__inner {
    min-height: 0;
    flex-direction: column;
  }

  .staff-hero__copy {
    width: 100%;
    padding: 68px 0 54px;
  }

  .staff-hero__visual {
    width: calc(100% + 48px);
    height: 580px;
    margin: 0 -24px;
  }

  .staff-approach-layout,
  .staff-team-layout,
  .staff-first-meeting-layout {
    flex-direction: column;
  }

  .staff-approach-heading,
  .staff-approach-copy,
  .staff-team-heading,
  .staff-team-diagram,
  .staff-first-meeting-visual,
  .staff-first-meeting-copy {
    width: 100%;
  }

  .staff-value-card {
    width: 50%;
  }

  .staff-team-heading {
    max-width: 720px;
  }

  .staff-first-meeting-visual {
    max-width: 760px;
  }

  .staff-first-meeting-visual figure {
    height: 520px;
  }

  .staff-first-meeting-visual__label {
    right: 24px;
  }
}

@media (max-width: 700px) {
  .staff-profile-card,
  .staff-consultation-card {
    width: 100%;
  }

  .staff-profile-card {
    flex-direction: row;
  }

  .staff-profile-card__photo {
    width: 38%;
    height: auto;
    min-height: 430px;
    flex: 0 0 38%;
  }

  .staff-profile-card__message {
    min-height: 0;
  }

  .staff-team-notes {
    flex-wrap: wrap;
  }

  .staff-team-notes article {
    width: 50%;
  }

  .staff-team-notes article:last-child {
    width: 100%;
  }
}

@media (max-width: 640px) {
  .staff-hero__copy {
    padding: 52px 0 42px;
  }

  .staff-hero__copy h1 {
    font-size: var(--font-size-lower-hero-mobile);
  }

  .staff-hero__lead {
    font-size: var(--font-size-body);
  }

  .staff-hero__actions {
    flex-direction: column;
  }

  .staff-hero__actions .button {
    width: 100%;
  }

  .staff-hero__visual {
    width: calc(100% + 32px);
    height: 500px;
    margin: 0 -16px;
    gap: 8px;
  }

  .staff-hero__sub-area {
    height: 180px;
    gap: 8px;
  }

  .staff-hero__message {
    padding: 18px 14px;
  }

  .staff-hero__message strong {
    font-size: var(--font-size-body-small);
  }

  .staff-value-list {
    border-left: 0;
  }

  .staff-value-card {
    width: 100%;
    min-height: 0;
    padding: 28px 22px;
    border-left: 1px solid var(--border);
  }

  .staff-value-card > span {
    margin-bottom: 24px;
  }

  .staff-profile-list {
    gap: 20px;
  }

  .staff-profile-card {
    display: block;
  }

  .staff-profile-card__photo {
    width: 100%;
    height: 340px;
    min-height: 0;
  }

  .staff-profile-card__body {
    padding: 24px 20px;
  }

  .staff-profile-card h3 {
    font-size: var(--font-size-card-title);
  }

  .staff-profile-card__message {
    margin-bottom: 18px;
  }

  .staff-team-diagram {
    padding: 24px 18px;
  }

  .staff-team-diagram__items {
    flex-direction: column;
  }

  .staff-team-diagram__items article {
    width: 100%;
  }

  .staff-team-notes {
    display: block;
    border-left: 0;
  }

  .staff-team-notes article,
  .staff-team-notes article:last-child {
    width: 100%;
    min-height: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .staff-consultation-card {
    min-height: 0;
    padding: 26px 22px;
    flex-direction: column;
  }

  .staff-first-meeting-visual figure {
    height: 390px;
  }

  .staff-first-meeting-visual__label {
    position: static;
    width: 100%;
    padding: 22px 20px;
  }

  .staff-first-meeting-visual__label strong {
    font-size: var(--font-size-body);
  }

  .staff-first-meeting-copy li {
    gap: 12px;
  }
}

/* ==================================================
   24. PAGE: VISIT & TRIAL
   /visit-trial/
   見学・体験ページ専用
================================================== */

.visit-guide-hero {
  overflow: hidden;
  background: #ffffff;
}

.visit-guide-hero__inner {
  min-height: 720px;
  display: flex;
  align-items: stretch;
}

.visit-guide-hero__copy {
  width: 48%;
  padding: 96px 72px 82px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visit-guide-hero__copy h1 {
  margin: 0 0 28px;
  font-size: var(--font-size-lower-hero-heading);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.06em;
}

.visit-guide-hero__lead {
  max-width: 620px;
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-large);
  line-height: 2;
}

.visit-guide-hero__actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.visit-guide-hero__note {
  max-width: 640px;
  margin: 28px 0 0;
  padding-left: 18px;
  color: var(--ink-soft);
  border-left: 3px solid var(--brand);
  font-size: var(--font-size-body-small);
}

.visit-guide-hero__visual {
  width: calc(52% + max(24px, (100vw - var(--container)) / 2));
  margin-right: calc(-1 * max(24px, (100vw - var(--container)) / 2));
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.visit-guide-hero__main-image {
  min-height: 500px;
  margin: 0;
  flex: 1 1 auto;
  overflow: hidden;
}

.visit-guide-hero__main-image img,
.visit-guide-hero__sub-area figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.visit-guide-hero__sub-area {
  height: 210px;
  display: flex;
  gap: 12px;
}

.visit-guide-hero__sub-area figure {
  width: 48%;
  margin: 0;
  overflow: hidden;
}

.visit-guide-hero__message {
  width: 52%;
  padding: 28px 30px;
  color: #ffffff;
  background: var(--navy);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.visit-guide-hero__message span {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.visit-guide-hero__message strong {
  font-size: var(--font-size-subtitle);
  line-height: 1.7;
}

.visit-guide-compare {
  display: flex;
  align-items: stretch;
  gap: 26px;
}

.visit-guide-compare-card {
  width: calc((100% - 116px) / 2);
  padding: 42px 40px 36px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.visit-guide-compare-card--trial {
  border-color: var(--brand);
  background: var(--brand-pale);
}

.visit-guide-compare-card__head {
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 18px;
}

.visit-guide-compare-card__head > span {
  width: 58px;
  height: 58px;
  flex: 0 0 58px;
  color: #ffffff;
  background: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-body-medium);
  font-weight: 700;
}

.visit-guide-compare-card--trial .visit-guide-compare-card__head > span {
  background: var(--brand);
}

.visit-guide-compare-card__head p {
  margin: 0 0 2px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.visit-guide-compare-card__head h3 {
  margin: 0;
  font-size: var(--font-size-heading-sm);
  font-weight: 600;
  line-height: 1.4;
}

.visit-guide-compare-card__catch {
  margin: 0 0 24px;
  color: var(--navy);
  font-size: var(--font-size-subtitle);
  font-weight: 700;
}

.visit-guide-compare-card ul {
  margin: 0 0 28px;
  padding: 0;
  list-style: none;
}

.visit-guide-compare-card li {
  position: relative;
  margin-top: 10px;
  padding-left: 26px;
}

.visit-guide-compare-card li::before {
  content: "";
  position: absolute;
  top: 0.72em;
  left: 2px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand);
  transform: translateY(-50%);
}

.visit-guide-compare-card dl {
  margin: 0;
  border-top: 1px solid var(--border);
}

.visit-guide-compare-card dl > div {
  min-height: 52px;
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.visit-guide-compare-card dt {
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
  font-weight: 600;
}

.visit-guide-compare-card dd {
  margin: 0;
  text-align: right;
  font-weight: 700;
}

.visit-guide-compare__connector {
  width: 64px;
  flex: 0 0 64px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: var(--brand-dark);
}

.visit-guide-compare__connector span {
  width: 1px;
  height: 52px;
  background: var(--brand);
}

.visit-guide-compare__connector strong {
  writing-mode: vertical-rl;
  font-size: var(--font-size-caption);
  letter-spacing: 0.16em;
}

.visit-guide-compare__connector i {
  font-style: normal;
  font-size: var(--font-size-icon-large);
}

.visit-guide-callout {
  max-width: 920px;
  margin: 42px auto 0;
  padding: 26px 30px;
  border: 1px solid #f4c39f;
  background: var(--brand-pale);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.visit-guide-callout > span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  color: #ffffff;
  background: var(--brand);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-subtitle);
  font-weight: 700;
}

.visit-guide-callout strong {
  display: block;
  margin-bottom: 6px;
  font-size: var(--font-size-subtitle);
}

.visit-guide-callout p {
  margin: 0;
  color: var(--ink-soft);
}

.visit-day-timeline {
  position: relative;
  max-width: 980px;
  margin: 64px auto 0;
  padding: 0;
  list-style: none;
}

.visit-day-timeline::before {
  content: "";
  position: absolute;
  top: 30px;
  bottom: 30px;
  left: 34px;
  width: 1px;
  background: var(--border);
}

.visit-day-timeline li {
  position: relative;
  margin-top: 26px;
  display: flex;
  align-items: flex-start;
  gap: 28px;
}

.visit-day-timeline li:first-child {
  margin-top: 0;
}

.visit-day-timeline__number {
  position: relative;
  z-index: 1;
  width: 68px;
  height: 68px;
  flex: 0 0 68px;
  color: #ffffff;
  background: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-body-medium);
  font-weight: 700;
}

.visit-day-timeline li:nth-child(3) .visit-day-timeline__number,
.visit-day-timeline li:nth-child(5) .visit-day-timeline__number {
  background: var(--brand);
}

.visit-day-timeline__content {
  min-height: 150px;
  padding: 26px 30px;
  border: 1px solid var(--border);
  background: #ffffff;
  flex: 1 1 auto;
}

.visit-day-timeline__time {
  margin: 0 0 6px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.visit-day-timeline h3 {
  margin: 0 0 10px;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  line-height: 1.55;
}

.visit-day-timeline__content > p:last-child {
  margin: 0;
  color: var(--ink-soft);
}

.trial-content-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.trial-content-card {
  width: calc((100% - 48px) / 3);
  min-height: 520px;
  border: 1px solid var(--border);
  background: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.trial-content-card figure {
  height: 210px;
  margin: 0;
  overflow: hidden;
}

.trial-content-card figure img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.trial-content-card:hover figure img {
  transform: scale(1.035);
}

.trial-content-card > div:not(.trial-content-card__consultation-icon) {
  padding: 26px 26px 28px;
}

.trial-content-card > div > span {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.trial-content-card h3 {
  margin: 0 0 12px;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  line-height: 1.5;
}

.trial-content-card p {
  margin: 0;
  color: var(--ink-soft);
}

.trial-content-card ul {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.trial-content-card li {
  padding: 6px 10px;
  color: var(--navy);
  background: var(--navy-pale);
  font-size: var(--font-size-caption);
  font-weight: 600;
}

.trial-content-card--consultation {
  position: relative;
  padding-top: 210px;
  color: #ffffff;
  background: var(--navy);
}

.trial-content-card--consultation::before,
.trial-content-card--consultation::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
}

.trial-content-card--consultation::before {
  top: -48px;
  right: -30px;
  width: 220px;
  height: 220px;
}

.trial-content-card--consultation::after {
  top: 76px;
  left: -44px;
  width: 150px;
  height: 150px;
}

.trial-content-card__consultation-icon {
  position: absolute;
  top: 56px;
  left: 50%;
  z-index: 1;
  width: 96px;
  height: 96px;
  color: var(--navy);
  background: #ffffff;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-heading-lg);
  font-weight: 700;
  transform: translateX(-50%);
}

.trial-content-card--consultation
  > div:not(.trial-content-card__consultation-icon) {
  position: relative;
  z-index: 1;
}

.trial-content-card--consultation > div > span,
.trial-content-card--consultation p {
  color: rgba(255, 255, 255, 0.76);
}

.trial-content-card--consultation li {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.12);
}

.visit-check-layout {
  display: flex;
  align-items: flex-start;
  gap: 84px;
}

.visit-check-heading {
  width: 37%;
  position: sticky;
  top: 32px;
}

.visit-check-heading .section-label {
  color: #f5b486;
}

.visit-check-heading h2 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: var(--font-size-content-heading);
  font-weight: 600;
  line-height: 1.55;
}

.visit-check-heading p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.74);
}

.visit-check-list {
  width: 63%;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.visit-check-list article {
  padding: 30px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  display: flex;
  align-items: flex-start;
  gap: 24px;
}

.visit-check-list article > span {
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  color: var(--navy);
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.visit-check-list h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: var(--font-size-card-title);
  font-weight: 600;
}

.visit-check-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.visit-info-layout {
  display: flex;
  align-items: flex-start;
  gap: 54px;
}

.visit-info-table {
  width: 57%;
  margin: 0;
  border-top: 1px solid var(--border);
}

.visit-info-table > div {
  min-height: 70px;
  padding: 16px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 24px;
}

.visit-info-table dt {
  width: 34%;
  flex: 0 0 34%;
  color: var(--navy);
  font-weight: 700;
}

.visit-info-table dd {
  margin: 0;
  color: var(--ink-soft);
}

.visit-info-notes {
  width: 43%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.visit-info-notes article {
  padding: 24px 26px;
  border: 1px solid var(--border);
  background: var(--surface-alt);
}

.visit-info-notes article > span {
  display: block;
  margin-bottom: 8px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.16em;
}

.visit-info-notes h3 {
  margin: 0 0 8px;
  font-size: var(--font-size-subtitle);
  font-weight: 600;
}

.visit-info-notes p {
  margin: 0;
  color: var(--ink-soft);
}

.visit-info-notes .text-link {
  margin-top: 14px;
}

.after-trial-layout {
  display: flex;
  align-items: center;
  gap: 72px;
}

.after-trial-visual {
  width: 48%;
  margin: 0;
}

.after-trial-visual img {
  width: 100%;
  height: 520px;
  object-fit: cover;
}

.after-trial-visual figcaption {
  padding: 14px 0 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.after-trial-content {
  width: 52%;
}

.after-trial-content h2 {
  margin: 0 0 22px;
  font-size: var(--font-size-content-heading);
  font-weight: 600;
  line-height: 1.55;
}

.after-trial-content > p:not(.section-label) {
  margin: 0;
  color: var(--ink-soft);
}

.after-trial-content ol {
  margin: 30px 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--border);
}

.after-trial-content li {
  padding: 20px 0;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}

.after-trial-content li > span {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  color: #ffffff;
  background: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.after-trial-content li strong {
  display: block;
  margin-bottom: 4px;
  font-size: var(--font-size-body-large);
}

.after-trial-content li p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.visit-guide-faq .accordion {
  max-width: 960px;
  margin-right: auto;
  margin-left: auto;
}

.visit-application {
  padding: 96px 0;
  color: #ffffff;
  background: var(--brand);
}

.visit-application__inner {
  display: flex;
  align-items: flex-start;
  gap: 72px;
}

.visit-application__copy {
  width: 40%;
}

.visit-application__copy .section-label {
  color: rgba(255, 255, 255, 0.78);
}

.visit-application__copy h2 {
  margin: 0 0 20px;
  font-size: var(--font-size-content-heading);
  font-weight: 600;
  line-height: 1.55;
}

.visit-application__copy p:last-child {
  margin: 0;
  color: rgba(255, 255, 255, 0.84);
}

.visit-application__methods {
  width: 60%;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.visit-application-card {
  min-height: 104px;
  padding: 22px 26px;
  display: flex;
  align-items: center;
  gap: 20px;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.visit-application-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 32px rgba(42, 63, 74, 0.16);
}

.visit-application-card > span {
  width: 68px;
  flex: 0 0 68px;
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.12em;
}

.visit-application-card > div {
  min-width: 0;
  flex: 1 1 auto;
}

.visit-application-card strong,
.visit-application-card small {
  display: block;
}

.visit-application-card strong {
  font-size: var(--font-size-subtitle);
}

.visit-application-card small {
  margin-top: 2px;
  font-size: var(--font-size-body-small);
}

.visit-application-card i {
  font-style: normal;
  font-size: var(--font-size-icon-large);
}

.visit-application-card--line {
  color: #ffffff;
  background: var(--line-green);
}

.visit-application-card--form {
  color: var(--navy);
  background: #ffffff;
}

.visit-application-card--tel {
  color: #ffffff;
  background: var(--navy);
}

.visit-application__note {
  width: 60%;
  margin: 12px 0 0 auto;
  color: rgba(255, 255, 255, 0.74);
  font-size: var(--font-size-caption);
}

/* ==================================================
   25. PAGE: VISIT & TRIAL / RESPONSIVE
================================================== */

@media (max-width: 1080px) {
  .visit-guide-hero__copy {
    width: 49%;
    padding-right: 54px;
  }

  .visit-guide-hero__visual {
    width: calc(51% + max(24px, (100vw - var(--container)) / 2));
  }

  .visit-guide-compare-card {
    width: calc((100% - 96px) / 2);
    padding: 34px 30px;
  }

  .trial-content-card {
    width: calc((100% - 24px) / 2);
  }

  .visit-check-layout {
    gap: 58px;
  }

  .visit-info-layout,
  .after-trial-layout,
  .visit-application__inner {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .visit-guide-hero__inner {
    min-height: 0;
    flex-direction: column;
  }

  .visit-guide-hero__copy {
    width: 100%;
    padding: 68px 0 54px;
  }

  .visit-guide-hero__visual {
    width: calc(100% + 48px);
    height: 620px;
    margin: 0 -24px;
  }

  .visit-guide-compare {
    flex-direction: column;
  }

  .visit-guide-compare-card {
    width: 100%;
  }

  .visit-guide-compare__connector {
    width: 100%;
    height: 58px;
    flex: 0 0 58px;
    flex-direction: row;
  }

  .visit-guide-compare__connector span {
    width: 52px;
    height: 1px;
  }

  .visit-guide-compare__connector strong {
    writing-mode: horizontal-tb;
  }

  .visit-check-layout,
  .visit-info-layout,
  .after-trial-layout,
  .visit-application__inner {
    flex-direction: column;
  }

  .visit-check-heading,
  .visit-check-list,
  .visit-info-table,
  .visit-info-notes,
  .after-trial-visual,
  .after-trial-content,
  .visit-application__copy,
  .visit-application__methods {
    width: 100%;
  }

  .visit-check-heading {
    position: static;
    max-width: 760px;
  }

  .after-trial-visual {
    max-width: 780px;
  }

  .visit-application__note {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 700px) {
  .trial-content-card {
    width: 100%;
    min-height: 0;
    flex-direction: row;
  }

  .trial-content-card figure {
    width: 38%;
    height: auto;
    min-height: 320px;
    flex: 0 0 38%;
  }

  .trial-content-card > div:not(.trial-content-card__consultation-icon) {
    flex: 1 1 auto;
  }

  .trial-content-card--consultation {
    min-height: 330px;
    padding-top: 0;
    padding-left: 180px;
  }

  .trial-content-card__consultation-icon {
    top: 50%;
    left: 90px;
    transform: translate(-50%, -50%);
  }

  .visit-day-timeline::before {
    left: 28px;
  }

  .visit-day-timeline__number {
    width: 56px;
    height: 56px;
    flex-basis: 56px;
  }

  .visit-day-timeline li {
    gap: 18px;
  }

  .visit-day-timeline__content {
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .visit-guide-hero__copy {
    padding: 52px 0 42px;
  }

  .visit-guide-hero__copy h1 {
    font-size: var(--font-size-lower-hero-mobile);
  }

  .visit-guide-hero__lead {
    font-size: var(--font-size-body);
  }

  .visit-guide-hero__actions {
    flex-direction: column;
  }

  .visit-guide-hero__actions .button {
    width: 100%;
  }

  .visit-guide-hero__visual {
    width: calc(100% + 32px);
    height: 500px;
    margin: 0 -16px;
    gap: 8px;
  }

  .visit-guide-hero__sub-area {
    height: 180px;
    gap: 8px;
  }

  .visit-guide-hero__message {
    padding: 18px 14px;
  }

  .visit-guide-hero__message strong {
    font-size: var(--font-size-body-small);
  }

  .visit-guide-compare-card {
    padding: 28px 22px;
  }

  .visit-guide-compare-card__head h3 {
    font-size: var(--font-size-heading-mobile);
  }

  .visit-guide-compare-card__catch {
    font-size: var(--font-size-body-large);
  }

  .visit-guide-compare-card dl > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 2px;
  }

  .visit-guide-compare-card dd {
    text-align: left;
  }

  .visit-guide-callout {
    padding: 22px 18px;
  }

  .visit-guide-callout strong {
    font-size: var(--font-size-body-large);
  }

  .visit-day-timeline {
    margin-top: 40px;
  }

  .visit-day-timeline::before {
    left: 21px;
  }

  .visit-day-timeline li {
    gap: 14px;
  }

  .visit-day-timeline__number {
    width: 42px;
    height: 42px;
    flex-basis: 42px;
  }

  .visit-day-timeline__content {
    padding: 20px 18px;
  }

  .visit-day-timeline h3 {
    font-size: var(--font-size-subtitle);
  }

  .trial-content-card {
    display: block;
  }

  .trial-content-card figure {
    width: 100%;
    height: 230px;
    min-height: 0;
  }

  .trial-content-card--consultation {
    min-height: 440px;
    padding: 170px 0 0;
  }

  .trial-content-card__consultation-icon {
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
  }

  .visit-check-list article {
    gap: 14px;
  }

  .visit-info-table > div {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
  }

  .visit-info-table dt {
    width: 100%;
    flex-basis: auto;
  }

  .after-trial-visual img {
    height: 390px;
  }

  .visit-application {
    padding: 72px 0;
  }

  .visit-application-card {
    min-height: 94px;
    padding: 18px;
    gap: 14px;
  }

  .visit-application-card > span {
    width: 52px;
    flex-basis: 52px;
  }

  .visit-application-card strong {
    font-size: var(--font-size-body-large);
  }
}

/* ==================================================
   26. PAGE: FAQ
   /faq/
   FAQ一覧・検索・カテゴリ絞り込み
================================================== */

.faq-page-hero {
  overflow: hidden;
  background: linear-gradient(110deg, #fff8f3 0%, #ffffff 62%, #f1f4f5 100%);
  border-bottom: 1px solid var(--border);
}

.faq-page-hero__inner {
  min-height: 610px;
  display: flex;
  align-items: stretch;
}

.faq-page-hero__copy {
  width: 52%;
  padding: 92px 80px 84px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.faq-page-hero__copy h1 {
  margin: 0 0 28px;
  font-size: var(--font-size-lower-hero-heading);
  font-weight: 600;
  line-height: 1.28;
  letter-spacing: 0.07em;
}

.faq-page-hero__lead {
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-large);
  line-height: 2;
}

.faq-page-hero__actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.faq-page-hero__visual {
  position: relative;
  width: 48%;
  min-height: 610px;
  overflow: hidden;
  background: var(--navy);
}

.faq-page-hero__label {
  position: absolute;
  top: 44px;
  right: -22px;
  color: rgba(255, 255, 255, 0.08);
  font-size: clamp(8rem, 14vw, 13rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.06em;
}

.faq-page-hero__card {
  position: absolute;
  z-index: 2;
  min-height: 124px;
  padding: 25px 28px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: #ffffff;
  box-shadow: 0 22px 55px rgba(0, 0, 0, 0.18);
}

.faq-page-hero__card span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--brand);
  font-size: var(--font-size-body-large);
  font-weight: 700;
}

.faq-page-hero__card p {
  margin: 1px 0 0;
  font-size: var(--font-size-subtitle);
  font-weight: 600;
  line-height: 1.65;
}

.faq-page-hero__card--one {
  top: 118px;
  left: 9%;
  width: 68%;
  transform: rotate(-2deg);
}

.faq-page-hero__card--two {
  top: 292px;
  right: 4%;
  width: 62%;
  transform: rotate(2.5deg);
}

.faq-page-hero__card--three {
  bottom: 54px;
  left: 15%;
  width: 70%;
  color: #ffffff;
  background: var(--brand);
  transform: rotate(-1deg);
}

.faq-page-hero__card--three span {
  color: var(--brand-dark);
  background: #ffffff;
}

.faq-page-hero__line {
  position: absolute;
  left: 0;
  bottom: 32px;
  width: 100%;
  height: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.faq-search-panel {
  padding: 36px;
  background: var(--surface-alt);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.faq-search-form label {
  display: block;
  margin-bottom: 12px;
  color: var(--navy);
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.faq-search-form__field {
  min-height: 70px;
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 1px solid #d8d0ca;
}

.faq-search-form__field > span {
  width: 64px;
  flex: 0 0 64px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--navy);
}

.faq-search-form__field svg {
  width: 27px;
  height: 27px;
}

.faq-search-form__field input {
  min-width: 0;
  height: 68px;
  flex: 1 1 auto;
  padding: 0 12px 0 0;
  border: 0;
  outline: 0;
  color: var(--ink);
  background: transparent;
  font-size: var(--font-size-body);
}

.faq-search-form__field input::placeholder {
  color: #8a817b;
}

.faq-search-form__field button {
  min-height: 46px;
  margin-right: 12px;
  padding: 8px 15px;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: #ffffff;
  font-size: var(--font-size-body-small);
  font-weight: 700;
  cursor: pointer;
}

.faq-category-filter {
  margin-top: 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.faq-category-filter button {
  min-height: 44px;
  padding: 9px 17px;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: #ffffff;
  font-size: var(--font-size-body-small);
  font-weight: 700;
  cursor: pointer;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.faq-category-filter button:hover,
.faq-category-filter button.is-active {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
}

.faq-search-result {
  margin: 18px 0 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
  text-align: right;
}

.faq-popular {
  margin-top: 62px;
  padding: 40px;
  display: flex;
  align-items: flex-start;
  gap: 62px;
  background: var(--navy);
}

.faq-popular__heading {
  width: 245px;
  flex: 0 0 245px;
}

.faq-popular__heading .section-label {
  color: #ffb276;
}

.faq-popular__heading h3 {
  margin: 0;
  color: #ffffff;
  font-size: var(--font-size-heading-xs);
  font-weight: 600;
}

.faq-popular__links {
  flex: 1 1 auto;
  display: flex;
  flex-wrap: wrap;
}

.faq-popular__links a {
  width: 50%;
  min-height: 78px;
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  color: #ffffff;
  border-top: 1px solid rgba(255, 255, 255, 0.16);
  font-size: var(--font-size-body-small);
  font-weight: 600;
  line-height: 1.7;
  transition: background 0.2s ease;
}

.faq-popular__links a:hover {
  background: rgba(255, 255, 255, 0.07);
}

.faq-popular__links a:nth-last-child(-n + 2) {
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.faq-popular__links span {
  color: #ffb276;
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.1em;
}

.faq-directory {
  margin-top: 106px;
}

.faq-page-group {
  padding: 92px 0;
  border-top: 1px solid var(--border);
  scroll-margin-top: 160px;
}

.faq-page-group:first-child {
  padding-top: 0;
  border-top: 0;
}

.faq-page-group__heading {
  margin-bottom: 40px;
  display: flex;
  align-items: flex-end;
  flex-wrap: wrap;
  gap: 14px 46px;
}

.faq-page-group__heading > div {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 14px;
}

.faq-page-group__heading > div span {
  color: var(--brand);
  font-size: var(--font-size-body-large);
  font-weight: 700;
}

.faq-page-group__heading > div p {
  margin: 0;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.faq-page-group__heading h2 {
  margin: 0;
  flex: 0 0 auto;
  font-size: var(--font-size-content-heading-compact);
  font-weight: 600;
  line-height: 1.45;
}

.faq-page-group__heading > p {
  max-width: 580px;
  margin: 0 0 4px auto;
  color: var(--ink-soft);
}

.faq-page-list {
  border-top: 1px solid var(--navy);
}

.faq-page-item {
  border-bottom: 1px solid var(--border);
  scroll-margin-top: 190px;
}

.faq-page-item[hidden],
.faq-page-group[hidden] {
  display: none;
}

.faq-page-item summary {
  position: relative;
  min-height: 98px;
  padding: 24px 72px 24px 20px;
  display: flex;
  align-items: center;
  gap: 22px;
  list-style: none;
  cursor: pointer;
}

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

.faq-page-item summary > span:not(.faq-page-item__q) {
  font-size: var(--font-size-body-large);
  font-weight: 600;
  line-height: 1.7;
}

.faq-page-item__q {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--navy);
  font-size: var(--font-size-body-large);
  font-weight: 700;
}

.faq-page-item summary i {
  position: absolute;
  top: 50%;
  right: 24px;
  width: 28px;
  height: 28px;
  transform: translateY(-50%);
}

.faq-page-item summary i::before,
.faq-page-item summary i::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 18px;
  height: 1px;
  content: "";
  background: var(--navy);
  transform: translate(-50%, -50%);
  transition: transform 0.2s ease;
}

.faq-page-item summary i::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-page-item[open] summary {
  color: var(--navy);
  background: var(--navy-pale);
}

.faq-page-item[open] summary i::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-page-item__answer {
  padding: 8px 72px 34px 84px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  background: var(--navy-pale);
}

.faq-page-item__answer > span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--brand);
  font-size: var(--font-size-body-large);
  font-weight: 700;
}

.faq-page-item__answer > div {
  flex: 1 1 auto;
}

.faq-page-item__answer p {
  margin: 4px 0 0;
  color: var(--ink-soft);
}

.faq-page-item__answer a {
  margin-top: 15px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--brand-dark);
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.faq-page-item__answer b {
  font-weight: 700;
}

.faq-empty {
  padding: 78px 30px;
  text-align: center;
  background: var(--surface-alt);
  border: 1px solid var(--border);
}

.faq-empty > span {
  width: 64px;
  height: 64px;
  margin: 0 auto 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--navy);
  font-size: var(--font-size-heading-xs);
  font-weight: 700;
}

.faq-empty h2 {
  margin: 0 0 14px;
  font-size: var(--font-size-heading-sm);
  font-weight: 600;
}

.faq-empty p {
  max-width: 680px;
  margin: 0 auto 28px;
  color: var(--ink-soft);
}

.faq-contact-note__inner {
  display: flex;
  align-items: flex-start;
  gap: 100px;
}

.faq-contact-note__inner > div:first-child {
  width: 43%;
  flex: 0 0 43%;
}

.faq-contact-note__inner > div:last-child {
  flex: 1 1 auto;
}

.faq-contact-note h2 {
  margin: 0;
  font-size: var(--font-size-content-heading);
  font-weight: 600;
  line-height: 1.55;
}

.faq-contact-note p {
  margin: 0;
  color: var(--ink-soft);
}

.faq-contact-note ul {
  margin: 25px 0 0;
  padding: 0;
  list-style: none;
}

.faq-contact-note li {
  position: relative;
  margin-top: 11px;
  padding-left: 26px;
  font-weight: 600;
}

.faq-contact-note li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 12px;
  height: 1px;
  content: "";
  background: var(--brand);
}

/* ==================================================
   27. PAGE: FAQ / RESPONSIVE
================================================== */

@media (max-width: 1080px) {
  .faq-page-hero__copy {
    width: 50%;
    padding-right: 54px;
  }

  .faq-page-hero__visual {
    width: 50%;
  }

  .faq-page-hero__card--one {
    width: 76%;
  }

  .faq-page-hero__card--two {
    width: 72%;
  }

  .faq-page-hero__card--three {
    width: 76%;
  }

  .faq-popular {
    gap: 36px;
  }

  .faq-contact-note__inner {
    gap: 60px;
  }
}

@media (max-width: 900px) {
  .faq-page-hero__inner {
    min-height: 0;
    flex-direction: column;
  }

  .faq-page-hero__copy {
    width: 100%;
    padding: 68px 0 58px;
  }

  .faq-page-hero__visual {
    width: calc(100% + 48px);
    min-height: 500px;
    margin: 0 -24px;
  }

  .faq-page-hero__card--one {
    left: 8%;
    width: 54%;
  }

  .faq-page-hero__card--two {
    right: 8%;
    width: 50%;
  }

  .faq-page-hero__card--three {
    left: 18%;
    width: 58%;
  }

  .faq-popular {
    flex-direction: column;
  }

  .faq-popular__heading {
    width: 100%;
    flex-basis: auto;
  }

  .faq-page-group__heading {
    display: block;
  }

  .faq-page-group__heading h2 {
    margin-top: 12px;
  }

  .faq-page-group__heading > p {
    max-width: 700px;
    margin: 14px 0 0;
  }

  .faq-contact-note__inner {
    flex-direction: column;
  }

  .faq-contact-note__inner > div:first-child {
    width: 100%;
    flex-basis: auto;
  }
}

@media (max-width: 700px) {
  .faq-search-panel {
    padding: 26px 22px;
  }

  .faq-popular {
    padding: 32px 24px;
  }

  .faq-popular__links {
    display: block;
    width: 100%;
  }

  .faq-popular__links a {
    width: 100%;
  }

  .faq-popular__links a:nth-last-child(-n + 2) {
    border-bottom: 0;
  }

  .faq-popular__links a:last-child {
    border-bottom: 1px solid rgba(255, 255, 255, 0.16);
  }

  .faq-page-item__answer {
    padding-left: 62px;
  }
}

@media (max-width: 640px) {
  .faq-page-hero__copy {
    padding: 52px 0 44px;
  }

  .faq-page-hero__copy h1 {
    font-size: var(--font-size-lower-hero-mobile);
  }

  .faq-page-hero__lead {
    font-size: var(--font-size-body);
  }

  .faq-page-hero__actions {
    flex-direction: column;
  }

  .faq-page-hero__actions .button {
    width: 100%;
  }

  .faq-page-hero__visual {
    width: calc(100% + 32px);
    min-height: 490px;
    margin: 0 -16px;
  }

  .faq-page-hero__label {
    top: 35px;
    font-size: 8rem;
  }

  .faq-page-hero__card {
    min-height: 108px;
    padding: 20px;
    gap: 13px;
  }

  .faq-page-hero__card p {
    font-size: var(--font-size-body-large);
  }

  .faq-page-hero__card--one {
    top: 86px;
    left: 5%;
    width: 78%;
  }

  .faq-page-hero__card--two {
    top: 232px;
    right: 4%;
    width: 73%;
  }

  .faq-page-hero__card--three {
    bottom: 42px;
    left: 10%;
    width: 82%;
  }

  .faq-search-panel {
    padding: 22px 16px;
  }

  .faq-search-form__field {
    min-height: 62px;
  }

  .faq-search-form__field > span {
    width: 48px;
    flex-basis: 48px;
  }

  .faq-search-form__field input {
    height: 60px;
  }

  .faq-search-form__field button {
    padding: 7px 10px;
  }

  .faq-category-filter button {
    width: calc((100% - 10px) / 2);
    padding-right: 8px;
    padding-left: 8px;
  }

  .faq-search-result {
    text-align: left;
  }

  .faq-popular {
    margin-top: 44px;
    padding: 28px 18px;
  }

  .faq-directory {
    margin-top: 76px;
  }

  .faq-page-group {
    padding: 68px 0;
  }

  .faq-page-group__heading {
    margin-bottom: 28px;
  }

  .faq-page-group__heading h2 {
    font-size: var(--font-size-heading-mobile);
  }

  .faq-page-item summary {
    min-height: 88px;
    padding: 20px 54px 20px 8px;
    gap: 12px;
  }

  .faq-page-item summary > span:not(.faq-page-item__q) {
    font-size: var(--font-size-body);
  }

  .faq-page-item__q,
  .faq-page-item__answer > span {
    width: 36px;
    height: 36px;
    flex-basis: 36px;
  }

  .faq-page-item summary i {
    right: 12px;
  }

  .faq-page-item__answer {
    padding: 2px 16px 28px 8px;
    gap: 12px;
  }

  .faq-empty {
    padding: 58px 18px;
  }

  .faq-empty h2 {
    font-size: var(--font-size-heading-mobile);
  }
}

/* ==================================================
   28. PAGE: CONTACT
   /contact/
   Contact Form 7の標準出力を想定したお問い合わせページ
================================================== */
.contact-page-hero {
  overflow: hidden;
  background: var(--brand-pale);
}

.contact-page-hero__inner {
  min-height: 560px;
  display: flex;
  align-items: stretch;
}

.contact-page-hero__copy {
  width: 52%;
  padding: 94px 72px 82px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.contact-page-hero__copy h1 {
  max-width: 650px;
  margin: 0 0 26px;
  font-size: var(--font-size-lower-hero-heading);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.contact-page-hero__lead {
  max-width: 650px;
  margin: 0;
  color: var(--ink);
  font-size: var(--font-size-subtitle);
  font-weight: 500;
  line-height: 2;
}

.contact-page-hero__actions {
  margin-top: 34px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
}

.contact-page-hero__visual {
  width: 48%;
  min-height: 560px;
  position: relative;
}

.contact-page-hero__backdrop {
  position: absolute;
  inset: 48px 0 46px 22px;
  border: 1px solid #f0c8aa;
  background: #ffffff;
  box-shadow: var(--shadow);
}

.contact-page-hero__backdrop::before,
.contact-page-hero__backdrop::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: var(--brand-soft);
}

.contact-page-hero__backdrop::before {
  width: 190px;
  height: 190px;
  top: 30px;
  right: 42px;
}

.contact-page-hero__backdrop::after {
  width: 94px;
  height: 94px;
  left: 54px;
  bottom: 52px;
}

.contact-page-hero__envelope {
  width: 168px;
  color: var(--brand);
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  transform: translate(-50%, -56%);
}

.contact-page-hero__note {
  min-width: 172px;
  padding: 18px 20px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
  display: flex;
  align-items: center;
  gap: 13px;
  position: absolute;
  z-index: 3;
}

.contact-page-hero__note span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.contact-page-hero__note p {
  margin: 0;
  color: var(--navy);
  font-size: var(--font-size-body-small);
  font-weight: 700;
  line-height: 1.65;
}

.contact-page-hero__note--one {
  top: 90px;
  left: 0;
}

.contact-page-hero__note--two {
  top: 180px;
  right: -4px;
}

.contact-page-hero__note--three {
  right: 30px;
  bottom: 74px;
}

.contact-channel-list {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 22px;
}

.contact-channel-card {
  width: calc((100% - 44px) / 3);
  min-height: 520px;
  padding: 38px 34px 34px;
  border: 1px solid var(--border);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-soft);
}

.contact-channel-card--form {
  border-top: 5px solid var(--brand);
}

.contact-channel-card--line {
  border-top: 5px solid var(--line-green);
}

.contact-channel-card--visit {
  border-top: 5px solid var(--navy);
}

.contact-channel-card__icon {
  width: 66px;
  height: 66px;
  margin-bottom: 24px;
  border-radius: 50%;
  color: var(--brand);
  background: var(--brand-soft);
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-channel-card--line .contact-channel-card__icon {
  color: var(--line-green);
  background: #ecfff2;
}

.contact-channel-card--visit .contact-channel-card__icon {
  color: var(--navy);
  background: var(--navy-pale);
}

.contact-channel-card__icon svg {
  width: 32px;
  height: 32px;
}

.contact-channel-card__label {
  margin: 0 0 9px;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.18em;
}

.contact-channel-card--line .contact-channel-card__label {
  color: #008a38;
}

.contact-channel-card--visit .contact-channel-card__label {
  color: var(--navy);
}

.contact-channel-card h3 {
  margin: 0 0 16px;
  font-size: var(--font-size-card-title);
  line-height: 1.55;
}

.contact-channel-card > p:not(.contact-channel-card__label) {
  margin: 0;
  color: var(--ink-soft);
}

.contact-channel-card ul {
  margin: 24px 0 28px;
  padding: 20px 0 0;
  border-top: 1px solid var(--border);
  list-style: none;
}

.contact-channel-card li {
  margin: 8px 0 0;
  padding-left: 22px;
  position: relative;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.contact-channel-card li::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand);
  position: absolute;
  top: 0.72em;
  left: 2px;
}

.contact-channel-card--line li::before {
  background: var(--line-green);
}

.contact-channel-card--visit li::before {
  background: var(--navy);
}

.contact-channel-card .button {
  width: 100%;
  margin-top: auto;
}

.contact-phone-note {
  margin-top: 18px;
  padding: 20px;
  border: 1px solid var(--border);
  background: #ffffff;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.contact-phone-note > div {
  display: flex;
  flex-direction: column;
}

.contact-phone-note span {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.14em;
}

.contact-phone-note strong {
  font-size: var(--font-size-subtitle);
}

.contact-phone-note small {
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
}

.contact-before-layout {
  display: flex;
  align-items: flex-start;
  gap: 70px;
}

.contact-before-layout > .content-heading {
  width: 42%;
  flex: 0 0 42%;
  position: sticky;
  top: 24px;
}

.contact-before-list {
  width: 58%;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-before-list article {
  padding: 28px 30px;
  border: 1px solid var(--border);
  background: #ffffff;
  display: flex;
  align-items: flex-start;
  gap: 22px;
}

.contact-before-list article > span {
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--brand);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.contact-before-list h3 {
  margin: 0 0 8px;
  font-size: var(--font-size-subtitle);
  line-height: 1.55;
}

.contact-before-list p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-form-section {
  scroll-margin-top: 24px;
}

.contact-form-layout {
  display: flex;
  align-items: flex-start;
  gap: 58px;
}

.contact-form-sidebar {
  width: 31%;
  flex: 0 0 31%;
  position: sticky;
  top: 24px;
}

.contact-form-sidebar > h2 {
  margin: 0 0 20px;
  font-size: var(--font-size-content-heading-compact);
  line-height: 1.5;
  letter-spacing: 0.06em;
}

.contact-form-sidebar > p {
  margin: 0;
  color: var(--ink-soft);
}

.contact-required-text {
  color: var(--brand-dark);
  font-weight: 700;
}

.contact-form-sidebar__notes,
.contact-form-sidebar__security {
  margin-top: 30px;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--brand-pale);
}

.contact-form-sidebar__notes h3,
.contact-form-sidebar__security h3 {
  margin: 0 0 12px;
  font-size: var(--font-size-subtitle);
}

.contact-form-sidebar__notes ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.contact-form-sidebar__notes li + li {
  margin-top: 8px;
}

.contact-form-sidebar__security {
  background: var(--navy-pale);
  display: flex;
  align-items: flex-start;
  gap: 15px;
}

.contact-form-sidebar__security > span {
  width: 38px;
  height: 38px;
  flex: 0 0 38px;
  color: var(--navy);
}

.contact-form-sidebar__security h3 {
  margin-bottom: 6px;
}

.contact-form-sidebar__security p {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.contact-form-preview {
  width: 69%;
  padding: 50px 48px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.wpcf7-form {
  margin: 0;
}

.contact-form-group {
  display: flex;
  flex-wrap: wrap;
  gap: 26px 22px;
}

.contact-form-group + .contact-form-group {
  margin-top: 48px;
  padding-top: 48px;
  border-top: 1px solid var(--border);
}

.contact-form-group__heading {
  width: 100%;
  margin-bottom: 4px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.contact-form-group__heading > span {
  width: 42px;
  height: 42px;
  flex: 0 0 42px;
  border-radius: 50%;
  color: #ffffff;
  background: var(--navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.contact-form-group__heading h3 {
  margin: 0;
  font-size: var(--font-size-heading-xs);
  line-height: 1.5;
}

.contact-form-field {
  margin: 0;
  min-width: 0;
}

.contact-form-field--half {
  width: calc((100% - 22px) / 2);
}

.contact-form-field--full {
  width: 100%;
}

.contact-form-field > label,
.contact-form-field > legend {
  margin: 0 0 10px;
  padding: 0;
  color: var(--navy);
  display: block;
  font-size: var(--font-size-body);
  font-weight: 700;
}

.contact-form-field > small {
  margin-top: 9px;
  color: var(--ink-soft);
  display: block;
  font-size: var(--font-size-caption);
  line-height: 1.75;
}

.contact-required,
.contact-optional {
  margin-left: 7px;
  padding: 3px 7px;
  display: inline-flex;
  vertical-align: middle;
  font-size: var(--font-size-caption);
  font-weight: 700;
  line-height: 1.4;
}

.contact-required {
  color: #ffffff;
  background: var(--brand-dark);
}

.contact-optional {
  color: var(--ink-soft);
  background: var(--navy-pale);
}

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

.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-date,
.wpcf7-select,
.wpcf7-textarea {
  width: 100%;
  border: 1px solid #cfc6c0;
  border-radius: 0;
  color: var(--ink);
  background: #ffffff;
  transition:
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    background 0.2s ease;
}

.wpcf7-text,
.wpcf7-email,
.wpcf7-tel,
.wpcf7-date,
.wpcf7-select {
  min-height: 58px;
  padding: 13px 15px;
}

.wpcf7-textarea {
  min-height: 210px;
  padding: 15px;
  resize: vertical;
  line-height: 1.8;
}

.wpcf7-select {
  cursor: pointer;
}

.wpcf7-text::placeholder,
.wpcf7-email::placeholder,
.wpcf7-tel::placeholder,
.wpcf7-textarea::placeholder {
  color: #918984;
  opacity: 1;
}

.wpcf7-text:focus,
.wpcf7-email:focus,
.wpcf7-tel:focus,
.wpcf7-date:focus,
.wpcf7-select:focus,
.wpcf7-textarea:focus {
  border-color: var(--brand);
  outline: none;
  box-shadow: 0 0 0 4px rgba(241, 122, 34, 0.13);
}

.contact-form-choice {
  border: 0;
  padding: 0;
}

.wpcf7-radio,
.wpcf7-checkbox {
  display: flex;
  align-items: stretch;
  flex-wrap: wrap;
  gap: 10px;
}

.wpcf7-list-item {
  margin: 0;
}

.wpcf7-list-item label {
  min-height: 50px;
  padding: 11px 16px;
  border: 1px solid #cfc6c0;
  background: #ffffff;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.wpcf7-list-item input {
  width: 20px;
  height: 20px;
  margin: 0;
  accent-color: var(--brand);
}

.wpcf7-list-item-label {
  font-weight: 600;
}

.contact-form-consent {
  margin-top: 40px;
  padding: 24px;
  border: 1px solid var(--border);
  background: var(--brand-pale);
}

.contact-form-consent .wpcf7-list-item label {
  min-height: 0;
  padding: 0;
  border: 0;
  background: transparent;
  align-items: flex-start;
}

.contact-form-consent a {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
}

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

.contact-form-submit p {
  margin: 0 0 16px;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.contact-form-submit .wpcf7-submit {
  min-width: 300px;
  border: 0;
  cursor: pointer;
}

.wpcf7-form.submitting .wpcf7-submit {
  opacity: 0.62;
  pointer-events: none;
}

.wpcf7-spinner {
  width: 26px;
  height: 26px;
  margin: 14px auto 0;
  border: 3px solid #e7ded8;
  border-top-color: var(--brand);
  border-radius: 50%;
  display: none;
  animation: contact-spinner 0.8s linear infinite;
}

.wpcf7-form.submitting .wpcf7-spinner {
  display: block;
}

@keyframes contact-spinner {
  to {
    transform: rotate(360deg);
  }
}

.wpcf7-not-valid {
  border-color: #b3261e !important;
  background: #fff7f6;
}

.wpcf7-not-valid-tip {
  margin-top: 7px;
  color: #b3261e;
  display: block;
  font-size: var(--font-size-caption);
  font-weight: 600;
}

.wpcf7-response-output {
  margin: 28px 0 0;
  padding: 18px 20px;
  border: 1px solid var(--border);
  display: none;
  font-weight: 600;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output,
.wpcf7-form.sent .wpcf7-response-output {
  display: block;
}

.wpcf7-form.invalid .wpcf7-response-output,
.wpcf7-form.failed .wpcf7-response-output {
  color: #7a1b16;
  border-color: #e3a39e;
  background: #fff4f3;
}

.wpcf7-form.sent .wpcf7-response-output {
  color: #155b2a;
  border-color: #98d5aa;
  background: #f1fff5;
}

.contact-after .content-heading h2 {
  color: #ffffff;
}

.contact-after-list {
  margin: 0;
  padding: 0;
  display: flex;
  align-items: stretch;
  list-style: none;
}

.contact-after-list li {
  width: calc(100% / 3);
  min-height: 300px;
  padding: 36px 32px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  position: relative;
}

.contact-after-list li + li {
  border-left: 0;
}

.contact-after-list li > span {
  color: #ffc69b;
  font-size: var(--font-size-heading-md);
  font-weight: 600;
}

.contact-after-list small {
  margin: 20px 0 9px;
  color: #ffc69b;
  display: block;
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.15em;
}

.contact-after-list h3 {
  margin: 0 0 13px;
  color: #ffffff;
  font-size: var(--font-size-card-title);
}

.contact-after-list p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-after-note {
  margin-top: 24px;
  padding: 28px 32px;
  border-left: 5px solid var(--brand);
  background: rgba(255, 255, 255, 0.08);
}

.contact-after-note h3 {
  margin: 0 0 8px;
  color: #ffffff;
  font-size: var(--font-size-subtitle);
}

.contact-after-note p {
  margin: 0;
  color: rgba(255, 255, 255, 0.76);
}

.contact-related-list {
  display: flex;
  align-items: stretch;
  gap: 18px;
}

.contact-related-list a {
  width: calc((100% - 36px) / 3);
  min-height: 270px;
  padding: 32px;
  border: 1px solid var(--border);
  background: #ffffff;
  display: flex;
  flex-direction: column;
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.contact-related-list a:hover {
  border-color: var(--brand);
  box-shadow: var(--shadow-soft);
  transform: translateY(-4px);
}

.contact-related-list span {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.15em;
}

.contact-related-list h3 {
  margin: 18px 0 12px;
  font-size: var(--font-size-card-title);
}

.contact-related-list p {
  margin: 0 0 22px;
  color: var(--ink-soft);
}

.contact-related-list b {
  margin-top: auto;
  color: var(--brand-dark);
  font-size: var(--font-size-body-small);
}

/* ==================================================
   29. PAGE: CONTACT / RESPONSIVE
================================================== */
@media (max-width: 1080px) {
  .contact-page-hero__copy {
    padding-right: 48px;
  }

  .contact-page-hero__note--two {
    right: 12px;
  }

  .contact-channel-card {
    padding-right: 28px;
    padding-left: 28px;
  }

  .contact-form-layout {
    gap: 38px;
  }

  .contact-form-preview {
    padding: 42px 36px;
  }
}

@media (max-width: 900px) {
  .contact-page-hero__inner,
  .contact-before-layout,
  .contact-form-layout {
    flex-direction: column;
  }

  .contact-page-hero__copy,
  .contact-page-hero__visual,
  .contact-before-layout > .content-heading,
  .contact-before-list,
  .contact-form-sidebar,
  .contact-form-preview {
    width: 100%;
    flex-basis: auto;
  }

  .contact-page-hero__copy {
    padding: 66px 0 46px;
  }

  .contact-page-hero__visual {
    min-height: 470px;
  }

  .contact-page-hero__backdrop {
    inset: 24px 30px 34px;
  }

  .contact-page-hero__note--one {
    left: 7%;
  }

  .contact-page-hero__note--two {
    right: 8%;
  }

  .contact-page-hero__note--three {
    right: 16%;
  }

  .contact-channel-card {
    width: calc((100% - 22px) / 2);
  }

  .contact-channel-card:last-child {
    width: 100%;
    min-height: 0;
  }

  .contact-before-layout,
  .contact-form-layout {
    gap: 38px;
  }

  .contact-before-layout > .content-heading,
  .contact-form-sidebar {
    position: static;
  }

  .contact-form-sidebar {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
  }

  .contact-form-sidebar > .section-label,
  .contact-form-sidebar > h2,
  .contact-form-sidebar > p {
    width: 100%;
  }

  .contact-form-sidebar__notes,
  .contact-form-sidebar__security {
    width: calc((100% - 18px) / 2);
    margin-top: 10px;
  }

  .contact-after-list,
  .contact-related-list {
    flex-wrap: wrap;
  }

  .contact-after-list li {
    width: 50%;
  }

  .contact-after-list li:nth-child(3) {
    width: 100%;
    border-top: 0;
    border-left: 1px solid rgba(255, 255, 255, 0.18);
  }

  .contact-related-list a {
    width: calc((100% - 18px) / 2);
  }

  .contact-related-list a:last-child {
    width: 100%;
    min-height: 0;
  }
}

@media (max-width: 700px) {
  .contact-channel-card {
    width: 100%;
    min-height: 0;
  }

  .contact-form-sidebar__notes,
  .contact-form-sidebar__security,
  .contact-form-field--half {
    width: 100%;
  }

  .contact-form-preview {
    padding: 34px 24px;
  }

  .contact-after-list {
    flex-direction: column;
  }

  .contact-after-list li,
  .contact-after-list li:nth-child(3) {
    width: 100%;
    min-height: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .contact-after-list li + li,
  .contact-after-list li:nth-child(3) {
    border-top: 0;
  }

  .contact-related-list {
    flex-direction: column;
  }

  .contact-related-list a,
  .contact-related-list a:last-child {
    width: 100%;
    min-height: 0;
  }
}

@media (max-width: 640px) {
  .contact-page-hero__copy {
    padding: 52px 0 34px;
  }

  .contact-page-hero__copy h1 {
    font-size: var(--font-size-lower-hero-mobile);
  }

  .contact-page-hero__lead {
    font-size: var(--font-size-body);
  }

  .contact-page-hero__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .contact-page-hero__actions .button {
    width: 100%;
  }

  .contact-page-hero__visual {
    min-height: 430px;
    width: calc(100% + 32px);
    margin: 0 -16px;
  }

  .contact-page-hero__backdrop {
    inset: 24px 16px 30px;
  }

  .contact-page-hero__envelope {
    width: 132px;
  }

  .contact-page-hero__note {
    min-width: 0;
    padding: 14px 15px;
  }

  .contact-page-hero__note--one {
    top: 58px;
    left: 4%;
  }

  .contact-page-hero__note--two {
    top: 162px;
    right: 4%;
  }

  .contact-page-hero__note--three {
    right: 10%;
    bottom: 54px;
  }

  .contact-before-list article {
    padding: 24px 22px;
  }

  .contact-form-preview {
    width: calc(100% + 16px);
    margin-left: -8px;
    padding: 30px 18px;
  }

  .contact-form-group {
    gap: 22px;
  }

  .contact-form-group + .contact-form-group {
    margin-top: 38px;
    padding-top: 38px;
  }

  .contact-form-group__heading h3 {
    font-size: var(--font-size-card-title);
  }

  .wpcf7-radio,
  .wpcf7-checkbox {
    flex-direction: column;
  }

  .wpcf7-list-item label {
    width: 100%;
  }

  .contact-form-submit .wpcf7-submit {
    width: 100%;
    min-width: 0;
  }

  .contact-after-note {
    padding: 24px 22px;
  }
}

/* ==================================================
   30. PAGE: BLOG ARCHIVE
   /blog/
   ブログ一覧・カテゴリ絞り込み
================================================== */
.blog-archive-hero {
  overflow: hidden;
  background: var(--brand-pale);
}

.blog-archive-hero__inner {
  min-height: 560px;
  display: flex;
  align-items: stretch;
  gap: 72px;
}

.blog-archive-hero__copy {
  width: 52%;
  padding: 96px 0 88px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.blog-archive-hero__copy h1 {
  max-width: 760px;
  margin: 0 0 24px;
  font-size: var(--font-size-lower-hero-heading);
  font-weight: 600;
  line-height: 1.34;
  letter-spacing: 0.075em;
}

.blog-archive-hero__copy > p:last-child {
  max-width: 650px;
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-large);
}

.blog-archive-hero__visual {
  position: relative;
  width: 48%;
  min-height: 560px;
}

.blog-archive-hero__photo {
  position: absolute;
  overflow: hidden;
  margin: 0;
  background: var(--surface-alt);
  box-shadow: var(--shadow);
}

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

.blog-archive-hero__photo--large {
  top: 68px;
  right: 0;
  width: 76%;
  height: 340px;
}

.blog-archive-hero__photo--small {
  right: 58%;
  bottom: 54px;
  width: 42%;
  height: 190px;
  border: 10px solid var(--brand-pale);
}

.blog-archive-hero__note {
  position: absolute;
  right: 7%;
  bottom: 30px;
  min-width: 230px;
  padding: 20px 24px;
  display: flex;
  flex-wrap: wrap;
  gap: 6px 14px;
  color: #ffffff;
  background: var(--navy);
  box-shadow: var(--shadow-soft);
}

.blog-archive-hero__note strong {
  width: 100%;
  font-size: var(--font-size-small);
  letter-spacing: 0.16em;
}

.blog-archive-hero__note span {
  font-size: var(--font-size-body-small);
}

.blog-archive-notice {
  margin-bottom: 48px;
  padding: 18px 22px;
  border-left: 4px solid var(--brand);
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--brand-pale);
}

.blog-archive-notice strong {
  flex: 0 0 auto;
  color: var(--brand-dark);
}

.blog-archive-notice p {
  margin: 0;
  color: var(--ink-soft);
}

.blog-featured {
  display: flex;
  align-items: stretch;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.blog-featured__image {
  width: 52%;
  min-height: 430px;
  overflow: hidden;
}

.blog-featured__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s ease;
}

.blog-featured:hover .blog-featured__image img {
  transform: scale(1.025);
}

.blog-featured__body {
  width: 48%;
  padding: 54px 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.blog-featured__meta,
.blog-archive-card__meta,
.blog-article-header__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 18px;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.blog-featured__meta span,
.blog-archive-card__meta span,
.blog-article-header__meta a {
  padding: 4px 10px;
  color: var(--brand-dark);
  background: var(--brand-soft);
  font-weight: 700;
}

.blog-featured__body .section-label {
  margin-top: 30px;
}

.blog-featured__body h2 {
  margin: 0 0 18px;
  font-size: var(--font-size-heading-md);
  line-height: 1.55;
  letter-spacing: 0.055em;
}

.blog-featured__body h2 a:hover {
  color: var(--brand-dark);
}

.blog-featured__body > p:not(.section-label) {
  margin: 0 0 30px;
  color: var(--ink-soft);
}

.blog-filter {
  margin: 0 auto 20px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.blog-filter button {
  min-height: 44px;
  padding: 8px 17px;
  border: 1px solid var(--border);
  color: var(--ink-soft);
  background: #ffffff;
  cursor: pointer;
  font-size: var(--font-size-body-small);
  font-weight: 700;
  transition:
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease;
}

.blog-filter button:hover,
.blog-filter button.is-active {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
}

.blog-filter-result {
  margin: 0 0 30px;
  color: var(--ink-soft);
  text-align: center;
  font-size: var(--font-size-body-small);
}

.blog-archive-list {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
}

.blog-archive-card {
  width: calc((100% - 60px) / 3);
  min-width: 0;
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-soft);
}

.blog-archive-card[hidden] {
  display: none;
}

.blog-archive-card__image {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--surface-alt);
}

.blog-archive-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.blog-archive-card:hover .blog-archive-card__image img {
  transform: scale(1.035);
}

.blog-archive-card__body {
  flex: 1;
  padding: 28px 28px 30px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.blog-archive-card__body h3 {
  margin: 18px 0 12px;
  font-size: var(--font-size-card-title);
  line-height: 1.55;
  letter-spacing: 0.04em;
}

.blog-archive-card__body h3 a:hover {
  color: var(--brand-dark);
}

.blog-archive-card__body > p {
  flex: 1;
  margin: 0 0 24px;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.blog-filter-empty {
  margin: 28px 0 0;
  padding: 34px;
  border: 1px solid var(--border);
  background: #ffffff;
  text-align: center;
}

.blog-pagination {
  margin-top: 56px;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
}

.blog-pagination a,
.blog-pagination span {
  min-width: 44px;
  min-height: 44px;
  padding: 8px 12px;
  border: 1px solid var(--border);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  font-size: var(--font-size-body-small);
  font-weight: 700;
}

.blog-pagination span,
.blog-pagination a:hover {
  color: #ffffff;
  background: var(--navy);
  border-color: var(--navy);
}

.blog-pagination__next {
  min-width: 100px !important;
}

/* ==================================================
   31. PAGE: BLOG ARTICLE / ENTRY CONTENT
   /blog/{post-slug}/
   WordPress single.php・Gutenberg本文を想定
================================================== */
.blog-article-header {
  padding: 92px 0 70px;
  background: var(--brand-pale);
}

.blog-article-header__inner {
  max-width: 980px;
}

.blog-article-header h1 {
  margin: 28px 0 24px;
  font-size: clamp(2.5rem, 4.7vw, 3.75rem);
  font-weight: 600;
  line-height: 1.42;
  letter-spacing: 0.055em;
}

.blog-article-header__inner > p {
  max-width: 840px;
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-large);
}

.blog-article-header__author {
  margin-top: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.blog-article-header__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  background: var(--navy);
  font-size: var(--font-size-small);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.blog-article-header__author div {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.blog-article-header__author small {
  color: var(--ink-soft);
  font-size: var(--font-size-caption);
}

.blog-article-hero-image {
  max-width: 1120px;
  margin-top: 64px;
}

.blog-article-hero-image img {
  width: 100%;
  max-height: 620px;
  object-fit: cover;
}

.blog-article-layout {
  padding-top: 72px;
  padding-bottom: 112px;
  display: flex;
  align-items: flex-start;
  gap: 72px;
}

.blog-article-main {
  width: calc(100% - 330px);
  min-width: 0;
}

.blog-article-sidebar {
  position: sticky;
  top: 28px;
  width: 258px;
  flex: 0 0 258px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.blog-article-preview-note {
  margin-bottom: 42px;
  padding: 20px 22px;
  border-left: 4px solid var(--brand);
  background: var(--brand-pale);
}

.blog-article-preview-note strong {
  color: var(--brand-dark);
}

.blog-article-preview-note p {
  margin: 4px 0 0;
  color: var(--ink-soft);
}

.blog-toc,
.blog-sidebar-cta {
  padding: 26px 24px;
  border: 1px solid var(--border);
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.blog-toc h2,
.blog-sidebar-cta h2 {
  margin: 0 0 18px;
  font-size: var(--font-size-subtitle);
  line-height: 1.55;
}

.blog-toc ol {
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: toc;
}

.blog-toc li {
  counter-increment: toc;
  border-top: 1px solid var(--border);
}

.blog-toc li:first-child {
  border-top: 0;
}

.blog-toc a {
  padding: 10px 0;
  display: flex;
  gap: 10px;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
  line-height: 1.65;
}

.blog-toc a::before {
  content: counter(toc, decimal-leading-zero);
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.blog-toc a:hover {
  color: var(--brand-dark);
}

.blog-sidebar-cta {
  background: var(--navy-pale);
}

.blog-sidebar-cta p:not(.section-label) {
  margin: 0 0 20px;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.blog-sidebar-cta .button {
  width: 100%;
}

/* Native elements + Gutenberg blocks */
.entry-content {
  color: var(--ink);
  font-size: var(--font-size-body);
  line-height: 2;
  overflow-wrap: anywhere;
}

.entry-content > *:first-child {
  margin-top: 0;
}

.entry-content > *:last-child {
  margin-bottom: 0;
}

.entry-content h1,
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
  letter-spacing: 0.045em;
  scroll-margin-top: 28px;
}

.entry-content h1 {
  margin: 82px 0 28px;
  font-size: var(--font-size-heading-lg);
}

.entry-content h2 {
  margin: 82px 0 28px;
  padding: 0 0 16px 20px;
  border-bottom: 2px solid var(--border);
  border-left: 5px solid var(--brand);
  font-size: var(--font-size-heading-md);
}

.entry-content h3 {
  margin: 62px 0 22px;
  padding-bottom: 10px;
  border-bottom: 1px solid var(--border);
  font-size: var(--font-size-heading-xs);
}

.entry-content h4 {
  margin: 48px 0 18px;
  padding-left: 14px;
  border-left: 3px solid var(--navy);
  font-size: var(--font-size-card-title);
}

.entry-content h5 {
  margin: 40px 0 16px;
  color: var(--navy);
  font-size: var(--font-size-subtitle);
}

.entry-content h6 {
  margin: 34px 0 14px;
  color: var(--brand-dark);
  font-size: var(--font-size-body-large);
}

.entry-content p {
  margin: 0 0 28px;
}

.entry-content .article-lead {
  margin-bottom: 42px;
  padding: 28px 30px;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  color: var(--navy);
  font-size: var(--font-size-body-large);
  font-weight: 500;
  line-height: 1.95;
}

.entry-content strong {
  font-weight: 700;
}

.entry-content em {
  color: var(--navy);
  font-style: normal;
  font-weight: 600;
}

.entry-content mark,
.entry-content .marker {
  padding: 0 0.12em;
  color: inherit;
  background: linear-gradient(transparent 58%, #ffe3a7 58%);
}

.entry-content a:not(.button) {
  color: #185cc9;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
  transition:
    color 0.2s ease,
    background-color 0.2s ease;
}

.entry-content a:not(.button):visited {
  color: #6e4b83;
}

.entry-content a:not(.button):hover {
  color: #0b3e93;
  background: #eef4ff;
}

.entry-content ul,
.entry-content ol {
  margin: 0 0 30px;
  padding-left: 1.6em;
}

.entry-content li {
  margin: 7px 0;
  padding-left: 0.25em;
}

.entry-content li::marker {
  color: var(--brand-dark);
  font-weight: 700;
}

.entry-content ul ul,
.entry-content ul ol,
.entry-content ol ul,
.entry-content ol ol {
  margin: 10px 0 4px;
}

.entry-content blockquote,
.entry-content .wp-block-quote {
  position: relative;
  margin: 44px 0;
  padding: 32px 34px 30px 66px;
  border: 0;
  background: var(--navy-pale);
}

.entry-content blockquote::before,
.entry-content .wp-block-quote::before {
  content: "“";
  position: absolute;
  top: 9px;
  left: 22px;
  color: var(--brand);
  font-family: Georgia, serif;
  font-size: 4rem;
  line-height: 1;
}

.entry-content blockquote p,
.entry-content .wp-block-quote p {
  margin: 0;
  color: var(--navy);
  font-size: var(--font-size-body-large);
  font-weight: 500;
}

.entry-content blockquote cite,
.entry-content .wp-block-quote cite {
  margin-top: 14px;
  display: block;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
  font-style: normal;
}

.entry-content img {
  height: auto;
  margin: 36px auto;
}

.entry-content figure,
.entry-content .wp-block-image,
.entry-content .wp-block-table {
  margin: 44px 0;
}

.entry-content figure img,
.entry-content .wp-block-image img {
  margin: 0 auto;
}

.entry-content figcaption,
.entry-content .wp-element-caption {
  margin-top: 12px;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
  line-height: 1.7;
  text-align: center;
}

.entry-content .aligncenter {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.entry-content .alignwide {
  width: calc(100% + 80px);
  max-width: none;
  margin-left: -40px;
}

.entry-content .alignleft {
  max-width: 46%;
  margin: 8px 28px 22px 0;
  float: left;
}

.entry-content .alignright {
  max-width: 46%;
  margin: 8px 0 22px 28px;
  float: right;
}

.entry-content .wp-block-table {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.entry-content table {
  width: 100%;
  min-width: 640px;
  border-collapse: collapse;
  background: #ffffff;
  font-size: var(--font-size-body-small);
}

.entry-content th,
.entry-content td {
  padding: 15px 17px;
  border: 1px solid #d9d1cc;
  text-align: left;
  vertical-align: top;
}

.entry-content thead th {
  color: #ffffff;
  background: var(--navy);
}

.entry-content tbody th {
  color: var(--navy);
  background: var(--navy-pale);
}

.entry-content code {
  padding: 0.15em 0.42em;
  border: 1px solid #ddd5d0;
  border-radius: 3px;
  color: #8c2e14;
  background: #f8f4f1;
  font-family: Consolas, "Courier New", monospace;
  font-size: 0.92em;
  letter-spacing: 0;
}

.entry-content pre,
.entry-content .wp-block-code {
  margin: 38px 0;
  padding: 24px 26px;
  overflow-x: auto;
  color: #f8fafc;
  background: #1d2932;
  font-family: Consolas, "Courier New", monospace;
  font-size: var(--font-size-body-small);
  line-height: 1.8;
  tab-size: 2;
}

.entry-content pre code,
.entry-content .wp-block-code code {
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  font-size: inherit;
}

.entry-content hr,
.entry-content .wp-block-separator {
  width: 100%;
  height: 1px;
  margin: 64px 0;
  border: 0;
  background: var(--border);
}

.entry-content hr::after,
.entry-content .wp-block-separator::after {
  content: "◆";
  position: relative;
  top: -15px;
  width: 32px;
  margin: 0 auto;
  display: block;
  color: var(--brand);
  background: #ffffff;
  text-align: center;
  font-size: var(--font-size-caption);
}

.article-callout {
  margin: 38px 0;
  padding: 24px 26px;
  border: 1px solid var(--border);
  border-left-width: 5px;
}

.article-callout strong {
  display: block;
  margin-bottom: 6px;
  font-size: var(--font-size-body-large);
}

.article-callout p {
  margin: 0;
}

.article-callout--point {
  border-left-color: var(--brand);
  background: var(--brand-pale);
}

.article-callout--note {
  border-left-color: var(--navy);
  background: var(--navy-pale);
}

.blog-article-footer {
  margin-top: 72px;
  padding-top: 30px;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 24px;
}

.blog-article-tags,
.blog-share {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: var(--font-size-body-small);
}

.blog-article-tags span,
.blog-share span {
  margin-right: 6px;
  color: var(--ink-soft);
  font-weight: 700;
}

.blog-article-tags a,
.blog-share a {
  padding: 6px 10px;
  border: 1px solid var(--border);
  background: #ffffff;
}

.blog-article-tags a:hover,
.blog-share a:hover {
  color: var(--brand-dark);
  border-color: var(--brand);
}

.blog-post-navigation {
  padding-bottom: 100px;
  display: flex;
  gap: 20px;
}

.blog-post-navigation a {
  width: 50%;
  min-height: 112px;
  padding: 24px 26px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #ffffff;
  box-shadow: var(--shadow-soft);
}

.blog-post-navigation a:last-child {
  align-items: flex-end;
  text-align: right;
}

.blog-post-navigation small {
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
  letter-spacing: 0.08em;
}

.blog-post-navigation strong {
  margin-top: 5px;
  font-size: var(--font-size-body);
}

.blog-post-navigation a:hover {
  border-color: var(--brand);
}

.blog-related {
  padding-top: 90px;
  padding-bottom: 90px;
}

.blog-related-list {
  display: flex;
  gap: 28px;
}

.blog-related-list article {
  width: calc((100% - 56px) / 3);
  background: #ffffff;
  border: 1px solid var(--border);
}

.blog-related-list a {
  height: 100%;
  padding-bottom: 24px;
  display: block;
}

.blog-related-list img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.blog-related-list span,
.blog-related-list h3 {
  margin-right: 22px;
  margin-left: 22px;
}

.blog-related-list span {
  margin-top: 20px;
  display: inline-block;
  color: var(--brand-dark);
  font-size: var(--font-size-caption);
  font-weight: 700;
}

.blog-related-list h3 {
  margin-top: 8px;
  margin-bottom: 0;
  font-size: var(--font-size-subtitle);
  line-height: 1.6;
}

.blog-related-list a:hover h3 {
  color: var(--brand-dark);
}

/* ==================================================
   32. PAGE: BLOG / RESPONSIVE
================================================== */
@media (max-width: 980px) {
  .blog-archive-hero__inner {
    gap: 36px;
  }

  .blog-featured__body {
    padding: 42px 38px;
  }

  .blog-archive-card {
    width: calc((100% - 30px) / 2);
  }

  .blog-article-layout {
    gap: 42px;
  }

  .blog-article-main {
    width: calc(100% - 280px);
  }

  .blog-article-sidebar {
    width: 238px;
    flex-basis: 238px;
  }
}

@media (max-width: 820px) {
  .blog-archive-hero__inner,
  .blog-featured,
  .blog-article-layout {
    flex-direction: column;
  }

  .blog-archive-hero__copy,
  .blog-archive-hero__visual,
  .blog-featured__image,
  .blog-featured__body,
  .blog-article-main,
  .blog-article-sidebar {
    width: 100%;
  }

  .blog-archive-hero__copy {
    padding: 70px 0 20px;
  }

  .blog-archive-hero__visual {
    min-height: 430px;
  }

  .blog-featured__image {
    min-height: 330px;
  }

  .blog-article-layout {
    padding-top: 54px;
    gap: 52px;
  }

  .blog-article-sidebar {
    position: static;
    flex-basis: auto;
    flex-direction: row;
  }

  .blog-toc,
  .blog-sidebar-cta {
    width: calc((100% - 28px) / 2);
  }

  .entry-content .alignwide {
    width: 100%;
    margin-left: 0;
  }
}

@media (max-width: 640px) {
  .blog-archive-hero__copy h1 {
    font-size: var(--font-size-lower-hero-mobile);
  }

  .blog-archive-hero__copy > p:last-child,
  .blog-article-header__inner > p {
    font-size: var(--font-size-body);
  }

  .blog-archive-hero__visual {
    min-height: 360px;
    width: calc(100% + 32px);
    margin: 0 -16px;
  }

  .blog-archive-hero__photo--large {
    top: 32px;
    right: 0;
    width: 82%;
    height: 235px;
  }

  .blog-archive-hero__photo--small {
    right: auto;
    bottom: 24px;
    left: 8px;
    width: 46%;
    height: 140px;
  }

  .blog-archive-hero__note {
    right: 8px;
    bottom: 18px;
    min-width: 190px;
    padding: 16px 18px;
  }

  .blog-archive-notice {
    flex-direction: column;
    gap: 4px;
  }

  .blog-featured__image {
    min-height: 240px;
  }

  .blog-featured__body {
    padding: 30px 24px 34px;
  }

  .blog-featured__body h2 {
    font-size: var(--font-size-heading-xs);
  }

  .blog-filter {
    justify-content: flex-start;
  }

  .blog-filter button {
    flex: 1 1 calc(50% - 5px);
  }

  .blog-archive-card,
  .blog-toc,
  .blog-sidebar-cta,
  .blog-related-list article {
    width: 100%;
  }

  .blog-article-header {
    padding: 58px 0 48px;
  }

  .blog-article-header h1 {
    font-size: var(--font-size-heading-lg);
  }

  .blog-article-hero-image {
    width: 100%;
    margin-top: 0;
  }

  .blog-article-hero-image img {
    min-height: 250px;
  }

  .blog-article-layout {
    padding-top: 42px;
    padding-bottom: 80px;
  }

  .blog-article-sidebar,
  .blog-related-list,
  .blog-post-navigation {
    flex-direction: column;
  }

  .entry-content h1 {
    font-size: var(--font-size-heading-md);
  }

  .entry-content h2 {
    margin-top: 62px;
    padding-left: 14px;
    font-size: var(--font-size-heading-sm);
  }

  .entry-content h3 {
    font-size: var(--font-size-heading-xs);
  }

  .entry-content h4 {
    font-size: var(--font-size-card-title);
  }

  .entry-content .article-lead,
  .entry-content blockquote,
  .entry-content .wp-block-quote,
  .article-callout {
    padding: 22px 20px;
  }

  .entry-content blockquote,
  .entry-content .wp-block-quote {
    padding-left: 48px;
  }

  .entry-content blockquote::before,
  .entry-content .wp-block-quote::before {
    left: 12px;
  }

  .entry-content .alignleft,
  .entry-content .alignright {
    max-width: 100%;
    margin: 30px 0;
    float: none;
  }

  .entry-content pre,
  .entry-content .wp-block-code {
    width: calc(100% + 16px);
    margin-left: -8px;
    padding: 20px 18px;
  }

  .blog-post-navigation a {
    width: 100%;
  }

  .blog-post-navigation a:last-child {
    align-items: flex-start;
    text-align: left;
  }
}

/* ==================================================
   33. PAGE TEMPLATE: LEGAL / POLICY PAGES
   /privacy-policy/, /accessibility/, /sitemap/
   見出しのみのシンプルなヒーローと、entry-contentを再利用した本文幅
================================================== */
.legal-hero {
  padding: 88px 0 56px;
  background: var(--brand-pale);
}

.legal-hero__inner {
  max-width: 760px;
}

.legal-hero h1 {
  margin: 0 0 20px;
  font-size: var(--font-size-lower-hero-heading);
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: 0.08em;
}

.legal-hero__lead {
  margin: 0 0 12px;
  color: var(--ink);
  font-size: var(--font-size-subtitle);
  font-weight: 500;
  line-height: 1.9;
}

.legal-hero__meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: var(--font-size-body-small);
}

.legal-content {
  max-width: 840px;
  margin: 0 auto;
}

@media (max-width: 900px) {
  .legal-hero {
    padding: 64px 0 40px;
  }
}
