/* ============================================================
   Wi.Co 製品ページ 共通スタイル
   トップページ(index.html)のデザイントークンを踏襲しています。
   色やフォントを変えるときは、まずこの :root を編集してください。
   ============================================================ */

:root {
  --accent:       #E5192E;
  --accent-light: #FF3348;
  --accent-dark:  #B8101F;
  --navy:         #1A2B5F;
  --navy-mid:     #2E4A8C;
  --ivory:        #FFFFFF;
  --sand:         #F0F4FA;
  --stone:        #D0D8E8;
  --ink:          #111111;
  --gray:         #555555;
  --gray-light:   #888888;
  --white:        #FFFFFF;
  --blue:         #2563EB;
  --shadow-soft:  0 4px 24px rgba(26,43,95,.08);
  --shadow-hover: 0 12px 40px rgba(26,43,95,.16);
  --radius:       18px;
  --radius-sm:    10px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Noto Sans JP", system-ui, sans-serif;
  background: var(--ivory);
  color: var(--ink);
  line-height: 1.85;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3 { font-family: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif; line-height: 1.3; }
a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
.wrap { width: min(1100px, 90%); margin-inline: auto; }

.label {
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-weight: 700; font-size: .72rem; letter-spacing: .32em;
  color: var(--accent); text-transform: uppercase;
}

/* ── ヘッダー（トップページと同じ見た目） ── */
header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(229,25,46,.95);
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(180,10,30,.3);
}
.nav { display: flex; align-items: center; justify-content: space-between; height: 72px; gap: 16px; }
.brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.brand img { height: 34px; width: auto; filter: brightness(0) invert(1); }
.brand-sep { color: rgba(255,255,255,.5); font-weight: 300; }
.brand-mark {
  font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 900;
  color: var(--white); font-size: 1.05rem; letter-spacing: .06em; white-space: nowrap;
  transition: opacity .2s;
}
.brand-mark:hover { opacity: .8; }
.nav-links { display: flex; align-items: center; gap: 28px; font-size: .88rem; font-weight: 500; }
.nav-links a { color: rgba(255,255,255,.85); transition: color .2s; letter-spacing: .04em; white-space: nowrap; }
.nav-links a:hover { color: var(--white); }
.nav-cta {
  background: var(--white); color: var(--accent) !important;
  padding: 9px 20px; border-radius: 999px; font-weight: 700; font-size: .85rem;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: var(--ink); color: var(--white) !important; transform: translateY(-1px); }

/* ── ページ見出し ── */
.page-head { background: var(--sand); padding: 72px 0 64px; border-bottom: 1px solid var(--stone); }
.page-head h1 {
  font-size: clamp(2.2rem, 6vw, 3.4rem); font-weight: 900;
  margin: 10px 0 18px; letter-spacing: .02em;
}
.page-head .lead { color: var(--gray); max-width: 46em; }
.page-head h1.brand-logo { margin: 10px 0 18px; text-align: left; }
.page-head h1.brand-logo img { width: 50%; max-width: 460px; height: auto; }
.brand-tagline { font-size: clamp(1rem, 2.4vw, 1.25rem); color: var(--navy); font-weight: 700; margin-bottom: 14px; }

/* ── パンくず ── */
.crumbs { font-size: .8rem; color: var(--gray-light); padding: 18px 0 0; }
.crumbs a:hover { color: var(--accent); }
.crumbs span { margin: 0 .5em; }

/* ── 製品カード一覧 ── */
.grid {
  display: grid; gap: 28px;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  padding: 72px 0 88px;
}
.card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--stone);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: transform .25s, box-shadow .25s;
}
a.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.card-thumb {
  aspect-ratio: 16 / 9; background: var(--sand);
  display: flex; align-items: center; justify-content: center;
  border-bottom: 1px solid var(--stone); overflow: hidden;
}
.card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.card-thumb img.contain { object-fit: contain; padding: 22px; }
.card-thumb .placeholder { color: var(--stone); font-size: 2.6rem; font-weight: 900; letter-spacing: .1em; }
.card-body { padding: 24px 24px 26px; display: flex; flex-direction: column; flex: 1; gap: 10px; }
.card-name { font-size: 1.3rem; font-weight: 900; }
.card-name small { display: block; font-size: .72rem; font-weight: 500; color: var(--gray-light); letter-spacing: .12em; margin-top: 2px; }
.card-tagline { color: var(--navy); font-weight: 700; font-size: .95rem; }
.card-summary { color: var(--gray); font-size: .88rem; line-height: 1.8; flex: 1; }
.card-more { color: var(--accent); font-weight: 700; font-size: .85rem; margin-top: 4px; }

.badge {
  display: inline-block; align-self: flex-start;
  font-size: .68rem; font-weight: 700; letter-spacing: .12em;
  padding: 4px 12px; border-radius: 999px;
}
.badge.live { background: rgba(37,99,235,.1);  color: var(--blue); }
.badge.soon { background: rgba(85,85,85,.1);   color: var(--gray); }

