@charset "utf-8";

*,
::before,
::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

ul,
ol {
  list-style: none;
}

a {
  text-decoration: none;
  color: inherit;
}

body {
  font-family: "Times New Roman", Times, serif;
  color: #fcf6ee;
  background-color: #383838;
}

img {
  max-width: 100%;
}

main {
  margin: 0 auto;
}

/* ここまでが基本設定 */
.top-fv {
  position: relative;
}

.top-fv p {
  position: absolute;
  z-index: 555;
  top: 10%;
  right: 15%;
  writing-mode: vertical-lr;
  font-size: 27px;
  font-family: Georgia, "Times New Roman", Times, serif;
  opacity: 0;
  animation: top 3s both 0.5s;
}

.top-fv p:nth-of-type(2) {
  position: absolute;
  z-index: 555;
  top: 50%;
  right: 20%;
  font-size: 26px;
  animation: top 3s both 2s;
}

@keyframes top {
  100% {
    opacity: 1;
  }
}

.slider {
  width: 100%;
  height: 100vh;
}

.slider img {
  width: 100%;
  height: 100vh;
  object-fit: cover;
}

/*スクロールダウン全体の場所*/
.scrolldown {
  /*描画位置*/
  position: absolute;
  left: 50%;
  bottom: -5%;
  /*全体の高さ*/
  height: 50px;
}

/*Scrollテキストの描写*/
.scrolldown span {
  /*描画位置*/
  position: absolute;
  left: -15px;
  top: -15px;
  /*テキストの形状*/
  color: #eee;
  font-size: 0.7rem;
  letter-spacing: 0.05em;
}

/* 線の描写 */
.scrolldown::after {
  content: "";
  /*描画位置*/
  position: absolute;
  top: 0;
  /*線の形状*/
  width: 1px;
  height: 30px;
  background: #eee;
  /*線の動き1.4秒かけて動く。永遠にループ*/
  animation: pathmove 1.4s ease-in-out infinite;
  opacity: 0;
}

/*高さ・位置・透過が変化して線が上から下に動く*/
@keyframes pathmove {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 30px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}

.catch {
  text-align: center;
  margin-top: 100px;
}

.renewal {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 150px;
  padding-bottom: 200px;
}

.renewal img {
  width: 450px;
  margin-right: 13%;
}

.renewal .hishi {
  position: relative;
  text-align: center;
}

.renewal .hishi img {
  width: 100%;
}

.renewal .hishi p {
  position: absolute;
  top: 42%;
  left: 18%;
}

.yuge1 {
  position: absolute;
  top: -5%;
  right: 10%;
}

.yuge2 {
  position: absolute;
  top: 22%;
  left: 10%;
}

.yuge3 {
  position: absolute;
  bottom: 35%;
  right: 10%;
}

/* 立体 */
.area {
  position: relative;
  margin: 0 auto 20% auto;
  padding: 0 30px;
  max-width: 1000px;
  width: 100%;
  color: #383838;
}

.area h2 {
  font-size: 16px;
  font-weight: normal;
}

.area img {
  width: 250px;
}

.area figure {
  position: relative;
  left: 10%;
  top: 0;
  width: 40%;
  line-height: 0;
}

.area:nth-child(2n) figure {
  left: 70%;
}
.area:nth-child(3n) figure {
  left: 15%;
}

.area .box {
  position: absolute;
  top: 40%;
  left: 34%;
  background: rgba(255, 255, 255, 0.8);
  padding: 20px 20px 30px 20px;
  box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
  width: 55%;
}

.area:nth-child(2n) .box {
  left: inherit;
  right: 37%;
}

.area:nth-child(3n) .box {
  left: inherit;
  right: 15%;
}

.area .box a {
  /*波紋の基点とするためrelativeを指定*/
  position: relative;
  /*リンクの形状*/
  display: inline-block;
  text-decoration: none;
  color: #383838;
  outline: none;
  margin-top: 20px;
  margin-left: 70%;
}

/*波形の設定*/
.area .box a:hover::before {
  content: "";
  /*絶対配置で波形の位置を決める*/
  position: absolute;
  left: 30%;
  top: -50%;
  /*波形の形状*/
  border: 1px solid #282828;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  /*はじめは不透明*/
  opacity: 1;
  /*アニメーションの設定*/
  animation: 1s circleanime2 forwards;
}

/*波形が広がるアニメーション*/
@keyframes circleanime2 {
  0% {
    transform: scale(0);
  }
  100% {
    transform: scale(2);
    opacity: 0;
  }
}

/*矢印の設定*/
.area .box a::after {
  content: "";
  /*絶対配置で矢印の位置を決める*/
  position: absolute;
  top: 30%;
  right: -20px;
  /*矢印の形状*/
  width: 5px;
  height: 5px;
  border-top: 1px solid #383838;
  border-right: 1px solid #383838;
  transform: rotate(45deg);
}

/* 竹鞠 */
.takemari {
  padding-top: 1500px;
  text-align: center;
}

.takemari img {
  width: 8%;
}

.takemari img:nth-of-type(2) {
  width: 10%;
  margin-left: 50%;
  margin-bottom: 12%;
}

