:root {
  --black: #080a0d;
  --black-2: #0f1318;
  --black-3: #171c22;
  --white: #f7f8fa;
  --gray: #aeb6c0;
  --line: #2b323b;
  --orange: #ff7a00;
  --orange-light: #ff9a30;
  --max-width: 1180px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--white);
  background: var(--black);
  font-family:
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    "Noto Sans JP",
    sans-serif;
  line-height: 1.8;
  letter-spacing: 0.02em;
}

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

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

/* ヘッダー */

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(8, 10, 13, 0.92);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(10px);
}

.header-inner {
  width: min(calc(100% - 40px), var(--max-width));
  height: 78px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand img {
  width: 220px;
}

.global-nav {
  display: flex;
  align-items: center;
  gap: 30px;
  font-size: 14px;
  font-weight: 700;
}

.global-nav a {
  color: #dce1e6;
  transition: color 0.2s;
}

.global-nav a:hover {
  color: var(--orange);
}

.global-nav .nav-contact {
  padding: 10px 18px;
  color: #ffffff;
  background: var(--orange);
  border-radius: 999px;
}

.global-nav .nav-contact:hover {
  color: #ffffff;
  background: var(--orange-light);
}

/* メインビジュアル */

.hero {
  position: relative;
  min-height: 690px;
  display: grid;
  place-items: center;
  overflow: hidden;

  background:
    radial-gradient(
      circle at 50% 15%,
      rgba(255, 122, 0, 0.1),
      transparent 36%
    ),
    linear-gradient(
      180deg,
      #030405 0%,
      #080a0d 78%,
      #0f1318 100%
    );
}

.hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 180px;
  background:
    linear-gradient(
      transparent,
      var(--black-2)
    );
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background-image:
    linear-gradient(
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(255, 255, 255, 0.018) 1px,
      transparent 1px
    );

  background-size: 44px 44px;

  mask-image:
    linear-gradient(
      to bottom,
      #000000,
      transparent 80%
    );
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: min(calc(100% - 40px), 1120px);
  padding: 85px 0 120px;
  text-align: center;
}

.hero-logo {
  width: min(100%, 1050px);
  margin: 0 auto;
  border-radius: 2px;
}

.hero-lead {
  max-width: 720px;
  margin: 34px auto 0;
  color: #d9dee5;
  font-size: clamp(17px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.8;
}

.hero-actions {
  margin-top: 35px;
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  min-width: 200px;
  padding: 13px 22px;
  border-radius: 6px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.btn-primary {
  color: #ffffff;
  background: var(--orange);
}

.btn-primary:hover {
  background: var(--orange-light);
}

.btn-outline {
  color: #ffffff;
  border: 1px solid #59616c;
}

.btn-outline:hover {
  color: var(--orange);
  border-color: var(--orange);
}

/* 共通 */

.section {
  padding: 95px 0;
}

.section-dark {
  background: var(--black-2);
}

.section-inner {
  width: min(calc(100% - 40px), var(--max-width));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--orange);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.18em;
}

h1,
h2,
h3 {
  margin-top: 0;
  line-height: 1.35;
}

h1 {
  font-size: clamp(32px, 4vw, 52px);
}

h2 {
  font-size: clamp(28px, 3vw, 42px);
}

h3 {
  font-size: 22px;
}

/* REBOOTについて */

.intro {
  background: var(--black-2);
}

.intro-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 80px;
  align-items: center;
}

.intro-text {
  color: #c7ced6;
  font-size: 17px;
}

/* 事業案内 */

.services {
  border-top: 1px solid var(--line);
}

