/**===========================
title :after border
==========================**/

.text_border {
	position: relative;
}
.text_border::after {
	position: absolute;
	content: "";
	background-color: #fff;
	width: 5rem;
	height: 1px;
	top: 0;
	bottom: 0;
	margin: auto;
	margin-left: 20px;
  transition: 0.5s;
}


/**ここまで　title border**/


/**===========================
title animation
==========================**/

.space{
  height: 100vh;
}

/*text animetions*/
@keyframes showTextFromBottom{
  0%{
    transform: translateY( 100% );
  }
  100%{
    transform: translateY( 0px );
  }
}
.anime-up.displayed span{
  animation: showText 1s backwards;
  display: inline-block;
}
.anime-up.displayed > span{
  overflow: hidden;
  vertical-align: middle;
}
.anime-up.displayed > span > span{
  animation: showTextFromBottom 0.5s backwards;
}


/**ここまで　title animation**/



/**===========================
btn
 ==========================**/
.btn_a {
  display: inline-block;
  color: #fff;
  background-color: #6E6451;
  width: 15rem;
  padding: 0.7rem;
  padding-left: 2rem;
  
  transition: 0.5s;
}
.btn_a:hover {
  color: #fff;
  background-color: #4d4639;
  transition: 0.5s;
}
.btn_a:hover::after {
  margin-left: 2rem;
  transition: 0.5s;
}



@media screen and (max-width:540px) {
  .btn_a {
    display: inline-block;
    color: #fff;
    background-color: #6E6451;
    width: 18rem;
    padding: 0.7rem;
    padding-left: 2rem;
    
    transition: 0.5s;
  }
}




/*=============================
hover
===============================*/

.gnavi{
  display: flex;
  flex-wrap: wrap;/*スマホ表示折り返し用なのでPCのみなら不要*/
}

.gnavi li a{
  display: block;
  padding:10px 0;
  text-decoration: none;
}
footer .gnavi {
  flex-direction: column;
}
footer .gnavi li a{
  display: block;
  padding:5px 0;
  text-decoration: none;
}

/*==================================
左から右に線が伸びる（下部）
===================================*/
.gnavi li a{
  /*線の基点とするためrelativeを指定*/
position: relative;
}

.gnavi li.current a,
.gnavi li a:hover{
  color:#9D744E;
}

.gnavi li a::after {
  content: '';
  /*絶対配置で線の位置を決める*/
  position: absolute;
  bottom: 0;
  left: 0;
  /*線の形状*/
  width: 50%;
  height: 1.5px;
  background:#9D744E;
  /*アニメーションの指定*/
  transition: all .3s;
  transform: scale(0, 1);/*X方向0、Y方向1*/
  transform-origin: left top;/*左上基点*/
}

/*現在地とhoverの設定*/
.gnavi li.current a::after,
.gnavi li a:hover::after {
  transform: scale(1, 1);/*X方向にスケール拡大*/
}








/*==================
#loading
==================*/

#loading {
  position: fixed;
  top: 0;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 100%;
  z-index: 99999;
  background: #F3EDE5;
  text-align: center;
}
#loading_logo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
#loading .kvArea {
  width: 15rem;
}
#loading .kvArea .img_box {
  text-align: center;
}
#loading .kvArea .img_box img {
  max-width: 100%;
  height: auto;
}
.fadeUp {
  /*animation-name: fadeUpAnime;
  animation-duration: 1.2s;
  animation-delay: 1.2s;
  animation-fill-mode: forwards;*/
  opacity: 1;
  animation: none !important;
}
#loading_text {
  color: #404040;
  position: absolute;
  top: 60%; /* ロゴ(50%)より少し下に配置 */
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 99999;
}
@keyframes fadeUpAnime {
  from {
    opacity: 1;
    transform: translateY(0);
  }
  to {
    opacity: 0;
    transform: translateY(-100px);
  }
}
@media (max-width: 1023px) {
  #loading_text .progressbar-text {
    font-size: 0.8rem !important;
  }
}









/**===========================
image animation
 ==========================**/

 .image-wrapper {
 position: relative;
  overflow: hidden;
  height: fit-content;
  padding: 0;    
}
.image-wrapper-bg {
  overflow: hidden;
  height: fit-content;
}
.slide-in-image {
  width: 100%;
  height: auto;
  object-fit: cover;
  clip-path: inset(0 100% 0 0);
  transition: clip-path 0.5s ease-out;
  z-index: 1;
  border-radius: 5px;
}





/* 画像は常にフル表示 */
.slide-cover {
  display: block;
  width: 100%;
  height: auto;
}

