/* ==========================================================================
   Luhan — 刷 (Old Media × Signal)
   紙の質感・新聞の組版に、デジタル（緑→青のシグナル）が折り重なるデザイン
   ========================================================================== */

:root {
  color-scheme: light;
  --paper: #f1ead9;
  --paper-card: #fdfcf9;
  --paper-deep: #efe8d6;
  --ink: #221d15;
  --ink-80: rgba(34, 29, 21, 0.8);
  --ink-72: rgba(34, 29, 21, 0.72);
  --ink-60: rgba(34, 29, 21, 0.6);
  --ink-50: rgba(34, 29, 21, 0.5);
  --line: rgba(34, 29, 21, 0.25);
  --line-soft: rgba(34, 29, 21, 0.2);
  --line-strong: rgba(34, 29, 21, 0.3);
  --green: #65b32e;
  --teal: #3aa383;
  --blue: #178bd5;
  --grad: linear-gradient(100deg, #65b32e, #178bd5);
  --vermilion: rgba(190, 58, 26, 0.72);
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --mono: "Space Mono", monospace;
  --sans: "Noto Sans JP", "Hiragino Sans", sans-serif;
  --max: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--serif);
  color: var(--ink);
  line-height: 2;
  background:
    radial-gradient(ellipse at 18% 8%, rgba(126, 94, 44, 0.07), transparent 52%),
    radial-gradient(ellipse at 82% 55%, rgba(126, 94, 44, 0.06), transparent 55%),
    radial-gradient(ellipse at 45% 92%, rgba(126, 94, 44, 0.05), transparent 50%),
    var(--paper);
  background-attachment: fixed;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

/* 紙の質感（微細な繊維 + 大きなムラ）を全面に重ねる */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 90;
  pointer-events: none;
  background-image:
    url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22180%22%20height=%22180%22%3E%3Cfilter%20id=%22n%22%3E%3CfeTurbulence%20type=%22fractalNoise%22%20baseFrequency=%220.85%22%20numOctaves=%222%22/%3E%3CfeColorMatrix%20type=%22saturate%22%20values=%220%22/%3E%3C/filter%3E%3Crect%20width=%22180%22%20height=%22180%22%20filter=%22url%28%23n%29%22%20opacity=%220.1%22/%3E%3C/svg%3E),
    url(data:image/svg+xml,%3Csvg%20xmlns=%22http://www.w3.org/2000/svg%22%20width=%22420%22%20height=%22420%22%3E%3Cfilter%20id=%22m%22%3E%3CfeTurbulence%20type=%22fractalNoise%22%20baseFrequency=%220.012%22%20numOctaves=%223%22/%3E%3CfeColorMatrix%20type=%22saturate%22%20values=%220%22/%3E%3C/filter%3E%3Crect%20width=%22420%22%20height=%22420%22%20filter=%22url%28%23m%29%22%20opacity=%220.07%22/%3E%3C/svg%3E);
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
h1, h2, h3, p, dl, dd { margin: 0; }

.wrap {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 28px;
}

.skip-link {
  background: var(--ink);
  color: var(--paper);
  left: 16px;
  padding: 10px 14px;
  position: fixed;
  top: -80px;
  z-index: 200;
}
.skip-link:focus { top: 16px; }

/* --- 罫線（太罫 + 細罫） --------------------------------------------- */
.double-rule {
  height: 7px;
  border-top: 3px solid var(--ink);
  border-bottom: 1px solid var(--ink);
}

/* --- マストヘッド（題字） --------------------------------------------- */
.masthead { padding-top: 22px; }

.masthead-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 16px;
  flex-wrap: wrap;
  border-bottom: 1px solid var(--line-strong);
  padding-bottom: 10px;
  font-size: 12.5px;
  letter-spacing: 0.08em;
  color: var(--ink-72);
}

.masthead-issue {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.32em;
}

.masthead-brand {
  display: flex;
  justify-content: center;
  padding: 32px 0 24px;
  position: relative;
}
.masthead-brand img { height: 48px; width: auto; }

