/* HITOENI 企業型DC パートナー LP（未公開プレビュー）
   配色は C20 の CSS 変数として指示文で示された値（navy / orange / warm / paper / muted）。
   C20 zip 自体は作業環境の権限で読めず、値・フォント指定は zip から直接照合していない。
   ロゴ画像は未抽出のためテキスト表記のまま。 */
:root {
  --navy: #172e4e;
  --orange: #e79d30;
  --warm: #f8f5ef;
  --paper: #fffefa;
  --muted: #52647a;

  --c-text: var(--navy);
  --c-muted: var(--muted);
  --c-bg: var(--paper);
  --c-bg-alt: var(--warm);
  --c-primary: var(--navy);
  --c-primary-dark: #0f2038;
  --c-accent: var(--orange);
  --c-accent-text: #8a5208; /* orange は白背景の小さい文字ではコントラスト不足のため濃色を使う */
  --radius: 12px;
  --max: 960px;
}

*, *::before, *::after { box-sizing: border-box; }

body {
  margin: 0;
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  color: var(--c-text);
  background: var(--c-bg);
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
  overflow-wrap: anywhere;
}

a { color: var(--c-primary); }

.container { width: 100%; max-width: var(--max); margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: rgba(255, 254, 250, .96);
  border-bottom: 3px solid var(--c-accent);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 12px; height: 60px; }
.logo { font-weight: 700; letter-spacing: .1em; text-decoration: none; color: var(--c-primary); font-size: 1.2rem; }

/* Buttons */
.btn {
  display: inline-block;
  padding: 14px 24px;
  border-radius: 999px;
  text-align: center;
  text-decoration: none;
  border: 2px solid transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  transition: background .15s, transform .15s;
}
.btn:hover { transform: translateY(-1px); }
.btn:focus-visible { outline: 3px solid var(--c-accent); outline-offset: 2px; }
.btn-primary { background: var(--c-primary); color: #fff; }
.btn-primary:hover { background: var(--c-primary-dark); }
.btn-light { background: var(--c-accent); color: var(--navy); }
.btn-outline { background: var(--paper); color: var(--c-primary); border-color: var(--c-primary); }
.btn-on-dark { background: transparent; color: #fff; border-color: #fff; }
.btn-sm { padding: 8px 16px; font-size: .9rem; white-space: nowrap; }
.btn-block { display: block; width: 100%; }

/* FV */
.fv {
  padding: 72px 0 64px;
  background: linear-gradient(160deg, var(--warm) 0%, var(--paper) 75%);
  text-align: center;
}
.eyebrow { color: var(--c-accent-text); letter-spacing: .2em; font-size: .85rem; font-weight: 700; margin: 0 0 8px; }
.fv h1 { font-size: clamp(1.6rem, 5vw, 2.6rem); line-height: 1.4; margin: 0 0 20px; }
.lead { color: var(--c-muted); margin: 0 0 28px; }
.cta-pair { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.note { font-size: .85rem; color: var(--c-muted); margin-top: 16px; }

/* Sections */
.section { padding: 64px 0; }
.section-alt { background: var(--c-bg-alt); }
.section h2 { font-size: clamp(1.4rem, 4vw, 1.9rem); text-align: center; margin: 0 0 32px; }
.section h2.mt { margin-top: 56px; }

.check-list { list-style: none; padding: 0; max-width: 640px; margin: 0 auto; }
.check-list li { position: relative; padding: 12px 0 12px 36px; border-bottom: 1px dashed #ddd6c8; }
.check-list li::before {
  content: "✓"; position: absolute; left: 4px; top: 12px;
  color: var(--navy); background: var(--c-accent);
  width: 22px; height: 22px; border-radius: 50%;
  font-size: .8rem; line-height: 22px; text-align: center;
}

.cards { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }
.card { background: var(--paper); border-top: 3px solid var(--c-accent); border-radius: var(--radius); padding: 24px; box-shadow: 0 2px 10px rgba(23, 46, 78, .06); }
.card h3 { margin: 0 0 8px; color: var(--c-primary); font-size: 1.1rem; }
.card p { margin: 0; }

.types { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.type-card { background: var(--paper); border: 2px solid #e6dfd1; border-radius: var(--radius); padding: 28px; display: flex; flex-direction: column; }
.type-card h3 { margin: 4px 0 12px; font-size: 1.3rem; }
.type-card ul { padding-left: 1.2em; flex: 1; }
.type-tag { margin: 0; font-size: .8rem; font-weight: 700; color: var(--c-accent-text); letter-spacing: .1em; }

.steps { list-style: none; counter-reset: step; padding: 0; max-width: 640px; margin: 0 auto; }
.steps li { counter-increment: step; position: relative; padding: 0 0 24px 56px; }
.steps li::before {
  content: counter(step); position: absolute; left: 0; top: 0;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--c-primary); color: #fff; font-weight: 700;
  display: flex; align-items: center; justify-content: center;
}
.steps strong { display: block; }
.steps span { color: var(--c-muted); font-size: .95rem; }

.faq { max-width: 720px; margin: 0 auto; }
.faq details { background: var(--paper); border-radius: var(--radius); padding: 16px 20px; margin-bottom: 10px; }
.faq summary { cursor: pointer; font-weight: 700; }
.faq p { margin: 10px 0 0; color: var(--c-muted); }

.final-cta { background: var(--c-primary); color: #fff; text-align: center; }
.final-cta h2 { color: #fff; }
.final-cta .note, .final-cta .note a { color: #dfe7f0; }

.site-footer { padding: 28px 0; text-align: center; font-size: .85rem; color: var(--c-muted); background: var(--warm); }
.site-footer p { margin: 4px 0 0; }

.preview-bar { background: #fbecd2; color: #5a3a06; font-size: .85rem; text-align: center; padding: 8px 16px; }
.note.center { text-align: center; }
.fit { font-size: .9rem; color: var(--c-muted); }
.type-card .btn { margin-top: auto; }

/* CTA 案内（送信機能なし） */
.notice-backdrop[hidden] { display: none; }
.notice-backdrop {
  position: fixed; inset: 0; z-index: 100;
  background: rgba(23, 46, 78, .55);
  display: flex; align-items: center; justify-content: center; padding: 20px;
}
.notice { background: var(--paper); border-top: 4px solid var(--c-accent); border-radius: var(--radius); padding: 28px; max-width: 440px; width: 100%; max-height: calc(100vh - 40px); overflow-y: auto; text-align: center; }
.notice h2 { margin: 0 0 12px; font-size: 1.25rem; }
.notice-type code { color: var(--c-muted); font-size: .85rem; }
.noscript { text-align: center; padding: 16px; }

@media (max-width: 600px) {
  .cta-pair .btn { width: 100%; }
  .section { padding: 48px 0; }
  .type-card { padding: 22px; }
  .lead br { display: none; }
}

.brand-logo{width:124px;height:auto;max-height:64px;object-fit:contain;display:block}
