:root {
  --paper: #faf7f2;
  --paper-2: #f3eee5;
  --ink: #241f1a;
  --ink-soft: #6b6156;
  --line: #e3dccf;
  --accent: #b4582f;
  --accent-deep: #8f4525;
  --dark: #2b2620;
  --dark-soft: #a79c8d;
  --ja: "Noto Sans JP", "Hiragino Sans", "Yu Gothic", sans-serif;
  --mincho: "Zen Old Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
  --en: "Barlow Condensed", "Noto Sans JP", sans-serif;
  --w: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 72px; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--ja); font-size: 15px; line-height: 1.95; letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3 { margin: 0; font-weight: 700; }
p { margin: 0 0 1em; }
ul, ol { list-style: none; margin: 0; padding: 0; }

/* ---------- header ---------- */
.header {
  position: sticky; top: 0; z-index: 20;
  display: flex; align-items: center; gap: 28px; height: 64px;
  padding-left: clamp(16px, 3vw, 36px);
  background: rgba(250, 247, 242, .94); backdrop-filter: blur(6px);
  box-shadow: 0 1px 0 var(--line);
}
.logo { display: flex; align-items: center; gap: 10px; text-decoration: none; color: var(--ink); }
.logo-mark { width: 30px; height: 30px; flex: none; color: var(--ink); }
.logo-text { font-family: var(--mincho); font-size: 17px; font-weight: 700; line-height: 1.15; letter-spacing: .06em; }
.logo-text small { display: block; font-family: var(--en); font-size: 10px; font-weight: 500; letter-spacing: .22em; color: var(--ink-soft); }
.nav { display: flex; gap: 24px; margin-left: auto; font-size: 13.5px; font-weight: 500; }
.nav a { text-decoration: none; padding: 4px 0; }
.nav a:hover { box-shadow: inset 0 -2px 0 var(--accent); }
.header-cta { align-self: stretch; display: flex; align-items: center; padding: 0 26px; background: var(--ink); color: var(--paper); text-decoration: none; font-weight: 700; font-size: 13.5px; }
.header-cta:hover { background: var(--accent-deep); }

