@media screen and (min-width: 769px) {
  html {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }
  body {
    width: 100vw;
    height: 100vh;
    overflow: hidden;
  }
}

#top {
  z-index: 999;
  box-sizing: border-box;
  display: block;
  position: absolute;
  overflow: hidden;
  width: 100%;
  height: 100vh;
  margin: 0;
  padding: 0;
  cursor: pointer;
}
#top_barcontainer {
  z-index: 1;
  position: absolute;
  width: 100%;
  height: 100%;
  transition: opacity 0.3s ease-out;
}
#header_bar_top {
  position: absolute;
  top: 0;
}
#header_bar_bottom {
  position: absolute;
  bottom: 0;
}
.header_bar {
  width: 100%;
  height: calc((80 / 1080) * 100vh);
  background-color: black;
  opacity: 0.7;
  /*background: url(../img/bg/bg04.jpg) center center /100% repeat;*/

  transition: transform 0.6s ease-in-out 0.1s;
}

#top_imgcontainer {
  position: absolute;
  overflow: hidden;

  width: 100%;
  height: 100%;
}
#top_img {
  position: absolute;
  display: block;
  width: 100%;
  height: 120%;

  overflow: hidden;
  bottom: 0;

  /*
  background-image: url(../img/top/summer/01/photo.jpg?ver=2021.01.10);
  */
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: cover;
}

#top_textcontainer {
  position: absolute;
  display: block;
  box-sizing: border-box;

  height: 56vh;
  width: calc(56vh / 5 * 2.5);

  margin: 50vh 0 0 50vw;
  transform: translate(-50%, -50%);

  pointer-events: none;
}

.top_textitem {
  position: absolute;
  display: block;

  height: calc(100% / 5);
  width: calc(100% / 2.5);

  /*
  background-image: url(../img/top/summer/01/catch.png?ver=2021.01.10);
  */
  background-repeat: no-repeat;

  background-size: 250%;
}

#top_textcontainer div:nth-child(1) {
  transform: translate(150%, 0%);
  background-position: top 0% right;
}
#top_textcontainer div:nth-child(2) {
  transform: translate(150%, 100%);
  background-position: top 25% right;
}
#top_textcontainer div:nth-child(3) {
  transform: translate(150%, 200%);
  background-position: top 50% right;
}
#top_textcontainer div:nth-child(4) {
  transform: translate(150%, 300%);
  background-position: top 75% right;
}
#top_textcontainer div:nth-child(5) {
  transform: translate(150%, 400%);
  background-position: top 100% right;
}

#top_textcontainer div:nth-child(6) {
  transform: translate(0%, 0%);
  background-position: top 0% left;
}
#top_textcontainer div:nth-child(7) {
  transform: translate(0%, 100%);
  background-position: top 25% left;
}
#top_textcontainer div:nth-child(8) {
  transform: translate(0%, 200%);
  background-position: top 50% left;
}
#top_textcontainer div:nth-child(9) {
  transform: translate(0%, 300%);
  background-position: top 75% left;
}
#top_textcontainer div:nth-child(10) {
  transform: translate(0%, 400%);
  background-position: top 100% left;
}

#top_stamp {
  position: absolute;
  z-index: 1;
  height: 11vh;
  margin-left: 37vw;
  margin-top: 75vh;
  transform: rotate(-20deg);
}

#top_logocontainer {
  z-index: 1002;
  display: block;
  position: absolute;
  margin: 59vh 0 0 2vw;
  width: 27vh;
  pointer-events: none;

  transition: opacity 0.8s ease-in-out 0s;
}
#top_logo_svg {
  display: block;
  position: absolute;
  width: 50%;
}
#top_logo_png {
  display: blodk;
  position: absolute;
  width: 50%;
}
.cls-1 {
  fill: transparent;
  stroke: black;
  stroke-dasharray: 1000;
  stroke-dashoffset: 1000;
  stroke-width: 3px;
}
.anime1 {
  transform: translateY(-100%);
}
.anime2 {
  transform: translateY(100%);
}

/**
 * TOPのキャッチフレーズのアニメーション
 */
.anime11 {
  transition: opacity 1.4s ease-in 1s;
}
.anime12 {
  transition: opacity 1.4s ease-in 1.2s;
}
.anime13 {
  transition: opacity 1.4s ease-in 1.4s;
}
.anime14 {
  transition: opacity 1.4s ease-in 1.6s;
}
.anime15 {
  transition: opacity 1.4s ease-in 1.8s;
}

.anime16 {
  transition: opacity 1.4s ease-in 2s;
}
.anime17 {
  transition: opacity 1.4s ease-in 2.2s;
}
.anime18 {
  transition: opacity 1.4s ease-in 2.4s;
}
.anime19 {
  transition: opacity 1.4s ease-in 2.6s;
}
.anime20 {
  transition: opacity 1.4s ease-in 2.8s;
}

