@charset "UTF-8";

/* ==========================================================================
   e-アドリス LP
   デザイン基準幅 : 589px（PC中央カラム / SPは可変）
   ブレイクポイント : 768px（768px以上=PC / 767px以下=SP）
   1rem = 10px（デザイン実寸）
   ========================================================================== */

/* --------------------------------------------------------------------------
   0. Webフォント（手書き見出し用：ふい字P）
   ※ 全文セットのため約3.3MB。公開前に使用文字のみサブセット化を推奨
   -------------------------------------------------------------------------- */
@font-face {
  font-family: "HuiFontP";
  src: url("fonts/HuiFontP29.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* 数字だけをBarlowに統一。日本語・英字は従来のフォントを使用する。 */
@font-face {
  font-family: "Barlow Digits";
  src: url("fonts/barlow/barlow-digits-400.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
}

@font-face {
  font-family: "Barlow Digits";
  src: url("fonts/barlow/barlow-digits-500.ttf") format("truetype");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
}

@font-face {
  font-family: "Barlow Digits";
  src: url("fonts/barlow/barlow-digits-600.ttf") format("truetype");
  font-weight: 600;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
}

@font-face {
  font-family: "Barlow Digits";
  src: url("fonts/barlow/barlow-digits-700.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  unicode-range: U+0030-0039;
}

/* --------------------------------------------------------------------------
   1. 変数
   -------------------------------------------------------------------------- */
:root {
  --font-numerals: "Barlow Digits";
  --navy: #071f5c;
  --navy-soft: #2b3f75;
  --band: #4d82cb;
  --blue: #3b73c4;
  --blue-mid: #9cc5eb;
  --blue-pale: #dceaf8;
  --blue-lite: #eaf3fb;
  --orange: #f8a30d;
  --orange-dark: #e08c00;
  --amber: #fdb101;
  --card: #fdfbf8;
  --gray: #f0efed;
  --shadow: 0 0.4rem 1.2rem rgba(7, 31, 92, .08);
  --radius: 1.6rem;
  --col: 58.9rem;
  --pad: 3.4rem;
  /* セクション末尾に共通の余白を加え、次の見出しとの間隔を広げる。 */
  --section-spacing-extra: clamp(20px, 2.4rem, 24px);
}

/* --------------------------------------------------------------------------
   2. リセット
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  font-size: 62.5%; /* 1rem = 10px */
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body,
h1, h2, h3, h4, h5, p, ul, ol, li, figure, dl, dd, address {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

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

button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  cursor: pointer;
}

address {
  font-style: normal;
}

body {
  font-family: var(--font-numerals), "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 1.6rem;
  font-weight: 500;
  line-height: 1.75;
  color: var(--navy);
  background: #fff;
  overflow-x: hidden;
}

/* --------------------------------------------------------------------------
   3. レイアウト
   -------------------------------------------------------------------------- */
.l-page {
  position: relative;
}

.l-main {
  position: relative;
  width: 100%;
  max-width: var(--col);
  margin: 0 auto;
  overflow: hidden;
  background: #fff;
}

.l-side {
  display: none;
}

/* --------------------------------------------------------------------------
   4. 共通コンポーネント
   -------------------------------------------------------------------------- */

/* ---- CTAボタン（画像）----
   画像の透明余白を切り落とすため、ボタン本体の縦横比を aspect-ratio で指定し
   画像を中央基準で拡大配置してトリミングしている */
.c-cta {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 5.201 / 1;
  transition: transform .25s, filter .25s;
}

.c-cta img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 103.6%;
  max-width: none;
  transform: translate(-50%, -50%);
}

/* PC左カラム用（mv_lefft_btn.png） */
.c-cta--multi {
  aspect-ratio: 1.637 / 1;
}

.c-cta--multi img {
  width: 100%;
}

.c-cta:hover {
  filter: brightness(1.05);
  transform: translateY(-0.2rem);
}

/* ---- SP追従CTA（767px以下で画面下部に固定）---- */
.c-fixed-cta {
  display: none;
}

/* ---- セクション帯 ---- */
.c-band {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.3rem;
  height: 17rem;
  background: var(--band);
}

.c-band__icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 7.1rem;
  height: 7.1rem;
  border: 0.25rem solid #fff;
  border-radius: 50%;
}

.c-band__icon img {
  width: 6rem;
}

/* 余白の大きいアイコン（CHECK） */
.c-band__icon--lg img {
  width: 8rem;
}

/* 画像に円リングを含むアイコン（FAQ）はCSSの円枠を使わない */
.c-band__icon--ring {
  width: auto;
  height: auto;
  border: 0;
}

.c-band__icon--ring img {
  width: 8.4rem;
}

.c-band__text {
  color: #fff;
}

.c-band__text b {
  display: block;
  font-family: var(--font-numerals), "Montserrat", sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: .04em;
}

.c-band__text small {
  display: block;
  margin-top: 0.2rem;
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ---- 黄枠ポイントボックス ---- */
.c-point {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  min-height: 10.6rem;
  padding: 1.6rem 2.2rem;
  background: #fdf4dd;
  border: 0.2rem solid var(--amber);
  border-radius: var(--radius);
}

.c-point__icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 6.4rem;
  height: 6.4rem;
  background: #fff;
  border-radius: 50%;
}

.c-point__icon img {
  width: 4.4rem;
}

.c-point__icon--plain {
  width: auto;
  height: auto;
  background: none;
}

.c-point__icon--plain img {
  width: 6.6rem;
}

.c-point__text {
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.6;
}

.c-point__mark {
  display: inline;
  padding-bottom: 0.2rem;
  border-bottom: 0.2rem solid var(--amber);
}

/* ---- 見出し（両サイド黄色ライン） ---- */
.c-heading-mark {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
}

.c-heading-mark img {
  width: 1.6rem;
}

/* ---- 見出し（手書き＋下線） ---- */
.c-heading-hand {
  position: relative;
  padding-bottom: 1.4rem;
  font-size: 0;
  line-height: 0;
  text-align: center;
}

.c-heading-hand img {
  width: 16.9rem;
  margin: -1.12rem 0 -1.25rem;
}

.c-heading-hand--flow img {
  width: 29rem;
  margin: -2.71rem 0 -3.47rem;
}

.c-heading-hand::after {
  content: "";
  position: absolute;
  bottom: 0.6rem;
  left: 50%;
  width: 4.4rem;
  height: 0.3rem;
  background: #63b6e8;
  transform: translateX(-50%);
}

/* ---- 見出し（点線ドット） ---- */
.c-heading-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.3;
  text-align: center;
}

.c-heading-dot b {
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--orange);
  margin: 0 1px;
}

.c-heading-dot::before,
.c-heading-dot::after {
  content: "";
  width: 5.4rem;
  height: 0.4rem;
  background: radial-gradient(circle, var(--blue-mid) 40%, transparent 41%) repeat-x 0 50% / 1.1rem 0.4rem;
}

/* --------------------------------------------------------------------------
   5. MV
   -------------------------------------------------------------------------- */
.p-mv {
  position: relative;
  overflow: hidden;
  background: url("../img/mv/mv_bg.png") no-repeat center center / cover;
}

.p-mv__inner {
  position: relative;
  z-index: 2;
  padding: 5.7rem 3.6rem calc(2.9rem + var(--section-spacing-extra));
}

/* 人物画像より前面にテキスト・カードを重ねる */
.p-mv__inner > *:not(.p-mv__person) {
  position: relative;
  z-index: 1;
}

.p-mv__logo img {
  width: 22.7rem;
  margin-left: 1.4rem;
}

.p-mv__copy {
  margin-top: 4.1rem;
}

.p-mv__copy img {
  width: 30rem;
}

.p-mv__lead {
  margin-top: 0.2rem;
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.57;
  letter-spacing: .01em;
}

.p-mv__badges {
  display: flex;
  gap: 1.5rem;
  margin-top: 2.5rem;
}

