@charset "UTF-8";
/**
 * oto-productions トップページ 2026 — Dark Editorial
 * front-page.php 専用。Pencil デザインを固定幅1440pxからレスポンシブに再構成したもの。
 */

.lp2026 {
  --bg: #0A0909;
  --bg-alt: #111010;
  --line: #242020;
  --fg: #EDE8E3;
  --muted: #888480;
  --accent: #C8B89A;

  --serif: 'Noto Serif JP', serif;
  --sans: 'Noto Sans JP', system-ui, sans-serif;
  --display: 'DM Sans', system-ui, sans-serif;
  --num: 'Cormorant Garamond', serif;

  /* 左右の最小余白。画面が広いときは --content-max による中央寄せが優先される */
  --pad-x: 64px;

  /* 内容の最大幅。背景は全幅のまま、中身だけを 1200px に収めて中央寄せする。
     --gutter は「最小余白」と「(画面幅 - 1200px) / 2」の大きい方。
     画面幅が 1328px(=1200+64*2) を超えると後者が効き、内容幅は 1200px で頭打ちになる。 */
  --content-max: 1200px;
  --gutter: max(var(--pad-x), (100% - var(--content-max)) / 2);

  --radius: 2px;

  /* 明るい写真をダークトーンに寄せるための加工。適用先は2つ:
       1. 制作事例カード（サイトのスクリーンショットを一段落ち着かせる。hover で解除）
       2. $lp_images で tone => 'light' を指定したスロット
     背景写真3枚はすべて tone => 'dark'（無加工）なので、現在2の適用先はない。 */
  --img-filter: grayscale(.85) brightness(.72) contrast(1.08);
}

/* ---------- reset (親テーマのCSSを外しているため最小限を自前で持つ) ---------- */

/* リセットはすべて :where() で包み、詳細度を 0 にしている。
   こうしないと `.lp2026 a`(0,1,1) が `.lp-btn`(0,1,0) に勝ち、
   ボタンが白背景に白文字になる／各所の margin-top が消えるため。 */

:where(.lp2026) *,
:where(.lp2026) *::before,
:where(.lp2026) *::after { box-sizing: border-box; }

