@font-face {
  font-family: "Libre Caslon Display";
  src: url("assets/libre-caslon-display.woff2") format("woff2");
  font-style: normal;
  font-weight: 400;
  font-display: swap;
}

:root {
  --sumi: #101418;
  --ink: #101418;
  --muted: #4d5966;
  --paper: #f1f4f7;
  --accent: #8d3c28;
  --blue: #28547c;
  --line: #cfd6dc;
  --made-wrap: min(1200px, calc(100vw - 48px));
  --mincho: "Hiragino Mincho ProN", "Yu Mincho", serif;
  --sans: "Hiragino Sans", "Yu Gothic", sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-padding-top: 24px; }
body { margin: 0; background: #fff; color: var(--ink); font: 15px/1.85 var(--sans); }
a { color: inherit; text-underline-offset: 5px; }
a:focus-visible { outline: 2px solid currentColor; outline-offset: 4px; }
p, figure, dl, dd, ol { margin: 0; }
h1, h2, h3 { margin: 0; font-family: var(--mincho); font-weight: 600; }
h2 { font-size: clamp(26px, 3.3vw, 44px); line-height: 1.4; letter-spacing: .025em; }
.shell { width: min(1216px, calc(100% - 112px)); margin-inline: auto; }
.section { padding-block: 82px; }
.label { font-size: 12px; font-weight: 600; letter-spacing: .14em; }

.site-header, .hero { background: var(--paper); }
.contact { background: var(--sumi); color: #f1f4f7; }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; }
.site-header { border-bottom: 1px solid var(--line); }
.header-inner { min-height: 68px; }
.brand { display: inline-flex; align-items: center; gap: 8px; font: 750 20px/1 var(--sans); text-decoration: none; white-space: nowrap; }
.brand span { border: 1px solid currentColor; padding: 5px 6px; font-size: 11px; font-weight: 600; letter-spacing: .14em; }
.header-inner nav { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; font-size: 13px; }
.header-inner nav a { text-decoration: none; }
.header-inner nav a:hover { text-decoration: underline; }
.header-contact { background: var(--sumi); color: #fff; padding: 8px 14px; }
.header-contact span { margin-left: 5px; }
.audience { background: #e7ecf4; border-bottom: 1px solid var(--line); font-size: 13px; }
.audience .shell { display: flex; align-items: baseline; flex-wrap: wrap; gap: 2px 16px; padding-block: 9px; }
.audience strong { color: #254673; }
.audience a { padding-left: 4px; }

.hero { padding-block: clamp(48px, 6.4vw, 92px) clamp(52px, 7vw, 100px); border-bottom: 1px solid var(--line); }
.hero .hero-layout, .process .shell, .ai-preview .shell, .site-footer .shell { width: var(--made-wrap); }
.hero .hero-layout { display: grid; grid-template-columns: minmax(0, 1.08fr) minmax(0, .92fr); align-items: center; gap: clamp(28px, 4vw, 64px); }
.hero-copy { container-type: inline-size; padding-block: 16px; }
.hero-copy .label { color: var(--muted); }
.hero-copy .label::before, .process-head .label::before { display: inline-block; width: 18px; height: 1px; margin-right: 9px; background: currentColor; vertical-align: middle; content: ""; }
.contact .label { color: #b7c6d5; }
h1 { margin-top: 24px; font-size: clamp(25px, 10.4cqi, 70px); line-height: 1.29; letter-spacing: .005em; }
h1 span { display: block; }
.hero-description { max-width: 32em; margin-top: 24px; color: var(--muted); font: 17px/1.95 var(--mincho); text-wrap: pretty; }
.actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 26px; }
.button { display: inline-flex; align-items: center; gap: 14px; padding: 11px 16px; border: 1px solid var(--ink); background: var(--ink); color: #fff; font-size: 13px; font-weight: 600; text-decoration: none; }
.button-line { background: transparent; color: var(--ink); }
.button:hover { text-decoration: underline; }
.maker-list { border: 1px solid var(--line); background: #fff; }
.list-head, .list-foot { font-size: 11px; color: var(--muted); }
.list-head { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: 2px 12px; padding: 10px 14px; border-bottom: 1px solid var(--line); }
.list-head strong { color: var(--ink); }
.list-foot { padding: 9px 14px; border-top: 1px solid var(--line); color: var(--accent); }
.maker-list > a { display: grid; grid-template-columns: 96px minmax(0, 1fr) auto; gap: 16px; align-items: center; min-height: 92px; padding: 12px 14px; text-decoration: none; }
.maker-list > a + a { min-height: 93px; border-top: 1px solid var(--line); }
.maker-list > a:hover { background: var(--paper); }
.maker-list img { display: block; width: 100%; height: 68px; object-fit: cover; }
.maker-list a strong, .maker-list small { display: block; }
.maker-list a strong { font-size: 16px; font-weight: 600; line-height: 1.35; }
.maker-list small { margin-top: 1px; color: var(--accent); font-size: 11px; }
.photo-strip { position: relative; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; padding: 10px; }
.photo-strip img { display: block; width: 100%; height: clamp(106px, 15vw, 225px); object-fit: cover; }
.photo-strip figcaption { position: absolute; right: 16px; bottom: 16px; background: var(--ink); color: #fff; padding: 2px 7px; font-size: 10px; }

.collab-package { background: #deedf8; border-top: 1px solid var(--line); }
.collab-develop { background: #f4f7fa; border-block: 1px solid var(--line); }
.collab-layout { display: grid; grid-template-columns: minmax(0, .88fr) minmax(0, 1.12fr); align-items: center; gap: clamp(24px, 5vw, 72px); }
.collab-develop .collab-layout { grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); }
.collab-copy h2 { font-size: clamp(25px, 3.1vw, 44px); }
.collab-copy h2 span { display: inline-block; }
.collab-copy > p { max-width: 34em; margin-top: 17px; color: var(--muted); }
.collab-examples { margin: 18px 0 24px; padding: 12px 0 0 1.2em; border-top: 1px solid var(--line); font-size: 14px; }
.collab-examples li::marker { color: var(--accent); }
.collab-examples li + li { margin-top: 4px; }
.collab-package .button { background: var(--blue); border-color: var(--blue); }
.collab-visual img { display: block; width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.collab-visual figcaption { margin-top: 8px; color: var(--muted); font-size: 11px; }

.about { display: grid; grid-template-columns: .76fr 1.24fr; gap: 56px; }
.about .label { color: var(--accent); margin-bottom: 10px; }
.uses div { padding: 15px 0 17px; border-top: 1px solid var(--line); }
.uses div:last-child { border-bottom: 1px solid var(--line); }
.uses dt { font: 600 21px/1.5 var(--mincho); }
.uses dd { margin-top: 6px; color: var(--muted); }
.process.section { padding-block: clamp(72px, 9vw, 128px); background: var(--sumi); color: #f1f4f7; }
.process-head { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 24px; align-items: end; margin-bottom: clamp(36px, 4.5vw, 64px); }
.process-head .label { color: #a1aab3; }
.process-head h2 { margin-top: 18px; text-wrap: balance; }
.process-head .button { justify-self: start; border-color: currentColor; color: #f1f4f7; }
.process-steps { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); padding: 0; list-style: none; counter-reset: process-step; }
.process-steps li { position: relative; padding: 22px 18px 0 0; border-top: 1px solid #535b64; counter-increment: process-step; }
.process-steps li::before { content: counter(process-step, decimal-leading-zero); color: #a1aab3; font: 12px/1.5 ui-monospace, monospace; letter-spacing: .1em; }
.process-steps li::after { position: absolute; top: -5px; left: 0; width: 9px; height: 9px; border-radius: 50%; background: #f1f4f7; content: ""; }
.process-steps h3 { margin-top: 10px; font-size: 20px; line-height: 1.4; }
.process-steps p { margin-top: 8px; color: #c0c8cf; font-size: 14px; line-height: 1.7; }
.region-map { background: #edf4fa; border-block: 1px solid #ccdceb; }
#makers-title span { display: inline-block; }
.region-layout { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); align-items: center; gap: clamp(28px, 6vw, 88px); margin-top: 22px; }
.map-image { position: relative; width: min(100%, 390px); margin-inline: auto; }
.map-image img { display: block; width: 100%; height: auto; }
.map-pin { position: absolute; left: var(--x); top: var(--y); transform: translate(-50%, -50%); display: grid; place-items: center; width: 42px; height: 42px; color: var(--blue); text-decoration: none; }
.map-pin::before { content: ""; width: 14px; height: 14px; border-radius: 50%; background: var(--blue); box-shadow: 0 0 0 2px #edf4fa; }
.map-pin:hover::before, .map-pin:focus-visible::before { background: var(--ink); }
.region-copy > p { color: var(--muted); }
.region-list { margin: 22px 0 0; padding: 0; list-style: none; }
.region-list li { border-top: 1px solid #ccdceb; }
.region-list li:last-child { border-bottom: 1px solid #ccdceb; }
.region-list a { display: grid; grid-template-columns: minmax(3em, 0.35fr) minmax(0, 1fr); gap: 12px; align-items: center; padding-block: 10px; color: var(--ink); text-decoration: none; }
.region-list a:hover { color: var(--blue); text-decoration: underline; }
.region-list a > span:last-child { font-size: 13px; }
.maker-types { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; margin-top: 26px; }
.maker-types > div { border-top: 1px solid #ccdceb; padding-top: 14px; }
.maker-types dt { font: 600 19px/1.5 var(--mincho); }
.maker-types dd { margin-top: 6px; color: var(--muted); font-size: 13px; }
.sample-products > p { margin-top: 8px; color: var(--muted); }
.sample-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; margin-top: 24px; }
.sample-grid article { display: flex; flex-direction: column; border: 1px solid var(--line); background: #fff; }
.sample-grid article:target { outline: 2px solid var(--blue); outline-offset: 4px; }
.sample-grid img { display: block; width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }
.sample-copy { display: flex; flex: 1; flex-direction: column; padding: 15px 16px 16px; }
.sample-copy h3 { font-size: 18px; line-height: 1.45; text-wrap: balance; }
.sample-copy p { margin: 7px 0 12px; color: var(--muted); font-size: 13px; }
.sample-copy a { align-self: start; margin-top: auto; color: var(--blue); font-size: 12px; }
.faq { background: var(--paper); border-block: 1px solid var(--line); }
.pending, .faq details p { color: var(--muted); }
.faq details p { margin-top: 7px; }
.pending { margin-top: 14px; font-size: 13px; }
.faq details { border-top: 1px solid var(--line); padding: 13px 0; }
.faq details:last-child { border-bottom: 1px solid var(--line); }
.faq summary { cursor: pointer; font-weight: 600; }
.ai-preview.section { position: relative; isolation: isolate; padding-block: clamp(76px, 9vw, 120px) clamp(56px, 6vw, 88px); background: #101112; color: #f8f7f3; }
.ai-preview::before {
  position: absolute; z-index: -1; inset: 0 0 0 24%; content: "";
  background:
    linear-gradient(90deg, #101112, rgb(16 17 18 / 18%) 45%, transparent),
    linear-gradient(0deg, #101112, rgb(16 17 18 / 12%) 58%),
    url("assets/wanoba-ai-rope.webp") 72% 50% / cover no-repeat;
}
.ai-preview h2 { font-family: "Libre Caslon Display", "Times New Roman", serif; font-weight: 400; line-height: 1.1; letter-spacing: .3em; }
.ai-preview h2 span { color: #e0c49c; }
.ai-intro { max-width: 32em; margin-top: 14px; color: #e0e2e3; font-size: 14px; text-wrap: pretty; }
.ai-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin: clamp(76px, 7vw, 110px) 0 0; padding: 0; list-style: none; }
.ai-cards li { display: flex; flex-direction: column; align-items: start; padding: clamp(20px, 3vw, 34px); border: 1px solid rgb(230 231 233 / 22%); background: rgb(20 22 24 / 90%); }
.ai-cards h3 { font-size: clamp(18px, 2.1vw, 24px); line-height: 1.4; }
.ai-cards p { margin-top: 8px; color: #d0d2d3; font-size: 13px; }
.ai-cards .ai-status { margin-top: auto; padding-top: 20px; color: #d6d8da; font: 600 11px/1.4 ui-monospace, monospace; letter-spacing: .12em; }
.contact { border-top: 3px solid var(--accent); }
.contact-layout { display: grid; grid-template-columns: 1.1fr .9fr; gap: 36px; align-items: center; }
.contact h2 { margin: 10px 0 14px; }
.contact-note { padding: 16px 20px; border: 1px solid #626c63; color: #d4ddd7; font-size: 14px; }
.contact-note p + p { margin-top: 8px; }
.site-footer { padding: 64px 0 28px; border-top: 1px solid #282f36; background: var(--sumi); color: #c5cdd4; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 40px; }
.site-footer .brand { color: #fff; }
.footer-description { max-width: 26em; margin-top: 16px; color: #a1aab3; line-height: 1.6; }
.footer-grid h2 { margin-bottom: 14px; color: #a1aab3; font: 400 11px/1.85 var(--sans); letter-spacing: .12em; }
.footer-grid ul { margin: 0; padding: 0; list-style: none; }
.footer-grid li { padding-block: 4px; }
.site-footer a { text-decoration: none; }
.site-footer a:hover { color: #fff; text-decoration: underline; }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; margin-top: 48px; padding-top: 20px; border-top: 1px solid #282f36; color: #a1aab3; }
.footer-bottom small, .footer-related { font-size: 11px; letter-spacing: .04em; }
.footer-related { display: flex; flex-wrap: wrap; gap: 6px 16px; }
.legal-preview { max-width: 760px; }
.legal-preview h1 { margin: 0 0 14px; font-size: clamp(30px, 5vw, 48px); }
.legal-preview > p { margin-bottom: 30px; color: var(--muted); }
.legal-preview section { border-top: 1px solid var(--line); padding: 18px 12px; }
.legal-preview section:last-child { border-bottom: 1px solid var(--line); }
.legal-preview section:target { background: var(--paper); }
.legal-preview h2 { font-size: 21px; }

@media (max-width: 1080px) {
  .process-steps { grid-template-columns: repeat(3, minmax(0, 1fr)); row-gap: 36px; }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 850px) {
  .shell { width: calc(100% - 64px); }
  .header-inner nav { gap: 12px; }
  .sample-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 820px) {
  :root { --made-wrap: calc(100vw - 36px); }
  .hero .hero-layout, .process-head { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 650px) {
  .shell { width: calc(100% - 40px); }
  .section { padding-block: 51px; }
  .header-inner { flex-wrap: wrap; gap: 9px 20px; padding-block: 14px; }
  .header-inner nav { gap: 8px 14px; font-size: 12px; }
  .header-contact { padding: 4px 9px; }
  .hero { padding-block: 26px 34px; }
  .about, .contact-layout, .collab .collab-layout, .region-layout { grid-template-columns: 1fr; gap: 23px; }
  .hero-copy { padding-block: 9px 3px; }
  h1 { margin-top: 13px; }
  .hero-description { margin-top: 15px; }
  .actions { margin-top: 18px; }
  .map-image { width: min(100%, 295px); }
  .maker-types { grid-template-columns: 1fr; gap: 14px; }
  .sample-grid { gap: 12px; }
  .sample-copy { padding: 12px; }
  .sample-copy h3 { font-size: 16px; }
  .ai-preview.section { padding-block: 58px 56px; }
  .ai-preview::before {
    inset: 0 0 auto;
    height: clamp(300px, 94vw, 410px);
    background:
      linear-gradient(180deg, rgb(16 17 18 / 68%) 0%, rgb(16 17 18 / 62%) 36%, transparent 65%),
      linear-gradient(0deg, #101112, rgb(16 17 18 / 8%) 70%),
      linear-gradient(90deg, rgb(16 17 18 / 55%), transparent 70%),
      url("assets/wanoba-ai-rope.webp") 78% 48% / cover no-repeat;
  }
  .ai-cards { grid-template-columns: minmax(0, 1fr); gap: 12px; margin-top: clamp(120px, 33vw, 182px); }
}

@media (max-width: 560px) {
  .process-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: minmax(0, 1fr); gap: 28px; }
  .maker-list > a { grid-template-columns: 72px minmax(0, 1fr) auto; gap: 12px; }
  .maker-list img { height: 54px; }
}
