@charset "UTF-8";

.mv-inner {
  background-image: url("../img/02-mv.jpg");
}

.mv-inner2 {
  background-image: url("../img/02-mv.jpg");
}



/* ------------------------------
  icons
--------------------------------*/


.icon-a {
  transition: background-color 0.3s ease, transform 0.3s ease, opacity 0.3s ease;
}

.icon-a:hover {
  opacity: 0.8;
  transform: translateY(-4px); /* ふわっと浮く演出 */
}

#service {
  max-width: 1000px;
  margin:0 auto;
  padding-bottom:50px;
  background-color: var(--color-white);
  box-sizing: border-box;
}

.icon-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
  gap: 10px;
  max-width: 100%;
  margin-top: 1.5rem;
}

.icon-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.icon-bg {
  width: 90px;
  height: 90px;
  background-color: var(--color-yellow);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-direction: column;
}

#service-shoes .icon-bg,#service-key .icon-bg {
  width: 80%;
}



.icon-bg img{
  padding:4px 0;
}

.icon-label {
  height:36px;
  display: flex;
  align-items: center;   /* ← 縦中央揃え */
  justify-content: center; /* ← 横中央（必要なら） */
  font-size: var(--font-14);
  color: var(--color-black);
  line-height: 1.2;
  margin: 0;           /* ブラウザ初期値のmargin打ち消し */
  padding: 0;
}


/* ------------------------------
  section
--------------------------------*/

#service2 > div {
  max-width: 1000px;
  margin:clamp(20px, calc(20px + (50 * (100vw - 375px) / 650)), 70px) auto;
  padding:0 1rem;
  background-color: var(--color-white);
  box-sizing: border-box;
}

.page-info{
  margin-bottom:50px;
}

/* ------------------------------
  h2
--------------------------------*/

.icon-item2 {
  display: flex;
  align-items: center;
  text-align: center;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  gap:1rem;
}

.icon-bg2 {
  width: 50px;
  height: 50px;
  background-color: var(--color-yellow);
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 0.5rem;
  flex-direction: column;
}

  #service2 > div  h2 {
  margin: 0;
  position: relative;
  }




.service-inner {
  display: flex;
  gap: 30px;
  align-items: flex-start;
}

.service-text {
  flex: 1; 
}






.service-image-grid {
  flex: 1;
  display: flex;
  gap: 20px;
}

.service-image-item {
  flex: 1;
}


.service-image-item img {
  width: 100%;
  aspect-ratio: 4 / 3;  /* ← 例：4:3 の比率 */ 
  object-fit: cover;     /* ← 枠にフィットさせつつトリミング */
  display: block;
  border-radius: 8px;
}


.service-image-grid2 {
  flex: 1;
  width: 100%;
  padding: 1rem;
  background-color: #e6e6e6;
  display: flex;
  gap: 20px;
  box-sizing: border-box;
  border-radius: 8px;
}


.service-image-item2 img {
  width: 100%;
  aspect-ratio: 4 / 3;        /* ← 高さを自由に変更できます */
  object-fit: cover;     /* ← 枠にフィットさせつつトリミング */
  display: block;
}


.shoes-repair-info{
  display:flex ;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 1000px;
  margin: 0 auto;
  align-items: center;
}

.custom-ul2,
.image-wrapper2 {
  flex: 1 1 45%;
  box-sizing: border-box;
}

.custom-ul2 {
  padding-left: 1em;
  font-size: 16px;
  line-height: 1.8;
}

.image-wrapper2-padding {
  padding: 0 1em;
}




.service-image-grid3 {
  flex:1;
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2列 */
  gap: 20px; /* 画像間の余白 */
  padding-top:1rem;
}

.service-image-item3 img {
  width: 100%;
  aspect-ratio: 4 / 3; /* 任意で高さを指定 */
  object-fit: cover;
  display: block;
  border-radius: 8px;
}

