/* ハウエル(Hauer)の Web ページ。色はアプリの HauerColor（DesignSystem/HauerTheme.swift）と同じ */
:root {
  --paper: #f8f6f1;
  --ink: #24211d;
  --ink-secondary: #5f5a52;
  --rule: rgba(36, 33, 29, 0.13);
  --outline: rgba(36, 33, 29, 0.3);
  --surface: rgba(255, 255, 255, 0.55);
  --ribbon: #9a3b2e;
  --danger: #a3261c;
  --mincho: "Hiragino Mincho ProN", "Yu Mincho", YuMincho, "Noto Serif JP", serif;
  --gothic: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic", "Noto Sans JP", system-ui, sans-serif;
  color-scheme: light dark;
}

@media (prefers-color-scheme: dark) {
  :root {
    --paper: #1c1a17;
    --ink: #ede8df;
    --ink-secondary: #a9a398;
    --rule: rgba(237, 232, 223, 0.13);
    --outline: rgba(237, 232, 223, 0.3);
    --surface: rgba(255, 255, 255, 0.06);
    --ribbon: #c2604f;
    --danger: #e0786a;
  }
}

* { box-sizing: border-box; }

body {
  margin: 0;
  background: var(--paper) url(/assets/paper.png);
  background-size: 34px;
  background-blend-mode: multiply;
  color: var(--ink);
  font: 16px/1.9 var(--gothic);
  -webkit-text-size-adjust: 100%;
}

a { color: inherit; text-underline-offset: 0.2em; }
a:hover { color: var(--ribbon); }

.wrap { max-width: 720px; margin: 0 auto; padding: 0 24px; }

.site-header { border-bottom: 1px solid var(--rule); }
.site-header .wrap { display: flex; align-items: center; justify-content: space-between; height: 64px; }
.logo { font: 22px var(--mincho); text-decoration: none; letter-spacing: 0.06em; }
.logo small { margin-left: 8px; font: 600 11px var(--gothic); letter-spacing: 0.3em; color: var(--ink-secondary); }

main.wrap { padding-top: 48px; padding-bottom: 80px; }

h1, h2, h3 { font-family: var(--mincho); font-weight: 400; line-height: 1.5; }
h1 { font-size: 30px; margin: 0 0 8px; }
h2 { font-size: 21px; margin: 48px 0 12px; padding-bottom: 8px; border-bottom: 1px solid var(--rule); }
h3 { font-size: 17px; margin: 28px 0 8px; }
p, ul, ol, dl { margin: 0 0 16px; }
li { margin-bottom: 4px; }
.meta { color: var(--ink-secondary); font-size: 14px; }
.lead { font-size: 17px; }

dl.table { display: grid; grid-template-columns: max-content 1fr; gap: 8px 24px; }
dl.table dt { color: var(--ink-secondary); }
dl.table dd { margin: 0; }

/* 紹介ページ */
.hero { text-align: center; padding: 32px 0 16px; }
.hero .bird { width: 200px; height: auto; }
.hero h1 { font-size: 40px; letter-spacing: 0.08em; margin-top: 16px; }
.hero .catch { font: 24px/1.7 var(--mincho); margin: 24px 0; }
.badge {
  display: inline-block; margin-top: 8px; padding: 10px 24px; border-radius: 999px;
  background: var(--ink); color: var(--paper); font-weight: 700; letter-spacing: 0.1em; text-decoration: none;
}
.features { list-style: none; padding: 0; display: grid; gap: 16px; }
.features li { margin: 0; padding: 20px 24px; border-radius: 20px; background: var(--surface); box-shadow: inset 0 0 0 0.5px var(--outline); }
.features h3 { margin: 0 0 4px; }
.features p { margin: 0; color: var(--ink-secondary); font-size: 15px; }

/* お問い合わせ */
form { display: grid; gap: 20px; margin-top: 24px; }
label { display: grid; gap: 6px; align-content: start; font-weight: 600; font-size: 15px; }
label .optional { font-weight: 400; color: var(--ink-secondary); font-size: 13px; }
input, select, textarea {
  width: 100%; padding: 12px 14px; border: 0; border-radius: 12px;
  background: var(--surface); box-shadow: inset 0 0 0 1px var(--outline);
  color: var(--ink); font: 16px/1.6 var(--gothic);
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--ribbon); outline-offset: 1px; }
textarea { min-height: 200px; resize: vertical; }
fieldset { border: 0; padding: 0; margin: 0; display: grid; gap: 12px; }
legend { font-weight: 600; font-size: 15px; margin-bottom: 6px; }
.row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; }
@media (max-width: 560px) { .row { grid-template-columns: 1fr; } }
button {
  justify-self: start; padding: 14px 32px; border: 0; border-radius: 999px;
  background: var(--ink); color: var(--paper); font: 700 17px var(--gothic); letter-spacing: 0.1em; cursor: pointer;
}
button:disabled { opacity: 0.5; cursor: default; }
.error { color: var(--danger); font-weight: 600; }
.error:empty { display: none; }

.site-footer { border-top: 1px solid var(--rule); padding: 32px 0 48px; font-size: 14px; color: var(--ink-secondary); }
.site-footer nav { display: flex; flex-wrap: wrap; gap: 8px 24px; margin-bottom: 12px; }
