/* =============================================================
   CREEK ONLINE STORE — k-creek.com コーポレートテーマ準拠
   白 / #f6f6f6 / 黒#1e1e1e / 青#1bc2f5→#0081d6 / 黄#f3e600
   Display: Roboto (900) / Body: Noto Sans JP
   シグネチャー: スクエア(四角い紙片)モチーフ + 一文字ブルー
   ============================================================= */

:root {
  --ink: #1e1e1e;
  --gray-bg: #f6f6f6;
  --line: #dcdcdc;
  --gray-text: #949494;
  --cyan: #1bc2f5;
  --blue: #049ce4;
  --blue-deep: #0081d6;
  --grad: linear-gradient(180deg, #1bc2f5, #08b2f0 16%, #0081d6);
  --grad-h: linear-gradient(100deg, #1bc2f5, #0081d6);
  --yellow: #f3e600;
  --red: #e33d3d;
  --shadow: 0 10px 30px rgba(30, 30, 30, 0.1);
  --font-body: "Noto Sans JP", sans-serif;
  --font-en: "Roboto", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: #fff;
  line-height: 1.9;
  font-size: 15px;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-deep); text-decoration: none; }
a:hover { color: var(--cyan); }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
main { min-height: 60vh; }
main.narrow { max-width: 880px; margin: 0 auto; padding: 48px 20px 80px; }
main .narrow { max-width: 880px; margin: 0 auto; padding: 0 20px; }
main.narrow.narrow-sm { max-width: 620px; }

/* ---------- スクエアマーク (シグネチャー) ---------- */
.cube {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px;
  background: var(--grad);
  color: #fff; font-family: var(--font-en); font-weight: 900; font-size: 20px;
  flex: none;
}
.cube img { width: 70%; height: 70%; object-fit: contain; }
.cube-lg { width: 84px; height: 84px; font-size: 42px; }
/* 紙片コンフェッティ */
.sq { position: absolute; display: block; }
.sq-b { background: var(--grad); }
.sq-c { background: var(--cyan); }
.sq-y { background: var(--yellow); }

/* ---------- ヘッダー ---------- */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
  position: sticky; top: 0; z-index: 50;
}
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 14px 20px;
  display: flex; align-items: center; gap: 26px; flex-wrap: wrap;
}
.brand { display: flex; align-items: center; gap: 12px; color: var(--ink); }
.brand-logo { height: 34px; width: auto; }
.brand-logo-full { height: 36px; }
.brand-store {
  font-family: var(--font-en); font-weight: 700; font-size: 11px; letter-spacing: 0.28em;
  color: #fff; background: var(--grad); padding: 3px 10px; transform: translateY(2px);
}
.brand-text { display: flex; flex-direction: column; line-height: 1.25; }
.brand-en { font-family: var(--font-en); font-weight: 900; font-size: 21px; letter-spacing: 0.06em; color: var(--ink); }
.brand-ja { font-size: 10.5px; letter-spacing: 0.2em; color: var(--blue-deep); font-weight: 700; }
.global-nav { display: flex; gap: 2px; flex-wrap: wrap; }
.global-nav a {
  color: var(--ink); font-size: 13.5px; font-weight: 500; letter-spacing: 0.06em;
  padding: 8px 12px; border-bottom: 2px solid transparent;
}
.global-nav a:hover, .global-nav a.is-active { color: var(--blue-deep); border-bottom-color: var(--cyan); }
.header-tools { margin-left: auto; display: flex; align-items: center; gap: 16px; }
.header-search input {
  background: var(--gray-bg); border: 1px solid var(--line);
  color: var(--ink); padding: 7px 14px; font-size: 13px; width: 150px;
  font-family: var(--font-body);
}
.header-search input::placeholder { color: var(--gray-text); }
.tool-link, .cart-link { color: var(--ink); font-size: 13.5px; font-weight: 500; letter-spacing: 0.04em; }
.tool-link:hover, .cart-link:hover { color: var(--blue-deep); }
.cart-link { position: relative; padding-right: 6px; }
.cart-badge {
  position: absolute; top: -10px; right: -12px;
  background: var(--blue-deep); color: #fff; font-size: 11px; font-weight: 700;
  min-width: 19px; height: 19px; border-radius: 999px;
  display: inline-flex; align-items: center; justify-content: center; padding: 0 5px;
}

