@import url("https://cdn.jsdelivr.net/npm/yakuhanjp@4.1.1/dist/css/yakuhanjp.css");
@import url("https://fonts.googleapis.com/css2?family=Albert+Sans:wght@100..900&family=Arvo&family=DM+Serif+Display&display=swap");

/* =========================================================
   CSS構成
   1. 共通ルール：全ページで使う基本デザイン
   2. TOPページ用：TOPの各セクションで使うデザイン
   3. CONTENTSページ用：.contents-page が付いたページだけに効くデザイン
========================================================= */

/* =========================
   サイト全体で使う色・共通値
========================= */
:root {
  --ink: #5a5959;
  --muted: #5a5959;
  --line: #ded6a4;
  --paper: #f0ea4d;
  --white: #fffdf8;
  --sage: #f5e54b;
  --clay: #5a5959;
  --charcoal: #5a5959;
  --glass-yellow: rgba(245, 229, 75, 0.66);
  --glass-border: rgba(255, 255, 255, 0.46);
  --glass-blur: blur(22px) saturate(150%);
  --page-bg: #f0ea4d;
  --section-logo-opacity: 0.22;
  --left-rail-offset: 12px;
  --radius: 8px;
  --font-body: YakuHanJP, "Noto Sans JP", system-ui, sans-serif;
  --font-display: "Albert Sans", "Inter", sans-serif;
  --type-kicker-size: clamp(0.72rem, 0.85vw, 0.86rem);
  --type-heading-size: clamp(1.95rem, 4.2vw, 3.55rem);
  --type-subheading-size: clamp(1.05rem, 1.65vw, 1.38rem);
  --type-body-size: clamp(0.88rem, 1vw, 1rem);
  --type-small-size: clamp(0.76rem, 0.9vw, 0.9rem);
  --type-heading-line: 1.42;
  --type-body-line: 1.9;
  --type-kicker-tracking: 0.08em;
  --type-body-tracking: 0.03em;
  --section-title-bg-size: clamp(3.6rem, 11vw, 8rem);
  --section-title-bg-line: 1.02;
  --section-title-bg-opacity: 0.055;
  --section-title-small-size: clamp(0.9rem, 2vw, 1.45rem);
  --section-title-small-offset-x: clamp(4px, 1vw, 10px);
  --section-title-small-offset-y: clamp(12px, 2vw, 22px);
  --section-title-gap-bottom: clamp(34px, 5vw, 58px);
  --section-heading-gap: clamp(30px, 4.6vw, 48px);
}

/* =========================
   全要素のサイズ計算
========================= */
* {
  box-sizing: border-box;
}

/* =========================
   ページ内リンクのスクロール
========================= */
html {
  scroll-behavior: smooth;
  overflow-x: clip;
}

/* =========================
   画面全体（背景・文字・基本フォント）
========================= */
body {
  position: relative;
  isolation: isolate;
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  color: var(--ink);
  background: transparent;
  font-family: var(--font-body);
  line-height: 1.75;
  --rail-progress-blue: 0%;
  --rail-progress-white: 0%;
  --rail-progress-red: 0%;
}

/* =========================
   ローディング中のスクロール固定
========================= */
body.is-loading {
  overflow: hidden;
}

/* =========================
   ギャラリー拡大表示中のスクロール固定
========================= */
body.is-gallery-lightbox-open {
  overflow: hidden;
}

/* =========================
   初回ローディング画面
========================= */
.loading-screen {
  position: fixed;
  z-index: 9999;
  inset: 0;
  display: grid;
  place-items: center;
  background: var(--paper);
  filter: blur(0);
  transform: scale(1);
  transition:
    opacity 1200ms cubic-bezier(0.16, 1, 0.3, 1),
    visibility 1200ms cubic-bezier(0.16, 1, 0.3, 1),
    filter 1200ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 1200ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================
   ローディング画面の非表示状態
========================= */
.loading-screen.is-hidden {
  visibility: hidden;
  opacity: 0;
  filter: blur(18px);
  transform: scale(1.045);
  pointer-events: none;
}

/* =========================
   ローディング中央要素
========================= */
.loading-inner {
  display: grid;
  width: min(230px, 54vw);
  justify-items: center;
  gap: clamp(22px, 4vw, 34px);
  opacity: 1;
  transform: translateY(0) scale(1);
  transition:
    opacity 960ms cubic-bezier(0.16, 1, 0.3, 1),
    transform 960ms cubic-bezier(0.16, 1, 0.3, 1);
}

/* =========================
   ローディング非表示時の中央要素
========================= */
.loading-screen.is-hidden .loading-inner {
  opacity: 0;
  transform: translateY(-14px) scale(0.965);
}

/* =========================
   ローディング中央画像
========================= */
.loading-inner img {
  width: min(230px, 54vw);
  height: auto;
  animation: loading-image-float 1600ms ease-in-out infinite;
  filter: drop-shadow(0 18px 24px rgba(90, 89, 89, 0.14));
}

/* =========================
   ローディング中央画像の上下移動
========================= */
@keyframes loading-image-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

/* =========================
   ローディング進行表示
========================= */
.loading-progress {
  display: grid;
  grid-template-columns: 1fr 40px;
  width: 100%;
  align-items: center;
  gap: 6px;
}

/* =========================
   ローディング進行ライン
========================= */
.loading-line {
  width: 100%;
  height: 2px;
  overflow: hidden;
  background: rgba(90, 89, 89, 0.18);
}

/* =========================
   ローディング進行率テキスト
========================= */
.loading-percent {
  color: var(--charcoal);
  font-family: "Albert Sans", "Inter", sans-serif;
  font-size: 0.86rem;
  font-weight: 800;
  line-height: 1;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

/* =========================
   ローディング進行ライン本体
========================= */
.loading-line span {
  display: block;
  width: 100%;
  height: 100%;
  background: var(--charcoal);
  transform: scaleX(0);
  transform-origin: left center;
  animation: loading-line 3200ms cubic-bezier(0.65, 0, 0.35, 1) forwards;
}

/* =========================
   ローディング進行ラインの動き
========================= */
@keyframes loading-line {
  to {
    transform: scaleX(1);
  }
}

/* =========================
   画面全体の黄色ガラス背景
========================= */
body::before {
  position: fixed;
  z-index: -3;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 253, 248, 0.42), transparent 28%),
    radial-gradient(circle at 82% 14%, rgba(255, 253, 248, 0.22), transparent 26%),
    var(--page-bg);
  transition: background 900ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================
   セクション背景で回転するロゴ
========================= */
.section-bg-logo {
  position: fixed;
  z-index: -2;
  top: 50%;
  left: calc(50% + (var(--left-rail-offset) / 2));
  width: clamp(220px, 36vw, 560px);
  aspect-ratio: 1;
  opacity: 0;
  transform: translate(-50%, -50%);
  transition: opacity 520ms ease;
  pointer-events: none;
  mix-blend-mode: multiply;
}

/* =========================
   回転ロゴの画像本体
========================= */
.section-bg-logo img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: var(--section-logo-opacity);
  animation: logoSpin 48s linear infinite;
  will-change: transform;
}

/* =========================
   背景ロゴ表示中
========================= */
.section-bg-logo.is-visible {
  opacity: 1;
}

/* =========================
   背景ロゴの回転アニメーション
========================= */
@keyframes logoSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* =========================
   画面左端ライン装飾の全体
========================= */
.side-rails {
  position: fixed;
  z-index: 60;
  top: 0;
  left: 0;
  width: 18px;
  height: 100vh;
  pointer-events: none;
}

/* =========================
   画面左端ライン装飾の各線
========================= */
.side-rail {
  position: absolute;
  top: 0;
  width: 6px;
  height: 0;
  transform-origin: top;
}

/* =========================
   青ライン
========================= */
.side-rail-blue {
  left: 0;
  height: var(--rail-progress-blue);
  background: #123c7c;
}

/* =========================
   白ライン
========================= */
.side-rail-white {
  left: 6px;
  height: var(--rail-progress-white);
  background: #f2eee4;
}

/* =========================
   赤ライン
========================= */
.side-rail-red {
  left: 12px;
  height: var(--rail-progress-red);
  background: #9f2f2f;
}

/* =========================
   画像の基本設定
========================= */
img {
  display: block;
  max-width: 100%;
}

/* =========================
   リンクの基本設定
========================= */
a {
  color: inherit;
  text-decoration: none;
}

/* =========================
   上部ヘッダー（ロゴ・メニュー全体）
========================= */
.site-header {
  position: fixed;
  z-index: 20;
  top: 16px;
  left: calc(clamp(16px, 3vw, 32px) + var(--left-rail-offset));
  right: clamp(16px, 3vw, 32px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px calc(clamp(20px, 4vw, 48px) + 86px) 9px clamp(6px, 1.2vw, 18px);
  color: var(--white);
  background: transparent;
  border: 0;
  border-radius: 18px;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

/* =========================
   スクロール後のヘッダー
========================= */
.site-header.is-scrolled {
  color: var(--ink);
  background: var(--glass-yellow);
  border: 0;
  box-shadow: 0 16px 42px rgba(90, 89, 89, 0.16);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

/* =========================
   左上のロゴ画像
========================= */
.brand {
  position: relative;
  display: block;
  width: clamp(150px, 18vw, 260px);
  height: clamp(30px, 3.3vw, 46px);
  flex: 0 0 auto;
}

/* =========================
   左上のロゴ画像本体
========================= */
.brand-logo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  transition: opacity 180ms ease;
}

/* =========================
   通常時の白ロゴ
========================= */
.brand-logo-light {
  opacity: 1;
}

/* =========================
   スクロール後のグレーロゴ
========================= */
.brand-logo-dark {
  opacity: 0;
}

/* =========================
   スクロール後は白ロゴを非表示
========================= */
.site-header.is-scrolled .brand-logo-light {
  opacity: 0;
}

/* =========================
   スクロール後はグレーロゴを表示
========================= */
.site-header.is-scrolled .brand-logo-dark {
  opacity: 1;
}

/* =========================
   PC用ヘッダー内メニュー
========================= */
.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 22px);
  margin-right: clamp(28px, 4vw, 72px);
  font-size: clamp(0.68rem, 0.9vw, 0.82rem);
  font-weight: 700;
}

