:root {
  --navy-950: #071a2d;
  --navy-900: #0b2947;
  --navy-800: #123d65;
  --blue-600: #1871bd;
  --blue-100: #dceeff;
  --ice-100: #edf6fc;
  --ice-50: #f7fbfe;
  --white: #ffffff;
  --ink: #152638;
  --muted: #5a6a7b;
  --line: #dbe5ee;
  --gold: #f1c86c;
  --shadow: 0 18px 45px rgba(7, 26, 45, .09);
  --radius: 18px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 88px; }
body { margin: 0; color: var(--ink); background: var(--white); font-family: "Noto Sans JP", "Yu Gothic", "Hiragino Kaku Gothic ProN", system-ui, sans-serif; line-height: 1.75; }
a { color: inherit; }
button, a { -webkit-tap-highlight-color: transparent; }
button { font: inherit; }
.skip-link { position: absolute; left: 12px; top: -60px; padding: 10px 14px; background: var(--white); color: var(--navy-900); z-index: 100; }
.skip-link:focus { top: 12px; }

.site-header { position: sticky; top: 0; z-index: 50; min-height: 76px; padding: 12px clamp(18px, 5vw, 72px); display: grid; grid-template-columns: minmax(210px, 1fr) auto auto; gap: clamp(16px, 3vw, 36px); align-items: center; background: rgba(255,255,255,.95); border-bottom: 1px solid rgba(219,229,238,.9); backdrop-filter: blur(14px); }
.brand { display: flex; flex-direction: column; text-decoration: none; line-height: 1.25; }
.brand span { color: var(--blue-600); font-size: .66rem; font-weight: 700; letter-spacing: .18em; }
.brand strong { margin-top: 4px; font-size: .98rem; }
.main-navigation { display: flex; gap: clamp(15px, 2vw, 28px); }
.main-navigation a { font-size: .82rem; text-decoration: none; white-space: nowrap; }
.main-navigation a:hover, .main-navigation a:focus-visible { color: var(--blue-600); }
.header-cta { padding: 10px 17px; background: var(--navy-900); color: var(--white); border-radius: 999px; font-size: .8rem; font-weight: 700; text-decoration: none; white-space: nowrap; }
.menu-button { display: none; }

