: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;

  --font-size-smallest: 0.5rem;
  --font-size-caption: 0.75rem;
  --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;
  --font-size-body-small: 0.875rem;
  --font-size-ui: 0.875rem;
  --font-size-body-medium: 0.9375rem;
  --font-size-body: 1rem;
  --font-size-body-large: 1.125rem;
  --font-size-subtitle: 1.25rem;
  --font-size-card-title: 1.375rem;
  --font-size-icon-large: 1.5rem;
  --font-size-heading-xs: 1.5rem;
  --font-size-heading-sm: 1.75rem;
  --font-size-heading-md: 2rem;
  --font-size-heading-mobile: 1.75rem;
  --font-size-heading-lg: 2.25rem;
  --font-size-lower-hero-mobile: 2.25rem;
  --font-size-hero-mobile: 2.5rem;

  --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%;
}

.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;
}

.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__logo {
  display: block;
  height: 40px;
  width: auto;
}

.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 {
  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);
}

.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);
}

.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;
}

.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;
}

.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;
}

.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;
}

.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-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-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);
}

.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;
}

.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-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;
}

@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 {
    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;
  }
}

@media (max-width: 640px) {
  body {
    font-size: var(--font-size-body);
  }
  .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__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-offices {
    flex-direction: column;
  }
  .footer-offices div {
    width: 100%;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .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;
  }
}

.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%;

  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);
}

.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;
}

.school-partner-list {
  margin-top: 32px;
  display: flex;
  gap: 20px;
}

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

@media (max-width: 1080px) {
  .course-support-layout {
    gap: 42px;
  }
  .feature-highlight-list {
    gap: 48px;
  }
}

@media (max-width: 900px) {
  .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-support-content h2 {
    font-size: var(--font-size-heading-mobile);
  }
}

[hidden] {
  display: none !important;
}
