/* Allbound Apparel — 工業的・力強い方向（2026-10-13 刷新）
   墨黒と白・全幅の写真・太い大きなゴシック・細い罫線・通し番号 */
:root {
  --ink: #111112;
  --ink-2: #1c1c1e;
  --paper: #ffffff;
  --stone: #efefed;
  --muted: #6c6c70;
  --muted-dark: #a3a3a8;
  --line: #d9d9d6;
  --line-dark: #3a3a3d;
  --wrap: 1320px;
  --gut: clamp(20px, 4vw, 48px);
  --sans: "Helvetica Neue", Helvetica, "Arial Nova", Arial, "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", "SFMono-Regular", Menlo, Consolas, "Liberation Mono", monospace;
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font-family: var(--sans); font-size: 17px; line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-underline-offset: 4px; text-decoration-thickness: 1px; }
a:hover { text-decoration-thickness: 2px; }
h1, h2, h3 { font-weight: 800; line-height: 1.02; letter-spacing: -.035em; margin: 0 0 .5em; }
h1 { font-size: clamp(2.6rem, 7.2vw, 6.4rem); }
h2 { font-size: clamp(2rem, 4.4vw, 3.6rem); }
h3 { font-size: 1.3rem; letter-spacing: -.015em; line-height: 1.2; }
p { margin: 0 0 1em; }
.muted { color: var(--muted); }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }
.narrow { max-width: 900px; }
.mono, .label, .num { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; font-weight: 500; }

.skip { position: absolute; left: -9999px; }
.skip:focus { left: 16px; top: 16px; background: var(--paper); padding: 8px 12px; z-index: 20; }

