/* WordPress保守LP（/wordpress-maintenance.html）専用スタイル
   2026-08-03 に wordpress-maintenance.php の <style> から外出しした。
   このページは独自のデザインシステム（紺 #0f2d5e ＋ 赤 #ff8080）を持っている。
   サイト共通のオレンジには揃えていない。配色の統一は
   ブルーへのリブランドの方向性が決まってから、この :root をまとめて直す。 */

:root {
  --navy:    #0F2D5E;
  --navy-d:  #071A38;
  --amber:   #F5B731;
  /* --amber は帯や枠として使う分には問題ないが、文字色にすると
     背景 #F4F6FB に対して 1.66:1 しかなく読めない。文字用に濃い方を用意する。 */
  --amber-text: #B07A00;
  --ink:     #1A2233;
  --text:    #3A4455;
  --muted:   #67748a;
  --border:  #D6DFED;
  --soft:    #F4F6FB;
  --white:   #FFFFFF;
  --red:     #B93838;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Noto Sans JP", "Hiragino Sans", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.85;
  color: var(--text);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, p { margin: 0; }
a { color: inherit; }
img { display: block; max-width: 100%; height: auto; }

.wrap { width: min(960px, calc(100% - 48px)); margin: 0 auto; }

/* ── ヘッダー ── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255,255,255,0.96);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 68px;
  gap: 16px;
}
.header-logo { display: flex; align-items: center; gap: 10px; text-decoration: none; }
.header-logo img { width: 112px; }
.header-service-name {
  font-size: 15px;
  font-weight: 700;
  color: var(--navy);
  letter-spacing: 0.04em;
}
.header-cta {
  display: inline-flex;
  align-items: center;
  padding: 9px 18px;
  background: var(--amber);
  color: var(--navy-d);
  font-weight: 900;
  font-size: 13px;
  text-decoration: none;
  border-radius: 3px;
  white-space: nowrap;
  transition: opacity 0.15s;
}
.header-cta:hover { opacity: 0.85; }

/* ── ヒーロー ── */
.hero {
  background: var(--navy);
  padding: 86px 0 104px;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 56px;
  align-items: center;
}
.hero-eyebrow {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.4);
  margin-bottom: 22px;
}
.hero h1 {
  font-size: clamp(30px, 3.8vw, 52px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.28;
  letter-spacing: -0.01em;
}
.hero-sub {
  margin-top: 34px;
  padding-left: 16px;
  border-left: 3px solid var(--amber);
  color: rgba(255,255,255,0.82);
  font-size: 16px;
  line-height: 1.95;
}
.hero-land {
  margin-top: 28px;
  color: var(--white);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.75;
}
.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 20px;
}
.hero-badges span {
  display: inline-block;
  padding: 4px 11px;
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: 2px;
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,0.72);
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
}

