/* ==========================================================================
   nono inc. — corporate site
   黄 #FFD703 × 黒 × 白のみ。太い欧文ディスプレイ（Anton）×小さく落ち着いた和文。
   ========================================================================== */

:root {
  --yellow: #FFD703;
  --ink: #0B0B0B;
  --white: #FFFFFF;
  --paper: #F6F5F1;
  --gray-700: #4A4A47;
  --gray-500: #6B6B64; /* オフホワイト地でAA(4.5:1)を満たす下限 */
  --gray-400: #94938A; /* 大型装飾テキスト用（本文には使わない） */
  --gray-300: #C9C8C1; /* 罫線・装飾のみ。テキストに使わない */
  --line: #E3E2DC;
  --line-dark: #2A2A28;

  --ff-display: "Anton", "Noto Sans JP", sans-serif;
  --ff-body: "Noto Sans JP", "Hiragino Kaku Gothic ProN", sans-serif;
  --ff-mono: "IBM Plex Mono", monospace;

  --sidebar-w: 232px;
  --pad-x: clamp(24px, 5vw, 72px);

  --dur: 0.55s;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- reset ---------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
img { max-width: 100%; display: block; }
ul, ol { list-style: none; }
a { color: inherit; text-decoration: none; }
button { font: inherit; background: none; border: none; cursor: pointer; }

:focus-visible { outline: 2px solid currentColor; outline-offset: 3px; }
.btn--dark:focus-visible,
.sidebar__cta:focus-visible { outline-color: var(--ink); }

::selection { background: var(--yellow); color: var(--ink); }

body {
  font-family: var(--ff-body);
  font-size: 15px;
  line-height: 2;
  letter-spacing: 0.06em;
  line-break: strict;
  font-feature-settings: "palt";
  color: var(--ink);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

.sp { display: none; }

/* ==========================================================================
   Sidebar (PC)
   ========================================================================== */
.sidebar {
  position: fixed;
  inset: 0 auto 0 0;
  width: var(--sidebar-w);
  display: flex;
  flex-direction: column;
  padding: 40px 32px;
  border-right: 1px solid var(--line);
  background: var(--white);
  z-index: 100;
}

.sidebar__logo img { width: 118px; height: auto; }

.sidebar__nav { margin-top: 56px; flex: 1; }

.sidebar__nav a {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding: 7px 0;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gray-500);
  transition: color 0.25s var(--ease);
}

.sidebar__nav a:hover { color: var(--ink); }

.sidebar__nav a::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--yellow);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}

.sidebar__nav a:hover::after { transform: scaleX(1); }

.nav-num { font-size: 10px; color: var(--gray-400); }

.sidebar__foot { display: grid; gap: 14px; }

.sidebar__cta {
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.12em;
  padding: 12px 14px;
  background: var(--ink);
  color: var(--white);
  text-align: center;
  transition: background 0.25s var(--ease), color 0.25s var(--ease);
}

.sidebar__cta:hover { background: var(--yellow); color: var(--ink); }

.sidebar__external {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  transition: color 0.25s var(--ease);
}

.sidebar__external:hover { color: var(--ink); }

.sidebar__copy {
  font-family: var(--ff-mono);
  font-size: 10px;
  line-height: 1.8;
  letter-spacing: 0.1em;
  color: var(--gray-500);
}

/* ==========================================================================
   Mobile bar / menu
   ========================================================================== */
.mobile-bar {
  display: none;
  position: fixed;
  inset: 0 0 auto 0;
  height: 60px;
  padding: 0 20px;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
  z-index: 120;
}

.mobile-bar__logo img { width: 92px; height: auto; }

.mobile-bar__toggle {
  width: 44px;
  height: 44px;
  display: grid;
  place-content: center;
  gap: 7px;
}

.mobile-bar__toggle span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--ink);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}

