/* ==================================================
   GM GARAGE - STYLE.CSS
   ================================================== */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Hiragino Kaku Gothic ProN",
    "Yu Gothic",
    Meiryo,
    sans-serif;

  background: #0b0b0b;
  color: #ffffff;
  line-height: 1.8;
  overflow-x: hidden;
}

img {
  display: block;
  width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
}


/* ==================================================
   HEADER
   ================================================== */

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;

  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 5%;

  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(12px);

  border-bottom: 1px solid rgba(255, 255, 255, 0.12);

  z-index: 1000;
}

.logo {
  display: flex;
  align-items: center;
}

.logo img {
  width: 180px;
  max-height: 65px;
  object-fit: contain;
}

.navigation {
  display: flex;
  align-items: center;
  gap: 28px;
}

.navigation a {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.05em;
  transition: 0.3s;
}

.navigation a:hover {
  color: #d21f2b;
}

.header-line {
  padding: 11px 20px;

  border: 1px solid #ffffff;
  border-radius: 3px;

  font-size: 13px;
  font-weight: bold;

  transition: 0.3s;
}

.header-line:hover {
  background: #ffffff;
  color: #000000;
}


/* ==================================================
   HERO
   ================================================== */

.hero {
  position: relative;

  width: 100%;
  min-height: 100vh;

  display: flex;
  align-items: center;

  overflow: hidden;
}

.hero-background {
  position: absolute;
  inset: 0;
}

.hero-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay {
  position: absolute;
  inset: 0;

  background:
    linear-gradient(
      90deg,
      rgba(0, 0, 0, 0.9) 0%,
      rgba(0, 0, 0, 0.65) 45%,
      rgba(0, 0, 0, 0.18) 100%
    );
}

.hero-content {
  position: relative;
  z-index: 2;

  width: 90%;
  max-width: 1250px;
  margin: auto;

  padding-top: 100px;
}

.hero-small {
  margin-bottom: 20px;

  color: #cccccc;

  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
}

.hero h1 {
  max-width: 1050px;

  font-size: clamp(32px, 3.5vw, 64px);
  line-height: 1.2;
  letter-spacing: 0.02em;
}

.hero h1 span {
  color: #ffffff;
}

.hero-description {
  margin-top: 28px;

  font-size: 18px;
  letter-spacing: 0.08em;
}

.reservation-label {
  display: inline-block;

  margin-top: 20px;
  padding: 7px 17px;

  border: 1px solid #ffffff;

  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.12em;
}

.hero-buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;

  margin-top: 35px;
}


/* ==================================================
   BUTTON
   ================================================== */

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-width: 210px;
  padding: 15px 28px;

  border-radius: 3px;

  font-size: 15px;
  font-weight: bold;

  transition:
    transform 0.25s,
    background 0.25s,
    color 0.25s;
}

.button:hover {
  transform: translateY(-3px);
}

.button-line {
  background: #06c755;
  color: #ffffff;
}

.button-line:hover {
  background: #05af4b;
}

.button-tel {
  border: 1px solid #ffffff;
  color: #ffffff;
}

.button-tel:hover {
  background: #ffffff;
  color: #000000;
}

.button-white {
  background: #ffffff;
  color: #111111;
}

.button-white:hover {
  background: #eeeeee;
}


/* ==================================================
   COMMON SECTION
   ================================================== */

.section {
  padding: 110px 6%;
}

.section-title {
  max-width: 1200px;
  margin: 0 auto 50px;
}

.section-title > p:first-child {
  margin-bottom: 10px;

  color: #c2c2c2;

  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.22em;
}

.section-title h2 {
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.4;
}

.section-title h2 span {
  color: #d21f2b;
}

.section-description {
  margin-top: 15px;
  color: #bcbcbc;
}


/* ==================================================
   ABOUT
   ================================================== */

.about-section {
  background: #ffffff;
  color: #151515;
}

.about-section .section-title > p:first-child {
  color: #777777;
}

.about-text {
  max-width: 900px;
  margin: 0 auto 55px;
}

.about-text p {
  margin-bottom: 22px;
  color: #555555;
}

.about-text .lead {
  color: #111111;

  font-size: 20px;
  font-weight: bold;
}

.about-images {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 1.45fr 1fr;

  gap: 20px;
}

.about-image {
  overflow: hidden;
}

