@charset "UTF-8";
/* =============================================================
   ビジネスパーソンのためのDX入門講座ページ固有CSS (/dx-intro/)
   ============================================================= */

:root {
  --ink: #152027;
  --muted: #5b6770;
  --line: #dbe5e8;
  --surface: #ffffff;
  --soft: #f4f8f8;
  --navy: #0b3954;
  --teal: #0f8b8d;
  --coral: #f25f5c;
  --gold: #f7c948;
  --shadow: 0 24px 60px rgba(11, 57, 84, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family:
    "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP",
    system-ui, sans-serif;
  line-height: 1.75;
  background: var(--soft);
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 14px clamp(20px, 4vw, 56px);
  background: rgba(244, 248, 248, 0.92);
  border-bottom: 1px solid rgba(219, 229, 232, 0.85);
  backdrop-filter: blur(16px);
}

.brand,
.nav,
.hero-actions,
.hero-stats,
.trust-strip {
  display: flex;
  align-items: center;
}

.brand {
  gap: 10px;
  font-weight: 800;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  font-size: 0.95rem;
  letter-spacing: 0;
}

.nav {
  gap: 22px;
  color: var(--muted);
  font-size: 0.94rem;
  font-weight: 700;
}

.nav a {
  white-space: nowrap;
}

.nav-cta {
  color: #fff;
  background: var(--teal);
  padding: 9px 14px;
  border-radius: 8px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(320px, 0.78fr);
  gap: clamp(30px, 5vw, 72px);
  align-items: center;
  width: min(1180px, calc(100% - 40px));
  min-height: calc(100svh - 72px);
  margin: 0 auto;
  padding: clamp(34px, 6vw, 78px) 0 40px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--teal);
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.prompt-card .eyebrow {
  color: var(--teal);
}

.curriculum .section-heading .eyebrow {
  color: var(--teal);
}

h1,
h2,
h3,
p {
  overflow-wrap: anywhere;
}

h1,
h2,
h3 {
  margin: 0;
  line-height: 1.25;
  letter-spacing: 0;
}

h1 {
  max-width: 12.5em;
  font-size: clamp(2.35rem, 5vw, 5.1rem);
}

h2 {
  font-size: clamp(1.75rem, 3.2vw, 3rem);
}

h3 {
  font-size: 1.08rem;
}

.lead {
  max-width: 680px;
  margin: 26px 0 0;
  color: var(--muted);
  font-size: clamp(1.02rem, 1.8vw, 1.25rem);
}

.hero-actions {
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.3;
}

.button.primary {
  color: #fff;
  background: var(--navy);
}

.button.secondary {
  color: var(--navy);
  background: #fff;
  border-color: var(--line);
}

.button.light {
  background: #fff;
  color: var(--navy);
}

.button.primary.light {
  background: #fff;
  color: var(--navy);
  width: fit-content;
  margin: 0 auto;
  display: block;
  text-align: center;
}

.hero-stats {
  align-items: stretch;
  flex-wrap: wrap;
  gap: 10px;
  padding: 0;
  margin: 36px 0 0;
}

.hero-stats div {
  min-width: 148px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.hero-stats dt {
  font-size: 1.35rem;
  font-weight: 900;
  line-height: 1.2;
}

.hero-stats dd {
  margin: 6px 0 0;
  color: var(--muted);
  font-size: 0.88rem;
}

.hero-visual svg {
  display: block;
  width: 100%;
  height: auto;
  filter: drop-shadow(var(--shadow));
}

.trust-strip {
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  width: min(1180px, calc(100% - 40px));
  margin: -4px auto 0;
  padding-bottom: 54px;
}

.trust-strip span {
  padding: 8px 13px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 0.9rem;
  font-weight: 700;
}

.section {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(52px, 8vw, 92px) 0;
}

.split {
  display: grid;
  grid-template-columns: minmax(260px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(24px, 5vw, 70px);
  border-top: 1px solid var(--line);
}

.overview-text {
  color: var(--muted);
  font-size: 1.05rem;
}

.overview-text p {
  margin: 0 0 18px;
}

.outcomes {
  border-top: 1px solid var(--line);
}

.outcome-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 30px;
}

.outcome-grid article,
.recommended,
.prompt-card,
.lesson-panel,
.lesson-summary,
.chapter-start {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 34px rgba(11, 57, 84, 0.06);
}

.outcome-grid article {
  padding: 24px;
}

.icon {
  display: inline-grid;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  place-items: center;
  color: #fff;
  background: var(--coral);
  border-radius: 8px;
  font-weight: 900;
}

.outcome-grid p,
.section-heading p,
.module p,
.prompt-card p,
.recommended li,
.final-cta p,
.lesson-panel p,
.chapter-start p,
.lesson-card-row p {
  color: var(--muted);
}

.curriculum {
  border-top: 1px solid var(--line);
}

.section-heading {
  max-width: 760px;
}

.timeline {
  display: grid;
  gap: 14px;
  margin-top: 34px;
}

.module {
  display: grid;
  grid-template-columns: 190px 1fr;
  gap: 22px;
  padding: 24px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.module.highlight {
  border-color: rgba(15, 139, 141, 0.55);
  box-shadow: 0 18px 44px rgba(15, 139, 141, 0.12);
}

.module-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.module-meta span {
  color: var(--teal);
}

.module-meta strong {
  color: var(--navy);
  font-size: 1.25rem;
}

.module-body p {
  margin: 10px 0 0;
}

.prompt-card {
  display: grid;
  grid-template-columns: minmax(260px, 0.8fr) minmax(320px, 1.2fr);
  gap: clamp(24px, 5vw, 60px);
  align-items: center;
  padding: clamp(24px, 5vw, 48px);
}

.prompt-visual {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.prompt-visual span {
  display: grid;
  min-height: 92px;
  place-items: center;
  color: #fff;
  background: var(--navy);
  border-radius: 8px;
  font-weight: 900;
}

.prompt-visual span:nth-child(2) {
  background: var(--teal);
}

.prompt-visual span:nth-child(3) {
  background: var(--coral);
}

.prompt-visual span:nth-child(4) {
  color: var(--ink);
  background: var(--gold);
}

.recommended {
  padding: clamp(28px, 5vw, 48px);
}

/* 419〜443：recommended-contentのスタイルを追加 */
.recommended-content {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 40px;
  align-items: center;
}

.recommended-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
}

/* スマホ対応 */
@media (max-width: 880px) {
  .recommended-content {
    grid-template-columns: 1fr;
  }

  .recommended-image {
    order: -1;
  }
}

.check-list {
  display: grid;
  gap: 14px;
  padding: 0;
  margin: 28px 0 0;
  list-style: none;
}

.check-list li {
  position: relative;
  padding-left: 34px;
}

.check-list li::before {
  position: absolute;
  left: 0;
  top: 0.28em;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  content: "✓";
  color: #fff;
  background: var(--teal);
  border-radius: 50%;
  font-size: 0.78rem;
  font-weight: 900;
}

.final-cta {
  width: min(1180px, calc(100% - 40px));
  margin: 0 auto 44px;
  padding: clamp(34px, 6vw, 62px);
  color: #fff;
  background:
    linear-gradient(rgba(11, 57, 84, 0.92), rgba(11, 57, 84, 0.92)),
    repeating-linear-gradient(135deg, #0f8b8d 0 12px, #f25f5c 12px 24px);
  border-radius: 8px;
}

.final-cta .eyebrow,
.final-cta p {
  color: rgba(255, 255, 255, 0.82);
}

.final-cta p {
  max-width: 720px;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 26px clamp(20px, 4vw, 56px);
  color: var(--muted);
  border-top: 1px solid var(--line);
}

.footer p {
  margin: 0;
}

.footer a {
  color: var(--navy);
  font-weight: 800;
}

.start-main {
  width: min(1040px, calc(100% - 40px));
  margin: 0 auto;
  padding: clamp(38px, 7vw, 78px) 0;
}

.lesson-shell {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 18px;
  align-items: stretch;
}

.lesson-panel,
.lesson-summary,
.chapter-start {
  padding: clamp(24px, 5vw, 44px);
}

.lesson-panel h1 {
  font-size: clamp(2rem, 4vw, 3.8rem);
}

.lesson-progress {
  height: 12px;
  margin: 30px 0 24px;
  overflow: hidden;
  background: #e8eef0;
  border-radius: 999px;
}

.lesson-progress span {
  display: block;
  height: 100%;
  background: var(--teal);
}

.lesson-summary h2 {
  font-size: 1.2rem;
}

.lesson-summary ol {
  padding-left: 1.25rem;
  margin: 18px 0 0;
  color: var(--muted);
}

.lesson-summary li + li {
  margin-top: 10px;
}

.chapter-start {
  margin-top: 18px;
}

.chapter-start h2 {
  font-size: clamp(1.65rem, 3vw, 2.6rem);
}

.lesson-card-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-top: 26px;
}

.lesson-card-row article {
  padding: 20px;
  background: #f7fafb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

@media (max-width: 880px) {
  .site-header {
    position: static;
    align-items: flex-start;
    flex-direction: column;
    gap: 12px;
  }

  .nav {
    width: 100%;
    gap: 12px;
    flex-wrap: wrap;
    padding-bottom: 2px;
  }

  .nav a {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
  }

  .hero,
  .split,
  .prompt-card,
  .lesson-shell {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: auto;
  }

  .hero-visual {
    max-width: 560px;
  }

  .outcome-grid,
  .lesson-card-row {
    grid-template-columns: 1fr;
  }

  .module {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .site-header,
  .hero,
  .section,
  .final-cta,
  .start-main,
  .trust-strip {
    width: auto;
  }

  .hero,
  .section,
  .start-main {
    margin-right: 18px;
    margin-left: 18px;
  }

  .final-cta,
  .trust-strip {
    margin-right: 18px;
    margin-left: 18px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-stats div {
    width: 100%;
  }

  .prompt-visual {
    grid-template-columns: 1fr;
  }

  .footer {
    flex-direction: column;
  }
}
