/* 言の絵 LP — Craft LP の紙面(白×薄グレー格子×インク罫×ハードシャドウ)を引き継ぎ、
   アクセントをロゴの青緑(#2e7f7d)に置き換えたもの。色は「うち・結論」にだけ使う */
:root {
  --ink:    #231815;   /* ロゴの文字色に合わせたインク */
  --paper:  #FFFFFF;
  --gray:   #E9E8E4;   /* 背景の薄グレー */
  --gray-2: #F4F3F0;   /* 表・帯のトーン */
  --shadow: #231815;
  --radius: 2px;
  --teal:   #2e7f7d;   /* ロゴの青緑 = うち・結論 */
  --teal-soft: #E3F0EE; /* 青緑の薄地 */
  --coral:  #EB5734;   /* 警告 */
  --cream:  #F6EFE2;   /* 一枚絵イメージ用 */
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Zen Maru Gothic', sans-serif;
  color: var(--ink);
  overflow-x: clip;
  background-color: var(--gray);
  background-image:
    linear-gradient(rgba(35,24,21,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(35,24,21,.06) 1px, transparent 1px);
  background-size: 22px 22px;
  line-height: 1.8;
  font-feature-settings: "halt" 1;
}
img { max-width: 100%; display: block; height: auto; }
ul, ol { list-style: none; }
.inner { max-width: 1080px; margin: 0 auto; padding: 0 24px; }
.pc { display: inline; }
.sp { display: none; }
ruby rt { font-size: .55em; font-weight: 700; letter-spacing: .1em; color: var(--teal); }

/* ---- 共通パーツ ---- */
.eyebrow {
  font-family: 'Space Mono', monospace;
  font-size: 13px; letter-spacing: .18em;
  color: var(--ink); opacity: .6; margin-bottom: 10px;
}
.sec { padding: 88px 0; }
.sec-title {
  font-size: clamp(26px, 4.2vw, 40px);
  font-weight: 900; line-height: 1.4; margin-bottom: 28px;
}
.sec-lead { margin-bottom: 32px; }

.btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 700; font-size: 15px;
  color: var(--ink); background: var(--paper);
  border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 10px 20px; cursor: pointer; text-decoration: none;
  box-shadow: 4px 4px 0 var(--shadow);
  transition: transform .12s ease, box-shadow .12s ease;
}
.btn:hover { transform: translate(-2px, -2px); box-shadow: 6px 6px 0 var(--shadow); }
.btn:active { transform: translate(2px, 2px); box-shadow: 1px 1px 0 var(--shadow); }
.btn.big { font-size: 17px; padding: 14px 26px; }
.btn-primary { background: var(--ink); color: var(--paper); }
.btn-primary::after { content: "↗"; font-weight: 900; }
.text-link { color: var(--teal); font-weight: 700; text-underline-offset: 4px; }
.soon {
  display: inline-block; font-family: 'Space Mono', monospace; font-size: 10px; font-weight: 700;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: var(--radius);
  padding: 1px 6px; letter-spacing: .06em; margin-right: 10px; vertical-align: 2px;
}

/* 窓(レトロウィンドウ) */
.win {
  background: var(--paper);
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--shadow);
  overflow: hidden;
}
.win-bar {
  display: flex; align-items: center; gap: 6px;
  background: var(--gray-2);
  border-bottom: 2px solid var(--ink);
  padding: 7px 12px;
}
.win-bar i {
  width: 9px; height: 9px; border-radius: 50%;
  border: 2px solid var(--ink); background: var(--paper);
}
.win-name {
  font-family: 'Space Mono', monospace; font-size: 12px;
  margin-left: 6px; opacity: .7;
}
.win-body { padding: 22px 24px; }
.win-body h3 { font-size: 19px; font-weight: 900; margin-bottom: 8px; }
.win-body p { font-size: 14.5px; }
.win-body .text-link { display: inline-block; margin-top: 12px; font-size: 14px; }

/* ---- ヘッダー ---- */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: var(--paper); border-bottom: 2px solid var(--ink);
}
.header-inner {
  max-width: 1160px; margin: 0 auto;
  display: flex; align-items: center; gap: 24px;
  padding: 10px 24px;
}
.brand img { height: 38px; width: auto; display: block; }
.gnav { display: flex; gap: 22px; margin-left: auto; }
.gnav a { color: var(--ink); text-decoration: none; font-weight: 700; font-size: 14px; }
.gnav a::after { content: " ↗"; font-size: 11px; }
.gnav a:hover { text-decoration: underline; text-underline-offset: 4px; }
.header-cta { display: flex; gap: 10px; }
.header-cta .btn { font-size: 13px; padding: 7px 14px; box-shadow: 3px 3px 0 var(--shadow); }

