/* TCSジャパン福岡 — STUDIO版の静的コピー（試作）
   元サイト: https://tcs-japan-fukuoka.studio.site/
   基準幅 1280px（STUDIOの設計幅）／ブレークポイント 840px（タブレット）・540px（スマホ） */

:root {
  --beige: #e7e0d4;
  --green: #00463c;
  --ink: #333333;
  --pink: #ed4a6a;
  --cream: #f7f1e1;
  --lightgreen: #35635d;
  --nav-ink: #252525;
  --f-race: 'Racing Sans One', 'Arial Black', Impact, sans-serif;
  --f-jp: 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Yu Gothic', Meiryo, sans-serif;
  --f-lobster: 'Lobster', 'Brush Script MT', cursive;
  --f-lato: 'Lato', var(--f-jp);
  --f-mont: 'Montserrat', var(--f-jp);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; } /* ページ内スクロールは main.js で元と同じ速さ（約490ms）に揃える */
body {
  margin: 0;
  background: #fff;
  color: var(--ink);
  font-family: var(--f-jp);
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p, h1, h2, h3 { margin: 0; }
[hidden] { display: none !important; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.w { max-width: 1280px; margin: 0 auto; position: relative; }

/* ---------- スクロールで出てくる（STUDIOの appear を実測して再現） ----------
   初期状態: 透明＋ずらし（--ap-x / --ap-y）。時間 --ap-dur（既定2000ms）・遅れ --ap-delay（既定0）
   イージングは元の既定値 cubic-bezier(.4,.4,0,1)。スマホ幅は --ap-x-sp / --ap-dur-sp があれば差し替え */
.js [data-appear] {
  opacity: 0;
  translate: var(--ap-x, 0px) var(--ap-y, 0px);
  transition: opacity var(--ap-dur, 2000ms) cubic-bezier(.4,.4,0,1) var(--ap-delay, 0ms),
              translate var(--ap-dur, 2000ms) cubic-bezier(.4,.4,0,1) var(--ap-delay, 0ms);
}
.js [data-appear].is-in { opacity: 1; translate: 0px 0px; }

/* ---------- 固定ロゴ ---------- */
.fixed-logo { position: fixed; top: 0; left: 13px; width: 340px; z-index: 60; }
.fixed-logo img { width: 100%; }

/* ---------- ヘッダー ---------- */
.site-header { position: relative; height: 80px; background: var(--beige); z-index: 50; }
.site-header .w { height: 100%; }
.gnav { position: absolute; right: 50px; top: 0; height: 100%; display: flex; align-items: flex-start; gap: 6px; }
.pill {
  margin-top: 15px; height: 48px; padding: 0 30px;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: #fff; border: 1px solid var(--nav-ink); border-radius: 51px; color: var(--nav-ink);
  transition: background-color .3s cubic-bezier(.4,.4,0,1);
}
.pill:hover { background: var(--pink); } /* 元: ホバーで背景がピンク #ed4a6a に（0.3s） */
.pill .en { font-family: var(--f-race); font-size: 21px; line-height: 21px; }
.pill .ja { font-size: 10px; line-height: 10px; font-weight: 500; margin-top: 2px; }
.pill.is-dark { background: var(--green); color: #fff; }
.pill.is-dark:hover { background: var(--pink); }
.tiktok-badge { margin-left: 0; margin-top: 4px; width: 50px; text-align: center; color: #0f0f0f; }
.tiktok-badge img { width: 50px; height: 50px; border-radius: 50%; }
.tiktok-badge span { font-family: var(--f-race); font-size: 14px; line-height: 20px; display: block; }
.menu-btn {
  display: none; position: absolute; right: 20px; top: 14px; width: 50px; height: 50px;
  border: 0; border-radius: 50%; background: var(--ink); color: #fff; cursor: pointer; padding: 0;
  align-items: center; justify-content: center;
}

/* ---------- TOPボタン ---------- */
/* 元: スクロール量に関係なく常に表示（出入りのアニメーションもホバー演出も無い）。押すと約490msで上へ */
.to-top { position: fixed; right: 40px; bottom: 29px; width: 70px; z-index: 55; }

/* ---------- ヒーロー（スライダー） ---------- */
.hero { position: relative; height: 640px; overflow: hidden; background: #111; }
.hero-track { display: flex; height: 100%; } /* 動きは main.js（1000ms・cubic-bezier(.58,.21,.41,.96)） */
.hero-slide { flex: 0 0 100%; height: 100%; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-arrow {
  position: absolute; bottom: 24px; width: 40px; height: 40px; border-radius: 50%; border: 0;
  background: #fff; color: #222; display: flex; align-items: center; justify-content: center; cursor: pointer; padding: 0;
  transition: background-color .4s cubic-bezier(.4,.4,0,1);
  z-index: 56; /* 元と同じく、重なったときは矢印がTOPボタンより上 */
}
.hero-arrow:hover { background: #e1e1e1; } /* 元: ホバーで rgb(225,225,225)（0.4s） */
.hero-arrow.prev { right: 144px; }
.hero-arrow.next { right: 80px; }

/* ---------- Total Car Support の流れる帯 ---------- */
/* 元: 1枚の幅＝帯の内側の幅の30%（スマホ60%）、1枚ぶんを4秒で等速に左へ。
   1280px幅で 382.8px÷4s ≒ 95.7px/秒、400px幅で 240px÷4s ＝ 60px/秒。
   画像8枚ぶん（トラックの半分）で 8×4秒＝32秒 → 幅が変わっても速さの関係は元と同じ */
.ticker { height: 10vh; background: #fff; border: 2px solid var(--green); overflow: hidden; display: flex; align-items: center; container-type: inline-size; }
.ticker-track { display: flex; align-items: center; width: max-content; animation: ticker 32s linear infinite; }
.ticker-track img { width: 30cqw; height: auto; flex: 0 0 auto; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .ticker-track { animation: none; } }

/* ---------- Re:VIBES（想い） ---------- */
.revibes { position: relative; background: url(images/revibes-bg.webp) center top / cover no-repeat; }
.revibes .w { padding: 200px 40px 210px 300px; }
.revibes-vertical { position: absolute; left: 0; top: 0; width: 130px; }
.revibes-catch { width: 777px; margin-bottom: 100px; }
.revibes-text p { font-size: 30px; line-height: 75px; font-weight: 700; color: var(--ink); }
.revibes-text .gap { height: 90px; }

/* ---------- OUR PRODUCTS ---------- */
.products { background: #fff; }
.products .w { padding: 132px 0 170px; }
.products-head { position: relative; width: 700px; margin: 0 auto; }
.products-head .ja { position: absolute; left: 580px; top: 28px; font-size: 30px; line-height: 42px; font-weight: 700; color: var(--pink); }
.coming { width: 529px; height: 156px; margin: 50px auto; display: flex; align-items: center; justify-content: center; font-family: var(--f-mont); font-size: 40px; font-weight: 700; color: var(--ink); }
.jeeps { width: 100%; }

/* ---------- SERVICES ---------- */
.services { background: var(--green); color: var(--cream); overflow: hidden; position: relative; z-index: 2; }
.services .w { padding-top: 80px; }
.services-title { margin-left: 550px; width: 510px; font-family: var(--f-race); font-size: 150px; line-height: 150px; color: var(--cream); }
.services-title span { display: block; }
.services-title span + span { text-align: right; }
.services-title-ja { width: 510px; margin-left: 550px; text-align: right; font-size: 25px; line-height: 25px; font-weight: 700; margin-bottom: 100px; }

.svc { display: grid; align-items: center; margin-bottom: 200px; }
.svc.left { grid-template-columns: 3.125% 48.4375% 17.1875% 29.6875% 1.5625%; }
.svc.left .svc-box { grid-column: 2 / 4; grid-row: 1; }
.svc.left .svc-img { grid-column: 3 / 5; grid-row: 1; }
.svc.right { grid-template-columns: 3.125% 41.40625% 5.46875% 50%; }
.svc.right .svc-box { grid-column: 3 / 5; grid-row: 1; margin-right: -130px; }
.svc.right .svc-img { grid-column: 2 / 4; grid-row: 1; }
.svc-img { position: relative; z-index: 2; }
.svc-img img { width: 100%; height: auto; aspect-ratio: 3 / 2; object-fit: cover; }
.svc-box { background: var(--lightgreen); padding: 60px 40px 60px 170px; }
.svc-box .en { font-family: var(--f-race); font-size: 61px; line-height: 60px; letter-spacing: .05em; }
.svc-box .ja { font-size: 22px; line-height: 22px; font-weight: 900; margin-top: 20px; }
.checker {
  width: 260px; height: 26px; margin-top: 23px;
  background: repeating-conic-gradient(var(--cream) 0 25%, transparent 0 50%) 0 0 / 26px 26px;
}
.svc-box .body { max-width: 350px; margin-top: 51px; font-size: 16px; line-height: 30px; font-weight: 500; }
.svc-box .body p + p { margin-top: 30px; }
.price-link {
  margin-top: 30px; padding: 0; border: 0; background: none; cursor: pointer;
  color: var(--cream); font: 800 16px/16px var(--f-jp); text-decoration: underline; text-underline-offset: 3px;
}
.svc.insurance { align-items: start; }
.svc.insurance .svc-img { margin-top: 60px; }
.svc.insurance .svc-box { padding-left: 130px; padding-bottom: 90px; }
.svc.insurance .body { max-width: 406px; }

.call-card { width: 424px; max-width: 100%; background: var(--cream); border: 3px solid var(--green); padding: 3px; margin-top: 50px; color: var(--green); text-align: center; }
.call-card + .call-note { margin-top: 10px; }
.call-card-inner { border: 3px solid var(--green); padding: 10px 10px 12px; }
.call-card .label { display: inline-block; background: var(--green); color: var(--cream); font-size: 18px; line-height: 31px; font-weight: 700; padding: 2px 10px; }
.call-card .co { font-size: 18px; line-height: 31px; font-weight: 800; margin-top: 5px; }
.call-card .num { font-family: var(--f-lobster); font-size: 45px; line-height: 47px; }
.call-card .num a { color: inherit; }
.call-card .small { font-size: 16px; line-height: 22.4px; }
.call-note { width: 424px; max-width: 100%; text-align: center; font: 700 18px/25px var(--f-lato); color: var(--cream); margin-bottom: 10px; }
.call-card.slim { margin-top: 10px; }
.call-card.slim .small { line-height: 31px; }

/* ---------- COMPANY ---------- */
.company { display: flex; justify-content: space-between; gap: 20px; padding: 30px 90px 200px; }
.company h2 { font-family: var(--f-race); font-weight: 400; font-size: 90px; line-height: 60px; letter-spacing: .05em; color: var(--cream); margin-bottom: 70px; }
.company dl { margin: 0; display: grid; grid-template-columns: 162px minmax(0, 378px); row-gap: 20px; font-size: 16px; line-height: 24px; }
.company dt { font-weight: 700; }
.company dd { margin: 0; font-weight: 400; }
.company-map { flex: 0 0 540px; max-width: 100%; height: 400px; margin-top: -30px; border: 0; }

/* ---------- CONTACT ---------- */
.contact { background: #fff; position: relative; }
.contact-title { font-family: var(--f-race); font-weight: 400; font-size: 151px; line-height: 151px; color: var(--green); text-align: center; margin-top: -24px; position: relative; z-index: 1; }
.contact-cards { display: flex; justify-content: center; gap: 25px; padding: 80px 20px 76px; flex-wrap: wrap; }
.box2 { width: 488px; max-width: 100%; background: #fff; border: 3px solid var(--green); padding: 3px; color: var(--green); }
.box2-inner { border: 3px solid var(--green); height: 100%; min-height: 170px; display: flex; align-items: center; gap: 20px; padding: 20px; }
.box2 .pic { width: 150px; flex: 0 0 auto; }
.box2 .txt { flex: 1; text-align: center; }
.box2 .num { font-family: var(--f-lobster); font-size: 41px; line-height: 43px; }
.box2 .hrs { font-size: 18px; line-height: 31px; font-weight: 500; }
.form-btn { display: inline-flex; align-items: center; gap: 16px; background: var(--green); color: #fff; height: 48px; padding: 0 19px; font-size: 21px; font-weight: 700; }
.form-btn img { width: 13px; }
/* 元のホバー演出（実測）: ボタンは背景、文字リンクは文字色がピンク #ed4a6a に変わる。0.3s cubic-bezier(.4,.4,0,1) */
.form-btn, .f-contact { transition: background-color .3s cubic-bezier(.4,.4,0,1); }
.form-btn:hover, .f-contact:hover { background: var(--pink); }
.f-nav a, .f-sns a, .f-policy a:nth-child(3) { transition: color .3s cubic-bezier(.4,.4,0,1); }
.f-policy a:nth-child(-n+2) { transition: color .3s ease-in-out; } /* FD・プライバシーの2つだけ元は ease-in-out */
.f-nav a:hover, .f-sns a:hover, .f-policy a:hover { color: var(--pink); }

/* 下層ページの電話ボックス */
.phone-box { margin: 30px auto 0; }
.phone-box .lbl { font-size: 15px; line-height: 31px; font-weight: 800; }
.phone-box .num { font-size: 47px; line-height: 49px; }
.phone-box .hrs { font-size: 15px; }

/* ---------- フッター ---------- */
.checker-strip { height: 43px; background: url(images/checker-strip.webp) left top / auto 43px repeat-x; }
.site-footer { background: var(--green); color: var(--cream); }
.site-footer .w { display: flex; justify-content: space-between; gap: 30px; padding: 60px 98px 50px; min-height: 285px; }
.f-logos { display: flex; gap: 34px; align-items: center; }
.f-logos img { width: 224px; }
.f-policy { display: flex; gap: 59px; margin-top: 40px; font-size: 14px; font-weight: 500; }
.f-right { display: flex; flex-direction: column; align-items: flex-end; }
.f-nav { display: flex; }
.f-nav a { font-family: var(--f-race); font-size: 26px; line-height: 36px; padding: 0 16px; border-right: 1px solid var(--cream); }
.f-contact { margin-top: 20px; width: 166px; height: 50px; border-radius: 40px; background: var(--cream); color: var(--green); font-family: var(--f-race); font-size: 26px; display: flex; align-items: center; justify-content: center; }
.f-bottom { display: flex; align-items: center; gap: 28px; margin-top: 30px; font-size: 14px; font-weight: 500; }
.f-sns { display: flex; gap: 28px; align-items: center; }
.f-sns a { color: var(--cream); }
.f-sns svg { fill: currentColor; display: block; }

/* ---------- スマホ用メニュー ---------- */
.sp-menu { position: fixed; inset: 0; z-index: 100; background: var(--green); color: var(--beige); overflow-y: auto; padding: 90px 60px 40px; }
.sp-menu-close { position: absolute; right: 12px; top: 12px; width: 56px; height: 56px; border: 0; background: none; color: #fff; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.sp-menu nav a { display: block; margin-bottom: 20px; }
.sp-menu .en { display: block; font-family: var(--f-race); font-size: 30px; line-height: 33px; }
.sp-menu .ja { display: block; font-size: 13px; line-height: 19.5px; }
.sp-menu .sp-contact { width: 100%; max-width: 280px; height: 70px; border-radius: 96px; background: var(--beige); color: var(--green); display: flex; flex-direction: column; align-items: center; justify-content: center; }
.sp-menu .sp-contact .en { font-size: 30px; line-height: 30px; }
.sp-menu .f-sns a { color: var(--beige); }
/* 開閉（元の実測）: 中身が下100pxから上がりつつフェード、後ろに黒16%の背景がフェード。cubic-bezier(.4,.4,0,1)
   開く: 中身も背景も0.4s／閉じる: 中身0.3s・背景0.4s */
.sp-menu { opacity: 0; translate: 0 100px; transition: opacity .3s cubic-bezier(.4,.4,0,1), translate .3s cubic-bezier(.4,.4,0,1); }
.sp-menu.is-open { opacity: 1; translate: 0 0; transition-duration: .4s; }
.sp-menu-bg { position: fixed; inset: 0; z-index: 99; background: rgba(0,0,0,.16); opacity: 0; transition: opacity .4s cubic-bezier(.4,.4,0,1); }
.sp-menu-bg.is-open { opacity: 1; }
.sp-icons { margin: 40px -60px 0; background: #fff; height: 78px; display: flex; align-items: center; justify-content: space-between; padding: 0 20px; gap: 10px; }
.sp-icons img { height: auto; }
.sp-menu .f-logos { margin-top: 40px; gap: 20px; }
.sp-menu .f-logos img { width: 116px; }
.sp-menu .addr { margin-top: 30px; display: grid; grid-template-columns: auto 1fr; gap: 10px; font-size: 14px; line-height: 1.3; }
.sp-menu .addr b { font-weight: 700; }

/* ---------- モーダル（車検料金表） ---------- */
.modal { position: fixed; inset: 0; z-index: 110; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-bg { position: absolute; inset: 0; background: rgba(0,0,0,.16); border: 0; cursor: pointer; }
.modal-card { position: relative; width: 600px; max-width: 100%; max-height: 100%; overflow-y: auto; background: #fff; border-radius: 10px; padding: 84px 40px 30px; }
/* 開閉（元の実測）: スマホメニューと同じ。カードが下100pxから上がりつつフェード、背景はフェード
   開く: 0.4s／閉じる: カード0.3s・背景0.4s */
.modal-bg, .modal-card { opacity: 0; transition: opacity .4s cubic-bezier(.4,.4,0,1), translate .4s cubic-bezier(.4,.4,0,1); }
.modal-card { translate: 0 100px; transition-duration: .3s; }
.modal.is-open .modal-bg, .modal.is-open .modal-card { opacity: 1; translate: 0 0; transition-duration: .4s; }
.modal-close { position: absolute; right: 40px; top: 30px; border: 0; background: none; cursor: pointer; padding: 0; color: var(--ink); }
.modal-card h3 { text-align: center; color: var(--green); font-size: 20px; line-height: 28px; font-weight: 700; }
.price-table { margin: 30px auto; border-collapse: collapse; font: 400 20px/28px var(--f-lato); color: var(--ink); }
.price-table th, .price-table td { border: 1px solid #d4d2cd; padding: 10px 12px; text-align: left; font-weight: 400; }
.price-table th { background: var(--cream); }
.modal-card .note { font: 400 15px/21px var(--f-lato); color: var(--ink); }

/* ---------- 下層ページ共通 ---------- */
/* 元サイトは画面に固定された鉛筆画風の道路の絵が、上の方だけうっすら見えている */
.sub-main { padding: 110px 20px 0; position: relative; }
.sub-main::before {
  content: ""; position: fixed; inset: 0; z-index: -1; pointer-events: none;
  background: url(images/bg-road-sketch.webp) center top / cover no-repeat;
  -webkit-mask-image: linear-gradient(#000 0, #000 25%, transparent 45%);
  mask-image: linear-gradient(#000 0, #000 25%, transparent 45%);
}
.sub-main > * { position: relative; }
.sub-title { font-family: var(--f-race); font-weight: 400; font-size: 151px; line-height: 151px; color: var(--green); text-align: center; }
.doc {
  width: 1000px; max-width: 100%; margin: 0 auto; background: #fff;
  border: 10px double var(--green); border-radius: 2px; padding: 48px 20px 60px;
}
.doc-inner { width: 580px; max-width: 100%; margin: 0 auto; }
.doc-title { text-align: center; color: var(--green); font-size: 28px; line-height: 39.2px; font-weight: 800; margin-bottom: 40px; }
.doc p { margin-bottom: 10px; }
.sub-end { height: 187px; }

/* FD宣言 */
.fd .doc-inner { font-size: 16px; line-height: 25.6px; font-weight: 500; }
.fd h3 { color: var(--lightgreen); font-size: 16px; line-height: 25.6px; font-weight: 900; margin: 10px 0; }
.fd strong { font-weight: 900; }

/* プライバシーポリシー */
.privacy .doc-inner { font-size: 15px; line-height: 24px; font-weight: 500; }
.privacy h2 { font: 700 18px/25.2px var(--f-lato); color: var(--lightgreen); background: var(--cream); padding: 10px 12px; margin: 20px 0; }
.privacy h3 { font: 900 16px/22.4px var(--f-lato); color: var(--lightgreen); margin: 10px 0; }
.privacy a { color: #007cff; }

/* 勧誘方針 */
.sales .doc-inner { font: 400 12px/16.8px var(--f-lato); }
.sales h3 { font: 900 16px/22.4px var(--f-lato); color: var(--lightgreen); margin: 10px 0; }
.sales .item { padding-left: 20px; }

/* お問い合わせフォーム */
.form-doc { padding-top: 40px; }
.cform { width: 600px; max-width: 100%; margin: 0 auto; }
.field { margin-bottom: 20px; }
.field-label { display: flex; align-items: center; gap: 5px; flex-wrap: wrap; font: 700 15px/21px var(--f-lato); color: var(--ink); margin-bottom: 10px; }
.badge { display: inline-block; width: 32px; height: 18px; border-radius: 2px; background: #ea6767; color: #fff; font: 500 10px/18px var(--f-jp); text-align: center; }
.badge.opt { background: var(--ink); }
.field-label small { font: 400 12px/16.8px var(--f-jp); color: #000; }
.cform input[type=text], .cform input[type=tel], .cform input[type=email], .cform select, .cform textarea {
  width: 100%; height: 50px; border: 1px solid #eee; border-radius: 4px; padding: 0 14px;
  font: 400 15px var(--f-lato); color: var(--ink); background: #fff;
}
.cform select { width: 500px; max-width: 100%; }
.cform .short { width: 320px; max-width: 100%; }
.cform textarea { height: 160px; padding: 12px 14px; resize: vertical; }
.radios label { display: flex; align-items: center; gap: 10px; font: 400 15px/21px var(--f-lato); margin: 0 0 20px 10px; }
.file-label { display: inline-flex; align-items: center; width: 300px; max-width: 100%; height: 46px; padding: 0 16px; border: 1px dashed #ddd; border-radius: 2px; font: 400 14px var(--f-lato); color: #555; cursor: pointer; }
.consent { display: flex; align-items: center; gap: 8px; font-size: 15px; font-weight: 600; margin: 20px 0 40px; }
.consent a { text-decoration: underline; }
.submit { width: 100%; height: 50px; border: 0; border-radius: 4px; background: var(--green); color: #fff; font: 700 18px var(--f-lato); cursor: pointer; }
.form-msg { margin-top: 16px; padding: 12px 14px; background: var(--cream); color: var(--green); font-size: 14px; border-radius: 4px; }

/* サンクスページ */
.thanks-box { text-align: center; }
.thanks-box .big { font-family: var(--f-race); font-size: 80px; line-height: 1; color: var(--green); margin-bottom: 20px; }
.thanks-box h1 { color: var(--green); font-size: 24px; margin-bottom: 30px; }
.thanks-box p { margin-bottom: 16px; }
.thanks-box .back { display: inline-block; margin-top: 20px; text-decoration: underline; color: var(--green); font-weight: 700; }

/* =================================================================
   タブレット（〜1200px）：はみ出しやすい固定幅を縮める
   ================================================================= */
@media (max-width: 1200px) {
  .services-title, .services-title-ja { margin-left: auto; margin-right: 40px; }
  .revibes .w { padding-left: 23%; }
  .revibes-catch { width: 100%; max-width: 777px; }
  .revibes-text p { font-size: 26px; line-height: 64px; }
  .svc-box { padding-left: 13%; }
  .svc.insurance .svc-box { padding-left: 10%; }
  .company { padding-left: 40px; padding-right: 40px; }
  .company-map { flex-basis: 45%; }
  .site-footer .w { padding-left: 40px; padding-right: 40px; flex-wrap: wrap; }
}

/* =================================================================
   タブレット（〜840px）：ナビをハンバーガーに・カードを縦積みに
   ================================================================= */
@media (max-width: 840px) {
  .gnav { display: none; }
  .menu-btn { display: flex; }
  .fixed-logo { width: 200px; left: 0; top: 10px; }
  .to-top { width: 50px; right: 20px; bottom: 60px; }

  .hero { height: 50vw; min-height: 320px; }
  .hero-arrow { display: none; }

  .revibes .w { padding: 90px 33px 60px; }
  .revibes-vertical { width: 80px; opacity: .2; }
  .revibes-catch { margin-bottom: 37px; }
  .revibes-text p { font-size: 20px; line-height: 50px; }
  .revibes-text .gap { height: 0; }

  .products-head { width: 80%; }
  .products-head .ja { left: auto; right: 0; top: 2%; font-size: 24px; }
  .coming { width: auto; }

  .services-title { width: auto; margin: 0 auto; padding: 0 63px; font-size: 110px; line-height: 110px; }
  .services-title-ja { width: auto; margin: 0 63px 70px; }

  .svc, .svc.left, .svc.right { display: flex; flex-direction: column; align-items: stretch; margin-bottom: 70px; }
  .svc-box { order: 0; }
  .svc-img { order: 1; }
  .svc-box, .svc.right .svc-box, .svc.insurance .svc-box { margin: 0 30px; padding: 30px; }
  .svc-img { margin: -30px 0 0 20px; }
  .svc.right .svc-img { margin: -20px 20px 0 0; }
  .svc.right .svc-box { margin-right: 30px; }
  .svc.insurance .svc-box { margin: 0 40px 0 0; padding-bottom: 60px; }
  .svc.insurance .svc-img { margin: -20px 20px 0 0; }
  .svc-box .body { max-width: none; }
  .call-card, .call-note { width: 100%; }

  .company { flex-direction: column; padding: 100px 40px 120px; }
  .company-map { flex: none; width: 100%; height: 300px; margin-top: 0; }

  .contact-cards { flex-direction: column; align-items: center; gap: 12px; }

  .site-footer .w { flex-direction: column; padding: 38px 26px 40px; }
  .f-policy { flex-direction: column; gap: 8px; margin-top: 16px; }
  .f-right { align-items: flex-end; }
  .f-nav { flex-wrap: wrap; justify-content: flex-end; }

  .sub-title { font-size: 90px; line-height: 90px; }
}

/* =================================================================
   スマホ（〜540px）：STUDIOのモバイル版の寸法に合わせる
   ================================================================= */
@media (max-width: 540px) {
  .hero { height: 320px; min-height: 0; }
  .ticker { height: 50px; border-left-width: 0; border-right-width: 0; }
  .ticker-track img { width: 60cqw; } /* 元: スマホは1枚＝帯の幅の60%（400px幅で240px・60px/秒） */
  /* 出現演出のスマホ用差し替え（元の実測: 横ずらし±100px、一部は時間も変わる） */
  .js [data-appear] {
    translate: var(--ap-x-sp, var(--ap-x, 0px)) var(--ap-y, 0px);
    transition-duration: var(--ap-dur-sp, var(--ap-dur, 2000ms));
  }
  .js [data-appear].is-in { translate: 0px 0px; }

  .revibes .w { padding: 90px 33px 60px 33px; }
  .revibes-catch { width: 313px; }
  .revibes-text p { font-size: 15px; line-height: 37.5px; }

  .products .w { padding: 37px 0 80px; }
  .products-head { width: 320px; max-width: calc(100% - 40px); }
  .products-head .ja { font-size: 20px; line-height: 28px; top: 7px; }
  .coming { height: 149px; margin: 50px 20px; font-size: 35px; }

  .services .w { padding-top: 80px; }
  .services-title { font-size: 80px; line-height: 80px; padding: 0 63px; }
  .services-title-ja { font-size: 20px; line-height: 20px; margin: 0 63px 52px; }

  .svc-box .en { font-size: 32px; letter-spacing: .05em; }
  .svc-box .ja { font-size: 15px; line-height: 15px; margin-top: 0; }
  .checker { margin-top: 23px; }
  .svc-box .body { font-size: 13px; line-height: 23px; margin-top: 34px; }
  .svc-box .body p + p { margin-top: 23px; }
  .price-link { font-size: 13px; line-height: 23px; }
  .svc.insurance .svc-box { padding: 30px; }
  .call-card { margin-top: 30px; }
  .call-card .label, .call-card .co { font-size: 15px; }
  .call-card .num { font-size: 33px; line-height: 34px; }
  .call-card .small, .call-card.slim .small { font-size: 12px; line-height: 16.8px; }
  .call-note { font-size: 15px; line-height: 21px; margin: 0; }
  .call-card.slim { margin-top: 0; }

  .company { padding: 50px 40px 100px; }
  .company h2 { font-size: 52px; letter-spacing: .05em; margin-bottom: 37px; }
  .company dl { grid-template-columns: 96px 1fr; row-gap: 14px; font-size: 14px; line-height: 21px; }
  .company-map { height: 240px; }

  .contact-title { font-size: 82px; line-height: 82px; margin-top: -12px; }
  .contact-cards { padding: 50px 20px 80px; }
  .box2 { width: 280px; }
  .box2-inner { flex-direction: column; gap: 6px; padding: 12px; }
  .box2 .pic { width: 120px; }
  .box2 .num { font-size: 40px; line-height: 42px; }
  .box2 .hrs { font-size: 15px; }
  .form-btn { font-size: 16px; height: 44px; }

  .site-footer .w { padding: 38px 26px 40px; gap: 20px; }
  .f-logos { gap: 30px; }
  .f-logos img { width: 142px; }
  .f-policy { font-size: 12px; }
  .f-nav a { font-size: 18px; line-height: 28px; padding: 0 10px; }
  .f-contact { width: 132px; height: 42px; font-size: 18px; margin-top: 8px; }
  .f-bottom { margin-top: 16px; }

  .sub-main { padding-top: 120px; }
  .sub-title { font-size: 64px; line-height: 64px; }
  .doc { border-width: 6px; padding: 30px 16px 40px; }
  .doc-title { font-size: 22px; line-height: 1.4; }
  .phone-box .num { font-size: 40px; }
  .sub-end { height: 90px; }
  .thanks-box .big { font-size: 56px; }
}
