/* =========================================================
   bda 新入社員研修LP — style.css
   Figma: https://www.figma.com/design/E8LgfjzrYBSLcuWVpds8gp
   Desktop 1440 / content 980 / SP 390
   ========================================================= */

/* ---------- Tokens ---------- */
:root {
  --primary: #c0401a;
  --primary-pale: #f9f1ee;
  --primary-marker: rgba(192, 64, 26, 0.14);
  --text-body: #595959;
  --text-strong: #333333;
  --text-light: #999999;
  --bg-base: #ffffff;
  --bg-gray: #fafafa;
  --border: #e8e8e8;
  --accent-yellow: #fbc44d;
  --subject-red: #b7243d;
  --subject-blue: #2e76b5;
  --subject-green: #0f9361;
  --option-green: #3a9e7e;

  --radius-card: 8px;
  --container: 980px;
  --section-py: 96px;
  --section-px: 40px;

  --font: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; overflow-x: clip; }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-body);
  background: var(--bg-base);
  -webkit-font-smoothing: antialiased;
  overflow-x: clip;
  max-width: 100%;
}
h1, h2, h3, h4, p, ul, ol, dl, dt, dd, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
img, svg { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button, input, textarea { font: inherit; color: inherit; }
button { cursor: pointer; border: 0; background: none; padding: 0; }

.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;
}

/* ---------- Layout ---------- */
.section {
  position: relative;
  padding: var(--section-py) var(--section-px);
  overflow: hidden;
}
.section--gray { background: var(--bg-gray); }
.section--white { background: var(--bg-base); }
.container {
  position: relative;
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
}

/* Section header（英字eyebrow→日本語見出しに変更済み） */
.sec-head { display: flex; flex-direction: column; gap: 16px; }
.sec-head__title {
  font-size: 48px; font-weight: 700; line-height: 1.2; color: var(--primary);
}
.sec-head__sub {
  font-size: 26px; font-weight: 700; line-height: 1.6; color: var(--text-strong);
}
.sec-head__lead {
  font-size: 15px; line-height: 1.9; color: var(--text-body); max-width: 640px;
}

