@charset "UTF-8";
/* ==========================================================================
   尾迫産業株式会社 / OEM事業ページ
   「OEMコミコミ５００」＝ 500㎖のみ・1本500円・送料1箱990円（商品代に含まない）
   --------------------------------------------------------------------------
   index.html と1対1で対応する単一のスタイルシート。
   ========================================================================== */

/* ── トークン ─────────────────────────────────────────────────────── */
:root {
  --forest: #2d4a3e;
  --forest-d: #162928;
  --forest-dd: #101f1e;
  --sage: #6b7c5c;
  --sage-l: #c8d4c0;
  --gold: #b8a06a;
  --gold-l: #d4bc8a;
  --cream: #faf8f4;
  --parch: #f5f0e8;
  --warm: #ece4d6;
  --ink: #2c2c2a;
  --ink-l: #5a5a58;
  --ink-ll: #94948e;
  --alert: #9a5b3a;
  --line: rgba(107, 124, 92, .18);
  --line-d: rgba(200, 212, 192, .16);

  --f-body: 'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --f-min: 'Shippori Mincho', 'Noto Serif JP', serif;
  --f-latin: 'Cormorant Garamond', Georgia, serif;

  --wrap: 1180px;
  --nav-h: 74px;
  --pad: clamp(20px, 4.6vw, 56px);
  --ease: cubic-bezier(.16, 1, .3, 1);
}

