/* 共通 */
section {
  margin-top: 4em;
  
  @media (min-width: 768px) {
    margin-top: 5em;
  }
  @media (min-width: 1024px) {
    margin-top: 10em;
  }
}

figcaption {
  margin: 1em 0;
}

#trimming .container,
#hotel .container,
#flow .container,
#instagram .container {
  @media (min-width: 768px) {
    margin-bottom: 1.3em;
  }
  @media (min-width: 1024px) {
    max-width: 1200px;
    margin-right: auto;
    margin-left: auto;
  }
}

/* moreボタン */
.more_btn {
  text-align: center;
  margin-top: 2em; 
}
.more  {
  position: relative;
  display: inline-block;
  width: 65%;
  max-width: 190px;
  font-size: 2rem;
  font-weight: 500;
  color: #000000;
  text-align: center;
  padding: .4em;
  background-color: #ffffff80;
  border: solid 1px #000;
  border-radius: .2em;
  box-shadow: 0 .1em #b8b8b8;
}
.more_bgw {
  background-color: #fff;
  box-shadow: 0 .1em #ddd2c3;
}
.more::after {
  position: absolute;
  display: block;
  content: '';
  top: 50%;
  right: 10%;
  margin: auto;
  width: .45em;
  height: .45em;
  border-top: .12em solid #000;
  border-right: .12em solid #000;
  transform: translate(0, -50%) rotate(45deg);
}

.link_btn {
  font-size: 2rem;
  font-weight: 500;
  color: #000000;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 82%;
  height: 2em;
  max-width: 440px;
  text-align: center;
  padding: .2em;
  background-color:#fff;
  border: solid 1px #000000;
  border-radius: .2em;
  box-shadow: 0 .15em #ddd2c3;

  @media (min-width: 768px) {
    padding: 1em;
  }
}


/* Top slide */
#top_slide {
  position: relative;
  margin-top: 0;
}

.slide_container_text {
  position: absolute;
  bottom: -1.5em;
  right: .8em;
  font-size: min(1.8rem, 50px);
  font-weight: 700;
  text-align: right;
  color: #000;
  text-shadow: .07em .07em .1em #fff, -.07em -.07em .1em #fff;
  z-index: 11;
}


.slide_container {
  position: relative;
  height: 540px;
  overflow: hidden;
  border-bottom-right-radius: 50vw 40vh;
}

.slide_container .item {
	opacity: 0;
  width: 100%;
  height: 100%;
  position: absolute;
  left: 0;
  top: 0;
  -webkit-animation: anime 15s 0s infinite;
  animation: anime 15s 0s infinite;
}
.slide_container .item:nth-of-type(2) {
  -webkit-animation-delay: 10s;
  animation-delay: 5s;
}
.slide_container .item:nth-of-type(3) {
  -webkit-animation-delay: 20s;
  animation-delay: 10s;
}

.slide_container .item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

@media screen and (min-width: 768px) {
  .slide_container_text {
    font-size: min(3vw, 30px);
  }

  .slide_container {
    height: 85vh;
  }
  
  .slide_container_text {
    bottom: -.8em;
  }
  .slide_container .item img {
    height: 97%;
  }
}

@media screen and (min-width: 1024px) {
  #top_slide {
    margin-top: -3vw;
  }

  .slide_container_text {
    font-size: min(3vw, 40px);
    right: 6vw;
  }

  .slide_container {
    width: 100vw;
    height: 90vh;
    margin: auto;
  }
}

@media (min-width: 1440px) {
  .slide_container_text {
    font-size: min(3vw, 55px);
  }
}


@keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}

@-webkit-keyframes anime {
  0% {
    opacity: 0;
  }
  30% {
    opacity: 1;
  }
  35% {
    opacity: 1;
  }
  50% {
    opacity: 0;
    z-index: 9;
  }
  100% {
    opacity: 0;
  }
}


/* Concept */
#concept {
  width: 100%;
  height: 100%;
  background-image: url(../img/about_back.jpg);
  background-size: cover;
  background-position: 80% 60%;
  background-repeat: no-repeat;
  background-color:rgba(255, 255, 255, .6);
  background-blend-mode:lighten;
}
#concept .container {
  padding: 3em 2em;
}
#concept .main_text {
  text-shadow: .15em .15em .22em #ffffff, -.15em -.15em .22em #ffffff;
  line-height: 1.8;
}#concept .space {
  margin-top: 1em;
}

@media screen and (min-width: 768px) {
  #concept {
    height: 580px;display: flex;
    align-items: center;
  }
  #concept .container .main_text {
    line-height: 2.2;
  }
}


