@charset "UTF-8";

/* ==========================================================================
   1. Custom Properties & Reset
   ========================================================================== */
:root {
  --navy: #163052;
  --navy-dark: #0f223b;
  --blue: #265c9e;
  --blue-light: #ecf3fc;
  --teal: #14827d;
  --teal-dark: #0f6662;
  --teal-light: #eaf7f6;
  --amber: #cc7616;
  --amber-light: #fef7ec;
  --red-muted: #b93737;
  --text: #222831;
  --muted: #5f6c7b;
  --bg-light: #f6f8fb;
  --white: #ffffff;
  --border: #d8e1ec;

  --shadow-sm: 0 2px 8px rgba(22, 48, 82, 0.06);
  --shadow-md: 0 8px 24px rgba(22, 48, 82, 0.09);
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --font-sans: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", "Meiryo", sans-serif;
}

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

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

body {
  font-family: var(--font-sans);
  color: var(--text);
  background-color: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}

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

ul {
  list-style: none;
}

/* ==========================================================================
   2. Layout & Section Primitives
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 84px 0;
}

.section-alt {
  background-color: var(--bg-light);
}

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

.section-tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--teal);
  background-color: var(--teal-light);
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.section-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.4;
  margin-bottom: 14px;
}

.section-lead {
  font-size: 1rem;
  color: var(--muted);
}

/* ==========================================================================
   3. Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background-color: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(8px);
}

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

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-mark {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 700;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
}

.brand-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--muted);
  letter-spacing: 0.03em;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
}

.nav-list a:hover {
  color: var(--teal);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  border-radius: var(--radius-sm);
  transition: background-color 0.2s, transform 0.15s, box-shadow 0.2s;
  cursor: pointer;
  border: none;
  text-align: center;
}

.btn:hover {
  transform: translateY(-1px);
}

.btn-primary {
  background-color: var(--teal);
  color: var(--white);
  box-shadow: 0 4px 12px rgba(20, 130, 125, 0.25);
}

.btn-primary:hover {
  background-color: var(--teal-dark);
}

.btn-outline {
  background-color: var(--white);
  color: var(--navy);
  border: 1.5px solid var(--navy);
}

.btn-outline:hover {
  background-color: var(--blue-light);
}

.btn-nav {
  padding: 10px 18px;
  font-size: 0.85rem;
}

.btn-lg {
  padding: 16px 30px;
  font-size: 1.02rem;
}

.btn-block {
  width: 100%;
}

/* ==========================================================================
   4. Hero Section
   ========================================================================== */
.hero {
  position: relative;
  background: linear-gradient(180deg, #f0f5fc 0%, #ffffff 100%);
  border-bottom: 1px solid var(--border);
  padding: 72px 0 80px;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--blue) 55%, var(--teal) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 44px;
  align-items: center;
}

.hero-badge {
  display: inline-block;
  background-color: var(--blue-light);
  color: var(--blue);
  border: 1px solid #c5daf5;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 20px;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.35;
  margin-bottom: 20px;
}

.hero-title span {
  color: var(--teal);
}

.hero-lead {
  font-size: 1.02rem;
  color: var(--text);
  margin-bottom: 32px;
}

.hero-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 36px;
}

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.metric-box {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  box-shadow: var(--shadow-sm);
}

.metric-label {
  font-size: 0.78rem;
  color: var(--muted);
  font-weight: 600;
  margin-bottom: 4px;
}

.metric-value {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.2;
}

.metric-value strong {
  color: var(--teal);
  font-size: 1.5rem;
}

/* Hero Visual Card */
.hero-mockup {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-md);
}

.mockup-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 14px;
  margin-bottom: 18px;
  border-bottom: 1px solid var(--border);
}

.mockup-title {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--navy);
}

.mockup-pill {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--teal);
  background-color: var(--teal-light);
  padding: 3px 10px;
  border-radius: 999px;
}

.mockup-flow-item {
  background-color: var(--bg-light);
  border-left: 4px solid var(--blue);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 12px;
}

.mockup-flow-item.is-teal {
  border-left-color: var(--teal);
  background-color: var(--teal-light);
}

.mockup-flow-item.is-navy {
  border-left-color: var(--navy);
  margin-bottom: 0;
}

.mockup-step-tag {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 2px;
}

.mockup-flow-item.is-teal .mockup-step-tag {
  color: var(--teal);
}

.mockup-flow-item.is-navy .mockup-step-tag {
  color: var(--navy);
}

.mockup-step-head {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.mockup-step-desc {
  font-size: 0.84rem;
  color: var(--text);
  line-height: 1.5;
}

/* ==========================================================================
   5. Problems & 4 Modules Grids
   ========================================================================== */
.cards-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.cards-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.problem-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-top: 4px solid var(--amber);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-sm);
}

