@charset "utf-8";

body{
  font-size: 14px;
}

.top-inner{
  width: 80%;
  margin: 0 auto;
  max-width: 1240px;
}

/* FV */
.fv{
  position: relative;
  min-height: 90vh;
}

.fv-wimg{
  position: absolute;
  bottom: 20%;
  left: 10%;
  width: 240px;
  height: auto;
  z-index: 1;
}

.fv-deco01{
  position: absolute;
  top: -8rem;
  right: -3rem;
  width: 25%;
  height: auto;
  z-index: 2;
  animation-delay: 0.75s;
  z-index: -1;
}

.fv-deco02{
  position: absolute;
  bottom: -100px;
  left: -4rem;
  width: 35%;
  height: auto;
  animation-delay: 1s;
  z-index: -1;
}

.fv-img{
  width: 100%;
  height: 80vh;
  object-fit: cover;
  position: relative;
  z-index: 1;
}

.swiper-container{
  width: 70%;
  max-width: 1400px;
  margin: 3rem auto;
  border-radius: 150px 30px 150px 30px;
  border: 5px solid #000;
  overflow: hidden;
}

.fv-text{
  position: absolute;
  top: 2%;
  left: 10%;
  z-index: 1;
}

.fv-text img{
  max-width: 75%;
  height: auto
}

.fv-text-img{
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
}

.fv-text-img img{
  width: 240px;
  height: auto;
}

.fv-text-img img:nth-child(2){
  width: 240px;
  height: auto;
  animation-delay: 0.5s;
}

@media screen and (max-width: 1024px) {
  .swiper-container{
    width: 90%;
  }
  .fv-text{
    left: 5%;
  }
  .fv-wimg{
    position: absolute;
    bottom: 10%;
    left: 5%;
  }
  .fv-img{
    height: 70vh;
  }
  .fv{
    min-height: 70vh;
  }
}

@media screen and (max-width: 768px) {
  .fv{
    min-height: 50vh;
  }
  .fv-wimg{
    width: 180px
  }
  .fv-img{
    height: 50vh;
  }
  .swiper-container{
    border: 3px solid #000;
  }
}

@media screen and (max-width: 480px) {
  .fv{
    min-height: 40vh;
  }
  .swiper-container{
    border-radius: 80px 10px 80px 10px;
  }
  .fv-wimg{
    width: 100px;
    left: auto;
    right: 5%;
  }
  .fv-img{
    height: 40vh;
  }
}


/* 要素タイトル */
.top-title{
  position: relative;
  padding: 1rem 2rem;
}

.top-title:before{
  content: "";
  position: absolute;
  left: -1.5rem;
  bottom: 0;
  background-color: #B31C00;
  width: 25px;
  height: 150px;
}

.top-title:after{
  content: "";
  position: absolute;
  left: -3rem;
  top: -1rem;
  background-color: #FFB817;
  width: 130px;
  height: 15px;
}

.top-title h2{
  position: relative;
  font-size: 4.5rem;
  line-height: 1;
  font-weight: 800;
  color: #FFF;
  -webkit-text-stroke-width: 3px;
  -webkit-text-stroke-color: black;
  width: fit-content;
}

.top-title p{
  position: relative;
  font-size: 14px;
  line-height: 1;
}

@media screen and (max-width: 768px) {
  .top-title-inner{
    width: 90%;
    margin: 0 auto;
  }
}

@media screen and (max-width: 480px) {
  .top-title:before{
    left: -1rem;
    bottom: 0;
    width: 15px;
    height: 100px;
  }

  .top-title:after{
    left: -2rem;
    top: 0;
    width: 100px;
    height: 8px;
  }

  .top-title h2{
    font-size: 3rem;
    -webkit-text-stroke-width: 1.5px;
    -webkit-text-stroke-color: black;
  }
}

/* ブログ */
.topic{
  position: relative;
  margin: 3rem auto;
  display: flex;
  align-items: center;
  gap: 2rem;
  max-width: 1400px;
  width: 70%;
}

.topic-title h2{
  color: #FD5B50;
  font-size: 2.5rem;
}

.topic-title p{
  font-size: 1.25rem;
  padding-left: 3rem;
}