.stamp {
  position: absolute;
  right: 0;
  top: 14px;
  width: 92px;
  height: 92px;
  border: 2.5px solid var(--vermilion);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transform: rotate(9deg);
  color: var(--vermilion);
  font-weight: 700;
  letter-spacing: 0.16em;
  font-size: 15px;
  line-height: 1.6;
  text-align: center;
  mix-blend-mode: multiply;
}

.masthead-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-strong);
}

.masthead-nav a {
  padding: 2px 24px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.2em;
  border-right: 1px solid var(--line);
}
.masthead-nav a:hover { color: var(--ink); text-decoration: underline; text-underline-offset: 6px; }
.masthead-nav a:last-of-type:not(.nav-contact) { border-right: 0; }

.masthead-nav .is-active {
  font-weight: 700;
  border-bottom: 2px solid;
  border-image: var(--grad) 1;
  padding-bottom: 2px;
}

.nav-contact {
  margin-left: 20px;
  background: var(--ink);
  color: var(--paper) !important;
  padding: 9px 20px;
  font-size: 13px;
  letter-spacing: 0.24em;
  border-radius: 2px;
  border-right: 0 !important;
}
.nav-contact:hover { text-decoration: none !important; opacity: 0.9; }

/* --- 面見出し（フラグ） ----------------------------------------------- */
.flag {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 16px 0 0;
}

.flag-label {
  background: var(--ink);
  color: var(--paper);
  padding: 4px 13px;
  font-size: 12px;
  letter-spacing: 0.32em;
  white-space: nowrap;
}

.flag-title { font-size: 20px; font-weight: 700; letter-spacing: 0.18em; }

.flag-en {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--ink-50);
}

/* --- ヒーロー（第一面） ----------------------------------------------- */
.hero { position: relative; overflow: hidden; }
.hero .wrap { position: relative; padding-top: 56px; padding-bottom: 72px; }

.hero-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr 210px;
  gap: 52px;
}

.kicker { display: flex; align-items: center; gap: 14px; margin-bottom: 26px; }
.kicker-label {
  background: var(--ink);
  color: var(--paper);
  padding: 5px 14px;
  font-size: 12.5px;
  letter-spacing: 0.32em;
}
.kicker-en {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.26em;
  color: var(--ink-50);
}

.hero h1 {
  font-weight: 800;
  font-size: clamp(32px, 4.4vw, 56px);
  line-height: 1.42;
  letter-spacing: 0.04em;
}

.u-underline {
  background-image: var(--grad);
  background-size: 100% 7px;
  background-repeat: no-repeat;
  background-position: 0 96%;
  padding-bottom: 3px;
}

.hero-lead {
  font-size: 16px;
  line-height: 2.15;
  color: var(--ink-80);
  margin-top: 28px;
  max-width: 600px;
  text-align: justify;
}