.problem-num {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--amber);
  background-color: var(--amber-light);
  padding: 3px 10px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.problem-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 12px;
}

.problem-desc {
  font-size: 0.93rem;
  color: var(--muted);
}

.feature-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.feature-badge {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  background-color: var(--navy);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 14px;
}

.feature-card:nth-child(2) .feature-badge,
.feature-card:nth-child(3) .feature-badge {
  background-color: var(--teal);
}

.feature-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.45;
  margin-bottom: 12px;
}

.feature-desc {
  font-size: 0.94rem;
  color: var(--text);
}

/* ==========================================================================
   6. UI Mockup Preview Section (Audit Report & Triage)
   ========================================================================== */
.ui-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: stretch;
}

.ui-panel {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.ui-panel-title {
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}

/* Left: Audit Score Card */
.audit-card {
  border: 1.5px solid var(--blue);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--white);
  flex: 1;
  display: flex;
  flex-direction: column;
}

.audit-top {
  background-color: var(--blue-light);
  padding: 14px 16px;
  border-bottom: 1px solid #c5daf5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.audit-url {
  display: block;
  font-size: 0.72rem;
  color: var(--blue);
  font-weight: 600;
  margin-bottom: 2px;
}

.audit-heading {
  font-size: 0.92rem;
  color: var(--navy);
}

.audit-score {
  text-align: right;
  color: var(--red-muted);
  font-weight: 700;
}

.audit-score span {
  font-size: 1.75rem;
  line-height: 1;
}

.audit-score small {
  display: block;
  font-size: 0.72rem;
}

.audit-items {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.audit-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 6px;
  background-color: var(--bg-light);
  font-size: 0.8rem;
}

.audit-row.is-ng {
  background-color: #fdf2f2;
}

.audit-row.is-warn {
  background-color: var(--amber-light);
}

.audit-row.is-ok {
  background-color: var(--teal-light);
}

.audit-row strong {
  display: block;
  color: var(--navy);
  margin-bottom: 2px;
}

.audit-row div span {
  color: var(--text);
  font-size: 0.75rem;
  line-height: 1.45;
  display: block;
}

.tag-ng,
.tag-warn,
.tag-ok {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 4px;
  white-space: nowrap;
  flex-shrink: 0;
  margin-top: 2px;
}

.tag-ng {
  background-color: var(--red-muted);
  color: var(--white);
}

.tag-warn {
  background-color: var(--amber);
  color: var(--white);
}

.tag-ok {
  background-color: var(--teal);
  color: var(--white);
}

/* Right: Triage Dashboard Card */
.dash-card {
  border: 1.5px solid var(--navy);
  border-radius: var(--radius-md);
  overflow: hidden;
  background-color: var(--white);
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.dash-bar {
  background-color: var(--navy);
  color: var(--white);
  padding: 10px 14px;
  font-size: 0.78rem;
  font-weight: 700;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
}

.dash-count {
  font-weight: 400;
  color: #cbd5e1;
  font-size: 0.72rem;
}

.dash-rows {
  padding: 10px 14px;
}

.dash-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.8rem;
}

.dash-row:last-child {
  border-bottom: none;
}

.dash-row strong {
  display: block;
  color: var(--navy);
}

.dash-row div span {
  font-size: 0.74rem;
  color: var(--muted);
}

.badge-ok,
.badge-warn,
.badge-ng {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  white-space: nowrap;
}

.badge-ok {
  background-color: var(--teal-light);
  color: var(--teal);
}

.badge-warn {
  background-color: var(--amber-light);
  color: var(--amber);
}

.badge-ng {
  background-color: #fdecec;
  color: var(--red-muted);
}

.dash-action {
  background-color: var(--teal);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  text-align: center;
  padding: 10px 12px;
}

/* ==========================================================================
   7. How It Works (3 Steps)
   ========================================================================== */
.step-card {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}

.step-head {
  background-color: var(--navy);
  color: var(--white);
  padding: 12px 20px;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.step-card:nth-child(2) .step-head {
  background-color: var(--teal);
}

.step-card:nth-child(3) .step-head {
  background-color: var(--blue);
}

.step-body {
  padding: 24px 22px;
}

.step-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.93rem;
  color: var(--text);
  margin-bottom: 16px;
}

.step-list li {
  position: relative;
  padding-left: 18px;
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 6px;
}

.step-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: 700;
}

/* ==========================================================================
   8. Pricing Tiers & Free Diagnosis Banner
   ========================================================================== */
.plans-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-bottom: 32px;
  align-items: stretch;
}

.plan-box {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 30px 24px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.plan-box.is-featured {
  border: 2px solid var(--teal);
  box-shadow: var(--shadow-md);
}

.plan-tier {
  display: inline-block;
  align-self: flex-start;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--navy);
  background-color: var(--blue-light);
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 12px;
}

