:root {
  color-scheme: light;
  --text: #1f2328;
  --muted: #57606a;
  --bg: #ffffff;
  --bg-alt: #f5f4f0;
  --line: #d8d6cf;
  --accent: #1c2a44;
  --gold: #b8902f;
  --book-bg: #111111;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic UI", "Yu Gothic", "Meiryo", "Noto Sans JP", sans-serif;
  font-size: 17px;
  line-height: 1.85;
  /* 行頭に句読点や閉じかっこが来ないように */
  line-break: strict;
  word-break: normal;
  overflow-wrap: anywhere;
}

a { color: var(--accent); }

.wrap { max-width: 860px; margin: 0 auto; padding: 0 16px; }
.wrap.narrow { max-width: 620px; }

.site-header { border-bottom: 1px solid var(--line); }
.site-header .wrap { padding-top: 12px; padding-bottom: 12px; }
.logo { display: inline-block; line-height: 0; }
.logo img { display: block; height: 36px; width: auto; }

.hero { padding: 48px 0 44px; }
.hero h1 { font-size: 28px; line-height: 1.5; margin: 0 0 20px; }
.lead { font-size: 18px; margin: 0 0 24px; }

.section { padding: 48px 0; }
.section.alt { background: var(--bg-alt); }
h2 { font-size: 23px; line-height: 1.5; margin: 0 0 18px; }
h3 { font-size: 19px; line-height: 1.5; margin: 36px 0 14px; }
p { margin: 0 0 16px; }

.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  padding: 14px 28px;
  border: 0;
  border-radius: 6px;
  cursor: pointer;
  font-family: inherit;
}
.btn:hover { opacity: 0.9; }
.btn-gold { background: var(--gold); color: #111; }

/* 3つの質問 */
.fill { display: grid; grid-template-columns: 1fr; gap: 12px; margin: 20px 0 28px; }
.fill label, .form label { display: block; font-size: 15px; color: var(--muted); }
.fill input, .form input[type="text"], .form input[type="email"], .form textarea {
  display: block; width: 100%; margin-top: 4px;
  font: inherit; font-size: 16px; color: var(--text);
  padding: 10px 12px; border: 1px solid var(--line); border-radius: 6px; background: #fff;
}
.questions { padding-left: 1.4em; margin: 0 0 16px; }
.questions li { margin-bottom: 18px; }
.q { font-size: 18px; font-weight: 700; margin: 0 0 8px; }
.copy {
  font: inherit; font-size: 14px; padding: 6px 14px;
  border: 1px solid var(--accent); color: var(--accent); background: #fff; border-radius: 6px; cursor: pointer;
}
.copy.done { background: var(--accent); color: #fff; }
.note { color: var(--muted); font-size: 15px; }

/* 表 */
.table-scroll { overflow-x: auto; margin: 0 0 20px; }
table { border-collapse: collapse; width: 100%; background: #fff; font-size: 16px; }
th, td { border: 1px solid var(--line); padding: 12px 14px; text-align: left; vertical-align: top; }
th { background: #ebe9e3; font-weight: 700; }
.nowrap { white-space: nowrap; }

/* 当社の実測 */
.figure { margin: 0 0 12px; color: var(--muted); }
.figure .big { font-size: 44px; font-weight: 700; color: var(--text); margin-right: 6px; }

/* 本 */
.book { background: var(--book-bg); color: #f2efe8; }
.book h2 { color: #fff; }
.book a:not(.btn) { color: var(--gold); }
.book-inner { display: grid; gap: 28px; }
.cover { width: 200px; height: auto; display: block; }
.book-title { color: var(--gold); font-weight: 700; }
.book ul { padding-left: 1.2em; margin: 0 0 24px; }

/* よくあるご質問 */
.faq dt { font-weight: 700; margin-top: 22px; }
.faq dt:first-child { margin-top: 0; }
.faq dd { margin: 6px 0 0; }

/* フォーム */
.form { display: grid; gap: 16px; margin-top: 8px; }
.form .check { display: flex; gap: 8px; align-items: flex-start; color: var(--text); font-size: 16px; }
.form .check input { margin-top: 7px; }
.form .btn { justify-self: start; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.site-footer { border-top: 1px solid var(--line); padding: 28px 0 36px; font-size: 14px; color: var(--muted); }
.site-footer p { margin: 0 0 6px; }

@media (min-width: 720px) {
  body { font-size: 18px; }
  .hero { padding: 72px 0 64px; }
  .hero h1 { font-size: 36px; }
  h2 { font-size: 27px; }
  .fill { grid-template-columns: 1fr 1fr; }
  .book-inner { grid-template-columns: 240px 1fr; align-items: start; }
  .cover { width: 240px; }
}

.thanks-title { font-size: 26px; line-height: 1.5; margin: 0 0 18px; }
