@charset "utf-8";

/* Reset */
* {
  margin: 0;
  padding: 0;
}

body {
  line-height: 1.0;
  font-family: sans-serif;
}

a {
  text-decoration: none;
  display: block;
  color: inherit;
}

img {
  vertical-align: bottom;
}

ul {
  list-style: none;
}

.container{
  max-width: 1020px;
  display: flex;
  margin-inline: auto;
  padding-inline: 20px;
}

.spnav,.btn{
  display: none;
}

.heading{
  padding-block: 20px;
  background: #000;
  color: #fff;
}

.heading .container{
  justify-content: space-between;
  align-items: center;
}


body{
  background: #03b3f9;
}

header{
  animation: bg-color 1s linear 1.5s forwards ;
  background: url(../img/key.jpg) no-repeat center/cover;
  height: 100vh;
  height: 100dvh;
  opacity: 0;
}

@keyframes bg-color {
  100% {
    opacity: 1;
  }
}

h1 {
  animation: titleh1 7s infinite 2s;
}

@keyframes titleh1 {
  70% {
      rotate: y 360deg;
    }
  100% {
    rotate: y 360deg;
  }
}

.pcnav ul{
  display: flex;
  gap: 30px;

  /* 最近ulの中に子要素を書けるようになった nesting*/
  /* &が.pcnav ulということ */
  & li{
    letter-spacing: 2px;}
  & a:hover {
    color: #ff0;}
  & a::after {
    content: "";
    display: block;
    height: 3px;
    scale: 0 1;
    background: #ff0;
    margin-bottom: 1px;
    transform-origin: left;
    transition: 200ms;}
  & a:hover::after {scale: 1;}
}

.catch{
  animation: rotateText 1s linear 0s forwards ;
  position: absolute;
  left: 200px;
  top: 180px;
  color: #fff;
  font-size: 3em;
  scale: 1;
  opacity: 0;
  font-family: "Dancing Script", cursive;
  font-optical-sizing: auto;
  font-style: normal;
  line-height: 1.3;
  text-indent: -1em;
}

@keyframes rotateText {
 100% {
    rotate: 350deg;
    scale: 1.2;
    opacity: 1;
  }
}

.sns {
  color: rgba(255, 255, 255, 0.85);
  display: flex;
  justify-content: end;
  gap: 15px;
  padding-block: 20px;

  & i {
    font-size: 50px;
    line-height: 40px;
    border-radius: 10px;}
  & a {
    transition: 200ms;}
  & a:hover {scale: 1.2;
    animation: snsicon 0.5s linear;}
  & a:nth-child(1):hover i{
    color: #2e3192;
    background: #fff;}
  & a:nth-child(2):hover i {
    color: #000;
    background: #fff;}
  & a:nth-child(3):hover i {
    color: #06c755;
    background: #fff;}
  & a:nth-child(4):hover i {
    background: radial-gradient(circle at 30% 107%,
    #fdf497 5%,
    #fd5949 45%,
    #d6249f 60%,
    #285aeb 90%);
    background-clip:text;
    color: transparent;}
}

  @keyframes snsicon {
    100% {
      rotate: 360deg;}
  }

.start a{
  width: 300px;
  padding: 10px;
  line-height: 50px;
  border-radius: 10px;
  background: #000;
  color: #fff;
  text-align: center;
  font-size: 1.5em;
  letter-spacing: 2px;
  position: absolute;
    right: 0;
    left: 0;
    bottom: 20vh;
    margin: auto;
  transition: 500ms;
}

.start a:hover{
  background: #ff0;
  color: #000;
}

.arrow{
  width: fit-content;
    height: 1em;
    position: absolute;
    right: 0;
    left: 0;
    bottom: 10vh;
    margin: auto;
}

.arrow i{
  font-size: 3em;
  color: #ff0;
  text-shadow: 0 0 5px #000;
  text-shadow: 0 0 5px #000;
}

@keyframes bounce {

  0%,
  20%,
  50%,
  80%,
  100% {
    translate: 0 0;
  }

  40% {
    translate: 0 -30px;
  }

  60% {
    translate: 0 -15px;
  }
}

.service h2 {
  font-size: 3em;
  color: #03b3f9;
  font-family: "Dancing Script", cursive;
  margin-bottom: 50px;
}

/* 疑似要素*/
.service h2::after {
  content:
    "信頼できるサービスをご提供します";
  display: block;
  font-size: 0.3em;
  margin-top: 5px;
}

.service i {
  font-size: 0.8em;
  margin-right: 10px;
}

/* Service */
.service {
  padding-block: 100px;
  text-align: center;
  background: #fff;

  /* Nesting */
  & section {
    width: calc(100% / 3);
  }

  /* アイコン丸形 */
  & .container i {
    display: block;
    width: 200px;
    line-height: 200px;
    border-radius: 50%;
    margin: 0 auto 30px;
    color: #03b3f9;
    background: #fff;
    font-size: 50px;
    border: 1px solid #03b3f9;
    transition: 300ms;
  }

  & a:hover i {
    background: #03b3f9;
    color: #fff;
    rotate: 1turn;
    scale: 1.2;
  }

  & h3 {
    transition: 300ms;
    margin-bottom: 20px;
  }

  & a:hover h3 {
    color: #03b3f9;
  }

  & p {
    width: 80%;
    margin-inline: auto;
    line-height: 1.4;
    text-align: left;
  }
}

.Info,.siteMap{
  margin-block: 100px;
}

.Info h2{
  text-align: center;
  margin-inline: auto;
  font-size: 3em;
  font-family: "Dancing Script", cursive;
  color: #fff;
}

.Info h2::after{
  content:"最新ツアー情報、話題の観光地をいち早くお届けします";
  display: block;
  text-align: center;
  color: #fff;
  margin-block: 10px 30px;
  font-size: 0.3em;
}

.Info .container{
gap: 20px;
}

.Info section{
  width: calc(25% - 20px);
}

.Info h3{
  padding-block: 0 20px;
  text-align: center;
}

.Info section a>p{
  overflow: hidden;
}

.Info img{
  height: 150px;
  width: 100%;
  object-fit: cover;
  transition: 0.3s ease;
}

.Info .infoText{
  padding: 20px;
}

.Info .infoText p:first-of-type {
  line-height: 1.4;
  text-align: left;
  height: 12em;
}

.Info a{
  background: #fff;
}

.Info a:hover{
  scale: 1;
  box-shadow: 0 0 20px #fff;
  background: #fffcde;
}

.Info a:hover img{
    animation: images 0.8s linear;
  }

  @keyframes images {
    50% {
        scale: 1.2;
      }
    100% {
      scale: 1;
    }
  }

.Info a .more{
  margin-block:10px 0;
  text-align: center;
  padding: 10px 20px;
  border-radius: 5px;
  background: #000;
  color: #ff0;
  transition: 0.3s;
}

.Info a:hover .more {
  background: #ff0;
  color: #000;
}

.Document p{
  background:url(../img/key.jpg) no-repeat bottom/cover fixed;
  padding-block: 150px;
  text-align: center;
  margin-block:50px;
}

.Document a{
  margin-inline: auto;
  padding: 20px 50px;
  width: fit-content;
  border: 1px solid #fff;
  border-radius: 5px;
  color: #fff;
  background: rgba(0, 0, 0, 0.8);
  transition: 0.5s;
}

.Document a:hover{
  background: #ff0;
  color: #000;
}

.Document i{
  padding-right: 5px;
}

.siteMap{
  margin-block: 100px;
}

.siteMap h2{text-align: center;
  margin-inline: auto;
  font-size: 3em;
  font-family: "Dancing Script", cursive;
  color: #fff;
}

.siteMap h2::after {
  content: "ご希望の項目をクリックして閲覧してください。";
  display: block;
  text-align: center;
  color: #fff;
  margin-block: 10px 30px;
  font-size: 0.3em;
}

.siteMap .container{
  justify-content: space-around;
}

.siteMap section {
  margin-block: 10px 0;
}

.siteMap li{
  width: fit-content;
  padding-top: 20px;
  color: #fff;
}

.siteMap a:hover{
  color: #ff0;
  transform-origin: left;
  scale: 1.2;
}

.siteMap a::after {
  content: "";
  display: block;
  height: 2px;
  scale: 0 1;
  background: #ff0;
  margin-bottom: 1px;
  transform-origin: left;
  transition: 200ms;
}

.siteMap a:hover::after {
  scale: 1;
}

.siteMap i {
  padding-right: 5px;
}


footer{
  background: #000;
  color: #fff;
  padding-block: 40px;
  text-align: center;
}

/* ----Media Query---- */

@media (width < 900px){

.Info section {
    width: 100%;
  }

.Info .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
.Info img {
    height: 300px;
    width: 100%;
    object-fit: cover;
    transition: 0.3s ease;
  }
}



/* ----Media Query---- */

@media (width < 744px) {

  /* Navigation */
  .pcnav {
    display: none;
  }

.btn {
  display: block;
  width: 50px;
  height: 50px;
  font-size: 35px;
  color: #fff;
  background: 000;
  border: 1px solid #fff;
  border-radius: 5px;
  position: absolute;
  top: 5px;
  right: 5px;
  overflow: hidden;
  z-index: 9999;
}

.btn i {
  display: block;
  line-height: 50px;
}

.close {
  color: #fff;
  border-color: #fff;
}

.close i:first-child {
  display: none;
}

/* Sp nav */
.spnav {
  /* display: block; */
  position: absolute;
  width: 100%;
  height: 100vh;
  height: 100dvh;
  top: 0;
  left: 0;
  background:
    rgb(100% 100% 100% / 0.7);
  padding-top: 57px;
  box-sizing: border-box;
}

.spnav li {
  font-size: 24px;
  font-weight: bold;
  line-height: 70px;
}

.spnav a {
  display: block;
  border-bottom: 1px solid #000;
  padding-left: 20px;
}

.spnav li:first-child a {
  border-top: 1px solid #000;
}

  /* SNS icons */
  .sns {

    /* Nesting */
    & a i {
      background: #fff;
    }

    & a:nth-child(1) i {
      color: #2e3192;
    }

    & a:nth-child(2) i {
      color: #000;
    }

    & a:nth-child(3) i {
      color: #06c755;
    }

    & a:nth-child(4) i {
      background:
        radial-gradient(circle at 30% 107%,
          #fdf497 0%,
          #fdf497 5%,
          #fd5949 45%,
          #d6249f 60%,
          #285AEB 90%);
      background-clip: text;
      /* ベンダープレフィックス */
      -webkit-background-clip: text;
      color: transparent;
    }

    & a:nth-child(4)::after {
      background: #fff;
    }
  }

  /* Copy */
  .copy {
    font-size: 3em;
  }

  /* 各コンテンツ共通 */
  .service,
  .info,
  .smap {
    padding-block: 30px;
  }

  .service h2,
  .info h2,
  .smap h2 {
    margin-bottom: 20px;
  }

  /* Service */
  .service {
    padding-top: 100px;
  }

  .service .container {
    display: block;

    /* Nesting */
    & section {
      width: auto;
      padding: 20px;
      color: #fff;
      background: #03b3f9;
      border-radius: 10px;

      /* Nesting */
      &+section {
        margin-top: 20px;
      }

      & p {
        max-width: 400px;
        margin-inline: auto;
        width: auto;
      }
    }
  }

  .Info .container {
    display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 20px;

    /* Nesting */
    & section {
      width: auto;
      background: #fff;
    }
  }

  .Info img {
    height: 400px;
    width: 100%;
    object-fit: cover;
    transition: 0.3s ease;
  }

  .siteMap .container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .siteMap h3,.siteMap li{
    text-align: center;
    width: auto;
  }

  .siteMap a:hover {
    color: #ff0;
    transform-origin: center;
    scale: 1.2;
  }

  .siteMap a::after {
    content: "";
    display: block;
    height: 2px;
    scale: 0 1;
    background: #ff0;
    margin-bottom: 1px;
    transform-origin: center;
    transition: 200ms;
  }

  .siteMap a:hover::after {
    scale: 1;
  }

  .siteMap i {
    padding-right: 5px;
  }
  
}


@media (width <=500px) {

  h1 {
    animation: none;
  }

  .catch {
    animation: rotateText 1s linear 0s forwards;
    position: absolute;
    left: 80px;
    top: 200px;
    color: #fff;
    font-size: 2em;
    scale: 1;
    opacity: 0;
    font-family: "Dancing Script", cursive;
    font-optical-sizing: auto;
    font-style: normal;
    line-height: 1.3;
    text-indent: -1em;
  }

  @keyframes rotateText {
    100% {
      rotate: 350deg;
      scale: 1.2;
      opacity: 1;
    }
  }

  .sns{
    justify-content: center;
  }

  .Info img {
    height: 200px;
    width: 100%;
    object-fit: cover;
    transition: 0.3s ease;
  }

  .Info .container {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 20px;
}

  .Info .infoText p:first-of-type {
    line-height: 1.4;
    text-align: left;
    height: 8em;
  }
}