/* ---- ヒーロー ---- */
.hero { padding: 72px 0 88px; background: var(--paper); border-bottom: 2px solid var(--ink); }
.hero-grid {
  display: grid; grid-template-columns: 1.15fr .85fr;
  gap: 48px; align-items: center;
}
.hero-target {
  display: inline-block; font-size: 13px; font-weight: 900; line-height: 1;
  padding: 6px 12px; border: 2px solid var(--ink); border-radius: 999px;
  background: var(--teal-soft); margin-bottom: 14px; line-height: 1.4;
}
.hero h1 {
  font-size: clamp(30px, 3.6vw, 40px);
  font-weight: 900; line-height: 1.32; margin: 6px 0 18px;
  letter-spacing: 0;
}
.hero .lead { font-size: 17px; font-weight: 700; margin-bottom: 28px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-actions.center { justify-content: center; }
.hero-points { margin-top: 28px; display: grid; gap: 8px; font-size: 14.5px; font-weight: 700; }
.hero-points li { padding-left: 26px; position: relative; }
.hero-points li::before {
  content: ""; position: absolute; left: 0; top: .55em;
  width: 14px; height: 14px; background: var(--teal);
  border: 2px solid var(--ink); border-radius: var(--radius);
}
.hero-visual { justify-self: center; text-align: center; }
.hero-note, .img-note {
  font-family: 'Space Mono', monospace;
  font-size: 11.5px; margin-top: 14px; opacity: .7;
}
.img-note { margin-top: 22px; }

/* 一枚絵(サイネージ枠 + 作例画像) */
.signage {
  width: 300px;
  border: 3px solid var(--ink); border-radius: 14px;
  background: var(--ink); padding: 8px;
  box-shadow: 7px 7px 0 var(--shadow);
  margin: 0 auto; position: relative;
}
.signage.small { width: 240px; box-shadow: 5px 5px 0 var(--shadow); }
.signage.wide { width: 320px; box-shadow: 5px 5px 0 var(--shadow); }
.sheet-img {
  display: block; width: 100%; height: auto;
  border-radius: 6px; background: var(--cream);
}

/* ---- 課題 ---- */
.card-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.prob-emoji { font-size: 30px; margin-bottom: 6px; filter: grayscale(1) contrast(1.1); }

/* ---- ギャラリー ---- */
.sec-gallery { background: var(--paper); border-bottom: 2px solid var(--ink); }
.sec-gallery .inner { text-align: center; }
.gallery { display: grid; grid-template-columns: repeat(6, 1fr); gap: 16px; }
.gallery li { display: grid; gap: 10px; }
.gallery img {
  display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover;
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--shadow); background: var(--cream);
}
.gallery span { font-size: 13.5px; font-weight: 900; }

/* ---- ビフォーアフター ---- */
.sec-demo { background: var(--paper); border-block: 2px solid var(--ink); }
.sec-demo .inner { text-align: center; }
.demo-grid {
  display: grid; grid-template-columns: 1fr auto auto;
  gap: 28px; align-items: center; justify-content: center;
  text-align: left; margin-top: 12px;
}
.request-text { font-size: 16px; font-weight: 700; line-height: 2; }
.demo-arrow { font-size: 40px; font-weight: 900; }
.demo-results { display: flex; align-items: center; gap: 26px; }
.demo-caption { margin-top: 30px; font-weight: 700; }

/* ---- 使い方 / 導入の流れ ---- */
.sec-howto .inner, .sec-flow .inner { text-align: center; }
.step-grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  gap: 26px; text-align: left;
}
.step {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--shadow); padding: 24px;
}
.step-num {
  display: inline-grid; place-items: center;
  width: 40px; height: 40px; border-radius: 50%;
  background: var(--paper); border: 2px solid var(--ink);
  font-family: 'Space Mono', monospace; font-weight: 700; font-size: 18px;
  margin-bottom: 12px;
}
.step h3 { font-size: 20px; font-weight: 900; margin-bottom: 6px; }
.step p { font-size: 14.5px; }
.face {
  display: inline-block; flex: none; width: 38px; height: 38px; border-radius: 50%; overflow: hidden;
  border: 2px solid var(--ink); background: var(--cream);
}
.face img {
  display: block; width: 100%; height: 100%;
  transform: scale(1.75); transform-origin: 50% 38%;
}
.step-faces { display: flex; margin-top: 14px; }
.step-faces .face { box-shadow: 0 0 0 2px var(--paper); margin-left: -10px; }
.step-faces .face:first-child { margin-left: 0; }