/* =========================
   PC用ヘッダーメニュー項目
========================= */
.header-nav a {
  position: relative;
  white-space: nowrap;
  transition: color 180ms ease, transform 180ms ease;
}

/* =========================
   PC用ヘッダーメニューの下線
========================= */
.header-nav a::after {
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 100%;
  height: 1px;
  content: "";
  background: currentColor;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 180ms ease;
}

/* =========================
   PC用ヘッダーメニューにマウスを乗せた時
========================= */
.header-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

/* =========================
   PC用ヘッダーメニューにマウスを乗せた時の拡大
========================= */
.header-nav a:hover {
  transform: scale(1.08);
}

/* =========================
   PC用ヘッダーメニューの選択中
========================= */
.header-nav a.is-current {
  transform: scale(1.12);
}

/* =========================
   PC用ヘッダーメニューの選択中にマウスを乗せた時
========================= */
.header-nav a.is-current:hover {
  transform: scale(1.16);
}

/* =========================
   右上の2本線メニューボタン
========================= */
.hamburger {
  position: fixed;
  z-index: 40;
  top: calc(16px + ((clamp(30px, 3.3vw, 46px) + 18px - 30px) / 2));
  right: calc(clamp(16px, 3vw, 32px) + 18px);
  display: flex;
  width: 48px;
  height: 30px;
  padding: 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: var(--white);
  background: transparent;
  border: 0;
  cursor: pointer;
}

/* =========================
   メニューボタンのフォーカス枠
========================= */
.hamburger:focus,
.hamburger:focus-visible {
  outline: 0;
}

/* =========================
   2本線メニューボタンの線
========================= */
.hamburger span {
  display: block;
  width: 40px;
  height: 1.2px;
  background: currentColor;
  border-radius: 999px;
  transform-origin: center;
  transition: transform 220ms ease, background 180ms ease;
}

/* =========================
   2本線メニューボタンにマウスを乗せた時
========================= */
.hamburger:hover span {
  transform: scaleX(0.82);
}

/* =========================
   メニューが開いた時のボタン色
========================= */
.hamburger.is-active {
  color: var(--ink);
}

/* =========================
   スクロール後のメニューボタン色
========================= */
.site-header.is-scrolled ~ .hamburger {
  color: var(--ink);
}

/* =========================
   メニューが開いている時は白に戻す
========================= */
.site-header.is-scrolled ~ .hamburger.is-active {
  color: var(--ink);
}

/* =========================
   メニューが開いた時の上線
========================= */
.hamburger.is-active span:nth-child(1) {
  transform: translateY(4px) rotate(45deg);
}

/* =========================
   メニューが開いた時の下線
========================= */
.hamburger.is-active span:nth-child(2) {
  transform: translateY(-4px) rotate(-45deg);
}

/* =========================
   ヘッダー右側Instagramアイコン
========================= */
.header-instagram {
  position: fixed;
  z-index: 40;
  top: calc(16px + ((clamp(30px, 3.3vw, 46px) + 18px - 28px) / 2));
  right: calc(clamp(16px, 3vw, 32px) + 66px);
  display: grid;
  width: 30px;
  height: 30px;
  place-items: center;
  color: var(--white);
  transition: color 180ms ease, transform 180ms ease;
}

/* =========================
   InstagramアイコンSVG
========================= */
.header-instagram svg,
.footer-instagram svg {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.25;
}

/* =========================
   Instagramアイコンホバー
========================= */
.header-instagram:hover {
  transform: scale(1.08);
}

/* =========================
   スクロール後のInstagramアイコン色
========================= */
.site-header.is-scrolled ~ .header-instagram {
  color: var(--ink);
}

/* =========================
   メニュー展開中のInstagramアイコン色
========================= */
body.is-menu-open .header-instagram {
  color: var(--ink);
}

/* =========================
   メニュー詳細の全画面背景
========================= */
.menu-overlay {
  position: fixed;
  z-index: 30;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: rgba(245, 229, 75, 0.68);
  opacity: 0;
  pointer-events: none;
  transition: opacity 260ms ease;
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
}

/* =========================
   メニュー詳細が開いた状態
========================= */
.menu-overlay.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* =========================
   メニュー詳細の中身配置
========================= */
.menu-inner {
  display: grid;
  grid-template-columns: minmax(300px, 0.78fr) minmax(420px, 1fr);
  align-items: start;
  gap: clamp(28px, 5vw, 58px);
  width: min(1080px, calc(100% - 72px));
  padding: 72px 0 44px;
}

/* =========================
   メニュー項目リスト
========================= */
.menu-list {
  display: grid;
  grid-row: 1 / span 2;
  align-content: start;
  gap: clamp(10px, 2vw, 16px);
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}

/* =========================
   メニュー項目の出現前
========================= */
.menu-list li {
  opacity: 0;
  transform: translateY(30px);
}

/* =========================
   メニュー項目の文字
========================= */
.menu-list a {
  display: inline-block;
  font-size: clamp(1rem, 2vw, 1.62rem);
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: 0;
  transition: color 180ms ease, transform 180ms ease;
}

/* =========================
   全画面メニュー内の各種メニュー
========================= */
.menu-service-list {
  display: grid;
  grid-column: 2;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  align-self: start;
  gap: clamp(8px, 1.1vw, 13px);
  padding: 0 0 0 clamp(30px, 5vw, 68px);
  border-left: 1px solid rgba(90, 89, 89, 0.28);
}

/* =========================
   各種メニュー見出し
========================= */
.menu-service-list p {
  grid-column: 1 / -1;
  margin: 0 0 10px;
  color: rgba(90, 89, 89, 0.68);
  font-size: clamp(0.82rem, 1vw, 0.98rem);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

/* =========================
   各種メニューの小リンク
========================= */
.menu-service-list a {
  min-width: 0;
  color: rgba(90, 89, 89, 0.82);
  font-size: clamp(0.9rem, 1.25vw, 1.1rem);
  font-weight: 700;
  line-height: 1.25;
  transition: color 180ms ease, transform 180ms ease;
}

/* =========================
   各種メニューの小リンクホバー
========================= */
.menu-service-list a:hover {
  color: var(--ink);
  transform: translateY(-1px);
}

/* =========================
   メニュー項目にマウスを乗せた時
========================= */
.menu-list a:hover {
  color: var(--clay);
  transform: scale(1.04);
}

/* =========================
   全画面メニューの選択中
========================= */
.menu-list a.is-current {
  transform: scale(1.06);
}

/* =========================
   全画面メニューの選択中にマウスを乗せた時
========================= */
.menu-list a.is-current:hover {
  transform: scale(1.1);
}

/* =========================
   メニューが開いた時の項目出現
========================= */
.menu-overlay.is-active .menu-list li {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 400ms ease,
    transform 620ms cubic-bezier(0.4, 0, 0.2, 1);
}

/* =========================
   メニュー項目1の出現タイミング
========================= */
.menu-overlay.is-active .menu-list li:nth-child(1) {
  transition-delay: 0.12s;
}

/* =========================
   メニュー項目2の出現タイミング
========================= */
.menu-overlay.is-active .menu-list li:nth-child(2) {
  transition-delay: 0.2s;
}

/* =========================
   メニュー項目3の出現タイミング
========================= */
.menu-overlay.is-active .menu-list li:nth-child(3) {
  transition-delay: 0.28s;
}

/* =========================
   メニュー項目4の出現タイミング
========================= */
.menu-overlay.is-active .menu-list li:nth-child(4) {
  transition-delay: 0.36s;
}

/* =========================
   メニュー項目5の出現タイミング
========================= */
.menu-overlay.is-active .menu-list li:nth-child(5) {
  transition-delay: 0.44s;
}

/* =========================
   メニュー項目6の出現タイミング
========================= */
.menu-overlay.is-active .menu-list li:nth-child(6) {
  transition-delay: 0.52s;
}

/* =========================
   メニュー項目7の出現タイミング
========================= */
.menu-overlay.is-active .menu-list li:nth-child(7) {
  transition-delay: 0.6s;
}

/* =========================
   全画面メニュー内コンタクト
========================= */
.menu-contact {
  grid-column: 2;
  width: min(100%, 460px);
  margin-top: clamp(12px, 1.8vw, 20px);
  padding: clamp(18px, 2.2vw, 26px);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(255, 253, 248, 0.54);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 420ms ease,
    transform 520ms cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
}

/* =========================
   全画面メニュー内コンタクト小見出し
========================= */
.menu-contact-kicker {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: clamp(0.72rem, 0.9vw, 0.86rem);
  font-weight: 700;
  line-height: 1;
}

/* =========================
   全画面メニュー内コンタクト見出し
========================= */
.menu-contact h2 {
  margin: 0;
  font-size: clamp(1.55rem, 2.7vw, 2.45rem);
  line-height: 1.12;
}

/* =========================
   全画面メニュー内コンタクト説明文
========================= */
.menu-contact-copy {
  margin: clamp(10px, 1.2vw, 14px) 0 0;
  color: var(--muted);
  font-size: clamp(0.78rem, 0.95vw, 0.92rem);
  font-weight: 700;
  line-height: 1.55;
}

/* =========================
   全画面メニュー内コンタクトボタン配置
========================= */
.menu-contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: clamp(12px, 1.8vw, 18px);
}