.lp2026 {
  margin: 0;
  background: var(--bg);
  color: var(--fg);
  font-family: var(--sans);
  font-weight: 300;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

:where(.lp2026 h1, .lp2026 h2, .lp2026 h3,
       .lp2026 p, .lp2026 dl, .lp2026 dd, .lp2026 dt, .lp2026 ol, .lp2026 ul) {
  margin: 0;
  padding: 0;
  font-weight: inherit;
}

:where(.lp2026 ol, .lp2026 ul) { list-style: none; }
:where(.lp2026 img) { max-width: 100%; height: auto; display: block; }

:where(.lp2026 a) { color: inherit; text-decoration: none; }
.lp2026 a:focus-visible,
.lp2026 .lp-skip:focus {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.lp-skip {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 100;
  padding: 10px 16px;
  background: var(--fg);
  color: var(--bg);
  font-size: 12px;
}
.lp-skip:focus { left: 0; }

/* ---------- 共通パーツ ---------- */

.lp-eyebrow {
  font-family: var(--display);
  font-size: 9px;
  font-weight: 400;
  letter-spacing: 3px;
  color: var(--accent);
}

.lp-section-title {
  font-family: var(--serif);
  font-size: 48px;
  font-weight: 300;
  line-height: 1.3;
  color: var(--fg);
  margin-top: 16px;
}

.lp-section-desc {
  font-size: 13px;
  line-height: 25px;
  color: var(--muted);
  text-align: right;
  max-width: 320px;
}

.lp-section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 40px;
  padding-bottom: 60px;
}

.lp-rule {
  display: block;
  width: 32px;
  height: 1px;
  background: var(--accent);
}

.lp-btn {
  display: inline-block;
  padding: 14px 28px;
  background: var(--fg);
  color: var(--bg);
  border-radius: var(--radius);
  font-size: 12px;
  font-weight: 500;
  transition: background-color .2s ease, transform .2s ease;
}
.lp-btn:hover { background: #fff; transform: translateY(-1px); }

.lp-link {
  font-size: 12px;
  color: var(--muted);
  transition: color .2s ease;
}
.lp-link:hover { color: var(--fg); }

/* ---------- nav ---------- */
/* デザインは静的なヘッダーだが、全長7000px近い一枚もので #anchor 遷移を使うため
   sticky にしている。デザイン通りに戻す場合は position: static; に変更する。 */

.lp-nav {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
  padding: 0 var(--gutter);
  background: rgba(10, 9, 9, .92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.admin-bar .lp-nav { top: 32px; }

/* ロゴ画像。SVG は白抜きなのでダーク背景にそのまま載る。
   width/height 属性で比率が決まっているので width:auto で高さ指定だけでよい。
   $lp_logo_id を 0 にしたときのテキスト表示も同じ見た目になるよう指定を残している。 */
.lp-nav__logo {
  display: flex;
  align-items: center;
  font-family: var(--display);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 2px;
  color: var(--fg);
}

.lp-logo { width: auto; }
.lp-logo--nav { height: 24px; }
.lp-logo--footer { height: 26px; }

.lp-nav__logo:hover .lp-logo { opacity: .75; }
.lp-logo { transition: opacity .2s ease; }

.lp-nav__links { display: flex; gap: 26px; }

.lp-nav__links a {
  font-size: 11px;
  color: var(--muted);
  transition: color .2s ease;
}
.lp-nav__links a:hover { color: var(--fg); }

.lp-nav__cta {
  padding: 8px 18px;
  border: 1px solid var(--muted);
  border-radius: var(--radius);
  font-size: 11px;
  color: var(--fg);
  white-space: nowrap;
  transition: border-color .2s ease, background-color .2s ease;
}
.lp-nav__cta:hover { border-color: var(--fg); background: rgba(237, 232, 227, .06); }

/* ---------- hero ---------- */

.lp-hero {
  position: relative;
  min-height: 780px;
  display: flex;
  align-items: center;
  background: var(--bg);
  overflow: hidden;
}

.lp-hero__bg,
.lp-hero__overlay {
  position: absolute;
  inset: 0;
}

.lp-hero__bg { overflow: hidden; }

/* 背景写真の共通レイヤー。ID指定で出力しているので srcset が効く。
   tone=light（明るいクリーム調の既存素材）だけ --img-filter でトーンを揃える。
   tone=dark（ダークな写真）は無加工。 */
.lp-bg__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: var(--img-pos, center);
}

.is-tone-light .lp-bg__img { filter: var(--img-filter); }

/* 左を暗くして見出しの可読性を確保しつつ、右側は写真を見せる */
.lp-hero__overlay {
  background:
    linear-gradient(90deg, rgba(10, 9, 9, .92) 0%, rgba(10, 9, 9, .62) 52%, rgba(10, 9, 9, .18) 100%),
    linear-gradient(180deg, rgba(10, 9, 9, .45) 0%, rgba(10, 9, 9, .30) 40%, rgba(10, 9, 9, .88) 100%);
}

.lp-hero__inner {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 120px var(--gutter);
}

.lp-hero__title {
  margin-top: 24px;
  font-family: var(--serif);
  font-size: 80px;
  font-weight: 300;
  line-height: 1.22;
  color: var(--fg);
}

.lp-hero__sub {
  margin-top: 40px;
  max-width: 480px;
  font-size: 13px;
  line-height: 25px;
  color: var(--muted);
}

.lp-hero__cta {
  margin-top: 44px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}

/* ---------- stats ---------- */

.lp-stats {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 120px;
  padding: 24px var(--gutter);
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.lp-stats__item {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  text-align: center;
}

.lp-stats__num {
  font-family: var(--num);
  font-size: 36px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: 1px;
  color: var(--fg);
  line-height: 1.1;
}

.lp-stats__label {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}

.lp-stats__divider {
  flex: 0 0 1px;
  width: 1px;
  height: 48px;
  background: var(--line);
}

/* ---------- philosophy ---------- */

.lp-philosophy {
  padding: 120px var(--gutter);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.lp-philosophy__inner {
  display: flex;
  gap: 80px;
  align-items: flex-start;
}

.lp-philosophy__left { flex: 0 1 720px; }

.lp-philosophy__headline {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: 52px;
  font-weight: 300;
  line-height: 1.5;
  color: var(--fg);
}

.lp-philosophy__right {
  flex: 1 1 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  padding-top: 8px;
}

.lp-philosophy__right p {
  font-size: 13px;
  line-height: 26px;
  color: var(--muted);
}

.lp-philosophy__image {
  margin-top: 80px;
  height: 440px;
  overflow: hidden;
  border-radius: var(--radius);
}

/* ---------- services ---------- */

.lp-services {
  padding: 100px var(--gutter);
  background: var(--bg-alt);
}

.lp-services__row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}

.lp-services__num {
  flex: 0 0 32px;
  font-family: var(--num);
  font-size: 13px;
  font-style: italic;
  color: var(--muted);
  padding-top: 4px;
}

.lp-services__title {
  flex: 0 0 220px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  color: var(--fg);
  line-height: 1.6;
}

.lp-services__desc {
  flex: 1 1 0;
  font-size: 12px;
  line-height: 23px;
  color: var(--muted);
  padding-top: 2px;
}

/* ---------- pricing ---------- */

.lp-pricing {
  display: flex;
  gap: 80px;
  align-items: flex-start;
  padding: 100px var(--gutter);
  background: var(--bg);
  border-bottom: 1px solid var(--line);
}

.lp-pricing__left { flex: 0 0 480px; }

.lp-pricing__name {
  margin-top: 32px;
  font-family: var(--serif);
  font-size: 40px;
  font-weight: 300;
  color: var(--fg);
}

.lp-pricing__price {
  margin-top: 24px;
  font-family: var(--num);
  font-size: 72px;
  font-weight: 300;
  font-style: italic;
  letter-spacing: -1px;
  line-height: 1.1;
  color: var(--fg);
}

.lp-pricing__note {
  margin-top: 12px;
  font-size: 11px;
  color: var(--muted);
}

.lp-pricing__left p:last-child { margin-top: 32px; }

.lp-pricing__right { flex: 1 1 0; }

.lp-pricing__cat {
  font-size: 11px;
  font-weight: 500;
  color: var(--accent);
  margin-bottom: 4px;
}
.lp-pricing__cat:not(:first-child) { margin-top: 40px; }

.lp-pricing__items li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 0;
  border-bottom: 1px solid var(--line);
  font-size: 12px;
  color: var(--muted);
}

.lp-pricing__check {
  font-family: var(--display);
  font-size: 11px;
  color: var(--accent);
}

/* ---------- flow ---------- */

.lp-flow {
  padding: 100px var(--gutter);
  background: var(--bg-alt);
}

.lp-flow__row {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.lp-flow__list { border-bottom: 1px solid var(--line); }

.lp-flow__label {
  flex: 0 0 80px;
  font-family: var(--display);
  font-size: 10px;
  letter-spacing: 2px;
  color: var(--accent);
  padding-top: 5px;
}

.lp-flow__title {
  flex: 0 0 220px;
  font-family: var(--serif);
  font-size: 18px;
  font-weight: 300;
  color: var(--fg);
  line-height: 1.6;
}

.lp-flow__desc {
  flex: 1 1 0;
  font-size: 12px;
  line-height: 23px;
  color: var(--muted);
  padding-top: 2px;
}

/* ---------- works ---------- */

.lp-works {
  padding: 100px var(--gutter);
  background: var(--bg);
}

/* auto-fill にしているので、制作事例の件数を増減してもレイアウトが崩れない */
.lp-works__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 24px;
}

.lp-works__card { position: relative; }

.lp-works__img {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius);
  background: var(--bg-alt);
  filter: var(--img-filter);
  transition: filter .3s ease, transform .3s ease;
}

/* サイトのスクリーンショットなので上端を基準に切り抜く */
.lp-works__thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.lp-works__card:hover .lp-works__img {
  filter: grayscale(0) brightness(1);
  transform: translateY(-2px);
}

.lp-works__info {
  display: block;
  padding-top: 16px;
}

.lp-works__type {
  display: block;
  font-family: var(--display);
  font-size: 9px;
  letter-spacing: 2px;
  color: var(--accent);
}

.lp-works__title {
  display: block;
  margin-top: 8px;
  font-family: var(--serif);
  font-size: 15px;
  color: var(--fg);
}

/* ---------- faq ---------- */

.lp-faq {
  padding: 100px var(--gutter);
  background: var(--bg-alt);
}

.lp-faq__head { padding-bottom: 60px; }

.lp-faq__row {
  padding: 28px 0;
  border-top: 1px solid var(--line);
}
.lp-faq__list { border-bottom: 1px solid var(--line); }

.lp-faq__row dt {
  font-family: var(--serif);
  font-size: 16px;
  font-weight: 300;
  color: var(--fg);
  line-height: 1.6;
}

.lp-faq__row dd {
  margin-top: 12px;
  font-size: 12px;
  line-height: 23px;
  color: var(--muted);
  max-width: 800px;
}

/* ---------- cta ---------- */

.lp-cta {
  position: relative;
  padding: 140px var(--gutter);
  overflow: hidden;
}

.lp-cta__bg,
.lp-cta__overlay { position: absolute; inset: 0; }

.lp-cta__bg { overflow: hidden; }

/* 写真がもともと暗いので覆いを軽くしている。
   中央に見出しが載るため、中央付近をやや強めに落として可読性を確保する。 */
.lp-cta__overlay {
  background: linear-gradient(180deg, rgba(10, 9, 9, .74) 0%, rgba(10, 9, 9, .86) 45%, rgba(10, 9, 9, .92) 100%);
}

.lp-cta__inner {
  position: relative;
  z-index: 2;
  text-align: center;
}

.lp-cta__headline {
  margin: 24px 0 40px;
  font-family: var(--serif);
  font-size: 44px;
  font-weight: 300;
  line-height: 1.6;
  color: var(--fg);
}

/* ---------- footer ---------- */

.lp-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  padding: 48px var(--gutter);
  background: var(--bg);
  border-top: 1px solid var(--line);
}

.lp-footer__logo {
  font-family: var(--display);
  font-size: 12px;
  letter-spacing: 2px;
  color: var(--fg);
}

.lp-footer__links { display: flex; gap: 32px; flex-wrap: wrap; }

.lp-footer__links a {
  font-size: 11px;
  color: var(--muted);
  transition: color .2s ease;
}
.lp-footer__links a:hover { color: var(--fg); }

.lp-footer__copy {
  font-size: 10px;
  letter-spacing: 1px;
  color: var(--muted);
}

/* ---------- responsive ---------- */

@media (max-width: 1200px) {
  .lp2026 { --pad-x: 40px; }

  .lp-nav__links { gap: 18px; }

  .lp-hero__title { font-size: 62px; }
  .lp-philosophy__headline { font-size: 42px; }
  .lp-section-title { font-size: 40px; }
  .lp-pricing__price { font-size: 60px; }
  .lp-cta__headline { font-size: 36px; }

  .lp-philosophy__inner,
  .lp-pricing { gap: 48px; }

  .lp-pricing__left { flex-basis: 380px; }
  .lp-works__grid { gap: 32px; }
}

@media (max-width: 900px) {
  .lp2026 { --pad-x: 28px; }

  /* デスクトップ用の横並びナビは隠し、代わりにハンバーガー＋パネルを出す */
  .lp-nav__links { display: none; }
  .lp-nav__toggle { display: flex; }
  .lp-nav__cta { display: none; }

  .lp-hero { min-height: 0; }
  .lp-hero__inner { padding: 96px var(--gutter); }
  .lp-hero__title { font-size: 46px; }

  /* モバイルは本文が全幅に伸び、写真の明るい部分に重なる。
     左寄せ前提の横グラデーションをやめ、全体を均一に暗くして可読性を確保する。 */
  .lp-hero__overlay {
    background: linear-gradient(180deg, rgba(10, 9, 9, .58) 0%, rgba(10, 9, 9, .74) 45%, rgba(10, 9, 9, .92) 100%);
  }

  .lp-stats { flex-wrap: wrap; gap: 24px 0; padding: 32px var(--gutter); }
  .lp-stats__item { flex: 1 0 50%; }
  .lp-stats__divider { display: none; }

  .lp-philosophy,
  .lp-services,
  .lp-pricing,
  .lp-flow,
  .lp-works,
  .lp-faq { padding-top: 72px; padding-bottom: 72px; }

  .lp-philosophy__inner,
  .lp-pricing { flex-direction: column; gap: 32px; }

  .lp-philosophy__left,
  .lp-pricing__left { flex: 1 1 auto; width: 100%; }

  .lp-philosophy__headline { font-size: 34px; line-height: 1.6; }
  .lp-philosophy__image { margin-top: 48px; height: 280px; }

  .lp-section-head { flex-direction: column; align-items: flex-start; gap: 20px; padding-bottom: 40px; }
  .lp-section-desc { text-align: left; max-width: none; }
  .lp-section-title { font-size: 32px; }

  .lp-services__row,
  .lp-flow__row { flex-wrap: wrap; gap: 8px 20px; }

  .lp-services__title,
  .lp-flow__title { flex: 1 1 auto; }

  .lp-services__desc,
  .lp-flow__desc { flex: 1 1 100%; }

  .lp-flow__label { flex: 0 0 auto; padding-top: 0; }

  .lp-cta { padding: 88px var(--gutter); }

  /* PC向けの強制改行を外し、balance で行長を揃える。
     そのままだと「…サイト / へ、/ そろそろ…」と読点だけが行に取り残される。 */
  .lp-cta__headline {
    font-size: 28px;
    text-wrap: balance;
  }
  .lp-cta__headline br { display: none; }

  .lp-footer { flex-direction: column; align-items: flex-start; gap: 20px; }
}

@media (max-width: 560px) {
  .lp-hero__title { font-size: 36px; }
  .lp-hero__cta { gap: 16px; }
  .lp-stats__item { flex: 1 0 100%; }
  .lp-works__grid { grid-template-columns: 1fr; }
  .lp-pricing__price { font-size: 48px; }
  .lp-section-title { font-size: 28px; }
  .lp-cta__headline { font-size: 24px; }
}

@media (prefers-reduced-motion: reduce) {
  .lp2026 * { transition: none !important; }
}

/* ---------- ドロップダウン ---------- */

.lp-nav__group { position: relative; display: inline-flex; align-items: center; }

.lp-nav__sub {
  position: absolute;
  top: 100%;
  left: -14px;
  z-index: 60;
  display: flex;
  flex-direction: column;
  min-width: 190px;
  padding: 10px 0;
  background: rgba(16, 15, 15, .97);
  backdrop-filter: blur(8px);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-4px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}

.lp-nav__group:hover .lp-nav__sub,
.lp-nav__group:focus-within .lp-nav__sub {
  opacity: 1;
  visibility: visible;
  transform: none;
}

.lp-nav__sub a {
  padding: 8px 16px;
  font-size: 11px;
  color: var(--muted);
  white-space: nowrap;
}
.lp-nav__sub a:hover { color: var(--fg); background: rgba(237, 232, 227, .05); }

/* ---------- モバイルメニュー ---------- */

/* 900px 以下でハンバーガーを出す。従来はナビ自体を隠していて操作できなかった。 */
.lp-nav__toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  padding: 0;
  background: none;
  border: 0;
  cursor: pointer;
}

