/* CSS Document */

@charset "utf-8";


/* =========================
intro
========================= */


.service-container{
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: row;
  justify-content: center;
  max-width: 1200px;
  margin: auto;
}

.service-content{
  width: 100%;
  margin-bottom: 80px;
}

.bg-bike{
  z-index: -1;
  position: sticky;
  width: 1px;
  height: 40vh;
  min-height: 500px;
  top: 50%;
  left: 0;
  transform: translate(0,-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 0;
}

.bg-bike span{
  display: block;
  width: calc(100vw - 30px);
  max-width: 1140px;
  aspect-ratio: 924 / 520;
  opacity: .05;
  background: url(../img/chief-vintage-light.png) no-repeat center center / contain;
  position: absolute;
  left: 0;
}




.service-intro .inner{
  position: relative;
  z-index: 2;
}



/* =========================
buttons
========================= */

.service-nav{
  margin-top: 60px;
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 20px;
  z-index: 1;
  position: relative;
}

.service-btn{
  padding: 18px 25px;
  font-weight: bold;
  position: relative;
  overflow: hidden;
  box-shadow: 0 5px 10px rgba(0,0,0,.2);
  transition: .3s;
}

.service-nav .btn-box {
  width: 100%;
  margin: auto;
}

.service-nav .btn::after {
  border-right: 2px solid rgba(161, 0, 0, 1);
  border-top: 2px solid rgba(161, 0, 0, 1);
}

.service-nav .btn:hover::after {
  border-right: 2px solid #fff;
  border-top: 2px solid #fff;
}


@media(max-width:1300px){
  
  .service-nav {
    margin-top: 20px;
    padding-bottom: 5px;
  }
  
  .service-btn {
    padding: 10px 20px;
  }
  
  .btn-box .btn p {
    font-size: 1.1rem;
  }
  
  
}
  


/* =========================
sections
========================= */

.service-section{
    padding: 160px 0 0;
    margin-top: -80px;
}

.service-section .inner{
  padding: 0 30px;
}

.section-title{
  background:rgba(161, 0, 0, 1);
  color: #fff;
  padding: 20px 40px;
  position: relative;
  box-shadow: 0 5px 10px rgba(0,0,0,.15);
}

.section-title::after{
  content: "";
  position: absolute;
  right: 20px;
  bottom: 10px;
  display: block;
  height:77%;
  aspect-ratio: 5/2;
  background: url("../img/icon/indian-logo.png") center no-repeat;
  background-size: cover;
}

.section-title h3{
  font-size: 38px;
}

.section-content{
  margin-top: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}


.parts-logo-wrap{
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  width: 100%;
  gap: 20px;
}

.logo-area{
  background: #ededed;
  padding: 20px;
  width: 100%;
  display: block;
}

.parts-logo a{
  padding: 20px;
  display: block;
  transition: 0.3s ease-in;
  border:1px solid rgba(255,255,255,0);
}

.parts-logo a:hover{
  background: rgba(255,255,255,0.5);
  box-shadow: 3px 3px 10px #999;
  transform: translateY(-5px);
}

.ps-text p{
  color: #333;
  font-weight: 800;
  margin-bottom: 10px;
}



 
  /* ===== section-content (two-column layout) ===== */
  .section-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
    padding: 0 40px;
  }
 
  /* reverse: photo left, text right */

  #parts .section-content.reverse{
    flex-direction: column!important;
    padding: 0 40px;
    display: flex;
  }
 
  /* ===== section-text ===== */
 
  .section-text p:last-child { margin-bottom: 0; }
 
  /* ===== check items inside section-text ===== */
  .check-item {
    display: flex;
    gap: 14px;
    margin-bottom: 28px;
  }
 
  .check-icon span{
    width: 30px;
    aspect-ratio:1/1;
    background: url("../img/icon/check.png") no-repeat center;
    background-size: cover;
    display: block;
  }
 
  .check-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.4;
    color: rgba(161, 0, 0, 1);
  }

.section-text .btn-box{
  margin-left: 0;
}


.section-text .btn::after {
    border-right: 2px solid rgba(161, 0, 0, 1);
    border-top: 2px solid rgba(161, 0, 0, 1);
 }