.plan-box.is-featured .plan-tier {
  background-color: var(--teal);
  color: var(--white);
}

.plan-title {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 10px;
}

.plan-amount {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 14px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border);
}

.plan-amount strong {
  font-size: 1.95rem;
  color: var(--navy);
}

.plan-amount span {
  font-size: 0.84rem;
  font-weight: 400;
  color: var(--muted);
}

.plan-summary {
  font-size: 0.88rem;
  color: var(--muted);
  margin-bottom: 16px;
}

.plan-features li {
  position: relative;
  padding-left: 18px;
  font-size: 0.89rem;
  color: var(--text);
  margin-bottom: 8px;
}

.plan-features li::before {
  content: "●";
  position: absolute;
  left: 0;
  color: var(--teal);
  font-size: 0.75rem;
}

.offer-banner {
  background: linear-gradient(135deg, var(--navy) 0%, #1e4473 100%);
  color: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  box-shadow: var(--shadow-md);
}

.offer-banner-body {
  max-width: 720px;
}

.offer-badge {
  display: inline-block;
  background-color: var(--amber);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 4px;
  margin-bottom: 10px;
}

.offer-banner-title {
  font-size: 1.3rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
}

.offer-banner-desc {
  font-size: 0.92rem;
  color: #e2ebf5;
}

.offer-banner .btn {
  flex-shrink: 0;
}

/* ==========================================================================
   9. FAQ (CSS-only Accordion)
   ========================================================================== */
.faq-list {
  max-width: 840px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.faq-item {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.faq-question {
  padding: 18px 22px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--navy);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-question::-webkit-details-marker {
  display: none;
}

.faq-question::after {
  content: "＋";
  font-size: 1.2rem;
  color: var(--teal);
  flex-shrink: 0;
}

.faq-item[open] .faq-question::after {
  content: "－";
}

.faq-answer {
  padding: 14px 22px 20px;
  font-size: 0.94rem;
  color: var(--text);
  border-top: 1px solid var(--bg-light);
}

/* ==========================================================================
   10. Contact & Operator Info
   ========================================================================== */
.contact-operator-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.card-panel {
  background-color: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
}

.panel-title {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--navy);
  padding-bottom: 12px;
  margin-bottom: 20px;
  border-bottom: 2px solid var(--navy);
}

.form-group {
  margin-bottom: 16px;
}

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 6px;
}

.req {
  display: inline-block;
  font-size: 0.72rem;
  color: var(--white);
  background-color: var(--red-muted);
  padding: 1px 6px;
  border-radius: 3px;
  margin-left: 6px;
  vertical-align: middle;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  font-size: 0.95rem;
  font-family: inherit;
  color: var(--text);
  background-color: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
}

.form-control:focus {
  outline: none;
  border-color: var(--blue);
  background-color: var(--white);
}

textarea.form-control {
  min-height: 104px;
  resize: vertical;
}

.direct-mail-note {
  margin-top: 14px;
  font-size: 0.84rem;
  color: var(--muted);
  text-align: center;
}

.direct-mail-note a,
.text-link {
  color: var(--blue);
  text-decoration: underline;
}

.operator-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
}

.operator-table th,
.operator-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  text-align: left;
  vertical-align: top;
}

.operator-table th {
  width: 34%;
  font-weight: 700;
  color: var(--navy);
}

.privacy-box {
  margin-top: 24px;
  background-color: var(--bg-light);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: 0.82rem;
  color: var(--muted);
  line-height: 1.65;
}

.privacy-box strong {
  display: block;
  color: var(--navy);
  margin-bottom: 4px;
}

/* ==========================================================================
   11. Footer
   ========================================================================== */
.site-footer {
  background-color: var(--navy-dark);
  color: #c8d6e5;
  padding: 36px 0;
  font-size: 0.85rem;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.footer-brand {
  font-weight: 700;
  color: var(--white);
  font-size: 1rem;
}

.footer-sub {
  font-weight: 400;
  font-size: 0.84rem;
  color: #9fb3c8;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 18px;
}

.footer-links a:hover {
  color: var(--white);
  text-decoration: underline;
}

/* ==========================================================================
   12. Responsive
   ========================================================================== */
@media (max-width: 960px) {
  .hero-grid,
  .ui-grid,
  .cards-2,
  .contact-operator-grid {
    grid-template-columns: 1fr;
  }

  .cards-3,
  .plans-3 {
    grid-template-columns: 1fr;
  }

  .offer-banner {
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list {
    display: none;
  }

  .hero-title {
    font-size: 1.85rem;
  }
}

@media (max-width: 600px) {
  .section {
    padding: 60px 0;
  }

  .hero {
    padding: 48px 0 56px;
  }

  .hero-metrics {
    grid-template-columns: 1fr;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .plan-box,
  .offer-banner,
  .card-panel {
    padding: 24px 20px;
  }
}