/* =========================
   全画面メニュー内コンタクトボタン
========================= */
.menu-contact-actions a {
  min-width: 112px;
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 18px;
  border: 2px solid var(--charcoal);
  border-radius: 999px;
  font-size: clamp(0.78rem, 1vw, 0.9rem);
  font-weight: 700;
  transition:
    background 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

/* =========================
   全画面メニュー内コンタクトメインボタン
========================= */
.menu-contact-primary {
  color: var(--white);
  background: var(--charcoal);
}

/* =========================
   全画面メニュー内コンタクトサブボタン
========================= */
.menu-contact-secondary {
  color: var(--ink);
  background: transparent;
}

/* =========================
   全画面メニュー内コンタクトボタンにマウスを乗せた時
========================= */
.menu-contact-actions a:hover {
  transform: translateY(-2px);
}

/* =========================
   全画面メニュー内コンタクトサブボタンにマウスを乗せた時
========================= */
.menu-contact-secondary:hover {
  color: var(--white);
  background: var(--charcoal);
}

/* =========================
   メニューが開いた時のコンタクト出現
========================= */
.menu-overlay.is-active .menu-contact {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   コンタクトカードの出現タイミング
========================= */
.menu-overlay.is-active .menu-contact {
  transition-delay: 0.34s;
}

/* =========================
   メニューが開いている間は背景スクロールを止める
========================= */
body.is-menu-open {
  overflow: hidden;
}

/* =========================
   ファーストビュー（トップの大きい画像エリア）
========================= */
.hero {
  position: relative;
  min-height: 104vh;
  display: grid;
  align-items: end;
  padding-bottom: clamp(44px, 7vw, 96px);
  overflow: hidden;
  color: var(--white);
}

/* =========================
   ヒーロー画像と暗い重ね色の共通配置
========================= */
.hero-slides,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* =========================
   ヒーロー画像スライド全体
========================= */
.hero-slides {
  overflow: hidden;
}

/* =========================
   ヒーロー画像
========================= */
.hero-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  object-fit: cover;
  transition: opacity 1200ms ease;
}

/* =========================
   表示中のヒーロー画像
========================= */
.hero-image.is-active {
  opacity: 1;
}

/* =========================
   ヒーロー画像の上に重ねる暗いグラデーション
========================= */
.hero-shade {
  background:
    radial-gradient(circle at 88% 8%, rgba(18, 20, 18, 0.72), rgba(18, 20, 18, 0.34) 18%, rgba(18, 20, 18, 0) 36%),
    linear-gradient(90deg, rgba(18, 20, 18, 0.76), rgba(18, 20, 18, 0.26) 54%, rgba(18, 20, 18, 0.08)),
    linear-gradient(0deg, rgba(18, 20, 18, 0.48), rgba(18, 20, 18, 0) 46%);
}

/* =========================
   ヒーロー内の文字・ボタンエリア
========================= */
.hero-content {
  position: relative;
  z-index: 2;
  width: min(760px, calc(100% - 40px));
  margin: 0 clamp(20px, 7vw, 92px) 10vh calc(clamp(20px, 7vw, 92px) + var(--left-rail-offset));
}

/* =========================
   小さい英字ラベル
========================= */
.eyebrow,
.section-kicker {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: var(--type-kicker-size);
  font-weight: 700;
  line-height: 1.35;
  text-transform: uppercase;
  letter-spacing: var(--type-kicker-tracking);
}

/* =========================
   ヒーローの大きなタイトル
========================= */
.hero h1 {
  margin: 0;
  font-size: clamp(4.3rem, 13vw, 10.8rem);
  line-height: 0.9;
  letter-spacing: 0;
}

/* =========================
   ヒーローの説明文
========================= */
.hero-copy {
  width: min(560px, 100%);
  margin: 28px 0 0;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  font-weight: 500;
  letter-spacing: var(--type-body-tracking);
  line-height: 1.9;
}

/* =========================
   ボタン共通デザイン
========================= */
.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0 22px;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
  transition: transform 160ms ease, background 160ms ease, color 160ms ease;
}

/* =========================
   ボタンにマウスを乗せた時
========================= */
.button:hover {
  transform: translateY(-2px);
}

/* =========================
   黒背景のメインボタン
========================= */
.button-primary {
  color: var(--white);
  background: var(--charcoal);
  border-color: var(--charcoal);
}

/* =========================
   各セクション上下の余白
========================= */
.section-band {
  padding: clamp(100px, 13vw, 184px) 0;
}

/* =========================
   各コンテンツ冒頭のタイトルバナー
========================= */
.section-title-banner {
  position: relative;
  display: flex;
  width: min(1120px, calc(100% - 40px - var(--left-rail-offset)));
  min-height: clamp(78px, 11vw, 128px);
  align-items: center;
  justify-content: flex-start;
  margin: 0 auto var(--section-title-gap-bottom);
  padding: 0;
  color: var(--ink);
  background: transparent;
  transform: translateX(calc(var(--left-rail-offset) / 2));
}

/* =========================
   タイトルバナーの英字
========================= */
.section-title-banner span {
  color: currentColor;
  font-family: var(--font-display);
  font-size: var(--section-title-bg-size);
  font-weight: 700;
  line-height: var(--section-title-bg-line);
  letter-spacing: 0;
  opacity: var(--section-title-bg-opacity);
  text-transform: uppercase;
  white-space: nowrap;
}

/* =========================
   タイトルバナーの日本語
========================= */
.section-title-banner strong {
  position: absolute;
  left: var(--section-title-small-offset-x);
  bottom: var(--section-title-small-offset-y);
  color: var(--muted);
  font-family: var(--font-body);
  font-size: var(--section-title-small-size);
  font-weight: 700;
  line-height: var(--type-heading-line);
  letter-spacing: 0.03em;
  white-space: nowrap;
}

/* =========================
   暗いセクション用タイトルバナー
========================= */
.section-title-banner-dark {
  color: var(--white);
}

/* =========================
   暗いセクション用タイトルバナーの日本語
========================= */
.section-title-banner-dark strong {
  color: rgba(255, 253, 248, 0.68);
}

/* =========================
   各セクションの横幅
========================= */
.section-inner {
  width: min(1120px, calc(100% - 40px - var(--left-rail-offset)));
  margin: 0 auto;
  transform: translateX(calc(var(--left-rail-offset) / 2));
}

/* =========================
   Conceptセクションの背景
========================= */
.intro {
  padding-top: clamp(48px, 6vw, 88px);
  background: transparent;
}

/* =========================
   Originセクションのスクロール演出全体
========================= */
.origin-motion {
  position: relative;
  width: 100%;
  height: 268vh;
  --origin-progress: 0;
  --origin-left-shift: 0vw;
  --origin-right-shift: 0vw;
  --origin-image-width: 0vw;
  --origin-image-height: 0vh;
  --origin-image-radius: 8px;
  --origin-image-scale: 1.12;
  --origin-image-opacity: 0;
  --origin-word-opacity: 1;
  --origin-copy-opacity: 0;
  --origin-copy-y: 34px;
  --origin-shadow-alpha: 0;
}

/* =========================
   Originスクロール中に画面内で固定する部分
========================= */
.origin-motion-sticky {
  position: sticky;
  top: 0;
  display: grid;
  height: 100vh;
  place-items: center;
  overflow: hidden;
}

/* =========================
   Originの左右に開く英字全体
========================= */
.origin-motion-words {
  position: absolute;
  z-index: 2;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

/* =========================
   Originの左右に開く英字
========================= */
.origin-motion-word {
  position: absolute;
  left: 50%;
  color: rgba(90, 89, 89, 0.78);
  font-size: clamp(3.4rem, 10.5vw, 10.8rem);
  font-weight: 700;
  line-height: 0.82;
  opacity: var(--origin-word-opacity);
  white-space: nowrap;
  will-change: transform, opacity;
}

/* =========================
   Origin左側へ動く英字
========================= */
.origin-motion-word-left {
  top: 36%;
  transform: translate(-50%, -50%) translateX(calc(-10vw - var(--origin-left-shift)));
}

/* =========================
   Origin右側へ動く英字
========================= */
.origin-motion-word-right {
  top: 62%;
  transform: translate(-50%, -50%) translateX(calc(10vw + var(--origin-right-shift)));
}

/* =========================
   Origin中央から広がる画像枠
========================= */
.origin-motion-image {
  position: relative;
  z-index: 1;
  width: var(--origin-image-width);
  height: var(--origin-image-height);
  overflow: hidden;
  border-radius: var(--origin-image-radius);
  opacity: var(--origin-image-opacity);
  box-shadow: 0 28px 90px rgba(90, 89, 89, var(--origin-shadow-alpha));
  will-change: width, height, border-radius, opacity;
}

/* =========================
   Origin中央画像
========================= */
.origin-motion-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(var(--origin-image-scale));
}

/* =========================
   Origin全面画像の上にかける暗い膜
========================= */
.origin-motion-image::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 28% 45%, rgba(10, 12, 10, 0.32), rgba(10, 12, 10, 0.78) 62%),
    linear-gradient(90deg, rgba(10, 12, 10, 0.86), rgba(10, 12, 10, 0.54) 52%, rgba(10, 12, 10, 0.82)),
    linear-gradient(180deg, rgba(10, 12, 10, 0.36), rgba(10, 12, 10, 0.8));
  opacity: var(--origin-copy-opacity);
}

/* =========================
   Origin全面画像後に出る内容
========================= */
.origin-motion-copy {
  position: absolute;
  z-index: 3;
  left: calc(50% + (var(--left-rail-offset) / 2));
  top: 51%;
  display: grid;
  width: min(860px, calc(100% - 64px - var(--left-rail-offset)));
  grid-template-columns: 1fr;
  gap: 0;
  align-items: center;
  color: var(--white);
  opacity: var(--origin-copy-opacity);
  transform: translate(-50%, calc(-50% + var(--origin-copy-y)));
  pointer-events: none;
}

/* =========================
   Origin全面画像後の右側テキスト
========================= */
.origin-copy-text {
  max-width: 760px;
  -webkit-font-smoothing: antialiased;
  text-rendering: geometricPrecision;
}