.service-grid {
  margin-top: 42px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.service-card {
  position: relative;
  min-height: 240px;
  padding: 34px;
  overflow: hidden;

  background:
    linear-gradient(
      145deg,
      #171c22,
      #101419
    );

  border: 1px solid var(--line);
  border-radius: 12px;
}

.service-card::after {
  content: "";
  position: absolute;
  right: -40px;
  bottom: -70px;
  width: 170px;
  height: 170px;
  border: 25px solid rgba(255, 122, 0, 0.06);
  border-radius: 50%;
}

.service-card p {
  color: #bfc6ce;
}

.service-no {
  display: block;
  color: var(--orange);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0.15em;
}

/* メッセージ */

.message {
  background: var(--black);
}

.message-box {
  max-width: 920px;
  display: grid;
  grid-template-columns: 9px 1fr;
  gap: 34px;
}

.message-line {
  background: var(--orange);
  border-radius: 999px;
}

.message p:last-child {
  color: #c7ced6;
}

/* 会社情報 */

.company {
  border-top: 1px solid var(--line);
}

.company-grid {
  display: grid;
  grid-template-columns: 0.75fr 1.25fr;
  gap: 70px;
}

.company-list {
  margin: 0;
  border-top: 1px solid var(--line);
}

.company-list div {
  padding: 18px 0;
  display: grid;
  grid-template-columns: 150px 1fr;
  border-bottom: 1px solid var(--line);
}

.company-list dt {
  color: var(--gray);
  font-weight: 700;
}

.company-list dd {
  margin: 0;
}

.company-list a {
  color: var(--orange);
  font-weight: 800;
}

/* お問い合わせ */

.contact {
  text-align: center;
}

.contact-box {
  max-width: 850px;
}

.contact-note {
  color: #c4cbd3;
}

.contact-tel {
  margin-top: 16px;
  display: inline-flex;
  align-items: baseline;
  gap: 14px;

  color: #ffffff;
  font-size: clamp(32px, 6vw, 62px);
  font-weight: 900;
  letter-spacing: 0.04em;
}

.contact-tel span {
  color: var(--orange);
  font-size: 14px;
  letter-spacing: 0.15em;
}

.contact-small {
  color: #8f98a3;
  font-size: 13px;
}

/* フッター */

.site-footer {
  background: #050607;
  border-top: 1px solid var(--line);
}

.footer-inner {
  width: min(calc(100% - 40px), var(--max-width));
  min-height: 150px;
  margin: 0 auto;

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-inner img {
  width: 240px;
}

.footer-inner p {
  color: #77818c;
  font-size: 12px;
}

.footer-meta {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 5px;
  text-align: right;
}

.footer-meta p {
  margin: 0;
}

.footer-system-credit {
  color: #59626c !important;
  font-size: 10px !important;
  letter-spacing: 0.08em;
}

.footer-system-credit span {
  color: #8b949e;
  font-weight: 700;
}

/* タブレット */

@media (max-width: 820px) {

  .header-inner {
    height: 66px;
  }

  .brand img {
    width: 165px;
  }

  .global-nav a:not(.nav-contact) {
    display: none;
  }

  .global-nav .nav-contact {
    padding: 8px 14px;
  }

  .hero {
    min-height: 560px;
  }

  .hero-inner {
    padding: 55px 0 95px;
  }

  .hero-lead br {
    display: none;
  }

  .section {
    padding: 70px 0;
  }

  .intro-grid,
  .company-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

  .company-list div {
    grid-template-columns: 105px 1fr;
  }

  .footer-inner {
    padding: 35px 0;
    flex-direction: column;
    justify-content: center;
    text-align: center;
  }

  .footer-meta {
    align-items: center;
    text-align: center;
  }
}

/* スマートフォン */

@media (max-width: 480px) {

  .header-inner,
  .section-inner,
  .hero-inner,
  .footer-inner {
    width: min(
      calc(100% - 28px),
      var(--max-width)
    );
  }

  .hero {
    min-height: 500px;
  }

  .hero-logo {
    width: 100%;
  }

  .hero-lead {
    font-size: 16px;
  }

  .btn {
    width: 100%;
  }

  .service-card {
    padding: 26px 22px;
  }

  .company-list div {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-tel {
    flex-direction: column;
    gap: 0;
  }
}

/* 在庫車両 */
.stock-home {
  background: radial-gradient(circle at 88% 30%, rgba(255, 122, 0, 0.12), transparent 30%), #080a0d;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.stock-home-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding: 42px;
  background: linear-gradient(145deg, #171c22, #101419);
  border: 1px solid var(--line);
  border-radius: 16px;
}
.stock-home-box p:last-child { max-width: 720px; margin-bottom: 0; color: #bfc6ce; }
.stock-home-box .btn { flex: 0 0 auto; }
.stock-page-hero {
  padding: 86px 0 64px;
  background: radial-gradient(circle at 75% 5%, rgba(255, 122, 0, 0.14), transparent 30%), linear-gradient(180deg, #050607, #0f1318);
  border-bottom: 1px solid var(--line);
}
.stock-page-hero h1, .stock-detail-head h1 { margin-bottom: 12px; }
.stock-page-hero p:last-child { max-width: 760px; color: #c1c8d0; font-size: 17px; }
.stock-page-section { min-height: 420px; background: var(--black-2); }
.stock-grid-public { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.stock-card-public {
  overflow: hidden;
  background: linear-gradient(180deg, #171c22, #101419);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.24);
}
.stock-card-image { position: relative; aspect-ratio: 4 / 3; display: block; overflow: hidden; background: #07090b; }
.stock-card-image img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.25s ease; }
.stock-card-public:hover .stock-card-image img { transform: scale(1.025); }
.stock-no-image {
  width: 100%; height: 100%; display: grid; place-content: center; gap: 4px; text-align: center;
  background: radial-gradient(circle at 50% 28%, rgba(255, 122, 0, 0.12), transparent 33%), #0a0d10;
  color: #fff;
}
.stock-no-image strong { font-size: 30px; letter-spacing: 0.15em; }
.stock-no-image small { color: #747f89; letter-spacing: 0.16em; }
.stock-status-public {
  position: absolute; top: 14px; left: 14px; display: inline-flex; align-items: center; justify-content: center;
  min-width: 78px; padding: 6px 12px; border: 1px solid transparent; border-radius: 999px;
  font-size: 13px; font-weight: 900;
}
.stock-status-on-sale { color: #b6f0cf; background: rgba(18, 73, 49, 0.92); border-color: #2c8c62; }
.stock-status-negotiating { color: #ffd59b; background: rgba(84, 52, 11, 0.94); border-color: #a66d20; }
.stock-status-sold { color: #d4dae0; background: rgba(43, 50, 59, 0.94); border-color: #5a6671; }
.stock-card-body { padding: 24px; }
.stock-card-body h2 { min-height: 60px; margin-bottom: 18px; font-size: 22px; }
.stock-card-body h2 a:hover { color: var(--orange); }
.stock-spec-list {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1px; overflow: hidden;
  background: var(--line); border: 1px solid var(--line); border-radius: 9px;
}
.stock-spec-list span { min-height: 67px; padding: 10px 12px; background: #12161b; }
.stock-spec-list small, .stock-spec-list strong { display: block; }
.stock-spec-list small { color: #8f99a4; font-size: 11px; }
.stock-spec-list strong { margin-top: 3px; font-size: 14px; }
.stock-price-public { margin: 19px 0; color: #fff; font-size: 25px; font-weight: 900; }
.stock-detail-button { width: 100%; }
.stock-empty-public {
  max-width: 780px; margin: 0 auto; padding: 60px 30px; text-align: center;
  background: #14191e; border: 1px solid var(--line); border-radius: 14px;
}
.stock-empty-public p { color: #bfc7cf; }
.stock-detail-head { padding: 54px 0 34px; background: linear-gradient(180deg, #050607, #0f1318); border-bottom: 1px solid var(--line); }
.stock-back-link { display: inline-block; margin-bottom: 24px; color: #b5bec7; font-weight: 700; }
.stock-back-link:hover { color: var(--orange); }
.stock-detail-title-row { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; }
.stock-status-large { position: static; min-width: 100px; padding: 8px 16px; }
.stock-detail-section { background: var(--black-2); }
.stock-detail-layout { display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(340px, 0.75fr); gap: 42px; align-items: start; }
.stock-gallery-main { aspect-ratio: 4 / 3; overflow: hidden; background: #080a0d; border: 1px solid var(--line); border-radius: 14px; }
.stock-gallery-main img { width: 100%; height: 100%; object-fit: contain; }
.stock-no-image-large { min-height: 100%; }
.stock-gallery-thumbs { margin-top: 12px; display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 10px; }
.stock-thumb { padding: 0; aspect-ratio: 4 / 3; overflow: hidden; cursor: pointer; background: #0b0e11; border: 2px solid transparent; border-radius: 7px; }
.stock-thumb.active, .stock-thumb:hover { border-color: var(--orange); }
.stock-thumb img { width: 100%; height: 100%; object-fit: cover; }
.stock-detail-info { padding: 28px; background: linear-gradient(180deg, #171c22, #101419); border: 1px solid var(--line); border-radius: 14px; }
.stock-price-detail { margin-top: 0; padding-bottom: 18px; border-bottom: 1px solid var(--line); font-size: 31px; }
.stock-detail-specs { margin: 0; }
.stock-detail-specs div { display: grid; grid-template-columns: 105px 1fr; gap: 15px; padding: 13px 0; border-bottom: 1px solid var(--line); }
.stock-detail-specs dt { color: #8f99a4; font-weight: 700; }
.stock-detail-specs dd { margin: 0; color: #fff; font-weight: 800; }
.stock-sales-point { margin-top: 28px; }
.stock-sales-point h2 { margin-bottom: 10px; font-size: 21px; }
.stock-sales-point p { margin: 0; color: #c3cbd3; }
.stock-inquiry-box {
  margin-top: 30px; padding: 24px; text-align: left;
  background: linear-gradient(180deg, #11171d, #0b0f13);
  border: 1px solid #39434d; border-top: 3px solid var(--orange); border-radius: 12px;
}
.stock-inquiry-eyebrow {
  margin: 0 0 7px; color: var(--orange); font-size: 11px; font-weight: 900;
  letter-spacing: 0.18em;
}
.stock-inquiry-box h2 { margin: 0 0 11px; color: #fff; font-size: 20px; line-height: 1.45; }
.stock-inquiry-text { margin: 0 0 18px; color: #c5cdd5; font-size: 14px; line-height: 1.8; }
.stock-phone-button {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
  width: 100%; min-height: 76px; padding: 12px 16px; color: #fff;
  background: linear-gradient(180deg, #ff942f, #ef7812); border: 1px solid #ff9e45; border-radius: 9px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.24); transition: transform 0.15s ease, filter 0.15s ease;
}
.stock-phone-button:hover { color: #fff; filter: brightness(1.06); transform: translateY(-1px); }
.stock-phone-button span { font-size: 13px; font-weight: 800; }
.stock-phone-button strong { font-size: 22px; line-height: 1.2; letter-spacing: 0.035em; }
.stock-inquiry-note {
  position: relative; margin: 13px 0 0; padding-left: 1.1em; color: #8f99a4; font-size: 11px; line-height: 1.65;
}
.stock-inquiry-note::before { position: absolute; left: 0; content: "※"; }

@media (max-width: 820px) {
  .stock-home-box, .stock-detail-title-row { align-items: flex-start; flex-direction: column; }
  .stock-grid-public { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stock-detail-layout { grid-template-columns: 1fr; }
}
@media (max-width: 480px) {
  .stock-home-box { padding: 28px 22px; }
  .stock-grid-public { grid-template-columns: 1fr; }
  .stock-card-body h2 { min-height: auto; }
  .stock-page-hero { padding: 58px 0 44px; }
  .stock-detail-info { padding: 22px 18px; }
  .stock-gallery-thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
