/* Unface — LP + ツールUI
   カラーは薄紫がかった白の紙に、深い藍のインクとペリウィンクル、
   保存の瞬間だけ暖色のあんず色。写真を預かる不安を和らげる落ち着いた配色。 */

:root {
  --bg:        #F5F6FB;
  --bg-tint:   #ECEEF9;
  --surface:   #FFFFFF;
  --ink:       #232A47;
  --ink-soft:  #565E7E;
  --ink-faint: #868DA6;
  --primary:   #5C63C9;
  --primary-deep: #454BB0;
  --accent:    #F2905F;
  --accent-deep: #DE7742;
  --line:      #E3E5F1;
  --line-soft: #EDEEF6;
  --ok:        #2E9B76;
  --warn-bg:   #FFF4E5;
  --warn-line: #F3C88A;
  --warn-ink:  #925514;
  --err-bg:    #FDEDEC;
  --err-line:  #F3C0BC;
  --err-ink:   #B23A31;

  --shadow-sm: 0 1px 2px rgba(35,42,71,.05), 0 1px 3px rgba(35,42,71,.04);
  --shadow-md: 0 4px 12px rgba(44,50,90,.07), 0 14px 30px rgba(44,50,90,.07);
  --shadow-lg: 0 10px 26px rgba(44,50,90,.10), 0 26px 60px rgba(44,50,90,.13);

  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;

  --font-body: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "YuGothic",
    Meiryo, system-ui, sans-serif;
  --font-display: "Hiragino Maru Gothic ProN", "ヒラギノ丸ゴ ProN W4",
    -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans",
    "Noto Sans JP", "Yu Gothic", Meiryo, system-ui, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }

/* display 指定のある要素でも hidden 属性を効かせる（.dropzone は flex のため） */
[hidden] { display: none !important; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.8;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

img { max-width: 100%; display: block; }

a { color: var(--primary); }

.skip {
  position: absolute; left: 12px; top: -48px; z-index: 100;
  background: var(--ink); color: #fff; padding: 8px 14px; border-radius: 8px;
  text-decoration: none; transition: top .15s;
}
.skip:focus { top: 12px; }

.wrap { width: 100%; max-width: 960px; margin: 0 auto; padding: 0 20px; }
.wrap-narrow { max-width: 680px; }

/* ---- ヘッダー ---- */
.site-head {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  max-width: 960px; margin: 0 auto; padding: 16px 20px;
}
.brand {
  display: inline-flex; align-items: center; gap: 9px;
  text-decoration: none; color: var(--ink);
}
.brand-mark { display: inline-flex; line-height: 0; }
.brand-mark svg { display: block; border-radius: 9px; box-shadow: var(--shadow-sm); }
.brand-name {
  font-family: var(--font-display);
  font-weight: 700; font-size: 20px; letter-spacing: .01em;
}
.head-right { position: relative; display: flex; align-items: center; gap: 12px; }

/* ハンバーガーボタン(スマホのみ表示。720px以上では非表示) */
.nav-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 36px; flex: none; padding: 0; cursor: pointer;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 10px; box-shadow: var(--shadow-sm);
}
.nav-toggle:hover { border-color: var(--primary); }
.nav-toggle:focus-visible { outline: 3px solid rgba(92,99,201,.5); outline-offset: 2px; }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after {
  content: ""; display: block; width: 18px; height: 2px; border-radius: 2px;
  background: var(--ink-soft); transition: transform .2s ease, opacity .15s ease;
}
.nav-toggle-bars { position: relative; }
.nav-toggle-bars::before { position: absolute; left: 0; top: -6px; }
.nav-toggle-bars::after  { position: absolute; left: 0; top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::before { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bars::after  { transform: translateY(-6px) rotate(-45deg); }

/* スマホ: ナビはハンバーガーで開閉するドロップダウンパネル */
.head-nav {
  position: absolute; top: calc(100% + 8px); right: 0; z-index: 55;
  display: flex; flex-direction: column; align-items: stretch; gap: 2px;
  min-width: 190px; padding: 8px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: 14px; box-shadow: var(--shadow-lg);
  opacity: 0; transform: translateY(-6px) scale(.98); transform-origin: top right;
  pointer-events: none; transition: opacity .16s ease, transform .16s ease;
}
.head-nav.is-open { opacity: 1; transform: translateY(0) scale(1); pointer-events: auto; }
.head-nav a {
  color: var(--ink-soft); text-decoration: none; font-size: 15px; font-weight: 600;
  white-space: nowrap; padding: 10px 12px; border-radius: 9px;
  transition: background .12s, color .12s;
}
.head-nav a:hover { color: var(--primary); background: var(--bg-tint); }

/* 言語切替（日本語 / English）ドロップダウン */
.lang-select {
  appearance: none; -webkit-appearance: none;
  flex: none; cursor: pointer;
  font-family: var(--font-body); font-size: 13px; font-weight: 700; line-height: 1.4;
  color: var(--ink-soft);
  background-color: var(--surface);
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 6px 30px 6px 14px;
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
  /* 右側の下向きシェブロン（--ink-soft 相当のグレー） */
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='none' stroke='%23565E7E' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round' d='M2.5 4.5 6 8l3.5-3.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 11px center;
  transition: color .15s, border-color .15s;
}
.lang-select:hover { color: var(--primary); border-color: var(--primary); }
.lang-select:focus-visible { outline: 3px solid rgba(92,99,201,.5); outline-offset: 2px; }

/* ---- ヒーロー ---- */
.hero {
  position: relative; overflow: hidden;
  padding: 24px 0 8px;
}
.hero-glow {
  position: absolute; z-index: 0;
  top: -150px; left: 50%; transform: translateX(-50%);
  width: min(820px, 124vw); height: 560px;
  background:
    radial-gradient(closest-side, rgba(120,128,224,.34), transparent 70%),
    radial-gradient(closest-side, rgba(242,144,95,.20), transparent 70%);
  background-position: 28% 28%, 80% 42%;
  background-repeat: no-repeat;
  background-size: 72% 92%, 62% 72%;
  filter: blur(8px);
  pointer-events: none;
}
.hero-inner {
  position: relative; z-index: 1;
  max-width: 680px; margin: 0 auto; padding: 20px 20px 40px; text-align: center;
}
.eyebrow {
  display: inline-flex; align-items: center; gap: 7px;
  margin: 0 0 16px; padding: 6px 15px 6px 12px;
  font-size: 12.5px; font-weight: 700; letter-spacing: .12em;
  color: var(--primary);
  background: rgba(92,99,201,.09);
  border: 1px solid rgba(92,99,201,.14);
  border-radius: 999px;
}
.eyebrow::before {
  content: ""; flex: none;
  width: 6px; height: 6px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 3px rgba(242,144,95,.18);
}
.hero-title {
  font-family: var(--font-display);
  margin: 0;
  font-size: clamp(2.05rem, 8.5vw, 3.35rem);
  font-weight: 800; line-height: 1.28; letter-spacing: -.01em;
  color: var(--ink);
}
.hero-tag {
  margin: 12px 0 0;
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4.6vw, 1.6rem);
  font-weight: 700;
  color: var(--accent-deep);
}
.hero-lead {
  margin: 16px auto 0; max-width: 30em;
  font-size: clamp(.95rem, 3.6vw, 1.06rem);
  color: var(--ink-soft); line-height: 1.9;
}
/* PC のみ有効な改行。スマホ(既定)では改行させず自然に折り返す。 */
.pc-br { display: none; }

/* ---- ツール（ドロップ〜結果の共通枠） ---- */
.tool { margin: 26px 0 14px; text-align: left; }

.dropzone {
  position: relative;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  text-align: center;
  min-height: 240px; padding: 34px 20px;
  background:
    radial-gradient(340px 180px at 50% 34%, rgba(120,128,224,.07), transparent 72%),
    linear-gradient(180deg, #FFFFFF, #FBFBFF);
  border: 2px dashed #CDD2EE;
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  cursor: pointer;
  transition: border-color .18s, box-shadow .18s, transform .18s, background .18s;
}
.dropzone:hover { border-color: var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-3px); }
.dropzone:focus-visible { outline: 3px solid rgba(92,99,201,.5); outline-offset: 3px; }
.dropzone.is-over {
  border-color: var(--primary); border-style: solid;
  background:
    radial-gradient(340px 180px at 50% 34%, rgba(120,128,224,.12), transparent 72%),
    linear-gradient(180deg, #FBFCFF, #F4F6FF);
  box-shadow: var(--shadow-lg); transform: translateY(-3px);
}
.dz-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 84px; height: 84px; margin-bottom: 16px;
  background: radial-gradient(closest-side, rgba(120,128,224,.12), transparent 78%);
  border-radius: 50%;
}
.dz-icon svg { display: inline-block; }
.dz-title {
  margin: 0; font-family: var(--font-display);
  font-size: 1.18rem; font-weight: 700; color: var(--ink);
}
.dz-sub { margin: 6px 0 0; font-size: .92rem; color: var(--ink-faint); }

.dz-note {
  margin: 14px auto 0; max-width: 34em;
  font-size: .84rem; line-height: 1.7; color: var(--ink-faint); text-align: center;
}

/* パネル共通（処理中・結果・エラー） */
.panel {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  box-shadow: var(--shadow-md);
  padding: 22px;
}

/* 処理中 */
.proc-row { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.spinner {
  width: 20px; height: 20px; flex: none;
  border: 2.5px solid var(--line); border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin .8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.proc-stage { font-size: 1rem; font-weight: 600; color: var(--ink); }
.pbar {
  height: 8px; background: var(--line-soft); border-radius: 999px; overflow: hidden;
}
.pbar-fill {
  height: 100%; width: 0%;
  background: linear-gradient(90deg, var(--primary), #7E85E0);
  border-radius: 999px;
  transition: width .35s ease;
}
.proc-file {
  margin: 12px 0 0; font-size: .82rem; color: var(--ink-faint);
  word-break: break-all;
}

/* 結果 */
.result { text-align: center; }
.leak-banner {
  text-align: left;
  background: var(--warn-bg); border: 1px solid var(--warn-line);
  color: var(--warn-ink); border-radius: var(--r-md);
  padding: 12px 14px; margin-bottom: 16px; font-size: .9rem; line-height: 1.7;
}
.leak-banner strong { display: block; margin-bottom: 2px; }
.result-frame {
  border-radius: var(--r-md); overflow: hidden;
  background: repeating-conic-gradient(#EEF0F6 0% 25%, #F7F8FC 0% 50%) 50% / 22px 22px;
  box-shadow: inset 0 0 0 1px var(--line);
}
.result-img { width: 100%; height: auto; border-radius: var(--r-md); }
.result-meta { margin: 12px 0 0; font-size: .86rem; color: var(--ink-faint); }
.result-actions {
  display: flex; gap: 10px; justify-content: center; flex-wrap: wrap;
  margin-top: 16px;
}

.btn {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px; min-height: 48px; padding: 0 22px;
  border-radius: 999px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 1rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
  transition: background .15s, box-shadow .15s, transform .1s, border-color .15s;
}
.btn:active { transform: translateY(1px); }
.btn-save {
  background: linear-gradient(135deg, #F6A071, var(--accent-deep));
  color: #fff;
  box-shadow: 0 8px 20px rgba(222,119,66,.34);
}
.btn-save:hover {
  background: linear-gradient(135deg, var(--accent), var(--accent-deep));
  box-shadow: 0 11px 26px rgba(222,119,66,.42); transform: translateY(-1px);
}
.btn-ghost {
  background: #fff; color: var(--ink); border-color: var(--line);
}
.btn-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn:focus-visible { outline: 3px solid rgba(92,99,201,.5); outline-offset: 2px; }

.del-row { margin-top: 18px; padding-top: 16px; border-top: 1px solid var(--line-soft); }
.btn-link {
  background: none; border: none; padding: 4px 2px; cursor: pointer;
  font-family: var(--font-body); font-size: .9rem; font-weight: 600;
  color: var(--ink-soft); text-decoration: underline; text-underline-offset: 3px;
}
.btn-link.danger { color: var(--err-ink); }
.btn-link:hover { opacity: .8; }
.btn-link:focus-visible { outline: 3px solid rgba(92,99,201,.5); outline-offset: 2px; border-radius: 4px; }
.btn-link[disabled] { opacity: .5; cursor: default; text-decoration: none; }
.del-note { margin: 4px 0 0; font-size: .78rem; color: var(--ink-faint); }

/* エラー */
.errorbox { text-align: center; }
.err-msg {
  margin: 0 0 16px;
  background: var(--err-bg); border: 1px solid var(--err-line);
  color: var(--err-ink); border-radius: var(--r-md);
  padding: 14px; font-size: .95rem; line-height: 1.7; text-align: left;
}

/* 特徴チップ */
.trust {
  list-style: none; margin: 20px 0 0; padding: 0;
  display: flex; gap: 8px; justify-content: center; flex-wrap: wrap;
}
.trust li {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .82rem; font-weight: 600; color: var(--ink-soft);
  background: var(--surface); border: 1px solid var(--line);
  padding: 7px 15px; border-radius: 999px; box-shadow: var(--shadow-sm);
  transition: border-color .15s, transform .15s;
}
.trust li:hover { border-color: #D3D7EF; transform: translateY(-1px); }
.trust li::before { content: "✓"; color: var(--primary); font-weight: 800; font-size: .92em; }

/* ---- 一般セクション ---- */
.section { padding: 64px 0; }
.how { background: var(--surface); border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); }
.faq { background: var(--bg-tint); }
.section-title {
  font-family: var(--font-display);
  margin: 0 0 32px; text-align: center;
  font-size: clamp(1.45rem, 5vw, 1.95rem); font-weight: 800; letter-spacing: -.01em;
}

/* 使い方ステップ */
.steps {
  list-style: none; margin: 0; padding: 0;
  display: grid; gap: 16px; grid-template-columns: 1fr;
  counter-reset: none;
}
.step {
  position: relative;
  background: var(--bg); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 24px 22px;
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.step:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #D3D7EF; }
.step-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; margin-bottom: 12px;
  font-family: var(--font-display); font-size: 1.05rem; font-weight: 800;
  color: #fff; letter-spacing: .02em;
  background: linear-gradient(135deg, #7E85E0, var(--primary-deep));
  border-radius: 13px;
  box-shadow: 0 6px 16px rgba(92,99,201,.30);
}
.step-title { margin: 2px 0 6px; font-size: 1.1rem; font-weight: 700; }
.step-body { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* 特徴 */
.feature-grid {
  display: grid; gap: 16px; grid-template-columns: 1fr;
}
.feature {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); padding: 24px;
  box-shadow: var(--shadow-sm);
  transition: transform .18s, box-shadow .18s, border-color .18s;
}
.feature:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: #D3D7EF; }
.feature-title {
  margin: 0 0 8px; font-size: 1.12rem; font-weight: 700;
  padding-left: 14px; position: relative;
}
.feature-title::before {
  content: ""; position: absolute; left: 0; top: .18em; bottom: .18em;
  width: 4px; border-radius: 4px; background: var(--primary);
}
.feature-body { margin: 0; font-size: .95rem; color: var(--ink-soft); }

/* FAQ */
.faq-list { display: grid; gap: 12px; }
.qa {
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); overflow: hidden;
  transition: border-color .15s, box-shadow .15s;
}
.qa:hover { border-color: #D3D7EF; box-shadow: var(--shadow-sm); }
.qa[open] { box-shadow: var(--shadow-sm); }
.qa summary {
  list-style: none; cursor: pointer;
  padding: 16px 46px 16px 18px; position: relative;
  font-weight: 700; font-size: 1rem; color: var(--ink);
}
.qa summary::-webkit-details-marker { display: none; }
.qa summary::after {
  content: ""; position: absolute; right: 20px; top: 50%;
  width: 9px; height: 9px; margin-top: -6px;
  border-right: 2px solid var(--primary); border-bottom: 2px solid var(--primary);
  transform: rotate(45deg); transition: transform .2s;
}
.qa[open] summary::after { transform: rotate(-135deg); margin-top: -2px; }
.qa summary:focus-visible { outline: 3px solid rgba(92,99,201,.4); outline-offset: -3px; }
.qa-body { padding: 0 18px 18px; }
.qa-body p { margin: 0; font-size: .93rem; color: var(--ink-soft); line-height: 1.85; }
.qa-body strong { color: var(--ink); }

/* ---- フッター ---- */
.site-foot { padding: 44px 0 28px; background: var(--ink); color: #fff; }
.foot-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 24px; flex-wrap: wrap;
}
.foot-brand .brand-name { color: #fff; font-size: 20px; }
.foot-tag { margin: 4px 0 0; font-size: .82rem; color: #B7BCD4; }
.foot-nav { display: flex; flex-direction: column; gap: 10px; text-align: right; }
.foot-nav a { color: #D6D9EC; text-decoration: none; font-size: .9rem; }
.foot-nav a:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.copyright {
  max-width: 960px; margin: 28px auto 0; padding: 20px 20px 0;
  border-top: 1px solid rgba(255,255,255,.12);
  font-size: .78rem; color: #8990AE;
}

/* ---- トースト ---- */
.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%) translateY(10px);
  background: var(--ink); color: #fff;
  padding: 12px 20px; border-radius: 999px; font-size: .9rem; font-weight: 600;
  box-shadow: var(--shadow-lg); z-index: 60;
  opacity: 0; transition: opacity .2s, transform .2s; pointer-events: none;
  max-width: calc(100vw - 32px); text-align: center;
}
.toast.is-show { opacity: 1; transform: translateX(-50%) translateY(0); }
.toast.is-error { background: var(--err-ink); }

/* ---- ドキュメント（規約・ポリシー） ---- */
.doc { padding: 32px 0 72px; }
.doc .wrap { max-width: 720px; }
.doc-draft {
  background: var(--warn-bg); border: 1px solid var(--warn-line); color: var(--warn-ink);
  border-radius: var(--r-md); padding: 12px 16px; font-size: .86rem; margin-bottom: 28px;
}
.doc h1 {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 6vw, 2.1rem); font-weight: 800; margin: 8px 0 6px;
}
.doc .updated { color: var(--ink-faint); font-size: .84rem; margin: 0 0 8px; }
.doc-note {
  color: var(--ink-faint); font-size: .84rem; font-style: italic;
  margin: 0 0 22px; line-height: 1.7;
}
.doc h2 {
  font-size: 1.2rem; font-weight: 700; margin: 36px 0 10px;
  padding-bottom: 8px; border-bottom: 1px solid var(--line);
}
.doc p, .doc li { color: var(--ink-soft); font-size: .96rem; line-height: 1.9; }
.doc ul { padding-left: 1.3em; margin: 10px 0; }
.doc li { margin-bottom: 6px; }
.doc strong { color: var(--ink); }
.doc a { word-break: break-all; }
.doc .back { display: inline-block; margin-top: 8px; font-size: .9rem; font-weight: 600; text-decoration: none; }
.doc .back:hover { text-decoration: underline; text-underline-offset: 3px; }

/* ---- Cookie 同意バナー（EU からのアクセス時のみ、consent.js が生成） ---- */
.cookie-consent {
  position: fixed; left: 12px; right: 12px; bottom: 12px; z-index: 1000;
  max-width: 720px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 12px 18px;
  padding: 15px 18px;
  background: var(--surface); border: 1px solid var(--line);
  border-radius: var(--r-md); box-shadow: var(--shadow-lg);
  transform: translateY(160%); opacity: 0;
  transition: transform .3s cubic-bezier(.22,.61,.36,1), opacity .3s ease;
}
.cookie-consent.is-show { transform: translateY(0); opacity: 1; }
.cc-text { flex: 1 1 260px; margin: 0; font-size: 13px; line-height: 1.75; color: var(--ink-soft); }
.cc-text a { color: var(--primary); font-weight: 600; }
.cc-actions { display: flex; gap: 8px; flex: 0 0 auto; }
.cc-btn {
  appearance: none; cursor: pointer; white-space: nowrap;
  font-family: var(--font-body); font-weight: 700; font-size: 13px;
  padding: 9px 18px; border-radius: 999px; border: 1px solid var(--line);
  transition: background .15s, color .15s, border-color .15s;
}
.cc-reject { background: var(--surface); color: var(--ink-soft); }
.cc-reject:hover { color: var(--primary); border-color: var(--primary); }
.cc-accept { background: var(--primary); color: #fff; border-color: var(--primary); }
.cc-accept:hover { background: var(--primary-deep); border-color: var(--primary-deep); }
.cc-btn:focus-visible { outline: 3px solid rgba(92,99,201,.5); outline-offset: 2px; }
@media (max-width: 480px) {
  .cc-actions { flex: 1 1 100%; }
  .cc-btn { flex: 1; }
}

/* ---- レスポンシブ（タブレット以上） ---- */
@media (min-width: 720px) {
  .hero { padding: 32px 0 12px; }
  .hero-inner { padding-top: 28px; }
  .steps { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .feature-grid { grid-template-columns: repeat(3, 1fr); gap: 20px; }
  .section { padding: 84px 0; }
  .pc-br { display: inline; }
  /* デスクトップ: ハンバーガーを隠し、ナビをインライン表示に戻す */
  .nav-toggle { display: none; }
  .head-nav {
    position: static; flex-direction: row; align-items: center; gap: 20px;
    min-width: 0; padding: 0; background: none; border: none; box-shadow: none;
    opacity: 1; transform: none; pointer-events: auto;
  }
  .head-nav a { padding: 0; font-size: 14px; border-radius: 0; }
  .head-nav a:hover { background: none; }
}

@media (max-width: 400px) {
  .hero-inner { padding-left: 16px; padding-right: 16px; }
  .result-actions .btn { flex: 1 1 100%; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: .001ms !important; transition-duration: .001ms !important; }
  .spinner { animation: spin 1s linear infinite; }
}