/* 診断パネル */
.hero-panel {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 6px;
  overflow: hidden;
  font-size: 13.5px;
  flex-shrink: 0;
}
.panel-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 13px 18px;
  background: rgba(185,56,56,0.28);
  border-bottom: 1px solid rgba(185,56,56,0.38);
}
.panel-dot {
  width: 9px;
  height: 9px;
  background: #ff6b6b;
  border-radius: 50%;
  box-shadow: 0 0 0 3px rgba(255,107,107,0.28);
  animation: blink 2s ease-in-out infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50%      { opacity: 0.4; }
}
.panel-header-title {
  font-size: 12px;
  font-weight: 900;
  color: #ffaaaa;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.panel-url {
  margin-left: auto;
  font-size: 11px;
  color: rgba(255,255,255,0.35);
  font-weight: 500;
}
.panel-rows {
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.panel-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
}
.panel-row-label {
  font-size: 13px;
  color: rgba(255,255,255,0.52);
  white-space: nowrap;
}
.panel-row-val {
  font-size: 12.5px;
  font-weight: 900;
  white-space: nowrap;
}
.val-red  { color: #ff8080; }
.val-warn { color: var(--amber); }
.panel-meter {
  padding: 14px 18px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.panel-meter-head {
  display: flex;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 900;
  color: rgba(255,255,255,0.45);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.panel-meter-head span:last-child { color: #ff8080; }
.panel-meter-track {
  height: 5px;
  background: rgba(255,255,255,0.1);
  border-radius: 3px;
  overflow: hidden;
}
.panel-meter-fill {
  height: 100%;
  width: 85%;
  background: linear-gradient(90deg, #ff7070, #ff3a3a);
  border-radius: 3px;
}
.panel-footer {
  padding: 11px 18px;
  font-size: 11.5px;
  color: rgba(255,255,255,0.35);
  text-align: center;
  letter-spacing: 0.02em;
}
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 28px;
  background: var(--amber);
  color: var(--navy-d);
  font-weight: 900;
  font-size: 16px;
  text-decoration: none;
  border-radius: 3px;
  transition: opacity 0.15s;
}
.btn:hover { opacity: 0.85; }
.btn-ghost {
  display: inline-flex;
  align-items: center;
  padding: 14px 24px;
  border: 1px solid rgba(255,255,255,0.32);
  color: rgba(255,255,255,0.86);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  border-radius: 3px;
  transition: border-color 0.15s;
}
.btn-ghost:hover { border-color: rgba(255,255,255,0.7); }

/* ── セクション共通 ── */
section { padding: 88px 0; }
.section-soft { background: var(--soft); }
.section-title {
  font-size: clamp(22px, 3.2vw, 34px);
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 44px;
}

/* ── 課題提起（台帳スタイル） ── */
.problems {}
.problem-list {
  list-style: none;
  margin: 0;
  padding: 0;
  counter-reset: problem;
  border-top: 1px solid var(--border);
}
.problem-list li {
  counter-increment: problem;
  display: grid;
  grid-template-columns: 2.8rem 1fr;
  gap: 0 18px;
  align-items: baseline;
  padding: 19px 0;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
}
.problem-list li::before {
  content: counter(problem, decimal-leading-zero);
  font-size: 11.5px;
  font-weight: 900;
  color: var(--amber);
  letter-spacing: 0.06em;
  padding-top: 4px;
}

/* ── プラン比較（テーブル） ── */
.plan-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.plan-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  min-width: 560px;
}
.plan-table th,
.plan-table td {
  padding: 13px 18px;
  text-align: left;
  border-bottom: 1px solid var(--border);
  vertical-align: middle;
  line-height: 1.55;
}
.plan-table thead tr:first-child th { border-bottom: none; padding-bottom: 4px; }
.plan-table thead tr:last-child th { padding-top: 4px; border-bottom: 2px solid var(--border); }

.col-label { width: 42%; }
.col-light  { width: 26%; }
.col-std    { width: 32%; }

.th-label { font-size: 11px; font-weight: 900; color: var(--muted); letter-spacing: 0.1em; text-transform: uppercase; }

.th-plan-name { font-size: 16px; font-weight: 900; color: var(--ink); }
.th-plan-price { font-size: 13px; color: var(--navy); font-weight: 700; }
.th-plan-tagline { font-size: 12px; color: var(--muted); font-weight: 400; }

/* スタンダードプランのアンバー強調 */
.plan-table .std {
  border-left: 2px solid var(--amber);
  border-right: 2px solid var(--amber);
  background: rgba(245,183,49,0.05);
}
.plan-table thead tr:first-child .std { border-top: 2px solid var(--amber); }
.plan-table tfoot .std             { border-bottom: 2px solid var(--amber); }
.plan-table tfoot td               { border-bottom: none; }

.popular-badge {
  display: inline-block;
  padding: 2px 8px;
  background: var(--amber);
  color: var(--navy-d);
  font-size: 10.5px;
  font-weight: 900;
  border-radius: 2px;
  letter-spacing: 0.04em;
  vertical-align: middle;
  margin-bottom: 6px;
}
.row-label { font-weight: 700; color: var(--ink); }
.row-label small { display: block; font-weight: 400; font-size: 12px; color: var(--muted); margin-top: 2px; }
.plan-note {
  margin-top: 20px;
  font-size: 13px;
  color: var(--muted);
  padding-left: 12px;
  border-left: 2px solid var(--border);
  line-height: 1.75;
}

/* ── 選ばれる理由（見開きスタイル） ── */
.reasons { background: var(--navy); }
.reasons .section-title { color: var(--white); }
.reason-list { list-style: none; margin: 0; padding: 0; }
.reason-item {
  display: grid;
  grid-template-columns: 96px 1fr;
  gap: 0 28px;
  padding: 40px 0;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.reason-item:last-child { border-bottom: none; }
.reason-num {
  font-size: clamp(52px, 5.5vw, 68px);
  font-weight: 900;
  color: var(--amber);
  line-height: 1;
  letter-spacing: -0.02em;
  padding-top: 2px;
}
.reason-body h3 {
  font-size: 18px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
}
.reason-body p {
  font-size: 16px;
  color: rgba(255,255,255,0.74);
  line-height: 1.9;
}

/* ── フロー ── */
.flow-steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}
.flow-step {
  padding: 10px 32px 10px 0;
  position: relative;
}
.flow-step:not(:first-child) {
  padding-left: 32px;
  padding-right: 0;
  border-left: 1px dashed var(--border);
}
.flow-step-num {
  font-size: clamp(46px, 5vw, 60px);
  font-weight: 900;
  color: var(--amber-text);
  line-height: 1;
  display: block;
  margin-bottom: 18px;
}
.flow-step h3 {
  font-size: 16px;
  font-weight: 900;
  color: var(--ink);
  margin-bottom: 8px;
  line-height: 1.45;
}
.flow-step p {
  font-size: 16px;
  color: var(--text);
  line-height: 1.85;
}
.flow-label {
  display: inline-block;
  margin-bottom: 14px;
  padding: 2px 8px;
  background: var(--navy);
  color: var(--white);
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 2px;
}

/* ── FAQ ── */
.faq-list { border-top: 1px solid var(--border); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  width: 100%;
  padding: 22px 0;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.55;
}
.faq-q:hover { color: var(--navy); }
.faq-icon {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  color: var(--amber);
  transition: transform 0.28s ease;
}
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-a {
  display: none;
  padding: 0 0 24px;
  font-size: 16px;
  color: var(--text);
  line-height: 1.9;
}
.faq-item.open .faq-a { display: block; }

/* ── CTA / フォーム ── */
.contact { background: var(--navy); }
.contact .section-title { color: var(--white); }
.contact-lead {
  color: rgba(255,255,255,0.76);
  font-size: 16.5px;
  max-width: 520px;
  line-height: 1.9;
  margin-bottom: 44px;
}
.contact-phone {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  text-decoration: none;
  color: var(--white);
  margin-bottom: 40px;
}
.contact-phone strong { font-size: 24px; font-weight: 900; }
.contact-phone small { font-size: 13px; color: rgba(255,255,255,0.55); }

.contact-form {
  background: var(--white);
  border-radius: 5px;
  padding: 40px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}
.form-field { display: flex; flex-direction: column; gap: 6px; }
.form-field.full { grid-column: 1 / -1; }
.form-field label {
  font-size: 13px;
  font-weight: 700;
  color: var(--ink);
}
.required-mark {
  display: inline-block;
  margin-left: 5px;
  padding: 1px 5px;
  background: var(--red);
  color: var(--white);
  font-size: 10px;
  font-weight: 700;
  border-radius: 2px;
  vertical-align: middle;
}
.form-field input,
.form-field select,
.form-field textarea {
  padding: 10px 12px;
  border: 1px solid var(--border);
  border-radius: 3px;
  font-family: inherit;
  font-size: 16px;
  color: var(--ink);
  background: var(--white);
  transition: border-color 0.15s;
  outline: none;
  -webkit-appearance: none;
}
.form-field input:focus,
.form-field select:focus,
.form-field textarea:focus {
  border-color: var(--navy);
}
.form-field textarea { min-height: 128px; resize: vertical; }
.form-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%236C7A90' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.form-submit {
  display: block;
  width: 100%;
  margin-top: 22px;
  padding: 15px 20px;
  background: var(--amber);
  color: var(--navy-d);
  font-family: inherit;
  font-size: 16px;
  font-weight: 900;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  transition: opacity 0.15s;
  letter-spacing: 0.02em;
}
.form-submit:hover { opacity: 0.85; }
.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  color: var(--text);
  cursor: pointer;
  line-height: 1.7;
}
.consent-label input[type="checkbox"] {
  flex-shrink: 0;
  width: 18px;
  height: 18px;
  margin-top: 2px;
  accent-color: var(--navy);
  cursor: pointer;
}
.consent-label a { color: var(--navy); }
.form-note {
  margin-top: 14px;
  font-size: 12px;
  color: var(--muted);
  text-align: center;
  line-height: 1.75;
}

/* ── フッター ── */
.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--border);
}
.site-footer .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.footer-logo img { width: 80px; }
.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 6px 20px;
  font-size: 12.5px;
  color: var(--muted);
}
.footer-links a { text-decoration: none; }
.footer-links a:hover { color: var(--navy); }

/* ── モバイル ── */
@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-panel { display: none; }
}

@media (max-width: 767px) {
  .wrap { width: calc(100% - 36px); }
  section { padding: 64px 0; }
  .hero { padding: 60px 0 76px; }

  .header-service-name { display: none; }

  .reason-item { grid-template-columns: 68px 1fr; gap: 0 16px; }
  .reason-num { font-size: 48px; }

  .flow-steps { grid-template-columns: 1fr; }
  .flow-step { padding: 28px 0 !important; border-left: none !important; }
  .flow-step:not(:first-child) { border-top: 1px dashed var(--border); }

  .contact-form { padding: 28px 20px; }
  .form-grid { grid-template-columns: 1fr; }

  .site-footer .wrap { justify-content: center; text-align: center; }
  .footer-links { justify-content: center; }
}
