@charset "UTF-8";
/* ============================================================
   Eye Navi ネックポーチ オンラインショップ
   eyenavi.jp 本体のデザイン言語（紺 #040f40・波形区切り・
   和文見出し＋英字サブ見出し）を踏襲しつつ、
   アクセシビリティ最優先（1カラム導線・高コントラスト・
   大きな文字・常時可視フォーカス）で構成。
   ============================================================ */

:root {
  --navy:       #040f40;   /* Eye Navi ブランドカラー */
  --navy-soft:  #122058;
  --blue:       #2353c4;
  --camel:      #c08a3e;   /* レザーストラップのキャメル（アクセント） */
  --bg:         #ffffff;
  --bg-soft:    #f2f5fb;
  --line:       #c6cede;
  --text:       #1a1a1a;
  --error:      #b3261e;
  --ok:         #1b6b3a;
  --focus:      #ffb300;
}

* { box-sizing: border-box; }
html { font-size: 112.5%; scroll-behavior: smooth; } /* 18px 基準 */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Hiragino Sans", "BIZ UDPGothic",
               "Yu Gothic", Meiryo, sans-serif;
  line-height: 1.9;
  color: var(--text);
  background: var(--bg);
}

img { max-width: 100%; height: auto; }

/* ── キーボードフォーカス（最重要） ───────────── */
a:focus-visible, button:focus-visible, input:focus-visible,
select:focus-visible, textarea:focus-visible, summary:focus-visible {
  outline: 4px solid var(--focus);
  outline-offset: 2px;
  border-radius: 4px;
}

/* ── スキップリンク ──────────────────────── */
.skip-link {
  position: absolute; left: -9999px; top: 0;
  background: var(--navy); color: #fff;
  padding: 0.75em 1.25em; z-index: 100; font-weight: 700;
}
.skip-link:focus { left: 0; }