/* =========================
   Origin全面画像後の小見出し
========================= */
.origin-copy-text .section-kicker {
  color: rgba(245, 229, 75, 0.96);
}

/* =========================
   Origin全面画像後の見出し
========================= */
.origin-copy-text h2 {
  margin: 0;
}

/* =========================
   Origin全面画像後の本文
========================= */
.origin-copy-text p {
  margin: 16px 0 0;
  color: rgba(255, 253, 248, 0.82);
}

/* =========================
   セクション見出しの幅
========================= */
.section-heading {
  width: 100%;
  margin-bottom: var(--section-heading-gap);
}

/* =========================
   セクションの大きな見出し
========================= */
.section-band h2 {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--type-heading-size);
  font-weight: 700;
  line-height: var(--type-heading-line);
  letter-spacing: 0.02em;
}

/* =========================
   セクション小見出しの色
========================= */
.section-kicker {
  color: var(--clay);
}

/* =========================
   Serviceセクションの背景
========================= */
.services {
  background: transparent;
}

/* =========================
   Serviceカードの3カラム配置
========================= */
.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 0;
}

/* =========================
   Serviceの各カード
========================= */
.service-card {
  position: relative;
  display: grid;
  min-height: 230px;
  grid-template-columns: minmax(0, 1fr) minmax(110px, 38%);
  gap: 18px;
  padding: 24px;
  overflow: hidden;
  background: var(--white);
  border: 1px solid rgba(90, 89, 89, 0.08);
  border-radius: var(--radius);
  transform: scale(1);
  transform-origin: center;
  color: inherit;
  text-decoration: none;
  transition:
    border-color 220ms ease,
    box-shadow 220ms ease,
    transform 220ms ease;
}

/* =========================
   Serviceカード内テキスト
========================= */
.service-card-text {
  display: grid;
  align-content: start;
}

/* =========================
   Serviceカード右側画像枠
========================= */
.service-card-image {
  min-height: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
}

/* =========================
   Serviceカード右側画像
========================= */
.service-card-image img {
  width: 100%;
  height: 100%;
  min-height: 182px;
  object-fit: cover;
  transition: transform 420ms ease;
}

/* =========================
   Serviceカードホバー時の全体拡大
========================= */
.service-card:hover {
  z-index: 2;
  border-color: rgba(90, 89, 89, 0.22);
  box-shadow: 0 24px 54px rgba(90, 89, 89, 0.18);
  transform: scale(1.025);
}

/* =========================
   Serviceカードホバー時の画像
========================= */
.service-card:hover .service-card-image img {
  transform: none;
}

/* =========================
   Serviceカード内の番号
========================= */
.service-number {
  display: block;
  color: var(--sage);
}

/* =========================
   Serviceカードの小見出し
========================= */
.service-card h3 {
  margin: 38px 0 10px;
}

/* =========================
   Service・Works・Contactの本文
========================= */
.service-card p,
.works p,
.contact p {
  margin: 0;
  color: var(--muted);
}

/* =========================================================
   CONTENTSページだけに効く設定
   対象：mail/index.html の body.contents-page
========================================================= */

/* =========================
   CONTENTSページの背景色
========================= */
.contents-page {
  --page-bg: #f0ea4d;
}

/* =========================
   CONTENTSページのカードホバー停止
========================= */
.contents-page .service-card:hover {
  border-color: rgba(90, 89, 89, 0.08);
  box-shadow: none;
  transform: none;
}

/* =========================
   CONTENTSページの問い合わせカード
========================= */
.contents-page .service-card {
  min-height: auto;
  grid-template-columns: 1fr;
  align-content: start;
}

/* =========================
   CONTENTSページの問い合わせカラム縦並び
========================= */
.contents-page .service-grid {
  grid-template-columns: minmax(0, 1fr);
  max-width: none;
  margin-inline: 0;
}

/* =========================================================
   PAINTページだけに効く設定
   対象：paint/index.html の body.paint-page
========================================================= */

/* =========================
   PAINTページのサービス一覧
========================= */
.paint-service-list {
  display: grid;
  gap: clamp(40px, 7vw, 88px);
}

/* =========================
   PAINTページの各サービスカラム
========================= */
.paint-service-block {
  padding: clamp(28px, 5vw, 56px);
  background: rgba(255, 253, 248, 0.72);
  border: 1px solid rgba(90, 89, 89, 0.1);
  border-radius: var(--radius);
}

/* =========================
   PAINTページの各サービス見出し
========================= */
.paint-service-block h3 {
  margin: 0 0 clamp(22px, 3vw, 34px);
  font-size: clamp(1.45rem, 3vw, 2.55rem);
  line-height: var(--type-heading-line);
}

/* =========================
   PAINTページの大写真＋説明
========================= */
.paint-service-main {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(24px, 4vw, 48px);
  align-items: center;
}

/* =========================
   PAINTページの大写真枠
========================= */
.paint-service-main figure {
  height: clamp(300px, 28vw, 460px);
  margin: 0;
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
}

/* =========================
   PAINTページの大写真
========================= */
.paint-service-main img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================
   PAINTページの説明本文
========================= */
.paint-service-main p {
  margin: 0;
  color: var(--muted);
  line-height: var(--type-body-line);
}

/* =========================
   PAINTページの説明本文グループ
========================= */
.paint-service-copy {
  display: grid;
  gap: 1em;
}

/* =========================
   CONTENTS系ページの本文リスト
========================= */
.paint-service-copy ul {
  display: grid;
  gap: 0.45em;
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
  line-height: var(--type-body-line);
}

/* =========================
   コーティング料金表
========================= */
.coating-price-table {
  display: grid;
  gap: 16px;
}

/* =========================
   コーティング料金表見出し
========================= */
.coating-price-table h4 {
  margin: 0;
  font-size: clamp(1rem, 1.5vw, 1.18rem);
  line-height: var(--type-heading-line);
}

/* =========================
   コーティング料金表リスト
========================= */
.coating-price-table dl {
  display: grid;
  margin: 0 0 clamp(10px, 2vw, 18px);
  border-top: 1px solid rgba(90, 89, 89, 0.14);
}

/* =========================
   コーティング料金表行
========================= */
.coating-price-table dl div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 18px;
  padding: 12px 0;
  border-bottom: 1px solid rgba(90, 89, 89, 0.14);
}

/* =========================
   コーティング料金表価格
========================= */
.coating-price-table dd {
  margin: 0;
  font-weight: 700;
  white-space: nowrap;
}

/* =========================
   レンタカー車種紹介一覧
========================= */
.rental-car-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2vw, 24px);
  align-items: start;
}

/* =========================
   レンタカー車種紹介カード
========================= */
.rental-car-list article {
  display: grid;
  gap: 14px;
  align-content: start;
  align-items: start;
}

/* =========================
   レンタカー車種紹介画像
========================= */
.rental-car-list img {
  display: block;
  width: 100%;
  height: clamp(150px, 12vw, 220px);
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
}

/* =========================
   二輪パーツ詳細カード画像
========================= */
.parts-detail-list img {
  height: clamp(210px, 17vw, 320px);
}

/* =========================
   二輪パーツ詳細カード
========================= */
.parts-detail-list article {
  display: flex;
  flex-direction: column;
  gap: 14px;
  align-items: stretch;
}

/* =========================
   二輪パーツ詳細カード英字見出し
========================= */
.section-band .parts-detail-list .section-kicker {
  margin: 4px 0 0;
  line-height: 1.2;
}

/* =========================
   レンタカー車種紹介見出し
========================= */
.rental-car-list h4 {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.16rem);
  line-height: var(--type-heading-line);
}

/* =========================
   二輪パーツ詳細カード見出し
========================= */
.parts-detail-list h4 {
  margin-top: 0;
}

/* =========================
   レンタカー車種紹介本文
========================= */
.rental-car-list p {
  margin: 0;
  color: var(--muted);
  line-height: var(--type-body-line);
}

/* =========================
   二輪パーツ詳細カード一覧
========================= */
.parts-detail-list {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

/* =========================
   PAINTページの区切り線
========================= */
.paint-service-block hr {
  width: 100%;
  height: 1px;
  margin: clamp(24px, 4vw, 42px) 0;
  border: 0;
  background: rgba(90, 89, 89, 0.16);
}

/* =========================
   PAINTページの小写真6枚
========================= */
.paint-photo-grid {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 14px);
}

/* =========================
   PAINTページの小写真
========================= */
.paint-photo-grid img {
  display: block;
  width: 100%;
  height: clamp(96px, 8vw, 142px);
  object-fit: cover;
  border-radius: calc(var(--radius) - 4px);
}

/* =========================
   COMPANYページの会社概要カラム
========================= */
.company-page .company-grid {
  grid-template-columns: minmax(0, 1fr);
}

/* =========================
   COMPANYページの会社概要カラム幅
========================= */
.company-page .company-stack {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
}

/* =========================
   COMPANYページの会社概要カード
========================= */
.company-page .company-info {
  width: 100%;
  background: var(--white);
}

/* =========================
   NEWSページ・TOPページのお知らせ一覧
========================= */
.news-page .news-list,
.news .news-list {
  display: grid;
  background: transparent;
  border-top: 1px solid rgba(90, 89, 89, 0.24);
  border-radius: 0;
}

/* =========================
   NEWSページ・TOPページのお知らせ各行
========================= */
.news-page .news-list article,
.news .news-list article {
  display: grid;
  grid-template-columns: 160px minmax(0, 1fr) 46px;
  gap: clamp(14px, 2.4vw, 36px);
  align-items: center;
  padding: clamp(20px, 2.8vw, 30px) 0;
  border-bottom: 1px solid rgba(90, 89, 89, 0.2);
}

/* =========================
   TOPページのお知らせ各行（矢印なし）
========================= */
.news .news-list article {
  grid-template-columns: 160px minmax(0, 1fr);
}

