@charset "UTF-8";
/* =====================================================
   2027年度 若手Webエンジニア研修会 LP CSS
   設計書：docs/superpowers/specs/2026-10-20-young-web-engineer-lp-design.md
   色は元のスライドHTMLに合わせる（ネイビー＋領域の3色）
   --c は線・塗り用、--ct は文字用（白地で読める濃さにした色）、--cs は薄い背景
   ===================================================== */

.yw-page {
  --yw-navy: #1b2a4a;
  --yw-navy-hover: #2a3d66;
  --yw-ink: #1a1f2b;
  --yw-sub: #5b6472;
  --yw-mute: #98a1ad;
  --yw-line: #e6e9ee;
  --yw-bg: #f6f7f9;
  --yw-marker: #ffe07a;

  --yw-display: 'IBM Plex Sans JP', 'Noto Sans JP', sans-serif;
  --yw-body: 'BIZ UDPGothic', 'Noto Sans JP', sans-serif;
  --yw-mono: 'IBM Plex Mono', ui-monospace, 'SFMono-Regular', Menlo, monospace;

  --yw-max: 1120px;

  background: #fff;
  color: var(--yw-ink);
  font-family: var(--yw-body);
  font-size: 16px;
  font-weight: 400;
  line-height: 1.85;
  letter-spacing: .02em;
  overflow-x: hidden;
}

.yw-page *,
.yw-page *::before,
.yw-page *::after { box-sizing: border-box; }

.yw-page [hidden] { display: none !important; }

