/* LEZAKOQ（レザコク） LP（/）専用。tokens.css → common.css → これ。 */

/* 仕上がり例の刻印フォント（お客が選ぶ刻印用フォントと同じ TTF。別担当が /assets/fonts/ に置く） */
@font-face { font-family: 'LZQ Cinzel'; src: url('/assets/fonts/Cinzel-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }
@font-face { font-family: 'LZQ Great Vibes'; src: url('/assets/fonts/GreatVibes-Regular.ttf') format('truetype'); font-weight: 400; font-display: swap; }
@font-face { font-family: 'LZQ Montserrat'; src: url('/assets/fonts/Montserrat-SemiBold.ttf') format('truetype'); font-weight: 600; font-display: swap; }

.lp-section { padding: clamp(64px, 9vw, 128px) 0; }
.lp-section--tight { padding-top: clamp(40px, 6vw, 80px); }
.section-head { display: grid; gap: 14px; margin-bottom: clamp(32px, 5vw, 56px); }
.section-head .lead { max-width: 520px; }
@media (min-width: 900px) {
  .section-head { grid-template-columns: 1fr 1fr; align-items: end; gap: 32px; }
  .section-head .lead { justify-self: end; max-width: 440px; margin-bottom: 6px; }
}

/* =========================================================
   ヒーロー
   ========================================================= */
.hero {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 6vw, 88px) 0 clamp(40px, 6vw, 72px);
}
.hero::before {
  /* レーザーベッド：画面の右半分にだけ薄く */
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--line) 1px, transparent 1.2px);
  background-size: 24px 24px; background-position: 12px 12px;
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 70%);
  mask-image: linear-gradient(90deg, transparent 30%, #000 70%);
}
.hero__grid { position: relative; display: grid; gap: 44px; align-items: center; }
@media (min-width: 900px) {
  .hero__grid { grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 56px; }
}
.hero__copy { max-width: 640px; }
.hero__title {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: clamp(44px, 6.6vw, 88px); /* 「光で、彫る。」6 字が 1 行に収まる上限 */
  line-height: 1.06;
  letter-spacing: -.015em;
  margin-top: 8px;
}
.hero__title .etch__text { white-space: nowrap; }
.hero__title-en {
  display: block;
  margin-top: 18px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(13px, 1.5vw, 18px);
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--ink-2);
}
.hero .lead { margin-top: 28px; max-width: 520px; }
.hero__actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero__specs {
  display: flex; flex-wrap: wrap; gap: 8px 0;
  margin-top: 36px; padding-top: 18px; border-top: 1px solid var(--line);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .04em; color: var(--ink-2);
}
.hero__specs li { padding-right: 16px; margin-right: 16px; border-right: 1px solid var(--line); line-height: 1.5; }
.hero__specs li:last-child { padding-right: 0; margin-right: 0; border-right: 0; }

/* 刻印リビール：走査線が左→右へ走り、通り過ぎた部分の見出しが現れる */
.etch { position: relative; display: block; }
.etch__text { display: block; }
.etch__beam { display: none; }
.js .etch__text {
  clip-path: inset(-8% 100% -8% 0);
  animation: etch-reveal 1.6s var(--ease-in-out) .35s forwards;
}
.js .etch__beam {
  display: block; position: absolute; top: -4%; bottom: -4%; left: 0; width: 2px;
  background: var(--laser);
  box-shadow: 0 0 6px 1px var(--laser-glow), 0 0 22px 6px var(--laser-glow);
  opacity: 0; pointer-events: none;
  animation: etch-beam 1.6s var(--ease-in-out) .35s forwards;
}
.js .etch__beam::after {
  /* 走査線の先端の光点 */
  content: ""; position: absolute; left: 50%; top: 50%; width: 7px; height: 7px; border-radius: 50%;
  background: #fff; transform: translate(-50%, -50%);
  box-shadow: 0 0 8px 3px var(--laser), 0 0 18px 6px var(--laser-glow);
}
@keyframes etch-reveal { to { clip-path: inset(-8% 0 -8% 0); } }
@keyframes etch-beam {
  0% { left: 0; opacity: 0; }
  6% { opacity: 1; }
  94% { opacity: 1; }
  100% { left: 100%; opacity: 0; }
}
@media (prefers-reduced-motion: reduce) {
  .js .etch__text { clip-path: none; animation: none; }
  .js .etch__beam { display: none; }
}