.kazari {
  background: url(../top-img/top-line.png) no-repeat center/100%;
  height: 300px;
}

.access h2 {
  text-align: center;
  margin-top: 50px;
}

.access p:nth-of-type(1) {
  display: flex;
  justify-content: flex-end;
  margin-top: 200px;
  margin-right: 15%;
}

.access dl:nth-of-type(1) {
  margin-left: 150px;
}

.info {
  display: flex;
  justify-content: center;
  margin-left: 100px;
}

.info dl {
  width: 50%;
}

.info .located {
  margin-left: 50px;
}

.info .ryokan {
  width: 40%;
  margin-top: 200px;
  margin-left: -2%;
}

.located-area dd {
  margin-top: 15px;
  font-size: 15px;
}

.ryokan-area {
  margin-left: 20px;
}

.ryokan-area dd {
  font-size: 15px;
}

.ryokan-area dd:nth-of-type(2) {
  margin-top: 15px;
  line-height: 1.4;
}

.ryokan-area dd span:nth-of-type(1) {
  margin-left: 50px;
}

.ryokan-area dd span:nth-of-type(2) {
  margin-left: 30px;
}

.access iframe {
  width: 400px;
  height: 300px;
  display: block;
  margin: 0 auto;
  margin-top: 150px;
}

@media (max-width: 1900px) {
  .scrolldown {
    bottom: -1%;
  }
}

@media (max-width: 800px) {
  .renewal {
    padding-bottom: 200px;
  }

  .renewal img {
    width: 350px;
    margin-right: 0%;
  }

  .renewal .hishi {
    margin-top: 80px;
  }

  .renewal .hishi p {
    position: absolute;
    top: 42%;
    left: 18%;
  }

  .yuge1 {
    top: -7%;
    right: 7%;
    width: 13%;
  }

  .yuge2 {
    top: 27%;
    left: 10%;
    width: 13%;
  }

  .yuge3 {
    bottom: 32%;
    right: 10%;
    width: 13%;
  }

  /* 立体 */
  .area {
    position: relative;
    margin: 0 auto 20% auto;
    padding: 0 30px;
    max-width: 1000px;
    width: 100%;
    color: #383838;
  }

  .area h2 {
    font-size: 16px;
    font-weight: normal;
  }

  .area img {
    width: 250px;
  }

  .area figure {
    position: relative;
    left: 0%;
    top: 0;
    width: 40%;
    line-height: 0;
  }

  .area:nth-child(2n) figure {
    margin-top: 200px;
    left: 80%;
  }

  .area:nth-child(3n) figure {
    margin-top: 300px;
    left: 25%;
  }

  .area .box {
    position: absolute;
    top: 60%;
    left: 40%;
    padding: 20px 20px 30px 20px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
    width: 48%;
  }

  .area:nth-child(2n) .box {
    left: inherit;
    right: 39%;
  }

  .area:nth-child(3n) .box {
    left: inherit;
    margin-top: -50px;
    right: 6%;
  }

  .area .box a {
    margin-top: 20px;
    margin-left: 0%;
  }

  /* 竹鞠 */
  .takemari {
    padding-top: 1200px;
  }

  .access {
    padding: 0 5%;
  }

  .access h2 {
    margin-top: 30px;
  }

  .access p:nth-of-type(1) {
    margin-top: 110px;
    margin-right: 0px;
  }

  .access dl:nth-of-type(1) {
    margin-left: 0px;
  }

  .info {
    flex-wrap: wrap;
    margin-top: 100px;
    margin-left: 0px;
  }

  .info dl {
    width: 100%;
  }

  .info .located {
    margin-left: 0px;
  }

  .info .ryokan {
    width: 50%;
    margin-top: 100px;
    margin-left: 0%;
  }

  .located-area dd {
    margin-top: 15px;
    font-size: 15px;
  }

  .ryokan-area {
    text-align: center;
  }

  .access iframe {
    width: 350px;
    height: 300px;
    margin-top: 130px;
  }
}

@media (max-width: 375px) {
  #luxy {
    margin-top: 50px;
  }

  /* 立体 */
  .area {
    position: relative;
    margin: 0 auto 20% auto;
    padding: 0 10px;
    max-width: 1000px;
    width: 100%;
    color: #383838;
  }

  .area h2 {
    font-size: 16px;
    font-weight: normal;
  }

  .area img {
    width: 250px;
  }

  .area figure {
    position: relative;
    left: 0%;
    top: 0;
    width: 40%;
    line-height: 0;
  }

  .area:nth-child(2n) figure {
    margin-top: 280px;
    left: 76%;
  }

  .area:nth-child(3n) figure {
    margin-top: 380px;
    left: 30%;
  }

  .area .box {
    position: absolute;
    top: 60%;
    left: 40%;
    padding: 20px 20px 30px 20px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.1);
    width: 48%;
  }

  .area:nth-child(2n) .box {
    left: inherit;
    right: 45%;
  }

  .area:nth-child(3n) .box {
    left: inherit;
    margin-top: -50px;
    right: 13%;
  }

  .area .box a {
    margin-top: 20px;
    margin-left: 0%;
  }

  .takemari {
    padding-top: 1520px;
  }
}
