@charset "UTF-8";

/* フォントサイズのベースを10pxにする　10pxは1remになる */
html {
  font-size: 62.5%;
}

@media (prefers-reduced-motion: no-preference) {
  html {
    scroll-behavior: smooth;
  }
}

body {
  font-family: "Noto Sans JP", sans-serif;
  letter-spacing: 0.05em;
  line-height: 1.5;
  color: #1D1E1E;
  font-size: 1.6rem;
  background-color: #0B2F7A;
}

:root {
  /* CTA専用のアクセント(行動を促す箇所だけに使う) */
  --orange: #FF8A16;
  /* 見出し・強調の青 */
  --orange-dark: #1247A6;
  /* ページ地の紺 */
  --brown: #0B2F7A;
  /* 帯ブロックの紺 */
  --brown-dark: #123A8F;
  --ink: #10233F;
  /* 縁取りの濃紺 */
  --stroke: #062052;
  --gray-bg: #D7E1F2;
  --yellow: #FFD629;
  --card-shadow: 3px 3px #B6B6B6;
  --header-h: 7rem;
}

/* ============================================================
   共通パーツ(元LPのデザイン言語)
   ============================================================ */

/* --- 背景テクスチャ --- */
.bg_grid {
  background-color: var(--gray-bg);
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.55) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.55) 1px, transparent 1px);
  background-size: 20px 20px;
}

.bg_stripe {
  background-color: #1B54BE;
  background-image: repeating-linear-gradient(
    -45deg,
    #1749A8 0px,
    #1749A8 8px,
    transparent 8px,
    transparent 16px
  );
}

.bg_gear {
  background-color: var(--orange-dark);
  background-image: url(../img/texture_gear.webp);
  background-size: cover;
  background-position: center;
}

.bg_brown {
  background-color: var(--brown-dark);
}

.bg_edge {
  border-top: 3px solid #000000;
  border-bottom: 3px solid #000000;
}

/* --- 見出し --- */
.sec_head {
  text-align: center;
  font-weight: 900;
  line-height: 1.5;
  font-size: clamp(1.6rem, 4.6vw, 2rem);
  color: var(--ink);
  text-shadow: 2px 2px 0 rgba(255, 255, 255, 0.9);
}

.sec_head_big {
  display: inline-block;
  font-size: clamp(2.4rem, 7.6vw, 3.2rem);
  color: var(--orange-dark);
  line-height: 1.3;
  position: relative;
  -webkit-text-stroke: 6px #FFFFFF;
  paint-order: stroke fill;
  filter: drop-shadow(2px 3px 0 rgba(0, 0, 0, 0.18));
}

.sec_head_big::after {
  content: "";
  display: block;
  width: 100%;
  height: 4px;
  margin-top: 0.2rem;
  background-color: var(--yellow);
  border-radius: 2px;
}

/* 色地セクション用: 白抜き＋濃茶の縁取り */
.sec_head--light {
  color: #FFFFFF;
  text-shadow: none;
  -webkit-text-stroke: 5px var(--stroke);
  paint-order: stroke fill;
}

.sec_head--light .sec_head_big {
  color: var(--yellow);
  -webkit-text-stroke: 7px var(--stroke);
  filter: drop-shadow(2px 3px 0 rgba(0, 0, 0, 0.3));
}

.sec_head--light .sec_head_big::after {
  background-color: #FFFFFF;
}

.mark {
  color: var(--orange-dark);
  font-weight: 900;
}

/* 見出し内のエリア名(1行に収まるよう少し小さく) */
.sec_head_area {
  display: inline-block;
  margin-top: 0.4rem;
  font-size: clamp(1.5rem, 4.6vw, 2rem);
  color: var(--orange-dark);
  letter-spacing: -0.01em;
}

.sec_head--light .mark {
  color: var(--yellow);
}

/* --- 下向き矢印 --- */
.arrow_down {
  width: 0;
  height: 0;
  margin: 2.4rem auto;
  border-left: 3rem solid transparent;
  border-right: 3rem solid transparent;
  border-top: 2.4rem solid var(--yellow);
  filter: drop-shadow(2px 2px 0 rgba(0, 0, 0, 0.2));
}

/* --- キャラのゆらぎ(元LP swingXRotate) --- */
@keyframes swingXRotate {
  0% { transform: translateX(-4px) rotate(-1.5deg); }
  100% { transform: translateX(4px) rotate(1.5deg); }
}

@keyframes tapPulse_slow {
  0% { transform: scale(1); }
  10% { transform: scale(1.08); }
  20% { transform: scale(0.96); }
  30% { transform: scale(1.04); }
  40% { transform: scale(1); }
  100% { transform: scale(1); }
}

@keyframes swing {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(12deg); }
  50% { transform: rotate(0deg); }
  75% { transform: rotate(-12deg); }
  100% { transform: rotate(0deg); }
}

@media (prefers-reduced-motion: reduce) {
  .top_flow_character,
  .top_call_item img,
  .top_gps_character,
  .top_trouble_character,
  .header_tel,
  .top_price_title::before {
    animation: none !important;
  }
}

/* ============================================================
   ローディング(元LP準拠。JS有効時のみ表示)
   ============================================================ */
.top_loading {
  display: none;
  place-content: center;
  justify-items: center;
  opacity: 1;
  transition: opacity 0.6s ease;
  position: fixed;
  inset: 0;
  z-index: 9999;
  background-color: var(--brown-dark);
}

body.is-loading .top_loading {
  display: grid;
}

.top_loading.is-hide {
  opacity: 0;
  pointer-events: none;
}

.top_loading_character {
  width: 11rem;
}

.top_loading_character img {
  width: 100%;
  height: auto;
  transform-origin: center bottom;
  animation: swing 2s ease-in-out infinite;
}

.top_loading_text {
  margin-top: 2.4rem;
  color: #FFFFFF;
  font-weight: 900;
  letter-spacing: 0.12em;
  font-size: 1.5rem;
}

/* ============================================================
   header
   ============================================================ */
.header {
  position: fixed;
  top: 0;
  left: 50%;
  translate: -50% 0;
  width: 100%;
  max-width: 500px;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem 1.6rem;
  min-height: var(--header-h);
  /* 下のコンテンツが透けて重ならないよう不透明バーにする */
  background-color: var(--ink);
  border-bottom: 3px solid #000000;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
}

/* PCは右30%カラムの上にヘッダーを載せる */
@media screen and (min-width: 1024px) {
  .header {
    left: 70%;
    translate: 0 0;
    width: 30%;
    max-width: none;
  }
}

@media screen and (min-width: 2200px) {
  .header {
    left: auto;
    right: 0;
    width: 64rem;
  }
}

.header_logo {
  font-size: clamp(1.5rem, 4.6vw, 1.9rem);
  min-width: 0;
}

