@charset "utf-8";
/* サイト共通（グラスモーフィズム：淡い青の地に青系の光、すりガラスのパネル）
   リセット・配色・背景・ヘッダー・メニュー（ドロワー）・フッター・トップ・規約ページの本文
   ページ固有の CSS（/contact/contact.css など）はこの後に読み込む */

:root {
  --site-ink: #0f1b35;
  --site-text: #2f3a52;
  --site-muted: #56627c;
  --site-bg: #eef3fb;
  --site-navy: #1e3a8a;
  --site-blue: #2563eb;
  --site-sky: #0ea5e9;
  --site-accent: #1d4ed8;
  --site-gradient: linear-gradient(120deg, var(--site-navy) 0%, var(--site-blue) 52%, var(--site-sky) 100%);
  --site-glass: rgba(255, 255, 255, 0.58);
  --site-glass-strong: rgba(255, 255, 255, 0.8);
  --site-glass-bar: rgba(255, 255, 255, 0.55);
  --site-glass-thin: rgba(255, 255, 255, 0.38);
  --site-stroke: rgba(255, 255, 255, 0.8);
  --site-line: rgba(30, 58, 138, 0.12);
  --site-hover: rgba(29, 78, 216, 0.06);
  --site-shadow: 0 12px 40px rgba(30, 58, 138, 0.12);
  --site-blur: blur(20px) saturate(170%);
  --site-radius: 24px;
  --site-header-h: 56px;
  --site-gutter: 20px;
  --site-jp: 'Noto Sans JP', 'Hiragino Sans', 'ヒラギノ角ゴシック', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', 'メイリオ', Meiryo, sans-serif;
  --site-latin: 'Helvetica Neue', Helvetica, Arial, var(--site-jp);
}
/* スマホはぼかしを軽くしてスクロールの負荷を下げる */
@media (max-width: 767.98px) {
  :root { --site-blur: blur(12px) saturate(150%); }
}
@media (min-width: 768px) {
  :root { --site-gutter: 40px; }
}
/* ぼかし非対応のブラウザはガラスを濃く、透明度を下げる設定では白の面に（各部品は変数で塗るので個別の指定は不要） */
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  :root { --site-glass: var(--site-glass-strong); --site-glass-bar: rgba(255, 255, 255, 0.85); }
}
@media (prefers-reduced-transparency: reduce) {
  :root { --site-glass: #fff; --site-glass-strong: #fff; --site-glass-bar: #fff; --site-glass-thin: #fff; --site-blur: none; }
}

/* ---------- リセット ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }
body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100svh;
  margin: 0;
  background: var(--site-bg);
  color: var(--site-text);
  font-family: var(--site-jp);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: 0.03em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body > main { flex: 1 0 auto; }
h1, h2, h3, h4, h5, h6, p, blockquote, figure, dl, dd, ul, ol, pre, hr { margin: 0; }
ul, ol { padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 { font-size: inherit; font-weight: inherit; }
img { border: 0; }
button { font: inherit; letter-spacing: inherit; }
a { color: var(--site-accent); }
:focus-visible { outline: 3px solid var(--site-accent); outline-offset: 2px; }

/* ---------- 背景：固定した色の光（放射グラデーションで描き、filter は使わない） ---------- */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background:
    radial-gradient(40vmax 40vmax at 6% 4%, rgba(37, 99, 235, 0.30), transparent 70%),
    radial-gradient(44vmax 44vmax at 98% 10%, rgba(14, 165, 233, 0.30), transparent 70%),
    radial-gradient(48vmax 48vmax at 80% 94%, rgba(30, 58, 138, 0.26), transparent 70%),
    radial-gradient(42vmax 42vmax at 2% 90%, rgba(56, 189, 248, 0.24), transparent 70%),
    var(--site-bg);
}

/* ---------- すりガラス（共通の部品） ---------- */
.site-header,
.site-footer,
.site-card {
  -webkit-backdrop-filter: var(--site-blur);
  backdrop-filter: var(--site-blur);
}
.site-card {
  border: 1px solid var(--site-stroke);
  border-radius: var(--site-radius);
  background: var(--site-glass);
  box-shadow: var(--site-shadow);
}

/* ---------- ヘッダー ---------- */
.site-header { position: relative; z-index: 100; border-bottom: 1px solid var(--site-stroke); background: var(--site-glass-bar); }
.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  height: var(--site-header-h);
  margin: 0 auto;
  padding: 0 max(var(--site-gutter), env(safe-area-inset-right)) 0 max(var(--site-gutter), env(safe-area-inset-left));
}
.site-logo { color: var(--site-ink); font-family: var(--site-latin); font-size: 21px; font-weight: 700; letter-spacing: 0.01em; line-height: 1; text-decoration: none; }
.site-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--site-ink);
  cursor: pointer;
}
.site-icon-btn:hover { background: var(--site-hover); }
.site-icon-btn svg { width: 24px; height: 24px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; }
.site-header .site-icon-btn { margin-right: -10px; }

/* ---------- メニュー（右から出るドロワー。<dialog> のモーダルで開き、Esc・背景クリックで閉じる） ---------- */
.site-drawer {
  position: fixed;
  z-index: 1000;
  inset: 0 0 0 auto;
  width: min(320px, 86vw);
  max-width: none;
  height: 100%;
  max-height: none;
  margin: 0;
  padding: 0;
  border: 0;
  border-left: 1px solid var(--site-stroke);
  background: var(--site-glass-strong);
  -webkit-backdrop-filter: var(--site-blur);
  backdrop-filter: var(--site-blur);
  color: var(--site-text);
  box-shadow: -12px 0 40px rgba(15, 27, 53, 0.18);
  transform: translateX(100%);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}
