/*
Theme Name: Japan Watchdesk
Theme URI: https://kazunakyoto.com/
Author: Kazuo Akutsu
Description: Lightweight conversion-focused landing page theme for Japan Watchdesk.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 6.8
Requires PHP: 8.0
Text Domain: japan-watchdesk
*/

:root {
  --bg: #f7f7f3;
  --surface: #ffffff;
  --ink: #161616;
  --muted: #5f6368;
  --line: #d8d8d2;
  --accent: #b72c2c;
  --accent-dark: #8e2020;
  --navy: #12303f;
  --gold: #c59b38;
  --focus: #005fcc;
  --max: 1120px;
  --radius: 6px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: inherit; }
a:focus, button:focus, input:focus, textarea:focus, select:focus { outline: 3px solid var(--focus); outline-offset: 3px; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 10px 14px; z-index: 10; }
.skip-link:focus { left: 8px; }
.site-header { border-bottom: 1px solid var(--line); background: rgba(247, 247, 243, .96); }
.header-inner, .section-inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; }
.header-inner { display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 18px 0; }
.brand { font-weight: 760; text-decoration: none; color: var(--navy); }
.header-cta { display: none; }
.button, .header-cta {
  background: var(--accent);
  color: #fff;
  border: 0;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-weight: 740;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  cursor: pointer;
}
.button:hover, .header-cta:hover { background: var(--accent-dark); }
.hero { background: var(--surface); border-bottom: 1px solid var(--line); }
.hero-inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; padding: 56px 0 48px; }
.eyebrow, .section-kicker { color: var(--accent); font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; margin: 0 0 10px; }
h1, h2, h3 { line-height: 1.12; letter-spacing: 0; margin: 0; }
h1 { font-size: clamp(40px, 8vw, 76px); max-width: 920px; color: var(--navy); }
h2 { font-size: clamp(28px, 5vw, 46px); max-width: 850px; color: var(--navy); }
h3 { font-size: 21px; color: var(--navy); margin-bottom: 8px; }
.hero-sub { font-size: clamp(21px, 3.8vw, 32px); line-height: 1.25; max-width: 820px; margin: 22px 0 0; }
.hero-proof, .microcopy, .panel p, .faq p, .form-note { color: var(--muted); }
.hero-proof { max-width: 760px; margin: 22px 0 0; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; align-items: center; margin-top: 30px; }
.microcopy, .form-note { font-size: 14px; }
section { padding: 54px 0; border-bottom: 1px solid var(--line); }
.lead { font-size: 20px; line-height: 1.45; max-width: 840px; margin: 18px 0 0; }
.grid { display: grid; gap: 18px; margin-top: 28px; }
.grid.three, .grid.two { grid-template-columns: 1fr; }
.panel, .output, form, .faq details {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}
.panel { padding: 22px; }
.panel p { margin: 0; }
ul.clean { list-style: none; padding: 0; margin: 26px 0 0; display: grid; gap: 12px; }
ul.clean li { background: var(--surface); border-left: 4px solid var(--gold); padding: 15px 17px; }
.process { counter-reset: step; display: grid; gap: 14px; margin-top: 28px; }
.step { counter-increment: step; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 18px; display: grid; grid-template-columns: 44px 1fr; gap: 14px; align-items: start; }
.step::before { content: counter(step); width: 34px; height: 34px; border-radius: 50%; background: var(--navy); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-weight: 800; }
.step strong { display: block; color: var(--navy); }
.output { background: #fbfaf6; padding: 22px; margin-top: 28px; }
.output-row { border-top: 1px solid var(--line); padding: 16px 0; }
.output-row:first-child { border-top: 0; padding-top: 0; }
.output-label { display: block; color: var(--accent); font-weight: 800; font-size: 13px; text-transform: uppercase; letter-spacing: .05em; margin-bottom: 4px; }
.faq details { padding: 18px 20px; }
.faq details + details { margin-top: 12px; }
.faq summary { cursor: pointer; font-weight: 760; color: var(--navy); }
.faq p { margin: 12px 0 0; }
.contact-wrap { display: grid; gap: 28px; margin-top: 28px; }
form { padding: 22px; }
label { display: block; font-weight: 720; color: var(--navy); margin: 0 0 6px; }
.field { margin-bottom: 16px; }
input, textarea, select { width: 100%; border: 1px solid #b9b9b1; border-radius: var(--radius); padding: 12px 13px; font: inherit; background: #fff; color: var(--ink); }
textarea { min-height: 140px; resize: vertical; }
.required { color: var(--accent); }
.status { font-size: 14px; background: #eef7ed; border: 1px solid #b9d8b4; color: #244f25; padding: 12px 14px; border-radius: var(--radius); margin-bottom: 18px; }
.status.error { background: #fff1f1; border-color: #e3b3b3; color: #842121; }
.hidden-field { position: absolute; left: -5000px; }
.site-footer { padding: 30px 0; color: var(--muted); font-size: 14px; }
.footer-inner { width: min(var(--max), calc(100% - 32px)); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 12px; justify-content: space-between; }
@media (min-width: 720px) {
  .header-cta { display: inline-flex; }
  .hero-inner { padding: 78px 0 70px; }
  section { padding: 72px 0; }
  .grid.three { grid-template-columns: repeat(3, 1fr); }
  .grid.two { grid-template-columns: repeat(2, 1fr); }
  .contact-wrap { grid-template-columns: .8fr 1.2fr; align-items: start; }
  form { padding: 28px; }
}
