
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
  --blue-dark: #0B3D6B;
  --blue-primary: #0066B3;
  --blue-mid: #1a7bc7;
  --blue-light: #E8F4FD;
  --blue-pale: #F3F8FC;
  --teal: #00A5A8;
  --teal-dark: #008B8E;
  --red-accent: #E03C31;
  --green-accent: #4CAF50;
  --text-primary: #1a1a2e;
  --text-secondary: #4a5568;
  --text-light: #718096;
  --white: #ffffff;
  --gray-50: #f7f8fa;
  --gray-100: #edf2f7;
  --gray-200: #e2e8f0;
  --gray-border: #dde5ed;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.08);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.1);
  --radius: 8px;
  --radius-lg: 12px;
  --max-w: 1100px;
}

html { scroll-behavior: smooth; font-size: 17px; }

/* ─── Anchor Nav (in-page) ─── */
.anchor-nav {
  position: sticky; top: 58px; z-index: 90;
  background: var(--blue-dark, #0B3D6B);
  border-bottom: 1px solid rgba(255,255,255,.12);
}
.anchor-nav .container { padding-left: 32px; padding-right: 32px; }
.anchor-list {
  list-style: none; margin: 0; padding: 0;
  display: flex; flex-wrap: wrap; gap: 4px; align-items: center;
}
.anchor-list a {
  display: inline-block; padding: 13px 18px;
  font-size: 0.86rem; font-weight: 700; color: rgba(255,255,255,.82);
  text-decoration: none; letter-spacing: .01em; white-space: nowrap;
  border-bottom: 2px solid transparent; transition: color .14s, border-color .14s, background .14s;
}
.anchor-list a:hover { color: #fff; border-bottom-color: #4FC3F7; background: rgba(255,255,255,.06); }
section[id] { scroll-margin-top: 108px; }
@media (max-width: 768px) {
  .anchor-nav { top: 54px; }
  .anchor-nav .container { padding-left: 12px; padding-right: 12px; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .anchor-list { flex-wrap: nowrap; }
  .anchor-list a { padding: 12px 13px; font-size: 0.8rem; white-space: nowrap; }
  section[id] { scroll-margin-top: 96px; }
}
body {
  font-family: 'Noto Sans JP', 'Inter', sans-serif;
  color: var(--text-primary);
  line-height: 1.8;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }

.container { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; }

/* ─── Header ─── */
.header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--gray-200);
  padding: 12px 0;
}
.header .container {
  display: flex; align-items: center; justify-content: space-between;
  max-width: 100%; padding-left: 32px; padding-right: 32px;
}
.header-logo { display: flex; align-items: center; }
.header-logo img { height: 34px; width: auto; display: block; }
.header-nav { display: flex; gap: 12px; align-items: center; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 12px 28px; border-radius: 4px; font-size: 0.95rem;
  font-weight: 600; transition: all 0.25s; cursor: pointer; border: none;
  letter-spacing: 0.02em;
}
.btn-outline {
  background: var(--white); color: var(--text-primary);
  border: 1.5px solid var(--gray-border);
}
.btn-outline:hover { border-color: var(--blue-primary); color: var(--blue-primary); }
.btn-primary { background: var(--blue-primary); color: var(--white); }
.btn-primary:hover { background: var(--blue-dark); }
.btn-white {
  background: var(--white); color: var(--blue-primary);
  border: 2px solid var(--white);
}
.btn-white:hover { background: transparent; color: var(--white); }
.btn-white-outline {
  background: transparent; color: var(--white);
  border: 2px solid rgba(255,255,255,0.7);
}
.btn-white-outline:hover { background: rgba(255,255,255,0.12); border-color: var(--white); }
.btn-lg { padding: 16px 40px; font-size: 1.05rem; border-radius: 6px; }

/* ─── Hero ─── */
.hero {
  background:
    linear-gradient(90deg, rgba(11,61,107,0.78) 0%, rgba(11,61,107,0.5) 42%, rgba(11,61,107,0.12) 72%, rgba(11,61,107,0) 100%),
    url("../img/37c1e686-cf30-45f8-815b-64b5f1ab56d7.png") center center / cover no-repeat,
    var(--blue-dark);
  color: var(--white);
  padding: 84px 0 92px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.05) 0%, transparent 30%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 1; display: flex; align-items: center; gap: 48px; min-height: 380px; }