.yw-page h1, .yw-page h2, .yw-page h3, .yw-page p,
.yw-page ul, .yw-page ol, .yw-page li { margin: 0; padding: 0; }
.yw-page ul, .yw-page ol { list-style: none; }
.yw-page button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
.yw-page a:focus-visible,
.yw-page button:focus-visible,
.yw-page [tabindex]:focus-visible {
  outline: 3px solid #3b4fd8;
  outline-offset: 3px;
}
/* ネイビー背景の目次の上では、フォーカスリングを白にする */
.yw-page .yw-toc a:focus-visible { outline-color: #fff; }

/* 日本語の見出しを文節単位で折り返す（対応ブラウザのみ） */
.yw-page h2,
.yw-page h3 {
  word-break: auto-phrase;
  text-wrap: balance;
}
.yw-page .yw-nw { display: inline-block; }

/* ---------- 領域の色 ---------- */
.yw-page .yw-c-ai { --c: #3b4fd8; --ct: #3b4fd8; --cs: #eceefc; }
.yw-page .yw-c-tr { --c: #0f8f7e; --ct: #0b7366; --cs: #e4f5f2; }
.yw-page .yw-c-mg { --c: #d9731a; --ct: #b35a0c; --cs: #fdeee0; }

/* ---------- 共通 ---------- */
.yw-wrap {
  max-width: var(--yw-max);
  margin: 0 auto;
  padding: 0 24px;
}
.yw-page .yw-sec { padding: 96px 0; }
.yw-page .yw-sec--tint { background: var(--yw-bg); }

.yw-page .yw-kicker {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  font-family: var(--yw-mono);
  font-size: .78rem;
  font-weight: 500;
  letter-spacing: .22em;
  color: var(--yw-sub);
}
.yw-page .yw-kicker::before {
  content: "";
  width: 28px;
  height: 2px;
  background: var(--yw-navy);
}
.yw-page .yw-h2 {
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.45;
  color: var(--yw-navy);
  margin-bottom: 40px;
}
.yw-page .yw-h2-sub {
  margin: -28px 0 32px;
  color: var(--yw-sub);
}

.yw-page .yw-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
}
.yw-page .yw-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--yw-display);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: var(--yw-ink);
}
.yw-page .yw-tag::before {
  content: "";
  width: 9px;
  height: 9px;
  background: var(--c);
}

.yw-page .yw-sh {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
  font-family: var(--yw-mono);
  font-size: .72rem;
  font-weight: 500;
  letter-spacing: .2em;
  color: var(--yw-sub);
}
.yw-page .yw-mo {
  flex: none;
  width: 2.8em;
  color: var(--ct);
  font-weight: 700;
}

/* ---------- ボタン ---------- */
.yw-page .yw-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 0 28px;
  border-radius: 4px;
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: .04em;
  text-decoration: none;
  transition: background-color .2s ease, color .2s ease, transform .2s ease;
}
.yw-page .yw-btn--primary { background: var(--yw-navy); color: #fff; }
.yw-page .yw-btn--primary:hover { background: var(--yw-navy-hover); transform: translateY(-1px); }
.yw-page .yw-btn--ghost { border: 2px solid var(--yw-navy); color: var(--yw-navy); }
.yw-page .yw-btn--ghost:hover { background: var(--yw-navy); color: #fff; }

/* =====================================================
   ① ファーストビュー
   ===================================================== */
.yw-hero {
  position: relative;
  padding: 150px 0 88px;  /* 固定ヘッダー分を空ける */
  overflow: hidden;
  background: linear-gradient(180deg, #eef2f8 0, #fff 70%);  /* 白いグローバルナビとの境目を出す */
}

/* グローバルナビ（このCSSはこのページだけで読み込まれる）：上辺にネイビーの線を入れ、下の濃い線は外して影で浮かせる */
@media screen and (min-width: 751px) {
  #header .header-band {
    border-top: 4px solid #1b2a4a;
    border-bottom: 0;
    box-shadow: 0 2px 14px rgba(11, 31, 56, .10);
  }
}
.yw-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr);
  gap: 56px;
  align-items: stretch;
}
.yw-hero__copy {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.yw-page .yw-hero__year {
  position: absolute;
  left: -6px;
  bottom: -56px;
  z-index: 0;
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: clamp(7rem, 16vw, 13rem);
  line-height: 1;
  letter-spacing: -.04em;
  color: var(--yw-bg);
  user-select: none;
  pointer-events: none;
}
.yw-hero__copy > *:not(.yw-hero__year) { position: relative; z-index: 1; }
.yw-page .yw-eyebrow {
  margin-bottom: 14px;
  font-family: var(--yw-display);
  font-size: .85rem;
  font-weight: 700;
  letter-spacing: .2em;
  color: var(--yw-navy);
}
.yw-page .yw-hero__title {
  margin-bottom: 22px;
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: clamp(2rem, 4.2vw, 3.3rem);
  line-height: 1.25;
  color: var(--yw-ink);
}
.yw-page .yw-hero__title small {
  display: block;
  margin-bottom: 10px;
  font-size: .42em;
  letter-spacing: .08em;
  color: var(--yw-sub);
}
.yw-page .yw-hero__lead {
  margin-bottom: 22px;
  font-size: 1.08rem;
  line-height: 1.85;
}
.yw-page .yw-hero__lead b { color: var(--yw-navy); }
.yw-hero .yw-tags { margin-bottom: 30px; }
.yw-hero__btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.yw-toc {
  padding: 30px 28px;
  border-radius: 4px;
  background: var(--yw-navy);
  color: #fff;
}
.yw-page .yw-toc__title {
  margin-bottom: 10px;
  font-family: var(--yw-mono);
  font-size: .72rem;
  letter-spacing: .3em;
  color: rgba(255, 255, 255, .7);
}
.yw-page .yw-toc__item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 9px 6px;
  border-top: 1px solid rgba(255, 255, 255, .14);
  color: #fff;
  text-decoration: none;
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: .88rem;
  line-height: 1.45;
  transition: background-color .2s ease, padding-left .2s ease;
}
.yw-toc__list li:last-child .yw-toc__item { border-bottom: 1px solid rgba(255, 255, 255, .14); }
.yw-page .yw-toc__item::before {
  content: "";
  flex: none;
  align-self: stretch;
  width: 4px;
  background: var(--c);
}
.yw-page .yw-toc__item:hover { background: rgba(255, 255, 255, .08); padding-left: 12px; }
.yw-page .yw-toc__mo {
  flex: none;
  width: 1.6em;
  font-family: var(--yw-mono);
  font-size: 1.05rem;
  font-weight: 500;
}
.yw-page .yw-toc__cat {
  flex: none;
  margin-left: auto;
  font-family: var(--yw-body);
  font-size: .68rem;
  font-weight: 400;
  letter-spacing: .06em;
  color: rgba(255, 255, 255, .75);
}