.mobile-bar__toggle[aria-expanded="true"] span:first-child { transform: translateY(4.5px) rotate(45deg); }
.mobile-bar__toggle[aria-expanded="true"] span:last-child { transform: translateY(-4.5px) rotate(-45deg); }

.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  padding: 100px 32px 48px;
  background: var(--ink);
  color: var(--white);
  z-index: 110;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s var(--ease);
}

.mobile-menu.is-open { opacity: 1; pointer-events: auto; }

.mobile-menu ul { flex: 1; display: grid; align-content: start; gap: 4px; }

.mobile-menu a {
  display: flex;
  align-items: baseline;
  gap: 16px;
  padding: 10px 0;
  font-family: var(--ff-display);
  font-size: 32px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.mobile-menu .nav-num { font-family: var(--ff-mono); font-size: 11px; color: var(--yellow); }

.mobile-menu__external {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  padding: 14px;
  border: 1px solid var(--white);
  text-align: center;
}

/* ==========================================================================
   Main layout
   ========================================================================== */
.main { margin-left: var(--sidebar-w); }

.section {
  padding: clamp(88px, 12vh, 140px) var(--pad-x);
  border-top: 1px solid var(--line);
}

.section--paper { background: var(--paper); }

.section--dark {
  background: var(--ink);
  color: var(--white);
  border-top-color: var(--ink);
}

.section--yellow {
  background: var(--yellow);
  border-top-color: var(--ink);
}

/* section head: mono番号 + Anton大判タイトル */
.section__head {
  display: flex;
  align-items: baseline;
  gap: 18px;
  margin-bottom: clamp(40px, 6vh, 64px);
}

.section__num {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  color: var(--gray-500);
}

.section--dark .section__num { color: var(--yellow); }
.section--yellow .section__num { color: var(--ink); }

.section__title {
  font-family: var(--ff-display);
  font-size: clamp(44px, 7vw, 96px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  text-transform: uppercase;
  font-weight: 400;
}

/* ==========================================================================
   Reveal / stagger
   ========================================================================== */
/* .js-anim はJS初期化時に付与。JS無し環境では常時表示 */
.js-anim [data-reveal] > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
}

.js-anim [data-reveal].is-visible > * { opacity: 1; transform: none; }

.js-anim [data-reveal].is-visible > *:nth-child(2) { transition-delay: 0.08s; }
.js-anim [data-reveal].is-visible > *:nth-child(3) { transition-delay: 0.16s; }
.js-anim [data-reveal].is-visible > *:nth-child(4) { transition-delay: 0.24s; }
.js-anim [data-reveal].is-visible > *:nth-child(5) { transition-delay: 0.32s; }

.js-anim [data-stagger] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity var(--dur) var(--ease), transform var(--dur) var(--ease);
  transition-delay: var(--stagger-delay, 0s);
}

.js-anim [data-stagger].is-visible { opacity: 1; transform: none; }

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  [data-reveal] > *, [data-stagger] { opacity: 1; transform: none; transition: none; }
  .ticker__track { animation: none; }
  .marker--reveal, .hero .marker { background-size: 100% 0.42em; }
}

/* ==========================================================================
   00 HERO
   ========================================================================== */
.hero {
  min-height: 92vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 120px var(--pad-x) 80px;
  position: relative;
}

.hero__eyebrow {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.22em;
  color: var(--gray-500);
  margin-bottom: clamp(28px, 4vh, 48px);
}

.hero__title {
  font-size: clamp(40px, 6.4vw, 92px);
  font-weight: 900;
  line-height: 1.28;
  letter-spacing: 0.02em;
}

.hero__line { display: block; }

/* 黄マーカー（読み込み時に左→右へ引かれる） */
.marker {
  background-image: linear-gradient(transparent 58%, var(--yellow) 58%);
  background-repeat: no-repeat;
  background-size: 0% 100%;
  transition: background-size 0.9s var(--ease);
}

.is-loaded .hero .marker,
[data-reveal].is-visible .marker--reveal,
html:not(.js-anim) .marker {
  background-size: 100% 100%;
}