/* 3D ステージ（治具の上に本体が載っている見立て） */
.hero__stage {
  position: relative; width: 100%; max-width: 440px; margin: 0 auto;
  aspect-ratio: 4 / 5;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, .35);
}
@media (min-width: 900px) { .hero__stage { margin: 0 0 0 auto; } }
.hero__frame { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; color: var(--ink-3); }
.hero__3d { position: absolute; inset: 0; cursor: grab; touch-action: pan-y; }
.hero__3d:active { cursor: grabbing; }
.hero__3d canvas { width: 100% !important; height: 100% !important; display: block; }
.hero__fallback {
  position: absolute; left: 50%; top: 50%; height: 84%; width: auto;
  transform: translate(-50%, -50%);
  transition: opacity .6s var(--ease-out);
}
.hero__stage.is-3d .hero__fallback { opacity: 0; }
.hero__shadow {
  position: absolute; left: 50%; bottom: 7%; width: 46%; height: 6%;
  transform: translateX(-50%);
  background: radial-gradient(ellipse at center, rgba(14, 14, 16, .22), transparent 70%);
  pointer-events: none;
}
.hero__dim {
  position: absolute; font-family: var(--font-mono); font-size: 11px; letter-spacing: .08em; color: var(--ink-3);
  pointer-events: none; white-space: nowrap;
}
.hero__dim--h { right: 10px; top: 50%; transform: translateY(-50%) rotate(90deg); transform-origin: center; }
.hero__dim--w { left: 50%; bottom: 10px; transform: translateX(-50%); }
.hero__caption {
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  max-width: 440px; margin: 12px auto 0;
  font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--ink-3);
}
@media (min-width: 900px) { .hero__caption { margin-right: 0; } }

/* =========================================================
   3 入口
   ========================================================= */
.entrances { display: grid; border-top: 1px solid var(--ink); border-bottom: 1px solid var(--line); }
.entrance {
  position: relative;
  display: grid; grid-template-rows: auto auto 1fr auto; gap: 16px;
  padding: 32px 0;
  border-bottom: 1px solid var(--line);
  transition: background-color .3s;
}
.entrance:last-child { border-bottom: 0; }
.entrance__no { display: flex; align-items: center; gap: 10px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .16em; color: var(--ink-3); }
.entrance__no::before { content: ""; width: 6px; height: 6px; background: var(--ink-3); transition: background-color .3s, box-shadow .3s; }
.entrance:hover .entrance__no::before, .entrance:focus-visible .entrance__no::before { background: var(--laser); box-shadow: 0 0 10px var(--laser-glow); }
.entrance__icon { width: 56px; height: 56px; color: var(--ink); }
.entrance__icon svg { width: 100%; height: 100%; }
.entrance__title { font-size: 24px; font-weight: 700; line-height: 1.3; }
.entrance__sub { display: block; margin-top: 4px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-2); }
.entrance__desc { font-size: 15px; color: var(--ink-2); line-height: 1.8; }
.entrance__cta { margin-top: 4px; font-size: 14px; }
.entrance:hover .entrance__cta svg, .entrance:focus-visible .entrance__cta svg { transform: translateX(4px); }
.entrance:focus-visible { outline: none; }
.entrance:focus-visible .entrance__title { text-decoration: underline; text-decoration-color: var(--laser); text-underline-offset: 6px; }
@media (min-width: 768px) {
  .entrances { grid-template-columns: repeat(3, 1fr); }
  .entrance { padding: 40px clamp(20px, 3vw, 40px) 40px; border-bottom: 0; }
  .entrance:first-child { padding-left: 0; }
  .entrance + .entrance { border-left: 1px solid var(--line); }
  .entrance:hover { background: rgba(255, 255, 255, .55); }
}

/* =========================================================
   流れ 4 ステップ（上に mm の定規）
   ========================================================= */