/* ── ベース ───────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--f-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.85;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
ul, ol { list-style: none; }
::selection { background: var(--sage-l); color: var(--forest-dd); }
:focus-visible { outline: 2px solid var(--sage); outline-offset: 3px; }

.sr-only {
  position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 400;
  background: var(--forest-d); color: #fff; padding: 12px 20px;
  font-size: .78rem; letter-spacing: .08em; text-decoration: none;
}
.skip-link:focus { left: 12px; top: 12px; }

/* ── 共通レイアウト ───────────────────────────────────────────────── */
.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; }
.sec { padding: clamp(56px, 8vw, 104px) var(--pad); position: relative; }
.sec--cream { background: var(--cream); }
.sec--parch { background: var(--parch); }
.sec--dark { background: var(--forest-dd); }
.sec--dark2 {
  background: linear-gradient(155deg, var(--forest-dd) 0%, var(--forest-d) 58%, #22392f 100%);
  color: #fff;
}

.sec-head { text-align: center; margin-bottom: clamp(32px, 5vw, 54px); }

.eyebrow {
  display: flex; align-items: center; justify-content: center; gap: 15px;
  font-family: var(--f-latin); font-size: .7rem; letter-spacing: .5em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 16px;
}
.eyebrow::before, .eyebrow::after {
  content: ''; flex: 0 0 30px; height: 1px; background: currentColor; opacity: .45;
}
.eyebrow--light { color: var(--sage-l); }
.eyebrow--light::before, .eyebrow--light::after { opacity: .35; }
.sec--dark .eyebrow, .sec--dark2 .eyebrow, .cta .eyebrow { color: var(--gold-l); }

.sec-title {
  font-family: var(--f-min); font-weight: 500;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
  letter-spacing: .1em; line-height: 1.6; color: var(--forest);
}
.sec-lead {
  max-width: 660px; margin: 20px auto 0;
  font-size: .85rem; line-height: 2.3; color: var(--ink-l);
}
.sec-lead a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; }
.sec-lead a:hover { color: var(--forest); }
.sec--dark .sec-title, .sec--dark2 .sec-title { color: #fff; }
.sec--dark .sec-lead, .sec--dark2 .sec-lead { color: rgba(255, 255, 255, .6); }

/* スクロール出現。
   既定は「表示」。.vis が付いたときだけアニメーションで入れる。
   IntersectionObserver が発火しない環境（iframe・印刷・低スペック端末など）でも
   本文が透明のまま残らないようにするための設計。 */
.js .rv { opacity: 1; transform: none; }
.js .rv.vis,
.js .rv.is-vis { animation: rvIn .8s var(--ease) both; }
@keyframes rvIn {
  from { opacity: 0; transform: translateY(24px); }
  to   { opacity: 1; transform: none; }
}
.d1 { animation-delay: .09s; }
.d2 { animation-delay: .18s; }
.d3 { animation-delay: .27s; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js .rv, .js .rv.vis { opacity: 1; transform: none; animation: none; }
}

/* ── ボタン ───────────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 11px;
  font-family: var(--f-min); font-size: .84rem; letter-spacing: .16em;
  text-decoration: none; padding: 16px 32px; border: 1px solid transparent;
  cursor: pointer; transition: background .3s, color .3s, border-color .3s;
  background: none; line-height: 1.5; text-align: center;
}
.btn .arw { transition: transform .3s; }
.btn:hover .arw { transform: translateX(4px); }

.btn--gold { background: var(--gold-l); color: var(--forest-dd); }
.btn--gold:hover { background: #fff; }

.btn--ghost { border-color: rgba(200, 212, 192, .42); color: var(--sage-l); }
.btn--ghost:hover { background: rgba(200, 212, 192, .12); color: #fff; border-color: rgba(200, 212, 192, .72); }

.btn--line { border-color: rgba(45, 74, 62, .32); color: var(--forest); }
.btn--line:hover { background: var(--forest); color: #fff; border-color: var(--forest); }

.btn--block { width: 100%; }
.btn--sm { padding: 12px 22px; font-size: .78rem; }

.note-box {
  margin-top: 24px; padding: 16px 20px;
  background: rgba(107, 124, 92, .07);
  font-size: .72rem; line-height: 2; color: var(--ink-ll); text-align: center;
}

/* ── お知らせバー ─────────────────────────────────────────────────── */
.notice {
  position: relative; z-index: 60;
  background: var(--forest-dd);
  border-bottom: 1px solid var(--line-d);
}
.notice[hidden] { display: none; }
.notice-in {
  max-width: var(--wrap); margin-inline: auto;
  display: flex; align-items: center; justify-content: center; gap: 14px;
  padding: 12px var(--pad); flex-wrap: wrap;
}
.notice-text {
  font-size: .76rem; line-height: 1.75; color: rgba(255, 255, 255, .78);
  letter-spacing: .03em; text-align: center;
}
.notice-text b { color: var(--gold-l); font-weight: 500; }
.notice-close {
  background: none; border: 0; cursor: pointer; flex: 0 0 auto;
  font-family: var(--f-min); font-size: .7rem; letter-spacing: .1em;
  color: rgba(255, 255, 255, .45); padding: 4px 6px;
  transition: color .25s;
}
.notice-close:hover { color: #fff; }

/* ── ヘッダー / ナビ ──────────────────────────────────────────────── */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(16, 31, 30, .94);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(200, 212, 192, .1);
  transition: background .3s, box-shadow .3s;
}
.site-header.is-scrolled {
  background: rgba(16, 31, 30, .99);
  box-shadow: 0 10px 30px -20px rgba(0, 0, 0, .85);
}
.header-in {
  max-width: var(--wrap); margin-inline: auto;
  min-height: var(--nav-h); padding: 0 var(--pad);
  display: flex; align-items: center; justify-content: space-between; gap: 22px;
}
.brand { display: flex; align-items: center; gap: 11px; text-decoration: none; flex: 0 0 auto; }
.brand img { height: 40px; width: auto; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text b {
  font-family: var(--f-min); font-size: .82rem; font-weight: 500;
  letter-spacing: .1em; color: #fff;
}
.brand-text span {
  font-family: var(--f-latin); font-size: .52rem; letter-spacing: .18em;
  color: rgba(200, 212, 192, .5);
}

.nav-list { display: flex; align-items: center; gap: 22px; }
.nav-list a {
  position: relative; text-decoration: none; white-space: nowrap;
  font-family: var(--f-min); font-size: .75rem; letter-spacing: .09em;
  color: rgba(255, 255, 255, .7); transition: color .3s; display: inline-block;
}
.nav-list a::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: -7px; height: 1px;
  background: var(--sage-l); transform: scaleX(0); transform-origin: left;
  transition: transform .3s var(--ease);
}
.nav-list a:hover { color: #fff; }
.nav-list a:hover::after { transform: scaleX(1); }

.nav-list .nav-cta a {
  background: var(--sage-l); color: var(--forest-d);
  padding: 10px 20px; letter-spacing: .1em;
}
.nav-list .nav-cta a::after { display: none; }
.nav-list .nav-cta a:hover { background: #fff; }

.nav-toggle {
  display: none; flex-direction: column; align-items: center; justify-content: center;
  gap: 5px; width: 44px; height: 42px;
  background: none; border: 1px solid rgba(200, 212, 192, .26); cursor: pointer;
}
.nav-toggle span {
  display: block; width: 20px; height: 1px; background: var(--sage-l);
  transition: transform .35s var(--ease), opacity .2s;
}
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

body.nav-open { overflow: hidden; }

/* ── ヒーロー ─────────────────────────────────────────────────────── */
.hero {
  position: relative; overflow: hidden;
  display: flex; align-items: center;
  /* CTAボタンがノートPCの画面（高さ700〜800px）でも折り返し下に落ちないよう圧縮 */
  padding: clamp(34px, 4.4vw, 60px) var(--pad) clamp(40px, 4.8vw, 68px);
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('../images/hero.jpg') center/cover no-repeat;
  transform: scale(1.04);
}
@media (prefers-reduced-motion: no-preference) {
  .hero-bg { animation: heroZoom 26s ease-in-out infinite alternate; }
  @keyframes heroZoom { from { transform: scale(1.09); } to { transform: scale(1); } }
}

.hero-ov {
  position: absolute; inset: 0;
  background:
    linear-gradient(158deg, rgba(16, 31, 30, .95) 0%, rgba(22, 41, 39, .82) 52%, rgba(45, 74, 62, .62) 100%),
    linear-gradient(to top, rgba(16, 31, 30, .92) 0%, transparent 58%);
}

.hero-in {
  position: relative; z-index: 2;
  width: 100%; max-width: var(--wrap); margin-inline: auto;
  display: grid; grid-template-columns: 1.12fr .88fr;
  gap: clamp(28px, 4vw, 56px); align-items: center;
}
.hero-copy { min-width: 0; }
.hero-eyebrow {
  font-family: var(--f-latin); font-size: .7rem; letter-spacing: .48em;
  text-transform: uppercase; color: var(--sage-l); margin-bottom: 18px;
}
.hero-flag {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--f-min); font-size: .74rem; letter-spacing: .12em;
  color: #f3ecdd; background: rgba(16, 31, 30, .55);
  border: 1px solid rgba(212, 188, 138, .45);
  padding: 8px 16px; margin-bottom: 15px;
}
.hero-title {
  font-family: var(--f-min); font-weight: 500;
  font-size: clamp(1.85rem, 4.6vw, 3.7rem); line-height: 1.5;
  letter-spacing: .06em; color: #fff;
}
.hero-title em {
  display: block; margin-top: 12px;
  font-family: var(--f-latin); font-style: italic; font-weight: 300;
  font-size: .34em; letter-spacing: .18em; color: rgba(200, 212, 192, .8);
}
.hero-lead {
  max-width: 590px; margin-top: 18px;
  font-size: .85rem; line-height: 2.15; color: rgba(255, 255, 255, .68);
}
.hero-lead b { color: var(--gold-l); font-weight: 500; }
.hero-badges { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.hero-badges li {
  font-size: .72rem; letter-spacing: .08em; color: rgba(255, 255, 255, .72);
  border: 1px solid rgba(200, 212, 192, .24);
  background: rgba(16, 31, 30, .35);
  padding: 8px 15px;
}
.hero-badges b {
  font-family: var(--f-latin); font-size: 1.02rem; font-weight: 400;
  color: var(--gold-l); margin-right: 3px;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 22px; }

.hero-fig {
  position: relative; justify-self: center;
  width: 100%; max-width: 420px;
  background: rgba(16, 31, 30, .5);
  border: 1px solid rgba(212, 188, 138, .3);
  padding: 12px;
}
.hero-fig img { width: 100%; height: auto; }
.hero-fig-badge {
  position: absolute; top: -1px; left: -1px;
  font-family: var(--f-latin); font-size: .66rem; letter-spacing: .22em;
  background: var(--gold-l); color: var(--forest-dd); padding: 5px 13px; z-index: 2;
}
.hero-fig figcaption {
  padding: 11px 4px 3px; text-align: center;
  font-size: .7rem; letter-spacing: .08em; color: rgba(200, 212, 192, .68);
}

.hero-scroll {
  position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%);
  z-index: 3; text-decoration: none;
  font-family: var(--f-latin); font-size: .6rem; letter-spacing: .4em;
  text-transform: uppercase; color: rgba(200, 212, 192, .5);
  display: flex; flex-direction: column; align-items: center; gap: 9px;
}
.hero-scroll::after {
  content: ''; width: 1px; height: 40px;
  background: linear-gradient(to bottom, rgba(200, 212, 192, .5), transparent);
}

/* ── 2つのプラン ──────────────────────────────────────────────────── */
.plans-grid {
  display: grid; grid-template-columns: repeat(2, 1fr);
  gap: 20px; align-items: stretch; max-width: 940px; margin-inline: auto;
}
.plan-card {
  position: relative; display: flex; flex-direction: column;
  background: var(--parch); padding: 34px 26px 28px;
  border: 1px solid var(--line); text-decoration: none; color: inherit;
  transition: transform .4s var(--ease), box-shadow .4s, border-color .4s;
}
.plan-card:hover {
  transform: translateY(-5px); border-color: rgba(107, 124, 92, .42);
  box-shadow: 0 24px 50px -30px rgba(22, 41, 39, .5);
}
.plan-card--new { background: var(--forest-dd); border-color: rgba(200, 212, 192, .22); }
.plan-card--new::after {
  content: ''; position: absolute; left: 0; right: 0; bottom: 0; height: 3px;
  background: linear-gradient(to right, var(--gold), var(--gold-l));
}
.plan-num {
  font-family: var(--f-latin); font-size: .64rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: block;
}
.plan-name {
  font-family: var(--f-min); font-size: 1.4rem; font-weight: 500;
  letter-spacing: .07em; line-height: 1.45; color: var(--forest); margin-bottom: 4px;
}
.plan-sub {
  font-family: var(--f-latin); font-style: italic; font-size: .86rem;
  color: var(--ink-ll); margin-bottom: 16px;
}
.plan-desc { font-size: .82rem; line-height: 2.15; color: var(--ink-l); padding-bottom: 20px; }
.plan-list { border-top: 1px solid var(--line); margin-bottom: 24px; }
.plan-list li {
  display: flex; gap: 9px; align-items: baseline;
  font-size: .78rem; line-height: 1.95; color: var(--ink-l);
  padding: 9px 0; border-bottom: 1px solid rgba(107, 124, 92, .1);
}
.plan-list li::before { content: '—'; color: var(--sage); flex: 0 0 auto; }
.plan-list strong { font-family: var(--f-min); font-weight: 500; color: var(--forest); }
.plan-foot {
  margin-top: auto; display: flex; align-items: center;
  justify-content: space-between; gap: 14px; flex-wrap: wrap;
}
.plan-lot { font-size: .72rem; letter-spacing: .06em; color: var(--ink-ll); }
.plan-lot b {
  font-family: var(--f-latin); font-size: 1.35rem; font-weight: 400;
  color: var(--forest); margin: 0 2px;
}

/* featured（ダーク）カード内の配色 */
.plan-card--new .plan-num { color: var(--gold-l); }
.plan-card--new .plan-name { color: #fff; }
.plan-card--new .plan-sub { color: rgba(200, 212, 192, .55); }
.plan-card--new .plan-desc { color: rgba(255, 255, 255, .62); }
.plan-card--new .plan-list { border-top-color: rgba(200, 212, 192, .18); }
.plan-card--new .plan-list li { color: rgba(255, 255, 255, .66); border-bottom-color: rgba(200, 212, 192, .12); }
.plan-card--new .plan-list li::before { color: var(--sage-l); }
.plan-card--new .plan-list strong { color: var(--gold-l); }
.plan-card--new .plan-lot { color: rgba(200, 212, 192, .6); }
.plan-card--new .plan-lot b { color: var(--gold-l); }

/* ── OEMコミコミ５００ ────────────────────────────────────────────── */
.k500-top {
  display: grid; grid-template-columns: 1fr 1fr; gap: 16px; align-items: stretch;
}

.k500-price {
  display: flex; flex-direction: column;
  background: var(--cream); color: var(--ink);
  border: 1px solid var(--line); border-top: 3px solid var(--gold);
  padding: clamp(26px, 3.4vw, 40px) clamp(22px, 3.2vw, 38px) clamp(24px, 3vw, 34px);
}
.k500-price-label {
  font-family: var(--f-latin); font-size: .62rem; letter-spacing: .38em;
  text-transform: uppercase; color: var(--sage); margin-bottom: 10px;
}
.k500-price-value {
  display: flex; align-items: baseline; flex-wrap: wrap; gap: 4px 8px;
  font-family: var(--f-latin); font-weight: 300; line-height: 1;
  color: var(--forest);
}
.k500-price-value b { font-size: clamp(2.6rem, 6vw, 4.2rem); font-weight: 300; letter-spacing: .01em; }
.k500-yen { font-size: clamp(1.3rem, 2.4vw, 1.9rem); align-self: flex-start; padding-top: .35em; color: var(--gold); }
.k500-per {
  font-family: var(--f-min); font-size: .86rem;
  letter-spacing: .1em; color: var(--ink-l);
}
.k500-price-cap {
  margin-top: 10px; font-size: .74rem; line-height: 1.9; color: var(--ink-ll);
  padding-bottom: 20px; border-bottom: 1px solid var(--line);
}

.k500-list { margin-top: 18px; }
.k500-list li {
  display: flex; gap: 9px; align-items: baseline;
  font-size: .79rem; line-height: 1.95; color: var(--ink-l);
  padding: 8px 0; border-bottom: 1px solid rgba(107, 124, 92, .1);
}
.k500-list li::before { content: '—'; color: var(--sage); flex: 0 0 auto; }
.k500-list b { font-family: var(--f-min); font-weight: 500; color: var(--forest); }

.k500-shipbox {
  margin-top: 20px; padding: 16px 18px;
  background: var(--warm); border-left: 3px solid var(--gold);
}
.k500-shipbox-h {
  display: flex; align-items: baseline; gap: 10px; flex-wrap: wrap;
}
.k500-shipbox-h span {
  font-family: var(--f-min); font-size: .72rem; letter-spacing: .14em; color: var(--ink-l);
}
.k500-shipbox-h b {
  font-family: var(--f-min); font-size: 1.02rem; font-weight: 500;
  letter-spacing: .04em; color: var(--forest);
}
.k500-shipbox-n { margin-top: 6px; font-size: .72rem; line-height: 1.95; color: var(--ink-l); }
.k500-shipbox-n b { color: var(--alert); font-weight: 500; }

.k500-ex {
  margin-top: auto; padding-top: 18px;
  font-size: .76rem; line-height: 1.9; color: var(--ink-l);
}
.k500-ex span {
  display: block; font-family: var(--f-min); font-size: .7rem;
  letter-spacing: .08em; color: var(--ink-ll); margin-bottom: 3px;
}
.k500-ex b { font-family: var(--f-min); font-size: 1.05rem; color: var(--forest); font-weight: 500; }

/* シールタイプであること／こだわるなら通常OEM の注記 */
.k500-note-sticker {
  margin-top: 16px; padding-top: 14px;
  border-top: 1px dashed rgba(107, 124, 92, .32);
  font-size: .72rem; line-height: 2; color: var(--ink-ll);
}
.k500-note-sticker b { font-weight: 500; color: var(--forest); }

.k500-side { display: flex; flex-direction: column; gap: 12px; }
.k500-figure {
  border: 1px solid rgba(200, 212, 192, .2);
  background: rgba(255, 255, 255, .04);
  padding: 10px;
}
.k500-figure img { width: 100%; height: auto; }

/* ── 箱数別の早見表 ───────────────────────────────────────────────── */
.ptable-wrap {
  margin-top: clamp(36px, 5vw, 56px);
  background: var(--cream); color: var(--ink);
  border: 1px solid rgba(200, 212, 192, .2);
  padding: clamp(24px, 3.4vw, 38px) clamp(18px, 3.2vw, 34px);
}
.ptable-head { text-align: center; margin-bottom: 20px; }
.ptable-title {
  font-family: var(--f-min); font-size: clamp(1.05rem, 2vw, 1.3rem); font-weight: 500;
  letter-spacing: .08em; color: var(--forest);
}
.ptable-lead { margin-top: 8px; font-size: .76rem; line-height: 1.95; color: var(--ink-l); }

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }

.ptable {
  width: 100%; min-width: 560px; border-collapse: collapse;
  background: #fff; border: 1px solid var(--line);
}
.ptable caption {
  caption-side: bottom; margin-top: 12px; padding-inline: 2px;
  font-size: .7rem; line-height: 1.9; color: var(--ink-ll); text-align: left;
}
.ptable thead th {
  padding: 12px 14px; text-align: left; white-space: nowrap;
  font-family: var(--f-min); font-size: .72rem; font-weight: 500;
  letter-spacing: .04em; color: var(--forest);
  background: var(--parch); border-bottom: 1px solid var(--line);
}
.ptable thead th:nth-child(n+3) { text-align: right; }
.ptable tbody th[scope="row"] {
  padding: 12px 14px; text-align: left; white-space: nowrap;
  font-family: var(--f-min); font-size: .78rem; font-weight: 500;
  color: var(--forest); border-bottom: 1px solid var(--line);
}
.ptable tbody td {
  padding: 12px 14px; font-size: .78rem; line-height: 1.8;
  color: var(--ink-l); border-bottom: 1px solid var(--line); white-space: nowrap;
}
.ptable tbody td:nth-child(n+3) { text-align: right; }
.ptable tbody tr:last-child th, .ptable tbody tr:last-child td { border-bottom: 0; }
.ptable tr.is-hl { background: rgba(184, 160, 106, .13); }
.ptable tr.is-hl th, .ptable tr.is-hl td { color: var(--forest); }
.ptable td.pt-total {
  font-family: var(--f-min); font-size: .92rem; font-weight: 500; color: var(--forest);
}
.ptable-foot {
  margin-top: 14px; font-size: .72rem; line-height: 2; color: var(--ink-ll);
}
.ptable-foot a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; }

.ship-callout {
  max-width: 780px; margin: 26px auto 0;
  display: grid; grid-template-columns: auto 1fr; gap: 4px 16px;
  align-items: center;
  padding: 18px 24px;
  border: 1px solid rgba(212, 188, 138, .34);
  background: rgba(212, 188, 138, .08);
}
.ship-callout-l {
  font-family: var(--f-latin); font-size: .64rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold-l);
}
.ship-callout-v {
  font-size: .82rem; color: rgba(255, 255, 255, .78);
}
.ship-callout-v b { font-family: var(--f-min); font-size: 1.02rem; font-weight: 500; color: var(--gold-l); }
.ship-callout-v span { font-size: .74rem; color: rgba(255, 255, 255, .55); margin-left: 6px; }
.ship-callout-s {
  grid-column: 1 / -1; font-size: .72rem; letter-spacing: .04em;
  color: rgba(255, 255, 255, .48);
}