.header_tel {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.7rem 1.3rem;
  background: var(--orange);
  color: #FFFFFF;
  border: 3px solid #FFFFFF;
  border-radius: 999px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.3);
  font-weight: 900;
  font-size: clamp(1.1rem, 3.3vw, 1.3rem);
  line-height: 1;
  white-space: nowrap;
  text-decoration: none;
  animation: tapPulse_slow 4s ease-in-out infinite;
}

.header_tel_ic {
  width: 1.5em;
  height: 1.5em;
  flex-shrink: 0;
}

/* ============================================================
   layout
   ============================================================ */
.page_container {
  display: flex;
  justify-content: center;
  background-color: var(--brown);
  position: relative;
}

.main {
  width: clamp(30rem, 100%, 50rem);
  margin-inline: auto;
  background-color: #FFFFFF;
  overflow: hidden;
}

/* PC: 右30%がスクロールするカラム */
@media screen and (min-width: 1024px) {
  .main {
    width: 30%;
    max-width: none;
    margin-left: 70%;
    margin-right: 0;
  }
}

/* 超ワイドでは右カラムが広がりすぎないよう頭打ちにする */
@media screen and (min-width: 2200px) {
  .main {
    width: 64rem;
    margin-left: auto;
  }
}

/* ============================================================
   CTA(電話ボタン)
   ============================================================ */
@keyframes ctaFloat {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-6px) scale(1.015); }
}

.cta_phone {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 9rem;
  padding: 0.9rem 1.4rem 0.9rem 8.5rem;
  background: var(--orange);
  border: 3px solid #fff;
  border-radius: 10px;
  box-shadow: 3px 4px 4px rgba(0, 0, 0, 0.25);
  text-decoration: none;
  overflow: visible;
  width: 100%;
  max-width: 37rem;
  margin-inline: auto;
  animation: ctaFloat 3s ease-in-out infinite;
}

.cta_phone:hover {
  animation-play-state: paused;
  transform: scale(1.03);
}

@media (prefers-reduced-motion: reduce) {
  .cta_phone { animation: none; }
}

.cta_phone_panda {
  position: absolute;
  left: -1rem;
  bottom: -1.4rem;
  width: auto;
  height: 13rem;
  pointer-events: none;
}

.cta_phone_body {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
}

.cta_phone_lead {
  color: #fff;
  font-weight: 900;
  line-height: 1.3;
  white-space: nowrap;
  letter-spacing: 0.02em;
  -webkit-text-stroke: 5px var(--stroke);
  paint-order: stroke fill;
  text-shadow: 2px 3px 0 rgba(255, 255, 255, 0.25);
  font-size: clamp(1.3rem, 4.5vw, 1.7rem);
}

.cta_phone_num {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  color: #fff;
  font-weight: 900;
  line-height: 1.32;
  white-space: nowrap;
  letter-spacing: -0.01em;
  font-size: clamp(2.4rem, 7.7vw, 3.2rem);
}

.cta_phone_ic {
  width: 1.1em;
  height: 1.1em;
  flex-shrink: 0;
  display: block;
}

.cta_link {
  width: calc(100% - 2.4rem);
  max-width: 44rem;
  margin-inline: auto;
  padding-bottom: 3rem;
}

.cta_link__mt {
  margin-top: 4rem;
}

.cta_lead_text {
  margin-bottom: 1.4rem;
  padding-left: 8rem;
  text-align: center;
  font-weight: 900;
  font-size: clamp(1.5rem, 4.6vw, 1.8rem);
  color: #FFFFFF;
  -webkit-text-stroke: 5px var(--stroke);
  paint-order: stroke fill;
}

.cta {
  padding: 3rem 0 0;
  background-color: var(--orange-dark);
  background-image: url(../img/texture_gear.webp);
  background-size: cover;
  background-position: center;
  border-top: 3px solid #000000;
  border-bottom: 3px solid #000000;
}

/* ============================================================
   メインビジュアル(画像＋その下にCTA)
   ============================================================ */
.top_kv {
  position: relative;
  width: 100%;
  margin-top: var(--header-h);   /* 固定ヘッダーに隠れないように */
  padding-bottom: 1.6rem;
  background-color: #0B2F7A;
  overflow: hidden;
  z-index: 2;
}

.top_kv .kv_img {
  display: block;
  width: 100%;
  height: auto;
}

.kv_cta {
  width: calc(100% - 2.4rem);
  margin: 1.2rem auto 0;
}

.kv_cta_btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.1rem;
  padding: 1rem 1.4rem 1.2rem;
  background: linear-gradient(180deg, #FF9F1F 0%, #FF7A00 100%);
  border: 4px solid #FFFFFF;
  border-radius: 1.2rem;
  box-shadow: 0 6px 0 #B85600, 0 10px 20px rgba(0, 0, 0, 0.4);
  color: #FFFFFF;
  text-decoration: none;
  animation: ctaFloat 3s ease-in-out infinite;
}

.kv_cta_btn:hover {
  animation-play-state: paused;
  transform: translateY(3px);
  box-shadow: 0 3px 0 #B85600, 0 6px 12px rgba(0, 0, 0, 0.4);
}

.kv_cta_lead {
  font-weight: 900;
  font-size: clamp(1.3rem, 4.2vw, 1.7rem);
}

.kv_cta_num {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: -0.01em;
  font-size: clamp(2.6rem, 8.4vw, 3.4rem);
}

.kv_cta_sub {
  font-weight: 700;
  font-size: clamp(1rem, 3vw, 1.2rem);
  opacity: 0.95;
}

/* ============================================================
   マーキー帯
   ============================================================ */
.top_kv_under,
.top_text_animation_under {
  background-color: var(--ink);
  border-top: 3px solid #000000;
  border-bottom: 3px solid #000000;
  padding-block: 0.8rem;
  overflow: hidden;
}

.top_text_animation_under {
  margin-top: 4rem;
}

.marquee {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marquee 22s linear infinite;
}

.marquee_text {
  flex-shrink: 0;
  white-space: nowrap;
  color: #FFFFFF;
  font-weight: 900;
  font-size: clamp(1.3rem, 3.8vw, 1.6rem);
  letter-spacing: 0.08em;
  line-height: 1.6;
}

@keyframes marquee {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .marquee { animation: none; }
}

/* ============================================================
   待機中セクション(歯車テクスチャ地)
   ============================================================ */
.top_standby {
  padding: 3.4rem 0 0;
  text-align: center;
}

.top_standby_now {
  display: inline-block;
  padding: 0.3rem 1.4rem;
  background-color: var(--stroke);
  border: 2px solid #FFFFFF;
  border-radius: 999px;
  color: #FFFFFF;
  font-weight: 700;
  font-size: clamp(1.2rem, 3.6vw, 1.4rem);
}

.top_standby_clock {
  font-family: "Jost", sans-serif;
  font-size: 1.4em;
  font-weight: 600;
  color: var(--yellow);
}

.top_standby_head {
  margin-top: 1.2rem;
  font-weight: 900;
  line-height: 1.4;
  font-size: clamp(1.9rem, 5.8vw, 2.5rem);
  color: #FFFFFF;
  -webkit-text-stroke: 6px var(--stroke);
  paint-order: stroke fill;
  text-shadow: 2px 3px 0 rgba(0, 0, 0, 0.25);
}