/* header */
.site-header { background: var(--ink); color: var(--paper); position: sticky; top: 0; z-index: 10; border-bottom: 1px solid var(--line-dark); }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: 64px; gap: 24px; }
.logo { text-decoration: none; display: flex; flex-direction: column; line-height: 1.1; }
.logo .brand-name { font-weight: 800; font-size: 1.05rem; letter-spacing: .06em; text-transform: uppercase; }
.logo .descriptor { font-family: var(--mono); font-size: .66rem; letter-spacing: .1em; text-transform: uppercase; color: var(--muted-dark); margin-top: 3px; }
.menu-toggle { display: none; background: none; border: 0; cursor: pointer; padding: 10px; }
.menu-toggle span { display: block; width: 24px; height: 2px; background: var(--paper); margin: 5px 0; }
.menu nav ul { list-style: none; margin: 0; padding: 0; display: flex; gap: 30px; align-items: center; }
.menu nav a { text-decoration: none; font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: #d4d4d8; }
.menu nav a:hover { color: var(--paper); }
.menu nav a[aria-current="page"] { color: var(--paper); box-shadow: inset 0 -1px 0 var(--paper); padding-bottom: 3px; }

@media (max-width: 960px) {
  .menu-toggle { display: block; }
  .menu nav { display: none; }
  .menu.open nav {
    display: block; position: absolute; left: 0; right: 0; top: 64px;
    background: var(--ink); border-bottom: 1px solid var(--line-dark); padding: 12px var(--gut) 28px;
  }
  .menu nav ul { flex-direction: column; align-items: stretch; gap: 0; }
  .menu nav li { border-bottom: 1px solid var(--line-dark); }
  .menu nav a { display: block; padding: 16px 0; font-size: .85rem; }
  .menu nav li:last-child { border: 0; padding-top: 20px; }
}

/* buttons */
.btn {
  display: inline-flex; align-items: center; gap: 14px;
  background: var(--ink); color: var(--paper); text-decoration: none;
  padding: 18px 26px; border: 1px solid var(--ink); border-radius: 0; cursor: pointer;
  font-family: var(--mono); font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; font-weight: 500;
  transition: background .15s, color .15s;
}
.btn::after { content: "\2192"; font-family: var(--sans); font-size: 1rem; letter-spacing: 0; }
.btn:hover { background: var(--paper); color: var(--ink); }
.btn-light { background: var(--paper); color: var(--ink); border-color: var(--paper); }
.btn-light:hover { background: transparent; color: var(--paper); }
.btn-small { padding: 11px 16px; font-size: .72rem; }
.menu nav a.btn { color: var(--ink); background: var(--paper); border-color: var(--paper); }
.menu nav a.btn:hover { background: transparent; color: var(--paper); }
.menu nav a.btn[aria-current] { box-shadow: none; padding-bottom: 11px; }
.btn:disabled { opacity: .5; cursor: default; }

/* hero (全幅写真) */
.hero {
  position: relative; color: var(--paper); background: var(--ink);
  min-height: calc(100vh - 64px); min-height: calc(100svh - 64px);
  display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden;
}
.hero-media, .head-media { position: absolute; inset: 0; margin: 0; }
.hero-media img, .head-media img { width: 100%; height: 100%; object-fit: cover; }
.hero::before, .page-head.has-media::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(90deg, rgba(10,10,11,.7) 0%, rgba(10,10,11,.2) 70%), linear-gradient(180deg, rgba(10,10,11,0) 45%, rgba(10,10,11,.85) 100%);
}
.hero-inner { position: relative; z-index: 2; padding-top: 96px; padding-bottom: 40px; width: 100%; }
.hero-media img { transform: scaleX(-1); filter: brightness(1.35) contrast(1.05); object-position: 30% 50%; }
.hero h1 { text-transform: uppercase; max-width: 15ch; margin-bottom: 32px; font-size: clamp(2.6rem, min(7.6vw, 10.5vh), 7.2rem); line-height: .94; letter-spacing: -.04em; }
.hero-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; align-items: end; border-top: 1px solid rgba(255,255,255,.35); padding-top: 28px; }
.hero .lead { color: #e2e2e5; max-width: 680px; margin: 0; font-size: 1.08rem; }
.hero-meta { position: relative; z-index: 2; border-top: 1px solid rgba(255,255,255,.2); }
.hero-meta .wrap { display: flex; justify-content: space-between; gap: 16px; padding-top: 14px; padding-bottom: 14px; color: #c9c9cd; flex-wrap: wrap; }
@media (max-width: 800px) {
  .hero { min-height: 0; }
  .hero-inner { padding-top: 160px; }
  .hero-foot { grid-template-columns: 1fr; }
}

/* sections */
.section { padding: clamp(72px, 10vw, 140px) 0; }
.section.alt { background: var(--stone); }
.section.dark { background: var(--ink); color: var(--paper); }
.section.dark .muted, .section.dark p.muted { color: var(--muted-dark); }
.section-tight { padding: 48px 0; }
.lead { font-size: 1.2rem; line-height: 1.55; max-width: 720px; }

/* 見出しの型：左に通し番号、右に見出し（上に細い罫線） */
.sec-head { display: grid; grid-template-columns: 160px minmax(0, 1fr); gap: 24px; border-top: 1px solid var(--ink); padding-top: 22px; margin-bottom: clamp(40px, 6vw, 72px); }
.section.dark .sec-head { border-top-color: var(--paper); }
.sec-head .num { padding-top: .9em; }
.sec-head h2 { margin: 0; max-width: 18ch; }
.sec-head .sub { grid-column: 2; margin: 18px 0 0; max-width: 640px; color: var(--muted); }
.section.dark .sec-head .sub { color: var(--muted-dark); }
@media (max-width: 800px) {
  .sec-head { grid-template-columns: 1fr; gap: 12px; }
  .sec-head .num { padding-top: 0; }
  .sec-head .sub { grid-column: 1; }
}

/* 列（罫線で区切る） */
.cols { display: grid; grid-template-columns: repeat(var(--n, 3), minmax(0, 1fr)); border-top: 1px solid var(--line); }
.section.dark .cols { border-top-color: var(--line-dark); }
.cols > * { padding: 28px 32px 8px 0; }
.cols > * + * { padding-left: 32px; border-left: 1px solid var(--line); }
.section.dark .cols > * + * { border-left-color: var(--line-dark); }
.cols .num { display: block; margin-bottom: 40px; color: var(--muted); }
.cols h3 { margin-bottom: .55em; }
.cols p { color: var(--muted); }
.section.dark .cols p { color: var(--muted-dark); }
@media (max-width: 900px) {
  .cols { grid-template-columns: 1fr; }
  .cols > * { padding: 24px 0 12px; }
  .cols > * + * { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); }
  .section.dark .cols > * + * { border-top-color: var(--line-dark); }
  .cols .num { margin-bottom: 16px; }
}

.split { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(32px, 6vw, 96px); align-items: start; }
@media (max-width: 900px) { .split { grid-template-columns: 1fr; } }

/* 2つの生産拠点：全面写真のパネル */
.bases { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 2px; background: var(--ink); }
.base-panel { position: relative; min-height: 640px; color: var(--paper); display: flex; flex-direction: column; justify-content: flex-end; overflow: hidden; text-decoration: none; }
.base-panel figure { position: absolute; inset: 0; margin: 0; }
.base-panel img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.base-panel:hover img { transform: scale(1.03); }
.base-panel::before { content: ""; position: absolute; inset: 0; z-index: 1; background: linear-gradient(180deg, rgba(10,10,11,.15) 20%, rgba(10,10,11,.9) 100%); }
.base-body { position: relative; z-index: 2; padding: clamp(28px, 4vw, 52px); }
.base-body .label { display: flex; justify-content: space-between; border-bottom: 1px solid rgba(255,255,255,.4); padding-bottom: 14px; margin-bottom: 26px; color: #d4d4d8; }
.base-body h3 { font-size: clamp(1.8rem, 3vw, 2.6rem); line-height: 1.02; letter-spacing: -.03em; max-width: 16ch; }
.base-body p { color: #d4d4d8; max-width: 520px; }
.base-body .more { font-family: var(--mono); font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; color: var(--paper); margin: 22px 0 0; }
@media (max-width: 900px) { .bases { grid-template-columns: 1fr; } .base-panel { min-height: 560px; } }
.bases-note { padding: 28px 0 0; color: var(--muted); max-width: 720px; }

/* 仕様表の型（能力・リードタイム） */
.spec { border-top: 1px solid var(--ink); margin: 0; }
.section.dark .spec { border-top-color: var(--paper); }
.spec-row { display: grid; grid-template-columns: 200px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--line); }
.section.dark .spec-row { border-bottom-color: var(--line-dark); }
.spec-row dt { font-family: var(--mono); font-size: .8rem; letter-spacing: .08em; text-transform: uppercase; padding-top: .35em; }
.spec-row dd { margin: 0; font-size: 1.15rem; }
.spec-row dd.big { font-size: clamp(1.8rem, 3.6vw, 3rem); font-weight: 800; letter-spacing: -.03em; line-height: 1.05; }
.spec-row dd small { display: block; font-size: .95rem; font-weight: 400; letter-spacing: 0; color: var(--muted); margin-top: 8px; line-height: 1.5; }
.spec-note { color: var(--muted); font-size: .92rem; margin-top: 18px; }
@media (max-width: 700px) { .spec-row { grid-template-columns: 1fr; gap: 8px; } }

/* 工程（番号つき） */
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(var(--n, 5), minmax(0, 1fr)); border-top: 1px solid var(--ink); }
.section.dark .steps { border-top-color: var(--paper); }
.steps li { counter-increment: step; padding: 22px 20px 0 0; }
.steps li + li { padding-left: 20px; border-left: 1px solid var(--line); }
.section.dark .steps li + li { border-left-color: var(--line-dark); }
.steps li::before { content: counter(step, decimal-leading-zero); display: block; font-size: clamp(2.4rem, 4vw, 3.6rem); font-weight: 800; letter-spacing: -.04em; line-height: 1; margin-bottom: 28px; }
.steps li h3 { font-size: 1.1rem; margin-bottom: .5em; }
.steps li p { color: var(--muted); margin: 0 0 24px; font-size: .95rem; }
.section.dark .steps li p { color: var(--muted-dark); }
.steps.vertical { grid-template-columns: 1fr; }
.steps.vertical li { display: grid; grid-template-columns: 120px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-left: 0; border-bottom: 1px solid var(--line); }
.steps.vertical li::before { margin: 0; font-size: 2.4rem; }
.steps.vertical li p { margin: 0; }
@media (max-width: 1000px) {
  .steps { grid-template-columns: 1fr; }
  .steps li, .steps li + li { display: grid; grid-template-columns: 80px minmax(0, 1fr); gap: 16px; padding: 20px 0; border-left: 0; border-bottom: 1px solid var(--line); }
  .section.dark .steps li { border-bottom-color: var(--line-dark); }
  .steps li::before { margin: 0; font-size: 2rem; }
  .steps li p { margin: 0; }
}

/* 写真 */
.photo { margin: 0; }
.photo img { width: 100%; height: 100%; object-fit: cover; }
.photo.tall img { aspect-ratio: 4 / 5; height: auto; }
.photo.wide img { aspect-ratio: 3 / 2; height: auto; }
.photo figcaption, .gallery figcaption { font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); margin-top: 10px; display: flex; gap: 14px; }
.bleed { margin: 0; height: clamp(320px, 56vw, 720px); background: var(--ink); }
.bleed img { width: 100%; height: 100%; object-fit: cover; }