/* 上にかぶせる色レイヤー */
.image-wrapper-bg::before {
  content: "";
  position: absolute;
  inset: 0;
  background:#F8F6F2;
  transform: translateX(0);
  transition: transform 0.5s ease-out;
  z-index: 0;
  transition-delay: 0.2s;

}

/* 発火後：右へ消える */
.image-wrapper-bg.is-show::before {
  transform: translateX(101%);
}

@media screen and (max-width:540px) {
  .image-wrapper-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    background: #F8F6F2;
    transform: translateX(0);
    transition: transform 0.5s ease-out;
    z-index: 2;
    transition-delay: 0.2s;
    border: 1px solid #fff;
  }
}










/* btn animation */
a img.arrow_img {
	width: 0.8rem;
	height: auto;
  margin-bottom: 3px;
  margin-left: 2rem;
}
/*
a.btn_more img {
	
}*/

a.btn_float {
	border: 1px solid #A09A91;
	border-radius: 60px;
	background-color: #fff;
	padding: 0.73rem 2.3rem;
	display: inline-block;
  transition: all .3s;
  font-size: 0.75rem;
  letter-spacing: 2px;
  color: #454545;
}

/*
a.btn_flex {
	border: 1px solid #A09A91;
	border-radius: 60px;
	background-color: #fff;
	padding: 15px 45px;
	display: inline-block;
  transition: all .3s;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
}*/

/*hoverをしたらボックスに影がつく*/
/*
.btn_float:hover {
  box-shadow: 2px 5px 6px #A09A91;
  border-color: transparent;
  transition: 0.3s;
}*/
a.btn_float:hover {
  border: 1px solid #D4D3CA;
	border-radius: 60px;
	background-color: #D4D3CA;
	padding: 0.73rem 2.3rem;
	display: inline-block;
  transition: all .3s;
  font-size: 0.75rem;
  color: #454545;
}

.hover_zoom {
  transition: 1s all;
  border-radius: 5px;
}
.hover_zoom .img_zone {
  overflow: hidden;
  transition: 0.5s;
  width: 20rem;
  transition: 1s all;
  border-radius: 5px;
}
.hover_zoom:hover .img_zone img {
  transform: scale(1.05);
  transition: 1s all;
}

.next-arrow,
.prev-arrow {
  width: 0.8rem !important;
	height: auto !important;
}

@media screen and (max-width:1280px) {
  .next-arrow,
  .prev-arrow {
    width: 10px !important;
    height: auto !important;
  }

}


@media screen and (max-width:991px) {
  a.btn_flex {
    border: 1px solid #A09A91;
    border-radius: 60px;
    background-color: #fff;
    padding: 0.73rem 2.3rem;
    display: inline-block;
    transition: all .3s;
    font-size: 0.75rem;
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    justify-content: space-around;
  }
}

@media screen and (max-width:540px) {
  a img.arrow_img {
    width: 1.8rem;
    height: auto;
  }

  a.btn_float {
    border: 1px solid #A09A91;
    border-radius: 60px;
    background-color: #fff;
    padding: 1.15rem 2.3rem ;
    display: inline-block;
    transition: all .3s;
    font-size: 1.5rem;
  }
  a.btn_float:hover {
    border: 1px solid #D4D3CA;
    border-radius: 60px;
    background-color: #D4D3CA;
    padding: 1.15rem 2.3rem ;
    display: inline-block;
    transition: all .3s;
    font-size: 1.5rem;

  }
}


/**===========================
accordion
 ==========================**/
/*アコーディオン全体*/
.accordion-area{
  margin:0 auto;
}

/*アコーディオンタイトル*/
 .title {
  position: relative;/*+マークの位置基準とするためrelative指定*/
  cursor: pointer;
  transition: all .5s ease;
  padding-top: 1rem;
  padding-bottom: 1rem;
}

/*アイコンの＋と×*/
 .title::before,
 .title::after{
  position: absolute;
  content:'';
  width: 0.7rem;
  height: 0.1rem;  
}
 .title::before{
  top:48%;
  right: 0.2rem;
  transform: rotate(0deg);
  background: #38342E;
}
 .title::after{    
  top:48%;
  right: 0.2rem;
  transform: rotate(90deg);
  background: #38342E;
}
/*　closeというクラスがついたら形状変化　*/
 .title.close::before{
transform: rotate(0deg);
}

 .title.close::after{
transform: rotate(0deg);
}

/*アコーディオンで現れるエリア*/
.box {
  display: none;/*はじめは非表示*/
  margin-bottom: 2rem;
}

@media screen and (max-width:991px) {
  
 .title::before{
    top:48%;
    right: 1rem;
    transform: rotate(0deg);
    background: #38342E;
  }
  .title::after{
    top:48%;
    right: 1rem;
    transform: rotate(90deg);
    background: #38342E;
  }
}