.btn-row { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 34px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14.5px;
  font-weight: 700;
  letter-spacing: 0.18em;
  padding: 15px 28px;
  border-radius: 2px;
}
.btn--ink { background: var(--ink); color: var(--paper); }
.btn--ink:hover { background: #000; }
.btn--ghost { border: 1.5px solid var(--ink); color: var(--ink); padding: 14px 28px; }
.btn--ghost:hover { background: rgba(34, 29, 21, 0.06); }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.vertical-note {
  writing-mode: vertical-rl;
  font-size: 15.5px;
  line-height: 2.5;
  letter-spacing: 0.2em;
  height: 400px;
  padding-left: 30px;
  border-left: 1px solid var(--line-strong);
  color: var(--ink-80);
  font-weight: 600;
  justify-self: end;
}

/* ヒーローのデジタル層（網点・シグナル） */
.halftone {
  position: absolute;
  right: 24px;
  top: 16px;
  width: 230px;
  height: 230px;
  background-image: radial-gradient(rgba(34, 29, 21, 0.38) 1.1px, transparent 1.2px);
  background-size: 7px 7px;
  -webkit-mask-image: radial-gradient(circle at 35% 35%, #000 15%, transparent 74%);
  mask-image: radial-gradient(circle at 35% 35%, #000 15%, transparent 74%);
}

.signal-line {
  position: absolute;
  right: 70px;
  bottom: 120px;
  width: 340px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: rotate(-11deg);
  opacity: 0.85;
}
.signal-dot { position: absolute; border-radius: 50%; }
.signal-dot--a { right: 96px; bottom: 150px; width: 9px; height: 9px; background: var(--blue); box-shadow: 0 0 12px rgba(23, 139, 213, 0.6); }
.signal-dot--b { right: 230px; bottom: 132px; width: 7px; height: 7px; background: var(--teal); }
.signal-dot--c { right: 370px; bottom: 98px; width: 8px; height: 8px; background: var(--green); box-shadow: 0 0 12px rgba(101, 179, 46, 0.55); }

/* --- 汎用セクション ---------------------------------------------------- */
.section { padding-top: 34px; padding-bottom: 68px; }

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.grid-2--start { align-items: start; }
.grid-about { display: grid; grid-template-columns: 0.8fr 1.2fr; gap: 56px; align-items: start; }

.lede {
  font-weight: 800;
  font-size: clamp(24px, 2.9vw, 34px);
  line-height: 1.62;
  letter-spacing: 0.04em;
}

.body-text {
  font-size: 14.5px;
  line-height: 2.15;
  color: var(--ink-80);
  text-align: justify;
}
.body-text + .body-text { margin-top: 20px; }

.cols-2 {
  column-count: 2;
  column-gap: 44px;
  column-rule: 1px solid var(--line);
}
.cols-2 p { margin: 0 0 20px; }
.cols-2 p:last-child { margin-bottom: 0; }

.dropcap {
  float: left;
  font-size: 52px;
  line-height: 0.92;
  font-weight: 800;
  padding: 6px 12px 0 0;
}

.more-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: var(--ink);
  border-bottom: 2px solid;
  border-image: var(--grad) 1;
  padding-bottom: 6px;
}
.more-link:hover { opacity: 0.75; }

/* --- 社是（Mission）帯 -------------------------------------------------- */
.mission {
  position: relative;
  padding: 92px 0;
  background: #26200f;
  overflow: hidden;
  color: #f2ecdf;
}

.mission canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}

.mission-glow { position: absolute; border-radius: 50%; filter: blur(32px); }
.mission-glow--green { left: 14%; top: 30%; width: 340px; height: 340px; background: radial-gradient(circle, rgba(101, 179, 46, 0.3), transparent 68%); }
.mission-glow--blue { right: 12%; bottom: 8%; width: 380px; height: 380px; background: radial-gradient(circle, rgba(75, 179, 236, 0.32), transparent 68%); }

.mission-mark { position: absolute; width: 20px; height: 20px; }
.mission-mark--tl { left: 20px; top: 20px; border-left: 1px solid rgba(242, 236, 223, 0.4); border-top: 1px solid rgba(242, 236, 223, 0.4); }
.mission-mark--tr { right: 20px; top: 20px; border-right: 1px solid rgba(242, 236, 223, 0.4); border-top: 1px solid rgba(242, 236, 223, 0.4); }
.mission-mark--bl { left: 20px; bottom: 20px; border-left: 1px solid rgba(242, 236, 223, 0.4); border-bottom: 1px solid rgba(242, 236, 223, 0.4); }
.mission-mark--br { right: 20px; bottom: 20px; border-right: 1px solid rgba(242, 236, 223, 0.4); border-bottom: 1px solid rgba(242, 236, 223, 0.4); }

.mission-inner {
  position: relative;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
  padding: 0 28px;
}

.mission-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: rgba(242, 236, 223, 0.55);
}

.mission h2 {
  font-weight: 700;
  font-size: clamp(26px, 3.3vw, 40px);
  line-height: 1.72;
  letter-spacing: 0.05em;
  margin-top: 24px;
  color: #f2ecdf;
}