.site-drawer:not([open]) { display: none; }
.site-drawer[open] { transform: none; }
.site-drawer::backdrop {
  background: rgba(15, 27, 53, 0);
  transition: background-color 0.3s, overlay 0.3s allow-discrete, display 0.3s allow-discrete;
}
.site-drawer[open]::backdrop { background: rgba(15, 27, 53, 0.36); }
@starting-style {
  .site-drawer[open] { transform: translateX(100%); }
  .site-drawer[open]::backdrop { background: rgba(15, 27, 53, 0); }
}
html:has(.site-drawer[open]) { overflow: hidden; padding-right: var(--site-scrollbar, 0px); }

.site-drawer__panel {
  display: flex;
  flex-direction: column;
  min-height: 100%;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) max(24px, env(safe-area-inset-bottom)) 0;
}
.site-drawer__head {
  display: flex;
  flex: none;
  align-items: center;
  justify-content: flex-end;
  height: var(--site-header-h);
  padding: 0 10px 0 24px;
  border-bottom: 1px solid var(--site-line);
}
.site-drawer__list { padding: 8px 0; }
.site-drawer nav .site-drawer__list { border-bottom: 1px solid var(--site-line); }
.site-drawer__list a {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 24px;
  color: var(--site-ink);
  font-size: 15px;
  line-height: 1.5;
  text-decoration: none;
}
.site-drawer__list a:hover { background: var(--site-hover); }
.site-drawer__list a:focus-visible { outline-offset: -3px; }
.site-drawer__list a[aria-current="page"] { color: var(--site-accent); font-weight: 700; box-shadow: inset 3px 0 0 var(--site-accent); }
.site-drawer__label { padding: 6px 24px 0; color: var(--site-muted); font-size: 12px; line-height: 1.5; letter-spacing: 0.08em; }
.site-drawer__label + .site-drawer__list { padding-top: 2px; }
.site-ext-icon { flex: none; width: 14px; height: 14px; fill: none; stroke: var(--site-muted); stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

@media (prefers-reduced-motion: reduce) {
  .site-drawer, .site-drawer::backdrop { transition: none; }
}

/* ---------- フッター（各ページへのリンクはメニューにあるので、ここはコピーライトだけ） ---------- */
.site-footer {
  padding: 24px max(var(--site-gutter), env(safe-area-inset-right)) max(24px, env(safe-area-inset-bottom)) max(var(--site-gutter), env(safe-area-inset-left));
  border-top: 1px solid var(--site-stroke);
  background: var(--site-glass-bar);
}
.site-footer .copyright { color: var(--site-ink); font-family: var(--site-latin); font-size: 12px; letter-spacing: 0.02em; line-height: 1.5; text-align: center; }

/* ---------- トップ：ロゴは画面の中央、紹介文は下寄せ ----------
   ロゴの上の余白と紹介文の枠を同じ大きさ・伸び率にしてロゴを中央に置く。画面が低いときは上の余白だけが縮む */
.site-home {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px max(var(--site-gutter), env(safe-area-inset-right)) 40px max(var(--site-gutter), env(safe-area-inset-left));
}
.site-home::before { content: ''; flex: 1 1 0; padding-top: 40px; }
.site-home__logo { flex: none; width: 30%; max-width: 200px; }
.site-home__logo img { display: block; width: 100%; height: auto; }
.site-home__foot { flex: 1 1 0; display: flex; align-items: flex-end; padding-top: 40px; }
.site-home__intro { font-size: 14px; line-height: 2; text-align: center; }
@media (max-width: 600px) {
  .site-home__intro { text-align: justify; }
}

/* ---------- 規約・ご質問などの本文：見出しは光の上、本文はすりガラスのカード ---------- */
.site-doc {
  width: 100%;
  max-width: calc(880px + 2 * var(--site-gutter));
  margin: 0 auto;
  padding: 48px max(var(--site-gutter), env(safe-area-inset-right)) 72px max(var(--site-gutter), env(safe-area-inset-left));
}
.site-doc h1 {
  margin-bottom: 24px;
  color: var(--site-ink);
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.4;
}
.site-doc__body { padding: 28px 20px; }
@media (min-width: 768px) {
  .site-doc__body { padding: 44px 48px; }
}
.site-doc h2 { margin: 40px 0 12px; color: var(--site-ink); font-size: 19px; font-weight: 700; line-height: 1.6; }
.site-doc__body > h2:first-child { margin-top: 0; }
.site-doc h3 { margin: 28px 0 8px; color: var(--site-ink); font-size: 16px; font-weight: 700; line-height: 1.6; }
.site-doc h3 small { margin-right: 0.6em; color: var(--site-accent); font-family: var(--site-latin); font-size: 14px; }
.site-doc h5 { margin: 16px 0; color: var(--site-text); font-size: 14px; font-weight: 400; line-height: 1.8; }
.site-doc p { margin-bottom: 16px; }
.site-doc__body > :last-child { margin-bottom: 0; }
.site-doc hr { margin: 40px 0; border: 0; border-top: 1px solid var(--site-line); }
.site-doc__body > hr:last-child { display: none; }
.site-doc .text-right { text-align: right; }