/* ---------- フラッシュ ---------- */
.flash { padding: 12px 20px; text-align: center; font-size: 14px; letter-spacing: 0.04em; }
.flash-ok { background: #E1F5FD; color: #045f9e; }
.flash-info { background: #FBF9D8; color: #7a7200; }
.flash-error { background: #FBE4E4; color: #B02D2D; }

/* ---------- ボタン ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 13px 32px; border: 1px solid transparent;
  font-family: var(--font-body); font-size: 14.5px; font-weight: 700; letter-spacing: 0.1em;
  cursor: pointer; transition: all 0.22s ease; text-align: center;
}
.btn-blue {
  background: var(--grad); color: #fff;
  box-shadow: 0 4px 14px rgba(4, 156, 228, 0.35);
}
.btn-blue:hover { filter: brightness(1.08); color: #fff; transform: translateY(-1px); }
.btn-blue:disabled { filter: grayscale(0.8); opacity: 0.55; cursor: not-allowed; transform: none; }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: #000; color: var(--cyan); }
.btn-outline { border-color: var(--ink); color: var(--ink); background: #fff; }
.btn-outline:hover { background: var(--ink); color: #fff; }
.btn-ghost { border-color: #fff; color: #fff; background: transparent; }
.btn-ghost:hover { background: #fff; color: var(--blue-deep); }
.btn-wide { width: 100%; margin-top: 12px; }
.btn-mini { padding: 6px 14px; font-size: 12.5px; border: 1px solid var(--line); background: #fff; cursor: pointer; }
.btn-mini:hover { border-color: var(--blue); color: var(--blue-deep); }
.link-danger { background: none; border: none; color: #B02D2D; font-size: 13px; cursor: pointer; text-decoration: underline; font-family: var(--font-body); }

/* ---------- ヒーロー ---------- */
.hero { position: relative; background: #fff; overflow: hidden; }
.hero-inner {
  max-width: 1240px; margin: 0 auto; padding: 72px 20px 88px;
  display: grid; grid-template-columns: 1.05fr 1fr; gap: 48px; align-items: center;
  position: relative; z-index: 2;
}
.hero-eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--ink);
  margin-bottom: 18px;
}
.hero-eyebrow::before { content: ""; width: 12px; height: 12px; background: var(--grad); flex: none; }
.hero-title {
  font-family: var(--font-en); font-weight: 900;
  font-size: clamp(44px, 6.4vw, 84px); line-height: 1.04; letter-spacing: 0.01em;
  color: var(--ink); margin-bottom: 22px; text-transform: uppercase;
}
.hero-title em { font-style: normal; color: var(--blue); }
.hero-lead { font-size: 15.5px; font-weight: 500; letter-spacing: 0.08em; color: var(--ink); margin-bottom: 12px; }
.hero-sub { font-size: 13.5px; color: #5a5a5a; margin-bottom: 34px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-visual { position: relative; }
.hero-visual img { width: 100%; box-shadow: var(--shadow); animation: rise 0.8s ease 0.15s both; }
.hero .sq { z-index: 1; }
.hero .sq:nth-child(1) { width: 46px; height: 46px; right: 44%; top: 64px; animation: drop 0.7s ease 0.5s both; }
.hero .sq:nth-child(2) { width: 26px; height: 26px; right: 40%; top: 130px; animation: drop 0.7s ease 0.68s both; }
.hero .sq:nth-child(3) { width: 17px; height: 17px; right: 47%; top: 176px; animation: drop 0.7s ease 0.84s both; }
.hero .sq:nth-child(4) { width: 30px; height: 30px; left: 38%; bottom: 56px; animation: drop 0.7s ease 0.9s both; }
@keyframes drop {
  0% { opacity: 0; transform: translateY(-26px) rotate(12deg); }
  100% { opacity: 1; transform: translateY(0) rotate(0); }
}
@keyframes rise {
  0% { opacity: 0; transform: translateY(22px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ---------- セクション共通 ---------- */
.section { max-width: 1240px; margin: 0 auto; padding: 78px 20px; }
.section-head { margin-bottom: 40px; position: relative; }
.section-eyebrow {
  display: flex; align-items: center; gap: 9px;
  font-size: 12.5px; font-weight: 700; letter-spacing: 0.12em; color: var(--ink);
  margin-bottom: 6px;
}
.section-eyebrow::before { content: ""; width: 11px; height: 11px; background: var(--grad); flex: none; }
.section-title {
  font-family: var(--font-en); font-weight: 900;
  font-size: clamp(30px, 4vw, 46px); letter-spacing: 0.015em; line-height: 1.2;
  text-transform: uppercase;
  display: inline-block; padding-bottom: 12px; border-bottom: 2px solid var(--ink);
}
.section-title em { font-style: normal; color: var(--blue); }
.section-sub { margin-top: 12px; font-size: 13.5px; color: #5a5a5a; }
.section-gray { background: var(--gray-bg); max-width: none; padding-left: 0; padding-right: 0; }
.section-gray > * { max-width: 1240px; margin-left: auto; margin-right: auto; padding-left: 20px; padding-right: 20px; }

/* ---------- 商品カード ---------- */
.product-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 26px;
}
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.product-card {
  display: flex; flex-direction: column; gap: 6px;
  background: #fff; border: 1px solid var(--line);
  padding: 12px 12px 18px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.product-card::after {
  content: ""; position: absolute; left: 0; right: 100%; top: 0; height: 3px;
  background: var(--grad-h); transition: right 0.3s ease;
}
.product-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); border-color: var(--blue); }
.product-card:hover::after { right: 0; }
.product-img { position: relative; overflow: hidden; aspect-ratio: 1; background: var(--gray-bg); }
.product-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.product-card:hover .product-img img { transform: scale(1.04); }
.soldout-ribbon {
  position: absolute; top: 10px; left: -34px; transform: rotate(-38deg);
  background: var(--ink); color: #fff; font-size: 11px; letter-spacing: 0.2em;
  padding: 4px 40px;
}
.product-copy { font-size: 12px; color: var(--blue-deep); font-weight: 500; letter-spacing: 0.04em; margin-top: 6px; }
.product-cat { font-size: 11px; color: var(--gray-text); font-family: var(--font-en); font-weight: 700; letter-spacing: 0.12em; text-transform: uppercase; margin-top: 6px; }
.product-name { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: 0.02em; line-height: 1.55; }
.product-price { font-family: var(--font-en); font-size: 17px; font-weight: 900; color: var(--ink); letter-spacing: 0.02em; }
.product-price small { font-family: var(--font-body); font-size: 11px; font-weight: 400; color: var(--gray-text); margin-left: 4px; }

/* ---------- カテゴリ・パネル ---------- */
.category-duo { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
.category-panel {
  display: flex; flex-direction: column; background: #fff;
  border: 1px solid var(--line); overflow: hidden;
  color: var(--ink); transition: border-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}
.category-panel:hover { border-color: var(--blue); transform: translateY(-4px); box-shadow: var(--shadow); color: var(--ink); }
.category-img { display: block; aspect-ratio: 16/8; background-size: cover; background-position: center; }
.category-body { padding: 24px 26px 28px; display: flex; flex-direction: column; gap: 6px; border-top: 3px solid; border-image: var(--grad-h) 1; }
.category-en { font-family: var(--font-en); font-weight: 900; color: var(--ink); font-size: 24px; letter-spacing: 0.02em; text-transform: uppercase; }
.category-en em { font-style: normal; color: var(--blue); }
.category-name { font-size: 13px; font-weight: 700; color: var(--blue-deep); letter-spacing: 0.14em; }
.category-tagline { font-size: 14.5px; font-weight: 700; margin-top: 6px; }
.category-desc { font-size: 13px; color: #5a5a5a; line-height: 1.9; }
.category-cta { margin-top: 10px; color: var(--blue-deep); font-weight: 700; font-size: 13.5px; letter-spacing: 0.1em; }

/* ---------- 事業紹介(ストライプ) ---------- */
.feature {
  display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: center;
}
.feature.reverse { grid-template-columns: 1fr 1.1fr; }
.feature.reverse .feature-img { order: 2; }
.feature-img { position: relative; }
.feature-img img { width: 100%; box-shadow: var(--shadow); }
.feature-img .sq { width: 34px; height: 34px; top: -16px; left: -16px; }
.feature-img .sq + .sq { width: 18px; height: 18px; top: 26px; left: -30px; }
.feature-text p { margin: 18px 0 26px; font-size: 14px; line-height: 2.1; color: #444; }
.feature-list { list-style: none; margin: 0 0 26px; display: flex; flex-direction: column; gap: 8px; }
.feature-list li { display: flex; gap: 10px; align-items: baseline; font-size: 13.5px; font-weight: 500; }
.feature-list li::before { content: ""; width: 9px; height: 9px; background: var(--grad); flex: none; transform: translateY(-1px); }

/* ---------- 青グラデCTA ---------- */
.custom-cta { background: var(--grad); color: #fff; position: relative; overflow: hidden; }
.custom-cta .sq { opacity: 0.25; background: #fff; }
.custom-cta .sq:nth-child(1) { width: 90px; height: 90px; right: 8%; top: -20px; }
.custom-cta .sq:nth-child(2) { width: 44px; height: 44px; right: 16%; bottom: 30px; }
.custom-cta-body { max-width: 1240px; margin: 0 auto; padding: 76px 20px; position: relative; z-index: 2; }
.custom-cta-body .section-eyebrow { color: #fff; }
.custom-cta-body .section-eyebrow::before { background: var(--yellow); }
.custom-cta-body .section-title { color: #fff; border-bottom-color: #fff; }
.custom-cta-body p { margin: 18px 0 30px; max-width: 620px; font-size: 14px; }

/* ---------- ベネフィット ---------- */
.benefit-strip {
  max-width: 1240px; margin: 0 auto; padding: 54px 20px 84px;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 18px;
}
.benefit {
  border-top: 3px solid; border-image: var(--grad-h) 1;
  background: var(--gray-bg);
  padding: 18px 20px; display: flex; flex-direction: column; gap: 4px;
}
.benefit strong { font-size: 14.5px; font-weight: 700; letter-spacing: 0.04em; color: var(--ink); }
.benefit span { font-size: 12.5px; color: #5a5a5a; }

/* ---------- ページ見出し・パンくず ---------- */
.page-hero { position: relative; background-size: cover; background-position: center; color: #fff; background-color: var(--ink); }
.page-hero::after { content: ""; position: absolute; inset: 0; background: linear-gradient(100deg, rgba(30,30,30,0.82) 22%, rgba(4,156,228,0.45)); }
.page-hero-body { position: relative; z-index: 2; max-width: 1240px; margin: 0 auto; padding: 66px 20px; }
.page-hero-body .section-eyebrow { color: #fff; }
.page-hero-body .section-eyebrow::before { background: var(--yellow); }
.page-hero-title { font-family: var(--font-en); font-weight: 900; font-size: clamp(34px, 5vw, 56px); letter-spacing: 0.01em; text-transform: uppercase; line-height: 1.1; }
.page-hero-lead { margin-top: 8px; font-size: 14px; font-weight: 700; letter-spacing: 0.12em; }
.page-head { max-width: 1240px; margin: 0 auto; padding: 56px 20px 0; }
.page-title {
  font-weight: 900; font-size: clamp(22px, 3vw, 30px);
  letter-spacing: 0.06em; margin-bottom: 18px;
  display: flex; align-items: center; gap: 12px;
}
.page-title::before { content: ""; width: 14px; height: 14px; background: var(--grad); flex: none; }
.page-lead { color: #5a5a5a; font-size: 14px; margin-bottom: 26px; }
.breadcrumb { max-width: 1240px; margin: 0 auto; padding: 18px 20px 0; font-size: 12.5px; color: var(--gray-text); }
main.narrow .breadcrumb { padding: 0 0 14px; }
.breadcrumb a { color: #6a6a6a; }
.breadcrumb a:hover { color: var(--blue-deep); }

/* ---------- 一覧ツールバー ---------- */
.list-toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 26px; gap: 16px; flex-wrap: wrap; }
.list-count { font-size: 13.5px; color: #5a5a5a; }
.list-count strong { font-family: var(--font-en); font-size: 16px; color: var(--blue-deep); }
.list-sort label { font-size: 13px; color: #5a5a5a; display: flex; align-items: center; gap: 8px; }
.list-sort select { padding: 7px 12px; border: 1px solid var(--line); background: #fff; font-family: var(--font-body); font-size: 13px; }

/* ---------- 商品詳細 ---------- */
.detail {
  max-width: 1240px; margin: 0 auto; padding: 32px 20px 72px;
  display: grid; grid-template-columns: minmax(320px, 560px) 1fr; gap: 56px;
}
.detail-img img { border: 1px solid var(--line); position: sticky; top: 90px; }
.detail-copy { color: var(--blue-deep); font-weight: 700; letter-spacing: 0.06em; font-size: 14px; margin-bottom: 8px; }
.detail-name { font-weight: 900; font-size: clamp(22px, 2.8vw, 30px); letter-spacing: 0.03em; line-height: 1.5; margin-bottom: 14px; }
.detail-price { font-family: var(--font-en); font-size: 30px; font-weight: 900; color: var(--ink); }
.detail-price small { font-family: var(--font-body); font-size: 12px; font-weight: 400; color: var(--gray-text); margin-left: 6px; }
.detail-stock { margin: 6px 0 22px; font-size: 13px; }
.stock-ok { color: var(--blue-deep); font-weight: 700; }
.stock-low { color: #c98a00; font-weight: 700; }
.stock-out { color: #B02D2D; font-weight: 700; }
.detail-form {
  background: var(--gray-bg); border: 1px solid var(--line);
  padding: 26px 26px 30px; margin-bottom: 30px;
}
.field { margin-bottom: 18px; }
.field label { display: block; font-size: 13.5px; font-weight: 700; letter-spacing: 0.04em; margin-bottom: 7px; color: var(--ink); }
.req {
  display: inline-block; margin-left: 8px; background: var(--blue-deep); color: #fff;
  font-size: 10px; padding: 1px 7px; letter-spacing: 0.1em; vertical-align: 2px;
}
.field input, .field select, .field textarea {
  width: 100%; padding: 11px 14px; border: 1px solid var(--line);
  font-family: var(--font-body); font-size: 14.5px; background: #fff; color: var(--ink);
}
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--blue); outline: none; box-shadow: 0 0 0 3px rgba(27,194,245,0.18); }
.field-qty input { width: 110px; }
.detail-desc { border-top: 1px solid var(--line); padding-top: 22px; font-size: 14px; color: #444; }
.detail-desc p { min-height: 8px; }

/* ---------- カート・フォーム ---------- */
.cart-list { display: flex; flex-direction: column; gap: 14px; margin-bottom: 30px; }
.cart-row {
  display: grid; grid-template-columns: 96px 1fr auto; gap: 18px; align-items: center;
  background: #fff; border: 1px solid var(--line); padding: 16px;
}
.cart-thumb img { width: 96px; height: 96px; object-fit: cover; }
.cart-name { font-weight: 700; font-size: 15px; color: var(--ink); }
.cart-opt { font-size: 12px; color: #5a5a5a; }
.cart-unit { font-size: 12.5px; color: var(--gray-text); margin-top: 4px; }
.cart-actions { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.cart-qty-form { display: flex; gap: 8px; align-items: center; }
.cart-qty-form input { width: 64px; padding: 7px 8px; border: 1px solid var(--line); }
.cart-line-total { font-family: var(--font-en); font-weight: 900; font-size: 16px; color: var(--ink); }
.totals-card, .form-card, .confirm-card {
  background: #fff; border: 1px solid var(--line);
  padding: 28px; box-shadow: 0 4px 16px rgba(30,30,30,0.05);
}
.totals-card dl div, .totals-dl div { display: flex; justify-content: space-between; padding: 8px 0; font-size: 14px; }
.totals-dl div { border-bottom: 1px dashed var(--line); align-items: baseline; gap: 12px; }
.totals-dl dt small.cart-opt { display: block; }
.totals-grand { border-top: 2px solid var(--blue); margin-top: 6px; padding-top: 12px !important; font-size: 17px !important; }
.totals-grand dd { font-family: var(--font-en); font-weight: 900; color: var(--blue-deep); font-size: 21px; }
.totals-note { text-align: center; font-size: 12.5px; color: var(--blue-deep); font-weight: 700; margin-top: 10px; }
.totals-inline { display: flex; justify-content: space-between; align-items: baseline; flex-wrap: wrap; gap: 8px; margin: 22px 0 4px; padding-top: 16px; border-top: 1px solid var(--line); }
.totals-inline strong { font-size: 18px; color: var(--blue-deep); }
.form-section-title {
  font-size: 16px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--ink); display: flex; align-items: center; gap: 10px;
  margin: 28px 0 18px;
}
.form-section-title::before { content: ""; width: 11px; height: 11px; background: var(--grad); flex: none; }
.form-card .form-section-title:first-child, .confirm-card .form-section-title:first-child { margin-top: 0; }
.form-errors {
  background: #FBE4E4; border: 1px solid #E4AFAF; color: #B02D2D;
  padding: 14px 18px 14px 34px; margin-bottom: 22px; font-size: 13.5px;
}
.form-alt { text-align: center; margin-top: 20px; font-size: 13.5px; }
.login-hint { font-size: 13px; background: #E1F5FD; padding: 12px 16px; margin-bottom: 20px; color: #045f9e; }
.pay-options { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.pay-option {
  display: flex; gap: 12px; align-items: flex-start; border: 1px solid var(--line);
  padding: 14px 16px; cursor: pointer; background: #fff; transition: border-color .2s;
}
.pay-option:has(input:checked) { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(27,194,245,0.16); }
.pay-option input { margin-top: 5px; accent-color: var(--blue-deep); }
.pay-option strong { display: block; font-size: 14.5px; color: var(--ink); }
.pay-option small { font-size: 12px; color: #5a5a5a; }

/* ---------- ステップ・確認・完了 ---------- */
.steps { display: flex; gap: 0; list-style: none; margin-bottom: 34px; counter-reset: step; }
.steps li {
  flex: 1; text-align: center; font-size: 12.5px; letter-spacing: 0.1em; color: var(--gray-text);
  padding: 10px 0; border-bottom: 2px solid var(--line); counter-increment: step;
}
.steps li::before { content: counter(step) ". "; font-family: var(--font-en); font-weight: 700; }
.steps li.is-current { color: var(--blue-deep); font-weight: 700; border-bottom-color: var(--blue); }
.steps li.is-done { color: var(--ink); border-bottom-color: var(--ink); }
.confirm-row { display: grid; grid-template-columns: 72px 1fr auto; gap: 16px; align-items: center; padding: 12px 0; border-bottom: 1px dashed var(--line); }
.confirm-thumb { width: 72px; height: 72px; object-fit: cover; }
.confirm-name { font-weight: 700; }
.confirm-line { font-family: var(--font-en); font-weight: 900; color: var(--ink); }
.confirm-dl div { display: flex; gap: 18px; padding: 9px 0; border-bottom: 1px dashed var(--line); font-size: 14px; }
.confirm-dl dt { flex: 0 0 120px; color: #5a5a5a; }
.law-dl dt { flex-basis: 200px; }
.complete-card { text-align: center; background: #fff; border: 1px solid var(--line); padding: 48px 28px; position: relative; overflow: hidden; }
.complete-card .sq:nth-of-type(1) { width: 30px; height: 30px; left: 8%; top: 30px; }
.complete-card .sq:nth-of-type(2) { width: 16px; height: 16px; right: 10%; top: 60px; }
.complete-stamp { margin: 0 auto 20px; animation: rise 0.6s ease 0.1s both; }
.complete-no { font-size: 15px; margin-bottom: 12px; }
.complete-no strong { font-family: var(--font-en); font-weight: 900; font-size: 20px; letter-spacing: 0.06em; color: var(--blue-deep); }
.complete-note { font-size: 13.5px; color: #5a5a5a; margin-bottom: 26px; }
.complete-card .totals-dl { text-align: left; max-width: 460px; margin: 0 auto 26px; }
.complete-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.complete-card .page-title { justify-content: center; }

/* ---------- マイページ ---------- */
.mypage-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 26px 0 36px; }
.mypage-tile {
  background: #fff; border: 1px solid var(--line);
  border-top: 3px solid; border-image: var(--grad-h) 1;
  padding: 20px 22px; display: flex; flex-direction: column; gap: 4px;
  transition: transform .2s, box-shadow .2s;
}
.mypage-tile:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.mypage-tile strong { font-size: 15px; font-weight: 700; color: var(--ink); letter-spacing: 0.04em; }
.mypage-tile span { font-size: 12.5px; color: #5a5a5a; }
.logout-form { margin-top: 36px; text-align: center; }

/* ---------- テーブル・バッジ ---------- */
.data-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 13.5px; }
.data-table th {
  text-align: left; padding: 11px 14px; background: var(--ink); color: #fff;
  font-weight: 500; letter-spacing: 0.08em; font-size: 12.5px; white-space: nowrap;
}
.data-table td { padding: 11px 14px; border-bottom: 1px solid var(--line); vertical-align: middle; }
.data-table tr:hover td { background: rgba(27,194,245,0.05); }
.badge {
  display: inline-block; font-size: 11.5px; padding: 3px 10px; border-radius: 999px;
  letter-spacing: 0.08em; white-space: nowrap;
}
.badge-new { background: var(--blue-deep); color: #fff; }
.badge-info { background: #FBF9D8; color: #7a7200; }
.badge-ok { background: #E1F5FD; color: #045f9e; }
.badge-off { background: #ececec; color: var(--gray-text); }

/* ---------- ガイド・空状態 ---------- */
.guide-block { margin-bottom: 34px; }
.guide-flow { list-style: none; counter-reset: flow; display: flex; flex-direction: column; gap: 12px; }
.guide-flow li {
  counter-increment: flow; background: #fff; border: 1px solid var(--line);
  padding: 16px 20px 16px 64px; position: relative;
}
.guide-flow li::before {
  content: counter(flow); position: absolute; left: 18px; top: 50%; transform: translateY(-50%);
  width: 30px; height: 30px; background: var(--grad); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-weight: 700; font-size: 15px;
}
.guide-flow strong { display: block; font-weight: 700; color: var(--ink); letter-spacing: 0.04em; }
.guide-flow span { font-size: 13px; color: #5a5a5a; }
.guide-list { padding-left: 20px; font-size: 14px; }
.guide-list li { margin-bottom: 8px; }
.empty-state {
  text-align: center; background: var(--gray-bg); border: 1px dashed var(--line);
  padding: 56px 20px; display: flex; flex-direction: column; gap: 18px; align-items: center;
}
.empty-state p { color: #5a5a5a; }
.about-lead p { margin-bottom: 18px; font-size: 14.5px; line-height: 2.1; color: #444; }

/* ---------- フッター ---------- */
.site-footer { background: var(--ink); color: #fff; margin-top: 80px; }
.footer-grad { height: 5px; background: var(--grad-h); }
.footer-inner {
  max-width: 1240px; margin: 0 auto; padding: 56px 20px 40px;
  display: grid; grid-template-columns: 1.2fr 2fr; gap: 48px;
}
.site-footer .brand-en { color: #fff; }
.site-footer .brand-ja { color: var(--cyan); }
.footer-copy { margin: 16px 0 10px; font-size: 13px; color: rgba(255,255,255,0.75); line-height: 2; }
.footer-contact { font-size: 12.5px; color: var(--cyan); letter-spacing: 0.06em; font-weight: 700; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav h3 {
  font-family: var(--font-en); font-size: 13px; font-weight: 700; letter-spacing: 0.14em;
  color: #fff; margin-bottom: 14px; padding-bottom: 8px; border-bottom: 1px solid rgba(255,255,255,0.25);
  text-transform: uppercase;
}
.footer-nav h3::before { content: "■ "; color: var(--cyan); font-size: 9px; vertical-align: 2px; }
.footer-nav a { display: block; color: rgba(255,255,255,0.8); font-size: 13px; padding: 5px 0; }
.footer-nav a:hover { color: var(--cyan); }
.footer-legal { text-align: center; padding: 18px; font-size: 11.5px; color: rgba(255,255,255,0.45); border-top: 1px solid rgba(255,255,255,0.1); font-family: var(--font-en); letter-spacing: 0.12em; }

/* ---------- レスポンシブ ---------- */
@media (max-width: 960px) {
  .hero-inner { grid-template-columns: 1fr; padding: 56px 20px 64px; }
  .hero .sq { display: none; }
  .category-duo { grid-template-columns: 1fr; }
  .feature, .feature.reverse { grid-template-columns: 1fr; }
  .feature.reverse .feature-img { order: 0; }
  .detail { grid-template-columns: 1fr; gap: 32px; }
  .detail-img img { position: static; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
}
@media (max-width: 680px) {
  .header-inner { gap: 12px; }
  .global-nav { order: 3; width: 100%; justify-content: space-between; gap: 0; }
  .global-nav a { padding: 6px 4px; font-size: 12px; }
  .header-search { display: none; }
  .section { padding: 54px 20px; }
  .cart-row { grid-template-columns: 72px 1fr; }
  .cart-thumb img { width: 72px; height: 72px; }
  .cart-actions { grid-column: 1 / -1; flex-direction: row; justify-content: space-between; align-items: center; }
  .footer-nav { grid-template-columns: 1fr 1fr; }
  .confirm-dl div { flex-direction: column; gap: 2px; }
  .confirm-dl dt { flex-basis: auto; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
}