.hero__sub {
  margin-top: clamp(28px, 4vh, 44px);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0.1em;
  color: var(--gray-700);
  display: flex;
  align-items: center;
  gap: 10px;
}

.hero__cup { width: 26px; height: auto; }

.hero__scroll {
  position: absolute;
  right: var(--pad-x);
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.hero__scroll-text {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.3em;
  writing-mode: vertical-rl;
  color: var(--gray-500);
}

.hero__scroll-line {
  width: 1px;
  height: 56px;
  background: var(--gray-300);
  overflow: hidden;
  position: relative;
}

.hero__scroll-line::after {
  content: "";
  position: absolute;
  inset: 0;
  background: var(--ink);
  animation: scrollhint 1.8s var(--ease) infinite;
}

@keyframes scrollhint {
  0% { transform: translateY(-100%); }
  55% { transform: translateY(0); }
  100% { transform: translateY(100%); }
}

/* ==========================================================================
   Ticker（黒帯 × 黄タイポ）
   ========================================================================== */
.ticker {
  background: var(--ink);
  overflow: hidden;
  padding: 18px 0;
  border-top: 1px solid var(--ink);
}

.ticker__track {
  display: flex;
  width: max-content;
  animation: ticker 26s linear infinite;
}

.ticker__group { display: flex; align-items: center; flex-shrink: 0; }

.ticker__item {
  font-family: var(--ff-display);
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1;
  letter-spacing: 0.03em;
  color: var(--yellow);
  text-transform: uppercase;
  padding: 0 28px;
}

.ticker__item--outline {
  color: transparent;
  -webkit-text-stroke: 1px var(--yellow);
}

.ticker__dot {
  width: 8px;
  height: 8px;
  background: var(--yellow);
  border-radius: 50%;
  flex-shrink: 0;
}

@keyframes ticker {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ==========================================================================
   01 AIM（黒セクション）
   ========================================================================== */
.aim { max-width: 720px; }

.aim__headline {
  font-size: clamp(26px, 3.4vw, 44px);
  font-weight: 900;
  line-height: 1.5;
  letter-spacing: 0.04em;
  margin-bottom: clamp(32px, 5vh, 48px);
}

.aim__body {
  font-size: 15px;
  line-height: 2.2;
  color: rgba(255, 255, 255, 0.82);
  margin-bottom: 1.6em;
}

.aim__sign {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.16em;
  color: var(--yellow);
  margin-top: 40px;
}

/* ==========================================================================
   02 CASE STUDY
   ========================================================================== */
.cases__lead {
  max-width: 640px;
  font-size: 15px;
  line-height: 2.2;
}

.cases__note {
  font-size: 12px;
  color: var(--gray-500);
  margin-top: 12px;
  margin-bottom: clamp(40px, 6vh, 64px);
}

.cases__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: clamp(32px, 4vw, 56px) clamp(20px, 2.5vw, 36px);
}

.case-card { display: grid; align-content: start; }

.case-card__photo {
  position: relative;
  overflow: hidden;
  border: 1px solid var(--line);
  background: var(--gray-300);
  aspect-ratio: 4 / 3;
}

.case-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: grayscale(1) contrast(1.02);
  transition: transform 0.7s var(--ease);
}

.case-card:hover .case-card__photo img { transform: scale(1.04); }

.case-card__tag {
  position: absolute;
  top: 0;
  left: 0;
  background: var(--yellow);
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.1em;
  padding: 6px 12px;
}

.case-card__client {
  margin-top: 20px;
  font-family: var(--ff-mono);
  font-size: 11px;
  letter-spacing: 0.14em;
  color: var(--gray-500);
}

.case-card__title {
  margin-top: 8px;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.04em;
  min-height: 5.1em; /* 3行分。meta表の開始位置をカード間で揃える（3カラム幅基準） */
}