/* trimming & hotel*/
#trimming {
  position:relative;
}
#trimming::before {
  position: absolute;
  content: '';
  display: block;
  width: 80%;
  height: 100%;
  border-top: solid 1.5px #f8e2c3;
  border-right: solid 1.5px #f8e2c3;
  border-top-right-radius: 50vw;
  z-index: -10;
  
  @media (min-width: 768px) {
  border-bottom: solid 1.5px #f8e2c3;
  }
}

.figure_img {
  width: 100%;
}

.tablet-pc_img {
  display: none;
}

#hotel {
  position:relative;
  margin-top: 0;
}
#hotel::before {
  position: absolute;
  right: 0;
  content: '';
  display: block;
  width: 80%;
  height: 100%;
  border-top: solid 1.5px #f8e2c3;
  border-left: solid 1.5px #f8e2c3;
  border-bottom: solid 1.5px #f8e2c3;
  border-top-left-radius: 50vw;
  z-index: -10;
}
@media (min-width: 768px) {
  #hotel {
    margin-top: 6em;
  }
  #trimming .container_title,
  #hotel .container_title {
    margin-bottom: .3em;
  }
  #trimming .container,
  #hotel .container {
    position: relative;
  }
  #trimming .container_title,
  #hotel .container_title {
    position: absolute;
  }
  #trimming .container_title {
    right: 10%;
  }
  #hotel figure {
    display: flex;
    flex-direction: row-reverse;
  }
  .figure_img {
    width: 60%;
    bottom: 0;
    position: relative;
  }
  figcaption {
    line-height: 1.6;
    width: 45%;
    padding: 1.5em;
    margin: 0;
    background-color: #ffffffB3;
    border: solid 1px #f8e2c3;
  }
  #trimming figcaption {
    position: absolute;
    right: 2%;
    bottom: -2em;
  }
  #hotel figcaption {
    position: absolute;
    left: 2%;
    bottom: -2em;
  }
}
@media (min-width: 1024px) {
  .tablet-pc_img {
    display: block;
    width: 25vw;
    max-width: 360px;
    border-top-right-radius: 50%;
    position: absolute;
    top: 20%;
    right: 8%;
  }
}


/* flow */
#flow {
  position: relative;
}
#flow::before {
  content: '';
  display: block;
  width: 100%;
  height: 120%;
  background-color: #fff;
  border-top: solid 1px #f8e2c3;
  border-right: solid 1px #f8e2c3;
  border-top-right-radius: 50vw;
  position: absolute;
  z-index: -10;
}
#flow .container {
  width: 94%;
  padding: 2em 0;
  margin: 0 0 0 auto;
}
#flow h2 {
  margin-bottom: .5em;
}

ul.horizontal_list {
  overflow: auto;
  white-space: nowrap;
}
ul.horizontal_list::-webkit-scrollbar {
  display: none;
}

li.item {
  display: inline-block;
  width: 75%;
  height: 100vw;
  margin-right: 1.2em;
  background-color: #fffaf3;
  overflow: auto;
}

.img_bg img {
  width: 100%;
}


li.item .text_wrapper {
  width: 100%;
  overflow: hidden;
  white-space: wrap;
  padding: .8em .8em 0;
  text-align: center;
}
li.item .text_wrapper h4 {
  font-size: 1.6rem;
  display: inline-block;
  margin-bottom: .5em;
}
li.item .text_wrapper .tel,
li.item .text_wrapper .line {
  margin-bottom: .6em;
}

li.item .text_wrapper p {
  text-align: left;
  margin-bottom: .5em;
}
li.flow1 .text_wrapper p {
  text-align: center;
}
li.flow1 .text_wrapper p:nth-child(3) {
  margin-bottom: .2em;
}

li.flow1 .text_wrapper {
  text-align: center;
}
li.flow1 .text_wrapper a.tel::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  background-image: url(../img/tel-bk.png);
  background-size: cover;
}
li.flow1 .text_wrapper a.line::before {
  display: inline-block;
  content: '';
  width: 1em;
  height: 1em;
  background-image: url(../img/line-sq.png);
  background-size: cover;
}