/* ---- 仕組み ---- */
.sec-structure { background: var(--paper); border-block: 2px solid var(--ink); }
.sec-structure .inner { text-align: center; }
.flow {
  display: grid; grid-template-columns: repeat(5, 1fr);
  gap: 34px; margin: 8px 0 48px; text-align: left;
}
.flow-node {
  position: relative;
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--shadow); padding: 14px 14px 12px;
  display: flex; flex-direction: column; gap: 2px; min-height: 118px;
}
.flow-node.is-sub { background: var(--gray-2); }
.flow-node.is-main { background: var(--teal); color: var(--paper); }
.flow-node.is-main .flow-label, .flow-node.is-main small { color: var(--paper); opacity: .92; }
.flow-label { font-family: 'Space Mono', monospace; font-size: 10.5px; letter-spacing: .12em; opacity: .65; }
.flow-node b { font-size: 18px; font-weight: 900; line-height: 1.3; }
.flow-node small { font-size: 12px; font-weight: 700; margin-top: auto; opacity: .85; }
.flow-node + .flow-node::before {
  content: "→"; position: absolute; left: -30px; top: 50%; transform: translateY(-50%);
  font-weight: 900; font-size: 22px; color: var(--ink);
}
.sameshop { margin: 52px auto 56px; max-width: 860px; }
.sameshop-row { display: flex; justify-content: center; align-items: flex-end; gap: 20px; }
.sameshop-row img {
  height: 380px; width: auto;
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--shadow); background: var(--cream);
}
.sameshop figcaption { margin-top: 22px; font-size: 14px; }
.sameshop figcaption b { font-size: 16px; font-weight: 900; display: inline-block; margin-bottom: 4px; }
.layers-grid { display: grid; grid-template-columns: 300px 1fr; gap: 40px; align-items: center; text-align: left; }
.points.card-grid3 { grid-template-columns: 1fr; gap: 18px; }

/* レイヤー分解図(3枚の板を斜めにずらして重ねる) */
.layers { width: 300px; }
.layers-stack { position: relative; width: 300px; height: 240px; }
.layer {
  position: absolute; width: 220px; height: 140px;
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--shadow);
}
.layer span {
  position: absolute; left: -2px; top: -2px;
  font-family: 'Space Mono', monospace; font-size: 10.5px; font-weight: 700; line-height: 1.6;
  background: var(--ink); color: var(--paper); padding: 0 8px;
}
.layer-bg { left: 0; top: 0; background: linear-gradient(160deg, var(--teal) 0 46%, var(--cream) 46.2%); }
.layer-photo { left: 40px; top: 50px; background: rgba(255,255,255,.55); }
.layer-photo i {
  position: absolute; left: 26%; top: 30%; width: 56%; height: 44%;
  background: linear-gradient(135deg, #3b3b3b, #8a8a8a 60%, #d9d9d9);
  border: 2px solid var(--ink); border-radius: 4px; box-shadow: 3px 3px 0 var(--ink);
  transform: rotate(-3deg);
}
.layer-text { left: 80px; top: 100px; background: rgba(255,255,255,.7); border-style: dashed; }
.layer-text em {
  position: absolute; left: 14px; bottom: 12px; font-style: normal;
  font-size: 19px; font-weight: 900; line-height: 1.3; color: var(--ink);
}
.layers figcaption { margin-top: 14px; font-size: 13px; font-weight: 700; }

/* ---- デザイナー ---- */
.sec-designers .inner { text-align: center; }
.designers {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; text-align: left;
}
.designers li {
  background: var(--paper); border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--shadow); overflow: hidden;
}
.designers .avatar {
  display: block; width: 100%; height: auto; aspect-ratio: 1 / 1; object-fit: cover;
  background: var(--cream); border-bottom: 2px solid var(--ink);
}
.d-body { padding: 14px 16px 16px; display: grid; gap: 3px; }
.d-num {
  font-family: 'Space Mono', monospace; font-size: 11px; font-weight: 700;
  letter-spacing: .06em; color: var(--teal);
}
.designers b { font-size: 17px; font-weight: 900; line-height: 1.3; }
.designers small { font-size: 12.5px; line-height: 1.5; }
.works-head { margin-top: 64px; }
.works-title { font-size: clamp(22px, 3vw, 28px); font-weight: 900; margin-bottom: 8px; }
.works-lead { font-size: 14px; font-weight: 700; margin-bottom: 30px; }
.works { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px 18px; align-items: start; }
.works > li { display: grid; justify-items: start; gap: 10px; }
.works > li > img {
  display: block; width: 100%; height: auto;
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 4px 4px 0 var(--shadow); background: var(--cream);
}
.works-who {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 3px 14px 3px 3px; border-radius: 999px;
  background: var(--paper); border: 2px solid var(--ink); box-shadow: 3px 3px 0 var(--shadow);
  font-size: 14px; font-weight: 900; line-height: 1;
}
.works-who .face { width: 30px; height: 30px; }
.designers-note { margin-top: 36px; font-size: 14px; font-weight: 700; }