.case-card__meta {
  margin-top: 18px;
  border-top: 1px solid var(--line);
}

.case-card__meta > div {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 16px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
}

.case-card__meta dt {
  font-size: 12px;
  color: var(--gray-500);
  letter-spacing: 0.14em;
}

.case-card__meta dd { font-size: 13px; line-height: 1.9; }

/* ==========================================================================
   03 SERVICES（エディトリアル行リスト）
   ========================================================================== */
.services__lead {
  max-width: 640px;
  font-size: 15px;
  line-height: 2.2;
  margin-bottom: clamp(40px, 6vh, 64px);
}

.services { border-top: 1px solid var(--ink); }

.service {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(20px, 3vw, 48px);
  padding: 26px clamp(8px, 1.5vw, 20px);
  border-bottom: 1px solid var(--line);
  position: relative;
  transition: background 0.3s var(--ease);
}

.service:hover { background: var(--yellow); }

.service__num {
  font-family: var(--ff-display);
  font-size: 30px;
  line-height: 1;
  color: var(--gray-500);
  transition: color 0.3s var(--ease);
}

.service:hover .service__num { color: var(--ink); }

.service__title {
  font-size: 19px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.5;
}

.service__desc {
  font-size: 13px;
  color: var(--gray-500);
  line-height: 1.8;
  margin-top: 2px;
  transition: color 0.3s var(--ease);
}

.service:hover .service__desc { color: var(--ink); }

.service__en {
  font-family: var(--ff-display);
  font-size: clamp(18px, 2vw, 26px);
  line-height: 1;
  letter-spacing: 0.04em;
  color: transparent;
  -webkit-text-stroke: 1px var(--gray-400);
  text-transform: uppercase;
  transition: -webkit-text-stroke-color 0.3s var(--ease);
  white-space: nowrap;
}

.service:hover .service__en { -webkit-text-stroke-color: var(--ink); }

/* ==========================================================================
   04 COMPANY
   ========================================================================== */
.company {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: clamp(40px, 5vw, 80px);
  align-items: start;
}

.company__table { border-top: 1px solid var(--ink); }

.company__table > div {
  display: grid;
  grid-template-columns: 128px 1fr;
  gap: 24px;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
}

.company__table dt {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.14em;
}

.company__table dd { font-size: 14px; line-height: 2; }

.company__coffee {
  border-top: 2px solid var(--ink);
  padding: 24px 0 0;
}

.company__coffee-label {
  font-family: var(--ff-mono);
  font-size: 10px;
  letter-spacing: 0.2em;
  color: var(--gray-500);
  margin-bottom: 12px;
}

.company__coffee-title {
  font-family: var(--ff-display);
  font-size: 30px;
  line-height: 1;
  letter-spacing: 0.02em;
  margin-bottom: 14px;
}

.company__coffee-desc {
  font-size: 13px;
  line-height: 2;
  color: var(--gray-700);
  margin-bottom: 24px;
}

/* ==========================================================================
   06 NONO（黒・credo）
   ========================================================================== */
.credo__headline {
  font-size: clamp(24px, 3vw, 38px);
  font-weight: 900;
  line-height: 1.7;
  letter-spacing: 0.05em;
  margin-bottom: clamp(48px, 7vh, 80px);
}

.credo {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0 clamp(40px, 5vw, 80px);
}

.credo__item {
  display: grid;
  grid-template-columns: 56px 1fr;
  grid-template-areas: "num title" "num desc";
  column-gap: 20px;
  padding: 26px 0;
  border-bottom: 1px solid var(--line-dark);
  align-content: start;
}

.credo__num {
  grid-area: num;
  font-family: var(--ff-display);
  font-size: 30px;
  line-height: 1.1;
  color: var(--yellow);
}

.credo__title {
  grid-area: title;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.05em;
  line-height: 1.6;
}

.credo__desc {
  grid-area: desc;
  font-size: 12.5px;
  line-height: 2;
  color: rgba(255, 255, 255, 0.62);
  margin-top: 6px;
}

