/* フォントはページに出る文字だけを切り出して同梱（fonts/） */
@font-face { font-family: "Noto Sans JP"; font-weight: 500 900; font-display: swap; src: url("/fonts/noto-500-900.woff2?v=6") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 600; font-display: swap; src: url("/fonts/barlow-600.woff2?v=6") format("woff2"); }
@font-face { font-family: "Barlow Condensed"; font-weight: 800; font-display: swap; src: url("/fonts/barlow-800.woff2?v=6") format("woff2"); }

:root {
  color-scheme: dark;
  --iron: #101214;
  --line: #272C31;
  --ink: #DDE1E5;
  --muted: #8B949C;
  --steel-hi: #EEF1F3;
  --steel-mid: #C2C9CF;
  --steel-lo: #7B858E;
  --link: #A9C4DE;
  /* 焼き戻しの色（おおよその温度 ℃） */
  --t-220: #E6D59A;
  --t-240: #D7B25E;
  --t-255: #B47C3A;
  --t-270: #7A4467;
  --t-290: #3D4C99;
  --t-310: #6A93C4;
  /* 鉄の肌：ごく薄いざらつき（画像は使わず、この場で描く） */
  --grain: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='256' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 1 0 0 0 0 1 0 0 0 0 1 0 0 0 .07 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  /* 鋼の肌：横に流れる細い研ぎ目 */
  --brush: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='512' height='256'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.008 .7' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .09 0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
  --rail: 288px minmax(0, 1fr);
}