/* ---- 比較表 ---- */
.sec-compare .inner { text-align: center; }
.table-wrap { overflow-x: auto; padding-top: 40px; }
.compare-table {
  width: 100%; min-width: 760px;
  border-collapse: separate; border-spacing: 0;
  background: var(--paper);
  border: 2px solid var(--ink); border-radius: var(--radius);
  box-shadow: 5px 5px 0 var(--shadow);
  font-size: 14px; text-align: left;
}
.compare-table th, .compare-table td {
  padding: 14px 16px;
  border-bottom: 2px solid var(--ink);
  border-right: 2px solid var(--ink);
  vertical-align: top;
}
.compare-table th:last-child, .compare-table td:last-child { border-right: 0; }
.compare-table thead th {
  background: var(--gray-2); border-bottom: 2px solid var(--ink);
  font-size: 15px; font-weight: 900; vertical-align: bottom; position: relative;
}
.compare-table thead th.is-ours { background: var(--ink); color: var(--paper); }
.compare-table thead th .th-sub { display: block; font-family: 'Space Mono', monospace; font-size: 11px; font-weight: 400; }
.th-bubble {
  position: absolute; top: -24px; left: 14px; z-index: 2;
  background: var(--paper); color: var(--ink);
  border: 2px solid var(--ink); border-radius: 999px;
  box-shadow: 3px 3px 0 var(--shadow);
  padding: 8px 16px; font-size: 13px; font-weight: 700; line-height: 1.4; white-space: nowrap;
}
.th-bubble::after {
  content: ""; position: absolute; left: 24px; bottom: -6px;
  width: 10px; height: 10px; background: inherit;
  border-right: 2px solid var(--ink); border-bottom: 2px solid var(--ink);
  transform: rotate(45deg);
}
.compare-table thead th:nth-child(2) .th-bubble { background: var(--gray); }
.compare-table thead th:nth-child(3) .th-bubble { background: var(--coral); color: var(--paper); }
.compare-table thead th.is-ours .th-bubble { background: var(--teal); color: var(--paper); }
.compare-table tbody th { width: 110px; font-weight: 900; background: var(--gray-2); }
.compare-table td.is-ours { background: var(--teal-soft); font-weight: 700; }
.compare-table tr:last-child th, .compare-table tr:last-child td { border-bottom: 0; }
.row-merit th, .row-merit td { border-top: 2px solid var(--ink); }
.row-merit td::before { content: "○ "; font-weight: 900; }
.row-merit td:nth-child(3)::before { content: "△ "; }
.row-merit td.is-ours::before { content: "◎ "; }
.row-demerit td::before { content: "△ "; font-weight: 900; }
.row-demerit td:nth-child(3)::before { content: "× "; }
.row-demerit td.is-ours::before { content: "— "; }
.row-merit td, .row-demerit td { font-weight: 700; }
.row-merit td.is-ours { background: var(--teal); color: var(--paper); }
.row-demerit td.is-ours { background: var(--teal-soft); }
.row-demerit td:nth-child(3) { background: var(--coral); color: var(--paper); }