/* =====================================================
   ② コンセプト
   ===================================================== */
.yw-concept__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 64px;
  align-items: center;
}
.yw-page .yw-concept__q {
  margin-bottom: 18px;
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: clamp(1.05rem, 1.8vw, 1.3rem);
  line-height: 1.8;
  color: var(--yw-sub);
}
.yw-page .yw-concept__a {
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: clamp(1.8rem, 3.6vw, 2.8rem);
  line-height: 1.5;
  color: var(--yw-ink);
}
.yw-page .yw-concept__a em,
.yw-page .yw-summary__msg em {
  font-style: normal;
  color: var(--yw-navy);
  box-shadow: inset 0 -.35em 0 var(--yw-marker);
}
.yw-nums { border-top: 2px solid var(--yw-ink); }
.yw-page .yw-num {
  display: flex;
  align-items: baseline;
  gap: 18px;
  padding: 20px 4px;
  border-bottom: 1px solid var(--yw-line);
}
.yw-page .yw-num__v {
  flex: none;
  min-width: 3.4em;
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: 3.4rem;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--yw-navy);
  font-variant-numeric: tabular-nums;
}
.yw-page .yw-num__v small { margin-left: 4px; font-size: 1rem; letter-spacing: 0; }
.yw-page .yw-num__l { font-size: .92rem; line-height: 1.6; color: var(--yw-sub); }

/* =====================================================
   ③ 3つの領域
   ===================================================== */