/* ==========================================================================
   07 CONTACT（黄）
   ========================================================================== */
.contact__headline {
  font-size: clamp(32px, 4.6vw, 64px);
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
}

.contact__body {
  font-size: 14px;
  line-height: 2.2;
  margin-bottom: 40px;
}

/* ---------- contact form（サイト内入力 → Google Forms へ直接POST） ---------- */
.contact-form { max-width: 760px; }

.contact-form__grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px 24px;
}

.cf-field { display: grid; gap: 8px; }

.cf-field--full { grid-column: 1 / -1; }

.cf-field__label {
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.14em;
  font-weight: 500;
}

.cf-field__label em {
  font-style: normal;
  font-family: var(--ff-body);
  font-size: 11px;
  background: var(--ink);
  color: var(--yellow);
  padding: 1px 6px;
  margin-left: 8px;
  vertical-align: 1px;
}

.cf-field input,
.cf-field select,
.cf-field textarea {
  font: inherit;
  font-size: 16px; /* 16px未満はiOSがフォーカス時にズームする */
  line-height: 1.6;
  letter-spacing: 0.04em;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--ink);
  border-radius: 0;
  padding: 12px 14px;
  width: 100%;
  appearance: none;
  -webkit-appearance: none;
}

.cf-field select {
  background-image: linear-gradient(45deg, transparent 49%, var(--ink) 50%),
    linear-gradient(135deg, var(--ink) 50%, transparent 51%);
  background-position: calc(100% - 20px) 55%, calc(100% - 14px) 55%;
  background-size: 6px 6px;
  background-repeat: no-repeat;
  padding-right: 40px;
}

.cf-field select:invalid { color: var(--gray-500); }

.cf-field textarea { resize: vertical; min-height: 150px; }

.contact-form__note {
  margin-top: 20px;
  font-size: 12px;
  letter-spacing: 0.06em;
}

.contact-form__note a { border-bottom: 1px solid var(--ink); }

.contact-form__submit { margin-top: 20px; border: 0; cursor: pointer; }

.contact-form__submit:disabled { opacity: 0.6; cursor: default; }

.contact-form__status { margin-top: 14px; font-size: 13px; font-weight: 700; }

.contact-form__done {
  font-size: 15px;
  font-weight: 700;
  line-height: 2.2;
  border-top: 2px solid var(--ink);
  padding-top: 24px;
}

/* ---------- buttons ---------- */
.btn {
  display: inline-block;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.1em;
  padding: 16px 40px;
  min-height: 44px;
  transition: transform 0.25s var(--ease), background 0.25s var(--ease), color 0.25s var(--ease);
}

.btn--dark {
  background: var(--ink);
  color: var(--white);
}

.btn--dark:hover { transform: translateY(-2px); }

.btn--ghost {
  border: 1px solid var(--ink);
  font-size: 12px;
  padding: 12px 24px;
}

.btn--ghost:hover { background: var(--ink); color: var(--white); }

/* ==========================================================================
   /contact ページ
   ========================================================================== */
.contact-page {
  min-height: 62vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding-top: clamp(120px, 16vh, 180px);
}

.contact-page .section__head { align-self: stretch; }

.contact-guide { max-width: 760px; }

.contact-guide__title {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 32px;
}

.contact-guide__steps { display: grid; gap: 0; border-top: 1px solid var(--ink); }

.contact-guide__steps li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 22px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
  line-height: 2;
}

.contact-guide__steps li::before {
  content: attr(data-step);
  font-family: var(--ff-display);
  font-size: 26px;
  line-height: 1;
  color: var(--gray-400);
}

.contact-guide__back {
  display: inline-block;
  margin-top: 40px;
  font-family: var(--ff-mono);
  font-size: 12px;
  letter-spacing: 0.12em;
  color: var(--gray-500);
  transition: color 0.25s var(--ease);
}

