/* ホワイトペーパー ダウンロードページ（/lp/whitepaper/unauthorized-access/） */
* { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --ink: #232a33;
  --sub: #4a5562;
  --accent: #156a9c;
  --yellow: #fed93f;
  --pale: #f2f7fb;
  --cream: #fffbe6;
  --line: #d5dee7;
}
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  color: var(--ink);
  font-size: 16px;
  line-height: 1.85;
  background: #fff;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--accent); }

.wrap { width: min(1080px, 100% - 40px); margin: 0 auto; }
.wrap--mid { width: min(760px, 100% - 40px); }

.header { border-top: 6px solid var(--yellow); border-bottom: 1px solid var(--line); }
.header__inner { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.header__logo { height: 30px; width: auto; }
.header__link { font-size: 14px; color: var(--sub); text-decoration: none; }

/* ファーストビュー */
.hero { background: var(--pale); padding: 48px 0 56px; }
.hero__grid { display: grid; grid-template-columns: 1fr 420px; grid-template-areas: "intro form" "detail form"; column-gap: 48px; align-items: start; }
.hero__intro { grid-area: intro; }
.hero__detail { grid-area: detail; }
.form-box { grid-area: form; }
.hero__label { display: inline-block; font-size: 14px; font-weight: 700; color: var(--accent); margin-bottom: 12px; }
.hero__title { font-size: 32px; line-height: 1.5; font-weight: 700; margin-bottom: 18px; }
.hero__lead { margin-bottom: 24px; }
.hero__visual { display: flex; gap: 16px; align-items: flex-end; margin-bottom: 24px; }
.hero__visual img { width: 46%; border: 1px solid var(--line); box-shadow: 0 2px 10px rgba(30, 50, 70, .12); background: #fff; }
.hero__visual img + img { width: 38%; }
.facts { width: 100%; border-collapse: collapse; background: #fff; font-size: 15px; }
.facts th, .facts td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; vertical-align: top; }
.facts th { width: 30%; background: #fff; color: var(--sub); font-weight: 500; }

.form-box { background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--yellow); padding: 28px 24px 16px; position: sticky; top: 20px; }
.form-box__title { font-size: 20px; font-weight: 700; margin-bottom: 4px; }
.form-box__note { font-size: 14px; color: var(--sub); margin-bottom: 16px; }

/* セクション */
.sec { padding: 64px 0; }
.sec--pale { background: var(--pale); }
.sec-title { font-size: 26px; font-weight: 700; line-height: 1.5; margin-bottom: 24px; padding-left: 14px; border-left: 6px solid var(--yellow); }
.sec p + p { margin-top: 14px; }

.pages { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.pages figure { background: #fff; }
.pages img { border: 1px solid var(--line); }
.pages figcaption { font-size: 14px; color: var(--sub); margin-top: 8px; line-height: 1.6; }

.toc { width: 100%; border-collapse: collapse; }
.toc th, .toc td { border-bottom: 1px solid var(--line); padding: 12px 8px; text-align: left; vertical-align: top; }
.toc th { width: 64px; color: var(--accent); font-weight: 700; }
.toc td span { display: block; font-size: 14px; color: var(--sub); }

.checklist { list-style: none; }
.checklist li { position: relative; padding-left: 30px; margin-bottom: 10px; }
.checklist li::before { content: ""; position: absolute; left: 2px; top: 7px; width: 16px; height: 16px; border: 2px solid var(--accent); border-radius: 2px; }

.source { background: var(--cream); border-left: 5px solid var(--yellow); padding: 18px 22px; font-size: 15px; margin-top: 24px; }

.btn {
  display: inline-block; background: var(--yellow); color: var(--ink); font-weight: 700;
  text-decoration: none; padding: 14px 36px; border-radius: 4px; font-size: 17px;
}
.btn:hover { opacity: .85; }
.btn--line { background: #fff; border: 2px solid var(--accent); color: var(--accent); }
.center { text-align: center; margin-top: 32px; }

/* サンクス */
.thanks { padding: 56px 0 72px; }
.thanks__dl { background: var(--pale); padding: 28px; display: flex; gap: 24px; align-items: center; margin: 24px 0 40px; }
.thanks__dl img { width: 130px; border: 1px solid var(--line); background: #fff; }
.thanks__dl p { margin-bottom: 14px; }
.sub-title { font-size: 20px; font-weight: 700; margin: 32px 0 12px; }
.service { border: 1px solid var(--line); padding: 24px; }
.service table { width: 100%; border-collapse: collapse; margin: 12px 0 18px; font-size: 15px; }
.service th, .service td { border: 1px solid var(--line); padding: 10px 14px; text-align: left; }
.service th { width: 28%; background: var(--pale); font-weight: 500; }

.footer { border-top: 1px solid var(--line); padding: 28px 0; font-size: 13px; color: var(--sub); }
.footer__inner { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; }
.footer__logo { height: 26px; width: auto; }

@media (max-width: 900px) {
  .hero__grid { grid-template-columns: 1fr; grid-template-areas: "intro" "form" "detail"; row-gap: 28px; }
  .form-box { position: static; }
  .pages { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  body { font-size: 15px; }
  .hero { padding: 32px 0 40px; }
  .hero__title { font-size: 24px; }
  .sec { padding: 48px 0; }
  .sec-title { font-size: 21px; }
  .thanks__dl { flex-direction: column; align-items: flex-start; }
  .facts th { width: 34%; }
}