/* =========================
   NEWSページ・TOPページのお知らせ日付
========================= */
.news-page .news-list time,
.news .news-list time {
  color: rgba(90, 89, 89, 0.68);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* =========================
   NEWSページ・TOPページのお知らせタイトル
========================= */
.news-page .news-list h3,
.news .news-list h3 {
  margin: 0;
  font-size: clamp(1rem, 1.4vw, 1.2rem);
  line-height: 1.6;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* =========================
   NEWSページ・TOPページの本文リンク
========================= */
.news-page .news-detail-link,
.news .news-detail-link {
  position: relative;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border: 1px solid rgba(90, 89, 89, 0.42);
  border-radius: 999px;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

/* =========================
   NEWSページ・TOPページの本文リンク矢印
========================= */
.news-page .news-detail-link::before,
.news .news-detail-link::before {
  width: 13px;
  height: 13px;
  content: "";
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: translateX(-2px) rotate(45deg);
}

/* =========================
   NEWSページ・TOPページの本文リンクホバー
========================= */
.news-page .news-detail-link:hover,
.news .news-detail-link:hover {
  background: var(--charcoal);
  border-color: var(--charcoal);
  color: var(--white);
  transform: translateX(3px);
}

/* =========================
   TOPページのお知らせ本文リンク非表示
========================= */
.news .news-detail-link {
  display: none;
}

/* =========================
   NEWSページの本文カード
========================= */
.news-page .news-detail {
  width: 100%;
  max-width: none;
  padding: clamp(28px, 5vw, 56px);
  background: var(--white);
  border: 1px solid rgba(90, 89, 89, 0.1);
  border-radius: var(--radius);
}

/* =========================
   NEWSページの本文タイトル
========================= */
.news-page .news-detail h1,
.news-page .news-detail h3 {
  margin: 14px 0 0;
  font-size: clamp(1.45rem, 3vw, 2.65rem);
  line-height: 1.45;
}

/* =========================
   NEWSページの本文日付
========================= */
.news-page .news-detail time {
  display: block;
  color: rgba(90, 89, 89, 0.68);
  font-family: var(--font-display);
  font-weight: 700;
  letter-spacing: 0.04em;
}

/* =========================
   NEWSページの本文区切り線
========================= */
.news-page .news-detail hr {
  width: 100%;
  height: 1px;
  margin: clamp(22px, 3vw, 36px) 0;
  border: 0;
  background: rgba(90, 89, 89, 0.16);
}

/* =========================
   NEWSページの本文前画像
========================= */
.news-detail-image {
  width: 100%;
  margin: 0 0 clamp(24px, 4vw, 42px);
  overflow: hidden;
  border-radius: calc(var(--radius) - 2px);
}

/* =========================
   NEWSページの本文前画像本体
========================= */
.news-detail-image img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* =========================
   NEWSページの本文
========================= */
.news-page .news-detail p {
  margin: 0 0 1.1em;
  color: var(--muted);
  line-height: var(--type-body-line);
}

/* =========================
   NEWSページの一覧へ戻る
========================= */
.news-page .news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: clamp(24px, 4vw, 44px);
  font-weight: 700;
}

/* =========================
   NEWSページの一覧へ戻る線
========================= */
.news-page .news-back-link::before {
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
}

/* =========================
   GALLERYページのカテゴリメニュー
========================= */
.gallery-page .gallery-category-nav {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
  margin: 0 0 clamp(52px, 7vw, 86px);
}

/* =========================
   GALLERYページのカテゴリメニュー項目
========================= */
.gallery-page .gallery-category-nav a {
  position: relative;
  display: grid;
  min-height: 92px;
  align-content: space-between;
  padding: 18px;
  overflow: hidden;
  color: var(--ink);
  background: rgba(255, 253, 248, 0.74);
  border: 1px solid rgba(90, 89, 89, 0.14);
  border-radius: var(--radius);
  font-size: clamp(0.9rem, 1.12vw, 1.05rem);
  font-weight: 800;
  line-height: 1.45;
  letter-spacing: 0.03em;
  transition: background 220ms ease, border-color 220ms ease, transform 220ms ease;
}

/* =========================
   GALLERYページのカテゴリメニュー番号
========================= */
.gallery-page .gallery-category-nav a span {
  display: block;
  color: rgba(90, 89, 89, 0.42);
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
}

/* =========================
   GALLERYページのカテゴリメニュー線
========================= */
.gallery-page .gallery-category-nav a::after {
  position: absolute;
  right: 18px;
  bottom: 18px;
  width: 34px;
  height: 1px;
  content: "";
  background: currentColor;
  opacity: 0.42;
  transition: width 220ms ease, opacity 220ms ease;
}

/* =========================
   GALLERYページのカテゴリメニューホバー
========================= */
.gallery-page .gallery-category-nav a:hover {
  background: var(--white);
  border-color: rgba(90, 89, 89, 0.32);
  transform: translateY(-3px);
}

/* =========================
   GALLERYページのカテゴリメニューホバー線
========================= */
.gallery-page .gallery-category-nav a:hover::after {
  width: 52px;
  opacity: 0.72;
}

/* =========================
   GALLERYページのカテゴリブロック
========================= */
.gallery-page .gallery-category {
  padding-top: clamp(34px, 5vw, 62px);
  scroll-margin-top: 130px;
}

/* =========================
   GALLERYページのカテゴリ見出し
========================= */
.gallery-page .gallery-category-heading {
  margin-bottom: clamp(20px, 3vw, 34px);
}

/* =========================
   GALLERYページのカテゴリ見出し本文
========================= */
.gallery-page .gallery-category-heading h3 {
  margin: 0;
  font-size: clamp(1.35rem, 2.4vw, 2.25rem);
  line-height: 1.35;
}

/* =========================
   GALLERYページの写真一覧
========================= */
.gallery-page .gallery-photo-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(10px, 1.4vw, 18px);
}

/* =========================
   GALLERYページの写真枠
========================= */
.gallery-page .gallery-photo-grid figure {
  min-height: 220px;
  margin: 0;
  overflow: hidden;
  background: rgba(255, 253, 248, 0.52);
  border-radius: var(--radius);
  cursor: zoom-in;
}

/* =========================
   GALLERYページの写真
========================= */
.gallery-page .gallery-photo-grid img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  object-fit: cover;
  transition: transform 420ms ease;
}

/* =========================
   GALLERYページの写真ホバー
========================= */
.gallery-page .gallery-photo-grid figure:hover img {
  transform: scale(1.04);
}

/* =========================
   GALLERYページの縦長写真
========================= */
.gallery-page .gallery-photo-grid figure:nth-child(7n),
.gallery-page .gallery-photo-grid figure:nth-child(11n) {
  grid-row: span 2;
  min-height: 460px;
}

/* =========================
   GALLERYページの横長写真
========================= */
.gallery-page .gallery-photo-grid figure:nth-child(9n) {
  grid-column: span 2;
}

/* =========================
   GALLERYページの拡大表示背景
========================= */
.gallery-lightbox {
  position: fixed;
  z-index: 120;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(22px, 5vw, 56px);
  background: rgba(20, 20, 20, 0.78);
  opacity: 0;
  pointer-events: none;
  transition: opacity 220ms ease;
}

/* =========================
   GALLERYページの拡大表示中
========================= */
.gallery-lightbox.is-active {
  opacity: 1;
  pointer-events: auto;
}

/* =========================
   GALLERYページの拡大画像
========================= */
.gallery-lightbox img {
  display: block;
  max-width: min(100%, 1120px);
  max-height: 86vh;
  object-fit: contain;
  border-radius: var(--radius);
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.36);
  transform: scale(0.97);
  transition: transform 220ms ease;
}

/* =========================
   GALLERYページの拡大画像表示中
========================= */
.gallery-lightbox.is-active img {
  transform: scale(1);
}

/* =========================
   GALLERYページの拡大表示閉じるボタン
========================= */
.gallery-lightbox-close {
  position: fixed;
  top: clamp(18px, 3vw, 34px);
  right: clamp(18px, 3vw, 34px);
  width: 44px;
  height: 44px;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

/* =========================
   GALLERYページの閉じるボタン線
========================= */
.gallery-lightbox-close::before,
.gallery-lightbox-close::after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 34px;
  height: 2px;
  content: "";
  background: var(--white);
}

/* =========================
   GALLERYページの閉じるボタン左線
========================= */
.gallery-lightbox-close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

/* =========================
   GALLERYページの閉じるボタン右線
========================= */
.gallery-lightbox-close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* =========================
   CONTENTSページの問い合わせカード本文
========================= */
.contents-page .service-card-text {
  gap: 18px;
}

/* =========================
   CONTENTSページのフォーム
========================= */
.contents-page .service-card form {
  display: grid;
  gap: 18px;
}

/* =========================
   CONTENTSページのフォーム各項目
========================= */
.contents-page .service-card form > div {
  display: grid;
  gap: 8px;
}

/* =========================
   CONTENTSページのフォームラベル
========================= */
.contents-page .service-card label,
.contents-page .service-card form p {
  margin: 0;
  color: var(--muted);
  font-size: var(--type-small-size);
  font-weight: 700;
  letter-spacing: var(--type-body-tracking);
}

/* =========================
   CONTENTSページの入力欄
========================= */
.contents-page .service-card input:not([type="radio"]),
.contents-page .service-card textarea {
  width: 100%;
  padding: 13px 14px;
  border: 1px solid rgba(90, 89, 89, 0.18);
  border-radius: calc(var(--radius) - 2px);
  color: var(--ink);
  background: rgba(255, 253, 248, 0.92);
  font: inherit;
}

/* =========================
   CONTENTSページのテキストエリア
========================= */
.contents-page .service-card textarea {
  min-height: 170px;
  resize: vertical;
}

/* =========================
   CONTENTSページのラジオボタン
========================= */
.contents-page .service-card input[type="radio"] {
  margin: 0 8px 0 0;
  accent-color: var(--charcoal);
}