/* ── やり方（3ステップ） ──────────────────────────────────────────── */
.howto-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px;
  background: var(--line); list-style: none;
}
.howto-step {
  display: flex; flex-direction: column;
  background: var(--cream); padding: clamp(24px, 3vw, 32px) clamp(20px, 2.6vw, 28px);
}
.howto-num {
  font-family: var(--f-latin); font-size: .62rem; letter-spacing: .3em;
  color: var(--gold); margin-bottom: 9px;
}
.howto-num span {
  font-size: 1.5rem; letter-spacing: .06em; margin-left: 7px; vertical-align: -2px;
  color: var(--sage-l);
}
.howto-t {
  font-family: var(--f-min); font-size: 1.02rem; font-weight: 500;
  letter-spacing: .05em; line-height: 1.65; color: var(--forest); margin-bottom: 10px;
}
.howto-d { font-size: .79rem; line-height: 2.1; color: var(--ink-l); }
.howto-d b { color: var(--forest); font-weight: 500; }

.howto-points { margin-top: 14px; }
.howto-points li {
  position: relative; padding-left: 15px;
  font-size: .73rem; line-height: 1.9; color: var(--ink-ll);
}
.howto-points li::before {
  content: ''; position: absolute; left: 2px; top: .78em;
  width: 5px; height: 5px; border-radius: 50%; background: var(--sage-l);
}