.service-image-grid4 {
  flex:1;
  display: grid;
  grid-template-columns: repeat(4, 1fr); /* 2列 */
  gap: 20px; /* 画像間の余白 */
  padding-top:1rem;
}

.service-image-item4 img {
  width: 100%;
  aspect-ratio: 4 / 2.6; /* 任意で高さを指定 */
  object-fit: cover;
  display: block;
}


.service-image-grid.single-image {
  justify-content: flex-start; /* 左寄せ */
}

.service-image-grid.single-image .service-image-item {
  flex: 0 0 50%; /* 幅を半分に */
  max-width: 50%;
}


/* サービスページ追加(key,shoes) */

  .section-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.section-left {
  display: grid;
  grid-template-rows: auto auto;
  row-gap: 0px;
  justify-content: center;
  width:50%;
}

.section-right {
  flex: 1;
  text-align: center;
}

.section-right img {
  max-width: 100%;
  height: 260px;
  border-radius: 8px;
  object-fit: cover;
  
}

.icon-group {
  display: grid;
  grid-template-columns: auto auto 1fr; /* アイコン2つ＋タイトル */
  align-items: center;
  column-gap: 10px;
}

.section-title {
  font-size: var(--font-30);
  margin: 0;
}

.section-desc {
  font-size: var(--font-16);
  line-height: 1.6;
  color: var(--color-black);
}


/* バナー */
.banner-wrapper {
  width: 1000px;
  max-width: 90%;
  /* margin: 0 auto; */
  border: 6px solid var(--color-yellow);
  position: relative;

  /* ストライプ背景（45度 = 右上から左下） */
  background: repeating-linear-gradient(
    -45deg,
    #fff,
    #fff 10px,
    #fffee5 10px,
    #fffee5 20px
  );
}

.banner-inner {
  position: relative;
  width: 100%;
  height: auto; /* お好みで調整 */
  padding:var(--margin-m) 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

/* 左下バナー画像 */
.banner-left {
  position: absolute;
  left: 0;
  top: 50%;
  /* ← ここで上に飛び出させる */
  transform: translate(0, -50%);
}

.banner-left img {
  display: block;
  width:clamp(100px, calc(100px + (200 * (100vw - 375px) / 1025)), 280px);
  height: auto;
  max-width: 100%;
  padding-left: clamp(0px, calc(32px + (-32 * (100vw - 960px) / 440)), 32px);
}

/* 中央テキスト */
.banner-text {
  width:90%;
  padding-left:26%;
  z-index: 2;
}

.banner-text ul li{
  font-size: var(--font-24);
  font-weight: 700;
}

.banner-text span{
  padding:0 .3rem;

}


/* 右上テキスト画像 */
.banner-right {
  position: absolute;
  right: 0px;
  top: 0px;
  width: 100px; /* PC時のサイズ調整 */
  height: auto;
  /* 上方向 -50%、右方向 +50% に飛び出す */
  transform: translate(20%, -30%);
}


/* 下三角アイコン */

.estimate-text {
  font-size: 20px;
  font-weight: bold;
  margin-bottom: 10px;
}

.arrow-down {
  font-size: 40px;      /* 矢印の大きさ */
  line-height: 1;
  color: var(--color-red);
  display: inline-block;
  transform: scaleX(2); /* 横に伸ばして横長に */
}

  /* お見積りバナー */
.contact-banner {
  width: 700px;
  max-width: 90%;
  margin: 20px auto;
  padding: var(--margin-m) var(--margin-xl);
  border: 6px solid var(--color-yellow);
  background: #fff;
}

.contact-banner-inner {
  width:100%;
  display: grid;
  /* grid-template-columns: 1fr 1fr; 2カラム */
  grid-template-columns: 1fr;
  gap: 20px;
  align-items: center;
  margin:0 auto;
}

#service-key-bnr .contact-banner-inner{
  grid-template-columns: 1fr;
}

.contact-item {
  text-align: center;
}

.line-area .contact-label{
padding-bottom:.8rem;
}