.about-image img {
  height: 430px;
  object-fit: cover;

  transition: transform 0.7s ease;
}

.about-image:hover img {
  transform: scale(1.03);
}


/* ==================================================
   SERVICE
   ================================================== */

.service-section {
  background: #111111;
}

.service-grid {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.service-card {
  min-height: 300px;

  padding: 40px 28px;

  border-top: 1px solid #444444;
  border-right: 1px solid #333333;

  transition: 0.3s;
}

.service-card:last-child {
  border-right: none;
}

.service-card:hover {
  background: #191919;
  transform: translateY(-5px);
}

.service-number {
  color: #d21f2b;

  font-size: 13px;
  font-weight: bold;
  letter-spacing: 0.15em;
}

.service-card h3 {
  margin: 28px 0 18px;

  font-size: 24px;
}

.service-card p {
  color: #b8b8b8;
  font-size: 15px;
}


/* ==================================================
   STOCK
   ================================================== */

.stock-section {
  background: #070707;
}

.stock-grid {
  max-width: 1250px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 24px;
}

.stock-card {
  overflow: hidden;

  background: #151515;
  border: 1px solid #282828;

  transition: 0.35s;
}

.stock-card:hover {
  transform: translateY(-7px);
  border-color: #555555;
}

.stock-image {
  height: 300px;
  overflow: hidden;
}
.stock-image a {
  display: block;
  width: 100%;
  height: 100%;
}
.stock-image img {
  width: 100%;
  height: 100%;

  object-fit: cover;

  transition: transform 0.6s;
}

.stock-card:hover .stock-image img {
  transform: scale(1.045);
}

.stock-info {
  padding: 27px;
}

.stock-number {
  color: #d21f2b;

  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.15em;
}

.stock-info h3 {
  margin: 8px 0 12px;
  font-size: 22px;
}

.stock-info p {
  color: #aaaaaa;
  font-size: 14px;
}

.stock-note {
  max-width: 1250px;
  margin: 35px auto 0;

  display: flex;
  align-items: center;
  gap: 18px;

  padding: 22px;

  border: 1px solid #333333;
}

.stock-note span {
  flex-shrink: 0;

  padding: 5px 12px;

  background: #d21f2b;

  font-size: 12px;
  font-weight: bold;
}

.stock-note p {
  color: #bcbcbc;
}


/* ==================================================
   CTA
   ================================================== */

.cta-section {
  padding: 85px 7%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  gap: 50px;

  background: #d21f2b;
  color: #ffffff;
}

.cta-label {
  margin-bottom: 10px;

  font-size: 12px;
  font-weight: bold;
  letter-spacing: 0.18em;
}

.cta-section h2 {
  margin-bottom: 18px;

  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.35;
}

.cta-content {
  max-width: 720px;
}

.cta-buttons {
  display: flex;
  flex-direction: column;
  gap: 12px;

  min-width: 260px;
}


/* ==================================================
   ACCESS
   ================================================== */

.access-section {
  background: #ffffff;
  color: #121212;
}

.access-section .section-title > p:first-child {
  color: #777777;
}

.access-grid {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: 0.9fr 1.1fr;

  gap: 60px;
}

.company-info dl > div {
  display: grid;
  grid-template-columns: 120px 1fr;

  padding: 18px 0;

  border-bottom: 1px solid #dddddd;
}

.company-info dt {
  color: #777777;
  font-size: 13px;
  font-weight: bold;
}

.company-info dd {
  font-size: 15px;
}

.company-info a {
  color: #111111;
  font-weight: bold;
}

.map {
  min-height: 420px;
}

.map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;

  border: 0;
}


/* ==================================================
   CONTACT
   ================================================== */

.contact-section {
  background: #111111;
}

.contact-grid {
  max-width: 1200px;
  margin: auto;

  display: grid;
  grid-template-columns: repeat(3, 1fr);

  gap: 15px;
}

.contact-card {
  min-height: 190px;

  display: flex;
  flex-direction: column;
  justify-content: center;

  padding: 28px;

  border: 1px solid #363636;

  transition: 0.3s;
}

.contact-card:hover {
  background: #1b1b1b;
  transform: translateY(-4px);
}

.contact-card span {
  margin-bottom: 15px;

  color: #999999;

  font-size: 11px;
  font-weight: bold;
  letter-spacing: 0.18em;
}

.contact-card strong {
  font-size: 21px;
}

