@charset "utf-8";

/* ローディングアニメーション */
/* 全体をフェードインアウトさせる */
.loading {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 200;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: fadeOut 1.5s 2.5s forwards;
}

@keyframes fadeOut {
  0% {
    opacity: 1;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}

/* みかんの画像のアニメーション */
.circle-wrap {
  position: relative;
  width: 640px;
  height: 640px;
}

.circle {
  position: relative;
  width: 640px;
  height: 640px;
}

.circle img {
  position: relative;
  top: 160px;
}

.circle-right {
  position: absolute;
  left: 320px;
  width: 320px;
  height: 640px;
  overflow: hidden;
}

.circle-right-hidden {
  position: relative;
  left: -320px;
  width: 320px;
  height: 640px;
  overflow: hidden;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transform-origin: 100% 50%;
  transform-origin: 100% 50%;
  -webkit-animation: rotateRight 2s linear;
  animation: rotateRight 2s linear;
}

@-webkit-keyframes rotateRight {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  50% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  100% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
}

@keyframes rotateRight {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  50% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }

  100% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
}

.circle-right .circle {
  position: relative;
  left: 160px;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transform-origin: 25% 50%;
  transform-origin: 25% 50%;
  -webkit-animation: rotateRight2 2s linear;
  animation: rotateRight2 2s linear;
}

@-webkit-keyframes rotateRight2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  50% {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }

  100% {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
}

@keyframes rotateRight2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  50% {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }

  100% {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
}

.circle-left {
  width: 320px;
  height: 640px;
  overflow: hidden;
}

.circle-left-hidden {
  position: relative;
  left: 320px;
  width: 320px;
  height: 640px;
  overflow: hidden;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transform-origin: 0% 50%;
  transform-origin: 0% 50%;
  -webkit-animation: rotateLeft 2s linear;
  animation: rotateLeft 2s linear;
}

@-webkit-keyframes rotateLeft {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  50% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
}

@keyframes rotateLeft {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  50% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(180deg);
    transform: rotate(180deg);
  }
}

.circle-left .circle {
  position: relative;
  left: -160px;
  -webkit-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transform-origin: 25% 50%;
  transform-origin: 25% 50%;
  -webkit-animation: rotateLeft2 2s linear;
  animation: rotateLeft2 2s linear;
}

@-webkit-keyframes rotateLeft2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  50% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
}

@keyframes rotateLeft2 {
  0% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  50% {
    -webkit-transform: rotate(0deg);
    transform: rotate(0deg);
  }

  100% {
    -webkit-transform: rotate(-180deg);
    transform: rotate(-180deg);
  }
}

/* ファーストビュー設定 */
.top-img {
  width: 100%;
  height: 100vh;
  position: relative;
  z-index: -1;
}

.first-view h1 img {
  width: 250px;
  position: absolute;
  top: 30px;
  left: 150px;
  transform: rotate(-10deg);
}

.first-view {
  overflow: hidden;
}

@keyframes loop_animation_right_double {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0);
  }
}

.wave-area {
  display: flex;
  width: 180px;
  height: 150px;
  position: absolute;
  top: 500px;
  left: 290px;
  overflow: hidden;
}

.wave {
  background-image: url(../img/top/波線-brack.png);
  background-repeat: repeat-x;
  background-position: left center;
  background-size: contain;
  animation: loop_animation_right_double 3.5s linear infinite;
  width: 100%;
  height: 150px;
  flex-shrink: 0;
}

.wave2-area {
  display: flex;
  width: 150px;
  height: 150px;
  position: absolute;
  top: 350px;
  right: 250px;
  overflow: hidden;
}

.wave2 {
  background-image: url(../img/top/波線-white.png);
  background-repeat: repeat-x;
  background-position: left center;
  background-size: contain;
  animation: loop_animation_right_double 3.5s linear infinite;
  width: 100%;
  height: 150px;
  flex-shrink: 0;
}

/* セクション見出し設定 */
h2 {
  width: fit-content;
  height: 75px;
  margin-top: 30px;
  padding: 0 25px;
  background-color: #3dc13d;
  color: #fff;
  font-size: 35px;
  line-height: 85px;
}

.mat-0 {
  margin-top: 0;
}

/* わかやまについて */
#about {
  position: relative;
}

.absolute-items {
  overflow: hidden;
}

.absolute-items img {
  position: absolute;
  display: block;
}

/* 装飾画像 */
.maguro {
  left: -10px;
  bottom: 0;
}

.mebarizusi {
  top: 200px;
  right: 2px;
}

.mikan {
  left: 0;
  top: 320px;
}

.ra-men {
  right: 0;
  top: 310px;
}


