@keyframes fuwafuwa1 {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

@keyframes fuwafuwa2 {
  0%, 100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(-20px);
  }
}

.shimatabi .mv {
  position: relative;
}

.shimatabi .mv ul li img {
  width: 100%;
  height: 600px;
  object-fit: cover;
}

.shimatabi .mv h2 {
  display: inline-block;
  position: absolute;
  width: 50%;
  font-size: 400%;
  text-align: left;
  text-shadow: 1px 1px 0px #999;
  font-weight: 700;
  top: 20%;
  left: 15%;
  color: white;
  line-height: 150%;
}

.shimatabi img {
  max-width: 100%;
}

.shimatabi section {
  background-image: url("../img/2022/back01.png");
  background-size: 100% 100%;
  padding: 5% 0;
  position: relative;
  color: #3778b4;
}

.shimatabi section .inner {
  position: relative;
  z-index: 6;
}

.shimatabi section.intro {
  background: white;
  color: #40a0bb;
}

.shimatabi section.intro:before {
  content: "";
  animation: 10s fuwafuwa1 infinite;
  width: 200px;
  height: 0;
  padding-top: 200px;
  background-image: url(../img/2022/manta.png);
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: -5%;
  right: 5%;
}

.shimatabi section.intro:after {
  content: "";
  animation: 10s fuwafuwa2 infinite;
  width: 200px;
  height: 0;
  padding-top: 200px;
  background-image: url(../img/2022/fish.png);
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  bottom: -5%;
  left: 5%;
  z-index: 5;
}

.shimatabi section.intro h2 {
  font-size: 300%;
  font-weight: 900;
  padding: 3% 0;
  line-height: 120%;
}

.shimatabi section.intro .text p {
  display: block;
  line-height: 180%;
  margin: 4% auto;
  font-size: 110%;
}

.shimatabi section .top_block .flex {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
}

.shimatabi section .top_block .flex .text {
  width: 55%;
  padding: 0 3%;
  box-sizing: border-box;
}

.shimatabi section .top_block .flex .text {
  text-align: left;
  letter-spacing: 1px;
}

.shimatabi section .top_block .flex .text h3 {
  font-size: 250%;
  font-weight: 700;
  padding: 3% 0;
  line-height: 150%;
  margin-bottom: 5%;
}

.shimatabi section .top_block .flex .text p {
  display: block;
  line-height: 200%;
}

.shimatabi section .top_block .flex .image {
  width: 45%;
  padding: 0 3%;
  box-sizing: border-box;
}

.shimatabi section.wellness:before {
  content: "";
  animation: 20s fuwafuwa2 infinite;
  width: 50%;
  height: 0;
  padding-top: 200px;
  background-image: url(../img/2022/wellness.png);
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 2%;
  left: 5%;
  z-index: 1;
}

.shimatabi section.slow {
  background-image: url("../img/2022/back02.jpg");
}

.shimatabi section.slow:before {
  content: "";
  animation: 20s fuwafuwa1 infinite;
  width: 50%;
  height: 0;
  padding-top: 200px;
  background-image: url(../img/2022/slow.png);
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 20%;
  right: 5%;
  z-index: 1;
}

.shimatabi section.slow .top_block .flex {
  flex-direction: row-reverse;
}

.shimatabi section.outdoor {
  background-image: url("../img/2022/back03.png");
}

.shimatabi section.outdoor:before {
  content: "";
  animation: 20s fuwafuwa2 infinite;
  width: 50%;
  height: 0;
  padding-top: 200px;
  background-image: url(../img/2022/outdoor.png);
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  top: 2%;
  left: 5%;
  z-index: 1;
}

.shimatabi section.photo_genic {
  background-image: url("../img/2022/back02.jpg");
}

.shimatabi section.photo_genic:before {
  content: "";
  animation: 20s fuwafuwa1 infinite;
  width: 50%;
  height: 0;
  padding-top: 140px;
  background-image: url(../img/2022/photo_genic.png);
  display: block;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  top: 5%;
  right: 0;
  z-index: 1;
}