/* ---- Block for Paper ---- */
.sec-paper { background: var(--paper); border-block: 2px solid var(--ink); }
.paper-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: center; }
.paper-copy { font-size: 17px; font-weight: 700; }

/* ---- FAQ ---- */
.sec-faq .inner { max-width: 800px; }
.faq-list { display: grid; gap: 16px; }
.faq summary {
  cursor: pointer; list-style: none;
  padding: 16px 22px; font-weight: 900; font-size: 15.5px;
  position: relative; padding-right: 48px;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after {
  content: "＋"; position: absolute; right: 18px; top: 50%;
  transform: translateY(-50%); font-weight: 900;
}
.faq[open] summary::after { content: "−"; }
.faq p { padding: 14px 22px 18px; font-size: 14.5px; border-top: 1px dashed rgba(35,24,21,.35); }

/* ---- CTA / 名前 / フッター ---- */
.sec-contact { background: var(--paper); border-top: 2px solid var(--ink); }
.contact-inner { text-align: center; }
.contact-kicker { font-weight: 700; margin-bottom: 8px; }
.contact-note { margin-top: 18px; font-size: 14px; font-weight: 700; }
.naming-note { border-top: 2px solid var(--ink); background: var(--teal-soft); padding: 40px 0; }
.naming-note .inner { display: flex; gap: 28px; align-items: center; }
.naming-note img { width: 120px; flex: none; }
.naming-note h2 { font-size: 18px; font-weight: 900; margin-bottom: 6px; }
.naming-note p { font-size: 14.5px; }
.site-footer { border-top: 2px solid var(--ink); background: var(--ink); color: var(--paper); padding: 36px 0 40px; }
.footer-inner { display: flex; justify-content: space-between; gap: 32px; align-items: flex-start; }
.foot-brand { font-size: 24px; font-weight: 900; line-height: 1; letter-spacing: .02em; margin-bottom: 10px; }
.foot-tag { font-size: 13px; font-weight: 700; }
.footer-company { text-align: right; font-size: 13px; line-height: 1.9; }
.footer-company a { color: var(--paper); font-weight: 700; text-underline-offset: 4px; }
.footer-company a:hover { color: var(--teal-soft); }
.foot-copy { font-family: 'Space Mono', monospace; font-size: 12px; margin-top: 10px; opacity: .8; }

/* ---- レスポンシブ ---- */
@media (max-width: 960px) {
  .flow { grid-template-columns: 1fr 1fr; }
  .flow-node + .flow-node::before { display: none; }
  .designers { grid-template-columns: repeat(2, 1fr); }
  .works { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .pc { display: none; }
  .sp { display: inline; }
  .gnav { display: none; }
  .header-cta { margin-left: auto; }
  .header-inner { gap: 12px; padding: 10px 16px; }
  .brand img { height: 32px; }
  .hero { padding: 48px 0 64px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .hero-copy { text-align: center; }
  .hero-actions { justify-content: center; }
  .hero-points { text-align: left; max-width: 360px; margin-inline: auto; }
  .card-grid3, .step-grid { grid-template-columns: 1fr; }
  .demo-grid { grid-template-columns: 1fr; justify-items: center; text-align: center; }
  .demo-arrow { transform: rotate(90deg); }
  .demo-results { flex-wrap: wrap; justify-content: center; }
  .gallery { grid-template-columns: repeat(3, 1fr); gap: 12px; }
  .sameshop-row img { height: 260px; }
  .layers-grid { grid-template-columns: 1fr; }
  .layers { margin: 0 auto 10px; }
  .paper-grid { grid-template-columns: 1fr; }
  .naming-note .inner { flex-direction: column; text-align: center; }
  .footer-inner { flex-direction: column; align-items: center; text-align: center; }
  .footer-company { text-align: center; }
  .sec { padding: 64px 0; }
}
@media (max-width: 480px) {
  .sec-title { font-size: 24px; }
  .flow { grid-template-columns: 1fr; }
  .designers { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .d-body { padding: 10px 12px 12px; }
  .designers b { font-size: 15px; }
  .designers small { font-size: 12px; }
  .works { gap: 20px 12px; }
  .works-who { font-size: 12.5px; padding-right: 10px; }
  .gallery span { font-size: 12px; }
  .sameshop-row { gap: 8px; }
  .sameshop-row img { height: 165px; }
}
