/* Loading */
#loading{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: #231815;
  opacity: 1;
  transition: opacity 1.4s ease;
  pointer-events: auto;
}
#loading.fade-out{
  opacity: 0;
}
#loading.done{
  pointer-events: none;
  visibility: hidden;
}
#loading .loading_logo{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  z-index: 2;
  opacity: 0;
  filter: blur(10px);
  transition: opacity 1.5s ease, filter 1.5s ease;
}
#loading .loading_logo.visible{
  opacity: 1;
  filter: blur(0);
}
#loading .loading_logo.hidden{
  opacity: 0;
  filter: blur(0);
  transition: opacity 0.8s ease;
}

#main{
  margin-top: 0;
}
#mv{
  width: 100%;
  height: 100vh;
  display: flex;
}
#mv .conte .img_box img{
  scale: 1.05;
  will-change: transform, scale;
  transition: scale 8s ease-out;
}
#mv .img_wrap.zooming .img_box img{
  scale: 1;
}
#mv .conte{
  width: 50%;
  overflow: hidden;
  position: relative;
}
#mv .img_box{
  position: static;
}
#mv .img_wrap{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 2s ease, visibility 2s;
}
#mv .img_wrap.active{
  opacity: 1;
  visibility: visible;
}
#mv .img_box{
  height: 100%;
}
#mv .img_box img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
#mv .img_note{
  position: absolute;
  bottom: .8em;
  left: 1.5em;
  z-index: 2;
  font-size: 10px;
}
#mv .mv_ttl{
  position: absolute;
  top: 70px;
  right: 0;
  width: 476px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 2s ease, visibility 2s;
  z-index: 3;
}
#mv .mv_ttl.active{
  opacity: 1;
  visibility: visible;
}

#merit{
  padding-top: 90px;
  padding-bottom: 110px;
  color: #FFF;
  background: #231815;
}
#merit .merit_head{
  text-align: center;
  font-size: 20px;
  margin-bottom: 2em;
}
#merit .merit_logo{
  width: 240px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 110px;
}
#merit .merit_lists{
  width: 900px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-direction: column;
  gap: 27px;
}

#menu{
  padding-top: 170px;
  padding-bottom: 190px;
}
#menu .concept_ttl{
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}
#menu .concept_txt{
  width: 320px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 30px;
  margin-bottom: 70px;
}
#menu .page_nav{
  width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 170px;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  text-align: center;
}
#menu .page_nav_item{
  position: relative;
  width: 31.33%;
  font-size: 24px;
  padding-bottom: 0.55em;
  opacity: 0.4;
  transition: opacity 0.3s linear;
}
#menu .page_nav_item.active{
  opacity: 1; 
  transition: opacity 0.3s linear;
}
#menu .page_nav_item::before{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: url(../../common/images/line_01.webp);
  background-size: 100% 100%;
}
#menu .page_nav_item::after{
  content: '';
  position: absolute;
  bottom: -25px;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-top: 10px solid #a8679a;
}
#menu .menu_conte{
  display: flex;
  align-items: center;
  justify-content: space-between;
}
#menu .menu_conte:nth-child(even){
  flex-direction: row-reverse;
}
#menu .menu_conte:nth-child(n+2){
  margin-top: 138px;
}
#menu .menu_conte .img_wrap{
  width: 50%;
  overflow: hidden;
}
#menu .menu_conte .img_wrap img{
  scale: 1.15;
  will-change: transform;
}
#menu .menu_conte .txt_wrap{
  width: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
#menu .menu_conte .txt_wrap .ttl{
  writing-mode: vertical-rl;
  text-align: center;
  font-size: 34px;
  letter-spacing: 0.07em;
  line-height: 1.6;
  margin-bottom: 4em;
}
#menu .menu_conte .txt_wrap .ttl span{
  margin-top: -.6em;
}
@keyframes blurIn {
  0%   { opacity: 0; filter: blur(12px); }
  100% { opacity: 1; filter: blur(0); }
}
#menu .menu_conte .ttl .blur-in{
  /* display: inline-block; */
  opacity: 0;
  filter: blur(12px);
}
#menu .menu_conte .ttl .blur-in.is-visible{
  animation: blurIn 1.2s ease forwards;
}
#menu .menu_conte .ttl .blur-in._02.is-visible{
  animation-delay: 0.5s;
}
#menu .menu_conte .txt_wrap .box{
  font-size: 17px;
  display: flex;
  flex-direction: column;
  gap: 0.7em;
  letter-spacing: 0;
  margin-left: 1em;
}
#menu .menu_conte .txt_wrap .box_item_ttl{
  position: relative;
  line-height: 1.5;
}
#menu .menu_conte .txt_wrap .box_item_ttl::before{
  content: "";
  position: absolute;
  top: 3.7px;
  left: -1em;
  width: 1px;
  height: 17px;
  background: #231815;
} 
#menu .menu_conte .txt_wrap .box_item_txt{
  font-size: 13px;
}
#menu .menu_conte .txt_wrap .box_item_lists{
  display: flex;
  flex-direction: column;
  gap: 0.3em;
  margin-top: 0.5em;
  margin-bottom: 0.6em;
  margin-left: 2.4em;
}
#menu .menu_conte .txt_wrap .box_item_lists li{
  position: relative;
  letter-spacing: -0.02em;
}
#menu .menu_conte .txt_wrap .box_item_lists li::before{
  content: "●";
  position: absolute;
  top: 50%;
  left: -2.3em;
  transform: translateY(-50%);
  font-size: 20%;
}

