/* ============================================================
   HPリフォーム — サービスLP
   Concept: 「工事中 → 完成」 paper white × ink black × tape yellow
   Type: Shippori Antique B1 (display) / BIZ UDPGothic (body)
   ============================================================ */

:root {
  --paper: #faf8f4;
  --ink: #17161a;
  --ink-soft: #46444c;
  --gray: #908d96;
  --line: #e3e0d8;
  --tape: #f87d15;      /* ロゴのウォームオレンジ */
  --tape-deep: #cc6206;
  --ok: #1a7a4d;
  --disp: "Shippori Antique B1", "Hiragino Kaku Gothic ProN", sans-serif;
  --body: "BIZ UDPGothic", "Yu Gothic", sans-serif;
  --w: min(1080px, 92vw);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 84px; }
body {
  font-family: var(--body); color: var(--ink); background: var(--paper);
  line-height: 1.95; font-size: 16px; letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul, ol { list-style: none; }
::selection { background: var(--tape); color: var(--ink); }

/* 養生テープ帯 */
.tape-stripe {
  height: 14px;
  background: repeating-linear-gradient(-45deg,
    var(--tape) 0 22px, var(--ink) 22px 44px);
}

/* ---------- ヘッダー ---------- */
.lp-header {
  position: sticky; top: 0; z-index: 100;
  background: rgba(250,248,244,.96);
  border-bottom: 2px solid var(--ink);
}
.lp-header .inner {
  width: var(--w); margin: 0 auto; height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 1em;
}
.logo { display: flex; align-items: center; gap: .6em; font-family: var(--disp); }
.logo .mark {
  width: 36px; height: 36px; flex-shrink: 0;
}
.logo .name { font-size: 1.18rem; font-weight: 700; letter-spacing: .06em; }
.logo .name small { display: block; font-family: var(--body); font-size: .58rem; font-weight: 400; color: var(--gray); letter-spacing: .22em; line-height: 1.2; }
.lp-nav { display: flex; gap: 1.5em; align-items: center; }
.lp-nav a { font-size: .82rem; font-weight: 600; letter-spacing: .1em; }
.lp-nav a:not(.cta):hover { color: var(--tape-deep); }
.cta {
  background: var(--ink); color: #fff; padding: .65em 1.4em; border-radius: 4px;
  font-weight: 700; position: relative; overflow: hidden; transition: background .25s;
  border: 0; cursor: pointer; font-family: var(--body); letter-spacing: .12em;
}
.cta::after { content: "→"; margin-left: .6em; color: var(--tape); }
.cta:hover { background: #000; }
@media (max-width: 760px) {
  .lp-nav a:not(.cta) { display: none; }
}

/* ---------- ヒーロー ---------- */
.hero {
  position: relative; overflow: hidden;
  padding: clamp(18px, 2.5vw, 32px) 0 clamp(48px, 7vw, 90px);
}
.hero .inner { width: var(--w); margin: 0 auto; position: relative; z-index: 2; }
.hero-label {
  display: inline-block; background: var(--tape); color: var(--ink);
  font-weight: 700; font-size: .78rem; letter-spacing: .2em;
  padding: .4em 1.2em; transform: rotate(-1.5deg);
  box-shadow: 2px 3px 0 var(--ink); margin-bottom: 1.6em;
}
.hero h1 {
  font-family: var(--disp); font-weight: 700;
  font-size: clamp(2rem, 6.2vw, 4.1rem); line-height: 1.45; letter-spacing: .05em;
}
.hero h1 .marker {
  background: linear-gradient(transparent 62%, var(--tape) 62% 94%, transparent 94%);
}
.hero .lead {
  margin-top: 1.4em; font-size: clamp(.95rem, 1.8vw, 1.1rem); color: var(--ink-soft);
  max-width: 34em;
}
.hero .lead strong { color: var(--ink); background: linear-gradient(transparent 68%, var(--tape) 68% 96%, transparent 96%); }
.hero-cta-row { display: flex; gap: 1em; flex-wrap: wrap; margin-top: 2.2em; align-items: center; }
.btn-big {
  font-family: var(--body);
  display: inline-block; background: var(--ink); color: #fff;
  font-size: 1.02rem; font-weight: 700; letter-spacing: .12em;
  padding: 1.05em 2.4em; border-radius: 6px; border: 0; cursor: pointer;
  box-shadow: 0 6px 0 #000;
  transition: translate .15s, box-shadow .15s;
}
.btn-big:hover { translate: 0 3px; box-shadow: 0 3px 0 #000; }
.btn-big .y { color: var(--tape); }
.btn-ghost {
  display: inline-block; font-weight: 700; font-size: .9rem; letter-spacing: .1em;
  padding: 1em 1.6em; border: 2px solid var(--ink); border-radius: 6px;
  transition: background .2s;
}
.btn-ghost:hover { background: var(--tape); }

/* ヒーローのビフォーアフター */
.hero-ba {
  margin-top: clamp(40px, 6vw, 64px);
  display: grid; gap: 18px; align-items: center;
  grid-template-columns: 1fr auto 1fr;
}
@media (max-width: 760px) {
  .hero-ba { grid-template-columns: 1fr; }
  .hero-ba .ba-arrow { transform: rotate(90deg); margin: -6px auto; }
}
.ba-shot { position: relative; }
.ba-shot img {
  border: 3px solid var(--ink); border-radius: 8px;
  box-shadow: 8px 10px 0 rgba(23,22,26,.12);
}
.ba-shot .tag {
  position: absolute; top: -14px; left: 14px;
  font-family: var(--disp); font-weight: 700; font-size: .82rem; letter-spacing: .16em;
  padding: .35em 1.1em; transform: rotate(-2deg);
}
.ba-shot .tag.before { background: var(--gray); color: #fff; }
.ba-shot .tag.after { background: var(--tape); color: var(--ink); box-shadow: 2px 3px 0 var(--ink); }
.ba-arrow {
  font-family: var(--disp); font-size: clamp(1.8rem, 4vw, 2.6rem); font-weight: 700;
  color: var(--tape-deep); text-align: center; line-height: 1;
}
.ba-note { text-align: center; font-size: .74rem; color: var(--gray); margin-top: 10px; letter-spacing: .08em; }

/* ---------- セクション共通 ---------- */
.sec { padding: clamp(60px, 9vw, 110px) 0; }
.sec .inner { width: var(--w); margin: 0 auto; }
.sec.ink { background: var(--ink); color: var(--paper); }
.sec.tint { background: #f1eee6; }
.sec-head { margin-bottom: clamp(32px, 5vw, 56px); }
.sec-head .tag {
  display: inline-block; background: var(--ink); color: var(--tape);
  font-family: var(--disp); font-size: .74rem; font-weight: 700; letter-spacing: .24em;
  padding: .4em 1.2em; margin-bottom: 1.2em; transform: rotate(-1deg);
}
.sec.ink .sec-head .tag { background: var(--tape); color: var(--ink); }
.sec-head h2 {
  font-family: var(--disp); font-weight: 700;
  font-size: clamp(1.55rem, 4vw, 2.5rem); line-height: 1.55; letter-spacing: .05em;
}
.sec-head h2 .marker { background: linear-gradient(transparent 62%, var(--tape) 62% 94%, transparent 94%); }
.sec.ink .sec-head h2 .marker { background: linear-gradient(transparent 62%, rgba(248,125,21,.35) 62% 94%, transparent 94%); }
.sec-head .lede { margin-top: 1em; color: var(--ink-soft); max-width: 42em; }
.sec.ink .sec-head .lede { color: #c9c7ce; }

/* ---------- お悩みチェック ---------- */
.checks { display: grid; gap: 14px; max-width: 720px; }
.checks li {
  background: #fff; border: 2px solid var(--ink); border-radius: 8px;
  padding: 1.05em 1.4em; font-weight: 600; font-size: .98rem;
  display: flex; gap: .9em; align-items: baseline;
  box-shadow: 4px 5px 0 rgba(23,22,26,.1);
}
.checks li::before {
  content: "✔"; color: var(--tape-deep); font-weight: 700; font-size: 1.1em; flex-shrink: 0;
}
.checks-closing { margin-top: 2em; font-family: var(--disp); font-size: clamp(1.1rem, 2.6vw, 1.5rem); font-weight: 700; }
.checks-closing .marker { background: linear-gradient(transparent 62%, var(--tape) 62% 94%, transparent 94%); }

/* ---------- 3原則 ---------- */
.rules { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr)); }
.rule {
  background: var(--paper); color: var(--ink); border-radius: 10px;
  padding: 34px 30px; position: relative; overflow: hidden;
}
.rule .num {
  font-family: var(--disp); font-size: 3.2rem; font-weight: 700; line-height: 1;
  color: var(--tape); margin-bottom: .3em;
}
.rule h3 { font-family: var(--disp); font-size: 1.22rem; letter-spacing: .06em; line-height: 1.6; margin-bottom: .6em; }
.rule p { font-size: .9rem; color: var(--ink-soft); }
.rule::after {
  content: ""; position: absolute; top: 0; right: 0; width: 64px; height: 14px;
  background: repeating-linear-gradient(-45deg, var(--tape) 0 10px, var(--ink) 10px 20px);
  border-bottom-left-radius: 8px;
}

/* ---------- 事例 ---------- */
.case-grid { display: grid; gap: clamp(32px, 5vw, 56px); align-items: start; }
.case-sub {
  font-family: var(--disp); font-size: 1.15rem; letter-spacing: .06em;
  margin-bottom: 1.2em;
}
.pc-ba {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px; align-items: center;
}
@media (max-width: 760px) {
  .pc-ba { grid-template-columns: 1fr; }
  .pc-ba .sp-ba-arrow { transform: rotate(90deg); margin: -4px auto; }
}
.pc-frame { position: relative; }
.pc-frame .frame {
  border: 3px solid var(--ink); border-radius: 10px; overflow: hidden;
  box-shadow: 10px 12px 0 rgba(23,22,26,.12); background: #fff;
}
.pc-frame .frame .bar {
  height: 26px; background: var(--ink); display: flex; gap: 6px; align-items: center; padding: 0 12px;
}
.pc-frame .frame .bar i { width: 9px; height: 9px; border-radius: 50%; background: #5a5862; }
.pc-frame .frame .bar i:first-child { background: var(--tape); }
.sp-ba {
  display: grid; grid-template-columns: 1fr auto 1fr; gap: 18px;
  align-items: center; max-width: 620px;
}
.sp-frame { position: relative; }
.sp-frame img {
  border: 3px solid var(--ink); border-radius: 18px;
  box-shadow: 6px 8px 0 rgba(23,22,26,.12);
}
.sp-frame .tag, .pc-frame .tag {
  position: absolute; top: -14px; left: 10px; z-index: 2;
  font-family: var(--disp); font-weight: 700; font-size: .76rem; letter-spacing: .14em;
  padding: .3em 1em; transform: rotate(-2deg);
}
.sp-frame .tag.before, .pc-frame .tag.before { background: var(--gray); color: #fff; }
.sp-frame .tag.after, .pc-frame .tag.after { background: var(--tape); color: var(--ink); box-shadow: 2px 3px 0 var(--ink); }
.sp-ba-arrow { font-family: var(--disp); font-weight: 700; font-size: 1.5rem; color: var(--tape-deep); }
.case-desc dl { display: grid; gap: 8px; margin-top: 1.2em; }
.case-desc dl > div { display: grid; grid-template-columns: 9em 1fr; gap: 1em; font-size: .9rem; border-bottom: 1px dashed var(--line); padding-bottom: 8px; }
.case-desc dt { font-weight: 700; color: var(--ink-soft); }

/* ---------- 特徴 ---------- */
.feats { display: grid; gap: 20px; grid-template-columns: repeat(auto-fit, minmax(min(250px, 100%), 1fr)); }
.feat { background: #fff; border: 2px solid var(--ink); border-radius: 10px; padding: 26px 24px; box-shadow: 4px 5px 0 rgba(23,22,26,.1); }
.feat .num {
  font-family: var(--disp); font-size: 2.1rem; font-weight: 700; line-height: 1;
  color: var(--tape); margin-bottom: .45em;
}
.feat h3 { font-family: var(--disp); font-size: 1.05rem; margin-bottom: .4em; letter-spacing: .04em; }
.feat p { font-size: .86rem; color: var(--ink-soft); }

/* ---------- 料金 ---------- */
.plans { display: grid; gap: 24px; grid-template-columns: repeat(auto-fit, minmax(min(290px, 100%), 1fr)); align-items: stretch; }
.plan {
  background: #fff; border: 2px solid var(--ink); border-radius: 12px;
  display: flex; flex-direction: column;
  box-shadow: 5px 6px 0 rgba(23,22,26,.1);
}
.plan .head { border-radius: 10px 10px 0 0; }
.plan.hot { border-width: 3px; box-shadow: 8px 9px 0 var(--tape); position: relative; }
.plan .head { padding: 24px 26px 18px; border-bottom: 2px dashed var(--line); }
.plan.hot .head { background: var(--ink); color: var(--paper); border-bottom: 0; }
.plan .head .pname { font-family: var(--disp); font-size: 1.25rem; font-weight: 700; letter-spacing: .08em; }
.plan .head .pfor { font-size: .78rem; color: var(--gray); margin-top: .2em; }
.plan.hot .head .pfor { color: #b9b7c0; }
.plan .price { padding: 20px 26px 6px; }
.plan .price .num { font-family: var(--disp); font-size: 2.3rem; font-weight: 700; letter-spacing: .02em; }
.plan .price .num small { font-size: .9rem; }
.plan .price .tax { font-size: .72rem; color: var(--gray); }
.plan ul { padding: 12px 26px 26px; display: grid; gap: .5em; flex: 1; }
.plan ul li { font-size: .88rem; padding-left: 1.5em; position: relative; }
.plan ul li::before { content: "✔"; position: absolute; left: 0; color: var(--tape-deep); font-weight: 700; }
.plan ul li.no { color: var(--gray); }
.plan ul li.no::before { content: "—"; color: var(--gray); }
.plan .foot { padding: 0 26px 26px; }
.hot-badge {
  position: absolute; top: -16px; right: 18px;
  background: var(--tape); color: var(--ink); font-weight: 700; font-size: .74rem;
  letter-spacing: .14em; padding: .4em 1.1em; transform: rotate(2deg);
  box-shadow: 2px 3px 0 var(--ink); z-index: 2;
}
.plans-note { margin-top: 1.6em; font-size: .78rem; color: var(--gray); }

/* ---------- 流れ ---------- */
.steps { display: grid; gap: 0; counter-reset: step; max-width: 760px; }
.step {
  display: grid; grid-template-columns: 56px 1fr; gap: 1.4em;
  padding: 1.6em 0; border-bottom: 1px dashed var(--line); position: relative;
}
.step .no {
  counter-increment: step;
  width: 56px; height: 56px; border-radius: 50%;
  background: var(--ink); color: var(--tape);
  font-family: var(--disp); font-weight: 700; font-size: 1.3rem;
  display: grid; place-items: center;
}
.step .no::before { content: counter(step); }
.step h3 { font-family: var(--disp); font-size: 1.1rem; letter-spacing: .06em; }
.step h3 .free { background: var(--tape); font-size: .7rem; padding: .2em .8em; margin-left: .8em; vertical-align: middle; transform: rotate(-1deg); display: inline-block; font-weight: 700; }
.step p { font-size: .88rem; color: var(--ink-soft); margin-top: .3em; }

/* ---------- FAQ ---------- */
.faq { max-width: 780px; display: grid; gap: 14px; }
.faq details {
  background: #fff; border: 2px solid var(--ink); border-radius: 10px;
  padding: 0; overflow: hidden; box-shadow: 4px 5px 0 rgba(23,22,26,.08);
}
.faq summary {
  cursor: pointer; font-weight: 700; padding: 1.1em 1.4em; list-style: none;
  display: flex; gap: .9em; align-items: baseline;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "Q"; font-family: var(--disp); color: var(--tape-deep); font-weight: 700; font-size: 1.15em; }
.faq summary::after { content: "＋"; margin-left: auto; color: var(--gray); }
.faq details[open] summary::after { content: "−"; }
.faq .a { padding: 0 1.4em 1.2em 3.1em; font-size: .9rem; color: var(--ink-soft); position: relative; }
.faq .a::before { content: "A"; position: absolute; left: 1.45em; font-family: var(--disp); color: var(--ink); font-weight: 700; }

/* ---------- CTA / フォーム ---------- */
.contact-box { display: grid; gap: clamp(28px, 5vw, 56px); }
@media (min-width: 860px) { .contact-box { grid-template-columns: 1fr 1.2fr; } }
.contact-side h2 { font-family: var(--disp); font-size: clamp(1.5rem, 3.4vw, 2.1rem); line-height: 1.6; }
.contact-side p { margin-top: 1em; color: #c9c7ce; font-size: .92rem; }
.contact-side .point { margin-top: 1.6em; display: grid; gap: .6em; }
.contact-side .point li { font-size: .88rem; padding-left: 1.6em; position: relative; color: var(--paper); }
.contact-side .point li::before { content: "✔"; position: absolute; left: 0; color: var(--tape); }
.lp-form { background: var(--paper); color: var(--ink); border-radius: 12px; padding: clamp(24px, 4vw, 40px); display: grid; gap: 18px; }
.lp-form label { font-weight: 700; font-size: .88rem; display: block; }
.lp-form label input, .lp-form label textarea { margin-top: .45em; }
.lp-form .req {
  display: inline-block; vertical-align: middle;
  background: #c22; color: #fff; font-size: .68em; font-weight: 700;
  padding: .15em .7em; border-radius: 3px; margin-left: .6em;
}
.lp-form input, .lp-form textarea {
  font: inherit; padding: .8em 1em; border: 2px solid var(--ink); border-radius: 6px;
  background: #fff; width: 100%;
}
.lp-form input:focus, .lp-form textarea:focus { outline: 3px solid var(--tape); outline-offset: 1px; }
.form-note { font-size: .74rem; color: var(--gray); }

/* ---------- フッター ---------- */
.lp-footer { background: var(--ink); color: #b9b7c0; }
.lp-footer .inner {
  width: var(--w); margin: 0 auto; padding: 40px 0 32px;
  display: flex; flex-wrap: wrap; gap: 1.5em; justify-content: space-between; align-items: center;
  font-size: .78rem;
}
.lp-footer .brand { color: var(--paper); font-family: var(--disp); font-weight: 700; font-size: 1rem; }
.lp-footer .brand small { display: block; font-family: var(--body); font-weight: 400; color: #8a8892; font-size: .72rem; margin-top: .3em; }

/* ---------- リビール ---------- */
.rv { opacity: 0; translate: 0 24px; transition: opacity .7s ease, translate .7s ease; }
.rv.in { opacity: 1; translate: 0 0; }
.rv.d1 { transition-delay: .12s; } .rv.d2 { transition-delay: .24s; }
@media (prefers-reduced-motion: reduce) { .rv { opacity: 1; translate: 0 0; transition: none; } }