.hero-content { flex: 1; max-width: 720px; }
.hero-badge {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 16px 40px; border: 1px solid rgba(255,255,255,0.4);
  border-radius: 6px; font-size: 1.05rem; font-weight: 500; margin-bottom: 32px;
  background: rgba(255,255,255,0.08); backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: 2.6rem; font-weight: 900; line-height: 1.5;
  margin-bottom: 24px; letter-spacing: -0.01em;
}
.hero h1 .highlight {
  color: #FFD54F; display: inline;
}
.hero-desc { font-size: 1.05rem; opacity: 0.9; line-height: 1.95; margin-bottom: 36px; }
.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

/* ─── Section common ─── */
.section { padding: 96px 0; }
.section-bg { background: var(--gray-50); }
.section-label {
  text-align: center; font-size: 0.82rem; font-weight: 700;
  letter-spacing: 0.2em; color: var(--blue-primary);
  margin-bottom: 14px; text-transform: uppercase;
}
.section-title {
  text-align: center; font-size: 2rem; font-weight: 800;
  line-height: 1.55; margin-bottom: 16px;
}
.section-title .accent { color: var(--blue-primary); }
.section-sub {
  text-align: center; font-size: 1rem; color: var(--text-secondary);
  max-width: 740px; margin: 0 auto 56px; line-height: 1.9;
}

/* ─── Threats ─── */
.threat-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 48px; }
.threat-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--gray-200);
  display: flex; gap: 24px; align-items: flex-start;
  transition: box-shadow 0.3s;
}
.threat-card:hover { box-shadow: var(--shadow-md); }
.threat-icon {
  flex: 0 0 88px; height: 88px;
  display: flex; align-items: center; justify-content: center;
}
.threat-icon img { width: 100%; height: 100%; object-fit: contain; }
.threat-num { font-size: 0.8rem; font-weight: 700; color: var(--red-accent); letter-spacing: 0.08em; margin-bottom: 6px; }
.threat-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 10px; }
.threat-card p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.8; }

/* ─── Solution ─── */
.solution-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: stretch; }
.solution-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; border: 1px solid var(--gray-200);
  display: flex; flex-direction: column;
  box-shadow: 0 2px 12px rgba(0,0,0,0.03);
}
.solution-card-header {
  padding: 28px 32px; color: var(--white);
}
.solution-card:nth-child(1) .solution-card-header { background: var(--blue-dark); }
.solution-card:nth-child(2) .solution-card-header { background: var(--teal-dark); }
.solution-card-header .label {
  font-size: 0.72rem; letter-spacing: 0.18em; opacity: 0.8;
  margin-bottom: 10px; text-transform: uppercase; font-weight: 600;
}
.solution-card-header h3 { font-size: 1.55rem; font-weight: 700; margin-bottom: 6px; line-height: 1.3; letter-spacing: 0.01em; }
.solution-card-header p { font-size: 0.86rem; opacity: 0.92; line-height: 1.6; }

.solution-card-body { padding: 28px 28px 32px; display: flex; flex-direction: column; gap: 22px; flex: 1; }

.solution-hero {
  display: flex; gap: 18px; align-items: center; padding: 4px 0 10px;
  min-height: 188px;
}
.solution-hero-text {
  flex: 1; font-size: 0.92rem; line-height: 1.85; color: var(--text-primary); font-weight: 500; text-align: left;
}
.solution-hero-img {
  flex: 0 0 200px; height: 130px;
  display: flex; align-items: center; justify-content: center;
}
.solution-hero-img img { max-width: 100%; max-height: 100%; object-fit: contain; }

.solution-pill {
  display: block; width: 100%; text-align: center;
  padding: 13px 16px; color: var(--white);
  font-weight: 700; font-size: 0.95rem; border-radius: 6px;
  letter-spacing: 0.02em;
}
.solution-card:nth-child(1) .solution-pill { background: var(--blue-dark); color: var(--white); }
.solution-card:nth-child(2) .solution-pill { background: var(--teal-dark); color: var(--white); }

.solution-diagram {
  padding: 6px 0 8px; text-align: center;
  flex: 1; display: flex; flex-direction: column;
}
.diagram-title {
  font-size: 1.12rem; font-weight: 700; margin-bottom: 14px; color: var(--text-primary); line-height: 1.5;
}
.diagram-caption {
  font-size: 0.82rem; color: var(--text-secondary); margin-bottom: 18px;
  display: inline-flex; align-items: center; gap: 8px;
}
.diagram-check {
  display: inline-flex; align-items: center; justify-content: center;
  width: 18px; height: 18px; background: var(--green-accent); color: white;
  border-radius: 50%; font-size: 11px; font-weight: 700; flex-shrink: 0;
}
.diagram-img {
  flex: 1;
  display: flex; justify-content: center; align-items: center;
}
.diagram-img img {
  max-width: 100%; height: auto;
}