.mission .grad-text { background: linear-gradient(100deg, #8fd455, #4bb3ec); -webkit-background-clip: text; background-clip: text; }

.mission-rule { width: 64px; height: 2px; background: var(--grad); margin: 34px auto 0; }

/* --- 価値観（縦罫の段組） ----------------------------------------------- */
.values {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid var(--line-strong);
}
.values--3 { grid-template-columns: repeat(3, 1fr); }

.value { padding: 28px 26px 8px; border-left: 1px solid var(--line); }
.value:first-child { border-left: 0; padding-left: 0; }
.value:last-child { padding-right: 0; }

.value-no { display: flex; align-items: center; gap: 10px; }
.value-no i { width: 9px; height: 9px; background: linear-gradient(135deg, var(--green), var(--blue)); }
.value-no b { font-size: 28px; font-weight: 800; }
.value-no .value-tag { font-family: var(--mono); font-size: 12px; font-weight: 700; }

.value h3 {
  font-weight: 700;
  font-size: 17.5px;
  letter-spacing: 0.08em;
  margin: 16px 0 12px;
}

.value p {
  font-size: 13.5px;
  line-height: 2.05;
  color: var(--ink-72);
  text-align: justify;
}

.c-green { color: var(--green); }
.c-teal { color: var(--teal); }
.c-blue { color: var(--blue); }

/* --- 貼り込みカード（デジタル層） --------------------------------------- */
.pasted { position: relative; transform: rotate(-0.7deg); }

.tape {
  position: absolute;
  width: 92px;
  height: 26px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(34, 29, 21, 0.08);
  z-index: 3;
}
.tape--l { left: -14px; top: -12px; transform: rotate(-32deg); }
.tape--r { right: -12px; top: -10px; transform: rotate(28deg); }

.pasted-card {
  background: var(--paper-card);
  border: 1px solid rgba(34, 29, 21, 0.14);
  border-radius: 6px;
  box-shadow: 0 26px 54px rgba(40, 30, 10, 0.2);
  overflow: hidden;
}

.pasted-bar { height: 5px; background: linear-gradient(90deg, var(--green), var(--blue)); }

.steps { padding: 8px 30px; font-family: var(--sans); }

.step {
  display: grid;
  grid-template-columns: 74px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px 0;
  border-bottom: 1px dashed var(--line-strong);
}
.step:last-child { border-bottom: 0; }

.step-tag { font-family: var(--mono); font-size: 12px; font-weight: 700; padding-top: 3px; }
.step strong { font-size: 16px; font-weight: 700; }
.step p { font-size: 13px; line-height: 1.9; color: rgba(34, 29, 21, 0.66); margin-top: 6px; }

.checklist { display: grid; margin-top: 14px; }
.checklist li {
  list-style: none;
  display: flex;
  gap: 12px;
  align-items: baseline;
  padding: 12px 0;
  border-bottom: 1px dashed var(--line-strong);
  font-size: 14px;
  font-weight: 600;
}
.checklist li:last-child { border-bottom: 0; }
.checklist i { width: 8px; height: 8px; background: linear-gradient(135deg, var(--green), var(--blue)); flex: none; position: relative; top: -1px; }
.checklist { padding: 0; margin: 14px 0 0; }

.card-tag { font-family: var(--mono); font-size: 11px; letter-spacing: 0.24em; color: var(--ink-50); }

/* --- 写真枠（新聞写真風） ----------------------------------------------- */
.photo-wrap { position: relative; }

.photo-frame {
  background: var(--paper-card);
  border: 1px solid var(--ink);
  padding: 12px;
  transform: rotate(0.5deg);
  box-shadow: 0 22px 48px rgba(40, 30, 10, 0.16);
}

.photo-ph {
  aspect-ratio: 4 / 3;
  background:
    repeating-linear-gradient(135deg, rgba(34, 29, 21, 0.06) 0 10px, transparent 10px 20px),
    linear-gradient(160deg, #ece5d4, #e2dac6);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.photo-ph::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(34, 29, 21, 0.22) 1px, transparent 1.1px);
  background-size: 6px 6px;
}

.photo-ph span {
  position: relative;
  z-index: 1;
  font-family: var(--mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: rgba(34, 29, 21, 0.55);
}

.photo-signal-line {
  position: absolute;
  right: -16px;
  top: -14px;
  width: 220px;
  height: 2px;
  background: linear-gradient(90deg, var(--green), var(--blue));
  transform: rotate(-14deg);
}
.photo-signal-dot {
  position: absolute;
  right: -20px;
  top: -20px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--blue);
  box-shadow: 0 0 12px rgba(23, 139, 213, 0.6);
}

/* --- 会社概要 ------------------------------------------------------------ */
.spec { border-top: 1px solid rgba(34, 29, 21, 0.4); }

.spec > div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 17px 0;
  border-bottom: 1px solid var(--line-soft);
}

.spec dt { font-size: 13px; font-weight: 700; letter-spacing: 0.18em; color: var(--ink-60); }
.spec dd { font-weight: 600; font-size: 14.5px; }

.founder {
  border: 3px double var(--ink);
  padding: 34px;
  background: var(--paper-deep);
}

.founder-tags { display: flex; align-items: baseline; gap: 12px; }
.founder-tags b { font-size: 13px; font-weight: 700; letter-spacing: 0.32em; }
.founder-tags span { font-family: var(--mono); font-size: 10.5px; letter-spacing: 0.24em; color: var(--ink-50); }

.founder h3 { font-weight: 800; font-size: 25px; letter-spacing: 0.1em; margin: 12px 0 16px; }
.founder p { font-size: 13.5px; line-height: 2.05; color: rgba(34, 29, 21, 0.78); text-align: justify; }
.founder p + p { margin-top: 14px; }

.history { display: grid; }
.history > div {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 22px;
  padding: 15px 0;
  border-bottom: 1px dashed var(--line-strong);
}
.history > div:last-child { border-bottom: 0; }
.history span:first-child { font-family: var(--mono); font-size: 13px; font-weight: 700; }
.history span:last-child { font-size: 14px; font-weight: 600; }

/* --- 御用の方へ（Contact） ----------------------------------------------- */
.contact-frame { border: 3px solid var(--ink); position: relative; }

.contact-frame-inner {
  border: 1px solid var(--ink);
  margin: 4px;
  padding: 60px 32px;
  text-align: center;
  position: relative;
}

.contact-tag {
  font-family: var(--mono);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.34em;
  color: var(--ink-50);
}

.contact-frame h2 {
  font-weight: 800;
  font-size: clamp(24px, 3vw, 36px);
  line-height: 1.6;
  letter-spacing: 0.06em;
  margin: 20px 0 16px;
}

.contact-frame .body-text { max-width: 560px; margin: 0 auto; text-align: center; }

.contact-actions { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 34px; }

.btn--mail { font-family: var(--mono); font-size: 13.5px; letter-spacing: 0.02em; padding: 16px 28px; }

.stamp--small {
  position: absolute;
  right: 26px;
  bottom: 22px;
  width: 66px;
  height: 66px;
  border-width: 2px;
  font-size: 12px;
  line-height: 1.5;
  letter-spacing: 0.1em;
  transform: rotate(-8deg);
  top: auto;
}

/* --- ページタイトル（下層） ---------------------------------------------- */
.page-title { padding-top: 52px; padding-bottom: 34px; }
.breadcrumb {
  font-family: var(--mono);
  font-size: 11px;
  letter-spacing: 0.3em;
  color: var(--ink-50);
}
.page-title h1 {
  font-weight: 800;
  font-size: clamp(34px, 4vw, 48px);
  letter-spacing: 0.12em;
  margin-top: 16px;
}
.page-title h1.latin { letter-spacing: 0; }
.page-title h1 .latin-serif { font-weight: 800; }
.page-title h1 .latin-sans { font-family: "Space Grotesk", sans-serif; font-weight: 700; }
.page-title .hero-lead { margin-top: 20px; }

/* --- 法務ページ ----------------------------------------------------------- */
.legal { padding-top: 10px; padding-bottom: 72px; }
.legal-note {
  border: 1px solid var(--line);
  background: var(--paper-deep);
  padding: 18px 22px;
  font-size: 13.5px;
  line-height: 2;
  color: var(--ink-80);
  margin-bottom: 44px;
}
.legal section { border-top: 1px solid var(--line); padding: 30px 0; }
.legal h2 { font-weight: 700; font-size: 20px; letter-spacing: 0.08em; margin-bottom: 12px; }
.legal p, .legal ul { font-size: 14.5px; line-height: 2.1; color: var(--ink-80); text-align: justify; }
.legal p + p { margin-top: 12px; }
.legal ul { margin: 12px 0 0; padding-left: 1.4em; }
.legal a { border-bottom: 1px solid var(--line-strong); }
.legal-list { border-top: 1px solid var(--line-strong); margin-top: 16px; }
.legal-list > div {
  display: grid;
  grid-template-columns: 170px 1fr;
  gap: 18px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line-soft);
}
.legal-list dt { font-size: 13px; font-weight: 700; letter-spacing: 0.14em; color: var(--ink-60); }
.legal-list dd { font-size: 14px; font-weight: 600; }

/* --- フッター -------------------------------------------------------------- */
.site-footer { padding-bottom: 36px; }

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
  justify-content: space-between;
  padding-top: 20px;
}