/* ── ヘッダー ───────────────────────────── */
.site-header {
  background: var(--navy);
  color: #fff;
  padding: 1.1rem 1rem 0.9rem;
}
.site-header .inner { max-width: 960px; margin: 0 auto; }
.site-header .brand {
  font-size: 0.8rem; letter-spacing: 0.1em;
  margin: 0 0 0.2rem; opacity: 0.85;
}
.site-header .site-title {
  font-size: 1.35rem; margin: 0; line-height: 1.4; font-weight: 700;
}
.site-header a { color: #fff; text-decoration: none; }
.site-header a:hover { text-decoration: underline;color: #fff; }

.global-nav { background: var(--navy); padding: 0 1rem 1rem; }
.global-nav ul {
  max-width: 960px; margin: 0 auto; padding: 0;
  list-style: none; display: flex; flex-wrap: wrap;
}
.global-nav li { margin: 0.2rem 1.6rem 0.2rem 0; }
.global-nav a {
  color: #fff; font-size: 0.9rem; font-weight: 700;
  text-decoration: none; border-bottom: 2px solid transparent; padding-bottom: 2px;
}
.global-nav a:hover { border-bottom-color: var(--camel);color: #fff; }

/* ── ヒーロー ───────────────────────────── */
.hero {
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-soft) 70%, #1c2f70 100%);
  color: #fff;
  padding: 3rem 1rem 0;
  overflow: hidden;
}
.hero .inner {
  max-width: 960px; margin: 0 auto;
  display: flex; flex-wrap: wrap; align-items: center; gap: 2rem;
}
.hero .copy { flex: 1 1 380px; padding-bottom: 3rem; }
.hero .catch {
  font-size: 2rem; line-height: 1.5; font-weight: 700;
  margin: 0 0 1rem; letter-spacing: 0.04em;
}
.hero .catch .accent { color: #ffd886; }
.hero .sub { font-size: 1.02rem; margin: 0 0 1.75rem; opacity: 0.95; }
.hero .photo {
  flex: 1 1 320px; align-self: flex-end; margin: 0;
}
.hero .photo img {
  display: block; width: 100%; max-width: 420px;
  margin: 0 auto; border-radius: 16px 16px 0 0;
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
}
.hero .photo figcaption {
  font-size: 0.8rem; opacity: 0.8; text-align: center; padding: 0.4rem 0 1rem;
}
.btn-hero {
  display: inline-block;
  background: #fff; color: var(--navy);
  font-size: 1.15rem; font-weight: 700;
  padding: 0.9em 2em; border-radius: 999px;
  text-decoration: none; border: 3px solid #fff;
}
.btn-hero:hover { background: #ffd886; border-color: #ffd886; }

/* ── 波形の区切り（eyenavi.jp の bg_top/bg_bottom と同系） ── */
.wave { display: block; width: 100%; height: 60px; }
.wave-down { background: var(--navy); }           /* 紺 → 白 へ */
.wave-down svg, .wave-up svg { display: block; width: 100%; height: 60px; }
.wave-up { background: #fff; }                    /* 白 → 紺 へ */

/* ── セクション共通 ─────────────────────── */
section.block { padding: 3rem 1rem; }
section.block.alt { background: var(--bg-soft); }
section.block > .inner { max-width: 720px; margin: 0 auto; }
section.block > .inner.wide { max-width: 960px; }

.sec-head { margin: 0 0 2rem; }
.sec-head .ja {
  font-size: 1.6rem; color: var(--navy); font-weight: 700;
  margin: 0; line-height: 1.4;
}
.sec-head .en {
  display: block; font-size: 0.8rem; letter-spacing: 0.25em;
  color: var(--camel); font-weight: 700; text-transform: uppercase;
  margin-top: 0.2rem;
}

h3 { font-size: 1.15rem; color: var(--navy); margin: 1.5rem 0 0.5rem; }
p { margin: 0.5rem 0 1rem; }
a { color: var(--blue); }
a:hover { color: var(--navy); }

/* ── ストーリー ─────────────────────────── */
.story { display: flex; flex-wrap: wrap; gap: 2rem; align-items: center; }
.story .txt { flex: 1 1 340px; }
.story figure { flex: 1 1 280px; margin: 0; }
.story img { border-radius: 12px; }
.story figcaption { font-size: 0.8rem; color: #555; margin-top: 0.4rem; }

/* ── 特徴カード ─────────────────────────── */
.features { display: flex; flex-wrap: wrap; gap: 1.25rem; }
.feature {
  flex: 1 1 260px;
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 14px;
  padding: 1.5rem 1.4rem;
}
.feature .num {
  display: inline-block;
  background: var(--navy); color: #fff;
  font-weight: 700; font-size: 0.95rem;
  border-radius: 999px; padding: 0.15em 0.9em;
  letter-spacing: 0.1em;
}
.feature h3 { margin: 0.75rem 0 0.5rem; font-size: 1.1rem; }
.feature p { margin: 0; font-size: 0.95rem;color: #040f40; }
.feature img { border-radius: 10px; margin-top: 1rem; }

/* ── 商品カード ─────────────────────────── */
.product {
  background: #fff;
  border: 2px solid var(--line);
  border-radius: 16px;
  padding: 1.5rem;
  margin: 0 0 2rem;
}
.product .product-body { display: flex; flex-wrap: wrap; gap: 1.75rem; }
.product .gallery { flex: 1 1 300px; min-width: 0; }
.product .info { flex: 1 1 320px; min-width: 0; }

.product h3 { margin: 0 0 0.2rem; font-size: 1.25rem; }
.product .lead { color: var(--navy); font-weight: 700; margin: 0 0 0.5rem; }
.product .price {
  font-size: 1.4rem; font-weight: 700; color: var(--navy); margin: 0.25rem 0 0.75rem;
}
.product .price .tax { font-size: 0.8rem; font-weight: 400; }
.product .desc { margin: 0 0 1rem; font-size: 0.97rem; }

.gallery .main-photo img {
  width: 100%; border-radius: 12px; border: 1px solid var(--line); display: block;
}
.gallery ul.thumbs {
  list-style: none; margin: 0.6rem 0 0; padding: 0;
  display: flex; flex-wrap: wrap;
}
.gallery ul.thumbs li { margin: 0 0.5rem 0.5rem 0; }
.gallery ul.thumbs img {
  width: 76px; height: 76px; object-fit: cover;
  border-radius: 8px; border: 2px solid var(--line); display: block;
}
.gallery ul.thumbs button {
  padding: 0; border: none; background: none; cursor: pointer; display: block;
}
.gallery ul.thumbs button[aria-current="true"] img { border-color: var(--navy); }

.select-row { margin: 0 0 1rem; }
.select-row label { display: block; font-weight: 700; margin-bottom: 0.3rem; }
.select-row select {
  font-size: 1.05rem; padding: 0.55em 0.75em;
  border: 2px solid var(--navy); border-radius: 8px;
  background: #fff; width: 100%; max-width: 420px;
}

/* ── 注文ステップ（ご注文の流れ） ─────────────── */
.flow { list-style: none; margin: 0; padding: 0; counter-reset: flow; }
.flow li {
  background: #fff;
  border: 2px solid var(--line); border-radius: 14px;
  padding: 1.25rem 1.4rem 1.25rem 4.4rem;
  margin: 0 0 1rem; position: relative;
  counter-increment: flow;
}
.flow li::before {
  content: counter(flow);
  position: absolute; left: 1.1rem; top: 1.1rem;
  width: 2.2rem; height: 2.2rem; line-height: 2.2rem;
  background: var(--navy); color: #fff;
  font-weight: 700; text-align: center; border-radius: 999px;
}
.flow li strong { color: var(--navy); }
.flow li p { margin: 0.2rem 0 0; font-size: 0.95rem; }

/* ── 進行ステップ（注文フォーム用） ─────────────── */
.steps {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  padding: 0.75rem 1rem;
}
.steps ol {
  max-width: 720px; margin: 0 auto; padding: 0;
  list-style: none; display: flex; flex-wrap: wrap;
  font-size: 0.85rem;
}
.steps li { color: #555; margin: 0.2rem 2rem 0.2rem 0; }
.steps li[aria-current="step"] {
  color: var(--navy); font-weight: 700;
  border-bottom: 3px solid var(--navy);
}

/* ── フォームページ用メイン ─────────────────── */
main.form-main { max-width: 720px; margin: 0 auto; padding: 1.5rem 1rem 4rem; }

h2.form-title {
  font-size: 1.35rem; color: var(--navy);
  border-left: 8px solid var(--navy);
  padding-left: 0.6em; line-height: 1.5; margin: 2rem 0 1rem;
}
main.form-main > h2.form-title:first-child { margin-top: 0.5rem; }

/* ── お知らせ・注意ボックス ─────────────────── */
.notice {
  background: var(--bg-soft);
  border: 2px solid var(--navy);
  border-radius: 10px;
  padding: 1rem 1.25rem;
  margin: 1rem 0 1.5rem;
}
.notice strong { color: var(--navy); }

.error-box {
  background: #fdeceb; border: 2px solid var(--error); border-radius: 8px;
  color: var(--error); padding: 1rem 1.25rem; margin: 1rem 0; font-weight: 700;
}
.error-box ul { margin: 0.25rem 0 0; padding-left: 1.4em; }

/* ── フォーム ───────────────────────────── */
form .field { margin: 0 0 1.5rem; }
label, legend { display: block; font-weight: 700; margin-bottom: 0.35rem; }
.req { color: var(--error); font-size: 0.8rem; font-weight: 700; margin-left: 0.4em; }
.hint { font-size: 0.85rem; color: #444; margin: 0.1rem 0 0.4rem; font-weight: 400; }

input[type="text"], input[type="tel"], input[type="email"],
input[type="password"], textarea {
  width: 100%; font-size: 1.1rem; padding: 0.7em 0.8em;
  border: 2px solid var(--navy); border-radius: 8px; background: #fff;
}
input[aria-invalid="true"], textarea[aria-invalid="true"] {
  border-color: var(--error); background: #fdf4f4;
}
.field-error {
  color: var(--error); font-weight: 700; font-size: 0.9rem; margin-top: 0.3rem;
}

fieldset {
  border: 2px solid var(--line); border-radius: 12px;
  padding: 1rem 1.25rem 1.25rem; margin: 0 0 1.5rem;
}
fieldset legend { padding: 0 0.5em; font-size: 1.05rem; }

.radio-option {
  display: flex; gap: 0.75rem; align-items: flex-start;
  border: 2px solid var(--line); border-radius: 10px;
  padding: 0.9rem 1rem; margin: 0.75rem 0;
}
.radio-option:has(input:checked) { border-color: var(--navy); background: var(--bg-soft); }
.radio-option input[type="radio"] {
  width: 1.5rem; height: 1.5rem; margin-top: 0.3rem; flex-shrink: 0;
  accent-color: var(--navy);
}
.radio-option label { margin: 0; font-weight: 700; }
.radio-option .pay-desc { font-weight: 400; font-size: 0.9rem; margin: 0.2rem 0 0; }

/* ── 注文内容テーブル ─────────────────────── */
table.summary { width: 100%; border-collapse: collapse; margin: 1rem 0 1.5rem; }
table.summary caption {
  text-align: left; font-weight: 700; color: var(--navy); margin-bottom: 0.5rem;
}
table.summary th, table.summary td {
  border: 1px solid var(--line); padding: 0.7em 0.8em;
  text-align: left; vertical-align: top;
}
table.summary th { background: var(--bg-soft); width: 38%; font-weight: 700; }
table.summary td.num { text-align: right; white-space: nowrap; }
table.summary tr.total th, table.summary tr.total td {
  font-size: 1.15rem; font-weight: 700; color: var(--navy);
  background: #fff; border-top: 3px solid var(--navy);
}

/* ── 合計の読み上げ用ライブ表示 ──────────────── */
.live-total {
  background: var(--navy); color: #fff; border-radius: 12px;
  padding: 1rem 1.25rem; font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0;
}
.live-total .amount { font-size: 1.5rem; color: #ffd886; }
.live-total .small { font-size: 0.85rem; font-weight: 400; margin: 0; }

/* ── ボタン ────────────────────────────── */
.btn {
  display: block; width: 100%;
  font-size: 1.2rem; font-weight: 700; font-family: inherit;
  padding: 1em; border-radius: 12px;
  border: 3px solid var(--navy); cursor: pointer;
  text-align: center; text-decoration: none; margin: 0.75rem 0;
}
.btn-primary { background: var(--navy); color: #fff; }
.btn-primary:hover { background: var(--navy-soft); }
.btn-secondary { background: #fff; color: var(--navy); }
.btn-secondary:hover { background: var(--bg-soft); }

/* ── 完了ページ ─────────────────────────── */
.complete-mark {
  font-size: 1.3rem; font-weight: 700; color: var(--ok);
  border: 3px solid var(--ok); border-radius: 12px;
  padding: 1.25rem; text-align: center; margin: 1rem 0 2rem;
}

/* ── Q&A ──────────────────────────────── */
details.qa {
  background: #fff; border: 2px solid var(--line);
  border-radius: 12px; margin: 0 0 1rem; padding: 0;
}
details.qa summary {
  font-weight: 700; color: var(--navy); cursor: pointer;
  padding: 1rem 1.25rem; font-size: 1.02rem;
}
details.qa .a { padding: 0 1.25rem 1rem; }
details.qa .a p { margin: 0 0 0.5rem; }

/* ── フッター ───────────────────────────── */
.site-footer { background: var(--navy); color: #fff; padding: 2.5rem 1rem; font-size: 0.9rem; }
.site-footer .inner { max-width: 960px; margin: 0 auto; }
.site-footer a { color: #fff; }
.site-footer p { margin: 0.3rem 0; }
.site-footer .foot-note { opacity: 0.8; font-size: 0.8rem; margin-top: 1rem; }

/* ── 動きを減らす設定の尊重 ─────────────────── */
@media (prefers-reduced-motion: reduce) {
  * { transition: none !important; animation: none !important; }
}

/* ── スマートフォン ─────────────────────── */
@media (max-width: 640px) {
  .hero .catch { font-size: 1.5rem; }
  section.block { padding: 2.25rem 1rem; }
  .product { padding: 1.1rem; }
}