.top_standby_head .mark {
  color: var(--yellow);
  font-size: 1.15em;
}

.top_standby_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  width: calc(100% - 2.4rem);
  margin: 2.4rem auto 3rem;
}

.top_standby_item {
  background-color: #FFFFFF;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  padding: 1.2rem 0.6rem;
}

.top_standby_item img {
  width: 6.4rem;
  height: auto;
  margin-inline: auto;
  border-radius: 50%;
}

.top_standby_item p {
  margin-top: 0.8rem;
  font-size: clamp(1rem, 3vw, 1.2rem);
  line-height: 1.5;
  font-weight: 500;
}

.top_standby_item strong {
  font-weight: 900;
  color: var(--orange-dark);
}

/* ============================================================
   こんなトラブル(グリッド地 + テープ付きカード)
   ============================================================ */
.top_trouble {
  padding: 6rem 0 0;
  overflow: hidden;
}

.top_trouble_card {
  position: relative;
  width: calc(100% - 3.2rem);
  margin: 0 auto;
  padding: 4.4rem 1.6rem 2.4rem;
  background-color: #FFFFFF;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
}

.top_trouble_clip {
  position: absolute;
  top: 0;
  left: 50%;
  translate: -50% -55%;
  width: 36%;
  max-width: 13rem;
  height: auto;
}

.top_trouble_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-top: 1.8rem;
}

.top_trouble_item {
  display: grid;
  place-content: center;
  text-align: center;
  min-height: 8.6rem;
  padding: 1rem;
  background-color: #E9F0FB;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  box-shadow: 2px 2px #B6B6B6;
  font-weight: 700;
  line-height: 1.5;
  font-size: clamp(1.3rem, 4vw, 1.6rem);
}

.top_trouble_conclusion {
  position: relative;
  padding-bottom: 5rem;
}

.top_trouble_catch {
  width: calc(100% - 2.4rem);
  margin-inline: auto;
  padding: 2rem 1.4rem 2.4rem;
  background-color: var(--stroke);
  border: 3px solid #000000;
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  color: #FFFFFF;
  text-align: center;
  font-weight: 900;
  line-height: 1.6;
  font-size: clamp(1.5rem, 4.6vw, 1.9rem);
}

.top_trouble_catch .mark {
  color: var(--yellow);
  font-size: 1.25em;
}

.top_trouble_catch_sm {
  display: block;
  margin-bottom: 0.6rem;
  font-size: 0.8em;
  color: var(--orange);
}

.top_trouble_character {
  position: absolute;
  right: 0.8rem;
  bottom: 0;
  width: auto;
  height: 15rem;
  animation: swingXRotate 1.2s ease-in-out infinite alternate;
  transform-origin: 100% 100%;
}

/* ============================================================
   コールセンター
   ============================================================ */
.top_call {
  padding: 4rem 0;
  background-color: #FFFFFF;
}

.top_call_list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  width: calc(100% - 2.4rem);
  margin: 3.4rem auto 0;
}

.top_call_item {
  position: relative;
  padding: 1.6rem 1rem;
  background-color: #EEF4FD;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.top_call_bubble {
  position: absolute;
  top: -1.6rem;
  left: 50%;
  translate: -50% 0;
  padding: 0.4rem 1.2rem;
  background-color: var(--orange);
  color: #FFFFFF;
  border: 3px solid #FFFFFF;
  border-radius: 999px;
  font-weight: 900;
  font-size: clamp(1.1rem, 3.2vw, 1.3rem);
  white-space: nowrap;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.top_call_bubble::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 12px;
  height: 12px;
  background: var(--orange);
  border-right: 3px solid #fff;
  border-bottom: 3px solid #fff;
  transform: translateX(-50%) rotate(45deg);
}

/* 切り抜きではなく4:3の写真として枠に収める */
.top_call_item img {
  display: block;
  width: 100%;
  aspect-ratio: 4 / 3;
  height: auto;
  object-fit: cover;
  margin: 1.4rem 0 0;
  border: 3px solid var(--ink);
  border-radius: 0.8rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.25);
}

.top_call_item p {
  margin-top: 0.8rem;
  font-weight: 700;
  line-height: 1.5;
  font-size: clamp(1.1rem, 3.4vw, 1.4rem);
}

.top_call_note {
  width: calc(100% - 2.4rem);
  margin: 2.4rem auto 0;
  padding: 1.4rem;
  background-color: var(--stroke);
  border: 3px solid #000000;
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  color: #FFFFFF;
  text-align: center;
  font-weight: 900;
  line-height: 1.6;
  font-size: clamp(1.3rem, 4vw, 1.6rem);
}

/* ============================================================
   GPS手配システム(歯車テクスチャ地)
   ============================================================ */