.strength-title {
  display: block; width: 100%; text-align: center; padding: 13px 16px;
  font-weight: 700; font-size: 0.95rem; border-radius: 6px;
  color: var(--white); letter-spacing: 0.02em;
  margin-top: auto;
}
.solution-card:nth-child(1) .strength-title { background: var(--blue-dark); }
.solution-card:nth-child(2) .strength-title { background: var(--teal-dark); }

.strength-grid {
  list-style: none; display: grid; grid-template-columns: 1fr 1fr; gap: 18px 22px;
  margin: 6px 0 0; padding: 0;
  min-height: 360px;
  grid-auto-rows: 1fr;
}
.strength-item {
  display: flex; gap: 12px; align-items: flex-start;
}
.strength-icon {
  flex: 0 0 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
}
.strength-icon img { width: 100%; height: 100%; object-fit: contain; }
.strength-body { flex: 1; min-width: 0; }
.strength-item h4 { font-size: 0.88rem; font-weight: 700; line-height: 1.4; margin-bottom: 4px; color: var(--text-primary); }
.strength-item p { font-size: 0.74rem; color: var(--text-light); line-height: 1.55; }

.synergy-box {
  margin-top: 48px; padding: 36px; background: var(--blue-pale);
  border-radius: var(--radius-lg); display: flex; gap: 24px; align-items: flex-start;
}
.synergy-icon { font-size: 2.2rem; flex-shrink: 0; }
.synergy-box h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 10px; }
.synergy-box p { font-size: 0.95rem; color: var(--text-secondary); line-height: 1.85; }

/* ─── Benefits ─── */
.benefits-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.benefit-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 36px; border: 1px solid var(--gray-200);
  transition: box-shadow 0.3s, transform 0.3s;
  display: flex; gap: 28px; align-items: flex-start;
}
.benefit-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.benefit-icon {
  flex: 0 0 100px; height: 100px;
  display: flex; align-items: center; justify-content: center;
}
.benefit-icon img { width: 100%; height: 100%; object-fit: contain; }
.benefit-text { flex: 1; min-width: 0; }
.benefit-num { font-size: 0.78rem; font-weight: 700; color: var(--blue-primary); letter-spacing: 0.1em; margin-bottom: 8px; }
.benefit-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.benefit-card p { font-size: 0.92rem; color: var(--text-secondary); line-height: 1.85; }

/* ─── NIST Table ─── */
.nist-table-wrapper { overflow-x: auto; margin-top: 48px; border-radius: var(--radius-lg); border: 1px solid var(--gray-200); }
.nist-table {
  width: 100%; border-collapse: collapse; font-size: 0.92rem;
}
.nist-table thead th {
  padding: 16px 22px; font-weight: 700; font-size: 0.88rem;
  text-align: left; color: var(--white);
}
.nist-table thead th:nth-child(1) { background: var(--blue-dark); width: 26%; }
.nist-table thead th:nth-child(2) { background: var(--blue-primary); width: 37%; }
.nist-table thead th:nth-child(3) { background: var(--teal); width: 37%; }
.nist-table tbody td {
  padding: 16px 22px; border-bottom: 1px solid var(--gray-200);
  vertical-align: top; line-height: 1.75; color: var(--text-secondary);
}
.nist-table tbody td:first-child { font-weight: 600; color: var(--text-primary); }
.nist-table tbody tr:last-child td { border-bottom: none; }
.nist-table tbody tr:hover { background: var(--blue-pale); }

