@charset "utf-8";

.title {
  height: 10%;
  background-image: url(/images/products/travel/bg-main.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  color: #ffffff;
  text-shadow: 1px 1px 10px #4b2c14;
}

.title h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 32px;
  font-weight: bold;
}

.title p {
  width: 50%;
  font-size: 16.18pt;
  line-height: 1.5em;
  margin: 10% auto auto 25%;
  text-align: center;
}


/*フェードイン表示Y方向の指定*/
.fadeinY span {
  display: block;	
  transition: 1s;
  opacity: 0;
  transform: translateY(20px);
  padding-left:10px;
}
.fadeinY span:first-child {
  animation: fadeinY_anime 1s forwards 1s;　
}
.fadeinY span:nth-child(2) {
  animation: fadeinY_anime 1s forwards 1.5s;
}
.fadeinY span:nth-child(3) {
  animation: fadeinY_anime 1s forwards 3s;
}
.fadeinY span:nth-child(4) {
  animation: fadeinY_anime 1s forwards 4.5s;
}
.fadeinY span:nth-child(5) {
  animation: fadeinY_anime 1s forwards 6s;
}
.fadeinY span:nth-child(6) {
  animation: fadeinY_anime 1s forwards 7.5s;
}

@keyframes fadeinY_anime {
  0% {
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
    background:rgba(128,128,0,0.4);
  }
}

.recommended {
  width: 90%;
  background-color: #f8f8f8;
  margin-left: 5%;
  padding-top: 45px;
  padding-bottom: 55px;
  align-content: center;
  justify-content: center;
}

.recommended h2 {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}

.recommended h2::after {
  content: '';
  display: block;
  width: 36px;
  height: 3px;
  background-color: #000000;
  margin-top: 20px;
  margin-left: auto;
  margin-right: auto;
}

.recommended .exp {
  width: 70%;
  font-size: 16.18pt;
  background-color: #f8f8f8;
  margin-left: 15%;
  padding-top: 1cqb;
  padding-bottom: 10px;
  align-content: center;
  justify-content: center;
  text-align: left;

}

.travel-list {
  width: 100%;
  display: grid;
  grid-template-columns: 50% 50%;
  grid-template-rows: repeat(auto-fit, 1fr);
  gap: 10px;
  margin-top: 30px;
  margin-bottom: 10px;
}

.travel-list .items {
  display: flex;
  width: 100%;
  margin-left: 10%;
  padding-top: 20px;
  padding-bottom: 20px;
  flex-direction: column;
  box-sizing: border-box;
  justify-content: flex-start;
  align-items: center;

}

.travel-list .items .box {
  width: 100%;
  float: left;
  box-sizing: border-box;
  background-color: #fff;
}

.items .box img {
  width: 60%;
  justify-content: flex-start;
  align-items: center;

}

.items .box p {
  width: 70%;
  font-family: 'Hiragino Gothic Sans';
  font-size: 12.944pt;
  line-height: 1.2em;
  text-align: left;
  padding: 20px 20px 20px 20px;
  animation: fadeIn linear both;
  animation-timeline: view();
  animation-range: entry 0% cover 10%;
  translate: 0 -500px;
  color: #ffff00;
  background: rgba(0,0,0,0.6);
  border-radius: 5px;
}

.items .box ul {
  width: 70%;
  font-family: 'Hiragino Gothic Sans';
  font-size: 12.944pt;
  line-height: 1.2em;
  text-align: left;
  padding: 20px 20px 20px 20px;
  animation: fadeIn linear both;
  animation-timeline: view();
  animation-range: entry 0% cover 10%;
  translate: 0 -500px;
  color: #ffff00;
  background: rgba(0,0,0,0.6);
  border-radius: 5px;
}


@keyframes fadeIn {
  from {
    opacity: 0;
    clip-path: inset(0% 100% 0% 100%);
  }

  to {
    opacity: 1;
    clip-path: inset(0% 0% 0% 0%);
  }
}

/*
.img-mask .caption {
  font-family: 'Hiragino Gothic Sans';
  font-size: 12.944pt;
  font-weight: 700;
  color:#800000;
  text-align: left;
  line-height: 1.5em;
  margin: 10px auto auto auto;
  padding: 10px 20px 10px 20px;
}

.items .img-mask {
  float: left;
  width: 100%;
  box-sizing: border-box;
  margin: auto;

}

.img-mask .mask {
  width: 80%;
  translate: 0 -70%;
  position:		relative;
  background-color:	rgba(255,255,240,0.7);
  -webkit-transition:	all 0.4s ease;
  transition:		all 0.4s ease;
  -webkit-transform:	scale(0);	
  transform:		scale(0);
  border-radius: 8px;
}

.img-mask:hover .mask {
  -webkit-transform:	scale(1);	
  transform:		scale(1);

}

*/



.reverse {
  flex-direction: row-reverse;
}

.reverse .item-list {

}

.travel-block {
  display: block;
  width: 100%;
  margin-top: 30px;
  justify-content: flex-start;
  align-items: center;
  translate: 0 -300px;

}

.travel-block .block-item {
  width: 80%;
  box-sizing: border-box;
  justify-content: flex-start;
  align-items: center;
}

.block-item img {
  width: 100%;
  margin: 10px 10px 10px 10px;

}

.block-item .ttl {
  font-family: 'Hiragino Gothic Sans';
  font-size: 16.18pt;
  font-weight: 700;
  text-align: center;
  margin: 20px auto 10px auto;
  
}

.block-item  p {
  font-family: 'Hiragino Gothic Sans';
  font-size: 14.562pt;
  line-height: 1.2em;
  text-align: left;
  padding: auto 10px auto 10px;
  
}

@media (min-width: 1280px) {
  .items .box p {
    translate: 0 -300px;
  }

  .items .box ul {
    translate: 0 -300px;
  }

  .travel-block {
    translate: 0 -100px;
  
  }

}

@media (max-width: 992px) {
  .items .box p {
    translate: 0 -200px;
  }

  .items .box ul {
    translate: 0 -200px;
  }

  .travel-block {
    translate: 0 0;
  
  }

@media (max-width: 768px) {
  .travel-list {
    width: 100%;
    display: grid;
    grid-template-columns: 100%;
  }

  .travel-list .items {
    display: block;
  }

  .items .box img {
    width: 90%;
    justify-content: flex-start;
    align-items: center;
  
  }

  .items .box p {
    width: 100%;
    translate: 0 -200px;
  }

  .items .box ul {
    width: 100%;
    translate: 0 -200px;
  }

  .travel-block {
    translate: 0 0;
  
  }

}