.top_gps {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.top_gps_map {
  position: relative;
  width: calc(100% - 2.4rem);
  aspect-ratio: 4 / 3;
  margin: 2.6rem auto 0;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  box-shadow: var(--card-shadow), inset 0 0 6rem rgba(0, 0, 0, 0.55);
  overflow: hidden;
  background: radial-gradient(120% 90% at 50% 60%, #16324a 0%, #0d1f2f 55%, #081521 100%);
}

/* 道路網 */
.top_gps_svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.gps_block rect {
  fill: rgba(255, 255, 255, 0.045);
}

.gps_road path {
  fill: none;
  stroke: rgba(150, 200, 235, 0.22);
  stroke-width: 1.1;
}

.gps_road_main path {
  fill: none;
  stroke: rgba(190, 225, 255, 0.4);
  stroke-width: 2.4;
  stroke-linecap: round;
}

/* 最寄り技師までの経路 */
.gps_route_glow,
.gps_route {
  fill: none;
  stroke-linecap: round;
}

.gps_route_glow {
  stroke: rgba(255, 136, 0, 0.5);
  stroke-width: 5;
  filter: blur(2px);
}

.gps_route {
  stroke: #FFB43F;
  stroke-width: 1.6;
  stroke-dasharray: 3 2.6;
  animation: routeDash 1.4s linear infinite;
}

@keyframes routeDash {
  to { stroke-dashoffset: -11.2; }
}

/* レーダーのスイープ */
.top_gps_radar {
  position: absolute;
  left: 50%;
  top: 60%;
  translate: -50% -50%;
  width: 155%;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  z-index: 2;
  pointer-events: none;
  background:
    conic-gradient(from 0deg, rgba(255, 150, 40, 0.30), rgba(255, 150, 40, 0) 42%),
    repeating-radial-gradient(circle, rgba(160, 210, 245, 0.14) 0 1px, transparent 1px 13%);
  animation: gpsSweep 4.5s linear infinite;
}

@keyframes gpsSweep {
  to { rotate: 360deg; }
}

.top_gps_pin {
  position: absolute;
  z-index: 4;
  padding: 0.4rem 0.9rem;
  background-color: rgba(10, 26, 40, 0.92);
  border: 2px solid rgba(190, 225, 255, 0.55);
  border-radius: 999px;
  color: #DCEBF8;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: clamp(1.1rem, 3.2vw, 1.3rem);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.top_gps_pin::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -7px;
  width: 10px;
  height: 10px;
  background-color: rgba(10, 26, 40, 0.92);
  border-right: 2px solid rgba(190, 225, 255, 0.55);
  border-bottom: 2px solid rgba(190, 225, 255, 0.55);
  transform: translateX(-50%) rotate(45deg);
}

.top_gps_pin.is-near {
  background-color: var(--orange);
  border-color: #FFFFFF;
  color: #FFFFFF;
  font-size: clamp(1.5rem, 4.6vw, 1.9rem);
  font-weight: 900;
  box-shadow: 0 0 0 4px rgba(255, 136, 0, 0.28), 0 4px 14px rgba(255, 136, 0, 0.55);
  animation: ctaFloat 2s ease-in-out infinite;
}

.top_gps_pin.is-near::after {
  background-color: var(--orange);
  border-color: #FFFFFF;
}

.top_gps_pin01 { top: 10%; left: 8%; }
.top_gps_pin02 { top: 20%; right: 6%; }
.top_gps_pin03 { top: 30%; left: 42%; }
.top_gps_pin04 { bottom: 14%; left: 12%; }

.top_gps_you {
  position: absolute;
  z-index: 4;
  top: 66%;
  left: 50%;
  translate: -50% 0;
  padding: 0.3rem 0.9rem;
  background-color: #FFFFFF;
  color: var(--ink);
  border-radius: 999px;
  font-weight: 900;
  font-size: clamp(1rem, 3vw, 1.2rem);
  white-space: nowrap;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

/* 現在地の光点＋波紋 */
.top_gps_you::before,
.top_gps_you::after {
  content: "";
  position: absolute;
  top: -3.2rem;
  left: 50%;
  width: 2rem;
  height: 2rem;
  translate: -50% 0;
  border-radius: 50%;
}

.top_gps_you::before {
  background: radial-gradient(circle, #FFFFFF 30%, #4FC3F7 70%);
  box-shadow: 0 0 0 4px rgba(79, 195, 247, 0.35), 0 0 18px rgba(79, 195, 247, 0.9);
}

.top_gps_you::after {
  border: 2px solid rgba(79, 195, 247, 0.85);
  animation: radar 2.4s ease-out infinite;
}

@keyframes radar {
  0% { transform: scale(1); opacity: 0.9; }
  100% { transform: scale(3.6); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .top_gps_you::after,
  .top_gps_radar,
  .gps_route { animation: none; }
}

.top_gps_character {
  position: absolute;
  right: 0.4rem;
  bottom: 0;
  width: auto;
  height: 13rem;
  z-index: 5;
  filter: drop-shadow(0 4px 10px rgba(0, 0, 0, 0.55));
  animation: swingXRotate 1.3s ease-in-out infinite alternate;
}

.top_gps_text {
  width: calc(100% - 2.4rem);
  margin: 2.2rem auto 0;
  text-align: center;
  font-weight: 700;
  line-height: 1.7;
  font-size: clamp(1.3rem, 4vw, 1.6rem);
  color: #FFFFFF;
  -webkit-text-stroke: 5px var(--stroke);
  paint-order: stroke fill;
}

.top_gps_text strong { font-weight: 900; }

.top_gps_text .mark {
  color: var(--yellow);
  font-size: 1.2em;
}

/* ============================================================
   料金表
   ============================================================ */
.top_price {
  padding: 5rem 0 0;
  background-color: #EEF4FD;
  position: relative;
}

/* キャラは明朗会計バナーを避け、「料金一覧」見出しの左に置く */
.top_price_title {
  position: relative;
}

.top_price_title::before {
  content: "";
  width: clamp(48px, 16vw, 76px);
  aspect-ratio: 460 / 1143;
  background-image: url(../img/staff_ok.webp);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: bottom center;
  position: absolute;
  left: 4%;
  bottom: -0.8rem;
  z-index: 3;
  animation: swingXRotate 1.5s ease-in-out infinite alternate;
}

.top_price_title {
  font-size: clamp(2.4rem, 7.6vw, 3.2rem);
  text-align: center;
  font-weight: 900;
  color: var(--orange-dark);
  -webkit-text-stroke: 6px #FFFFFF;
  paint-order: stroke fill;
  filter: drop-shadow(2px 3px 0 rgba(0, 0, 0, 0.18));
}

.top_price_table_wrapper {
  margin-top: 2.4rem;
  width: calc(100% - 2.4rem);
  margin-inline: auto;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  overflow: hidden;
  background-color: #FFFFFF;
}

.top_price_table {
  width: 100%;
  border-collapse: collapse;
}

.top_price_head,
.top_price_data {
  padding: 1.2rem 1rem;
}

.top_price_head {
  width: 46%;
  background-color: #E8EEF8;
  border-bottom: 1px solid #D9D9D9;
  border-right: 1px solid #D9D9D9;
  font-weight: 700;
  text-align: left;
  font-size: clamp(1.1rem, 3.4vw, 1.4rem);
}

.top_price_data {
  border-bottom: 1px solid #D9D9D9;
  font-weight: 900;
  color: var(--orange-dark);
  font-size: clamp(1.4rem, 4.4vw, 1.7rem);
  text-align: right;
}

.top_price_row:last-child .top_price_head,
.top_price_row:last-child .top_price_data {
  border-bottom: none;
}

.top_price_data_sm {
  display: block;
  margin-top: 0.2rem;
  color: var(--ink);
  font-weight: 500;
  font-size: clamp(1rem, 2.9vw, 1.2rem);
}

.top_payment {
  width: calc(100% - 2.4rem);
  margin: 2.4rem auto 0;
  padding: 1.6rem;
  background-color: #FFFFFF;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  text-align: center;
}

.top_payment_head {
  font-weight: 900;
  line-height: 1.5;
  font-size: clamp(1.2rem, 3.8vw, 1.5rem);
}

.top_payment_list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem;
  margin-top: 1.2rem;
}

.top_payment_list li {
  padding: 0.5rem 1rem;
  background-color: #E8EEF8;
  border: 2px solid #D9D9D9;
  border-radius: 0.5rem;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: clamp(1rem, 3vw, 1.2rem);
  letter-spacing: 0.02em;
}

/* ============================================================
   対応車種
   ============================================================ */
.top_cars {
  padding: 4rem 0;
  background-color: #FFFFFF;
}

.top_cars_list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.8rem;
  width: calc(100% - 2.4rem);
  margin: 2.4rem auto 0;
}

.top_cars_item {
  display: grid;
  place-content: center;
  text-align: center;
  min-height: 5.6rem;
  padding: 0.6rem 0.3rem;
  background-color: #EEF4FD;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  box-shadow: 2px 2px #B6B6B6;
  font-weight: 700;
  line-height: 1.4;
  font-size: clamp(1rem, 3vw, 1.3rem);
}

.top_cars_text {
  width: calc(100% - 2.4rem);
  margin: 2.2rem auto 0;
  text-align: center;
  line-height: 1.9;
  font-size: clamp(1.2rem, 3.6vw, 1.4rem);
}

/* ============================================================
   解決の流れ(茶色ブロック=元LP flow)
   ============================================================ */
.top_flow {
  padding: 4rem 0;
}

.top_flow_lead {
  width: calc(100% - 2.4rem);
  margin: 2rem auto 0;
  padding: 1.4rem;
  background-color: #FFFFFF;
  border: 3px dashed var(--orange-dark);
  border-radius: 1rem;
  text-align: center;
  font-weight: 900;
  line-height: 1.6;
  font-size: clamp(1.4rem, 4.4vw, 1.8rem);
}

.top_flow_lead_sm {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.75em;
  font-weight: 700;
  color: #888888;
}

.top_flow_list {
  width: calc(100% - 2.4rem);
  margin: 2.6rem auto 0;
  display: grid;
  gap: 1.6rem;
}

.top_flow_item {
  position: relative;
  padding: 2.6rem 1.6rem 1.6rem;
  background-color: #FFFFFF;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  min-height: 13rem;
}

.top_flow_item:not(:last-child)::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -1.5rem;
  translate: -50% 0;
  width: 0;
  height: 0;
  border-left: 1.4rem solid transparent;
  border-right: 1.4rem solid transparent;
  border-top: 1.2rem solid var(--yellow);
  z-index: 1;
}

.top_flow_step {
  position: absolute;
  top: -1.4rem;
  left: 1.4rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  padding: 0.4rem 1.2rem;
  background-color: var(--yellow);
  color: var(--stroke);
  border: 3px solid #FFFFFF;
  border-radius: 999px;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 1.2rem;
  letter-spacing: 0.08em;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.top_flow_step_num {
  font-size: 1.7rem;
  line-height: 1;
}

.top_flow_body {
  padding-right: 8rem;
}

.top_flow_title {
  font-weight: 900;
  line-height: 1.5;
  font-size: clamp(1.4rem, 4.2vw, 1.6rem);
  color: var(--orange-dark);
}

.top_flow_body p {
  margin-top: 0.6rem;
  font-size: clamp(1.15rem, 3.5vw, 1.35rem);
  line-height: 1.7;
}

.top_flow_body strong {
  font-weight: 900;
  color: var(--orange-dark);
}

.top_flow_character {
  position: absolute;
  right: 0.8rem;
  bottom: 0.6rem;
  width: auto;
  height: 11rem;
  animation: swingXRotate 1.2s ease-in-out infinite alternate;
}

.top_flow_item:nth-child(2) .top_flow_character { animation-delay: 0.3s; }
.top_flow_item:nth-child(3) .top_flow_character { animation-delay: 0.6s; }
.top_flow_item:nth-child(4) .top_flow_character { animation-delay: 0.9s; }
.top_flow_item:nth-child(5) .top_flow_character { animation-delay: 1.2s; }

/* ============================================================
   3つの強み(ストライプ地=元LP voice)
   ============================================================ */
.top_strength {
  padding: 4rem 0;
}

.top_strength_list {
  width: calc(100% - 2.4rem);
  margin: 2.6rem auto 0;
  display: grid;
  gap: 1.8rem;
}

.top_strength_item {
  position: relative;
  padding: 2.6rem 1.6rem 1.6rem;
  background-color: #FFFFFF;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
}

.top_strength_num {
  position: absolute;
  top: -1.5rem;
  left: 1.4rem;
  display: inline-flex;
  align-items: baseline;
  gap: 0.3rem;
  padding: 0.4rem 1.2rem;
  background-color: var(--stroke);
  color: #FFFFFF;
  border: 3px solid #FFFFFF;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1.2rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
}

.top_strength_num strong {
  font-family: "Jost", sans-serif;
  font-size: 1.9rem;
  line-height: 1;
  color: var(--yellow);
}

.top_strength_title {
  font-weight: 900;
  line-height: 1.5;
  font-size: clamp(1.5rem, 4.6vw, 1.8rem);
  color: var(--orange-dark);
}

.top_strength_item p {
  margin-top: 0.8rem;
  font-size: clamp(1.2rem, 3.6vw, 1.4rem);
  line-height: 1.8;
}

/* ============================================================
   よくあるご質問
   ============================================================ */
.top_qa {
  padding: 4rem 0;
  background-color: #EEF4FD;
}

.top_qa_list {
  width: calc(100% - 2.4rem);
  margin: 2.6rem auto 0;
  display: grid;
  gap: 1rem;
}

.top_qa_item {
  background-color: #FFFFFF;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.top_qa_q {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  width: 100%;
  padding: 1.4rem 3.6rem 1.4rem 1.4rem;
  background: none;
  border: none;
  text-align: left;
  cursor: pointer;
  position: relative;
  font-family: inherit;
  font-weight: 700;
  line-height: 1.6;
  font-size: clamp(1.2rem, 3.8vw, 1.5rem);
  color: var(--ink);
}

.top_qa_q::after,
.top_qa_q::before {
  content: "";
  position: absolute;
  right: 1.5rem;
  top: 50%;
  width: 1.4rem;
  height: 3px;
  background-color: var(--yellow);
  border-radius: 2px;
  translate: 0 -50%;
  transition: rotate 0.3s ease;
}

.top_qa_q::before { rotate: 90deg; }

.top_qa_item.is-open .top_qa_q::before { rotate: 0deg; }

.top_qa_mark {
  display: grid;
  place-content: center;
  flex-shrink: 0;
  width: 2.8rem;
  height: 2.8rem;
  background-color: var(--yellow);
  color: var(--stroke);
  border: 2px solid var(--ink);
  border-radius: 50%;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  font-size: 1.5rem;
  line-height: 1;
}

.top_qa_mark__a {
  background-color: var(--stroke);
  color: #FFFFFF;
}

.top_qa_a {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.3s ease;
  background-color: #EEF4FD;
}

.top_qa_item.is-open .top_qa_a { grid-template-rows: 1fr; }

.top_qa_a > p {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  overflow: hidden;
  min-height: 0;
  padding-inline: 1.4rem;
  font-size: clamp(1.15rem, 3.5vw, 1.4rem);
  line-height: 1.8;
}

.top_qa_item.is-open .top_qa_a > p { padding-block: 1.4rem; }

/* ============================================================
   トラブル別詳細(グリッド地)
   ============================================================ */
.top_detail {
  padding: 4rem 0;
}

.top_detail .sec_head,
.top_area .sec_head {
  width: calc(100% - 2.4rem);
  margin-inline: auto;
}

.top_detail_list {
  width: calc(100% - 2.4rem);
  margin: 2.6rem auto 0;
  display: grid;
  gap: 1.4rem;
}

.top_detail_item {
  border: 3px solid var(--ink);
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.top_detail_title {
  padding: 1rem 1.4rem;
  background-color: var(--stroke);
  color: #FFFFFF;
  font-weight: 900;
  font-size: clamp(1.4rem, 4.2vw, 1.7rem);
}

.top_detail_sub {
  padding: 1.2rem 1.4rem;
  background-color: #FFFFFF;
}

.top_detail_sub li {
  position: relative;
  padding-left: 2rem;
  font-size: clamp(1.2rem, 3.6vw, 1.4rem);
  line-height: 1.9;
}

.top_detail_sub li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.75em;
  width: 1.1rem;
  height: 1.1rem;
  background-color: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

/* ============================================================
   対応エリア
   ============================================================ */
.top_area {
  padding: 4rem 0;
  background-color: #FFFFFF;
}

.top_area_list {
  width: calc(100% - 2.4rem);
  margin: 2.6rem auto 0;
  border: 3px solid var(--ink);
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.top_area_row {
  display: grid;
  grid-template-columns: 9.5rem 1fr;
}

.top_area_row:not(:last-child) {
  border-bottom: 1px solid #D9D9D9;
}

.top_area_row dt {
  display: grid;
  place-content: center;
  padding: 1rem 0.6rem;
  background-color: var(--stroke);
  color: #FFFFFF;
  font-weight: 900;
  font-size: clamp(1.15rem, 3.5vw, 1.4rem);
  text-align: center;
}

.top_area_row dd {
  padding: 1rem 1.2rem;
  background-color: #EEF4FD;
  font-size: clamp(1.1rem, 3.3vw, 1.3rem);
  line-height: 1.7;
}

/* ============================================================
   footer
   ============================================================ */
.footer {
  width: 100%;
  background-color: var(--brown);
  padding-bottom: 8rem;
}

@media screen and (min-width: 1024px) {
  .footer {
    padding-bottom: 0;
    width: 30%;
    margin-left: 70%;
  }
}

@media screen and (min-width: 2200px) {
  .footer {
    width: 64rem;
    margin-left: auto;
  }
}

.footer_inner {
  max-width: 500px;
  margin-inline: auto;
  padding: 3.6rem 2rem 3rem;
  background-image: url(../img/footer_bg.webp);
  background-size: cover;
  text-align: center;
}

@media screen and (min-width: 1024px) {
  .footer_inner {
    max-width: none;
    width: 100%;
  }
}

.footer_logo {
  font-size: clamp(2.2rem, 7vw, 2.8rem);
}

.footer_name {
  margin-top: 1.2rem;
  color: #FFFFFF;
  font-weight: 900;
  font-size: clamp(1.4rem, 4.2vw, 1.7rem);
}

.footer_address {
  margin-top: 0.6rem;
  font-size: clamp(10px, 3.3vw, 14px);
  color: #FFFFFF;
  font-weight: bold;
  line-height: 1.6;
}

.footer_tel {
  margin-top: 1.2rem;
  font-weight: 600;
  color: #FFFFFF;
  font-size: clamp(2rem, 6.4vw, 2.6rem);
  font-family: "Jost", sans-serif;
  letter-spacing: 0.02em;
}

.footer_tel_sm {
  font-size: 0.55em;
  margin-right: 0.4rem;
}

.footer_tb {
  width: 21.8%;
  margin-left: auto;
  margin-top: 2.4rem;
}

.footer_tb img {
  width: 100%;
  height: auto;
}

.footer_copy_right {
  margin-top: 1.8rem;
  font-size: 1rem;
  color: #FFFFFF;
  font-weight: 500;
  text-align: center;
  line-height: 1;
}

.footer_copy_right_en {
  font-family: "Jost", sans-serif;
}

/* ============================================================
   固定フッターCTA(SPのみ)
   ============================================================ */
.fixed_cta {
  position: fixed;
  left: 0;
  bottom: 0;
  z-index: 90;
  width: 100%;
  padding: 0.8rem 1.2rem;
}

@media screen and (min-width: 1024px) {
  .fixed_cta { display: none; }
}

.fixed_cta_link {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.2rem;
  max-width: 40rem;
  margin-inline: auto;
  padding: 0.6rem 1.2rem;
  background: var(--orange);
  border: 3px solid #FFFFFF;
  border-radius: 10px;
  text-decoration: none;
  color: #FFFFFF;
}

.fixed_cta_lead {
  font-weight: 700;
  font-size: clamp(1rem, 3vw, 1.2rem);
  line-height: 1.2;
}

.fixed_cta_num {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 900;
  font-size: clamp(2rem, 6.6vw, 2.6rem);
  line-height: 1.2;
  letter-spacing: -0.01em;
}

/* ============================================================
   追加パーツ
   ============================================================ */

/* KV: 「お待たせしました。〜です！」 */
.kv_lead {
  margin-bottom: 1.2rem;
  padding-left: 8rem; /* 左のキャラクターを避ける */
  text-align: center;
  color: #FFFFFF;
  font-weight: 900;
  line-height: 1.5;
  font-size: clamp(1.2rem, 3.8vw, 1.5rem);
  -webkit-text-stroke: 5px var(--stroke);
  paint-order: stroke fill;
}

/* 待機中: 「到着してすぐに解決！」「安心の料金！最安値に挑戦中！！」 */
.top_standby_strip {
  display: grid;
  gap: 0.8rem;
  width: calc(100% - 2.4rem);
  margin: 1.8rem auto 0;
}

.top_standby_strip li {
  padding: 0.8rem 1.2rem;
  background-color: var(--stroke);
  border: 3px solid #FFFFFF;
  border-radius: 999px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
  color: var(--yellow);
  font-weight: 900;
  line-height: 1.4;
  font-size: clamp(1.3rem, 4.2vw, 1.7rem);
}

/* 料金セクション冒頭の明朗会計バナー */
.price_banner {
  width: calc(100% - 2.4rem);
  margin: 0 auto 3rem;
  padding: 1.8rem 1.4rem;
  background-color: var(--stroke);
  border: 3px solid #000000;
  border-radius: 1rem;
  box-shadow: var(--card-shadow);
  color: #FFFFFF;
  text-align: center;
  font-weight: 900;
  line-height: 1.6;
  font-size: clamp(1.5rem, 4.6vw, 1.9rem);
}

.price_banner .mark {
  color: var(--yellow);
  font-size: 1.2em;
}

.price_banner_sm {
  display: inline-block;
  margin-top: 0.6rem;
  font-size: 0.7em;
  font-weight: 700;
}

/* ============================================================
   サイトロゴ(テキスト)
   ============================================================ */
.site_logo {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  gap: 0.45em;
  line-height: 1.02;
  font-weight: 900;
  letter-spacing: 0.01em;
  white-space: nowrap;
  color: #FFFFFF;
  -webkit-text-stroke: 5px var(--stroke);
  paint-order: stroke fill;
  text-shadow: 2px 3px 0 rgba(0, 0, 0, 0.35);
}

.site_logo_mark {
  width: 2.1em;
  height: auto;
  flex-shrink: 0;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
}

.site_logo_text {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
}

.site_logo_sub {
  font-size: 0.6em;
}

.site_logo_main {
  font-size: 1em;
  color: var(--yellow);
  letter-spacing: 0.06em;
}

/* ============================================================
   PC左70%: 固定ビジュアルパネル(1024px以上でのみ表示)
   ============================================================ */
.panel_visual {
  display: none;
}

@media screen and (min-width: 1024px) {
  .panel_visual {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    width: 70%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    z-index: 1;
    background-color: #0B2F7A;
  }

  /* 上段: デザイン画像。画面比率によらず全体を必ず表示し、文字が切れないようにする */
  .panel_visual_media {
    position: relative;
    flex: 1 1 auto;
    min-height: 0;
    overflow: hidden;
    background-color: #0B2F7A;
  }

  /* 余白は自分自身のぼかしで埋める(letterboxを目立たせない) */
  .panel_visual_blur {
    position: absolute;
    inset: -6%;
    background-image: url(../img/panel_visual.webp);
    background-size: cover;
    background-position: center;
    filter: blur(28px) brightness(0.62) saturate(1.1);
  }

  .panel_visual_img {
    position: relative;
    z-index: 1;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
  }

  /* 下段: 独立したCTA帯(画像と重ならない) */
  .panel_cta_bar {
    flex: 0 0 auto;
    display: grid;
    place-items: center;
    padding: 1.6rem 2.4rem 2rem;
    background: linear-gradient(180deg, #0B2F7A 0%, #06225C 100%);
    border-top: 4px solid #FFD629;
  }

  .panel_cta_btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
    width: min(100%, 56rem);
    padding: 1.2rem 2.4rem 1.4rem;
    background: linear-gradient(180deg, #FF9F1F 0%, #FF7A00 100%);
    border: 4px solid #FFFFFF;
    border-radius: 1.4rem;
    box-shadow: 0 6px 0 #B85600, 0 10px 22px rgba(0, 0, 0, 0.45);
    text-decoration: none;
    color: #FFFFFF;
    transition: transform 0.12s ease, box-shadow 0.12s ease;
    animation: ctaFloat 3s ease-in-out infinite;
  }

  .panel_cta_btn:hover {
    animation-play-state: paused;
    transform: translateY(3px);
    box-shadow: 0 3px 0 #B85600, 0 6px 14px rgba(0, 0, 0, 0.45);
  }

  .panel_cta_lead {
    font-weight: 900;
    font-size: clamp(1.3rem, 1.15vw, 1.7rem);
    letter-spacing: 0.02em;
  }

  .panel_cta_num {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    font-weight: 900;
    font-size: clamp(3rem, 2.9vw, 4.4rem);
    line-height: 1.1;
    letter-spacing: -0.01em;
  }

  .panel_cta_sub {
    font-weight: 700;
    font-size: clamp(1.1rem, 0.95vw, 1.3rem);
    opacity: 0.92;
  }
}

/* 縦が短いPCではCTA帯を詰める */
@media screen and (min-width: 1024px) and (max-height: 820px) {
  .panel_cta_bar {
    padding: 1rem 2rem 1.2rem;
  }

  .panel_cta_btn {
    padding: 0.8rem 2rem 1rem;
  }

  .panel_cta_num {
    font-size: 3.2rem;
  }
}


/* ============================================================
   駆けつけアニメ
   車が来る → パンク → 技師が駆けつける → 修理 → 綺麗になって走り去る
   1周 14秒。各要素は同じタイムラインを共有する。
   ============================================================ */
.rescue_anim {
  position: relative;
  width: 100%;
  height: 5rem;
  margin-bottom: 0.6rem;
  overflow: hidden;
  pointer-events: none;
}


/* 路面(車が走っている間だけ流れる) */
.rescue_anim_road {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0.5rem;
  height: 3px;
  border-radius: 2px;
  background-image: linear-gradient(90deg, rgba(255, 255, 255, 0.85) 0 18px, transparent 18px 36px);
  background-size: 36px 3px;
  background-repeat: repeat-x;
  opacity: 0.45;
  animation: raRoad 0.7s linear infinite, raRoadRun 14s linear infinite;
}

@keyframes raRoad {
  to { background-position: -36px 0; }
}

/* 走行中だけ路面を見せる */
@keyframes raRoadRun {
  0%, 16%   { opacity: 0.45; }
  20%, 82%  { opacity: 0.12; }
  88%, 100% { opacity: 0.45; }
}

/* 車(登場 → 停車 → 走り去る) */
.rescue_anim_stage {
  position: absolute;
  left: 0;
  bottom: 0.45rem;
  width: 4.6rem;
  height: 3.2rem;
  animation: raCarMove 14s ease-in-out infinite;
}

@keyframes raCarMove {
  0%   { left: 118%; }         /* 右から走ってくる */
  16%  { left: 40%; }          /* 停車 */
  84%  { left: 40%; }
  100% { left: -26%; }         /* 直って左へ走り去る */
}

.ra_car {
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
}

/* 正常な車: 最初と修理後だけ表示 */
.ra_car--ok {
  animation: raCarOk 14s steps(1, end) infinite;
}

@keyframes raCarOk {
  0%, 17%   { opacity: 1; }
  18%, 73%  { opacity: 0; }
  74%, 100% { opacity: 1; }
}

/* パンクした車: 停車後〜修理完了まで */
.ra_car--flat {
  animation: raCarFlat 14s steps(1, end) infinite, raCarShake 0.32s ease-in-out 5;
}

@keyframes raCarFlat {
  0%, 17%   { opacity: 0; }
  18%, 73%  { opacity: 1; }
  74%, 100% { opacity: 0; }
}

@keyframes raCarShake {
  0%, 100% { translate: 0 0; }
  50%      { translate: 0 1.5px; }
}

/* 修理完了のきらめき */
.ra_sparkle {
  position: absolute;
  right: -0.4rem;
  top: -0.4rem;
  width: 1.4rem;
  height: 1.4rem;
  background:
    radial-gradient(circle, #FFF 0 12%, transparent 13%),
    conic-gradient(from 0deg, transparent 0 42%, #FFE14D 45% 55%, transparent 58% 100%);
  opacity: 0;
  animation: raSparkle 14s ease-out infinite;
}

@keyframes raSparkle {
  0%, 71%  { opacity: 0; scale: 0.4; }
  75%      { opacity: 1; scale: 1.15; }
  82%      { opacity: 0; scale: 0.6; }
  100%     { opacity: 0; }
}

/* 技師: 左から走ってくる */
.ra_run {
  position: absolute;
  bottom: 0.45rem;
  height: 3.6rem;
  width: auto;
  opacity: 0;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
  animation: raRunMove 14s ease-out infinite, raRunShow 14s steps(1, end) infinite,
             raBob 0.36s ease-in-out infinite alternate;
}

@keyframes raRunMove {
  0%, 22%  { left: -16%; }
  44%      { left: 27%; }
  100%     { left: 27%; }
}

@keyframes raRunShow {
  0%, 21%   { opacity: 0; }
  22%, 45%  { opacity: 1; }
  46%, 100% { opacity: 0; }
}

@keyframes raBob {
  from { translate: 0 0; }
  to   { translate: 0 -3px; }
}

/* 技師: しゃがんで修理 */
.ra_fix {
  position: absolute;
  left: 29%;
  bottom: 0.45rem;
  height: 2.7rem;
  width: auto;
  opacity: 0;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, 0.45));
  animation: raFixShow 14s steps(1, end) infinite, raFixWork 0.42s ease-in-out infinite alternate;
}

@keyframes raFixShow {
  0%, 45%   { opacity: 0; }
  46%, 72%  { opacity: 1; }
  73%, 100% { opacity: 0; }
}

@keyframes raFixWork {
  from { rotate: -2.5deg; }
  to   { rotate: 2.5deg; }
}

@media (prefers-reduced-motion: reduce) {
  .rescue_anim_road,
  .rescue_anim_stage,
  .ra_car--ok, .ra_car--flat, .ra_sparkle,
  .ra_run, .ra_fix { animation: none; }
  .rescue_anim_stage { left: 40%; }
  .ra_car--flat, .ra_run { opacity: 0; }
  .ra_fix { opacity: 1; }
}

/* ============================================================
   フッター: 運営母体とメニュー
   ============================================================ */
.footer_operator {
  margin-top: 2rem;
  padding: 1.4rem 1.2rem;
  background: rgba(6, 32, 82, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.8rem;
  color: #FFFFFF;
  line-height: 1.6;
}

.footer_operator_label {
  display: inline-block;
  margin-bottom: 0.6rem;
  padding: 0.15rem 1rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 999px;
  color: var(--stroke);
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: 0.1em;
}

.footer_operator_name {
  font-weight: 900;
  font-size: clamp(1.5rem, 4.6vw, 1.8rem);
}

.footer_operator_addr {
  margin-top: 0.4rem;
  font-size: clamp(1.1rem, 3.4vw, 1.3rem);
}

.footer_operator_tel {
  margin-top: 0.4rem;
  font-family: "Jost", sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  font-size: clamp(1.2rem, 3.8vw, 1.4rem);
}

.footer_nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.6rem 1.6rem;
  margin-top: 1.8rem;
}

.footer_nav a {
  color: #FFFFFF;
  font-weight: 700;
  font-size: clamp(1.2rem, 3.6vw, 1.4rem);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.footer_nav a:hover {
  opacity: 0.75;
}

.header_logo_link {
  display: inline-block;
  text-decoration: none;
}

/* ============================================================
   プライバシーポリシーなどの文書ページ
   ============================================================ */
.page_container--legal {
  display: block;
  background-color: var(--brown);
}

.main--legal {
  width: min(100%, 72rem);
  margin-inline: auto;
  padding-top: var(--header-h);
  background-color: #FFFFFF;
}

/* 文書ページは1カラムなので、PCでも右寄せにしない */
@media screen and (min-width: 1024px) {
  .main--legal {
    width: min(100%, 72rem);
    margin-inline: auto;
  }
}

.legal {
  padding: 3.2rem 1.6rem 5rem;
  color: var(--ink);
}

.legal_title {
  text-align: center;
  font-weight: 900;
  line-height: 1.4;
  font-size: clamp(2.2rem, 6.4vw, 2.8rem);
  color: var(--orange-dark);
}

.legal_title::after {
  content: "";
  display: block;
  width: 6rem;
  height: 4px;
  margin: 1rem auto 0;
  background: var(--yellow);
  border-radius: 2px;
}

.legal_lead {
  margin-top: 2.4rem;
  font-size: clamp(1.3rem, 3.8vw, 1.5rem);
  line-height: 1.9;
}

.legal_sec {
  margin-top: 3rem;
}

.legal_sec h2 {
  padding: 0.7rem 1.2rem;
  background: var(--stroke);
  border-radius: 0.6rem;
  color: #FFFFFF;
  font-weight: 900;
  line-height: 1.5;
  font-size: clamp(1.5rem, 4.4vw, 1.8rem);
}

.legal_sec h3 {
  margin-top: 1.8rem;
  padding-left: 1rem;
  border-left: 5px solid var(--yellow);
  font-weight: 900;
  line-height: 1.5;
  font-size: clamp(1.35rem, 4vw, 1.55rem);
  color: var(--orange-dark);
}

.legal_sec p {
  margin-top: 1rem;
  font-size: clamp(1.25rem, 3.7vw, 1.45rem);
  line-height: 1.9;
}

.legal_sec ul {
  margin-top: 1rem;
}

.legal_sec ul li {
  position: relative;
  padding-left: 1.8rem;
  margin-top: 0.6rem;
  font-size: clamp(1.25rem, 3.7vw, 1.45rem);
  line-height: 1.8;
}

.legal_sec ul li::before {
  content: "";
  position: absolute;
  left: 0.2rem;
  top: 0.72em;
  width: 0.9rem;
  height: 0.9rem;
  background: var(--yellow);
  border: 2px solid var(--ink);
  border-radius: 50%;
}

.legal_links li::before {
  display: none;
}

.legal_links li {
  padding-left: 0;
}

.legal_links a {
  color: var(--orange-dark);
  text-decoration: underline;
  text-underline-offset: 3px;
  word-break: break-all;
}

/* 事業者情報の表 */
.legal_info {
  margin-top: 1.4rem;
  border: 3px solid var(--ink);
  border-radius: 0.8rem;
  overflow: hidden;
}

.legal_info_row {
  display: grid;
  grid-template-columns: 10rem 1fr;
}

.legal_info_row:not(:last-child) {
  border-bottom: 1px solid #D9D9D9;
}

.legal_info_row dt {
  display: grid;
  place-content: center;
  padding: 1rem 0.6rem;
  background: var(--stroke);
  color: #FFFFFF;
  font-weight: 900;
  text-align: center;
  font-size: clamp(1.15rem, 3.4vw, 1.35rem);
}

.legal_info_row dd {
  padding: 1rem 1.2rem;
  background: #EEF4FD;
  font-size: clamp(1.2rem, 3.6vw, 1.4rem);
  line-height: 1.7;
}

.legal_info_row dd a {
  color: var(--orange-dark);
  font-weight: 700;
}

.legal_date {
  margin-top: 3rem;
  text-align: right;
  font-size: clamp(1.15rem, 3.4vw, 1.3rem);
  color: #5B6B85;
}

.legal_back {
  margin-top: 2.4rem;
  text-align: center;
}

.legal_back a {
  display: inline-block;
  padding: 1rem 2.4rem;
  background: var(--orange);
  border: 3px solid #FFFFFF;
  border-radius: 999px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.25);
  color: #FFFFFF;
  font-weight: 900;
  text-decoration: none;
  font-size: clamp(1.3rem, 4vw, 1.5rem);
}

.legal_back a:hover {
  opacity: 0.9;
}