.contact-guide__back:hover { color: var(--ink); }

/* ==========================================================================
   Footer
   ========================================================================== */
.footer {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  padding: 56px var(--pad-x);
  border-top: 1px solid var(--line);
}

.footer__logo { width: 104px; height: auto; }

.footer__meta a {
  color: inherit;
  text-underline-offset: 3px;
}

.footer__meta {
  font-family: var(--ff-mono);
  font-size: 11px;
  line-height: 1.9;
  letter-spacing: 0.1em;
  color: var(--gray-500);
  text-align: right;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1279px) {
  .cases__grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 1023px) {
  .sidebar { display: none; }
  .mobile-bar { display: flex; }
  .mobile-menu { display: flex; }
  .main { margin-left: 0; }
  .hero { min-height: auto; padding-top: 140px; padding-bottom: 72px; }
  .sp { display: inline; }
}

@media (max-width: 767px) {
  body { font-size: 14px; }

  .hero { padding-top: 120px; }
  .hero__title { font-size: clamp(34px, 10vw, 48px); line-height: 1.35; }
  .hero__sub { font-size: 13px; }
  .hero__scroll { display: none; }

  .section { padding-top: 72px; padding-bottom: 72px; }
  .section__title { font-size: clamp(40px, 12.5vw, 56px); }

  .cases__grid { grid-template-columns: 1fr; gap: 48px; }
  .case-card__title { min-height: 0; }

  .service {
    grid-template-columns: 48px 1fr;
    gap: 8px 16px;
    padding: 20px 4px;
  }
  .service__num { font-size: 22px; }
  .service__title { font-size: 16px; }
  .service__en { display: none; }


  .company { grid-template-columns: 1fr; }
  .company__table > div { grid-template-columns: 96px 1fr; gap: 16px; padding: 14px 0; }

  .credo { grid-template-columns: 1fr; }

  .contact__headline { font-size: clamp(30px, 9vw, 40px); }
  .contact-form__grid { grid-template-columns: 1fr; }

  .footer { flex-direction: column; align-items: flex-start; }
  .footer__meta { text-align: left; }
}

/* ============ Legal (privacy) ============ */
.legal { background: var(--paper); }

.legal__headline {
  font-weight: 900;
  font-size: clamp(30px, 4vw, 44px);
  letter-spacing: 0.02em;
  line-height: 1.3;
  margin-bottom: 12px;
}

.legal__updated {
  font-family: "IBM Plex Mono", monospace;
  font-size: 12px;
  color: var(--gray-500);
  margin-bottom: 48px;
}

.legal__body {
  max-width: 720px;
  font-size: 15px;
  line-height: 1.9;
  color: var(--gray-700);
}

.legal__body h3 {
  font-size: 17px;
  font-weight: 700;
  color: var(--ink);
  margin: 40px 0 12px;
}

.legal__body ul {
  list-style: disc;
  padding-left: 1.4em;
  margin: 12px 0;
}

.legal__body li { margin-bottom: 6px; }

.legal__body a {
  color: var(--ink);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.legal .contact-guide__back { margin-top: 64px; display: inline-block; }

/* ============ 404 ============ */
.notfound {
  min-height: 100vh;
  min-height: 100svh;
  background: var(--yellow);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: 48px clamp(24px, 8vw, 120px);
}

.notfound__code {
  font-family: "Anton", "Noto Sans JP", sans-serif;
  font-size: clamp(120px, 28vw, 380px);
  line-height: 0.95;
  letter-spacing: 0.01em;
  color: var(--ink);
}

.notfound__title {
  font-weight: 900;
  font-size: clamp(20px, 3vw, 28px);
  line-height: 1.5;
  margin: 24px 0 8px;
}

.notfound__body {
  font-size: 14px;
  color: var(--gray-700);
  margin-bottom: 32px;
}

.notfound__logo {
  height: 16px;
  width: auto;
  margin-top: 72px;
  opacity: 0.85;
}