.gallery { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; background: var(--ink); }
.gallery figure { margin: 0; position: relative; }
.gallery img { width: 100%; aspect-ratio: 4 / 3; height: auto; object-fit: cover; }
.gallery figcaption { position: absolute; left: 0; right: 0; bottom: 0; margin: 0; padding: 40px 18px 14px; color: var(--paper); background: linear-gradient(180deg, rgba(10,10,11,0), rgba(10,10,11,.75)); }
@media (max-width: 900px) { .gallery { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 560px) { .gallery { grid-template-columns: 1fr; } }

/* 下層ページの見出し */
.page-head { background: var(--ink); color: var(--paper); padding: clamp(96px, 14vw, 180px) 0 clamp(48px, 6vw, 72px); position: relative; overflow: hidden; }
.page-head.has-media { min-height: 72vh; display: flex; align-items: flex-end; }
.page-head .wrap { position: relative; z-index: 2; width: 100%; }
.page-head .label { display: flex; gap: 18px; color: var(--muted-dark); margin-bottom: 28px; }
.page-head h1 { max-width: 18ch; margin-bottom: 32px; }
.page-head .lead { color: #d4d4d8; border-top: 1px solid rgba(255,255,255,.3); padding-top: 24px; margin: 0; }
.page-head.plain .lead { border-top-color: var(--line-dark); }

/* 本文ブロック */
.block { margin-bottom: 52px; }
.block:last-child { margin-bottom: 0; }
.block h2 { font-size: clamp(1.6rem, 2.6vw, 2.2rem); }
.block h3 { margin-bottom: .5em; }
.block p, .block li { color: #3a3a3e; }
.section.dark .block p, .section.dark .block li { color: #d4d4d8; }
.block ul { padding: 0; list-style: none; border-top: 1px solid var(--line); }
.block li { padding: 14px 0 14px 28px; border-bottom: 1px solid var(--line); position: relative; }
.block li::before { content: "\2014"; position: absolute; left: 0; color: var(--muted); }
.block .kicker { font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 14px; }

/* About の屋号ブロック */
.statement h2 { font-size: clamp(2.4rem, 6vw, 5.2rem); max-width: 14ch; }
.statement p { font-size: 1.2rem; max-width: 760px; color: #3a3a3e; }

/* CTA */
.cta { background: var(--ink); color: var(--paper); padding: clamp(80px, 11vw, 160px) 0; border-top: 1px solid var(--line-dark); }
.cta .label { color: var(--muted-dark); display: block; margin-bottom: 28px; }
.cta h2 { font-size: clamp(2.6rem, 7vw, 6.2rem); text-transform: uppercase; letter-spacing: -.04em; line-height: .95; max-width: 13ch; margin-bottom: 40px; }
.cta-foot { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 28px 64px; align-items: end; border-top: 1px solid var(--line-dark); padding-top: 28px; }
.cta p { color: var(--muted-dark); max-width: 600px; margin: 0; }
@media (max-width: 800px) { .cta-foot { grid-template-columns: 1fr; } }

/* FAQ */
.faq { border-top: 1px solid var(--ink); }
.faq details { border-bottom: 1px solid var(--line); counter-increment: q; }
.faq summary { cursor: pointer; padding: 26px 48px 26px 72px; font-size: 1.25rem; font-weight: 700; letter-spacing: -.015em; list-style: none; position: relative; }
.faq summary::before { content: "Q" counter(q, decimal-leading-zero); position: absolute; left: 0; top: 31px; font-family: var(--mono); font-size: .74rem; font-weight: 500; letter-spacing: .08em; color: var(--muted); }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 4px; top: 22px; font-size: 1.6rem; font-weight: 300; }
.faq details[open] summary::after { content: "\2013"; }
.faq details p { color: #3a3a3e; padding: 0 48px 28px 72px; margin: 0; max-width: 820px; }
.faq { counter-reset: q; }
@media (max-width: 600px) {
  .faq summary { padding-left: 0; padding-top: 44px; }
  .faq summary::before { top: 20px; }
  .faq details p { padding-left: 0; padding-right: 0; }
}

/* form */
.form { display: grid; gap: 26px; max-width: 860px; }
.form .row { display: grid; grid-template-columns: 1fr 1fr; gap: 26px; }
@media (max-width: 700px) { .form .row { grid-template-columns: 1fr; } }
.field label { display: block; font-family: var(--mono); font-size: .74rem; letter-spacing: .08em; text-transform: uppercase; margin-bottom: 8px; }
.field .opt { color: var(--muted); text-transform: none; letter-spacing: .02em; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; padding: 14px 0; border: 0; border-bottom: 1px solid #9a9a9e; border-radius: 0; background: transparent; color: var(--ink);
}
.field select { -webkit-appearance: none; appearance: none; background-image: linear-gradient(45deg, transparent 50%, var(--ink) 50%), linear-gradient(135deg, var(--ink) 50%, transparent 50%); background-position: calc(100% - 12px) 50%, calc(100% - 6px) 50%; background-size: 6px 6px; background-repeat: no-repeat; padding-right: 28px; }
.field textarea { min-height: 160px; resize: vertical; border: 1px solid #9a9a9e; padding: 14px; }
.field input[type="file"] { border: 1px dashed #9a9a9e; padding: 18px; }
.field input:focus, .field select:focus, .field textarea:focus { outline: none; border-color: var(--ink); box-shadow: 0 1px 0 var(--ink); }
.form .consent { font-size: .92rem; color: var(--muted); margin: 0; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.form-error { color: #b42318; margin: 0; }

/* footer */
.site-footer { background: var(--ink); color: var(--paper); padding: 72px 0 32px; border-top: 1px solid var(--line-dark); }
.footer-mark { font-size: clamp(2.4rem, 8.6vw, 8.4rem); font-weight: 800; letter-spacing: -.045em; line-height: .9; text-transform: uppercase; margin: 0 0 48px; }
.footer-inner { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 32px 64px; border-top: 1px solid var(--line-dark); padding-top: 28px; }
.footer-inner .muted { color: var(--muted-dark); margin: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; grid-template-columns: repeat(2, auto); gap: 10px 48px; }
.footer-links a { text-decoration: none; font-family: var(--mono); font-size: .76rem; letter-spacing: .08em; text-transform: uppercase; color: #d4d4d8; }
.footer-links a:hover { color: var(--paper); }
@media (max-width: 700px) { .footer-inner { grid-template-columns: 1fr; } }

/* 写真の色味をそろえる（ストック写真の色が浮かないよう墨調に） */
.photo img, .bleed img { filter: grayscale(1) contrast(1.08); }
.gallery-wrap { padding: 0; }
@media (max-width: 800px) {
  .hero::before, .page-head.has-media::before { background: linear-gradient(180deg, rgba(10,10,11,.35) 0%, rgba(10,10,11,.75) 45%, rgba(10,10,11,.92) 100%); }
}

/* 下層ページの写真つき冒頭：問い合わせ・FAQ等は本文を早く見せるため低め */
.page-head.has-media.short { min-height: 52vh; }
.page-head.has-media .label { color: #d4d4d8; }
