:root {
  --kitt-blue: #173b67;
  --kitt-blue-dark: #102a4a;
  --kitt-yellow: #f2c94c;
  --kitt-yellow-soft: #fff7d6;
  --kitt-blue-soft: #eef5fb;
  --kitt-cream: #fffdf7;
  --kitt-white: #ffffff;
  --kitt-text: #263442;
  --kitt-muted: #627080;
  --kitt-border: #dbe4ec;
  --kitt-shadow: 0 16px 40px rgba(16, 42, 74, 0.1);
  --kitt-radius-large: 28px;
  --kitt-radius-medium: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--kitt-text);
  background: var(--kitt-white);
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Yu Gothic",
    "Meiryo",
    sans-serif;
  font-size: 17px;
  line-height: 1.9;
  letter-spacing: 0.02em;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
}

p {
  margin: 0 0 1.35em;
}

h1,
h2,
h3 {
  margin-top: 0;
  color: var(--kitt-blue-dark);
  line-height: 1.45;
  letter-spacing: 0.01em;
}

h1 {
  margin-bottom: 26px;
  font-size: clamp(2rem, 4.8vw, 3.65rem);
}

h2 {
  margin-bottom: 30px;
  font-size: clamp(1.65rem, 3.2vw, 2.45rem);
}

h3 {
  font-size: 1.15rem;
}

.container {
  width: min(1120px, calc(100% - 40px));
  margin-inline: auto;
}

.narrow {
  max-width: 820px;
}

.skip-link {
  position: fixed;
  top: 10px;
  left: 10px;
  z-index: 1000;
  padding: 10px 16px;
  color: var(--kitt-white);
  background: var(--kitt-blue);
  border-radius: 8px;
  transform: translateY(-160%);
}

.skip-link:focus {
  transform: translateY(0);
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--kitt-border);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 84px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  text-decoration: none;
}

.brand-logo {
  width: 56px;
  height: 56px;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  line-height: 1.35;
}

.brand-copy strong {
  color: var(--kitt-blue);
  font-size: 1.22rem;
}

.brand-copy small {
  margin-top: 3px;
  color: var(--kitt-muted);
  font-size: 0.76rem;
}

.status-badge {
  padding: 7px 15px;
  color: var(--kitt-blue-dark);
  background: var(--kitt-yellow);
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.hero {
  overflow: hidden;
  padding: 92px 0;
  background:
    radial-gradient(
      circle at 90% 5%,
      rgba(242, 201, 76, 0.32),
      transparent 32%
    ),
    linear-gradient(
      145deg,
      var(--kitt-cream),
      var(--kitt-blue-soft)
    );
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) minmax(280px, 0.75fr);
  align-items: center;
  gap: 72px;
}

.eyebrow {
  margin-bottom: 14px;
  color: var(--kitt-blue);
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.hero-lead {
  max-width: 760px;
  margin-bottom: 28px;
  font-size: 1.08rem;
}

.preparing-message {
  display: inline-flex;
  padding: 14px 20px;
  color: var(--kitt-blue-dark);
  background: var(--kitt-yellow-soft);
  border: 1px solid var(--kitt-yellow);
  border-radius: 12px;
  font-weight: 700;
}

.hero-panel {
  padding: 42px 34px;
  text-align: center;
  background: var(--kitt-white);
  border: 1px solid rgba(23, 59, 103, 0.1);
  border-radius: var(--kitt-radius-large);
  box-shadow: var(--kitt-shadow);
}

.hero-logo {
  width: 150px;
  margin: 0 auto 24px;
}

.hero-panel-main {
  margin-bottom: 18px;
  color: var(--kitt-blue);
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.6;
}

.hero-panel p:last-child {
  margin-bottom: 0;
  color: var(--kitt-muted);
  font-size: 0.94rem;
}

.section {
  padding: 92px 0;
}

.section-soft {
  background: var(--kitt-blue-soft);
}

.section-blue {
  color: var(--kitt-white);
  background: var(--kitt-blue);
}

.section-blue h2,
.section-blue h3,
.section-blue .eyebrow {
  color: var(--kitt-white);
}

.section-heading {
  max-width: 780px;
  margin: 0 auto 45px;
  text-align: center;
}

.intro-text,
.closing-text {
  max-width: 850px;
  margin-inline: auto;
  text-align: center;
}

.quote-box {
  margin: 34px 0;
  padding: 28px 30px;
  background: var(--kitt-yellow-soft);
  border-left: 6px solid var(--kitt-yellow);
  border-radius:
    0
    var(--kitt-radius-medium)
    var(--kitt-radius-medium)
    0;
}

.quote-box p {
  color: var(--kitt-blue-dark);
  font-weight: 700;
}

.quote-box p:last-child {
  margin-bottom: 0;
}

.key-message {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 34px;
  padding: 34px;
  text-align: center;
  background: var(--kitt-white);
  border-radius: var(--kitt-radius-medium);
  box-shadow: var(--kitt-shadow);
}

.key-message strong {
  color: var(--kitt-blue);
  font-size: 1.4rem;
}

.value-grid,
.target-grid {
  margin: 0;
  padding: 0;
  list-style: none;
}

.value-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}

.value-grid li {
  min-height: 210px;
  padding: 28px 22px;
  background: var(--kitt-white);
  border: 1px solid var(--kitt-border);
  border-radius: var(--kitt-radius-medium);
  box-shadow: 0 8px 24px rgba(20, 48, 78, 0.06);
}