.contact-label {
  font-weight: var(--font-18);
  font-weight: 700;
  margin:0;
  padding:0;
}

/* 電話エリア */
.tel-number {
  display: block;
  font-weight: 700;
  color: var(--color-black);
  text-decoration: none;
}

.tel-number:hover {
  color: var(--color-link);
}

.tel-time {
  font-size: var(--font-14);
  color: var(--color-gray3);
  padding:0;
  margin:0;
}

/* LINEボタン */
.line-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: #06C755; /* LINE公式カラー */
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: background-color 0.3s ease;
}

.line-btn:hover {
  background-color: #05b74c;
}

.line-icon {
  width: 24px;
  height: 24px;
}

.icon-group {
  display: flex;
  align-items: center;
  gap: 10px; /* アイコンとテキストの間隔 */
}

.icon-wrap {
  display: flex;
  gap: 10px;
}



@media screen and (max-width:1200px){

  #service{
      width:100% !important;
      padding:0 1rem clamp(20px, calc(20px + (50 * (100vw - 375px) / 650)), 70px);
  }
  
  .icon-grid{
    grid-template-columns: repeat(auto-fit, minmax(50px, 1fr));
    gap: 8px;
  }

  .contact-banner-inner {
    width:100%;
  }
  }

  @media (max-width:960px) {
  .banner-left img {
  width:clamp(100px, calc(100px + (200 * (100vw - 375px) / 1025)), 300px);
  padding-left:2rem;
}
}


@media screen and (max-width:900px){

    .icon-grid{
    grid-template-columns: repeat(5, 1fr);
    gap: 8px;
  }

  #service-shoes .icon-grid,#service-key .icon-grid{
    grid-template-columns: repeat(2, 1fr);
  }

  .service-inner {
    flex-direction: column;
  }

  .service-image-grid {
    flex-direction: row;
  }

  .service-image-item {
    flex: 1 1 50%;
  }

    .shoes-repair-info {
    flex-direction: column;
    align-items: start;
  }

  .custom-ul2,
  .image-wrapper2 {
    flex: 1 1 100%;
  }

  .image-wrapper2-padding {
    padding: 0;
  }
}

@media screen and (max-width: 768px) {

  .service-inner{
    gap:10px;
  }

  .page-info{
    margin-bottom:20px;
  }

  .service-image-grid4{
    grid-template-columns: repeat(3, 1fr); /* 2列 */
    gap:10px;
  }

  /* ページ追加 */
  .section-inner {
    flex-direction: column;
    text-align: center;
    gap:20px;
  }

  .icon-group {
    justify-content: center;
  }

  .section-left, .section-right {
    flex: none;
    width: 100%;
  }
  .section-left{
    order:2;
  }

  .section-right{
    order:1;
  }

  .section-right img{
    height:15vh;
  }

  .banner-left img{
    padding-left:0px;
  }

  /* 中央テキスト */
  .banner-text {
    width:90%;
    padding-left:26%;
    z-index: 2;
  }

  .banner-text ul{
    padding:0;
  }
  
  /* 右上テキスト画像 */
  .banner-right {
    width: 80px; /* PC時のサイズ調整 */
    height: auto;
    /* 上方向 -50%、右方向 +50% に飛び出す */
    transform: translate(20%, -60%);
  }

/* お問い合わせbnr */
    .contact-banner-inner {
    grid-template-columns: 1fr; /* 縦並び */
    gap: 0px;
  }

  .tel-number {
    font-size: 34px;
  }

}

@media screen and (max-width: 600px) {

  #service p{
  padding-top:0;
  padding-bottom:0;
  }

    .icon-grid{
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 8px;
  }
}

@media (max-width: 485px) {
  .icon-group {
    flex-direction: column; /* 縦並びにする */
    align-items: center;    /* 中央揃え */
    text-align: center;
  }

  
  .icon-wrap {
    justify-content: center; /* アイコン2つを中央揃え */
  }
}