/* ------------------------------------------------------------------
   アオハルホテル｜掲載・PRのご相談ページ
   トークンと部品は公開サイト（site/styles.css）から必要な分だけ写している。
   白 × 墨 × ロゴの水色。角丸 4px。小さな英字キッカー＋日本語見出し＋罫線。
------------------------------------------------------------------- */
:root {
  --sky-200: #c5e0f3;
  --sky-600: #0b6fb0;
  --sky-700: #085a90;
  --accent: var(--sky-600);
  --accent-hover: var(--sky-700);
  --on-accent: #ffffff;

  --paper: #ffffff;
  --surface: #ffffff;
  --surface-sub: #f6f7f8;
  --line: #e1e4e8;
  --muted: #6b737b;
  --ink-soft: #3d444b;
  --ink: #16191d;

  --sans: "Zen Kaku Gothic New", "Hiragino Sans", "Yu Gothic", "YuGothic", -apple-system, BlinkMacSystemFont, sans-serif;
  --radius: 4px;
  --gutter: clamp(16px, 2.5vw, 40px);
  --tap: 44px;
  --header-h: 60px;
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
}

* { box-sizing: border-box; }
[hidden] { display: none !important; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--sans);
  font-size: 15px;
  letter-spacing: 0.02em;
  line-height: 1.9;
  min-height: 100vh;
  padding-bottom: var(--safe-bottom);
  -webkit-font-smoothing: antialiased;
  accent-color: var(--accent);
  overflow-x: clip;
}
h1, h2, h3 { font-weight: 700; letter-spacing: 0.04em; line-height: 1.5; margin: 0; }
p { margin: 0 0 1em; }
button, input, textarea, select { font: inherit; color: inherit; letter-spacing: inherit; }
button { background: none; border: 0; cursor: pointer; padding: 0; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
:focus { outline: none; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; }

.container {
  margin: 0 auto;
  max-width: 1200px;
  padding-left: calc(var(--gutter) + var(--safe-left));
  padding-right: calc(var(--gutter) + var(--safe-right));
  width: 100%;
}
.kicker { color: var(--muted); display: block; font-size: 11px; font-weight: 500; letter-spacing: 0.16em; line-height: 1.4; margin-bottom: 8px; text-transform: uppercase; }

/* ---- ヘッダ ---- */
.site-header { background: var(--paper); border-bottom: 1px solid var(--line); padding-top: var(--safe-top); }
.site-header-inner {
  align-items: center;
  display: flex;
  margin: 0 auto;
  max-width: 1200px;
  min-height: var(--header-h);
  padding: 0 calc(var(--gutter) + var(--safe-right)) 0 calc(var(--gutter) + var(--safe-left));
}
.brand { align-items: center; display: inline-flex; gap: 10px; min-height: var(--tap); min-width: 0; }
.brand-mark { display: flex; flex-direction: column; line-height: 1.15; }
.brand-mark strong { font-size: 17px; font-weight: 700; letter-spacing: 0.14em; white-space: nowrap; }
.brand-logo { border-radius: var(--radius); flex: 0 0 auto; height: 32px; object-fit: cover; width: 32px; }

/* ---- 誌面の行（公開サイトの .about-row と同じ文法） ---- */
.about-page { padding-block: clamp(40px, 9vw, 120px) clamp(48px, 8vw, 96px); }
.about-row { display: grid; gap: 12px; }
.about-row + .about-row { border-top: 1px solid var(--line); margin-top: clamp(40px, 8vw, 96px); padding-top: clamp(32px, 5vw, 56px); }
.about-row > .kicker { margin: 0; }
.about-row-body { min-width: 0; }
.about-row-body > p:last-child { margin-bottom: 0; }
.about-lead { font-size: clamp(22px, 2.8vw, 34px); font-weight: 700; letter-spacing: 0.06em; line-height: 1.6; margin: 0 0 clamp(16px, 3vw, 32px); }
@media (min-width: 900px) {
  .about-row { align-items: start; column-gap: clamp(32px, 5vw, 80px); grid-template-columns: minmax(160px, 1fr) minmax(0, 3fr); }
  .about-row-body { max-width: 760px; }
}

/* ---- ボタン・リンク ---- */
.btn {
  align-items: center;
  background: var(--surface);
  border: 1px solid var(--ink);
  border-radius: var(--radius);
  color: var(--ink);
  display: inline-flex;
  font-size: 15px;
  font-weight: 500;
  gap: 8px;
  justify-content: center;
  letter-spacing: 0.06em;
  min-height: 48px;
  padding: 0 22px;
  text-align: center;
  transition: background 150ms ease, border-color 150ms ease, color 150ms ease;
}
.btn:hover { background: var(--ink); color: var(--paper); }
.btn-primary { background: var(--accent); border-color: var(--accent); color: var(--on-accent); }
.btn-primary:hover { background: var(--accent-hover); border-color: var(--accent-hover); color: var(--on-accent); }
.btn:disabled { cursor: progress; opacity: 0.6; }
.text-link { border-bottom: 1px solid currentColor; color: var(--ink); font-size: 13px; font-weight: 500; letter-spacing: 0.06em; padding-bottom: 2px; }
.text-link:hover { color: var(--accent); }

/* ---- フォーム ---- */
.inquiry-form { display: grid; gap: 16px; max-width: 720px; }
.form-row { display: grid; gap: 16px; grid-template-columns: repeat(2, minmax(0, 1fr)); }
.field { display: grid; gap: 5px; min-width: 0; }
.field label { color: var(--ink-soft); font-size: 13px; }
/* 16px 未満だと iOS が入力時に拡大する */
.field input, .field textarea, .field select {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  font-size: 16px;
  min-height: var(--tap);
  outline: 0;
  padding: 9px 12px;
  width: 100%;
}
.field textarea { line-height: 1.7; min-height: 140px; resize: vertical; }
.field input:focus-visible, .field textarea:focus-visible, .field select:focus-visible { border-color: var(--ink); }
.field-consent label { align-items: flex-start; color: var(--ink-soft); display: flex; font-size: 13px; gap: 10px; line-height: 1.7; min-height: var(--tap); padding-block: 8px; }
.field-consent input { flex: 0 0 auto; height: 22px; margin: 0; min-height: 0; padding: 0; width: 22px; }
.form-foot { align-items: center; display: flex; gap: 14px; justify-content: flex-end; }
.form-foot small { color: var(--muted); font-size: 12px; line-height: 1.7; }
.form-error { border-left: 2px solid var(--ink); color: var(--ink); font-size: 13px; line-height: 1.7; margin: 0 0 4px; padding-left: 10px; }
.form-success { background: var(--surface); border: 1px solid var(--ink); border-radius: var(--radius); padding: 20px; }
.form-success strong { display: block; font-size: 16px; }
.form-success p { color: var(--ink-soft); font-size: 13px; margin: 6px 0 0; }
.inquiry-offline { background: var(--surface-sub); border: 1px solid var(--line); border-radius: var(--radius); padding: 20px; }
.inquiry-offline p { font-size: 13px; line-height: 1.8; margin: 0; }
.inquiry-noscript { border-left: 2px solid var(--ink); display: none; font-size: 13px; line-height: 1.8; margin: 0; padding-left: 10px; }
/* JavaScript が無いときはフォームを出さず、メールへ案内する */
.no-js .inquiry-form:not(.inquiry-offline) { display: none; }
.no-js .inquiry-noscript { display: block; }

/* ---- メール ---- */
.mail-address { font-size: 17px; font-weight: 500; letter-spacing: 0.04em; margin: 0 0 16px; overflow-wrap: anywhere; user-select: all; }
.mail-actions { display: flex; flex-wrap: wrap; gap: 12px; }
.mail-actions .btn { min-width: 200px; }
.copy-status { color: var(--ink-soft); font-size: 13px; margin: 10px 0 0; min-height: 1.9em; }
.copy-sink { height: 1px; left: -9999px; opacity: 0; position: fixed; top: 0; width: 1px; }

@media (max-width: 720px) {
  .form-row { grid-template-columns: 1fr; }
  .form-foot { align-items: stretch; flex-direction: column-reverse; }
  .form-foot .btn { width: 100%; }
  .mail-actions .btn { flex: 1 1 100%; }
}
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; }
}