.yw-pillars__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border-top: 2px solid var(--yw-ink);
}
.yw-page .yw-pillar {
  padding: 28px 24px 24px;
  border-right: 1px solid var(--yw-line);
  transition: background-color .25s ease;
}
.yw-page .yw-pillar:last-child { border-right: 0; }
.yw-page .yw-pillar:hover { background: var(--cs); }
.yw-page .yw-pillar__no {
  font-family: var(--yw-mono);
  font-size: 2.4rem;
  font-weight: 500;
  line-height: 1;
  color: var(--c);
}
.yw-page .yw-pillar__name {
  margin: 12px 0 8px;
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: 1.4rem;
  line-height: 1.4;
}
.yw-page .yw-pillar__desc {
  min-height: 5.3em;
  font-size: .92rem;
  line-height: 1.75;
  color: var(--yw-sub);
}
.yw-pillar__list {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 16px;
}
.yw-page .yw-pillar__list a {
  display: flex;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  color: var(--yw-ink);
  text-decoration: none;
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.5;
  transition: background-color .2s ease;
}
.yw-page .yw-pillar__list a:hover { background: #fff; }
/* 講座名の最後の1文字だけが次の行に落ちないようにする（対応ブラウザのみ） */
.yw-page .yw-pillar__list a > span:last-child,
.yw-page .yw-style__list a > span:last-child,
.yw-page .yw-map__name,
.yw-page .yw-toc__name {
  text-wrap: pretty;
  word-break: auto-phrase;
}

/* =====================================================
   ④ 年間マップ
   ===================================================== */
.yw-map__filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 10px;
}
.yw-page .yw-map__filter {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 18px;
  border: 2px solid var(--c);
  border-radius: 999px;
  background: #fff;
  color: var(--ct);
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: .9rem;
  transition: background-color .2s ease, color .2s ease, opacity .2s ease;
}
.yw-page .yw-map__filter span { font-weight: 400; font-size: .78rem; }
.yw-page .yw-map__filter[aria-pressed="true"] { background: var(--ct); border-color: var(--ct); color: #fff; }
.yw-mapbox[data-filter] .yw-map__filter[aria-pressed="false"] { opacity: .45; }
.yw-page .yw-map__note {
  margin-bottom: 20px;
  font-size: .82rem;
  color: var(--yw-sub);
}
.yw-map__head,
.yw-map__row {
  display: grid;
  grid-template-columns: 88px repeat(3, minmax(0, 1fr));
  column-gap: 16px;
  align-items: center;
}
.yw-map__head {
  padding-bottom: 8px;
  border-bottom: 2px solid var(--yw-ink);
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: .82rem;
  letter-spacing: .06em;
}
.yw-map__head span { color: var(--ct); }
.yw-map__head .yw-map__headmo { color: var(--yw-sub); font-family: var(--yw-mono); font-weight: 500; }
.yw-page .yw-map__row {
  min-height: 56px;
  border-bottom: 1px solid var(--yw-line);
}
.yw-page .yw-map__mo {
  grid-column: 1;
  font-family: var(--yw-mono);
  font-size: 1.2rem;
  font-weight: 500;
}
.yw-page .yw-map__mo small { margin-left: 2px; font-size: .7rem; color: var(--yw-sub); }
.yw-page .yw-map__course {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 40px;
  padding: 6px 12px;
  border-left: 4px solid var(--c);
  border-radius: 6px;
  background: var(--cs);
  color: var(--yw-ink);
  text-decoration: none;
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: .88rem;
  line-height: 1.45;
  transition: transform .2s ease, box-shadow .2s ease, opacity .3s ease;
}
.yw-page .yw-map__course.yw-c-ai { grid-column: 2; }
.yw-page .yw-map__course.yw-c-tr { grid-column: 3; }
.yw-page .yw-map__course.yw-c-mg { grid-column: 4; }
.yw-page .yw-map__course:hover { transform: translateX(4px); box-shadow: 0 6px 16px rgba(27, 42, 74, .12); }
/* PCでは列の位置で領域がわかるので見た目は隠し、スクリーンリーダーには読ませる */
.yw-page .yw-map__cat {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}
.yw-page .yw-map__arrow { margin-left: auto; color: var(--ct); }
.yw-mapbox[data-filter="ai"] .yw-map__course:not(.yw-c-ai),
.yw-mapbox[data-filter="tr"] .yw-map__course:not(.yw-c-tr),
.yw-mapbox[data-filter="mg"] .yw-map__course:not(.yw-c-mg) { opacity: .15; }

/* =====================================================
   ⑤ 講座詳細
   ===================================================== */
.yw-tabs {
  position: relative;  /* 選んだタブの位置（offsetLeft）の基準にする */
  display: flex;
  gap: 6px;
  margin-bottom: 20px;
  padding-bottom: 4px;
  overflow-x: auto;
}
.yw-page .yw-tab {
  flex: 1 1 0;
  min-width: 84px;
  min-height: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6px 10px;
  border: 1px solid var(--yw-line);
  border-top: 4px solid var(--c);
  border-radius: 4px;
  background: #fff;
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: .85rem;
  line-height: 1.3;
  color: var(--yw-ink);
  transition: background-color .2s ease, color .2s ease;
}
.yw-page .yw-tab__mo { white-space: nowrap; }
.yw-page .yw-tab b { font-family: var(--yw-mono); font-size: 1.2rem; font-weight: 500; }
.yw-page .yw-tab__cat { font-size: .66rem; font-weight: 400; color: var(--yw-sub); }
.yw-page .yw-tab:hover { background: var(--cs); }
.yw-page .yw-tab[aria-selected="true"] { background: var(--ct); border-color: var(--ct); color: #fff; }
.yw-page .yw-tab[aria-selected="true"] .yw-tab__cat { color: rgba(255, 255, 255, .9); }

.yw-panels {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.yw-page .yw-course {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  border: 1px solid var(--yw-line);
  border-left: 8px solid var(--c);
  border-radius: 4px;
  background: #fff;
  overflow: hidden;
  scroll-margin-top: 120px;  /* JSなしでページ内リンクから飛んだとき、固定ヘッダーに隠れないように */
}
.yw-course__side {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 36px 28px;
  background: var(--yw-bg);
}
.yw-page .yw-course__no {
  font-family: var(--yw-mono);
  font-size: .72rem;
  letter-spacing: .2em;
  color: var(--yw-sub);
}
.yw-page .yw-course__mon {
  display: flex;
  align-items: flex-end;
  gap: 4px;
  line-height: 1;
  color: var(--ct);
}
.yw-page .yw-course__mon b {
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: 5.6rem;
  letter-spacing: -.05em;
}
.yw-page .yw-course__mon span {
  margin-bottom: 10px;
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: 1.4rem;
}
.yw-page .yw-course__sub {
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.7;
  color: var(--yw-sub);
}
.yw-course__fmt { margin-top: auto; }
.yw-course__fmt ul { display: flex; flex-wrap: wrap; gap: 6px; }
.yw-page .yw-fmt {
  padding: 4px 10px;
  border: 1.5px solid var(--c);
  border-radius: 4px;
  background: #fff;
  font-size: .78rem;
  font-weight: 700;
  color: var(--yw-ink);
}
.yw-course__main {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 36px 40px;
}
.yw-page .yw-course__title {
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  line-height: 1.45;
}
.yw-page .yw-course__catch {
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--ct);
}
.yw-course__kw {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.yw-course__kw ul { display: flex; flex-wrap: wrap; gap: 8px; }
.yw-page .yw-course__kwl {
  margin-right: 4px;
  font-size: .74rem;
  font-weight: 700;
  letter-spacing: .1em;
  color: var(--yw-sub);
}
.yw-page .yw-course__kw li {
  padding: 4px 12px;
  border-radius: 4px;
  background: var(--cs);
  font-size: .84rem;
  font-weight: 700;
}

.yw-page .yw-flow__all {
  margin-left: auto;
  padding: 4px 12px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-family: var(--yw-display);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .04em;
  color: var(--ct);
}
.yw-steps { border-bottom: 1px solid var(--yw-line); }
.yw-page .yw-step {
  border-top: 1px solid var(--yw-line);
  transition: opacity .3s ease;
}
.yw-page .yw-step__head {
  width: 100%;
  display: grid;
  grid-template-columns: 30px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  text-align: left;
  cursor: default;
}
.yw-page .yw-step__n {
  width: 30px;
  height: 30px;
  display: grid;
  place-items: center;
  border: 2px solid var(--c);
  border-radius: 50%;
  font-family: var(--yw-mono);
  font-size: .85rem;
  font-weight: 500;
  color: var(--ct);
  transition: background-color .3s ease, color .3s ease;
}
.yw-page .yw-step__hl {
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.5;
}
.yw-page .yw-step__dt {
  padding: 0 0 12px 44px;
  font-size: .9rem;
  line-height: 1.7;
  color: var(--yw-sub);
}
.yw-page .yw-step.is-open .yw-step__n { background: var(--ct); border-color: var(--ct); color: #fff; }
/* JSが動いたときだけ、押すと開く形にする */
.yw-page.is-js .yw-step__head { cursor: pointer; }
.yw-page.is-js .yw-step__head:hover .yw-step__hl { text-decoration: underline; }
.yw-page.is-js .yw-step:not(.is-open) { opacity: .55; }
.yw-page.is-js .yw-step:not(.is-open) .yw-step__dt { display: none; }

.yw-course__grid2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}
.yw-page .yw-gains li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 3px 0;
  font-size: .92rem;
  font-weight: 700;
}
.yw-page .yw-gains li::before {
  content: "";
  flex: none;
  width: 18px;
  height: 18px;
  border-radius: 3px;
  background: var(--ct) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.5'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center / 12px no-repeat;
}
.yw-page .yw-pre li {
  position: relative;
  margin-bottom: 3px;
  padding-left: 14px;
  font-size: .86rem;
  line-height: 1.65;
  color: var(--yw-sub);
}
.yw-page .yw-pre li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .7em;
  width: 5px;
  height: 5px;
  background: var(--yw-mute);
}

/* =====================================================
   ⑥ 学び方の3つの型
   ===================================================== */
.yw-styles__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.yw-page .yw-style {
  display: flex;
  flex-direction: column;
  padding: 26px 24px 20px;
  border: 1px solid var(--yw-line);
  border-radius: 8px;
  background: #fff;
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.yw-page .yw-style:hover { transform: translateY(-4px); box-shadow: 0 16px 32px rgba(27, 42, 74, .1); border-color: var(--yw-navy); }
.yw-page .yw-style__v {
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: 3rem;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--yw-navy);
}
.yw-page .yw-style__v small { margin-left: 4px; font-size: 1rem; letter-spacing: 0; }
.yw-page .yw-style__name {
  margin: 12px 0 6px;
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: 1.15rem;
  line-height: 1.5;
}
.yw-page .yw-style__desc {
  min-height: 5.1em;
  font-size: .88rem;
  line-height: 1.7;
  color: var(--yw-sub);
}
.yw-style__list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-top: 14px;
  padding-top: 10px;
  border-top: 1px solid var(--yw-line);
}
.yw-page .yw-style__list a {
  display: flex;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 5px;
  color: var(--yw-ink);
  text-decoration: none;
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.5;
  transition: background-color .2s ease;
}
.yw-page .yw-style__list a:hover { background: var(--cs); }

