/* =======================
   COMMON
======================= */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #EEF8EF;

  color: #000;

  font-family:
    "Inter",
    "Noto Serif JP",
    sans-serif;

  overflow-x: hidden;
}

a {
  text-decoration: none;
}

/* =======================
   HEADER
======================= */

.header {
  position: fixed;

  top: 0;
  left: 0;

  width: 100%;

  z-index: 1000;

  backdrop-filter: blur(14px);

  background: #7BC52A;

  border-bottom:
    1px solid rgba(255,255,255,0.08);
}

.header-inner {

  margin: 0 auto;

  padding: 20px 24px;

  display: flex;

  align-items: center;

  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
  font-size: 28px;
  font-weight: 700;
}

.logo-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
}

.nav {
  display: flex;

  gap: 40px;
}

.nav a {
  color: #fff;

  font-size: 14px;

  letter-spacing: 0.12em;

  transition: 0.3s;
}

.nav a:hover {
  color: #8cbcff;
}

/* MENU BUTTON */

.menu-toggle {
  display: none;

  background: none;

  border: none;

  color: #fff;

  font-size: 30px;

  cursor: pointer;
}

/* =======================
   HOME
======================= */

.hero {
  position: relative;

  width: 100%;

  min-height: 100vh;
  padding-top: 80px;
  display: flex;

  align-items: center;

  justify-content: center;

  overflow: hidden;

  background: url("../images/interior.jpg") center center / cover no-repeat;
}

.hero-overlay {
  position: absolute;

  inset: 0;

  background:
    linear-gradient(
      to bottom,
      rgba(0,0,0,0.2),
      rgba(0,0,0,0.75)
    );
}

.hero-content {
  position: relative;

  z-index: 10;

  text-align: center;

  padding: 20px;
}

.hero-sub {
  font-size: 16px;

  letter-spacing: 0.4em;

  color: #8cbcff;
  margin-top: 10px;
  margin-bottom: 24px;
}

.hero h1 {
  font-size: 76px;

  line-height: 1.25;

  margin-bottom: 0px;

  font-family:
    "Noto Serif JP",
    serif;

  color: #fff;
}

.hero-text0 {
  font-size: 16px;
  letter-spacing: 20px;
  margin-bottom: 30px;

  font-family:
    "Noto Serif JP",
    serif;

  color: #fff;
}

.hero-text {
  font-size: 18px;

  line-height: 2;

  color:
    rgba(255,255,255,0.78);

  margin-bottom: 40px;
}

.hero-btn {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 18px 44px;

  border-radius: 999px;

  color: #fff;

  background:
    rgba(255,255,255,0.06);

  border:
    1px solid rgba(255,255,255,0.15);

  backdrop-filter: blur(12px);

  transition: 0.3s;
}

.hero-btn:hover {
  transform: translateY(-4px);

  background:
    rgba(255,255,255,0.12);
}

/* =======================
   SECTION
======================= */

.section {
  padding: 60px 20px;
}

.section-inner {
  max-width: 1200px;

  margin: 0 auto;
}


.section h2 {
  font-size: 34px;

  line-height: 1.4;

  margin-bottom: 30px;

  font-family:
    "Noto Serif JP",
    serif;
}

.section p {

  line-height: 2;
}

.about-image {
  width: 100%;
  max-width: 1000px;
  display: block;
  margin: 50px auto 0;
  border-radius: 20px;
  object-fit: cover;
}

.dark {
  background: #7BC52A;
}

.contact-top{
    display:flex;
    align-items:center;
    gap:70px;
    margin-bottom:40px;
}

.contact-left{
    flex:0 0 320px;
    text-align:center;
}

.contact-logo{
    width:240px;
    max-width:100%;
}

.contact-text{
    color:#fff;
    font-size:28px;
    font-weight: 700;
}

.contact-right{
    flex:1;
}

.contact-address{
    display:flex;
    flex-direction:column;
    gap:25px;
}

.info-row{
    display:grid;
    grid-template-columns:100px 1fr;
    gap:25px;
    align-items:start;
}

.info-title{
    font-weight:500;
    color:#fff;
}

.info-content{
    color:#fff;
    line-height:1.8;
}

.info-content a{
    color:#fff;
    font-weight:700;
}

/* =======================
   CARD
======================= */

.card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 0px;
}

.card {
  position: relative;
  overflow: hidden;

  padding: 40px;
  height: 180px;

  border-radius: 24px;

  color: #fff;
  text-decoration: none;

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  border: 2px solid rgba(255,255,255,0.7);

  transition: transform 0.3s ease;
}

/* 写真を暗くして文字を読みやすくする */
.card::before {
  content: "";
  position: absolute;
  inset: 0;

  background: rgba(0,0,0,0.6);

  z-index: 0;
}

/* 文字を写真の前に出す */
.card h3,
.card p {
  position: relative;
  z-index: 1;
}

.card:hover {
  transform: translateY(-8px);
}

.card h3 {
  font-size: 26px;
  margin: 0 0 20px;

  display: block;
  width: 100%;
  white-space: nowrap;
}

.card p {
  margin: 0;
  line-height: 1.8;
}

.home-shop-card {
  background-image: url("../images/shop3.jpg");
}

.home-service-card {
  background-image: url("../images/snap.jpg");
}

.home-cars-card {
  background-image: url("../images/cool.jpg");
}

/* =======================
   SHOP
======================= */

.shop-section {
  padding: 120px 20px;
}

.shop-title{
  text-align:left;
  margin-bottom:50px;
}

.shop-sub{
  font-size:18px;
  letter-spacing:0.4em;
  color:#163A70;
  margin-bottom:10px;
}