.lp-nav__toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--fg);
  transition: transform .2s ease, opacity .2s ease;
}

.lp-nav__toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.lp-nav__toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.lp-nav__toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

.lp-mobile {
  position: fixed;
  inset: 64px 0 0;
  z-index: 49;
  background: rgba(10, 9, 9, .98);
  backdrop-filter: blur(10px);
  overflow-y: auto;
}
.lp-mobile[hidden] { display: none; }

.admin-bar .lp-mobile { top: 96px; }

.lp-mobile__inner {
  display: flex;
  flex-direction: column;
  padding: 24px var(--gutter) 48px;
}

.lp-mobile__item {
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
  font-size: 15px;
  color: var(--fg);
}

.lp-mobile__item--sub {
  padding-left: 18px;
  font-size: 13px;
  color: var(--muted);
}

.lp-mobile__cta {
  margin-top: 32px;
  padding: 15px 28px;
  background: var(--fg);
  border-radius: var(--radius);
  font-size: 13px;
  font-weight: 500;
  color: var(--bg);
  text-align: center;
}

/* このブロックはファイル末尾に置くこと。
   上のメディアクエリより後ろに .lp-nav__toggle の基本ルール（display:none）があるため、
   前方の @media で display:flex にしても後勝ちで打ち消されてしまう。 */