.hero { position: relative; min-height: 720px; padding: clamp(70px, 9vw, 120px) clamp(24px, 8vw, 120px); display: flex; align-items: center; background-image: linear-gradient(90deg, rgba(7,26,45,.92) 0%, rgba(7,26,45,.78) 38%, rgba(7,26,45,.28) 68%, rgba(7,26,45,.12) 100%), url("focus-first-portal-illustration.png"); background-position: center; background-size: cover; background-attachment: fixed; overflow: hidden; isolation: isolate; }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(7,26,45,.08), rgba(7,26,45,.48)); pointer-events: none; }
.hero-copy { width: min(760px, 100%); padding: clamp(28px, 4vw, 52px); color: var(--white); background: linear-gradient(135deg, rgba(7,26,45,.82), rgba(11,41,71,.56)); border: 1px solid rgba(255,255,255,.26); border-radius: 26px; box-shadow: 0 28px 80px rgba(0,0,0,.28); backdrop-filter: blur(14px); }
.eyebrow { margin: 0 0 12px; color: var(--blue-600); font-size: .73rem; font-weight: 700; letter-spacing: .18em; }
.hero .eyebrow { color: #9ed2ff; }
.hero h1 { margin: 0; max-width: 820px; color: var(--white); font-size: clamp(2.6rem, 6vw, 5.1rem); font-weight: 700; letter-spacing: -.045em; line-height: 1.18; text-shadow: 0 3px 22px rgba(0,0,0,.32); }
.hero-intro { max-width: 700px; margin: 26px 0 0; color: #f6fbff; font-size: clamp(1rem, 1.7vw, 1.18rem); font-weight: 700; }
.hero-description { max-width: 660px; margin: 13px 0 0; color: #d6e5f2; font-size: clamp(.96rem, 1.6vw, 1.08rem); }
.hero-benefits { margin: 24px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 9px; list-style: none; }
.hero-benefits li { padding: 7px 12px; color: #f9fcff; background: rgba(255,255,255,.11); border: 1px solid rgba(255,255,255,.22); border-radius: 999px; font-size: .75rem; font-weight: 700; backdrop-filter: blur(6px); }
.button-row { margin-top: 30px; display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.button { min-height: 48px; padding: 11px 20px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid transparent; border-radius: 999px; font-weight: 700; font-size: .9rem; text-decoration: none; cursor: pointer; }
.button.primary { background: var(--navy-900); color: var(--white); }
.button.primary:hover { background: var(--blue-600); }
.hero .button.primary { background: var(--gold); color: var(--navy-950); box-shadow: 0 10px 28px rgba(0,0,0,.18); }
.hero .button.primary:hover { background: #ffe09a; }
.button.secondary { background: rgba(255,255,255,.68); color: var(--navy-900); border-color: var(--navy-800); }
.hero .button.secondary { background: rgba(255,255,255,.1); color: var(--white); border-color: rgba(255,255,255,.65); }
.hero .button.secondary:hover { background: rgba(255,255,255,.2); }
.subtle-link { display: inline-block; margin-top: 22px; color: var(--navy-800); font-size: .86rem; }
.hero .subtle-link { color: #d7eaff; }

.section { padding: clamp(72px, 9vw, 120px) clamp(22px, 8vw, 120px); }
.section-light { background: var(--white); }
.section-tint { background: var(--ice-100); }
.section-heading { max-width: 760px; margin: 0 auto 42px; text-align: center; }
.section-heading h2, .training-section h2, .book-copy h2 { margin: 0; color: var(--navy-950); font-size: clamp(2rem, 4vw, 3.5rem); line-height: 1.3; letter-spacing: -.035em; }
.section-heading > p:last-child { margin: 16px auto 0; color: var(--muted); }

.starter-grid, .article-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; max-width: 1240px; margin-inline: auto; }
.starter-card { position: relative; min-height: 320px; padding: 28px; display: flex; flex-direction: column; background: var(--ice-50); border-top: 4px solid var(--blue-600); border-radius: 0 0 var(--radius) var(--radius); }
.step-number { position: absolute; top: 16px; right: 20px; color: rgba(18,61,101,.11); font-size: 3.6rem; font-weight: 800; line-height: 1; }
.article-image-link { position: relative; z-index: 2; margin: 0 0 20px; display: block; overflow: hidden; background: var(--ice-100); border: 1px solid var(--line); border-radius: 12px; }
.article-image-link img { display: block; width: 100%; aspect-ratio: 16 / 9; object-fit: contain; transition: transform .2s ease; }
.article-image-link:hover img { transform: scale(1.02); }
.article-meta { position: relative; z-index: 1; display: flex; flex-wrap: wrap; gap: 8px; color: var(--blue-600); font-size: .72rem; font-weight: 700; letter-spacing: .04em; }
.article-meta span + span::before { content: "・"; margin-right: 8px; }
.starter-card h3, .article-card h3 { margin: 20px 0 12px; color: var(--navy-950); font-size: 1.22rem; line-height: 1.55; }
.starter-card p, .article-card p { margin: 0 0 24px; color: var(--muted); font-size: .9rem; }
.article-read-link { margin-top: auto; color: var(--blue-600); font-size: .86rem; font-weight: 700; }

.filter-bar { max-width: 1120px; margin: 0 auto 18px; display: flex; justify-content: center; gap: 8px; flex-wrap: wrap; }
.filter-button { padding: 9px 15px; color: var(--navy-800); background: var(--white); border: 1px solid var(--line); border-radius: 999px; font-size: .78rem; cursor: pointer; }
.filter-button:hover, .filter-button:focus-visible, .filter-button.active { background: var(--navy-900); color: var(--white); border-color: var(--navy-900); }
.article-status { min-height: 28px; margin: 0 auto 24px; color: var(--muted); text-align: center; font-size: .82rem; }
.article-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.article-card { min-height: 310px; padding: 26px; display: flex; flex-direction: column; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: transform .18s ease, box-shadow .18s ease; }
.article-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.centered-action { margin-top: 34px; text-align: center; }
.dark-text { color: var(--navy-900); }

.book-section { padding: clamp(72px, 10vw, 130px) clamp(28px, 12vw, 180px); display: grid; grid-template-columns: minmax(220px, 330px) minmax(0, 1fr); gap: clamp(45px, 8vw, 110px); align-items: center; color: var(--white); background: linear-gradient(135deg, var(--navy-800), var(--navy-950)); }
.book-visual { margin: 0; }
.book-cover-image { display: block; width: 100%; height: auto; box-shadow: 0 28px 60px rgba(0,0,0,.35); transform: rotate(-2deg); }
.eyebrow.light { color: #9ed2ff; }
.book-copy h2 { color: var(--white); }
.book-copy > p:not(.eyebrow):not(.affiliate-note) { max-width: 700px; color: #d2dde8; }
.book-copy dl { margin: 28px 0; font-size: .88rem; }
.book-copy dl > div { display: grid; grid-template-columns: 74px 1fr; padding: 7px 0; border-bottom: 1px solid rgba(255,255,255,.12); }
.book-copy dt { color: #9fb4c7; }
.book-copy dd { margin: 0; }
.book-primary { background: var(--white); color: var(--navy-900); }
.book-secondary { color: var(--white); border-color: rgba(255,255,255,.7); }
.text-link-light { color: var(--white); font-size: .86rem; }
.affiliate-note { margin-top: 24px; color: #9fb4c7; font-size: .7rem; }

.training-section { padding: clamp(70px, 9vw, 110px) 24px; text-align: center; background: var(--ice-100); }
.training-section > p:not(.eyebrow) { max-width: 760px; margin: 18px auto; color: var(--muted); }
.training-section ul { margin: 24px auto 30px; padding: 0; display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 24px; list-style: none; font-size: .86rem; }
.training-section li::before { content: "✓"; margin-right: 7px; color: var(--blue-600); font-weight: 800; }

.operator-section { padding: clamp(70px, 9vw, 110px) clamp(22px, 8vw, 120px); background: var(--white); }
.operator-card { max-width: 980px; margin: 0 auto; padding: clamp(28px, 5vw, 54px); display: grid; grid-template-columns: minmax(180px, 250px) minmax(0, 1fr); gap: clamp(30px, 6vw, 64px); align-items: center; background: var(--ice-50); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
.operator-portrait { display: block; width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--white); border-radius: 50%; border: 6px solid var(--white); box-shadow: 0 14px 34px rgba(7, 26, 45, .12); }
.operator-copy h2 { margin: 0; color: var(--navy-950); font-size: clamp(1.8rem, 3vw, 2.7rem); line-height: 1.3; }
.operator-copy h3 { margin: 14px 0 18px; color: var(--navy-900); font-size: clamp(1.15rem, 2vw, 1.45rem); }
.operator-copy h3 span { font-size: .78em; font-weight: 500; }
.operator-copy p { margin: 10px 0; color: var(--muted); }
.operator-copy .button { margin-top: 16px; }
.site-disclosure { max-width: 980px; margin: 22px auto 0; color: var(--muted); font-size: .72rem; text-align: center; }

.site-footer { padding: 46px clamp(24px, 7vw, 100px); display: grid; grid-template-columns: 1fr 1.5fr auto; gap: 30px; align-items: center; color: #d1dde9; background: var(--navy-950); font-size: .78rem; }
.site-footer p { margin: 4px 0 0; color: #91a6b9; }
.site-footer nav { display: flex; justify-content: center; flex-wrap: wrap; gap: 10px 20px; }
.site-footer nav a { color: #d1dde9; text-decoration: none; }
.footer-meta { text-align: right; }
.copyright { white-space: nowrap; }
.last-updated { white-space: nowrap; }

:focus-visible { outline: 3px solid var(--gold); outline-offset: 3px; }
[hidden] { display: none !important; }

@media (max-width: 960px) {
  .site-header { grid-template-columns: 1fr auto auto; }
  .menu-button { display: inline-flex; padding: 8px 12px; background: var(--white); color: var(--navy-900); border: 1px solid var(--line); border-radius: 999px; }
  .main-navigation { position: absolute; top: 75px; left: 18px; right: 18px; padding: 20px; display: none; flex-direction: column; gap: 14px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow); }
  .main-navigation.open { display: flex; }
  .hero { min-height: 680px; background-attachment: scroll; background-position: 56% center; }
  .starter-grid, .article-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .site-footer { grid-template-columns: 1fr; text-align: center; }
  .footer-meta { text-align: center; }
}

@media (max-width: 680px) {
  html { scroll-padding-top: 70px; }
  .site-header { min-height: 68px; padding: 10px 14px; gap: 8px; }
  .brand span { font-size: .56rem; }
  .brand strong { font-size: .78rem; }
  .header-cta { display: none; }
  .hero { min-height: auto; padding: 62px 18px 68px; background-position: 58% center; }
  .hero-copy { padding: 28px 22px; border-radius: 20px; backdrop-filter: blur(10px); }
  .hero h1 { font-size: clamp(2.5rem, 13vw, 4rem); }
  .section { padding: 72px 20px; }
  .section-heading { margin-bottom: 30px; }
  .starter-grid, .article-grid { grid-template-columns: 1fr; }
  .starter-card, .article-card { min-height: auto; }
  .book-section { padding: 74px 26px; grid-template-columns: 1fr; }
  .book-visual { width: min(70vw, 250px); margin: 0 auto; }
  .button-row .button { width: 100%; }
  .text-link-light { width: 100%; text-align: center; }
  .book-copy dl > div { grid-template-columns: 65px 1fr; }
  .operator-card { grid-template-columns: 1fr; text-align: center; }
  .operator-portrait { width: min(62vw, 220px); margin: 0 auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition: none !important; }
}