#map{
  padding-top: 130px;
  padding-bottom: 130px;
  background: #f1f1f1;
}
#map .map_conte{
  width: 900px;
  margin-left: auto;
  margin-right: auto;
}
#map .map_ttl{
  text-align: center;
  font-size: 40px;
  font-weight: 300;
  letter-spacing: 0.2em;
  line-height: 1;
  margin-bottom: 1.5em;
}
#map .map_info{
  width: 900px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 145px;
}
#map .map_info_ttl{
  text-align: center;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: 0.15em;
  line-height: 1;
  margin-bottom: 4em;
}

#bottom{
  position: relative;
  height: 370px;
  background: #231815;
  display: flex;
  align-items: center;
  justify-content: center;
}
#bottom::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  transform: translateY(100%);
  width: 100%;
  height: 40px;
  background: linear-gradient(to bottom, rgba(76, 52, 45, 0.4), rgba(0, 0, 0, 0));
}
#bottom .bottom_txt{
  text-align: center;
  font-size: 26px;
  letter-spacing: 0.08em;
  line-height: 1.6;
  color: #FFF;
}

@media screen and (max-width: 1400px){
  #loading .loading_logo{
    width: 21.42vw;
  }

  #mv .img_note{
    font-size: 0.71vw;
  }

  #mv .mv_ttl{
    top: 5vw;
    width: 34vw;
  }
  
  #merit{
    padding-top: 6.42vw;
    padding-bottom: 7.85vw;
  }
  #merit .merit_head{
    font-size: 1.42vw;
  }
  #merit .merit_logo{
    width: 17.14vw;
    margin-bottom: 7.85vw;
  }
  #merit .merit_lists{
    width: 64.28vw;
    gap: 1.92vw;
  }
  
  #menu{
    padding-top: 12.14vw;
    padding-bottom: 13.57vw;
  }
  /* #menu .concept_ttl{
    width: 92.85vw;
  } */
  #menu .concept_txt{
    width: 22.85vw;
    margin-top: 2.14vw;
    margin-bottom: 5vw;
  }
  #menu .page_nav{
    width: 57.14vw;
    margin-bottom: 12.14vw;
  }
  #menu .page_nav_item{
    font-size: 1.71vw;
  }
  #menu .page_nav_item::after{
    bottom: -1.78vw;
    border-left: 0.57vw solid transparent;
    border-right: 0.57vw solid transparent;
    border-top: 0.71vw solid #a8679a;
  }
  #menu .menu_conte:nth-child(n+2){
    margin-top: 9.85vw;
  }
  #menu .menu_conte .txt_wrap .ttl{
    font-size: 2.42vw;
  }
  #menu .menu_conte .txt_wrap .box{
    font-size: 1.21vw;
  }
  #menu .menu_conte .txt_wrap .box_item_ttl::before{
    top: 0.26vw;
    height: 1.21vw;
  } 
  #menu .menu_conte .txt_wrap .box_item_txt{
    font-size: 0.92vw;
  }
  
  #map{
    padding-top: 9.28vw;
    padding-bottom: 9.28vw;
  }
  #map .map_conte{
    width: 64.28vw;
  }
  #map .map_ttl{
    font-size: 2.85vw;
  }
  #map .map_info{
    width: 64.28vw;
    margin-top: 10.35vw;
  }
  #map .map_info_ttl{
    font-size: 1.42vw;
  }
  
  #bottom{
    height: 26.42vw;
  }
  #bottom::after{
    height: 2.85vw;
  }
  #bottom .bottom_txt{
    font-size: 1.85vw;
  }
}