/* =====================================================
   ⑦ まとめ
   ===================================================== */
.yw-summary__grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 400px;
  gap: 60px;
  align-items: center;
}
.yw-page .yw-summary__msg {
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: clamp(1.7rem, 3.4vw, 2.6rem);
  line-height: 1.5;
  color: var(--yw-ink);
}
.yw-page .yw-summary__sb {
  margin: 20px 0 26px;
  font-size: 1.02rem;
  line-height: 1.9;
  color: var(--yw-sub);
}
.yw-g9 {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.yw-page .yw-g9 a {
  aspect-ratio: 1;
  display: flex;
  flex-direction: column;
  padding: 12px;
  border-top: 5px solid var(--c);
  border-radius: 6px;
  background: var(--cs);
  color: var(--yw-ink);
  text-decoration: none;
  transition: transform .2s ease, box-shadow .2s ease;
}
.yw-page .yw-g9 a:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(27, 42, 74, .14); }
.yw-page .yw-g9__mo {
  font-family: var(--yw-display);
  font-weight: 700;
  font-size: 1.8rem;
  line-height: 1;
  letter-spacing: -.03em;
  color: var(--ct);
}
.yw-page .yw-g9__mo small { margin-left: 2px; font-size: .75rem; letter-spacing: 0; }
.yw-page .yw-g9__tt {
  margin-top: auto;
  font-size: .76rem;
  font-weight: 700;
  line-height: 1.45;
}

