:root {
  --black: #141924;
  --light: #e8eef0;
  --blue: #08a4df;
  --blue-dark: #057daf;
  --red: #ed001b;
  --red-dark: #c70018;
  --white: #ffffff;
  --gray: #52606b;
  --yellow: #ffc638;
  --line: #171923;
}

.site-footer .talouze-credit {
  display: block;
  width: 100%;
  margin-top: 18px;
  color: inherit;
  font-size: 0.7rem;
  text-align: center;
  text-decoration: none;
  opacity: 0.58;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--black);
  font-family: "Montserrat", "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", system-ui, sans-serif;
  background: var(--light);
  line-height: 1.75;
  word-break: auto-phrase;
}

img {
  display: block;
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

.phrase {
  display: inline-block;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  display: grid;
  grid-template-columns: 150px 1fr auto;
  align-items: center;
  min-height: 116px;
  padding: 14px clamp(18px, 4vw, 48px);
  background: var(--light);
}

.logo {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  margin-bottom: -52px;
  overflow: hidden;
  background: #141924;
  border: 4px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 0 0 4px var(--white);
}

.logo-wheel {
  position: absolute;
  inset: 8px;
  border-radius: 50%;
  background:
    radial-gradient(circle, var(--white) 0 24%, #d8e2df 25% 34%, var(--line) 35% 38%, transparent 39%),
    repeating-conic-gradient(from -6deg, #10141c 0deg 9deg, #2b3038 9deg 15deg, #10141c 15deg 24deg);
}

.logo-wheel::before {
  position: absolute;
  inset: 24px;
  content: "";
  border: 4px solid var(--white);
  border-radius: 50%;
  box-shadow: inset 0 0 0 4px rgba(20, 25, 36, 0.22);
}

.logo-type {
  position: relative;
  z-index: 2;
  width: 86%;
  padding: 7px 0 6px;
  text-align: center;
  font-size: 22px;
  font-weight: 1000;
  letter-spacing: 0;
  background: var(--white);
  border: 4px solid var(--line);
  border-radius: 6px;
}

.main-nav {
  display: flex;
  justify-content: center;
  gap: clamp(28px, 4vw, 64px);
  font-size: 16px;
  font-weight: 1000;
  letter-spacing: 0.03em;
}

.main-nav a {
  padding: 10px 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.sns-pills {
  display: flex;
  gap: 7px;
  padding: 8px;
  background: var(--light);
  border: 4px solid var(--line);
  border-radius: 999px;
}

.sns-pills span {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--white);
  font-size: 9px;
  font-weight: 1000;
  background: #1db33f;
  border: 3px solid var(--line);
  border-radius: 50%;
}

.sns-pills span:nth-child(2) {
  background: #c99600;
}

.sns-pills span:nth-child(3) {
  background: #99191f;
}

.contact-button,
.contact-large {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 56px;
  padding: 14px 30px;
  color: var(--white);
  font-size: 20px;
  font-weight: 1000;
  line-height: 1.1;
  background: var(--blue);
  border: 4px solid var(--line);
  border-radius: 999px;
  box-shadow: inset 0 0 0 4px var(--white);
}

.contact-button::after {
  content: "→";
  margin-left: 10px;
}

.hero {
  padding: 40px clamp(20px, 4.4vw, 60px) 100px;
  overflow: hidden;
}

.hero-panel {
  position: relative;
  min-height: 640px;
  overflow: hidden;
  border: 5px solid var(--line);
  border-radius: 24px;
  background: var(--black);
}

.hero-photo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-panel::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(237, 0, 27, 0.78) 0 50%, rgba(8, 164, 223, 0.76) 50% 100%) left center / 43% 100% no-repeat,
    linear-gradient(90deg, rgba(20, 25, 36, 0.02) 0 43%, rgba(20, 25, 36, 0.1) 43% 100%),
    linear-gradient(180deg, rgba(20, 25, 36, 0.04), rgba(20, 25, 36, 0.12));
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 2;
}

.symptom-parade {
  padding: 0 clamp(20px, 4.4vw, 60px) 92px;
  background: var(--light);
}

.parade-heading {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1fr);
  gap: 28px;
  align-items: end;
  margin-bottom: 18px;
}