.value-grid strong {
  display: block;
  margin-bottom: 15px;
  color: var(--kitt-blue);
  font-size: 1.06rem;
}

.value-grid span {
  color: var(--kitt-muted);
  font-size: 0.93rem;
}

.target-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
  margin: 42px 0;
}

.target-grid article {
  padding: 26px 22px;
  color: var(--kitt-text);
  background: var(--kitt-white);
  border-radius: var(--kitt-radius-medium);
}

.target-grid article p {
  margin-bottom: 0;
  color: var(--kitt-muted);
  font-size: 0.92rem;
}

.difficulty-note {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  margin: 36px 0;
}

.difficulty-note > div {
  padding: 30px;
  background: var(--kitt-blue-soft);
  border-radius: var(--kitt-radius-medium);
}

.difficulty-note > div:first-child {
  background: #f4f5f6;
}

.difficulty-note p {
  margin-bottom: 0;
}

.preparation-section {
  text-align: center;
  background:
    linear-gradient(
      145deg,
      var(--kitt-yellow-soft),
      var(--kitt-cream)
    );
}

.closing-brand {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  margin-top: 30px;
  padding: 20px 26px;
  text-align: left;
  background: var(--kitt-white);
  border-radius: var(--kitt-radius-medium);
  box-shadow: var(--kitt-shadow);
}

.closing-brand img {
  width: 70px;
}

.closing-brand div {
  display: flex;
  flex-direction: column;
}

.closing-brand strong {
  color: var(--kitt-blue);
  font-size: 1.4rem;
}

.closing-brand span {
  color: var(--kitt-muted);
  font-size: 0.9rem;
}

.site-footer {
  padding: 48px 0;
  color: rgba(255, 255, 255, 0.84);
  background: var(--kitt-blue-dark);
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.footer-inner strong {
  color: var(--kitt-white);
  font-size: 1.2rem;
}

.footer-inner p {
  margin: 8px 0 0;
  font-size: 0.9rem;
}

.operator {
  white-space: nowrap;
}

@media (max-width: 980px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-panel {
    max-width: 560px;
    margin-inline: auto;
  }

  .value-grid,
  .target-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  body {
    font-size: 16px;
    line-height: 1.85;
  }

  .container {
    width: min(100% - 28px, 1120px);
  }

  .header-inner {
    min-height: 72px;
  }

  .brand-logo {
    width: 46px;
    height: 46px;
  }

  .brand-copy small {
    display: none;
  }

  .status-badge {
    padding: 6px 11px;
    font-size: 0.74rem;
  }

  .hero {
    padding: 68px 0;
  }

  .hero h1 br,
  .section h2 br {
    display: none;
  }

  .section {
    padding: 68px 0;
  }

  .hero-panel {
    padding: 34px 24px;
  }

  .value-grid,
  .target-grid,
  .difficulty-note {
    grid-template-columns: 1fr;
  }

  .value-grid li {
    min-height: auto;
  }

  .quote-box,
  .key-message,
  .difficulty-note > div {
    padding: 24px 20px;
  }

  .closing-brand {
    width: 100%;
    justify-content: center;
    padding: 18px;
  }

  .footer-inner {
    flex-direction: column;
    gap: 22px;
  }
}


/* KITT LP: controlled heading wraps */

/*
 * H1は意味のまとまりごとに改行する。
 * 日本語の単語途中では折り返さない。
 */
.hero h1 {
  font-size: clamp(2rem, 4vw, 2.85rem);
  line-height: 1.45;
}

.h1-line {
  display: block;
  white-space: nowrap;
}

.h1-line-1 {
  white-space: normal;
}

.h1-line-1 > span {
  display: inline-block;
  white-space: nowrap;
}

/*
 * 「準備中です」を途中で分割しない。
 */
.keep-together {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .hero h1 {
    font-size: clamp(1.6rem, 8vw, 2.05rem);
  }

  .h1-line-1 > span {
    display: block;
  }
}


/* KITT LP: balanced mobile headings */

.mobile-balanced-heading > span {
  display: inline;
}

@media (max-width: 680px) {
  .mobile-balanced-heading > span {
    display: block;
    white-space: nowrap;
  }
}


/* KITT LP: final audit fixes */

/*
 * 日本語の禁則処理を強め、
 * 対応ブラウザでは不自然な一文字落ちも抑える。
 */
.narrow > h2,
.value-grid li,
.target-grid article {
  line-break: strict;
  text-wrap: pretty;
}

/*
 * PCでは5枚を「3枚＋中央寄せ2枚」にする。
 */
@media (min-width: 981px) {
  .value-grid,
  .target-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }

  .value-grid > :nth-child(-n + 3),
  .target-grid > :nth-child(-n + 3) {
    grid-column: span 2;
  }

  .value-grid > :nth-child(4),
  .target-grid > :nth-child(4) {
    grid-column: 2 / span 2;
  }

  .value-grid > :nth-child(5),
  .target-grid > :nth-child(5) {
    grid-column: 4 / span 2;
  }

  .value-grid li {
    min-height: 170px;
  }
}

/*
 * 紺背景内の白カード本文を少し濃くする。
 */
.section-blue .target-grid article p {
  color: var(--kitt-text);
}

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