html { scroll-behavior: smooth; }
body { margin: 0; }
.bootcamp-site { padding-inline: 0; padding-bottom: 0; }
.site-header ._contact a { background-image: url("../../images/common/contact-btn-bg.svg"); }
.site-header .sp-menu-btn { display: none; }

@media (max-width: 767px) {
  .site-header .sp-menu-btn { display: block; }
  .site-footer .footer-upper > div:first-child { width: 100% !important; min-width: 0 !important; margin-right: 0 !important; }
  .site-footer .footer-upper ._links { width: 100%; max-width: 100%; min-width: 0; }
  .site-footer .footer-upper .link-group { display: flex; flex-wrap: wrap; gap: 16px; }
  .site-footer .footer-upper .link-group ul { max-width: 100%; }
}

@scope (.bootcamp-course) {
:scope {
  color-scheme: dark;
  --background: #0d0d0d;
  --hero-background: #0d0d0d;
  --surface: #161616;
  --border: #2c3137;
  --mint: #00c896;
  --muted: #aeb2b6;
  --green-surface: #112b23;
  --font-increase: 5pt;
}

* { box-sizing: border-box; }
:scope { background: var(--background); color: #fff; font-family: "Noto Sans JP", "Inter", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif; font-size: calc(15px + var(--font-increase)); line-height: 1.8; letter-spacing: 0; -webkit-font-smoothing: antialiased; }
h1, h2, h3, h4, p, figure, dl, dd { margin: 0; }
h1, h2, h3 { text-wrap: balance; }
a { color: var(--mint); text-decoration: none; }
a:hover { text-decoration: underline; }
a:focus-visible { outline: 3px solid var(--mint); outline-offset: 6px; }
img { display: block; max-width: 100%; height: auto; }
.no-break { display: inline-block; white-space: nowrap; }
.container { position: static; z-index: auto; width: 100%; max-width: 1360px; margin-inline: auto; padding: 0 32px; background: none; box-shadow: none; }
.hero {
  color-scheme: light;
  --hero-background: #e5eef9;
  --surface: #f2f7fc;
  --border: #bed0e2;
  --mint: #00755c;
  --muted: #42586b;
  --green-surface: #d8ebe8;
  background: linear-gradient(110deg, #edf4fc, var(--hero-background) 52%, #dce8f8);
  color: #172d43;
  padding: 72px 0;
}
.hero-layout { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-template-areas: "copy figure" "badges figure"; align-items: center; gap: 32px 48px; }
.hero-copy { grid-area: copy; }
.course-label { display: inline-block; padding: 5px 12px; border: 1px solid var(--mint); border-radius: 5px; color: var(--mint); background: var(--green-surface); font-family: "Inter", "Noto Sans JP", sans-serif; font-size: calc(12px + var(--font-increase)); font-weight: 700; line-height: 1.6; }
h1 { margin-top: 18px; font-size: calc(52px + var(--font-increase)); font-weight: 800; line-height: 1.3; }
.hero-description { max-width: 610px; margin-top: 24px; color: var(--muted); font-size: calc(17px + var(--font-increase)); line-height: 1.85; text-wrap: pretty; }
.aws-link { display: inline-flex; align-items: center; gap: 10px; margin-top: 18px; font-size: calc(14px + var(--font-increase)); font-weight: 700; }
.aws-link i { font-size: 11px; transform: rotate(45deg); }
.hero-figure {
  grid-area: figure;
  position: relative;
  width: 100%;
  margin-block: -72px;
  align-self: stretch;
  justify-self: end;
  overflow: hidden;
  mask-image: linear-gradient(to right, transparent, rgba(0, 0, 0, .3) 4%, rgba(0, 0, 0, .8) 10%, #000 16%, #000 84%, rgba(0, 0, 0, .8) 90%, rgba(0, 0, 0, .3) 96%, transparent), linear-gradient(to bottom, transparent, rgba(0, 0, 0, .3) 4%, rgba(0, 0, 0, .8) 10%, #000 16%, #000 84%, rgba(0, 0, 0, .8) 90%, rgba(0, 0, 0, .3) 96%, transparent);
  mask-composite: intersect;
}
.hero-figure img { position: absolute; inset: -12.5%; width: 125%; max-width: none; height: 125%; object-fit: cover; }
.hero-badges { grid-area: badges; display: flex; align-items: center; flex-wrap: wrap; gap: 16px; }
.badge { display: flex; align-items: center; gap: 12px; min-height: 60px; padding: 10px 18px; background: var(--surface); border: 1px solid var(--border); border-radius: 5px; }
.badge > i { color: var(--mint); font-size: 22px; }
.badge span { display: block; color: var(--muted); font-size: calc(12px + var(--font-increase)); }
.badge strong { display: block; font-size: calc(13px + var(--font-increase)); font-weight: 600; line-height: 1.5; }
.powered-by-aws-logo { width: 300px; height: 80px; object-fit: cover; object-position: center calc(50% + 4px); }
section:not(.hero):not(.course-contact) { padding: 88px 0; }
.section-alt {
  color-scheme: light;
  --surface: #fff;
  --border: #e2e4e7;
  --mint: #007c59;
  --muted: #444a51;
  --green-surface: #e9f5f0;
  --service-green: #00c896;
  background: #fff;
  color: #0d0d0d;
}
.section-heading { margin-bottom: 40px; text-align: center; }
.eyebrow { display: block; color: var(--mint); font-family: "Inter", "Noto Sans JP", sans-serif; font-size: calc(13px + var(--font-increase)); font-weight: 700; line-height: 1.55; }
h2 { margin-top: 12px; font-size: calc(32px + var(--font-increase)); font-weight: 800; line-height: 1.5; }
.section-heading > p { margin-top: 16px; color: var(--muted); font-size: calc(15px + var(--font-increase)); line-height: 2; }
.card { border: 1px solid var(--border); border-radius: 14px; background: var(--surface); }
section.challenge.section-alt { padding-block: 72px; background: linear-gradient(115deg, #fff 55%, #f3f9f6); }
.challenge-layout { display: grid; grid-template-columns: minmax(0, 1fr) 48px minmax(0, 1fr); align-items: stretch; gap: 32px; }
.challenge-card { min-width: 0; padding-top: 28px; border-top: 2px solid #becbc4; }
h3 { font-size: calc(17px + var(--font-increase)); line-height: 1.7; font-weight: 800; }
.challenge-card h3 { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; color: #59675f; font-size: calc(14px + var(--font-increase)); font-weight: 600; }
.challenge-card h3 i { font-size: 18px; }
.challenge-card p { max-width: 30em; color: var(--muted); font-size: calc(14.5px + var(--font-increase)); line-height: 1.95; text-wrap: pretty; }
.voice-list { display: grid; margin: 0; padding: 0; list-style: none; }
.voice-list > li { display: grid; grid-template-columns: 28px minmax(0, 1fr); gap: 14px; padding-block: 20px; border-bottom: 1px solid #dce5df; }
.voice-list > li:first-child { padding-top: 0; }
.voice-list > li:last-child { padding-bottom: 0; border-bottom: 0; }
.voice-number { padding-top: 2px; color: var(--mint); font-family: "Inter", "Noto Sans JP", sans-serif; font-size: calc(12px + var(--font-increase)); font-weight: 600; line-height: 1.65; font-variant-numeric: tabular-nums; }
.voice-copy { min-width: 0; }
.challenge-card .voice-goal { margin-bottom: 6px; color: #59675f; font-size: calc(12px + var(--font-increase)); line-height: 1.65; text-wrap: balance; }
.challenge .warning-text { display: block; color: #202e27; font-size: calc(15px + var(--font-increase)); font-weight: 700; line-height: 1.65; text-wrap: balance; }
.warning-text > span { display: inline-block; max-width: 100%; }
.challenge .solution-card { border-color: var(--mint); }
.solution-card h3, .solution-card strong { color: var(--mint); }
.challenge-lead { display: block; margin-bottom: 14px; color: #202e27; font-size: calc(21px + var(--font-increase)); font-weight: 700; line-height: 1.6; text-wrap: balance; }
.challenge-arrow { display: flex; justify-content: center; align-items: center; align-self: center; width: 48px; height: 48px; color: var(--mint); border: 1px solid #cddfd5; border-radius: 50%; background: #fff; }
.challenge-arrow i { font-size: 18px; }
.about-layout { display: grid; grid-template-columns: 1.3fr 1fr; align-items: center; gap: 112px; }
.about-copy p { color: var(--muted); font-size: calc(15px + var(--font-increase)); line-height: 2; }
.about-copy p + p { margin-top: 22px; }
.about-copy strong { font-weight: 700; }
.about-figure { width: 100%; min-width: 0; max-width: 520px; justify-self: end; isolation: isolate; background: var(--background); }
.about-figure img { width: 100%; }
.about-figure figcaption { margin-top: 12px; color: var(--muted); font-size: 15px; line-height: 1.6; text-align: center; text-wrap: balance; }
.about-figure figcaption a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.about-figure figcaption a:hover { color: var(--mint); }
.topic-list { display: flex; flex-wrap: wrap; gap: 16px 28px; list-style: none; padding: 0; margin: 32px 0 0; color: var(--mint); font-size: calc(13px + var(--font-increase)); font-weight: 600; }
.module-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px; }
.module-card { padding: 28px; }
.module-heading { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; }
.module-heading > div { min-width: 0; }
.icon-circle { display: inline-flex; justify-content: center; align-items: center; flex-shrink: 0; width: 48px; height: 48px; border-radius: 50%; background: var(--green-surface); color: var(--mint); font-size: 20px; }
.module-heading .eyebrow { font-size: calc(12px + var(--font-increase)); }
.module-heading h3 { margin-top: 3px; }
.module-card > p { min-height: 80px; color: var(--muted); font-size: calc(14.5px + var(--font-increase)); line-height: 1.8; }
.lesson-list { display: grid; gap: 15px; margin: 24px 0 0; padding: 0; list-style: none; color: var(--muted); font-size: calc(14.5px + var(--font-increase)); line-height: 1.8; }
.lesson-list li { position: relative; padding-left: 22px; }
.lesson-list li::before { content: ">"; position: absolute; left: 0; top: 0; color: var(--mint); }
.schedule { margin-top: 40px; padding: 28px; border: 1px solid var(--border); border-radius: 14px; background: var(--green-surface); }
.schedule > h3 { margin-bottom: 20px; color: var(--mint); font-size: calc(17px + var(--font-increase)); }
.schedule-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; list-style: none; margin: 0; padding: 0; }
.schedule-grid li { padding: 24px; border-radius: 12px; background: var(--surface); }
.schedule-grid .eyebrow { font-size: calc(12px + var(--font-increase)); }
.schedule-grid h4 { margin-top: 5px; font-size: calc(15.5px + var(--font-increase)); font-weight: 700; }
.schedule-grid p { margin-top: 10px; color: var(--muted); font-size: calc(14.5px + var(--font-increase)); line-height: 1.8; }
.details-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
.detail-card { display: grid; grid-template-columns: minmax(0, 1fr) auto auto minmax(0, 1fr); align-items: center; align-content: start; padding: 24px; text-align: center; }
.detail-card .icon-circle { grid-column: 2; width: 44px; height: 44px; margin-bottom: 0; font-size: 18px; }
.detail-card dt { grid-column: 3; margin: 0 0 0 12px; font-size: calc(14px + var(--font-increase)); font-weight: 700; white-space: nowrap; }
.detail-card dd { grid-column: 1 / -1; margin-top: 14px; }
.detail-card dd strong { display: block; color: var(--mint); font-size: calc(24px + var(--font-increase)); font-weight: 800; line-height: 1.5; }
.detail-card dd .compact-value { font-size: calc(18px + var(--font-increase)); }
.detail-card dd span { display: block; margin-top: 6px; color: var(--muted); font-size: calc(13px + var(--font-increase)); line-height: 1.8; }
.detail-card dd strong .no-break { display: inline-block; margin: 0; color: inherit; font-size: inherit; }
.tools-card { grid-column: 1 / -1; }
.tools-card dd { margin-top: 24px; min-width: 0; }
.tools-list { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px; margin: 0; padding: 0; list-style: none; }
.tools-card .tool-link { display: flex; flex-direction: column; align-items: center; gap: 14px; min-width: 0; color: #fff; font-size: calc(14px + var(--font-increase)); font-weight: 600; line-height: 1.5; text-wrap: balance; }
.tools-card .tool-link:hover { color: var(--mint); }
.tool-link img { width: 64px; height: 64px; object-fit: contain; }
.tool-link .github-logo { border-radius: 50%; }
.tools-card .tool-name { margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.tools-note { margin-top: 24px; color: var(--muted); font-size: calc(11px + var(--font-increase)); line-height: 1.7; text-align: right; text-wrap: pretty; }
.tools-note .no-break { display: inline-block; margin: 0; color: inherit; font-size: inherit; line-height: inherit; }
.currency-icon { font-family: sans-serif; }
.customization-note { display: table; max-width: 100%; margin: 28px auto 0; padding: 12px 20px; border: 1px solid var(--border); border-radius: 8px; background: var(--green-surface); color: var(--muted); font-size: calc(13px + var(--font-increase)); line-height: 1.8; text-align: center; }
.customization-note i { margin-right: 7px; color: var(--mint); }
.value-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px; }
.value-card { --value-heading-max: calc(17px + var(--font-increase)); --value-icon-space: 60px; container-type: inline-size; display: grid; grid-template-columns: auto minmax(0, 1fr); align-items: center; align-content: start; column-gap: 12px; padding: 28px; }
.value-card .icon-circle { width: 48px; height: 48px; margin-bottom: 0; font-size: 24px; }
/* 最長見出し(約15.4em)がアイコン横の残り幅に1行で収まるよう縮小。14px未満になる幅ではHTML内のZWSP位置で改行 */
.value-card h3 { font-size: clamp(14px, (100cqi - var(--value-icon-space)) / 15.4, var(--value-heading-max)); word-break: keep-all; overflow-wrap: anywhere; }
.value-card p { grid-column: 1 / -1; margin-top: 14px; color: var(--muted); font-size: calc(14.5px + var(--font-increase)); line-height: 1.8; }
.course-contact { padding: 96px 0; background: var(--hero-background); border-top: 1px solid #161616; text-align: center; }
.course-contact h2 { margin: 0; font-size: calc(36px + var(--font-increase)); line-height: 1.5; }
.course-contact p { max-width: 720px; margin: 18px auto 0; color: var(--muted); font-size: calc(15px + var(--font-increase)); line-height: 2; }
.contact-button { display: inline-flex; align-items: center; justify-content: center; max-width: 100%; min-height: 58px; margin-top: 40px; padding: 17px 38px; border-radius: 8px; background: var(--mint); color: #06231a; font-size: calc(16px + var(--font-increase)); font-weight: 800; line-height: 1.5; text-align: center; }
.contact-button:hover { background: #00e6ac; text-decoration: none; }
.contact-button:focus-visible { outline-color: #fff; }

.section-alt .card { box-shadow: 0 4px 20px rgba(13, 13, 13, .04); }
.section-alt .icon-circle { background: var(--green-surface); }
.section-alt .schedule { border-color: var(--service-green); }
.section-alt .schedule-grid li { background: #fff; }

@media (min-width: 768px) and (max-width: 1100px) {
  .hero-layout { gap: 32px; }
  h1 { font-size: calc(40px + var(--font-increase)); }
  .about-layout { gap: 48px; }
  .challenge-layout { grid-template-columns: minmax(0, 1fr) 40px minmax(0, 1fr); gap: 24px; }
  .challenge-arrow { width: 40px; height: 40px; }
  .module-heading { gap: 12px; }
  .schedule-grid { gap: 16px; }
  .schedule-grid li { padding: 20px; }
  .detail-card { padding-inline: 16px; }
  .value-grid { gap: 20px; }
  .value-card { --value-heading-max: 18px; --value-icon-space: 42px; column-gap: 10px; padding: 24px 16px; }
  .value-card .icon-circle { width: 32px; height: 32px; font-size: 18px; }
}

@media (max-width: 767px) {
  .container { padding-inline: 16px; }
  .hero { min-height: auto; padding: 48px 0; }
  .hero-layout { grid-template-columns: 1fr; grid-template-areas: "copy" "figure" "badges"; gap: 30px; }
  h1 { font-size: calc(32px + var(--font-increase)); }
  .course-label { font-size: calc(11px + var(--font-increase)); }
  .hero-description { margin-top: 24px; font-size: calc(15px + var(--font-increase)); line-height: 1.8; }
  .aws-link { font-size: calc(14px + var(--font-increase)); }
  .hero-figure { width: 100%; max-width: 480px; aspect-ratio: 1; margin-block: 0; justify-self: center; }
  .hero-badges { gap: 12px; }
  .badge { gap: 10px; padding: 9px 14px; min-height: 56px; border-width: 2px; }
  .badge span { font-size: calc(12px + var(--font-increase)); }
  .badge strong { font-size: calc(12px + var(--font-increase)); }
  .badge > i { font-size: 19px; }
  section:not(.hero):not(.course-contact) { padding: 56px 0; }
  .section-heading { margin-bottom: 32px; }
  .eyebrow { font-size: calc(11px + var(--font-increase)); }
  h2 { font-size: calc(28px + var(--font-increase)); line-height: 1.45; }
  .section-heading > p { margin-top: 10px; font-size: calc(15px + var(--font-increase)); line-height: 1.8; }
  .card { border-radius: 12px; }
  section.challenge.section-alt { padding-block: 48px; }
  .challenge-layout { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .challenge-card { padding-top: 20px; }
  h3 { font-size: calc(19px + var(--font-increase)); line-height: 1.5; }
  .challenge-card h3 { margin-bottom: 14px; }
  .challenge-card p { line-height: 1.85; }
  .challenge-lead { font-size: calc(19px + var(--font-increase)); }
  .challenge-arrow { justify-self: center; width: 40px; height: 40px; transform: rotate(90deg); }
  .about-layout { grid-template-columns: 1fr; gap: 24px; }
  .about-copy p { font-size: calc(15px + var(--font-increase)); line-height: 1.8; }
  .topic-list { gap: 14px 22px; margin: 28px 0 0; font-size: calc(12px + var(--font-increase)); }
  .about-figure { width: 100%; max-width: 480px; justify-self: center; }
  .module-grid { grid-template-columns: 1fr; gap: 20px; }
  .module-card { padding: 18px; }
  .module-heading { align-items: flex-start; gap: 14px; margin-bottom: 20px; }
  .module-heading h3 { font-size: calc(19px + var(--font-increase)); }
  .icon-circle { width: 46px; height: 46px; font-size: 20px; }
  .module-card > p { min-height: 0; font-size: calc(14.5px + var(--font-increase)); line-height: 1.75; }
  .lesson-list { gap: 12px; margin-top: 20px; font-size: calc(14.5px + var(--font-increase)); line-height: 1.75; }
  .schedule { margin-top: 28px; padding: 18px; border-radius: 12px; }
  .schedule > h3 { font-size: calc(16px + var(--font-increase)); }
  .schedule-grid { grid-template-columns: 1fr; gap: 12px; }
  .schedule-grid li { padding: 18px; }
  .schedule-grid h4 { font-size: calc(15.5px + var(--font-increase)); }
  .schedule-grid p { font-size: calc(14.5px + var(--font-increase)); line-height: 1.75; }
  .details-grid { grid-template-columns: 1fr; gap: 12px; }
  .detail-card { padding: 18px 10px; }
  .detail-card dt { font-size: calc(14px + var(--font-increase)); }
  .detail-card dd strong { font-size: calc(22px + var(--font-increase)); }
  .detail-card dd .compact-value { font-size: calc(16px + var(--font-increase)); }
  .detail-card dd span { margin-top: 5px; font-size: calc(12px + var(--font-increase)); }
  .detail-card .icon-circle { width: 42px; height: 42px; font-size: 17px; }
  .tools-card dd { margin-top: 20px; }
  .tools-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 12px; }
  .tools-card .tool-link { gap: 10px; font-size: calc(12px + var(--font-increase)); }
  .tool-link img { width: 56px; height: 56px; }
  .tools-note { font-size: calc(10px + var(--font-increase)); }
  .customization-note { margin-top: 24px; padding: 12px 16px; font-size: calc(12px + var(--font-increase)); line-height: 1.8; }
  .value-grid { grid-template-columns: 1fr; gap: 20px; }
  .value-card { --value-heading-max: calc(19px + var(--font-increase)); padding: 18px; }
  .value-card p { margin-top: 10px; font-size: calc(14.5px + var(--font-increase)); line-height: 1.75; }
  .course-contact { padding: 56px 0; }
  .course-contact h2 { font-size: calc(28px + var(--font-increase)); line-height: 1.45; text-wrap: balance; }
  .course-contact p { margin-top: 16px; font-size: calc(15px + var(--font-increase)); line-height: 1.8; }
  .contact-button { min-height: 56px; margin-top: 28px; padding: 14px 30px; font-size: calc(15px + var(--font-increase)); }
}

@media (max-width: 359px) {
  h1 { font-size: calc(28px + var(--font-increase)); }
  h2, .course-contact h2 { font-size: calc(25px + var(--font-increase)); }
  .hero-badges { gap: 10px; }
  .badge { padding-inline: 12px; }
  .module-heading h3 { font-size: calc(17px + var(--font-increase)); }
  .module-heading .no-break { display: inline; white-space: normal; }
  .detail-card dd strong { font-size: calc(18px + var(--font-increase)); }
  .detail-card dd .compact-value { font-size: calc(14px + var(--font-increase)); }
  .value-card { --value-heading-max: calc(17px + var(--font-increase)); }
}
}

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