.footer-inner img { height: 20px; width: auto; }

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  align-items: center;
  font-size: 12.5px;
  letter-spacing: 0.14em;
  color: rgba(34, 29, 21, 0.65);
}
.footer-links a:hover { text-decoration: underline; text-underline-offset: 5px; }
.footer-links .copyright { font-family: var(--mono); font-size: 11.5px; }

.end-mark {
  border: 1px solid var(--ink);
  padding: 3px 8px;
  font-size: 12px;
  font-weight: 700;
  color: var(--ink);
}

/* --- 出現アニメーション ------------------------------------------------------ */
.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 620ms ease, transform 620ms ease;
}
.reveal.is-visible { opacity: 1; transform: translateY(0); }

/* --- レスポンシブ ------------------------------------------------------------ */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }

  .vertical-note {
    writing-mode: horizontal-tb;
    height: auto;
    border-left: 0;
    border-top: 1px solid var(--line-strong);
    padding: 20px 0 0;
    justify-self: stretch;
  }

  .halftone, .signal-line, .signal-dot { display: none; }

  .grid-2, .grid-about { grid-template-columns: 1fr; gap: 38px; }

  .cols-2 { column-count: 1; }

  .values, .values--3 { grid-template-columns: 1fr 1fr; }
  .value { border-left: 0; padding: 24px 0 6px; border-bottom: 1px dashed var(--line); }
  .values .value:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--line); }
  .values--3 .value:nth-child(even) { padding-left: 26px; border-left: 1px solid var(--line); }

  .masthead-brand img { height: 38px; }
  .stamp { width: 76px; height: 76px; font-size: 13px; }
}