.ruler {
  height: 14px; margin-bottom: 28px;
  background:
    repeating-linear-gradient(to right, var(--ink-3) 0 1px, transparent 1px 8px) left bottom / 100% 6px no-repeat,
    repeating-linear-gradient(to right, var(--ink-2) 0 1px, transparent 1px 40px) left bottom / 100% 14px no-repeat;
  border-bottom: 1px solid var(--ink-2);
}
.flow { display: grid; gap: 32px; }
.flow__step { position: relative; padding-top: 22px; border-top: 1px solid var(--line); }
.flow__step::before { content: ""; position: absolute; top: -1px; left: 0; width: 28px; height: 3px; background: var(--ink); }
.flow__no { display: flex; justify-content: space-between; align-items: baseline; font-family: var(--font-mono); font-size: 12px; letter-spacing: .14em; color: var(--ink-2); }
.flow__no small { font-size: 11px; color: var(--ink-3); letter-spacing: .08em; }
.flow__title { margin-top: 10px; font-size: 19px; font-weight: 700; line-height: 1.4; }
.flow__desc { margin-top: 8px; font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }
.flow__time {
  display: inline-block; margin-top: 14px; padding: 5px 10px;
  border: 1px solid var(--ink); border-radius: var(--radius);
  font-family: var(--font-mono); font-size: 12.5px; letter-spacing: .06em;
}
@media (min-width: 768px) { .flow { grid-template-columns: repeat(4, 1fr); gap: 28px; } }

/* =========================================================
   仕上がりイメージ
   ========================================================= */
.examples { display: grid; gap: 28px; }
.example__stage {
  position: relative; display: grid; place-items: center;
  padding: 36px 24px 30px;
  border: 1px solid var(--line); border-radius: var(--radius-lg);
  background-color: var(--paper-2);
  background-image: radial-gradient(rgba(14, 14, 16, .09) 1px, transparent 1.2px);
  background-size: 24px 24px; background-position: 12px 12px;
}
.example__stage svg { width: 104px; height: auto; filter: drop-shadow(0 16px 22px rgba(14, 14, 16, .22)); }
.example__tag {
  position: absolute; top: 12px; left: 14px;
  font-family: var(--font-mono); font-size: 11px; letter-spacing: .12em; color: var(--ink-3);
}
.example__meta { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; margin-top: 14px; }
.example__title { font-size: 15px; font-weight: 700; }
.example__tone { font-family: var(--font-mono); font-size: 11.5px; letter-spacing: .06em; color: var(--ink-3); white-space: nowrap; }
.example__font { margin-top: 2px; font-family: var(--font-mono); font-size: 11.5px; color: var(--ink-3); letter-spacing: .04em; }
.examples-note { margin-top: 24px; font-size: 12.5px; color: var(--ink-3); }
@media (min-width: 700px) { .examples { grid-template-columns: repeat(3, 1fr); gap: 24px; } }

/* 本体のモック（inline SVG）の中の刻印文字 */
.engr-cinzel { font-family: 'LZQ Cinzel', 'Cinzel', Georgia, serif; font-weight: 600; }
.engr-script { font-family: 'LZQ Great Vibes', 'Great Vibes', cursive; }
.engr-sans { font-family: 'LZQ Montserrat', 'Montserrat', 'Helvetica Neue', Arial, sans-serif; font-weight: 600; }

/* =========================================================
   価格
   ========================================================= */
.price-section { position: relative; }
.price-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image: radial-gradient(var(--line) 1px, transparent 1.2px);
  background-size: 24px 24px; background-position: 12px 12px;
  -webkit-mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
  mask-image: linear-gradient(180deg, transparent, #000 20%, #000 80%, transparent);
}
.price-section > .container { position: relative; }
.price-table { border-top: 1px solid var(--ink); }
.price-row {
  display: grid; grid-template-columns: 1fr auto; align-items: center; gap: 6px 24px;
  padding: 22px 0; border-bottom: 1px solid var(--line);
}
.price-row__model { font-family: var(--font-mono); font-size: 11px; letter-spacing: .16em; color: var(--ink-3); }
.price-row__name { margin-top: 4px; font-size: clamp(17px, 2.2vw, 21px); font-weight: 700; line-height: 1.3; }
.price-row__sub { margin-top: 2px; font-size: 13px; color: var(--ink-2); }
.price-row__yen {
  font-family: var(--font-mono); font-variant-numeric: tabular-nums;
  font-size: clamp(28px, 4.4vw, 42px); font-weight: 500; line-height: 1; letter-spacing: -.01em;
  white-space: nowrap;
}
.price-row__yen .u { font-size: .5em; margin-right: 4px; color: var(--ink-2); font-weight: 400; }
.price-row__yen .s { font-size: .38em; margin-left: 4px; color: var(--ink-3); font-weight: 400; letter-spacing: .04em; }
.price-notes { display: grid; gap: 0 32px; margin-top: 8px; }
.price-note {
  display: flex; justify-content: space-between; align-items: baseline; gap: 16px;
  padding: 13px 0; border-bottom: 1px dashed var(--line);
  font-size: 14.5px;
}
.price-note .num { font-size: 15px; font-weight: 500; white-space: nowrap; }
.price-note .num .u { font-size: .8em; color: var(--ink-2); margin-right: 2px; }
.price-fine { margin-top: 22px; font-size: 12.5px; line-height: 1.9; color: var(--ink-3); }
.price-actions { display: flex; flex-wrap: wrap; gap: 12px 28px; align-items: center; margin-top: 28px; }
@media (min-width: 640px) { .price-notes { grid-template-columns: 1fr 1fr; } }