/* ─── Case Study ─── */
.case-study {
  background: var(--white); color: var(--text-primary);
  border-radius: var(--radius-lg); overflow: hidden; margin-top: 48px;
  border: 1px solid var(--gray-200);
}
.case-header { padding: 36px 40px; background: #203a72; color: var(--white); }
.case-header .label { font-size: 0.8rem; color: #14a0de; margin-bottom: 10px; font-weight: 600; }
.case-header h3 { font-size: 1.25rem; font-weight: 700; line-height: 1.65; margin-bottom: 14px; color: var(--white); }
.case-header .meta { font-size: 0.88rem; opacity: 0.85; display: flex; gap: 28px; color: rgba(255,255,255,0.85); }
.case-header .meta strong { color: #14a0de; }
.case-body { display: grid; grid-template-columns: 1fr 1fr 1fr; border-top: 1px solid var(--gray-200); }
.case-col { padding: 28px 32px; border-right: 1px solid var(--gray-200); }
.case-col:last-child { border-right: none; }
.case-col-title {
  font-size: 0.88rem; font-weight: 700; padding-left: 12px;
  border-left: 3px solid; margin-bottom: 18px;
}
.case-col:nth-child(1) .case-col-title { color: #0381cc; border-color: #0381cc; }
.case-col:nth-child(2) .case-col-title { color: #069e90; border-color: #069e90; }
.case-col:nth-child(3) .case-col-title { color: #e63946; border-color: #e63946; }
.case-col ul { list-style: none; }
.case-col li {
  font-size: 0.88rem; padding: 7px 0 7px 20px; position: relative;
  color: var(--text-secondary); line-height: 1.7;
}
.case-col li::before {
  content: '●'; position: absolute; left: 0; font-size: 0.5rem;
  top: 12px;
}
.case-col:nth-child(1) li::before { color: #0381cc; }
.case-col:nth-child(2) li::before { color: #069e90; }
.case-col:nth-child(3) li::before { color: #e63946; }

/* ─── Use Cases ─── */
.usecase-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 24px; margin-top: 40px; }
.usecase-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 32px; border: 1px solid var(--gray-200);
  border-top: 3px solid;
}
.usecase-card:nth-child(1) { border-top-color: #0381cc; }
.usecase-card:nth-child(2) { border-top-color: #069e90; }
.usecase-card:nth-child(3) { border-top-color: #e63946; }
.usecase-card h4 { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; color: #0381cc; }
.usecase-card:nth-child(2) h4 { color: #069e90; }
.usecase-card:nth-child(3) h4 { color: #e63946; }
.usecase-card .sub { font-size: 0.85rem; color: var(--text-light); margin-bottom: 16px; }
.usecase-card ul { list-style: none; }
.usecase-card li {
  font-size: 0.88rem; color: var(--text-secondary); padding: 6px 0 6px 20px;
  position: relative; line-height: 1.7;
}
.usecase-card li::before {
  content: '●'; position: absolute; left: 0; top: 7px;
  font-size: 0.45rem; color: var(--blue-primary);
}

/* ─── FAQ ─── */
.faq-list { max-width: 820px; margin: 0 auto; }
.faq-item {
  border: 1px solid var(--gray-200); border-radius: var(--radius);
  margin-bottom: 12px; overflow: hidden; background: var(--white);
}
.faq-question {
  display: flex; align-items: center; justify-content: space-between;
  padding: 20px 28px; cursor: pointer; font-weight: 600; font-size: 1rem;
  gap: 16px; transition: background 0.2s;
}
.faq-question:hover { background: var(--gray-50); }
.faq-question .q-mark { color: var(--blue-primary); font-weight: 800; margin-right: 8px; }
.faq-toggle {
  width: 28px; height: 28px; border-radius: 50%;
  background: var(--blue-light); color: var(--blue-primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; flex-shrink: 0; transition: transform 0.3s, background 0.3s;
}
.faq-item.active .faq-toggle { transform: rotate(45deg); background: var(--blue-primary); color: var(--white); }
.faq-answer {
  max-height: 0; overflow: hidden; transition: max-height 0.35s ease;
}
.faq-answer-inner {
  padding: 0 28px 24px 28px; font-size: 0.95rem;
  color: var(--text-secondary); line-height: 1.9;
}
.faq-answer-inner .a-mark { color: var(--red-accent); font-weight: 800; margin-right: 4px; }

/* ─── Why Takachiho ─── */
.why-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 28px; margin-top: 48px; }
.why-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 40px 32px; text-align: left; border: 1px solid var(--gray-200);
  transition: box-shadow 0.3s;
}
.why-card:hover { box-shadow: var(--shadow-md); }
.why-icon { font-size: 2.6rem; margin-bottom: 18px; }
.why-card h4 { font-size: 1.1rem; font-weight: 700; color: var(--blue-primary); margin-bottom: 14px; line-height: 1.55; min-height: calc(1.1rem * 1.55 * 2); }
.why-card p { font-size: 0.9rem; color: var(--text-secondary); line-height: 1.85; }
.partner-box {
  text-align: center; margin-top: 56px;
}
.partner-box h3 { font-size: 1.25rem; font-weight: 700; color: var(--blue-primary); margin-bottom: 10px; }
.partner-box .sub { font-size: 0.95rem; color: var(--text-secondary); margin-bottom: 28px; }
.partner-badges { display: flex; justify-content: center; gap: 24px; flex-wrap: wrap; }
.partner-logo-wrap {
  display: flex; justify-content: center;
}
.partner-logo-wrap img {
  max-width: 520px; width: 100%; height: auto;
}

/* ─── Final CTA ─── */
.final-cta {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 50%, var(--teal) 100%);
  color: var(--white); padding: 96px 0; text-align: center;
  position: relative; overflow: hidden;
}
.final-cta::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(0,165,168,0.2) 0%, transparent 50%);
}
.final-cta .container { position: relative; z-index: 1; }
.final-cta h2 { font-size: 2rem; font-weight: 800; line-height: 1.6; margin-bottom: 24px; }
.final-cta p { font-size: 1rem; opacity: 0.85; max-width: 640px; margin: 0 auto 40px; line-height: 1.85; }
.final-cta .cta-buttons { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }

/* ─── Footer ─── */
.footer {
  background: #1a2332; color: rgba(255,255,255,0.5); padding: 28px 0;
  font-size: 0.82rem;
}
.footer .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-links { display: flex; gap: 20px; }
.footer-links a:hover { color: var(--white); }

/* ─── Animations ─── */
.fade-in {
  opacity: 0; transform: translateY(24px);
  transition: opacity 0.7s, transform 0.7s;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }

/* ─── Responsive ─── */
@media (max-width: 768px) {
  .hero {
    background:
      linear-gradient(180deg, rgba(11,61,107,0.8) 0%, rgba(11,61,107,0.5) 100%),
      url("../img/37c1e686-cf30-45f8-815b-64b5f1ab56d7.png") center right / cover no-repeat,
      var(--blue-dark);
  }
  .hero .container { flex-direction: column; min-height: auto; }
  .hero-content { max-width: 100%; }
  .hero h1 { font-size: 1.8rem; }
  .section-title { font-size: 1.5rem; }
  .threat-grid, .solution-cards, .benefits-grid { grid-template-columns: 1fr; }
  .solution-hero { flex-direction: column; gap: 14px; }
  .solution-hero-img { width: 100%; flex: 0 0 auto; }
  .strength-title { margin-top: 0; }
  .strength-grid { min-height: 0; grid-auto-rows: auto; }
  .benefit-card { flex-direction: column; gap: 16px; }
  .benefit-icon { flex: 0 0 80px; height: 80px; }
  .case-body { grid-template-columns: 1fr; }
  .case-col { border-right: none; border-bottom: 1px solid var(--gray-200); }
  .usecase-grid, .why-grid { grid-template-columns: 1fr; }
  .strength-grid { grid-template-columns: 1fr; }
  .nist-table { font-size: 0.78rem; }
  .nist-table thead th, .nist-table tbody td { padding: 10px 12px; }
  .header-nav .btn { padding: 8px 14px; font-size: 0.8rem; }
  .final-cta h2 { font-size: 1.5rem; }
}


/* ---- diagnostic modal button ---- */

.ztd-btn{transition:transform .12s,box-shadow .12s,background .12s,color .12s;}.ztd-btn:hover{transform:translateY(-2px);background:#F2A900!important;color:#3a2c00!important;box-shadow:0 14px 34px rgba(242,169,0,.5);}.ztd-btn:active{transform:translateY(0);}.ztd-close:hover{background:rgba(255,255,255,.22)!important;}#ztd-modal{animation:ztdOv .2s ease both;}@keyframes ztdOv{from{opacity:0}to{opacity:1}}#zt-diagnostic .ztd-grid>div{min-width:0;}#zt-diagnostic .ztd-prev{min-width:0;max-width:100%;}@media(max-width:820px){#zt-diagnostic{padding:56px 20px!important;}#zt-diagnostic .ztd-grid{grid-template-columns:1fr!important;}#zt-diagnostic .ztd-prev{order:-1;}#zt-diagnostic p[style*="nowrap"]{white-space:normal!important;}#zt-diagnostic h2{font-size:27px!important;line-height:1.4!important;}}