@media (max-width: 720px) {
  .wrap { padding: 0 20px; }

  .masthead-top { font-size: 11px; }
  .masthead-issue { display: none; }
  .masthead-brand { padding: 26px 0 20px; }
  .masthead-brand img { height: 32px; }
  .stamp { display: none; }

  .masthead-nav a { padding: 2px 12px; font-size: 12.5px; letter-spacing: 0.12em; }
  .nav-contact { margin-left: 12px; padding: 8px 14px; font-size: 12px; letter-spacing: 0.16em; }

  .values, .values--3 { grid-template-columns: 1fr; }
  .values .value:nth-child(even), .values--3 .value:nth-child(even) { padding-left: 0; border-left: 0; }

  .btn-row .btn { width: 100%; justify-content: center; }

  .steps { padding: 4px 20px; }
  .step { grid-template-columns: 1fr; gap: 4px; }

  .spec > div { grid-template-columns: 1fr; gap: 4px; padding: 14px 0; }
  .history > div { grid-template-columns: 1fr; gap: 2px; }
  .legal-list > div { grid-template-columns: 1fr; gap: 2px; }

  .founder { padding: 26px 22px; }
  .contact-frame-inner { padding: 44px 20px; }
  .stamp--small { display: none; }

  .contact-actions { flex-direction: column; align-items: stretch; }
  .contact-actions .btn { justify-content: center; }
  .btn--mail { font-size: 12px; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
}
