@import url("https://fonts.googleapis.com/css2?family=Merriweather:wght@400;700&family=Noto+Sans+JP:wght@400;500;700&family=Roboto+Mono:wght@500;700&display=swap");

:root {
  --paper: #f4f0e9;
  --card: #fffdf9;
  --ink: #18242a;
  --muted: #5d6767;
  --line: #d8d2c8;
  --coral: #c2594c;
  --gold: #ad843e;
  --deep: #1d3032;
  --blue-wash: #dce8e8;
  --shadow: 0 20px 50px rgba(24, 36, 42, 0.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { margin: 0; background: var(--paper); color: var(--ink); font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif; line-height: 1.75; }
a { color: inherit; }
.shell { width: min(1120px, calc(100% - 48px)); margin: 0 auto; }
.narrow { max-width: 830px; }

.site-header { border-bottom: 1px solid var(--line); background: rgba(244, 240, 233, 0.92); }
.header-inner { min-height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: inline-flex; }
.brand img { width: 186px; height: auto; }
.back-link, .footer-inner > a { font-size: 0.82rem; font-weight: 700; text-decoration: none; }
.back-link:hover, .footer-inner > a:hover { color: var(--coral); }

.hero { padding: 94px 0 80px; border-bottom: 1px solid var(--line); background: radial-gradient(circle at 85% 15%, rgba(173, 132, 62, 0.14), transparent 29%), var(--paper); }
.hero-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 72px; align-items: end; }
.eyebrow, .tool-number { margin: 0 0 15px; color: var(--coral); font-family: "Roboto Mono", monospace; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.11em; }
.eyebrow span { margin-left: 10px; padding: 3px 7px; border: 1px solid rgba(194, 89, 76, 0.5); border-radius: 100px; font-family: "Noto Sans JP", sans-serif; font-size: 0.65rem; letter-spacing: 0; }
h1, h2, h3 { margin: 0; color: var(--ink); line-height: 1.25; }
h1, h2 { font-family: "Merriweather", "Noto Sans JP", serif; }
h1 { font-size: clamp(2.4rem, 5vw, 4.9rem); letter-spacing: -0.045em; }
h1 em { color: var(--coral); font-style: normal; }
.hero-copy { max-width: 620px; margin: 28px 0 0; color: var(--muted); font-size: 1.02rem; }
.trust-note { display: flex; gap: 16px; padding: 27px 26px; border-left: 5px solid var(--gold); background: var(--deep); box-shadow: 0 18px 38px rgba(24, 36, 42, 0.2); color: #fff; }
.note-mark { display: grid; flex: 0 0 32px; width: 32px; height: 32px; place-items: center; border-radius: 50%; background: #dcb56d; color: var(--deep); font-size: 1rem; font-weight: 700; }
.trust-note strong { color: #fff; font-size: 1rem; line-height: 1.5; }
.trust-note p { margin: 7px 0 0; color: rgba(237, 241, 236, 0.78); font-size: 0.8rem; line-height: 1.75; }

.tools { padding: 92px 0 100px; }
.section-heading { max-width: 600px; margin-bottom: 40px; }
h2 { font-size: clamp(1.75rem, 3.7vw, 3rem); letter-spacing: -0.035em; }
.section-heading > p:last-child { margin: 18px 0 0; color: var(--muted); }
.tool-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.tool-card { display: grid; grid-template-rows: 260px 1fr; overflow: hidden; border: 1px solid var(--line); background: var(--card); box-shadow: var(--shadow); }
.tool-visual { position: relative; overflow: hidden; padding: 26px; }
.cover-visual { background: #e3ece9; }
.reader-visual { background: #eee3d0; }
.visual-label { position: absolute; top: 22px; left: 24px; color: rgba(24, 36, 42, 0.55); font-family: "Roboto Mono", monospace; font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em; }
.book-cover { position: absolute; left: 50%; bottom: -20px; display: grid; width: 136px; height: 184px; place-items: center; transform: translateX(-50%) rotate(-4deg); background: var(--deep); box-shadow: 18px 17px 0 rgba(24, 36, 42, 0.12); color: #f6eedf; font-family: "Merriweather", serif; text-align: center; letter-spacing: 0.08em; }
.search-lines { position: absolute; top: 67px; right: 40px; display: grid; gap: 12px; }
.search-lines i { display: block; width: 105px; height: 8px; border-radius: 8px; background: rgba(24, 36, 42, 0.18); }
.search-lines i:nth-child(2) { width: 74px; }.search-lines i:nth-child(3) { width: 88px; }
.reader-page { position: absolute; left: 50%; bottom: -8px; width: 192px; min-height: 212px; padding: 68px 28px 42px; transform: translateX(-50%); background: #fffdf8; box-shadow: 13px 14px 0 rgba(92, 74, 45, 0.14); }
.reader-page i { display: block; width: 100%; height: 4px; margin-top: 14px; background: #c8c1b7; }.reader-page i:nth-of-type(3) { width: 76%; }
.reader-controls { position: absolute; top: 70px; right: 32px; display: flex; flex-direction: column; gap: 11px; }.reader-controls span { display: grid; width: 29px; height: 29px; place-items: center; border-radius: 50%; background: rgba(255, 253, 248, 0.7); color: var(--deep); font-size: 0.75rem; }
.tool-body { padding: 34px; }.tool-number { margin-bottom: 10px; color: var(--gold); font-size: 0.66rem; }.tool-body h3 { font-family: "Merriweather", "Noto Sans JP", serif; font-size: clamp(1.3rem, 2vw, 1.75rem); letter-spacing: -0.03em; }.tool-body > p:not(.tool-number) { margin: 16px 0; color: var(--muted); font-size: 0.9rem; }.tool-body ul { margin: 0 0 26px; padding: 0; list-style: none; font-size: 0.78rem; }.tool-body li { position: relative; padding: 7px 0 7px 19px; border-top: 1px solid var(--line); }.tool-body li::before { position: absolute; left: 0; color: var(--coral); content: "•"; }.tool-link { display: flex; width: fit-content; align-items: center; gap: 12px; margin: 0 auto; padding: 12px 17px 12px 19px; border-radius: 999px; background: var(--coral); color: #fff; font-size: 0.82rem; font-weight: 700; text-decoration: none; transition: background 160ms ease, transform 160ms ease; }.tool-link span { font-size: 1.05rem; transition: transform 160ms ease; }.tool-link:hover { background: #a7473d; transform: translateY(-1px); }.tool-link:hover span { transform: translateX(3px); }

.how-it-works { padding: 90px 0; background: var(--deep); color: #edf1ec; }.how-it-works h2 { color: #fff; }.how-it-works .eyebrow { color: #dcb56d; }.how-it-works ol { margin: 42px 0 0; padding: 0; list-style: none; counter-reset: steps; }.how-it-works li { display: grid; grid-template-columns: 42% 1fr; gap: 24px; padding: 22px 0 22px 52px; border-top: 1px solid rgba(255, 255, 255, 0.18); counter-increment: steps; position: relative; }.how-it-works li::before { position: absolute; left: 0; color: #dcb56d; font-family: "Roboto Mono", monospace; font-size: 0.75rem; content: "0" counter(steps); }.how-it-works strong { color: #fff; font-family: "Merriweather", "Noto Sans JP", serif; }.how-it-works span { color: rgba(237, 241, 236, 0.72); font-size: 0.87rem; }

.faq { padding: 92px 0; }.faq > .shell > h2 { margin-bottom: 40px; }.faq-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 40px; }.faq-grid > div { padding: 23px 0; border-top: 1px solid var(--line); }.faq-grid h3 { font-size: 0.9rem; }.faq-grid p { margin: 9px 0 0; color: var(--muted); font-size: 0.8rem; }
.site-footer { padding: 38px 0; border-top: 1px solid var(--line); }.footer-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }.footer-inner strong { font-family: "Merriweather", "Noto Sans JP", serif; }.footer-inner p { margin: 4px 0 0; color: var(--muted); font-size: 0.76rem; }.footer-meta { display: flex; flex-wrap: wrap; gap: 4px 16px; padding-top: 5px; }.footer-meta span { position: relative; }.footer-meta span + span::before { position: absolute; left: -10px; color: var(--line); content: "•"; }.back-to-top { position: fixed; right: 24px; bottom: 24px; z-index: 10; display: grid; width: 48px; height: 48px; place-items: center; border: 1px solid rgba(255, 255, 255, 0.4); border-radius: 50%; background: var(--deep); box-shadow: 0 10px 24px rgba(24, 36, 42, 0.22); color: #fff; font-size: 1.3rem; line-height: 1; opacity: 0; pointer-events: none; text-decoration: none; transform: translateY(12px); transition: opacity 180ms ease, transform 180ms ease, background 180ms ease; }.back-to-top:hover { background: var(--coral); }.back-to-top.is-visible { opacity: 1; pointer-events: auto; transform: translateY(0); }

@media (max-width: 760px) { .shell { width: min(100% - 32px, 1120px); }.header-inner { min-height: 66px; }.brand img { width: 150px; }.back-link { font-size: 0.72rem; }.hero { padding: 70px 0 58px; }.hero-layout, .tool-grid, .faq-grid { grid-template-columns: 1fr; }.hero-layout { gap: 36px; }.trust-note { max-width: 460px; }.tools, .faq { padding: 64px 0; }.tool-card { grid-template-rows: 230px 1fr; }.tool-body { padding: 28px 24px; }.how-it-works { padding: 64px 0; }.how-it-works li { grid-template-columns: 1fr; gap: 5px; padding-left: 44px; }.footer-inner { align-items: flex-start; flex-direction: column; gap: 16px; }.footer-meta { display: grid; gap: 2px; }.footer-meta span + span::before { content: none; }.back-to-top { right: 16px; bottom: 16px; width: 44px; height: 44px; } }