@media screen and (min-width: 768px) {
  #flow .container {
    padding: 3em 0 6em;
    margin: auto;
  }
  #flow .horizontal_list {
    overflow: visible;
    white-space: wrap;
    position: relative;
  }
  #flow .horizontal_list .item {
    display: flex;
    width: 100%;
    height: auto;
    justify-content: flex-end;
    margin: 0 0 2em 0;
    background-color: transparent;
    overflow: hidden;
  }
  #flow .horizontal_list .item:nth-child(even) {
    flex-direction: row-reverse;
  }
  #flow .horizontal_list .item .img_bg {
    flex: 1.5;
    width: 160%;
    height: auto;
  }
  #flow .horizontal_list .item .img_bg img {
    height: 100%;
  }
  #flow .horizontal_list .item .text_wrapper {
    flex: 1;
    display: flex;
    justify-content:center;
    align-items: center;
    padding: 1em 1.5em;
  }
  #flow .horizontal_list .item .text_wrapper h4 {
    font-size: 2rem;
    margin-bottom: 1em;
  }
  li.item .text_wrapper .tel, li.item .text_wrapper .line {
    margin-bottom: 1em;
  }
}
@media screen and (min-width: 1024px) {
  #flow .container {
    display: flex;
  }
  #flow .container_title {
    margin-right: 1em;
  }
  #flow .horizontal_list {
    margin-top: 5em;
  }
}


/* Instagram */
#instagram {
  position: relative;
}
#instagram .container {
  padding: 1em 1.2em;
}
#instagram::before {
  position: absolute;
  content: '';
  width: 100%;
  height: 120%;
  background-color: #fffaf3;
  border-top-right-radius: 20vw;
  border-top-left-radius: 20vw;
  top: -2em;
  right: 0;
  left: 0;
  margin: 0 auto;
  z-index: -10;
}
#instagram h2 {
  text-align: center;
  margin-bottom: 1.5em;
}
#instagram h2::before {
  display: inline-block;
  content: '';
  width: 1em;
  height: 1em;
  background-image: url(../img/instagram.png);
  background-size: cover;
  vertical-align: -.15em;
  margin-right: .5em;
}

#insta{
    padding: 0 2.5%;
    width: clamp(240px, 100%, 1280px);
    margin: 0 auto;

    & a{
        text-decoration: none;
    }

    & ul{
        box-sizing: border-box;
        display: flex;
        flex-flow: row wrap;
        justify-content: space-between;

        & li{
            list-style: none;
            box-sizing: border-box;
            width: 48%;
            margin-bottom: 5%;
            height: 10em;
            position: relative;

            & .captionTxt{
                display: none;
                width: 100%;
                height: 100%;
                padding: 16px;
                font-size: 14px;
                line-height: 1.8;
                text-align: left;
                position: absolute;
                top: 50%;
                left: 50%;
                transform: translate(-50%, -50%);
                background-color: rgba(0,0,0,.75);
                color: #fff;
                opacity: 0;
                overflow-wrap: anywhere;
            }

            & .like_count{
                font-size: 12px;
                line-height: 2;
                display: none;
                text-align: center;
                position: relative;

                &::before{
                    content: "\02665";
                    color: #d4245f;
                    font-size: 14px;
                    vertical-align: middle;
                    padding-right: 0.25em;
                }
            }

            &:hover{
                & .captionTxt{
                    transition: .5s opacity, .25s filter;
                    opacity: 1;
                }
            }

            & img{
                object-fit: cover;
                width: 100%;
                height: 100%;
            }
        }
    }
}

#instagram .link_btn {
  font-size: 1.6rem;
  color: #fff;
  width: 68%;
  background-color: #a88646;
  border: solid 1px #fffaf3;
  padding: 1em;
  margin: .5em;

  @media (min-width: 768px) {
    font-size: 2rem;
    padding: 1.2em;
  }
}
#instagram .link_btn::before {
  content: '';
  display: inline-block;
  width: 1em;
  height: 1em;
  margin-right: .5em;
  background-image: url(../img/insta_wt.png);
  background-size: cover;
}

@media screen and (min-width:768px) {
  #insta{
    padding: 0 24px;
      & ul{
        & li{
          width: 32%;
          height: 25vw;
        }
      }
  }
}

@media screen and (min-width:1024px) {
    #insta{
        & ul{
            & li{
                width: 23.5%;
                height: 20vw;
            }
        }
    }
}


/* ローディングアニメーション */
.hidden {
  display: none;
}
.fade-on {
  animation: fade-on 1.5s ease-in;
}

.loading {
  width: 60%;
  max-width: 350px;
  display: grid;
  justify-content: center;
  align-items: center;
  height: 100vh;
  margin: auto;
  pointer-events: none;

  opacity: 0;
  animation: fade 3s ease-in-out;
}
.loading img {
  width: 100%;
}

@keyframes fade-on {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes fade {
  0% {
    opacity: 0;
    transform: translateY(0);
  }
  45% {
    opacity: 1;
    transform: translateY(-.5rem);
  }
  55% {
    opacity: 1;
    transform: translateY(-.5rem);
  }
  100% {
    opacity: 0;
  }
}


/* スクリプトが利用できない状態 */
@media (scripting: none) {
  .loading {
    display: none;
  }
  .hidden {
    display: block;
  }
}