/* =========================
   CONTENTSページのラジオ項目
========================= */
.contents-page .service-card label:has(input[type="radio"]) {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  font-weight: 600;
}

/* =========================
   CONTENTSページの送信ボタン
========================= */
.contents-page .service-card button[type="submit"] {
  width: fit-content;
  min-height: 46px;
  padding: 0 28px;
  border: 1px solid var(--charcoal);
  border-radius: 999px;
  color: var(--white);
  background: var(--charcoal);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

/* =========================
   CONTENTSページの送信完了ポップ
========================= */
.form-toast {
  position: fixed;
  z-index: 80;
  right: clamp(18px, 4vw, 42px);
  bottom: clamp(18px, 4vw, 42px);
  max-width: min(420px, calc(100vw - 36px));
  padding: 16px 20px;
  color: #fffdf8 !important;
  background: rgba(90, 89, 89, 0.92);
  border: 1px solid rgba(255, 253, 248, 0.28);
  border-radius: var(--radius);
  box-shadow: 0 18px 48px rgba(90, 89, 89, 0.22);
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  line-height: 1.6 !important;
  letter-spacing: 0.04em !important;
  opacity: 0;
  pointer-events: none;
  transform: translateY(14px);
  transition: opacity 240ms ease, transform 240ms ease;
}

/* =========================
   CONTENTSページの送信失敗ポップ
========================= */
.form-toast[data-type="error"] {
  color: #fffdf8 !important;
  background: rgba(160, 56, 44, 0.94);
  border-color: rgba(255, 253, 248, 0.36);
}

/* =========================
   CONTENTSページの送信完了ポップ表示中
========================= */
.form-toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* =========================
   Flowセクションの背景と文字色
========================= */
.process {
  background: transparent;
  color: var(--white);
}

/* =========================
   Flowセクションの小見出し色
========================= */
.process .section-kicker {
  color: var(--sage);
}

/* =========================
   Worksセクションの背景
========================= */
.works {
  background: transparent;
}

/* =========================
   Galleryの2カラム配置
========================= */
.gallery-layout {
  display: grid;
  grid-template-columns: minmax(430px, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(34px, 5vw, 72px);
  align-items: center;
}

/* =========================
   Gallery左側テキスト
========================= */
.gallery-copy {
  max-width: 520px;
}

/* =========================
   Gallery左側本文
========================= */
.gallery-copy p:not(.section-kicker) {
  margin: 24px 0 0;
  color: var(--muted);
}

/* =========================
   Gallery右側の不規則画像群
========================= */
.gallery-collage {
  display: grid;
  grid-template-columns: repeat(9, minmax(0, 1fr));
  gap: clamp(12px, 1.4vw, 20px);
  align-items: start;
  transform: translateX(clamp(56px, 6.5vw, 118px));
}

/* =========================
   Gallery画像共通
========================= */
.gallery-collage img {
  width: 100%;
  height: auto;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: 0 20px 42px rgba(90, 89, 89, 0.12);
  opacity: 1;
  transition: opacity 360ms ease;
}

/* =========================
   Galleryランダム切り替え中
========================= */
.gallery-collage img.is-swapping {
  opacity: 0.12;
}

/* =========================
   Gallery画像1
========================= */
.gallery-collage img:nth-child(1) {
  grid-column: 1 / 4;
  grid-row: 2 / 7;
  aspect-ratio: 3 / 4.9;
  margin-top: clamp(16px, 2.4vw, 36px);
}

/* =========================
   Gallery画像2
========================= */
.gallery-collage img:nth-child(2) {
  grid-column: 4 / 8;
  grid-row: 1 / 3;
  aspect-ratio: 16 / 9;
  margin-top: 0;
}

/* =========================
   Gallery画像3
========================= */
.gallery-collage img:nth-child(3) {
  grid-column: 4 / 7;
  grid-row: 3 / 7;
  aspect-ratio: 3 / 4.1;
  margin-top: 0;
}

/* =========================
   Gallery画像4
========================= */
.gallery-collage img:nth-child(4) {
  grid-column: 7 / 9;
  grid-row: 3 / 7;
  aspect-ratio: 3 / 4.25;
  margin-top: clamp(18px, 2.8vw, 42px);
}

/* =========================
   Gallery画像5
========================= */
.gallery-collage img:nth-child(5) {
  grid-column: 2 / 6;
  grid-row: 7 / 9;
  aspect-ratio: 16 / 8.8;
  margin-top: clamp(14px, 2vw, 28px);
}

/* =========================
   Gallery画像6
========================= */
.gallery-collage img:nth-child(6) {
  grid-column: 6 / 9;
  grid-row: 7 / 10;
  aspect-ratio: 3 / 4.3;
  margin-top: 0;
}

/* =========================
   Atelier全体配置
========================= */
.atelier-layout {
  display: grid;
  gap: clamp(34px, 5vw, 64px);
}

/* =========================
   Atelierの3枚画像カラム
========================= */
.atelier-images {
  --atelier-slide: 34%;
  --atelier-gap: clamp(16px, 2.3vw, 30px);
  width: min(1120px, 100%);
  margin: 0 auto;
  overflow: visible;
}

/* =========================
   Atelier画像トラック
========================= */
.atelier-track {
  display: flex;
  align-items: center;
  gap: var(--atelier-gap);
  transition: transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

/* =========================
   Atelier画像スライド
========================= */
.atelier-slide {
  flex: 0 0 var(--atelier-slide);
  aspect-ratio: 16 / 9;
  margin: 0;
  padding: 0;
  visibility: visible;
  overflow: hidden;
  opacity: 0.78;
  transform: scale(0.82);
  transition: opacity 360ms ease, visibility 360ms ease, transform 620ms cubic-bezier(0.22, 1, 0.36, 1);
}

/* =========================
   Atelierで遠い画像を隠す
========================= */
.atelier-slide.is-away {
  visibility: hidden;
  opacity: 0;
}

/* =========================
   Atelier中央画像
========================= */
.atelier-slide.is-center {
  opacity: 1;
  transform: scale(1.08);
}

/* =========================
   Atelier画像本体
========================= */
.atelier-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
  border-radius: var(--radius);
}

/* =========================
   Atelier画像選択ボタン
========================= */
.atelier-selector {
  display: flex;
  justify-content: center;
  gap: 10px;
}

/* =========================
   Atelier画像選択ボタン本体
========================= */
.atelier-selector button {
  width: 42px;
  height: 42px;
  color: rgba(255, 253, 248, 0.78);
  background: transparent;
  border: 1px solid rgba(255, 253, 248, 0.34);
  border-radius: 999px;
  font: inherit;
  font-size: 0.78rem;
  font-weight: 700;
  cursor: pointer;
  transition: color 180ms ease, border-color 180ms ease, background 180ms ease;
}

/* =========================
   選択中のAtelier画像ボタン
========================= */
.atelier-selector button.is-active {
  color: var(--charcoal);
  background: var(--paper);
  border-color: var(--paper);
}

/* =========================
   各セクションのもっと見るボタン
========================= */
.section-more {
  display: inline-flex;
  width: max-content;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  margin-top: clamp(28px, 4vw, 46px);
  gap: 12px;
  padding: 0 22px;
  color: var(--ink);
  background: transparent;
  border: 1px solid currentColor;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: opacity 180ms ease, transform 180ms ease;
}

/* =========================
   もっと見るボタン内の横線
========================= */
.section-more::after {
  display: block;
  width: 28px;
  height: 1px;
  content: "";
  background: currentColor;
}

/* =========================
   もっと見るボタンホバー
========================= */
.section-more:hover {
  opacity: 0.68;
  transform: translateY(-2px);
}

/* =========================
   暗い背景用もっと見るボタン
========================= */
.section-more-light {
  color: var(--white);
}

/* =========================
   暗い背景用もっと見るボタンホバー
========================= */
.section-more-light:hover {
  color: var(--white);
  opacity: 0.68;
}

/* =========================
   Newsセクションの背景
========================= */
.news {
  background: transparent;
}

/* =========================
   Newsリスト全体
========================= */
.news-list {
  display: grid;
  border-top: 1px solid var(--line);
}

/* =========================
   News各行
========================= */
.news-list article {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 28px;
  padding: 24px 0;
  border-bottom: 1px solid var(--line);
}

/* =========================
   News日付
========================= */
.news-list time {
  color: var(--muted);
}

/* =========================
   Newsタイトル
========================= */
.news-list h3 {
  margin: 0;
}

/* =========================
   Contactセクションの背景
========================= */
.contact {
  background: transparent;
}

/* =========================
   会社情報とGoogleマップ配置
========================= */
.company-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(24px, 5vw, 56px);
  align-items: stretch;
}

/* =========================
   Company内のもっと見るボタン
========================= */
.company-grid > .section-more {
  grid-column: 1 / -1;
}

/* =========================
   会社情報とコンタクトの縦積み
========================= */
.company-stack {
  display: contents;
}

/* =========================
   PC時のGoogleマップ下段配置
========================= */
.map-placeholder {
  grid-column: 1 / -1;
}

/* =========================
   会社情報ボックス
========================= */
.company-info,
.contact-box {
  padding: 32px;
  background: rgba(255, 253, 248, 0.7);
  border: 1px solid rgba(90, 89, 89, 0.1);
  border-radius: var(--radius);
}

/* =========================
   会社情報リスト
========================= */
.company-info dl {
  display: grid;
  gap: 16px;
  margin: 28px 0 0;
}

/* =========================
   会社情報各行
========================= */
.company-info dl div {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(90, 89, 89, 0.12);
}

/* =========================
   会社情報ラベル
========================= */
.company-info dt {
  color: var(--muted);
}

/* =========================
   会社情報内容
========================= */
.company-info dd {
  margin: 0;
}

/* =========================
   コンタクトボックス本文
========================= */
.contact-box p {
  margin: 18px 0 0;
  color: var(--muted);
}

/* =========================
   コンタクトボタン配置
========================= */
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

/* =========================
   Googleマップ埋め込み枠
========================= */
.map-placeholder {
  min-height: clamp(300px, 34vw, 430px);
  overflow: hidden;
  background: rgba(255, 253, 248, 0.64);
  border: 1px solid rgba(90, 89, 89, 0.12);
  border-radius: var(--radius);
}

/* =========================
   Company右カラム用Googleマップ
========================= */
.company-map-card {
  grid-column: auto;
  height: 100%;
  min-height: clamp(300px, 30vw, 430px);
}

/* =========================
   Googleマップiframe
========================= */
.map-placeholder iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: inherit;
  border: 0;
  filter: grayscale(0.12) contrast(0.96);
}

