@charset "uft-8";


.about-title_box{
    border-left: 3px solid #81FF39;
    padding-left: 30px;
    margin-left: 200px;
}

.subtitle{
    font-size: 2.4rem;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.05em;
    font-family: "ff-din-paneuropean" ;
}

.title{
    font-size: 4.4rem;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 7rem;
}


.header {
  width: 100%;
}

.header_inner{
    padding-top: 40px ;

}

.header_flex{
    max-width: 1320px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative; /* 固定に変更 */
    margin: 0 auto;
    padding: 24px 40px 24px 90px; 
    border-radius: 100px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
}

.header_logo{
    width: 224px;
    height: 52px;
}

.right{
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 70px;
}

.header_list{
    display: flex;
    justify-content: center;
    gap: 48px;
    padding-top: 15px;
}

.header_item{
    font-size: 1.4rem;
    font-weight: 500;
    color: #333;
    padding-bottom: 9px;
    border-bottom: 1px solid #81FF39;
}

.telephone{
    font-size: 3rem;
    font-weight: 700;
    color: #333;
}

.reception{
    font-size: 1.4rem;
    font-weight: 400;
    color: #333;
    margin-top: 4px;
}

.header_cta{
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px 32px;
    background-color: #81FF39;
    font-size: 1.6rem;
    font-weight: 500;
    border-radius: 100px;
    color: #333;
}

.mail_logo{
    margin-right: 8px;
}

/* ===== ハンバーガー（PCは非表示） ===== */
.hamburger{
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    z-index: 1001;
  }
  
  .hamburger span{
    display: block;
    width: 24px;
    height: 2px;
    background: #000;
    margin: 5px 0;
    transition: all 0.3s ease;
  }
  
  /* ===== 1200px ===== */
  @media (max-width: 1200px){

    .header_flex{
        max-width: 1320px;
        display: flex;
        align-items: center;
        justify-content: space-between;
        position: relative; /* 固定に変更 */
        margin: 0 auto;
        padding: 18px 5%;
        border-radius: 100px;
        background-color: transparent;
        box-shadow: none;
    }
  
    /* ヘッダー枠を少し詰める（任意） */
  
    .hamburger{
      display: block;
      position: fixed;
      top: 60px;
      right: 3%;
      padding: 10px;
    }
  
    /* 右側の通常並びはSPでは“全画面メニュー”になる */
    .right{
      position: fixed;
      top: 0;
      left: 0;
  
      width: 100%;
      height: 100vh;
  
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      gap: 42px;
  
      background: rgba(255,255,255,.98);
      backdrop-filter: blur(10px);
  
      padding: 32px 24px;
      z-index: 1000;
  
      /* 初期：隠す */
      opacity: 0;
      visibility: hidden;
      transform: translateX(100%);
      transition: opacity 0.8s ease, transform 0.8s ease, visibility 0.8s;
    }
  
    /* 開いた状態 */
    .right.is-open{
      opacity: 1;
      visibility: visible;
      transform: translateX(0);
    }
  
    /* 中身（遅延で入れる：TGTの li アニメと同じ体験） */
    .right > *{
      opacity: 0;
      transform: translateX(80px);
      transition: opacity 0.8s ease, transform 0.8s ease;
    }
  
    .right.is-open > *{
      opacity: 1;
      transform: translateX(0);
    }
  
    /* 遅延 */
    .right.is-open .header_nav{ transition-delay: 0.2s; }
    .right.is-open .numbox{     transition-delay: 0.4s; }
    .right.is-open .header_cta{ transition-delay: 0.6s; }
  
    /* ナビを縦並びに */
    .header_list{
      flex-direction: column;
      align-items: center;
      gap: 26px;
      padding-top: 0;
    }
  
    .header_item{
      font-size: 2.4rem;
      border-bottom: 1px solid #81FF39;
      padding-bottom: 6px;
    }
  
    /* 電話はSPで大きすぎるなら調整 */
    .telephone{
      font-size: 2.6rem;
      text-align: center;
    }
  
    .reception{
      text-align: center;
    }
  
    /* CTAは幅広で押しやすく */
    .header_cta{
      width: min(360px, 92vw);
      justify-content: center;
    }
  }
  
  /* ハンバーガーを×に（TGTと同じ） */
  .hamburger.is-open span:nth-child(1){
    transform: translateY(7px) rotate(45deg);
  }
  .hamburger.is-open span:nth-child(2){
    opacity: 0;
  }
  .hamburger.is-open span:nth-child(3){
    transform: translateY(-7px) rotate(-45deg);
  }
  
  @media (max-width: 580px){
    .hamburger{ top: 24px; }
  }