.section-text .btn:hover::after {
    border-right: 2px solid #fff;
    border-top: 2px solid #fff;
 }
 
  .check-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 10px;
  }
 
  .check-tag {
    background: #333;
    font-size: 1rem;
    padding: 4px 10px;
    color: #fff;
  }
 
  /* ===== section-photo ===== */
  .section-photo {
     width: 100%;
    aspect-ratio:4/3;
  }

  #inspection .section-photo {
    background: url("../img/service/inspection.png") no-repeat center; 
    background-size: cover;
  }


  #repair .section-photo {
    background: url("../img/service/repair.png") no-repeat center; 
    background-size: cover;
  }

  #custom .section-photo {
    background: url("../img/service/custom.png") no-repeat center; 
    background-size: cover;
  }

  #testride .section-photo {
    background: url("../img/service/testride.png") no-repeat center; 
    background-size: cover;
  }
 
  /* ===== 車輌・パーツ販売 logo area ===== */
  .logo-area { width: 100%; }
 
  .ps-text {
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-light);
  }
 
  /* ===== 車輪・パーツ販売 ===== */
  .parts-section-text {
    font-size: 14px;
    line-height: 1.9;
    color: var(--text);
    margin-bottom: 30px;
  }
 
  .brand-logos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 10px;
  }
 
  .brand-logo-box {
    border: 2px solid #ddd;
    padding: 20px 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    height: 80px;
    transition: border-color 0.2s;
  }
 
  .brand-logo-box:hover { border-color: var(--crimson); }
 
  .brand-logo-box img {
    max-width: 100%;
    max-height: 50px;
    object-fit: contain;
  }
 
  /* Brand logo placeholders */
  .brand-logo-placeholder {
    width: 100%;
    height: 40px;
    background: #FFD700;
    /* Replace with your brand logo URL */
    /* background-image: url('YOUR_BRAND_LOGO_URL'); */
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    font-size: 11px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
  }
 
  /* ===== バイク試乗 ===== */
  .trial-btn {
    display: inline-block;
    background: var(--crimson);
    color: #fff;
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 14px;
    font-weight: 500;
    padding: 14px 32px;
    text-decoration: none;
    margin-top: 20px;
    transition: background 0.2s, transform 0.15s;
    letter-spacing: 1px;
  }
 
  .trial-btn:hover {
    background: var(--crimson-dark);
    transform: translateY(-2px);
  }
 
  /* ===== SCROLL ANIMATION ===== */
  .fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
  }
 
  .fade-in.visible {
    opacity: 1;
    transform: translateY(0);
  }
 
  /* ===== RESPONSIVE ===== */

@media(max-width:1300px){
  
  .service-section {
    padding: 150px 0 0;
    margin-top: -100px;
  }
  
}

@media(max-width:1200px){
  
  .section-title h3 {
    font-size: 30px;
  }
  
  .section-title {
    padding: 10px 20px;
  }
  
  .section-content {
    padding: 0 20px!important;
    margin-top: 20px;
    gap: 10px;
  }
  
  .parts-logo a {
    background: #fff;
  }
  
  .section-title::after {
    right: 10px;
    bottom: 7px;
  }
  
  .service-fv-inner p{
    font-size: 20px;
  }
  
  .check-item {
    gap: 10px;
    margin-bottom: 20px;
  }
  
  .check-title {
    font-size: 1.25rem;
    letter-spacing: 0;
  }
    
  .check-icon span {
    width: 20px;
  }
}


@media(max-width:1000px){

  .service-nav .btn-box {
    transform: skewX(0deg);
  }

  .service-nav {
    gap: 10px;
  }
  
  .service-nav {
    grid-template-columns: repeat(2, 1fr);
  }

  
}

@media(max-width:768px){
  .hero-content { padding: 0 30px; }
  .hero-title { font-size: 48px; }
  .container { padding: 0 20px; }
  .nav-buttons { grid-template-columns: 1fr 1fr; }
  .brand-logos { grid-template-columns: 1fr 1fr; }
  .section-content { grid-template-columns: 1fr; }
  .section-content.reverse { direction: ltr; }
  .services-overview-inner { flex-direction: column; }
  .overview-bike-img { width: 100%; height: 160px; }
  .service-section .inner { padding: 0 20px; }
  
  .section-content {
    gap: 20px;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
  }

  .check-item {
      gap: 0px;
      margin-bottom: 0;
  }

  .check-tag {
    font-size: 0.8rem;
    padding: 1px 5px;
    border-radius: 0px;
  }
  
  .service-nav .btn-box .btn p {
      font-size: 1rem;
  }
  
    .check-title {
      font-size: 1.05rem;
  }
  
  .parts-logo-wrap {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .section-text{
    gap: 10px;
    display: flex;
    flex-direction: column;
  }

}

@media(max-width:500px){
  
  .section-title h3 {
    font-size: 1.35rem;
  }
  
  .section-title::after {
    right: 10px;
    bottom: 12px;
    height: 50%;
  }
  
  .service-nav {
    grid-template-columns: repeat(1, 1fr);
  }

}