/* Decorative shapes（位置は 1440 フレーム基準。画面が広くても中央寄せに追従する） */
.deco {
  position: absolute; pointer-events: none; user-select: none; z-index: 0;
}
.deco img { width: 100%; height: 100%; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 999px; font-weight: 700; line-height: 1; white-space: nowrap;
  transition: background-color .2s, color .2s, box-shadow .2s, transform .1s;
}
.btn--primary { background: var(--primary); color: #fff; }
.btn--primary:hover { background: #a83615; }
.btn--primary:active { transform: translateY(1px); }
.btn--m { padding: 12px 32px; font-size: 14px; }
.btn--l { padding: 16px 48px; font-size: 16px; }
.btn--xl { padding: 16px 32px; font-size: 20px; min-width: 232px; justify-content: space-between; }
.btn--xl .btn__arrow { font-size: 18px; }
.btn--block { width: 100%; }

.textlink {
  font-weight: 700; color: var(--primary);
  transition: opacity .2s;
}
.textlink:hover { opacity: .75; }

/* Stats（2px縦罫＋見出し/補足） */
.stats { display: flex; gap: 36px; align-items: flex-start; }
.stat { display: flex; gap: 10px; align-items: flex-start; }
.stat::before { content: ""; display: block; width: 2px; height: 36px; background: var(--border); flex: none; }
.stat__body { display: flex; flex-direction: column; gap: 4px; line-height: normal; white-space: nowrap; }
.stat__title { font-size: 16px; font-weight: 700; color: var(--text-strong); }
.stat__sub { font-size: 11px; color: var(--text-light); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  height: 92px; padding: 0 40px;
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(4px);
}
.admin-bar .nav { top: 32px; }
@media screen and (max-width: 782px) {
  .admin-bar .nav { top: 46px; }
}
.nav__brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.nav__logo { width: 70px; height: 35px; }
.nav__logo img { width: 100%; height: 100%; object-fit: contain; }
.nav__org {
  padding-left: 8px;
  font-family: Helvetica, Arial, var(--font);
  font-weight: 300; font-size: 18px; letter-spacing: 0.9px; line-height: 36px;
  color: var(--text-body); white-space: nowrap;
}
.nav__links { display: flex; align-items: center; gap: 30px; }
.nav__link { font-size: 16px; color: var(--text-strong); transition: color .2s; }
.nav__link:hover { color: var(--primary); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: 84px 40px 64px;
  background: var(--bg-base);
  min-height: 557px;
}
.hero__inner {
  position: relative; z-index: 2;
  max-width: var(--container); margin: 0 auto;
  display: flex; align-items: center;
}
.hero__copy { width: 560px; display: flex; flex-direction: column; gap: 24px; align-items: flex-start; }
.hero__eyebrow { display: flex; align-items: center; gap: 12px; height: 38px; }
.hero__eyebrow-logo { width: 64px; height: 32px; object-fit: contain; }
.hero__eyebrow-rule { width: 28px; height: 2px; background: var(--primary); flex: none; }
.hero__eyebrow-text { font-size: 13px; font-weight: 700; letter-spacing: 0.78px; color: var(--text-body); white-space: nowrap; }
.hero__title {
  font-size: 46px; font-weight: 700; line-height: 1.3; color: var(--text-strong);
}
.hero__title em { font-style: normal; font-weight: 900; color: var(--primary); }
.hero__lead { font-size: 15px; line-height: 2; max-width: 541px; }
.hero__ctas { display: flex; align-items: center; gap: 28px; }
.hero__ctas .textlink { font-size: 15px; }
.hero__stats { padding-top: 12px; }

/* 右カラム：英字タイポ（背景）＋イラスト */
.hero__typo {
  position: absolute; z-index: 0;
  left: calc(50% + 67px); top: -19px;
  width: 552px; height: 572px;
  display: flex; align-items: center; justify-content: center;
  pointer-events: none;
}
.hero__typo-inner {
  transform: rotate(-6.88deg);
  display: flex; flex-direction: column; gap: 33.5px; align-items: flex-start;
  white-space: nowrap; font-weight: 700;
}
.hero__typo-row { display: flex; gap: 22px; align-items: flex-start; }
.hero__typo-num { font-size: 24px; line-height: 54px; color: #999; opacity: .7; }
.hero__typo-word { font-size: 82px; line-height: 1.1; letter-spacing: 1.64px; color: var(--border); }
.hero__illust {
  position: absolute; z-index: 1;
  left: calc(50% + 17px); top: 136px;
  width: 620px; height: 423px;
  pointer-events: none;
}
.hero__illust img { width: 100%; height: 100%; }
.hero__deco-left { left: max(0px, calc(50% - 720px)); bottom: 0; width: 154px; height: 246px; } /* Figma と同じく Hero 下端で切れる */
.hero__deco-right { right: max(0px, calc(50% - 720px)); top: 0; width: 148px; height: 165px; }

/* 1440 より広い画面では、フレーム端で切れていた五角形の切り口をフェードで馴染ませる */
@media (min-width: 1441px) {
  .hero__deco-left {
    -webkit-mask-image: linear-gradient(to right, transparent 0, #000 45%);
            mask-image: linear-gradient(to right, transparent 0, #000 45%);
  }
  .hero__deco-right {
    -webkit-mask-image: linear-gradient(to left, transparent 0, #000 40%), linear-gradient(to bottom, transparent 0, #000 35%);
            mask-image: linear-gradient(to left, transparent 0, #000 40%), linear-gradient(to bottom, transparent 0, #000 35%);
    -webkit-mask-composite: source-in;
            mask-composite: intersect;
  }
}

/* ---------- TRUST（導入企業ロゴ帯） ---------- */
.trust {
  background: var(--primary-pale);
  padding: 20px var(--section-px);
  display: flex; flex-direction: column; align-items: center; gap: 14px;
}
.trust--inline { background: transparent; padding: 20px 0; gap: 20px; }
.trust__label { font-size: 13px; color: var(--primary); text-align: center; line-height: normal; }
.trust__row { display: flex; align-items: center; justify-content: center; gap: 56px; flex-wrap: wrap; }
.trust__logo { height: 30px; width: auto; }
.trust__logo--tall { height: 52px; }
.trust__row img { height: 100%; width: auto; object-fit: contain; }
.trust__row .trust__logo { display: block; }

/* ---------- PAIN ---------- */
.pain .container { display: flex; flex-direction: column; gap: 48px; z-index: 1; }
.pain__cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: stretch; }
.pain-card {
  display: flex; flex-direction: column; align-items: center; gap: 24px;
  padding: 28px 24px 24px;
  background: #fff; border: 1px solid var(--primary); border-radius: var(--radius-card);
  text-align: center;
}
.pain-card__text { display: flex; flex-direction: column; align-items: center; gap: 6px; line-height: normal; }
.pain-card__pre, .pain-card__post { font-size: 14px; color: var(--text-body); }
.pain-card__core {
  position: relative; display: inline-block; isolation: isolate;
  font-size: 22px; font-weight: 700; color: var(--text-strong);
}
.pain-card__core::before {
  content: ""; position: absolute; left: -4px; right: -4px; top: 13px; height: 13px;
  background: var(--primary-marker); z-index: -1;
}
.pain-card__core span { position: relative; z-index: 1; }
.pain-card__illust { margin-top: auto; }
.pain-card__illust img { width: 100%; height: auto; }
.pain-card__illust--1 { width: 263px; }
.pain-card__illust--2 { width: 262px; }
.pain-card__illust--3 { width: 223px; }
.pain__closing {
  font-size: 26px; font-weight: 700; line-height: 1.6; color: var(--text-strong); text-align: center;
}
.pain__closing em { font-style: normal; color: var(--primary); }
.pain__deco-1 { right: max(133px, calc(50% - 587px)); top: 22px; width: 208px; height: 212px; }
.pain__deco-2 { right: max(50px, calc(50% - 670px)); top: 158px; width: 141px; height: 147px; }

/* ---------- Bridge（なぜデザインなのか） ---------- */
.bridge {
  position: relative; overflow: visible; z-index: 2;
  padding: var(--section-py) var(--section-px);
  background: linear-gradient(161deg, #f9f1ee 22%, #fafafa 77%);
  display: flex; flex-direction: column; align-items: center; gap: 28px; text-align: center;
}
.bridge__title { font-size: 48px; font-weight: 700; line-height: 1.2; color: var(--primary); }
.bridge__sub { font-size: 26px; font-weight: 700; line-height: 1.6; color: var(--text-strong); }
.bridge__body { font-size: 15px; line-height: 2; max-width: 720px; }
.bridge__closing { font-size: 17px; font-weight: 700; line-height: 1.8; color: var(--text-strong); }
.bridge__illust { right: max(54px, calc(50% - 666px)); bottom: -76px; width: 292px; height: 310px; z-index: 3; }

/* ---------- CONTENTS（カリキュラム） ---------- */
.contents .container { display: flex; flex-direction: column; gap: 48px; }
.rings-img { width: 100%; max-width: 980px; }
/* SP/タブレット用の輪（1枚の SVG）。1024px 以下で PC 版 rings.svg と入れ替わる */
.rings-sp { display: none; width: 100%; margin: 0 auto; }
.rings-sp__svg { display: block; width: 100%; height: auto; }
.rings-sp__svg circle, .rings-sp__svg path { fill: none; stroke-width: 6; }
.rings-sp__svg .rs-c1 { stroke: var(--subject-red); }
.rings-sp__svg .rs-c2 { stroke: var(--subject-blue); }
.rings-sp__svg .rs-c3 { stroke: var(--subject-green); }
.rings-sp__svg text { font-family: var(--font); font-weight: 700; font-size: 10px; letter-spacing: 1px; }
.rings-sp__svg .rs-t1 { fill: var(--subject-red); }
.rings-sp__svg .rs-t2 { fill: var(--subject-blue); }
.rings-sp__svg .rs-t3 { fill: var(--subject-green); }
.rings-img img { width: 100%; height: auto; }
.subjects { display: flex; justify-content: center; text-align: center; }
.subject { width: 280px; padding: 0 12px; display: flex; flex-direction: column; align-items: center; gap: 10px; }
.subject__title { font-size: 15px; font-weight: 700; line-height: 1.7; color: var(--text-strong); white-space: nowrap; }
.subject__desc { font-size: 12px; line-height: 1.8; color: var(--text-body); }
.subject__badge { display: none; }

/* ---------- FLOW ---------- */
.flow .container { display: flex; flex-direction: column; gap: 48px; z-index: 1; }
.steps { display: flex; flex-direction: column; gap: 40px; }
.step { display: flex; align-items: flex-start; gap: 20px; }
.step--reverse { gap: 56px; }
.step__text { width: 504px; flex: none; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; padding: 36px 0; }
.step--02 .step__text { padding: 16px 0; }
.step--03 .step__text { padding: 28px 0; }
.step__numrow { display: flex; align-items: center; gap: 10px; line-height: normal; }
.step__label { font-size: 12px; font-weight: 700; letter-spacing: 1.2px; color: var(--text-light); }
.step__num { font-size: 44px; font-weight: 700; line-height: 1; color: var(--primary); }
.tag {
  display: inline-flex; padding: 4px 12px; border-radius: 999px;
  background: var(--primary-pale); color: var(--primary);
  font-size: 11px; font-weight: 700; line-height: normal;
}
.step__title { font-size: 24px; font-weight: 700; line-height: 1.6; color: var(--text-strong); }
.step__desc { font-size: 14px; line-height: 1.9; color: var(--text-body); }
.step__stats { padding: 16px 0; }
.step--02 .step__stats { padding: 14px 0; }
.sep { height: 1px; background: var(--border); width: 100%; }

/* Step01 visual: 2 thumbs */
.thumbs {
  position: relative; width: 456px; height: 363px; flex: none;
  filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.08));
}
.thumb {
  position: absolute; overflow: hidden;
  background: #fff; border: 3px solid #fff; border-radius: 8px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.14);
}
.thumb--1 { left: 12px; top: 30px; width: 340px; height: 191px; transform: rotate(-2deg); }
.thumb--2 { left: 107px; top: 156px; width: 320px; height: 180px; transform: rotate(3deg); }
.thumb__still { position: absolute; inset: -3px; width: calc(100% + 6px); height: calc(100% + 6px); object-fit: cover; }
.thumb__duration {
  position: absolute; bottom: 5px; padding: 3px 8px; border-radius: 4px;
  background: rgba(0, 0, 0, 0.75); color: #fff; font-size: 11px; font-weight: 700; line-height: normal;
}
.thumb--1 .thumb__duration { left: 5px; }
.thumb--2 .thumb__duration { right: 5px; }
.thumb__play {
  position: absolute; left: 50%; top: 50%; width: 52px; height: 52px; transform: translate(-50%, -50%);
}
.thumb__play img { position: absolute; }
.thumb__play-bg { inset: 0; width: 100%; height: 100%; }
.thumb__play-icon { left: 50%; top: 50%; width: 18px; height: 14px; transform: translate(-42%, -50%) rotate(90deg); }

/* Step02 visual: mac mock */
.macmock { position: relative; width: 448px; flex: none; }
.macmock__frame { width: 100%; height: auto; }
.macmock__screen {
  position: absolute; left: 10.7%; top: 4.3%; width: 78.35%; height: 85.6%;
  object-fit: cover; object-position: top left; border-radius: 4px;
}

/* Step03 visual */
.chat-illust { width: 420px; flex: none; }
.chat-illust img { width: 100%; height: auto; }

/* Option card（別注） */
.option-card {
  display: flex; align-items: center; gap: 24px;
  padding: 24px 28px; background: var(--bg-base);
  border: 1px solid var(--border); border-radius: var(--radius-card);
  line-height: normal;
}
.option-card__texts { flex: 1; display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.option-card__label { font-size: 12px; color: var(--option-green); }
.option-card__title { font-size: 16px; font-weight: 700; color: var(--text-strong); }
.option-card__desc { font-size: 13px; color: var(--text-body); }
.option-card__link { font-size: 14px; color: var(--option-green); text-decoration: underline; white-space: nowrap; }
.flow__deco-1 { right: max(229px, calc(50% - 491px)); top: 44px; width: 148px; height: 184px; }
.flow__deco-2 { right: max(114px, calc(50% - 606px)); top: 144px; width: 141px; height: 147px; }

/* ---------- Mid CTA ---------- */
.midcta {
  background: var(--primary-pale);
  border-top: 2px solid rgba(192, 64, 26, 0.2);
  border-bottom: 2px solid rgba(192, 64, 26, 0.2);
  padding: 56px var(--section-px);
}
.midcta__row { display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.midcta__text { display: flex; flex-direction: column; gap: 8px; max-width: 726px; line-height: normal; }
.eyebrow-en { font-size: 13px; font-weight: 700; letter-spacing: 1.3px; color: var(--primary); }
.midcta__title { font-size: 24px; font-weight: 700; color: var(--text-strong); }
.midcta__body { font-size: 15px; line-height: 1.8; color: var(--text-body); }

/* ---------- DIFFERENCE（研修の特徴） ---------- */
.diff .container { display: flex; flex-direction: column; gap: 56px; z-index: 1; }

/* 比較表：CSS Grid（ラベル220 / 一般350 / 自社410） */
.cmp { position: relative; padding-bottom: 16px; }
.cmp__selfcard {
  position: absolute; left: 58.16%; top: 0; width: 41.84%; height: calc(100% - 0px);
  background: var(--primary-pale); border: 2px solid var(--primary); border-radius: var(--radius-card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08); z-index: 0;
}
.cmp__grid { position: relative; z-index: 1; display: grid; grid-template-columns: 22.45% 35.71% 41.84%; }
.cmp__row { display: contents; }
.cmp__cell { display: flex; align-items: center; padding: 20px 24px; min-height: 64px; line-height: normal; }
.cmp__head { min-height: 64px; align-items: flex-end; padding: 0; }
.cmp__head--general {
  align-items: center; justify-content: center; height: 48px; align-self: end;
  background: var(--border); border-top-left-radius: 8px;
  font-size: 15px; font-weight: 700; color: var(--text-strong);
}
.cmp__head--self {
  align-items: center; justify-content: center; gap: 4px; height: 64px;
  background: var(--primary); border-radius: 8px 8px 0 0; color: #fff;
  font-size: 20px; font-weight: 700;
}
.cmp__head--self img { width: 52.5px; height: 26.25px; }
.cmp__label { font-size: 15px; font-weight: 700; color: var(--text-strong); }
.cmp__general { justify-content: center; text-align: center; background: var(--bg-gray); font-size: 15px; color: var(--text-body); }
.cmp__self { justify-content: center; text-align: center; font-size: 16px; font-weight: 700; color: var(--primary); }
.cmp__sep { grid-column: 1 / 3; height: 1px; background: var(--border); }
.cmp__sep--self { grid-column: 3 / 4; background: transparent; }

/* 講師 */
.lecturers { display: flex; flex-direction: column; gap: 24px; }
.lecturers__heading { display: flex; align-items: center; gap: 12px; height: 43px; line-height: normal; }
.lecturers__rule { width: 24px; height: 2px; background: var(--primary); }
.lecturers__title { font-size: 20px; font-weight: 700; color: var(--text-strong); }
.lecturers__en { font-size: 12px; font-weight: 700; letter-spacing: 0.96px; color: var(--primary); }
.lecturers__lead { font-size: 14px; line-height: 1.8; color: var(--text-body); }
.lecturers__cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.lec-card {
  display: flex; gap: 16px; align-items: flex-start; padding: 20px;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card);
}
.lec-card__photo {
  width: 71px; height: 71px; flex: none; border-radius: 50%; object-fit: cover;
  box-shadow: 0 0 0 1px rgba(192, 64, 26, 0.2);
}
.lec-card__info { display: flex; flex-direction: column; gap: 8px; min-width: 0; line-height: normal; }
.lec-card__role { font-size: 11px; font-weight: 700; color: var(--primary); }
.lec-card__name { font-size: 17px; font-weight: 700; color: var(--text-strong); }
.lec-card__title { font-size: 12px; color: var(--text-body); }
.lec-card__quote { font-size: 12px; line-height: 1.7; color: var(--text-light); }
.diff__deco { right: max(230px, calc(50% - 490px)); top: 112px; width: 146px; height: 116px; }

/* ---------- PLAN ---------- */
.plan .container { display: flex; flex-direction: column; gap: 40px; z-index: 1; }
.plan .sec-head__lead { max-width: none; }
.plans { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; align-items: end; }
.plan-card {
  display: flex; flex-direction: column;
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-card); overflow: hidden;
}
.plan-card--featured {
  border: 2px solid var(--primary); box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}
.plan-card__band {
  padding: 8px; background: var(--primary); color: #fff; text-align: center;
  font-size: 14px; font-weight: 700; line-height: normal;
}
.plan-card__body { display: flex; flex-direction: column; gap: 20px; padding: 28px 24px; }
.plan-card__head { display: flex; flex-direction: column; gap: 4px; line-height: normal; }
.plan-card__code { font-size: 11px; font-weight: 700; letter-spacing: 0.88px; color: var(--primary); }
.plan-card__name { font-size: 20px; font-weight: 900; color: var(--text-strong); }
.plan-card__price { display: flex; align-items: baseline; gap: 6px; line-height: normal; }
.plan-card__amount { font-size: 28px; font-weight: 700; line-height: 1; color: var(--text-strong); }
.plan-card__unit { font-size: 13px; color: var(--text-body); }
.headcount {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding: 12px; border-radius: 6px; background: var(--bg-gray); line-height: normal;
}
.plan-card--featured .headcount { background: var(--primary-pale); }
.headcount__label { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: 0.66px; color: var(--text-body); }
.plan-card--featured .headcount__label { color: var(--primary); }
.headcount__label img { width: 8px; height: 10px; }
.headcount__value { display: flex; align-items: baseline; gap: 2px; font-weight: 700; color: var(--text-strong); }
.headcount__value b { font-size: 18px; font-weight: 700; }
.headcount__value small { font-size: 12px; font-weight: 700; }
.plan-card__divider { height: 1px; background: var(--border); }
.features { display: flex; flex-direction: column; gap: 10px; font-size: 14px; line-height: normal; }
.features li { display: flex; gap: 8px; align-items: flex-start; }
.features li::before { content: "✓"; font-weight: 700; color: var(--primary); flex: none; }
.plan__cta { display: flex; flex-direction: column; align-items: center; gap: 16px; text-align: center; }
.plan__cta .textlink { font-size: 13px; }
.plan__note { font-size: 12px; line-height: 1.7; color: var(--text-body); }
.plan__deco { right: max(239px, calc(50% - 481px)); top: 116px; width: 111px; height: 111px; }

/* ---------- VOICE ---------- */
.voice .container { display: flex; flex-direction: column; gap: 40px; z-index: 1; }
.voices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.voice-card {
  display: flex; flex-direction: column; gap: 16px; padding: 28px 24px;
  background: var(--bg-base); border: 1px solid var(--border); border-radius: var(--radius-card);
}
.voice-card__mark { font-size: 32px; font-weight: 700; line-height: 16px; letter-spacing: 3.2px; color: var(--primary); }
.voice-card__text { font-size: 16px; font-weight: 700; line-height: 1.6; color: var(--text-strong); }
.voice-card__meta { font-size: 12px; line-height: 1.8; color: var(--text-light); }
.voice__closing { text-align: center; font-size: 26px; font-weight: 700; line-height: 1.6; color: var(--text-strong); }
.voice__closing span { position: relative; display: inline-block; isolation: isolate; }
.voice__closing span::before {
  content: ""; position: absolute; left: 0; right: 0; top: 24px; height: 13px;
  background: var(--primary-marker); z-index: -1;
}
.voice__deco { right: max(236px, calc(50% - 484px)); top: 85px; width: 163px; height: 127px; }

/* ---------- FAQ ---------- */
.faq .container { display: flex; flex-direction: column; gap: 40px; }
.faq__list { display: flex; flex-direction: column; }
.faq__item { display: flex; flex-direction: column; gap: 8px; padding: 20px 0; border-bottom: 1px solid var(--border); }
.faq__item:last-child { border-bottom: 0; }
.faq__q { display: flex; gap: 12px; align-items: flex-start; font-size: 15px; font-weight: 700; line-height: normal; color: var(--text-strong); }
.faq__q::before { content: "Q"; color: var(--primary); flex: none; }
.faq__a { padding-left: 27px; font-size: 14px; line-height: 1.8; color: var(--text-body); }

/* ---------- Final CTA + Form ---------- */
.final {
  background: rgba(192, 64, 26, 0.9);
  padding: 88px var(--section-px);
  display: flex; flex-direction: column; align-items: center; gap: 20px; text-align: center;
}
.final__eyebrow { color: rgba(255, 255, 255, 0.75); }
.final__title { font-size: 34px; font-weight: 700; line-height: normal; color: #fff; }
.chips { display: flex; gap: 10px; flex-wrap: wrap; justify-content: center; }
.chip {
  padding: 7px 14px; border: 1px solid rgba(255, 255, 255, 0.5); border-radius: 999px;
  font-size: 13px; color: #fff; line-height: normal; white-space: nowrap;
}
.form {
  width: 100%; max-width: 640px; padding: 40px; margin-top: 0;
  background: var(--bg-base); border-radius: var(--radius-card);
  display: flex; flex-direction: column; gap: 20px; text-align: left;
}
.field { display: flex; flex-direction: column; gap: 8px; }
.field__label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text-strong); line-height: normal; }
.badge {
  padding: 2px 6px; border-radius: 3px; font-size: 10px; font-weight: 700; color: #fff; line-height: normal;
}
.badge--req { background: var(--primary); }
.badge--opt { background: var(--text-light); }
.input, .textarea {
  width: 100%; padding: 0 16px; height: 48px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--bg-base);
  font-size: 14px; color: var(--text-strong); outline: none;
  transition: border-color .2s, box-shadow .2s;
}
.textarea { height: 96px; padding: 14px 16px; resize: vertical; }
.input::placeholder, .textarea::placeholder { color: var(--text-light); }
.input:focus, .textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-marker); }
.form__note { font-size: 12px; text-align: center; color: var(--text-body); line-height: normal; }
.form__note a { text-decoration: underline; }
.form__error { display: none; font-size: 12px; color: var(--primary); }
.field.is-invalid .input, .field.is-invalid .textarea { border-color: var(--primary); }
.field.is-invalid .form__error { display: block; }
.form__status { display: none; font-size: 14px; text-align: center; color: var(--text-strong); }
.form.is-sent .form__status { display: block; }

/* Contact Form 7 出力への当て込み（WP化時） */
.form .wpcf7-form-control-wrap { display: block; width: 100%; }
.form .wpcf7-not-valid-tip { display: block; margin-top: 6px; font-size: 12px; color: var(--primary); }
.form .wpcf7-not-valid { border-color: var(--primary); }
.form .wpcf7-spinner { display: block; margin: 8px auto 0; }
.form .wpcf7-response-output {
  margin: 0; padding: 12px 16px; border: 1px solid var(--border) !important; border-radius: 8px;
  font-size: 13px; text-align: center; color: var(--text-strong);
}
.form .wpcf7 form.sent .wpcf7-response-output { border-color: var(--primary) !important; background: var(--primary-pale); }
.form .wpcf7 form.invalid .wpcf7-response-output,
.form .wpcf7 form.failed .wpcf7-response-output { border-color: var(--primary) !important; }
.form .wpcf7-submit {
  display: block; width: 100%; border: 0; -webkit-appearance: none; appearance: none;
  border-radius: 999px; background: var(--primary); color: #fff;
  padding: 16px 48px; font-size: 16px; font-weight: 700; line-height: 1; cursor: pointer;
}
.form .wpcf7-submit:hover { background: #a83615; }
.form .wpcf7-submit:disabled { opacity: .6; cursor: default; }
.form .wpcf7 form { display: flex; flex-direction: column; gap: 20px; }
.form .wpcf7 form > p { margin: 0; }

/* CF7 側が membership / contact-8 と同じ ms-form__* クラスのため、LP のフォーム見た目に合わせる */
.form .ms-form__row { display: flex; flex-direction: column; gap: 8px; }
.form .ms-form__label { display: flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; color: var(--text-strong); line-height: normal; }
.form .ms-form__required,
.form .ms-form__any {
  padding: 2px 6px; border-radius: 3px; font-size: 10px; font-weight: 700; color: #fff; line-height: normal;
}
.form .ms-form__required { background: var(--primary); }
.form .ms-form__any { background: var(--text-light); }
.form .ms-form__field { width: 100%; }
.form .ms-form__input,
.form .ms-form__textarea {
  width: 100%; padding: 0 16px; height: 48px;
  border: 1px solid var(--border); border-radius: 8px; background: var(--bg-base);
  font-size: 14px; color: var(--text-strong); outline: none;
  transition: border-color .2s, box-shadow .2s; box-sizing: border-box;
}
.form .ms-form__textarea { height: 96px; padding: 14px 16px; resize: vertical; }
.form .ms-form__input::placeholder,
.form .ms-form__textarea::placeholder { color: var(--text-light); }
.form .ms-form__input:focus,
.form .ms-form__textarea:focus { border-color: var(--primary); box-shadow: 0 0 0 3px var(--primary-marker); }
.form .ms-form__submit-wrap { width: 100%; }

/* ---------- Password gate ---------- */
.pw-gate {
  min-height: calc(100vh - 92px - 72px);
  padding: 80px var(--section-px);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 16px; text-align: center;
}
.pw-gate__title { font-size: 26px; font-weight: 700; line-height: 1.5; color: var(--text-strong); }
.pw-gate__lead { font-size: 15px; color: var(--text-body); }
.pw-gate__form {
  width: 100%; max-width: 400px; margin-top: 12px; padding: 32px;
  background: var(--bg-base); border: 1px solid var(--border); border-radius: var(--radius-card);
  display: flex; flex-direction: column; gap: 12px; text-align: left;
}
@media (max-width: 768px) {
  .pw-gate { min-height: calc(100vh - 64px - 88px); padding: 48px 20px; }
  .pw-gate__title { font-size: 20px; }
  .pw-gate__form { padding: 24px 20px; }
}

/* ---------- Footer ---------- */
.footer {
  display: flex; justify-content: space-between; align-items: center; gap: 16px;
  padding: 24px 40px; background: var(--bg-base);
  font-size: 11px; color: var(--text-light); line-height: normal;
}
.footer a:hover { text-decoration: underline; }

/* ---------- SP 追従CTA ---------- */
.sticky-cta {
  display: none; position: fixed; left: 0; right: 0; bottom: 0; z-index: 90;
  padding: 12px 20px calc(12px + env(safe-area-inset-bottom));
  background: rgba(255, 255, 255, 0.96); border-top: 1px solid var(--border);
  transform: translateY(0); transition: transform .3s;
}
.sticky-cta.is-hidden { transform: translateY(110%); }

/* reCAPTCHA v3 バッジは right:-186px / width:256px のため、検証ツールや一部ブラウザで右に隙間ができて横スクロールできる */
.grecaptcha-badge {
  width: 70px !important;
  overflow: hidden !important;
  right: 4px !important;
  contain: paint;
}

/* =========================================================
   Responsive
   ========================================================= */

/* --- Tablet / narrow desktop --- */
@media (max-width: 1240px) {
  /* 装飾は PC 以下でも表示する。セクション右端に寄せ、見出し・リード文と重ならない位置に */
  .bridge__illust { display: none; }
  .pain__deco-1 { right: 60px; top: 20px; }
  .pain__deco-2 { right: 0; top: 150px; }
  .flow__deco-1 { right: 80px; top: 30px; }
  .flow__deco-2 { right: 0; top: 120px; }
  .diff__deco { right: 60px; top: 100px; }
  .plan__deco { right: 60px; top: 100px; }
  .voice__deco { right: 60px; top: 70px; }
}
@media (max-width: 1024px) {
  .hero__deco-left, .hero__deco-right { display: none; }
  .pain__deco-1 { right: 32px; top: 24px; width: 146px; height: 148px; }
  .pain__deco-2 { right: 0; top: 130px; width: 99px; height: 103px; }
  .flow__deco-1 { right: 48px; top: 32px; width: 104px; height: 129px; }
  .flow__deco-2 { right: 0; top: 110px; width: 99px; height: 103px; }
  .diff__deco { right: 40px; top: 90px; width: 102px; height: 81px; }
  .plan__deco { right: 40px; top: 90px; width: 78px; height: 78px; }
  .voice__deco { right: 40px; top: 60px; width: 114px; height: 89px; }
}
@media (max-width: 768px) {
  .pain__deco-1 { right: 20px; top: 20px; width: 104px; height: 106px; }
  .pain__deco-2 { right: 0; top: 96px; width: 70px; height: 74px; }
  .flow__deco-1 { right: 24px; top: 24px; width: 74px; height: 92px; }
  .flow__deco-2 { right: 0; top: 84px; width: 70px; height: 74px; }
  .diff__deco { right: 20px; top: 44px; width: 88px; height: 70px; }
  .plan__deco { right: 20px; top: 44px; width: 66px; height: 66px; }
  .voice__deco { right: 16px; top: 34px; width: 98px; height: 76px; }
}
@media (max-width: 1100px) {
  /* Hero: 英字タイポとイラストをひとつの塊として右側に敷く（SP と同じ構図・大きめ） */
  .hero { min-height: 0; padding: 72px 40px; }
  .hero__inner { position: static; display: block; }
  .hero__copy { position: relative; z-index: 2; width: 100%; max-width: 560px; }
  .hero__typo { display: flex; left: auto; right: -30px; top: 24px; width: auto; height: auto; opacity: .75; }
  .hero__typo-inner { gap: 18px; }
  .hero__typo-row { gap: 14px; }
  .hero__typo-num { font-size: 16px; line-height: 38px; }
  .hero__typo-word { font-size: 56px; letter-spacing: 1px; }
  .hero__illust { position: absolute; z-index: 1; left: auto; right: -50px; top: 120px; width: 420px; height: auto; }
  .hero__illust img { height: auto; }
}

@media (max-width: 1024px) {
  :root { --section-py: 72px; }
  .nav__org { display: none; }
  .hero { padding: 64px 40px 48px; min-height: 0; }
  .hero__illust { opacity: .35; }

  .pain__cards { grid-template-columns: repeat(3, 1fr); gap: 16px; }
  .pain-card__illust { width: 100% !important; max-width: 263px; }

  .rings-img { display: none; }
  .rings-sp { display: block; }
  .subjects { flex-direction: column; align-items: center; gap: 28px; }
  .subject { width: 100%; max-width: 480px; }
  .subject__title { white-space: normal; }
  .subject__badge { display: inline-flex; padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 700; letter-spacing: 1.5px; color: #fff; }
  .subject--01 .subject__badge { background: var(--subject-red); }
  .subject--02 .subject__badge { background: var(--subject-blue); }
  .subject--03 .subject__badge { background: var(--subject-green); }

  .step, .step--reverse { flex-direction: column; gap: 24px; align-items: center; }
  .step--reverse { flex-direction: column-reverse; }
  .step__text { width: 100%; padding: 0 !important; }
  .thumbs { width: 100%; max-width: 456px; height: auto; aspect-ratio: 456 / 363; }
  .thumb { border-width: 2px; }
  .thumb--1 { left: 2.6%; top: 8.3%; width: 74.6%; height: auto; aspect-ratio: 340 / 191; }
  .thumb--2 { left: 23.5%; top: 43%; width: 70.2%; height: auto; aspect-ratio: 320 / 180; }
  .macmock { width: 100%; max-width: 448px; }
  .chat-illust { width: 100%; max-width: 420px; }

  .midcta__row { flex-direction: column; align-items: flex-start; }

  /* 比較表: PC と同じ表を % 幅で縮める（769px まで） */
  .cmp__cell { padding: 16px 12px; min-height: 56px; }
  .cmp__head { min-height: 56px; }
  .cmp__head--general { height: 44px; font-size: 14px; }
  .cmp__head--self { height: 56px; font-size: 17px; }
  .cmp__head--self img { width: 44px; height: 22px; }
  .cmp__label, .cmp__general { font-size: 14px; }
  .cmp__self { font-size: 15px; }

  .plans { align-items: stretch; }
}

/* --- SP --- */
@media (max-width: 768px) {
  :root { --section-py: 64px; --section-px: 20px; }
  body { font-size: 14px; padding-bottom: 76px; }

  .sec-head__title { font-size: 32px; }
  .sec-head__sub { font-size: 21px; }
  .sec-head__lead { font-size: 14px; }

  .btn--l { padding: 16px 32px; font-size: 15px; }
  .btn--xl { min-width: 0; width: 100%; font-size: 17px; }

  .nav { height: 64px; padding: 0 20px; }
  .nav__logo { width: 56px; height: 28px; }
  .nav__link { display: none; }
  .nav__links { gap: 0; }
  .nav .btn--m { padding: 10px 20px; font-size: 13px; }

  .hero { padding: 40px 20px 40px; }
  .hero__inner { gap: 28px; }
  .hero__copy { gap: 20px; align-items: stretch; }
  .hero__eyebrow { height: auto; gap: 8px; }
  .hero__eyebrow-logo { width: 48px; height: 24px; }
  .hero__eyebrow-rule { width: 20px; }
  .hero__eyebrow-text { font-size: 11px; white-space: normal; }
  .hero__title { font-size: 30px; }
  .hero__lead { font-size: 14px; line-height: 1.9; }
  .hero__ctas { flex-direction: column; align-items: stretch; gap: 16px; text-align: center; }
  .hero__ctas .btn { width: 100%; }
  .hero__stats { flex-wrap: wrap; gap: 16px 24px; padding-top: 4px; }
  .stat__title { font-size: 14px; }
  .hero__illust { max-width: 360px; }

  .trust { padding: 20px; gap: 12px; }
  .trust__row { gap: 20px 28px; }
  .trust__logo { height: 24px; }
  .trust__logo--tall { height: 40px; }

  .pain .container { gap: 32px; }
  .pain__cards { grid-template-columns: 1fr; gap: 16px; }
  .pain-card { padding: 24px 20px 20px; gap: 20px; }
  .pain-card__core { font-size: 20px; }
  .pain-card__illust { max-width: 220px; }
  .pain__closing { font-size: 19px; }

  .bridge { gap: 20px; }
  .bridge__title { font-size: 30px; }
  .bridge__sub { font-size: 19px; }
  .bridge__body { font-size: 14px; line-height: 1.9; text-align: left; }
  .bridge__closing { font-size: 15px; }

  .contents .container { gap: 32px; }
  .subjects { gap: 24px; }
  .subject { gap: 8px; }

  .flow .container { gap: 32px; }
  .steps { gap: 28px; }
  .step__num { font-size: 36px; }
  .step__title { font-size: 20px; }
  .step__stats { flex-wrap: wrap; gap: 12px 24px; padding: 8px 0 0; }
  .option-card { flex-direction: column; align-items: flex-start; gap: 12px; padding: 20px; }

  .midcta { padding: 40px 20px; }
  .midcta__title { font-size: 20px; }
  .midcta__body { font-size: 14px; }
  .midcta__row .btn { width: 100%; }

  .diff .container { gap: 40px; }
  .lecturers__cards { grid-template-columns: 1fr; gap: 12px; }
  .lec-card { padding: 16px; }

  .plan .container { gap: 32px; }
  .plans { grid-template-columns: 1fr; gap: 16px; }
  .plan-card--featured { order: -1; }
  .plan__cta .btn { width: 100%; }
  .plan__note { text-align: left; }

  .voice .container { gap: 32px; }
  .voices { grid-template-columns: 1fr; gap: 16px; }
  .voice-card { padding: 24px 20px; }
  .voice__closing { font-size: 19px; }
  .voice__closing span { display: inline; background: linear-gradient(transparent 62%, var(--primary-marker) 62%, var(--primary-marker) 96%, transparent 96%); }
  .voice__closing span::before { display: none; }

  .faq .container { gap: 32px; }
  .faq__item { padding: 16px 0; }

  .final { padding: 56px 20px; gap: 16px; }
  .final__title { font-size: 26px; }
  .form { padding: 24px 20px; gap: 16px; }

  .footer { flex-direction: column; text-align: center; padding: 20px; gap: 8px; }

  .sticky-cta { display: block; }
}

/* =========================================================
   SP 調整（第2弾・2026-09-04 FB）
   ========================================================= */
.plans__note-sp { display: none; }

@media (max-width: 768px) {
  /* --- Hero: 英字タイポとイラストを背景化し、コピーを前面に --- */
  .hero { padding: 60px 20px 76px; overflow: hidden; }
  .hero__inner { display: block; }
  .hero__copy { position: relative; z-index: 2; max-width: none; gap: 28px; }
  .hero__title { margin-top: 4px; }
  .hero__lead { margin-top: -4px; }
  .hero__ctas { margin-top: 8px; gap: 20px; }
  .hero__stats { padding-top: 16px; gap: 20px 28px; }
  .hero__typo {
    display: flex; left: auto; right: -28px; top: 28px;
    width: auto; height: auto; opacity: .75;
  }
  .hero__typo-inner { gap: 10px; }
  .hero__typo-row { gap: 8px; }
  .hero__typo-num { font-size: 11px; line-height: 26px; }
  .hero__typo-word { font-size: 38px; letter-spacing: 0.8px; }
  .hero__illust {
    display: block; position: absolute; z-index: 1;
    left: auto; right: -36px; bottom: -8px; top: auto;
    width: 300px; max-width: none; height: auto;
    opacity: .28;
  }
  .hero__stats { position: relative; z-index: 2; }

  /* --- 研修の特徴: 3列の表として見せる --- */
  .cmp { padding-bottom: 0; }
  .cmp__selfcard { display: none; }
  .cmp__sep { display: none; }
  .cmp__grid {
    display: grid; grid-template-columns: 68px 1fr 1.2fr; gap: 0;
    border: 1px solid var(--border); border-radius: 8px; overflow: hidden; background: #fff;
  }
  .cmp__row, .cmp__row--head { display: contents; }
  .cmp__label, .cmp__general, .cmp__self, .cmp__head { grid-area: auto; }
  .cmp__head { display: flex; }
  .cmp__cell { min-height: 0; padding: 12px 8px; border-top: 1px solid var(--border); }
  .cmp__head, .cmp__label { border-top: 0; }
  .cmp__row + .cmp__row .cmp__label { border-top: 1px solid var(--border); }
  .cmp__head--general {
    height: auto; align-self: stretch; border-radius: 0;
    font-size: 11px; text-align: center; padding: 10px 4px; letter-spacing: -0.2px;
  }
  .cmp__head--self {
    height: auto; border-radius: 0; flex-direction: column; gap: 2px;
    font-size: 12px; padding: 8px 6px;
  }
  .cmp__head--self img { width: 34px; height: 17px; }
  .cmp__label { font-size: 12px; padding: 12px 8px; align-items: center; }
  .cmp__general {
    border-radius: 0; font-size: 12px; line-height: 1.5; background: var(--bg-gray);
    display: flex; align-items: center; justify-content: center; text-align: center;
  }
  .cmp__self {
    border-radius: 0; border: 0; font-size: 13px; line-height: 1.5; background: var(--primary-pale);
    box-shadow: inset 2px 0 0 var(--primary);
    display: flex; align-items: center; justify-content: center; text-align: center;
  }
  .cmp__general::before, .cmp__self::before { display: none; }

  /* --- 料金プラン: M を主役に、S/L は下に小さく並べる --- */
  .plans { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; align-items: stretch; }
  .plan-card--featured { grid-column: 1 / -1; order: -1; }
  .plan-card:not(.plan-card--featured) .plan-card__body { padding: 18px 14px; gap: 12px; }
  .plan-card:not(.plan-card--featured) .plan-card__name { font-size: 16px; }
  .plan-card:not(.plan-card--featured) .plan-card__amount { font-size: 22px; }
  .plan-card:not(.plan-card--featured) .plan-card__unit { font-size: 11px; }
  .plan-card:not(.plan-card--featured) .plan-card__price { flex-wrap: wrap; gap: 4px; }
  .plan-card:not(.plan-card--featured) .headcount { padding: 8px; }
  .plan-card:not(.plan-card--featured) .headcount__value b { font-size: 15px; }
  .plan-card:not(.plan-card--featured) .plan-card__divider,
  .plan-card:not(.plan-card--featured) .features { display: none; }
  .plans__note-sp { display: block; font-size: 12px; line-height: 1.7; color: var(--text-light); margin-top: -16px; }
}

/* =========================================================
   SP 調整（第4弾・2026-09-04 FB）
   ========================================================= */
@media (max-width: 768px) {
  /* --- Hero: 背景の英字タイポとイラストを一つの塊として右上に重ねる。
         .hero__inner を static にして、両方とも .hero 基準で配置する --- */
  .hero__inner { position: static; }
  .hero__typo { top: 40px; right: -20px; bottom: auto; opacity: .7; }
  .hero__illust { top: 72px; right: -40px; bottom: auto; width: 280px; }

  /* --- Hero: スタット列をボタンの上へ。3列固定で折り返さない --- */
  .hero__ctas { order: 1; margin-top: 0; }
  .hero__stats {
    display: grid; grid-template-columns: 1.05fr 0.85fr 1.1fr; gap: 0 8px;
    padding-top: 4px;
  }
  .hero__stats .stat { gap: 6px; min-width: 0; }
  .hero__stats .stat::before { height: 34px; }
  .hero__stats .stat__body { white-space: normal; min-width: 0; gap: 2px; }
  .hero__stats .stat__title { font-size: 13px; line-height: 1.3; }
  .hero__stats .stat__sub { font-size: 10px; line-height: 1.4; letter-spacing: -0.3px; }

}

@media (max-width: 768px) {
}
