/*
  LPテンプレート共通スタイル
  - カラー等は :root のCSS変数を変更
  - BEMとユーティリティの併用で拡張しやすく
*/

/* Design Tokens */
:root {
  --color-primary: #f472b6;
  --color-primary-600: #db5d9d;
  --color-secondary: #3b82f6;
  --color-secondary-600: #2563eb;
  --color-bg: #ffffff;
  --color-text: #111827;
  --color-muted: #555;
  --color-surface: #f8fafc;
  --color-line: #e5e7eb;
  --color-section-voices: #fff1f7;
  --color-section-jobs: #eff4ff;
  --radius: 12px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 8px 24px rgba(30, 41, 59, 0.12);
  --container: 1120px;
  --space-1: 4px;
  --space-2: 8px;
  --space-3: 12px;
  --space-4: 16px;
  --space-6: 24px;
  --space-8: 32px;
  --space-12: 48px;
  --space-16: 64px;
  /* Motion tokens */
  --motion-fast: 140ms;
  --motion-mid: 280ms;
  --motion-slow: 900ms;
  --ease-emph: cubic-bezier(.22, 1, .36, 1);
}

/* Modern CSS Reset (一部) */
* { box-sizing: border-box; }
html, body { height: 100%; overflow-x: clip; }
body { margin: 0; font-family: 'Noto Sans JP', system-ui, -apple-system, Segoe UI, Roboto, sans-serif; background: var(--color-bg); color: var(--color-text); line-height: 1.6; }
img, svg, video { display:block; max-width:100%; height:auto; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
::selection { background: color-mix(in srgb, var(--color-primary), #fff 80%); }
a, button { transition: color var(--motion-mid) ease, opacity var(--motion-mid) ease; }

/* Layout */
.container { width: min(100% - 32px, var(--container)); margin-inline: auto; }
.section { padding: var(--space-16) 0; scroll-margin-top: 96px; }
.section--alt { background: var(--color-surface); }
.section--jobs { background: var(--color-section-jobs); padding-bottom: var(--space-12); }
#voices.section--voices {
  background: linear-gradient(to bottom right,
      rgba(224, 242, 254, 0.94) 0%,
      rgba(236, 233, 254, 0.92) 45%,
      rgba(255, 214, 236, 0.94) 100%);
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}
#faq.section {
  padding-top: calc(var(--space-16) + var(--space-6));
  padding-bottom: calc(var(--space-16) + var(--space-6));
  background-image: linear-gradient(0deg, rgba(224, 242, 254, 0.58), rgba(224, 242, 254, 0.58)), url('../images/bg_faq.webp');
  background-color: transparent;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.section__heading {
  text-align: center;
  margin: 0 0 var(--space-12);
}

#reasons.section { padding-top: var(--space-12); }
.section__title {
  margin: 0;
  font-size: clamp(24px, 2.8vw, 36px);
  letter-spacing: .2px;
  position: relative;
  display: inline-block;
  padding-bottom: 0.9em;
}
.section__title span:not(.section__script) {
  font-size: clamp(20px, 1.8vw, 22px);
  color: var(--color-text);
}
.section__script {
  position: absolute;
  right: 0;
  bottom: -.1em;
  padding-right: 0.5em;
  font-family: 'Allura', 'Great Vibes', cursive;
  font-size: clamp(30px, 4vw, 44px);
  color: color-mix(in srgb, var(--color-primary) 50%, #ffffff 50%);
  white-space: nowrap;
  pointer-events: none;
  transform: rotate(-3deg);
  transform-origin: right center;
  line-height: 1;
}
.section__tag {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: var(--space-3);
  color: var(--color-primary-600);
  font-size: 16px;
  font-weight: 600;
  letter-spacing: .8px;
  text-transform: uppercase;
}
.section__tag::before,
.section__tag::after {
  content: "—";
  color: currentColor;
  font-weight: 400;
}
.section__subtitle {
  margin: 1em 0 0;
  font-size: clamp(14px, 2.4vw, 16px);
  color: var(--color-muted);
}
.section__subtitle:empty { display: none; }

.grid { display: grid; gap: var(--space-8); }
.grid--2-even { gap: calc(var(--space-8) / 2); }
.grid--2 { grid-template-columns: 1fr; }
.grid--2-even { grid-template-columns: 1fr; }
.grid--3 { grid-template-columns: 1fr; }

@media (min-width: 768px) {
  .grid--2 { grid-template-columns: 1.1fr 0.9fr; align-items: center; }
  .grid--2-even { grid-template-columns: repeat(2, 1fr); }
  .grid--3 { grid-template-columns: repeat(3, 1fr); }
}

/* Header */
.site-header { position: fixed; top: 0; left: 0; right: 0; backdrop-filter: blur(8px); background: color-mix(in srgb, var(--color-bg), transparent 10%); border-bottom: 1px solid var(--color-line); z-index: 100; }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; gap: 16px; }
.logo { display: inline-flex; align-items: center; }
.logo img { display: block; height: auto; max-height: 40px; width: auto; }
.header__meta { display: flex; align-items: center; gap: var(--space-3); justify-content: flex-end; text-align: right; flex-wrap: wrap; }
.header__tagline { display: none; margin: 0; font-size: clamp(12px, 1.8vw, 14px); color: var(--color-muted); text-align: right; line-height: 1.4; }
.header__tagline--top { display: block; font-size: 11px; text-align: center; padding: 8px 16px; background: var(--color-bg); border-bottom: 1px solid #e5e5e5; }

@media (min-width: 768px) {
  .header__tagline { display: block; }
  .header__tagline--top { display: none; }
}
.header__button { white-space: nowrap; box-shadow: none; }
.nav { display: none; gap: var(--space-4); align-items: center; }
.nav a { padding: 8px 12px; color: var(--color-muted); transition: color var(--motion-mid) var(--ease-emph), opacity var(--motion-mid) var(--ease-emph); position: relative; }
.nav a::after {
  content: "";
  position: absolute; left: 8px; right: 8px; bottom: 2px; height: 2px;
  background: var(--color-primary);
  transform: scaleX(0); transform-origin: left;
  transition: transform var(--motion-mid) var(--ease-emph), opacity var(--motion-mid) var(--ease-emph);
  opacity: .0;
}
.nav a:hover::after, .nav a:focus-visible::after { transform: scaleX(1); opacity: .9; }
.nav a:hover { color: var(--color-text); }
.nav a.btn { color: #fff; }
.nav-toggle { border: 1px solid #e5e7eb; background: var(--color-bg); border-radius: 8px; padding: 6px 10px; }

@media (min-width: 920px) {
  .nav { display: flex; }
  .nav-toggle { display: none; }
}

.nav.is-open { display: grid; grid-template-columns: 1fr; margin-top: var(--space-4); }
@media (min-width: 920px) { .nav.is-open { display: flex; } }

/* Hero */
.hero {
  position: relative;
  display: flex;
  align-items: flex-end;
  min-height: clamp(320px, 48vh, 520px);
  overflow: hidden;
  /* color: #d73963; */
  color: #0a4496;
 /* background: url(../images/bg_hero01.jpg) center/cover no-repeat; */
 background: url(../images/hero_bg.webp) center/cover no-repeat;
}
.hero::before {
  content: "";
  position: absolute; inset: 0;
  /* background: linear-gradient(140deg, rgba(25, 191, 246, 0.70), rgba(254, 133, 196, 0.88)); */
  /* background: linear-gradient(140deg, rgba(191, 216, 255, 0.85), rgba(75, 129, 238, 0.3)); */
  /* background: linear-gradient(140deg, rgba(255, 214, 236, 0.85), rgba(255, 182, 193, 0.3)); */
  /* background: linear-gradient(140deg, rgba(255, 255, 255, 0.3), rgba(246, 151, 202, 0.5)); */
  background: linear-gradient(140deg, rgba(255, 255, 255, 0.7), rgba(147, 199, 255, 0.4));
  /* background: rgba(255,255,255,0.4); */
  transform: scale(1.02);
}
.hero__inner {
  position: relative;
  z-index: 1;
  display: grid;
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}
.hero--cover {
  padding-top: clamp(40px, 12vh, 160px);
  padding-bottom: 0;
  padding-inline: 0;
   margin-top: 40px;
}

@media (min-width: 768px) {
  .hero--cover {
    padding-top: clamp(72px, 12vh, 160px);
  }
}
.hero--full { min-height: 100vh; }
.hero__body {
  position: relative;
  display: grid;
  gap: clamp(16px, 3vw, 32px);
  max-width: min(560px, 100%);
  color: inherit;
  order: -1;
  justify-items: start;
}
.hero__title { font-size: clamp(30px, 3.6vw, 42px); line-height: 1.2; letter-spacing: .2px; margin: 0; }
.hero__eyebrow {
  margin: -0.5em 0 0 0.5em;
  padding: 0 0.5em;
  font-family: 'Allura', 'Great Vibes', cursive;
  font-size: clamp(30px, 4vw, 48px);
  /* color: rgb(247, 106, 169); */
  color: rgb(106, 155, 247);
  letter-spacing: .2px;
  display: inline-block;
  transform: rotate(-3deg);
  transform-origin: left center;
}
.hero__note {
  margin: 0;
  font-size: clamp(14px, 2vw, 16px);
  line-height: 1.9;
  color: #000;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.7);
}
.hero__media {
  position: relative;
  margin: 0;
  width: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  min-height: 430px;
}
.hero__media img {
  display: block;
  width: min(320px, 90%);
  height: auto;
}

@media (max-width: 599px) {
  .hero--cover { padding-top: 80px; padding-bottom: 270px; }
  .hero__note { line-height: 1.8; }
}

@media (min-width: 960px) {
  .hero__inner { grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr); }
  .hero__body { order: 2; justify-self: end; }
  .hero__media { order: 1; justify-self: stretch; height: 100%; }
  .hero__media img { max-width: 520px; }
}

/* Cards / Content */
.card { background: var(--color-bg); border: 1px solid var(--color-line); border-radius: var(--radius); padding: var(--space-8); box-shadow: var(--shadow-sm); transition: transform var(--motion-mid) var(--ease-emph), box-shadow var(--motion-mid) var(--ease-emph); }
.card:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(30,41,59,.14); }
.card__title { margin: 0 0 var(--space-2); font-weight: 600; }
.icon { font-size: 24px; margin-bottom: var(--space-2); }

.list { padding-left: 1rem; }
.list--checks li { list-style: '✔  '; margin: 0 0 6px 0; }

/* Pricing */
.price { background: var(--color-bg); border: 1px solid var(--color-line); border-radius: var(--radius); padding: var(--space-8); text-align: center; box-shadow: var(--shadow-sm); transition: transform var(--motion-mid) var(--ease-emph), box-shadow var(--motion-mid) var(--ease-emph); }
.price:hover { transform: translateY(-2px); box-shadow: 0 12px 28px rgba(30,41,59,.14); }
.price--featured { border-color: var(--color-primary); box-shadow: var(--shadow-md); }
.price__value { font-size: 28px; font-weight: 700; margin: var(--space-2) 0 var(--space-6); }
.price__features { padding: 0; margin: 0 0 var(--space-6); list-style: none; color: var(--color-muted); }

/* CTA */
.cta {
  background: linear-gradient(135deg,
      rgba(224, 242, 254, 0.96) 0%,
      rgba(191, 219, 254, 0.94) 45%,
      rgba(59, 130, 246, 0.85) 100%);
  color: #0f172a;
}
.cta__inner { display: grid; place-items: center; text-align: center; gap: var(--space-4); }
.cta__title {
  margin: 0; font-size: clamp(22px, 3.2vw, 32px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1em;
}
.cta__title::before,
.cta__title::after {
  content: '';
  display: block;
  width: clamp(30px, 6vw, 50px);
  height: 3px;
  background: currentColor;
  opacity: 0.6;
}
.cta__title::before {
  transform: rotate(60deg);
}
.cta__title::after {
  transform: rotate(-60deg);
}
.cta .btn--primary,
.cta .btn--secondary {
  padding: 16px 48px;
  font-size: 16px;
  flex-grow: 1;
  flex-basis: 220px;
}

.cta .btn--primary {
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary), #fff 25%) 0%, var(--color-primary-600) 100%);
  box-shadow: 0 8px 18px rgba(219, 93, 157, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.cta .btn--secondary {
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-secondary), #fff 25%) 0%, var(--color-secondary-600) 100%);
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.cta .btn--primary:hover {
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-primary), #fff 15%) 0%, color-mix(in srgb, var(--color-primary-600), #000 8%) 100%);
  box-shadow: 0 10px 20px rgba(219, 93, 157, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.cta .btn--secondary:hover {
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-secondary), #fff 15%) 0%, color-mix(in srgb, var(--color-secondary-600), #000 8%) 100%);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}

.cta .btn--primary:active {
  box-shadow: 0 5px 12px rgba(219, 93, 157, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.12);
}

.cta .btn--secondary:active {
  box-shadow: 0 5px 12px rgba(59, 130, 246, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.12);
}

.cta__buttons {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
}

/* Footer */
.site-footer { background: #004098; color: #fff; padding: var(--space-8) 0; }
.footer__inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: var(--space-4); }
.footer__links { display: flex; flex-wrap: wrap; gap: var(--space-4); font-size: 14px; }
.footer__links a { color: rgba(255, 255, 255, 0.85); transition: opacity var(--motion-mid) var(--ease-emph); }
.footer__links a:hover, .footer__links a:focus-visible { opacity: 1; }
.footer__inner { row-gap: var(--space-3); }

@media (max-width: 599px) {
  .cta__buttons {
    flex-direction: column;
    width: 100%;
    gap: var(--space-3);
  }

  .cta .btn--primary,
  .cta .btn--secondary {
    padding: 12px 24px;
    font-size: 15px;
    flex-grow: 0;
    flex-basis: auto;
  }
}


/* Buttons */
.btn { display: inline-flex; align-items: center; justify-content: center; padding: 12px 22px; border-radius: 999px; font-weight: 600; will-change: transform, background-color, color, border-color, box-shadow; transition: transform var(--motion-mid) var(--ease-emph), background-color var(--motion-mid) var(--ease-emph), color var(--motion-mid) var(--ease-emph), border-color var(--motion-mid) var(--ease-emph), box-shadow var(--motion-mid) var(--ease-emph); font-size: 15px; text-align: center; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: translateY(1px); transition-duration: var(--motion-fast); }
.btn--sm { padding: 8px 18px; font-weight: 500; font-size: 14px; }
.btn--primary { background: var(--color-primary-600); color: #fff; box-shadow: none; }
.btn--primary:hover { background: color-mix(in srgb, var(--color-primary-600), #000 12%); }
.btn--primary:active { background: color-mix(in srgb, var(--color-primary-600), #000 20%); }
.btn.header__button {
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-secondary), #fff 25%) 0%, var(--color-secondary-600) 100%);
  box-shadow: 0 8px 18px rgba(59, 130, 246, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}
.btn.header__button:hover {
  background: linear-gradient(180deg, color-mix(in srgb, var(--color-secondary), #fff 15%) 0%, color-mix(in srgb, var(--color-secondary-600), #000 8%) 100%);
  box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.65);
}
.btn.header__button:active {
  box-shadow: 0 5px 12px rgba(59, 130, 246, 0.25), inset 0 2px 4px rgba(0, 0, 0, 0.12);
}
.btn--outline { border: 2px solid var(--color-primary); color: var(--color-primary); background: transparent; }
.btn--outline:hover { background: color-mix(in srgb, var(--color-primary), transparent 85%); }
.btn--ghost { border: 1px solid #e5e7eb; background: var(--color-bg); color: var(--color-text); }
.btn--ghost:hover { background: #f8fafc; }

.btn--secondary { background: var(--color-secondary); color: #fff; box-shadow: none; }
.btn--secondary:hover { background: color-mix(in srgb, var(--color-secondary), #000 12%); }
.btn--secondary:active { background: color-mix(in srgb, var(--color-secondary), #000 20%); }

/* Utilities */
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }

/* Appear animation utilities */
/* parallaxと合成できるよう、translateYにCSS変数を使用 */
[data-animate] {
  opacity: 0;
  transform: translateY(calc(16px + var(--parallax-y, 0px)));
  filter: blur(4px);
  transition: opacity var(--motion-slow) var(--ease-emph), transform var(--motion-slow) var(--ease-emph), filter var(--motion-slow) var(--ease-emph);
  transition-delay: var(--delay, 0s);
  will-change: opacity, transform, filter;
}
[data-animate].in { opacity: 1; transform: translateY(var(--parallax-y, 0px)); filter: none; }

/* Parallax target */
[data-parallax] { will-change: transform; transform: translateY(var(--parallax-y, 0px)); }

/* Section dividers */
.divider { height: 64px; line-height: 0; overflow: hidden; position: relative; }
.divider svg { display:block; width: 100%; height: 100%; }
.divider.to-surface { --divider-fill: var(--color-surface); }
.divider.to-bg { --divider-fill: var(--color-bg); }
.divider path { fill: var(--divider-fill, var(--color-surface)); }

/* Link underline utility */
.link-anim { position: relative; color: var(--color-text); }
.link-anim::after {
  content: ""; position: absolute; left: 0; bottom: -2px; height: 2px; width: 100%;
  background: currentColor; transform: scaleX(0); transform-origin: left; opacity: .9;
  transition: transform var(--motion-mid) var(--ease-emph);
}
.link-anim:hover::after, .link-anim:focus-visible::after { transform: scaleX(1); }

/* Subtle image zoom */
.hover-zoom { overflow: hidden; border-radius: var(--radius); }
.hover-zoom > img, .hover-zoom > .media, .hover-zoom > .placeholder { will-change: transform; transition: transform var(--motion-slow) var(--ease-emph); }
.hover-zoom:hover > img, .hover-zoom:hover > .media, .hover-zoom:hover > .placeholder { transform: scale(1.03); }

/* Jobs */
#jobs-title { color: var(--color-primary); }
.jobs__box {
  background: #fff;
  box-shadow: var(--shadow-md);
  border-radius: var(--radius);
  padding: var(--space-8);
  text-align: center;
  margin-top: var(--space-6);
  max-width: 840px;
  margin-left: auto;
  margin-right: auto;
}
.jobs__box p {
  font-size: 18px;
  font-weight: 700;
  margin: var(--space-6) 0;
}
.jobs__buttons {
  display: flex;
  justify-content: center;
  margin-top: var(--space-4);
}
.jobs__buttons .btn {
  padding: 16px 48px;
  font-size: 16px;
}
.job-card { background: var(--color-bg); border: none; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); display: grid; gap: 16px; }
.job-card__title { margin: 0; font-size: 18px; font-weight: 700; letter-spacing: .2px; line-height: 1.5; max-height: calc(18px * 1.5 * 2 + 2px); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-decoration: underline;text-overflow: ellipsis; }
.job-card__tags { display: flex; flex-wrap: wrap; gap: var(--space-2); margin: 0; padding: 0; list-style: none; }
.job-card__tag { display: inline-flex; align-items: center; gap: 6px; padding: 6px 12px; border-radius: 999px; background: color-mix(in srgb, var(--color-primary), #fff 88%); color: var(--color-primary-600); font-size: 12px; font-weight: 600; letter-spacing: .3px; }
.job-card__tag-icon { font-size: 14px; }
.job-card__lead { margin: 0; font-size: 14px; line-height: 1.7; color: var(--color-muted); max-height: calc(14px * 1.7 * 2 + 2px); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.job-card__salary { margin: 0; background: #f5f5f5; border-radius: 8px; padding: 12px 16px; }
.job-card__salary div {font-size: 13px; line-height: 1.6; color: var(--color-text);  height: calc(13px * 1.6 * 2 + 2px); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; text-overflow: ellipsis; }
.job-card__section { display: grid; gap: var(--space-2); }
.job-card__section-title { margin: 0; font-size: 14px; font-weight: 700; color: var(--color-text); }
.job-card__list { margin: 0; padding-left: 1.1rem; font-size: 14px; color: var(--color-muted); line-height: 1.6; }
.job-card__list li + li { margin-top: 4px; }
.job-card__buttons { display: grid; grid-template-columns: 1fr 1fr; gap: var(--space-2); }
.job-card__buttons .btn { min-width: auto; padding: 10px 14px; font-size: 14px; }

@media (min-width: 768px) {
  .job-card { padding: var(--space-8); gap: var(--space-6); }
  .job-card__buttons { display: flex; flex-wrap: wrap; gap: var(--space-3); justify-content: center; }
  .job-card__buttons .btn { min-width: 160px; padding: 14px 32px; font-size: 15px; }
}

.region-buttons { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 32px; }
.region-btn { display: flex; align-items: center; justify-content: center; padding: 12px 20px; background: var(--color-primary); border: 2px solid var(--color-primary); border-radius: var(--radius); color: #fff; font-size: 15px; font-weight: 700; text-decoration: none; transition: all 0.3s ease; }
.region-btn:hover { background: var(--color-bg); color: var(--color-primary); }

@media (min-width: 768px) {
  .region-buttons { grid-template-columns: repeat(4, 1fr); }
  .region-btn { padding: 16px 24px; font-size: 16px; }
}

/* Reasons */
#reasons .section__title { margin-bottom: var(--space-6); }
.reasons__top { display: grid; gap: clamp(24px, 4vw, 48px); align-items: stretch; }
.reasons__copy { display: grid; gap: var(--space-6); }
.reason-point { display: grid; gap: var(--space-2); }
.reason-point__title { margin: 0; display: flex; align-items: flex-end; gap: clamp(12px, 2vw, 18px); letter-spacing: .2px; }
.reason-point__index { font-family: 'Great Vibes', cursive; font-size: clamp(48px, 6vw, 68px); font-weight: 700; color: var(--color-primary-600); line-height: 1; }
.reason-point__heading { font-family: 'Noto Sans JP', system-ui, sans-serif; font-size: clamp(20px, 2.6vw, 28px); font-weight: 700; color: var(--color-text); }
.reason-point__body { margin: 0; color: var(--color-muted); line-height: 1.7; }
.reasons__media { position: relative; justify-self: stretch; align-self: stretch; }
.reasons__image { width: 100%; min-height: 280px; overflow: hidden; border-radius: 0; max-width: none; }

.reasons__bottom { display: grid; gap: var(--space-6); margin-top: var(--space-12); }
.reason-card { background: var(--color-bg); border: none; border-radius: var(--radius); box-shadow: var(--shadow-sm); display: grid; gap: var(--space-4); padding: var(--space-6); overflow: hidden; height: 100%; align-content: start; }
.reason-card__media { margin: 0; width: 100%; aspect-ratio: 16 / 10; border-radius: calc(var(--radius) - 4px); overflow: hidden; background: #f3f4f6; flex-shrink: 0; }
.reason-card__media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.reason-card__body { display: grid; gap: var(--space-3); align-content: start; }
.reason-card__title { margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; min-height: calc(1.4em * 2); display: flex; align-items: flex-end; }
.reason-card__text { margin: 0; color: var(--color-muted); line-height: 1.7; }

/* Voices */
.voice { display: grid; gap: var(--space-3); }
.voice.card {
  border: none;
  box-shadow: 0 12px 28px rgba(30, 41, 59, 0.14);
  transform: none;
}
.voice.card:hover {
  transform: none;
  box-shadow: 0 12px 28px rgba(30, 41, 59, 0.14);
}
.voice__header { display: flex; align-items: center; gap: var(--space-3); }
.voice__avatar { width: 72px; height: 72px; display: block; flex-shrink: 0; }
.voice__tag {
  display: inline-flex;
  margin-bottom: 4px;
  padding: 4px 12px;
  border-radius: 999px;
  background: color-mix(in srgb, var(--color-primary), #fff 80%);
  color: var(--color-primary-600);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .4px;
  text-transform: uppercase;
}
.voice__title { margin: 0; font-weight: 700; color: var(--color-primary-600); line-height: 1.5; }
.voice__meta { margin-top: 4px; }
.voice__quote { margin: 0; color: var(--color-text); }
.voice__meta { color: var(--color-muted); font-size: 14px; }

/* Steps (Vertical timeline) */
.steps { list-style: none; padding: 0; margin: 0; display: grid; gap: var(--space-6); }
.section#flow .section__title { text-align: center; }
.section#flow .steps { max-width: 720px; margin-inline: auto; }
.step { display: grid; grid-template-columns: 40px 1fr; align-items: start; gap: var(--space-4); position: relative; }
.step::after { content: ""; position: absolute; left: 20px; top: 44px; height: calc(100% + var(--space-6)); width: 2px; background: var(--color-line); }
.step:last-child::after { display: none; }
.step__num { width: 40px; height: 40px; border-radius: 50%; background: var(--color-primary); color: #fff; display: grid; place-items: center; font-weight: 700; box-shadow: var(--shadow-sm); position: relative; z-index: 1; }
.step__title { margin: 0 0 4px; font-size: 16px; }
.step__body { color: var(--color-muted); }
/* Keep vertical on wide screens as well */
@media (min-width: 920px) {
  .steps { grid-template-columns: 1fr; }
  .step { grid-template-columns: 40px 1fr; text-align: left; }
  .step__num { justify-self: auto; }
}

#persol .section__script{padding: 0 0.9em;font-size: clamp(23px, 4.2vw, 36px);}

/* Horizontal scroll row for jobs */
.job-row { display: flex; gap: var(--space-6); overflow-x: auto; -webkit-overflow-scrolling: touch; scroll-snap-type: x mandatory; padding-bottom: var(--space-4); }
.job-row > .job-card { flex: 0 0 100%; scroll-snap-align: start; }
@media (min-width: 768px) {
  .job-row > .job-card { flex-basis: 46%; }
  .reasons__bottom { grid-template-columns: repeat(3, 1fr); }
}
@media (min-width: 1024px) {
  .job-row > .job-card { flex-basis: 32%; }
  .reasons__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); gap: clamp(24px, 4vw, 48px); }
}

@media (min-width: 1200px) {
  .reasons__top {
    display: grid;
    grid-template-columns: minmax(0, calc(var(--container) / 2 - 24px)) minmax(0, 600px);
    gap: clamp(24px, 4vw, 48px);
    padding-left: max(24px, calc((100vw - var(--container)) / 2));
  }

  .reasons__image {
    width: 100%;
    max-height: 500px;
  }

}

@media (max-width: 599px) {
  .reason-card__title { min-height: auto; }
}
.job-row { scrollbar-width: none; }
.job-row::-webkit-scrollbar { display: none; }

/* Utility */
.u-center { text-align: center; }

/* Pagination dots */
.slider__dots { display: flex; gap: 10px; justify-content: center; align-items: center; margin-top: 0; }
.slider__dot { width: 8px; height: 8px; border-radius: 999px; background: #cbd5e1; border: none; padding: 0; line-height: 1; display: inline-block; transition: transform var(--motion-mid) var(--ease-emph), background-color var(--motion-mid) var(--ease-emph), opacity var(--motion-mid) var(--ease-emph); }
.slider__dot[aria-current="true"], .slider__dot.is-active { background: var(--color-primary); transform: scale(1.2); }

/* FAQ */
.faq-group { margin-top: var(--space-12); max-width: 840px;margin:0 auto; }
.faq-group:first-of-type { margin-top: 0; }
.faq-group__title { font-size: 18px; margin: 0 0 var(--space-4); color: var(--color-muted); }
details.faq { border: 1px solid var(--color-line); border-radius: var(--radius); background: var(--color-bg); box-shadow: var(--shadow-sm); margin: 12px auto; overflow: hidden; max-width: 860px; }
.faq summary { list-style: none; cursor: pointer; padding: 14px 48px 14px 20px; position: relative; font-weight: 600; outline: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 16px;
  width: 10px;
  height: 10px;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-50%) rotate(45deg);
  transition: transform var(--motion-mid) var(--ease-emph);
}
.faq[open] summary::after { transform: translateY(-50%) rotate(-135deg); }
.faq__content { height: 0; overflow: hidden; transition: height var(--motion-slow) var(--ease-emph); }
.faq__inner { padding: 0 16px 16px 16px; color: var(--color-muted); }
.faq a { color: var(--color-primary); }
.faq__link { display: inline-flex; align-items: center; gap: 8px; margin: var(--space-2) 0 0; font-weight: 600; }
.faq__link-icon { font-size: 16px; }
.jobs-slider { position: relative; }
.jobs-slider [data-slider-track] { scroll-behavior: smooth; }
.slider__controls { display: flex; justify-content: center; align-items: center; gap: 16px; margin-top: var(--space-6); }
.slider__btn { position: static; width: 56px; height: 56px; border: none; background: none; color: var(--color-text); opacity: .85; display: grid; place-items: center; line-height: 1; border-radius: 10px; transition: color var(--motion-mid) var(--ease-emph), opacity var(--motion-mid) var(--ease-emph), transform var(--motion-mid) var(--ease-emph); }
.slider__btn:hover, .slider__btn:focus-visible { opacity: 1; transform: translateY(-1px); }
.slider__btn[disabled] { opacity: .35; pointer-events: none; }
.slider__icon { width: 28px; height: 28px; }
@media (min-width: 768px) { .slider__icon { width: 32px; height: 32px; } }
.reasons__image { width: 100%; min-height: 280px; overflow: hidden; }
.reasons__image img { width: 100%; height: 100%; object-fit: cover; display: block; }

@media (min-width: 960px) {
  .reasons__top { grid-template-columns: minmax(0, 1fr) minmax(0, 1.1fr); }
}
.faq summary:hover::after, .faq summary:focus-visible::after { opacity: 0.8; }
.footer__links { display: flex; flex-wrap: wrap; gap: clamp(16px, 3vw, 32px); font-size: 14px; }
.footer__links a { color: rgba(255, 255, 255, 0.85); transition: opacity var(--motion-mid) var(--ease-emph); }
.footer__links a:hover, .footer__links a:focus-visible { opacity: 1; }
.footer__inner { row-gap: var(--space-3); }


/* Hero Animation */
.hero, .hero__eyebrow {
  transition: color 0.9s ease-in-out;
}

.hero-pattern-1 {
  color: #d73963;
}

.hero-pattern-1 .hero__eyebrow {
  color: rgb(247, 106, 169);
}

.hero-pattern-2 {
  color: #0a4496;
}

.hero-pattern-2 .hero__eyebrow {
  color: rgb(106, 155, 247);
}

.hero__media .hero-image {
  opacity: 0;
  transition: opacity 2.5s ease-in-out;
  will-change: opacity;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
}

.hero__media .hero-image.active {
  opacity: 1;
}

@media (max-width: 767px) {
  .hero__media img {
    width: min(280px, 80%);
  }

  .region-btn {
    background-color: var(--color-bg);
    color: var(--color-primary);
  }

  .reasons__copy {
    padding-inline: 16px;
  }
}

@media (max-width: 767px) {
  .hero__media {
    min-height: auto;
  }
}

/* Responsive Breakpoint Utilities */
.br-sp {
  display: none;
}

.br-pc {
  display: block;
}

@media (max-width: 767px) {
  .br-sp {
    display: block;
  }
  .br-pc {
    display: none;
  }
}

@media (max-width: 767px) {
  #voices .container {
    width: min(100%, var(--container));
  }
}