/* =========================================================
   約束
   ========================================================= */
.promise { border-top: 1px solid var(--ink); }
.promise__item { display: grid; grid-template-columns: 52px 1fr; gap: 4px 12px; padding: 22px 0; border-bottom: 1px solid var(--line); }
.promise__no { font-family: var(--font-mono); font-size: 13px; letter-spacing: .1em; color: var(--ink-2); padding-top: 3px; grid-row: span 2; }
.promise__title { font-size: 17px; font-weight: 700; line-height: 1.5; }
.promise__desc { font-size: 14.5px; color: var(--ink-2); line-height: 1.8; }
@media (min-width: 768px) {
  .promise__item { grid-template-columns: 80px 1fr 1.5fr; gap: 24px; }
  .promise__no { grid-row: auto; }
}

/* =========================================================
   FAQ
   ========================================================= */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary {
  list-style: none; cursor: pointer;
  display: grid; grid-template-columns: 28px 1fr 24px; gap: 14px; align-items: center;
  padding: 20px 0; font-weight: 700; font-size: 16px; line-height: 1.6;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:focus-visible { outline-offset: -2px; }
.faq__q { font-family: var(--font-mono); font-size: 12px; letter-spacing: .1em; color: var(--ink-3); }
.faq__icon { position: relative; width: 24px; height: 24px; }
.faq__icon::before, .faq__icon::after {
  content: ""; position: absolute; left: 50%; top: 50%; background: var(--ink);
  transform: translate(-50%, -50%); transition: transform .35s var(--ease-out);
}
.faq__icon::before { width: 14px; height: 1.5px; }
.faq__icon::after { width: 1.5px; height: 14px; }
.faq details[open] .faq__icon::after { transform: translate(-50%, -50%) rotate(90deg); }
.faq details[open] .faq__icon::before { transform: translate(-50%, -50%) rotate(180deg); }
.faq__a { padding: 0 0 22px 42px; font-size: 15px; color: var(--ink-2); line-height: 1.9; max-width: 760px; }
.faq-more { margin-top: 24px; }

/* =========================================================
   最終 CTA
   ========================================================= */
.cta { position: relative; text-align: center; padding: clamp(72px, 12vw, 160px) 0; }
.cta__line {
  width: 1px; height: 64px; margin: 0 auto 32px;
  background: linear-gradient(var(--laser), transparent);
  box-shadow: 0 0 12px var(--laser-glow);
}
.cta__title { font-size: clamp(32px, 6vw, 68px); font-weight: 700; line-height: 1.15; letter-spacing: -.01em; }
.cta__title .display { display: block; margin-top: 14px; font-size: clamp(12px, 1.4vw, 16px); letter-spacing: .2em; text-transform: uppercase; color: var(--ink-2); font-weight: 700; }
.cta__sub { margin-top: 20px; color: var(--ink-2); }
.cta .btn { margin-top: 32px; }
.cta__fine { margin-top: 18px; font-family: var(--font-mono); font-size: 12px; letter-spacing: .06em; color: var(--ink-3); }

/* 治具の四隅のマークと表示ラベル */
.hero__corner { position: absolute; width: 14px; height: 14px; border: 0 solid var(--ink-2); pointer-events: none; }
.hero__corner--tl { left: -1px; top: -1px; border-left-width: 1.5px; border-top-width: 1.5px; }
.hero__corner--tr { right: -1px; top: -1px; border-right-width: 1.5px; border-top-width: 1.5px; }
.hero__corner--bl { left: -1px; bottom: -1px; border-left-width: 1.5px; border-bottom-width: 1.5px; }
.hero__corner--br { right: -1px; bottom: -1px; border-right-width: 1.5px; border-bottom-width: 1.5px; }
.hero__jig { position: absolute; left: 12px; top: 10px; font-size: 11px; letter-spacing: .14em; color: var(--ink-3); pointer-events: none; }