.contact-card small {
  margin-top: 9px;
  color: #999999;
}

.line-contact {
  border-color: #06c755;
}

.line-contact strong {
  color: #06c755;
}


/* ==================================================
   FOOTER
   ================================================== */

.site-footer {
  padding: 65px 6% 30px;

  background: #000000;
  border-top: 1px solid #222222;
}

.footer-inner {
  max-width: 1200px;
  margin: auto;

  display: flex;
  justify-content: space-between;

  gap: 50px;
}

.footer-brand {
  max-width: 430px;
}

.footer-brand img {
  width: 200px;
  margin-bottom: 20px;
}

.footer-brand p,
.footer-info p {
  color: #999999;
  font-size: 13px;
}

.footer-info a {
  color: #ffffff;
}

.copyright {
  max-width: 1200px;
  margin: 45px auto 0;

  padding-top: 25px;

  border-top: 1px solid #222222;

  color: #666666;

  font-size: 12px;
  text-align: center;
}


/* ==================================================
   MOBILE CONTACT
   ================================================== */

.mobile-contact {
  display: none;
}


/* ==================================================
   TABLET
   ================================================== */

@media (max-width: 1000px) {

  .navigation {
    gap: 15px;
  }

  .navigation a {
    font-size: 12px;
  }

  .header-line {
    display: none;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .service-card:nth-child(2) {
    border-right: none;
  }

  .stock-grid {
    grid-template-columns: 1fr 1fr;
  }

  .access-grid {
    grid-template-columns: 1fr;
  }

}


/* ==================================================
   SMARTPHONE
   ================================================== */

@media (max-width: 768px) {

  body {
    padding-bottom: 64px;
  }

  .site-header {
    position: absolute;

    height: auto;
    min-height: 75px;

    padding: 12px 18px;

    flex-direction: column;
    align-items: flex-start;

    background: rgba(0, 0, 0, 0.85);
  }

  .logo img {
    width: 145px;
  }

  .navigation {
    width: 100%;

    margin-top: 9px;

    display: flex;
    gap: 13px;

    overflow-x: auto;

    padding-bottom: 5px;
  }

  .navigation a {
    flex-shrink: 0;

    font-size: 11px;
  }

  .hero {
    min-height: 760px;
  }

  .hero-overlay {
    background:
      linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.62) 70%,
        rgba(0, 0, 0, 0.35) 100%
      );
  }

  .hero-content {
    width: 100%;
    padding: 180px 14px 60px;
  }

  .hero-small {
    font-size: 10px;
  }

  .hero h1 {
    font-size: 28px;
  }

  .hero-description {
    font-size: 15px;
  }

  .hero-buttons {
    flex-direction: column;
  }

  .button {
    width: 100%;
    min-width: 0;
  }

  .section {
    padding: 75px 20px;
  }

  .about-images {
    grid-template-columns: 1fr;
  }

  .about-image img {
    height: 270px;
  }

  .service-grid {
    grid-template-columns: 1fr;
  }

  .service-card {
    min-height: 0;

    border-right: none;
  }

  .stock-grid {
    grid-template-columns: 1fr;
  }

  .stock-image {
    height: 280px;
  }

  .stock-note {
    align-items: flex-start;
    flex-direction: column;
  }

  .cta-section {
    padding: 65px 22px;

    flex-direction: column;
    align-items: stretch;
  }

  .cta-buttons {
    min-width: 0;
  }

  .company-info dl > div {
    grid-template-columns: 95px 1fr;
  }

  .map iframe {
    min-height: 330px;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    flex-direction: column;
  }

  .mobile-contact {
    position: fixed;

    left: 0;
    bottom: 0;

    width: 100%;
    height: 64px;

    display: grid;
    grid-template-columns: 1fr 1fr;

    z-index: 2000;
  }

  .mobile-contact a {
    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 14px;
    font-weight: bold;
  }

  .mobile-phone {
    background: #222222;
    color: #ffffff;
  }

  .mobile-line {
    background: #06c755;
    color: #ffffff;
  }

}


/* ==================================================
   SMALL SMARTPHONE
   ================================================== */

@media (max-width: 430px) {

  .hero h1 {
    font-size: 29px;
  }

  .section-title h2 {
    font-size: 30px;
  }

  .stock-image {
    height: 240px;
  }

}
.nowrap {
  white-space: nowrap;
}