.shimatabi section.photo_genic .top_block .flex {
  flex-direction: row-reverse;
}

.shimatabi section .more_block {
  margin: 5% 0;
}

.shimatabi section .more_block span {
  cursor: pointer;
  display: inline-block;
  padding: 1% 5%;
  box-sizing: border-box;
  background: #5ebbe5;
  border-radius: 100px;
  color: white;
  position: relative;
}

.shimatabi section .more_block span:after {
  content: "";
  width: 10px;
  height: 10px;
  border: 4px solid transparent;
  border-left: 4px solid #fff;
  position: absolute;
  right: 20px;
  top: calc(50% - 5px);
}

.shimatabi section .more_block span.view:after {
  transform: rotate(-90deg);
  top: calc(46% - 5px);
}

.shimatabi section .list.flex {
  display: none;
  flex-wrap: wrap;
}

.shimatabi section .list.flex.on {
  display: flex;
}

.shimatabi section .list.flex .block {
  width: 50%;
  padding: 3%;
  box-sizing: border-box;
  text-align: left;
  display: flex;
  align-items: end;
  flex-wrap: wrap;
}

.shimatabi section .list.flex .block a {
  width: 100%;
}

.shimatabi section .list.flex .block h4 {
  font-size: 150%;
  font-weight: bold;
  line-height: 120%;
  display: block;
  min-height: 60px;
}

.shimatabi section .list.flex .block .image {
  margin: 1% 0 2%;
}

.shimatabi section .list.flex .block .image img {
  object-fit: cover;
  width: 100%;
  height: 180px;
}

.shimatabi section .hottag {
  margin: 5% 0;
  padding: 5%;
  background: white;
  color: #5ebbe5;
  text-align: left;
}

.shimatabi section .hottag h3 {
  text-align: center;
  font-size: 150%;
  font-weight: bold;
  margin-bottom: 2%;
  padding-bottom: 2%;
  position: relative;
}

.shimatabi section .hottag h3:after {
  width: 30px;
  position: absolute;
  content: "";
  bottom: 0;
  left: calc(50% - 15px);
  border-bottom: 4px solid #5ebbe5;
}

.shimatabi section .hottag a {
  color: #5ebbe5;
  display: inline-block;
  padding: 0 3% 1% 0;
}

@media screen and (max-width: 1300px) {
  .shimatabi section.intro:after, .shimatabi section.intro:before {
    width: 10%;
    padding-top: 10%;
  }
  .shimatabi section.photo_genic:before, .shimatabi section.srow:before {
    width: 30%;
    padding-top: 10%;
  }
}

@media screen and (max-width: 767px) and (orientation: portrait) {
  .shimatabi .mv {
    position: relative;
  }
  .shimatabi .mv ul li img {
    width: 100%;
    height: 30vh;
    object-fit: cover;
  }
  .shimatabi .mv h2 {
    width: 80%;
    font-size: 200%;
  }
  .shimatabi section.intro:before {
    top: 0;
  }
  .shimatabi section.intro:after {
    width: 20%;
    padding-top: 20%;
  }
  .shimatabi section.intro h2 {
    font-size: 140%;
  }
  .shimatabi section.intro .text p {
    font-size: 80%;
  }
  .shimatabi section .top_block .flex .image, .shimatabi section .top_block .flex .text {
    width: 100%;
  }
  .shimatabi section .top_block .flex .text {
    letter-spacing: 0;
    margin-bottom: 5%;
  }
  .shimatabi section .top_block .flex .text h3 {
    margin-bottom: 0;
    font-size: 180%;
  }
  .shimatabi section .more_block span {
    padding: 2% 5%;
    min-width: 50%;
  }
  .shimatabi section .list.flex .block {
    width: 100%;
    margin-bottom: 4%;
  }
  .shimatabi section .list.flex .block h4 {
    min-height: inherit;
  }
  .shimatabi section.wellness:before {
    width: 80%;
    top: -1%;
    left: -5%;
  }
  .shimatabi section .hottag h3 {
    margin-bottom: 10%;
  }
  .shimatabi section .hottag a {
    padding: 0 5% 5% 0;
  }
}