.topic-title p:before{
  content: "";
  position: absolute;
  left: 0;
  top: 0.75rem;
  width: 40px;
  height: 8px;
  border-radius: 5px;
  background-color: #FD5B50;
}

.topic-left{
  display: flex;
  flex-direction: column;
  gap: 2rem;
  justify-content: space-between;
      padding-bottom: 3rem;
}


/*  ブログ共通設定 */
.topNews{
  width: 70%;
  margin: 2rem auto;
  display: block;
}

@media screen and (max-width: 768px) {
  .topic{
    margin: 3rem auto;
    width: 80%;
    gap: 1rem;
  }
}

/* About */
.about{
  position: relative;
  margin: 8rem auto 5rem;
  max-width: 1400px;
  width: 70%;
}

.about-deco{
  position: absolute;
  right: -25%;
  top: -5rem;
  height: auto;
  width: 60%;
  z-index: -1;
}

.about-top{
  position: relative;
  margin: 2rem auto;
  padding: 3rem 0;
}

.about-top img:nth-child(1){
  position: relative;
  height: auto;
  max-width: 55%;
  z-index: 1;
}

.about-top img:nth-child(2){
  position: absolute;
  top: 0;
  right: 5%;
  max-width: 60%;
  height: auto;
  border: 3px solid #000;
  border-radius: 10px;
  z-index: 0;
}

.about-mes{
  position: relative;
  display: flex;
  gap: 2rem;
  justify-content: space-between;
  align-items: center;
  margin: 2rem auto;
}

.about-mes img{
  max-width: 35%;
  height: auto;
  border: 3px solid #000;
  border-radius: 10px;
  z-index: 0;
}

.about-mes-text{
  width: 60%;
}

.about-mes-text h3{
  font-size: 3rem;
  color: #5E3500;
  font-weight: 600;
  margin-bottom: 2rem;
}

.about-mes-text p{
  font-size: 1.5rem;
  line-height: 2;
  font-weight: 600;
  margin-bottom: 2rem;
  text-decoration-color: #5E3500;
}

.about-mes-text p u{
  text-decoration-color: #FFB817;
  text-decoration-thickness: 4px;
}

@media screen and (max-width: 960px) {
  .about{
    position: relative;
    margin: 3rem auto;
    max-width: 1400px;
    width: 90%;
  }
  .about-top img:nth-child(1){
    position: relative;
    height: auto;
    max-width: 55%;
    z-index: 1;
  }
  .about-top img:nth-child(2){
    position: absolute;
    top: 0;
    right: 5%;
    max-width: 70%;
    border: 1.5px solid #000;
  }
  .about-mes{
    flex-direction: column;
    gap: 2rem;
    margin: 3rem auto;
  }
  .about-mes img{
    max-width: 70%;
    height: auto;
    border: 1.5px solid #000;
  }
  .about-mes-text{
    width: 100%;
  }
  .about-mes-text h3{
    font-size: 2rem;
    margin-bottom: 1rem;
  }
  .about-mes-text p{
    font-size: 1rem;
    margin-bottom: 1rem;
  }
  .about-btn{
    margin: 2rem auto;
  }
}

@media screen and (max-width: 480px) {
  .about-mes{
    margin: 1rem auto;
  }
}

/* 無限スクロール */
.scroll-infinity__wrap {
  width: 100vw;      /* 表示領域は画面幅1枚分 */
  overflow: hidden;
}

.scroll-infinity__list {
  display: flex;
  width: max-content; /* 横に並べる */
  animation: infinity-scroll-left 60s linear infinite;
}

.scroll-infinity__item {
  flex-shrink: 0;    /* 縮まらない */
  width: 100vw;      /* 1枚ずつ表示 */
}

.scroll-infinity__item img {
  width: 100%;
  display: block;
}

@keyframes infinity-scroll-left {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0%); /* リストの半分だけ移動 */
  }
}

.car-slider{
  position: relative;
  margin: 5rem 0;
}

.car-slider-img{
  position: absolute;
  right: 15%;
  width: 25%;
  height: auto;
  z-index: 1;
  animation: bounce 3s infinite;
}