.parade-heading p {
  margin: 0;
  color: var(--blue-dark);
  font-size: 14px;
  font-weight: 1000;
  letter-spacing: 0.14em;
}

.parade-heading h2 {
  margin: 0;
  font-size: clamp(34px, 4.2vw, 58px);
  font-weight: 1000;
  line-height: 1.18;
}

.parade-scene {
  position: relative;
  min-height: 430px;
  overflow: hidden;
  background: url("assets/走る車用_町並み道路_案1.webp") center center / cover no-repeat;
  border: 5px solid var(--line);
  border-radius: 22px;
}

.parade-scene::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.24), rgba(255, 255, 255, 0.02) 48%, rgba(255, 255, 255, 0.18)),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), rgba(20, 25, 36, 0.08));
  pointer-events: none;
}

.parade-copy {
  position: absolute;
  top: 22px;
  left: 26px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.parade-copy span {
  padding: 6px 12px;
  color: var(--white);
  font-size: 14px;
  font-weight: 1000;
  background: var(--blue);
  border: 3px solid var(--line);
  border-radius: 999px;
}

.parade-copy span:nth-child(even) {
  background: var(--red);
}

.run-car {
  position: absolute;
  bottom: 30px;
  z-index: 4;
  width: min(36vw, 360px);
  animation-duration: 80s;
  animation-timing-function: linear;
  animation-iteration-count: infinite;
  animation-delay: var(--delay);
  transform: translateX(-55vw);
  will-change: transform;
}

.run-car img {
  width: 100%;
  filter: drop-shadow(7px 9px 0 rgba(20, 25, 36, 0.2));
}

.run-right {
  animation-name: drive-right;
}

.run-left {
  transform: translateX(112vw);
  animation-name: drive-left;
}

.yellow-run {
  width: min(32vw, 320px);
}

.van-run {
  bottom: 48px;
}

.truck-run {
  bottom: 34px;
  width: min(40vw, 400px);
}

.red-run {
  width: min(33vw, 330px);
}

.sedan-run {
  width: min(42vw, 420px);
}

.car-bubble {
  position: absolute;
  left: 50%;
  bottom: calc(100% + 6px);
  z-index: 2;
  min-width: 184px;
  padding: 11px 16px;
  text-align: center;
  color: var(--black);
  font-size: 17px;
  font-weight: 1000;
  line-height: 1.35;
  background: var(--white);
  border: 3px solid var(--line);
  border-radius: 10px;
  box-shadow: 4px 5px 0 rgba(20, 25, 36, 0.14);
  transform: translateX(-50%);
  white-space: nowrap;
}

.car-bubble::after {
  content: "";
  position: absolute;
  left: calc(50% - 10px);
  bottom: -12px;
  width: 20px;
  height: 20px;
  background: var(--white);
  border-right: 3px solid var(--line);
  border-bottom: 3px solid var(--line);
  transform: rotate(45deg);
}

@keyframes drive-right {
  0%, 4% {
    transform: translateX(-55vw) translateY(0);
  }
  10% {
    transform: translateX(34vw) translateY(-5px);
  }
  18%, 100% {
    transform: translateX(112vw) translateY(0);
  }
}

@keyframes drive-left {
  0%, 4% {
    transform: translateX(112vw) translateY(0);
  }
  10% {
    transform: translateX(34vw) translateY(-5px);
  }
  18%, 100% {
    transform: translateX(-60vw) translateY(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .parade-scene {
    display: grid;
    grid-template-columns: repeat(5, minmax(120px, 1fr));
    align-items: end;
    gap: 8px;
    min-height: auto;
    padding: 96px 16px 22px;
    overflow-x: auto;
  }

  .run-car {
    position: relative;
    bottom: auto;
    width: 180px;
    animation: none;
    transform: none;
  }

  .run-left {
    transform: none;
  }

}

.hero-sub {
  position: absolute;
  top: 78px;
  right: 78px;
  z-index: 2;
  width: 460px;
  color: rgba(20, 25, 36, 0.18);
  font-size: 28px;
  font-weight: 1000;
  line-height: 1.3;
  text-align: center;
}

.hero-ja {
  position: absolute;
  top: 70px;
  left: 42px;
  z-index: 3;
  margin: 0;
  color: var(--white);
  font-size: clamp(36px, 4.2vw, 58px);
  font-weight: 1000;
  line-height: 1.2;
  text-shadow: 0 3px 0 rgba(20, 25, 36, 0.22);
}

.hero-big {
  position: absolute;
  left: 36px;
  right: 36px;
  top: 154px;
  z-index: 1;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(110px, 17vw, 250px);
  font-weight: 1000;
  letter-spacing: 0;
  line-height: 0.9;
  white-space: nowrap;
  text-shadow: 0 5px 0 rgba(20, 25, 36, 0.12);
}

.hero-message {
  position: absolute;
  right: 54px;
  bottom: 92px;
  z-index: 5;
  width: min(420px, 34vw);
  margin: 0;
  color: var(--white);
  font-size: clamp(22px, 2.4vw, 34px);
  font-weight: 1000;
  line-height: 1.45;
  text-shadow: 0 3px 0 rgba(20, 25, 36, 0.2);
}

.about-label {
  display: flex;
  justify-content: center;
  margin-top: -36px;
  padding-inline: 20px;
}

.about-label a {
  display: grid;
  place-items: center;
  width: min(480px, 90vw);
  min-height: 98px;
  color: var(--white);
  text-align: center;
  background: var(--blue);
  border: 5px solid var(--line);
  border-radius: 14px;
  box-shadow: inset 0 0 0 6px var(--white);
}

.about-label span {
  font-size: 24px;
  font-weight: 1000;
}

.about-label strong {
  font-size: 14px;
  letter-spacing: 0.22em;
}

.section {
  padding: clamp(74px, 9vw, 128px) clamp(22px, 6vw, 86px);
}

.about {
  display: grid;
  grid-template-columns: minmax(300px, 0.9fr) minmax(0, 1fr);
  gap: clamp(28px, 6vw, 86px);
  align-items: start;
}

.about-body {
  display: grid;
  gap: 24px;
}

.image-frame {
  margin: 0;
  overflow: hidden;
  background: var(--white);
  border: 4px solid var(--line);
  border-radius: 16px;
}

.image-frame img {
  width: 100%;
  height: auto;
}

.section-title p,
.promise-heading p,
.service-title p,
.store-kana,
.contact p {
  margin: 0 0 14px;
  color: var(--blue-dark);
  font-size: 15px;
  font-weight: 1000;
  letter-spacing: 0.12em;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.section-title h1,
.promise-heading h2,
.service-title h2,
.store h2,
.contact h2 {
  margin-bottom: 0;
  font-size: clamp(38px, 5vw, 68px);
  font-weight: 1000;
  line-height: 1.25;
  letter-spacing: 0;
}

.about-text {
  font-size: clamp(17px, 2vw, 21px);
  font-weight: 800;
}

.about-text p:last-child {
  margin-bottom: 0;
}

.promise-photo {
  margin-top: 28px;
}

.promise {
  display: grid;
  grid-template-columns: minmax(260px, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(28px, 6vw, 80px);
  background: var(--white);
  border-block: 5px solid var(--line);
}

.promise-list {
  display: grid;
  gap: 18px;
}

.promise-list article,
.service-card,
.store-card {
  background: var(--light);
  border: 4px solid var(--line);
  border-radius: 16px;
}

.promise-list article {
  padding: 24px 28px;
}

.promise-icon {
  display: block;
  width: 82px;
  height: 82px;
  object-fit: contain;
}

.promise-list h3 {
  margin: 8px 0;
  font-size: 24px;
  font-weight: 1000;
}

.promise-list p,
.service-card p,
.store-card p,
.store-card dd {
  color: var(--gray);
  font-weight: 800;
}

.service {
  background: var(--light);
}

.service-title {
  margin-bottom: 34px;
  text-align: center;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 1fr;
  gap: 24px;
}

.service-card {
  display: grid;
  grid-template-columns: minmax(190px, 0.9fr) minmax(0, 1fr);
  gap: 18px;
  align-items: center;
  min-height: 250px;
  padding: 18px;
  overflow: hidden;
  background: var(--white);
}

.service-card > div {
  min-width: 0;
}

.service-card img {
  width: 100%;
  max-height: 220px;
  object-fit: contain;
  filter: drop-shadow(6px 8px 0 rgba(20, 25, 36, 0.16));
}

.service-kana {
  margin-bottom: 6px;
  color: var(--red);
  font-size: 13px;
  font-weight: 1000;
  letter-spacing: 0.12em;
}

.service-card h3 {
  margin-bottom: 8px;
  font-size: clamp(25px, 2.3vw, 34px);
  font-weight: 1000;
  line-height: 1.18;
  overflow-wrap: anywhere;
  word-break: auto-phrase;
}

.service-card p:last-child {
  margin-bottom: 0;
}

.store {
  background: var(--white);
  border-top: 5px solid var(--line);
}

.store-card {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(320px, 1fr);
  gap: 32px;
  padding: clamp(26px, 5vw, 52px);
}

.store-card dl {
  display: grid;
  gap: 12px;
  margin: 0;
}

.store-card dl div {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid rgba(20, 25, 36, 0.12);
}

.store-card dt {
  font-weight: 1000;
}

.store-card dd {
  margin: 0;
}

.contact {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: clamp(54px, 7vw, 86px) clamp(22px, 6vw, 86px);
  color: var(--white);
  background: linear-gradient(90deg, var(--blue) 0 50%, var(--red) 50%);
  border-top: 5px solid var(--line);
}

.contact p {
  color: var(--white);
}

.contact h2 {
  color: var(--white);
}

.contact-large {
  flex: 0 0 auto;
  background: var(--white);
  color: var(--black);
  box-shadow: none;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  padding: 28px clamp(22px, 6vw, 86px);
  color: var(--white);
  font-weight: 1000;
  background: var(--black);
}

.site-footer p {
  margin: 0;
}

.site-footer a {
  text-decoration: underline;
  text-underline-offset: 4px;
}

@media (max-width: 980px) {
  .site-header {
    position: relative;
    grid-template-columns: 108px 1fr auto;
    min-height: 92px;
    padding: 10px 14px;
  }

  .logo {
    width: 92px;
    height: 92px;
    margin-bottom: -36px;
    border-width: 3px;
  }

  .logo-type {
    font-size: 15px;
    border-width: 3px;
  }

  .main-nav {
    justify-content: flex-end;
    gap: 12px;
    font-size: 13px;
  }

  .main-nav a:nth-child(1),
  .main-nav a:nth-child(3),
  .sns-pills {
    display: none;
  }

  .contact-button {
    min-height: 46px;
    padding: 10px 20px;
    font-size: 16px;
    border-width: 3px;
    box-shadow: inset 0 0 0 3px var(--white);
  }

  .hero {
    padding: 0 20px 108px;
  }

  .symptom-parade {
    padding: 0 20px 76px;
  }

  .parade-heading {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .parade-scene {
    min-height: 330px;
    border-width: 4px;
    border-radius: 14px;
  }

  .parade-copy {
    top: 14px;
    left: 14px;
    right: 14px;
    gap: 6px;
  }

  .parade-copy span {
    padding: 4px 9px;
    font-size: 12px;
    border-width: 2px;
  }

  .run-car {
    bottom: 18px;
    width: 245px;
  }

  .van-run {
    bottom: 32px;
  }

  .truck-run {
    bottom: 22px;
    width: 285px;
  }

  .yellow-run {
    width: 225px;
  }

  .red-run {
    width: 225px;
  }

  .sedan-run {
    width: 280px;
  }

  .car-bubble {
    min-width: 150px;
    padding: 8px 11px;
    font-size: 14px;
    border-width: 2px;
  }

  .hero-panel {
    min-height: 650px;
    border-width: 4px;
    border-radius: 10px;
  }

  .hero-photo {
    object-position: 35% center;
  }

  .hero-sub {
    display: none;
  }

  .hero-ja {
    top: 42px;
    left: 22px;
    font-size: 32px;
    line-height: 1.28;
  }

  .hero-big {
    top: 134px;
    left: 22px;
    right: 22px;
    max-width: calc(100% - 44px);
    font-size: clamp(70px, 18vw, 118px);
    line-height: 0.9;
  }

  .hero-message {
    left: 22px;
    right: 22px;
    bottom: 36px;
    width: auto;
    padding: 12px 14px;
    color: var(--black);
    font-size: 20px;
    line-height: 1.45;
    background: rgba(255, 255, 255, 0.9);
    border: 3px solid var(--line);
    border-radius: 10px;
    text-shadow: none;
    writing-mode: horizontal-tb;
  }

  .about,
  .promise,
  .store-card {
    grid-template-columns: 1fr;
  }

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

  .service-card {
    grid-column: auto;
    grid-template-columns: 1fr;
    background: var(--white);
  }

  .service-card img {
    max-height: 210px;
  }

  .contact {
    align-items: stretch;
    flex-direction: column;
    background: linear-gradient(180deg, var(--blue) 0 50%, var(--red) 50%);
  }
}

@media (max-width: 560px) {
  .site-header {
    grid-template-columns: 82px 1fr;
    min-height: 88px;
    gap: 10px;
    padding-inline: 12px;
  }

  .logo {
    width: 82px;
    height: 82px;
    margin-bottom: -28px;
  }

  .logo-type {
    font-size: 13px;
  }

  .main-nav {
    display: none;
  }

  .header-actions {
    justify-self: end;
  }

  .contact-button {
    min-height: 42px;
    padding: 9px 16px;
    font-size: 15px;
  }

  .hero {
    padding-inline: 12px;
  }

  .symptom-parade {
    padding-inline: 12px;
  }

  .parade-heading h2 {
    font-size: 32px;
  }

  .parade-scene {
    min-height: 300px;
  }

  .run-car {
    width: 220px;
  }

  .van-run {
    bottom: 30px;
  }

  .truck-run {
    bottom: 22px;
    width: 260px;
  }

  .yellow-run {
    width: 205px;
  }

  .red-run {
    width: 205px;
  }

  .sedan-run {
    width: 255px;
  }

  .hero-panel {
    min-height: 620px;
  }

  .hero-big {
    top: 130px;
    font-size: clamp(62px, 18vw, 82px);
  }

  .hero-ja {
    font-size: 28px;
  }

  .hero-message {
    bottom: 28px;
    font-size: 18px;
  }

  .section {
    padding-inline: 20px;
  }

  .section-title h1,
  .promise-heading h2,
  .service-title h2,
  .store h2,
  .contact h2 {
    font-size: 36px;
  }

  .about-label a {
    min-height: 88px;
  }

  .about-label span {
    font-size: 20px;
  }

  .store-card dl div {
    grid-template-columns: 1fr;
    gap: 2px;
  }

  .contact-large {
    width: 100%;
    min-height: 62px;
    font-size: 16px;
  }
}