/* =========================
   フッター上の大型テキスト
========================= */
.footer-wordmark {
  position: relative;
  z-index: 1;
  overflow: hidden;
  min-height: clamp(170px, 20vw, 300px);
  padding: 0;
  color: var(--paper);
  background: transparent;
}

/* =========================
   フッター上の大型テキスト本体
========================= */
.footer-wordmark span {
  display: block;
  width: max-content;
  margin-left: calc(var(--left-rail-offset) + 8px);
  font-family: var(--font-display);
  font-size: clamp(4.8rem, 14vw, 16rem);
  font-weight: 800;
  line-height: 0.72;
  letter-spacing: 0;
  white-space: nowrap;
  opacity: 1;
  transform: translateY(clamp(86px, 11vw, 152px));
}

/* =========================
   フッター全体
========================= */
.site-footer {
  display: block;
  color: var(--charcoal);
  background: transparent;
}

/* =========================
   フッター内メニュー帯
========================= */
.footer-menu {
  position: relative;
  z-index: 1;
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  margin: 0;
  padding: clamp(42px, 6vw, 78px) max(clamp(20px, 5vw, 64px), calc((100vw - 1120px) / 2)) clamp(34px, 5vw, 62px);
  background: var(--paper);
  border-top: 0;
  border-bottom: 1px solid rgba(90, 89, 89, 0.72);
  transform: none;
}

/* =========================
   フッター下部（車アニメーション・コピーライト）
========================= */
.footer-main {
  background: var(--paper);
}

/* =========================
   フッター内ナビ
========================= */
.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 16px clamp(18px, 2.3vw, 32px);
  align-items: center;
  font-size: clamp(0.78rem, 1vw, 0.95rem);
  font-weight: 700;
}

/* =========================
   フッター内ナビ項目
========================= */
.footer-nav a {
  transition: opacity 180ms ease, transform 180ms ease;
}

/* =========================
   フッター内ナビホバー
========================= */
.footer-nav a:hover {
  opacity: 0.68;
  transform: translateY(-1px);
}

/* =========================
   フッターInstagram
========================= */
.footer-instagram {
  display: grid;
  min-width: 68px;
  height: 48px;
  place-items: center;
  border-left: 1px solid rgba(90, 89, 89, 0.72);
}

/* =========================
   フッター内テキスト
========================= */
.footer-legal p,
.footer-legal small {
  margin: 0;
}

/* =========================
   フッター下の車が走る帯
========================= */
.footer-car-road {
  position: relative;
  overflow: hidden;
  min-height: clamp(120px, 16vw, 210px);
  background: var(--paper);
}

/* =========================
   車画像を横に流すレーン
========================= */
.footer-car-track {
  position: absolute;
  right: -28vw;
  bottom: clamp(18px, 3vw, 38px);
  display: flex;
  width: max-content;
  animation: carDrive 10s linear infinite;
}

/* =========================
   車として流す画像
========================= */
.footer-car-track img {
  width: clamp(118px, 17vw, 240px);
  height: auto;
  filter: drop-shadow(0 18px 24px rgba(90, 89, 89, 0.18));
  animation: carBounce 0.72s ease-in-out infinite;
}

/* =========================
   フッター最下部コピーライト
========================= */
.footer-legal {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 64px) 30px calc(clamp(20px, 5vw, 64px) + var(--left-rail-offset));
  color: var(--charcoal);
  background: var(--paper);
}

/* =========================
   共通ルール：小見出し
========================= */
.section-band .section-kicker {
  margin: 0 0 14px;
  font-family: var(--font-display);
  font-size: var(--type-kicker-size);
  font-weight: 700;
  line-height: 1.35;
  letter-spacing: var(--type-kicker-tracking);
  text-transform: uppercase;
}

/* =========================
   共通ルール：カード見出し
========================= */
.section-band h3 {
  font-family: var(--font-body);
  font-size: var(--type-subheading-size);
  font-weight: 700;
  line-height: 1.42;
  letter-spacing: 0.02em;
}

/* =========================
   共通ルール：本文
========================= */
.section-band p:not(.section-kicker),
.section-band dd {
  font-family: var(--font-body);
  font-size: var(--type-body-size);
  font-weight: 500;
  line-height: var(--type-body-line);
  letter-spacing: var(--type-body-tracking);
}

/* =========================
   共通ルール：小さい文字
========================= */
.section-band :where(time, dt, .service-number) {
  font-size: var(--type-small-size);
  line-height: 1.55;
  letter-spacing: 0.03em;
}

/* =========================
   フッター内の小さい文字
========================= */
.footer-nav,
.footer-legal p,
.footer-legal small {
  font-size: var(--type-small-size);
  line-height: 1.55;
  letter-spacing: 0.03em;
}

/* =========================
   車が右から左へ走る動き
========================= */
@keyframes carDrive {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-135vw);
  }
}

/* =========================
   車の上下バウンド
========================= */
@keyframes carBounce {
  0%,
  100% {
    transform: translateY(0);
  }

  25% {
    transform: translateY(-3px) rotate(-0.3deg);
  }

  50% {
    transform: translateY(1px);
  }

  75% {
    transform: translateY(-4px) rotate(0.3deg);
  }
}

/* =========================
   タブレット・スマホ表示
========================= */
@media (max-width: 820px) {
  :root {
    --left-rail-offset: 16px;
  }

  /* =========================
     スマホ時のヘッダー余白
  ========================= */
  .site-header {
    top: 12px;
    left: calc(12px + var(--left-rail-offset));
    right: 12px;
    padding: 14px 64px 14px 18px;
  }

  /* =========================
     スマホ時はPC用ヘッダーメニューを非表示
  ========================= */
  .header-nav {
    display: none;
  }

  /* =========================
     スマホ時の4ドットメニューボタン位置
  ========================= */
  .hamburger {
    top: 29px;
    right: 28px;
  }

  /* =========================
     スマホ時のInstagramアイコン位置
  ========================= */
  .header-instagram {
    top: 29px;
    right: 78px;
  }

  /* =========================
     スマホ時の全画面メニュー全体位置
  ========================= */
  .menu-overlay {
    align-items: flex-start;
    overflow-y: auto;
  }

  /* =========================
     スマホ時の全画面メニュー背景
  ========================= */
  .menu-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    width: min(860px, calc(100% - 44px));
    max-height: none;
    padding: clamp(118px, 16vh, 152px) 0 36px;
    overflow: visible;
    transform: none;
  }

  /* =========================
     スマホ時の全画面メニュー項目
  ========================= */
  .menu-list {
    width: min(360px, 100%);
    align-self: center;
    text-align: left;
  }

  /* =========================
     スマホ時の全画面メニュー主要項目
  ========================= */
  .menu-list a {
    font-size: clamp(0.86rem, 4.2vw, 1.12rem);
    line-height: 1.15;
  }

  /* =========================
     スマホ時の全画面メニュー項目間隔
  ========================= */
  .menu-list {
    gap: 12px;
  }

  /* =========================
     スマホ時の各種メニュー
  ========================= */
  .menu-service-list {
    width: min(360px, 100%);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-self: center;
    justify-items: start;
    padding: 20px 0 0;
    gap: 10px 18px;
    border-left: 0;
    border-top: 1px solid rgba(90, 89, 89, 0.28);
    text-align: left;
  }

  /* =========================
     スマホ時の各種メニューリンク
  ========================= */
  .menu-service-list a {
    display: block;
    font-size: 0.74rem;
    line-height: 1.2;
  }

  /* =========================
     スマホ時の各種メニュー見出し
  ========================= */
  .menu-service-list p {
    margin-bottom: 2px;
    font-size: 0.68rem;
  }

  /* =========================
     スマホ時のタイトルバナー
  ========================= */
  .section-title-banner {
    min-height: 86px;
  }

  /* =========================
     スマホ時のタイトルバナー日本語
  ========================= */
  .section-title-banner strong {
    font-size: 0.88rem;
  }

  /* =========================
     スマホ時の全画面メニュー内コンタクト
  ========================= */
  .menu-contact {
    width: min(360px, 100%);
    align-self: center;
    max-width: none;
    margin-top: 28px;
    padding: 16px 18px;
    text-align: left;
  }

  /* =========================
     スマホ時の全画面メニュー内コンタクト見出し
  ========================= */
  .menu-contact h2 {
    font-size: clamp(1.25rem, 6.4vw, 1.8rem);
  }

  /* =========================
     スマホ時の全画面メニュー内コンタクト本文
  ========================= */
  .menu-contact-copy {
    margin-top: 8px;
    font-size: 0.76rem;
    line-height: 1.45;
  }

  /* =========================
     スマホ時の全画面メニュー内コンタクトボタン配置
  ========================= */
  .menu-contact-actions {
    gap: 8px;
    margin-top: 12px;
    justify-content: flex-start;
  }

  /* =========================
     スマホ時の全画面メニュー内コンタクトボタン
  ========================= */
  .menu-contact-actions a {
    min-width: 104px;
    min-height: 34px;
    padding: 0 14px;
    font-size: 0.76rem;
    border-width: 1px;
  }

  /* =========================
     スマホ時のファーストビュー高さ
  ========================= */
  .hero {
    min-height: 108vh;
  }

  /* =========================
     スマホ時の各セクション上下余白
  ========================= */
  .section-band {
    padding: clamp(84px, 22vw, 124px) 0;
  }

  /* =========================
     スマホ時の背景回転ロゴ
  ========================= */
  .section-bg-logo {
    left: calc(50% + (var(--left-rail-offset) / 2));
    width: min(72vw, 320px);
  }

  /* =========================
     スマホ時のヒーロー文字位置
  ========================= */
  .hero-content {
    margin-bottom: 8vh;
  }

  /* =========================
     スマホ時は各カラムを1列にする
  ========================= */
  .service-grid,
  .gallery-layout,
  .gallery-page .gallery-photo-grid,
  .atelier-images,
  .company-grid,
  .news-list article {
    grid-template-columns: 1fr;
  }

  /* =========================
     スマホ時のGALLERY写真一覧
  ========================= */
  .gallery-page .gallery-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* =========================
     スマホ時のGALLERYカテゴリメニュー
  ========================= */
  .gallery-page .gallery-category-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 42px;
  }

  /* =========================
     スマホ時のGALLERYカテゴリメニュー項目
  ========================= */
  .gallery-page .gallery-category-nav a {
    min-height: 82px;
    padding: 15px;
  }

  /* =========================
     スマホ時のPAINTページ大写真＋説明
  ========================= */
  .paint-service-main {
    grid-template-columns: 1fr;
  }

  /* =========================
     スマホ時のPAINTページ大写真
  ========================= */
  .paint-service-main figure {
    height: clamp(220px, 58vw, 320px);
  }

  /* =========================
     スマホ時のPAINTページ小写真
  ========================= */
  .paint-photo-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  /* =========================
     スマホ時のPAINTページ小写真サイズ
  ========================= */
  .paint-photo-grid img {
    height: clamp(120px, 34vw, 180px);
  }

  /* =========================
     スマホ時のレンタカー車種紹介
  ========================= */
  .rental-car-list {
    grid-template-columns: 1fr;
  }

  /* =========================
     スマホ時のレンタカー車種紹介画像
  ========================= */
  .rental-car-list img {
    height: clamp(210px, 58vw, 320px);
  }

  /* =========================
     スマホ時のNEWS一覧
  ========================= */
  .news-page .news-list article,
  .news .news-list article {
    grid-template-columns: 92px minmax(0, 1fr) 38px;
    gap: 10px;
  }

  /* =========================
     スマホ時のTOPページNEWS一覧（矢印なし）
  ========================= */
  .news .news-list article {
    grid-template-columns: 92px minmax(0, 1fr);
  }