/**
 * お寺の印のアニメーション
 */
.anime21 {
  transition: opacity 0.1s ease-in 4s;
}

.anime21a {
  transition: transform 10s ease-out 5s, opacity 1s ease-in 5s;
  transform: translateY(16%);
}
.anime21b {
  transform: translateY(0%);
  opacity: 0;
}
.anime31 {
  animation: hello 4s ease-in 4.4s forwards;
}

@-webkit-keyframes hello {
  0% {
    stroke-dashoffset: 1000;
  }
  100% {
    stroke-dashoffset: 0;
  }
}

.anime32 {
  transition: opacity 1s ease-in 6.8s;
}

.sentence {
  font-family: "Sawarabi Mincho";
  word-break: normal;
}

#nav_pc {
  z-index: 1000;
  display: block;
  position: absolute;
  width: 100%;
  height: 100%;

  transition: opacity 0.8s ease-in-out 0s;
  cursor: default;
}

#nav_pc_wrapper {
  z-index: 20000;
  display: block;
  position: absolute;
  width: 100%;
  height: calc(100vh - (80 / 1080) * 100vh * 2);
  top: calc((80 / 1080) * 100vh);

  background-image: url(../img/bg/top_mask02.png);
  background-position: bottom right;
  background-repeat: repeat;
  background-color: rgba(0, 0, 0, 0.8);

  transition: opacity 0.8s ease-in-out 0s;
  cursor: default;
}

#nav_pc .back_left {
  display: block;
  position: absolute;
  width: 20vw;
  height: calc(20vw * 1.32);
  background: url(../img/header/ryusui.png) top left / cover no-repeat;
  bottom: 0;
  left: 0;
  opacity: 0.1;
  pointer-events: none;
}

#nav_pc .back_right {
  display: block;
  position: absolute;
  width: 20vw;
  height: calc(20vw * 1.32);
  background: url(../img/header/ryusui.png) top left / cover no-repeat;
  top: 0;
  right: 0;
  transform: rotate(180deg);
  opacity: 0.1;
  pointer-events: none;
}
.nav_pc_button {
  display: block;
  position: absolute;
  width: 22vw;
  height: 16vw;
  background-image: url(../img/header/mobile_icon_back.jpg);
  background-position: center center;
  background-size: cover;
  background-repeat: no-repeat;
  -webkit-box-shadow: 0px 0px 4px 3px rgba(255, 255, 255, 0.42);
  box-shadow: 0px 0px 4px 3px rgba(255, 255, 255, 0.42);
  cursor: pointer;
}

.nav_pc_title {
  display: block;
  position: absolute;
  width: 5vw;
  height: 16vw;
  background-image: url(../img/header/mobile_icon_front.png);
  background-size: cover;
  background-repeat: no-repeat;
  pointer-events: none;
}

/*620*736*/

#nav_pc_button_00 {
  background-position: top 0% left 0%;
  left: 18vw;
  top: calc((100% - 30vw / 640 * 736) / 2);
}

#nav_pc_button_02 {
  background-position: top 0% left 25%;
  left: 48vw;
  top: calc((100% - 30vw / 640 * 736) / 2);
}

#nav_pc_button_03 {
  background-position: top 0% left 50%;
  left: 48vw;
  bottom: calc((100% - 30vw / 640 * 736) / 2);
}

#nav_pc_button_04 {
  background-position: top 0% left 75%;
  left: 74vw;
  top: calc((100% - 30vw / 640 * 736) / 2);
}

#nav_pc_button_05 {
  background-position: top 0% left 100%;
  left: 74vw;
  bottom: calc((100% - 30vw / 640 * 736) / 2);
}

#nav_pc_button_00 .nav_pc_title {
  background-position: top 0% left 0%;
  left: 60%;
}
#nav_pc_button_02 .nav_pc_title {
  background-position: top 0% left 25%;
  left: 20%;
}
#nav_pc_button_03 .nav_pc_title {
  background-position: top 0% left 50%;
  left: 30%;
}
#nav_pc_button_04 .nav_pc_title {
  background-position: top 0% left 75%;
  left: 60%;
}
#nav_pc_button_05 .nav_pc_title {
  background-position: top 0% left 100%;
  left: 15%;
}

/*▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼*/
@media screen and (max-width: 768px) {
  #top_logocontainer {
    z-index: 1001;
    display: block;
    position: absolute;
    margin: 62vh 0 0 2vw;
    width: 27vh;
  }
  #nav_pc {
    display: none;
  }
  #top_img {
    background-position: bottom 0% left 32%;
  }
}