.howto-btn {
  margin-top: auto; padding-top: 20px;
  display: inline-flex; align-items: center; gap: 7px;
  font-family: var(--f-min); font-size: .76rem; letter-spacing: .06em;
  color: var(--forest); text-decoration: none;
  border-bottom: 1px solid rgba(45, 74, 62, .3);
  align-self: flex-start; padding-bottom: 4px;
  transition: color .25s, border-color .25s, gap .25s;
}
.howto-btn:hover { color: var(--gold); border-color: var(--gold); gap: 11px; }
.howto-btn--dark { color: var(--forest); }

.howto-tips {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px;
  background: var(--line); margin-top: 26px;
}
.howto-tip { background: var(--cream); padding: 20px 24px; }
.howto-tip-t {
  font-family: var(--f-min); font-size: .84rem; font-weight: 500;
  letter-spacing: .05em; color: var(--forest); margin-bottom: 5px;
}
.howto-tip-d { font-size: .76rem; line-height: 2; color: var(--ink-l); }
.howto-tip-d b { color: var(--forest); font-weight: 500; }
.howto-tip-d a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; }

/* ── シミュレーター ───────────────────────────────────────────────── */
.planner {
  display: grid; grid-template-columns: 1.05fr .95fr;
  max-width: 1000px; margin-inline: auto;
  background: var(--cream); border: 1px solid var(--line);
  box-shadow: 0 26px 60px -46px rgba(22, 41, 39, .55);
}
.planner-form { padding: clamp(24px, 3.2vw, 40px) clamp(20px, 3vw, 38px); }
.sim-field { border: 0; margin-bottom: 24px; }
.sim-field:last-child { margin-bottom: 0; }
.sim-label {
  display: block; width: 100%; margin-bottom: 14px; padding: 0;
  font-family: var(--f-min); font-size: .84rem; letter-spacing: .06em; color: var(--forest);
}
.sim-label em {
  font-family: var(--f-latin); font-style: normal; font-size: .66rem;
  letter-spacing: .16em; color: var(--ink-ll); margin-left: 8px;
}