/* =========================
     スマホ時のNEWS本文リンク
  ========================= */
  .news-page .news-detail-link,
  .news .news-detail-link {
    width: 38px;
    height: 38px;
  }

  /* =========================
     スマホ時のGALLERY写真枠
  ========================= */
  .gallery-page .gallery-photo-grid figure,
  .gallery-page .gallery-photo-grid figure:nth-child(n) {
    min-height: 180px;
    grid-column: auto;
    grid-row: auto;
  }

  /* =========================
     スマホ時の会社概要縦積み
  ========================= */
  .company-stack {
    display: grid;
    gap: 18px;
  }

  /* =========================
     スマホ時のServiceカード高さ
  ========================= */
  .service-card {
    min-height: 230px;
    grid-template-columns: 1fr;
  }

  /* =========================
     スマホ時のService画像
  ========================= */
  .service-card-image img {
    min-height: 180px;
  }

  /* =========================
     スマホ時のGallery画像群
  ========================= */
  .gallery-collage {
    min-height: auto;
    grid-template-columns: repeat(9, minmax(0, 1fr));
    gap: 10px;
    transform: translateX(0);
  }

  /* =========================
     スマホ時のGallery画像配置
  ========================= */
  .gallery-collage img,
  .gallery-collage img:nth-child(n) {
    width: 100%;
  }

  /* =========================
     スマホ時のGallery画像1
  ========================= */
  .gallery-collage img:nth-child(1) {
    grid-column: 1 / 4;
    grid-row: 2 / 7;
    margin-top: 18px;
    aspect-ratio: 3 / 4.9;
  }

  /* =========================
     スマホ時のGallery画像2
  ========================= */
  .gallery-collage img:nth-child(2) {
    grid-column: 4 / 8;
    grid-row: 1 / 3;
    margin-top: 0;
    aspect-ratio: 16 / 9;
  }

  /* =========================
     スマホ時のGallery画像3
  ========================= */
  .gallery-collage img:nth-child(3) {
    grid-column: 4 / 7;
    grid-row: 3 / 7;
    margin-top: 0;
    aspect-ratio: 3 / 4.1;
  }

  /* =========================
     スマホ時のGallery画像4
  ========================= */
  .gallery-collage img:nth-child(4) {
    grid-column: 7 / 9;
    grid-row: 3 / 7;
    margin-top: 18px;
    aspect-ratio: 3 / 4.25;
  }

  /* =========================
     スマホ時のGallery画像5
  ========================= */
  .gallery-collage img:nth-child(5) {
    grid-column: 2 / 6;
    grid-row: 7 / 9;
    margin-top: 10px;
    aspect-ratio: 16 / 8.8;
  }

  /* =========================
     スマホ時のGallery画像6
  ========================= */
  .gallery-collage img:nth-child(6) {
    grid-column: 6 / 9;
    grid-row: 7 / 10;
    margin-top: 0;
    aspect-ratio: 3 / 4.3;
  }

  /* =========================
     スマホ時のAtelier画像
  ========================= */
  /* =========================
     スマホ時のAtelier左右見切れスライド
  ========================= */
  .atelier-images {
    --atelier-slide: 70%;
    --atelier-gap: 12px;
    width: calc(100% + 48px);
    margin-left: -24px;
    overflow: hidden;
  }

  /* =========================
     スマホ時のAtelier画像スライド
  ========================= */
  .atelier-slide {
    flex-basis: var(--atelier-slide);
    padding: 0;
    transform: scale(0.82);
  }

  /* =========================
     スマホ時のAtelier左右画像
  ========================= */
  .atelier-slide.is-center {
    transform: scale(1.08);
    opacity: 1;
  }

  /* =========================
     スマホ時のOriginスクロール演出
  ========================= */
  .origin-motion {
    height: 230vh;
  }

  /* =========================
     スマホ時のOrigin英字
  ========================= */
  .origin-motion-word {
    font-size: clamp(2.45rem, 13vw, 4.8rem);
  }

  /* =========================
     スマホ時のOrigin左側英字
  ========================= */
  .origin-motion-word-left {
    top: 42%;
    transform: translate(-50%, -50%) translateX(calc(-4vw - var(--origin-left-shift)));
  }

  /* =========================
     スマホ時のOrigin右側英字
  ========================= */
  .origin-motion-word-right {
    top: 56%;
    transform: translate(-50%, -50%) translateX(calc(4vw + var(--origin-right-shift)));
  }

  /* =========================
     スマホ時のOrigin全面画像後の文字
  ========================= */
  .origin-motion-copy {
    left: calc(24px + var(--left-rail-offset));
    top: 50%;
    bottom: auto;
    display: grid;
    width: calc(100% - 48px - var(--left-rail-offset));
    grid-template-columns: 1fr;
    gap: 0;
    transform: translateY(calc(-50% + var(--origin-copy-y)));
  }

  /* =========================
     スマホ時のOrigin本文
  ========================= */
  .origin-copy-text p {
    margin-top: 12px;
  }

  /* =========================
     スマホ時のフッター縦並び
  ========================= */
  .site-footer {
    display: block;
  }

  /* =========================
     スマホ時のフッター大型テキスト
  ========================= */
  .footer-wordmark {
    min-height: clamp(170px, 20vw, 300px);
    padding-top: 0;
  }

  /* =========================
     スマホ時のフッター大型テキスト本体
  ========================= */
  .footer-wordmark span {
    margin-left: calc(var(--left-rail-offset) + 8px);
    font-size: clamp(4.8rem, 14vw, 16rem);
    line-height: 0.72;
    transform: translateY(clamp(92px, 24vw, 124px));
  }

  /* =========================
     スマホ時のフッターメニュー帯
  ========================= */
  .footer-menu {
    display: grid;
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 18px;
    padding-top: clamp(34px, 10vw, 58px);
  }

  /* =========================
     スマホ時のフッター内ナビ中央配置
  ========================= */
  .footer-nav {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(3, max-content);
    justify-content: center;
    gap: 18px clamp(24px, 7vw, 44px);
  }

  /* =========================
     スマホ時のフッターInstagram
  ========================= */
  .footer-instagram {
    justify-self: center;
    min-width: 0;
    width: 52px;
    height: 52px;
    margin: 0;
    border-left: 0;
    border-top: 0;
  }

  /* =========================
     スマホ時の車が走る帯
  ========================= */
  .footer-car-road {
    min-height: 130px;
  }

  /* =========================
     スマホ時の車画像サイズ
  ========================= */
  .footer-car-track img {
    width: clamp(104px, 34vw, 150px);
  }

  /* =========================
     スマホ時のコピーライト配置
  ========================= */
  .footer-legal {
    align-items: flex-start;
    flex-direction: column;
  }
}

/* =========================
   小さいスマホ表示
========================= */
@media (max-width: 520px) {
  /* =========================
     小さいスマホ時のGALLERYカテゴリメニュー
  ========================= */
  .gallery-page .gallery-category-nav {
    grid-template-columns: 1fr;
  }

  /* =========================
     小さいスマホ時のフッター内ナビ
  ========================= */
  .footer-nav {
    grid-template-columns: repeat(2, max-content);
    justify-content: center;
    gap: 16px clamp(28px, 10vw, 42px);
  }

  /* =========================
     小さいスマホ時はボタンを横幅いっぱいにする
  ========================= */
  .button {
    width: 100%;
  }
}