* { box-sizing: border-box; }
html {
  -webkit-text-size-adjust: 100%;
  background:
    var(--grain),
    radial-gradient(90% 520px at 18% 0%, #1D2226 0%, rgba(29, 34, 38, 0) 70%) no-repeat,
    var(--iron);
  background-color: var(--iron);
}
body {
  margin: 0;
  color: var(--ink);
  font-family: "Noto Sans JP", "Hiragino Sans", sans-serif;
  font-weight: 500;
  font-size: 15px;
  line-height: 1.8;
  overflow-x: hidden;
}
p, h1, h2, h3, dl, dd { margin: 0; }
p, dd { text-wrap: pretty; }
.nb { display: inline-block; }
a { color: var(--link); text-underline-offset: 0.24em; text-decoration-thickness: 1px; text-decoration-color: rgba(169, 196, 222, 0.5); }
a:hover { color: var(--steel-hi); text-decoration-color: currentColor; }
a:focus-visible { outline: 2px solid var(--link); outline-offset: 3px; border-radius: 2px; }
img { display: block; max-width: 100%; height: auto; }

.wrap {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding-left: 16px;
  padding-right: 16px;
}
.split { display: grid; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 880px) {
  .wrap { padding-left: 64px; padding-right: 64px; }
  .split { grid-template-columns: var(--rail); column-gap: 32px; }
}

/* ---------- 名前 ---------- */
.hero { padding-top: 40px; padding-bottom: 72px; }
.fit { container-type: inline-size; }
/* FORGED の字の幅（文字の大きさの 2.718 倍）が、ちょうど列の幅になる大きさにする。
   画面が低いときは、名前と線がひと目で入るように高さで抑える。 */
.mark {
  font-size: 34vw;
  font-size: min(calc(100cqw / 2.718), 46vh);
  font-size: min(calc(100cqw / 2.718), 46svh);
  width: 2.718em;
  max-width: 100%;
}
.word {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 1em;
  line-height: 0.83;
  text-transform: uppercase;
  white-space: nowrap;
}
.word span {
  display: block;
  background: var(--brush), linear-gradient(180deg, var(--steel-hi) 6%, var(--steel-mid) 52%, var(--steel-lo) 96%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  /* 右端の字が切れないよう、塗りの範囲だけ少し広げる */
  padding-right: 0.06em;
  margin-right: -0.06em;
}
/* 字の左の余白を引いて、縦の棒を線の左端にそろえる */
.word .w1 { margin-left: -0.032em; }
/* WORKS は少しだけ字間をあけて、FORGED と同じ幅にする */
.word .w2 { margin-left: -0.016em; letter-spacing: 0.044em; }

.edge {
  height: 3px;
  margin-top: 0.085em;
  background: linear-gradient(90deg,
    var(--t-220) 0%, var(--t-240) 20%, var(--t-255) 40%,
    var(--t-270) 60%, var(--t-290) 80%, var(--t-310) 100%);
}
.scale {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 12px;
  margin-top: 8px;
  font-size: 12px;
  line-height: 1.5;
  color: var(--muted);
}
.deg { font-variant-numeric: tabular-nums; letter-spacing: 0.02em; }

.hero-foot { margin-top: 40px; row-gap: 14px; }
.tag {
  font-size: 22px;
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.02em;
  color: var(--steel-hi);
}
.tag span { display: inline-block; }
.lead { max-width: 36em; color: #A7AFB6; text-wrap: balance; }
@media (min-width: 880px) {
  .hero { padding-top: 64px; padding-bottom: 120px; }
  .edge { height: 4px; }
  .scale { margin-top: 10px; font-size: 13px; }
  .hero-foot { margin-top: 56px; }
  .tag { font-size: 26px; }
  .tag span { display: block; }
  .lead { font-size: 16px; line-height: 1.9; padding-top: 4px; }
}

/* ---------- 区切りと見出し ---------- */
.sec {
  border-top: 1px solid var(--line);
  padding-top: 18px;
  padding-bottom: 64px;
  row-gap: 22px;
}
h2 {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: 0.06em;
  color: var(--muted);
}
@media (min-width: 880px) {
  .sec { padding-top: 24px; padding-bottom: 104px; }
}

/* ---------- つくったもの ---------- */
.work {
  display: grid;
  grid-template-columns: 56px minmax(0, 1fr);
  column-gap: 16px;
  align-items: center;
}
.work-icon {
  width: 56px;
  height: 56px;
  border-radius: 22%;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.09), 0 10px 24px -10px rgba(0, 0, 0, 0.8);
}
.work h3 {
  font-family: "Barlow Condensed", sans-serif;
  font-weight: 800;
  font-size: 46px;
  line-height: 1;
  letter-spacing: 0.005em;
  padding-bottom: 0.06em;
}
.work h3 a { color: var(--steel-hi); text-decoration: none; }
.work h3 a:hover { color: #FFFFFF; }
.work-what, .work-status { grid-column: 1 / -1; }
.work-what { margin-top: 16px; max-width: 35em; }
.work-status {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 20px;
  margin-top: 18px;
  padding-top: 12px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}
.work-now { flex-basis: 100%; font-weight: 700; }
@media (min-width: 880px) {
  .work { grid-template-columns: 72px minmax(0, 1fr); column-gap: 24px; }
  .work-icon { width: 72px; height: 72px; }
  .work h3 { font-size: 64px; }
  .work-what, .work-status { grid-column: 2; }
  .work-what { margin-top: 12px; font-size: 16px; }
  .work-status { max-width: 35rem; }
  .work-now { flex-basis: auto; margin-right: auto; }
}

/* ---------- 工房について ---------- */
.facts div {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  column-gap: 12px;
  padding: 11px 0;
  border-bottom: 1px solid var(--line);
}
.facts div:first-child { padding-top: 0; }
.facts div:last-child { border-bottom: 0; padding-bottom: 0; }
.facts dt { color: var(--muted); font-size: 13px; line-height: 27px; white-space: nowrap; }
.facts dd { overflow-wrap: anywhere; }
@media (min-width: 880px) {
  .facts { max-width: 39rem; }
  .facts div { grid-template-columns: 96px minmax(0, 1fr); column-gap: 24px; padding: 13px 0; }
}

.foot {
  border-top: 1px solid var(--line);
  padding-top: 16px;
  padding-bottom: 40px;
  color: var(--muted);
  font-size: 12px;
}