/* =====================================================
   出現の動き（JSが動き、動きを減らす設定でないときだけ）
   ===================================================== */
.yw-page.is-motion .yw-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s cubic-bezier(.2, .7, .2, 1), transform .6s cubic-bezier(.2, .7, .2, 1);
}
.yw-page.is-motion .yw-reveal.is-in { opacity: 1; transform: none; }
@keyframes yw-fade {
  from { opacity: 0; transform: translateY(-4px); }
  to   { opacity: 1; transform: none; }
}
.yw-page.is-motion .yw-step.is-open .yw-step__dt { animation: yw-fade .4s ease both; }

/* =====================================================
   タブレット
   ===================================================== */
@media (max-width: 1024px) {
  .yw-hero__grid,
  .yw-concept__grid,
  .yw-summary__grid { grid-template-columns: minmax(0, 1fr); gap: 40px; }
  .yw-page .yw-course { grid-template-columns: minmax(0, 1fr); }
  .yw-course__side {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
    gap: 10px 20px;
    padding: 24px 28px;
  }
  .yw-page .yw-course__mon b { font-size: 3.6rem; }
  .yw-page .yw-course__sub,
  .yw-course__fmt { width: 100%; margin-top: 0; }
}

/* =====================================================
   スマホ
   ===================================================== */