.card.is-soon { opacity: .78; }
.card.is-soon .card-summary { font-style: normal; color: var(--gray-light); }

/* ── 製品詳細 ── */
.hero-detail { background: var(--sand); border-bottom: 1px solid var(--stone); padding: 56px 0 64px; }
.hero-detail .inner { display: grid; grid-template-columns: 1.05fr .95fr; gap: 48px; align-items: center; }
.hero-detail h1 { font-size: clamp(2rem, 5vw, 3rem); font-weight: 900; margin: 12px 0 6px; }
.hero-detail .en { font-size: .78rem; letter-spacing: .18em; color: var(--gray-light); font-weight: 500; }
.hero-detail .tagline { font-size: clamp(1.05rem, 2.6vw, 1.4rem); color: var(--navy); font-weight: 700; margin: 18px 0 16px; }
.hero-detail .summary { color: var(--gray); }
.hero-figure {
  border-radius: var(--radius); overflow: hidden;
  border: 1px solid var(--stone); background: var(--white); box-shadow: var(--shadow-soft);
}
.hero-figure img { width: 100%; }
.hero-figure img.contain { object-fit: contain; padding: 28px; background: var(--white); }

section.block { padding: 76px 0; }
section.block.alt { background: var(--sand); }
section.block h2 { font-size: clamp(1.5rem, 3.4vw, 2rem); font-weight: 900; margin: 10px 0 40px; }

.features { display: grid; gap: 26px; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }
.feature { background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); padding: 30px 26px; }
.feature .num { font-family: "Zen Kaku Gothic New", sans-serif; font-weight: 900; color: var(--accent); font-size: .8rem; letter-spacing: .16em; }
.feature h3 { font-size: 1.12rem; font-weight: 900; margin: 10px 0 12px; }
.feature p { color: var(--gray); font-size: .9rem; line-height: 1.85; }

.shots { display: grid; gap: 30px; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); }
.shot { border: 1px solid var(--stone); border-radius: var(--radius); overflow: hidden; background: var(--white); box-shadow: var(--shadow-soft); }
.shot img { width: 100%; }
.shot figcaption { padding: 14px 18px 16px; font-size: .82rem; color: var(--gray); border-top: 1px solid var(--stone); }

table.specs { width: 100%; border-collapse: collapse; background: var(--white); border: 1px solid var(--stone); border-radius: var(--radius); overflow: hidden; }
table.specs th, table.specs td { text-align: left; padding: 16px 20px; border-bottom: 1px solid var(--stone); font-size: .9rem; vertical-align: top; }
table.specs tr:last-child th, table.specs tr:last-child td { border-bottom: none; }
table.specs th { width: 32%; background: var(--sand); font-weight: 700; color: var(--navy); white-space: nowrap; }
table.specs td { color: var(--gray); }

.links { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 30px; }

.btn {
  display: inline-block; padding: 14px 30px; border-radius: 999px;
  font-weight: 700; font-size: .9rem; transition: transform .2s, background .2s, color .2s;
}
.btn-primary { background: var(--accent); color: var(--white); }
.btn-primary:hover { background: var(--accent-dark); transform: translateY(-2px); }
.btn-outline { border: 2px solid var(--stone); color: var(--ink); }
.btn-outline:hover { border-color: var(--accent); color: var(--accent); transform: translateY(-2px); }

/* ── 問い合わせ誘導 ── */
.cta { background: var(--navy); color: var(--white); padding: 76px 0; text-align: center; }
.cta h2 { font-size: clamp(1.5rem, 3.4vw, 2.1rem); font-weight: 900; margin: 12px 0 16px; }
.cta p { color: rgba(255,255,255,.78); margin-bottom: 30px; }
.cta .label { color: var(--accent-light); }
.cta .btn-primary { background: var(--white); color: var(--accent); }
.cta .btn-primary:hover { background: var(--accent); color: var(--white); }

/* ── フッター ── */
footer { background: var(--ink); color: rgba(255,255,255,.6); padding: 44px 0; font-size: .82rem; }
footer .inner { display: flex; flex-wrap: wrap; gap: 18px 32px; align-items: center; justify-content: space-between; }
footer a { color: rgba(255,255,255,.75); }
footer a:hover { color: var(--white); }

.notice {
  background: #FFF8E1; border: 1px solid #F0D98A; color: #6B5312;
  border-radius: var(--radius-sm); padding: 14px 18px; font-size: .85rem; margin-top: 26px;
}

/* ── スマートフォン ── */
@media (max-width: 820px) {
  .hero-detail .inner { grid-template-columns: 1fr; gap: 32px; }
  .nav-links { gap: 16px; font-size: .8rem; }
  .nav-links a:not(.nav-cta) { display: none; }
  .brand img { height: 28px; }
  .page-head { padding: 52px 0 44px; }
  .grid { padding: 48px 0 64px; }
  section.block { padding: 56px 0; }
  table.specs th { width: 40%; white-space: normal; }
}