@media screen and (max-width: 750px){
  #loading .loading_logo{
    width: 60vw;
  }
  #main{
    margin-top: 13vw;
  }
  #mv{
    height: 125.33vw;
    flex-direction: column-reverse;
  }
  #mv .conte{
    width: 100%;
    height: 50%;
    overflow: hidden;
    position: relative;
  }

  #mv .img_note{
    font-size: 1.8vw;
  }

  #mv .mv_ttl{
    position: absolute;
    top: 50%;
    left: 50%;
    right: auto;
    transform: translate(-50%, -50%);
    width: 367px;
  }

  #merit{
    padding-top: 11.46vw;
    padding-bottom: 12vw;
  }
  #merit .merit_head{
    font-size: 4vw;
    margin-bottom: 2.5em;
    line-height: 1.6;
  }
  #merit .merit_logo{
    width: 52.13vw;
    margin-bottom: 12vw;
  }
  #merit .merit_lists{
    width: 100%;
    gap: 5.06vw;
  }

  #menu{
    padding-top: 17.33vw;
    padding-bottom: 18.26vw;
  }
  #menu .concept_ttl{
    width: 93.33vw;
  }
  #menu .concept_txt{
    width: 48vw;
    margin-top: 4.6vw;
    margin-bottom: 13vw;
  }
  #menu .page_nav{
    width: 71.66vw;
    margin-bottom: 17.33vw;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 7.5vw;
  }
  #menu .page_nav_item{
    width: 100%;
    font-size: 4.2vw;
    padding-bottom: 0.55em;
  }
  #menu .page_nav_item::after{
    bottom: -4.5vw;
    border-left: 1.2vw solid transparent;
    border-right: 1.2vw solid transparent;
    border-top: 1.5vw solid #a8679a;
  }
  #menu .page_nav_item:last-child::after{
    content: none;
  }
  #menu .menu_conte{
    width: 93.33vw;
    margin-left: auto;
    margin-right: auto;
    flex-direction: column;
    justify-content: center;
  }
  #menu .menu_conte:nth-child(even){
    flex-direction: column;
  }
  #menu .menu_conte:nth-child(n+2){
    margin-top: 18vw;
  }
  #menu .menu_conte .img_wrap{
    width: 100%;
    margin-bottom: 10vw;
    overflow: hidden;
  }
  #menu .menu_conte .img_wrap img{
    scale: 1.3;
  }
  #menu .menu_conte .img_wrap .ttl{
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 100%;
    writing-mode: vertical-rl;
    text-align: center;
    font-size: 5.46vw;
    letter-spacing: 0.2em;
    line-height: 1.6;
    color: #FFF;
    text-shadow: 0px 0px 5px #000;
  }
  #menu .menu_conte .img_wrap .ttl span{
    margin-top: -.6em;
  }
  #menu .menu_conte .txt_wrap{
    width: 100%;
    display: block;
    text-align: center;
  }
  #menu .menu_conte .txt_wrap .box{
    display: inline-flex;
    font-size: 3.5vw;
    letter-spacing: 0;
    text-align: left;
    margin-left: 1.2em;
  }
  #menu .menu_conte .txt_wrap .box_item_ttl{
    line-height: 1.4;
  }
  #menu .menu_conte .txt_wrap .box_item_ttl::before{
    top: 1.4vw;
    left: -1.2em;
    height: 2.93vw;
  } 
  #menu .menu_conte .txt_wrap .box_item_txt{
    font-size: 2.7vw;
    margin-top: 0.3em;
  }
  #menu .menu_conte .txt_wrap .box_item_lists{
    margin-top: .6em;
    margin-bottom: .6em;
    margin-left: 1.8em;
    gap: 0.1em;
  }
  #menu .menu_conte .txt_wrap .box_item_lists li::before{
    left: -2.8em;
    font-size: 25%;
  }

  #map{
    padding-top: 20vw;
    padding-bottom: 11.33vw;
  }
  #map .map_conte{
    width: 93.33vw;
  }
  #map .map_ttl{
    font-size: 6.66vw;
  }
  #map .map_info{
    width: 93.33vw;
    margin-top: 16vw;
  }
  #map .map_info_ttl{
    font-size: 4.66vw;
    margin-bottom: 2em;
  }
  
  #bottom{
    height: 53.33vw;
  }
  #bottom::after{
    height: 6.66vw;
  }
  #bottom .bottom_txt{
    font-size: 4.13vw;
  }
}