@media (max-width: 900px) {
  .lp-nav__toggle { display: flex; }
  .lp-nav__cta { display: none; }
  .lp-nav__links { display: none; }
}

/* ---------- YOOtheme 描画のページに共通ヘッダーを載せる場合 ---------- */

/* mu-plugin が body に .otopro-2026-header を付けたページで有効。
   対象: Contents（本文もリスキン）、WEBサンプル一覧（本文は YOOtheme のまま）。 */

/* YOOtheme 側のヘッダーは使わない */
.otopro-2026-header .tm-header,
.otopro-2026-header .tm-header-mobile { display: none !important; }

/* 子テーマの css/custom.css にある素の `nav {}` 指定（sticky / クリーム背景 /
   height:56px / padding / align-items:center / justify-content:space-between）が、
   共通ヘッダー内側の <nav class="lp-nav__links"> と <nav class="lp-mobile__inner"> に
   当たってしまうため打ち消す。 */
.otopro-2026-header .lp-nav__links,
.otopro-2026-header .lp-mobile__inner,
.otopro-2026-header .lp-footer__links {
  position: static !important;
  height: auto !important;
  background: none !important;
  backdrop-filter: none !important;
  border: 0 !important;
}

.otopro-2026-header .lp-nav__links,
.otopro-2026-header .lp-footer__links { padding: 0 !important; }

.otopro-2026-header .lp-mobile__inner {
  padding: 24px var(--gutter) 48px !important;
  align-items: stretch !important;
  justify-content: flex-start !important;
}

/* 共通ヘッダーが使うトークンを、.lp2026 クラスが付かないページでも解決できるようにする */
.otopro-2026-header .lp-nav,
.otopro-2026-header .lp-mobile {
  --bg: #0A0909;
  --line: #242020;
  --fg: #EDE8E3;
  --muted: #888480;
  --radius: 2px;
  --gutter: max(64px, (100% - 1200px) / 2);
  --sans: 'Noto Sans JP', system-ui, sans-serif;
  --display: 'DM Sans', system-ui, sans-serif;
}

@media (max-width: 1200px) {
  .otopro-2026-header .lp-nav,
  .otopro-2026-header .lp-mobile { --gutter: max(40px, (100% - 1200px) / 2); }
}

@media (max-width: 900px) {
  .otopro-2026-header .lp-nav,
  .otopro-2026-header .lp-mobile { --gutter: max(28px, (100% - 1200px) / 2); }
}