@media (max-width: 750px) {
  .yw-wrap { padding: 0 16px; }
  .yw-page .yw-sec { padding: 64px 0; }
  .yw-page .yw-h2 { margin-bottom: 28px; }
  .yw-page .yw-h2-sub { margin: -16px 0 24px; }
  .yw-page .yw-br-pc { display: none; }

  .yw-hero { padding: 110px 0 56px; }
  .yw-hero__btns .yw-btn { width: 100%; }
  .yw-toc { padding: 22px 16px; }

  .yw-page .yw-num__v { font-size: 2.6rem; }

  .yw-pillars__grid { grid-template-columns: minmax(0, 1fr); }
  .yw-page .yw-pillar { padding: 24px 0; border-right: 0; border-bottom: 1px solid var(--yw-line); }
  .yw-page .yw-pillar:hover { background: none; }
  .yw-page .yw-pillar__desc { min-height: 0; }

  /* 年間マップ：表をやめて「月 → 講座名（領域ラベル付き）」の縦リストにする */
  .yw-map__head { display: none; }
  .yw-page .yw-map__row {
    grid-template-columns: 52px minmax(0, 1fr);
    column-gap: 10px;
    padding: 8px 0;
  }
  .yw-page .yw-map__course.yw-c-ai,
  .yw-page .yw-map__course.yw-c-tr,
  .yw-page .yw-map__course.yw-c-mg { grid-column: 2; }
  .yw-page .yw-map__course { flex-wrap: wrap; row-gap: 0; }
  .yw-page .yw-map__cat {
    position: static;
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    clip-path: none;
    white-space: normal;
    font-size: .7rem;
    color: var(--ct);
  }
  .yw-page .yw-map__name { flex: 1; min-width: 0; }

  /* 講座詳細のタブ：横にスクロールできる1行 */
  .yw-tabs { margin: 0 -16px 16px; padding: 0 16px 6px; }
  .yw-page .yw-tab { flex: 0 0 auto; min-width: 72px; }
  .yw-course__side { padding: 20px; }
  .yw-course__main { padding: 24px 20px; }
  .yw-course__grid2 { grid-template-columns: minmax(0, 1fr); gap: 20px; }

  .yw-styles__grid { grid-template-columns: minmax(0, 1fr); }
  .yw-page .yw-style__desc { min-height: 0; }

  .yw-g9 { gap: 8px; }
  .yw-page .yw-g9 a { aspect-ratio: auto; min-height: 120px; padding: 10px; }
  .yw-page .yw-g9__tt { font-size: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  .yw-page *,
  .yw-page *::before,
  .yw-page *::after {
    transition-duration: .01ms !important;
    animation-duration: .01ms !important;
  }
}

/* 共通パーツ「サービスCTA」（com-service-cta）のボタンは、スマホで min-width:100% に左右の余白が足されて
   画面より14pxはみ出し、横スクロールが出る（style.css 側の既存の不具合）。このページでは余白込みの幅にそろえる */
@media (max-width: 600px) {
  .service-cta__btn { box-sizing: border-box; }
}