/* ---------- common ---------- */
.section { max-width: var(--w); margin: 0 auto; padding: clamp(68px, 8.5vw, 112px) clamp(16px, 4vw, 36px); }
.label { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 10px; font-family: var(--en); font-weight: 600; font-size: 14px; letter-spacing: .2em; color: var(--ink-soft); }
.label::before { content: ""; width: 22px; height: 2px; background: var(--accent); }
.label-light { color: var(--dark-soft); }
.h2 { font-family: var(--mincho); font-size: clamp(25px, 3.1vw, 34px); line-height: 1.5; letter-spacing: .04em; margin-bottom: 22px; }
.h2-light { color: var(--paper); }
.lead { max-width: 720px; color: var(--ink-soft); margin-bottom: 44px; }
.lead-light { color: var(--dark-soft); }
.note { font-size: 12.5px; line-height: 1.85; color: var(--ink-soft); }
.note-light { color: var(--dark-soft); }
.caution { margin-top: 36px; padding: 16px 18px; background: var(--paper-2); border-left: 3px solid var(--accent); }
.pc-only { display: inline; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; padding: 15px 30px; font-weight: 700; font-size: 14.5px; text-decoration: none; border: 0; cursor: pointer; font-family: inherit; transition: background .2s, color .2s; }
.btn::after { content: "→"; font-family: var(--en); }
.btn-fill { background: var(--accent); color: #fff; }
.btn-fill:hover { background: var(--accent-deep); }
.btn-line { background: transparent; color: var(--ink); box-shadow: inset 0 0 0 1px var(--ink); }
.btn-line:hover { background: var(--ink); color: var(--paper); }

/* ---------- hero ---------- */
.hero { position: relative; overflow: hidden; background: var(--paper-2); padding-bottom: clamp(52px, 6.5vw, 84px); }
.hero-inner {
  max-width: var(--w); margin: 0 auto; position: relative; z-index: 1;
  padding: clamp(72px, 10vw, 128px) clamp(16px, 4vw, 36px) clamp(44px, 5.5vw, 64px);
  display: grid; grid-template-columns: minmax(0, 1fr) 290px; gap: clamp(28px, 4vw, 56px); align-items: start;
}
.hero-en { font-family: var(--en); font-size: 14px; font-weight: 600; letter-spacing: .28em; color: var(--accent); margin-bottom: 18px; }
.hero-title { font-family: var(--mincho); font-size: clamp(34px, 6vw, 62px); line-height: 1.38; letter-spacing: .05em; margin-bottom: 28px; }
.hero-lead { max-width: 640px; color: var(--ink-soft); margin-bottom: 36px; }
.hero-btns { display: flex; flex-wrap: wrap; gap: 14px; }
/* 引き受けていること（トップ右） */
.hero-menu { padding-left: clamp(20px, 2.4vw, 30px); border-left: 1px solid var(--line); }
.hero-menu-t { font-family: var(--mincho); font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.hero-menu li { padding: 11px 0 11px 18px; position: relative; border-bottom: 1px solid var(--line); }
.hero-menu li:last-child { border-bottom: 0; }
.hero-menu li::before { content: ""; position: absolute; left: 0; top: 19px; width: 7px; height: 7px; background: var(--accent); }
.hero-menu b { display: block; font-size: 13.5px; font-weight: 700; line-height: 1.7; }
.hero-menu span { display: block; font-size: 12px; line-height: 1.8; color: var(--ink-soft); }

/* 軒下に並ぶように、実績を帯で見せる */
.hero-strip {
  display: flex; gap: 16px; width: max-content; position: relative; z-index: 1;
  padding-left: max(clamp(16px, 4vw, 36px), calc((100vw - var(--w)) / 2 + clamp(16px, 4vw, 36px)));
  /* 帯は画面幅より長いので、ぼかす位置は画面の右端から測る */
  -webkit-mask-image: linear-gradient(90deg, #000 calc(100vw - 220px), transparent calc(100vw - 16px));
  mask-image: linear-gradient(90deg, #000 calc(100vw - 220px), transparent calc(100vw - 16px));
}
.hero-strip img { width: clamp(188px, 21vw, 278px); height: auto; box-shadow: 0 2px 0 var(--line), 0 16px 30px -22px rgba(36, 31, 26, .5); }

/* ---------- 3カード ---------- */
.cards3 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.card3 { background: var(--paper); padding: 30px clamp(18px, 2vw, 26px); }
.card3-no { font-family: var(--en); font-size: 26px; font-weight: 600; color: var(--accent); line-height: 1; margin-bottom: 14px; }
.card3-t { font-family: var(--mincho); font-size: 18px; line-height: 1.6; margin-bottom: 12px; }
.card3 p:last-child { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- 実績 ---------- */
.works { display: grid; gap: clamp(44px, 6vw, 76px); }
.work { display: grid; grid-template-columns: 1.15fr 1fr; gap: clamp(26px, 3.5vw, 52px); align-items: center; }
.work:nth-child(even) { direction: rtl; }
.work:nth-child(even) > * { direction: ltr; }
.work-shot { display: block; overflow: hidden; background: var(--paper-2); box-shadow: 0 2px 0 var(--line), 0 18px 34px -24px rgba(36, 31, 26, .5); }
.work-shot img { transition: transform .5s ease; }
.work-shot:hover img { transform: scale(1.03); }
.work-cat { font-family: var(--en); font-size: 13px; font-weight: 600; letter-spacing: .16em; color: var(--accent); margin-bottom: 6px; }
.work-t { font-family: var(--mincho); font-size: clamp(21px, 2.4vw, 26px); line-height: 1.5; margin-bottom: 14px; }
.work-d { font-size: 14px; color: var(--ink-soft); margin-bottom: 18px; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.tags li { font-size: 12px; line-height: 1.7; padding: 3px 12px; background: var(--paper-2); color: var(--ink-soft); }
.work-link { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 700; text-decoration: none; padding-bottom: 3px; box-shadow: inset 0 -2px 0 var(--accent); }
.work-link::after { content: "↗"; font-family: var(--en); }
.work-link:hover { color: var(--accent); }

/* ---------- 濃い帯 ---------- */
.band { background: var(--dark); color: var(--paper); }
.two { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(26px, 4vw, 56px); margin-bottom: 30px; }
.two-t { font-family: var(--mincho); font-size: 20px; margin-bottom: 18px; padding-bottom: 12px; border-bottom: 1px solid rgba(250, 247, 242, .22); }
.list-do li, .list-dont li { position: relative; padding-left: 26px; margin-bottom: 10px; font-size: 14.5px; color: #ece5da; }
.list-do li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 11px; height: 5px; border-left: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(-45deg); }
.list-dont li { color: var(--dark-soft); }
.list-dont li::before { content: ""; position: absolute; left: 4px; top: 14px; width: 12px; height: 2px; background: var(--dark-soft); }

/* ---------- 料金 ---------- */
.prices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 34px; }
.price { background: #fff; border: 1px solid var(--line); padding: 30px clamp(20px, 2.2vw, 28px); }
.price-t { font-family: var(--mincho); font-size: 17px; margin-bottom: 14px; padding-bottom: 12px; border-bottom: 1px solid var(--line); }
.price-v { font-family: var(--en); font-size: 20px; font-weight: 500; color: var(--ink); line-height: 1.2; margin-bottom: 14px; }
.price-v b { font-size: 40px; font-weight: 600; color: var(--accent); letter-spacing: .01em; }
.price-v small { font-family: var(--ja); font-size: 13px; font-weight: 700; margin-left: 2px; }
.price-n { margin: 0; font-size: 13.5px; color: var(--ink-soft); }
.price-notes li { position: relative; padding-left: 20px; margin-bottom: 8px; font-size: 13.5px; color: var(--ink-soft); }
.price-notes li::before { content: ""; position: absolute; left: 4px; top: 12px; width: 6px; height: 6px; background: var(--accent); }
.price-notes strong { color: var(--ink); }

/* ---------- 進め方 ---------- */
.flow { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); }
.flow-i { position: relative; background: var(--paper); padding: 30px clamp(18px, 2.2vw, 28px); }
.flow-s { font-family: var(--en); font-size: 13px; font-weight: 600; letter-spacing: .18em; color: var(--accent); margin-bottom: 10px; }
.flow-t { font-family: var(--mincho); font-size: 18px; line-height: 1.55; margin-bottom: 12px; }
.flow-i p:last-child { margin: 0; font-size: 13.5px; color: var(--ink-soft); }

/* ---------- FAQ ---------- */
.faq { border-top: 1px solid var(--line); }
.q { border-bottom: 1px solid var(--line); }
.q summary { list-style: none; cursor: pointer; position: relative; padding: 22px 48px 22px 0; font-family: var(--mincho); font-size: 17px; line-height: 1.6; }
.q summary::-webkit-details-marker { display: none; }
.q summary::after { content: ""; position: absolute; right: 12px; top: 50%; width: 13px; height: 13px; margin-top: -9px; border-right: 2px solid var(--accent); border-bottom: 2px solid var(--accent); transform: rotate(45deg); transition: transform .25s; }
.q[open] summary::after { transform: rotate(225deg); margin-top: -3px; }
.q summary:hover { color: var(--accent); }
.q > p { margin: 0; padding: 0 48px 26px 0; font-size: 14px; color: var(--ink-soft); }

/* ---------- お問い合わせ ---------- */
.contact { background: var(--dark); color: var(--paper); }
.form { max-width: 760px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.f { display: block; margin-bottom: 18px; font-size: 13.5px; font-weight: 700; color: #ece5da; }
.f-half { max-width: 360px; }
.req { display: inline-block; margin-left: 8px; padding: 1px 8px; background: var(--accent); color: #fff; font-size: 11px; font-weight: 700; letter-spacing: .06em; vertical-align: 2px; }
.f input, .f select, .f textarea {
  display: block; width: 100%; margin-top: 8px; padding: 13px 14px;
  font-family: inherit; font-size: 15px; font-weight: 400; line-height: 1.7; color: var(--ink);
  background: #fff; border: 1px solid transparent; border-radius: 0;
}
.f textarea { resize: vertical; }
.f input:focus, .f select:focus, .f textarea:focus { outline: 2px solid var(--accent); outline-offset: 1px; }
.f input::placeholder, .f textarea::placeholder { color: #a79f95; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-agree { font-size: 12.5px; font-weight: 400; color: var(--dark-soft); margin: 22px 0 18px; }
.form-msg { margin: 16px 0 0; font-size: 14px; font-weight: 700; min-height: 1.5em; }
.form-msg.ok { color: #9fd6a8; }
.form-msg.ng { color: #ffb3a0; }
#submitBtn[disabled] { opacity: .55; cursor: default; }

/* ---------- footer ---------- */
.footer { background: #201c17; color: var(--dark-soft); padding: clamp(48px, 6vw, 72px) clamp(16px, 4vw, 36px) 28px; }
.footer-in { max-width: var(--w); margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr; gap: 36px; align-items: start; }
.footer-brand .logo-mark { color: var(--paper); margin-bottom: 12px; }
.footer-name { font-family: var(--mincho); font-size: 19px; color: var(--paper); line-height: 1.2; margin-bottom: 14px; }
.footer-name small { display: block; font-family: var(--en); font-size: 10px; font-weight: 500; letter-spacing: .22em; color: var(--dark-soft); margin-top: 4px; }
.footer-note { font-size: 13px; margin: 0; }
.footer-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 10px 20px; font-size: 13.5px; }
.footer-nav a { text-decoration: none; }
.footer-nav a:hover { color: var(--paper); }
.copy { max-width: var(--w); margin: 40px auto 0; padding-top: 20px; border-top: 1px solid rgba(250, 247, 242, .14); font-family: var(--en); font-size: 12px; letter-spacing: .1em; }

/* ---------- 画面が狭いとき ---------- */
@media (max-width: 960px) {
  .nav { display: none; }
  .cards3, .prices, .flow { grid-template-columns: 1fr 1fr; }
  .hero-inner { grid-template-columns: 1fr; gap: 30px; }
  .hero-menu { border-left: 0; border-top: 1px solid var(--line); padding-left: 0; padding-top: 22px; max-width: 520px; }
  .work, .work:nth-child(even) { grid-template-columns: 1fr; direction: ltr; }
  .two { grid-template-columns: 1fr; }
  .footer-in { grid-template-columns: 1fr; }
}
@media (max-width: 640px) {
  body { font-size: 14.5px; }
  .header { gap: 12px; }
  .cards3, .prices, .flow { grid-template-columns: 1fr; }
  .f-row { grid-template-columns: 1fr; gap: 0; }
  .hero-deco { display: none; }
  .hero-strip { gap: 12px; padding-left: 16px;
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100vw - 90px), transparent calc(100vw - 8px));
    mask-image: linear-gradient(90deg, #000 calc(100vw - 90px), transparent calc(100vw - 8px)); }
  .hero-strip img { width: 168px; }
  .pc-only { display: none; }
  .btn { width: 100%; }
  .hero-btns { width: 100%; }
  .q summary { font-size: 16px; padding-right: 36px; }
  .q > p { padding-right: 0; }
  .price-v b { font-size: 34px; }
}