@keyframes bounce {
  0%, 20%, 100% {
    top: 2rem; /* 停止位置 */
  }
  10% {
    top: 2.25rem; /* 下に移動 */
  }
}

@media screen and (max-width: 768px) {
  .car-slider-img{
    right: 10%;
    width: 35%;
  }
  @keyframes bounce {
    0%, 20%, 100% {
      top: -2rem; /* 停止位置 */
    }
    10% {
      top: -1.75rem; /* 下に移動 */
    }
  }
}

@media screen and (max-width: 480px) {
  .car-slider-img{
    right: 10%;
    width: 45%;
  }
  @keyframes bounce {
    0%, 20%, 100% {
      top: -2rem; /* 停止位置 */
    }
    10% {
      top: -1.75rem; /* 下に移動 */
    }
  }
}

/* Service */
.service-mes{
  position: relative;
  display: flex;
  align-items: flex-start;
  gap: 5rem;
  margin: 2rem auto;
}

.service-mes-img{
  width: 40%;
  max-width: 620px;
  height: auto;
  z-index: 0;
}

.service-mes-text{
  width: auto!important;
}

.service-mes-text img{
  position: relative;
  width: 50vw;
  max-width; 900px;
  left: -8rem;
  height: auto;
  margin-bottom: 2rem;
}

@media screen and (max-width: 960px) {
  .service-mes{
    flex-direction: column;
    gap: 2rem;
  }
  .service-mes-img{
    width: 50%;
  }
  .service-mes-text{
    width: 100%!important;
  }
  .service-mes-text img{
    position: absolute;
    width: 70vw;
    left: 20%;
    top: 4rem;
  }
}

@media screen and (max-width: 480px) {
  .service-mes-img{
    width: 70%;
  }
}

/* Reason */
.reason{
  position: relative;
  display: flex;
  align-items: center;
  gap: 3rem;
}

.reason-img{
  position: absolute;
  left: -35%;
  top: 0;
  height: auto;
  width: 50%;
  z-index: -1;
}

.reason-title{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
}

.reason-title h3{
  color: #000;
  font-size: 3rem;
  margin-bottom: 2rem;
}

.reason-title h3 span span{
  color: #000;
  font-size: 6rem!important;
}

.reason-title img{
  max-width: 300px;
  height: auto;
}

.reason-cont{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.5rem;
  margin-bottom: 3rem;
}

.reason-item{
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2.5rem;
}

.reason-item:nth-child(2){
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-left: 15%;
  animation-delay: .75s;
}

.reason-item:nth-child(3){
  width: 100%;
  position: relative;
  display: flex;
  align-items: center;
  gap: 2.5rem;
  margin-left: 30%;
  animation-delay: 1.5s;
}

.reason-item-img{
  width: 180px;
  height: 180px;
}

.reason-item-text{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.reason-item-text h4{
  font-size: 1.5rem;
}

.reason-item-num{
  position: absolute;
  right: 0%;
  top: -1rem;
  width: 180px;
  height: auto;
  z-index: -1;
}

@media screen and (max-width: 960px) {
  .reason{
    flex-direction: column;
  }
  .reason-item{;
    gap: 1.5rem;
  }
  .reason-item:nth-child(2){
    margin-left: 0;
    gap: 1.5rem;
  }
  .reason-item:nth-child(3){
    margin-left: 0;
    gap: 1.5rem;
  }
  .reason-item-num{
    top: 1rem;
    width: 120px;
  }
}

@media screen and (max-width: 480px) {
  .reason-title h3{
    font-size: 2rem;
  }

  .reason-title h3 span span{
    font-size: 4rem!important;
  }
  .reason-item-img{
    width: 100px;
    height: 100px;
  }
  .reason-item-text h4{
    font-size: 1rem;
  }
  .reason-item{
    font-size: 12px;
    gap: 1rem;
  }
  .reason-item:nth-child(2){
    font-size: 12px;
    gap: 1rem;
  }
  .reason-item:nth-child(3){
    font-size: 12px;
    gap: 1rem;
  }
}


/* Access */
.top-map{
  margin: 3rem auto 1.5rem;
  width: 100%;
  height: 460px;
  border: none;
  overflow: hidden;
}

iframe{
  width: 100%;
  height: 460px;
}