.fv_clip{
    overflow-x: clip;
    position: relative; 
}

.fv_img{

}

.fv_img::before{
    content: "";
    background-image: url(../img/fv_pc.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 50%;
    position: absolute;
    right: -170px;
    bottom: -1130px;
    width: 1410px;
    height: 1410px;
    z-index: -100;
    box-shadow: inset 0 0 0 40px #ffffff, 0 0 0 2px rgba(0, 255, 0, 0.6);
}

/* FV */

.fv{
}

.fv_inner{
    margin-top: 120px;
    max-width: 1700px;
    padding :0 7%;
}

.fv_txtbox{
    border-left:10px solid #81FF39;
    padding-left: 32px;
}

.fv_subtitle{
    font-size: 1.6rem;
    font-weight: 500;
    color: #333;
    padding: 8px;
    letter-spacing: 0.15em;
}

.fv_title{
    font-size: 4.2rem;
    font-weight: 700;
    color: #333;
    background: #fff;
    padding: 12px 8px ;
    letter-spacing: 0.15em;
    max-width: 430px;
}

.fv_title-2{
    font-size: 4.2rem;
    font-weight: 700;
    color: #333;
    background: #ffffff;
    padding: 12px 8px ;
    letter-spacing: 0.15em;
    max-width: 570px;
}

.fv_subimgbox{
    margin-top: 200px;
}

.fv_subimg-1 img{
    border-radius: 8px;
    max-width: 309px;
}

.fv_subimg-2 img{
    border-radius: 8px;
    max-width: 366px;
    margin-top: -20px;
    margin-left: 200px;
}

@media (max-width: 1200px) {
.fv_img::before {
    content: "";
    background-image: url(../img/fv_pc.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    border-radius: 50%;
    position: absolute;
    right: 40px;
    bottom: -700px;
    width: 650px;
    height: 650px;
    z-index: -100;
    box-shadow: inset 0 0 0 40px #ffffff, 0 0 0 2px rgba(0, 255, 0, 0.6);
}

.fv_title{
    font-size: 3rem;
    font-weight: 600;
    color: #333;
    background: #fff;
    padding: 12px 8px ;
    letter-spacing: 0.15em;
    max-width: 300px;
}

.fv_title-2{
    font-size: 3rem;
    font-weight: 600;
    color: #333;
    background: #ffffff;
    padding: 12px 8px ;
    letter-spacing: 0.15em;
    max-width: 430px;
}

.fv_subimgbox{
    margin-top: 150px;
}

.fv_subimg-1 img{
    border-radius: 8px;
    max-width: 309px;
}

.fv_subimg-2 img{
    border-radius: 8px;
    max-width: 366px;
    margin-top: -20px;
    margin-left: 200px;
}
}

@media (max-width: 1024px){
    .fv_img::before {
        content: "";
        background-image: url(../img/fv_pc.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        border-radius: 50%;
        position: absolute;
        right: 40px;
        bottom: -522px;
        width: 650px;
        height: 650px;
        z-index: -100;
        box-shadow: inset 0 0 0 40px #ffffff, 0 0 0 2px rgba(0, 255, 0, 0.6);
    }
}



/* about */

.about_inner{
    padding:0 7% ;
    margin-top: 250px;
}

.about_txtbox{
    max-width: 520px;
    margin-top: 148px;
    margin-left: 40%;
    position: relative;
}

.about_txtbox::before{
    content: "";
    background-image: url(../img/about_line.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    top:-40px;
    left: -50px;
    width: 68px;
    height: 68px;
}

.about_txtbox::after{
    content: "";
    background-image: url(../img/about_line-2.svg);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    position: absolute;
    bottom:-30px;
    right: -70px;
    width: 68px;
    height: 68px;
}

.about_line-1{
    margin-left: -50px;
}
.about_line-2{
    margin-right: 50px;
}

.about_txt{
    font-size: 2rem;
    line-height: 2.5em;
    letter-spacing: 0.05rem;
    color: #333;
    font-weight: 500;
    padding: 30px 0px;
}

/* service */
.service_inner{
    padding :0 5% ;
    max-width: 1700px;
    margin: 150px auto 0;
}

.title_box{
    border-left: 3px solid #81FF39;
    padding-left: 30px;
}

.subtitle{
    font-size: 2.4rem;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.05em;
    font-family: "ff-din-paneuropean" ;
}

.title{
    font-size: 4.4rem;
    color: #333;
    font-weight: 500;
    letter-spacing: 0.05em;
    line-height: 7rem;
}

.service_list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
    gap: 24px;
    justify-items: center;
    margin: 140px auto 0;
    padding: 0;
    list-style: none;
    justify-items: stretch; /* ← center から変更 */
    max-width: 1200px;
  }

  .service_item{
    width: 100%;
    height: auto; /* 固定しない */
    border-radius: 36px;
  }

.service_bg-1{
     background-image: url(../img/service-1.jpg); 
     background-repeat: no-repeat;
     background-size: cover;
     background-position: center;

     height: 298px;
     border-radius:36px;
     position: relative;      /* 追加 */
     overflow: hidden;        /* 追加 */
   }

.service_bg-2{
    background-image: url(../img/service-2.jpg); 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 298px;
    border-radius:36px;
    position: relative;      /* 追加 */
    overflow: hidden;        /* 追加 */
    }
.service_bg-3{
    background-image: url(../img/service-3.jpg); 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 298px;
    border-radius:36px;
    position: relative;      /* 追加 */
    overflow: hidden;        /* 追加 */
    }
.service_bg-4{
    background-image: url(../img/service-4.jpg); 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 298px;
    border-radius:36px;
    position: relative;      /* 追加 */
    overflow: hidden;        /* 追加 */
    }
.service_bg-5{
    background-image: url(../img/service-5.jpg); 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 298px;
    border-radius:36px;
    position: relative;      /* 追加 */
    overflow: hidden;        /* 追加 */
    }
.service_bg-6{
    background-image: url(../img/service-6.jpg); 
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    height: 298px;
    border-radius:36px;
    position: relative;      /* 追加 */
    overflow: hidden;        /* 追加 */
    }

.service_bg-1::before{
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.5); /* #000 50% */
    border-radius: inherit;      /* 角丸を継承 */
    z-index: 0;
    }

.service_bg-2::before{
     content: "";
     position: absolute;
     inset: 0;
     background: rgba(0,0,0,0.5); /* #000 50% */
     border-radius: inherit;      /* 角丸を継承 */
     z-index: 0;
    }
.service_bg-3::before{
     content: "";
     position: absolute;
     inset: 0;
     background: rgba(0,0,0,0.5); /* #000 50% */
     border-radius: inherit;      /* 角丸を継承 */
     z-index: 0;
    }
.service_bg-4::before{
     content: "";
     position: absolute;
     inset: 0;
     background: rgba(0,0,0,0.5); /* #000 50% */
     border-radius: inherit;      /* 角丸を継承 */
     z-index: 0;
   }
.service_bg-5::before{
     content: "";
     position: absolute;
     inset: 0;
     background: rgba(0,0,0,0.5); /* #000 50% */
     border-radius: inherit;      /* 角丸を継承 */
     z-index: 0;
   }
.service_bg-6::before{
     content: "";
     position: absolute;
     inset: 0;
     background: rgba(0,0,0,0.5); /* #000 50% */
     border-radius: inherit;      /* 角丸を継承 */
     z-index: 0;
   }

.service_txtbox{
    padding: 32px 32px 60px;
    position: absolute;
    z-index: 3;

    }

.service_title{
    font-size: 3.2rem;
    font-weight: 500;
    color: #fff;
    padding-bottom: 12px;
    border-bottom: 1px solid #fff;
    line-height: 1.3;
}

.service_txt{
    margin-top: 77px;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 2;
    color: #fff;
}

.service_txt-car{
    margin-top: 54px;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.5;
    color: #fff;
}

.service_cta{
    display: block;
    font-size: 2.4rem;
    font-weight: 500;
    color: #2D7C00;
    padding-top: 18px;
    text-align: center;
    width: 350px; 
    height: 60px;
    border: 1px solid #2D7C00;
    border-radius: 36px;
    margin-top: 60px;
    margin-left: auto;
    position: relative;
}

.service_cta::after{
    content: "";
    position: absolute;
    top: 21px;
    right: 42px;
    background-image: url(../img/arrow.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    width: 12px;
    height: 22px;
}

.sp_none{
    display: block;
}

/* Message */

.message_inner{
    padding :0 5% ;
    max-width: 1700px;
    margin: 150px auto 0;
}


.message_list{

}

.img_box {
    flex-shrink: 0;  
    border-radius: 24px;        /* 縮まらせない */
}

.img_box img {
    width: 700px;            /* 好きな固定サイズ */
    height: auto;
    display: block;
    border-radius: 24px;  
}
.message_item{
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 80px;
    color: #333;
}

.message_txtbox-1{
    padding: 56px 35px 40px ;
    max-width: 700px;
    margin-bottom: -100px;
    margin-left: -100px;
    background-color: #fff;
    border-radius: 24px;
    position: relative;
}

.message_txtbox-2{
    padding: 56px 35px 40px ;
    max-width: 700px;
    margin-bottom: -100px;
    margin-left: -100px;
    background-color: #fff;
    border-radius: 24px;
    position: relative;
}

.message_txtbox-3{
    padding: 56px 35px 40px ;
    max-width: 700px;
    margin-bottom: -100px;
    margin-left: -100px;
    background-color: #fff;
    border-radius: 24px;
    position: relative;
}

.message_txtbox-1::before{
    content: "";
    position: absolute;
    top: 0;
    right: 90px;
    background-image: url(../img/Takuya\ Hiyama.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 306px;
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.message_txtbox-2::before{
    content: "";
    position: absolute;
    top: -20px;
    right: 100px;
    background-image: url(../img/Kento\ Suzuki.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 290px;
    height: 68px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.message_txtbox-3::before{
    content: "";
    position: absolute;
    top: -20px;
    right: 100px;
    background-image: url(../img/Sora\ Numata.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 290px;
    height: 53px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.message_title{
    font-size: 3.2rem;
    font-weight: 500;
    color: #333;
    line-height: 1.3;
    margin-bottom: 40px;
    letter-spacing: 0.03em;
}

.message_txt{
    font-size: 1.6rem;
    font-weight: 400;
    color: #333;
    line-height: 2;
}

.message_txt-2{
    font-size: 1.6rem;
    font-weight: 400;
    color: #333;
    line-height: 1.5;
    margin-top: 40px;
    line-height: 2;
}

.name_box{
    margin-right: auto;
    display: flex;
    justify-content: end;
    align-items: end;
    margin-top: 40px;
    gap: 24px;
}

.message_subname{
    font-size: 1.4rem;
    color: #333;
    font-weight: 400;
}

.message_name{
    font-size: 2.4rem;
    color: #333;
    font-weight: 500;
}

.message_bg{
    display: flex;
    align-items: center;
    gap: 72px;
    margin-top: 40px;
    font-size: 1.6rem;
    font-weight: 400;
    line-height: 1.3;
    color: #333;
}



/* company */
.company_inner{
    padding :0 5% ;
    max-width: 1700px;
    margin: 300px auto 0;
}


/* ==============================
   ACCESS
================================ */

.access {
    padding: 40px 16px;
  }
  
  /* 横幅1150px */
  .access__inner {
    max-width: 1150px;
    margin: 80px auto 0;
    padding: 0 5%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
  }
  
  /* ===== 左：情報 ===== */
  .access__list {
    margin: 0;
    font-size: 1.6rem;
    color: #333;
  }
  
  .access__row {
    display: grid;
    grid-template-columns: 120px 1fr;
    gap: 24px;
    padding: 18px 0;
    border-bottom: 1px solid #e6e6e6;
  }
  
  .access__row:first-child {
    border-top: 1px solid #e6e6e6;
  }
  
  .access__row dt {
    margin: 0;
    font-weight: 700;
    line-height: 1.6;
    white-space: nowrap;
  }
  
  .access__row dd {
    margin: 0;
    line-height: 1.8;
  }
  
  /* ===== 右：Google Map ===== */
  .access__map {
    width: 100%;
    height: 100%;          /* 左テキストと同じ高さに */
    background: #ddd;
    overflow: hidden;
  }
  
  .access__map iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
  }
  
  /* ===== レスポンシブ ===== */
  /* マップが下に来る */
  @media (max-width: 900px) {
    .access__inner {
      grid-template-columns: 1fr;
      gap: 24px;
    }

    .access__map{
        height: clamp(260px, 50vw, 420px); /* ← ここが肝 */
      }
  }
  
  /* スマホ：表を縦並び */
  @media (max-width: 520px) {
    .access__row {
      grid-template-columns: 1fr;
      gap: 8px;
      padding: 14px 0;
    }
  
    .access__row dt {
      white-space: normal;
    }
  }

  /* ===============================
  OFFER
================================ */

.offer{
    padding: 120px 16px;
    background-image:
      linear-gradient(rgba(0,0,0,.45), rgba(0,0,0,.45)),
      url("../img/offer_bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    margin-top: 120px;
  }
  
  .offer__inner{
    max-width: 1150px;
    margin: 0 auto;
    text-align: center;
  }
  
  /* ===== タイトル周り ===== */
  .offer__titleWrap{
    position: relative;
    display: inline-block;
  }
  
  /* 緑のバー */
  .offer__bar{
    position: absolute;
    left: -60px;
    top: -80px;
    width: 60px;
    height: auto;
  }
  
  /* タイトルSVG */
  .offer__title{
    width: min(720px, 100%);
    height: auto;
    display: block;
  }
  
  /* ===== サブコピー ===== */
  .offer__lead{
    margin-top: 24px;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.8;
    color: #fff;
  }
  
  /* ===== 線 ===== */
  .offer__line{
    width: min(680px, 90%);
    height: 2px;
    background: #6DFF3B;
    margin: 28px auto;
  }
  
  /* ===== 電話 ===== */
  .offer__time{
    margin: 0 0 8px;
    color: #fff;
    font-weight: 600;
    font-size: 1.5rem;
  }
  
  .offer__number{
    margin: 0;
    font-size: 36px;
    font-weight: 800;
    color: #fff;
    letter-spacing: .04em;
  }
  
  /* ===== CTAボタン ===== */
  .offer__cta{
    margin-top: 48px;
  }
  
  .offer__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
  
    width: min(720px, 100%);
    height: 92px;
  
    border-radius: 999px;
    background: #fff;
    border: 3px solid #2E8B0F;
  
    font-size: 28px;
    font-weight: 800;
    color: #2E8B0F;
    text-decoration: none;
  
    transition: transform .2s ease, box-shadow .2s ease;
  }
  
  .offer__btn:hover{
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,.25);
  }
  
  /* ===== SP ===== */
  @media (max-width: 520px){
    .offer{
      padding: 80px 16px;
    }
  
    .offer__bar{
      left: -36px;
      width: 40px;
    }
  
    .offer__lead{
      font-size: 15px;
    }
  
    .offer__number{
      font-size: 28px;
    }
  
    .offer__btn{
      height: 72px;
      font-size: 20px;
    }
  }

  /* ====== FOOTER ====== */
.footer{
    background: #2f7f00;          /* 緑 */
    color: #fff;
    padding: 60px 16px 40px;
    margin-top: 140px;
  }
  
  .footer__inner{
    max-width: 1150px;
    margin: 0 auto;
    text-align: center;
  }
  
  /* 上段 */
  .footer__top{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 56px;
    flex-wrap: wrap;
  }
  
  .footer__logo{
    width:224px;
    height: auto;
    display: block;
  }
  
  /* 電話 */
  .footer__tel{
    text-align: left;
  }
  
  .footer__telNum{
    margin: 0;
    font-size: 3rem;
    font-weight: 800;
    letter-spacing: .04em;
  }
  
  .footer__telTime{
    margin: 8px 0 0;
    font-size: 16px;
    font-weight: 600;
    opacity: .95;
  }
  
  /* ナビ */
  .footer__nav{
    margin-top: 34px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  
  .footer__link{
    color: #fff;
    text-decoration: none;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 10px 6px;
    border-bottom: 2px solid rgba(255,255,255,.55);
  }
  
  .footer__link:hover{
    border-bottom-color: #fff;
  }
  
  /* お問い合わせボタン */
  .footer__btn{
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
  
    height: 44px;
    padding: 0 34px;
    border-radius: 999px;
  
    background: #fff;
    color: #2f7f00;
    text-decoration: none;
    font-weight: 500;
  }
  
  .footer__btn:hover{
    transform: translateY(-1px);
  }
  
  /* コピーライト */
  .footer__copy{
    display: block;
    margin-top: 42px;
    font-size: 14px;
    opacity: .95;
  }
  
  /* 角丸（画像みたいに上だけ丸く） */
  .footer{
    border-top-left-radius: 120px;
    border-top-right-radius: 120px;
  }
  
  /* SP */
  @media (max-width: 600px){
    .footer{
      border-top-left-radius: 64px;
      border-top-right-radius: 64px;
      padding: 56px 16px 24px;
    }
  
    .footer__top{
      gap: 42px;
    }
  
    .footer__tel{
      text-align: center;
    }
  
    .footer__nav{
      gap: 22px;
    }
  }


/* about 1200 */
@media (max-width: 1200px){
    .about-title_box{
        margin-left: 0px;
    }

    .about_txtbox{
        max-width: 520px;
        margin-top: 148px;
        margin-left: 20%;
        position: relative;
    }

    .about_txt {
        font-size: 1.6rem;
    }
}


/* message */
@media (max-width: 1200px){
    .message_item {
        flex-direction: column;
    }


.message_txtbox-1{
    padding: 70px 35px 40px ;
    max-width: 700px;
    margin-top: -80px;
    margin-bottom: 0px;
    margin-left: 0px;
    background-color: #fff;
    border-radius: 24px;
    position: relative;
}

.message_txtbox-2{
    padding: 70px 35px 40px ;
    max-width: 700px;
    margin-top: -80px;
    margin-bottom: 0px;
    margin-left: 0px;
    background-color: #fff;
    border-radius: 24px;
    position: relative;
}

.message_txtbox-3{
    padding: 70px 35px 40px ;
    max-width: 700px;
    margin-top: -80px;
    margin-bottom: 0px;
    margin-left: 0px;
    background-color: #fff;
    border-radius: 24px;
    position: relative;
}

.message_txtbox-1::before{
    content: "";
    position: absolute;
    top: 20px;
    right: 20px;
    background-image: url(../img/Takuya\ Hiyama.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 306px;
    height: 54px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.message_txtbox-2::before{
    content: "";
    position: absolute;
    top: 10px;
    right: 20px;
    background-image: url(../img/Kento\ Suzuki.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 290px;
    height: 68px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.message_txtbox-3::before{
    content: "";
    position: absolute;
    top: 12px;
    right: 20px;
    background-image: url(../img/Sora\ Numata.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    width: 290px;
    height: 53px;
    display: flex;
    justify-content: center;
    align-items: center;
}
}


/* company */
@media (max-width: 1200px){
    .company_inner {
        margin: 160px auto 0;
    }
}


/* 768 */

@media (max-width: 768px){
    .fv_img::before {
        content: "";
        background-image: url(../img/fv_pc.jpg);
        background-position: center;
        background-repeat: no-repeat;
        background-size: contain;
        border-radius: 50%;
        position: absolute;
        right: -50px;
        bottom: -432px;
        width: 530px;
        height: 530px;
        z-index: -100;
        box-shadow: inset 0 0 0 20px #ffffff, 0 0 0 2px rgba(0, 255, 0, 0.6);
    }

    .fv_subtitle {
        font-size: 1.4rem;
    }

    .fv_title{
        font-size: 2.4rem;
        padding: 12px 8px;
        letter-spacing: 0.15em;
        max-width: 250px;
    }

    .fv_title-2{
        font-size: 2.4rem;
        padding: 12px 8px;
        letter-spacing: 0.15em;
        max-width: 320px;
    }

    .fv_txtbox {
        border-left: none;
        padding-left:0;
        margin-left: -10px;
    }

    .fv_subimg-1 img {
        border-radius: 8px;
        max-width: 250px;
    }

    .fv_subimg-2 img {
        border-radius: 8px;
        max-width: 300px;
        margin-top: -20px;
        margin-left: 50px;
    }
}

/* about 768 */
@media (max-width: 768px){

    .about-title_box {
        border-left: 2px solid #81FF39;
    }

    .subtitle{
        font-size: 1.4rem;
        padding-bottom: 4px;
    }

    .title {
        font-size: 3rem;
        color: #333;
        font-weight: 500;
        letter-spacing: 0.05em;
        line-height: 4rem;
    }

    .about_inner {
        margin-top: 170px;
    }

    .about-title_box{
        margin-left: 0px;
    }

    .about_txtbox{
        max-width: 350px;
        margin-left: 0%;
        margin: 130px auto 0;
 
        position: relative;
    }

    .about_txtbox::before {
        top: -40px;
        left: -20px;
        width: 38px;
        height: 38px;
    }

    .about_txtbox::after {
        right: 0px;
        width: 38px;
        height: 38px;
    }

    .about_txt {
        font-size: 1.6rem;
        padding: 15px 0;
    }
}

/* service */
@media (max-width: 768px){
    .service_title {
        font-size: 2.4rem;
    }

    .service_txt{
        margin-top: 107px;
    }

    .sp_none{
        display: none;
    }

    .service_txt-car{
        margin-top: 104px;
    }

}


/* message */
@media (max-width: 768px){
.message_item {
    flex-direction: column;
}

.message_title{
    font-size: 2rem
}

.message_txt {
    font-size: 1.4rem;  
}

.message_txt-2 {
    font-size: 1.4rem;  
}


.message_txtbox-1{
    padding: 70px 35px 40px ;
    max-width: 700px;
    margin-top: -80px;
    margin-bottom: 0px;
    margin-left: 0px;
    background-color: #fff;
    border-radius: 24px;
    position: relative;
}

.message_txtbox-2{
    padding: 70px 35px 40px ;
    max-width: 700px;
    margin-top: -80px;
    margin-bottom: 0px;
    margin-left: 0px;
    background-color: #fff;
    border-radius: 24px;
    position: relative;
}

.message_txtbox-3{
    padding: 70px 35px 40px ;
    max-width: 700px;
    margin-top: -80px;
    margin-bottom: 0px;
    margin-left: 0px;
    background-color: #fff;
    border-radius: 24px;
    position: relative;
}

.message_txtbox-1::before{
    width: 180px;
    height: 32px;
}

.message_txtbox-2::before{
    top: 21px;
    width: 150px;
    height: 35px;
}

.message_txtbox-3::before{
    top: 12px;
    right: 20px;
    width: 160px;
    height: 30px;
}

.message_bg {
    display: flex;
    align-items: center;
    gap: 48px;
    margin-top: 40px;
    font-size: 1.4rem;
}


}


/* company */
@media (max-width: 768px){
    .company_inner {
        margin: 160px auto 0;
    }
}

/* offer */
@media (max-width: 768px){
    .offer__title {
        width: 320px;
    }
    
    .offer__bar {
display: none;
    }
    
    .offer__lead {
        font-size: 1.6rem;
        font-weight: 400;
    }

}

/* 500 */

@media (max-width: 500px){

    .about-title_box {
        padding-left: 16px;
    }

    .header_inner {
        padding-top: 0px;
    }

    .header_logo {
        width: 164px;
        height: 52px;
        margin-top: 10px;
    }

    .fv_img::before {
        right: -70px;
        bottom: -602px;
        width: 420px;
        height: 420px;
        box-shadow: inset 0 0 0 10px #ffffff, 0 0 0 2px rgba(0, 255, 0, 0.6);
        border-radius: 38px 10px 10px 90px;
    }

    .fv_inner {
        margin-top: 60px;
        max-width: 1700px;
        padding: 0 7%;
    }

    .fv_subtitle {
        background-color: #fff;
        padding: 8px 0;
        font-size: 1.3rem;
        width: 270px;
        white-space: nowrap;
    }

    .fv_title {
        font-size: 2.4rem;
        padding: 8px 0 2px 0;
        max-width: none;
        margin-top: 0px;
        width: 200px;
    }

    .fv_title-2 {
        font-size: 2.4rem;
        padding: 10px 0;
        max-width: none;
        margin-top: 0;
    }

    .fv_subimgbox {
        margin-top: 300px;
    }

    .fv_subimg-2 img {
        margin-left: 31px;
    }

    .about_txtbox {
        max-width: 350px;
        margin-left: 0%;
        margin: 90px auto 0;
        position: relative;
    }

    .about_txtbox::before {
        left: -10px;
    }

    .about_txt {
        font-size: 1.6rem;
        padding: 10px 0;
    }

    /* service */
    .service_list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(310px, 1fr));
        gap: 24px;
        justify-items: center;
        margin: 80px auto 0;
        padding: 0;
        list-style: none;
        justify-items: stretch;
    }

    .service_cta {
        display: block;
        font-size: 2rem;
        font-weight: 500;
        color: #2D7C00;
        padding-top: 18px;
        text-align: center;
        width: 310px;
        height: 60px;
        border: 1px solid #2D7C00;
        border-radius: 36px;
        margin: 60px auto 0;
        position: relative;
    }

    /* message */

    .message_title {
        font-size: 1.6rem;
    }

    .message_name {
        font-size: 1.6rem;
        color: #333;
        font-weight: 500;
    }

    .message_bg {           
        font-size: 1.2rem;
    }

    /* access */

    .access__inner {
        margin: 32px auto 0;
    }

    .access__list {
        margin: 0;
        font-size: 1.4rem;
        color: #333;
    }

    .footer__telNum {
        font-size: 2.4rem;
        font-weight: 500;
    }

    .footer__telTime {
        font-size: 1.4rem;
        font-weight: 500;
    }

    .footer__copy {
        font-size: 1rem;
    }
}



@media (min-width: 1699px){
    .fv_inner{
        max-width: 1700px;
        padding :0 7%;
        margin: 120px auto 0;
    }

    .about_inner {
        padding: 0 7%;
        margin: 250px auto 0;
        max-width: 1700px;

    }
}