.p-mv__badges li {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.9rem;
  min-height: 10.3rem;
  padding: 1.1rem 0.4rem;
  background: rgba(255, 255, 255, .96);
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
}

.p-mv__badges img {
  width: 3.4rem;
}

.p-mv__badges span {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.p-mv__note {
  margin-top: 2rem;
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
}

.p-mv__stats {
  display: flex;
  gap: 1.6rem;
  margin-top: 2.5rem;
}

.p-mv__stats li {
  display: flex;
  flex: 1 1 0;
  align-items: center;
  gap: 1.2rem;
  min-height: 14.6rem;
  padding: 1.6rem 1.4rem;
  background: rgba(255, 255, 255, .94);
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
}

.p-mv__stats img {
  width: 5.2rem;
}

.p-mv__stats-ttl {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.4;
}

.p-mv__stats-num {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.2;
}

.p-mv__stats-num b {
  font-family: var(--font-numerals), "Montserrat", sans-serif;
  font-size: 4.6rem;
  font-weight: 700;
  color: var(--orange);
  margin: 0 3px;
}

/* ※注記のみフォントサイズ下限(1.4rem)の例外 */
.p-mv__stats-note {
  margin-top: 0.2rem;
  font-size: 1.05rem;
  font-weight: 500;
}

.p-mv__person {
  position: absolute;
  top: 5rem;
  right: -4.4rem;
  z-index: 0;
  width: 42rem;
}

/* --------------------------------------------------------------------------
   6. section_01 ABOUT
   -------------------------------------------------------------------------- */
.p-about {
  position: relative;
  padding: 0 var(--pad) calc(0.6rem + var(--section-spacing-extra));
  overflow: hidden;
  background: var(--gray);
}

.p-about__head {
  position: relative;
  min-height: 37.2rem;
  margin: 0 calc(var(--pad) * -1);
  padding: 5rem var(--pad) 0;
}

/* 写真はカラム幅より大きく配置し、左右をトリミング（デザイン準拠） */
.p-about__human {
  position: absolute;
  top: -2.9rem;
  left: -15.9rem;
  z-index: 0;
  width: 92.9rem;
  max-width: none;
}

.p-about__copy {
  position: relative;
  z-index: 1;
}

.p-about__copy img {
  width: 38rem;
}

.p-about__list {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
}

.p-about__list li {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  min-height: 11.5rem;
  padding: 1.6rem 2rem;
  background: var(--card);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

@media (hover: hover) and (pointer: fine) {
  .p-about__list > li:hover {
    background-color: var(--blue-pale);
  }
}

@media (hover: hover) and (pointer: fine) and (prefers-reduced-motion: no-preference) {
  .p-about__list > li {
    transition: background-color .25s ease;
  }

  /* 登場アニメーションを保ち、ホバーの色だけは遅延なしで切り替える。 */
  .js .p-about__list > li.js-card-reveal {
    transition: opacity .55s ease, transform .65s cubic-bezier(.22, 1, .36, 1), background-color .25s ease;
    transition-delay: var(--reveal-delay, 0ms), var(--reveal-delay, 0ms), 0s;
  }
}

.p-about__list img {
  flex: 0 0 auto;
  width: 8rem;
}

.p-about__list p {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.6;
}

.p-about__copy2 {
  margin: 1.6rem calc(var(--pad) * -1) 0;
  text-align: center;
}

.p-about__copy2 img {
  width: 54.6rem;
}

/* --------------------------------------------------------------------------
   7. section_02 これまでの経験×AI
   -------------------------------------------------------------------------- */
.p-value {
  position: relative;
  padding: 0 var(--pad) calc(2.2rem + var(--section-spacing-extra));
  background: #eef4fb url("../img/section_02/sec2_bg.webp") no-repeat center top / cover;
}

/* コピー画像は上下に透明余白を含むため、枠の高さを固定して画像をずらし
   デザイン上のインク位置（セクション上端から77px）に合わせる */
.p-value__copy {
  position: relative;
  height: 26.9rem;
  margin: 0 calc(var(--pad) * -1);
  overflow: hidden;
}

.p-value__copy img {
  position: absolute;
  top: 5.64rem;
  left: 50%;
  width: 45rem;
  transform: translateX(-50%);
}

.p-value__steps {
  margin-top: 0;
}

.p-value__step {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.6rem;
  min-height: 15rem;
  padding: 1rem 2rem;
  overflow: hidden;
  background: linear-gradient(180deg, #fdfbf8 0%, #f2f7fd 100%);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.p-value__num {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 6rem;
  height: 6rem;
  font-family: var(--font-numerals), "Montserrat", sans-serif;
  font-size: 3.4rem;
  font-weight: 700;
  color: var(--navy);
  background: radial-gradient(circle at 35% 30%, #fbe6a8, #f6cf6a);
  border-radius: 50%;
  box-shadow: inset 0 0 0 0.3rem rgba(255, 255, 255, .55);
}

.p-value__body {
  flex: 1 1 auto;
}

.p-value__body h3 {
  font-size: 2.4rem;
  font-weight: 700;
  line-height: 1.3;
  white-space: nowrap;
}

.p-value__body p {
  margin-top: 0.4rem;
  font-size: 1.65rem;
  font-weight: 500;
  line-height: 1.55;
  white-space: nowrap;
}

.p-value__thumb {
  position: relative;
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 13rem;
  height: 13rem;
  background: url("../img/section_02/sec2_list_bg.png") no-repeat center center / contain;
}

.p-value__thumb img {
  width: 10.4rem;
}

/* 各カードが見えたとき、人物・AI・グラフのイラストだけをゆっくり拡大する。 */
@media (prefers-reduced-motion: no-preference) {
  .js .p-value__step.js-card-reveal .p-value__thumb img {
    transform: scale(.8);
    transform-origin: center;
    transition: transform 1.2s cubic-bezier(.25, .1, .25, 1);
  }

  .js .p-value__step.js-card-reveal.is-visible .p-value__thumb img {
    transform: scale(1);
    transition-delay: calc(var(--reveal-delay, 0ms) + 400ms);
  }
}

.p-value__arrow {
  padding: 0.15rem 0;
  text-align: center;
}

.p-value__arrow img {
  width: 3.4rem;
}

.p-value__tags {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  margin-top: 2.6rem;
}

.p-value__tags li {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: calc((100% - 2.4rem) / 2);
  min-height: 3.6rem;
  padding: 0.4rem 0.6rem;
  background: rgba(255, 255, 255, .8);
  border: 0.15rem solid var(--navy);
  border-radius: 3rem;
}

.p-value__tags img {
  width: 3.5rem;
}

.p-value__tags span {
  font-size: 2rem;
  font-weight: 700;
  white-space: nowrap;
  letter-spacing: -.03em;
}

.p-value .c-point {
  margin-top: 1.6rem;
}

/* --------------------------------------------------------------------------
   8. section_03 CHECK
   -------------------------------------------------------------------------- */
.p-check {
  position: relative;
  padding: 0 var(--pad) calc(0.9rem + var(--section-spacing-extra));
  overflow: hidden;
  background: #eaf1fa url("../img/section_03/sec3_bg.png") no-repeat center top / cover;
}

.p-check__head {
  position: relative;
  height: 27rem;
  margin: 0 calc(var(--pad) * -1);
}

/* 画像内の透明余白を相殺してインク位置をデザインに合わせる */
.p-check__copy {
  position: absolute;
  top: 2.4rem;
  left: 1.9rem;
  z-index: 1;
}

.p-check__copy img {
  width: 34rem;
}

.p-check__human {
  position: absolute;
  top: 4.3rem;
  right: 3.4rem;
  z-index: 0;
  width: 18.5rem;
}

.p-check__minutes {
  position: relative;
  z-index: 1;
  container-type: inline-size;
  aspect-ratio: 2172 / 620;
  margin: 1.8rem 0 2.5rem;
  line-height: 1;
}

/* 黄色い吹き出しと文字をひとまとまりで、スクロール時に拡大表示する。 */
@media (prefers-reduced-motion: no-preference) {
  .js .p-check__minutes.js-card-reveal {
    opacity: 0;
    transform: scale(.8);
    transform-origin: center;
    transition: opacity .45s ease, transform 1.2s cubic-bezier(.25, .1, .25, 1);
  }

  .js .p-check__minutes.js-card-reveal.is-visible {
    opacity: 1;
    transform: scale(1);
    transition-delay: var(--reveal-delay, 0ms), calc(var(--reveal-delay, 0ms) + 200ms);
  }
}

.p-check__minutes-art {
  position: absolute;
  top: -2.5cqw;
  left: 0;
  width: 100%;
  pointer-events: none;
}

.p-check__badge {
  position: absolute;
  top: .4cqw;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2cqw;
  width: 32%;
  height: 9.5cqw;
  font-size: 4.2cqw;
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
}

.p-check__badge img {
  width: 4.8cqw;
}

.p-check__badge b {
  font-size: 6.4cqw;
  font-weight: 700;
}

.p-check__minutes-text {
  position: absolute;
  inset: 10.5cqw 4% auto;
  display: flex;
  align-items: baseline;
  justify-content: center;
  font-size: 6.4cqw;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: -.02em;
  white-space: nowrap;
}

.p-check__minutes-text b {
  font-family: var(--font-numerals), "Montserrat", sans-serif;
  font-size: 9.6cqw;
  font-weight: 700;
  line-height: 1;
}

.p-check__steps {
  display: flex;
  flex-direction: column;
  gap: 1.3rem;
}

.p-check__steps li {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  min-height: 6.3rem;
  padding: 0.4rem 2rem;
  background: rgba(255, 255, 255, .92);
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
}

.p-check__no {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  font-family: var(--font-numerals), "Montserrat", sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  color: #fff;
  background: #2f66b5;
  border-radius: 50%;
}

.p-check__icon {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 5rem;
  padding-right: 1.4rem;
  border-right: 0.15rem dashed var(--blue-mid);
}

.p-check__icon img {
  width: 4.2rem;
}

.p-check__steps p {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.p-check .c-heading-mark {
  margin-top: 2rem;
}

.p-check__result {
  display: flex;
  gap: 1.6rem;
  margin-top: 1.4rem;
}

.p-check__result-card {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  justify-content: center;
  min-height: 21.1rem;
  padding: 1.2rem 1rem;
  background: rgba(255, 255, 255, .94);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.p-check__result-ttl {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding-left: 0.6rem;
  font-size: 1.9rem;
  font-weight: 700;
}

.p-check__result-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4rem;
  height: 4rem;
  background: var(--blue-pale);
  border-radius: 50%;
}

.p-check__result-icon img {
  width: 2.4rem;
}

.p-check__result-list {
  padding-left: 0.6rem;
  margin-top: 1rem;
}

.p-check__result-list li {
  position: relative;
  padding-left: 2rem;
  font-size: 1.7rem;
  font-weight: 700;
  line-height: 2.1;
}

.p-check__result-list li::before {
  content: "";
  position: absolute;
  top: 1.5rem;
  left: 0.2rem;
  width: 0.9rem;
  height: 0.9rem;
  background: var(--orange);
  border-radius: 50%;
}

.p-check__chart {
  margin-top: 0.4rem;
  text-align: center;
}

.p-check__chart img {
  width: 23rem;
}

.p-check .c-cta {
  margin-top: 1.7rem;
}

/* --------------------------------------------------------------------------
   9. section_04 LEARNING
   -------------------------------------------------------------------------- */
.p-learning {
  position: relative;
  padding: 0 var(--pad) var(--section-spacing-extra);
  overflow: hidden;
  background: #dfeaf7 url("../img/section_04/sec4_bg.png") no-repeat center top / cover;
}

/* 画像内の透明余白を相殺しつつ、次要素の開始位置をデザインに合わせる */
.p-learning__copy {
  position: relative;
  height: 20.5rem;
  margin: 0 calc(var(--pad) * -1);
  padding: 0 var(--pad);
}

.p-learning__copy img {
  position: absolute;
  top: 1.5rem;
  left: 1.7rem;
  width: 42rem;
}

.p-learning__lead {
  font-size: 1.9rem;
  font-weight: 500;
  line-height: 1.35;
}

.p-learning__box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-top: 1.4rem;
  padding: 1.7rem 1.8rem;
  background: rgba(255, 255, 255, .9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
width: 106%;
margin-left: -3%;
}

.p-learning__box + .p-learning__box {
  margin-top: 3.2rem;
}

.p-learning__box:nth-of-type(-n + 2) {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.p-learning__box:nth-of-type(1) {
  min-height: 17rem;
}

.p-learning__box:nth-of-type(2) {
  min-height: 20.4rem;
}

.p-learning__box:nth-of-type(3) {
  min-height: 19rem;
}

.p-learning__box.p-learning__box--basics {
  container-type: inline-size;
  padding: 2.8rem 3.2rem 2.6rem;
  border-radius: 1.8rem;
  background: #4d81ca url("../img/section_04/learning-basics-blue-bg-v1.webp") no-repeat center / cover;
}

.p-learning__basics-title,
.p-learning__jobs-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  color: #fff;
  font-size: clamp(18px, 1.9rem, 24px);
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.p-learning__basics-title-copy,
.p-learning__jobs-title-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
}

.p-learning__basics-title-copy > span,
.p-learning__jobs-title-copy > span {
  white-space: nowrap;
}

.p-learning__basics-title b {
  margin: 0 .15rem;
  color: var(--amber);
  font-family: var(--font-numerals), sans-serif;
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1;
}

.p-learning__basics-accent,
.p-learning__jobs-accent {
  flex: 0 0 auto;
  width: 1.6rem;
  opacity: .65;
  filter: brightness(0) invert(1);
}

.p-learning__basics-accent--left,
.p-learning__jobs-accent--left {
  transform: scaleX(-1);
}

.p-learning__basics {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1.3rem;
  margin-top: 2.2rem;
}

.p-learning__basics > li {
  position: relative;
  display: flex;
  grid-column: span 2;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  min-width: 0;
  padding: 1.5rem .6rem 1.2rem;
  background: #fff;
  border-radius: 1.3rem;
  box-shadow: 0 .3rem 1rem rgba(7, 31, 92, .06);
}

/* 下段の2項目を中央にそろえる。 */
.p-learning__basics > li:nth-child(4) {
  grid-column: 2 / span 2;
}

.p-learning__basics > li:nth-child(5) {
  grid-column: 4 / span 2;
}

.p-learning__basic-no {
  position: absolute;
  top: 1rem;
  left: 1.2rem;
  color: #639fe9;
  font-family: var(--font-numerals), sans-serif;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1;
}

.p-learning__basic-icon {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 7.6rem;
  height: 7.6rem;
  background: #eef6fd;
  border-radius: 50%;
}

.p-learning__basic-icon::after {
  content: "";
  position: absolute;
  top: .5rem;
  right: -.4rem;
  width: 1.7rem;
  height: 2rem;
  background: url("../img/mv/mv_quot.png") no-repeat center / contain;
}

.p-learning__basic-icon > img {
  width: 6.2rem;
  height: 6.2rem;
  object-fit: contain;
}

.p-learning__basics p {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 2.7em;
  font-size: clamp(15px, 1.7rem, 20px);
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

/* 狭い画面では文字の大きさを保ち、最後のカードを中央に配置する。 */
@container (max-width: 400px) {
  .p-learning__basics-title,
  .p-learning__jobs-title {
    gap: 10px;
    font-size: 18px;
  }

  .p-learning__basics-title b {
    font-size: 30px;
  }

  .p-learning__basics-accent,
  .p-learning__jobs-accent {
    width: 14px;
  }

  .p-learning__basics {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
    margin-top: 22px;
  }

  .p-learning__basics > li {
    padding: 24px 6px 14px;
    gap: 6px;
    border-radius: 12px;
  }

  .p-learning__basics > li:nth-child(4) {
    grid-column: span 2;
  }

  .p-learning__basics > li:nth-child(5) {
    grid-column: 2 / span 2;
  }

  .p-learning__basic-no {
    top: 8px;
    left: 10px;
    font-size: 18px;
  }

  .p-learning__basic-icon {
    width: 68px;
    height: 68px;
  }

  .p-learning__basic-icon > img {
    width: 56px;
    height: 56px;
  }

  .p-learning__basic-icon::after {
    top: 4px;
    right: -4px;
    width: 15px;
    height: 18px;
  }

  .p-learning__basics p {
    font-size: 15px;
  }
}

.p-learning__box.p-learning__box--jobs {
  container-type: inline-size;
  padding: 2.8rem 1.2rem 3.6rem;
  background: #fff;
}

.p-learning__jobs-title {
  margin: -2.8rem -1.2rem 0;
  padding: 2.4rem clamp(16px, 3.2rem, 32px);
  border-radius: var(--radius) var(--radius) 0 0;
  background: #4d81ca url("../img/section_04/learning-basics-blue-bg-v1.webp") no-repeat center top / cover;
}

.p-learning__jobs {
  display: grid;
  gap: 3.2rem;
  margin-top: 3.6rem;
}

.p-learning__jobs > li {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(0, 1fr);
  align-items: center;
  gap: 1.2rem;
  min-width: 0;
}

.p-learning__job-art {
  display: block;
  width: 100%;
  height: auto;
  transform: translateX(1.6rem);
}

.p-learning__job-copy {
  min-width: 0;
  padding-right: 1rem;
}

.p-learning__jobs > li:nth-child(even) {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.12fr);
}

.p-learning__jobs > li:nth-child(even) > .p-learning__job-art {
  grid-column: 2;
  grid-row: 1;
  transform: translateX(-1.6rem);
}

.p-learning__jobs > li:nth-child(even) > .p-learning__job-copy {
  grid-column: 1;
  grid-row: 1;
  padding: 0 0 0 4rem;
}

.p-learning__jobs h4 {
  display: inline-block;
  padding: 0.35rem 1rem 0.4rem;
  font-size: clamp(17px, 4.05cqw, 22px);
  font-weight: 700;
  line-height: 1.5;
  white-space: nowrap;
  background: var(--blue-lite);
  border-left: 0.35rem solid var(--amber);
  border-radius: 0.5rem;
}

.p-learning__jobs p {
  margin-top: 1.1rem;
  padding-left: 1rem;
  font-size: clamp(14px, 3cqw, 16px);
  font-weight: 500;
  line-height: 1.7;
  border-left: 0.15rem solid var(--blue-mid);
}

.p-learning__jobs p > span {
  display: block;
  white-space: nowrap;
}

/* 狭い画面では職種名・イラスト・説明を1枚にまとめ、中央にそろえる。 */
@container (max-width: 420px) {
  .p-learning__jobs {
    gap: 20px;
    margin-top: 20px;
  }

  .p-learning__jobs > li,
  .p-learning__jobs > li:nth-child(even) {
    grid-template-columns: minmax(0, 1fr);
    justify-items: center;
    column-gap: 0;
    row-gap: 12px;
    border: 1px solid #dce8f6;
    border-radius: 14px;
    background: #fff;
  }

  .p-learning__jobs > li > .p-learning__job-art,
  .p-learning__jobs > li:nth-child(even) > .p-learning__job-art {
    grid-column: 1;
    grid-row: 2;
    width: min(82%, 224px);
    margin-top: 4px;
    transform: none;
  }

  .p-learning__jobs > li > .p-learning__job-copy,
  .p-learning__jobs > li:nth-child(even) > .p-learning__job-copy {
    display: contents;
    text-align: center;
  }

  .p-learning__jobs h4 {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
    padding: 12px;
    border: 0;
    border-radius: 13px 13px 0 0;
    font-size: 20px;
    line-height: 1.4;
    background: var(--blue-lite);
  }

  .p-learning__jobs p {
    grid-column: 1;
    grid-row: 3;
    margin: 0;
    padding: 0 12px 18px;
    border: 0;
    font-size: 15px;
    line-height: 1.7;
  }
}

.p-learning__box.p-learning__box--steps {
  --learning-step-gap: 1.6rem;
  min-height: 0;
  padding: 1.6rem 1.6rem 2.2rem;
  border-radius: 2rem;
  background: #4d81ca url("../img/section_04/learning-steps-blue-bg.webp") no-repeat center / cover;
}

.p-learning__steps-title {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.4rem;
  color: #fff;
  font-size: 2.1rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
}

.p-learning__steps-title-copy {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
}

.p-learning__steps-title-copy > span {
  white-space: nowrap;
}

.p-learning__steps-title b {
  margin-right: .2rem;
  color: var(--amber);
  font-size: 3.4rem;
  font-weight: 700;
  line-height: 1;
}

.p-learning__steps-accent {
  flex: 0 0 auto;
  width: 1.6rem;
  opacity: .7;
  filter: brightness(0) invert(1);
}

.p-learning__steps-accent--left {
  transform: scaleX(-1);
}

.p-learning__steps-underline {
  display: block;
  width: 4.8rem;
  height: auto;
  margin: .4rem auto 0;
}

.p-learning__steps {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--learning-step-gap);
  margin-top: 2.8rem;
}

.p-learning__steps > li {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  min-width: 0;
  min-height: 11.8rem;
  padding: 2.4rem .3rem 1rem;
  background: #fff;
  border-radius: 1rem;
  box-shadow: 0 .3rem .8rem rgba(7, 31, 92, .08);
}

.p-learning__steps > li:not(:last-child)::after {
  content: "";
  position: absolute;
  top: 50%;
  right: calc(-1 * var(--learning-step-gap));
  width: var(--learning-step-gap);
  height: 2rem;
  background: url("../img/learning-additions/icons/phosphor/arrow-right-bold-white.svg") no-repeat center / contain;
  transform: translateY(-50%);
}

.p-learning__no {
  position: absolute;
  top: -1.2rem;
  left: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.6rem;
  height: 3.6rem;
  font-family: var(--font-numerals), "Montserrat", sans-serif;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1;
  color: var(--navy);
  background: #dcecff;
  border: .15rem solid #fff;
  border-radius: 50%;
  transform: translateX(-50%);
}

.p-learning__steps > .p-learning__step--outcome {
  background: #fff5cf;
}

.p-learning__step--outcome .p-learning__no {
  background: var(--amber);
  border-color: var(--amber);
}

.p-learning__step-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.8rem;
  height: 4.8rem;
}

.p-learning__step-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.p-learning__steps p {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  white-space: nowrap;
}

/* スマホでは5段階を1つの縦の流れにまとめ、番号を線でつなぐ。 */
@media (max-width: 479px) {
  .p-learning__box.p-learning__box--steps {
    padding: 24px 18px;
    border-radius: 18px;
  }

  .p-learning__steps-title {
    gap: 10px;
    font-size: 22px;
    line-height: 1.4;
  }

  .p-learning__steps-title b {
    font-size: 36px;
  }

  .p-learning__steps-accent {
    width: 14px;
  }

  .p-learning__steps-underline {
    width: 48px;
    margin-top: 8px;
  }

  .p-learning__steps {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    width: 100%;
    max-width: 360px;
    margin: 24px auto 0;
    padding: 12px;
    border-radius: 16px;
    background: #fff;
  }

  .p-learning__steps > li {
    display: grid;
    grid-template-columns: 32px 40px minmax(0, 1fr);
    gap: 12px;
    min-height: 72px;
    padding: 12px 10px;
    border-radius: 12px;
    background: transparent;
    box-shadow: none;
  }

  .p-learning__no {
    position: static;
    width: 32px;
    height: 32px;
    font-size: 19px;
    border: 0;
    transform: none;
  }

  .p-learning__step-icon {
    width: 40px;
    height: 40px;
  }

  .p-learning__steps p {
    font-size: 18px;
    line-height: 1.4;
    text-align: left;
  }

  .p-learning__steps > li:not(:last-child)::after {
    top: calc(50% + 16px);
    right: auto;
    left: 25px;
    width: 2px;
    height: calc(100% - 32px);
    background: #dcecff;
    transform: none;
  }
}

.p-learning__foot {
  position: relative;
  height: 22.1rem;
  margin: 1rem calc(var(--pad) * -1) 0;
}

.p-learning__human {
  position: absolute;
  bottom: 0;
  left: -2rem;
  width: 32rem;
}

.p-learning__copy2 {
  position: absolute;
  right: 1.2rem;
  bottom: 5.5rem;
  width: 33rem;
}

/* --------------------------------------------------------------------------
   10. section_05 SUPPORT
   -------------------------------------------------------------------------- */
.p-support {
  position: relative;
  padding: 0 var(--pad) calc(2.5rem + var(--section-spacing-extra));
  overflow: hidden;
  background: #eaf1fa url("../img/section_05/sec5_bg.png") no-repeat center top / cover;
}

/* 画像内の透明余白を相殺してインク位置をデザインに合わせる */
.p-support__copy {
  position: relative;
  height: 21.9rem;
  margin: 0 calc(var(--pad) * -1);
  padding: 0 var(--pad);
}

.p-support__copy img {
  position: absolute;
  top: 4.11rem;
  left: 4.5rem;
  width: 41rem;
}

.p-support__lead {
  font-size: 1.85rem;
  font-weight: 500;
  line-height: 1.48;
}

.p-support__flow {
  position: relative;
  display: flex;
justify-content:space-between;
  gap: 1.4rem;
  align-items:center;
  margin-top: 2.8rem;
}

.p-support__src {
  display: flex;
  flex: 0 0 22.9rem;
  flex-direction: column;
  gap: 1.5rem;
  max-width: 48%;
  z-index: 5;
}

/* 左カラムと右パネルをつなぐ点線＋矢印 */
.p-support__arrow {
  position: relative;
  z-index: 1;
  width: 4%;
  margin-right:0;
  margin-left:0;
  align-self: center;
  display: flex;
  justify-content: center;
}

.p-support__arrow img {
  width: 4.2rem;
  max-width: none;
}

.p-support__src li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  min-height: 10.5rem;
  padding: 1.2rem 0.8rem;
  background: rgba(255, 255, 255, .92);
  border-radius: 1.4rem;
  box-shadow: var(--shadow);
}

.p-support__circle {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  background: var(--blue-pale);
  border-radius: 50%;
}

.p-support__circle img {
  width: 2.8rem;
}

.p-support__src h3 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
}

.p-support__src p {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
}

.p-support__panel {
  flex: 1 1 auto;
  max-width: 48%;
  padding: 1.2rem 1.4rem 1.4rem;
  background: rgba(255, 255, 255, .94);
  border: 0.2rem solid #6da4dd;
  border-radius: var(--radius);
}

.p-support__profile {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding-bottom: 1.4rem;
  border-bottom: 0.1rem solid #dfe4ee;
}

.p-support__avatar {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 6.4rem;
  height: 6.4rem;
  overflow: hidden;
  background: var(--blue-pale);
  border-radius: 50%;
}

.p-support__avatar img {
  width: 6.4rem;
}

.p-support__profile h3 {
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.3;
}

.p-support__profile p {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.5;
  color: #3b73c4;
}

.p-support__items li {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.7rem 0;
  border-bottom: 0.1rem solid #dfe4ee;
}

.p-support__badge {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  width: 4.4rem;
  height: 4.4rem;
  background: var(--blue-mid);
  border-radius: 50%;
}

.p-support__badge img {
  width: 2.6rem;
}

.p-support__items h4 {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.35;
}

.p-support__items p {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.4;
}

.p-support__note {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.4rem;
  padding: 1rem 1.2rem;
  background: #dceaf8;
  border-radius: 1rem;
}

.p-support__note img {
  flex: 0 0 auto;
  width: 3.6rem;
}

.p-support__note span {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.45;
  color: #2f66b5;
}

.p-support__foot {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  min-height: 17.3rem;
  margin-top: 1.7rem;
  padding: 1.6rem 2rem;
  background: rgba(255, 255, 255, .94);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.p-support__face {
  display: block;
  flex: 0 0 auto;
  width: 13rem;
  height: 13rem;
  overflow: hidden;
  border-radius: 50%;
}

.p-support__face img {
  width: 13rem;
}

.p-support__copy2 {
  flex: 1 1 auto;
}

.p-support__copy2 img {
  width: 33rem;
}

/* --------------------------------------------------------------------------
   11. section_06 CAREER
   -------------------------------------------------------------------------- */
.p-career {
  position: relative;
  padding: 0 var(--pad) calc(3.6rem + var(--section-spacing-extra));
  overflow: hidden;
  background: linear-gradient(180deg, #f4f8fd 0%, #eaf1fa 60%, #f6f9fd 100%);
}

.p-career__head {
  position: relative;
  margin: 0 calc(var(--pad) * -1);
  padding: 10.8rem var(--pad) 0;
}

.p-career__human {
  position: absolute;
  top: 0.1rem;
  left: 27.8rem;
  z-index: 0;
  width: 31rem;
  max-width: none;
}

.p-career__copy {
  position: relative;
  z-index: 1;
}

.p-career__copy img {
  width: 34.5rem;
  margin-left: 1rem;
}

.p-career__lead {
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.2;
}

.p-career__choice {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 2.9rem;
}

.p-career__choice-card {
  container-type: inline-size;
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
  padding: 24px 16px 34px;
  overflow: hidden;
  color: #fff;
  background: #2f72cd;
  border-radius: 12px;
}

.p-career__choice-card--next {
  color: var(--navy);
  background: var(--amber);
}

.p-career__choice-visual {
  position: relative;
  display: flex;
  align-items: flex-end;
  justify-content: flex-end;
  height: clamp(112px, 55cqw, 140px);
}

.p-career__label {
  position: absolute;
  top: -4px;
  left: -6px;
  font-family: var(--font-numerals), "Montserrat", sans-serif;
  font-size: clamp(116px, 70cqw, 182px);
  font-weight: 700;
  line-height: .85;
  color: #fff;
  opacity: .28;
}

.p-career__choice-visual img {
  position: relative;
  z-index: 1;
  width: 88%;
  height: 100%;
  object-fit: contain;
  object-position: right bottom;
}

.p-career__choice p {
  position: relative;
  display: flex;
  flex: 1;
  flex-direction: column;
  align-items: center;
  font-size: clamp(15px, 7.5cqw, 21px);
  font-weight: 900;
  line-height: 1.45;
  text-align: center;
}

.p-career__choice p > span {
  display: block;
  white-space: nowrap;
}

.p-career__choice strong {
  display: block;
  max-width: 100%;
  margin-top: auto;
  padding-top: 4px;
  font-size: clamp(30px, 16cqw, 44px);
  font-weight: 900;
  line-height: 1.3;
  word-break: keep-all;
  text-decoration: underline;
  text-decoration-thickness: .08em;
  text-underline-offset: .24em;
}

@media (min-width: 480px) {
  .p-career__choice-card--next strong {
    margin-bottom: .4em;
  }
}

@media (max-width: 479px) {
  .p-career__choice {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(8px, 2.5vw, 12px);
  }

  .p-career__choice-card {
    gap: 12px;
    padding: 18px 8px 24px;
  }

  .p-career__choice-visual {
    height: clamp(88px, 62cqw, 124px);
  }

  .p-career__label {
    font-size: clamp(90px, 72cqw, 140px);
  }

  .p-career__choice-visual img {
    width: 100%;
    max-width: none;
  }

  .p-career__choice p {
    font-size: clamp(12px, 8.5cqw, 15px);
    line-height: 1.55;
  }

  .p-career__choice p > span {
    max-width: 100%;
    white-space: normal;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .p-career__choice strong {
    font-size: clamp(21px, 16cqw, 28px);
    line-height: 1.35;
  }

  .p-career__choice-card--next strong {
    margin-bottom: .4em;
  }
}

.p-career__ttl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2.8rem;
  font-family: "HuiFontP", "Yomogi", cursive;
  font-size: 2.8rem;
  font-weight: 400;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--navy);
  text-align: center;
  white-space: nowrap;
}

.p-career__ttl::before,
.p-career__ttl::after {
  content: "";
  flex: 0 0 1.8rem;
  height: 2.8rem;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 18 28'%3E%3Cpath d='M4 3L14 9M2 14L13 15M5 25L14 21' fill='none' stroke='%23fdb101' stroke-width='2.4' stroke-linecap='round'/%3E%3C/svg%3E") center / contain no-repeat;
}

.p-career__ttl::after {
  transform: scaleX(-1);
}

.p-career__support {
  display: flex;
  gap: 1rem;
  margin-top: 0.8rem;
}

.p-career__support li {
  display: flex;
  flex: 1 1 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  min-height: 13rem;
  padding: 1.6rem 0.4rem 1.4rem;
  background: rgba(255, 255, 255, .92);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
}

.p-career__support img {
  width: 4.4rem;
}

.p-career__support p {
  font-size: 1.4rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

.p-career .c-point {
  min-height: 11.2rem;
  margin-top: 2.9rem;
  padding: 1.2rem 2.2rem;
}

.p-career .c-point__text img {
  width: 39rem;
}

/* --------------------------------------------------------------------------
   12. section_07 REASON
   -------------------------------------------------------------------------- */
.p-reason {
  position: relative;
  padding: 0 var(--pad) calc(4.7rem + var(--section-spacing-extra));
  overflow: hidden;
  background: #fbf9fa;
}

.p-reason__head {
  position: relative;
  margin: 0 calc(var(--pad) * -1);
  padding: 0 var(--pad) 2.4rem;
}

.p-reason__human {
  position: absolute;
  top: -3.6rem;
  left: 26.5rem;
  z-index: 0;
  width: 40.7rem;
  max-width: none;
}

/* 画像内の透明余白を相殺してインク位置をデザインに合わせる */
.p-reason__copy {
  position: relative;
  z-index: 1;
  height: 25.3rem;
}

.p-reason__copy img {
  position: absolute;
  top: 0.1rem;
  left: -1.1rem;
  width: 38.1rem;
}

.p-reason__lead {
  position: relative;
  z-index: 1;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1.33;
}

.p-reason__merits {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  gap: 1.6rem;
  width: 106%;
  margin-left: -3%;
}

.p-reason__merits li {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.8rem;
  width: calc((100% - 1.6rem) / 2);
  min-height: 26rem;
  padding: 1.4rem 0.8rem 2.2rem;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.p-reason__icon {
  position: relative;
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 10.4rem;
  height: 10.4rem;
  border-radius: 50%;
  background: var(--blue-lite);
}

.p-reason__icon img {
  width: 7.8rem;
  height: 7.8rem;
  object-fit: contain;
}

.p-reason__icon--learning img,
.p-reason__icon--analysis img,
.p-reason__icon--jobs img {
  position: absolute;
}

.p-reason__icon--learning .p-reason__icon-main {
  top: 1.3rem;
  left: 0.9rem;
}

.p-reason__icon .p-reason__icon-play {
  top: 4.1rem;
  left: 3.9rem;
  width: 1.7rem;
  height: 1.7rem;
}

.p-reason__icon .p-reason__icon-badge {
  right: 0.4rem;
  bottom: 1.5rem;
  width: 4.5rem;
  height: 4.5rem;
}

.p-reason__icon--analysis .p-reason__icon-main {
  bottom: 1.1rem;
  left: 1.3rem;
  width: 7rem;
  height: 7rem;
}

.p-reason__icon .p-reason__icon-trend {
  top: 0.5rem;
  left: 1.3rem;
  width: 6.6rem;
  height: 4.4rem;
}

.p-reason__icon--analysis .p-reason__icon-badge {
  right: 0.6rem;
  bottom: 0.8rem;
  width: 3.8rem;
  height: 3.8rem;
}

.p-reason__icon--jobs .p-reason__icon-main {
  bottom: 1.3rem;
  left: 1.2rem;
  width: 7.3rem;
  height: 7.3rem;
}

.p-reason__icon .p-reason__icon-sparkle {
  top: 0.8rem;
  right: 0.6rem;
  width: 2.7rem;
  height: 2.7rem;
}

.p-reason__merits h3 {
  font-size: 1.85rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.p-reason__merits p {
  margin-top: 0.6rem;
  font-size: 1.35rem;
  font-weight: 500;
  line-height: 1.55;
  text-align: center;
}

.p-reason .c-heading-hand:first-of-type {
  margin-top: 3.6rem;
}

.p-reason__voices + .c-heading-hand {
  margin-top: 7rem;
}

.p-reason__voices {
  display: flex;
  flex-direction: column;
  gap: 1.7rem;
  margin-top: 1.2rem;
}

.p-reason__voices li {
  display: flex;
  align-items: center;
  gap: 1.6rem;
  min-height: 20.7rem;
  padding: 1.8rem 2rem;
  background: rgba(255, 255, 255, .94);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.p-reason__face {
  display: block;
  flex: 0 0 auto;
  width: 11rem;
  height: 11rem;
  overflow: hidden;
  background: #eeeeee;
  border-radius: 50%;
}

.p-reason__face img {
  width: 11rem;
}

.p-reason__profile {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: .04em;
}

.p-reason__voice-body h4 {
  margin-top: 0.2rem;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.3;
  color: #2f66b5;
}

.p-reason__voice-text {
  margin-top: 0.6rem;
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.55;
}

.p-reason__voice--draft .p-reason__face {
  background: #fff;
}

.p-reason__voice--draft .p-reason__voice-body {
  min-width: 0;
}

.p-reason__voice--draft h4 > span {
  display: inline-block;
}

.p-reason__stars {
  margin-top: 0.6rem;
}

.p-reason__stars img {
  width: 14rem;
}

.p-reason__flow {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  justify-content: center;
  gap: 2.4rem 1.7rem;
  margin-top: 2.4rem;
}

.p-reason__flow-item {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  width: calc((100% - 4rem) / 3);
  min-height: 24rem;
  padding: 1.6rem 1rem 1.8rem;
  background: rgba(255, 255, 255, .9);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.p-reason__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 6.4rem;
  height: 6.4rem;
  font-family: var(--font-numerals), "Montserrat", sans-serif;
  line-height: 1;
  background: radial-gradient(circle, var(--blue-pale) 62%, rgba(220, 234, 248, 0) 100%);
  border-radius: 50%;
}

.p-reason__step small {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: .06em;
}

.p-reason__step b {
  font-size: 2.6rem;
  font-weight: 700;
}

.p-reason__flow-icon img {
  width: 6rem;
}

.p-reason__flow-ttl {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.35;
  text-align: center;
}

/* 矢印はカード間のすき間に重ねる（幅0＋負マージンでgapを1つ分に相殺） */
.p-reason__flow-arrow {
  position: relative;
  flex: 0 0 auto;
  width: 0;
  margin: 0 -0.85rem;
}

.p-reason__flow-arrow img {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 3rem;
  max-width: none;
  transform: translate(-50%, -50%);
}

/* --------------------------------------------------------------------------
   13. section_08 FAQ
   -------------------------------------------------------------------------- */
.p-faq {
  position: relative;
  padding: 0 var(--pad) calc(6.5rem + var(--section-spacing-extra));
  background: #f3f7fc url("../img/section_08/sec8_bg.png") no-repeat center top / cover;
}

/* 画像内の透明余白を相殺してインク位置をデザインに合わせる */
.p-faq__copy {
  position: relative;
  height: 28.8rem;
  margin: 0 calc(var(--pad) * -1);
  overflow: hidden;
  text-align: center;
}

.p-faq__copy img {
  position: absolute;
  top: 4.42rem;
  left: 50%;
  width: 51.4rem;
  transform: translateX(-50%);
}

.p-faq__list {
  margin-top: 0;
}

.p-faq__item {
  margin-top: 1.2rem;
  overflow: hidden;
  background: rgba(255, 255, 255, .94);
  border-radius: 1.2rem;
  box-shadow: var(--shadow);
}

.p-faq__item:first-child {
  margin-top: 0;
}

.p-faq__item:nth-child(2) {
  margin-top: 2rem;
}

.p-faq__q {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.4rem;
  width: 100%;
  padding: 1.5rem 2rem;
  font-size: 1.9rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: left;
  transition: color .25s;
}

.p-faq__q:hover {
  color: #2f66b5;
}

.p-faq__mark {
  position: relative;
  flex: 0 0 auto;
  width: 2.8rem;
  height: 2.8rem;
  border: 0.15rem solid var(--navy);
  border-radius: 50%;
}

.p-faq__mark::before {
  content: "";
  position: absolute;
  top: 45%;
  left: 50%;
  width: 1rem;
  height: 1rem;
  border-bottom: 0.2rem solid var(--navy);
  border-right: 0.2rem solid var(--navy);
  transform: translate(-50%, -50%) rotate(45deg);
  transition: transform .3s;
}

.p-faq__item.is-open .p-faq__mark::before {
  transform: translate(-50%, -20%) rotate(225deg);
}

.p-faq__a {
  display: grid;
  grid-template-rows: 0fr;
  margin: 0 1.4rem;
  transition: grid-template-rows .35s ease;
}

.p-faq__item.is-open .p-faq__a {
  grid-template-rows: 1fr;
}

.p-faq__a > p {
  overflow: hidden;
  font-size: 1.7rem;
  font-weight: 500;
  line-height: 1.7;
}

.p-faq__item.is-open .p-faq__a > p {
  padding: 1.8rem 1.8rem 2rem;
  margin-bottom: 1.4rem;
  background: #cfdff2;
  border-radius: 1rem;
}

.p-faq__cta {
  margin-top: 5.5rem;
  padding: 2.6rem 2.4rem 2.4rem;
  background: rgba(255, 255, 255, .8);
  border: 0.15rem solid #b9d3ef;
  border-radius: 2rem;
  box-shadow: var(--shadow);
}

.p-faq__cta-lead {
  font-size: 1.9rem;
  font-weight: 700;
  text-align: center;
}

.p-faq__cta-lead b {
  font-size: 3rem;
  font-weight: 700;
  color: var(--orange);
}

.p-faq__cta .c-cta {
  margin-top: 1.4rem;
}

.p-faq__secure {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1.8rem;
  font-size: 1.8rem;
  font-weight: 700;
}

.p-faq__secure-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 4.6rem;
  height: 4.6rem;
  background: var(--blue-pale);
  border-radius: 50%;
}

.p-faq__secure-icon img {
  width: 2.6rem;
}

/* --------------------------------------------------------------------------
   14. フッター
   -------------------------------------------------------------------------- */
.l-footer {
  background: #fff;
}

.l-footer__logo {
  padding-top: 3.4rem;
  text-align: center;
}

.l-footer__logo img {
  width: 38.6rem;
}

.l-footer__address {
  padding: 3.5rem 0 3.9rem;
  font-size: 1.65rem;
  font-weight: 400;
  line-height: 1.17;
  text-align: center;
}

.l-footer__copyright {
  padding: 1.6rem 0;
  background: var(--band);
}

.l-footer__copyright small {
  display: block;
  padding-left: 4.8rem;
  font-family: var(--font-numerals), "Montserrat", sans-serif;
  font-size: 1.7rem;
  font-weight: 600;
  color: #fff;
}

/* --------------------------------------------------------------------------
   15. 登場・スクロールアニメーション
   -------------------------------------------------------------------------- */
/* 終了後は通常のスタイルに戻し、CTAのホバー動作を妨げない。 */
@keyframes intro-reveal {
  from {
    opacity: 0;
    transform: translateY(1.6rem);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@keyframes cta-float {
  0%, 100% { transform: translateY(3px); }
  50% { transform: translateY(-5px); }
}

/* 最初の登場が終わってから、各画面幅の診断ボタンをゆっくり上下させる。 */
@media (prefers-reduced-motion: no-preference) {
  .js .c-cta:not(.js-intro),
  .js .c-fixed-cta {
    animation: cta-float 3.2s ease-in-out infinite;
  }

  /* 追従ボタンが上下しても、画面の下端で切れないようにする。 */
  .js .c-fixed-cta {
    bottom: 5px;
  }

  .js .c-cta:focus-visible,
  .js .c-fixed-cta:focus-visible {
    animation-play-state: paused;
  }
}

@media (prefers-reduced-motion: no-preference) {
  .js .js-intro {
    animation: intro-reveal .6s cubic-bezier(.22, 1, .36, 1) var(--intro-delay, 0s) backwards;
  }

  .js .js-intro:focus-within {
    animation: none;
  }
}

.p-mv__copy,
.p-aside__copy {
  --heading-delay: .1s;
}

.p-mv__lead,
.p-aside__lead {
  --intro-delay: .2s;
}

.p-aside__spec,
.p-mv__badges > li:nth-child(1) {
  --intro-delay: .24s;
}

.p-mv__badges > li:nth-child(2) { --intro-delay: .3s; }
.p-mv__badges > li:nth-child(3) { --intro-delay: .36s; }
.p-mv__badges > li:nth-child(4) { --intro-delay: .42s; }

.p-mv .c-cta,
.l-side--left .c-cta {
  --intro-delay: .4s;
}

.p-mv__note { --intro-delay: .46s; }
.p-mv__stats > li:nth-child(1) { --intro-delay: .48s; }
.p-mv__stats > li:nth-child(2) { --intro-delay: .54s; }

.js .js-band-reveal > .c-band__icon,
.js .js-band-reveal > .c-band__text {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity .55s ease, transform .6s cubic-bezier(.22, 1, .36, 1);
}

.js .js-band-reveal.is-visible > .c-band__icon,
.js .js-band-reveal.is-visible > .c-band__text {
  opacity: 1;
  transform: none;
}

.js .js-band-reveal.is-visible > .c-band__text {
  transition-delay: .08s;
}

/* 各セクションの青い背景を左から入れ、続いてアイコンと文字を表示する。 */
@media (prefers-reduced-motion: no-preference) {
  .js .c-band--slide-bg {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: transparent;
  }

  .js .c-band--slide-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: var(--learning-blue, var(--band));
    transform: translateX(-100%);
    transition: transform 1s cubic-bezier(.25, .46, .45, .94);
    pointer-events: none;
  }

  .js .c-band--slide-bg.is-visible::before {
    transform: translateX(0);
  }

  .js .c-band--slide-bg.is-visible > .c-band__icon {
    transition-delay: .5s;
  }

  .js .c-band--slide-bg.is-visible > .c-band__text {
    transition-delay: .58s;
  }
}

/* 画像自身を切り抜き、見出しの位置や隣の人物画像には影響させない。 */
.js .js-heading-reveal {
  clip-path: inset(0 100% 0 0);
  transition: clip-path .7s cubic-bezier(.25, .46, .45, .94);
}

.js .js-heading-reveal.is-visible {
  clip-path: inset(0 0 0 0);
  transition-delay: var(--heading-delay, 0s);
}

.js .js-card-reveal {
  opacity: 0;
  transform: translateY(1.8rem);
  transition: opacity .55s ease, transform .65s cubic-bezier(.22, 1, .36, 1);
}

.js .js-card-reveal.is-visible {
  opacity: 1;
  transform: none;
  transition-delay: var(--reveal-delay, 0ms);
}

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

  .js .js-band-reveal > .c-band__icon,
  .js .js-band-reveal > .c-band__text,
  .js .js-card-reveal,
  .js .js-intro {
    opacity: 1;
    transform: none;
    transition: none;
    animation: none;
  }

  .js .js-heading-reveal {
    clip-path: inset(0 0 0 0);
    transition: none;
  }
}

/* ==========================================================================
   SP（767px以下）: ルートフォントを可変にしてデザイン比率を維持
   ========================================================================== */
@media screen and (max-width: 767px) {
  html {
    /* 589pxで1rem=10px相当。ビューポート幅に比例して縮小/拡大 */
    font-size: 1.7vw;
  }

  .l-main {
    max-width: none;
  }

  /* FVの4項目は2列にして、スマホでも文字とアイコンを読みやすい大きさに保つ。 */
  .p-mv__badges {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }

  .p-mv__badges li {
    min-width: 0;
    min-height: 120px;
    gap: 8px;
    padding: 12px 8px;
    border-radius: 12px;
  }

  .p-mv__badges img {
    width: clamp(44px, 7.2vw, 52px);
    height: clamp(44px, 7.2vw, 52px);
    object-fit: contain;
    transform: translateY(6px);
  }

  .p-mv__badges span {
    min-height: 2.7em;
    font-size: clamp(16px, 2.4rem, 20px);
    line-height: 1.35;
  }

  .p-mv__badge-label--single {
    /* 2行分のラベル領域の中央に、1行の文字を配置する。 */
    padding-top: .675em;
  }

  .p-support__lead,
  .p-career__lead {
    /* 「選ばれる理由」の導入文（.p-reason__lead）と同じサイズ・行間。 */
    font-size: 1.8rem;
    line-height: 1.33;
  }

  .p-support__lead > span {
    display: inline-block;
    white-space: nowrap;
  }

  /* 追従CTAの高さ分だけ下に余白を確保 */
  .l-page {
    padding-bottom: 14rem;
  }

  .c-fixed-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 50;
    display: block;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 5 / 1;
    filter: drop-shadow(0 -0.2rem 0.8rem rgba(7, 31, 92, .2));
  background:#feae02;
  }

  .c-fixed-cta img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 113.1%;
    max-width: none;
    transform: translate(-50%, -50%);
  }
}

/* ==========================================================================
   PC（768px以上）
   ========================================================================== */
@media screen and (min-width: 768px) {
  body {
    background: url("../img/mv/mv_bg_pc.png") no-repeat center center / cover;
    background-attachment: fixed;
  }

  .l-main {
    box-shadow: 0 0 3rem rgba(255, 255, 255, .95);
  }

  .l-footer {
    background: #ffffff;
  }
}

/* 選択された「左右にゆったり」：既存のPC背景だけを9秒周期で左右に動かす。 */
@media screen and (min-width: 768px) and (prefers-reduced-motion: no-preference) {
  body::before {
    content: "";
    position: fixed;
    inset: -6%;
    z-index: 0;
    pointer-events: none;
    background: url("../img/mv/mv_bg_pc.png") no-repeat center center / cover;
    animation: pc-background-drift 9s ease-in-out -2.25s infinite;
    will-change: transform;
  }

  .l-page {
    z-index: 1;
  }

  @keyframes pc-background-drift {
    0%, 100% {
      transform: translate3d(-3%, 0, 0);
    }

    50% {
      transform: translate3d(3%, 0, 0);
    }
  }
}

/* ---- サイドカラム表示（中央589px + 左右340px以上を確保できる幅から） ---- */
@media screen and (min-width: 1280px) {
  .l-side {
    position: fixed;
    top: 0;
    z-index: 5;
    display: flex;
    align-items: center;
    height: 100vh;
    pointer-events: none;
  }

  .l-side__inner {
    width: 100%;
    padding: 0 3rem;
    pointer-events: auto;
  }

  .l-side--left {
    left: 0;
    width: calc(50% - 29.45rem);
  }

  .l-side--left .l-side__inner {
    max-width: 40rem;
    margin-left: auto;
  }

  .l-side--right {
    right: 0;
    width: calc(50% - 29.45rem);
  }

  .l-side--right .l-side__inner {
    max-width: 40rem;
    margin-right: auto;
  max-height:100vh;
  }

  /* ---- 左：ロゴ／コピー／スペック／CTA ---- */
  .p-aside__logo img {
    width: 29.4rem;
  }

  .p-aside__copy {
    margin-top: 3.6rem;
  }

  .p-aside__copy img {
    width: 30rem;
  }

  .p-aside__lead {
    margin-top: 2.2rem;
  }

  .p-aside__lead span {
    display: block;
    width: -moz-fit-content;
    width: fit-content;
    padding-bottom: 0.6rem;
    margin-bottom: 1rem;
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.5;
    border-bottom: 0.2rem dashed var(--amber);
  }

  .p-aside__spec {
    display: flex;
    align-items: center;
    gap: 2.4rem;
    margin-top: 2.4rem;
  }

  .p-aside__spec-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
  }

  .p-aside__spec-item img {
    width: 4.6rem;
  }

  .p-aside__spec-item p {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
  }

  .p-aside__spec-item b {
    font-family: var(--font-numerals), "Montserrat", sans-serif;
    font-size: 5.2rem;
    font-weight: 700;
    color: var(--orange);
    margin: 0 3px;
  }

  .p-aside__spec-item small {
    font-size: 2rem;
    font-weight: 700;
  }

  .p-aside__spec-item--free {
    position: relative;
    padding-left: 2.4rem;
    border-left: 0.15rem dashed var(--blue-mid);
  }

  .p-aside__quot {
    position: absolute;
    top: -1.6rem;
    right: -3.5rem;
    width: 3rem;
  }

  .l-side--left .c-cta {
    margin-top: 3rem;
  }

  /* ---- 右：メニュー ---- */
  .p-nav {
    padding: 1.8rem 1.6rem;
    background: rgba(255, 255, 255, .42);
    border-radius: 0.8rem;
  }

  .p-nav__item + .p-nav__item {
    border-top: 0.15rem dashed #bcd3ec;
  }

  .p-nav__item a {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1.6rem;
    padding: 1.4rem 0.6rem;
    transition: opacity .25s;
  }

  .p-nav__item a:hover {
    opacity: .65;
  }

  .p-nav__icon {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    width: 5.8rem;
    height: 5.8rem;
    border: 0.15rem solid var(--navy);
    border-radius: 50%;
    transition: background-color .3s, border-color .3s;
  }

  .p-nav__icon img {
    width: 4.6rem;
    transition: filter .3s;
  }

  .p-nav__text b {
    display: block;
    font-family: var(--font-numerals), "Montserrat", sans-serif;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: .03em;
    transition: color .3s;
  }

  .p-nav__text b.is-lower {
    text-transform: lowercase;
  }

  .p-nav__text small {
    display: block;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.4;
  }

  /* カレント */
  .p-nav__item.is-current a::before {
    content: "";
    position: absolute;
    top: 0.8rem;
    left: -1.4rem;
    width: 0.4rem;
    height: calc(100% - 1.6rem);
    background: var(--orange);
  }

  .p-nav__item.is-current .p-nav__icon {
    background: var(--orange);
    border-color: var(--orange);
  }

  .p-nav__item.is-current .p-nav__icon img {
    filter: brightness(0) invert(1);
  }

  .p-nav__item.is-current .p-nav__text b {
    font-style: italic;
    color: var(--orange);
  }

  .p-aside__future {
    margin-top: 1rem;
  }

  .p-aside__future img {
    width: 30rem;
  }
}