.chips { display: flex; flex-wrap: wrap; gap: 7px; }
.chip {
  font-family: var(--f-min); font-size: .75rem; letter-spacing: .04em;
  color: var(--ink-l); background: transparent; cursor: pointer;
  border: 1px solid rgba(107, 124, 92, .3); padding: 8px 14px;
  transition: background .25s, color .25s, border-color .25s;
}
.chip:hover { border-color: var(--sage); color: var(--forest); }
.chip.is-active { background: var(--forest); color: #fff; border-color: var(--forest); }

.sim-range-row { display: flex; align-items: center; gap: 18px; margin-bottom: 16px; }
.sim-range {
  -webkit-appearance: none; appearance: none;
  flex: 1; height: 3px; border-radius: 2px; cursor: pointer;
  background: rgba(107, 124, 92, .3); outline: none;
}
.sim-range::-webkit-slider-thumb {
  -webkit-appearance: none; appearance: none;
  width: 21px; height: 21px; border-radius: 50%;
  background: var(--forest); border: 3px solid var(--cream);
  box-shadow: 0 0 0 1px var(--sage); cursor: pointer;
}
.sim-range::-moz-range-thumb {
  width: 19px; height: 19px; border-radius: 50%;
  background: var(--forest); border: 3px solid var(--cream);
  box-shadow: 0 0 0 1px var(--sage); cursor: pointer;
}
.sim-qty {
  font-family: var(--f-latin); font-size: 1.75rem; font-weight: 300;
  color: var(--forest); min-width: 92px; text-align: right; flex: 0 0 auto;
}
.sim-qty small { font-size: .5em; margin-left: 2px; }

.presets { display: flex; flex-wrap: wrap; gap: 7px; }
.preset {
  font-family: var(--f-min); font-size: .73rem; letter-spacing: .04em;
  color: var(--ink-l); background: transparent; cursor: pointer;
  border: 1px solid rgba(107, 124, 92, .28); padding: 6px 12px;
  transition: background .25s, color .25s, border-color .25s;
}
.preset:hover { border-color: var(--sage); color: var(--forest); }
.preset.is-active { background: var(--forest); color: #fff; border-color: var(--forest); }

.sim-date { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.sim-date-input {
  font-family: var(--f-body); font-size: .82rem; color: var(--forest);
  background: #fff; border: 1px solid rgba(107, 124, 92, .3);
  padding: 9px 12px; min-width: 168px;
}
.sim-date-clear {
  font-family: var(--f-min); font-size: .72rem; color: var(--ink-ll);
  background: none; border: 0; cursor: pointer;
  text-decoration: underline; text-underline-offset: 3px; padding: 6px 2px;
}
.sim-date-clear:hover { color: var(--forest); }
.sim-hint { margin-top: 9px; font-size: .7rem; line-height: 1.85; color: var(--ink-ll); }
.sim-hint.is-warn { color: var(--alert); }

.planner-result {
  padding: clamp(24px, 3.2vw, 40px) clamp(20px, 3vw, 38px);
  background: var(--forest-d); color: #fff;
  display: flex; flex-direction: column;
}
.res-label {
  font-family: var(--f-latin); font-size: .62rem; letter-spacing: .38em;
  text-transform: uppercase; color: var(--gold-l); margin-bottom: 10px;
}
.res-tag {
  align-self: flex-start;
  font-family: var(--f-latin); font-size: .6rem; letter-spacing: .2em;
  background: rgba(212, 188, 138, .16); color: var(--gold-l);
  border: 1px solid rgba(212, 188, 138, .34);
  padding: 3px 10px; margin-bottom: 12px;
}
.res-plan {
  font-family: var(--f-min); font-size: 1.18rem; font-weight: 500;
  letter-spacing: .06em; color: #fff; margin-bottom: 8px;
}
.res-desc {
  font-size: .76rem; line-height: 2; color: rgba(255, 255, 255, .62);
  padding-bottom: 16px; border-bottom: 1px solid rgba(200, 212, 192, .16);
}
.res-rows { margin-top: 6px; }
.res-rows > div {
  display: flex; align-items: baseline; justify-content: space-between; gap: 14px;
  padding: 9px 0; border-bottom: 1px solid rgba(200, 212, 192, .1);
}
.res-rows dt {
  font-size: .74rem; letter-spacing: .04em; color: rgba(255, 255, 255, .55);
  flex: 0 0 auto;
}
.res-rows dd {
  font-size: .82rem; color: #fff; text-align: right; line-height: 1.7;
}
.res-rows .res-total { border-bottom: 0; padding-top: 14px; }
.res-rows .res-total dt {
  font-family: var(--f-min); font-size: .86rem; color: var(--gold-l);
}
.res-rows .res-total dd {
  font-family: var(--f-min); font-size: 1.5rem; font-weight: 500; color: var(--gold-l);
  letter-spacing: .02em; line-height: 1.3;
}
.res-note {
  margin-top: 12px; font-size: .7rem; line-height: 1.9; color: rgba(255, 255, 255, .45);
}
.res-actions {
  margin-top: auto; padding-top: 20px;
  display: flex; flex-wrap: wrap; gap: 10px; align-items: center;
}
.res-actions .btn--ghost { border-color: rgba(200, 212, 192, .34); }
.copy-msg {
  font-size: .68rem; line-height: 1.8; color: rgba(255, 255, 255, .4);
  flex: 1 0 100%;
}
.copy-msg.is-ok { color: var(--gold-l); }
.copy-fallback {
  flex: 1 0 100%; width: 100%; min-height: 120px; margin-top: 8px;
  font-family: var(--f-body); font-size: .72rem; line-height: 1.9;
  color: var(--forest); background: var(--cream);
  border: 1px solid var(--line); padding: 10px; resize: vertical;
}

.planner-foot {
  max-width: 1000px; margin: 20px auto 0;
  font-size: .7rem; line-height: 2; color: var(--ink-ll); text-align: center;
}

/* ── ユースケース ─────────────────────────────────────────────────── */
.use-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.use-card {
  display: flex; flex-direction: column;
  background: var(--parch); border: 1px solid var(--line);
  transition: transform .4s var(--ease), box-shadow .4s;
}
.use-card:hover { transform: translateY(-4px); box-shadow: 0 24px 50px -34px rgba(22, 41, 39, .45); }
.use-figure { overflow: hidden; aspect-ratio: 16 / 9; background: var(--warm); }
.use-figure img { width: 100%; height: 100%; object-fit: cover; }
.use-body { padding: 22px 24px 26px; }
.use-k {
  font-family: var(--f-latin); font-size: .62rem; letter-spacing: .3em;
  text-transform: uppercase; color: var(--gold);
}
.use-t {
  margin: 5px 0 9px;
  font-family: var(--f-min); font-size: 1rem; font-weight: 500;
  letter-spacing: .05em; line-height: 1.6; color: var(--forest);
}
.use-d { font-size: .78rem; line-height: 2.05; color: var(--ink-l); }

/* ── 理由・通常OEM ────────────────────────────────────────────────── */
.reason-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.reason {
  background: var(--cream); border: 1px solid var(--line);
  padding: 30px 28px 32px;
}
.reason-n {
  font-family: var(--f-latin); font-size: 1.9rem; font-weight: 300;
  line-height: 1; color: var(--sage-l); margin-bottom: 12px;
}
.reason-t {
  font-family: var(--f-min); font-size: 1.02rem; font-weight: 500;
  letter-spacing: .05em; color: var(--forest); margin-bottom: 9px;
}
.reason-d { font-size: .78rem; line-height: 2.1; color: var(--ink-l); }

.lot-banner {
  max-width: 900px; margin: 26px auto 0;
  display: flex; align-items: center; justify-content: center;
  gap: 14px 26px; flex-wrap: wrap;
  padding: 18px 26px;
  background: var(--forest-d); color: #fff;
}
.lot-badge {
  font-family: var(--f-min); font-size: .8rem; letter-spacing: .06em;
  color: rgba(255, 255, 255, .78);
}
.lot-badge b {
  font-family: var(--f-latin); font-size: 1.5rem; font-weight: 400;
  color: var(--gold-l); margin: 0 3px;
}
.lot-badge span { font-size: .78rem; }
.lot-more { font-size: .76rem; color: rgba(255, 255, 255, .6); }
.lot-more a {
  color: var(--gold-l); text-decoration: underline; text-underline-offset: 3px;
}
.lot-more a:hover { color: #fff; }

/* ── 対応サイズ ───────────────────────────────────────────────────── */
.size-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.size {
  display: flex; flex-direction: column;
  background: var(--parch); border: 1px solid var(--line);
  transition: transform .35s var(--ease), box-shadow .35s;
}
.size:hover { transform: translateY(-3px); box-shadow: 0 20px 40px -32px rgba(22, 41, 39, .5); }
.size-fin { overflow: hidden; aspect-ratio: 4 / 3; background: var(--warm); }
.size-fin img { width: 100%; height: 100%; object-fit: cover; }
.size-body { padding: 16px 18px 20px; display: flex; flex-direction: column; flex: 1; }
.size-name {
  font-family: var(--f-latin); font-size: 1.24rem; font-weight: 400;
  letter-spacing: .04em; color: var(--forest); margin-bottom: 6px;
}
.size-desc { font-size: .74rem; line-height: 1.95; color: var(--ink-l); }
.size-map {
  margin-top: auto; padding-top: 12px;
  font-size: .68rem; letter-spacing: .04em; color: var(--sage);
}

/* ── 比較表 ───────────────────────────────────────────────────────── */
.cmp {
  width: 100%; min-width: 640px; border-collapse: collapse;
  background: var(--cream); color: var(--ink);
  border: 1px solid rgba(200, 212, 192, .2);
}
.cmp caption {
  caption-side: bottom; margin-top: 12px;
  font-size: .7rem; line-height: 1.9; color: rgba(255, 255, 255, .42); text-align: left;
}
.cmp thead th {
  padding: 16px 18px; text-align: left;
  font-family: var(--f-min); font-size: .84rem; font-weight: 500;
  color: var(--forest); background: var(--parch);
  border-bottom: 1px solid var(--line);
}
.cmp thead th span {
  display: block; font-family: var(--f-latin); font-size: .58rem;
  letter-spacing: .24em; text-transform: uppercase; color: var(--gold);
  margin-top: 3px; font-weight: 400;
}
.cmp tbody th[scope="row"] {
  padding: 13px 18px; text-align: left; white-space: nowrap;
  font-family: var(--f-min); font-size: .78rem; font-weight: 500;
  color: var(--forest); border-bottom: 1px solid var(--line);
  background: var(--parch);
}
.cmp tbody td {
  padding: 13px 18px; font-size: .78rem; line-height: 1.85;
  color: var(--ink-l); border-bottom: 1px solid var(--line);
}
.cmp tbody tr:last-child th, .cmp tbody tr:last-child td { border-bottom: 0; }
.cmp tbody td.hl { background: rgba(184, 160, 106, .12); color: var(--forest); }
.cmp tbody td.hl strong {
  font-family: var(--f-latin); font-size: 1.15rem; font-weight: 500;
}

/* ── ご注文の流れ ─────────────────────────────────────────────────── */
.flow-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.flow-step { background: var(--cream); padding: 26px 24px 28px; }
.flow-num {
  font-family: var(--f-latin); font-size: 1.05rem; letter-spacing: .14em;
  color: var(--gold); margin-bottom: 10px;
}
.flow-t {
  font-family: var(--f-min); font-size: .94rem; font-weight: 500;
  letter-spacing: .04em; color: var(--forest); margin-bottom: 7px;
}
.flow-d { font-size: .76rem; line-height: 2; color: var(--ink-l); }
.flow-note {
  margin-top: 22px; font-size: .74rem; line-height: 2;
  color: var(--ink-ll); text-align: center;
}

/* ── FAQ ──────────────────────────────────────────────────────────── */
.faq-list { max-width: 860px; margin-inline: auto; border-top: 1px solid var(--line); }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  position: relative; cursor: pointer; list-style: none;
  padding: 20px 44px 20px 0;
  font-family: var(--f-min); font-size: .92rem; font-weight: 500;
  letter-spacing: .03em; line-height: 1.75; color: var(--forest);
  transition: color .25s;
}
.faq-q::-webkit-details-marker { display: none; }
.faq-q:hover { color: var(--sage); }
.faq-q span {
  font-family: var(--f-latin); font-size: .82rem;
  color: var(--gold); margin-right: 10px;
}
.faq-q::after {
  content: '+'; position: absolute; right: 8px; top: 50%; transform: translateY(-50%);
  font-family: var(--f-latin); font-size: 1.3rem; font-weight: 300;
  color: var(--sage); transition: transform .3s var(--ease);
}
.faq-item[open] .faq-q::after { content: '−'; }
.faq-a {
  padding: 0 44px 22px 0;
  font-size: .8rem; line-height: 2.15; color: var(--ink-l);
}
.faq-a b { color: var(--forest); font-weight: 500; }
.faq-a a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; }

/* ── CTA / お問い合わせ ───────────────────────────────────────────── */
.cta {
  position: relative;
  background: linear-gradient(160deg, var(--forest-d) 0%, var(--forest-dd) 100%);
  color: #fff;
  padding: clamp(56px, 8vw, 100px) var(--pad);
}
.cta-in { max-width: 980px; margin-inline: auto; text-align: center; }
.cta h2 {
  font-family: var(--f-min); font-weight: 500;
  font-size: clamp(1.5rem, 3.2vw, 2.3rem);
  letter-spacing: .1em; line-height: 1.7; color: #fff;
}
.cta-lead {
  max-width: 640px; margin: 20px auto 0;
  font-size: .82rem; line-height: 2.2; color: rgba(255, 255, 255, .58);
}

.cta-contacts {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(200, 212, 192, .16);
  margin-top: 34px;
}
.cta-contact { background: rgba(16, 31, 30, .5); padding: 22px 20px; }
.cta-contact-l {
  display: block; font-family: var(--f-latin); font-size: .58rem;
  letter-spacing: .3em; text-transform: uppercase; color: var(--gold);
  margin-bottom: 7px;
}
.cta-contact-v {
  font-family: var(--f-min); font-size: 1rem; color: #fff; line-height: 1.6;
}
.cta-contact-v a { text-decoration: none; }
.cta-contact-v a:hover { color: var(--gold-l); }
.cta-contact-s { margin-top: 5px; font-size: .7rem; color: rgba(255, 255, 255, .42); }

.cta-duo {
  display: flex; flex-wrap: wrap; gap: 12px; justify-content: center;
  margin-top: 34px;
}

.cta-form {
  margin-top: 40px; padding: clamp(18px, 3vw, 30px);
  background: rgba(16, 31, 30, .55);
  border: 1px solid rgba(200, 212, 192, .18);
  text-align: left;
}
.cta-form-hd { text-align: center; margin-bottom: 18px; }
.cta-form-hd h3 {
  font-family: var(--f-min); font-size: 1rem; font-weight: 500;
  letter-spacing: .06em; color: #fff; margin-bottom: 7px;
}
.cta-form-hd p { font-size: .74rem; line-height: 1.95; color: rgba(255, 255, 255, .5); }
.cta-form-hd a {
  color: var(--gold-l); text-decoration: underline; text-underline-offset: 3px;
}
.cta-form-hd a:hover { color: #fff; }
/* フォームは内部スクロールにせず、ページのスクロールで全体を見せる
   （max-height を残すと iframe が 78vh で切られ、二重スクロールになる） */
.cta-form iframe {
  display: block; width: 100%; min-height: 0;
  background: #fff; border: 0;
}
.cta-form-alt {
  margin-top: 16px; font-size: .72rem; line-height: 2;
  color: rgba(255, 255, 255, .45);
}
.cta-form-alt a { color: var(--sage-l); text-decoration: underline; text-underline-offset: 3px; }

/* ── #contact 内の2つのフォーム ─────────────────────────────────────
   上：OEMコミコミ５００ お申込みフォーム（「制作する」の遷移先）
   下：通常OEM お問い合わせフォーム（ページ一番最後に置くフォーム）        */

/* 見出し上の小さなラベル。.cta-form-hd p (0,1,1) に負けないよう同じ詳細度で指定 */
.cta-form-hd .cta-form-lbl {
  font-family: var(--f-latin); font-size: .58rem;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 9px;
}

/* 上：コミコミ５００ お申込みフォーム（「制作する」の遷移先） */
.cta-form--komi {
  margin-top: 34px;
  border-top: 2px solid rgba(200, 212, 192, .3);
}
.cta-form--komi .cta-form-hd h3 { letter-spacing: .08em; }

/* ページ一番最後のフォーム＝通常OEM お問い合わせ。金色の上罫線で区切る */
.cta-form--oem {
  margin-top: 52px;
  border-top: 3px solid var(--gold);
  background: rgba(10, 20, 19, .6);
}
.cta-form--oem .cta-form-hd { margin-bottom: 22px; }
.cta-form--oem .cta-form-hd h3 {
  font-size: clamp(1.08rem, 2.5vw, 1.36rem); letter-spacing: .12em;
}
.cta-form--oem .cta-form-hd p { max-width: 640px; margin-inline: auto; line-height: 2.05; }
.cta-form--oem .cta-form-alt { text-align: center; }
.cta-form--oem .cta-form-alt b { color: var(--gold-l); font-weight: 500; }

@media (max-width: 768px) {
  .cta-form--oem { margin-top: 42px; }
}
@media (max-width: 640px) {
  .cta-form-hd .cta-form-lbl { font-size: .55rem; letter-spacing: .22em; }
  .cta-form--oem .cta-form-alt { font-size: .68rem; }
}

/* ── ページ一番最後：お問い合わせ（通常OEMフォーム） ──────────────── */
.cta-inquiry {
  margin-top: 54px;
  padding-top: clamp(28px, 4vw, 44px);
  border-top: 3px solid var(--gold);
  text-align: center;
}
.cta-inquiry-hd { max-width: 680px; margin: 0 auto clamp(20px, 3vw, 30px); }
.cta-inquiry-hd h3 {
  font-family: var(--f-min); font-weight: 500;
  font-size: clamp(1.3rem, 2.9vw, 1.85rem);
  letter-spacing: .16em; line-height: 1.7; color: #fff;
}
.cta-inquiry-hd p {
  margin-top: 12px; font-size: .78rem; line-height: 2.15;
  color: rgba(255, 255, 255, .6);
}
.cta-inquiry > .cta-form { margin-top: 0; }
/* 内側フォームの見出しは h4 のため、h3 と同じ体裁を当てる */
.cta-form-hd h4 {
  font-family: var(--f-min); font-size: .95rem; font-weight: 500;
  letter-spacing: .08em; color: #fff; margin-bottom: 7px;
}

@media (max-width: 640px) {
  .cta-inquiry { margin-top: 42px; }
  .cta-inquiry-hd h3 { letter-spacing: .1em; }
  .cta-inquiry-hd p { font-size: .73rem; }
}

/* ── 「制作する」ボタン（押すと制作の流れが開き、そのままフォームへ） ──── */
.make { margin-top: 34px; }

.make-btn {
  display: inline-flex; flex-direction: column; align-items: center; gap: 6px;
  list-style: none; cursor: pointer;
  padding: 20px 62px;
  background: var(--gold-l); color: var(--forest-dd);
  border: 1px solid transparent;
  transition: background .3s, box-shadow .3s;
}
.make-btn::-webkit-details-marker { display: none; }
.make-btn::marker { content: ''; }
.make-btn:hover { background: #fff; box-shadow: 0 18px 40px -26px rgba(0, 0, 0, .9); }
.make[open] .make-btn { background: #fff; }
.make-btn-t {
  font-family: var(--f-min); font-size: 1rem; font-weight: 500;
  letter-spacing: .2em; line-height: 1.4;
}
.make-btn-s { font-size: .64rem; letter-spacing: .12em; color: rgba(16, 31, 30, .6); }

.make-body {
  margin-top: 18px; padding: clamp(20px, 3vw, 32px);
  background: rgba(16, 31, 30, .55);
  border: 1px solid rgba(200, 212, 192, .18);
  text-align: left;
}
.make-lead {
  max-width: 640px; margin-inline: auto; text-align: center;
  font-size: .8rem; line-height: 2.15; color: rgba(255, 255, 255, .62);
}
.make-lead b { color: var(--gold-l); font-weight: 500; }

.make-steps {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 1px; background: rgba(200, 212, 192, .14);
  margin-top: 22px;
}
.make-step {
  background: rgba(10, 20, 19, .5);
  padding: 22px 20px 24px;
  border-top: 2px solid rgba(212, 188, 138, .5);
}
.make-n {
  display: block; font-family: var(--f-latin); font-size: 1.1rem;
  letter-spacing: .1em; color: var(--gold); margin-bottom: 10px;
}
.make-t {
  font-family: var(--f-min); font-size: .84rem; font-weight: 500;
  line-height: 1.75; letter-spacing: .04em; color: #fff; margin-bottom: 8px;
}
.make-d { font-size: .72rem; line-height: 2; color: rgba(255, 255, 255, .5); }
.make-d b { color: var(--sage-l); font-weight: 500; }
.make-link {
  display: inline-block; margin-top: 12px;
  font-family: var(--f-min); font-size: .72rem; letter-spacing: .1em;
  color: var(--gold-l); text-decoration: underline; text-underline-offset: 4px;
}
.make-link:hover { color: #fff; }

.make-note {
  margin-top: 20px; padding-top: 16px;
  border-top: 1px solid rgba(200, 212, 192, .14);
  font-size: .72rem; line-height: 2; color: rgba(255, 255, 255, .46);
}
.make-note b { color: var(--sage-l); font-weight: 500; }
.make-note a { color: var(--gold-l); text-decoration: underline; text-underline-offset: 3px; }

.make-go { margin-top: 22px; }
.make-go-note {
  margin-top: 10px; font-size: .68rem; letter-spacing: .04em;
  color: rgba(255, 255, 255, .42);
}
.make-go-note b { color: var(--gold-l); font-weight: 500; }

/* #komi500 のサイドに置く版（幅いっぱいのボタン・淡い背景） */
.make--side { margin-top: 0; flex: 1; display: flex; flex-direction: column; }
.make--side .make-btn {
  width: 100%; padding: 18px 24px;
  box-shadow: 0 18px 40px -30px rgba(0, 0, 0, .7);
}
.make--side .make-body {
  background: var(--cream); color: var(--ink);
  border-color: var(--line);
  border-top: 3px solid var(--gold);
  padding: 20px 22px 24px;
}
.make--side .make-lead { color: var(--ink-l); text-align: left; }
.make--side .make-lead b { color: var(--forest); }
.make--side .make-steps {
  grid-template-columns: 1fr; gap: 1px;
  background: var(--line);
}
.make--side .make-step {
  background: var(--parch); border-top: 0; padding: 16px 18px;
}
.make--side .make-n { font-size: .82rem; margin-bottom: 6px; color: var(--sage); }
.make--side .make-t { font-size: .8rem; color: var(--forest); margin-bottom: 5px; }
.make--side .make-d { font-size: .72rem; color: var(--ink-l); }
.make--side .make-d b { color: var(--forest); }
.make--side .make-link { font-size: .7rem; color: var(--sage); }
.make--side .make-link:hover { color: var(--forest); }
.make--side .make-go { width: 100%; }

@media (max-width: 760px) {
  .make-steps { grid-template-columns: 1fr; }
  .make-btn { width: 100%; padding: 18px 34px; }
}

/* ==========================================================================
   「制作する」ボタン → 制作の説明 → 申込フォーム
   HTML の #makeModal / [data-make] と対になる定義。
   ========================================================================== */

/* ── #komi500 サイドの導線 ────────────────────────────────────────── */
.k500-doors { display: flex; flex-direction: column; gap: 10px; }

.k500-door {
  position: relative; display: block;
  padding: 18px 20px 16px;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(200, 212, 192, .2);
  text-decoration: none; color: inherit;
  transition: background .3s, border-color .3s, transform .3s;
}
.k500-door:hover {
  background: rgba(255, 255, 255, .08);
  border-color: rgba(212, 188, 138, .5);
  transform: translateY(-2px);
}

/* <button> を同じ見た目で使うためのリセット */
.k500-door--make {
  width: 100%; font: inherit; text-align: left; cursor: pointer;
  -webkit-appearance: none; appearance: none; border-radius: 0;
}

.k500-door-n {
  position: absolute; top: 14px; right: 18px;
  font-family: var(--f-latin); font-size: .8rem; letter-spacing: .1em;
  color: rgba(200, 212, 192, .3);
}
.k500-door-k {
  display: block; font-family: var(--f-latin); font-size: .6rem;
  letter-spacing: .3em; text-transform: uppercase;
  color: var(--gold); margin-bottom: 6px;
}
.k500-door-t {
  display: block; font-family: var(--f-min); font-size: .92rem; font-weight: 500;
  letter-spacing: .05em; line-height: 1.6; color: #fff;
}
.k500-door-d {
  display: block; margin-top: 6px;
  font-size: .72rem; line-height: 1.95; color: rgba(255, 255, 255, .5);
}
.k500-door-go {
  display: block; margin-top: 10px;
  font-family: var(--f-min); font-size: .74rem; letter-spacing: .06em;
  color: var(--gold-l);
}
.k500-door-go i { font-style: normal; margin-left: 4px; }

.k500-cta-note {
  margin-top: 12px; font-size: .7rem; line-height: 1.9;
  color: rgba(255, 255, 255, .42);
}

/* ── #howto の導線（明るい背景） ──────────────────────────────────── */
.howto-cta {
  margin-top: 32px; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
}
.howto-cta-note { font-size: .72rem; line-height: 1.9; color: var(--ink-ll); }

/* ── #contact の導線（暗い背景） ──────────────────────────────────── */
.cta-make-note { font-size: .72rem; line-height: 1.9; color: rgba(255, 255, 255, .45); }

/* ── 制作の説明ダイアログ ─────────────────────────────────────────── */
.mk {
  position: fixed; inset: 0; z-index: 500;
  display: flex; align-items: center; justify-content: center;
  padding: 20px;
}
.mk[hidden] { display: none; }
.mk-ov {
  position: absolute; inset: 0;
  background: rgba(8, 17, 16, .8);
  -webkit-backdrop-filter: blur(3px); backdrop-filter: blur(3px);
}

.mk-panel {
  position: relative; z-index: 1;
  width: 100%; max-width: 640px; max-height: calc(100vh - 40px);
  overflow-y: auto; overscroll-behavior: contain;
  background: var(--cream); color: var(--ink);
  border-top: 3px solid var(--gold);
  padding: clamp(26px, 4vw, 40px) clamp(22px, 3.4vw, 38px) clamp(24px, 3vw, 30px);
  box-shadow: 0 40px 90px -40px rgba(0, 0, 0, .7);
  text-align: left;
}

.mk-close {
  position: absolute; top: 10px; right: 12px;
  width: 38px; height: 38px;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--f-latin); font-size: 1.3rem; line-height: 1;
  color: var(--ink-ll); background: none; border: 0; cursor: pointer;
  transition: color .25s, background .25s;
}
.mk-close:hover { color: var(--forest); background: rgba(107, 124, 92, .1); }

.mk-eyebrow {
  font-family: var(--f-latin); font-size: .62rem; letter-spacing: .34em;
  text-transform: uppercase; color: var(--gold); margin-bottom: 9px;
}
.mk-title {
  font-family: var(--f-min); font-size: clamp(1.08rem, 2.4vw, 1.4rem);
  font-weight: 500; letter-spacing: .05em; line-height: 1.6;
  color: var(--forest); padding-right: 34px;
}
.mk-lead { margin-top: 12px; font-size: .8rem; line-height: 2.1; color: var(--ink-l); }
.mk-lead b { font-weight: 500; color: var(--forest); }

.mk-steps {
  margin-top: 20px; display: flex; flex-direction: column; gap: 1px;
  background: var(--line); border: 1px solid var(--line); list-style: none;
}
.mk-step {
  display: flex; gap: 14px; align-items: flex-start;
  background: #fff; padding: 16px 18px;
}
.mk-step-n {
  flex: 0 0 auto; padding-top: 1px;
  font-family: var(--f-latin); font-size: .82rem; letter-spacing: .08em;
  color: var(--gold);
}
.mk-step-b { flex: 1 1 auto; }
.mk-step-t {
  font-family: var(--f-min); font-size: .88rem; font-weight: 500;
  letter-spacing: .03em; line-height: 1.7; color: var(--forest);
}
.mk-step-d { margin-top: 4px; font-size: .76rem; line-height: 2; color: var(--ink-l); }
.mk-step-d b { font-weight: 500; color: var(--forest); }

.mk-note {
  margin-top: 18px; padding-top: 16px;
  border-top: 1px dashed rgba(107, 124, 92, .32);
  font-size: .72rem; line-height: 2; color: var(--ink-ll);
}
.mk-note b { font-weight: 500; color: var(--forest); }
.mk-note a { color: var(--sage); text-decoration: underline; text-underline-offset: 3px; }

.mk-actions { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px; }
.mk-actions .btn { flex: 1 1 220px; }
/* 主導線（フォームへ進む）を全幅で強調 */
.mk-actions .mk-go-form { flex: 1 1 100%; }
/* 明るいパネル上では btn--ghost の淡色が見えないため濃色に調整 */
.mk-actions .btn--ghost {
  border-color: rgba(45, 74, 62, .32); color: var(--forest);
}
.mk-actions .btn--ghost:hover {
  background: var(--forest); color: #fff; border-color: var(--forest);
}

.mk-foot {
  margin-top: 12px; text-align: center;
  font-size: .68rem; line-height: 1.9; color: var(--ink-ll);
}

/* ダイアログ表示中は背面をスクロールさせない */
body.mk-open { overflow: hidden; }

@media (max-width: 640px) {
  .mk { padding: 12px; align-items: flex-end; }
  .mk-panel { max-height: calc(100vh - 24px); padding: 24px 20px 22px; }
  .mk-step { padding: 14px; gap: 10px; }
  .mk-actions .btn { flex: 1 1 100%; padding: 14px 18px; }
  .k500-door { padding: 16px 18px 14px; }
}

/* ── フッター ─────────────────────────────────────────────────────── */
.site-footer { background: var(--forest-dd); color: rgba(255, 255, 255, .58); }
.footer-in { max-width: var(--wrap); margin-inline: auto; padding: 48px var(--pad) 26px; }
.footer-top {
  display: flex; justify-content: space-between; gap: 34px; flex-wrap: wrap;
  padding-bottom: 30px; border-bottom: 1px solid rgba(200, 212, 192, .12);
}
.footer-logo { height: 36px; width: auto; margin-bottom: 14px; }
.footer-addr {
  font-style: normal; font-size: .74rem; line-height: 2.05;
  color: rgba(255, 255, 255, .5);
}
.footer-addr a { color: rgba(255, 255, 255, .72); text-decoration: none; }
.footer-addr a:hover { color: var(--gold-l); }
.footer-nav { display: flex; flex-wrap: wrap; gap: 8px 24px; max-width: 520px; align-content: flex-start; }
.footer-nav a {
  font-size: .74rem; letter-spacing: .04em;
  color: rgba(255, 255, 255, .58); text-decoration: none;
  transition: color .25s;
}
.footer-nav a:hover { color: var(--gold-l); }
.footer-bottom {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  padding-top: 20px;
}
.footer-copy, .footer-note { font-size: .68rem; letter-spacing: .04em; color: rgba(255, 255, 255, .38); }

/* ── モバイル固定CTA ──────────────────────────────────────────────── */
.mbar { display: none; }

/* ==========================================================================
   レスポンシブ
   ========================================================================== */

/* ── 1024px以下 ───────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .hero-in { grid-template-columns: 1fr; gap: 34px; }
  .hero-fig { max-width: 340px; order: -1; justify-self: start; }
  .hero-fig figcaption { font-size: .68rem; }
  .hero-lead { max-width: none; }

  .k500-top { grid-template-columns: 1fr; }
  .k500-figure { max-width: 520px; }

  .size-grid { grid-template-columns: repeat(2, 1fr); }
  .flow-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ── 960px以下：ナビをドロワー化 ──────────────────────────────────── */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }

  .nav-list {
    position: absolute; top: 100%; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(16, 31, 30, .99);
    border-bottom: 1px solid rgba(200, 212, 192, .14);
    max-height: 0; overflow: hidden;
    transition: max-height .4s var(--ease);
  }
  .nav-list.is-open { max-height: 80vh; overflow-y: auto; }
  .nav-list li { border-bottom: 1px solid rgba(200, 212, 192, .08); }
  .nav-list a { display: block; padding: 15px var(--pad); font-size: .84rem; }
  .nav-list a::after { display: none; }
  .nav-list .nav-cta { border-bottom: 0; }
  .nav-list .nav-cta a {
    display: block; text-align: center; padding: 15px var(--pad);
  }

  .header-in { position: relative; }

  .plans-grid { grid-template-columns: 1fr; max-width: 560px; }
  .k500-doors { flex-direction: column; }
  .howto-grid { grid-template-columns: 1fr; }
  .howto-tips { grid-template-columns: 1fr; }
  .use-grid { grid-template-columns: 1fr; max-width: 560px; margin-inline: auto; }
  .reason-grid { grid-template-columns: 1fr; max-width: 620px; margin-inline: auto; }
  .planner { grid-template-columns: 1fr; }
  .cta-contacts { grid-template-columns: 1fr; }
}

/* ── 768px以下 ────────────────────────────────────────────────────── */
@media (max-width: 768px) {
  .sec-title { letter-spacing: .06em; }
  .sec-lead br { display: none; }

  .hero { padding-bottom: 72px; }
  .hero-title { font-size: clamp(1.7rem, 7.4vw, 2.4rem); }
  .hero-title em { font-size: .4em; }
  .hero-lead { font-size: .8rem; line-height: 2.2; }
  .hero-badges li { font-size: .68rem; padding: 7px 12px; }
  .hero-actions { gap: 10px; }
  .hero-actions .btn { flex: 1 1 100%; padding: 14px 20px; }
  .hero-scroll { display: none; }

  .btn { padding: 14px 24px; font-size: .8rem; }
  .plan-foot .btn--sm { width: 100%; }

  .ship-callout { grid-template-columns: 1fr; text-align: center; gap: 6px; }
  .ship-callout-s { font-size: .68rem; }

  .footer-top { flex-direction: column; gap: 26px; }
  .footer-nav { max-width: none; }

  .cta-form iframe { height: 1400px !important; max-height: none; }
}

/* ── 640px以下：モバイル固定CTA ───────────────────────────────────── */
@media (max-width: 640px) {
  body { padding-bottom: 62px; }

  .mbar {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    background: rgba(16, 31, 30, .98);
    border-top: 1px solid rgba(200, 212, 192, .18);
    padding: 8px 8px calc(8px + env(safe-area-inset-bottom, 0px));
    gap: 6px;
  }
  .mbar a {
    flex: 1; display: flex; align-items: center; justify-content: center;
    text-decoration: none; text-align: center;
    font-family: var(--f-min); font-size: .72rem; letter-spacing: .04em;
    padding: 11px 4px; line-height: 1.3;
  }
  .mbar-sub { color: rgba(255, 255, 255, .74); border: 1px solid rgba(200, 212, 192, .24); }
  .mbar-primary { background: var(--gold-l); color: var(--forest-dd); }

  .notice-in { padding: 10px 14px; gap: 8px; }
  .notice-text { font-size: .71rem; }
  .notice-close { font-size: .66rem; }

  .brand-text span { display: none; }
  .brand img { height: 32px; }
  .brand-text b { font-size: .74rem; }

  .size-grid { grid-template-columns: 1fr; }
  .flow-grid { grid-template-columns: 1fr; }

  .k500-price-value b { font-size: 3rem; }
  .res-rows dd { font-size: .78rem; }
  .res-rows .res-total dd { font-size: 1.35rem; }
  .res-actions .btn { flex: 1 1 100%; }

  .planner-foot { font-size: .66rem; }

  .cta-duo .btn { flex: 1 1 100%; }
  .cta-form iframe { height: 1700px !important; }

  .footer-bottom { flex-direction: column; gap: 6px; }
}

/* ── 印刷 ─────────────────────────────────────────────────────────── */
@media print {
  .notice, .site-header, .mbar, .hero-bg, .hero-ov, .hero-scroll,
  .cta-form, .cta-duo, .mk, .howto-cta, .cta-make { display: none !important; }
  body { padding-bottom: 0; color: #000; background: #fff; }
  .js .rv { opacity: 1 !important; transform: none !important; }
  .sec { padding: 20px 0; }
  .sec--dark, .sec--dark2, .cta { background: #fff !important; color: #000 !important; }
  .sec--dark .sec-title, .sec--dark2 .sec-title, .cta h2 { color: #000 !important; }
  a { text-decoration: underline; }
}