.shop-title h2{
  font-size:48px;

  color:#050816;
}

.shop-card {
  display: flex;

  align-items: center;

  gap: 60px;

  margin-bottom: 100px;
}

.shop-card.reverse {
  flex-direction: row-reverse;
}

.shop-image,
.shop-info {
  flex: 1;
}

.shop-image img {
  width: 100%;

  display: block;

  border-radius: 24px;
}

.shop-info h2 {
  font-size: 28px;

  margin-bottom: 10px;

  font-family:
    "Noto Serif JP",
    serif;
}

.shop-info p {
  line-height: 2;

  margin-bottom: 10px;

  color:#000;
}

/* =======================
   MOBILE
======================= */

@media (max-width: 768px) {

  .header-inner {
    padding: 18px 20px;
  }

  .menu-toggle {
    display: block;
  }

  .nav {
    position: absolute;

    top: 100%;
    left: 0;

    width: 100%;

    background: rgba(80, 80, 80, 0.9);

    backdrop-filter: blur(12px);

    flex-direction: column;

    align-items: center;

    gap: 0;

    display: none;
  }

  .nav.open {
    display: flex;
  }

  .nav a {
    width: 100%;

    text-align: center;

    padding: 20px 0;

    border-bottom:
      1px solid rgba(255,255,255,0.08);
  }

  .hero-sub {
    margin-top: 0px;
  }
  .hero h1 {
    font-size: 42px;
  }

  .hero-text {
    font-size: 15px;
  }

  .section h2 {
    font-size: 24px;
  }

  .contact-top {
    flex-direction: column;
    align-items: flex-start;
  }

  .contact-left {
    width: 100%;
    text-align: center; /* ロゴだけ中央 */
  }

  .contact-right {
    width: 100%;
  }

  .card-grid {
    grid-template-columns: 1fr;
  }

  .page-hero h1 {
    font-size: 42px;
  }

  .shop-sub{
  font-size:14px;
  letter-spacing:0.3em;
  margin-bottom:6px;
}

  .shop-title h2{
  font-size:36px;

}

  .shop-card {
    gap: 20px;

    margin-bottom: 80px;
  }

  .shop-card,
  .shop-card.reverse {
    flex-direction: column;
  }

}

/* =======================
   SERVICE PAGE
======================= */

.service-section {
  padding: 120px 20px;
}

.service-title {
  margin-bottom: 50px;
}

.service-sub {
  margin-bottom: 10px;

  color: #163A70;

  font-size: 18px;

  letter-spacing: 0.4em;
}

.service-title h2 {
  color: #050816;
  font-size: 48px;
}

.service-lead {
  margin-bottom: 50px;

  font-size: 16px;

  line-height: 2;
}

.service-lead p + p {
  margin-top: 20px;
}


/* サービス1項目 */

.service-item {
  display: flex;

  align-items: center;

  gap: 70px;

  margin-bottom: 0px;
}


/* reverseが付いた項目は左右反転 */

.service-item.reverse {
  flex-direction: row-reverse;
}


/* 文章部分 */

.service-info {
  flex: 1;
}

.service-number {
  margin-bottom: 10px;

  color: #3f7fef;

  font-size: 15px;

  font-weight: bold;

  letter-spacing: 0.15em;
}

.service-info h3 {
  margin-bottom: 25px;

  color: #050816;

  font-family: "Noto Serif JP", serif;

  font-size: 30px;

  font-weight: 600;

  line-height: 1.5;
}

.service-info > p:last-child {
  font-size: 15px;

  line-height: 2;
}


/* 画像部分 */

.service-image {
  flex: 1;

  overflow: hidden;
}

.service-image img {
  display: block;

  width: 100%;

  height: 420px;

  object-fit: cover;
}


/* 最後の説明文 */

.service-bottom {
  padding: 60px 30px;

  background: #eef8ef;

  text-align: center;
}

.service-bottom p {
  font-size: 16px;

  line-height: 2;
}


/* =======================
   SMARTPHONE
======================= */

@media (max-width: 768px) {

  .service-title {
    margin-bottom: 30px;
  }

  .service-sub {
    margin-bottom: 6px;
    font-size: 14px;

    letter-spacing: 0.3em;
  }

  .service-title h2 {
    font-size: 36px;
  }

  .service-lead {
    margin-bottom: 40px;
  }


  .service-lead br {
    display: none;
  }

  .service-item,
  .service-item.reverse {
    flex-direction: column;

    align-items: stretch;

    gap: 30px;

    margin-bottom: 30px;
  }

  .service-info h3 {
    margin-bottom: 20px;

    font-size: 24px;

  }
 

}

/* =======================
   CARS
======================= */

.car-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
  margin-top: 50px;
}

.car-card {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.car-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #eee;
}

.car-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.car-info {
  padding: 24px;
}

.car-maker {
  font-size: 13px;
  letter-spacing: 0.15em;
  color: #777;
  margin-bottom: 6px;
}

.car-info h3 {
  font-size: 24px;
  margin-bottom: 18px;
}

.car-details {
  margin-bottom: 18px;
}

.car-details p {
  font-size: 16px;
  line-height: 1.8;
}

.car-price {
  font-size: 16px;
  margin-bottom: 16px;
}

.car-description {
  font-size: 14px;
  line-height: 1.8;
}

.car-sold {
  display: inline-block;
  background: #555;
  color: #fff;
  padding: 6px 12px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 12px;
  border-radius: 4px;
}


/* =======================
   CARS - SMARTPHONE
======================= */

@media (max-width: 768px) {

  .car-list {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-top: 35px;
  }

  .car-info {
    padding: 20px;
  }

  .car-info h3 {
    font-size: 22px;
  }


}