.about-flex {
  height: 100%;
  display: flex;
  justify-content: space-between;
}

#about .about-map {
  width: 100%;
  min-width: 450px;
  max-width: 650px;
}

#about p {
  padding: 90px 0 0 250px;
  font-size: 20px;
  text-align: center;
  line-height: 3.5rem;

}

/* 観光マップ */
.map-area-back {
  margin-top: 20px;
  background-color: #69b6d6;
}

.map-area {
  height: 950px;
  position: relative;
}

.wakayamap {
  height: 100%;
  background-image: url(../img/map-access/wakayama-map.png);
  background-repeat: no-repeat;
  position: relative;
  margin-left: 350px;
}


.text-button {
  position: absolute;
  font-size: 25px;
  color: #fff;
  width: fit-content;
  border-radius: 20px;
  padding: 7px 30px;
  background-color: #f5b11d;
}

.wakayamakinkou {
  top: 140px;
  left: -220px;
  background-color: #ff7a7a;
  box-shadow: 0 4px 0 #d01a0a;
  transition: all 0.3s;
}

.wakayamakinkou:hover {
  background-color: #e25959;
  transform: translateY(4px);
  box-shadow: none;
}

.kouya {
  top: 150px;
  left: 520px;
  background-color: #a5bd21;
  box-shadow: 0 4px 0 #4e7d15;
  transition: all 0.3s;
}

.kouya:hover {
  background-color: #96aa24;
  transform: translateY(4px);
  box-shadow: none;
}

.arida {
  top: 520px;
  left: -50px;
  background-color: #ed9d42;
  box-shadow: 0 4px 0 #be6434;
  transition: all 0.3s;
}

.arida:hover {
  background-color: #dc831e;
  transform: translateY(4px);
  box-shadow: none;
}

.sirahama {
  bottom: 90px;
  left: 90px;
  background-color: #20d4ef;
  box-shadow: 0 4px 0 #3e99e4;
  transition: all 0.3s;
}

.sirahama:hover {
  background-color: #18c1db;
  transform: translateY(4px);
  box-shadow: none;
}

.kumano {
  bottom: 390px;
  left: 590px;
  background-color: #449b44;
  box-shadow: 0 4px 0 #257042;
  transition: all 0.3s;
}

.kumano:hover {
  background-color: #218521;
  transform: translateY(4px);
  box-shadow: none;
}

/* 背景の波 */
.sea-wave-area {
  display: flex;
  width: 150px;
  height: 150px;
  position: absolute;
  top: 430px;
  right: 100px;
  overflow: hidden;
}

.sea-wave-area:nth-child(2) {
  top: 560px;
  right: 150px;
}

.sea-wave-area:nth-child(3) {
  top: 250px;
  left: 200px;
}

.sea-wave-area:nth-child(4) {
  top: 580px;
  left: 240px;
}

.sea-wave-area:nth-child(5) {
  top: 640px;
  left: 320px;
}

.sea-wave {
  background-image: url(../img/map-access/sea-wave.png);
  background-repeat: repeat-x;
  background-position: left center;
  background-size: contain;
  animation: loop_animation_right_double 4.5s linear infinite;
  width: 100%;
  height: 150px;
  flex-shrink: 0;
}


/* リンクボタン画像 */
.rink-button {
  width: 1500px;
  height: 280px;
  display: flex;
  justify-content: space-between;
  margin: 40px auto 0;
  padding: 0 90px;
}

.rink-button a {
  width: 250px;
  height: 270px;
  background-size: cover;
  background-position: center;
}



.rink-button a:first-child {
  background-image: url(../img/map-access/和歌山市.png);
}

.rink-button a:nth-child(2) {
  background-image: url(../img/map-access/高野山エリア.png);
}

.rink-button a:nth-child(3) {
  background-image: url(../img/map-access/有田・日高エリア.png);
}

.rink-button a:nth-child(4) {
  background-image: url(../img/map-access/白浜・串本エリア.png);
}

.rink-button a:last-child {
  background-image: url(../img/map-access/熊野.png);
}

/* 和歌山県アクセス */
#access section {
  display: flex;
  justify-content: center;
}

.access-map {
  display: block;
  width: 650px;
  margin-right: 30px;
}

.access-text {
  display: block;
  object-fit: contain;
  width: 730px;
}

.access-content {
  margin-top: 15px;
}

#access h3 {
  font-size: 30px;
  padding-left: 250px;
  margin-top: 25px;
}

#access .fadein {
  display: flex;
  flex-flow: column;
}

/* お問い合わせ */
#contact a img {
  display: block;
  width: 500px;
}

.contact-flex a:last-child {
  width: 450px;
}

.contact-flex {
  width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
}