@font-face {
  font-family: 'MyFont';
  src: url('../font/BODAR.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
html {
  font-size: 62.5%; /* 16px × 0.625 = 10px → 1rem = 10px */
}
body {
  font-family: "Zen Kaku Gothic New", "Helvetica", "Arial", sans-serif;
  line-height: 1.8;
  margin: 0;
  padding: 0;
  color: #333;
  background: #efeeec ;
  text-align: center;
  opacity: 0;
  overflow-x: hidden;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}
body {
  animation: fadein 1s ease-in-out forwards;
}

@keyframes fadein {
  from { opacity: 0; }
  to   { opacity: 1; }
}
html {
  font-size: 62.5%; /* 1rem = 10px（16px × 0.625） */
}
@media (max-width: 48rem) {
  body {
    font-size: 1.4rem;
  }
}
/* 見出し */
h1 {
  font-size: 3.2rem;
  word-break: keep-all;
  line-break: strict;   
}

h2 {
  font-size: 2.8rem; /* = 24px */
}

h3 {
  font-size: 2.8rem; /* = 20px */
}

h4 {
  font-size: 1.6rem; /* = 16px */
}

li{
    list-style: none;
}
p,ul{
    font-size: 1.6rem;
}
p{
  line-height: 1.9;
    text-align: left;
}

main {
  margin: 0 auto;
}

.flex{
    display: flex;
    flex-wrap: nowrap;
    gap: 5vw;
    align-items: flex-start;
}
.flex div:nth-child(1),
.flex div:nth-child(2){
    flex: 1;
}

.common_link{
    font-size: 1.6rem;
    padding: 1rem 2rem;
    background-color: #b5a38f;
    color: #fff;
    margin: 50px auto 50px;
    display: inline-block;
    min-width: 250px;
  transition: ease .6s;
}
.common_link:hover{
  
  filter: brightness(1.2);
  transition: filter 0.3s ease;
}

/******************************/
.flex-left,
.flex-right {
  flex: 1; 
  padding: 20px;
}
@media (max-width: 65rem) {
#hero h1{font-size:2.2rem}
.flex{flex-direction: column;
}

}
/******************************/
#contact{
    padding: 0;
  display: flex;
  width: 100%;
  margin: 0;
}
#contact .flex-left{
  background-image: url('../image/common/contact-bg1.png');
  background-color: #ffffff;
  background-blend-mode: multiply;
  background-size: cover;
  background-position: center;
    padding: 7vw 20px;
    width: 100%;
    text-align: center;
    background-color: #ffffff;
}

#contact .flex-right{
  background-image: url('../image/common/contact-bg-right.webp');
    background-repeat: no-repeat;
    background-position: center;
    padding: 5vw 0;
    width: 100%;
}
#contact .flex-left img{
  margin-bottom: 20px;
}
#contact p{
    text-align: center;
    margin: 20px 0;
}
#contact .common_link{
    background-color: #8A7D6D  !important;
    color: #fff;
}

@media (max-width: 65rem) {
  #contact{
  flex-direction: column-reverse;
}
#contact .flex-left{
  padding: 20vw 0;
}
#contact .flex-right,
#contact .flex-left{
min-height: 400px;
}
}
/***********************************/

.for-monthly{
  background-repeat: no-repeat;
  padding: 5vw 10vw;
  margin: 0;
  background-color: #708177;
  color: #fff;
  background-image: url(../image/plan/for-monthly-bg2.webp);
  background-size: cover;
  background-position: center center;
}
.for-monthly h3{
    font-size: 2.5rem;
    margin: 3rem 0;
}
.for-monthly .inner{
    padding:0 5vw;
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 25px;
    margin: 0 auto;
    border:solid  2px rgba(255,255,255,0.2);
}
.for-monthly .inner img{
    max-width: 800px;
    margin: 20px auto;
}
.for-monthly a.common_link{
    background-color: #3C3022;
}

@media only screen and (max-width: 800px) {

.for-monthly{
    padding: 5vw;
}
.for-monthly .inner{
    padding:3vw;
}
.for-monthly .inner img{
    max-width: 100%;
}
}
/************************************/
#hero{
    background-image: url(../image/top/monthly-bg.webp);
    background-size: cover;
    background-repeat: no-repeat;
    padding: 5vw 5vw;
    background-color: #C8C9C6;
    background-position: center top 20%;
    margin: 0;
}

@media (max-width: 65rem) {
  #hero{
    padding: 20vw 5vw
}
}
.pankuzu{
  text-align: left;
  padding: 2vw 10vw;
background-color:#DEDED9
}
.pankuzu ul {
display:flex;
    gap:30px;
    font-size: 1.3rem;
	flex-wrap:wrap
}
.pankuzu ul li a{
  position: relative;
  color: #9d7e61;
  border-bottom:solid 1px #9d7e61;
}
.pankuzu ul li{
  position: relative;
}
.pankuzu ul li:first-child{
  padding-left: 25px;
}
.pankuzu ul li:first-child:before{
  content: "";
  width: 19px;
  height: 19px;
  background-image: url(../image/common/icon-home.png);
  background-size: contain;
  background-repeat: no-repeat;
  position: absolute;
  left: 0;
  top:50%;
  transform: translateY(-50%);
}
.pankuzu ul li a:after{
  content: "";
  width: 8px;
  height: 8px;
  border-right: 2px #000 solid;
  border-top: 2px #000 solid;
  position: absolute;
  right: -15px;
  top: 47%;
  transform: translateY(-50%) rotate(45deg) ;
}
/****/
p.center{
  text-align: center;
}
.wrap_cta{
    position: fixed;
    right: -3px;
    top:50%;
    transform: translateY(-50%);
    font-size: 1.4rem;
    z-index: 10;
}
.wrap_cta a{
    background-color: #3c3022;
    writing-mode: vertical-rl;
    display: block;
    padding: 30px 13px 30px 10px;
    color: #fff;
    letter-spacing: 2px;
    transition: ease .4s;
    margin: 0;
}
@media (hover: hover) and (pointer: fine) {
  .wrap_cta a:hover {
      transform: translateX(-3px);
      transition: ease .4s;
  }
}
.wrap_cta a.contact,
.wrap_cta a:nth-child(2){
    background-color: #3c3022;
  text-decoration: none;
  display:flex;
  align-items: center; 
  gap: 10px;
}
.wrap_cta a.contact::before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(../image/common/icon-mail.webp);
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateX(1px);
}
.wrap_cta a:nth-child(2):before {
  content: "";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-image: url(../image/common/icon-yen.webp);
  background-size: contain;
  background-repeat: no-repeat;
  transform: translateX(1px);
}
.wrap_cta a.plan{
    background-color: #9d7e61;
}
@media (max-width: 65rem) {
    
.pankuzu{
  padding: 4vw 5vw;
}
.pankuzu ul {
    gap:5px 30px;
}
.wrap_cta a.contact,
.wrap_cta a:nth-child(2){
  gap: 20px;
}
.wrap_cta{
    right:unset;
    top:unset;
    bottom: 0;
    transform:unset;
    display: flex;
    flex-direction: row-reverse;
    width: 100%;
}
.wrap_cta a{
    writing-mode:unset;
    min-width: 50%;
    text-align: center;
    display: flex;
    text-align: center;
    justify-content: center;
    padding: 20px 0;
}
    
}
/***********************************/
.zoom {
  transition: background-size 1.5s ease-out;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 110%;
}

.zoom.zoomed {
  background-size: 100%;
}
/***********************************/
.wrap_case{
 display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0px;
  text-align: center;
  position: relative;
}

@media (max-width: 65rem) {
    #showcase{
    background-position: left -200px top 0;
    background-size: 400px ;

}
    .wrap_case{
  grid-template-columns: repeat(1, 1fr);
  gap: 20px;
}
}
.wrap_case a{
    width: 100%;
    height: 100%;
    left: 0;
    top:0;
    display: block;
}
.wrap_case a img{

transform: scale(0.95);
transition: ease .4s;
}
.wrap_case a:hover img{
transform: scale(1);
}

/***************/
footer{
  text-align: center;
  padding: 20px;
  font-size: 0.9rem;
  background-color: #f2f2f2;
  display: flex;
  gap:10%;
  padding:5% 5% 3%
}

footer p{
  text-align: center;
}
ul.sns{
  display: flex;
  justify-content: center;
  gap:10px
}
ul.sns a{
  display: inline-block;
  width: 40px;
  height: 40px;
  background-color: #9d7e61;
  border-radius: 25px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: 20px;
  background-image: url(../image/common/icon-x.svg);
}
ul.sns a.icon-x{
  background-image: url(../image/common/icon-x.svg);
}
ul.sns a.icon-instagram{
  background-image: url(../image/common/icon-instagram.svg);
}
ul.sns a.icon-pintarest{
  background-image: url(../image/common/icon-pintarest.svg);
}
footer .wrap_footer_logo{
  width: 200px;
  height: 120px;
  background-image: url(../image/common/logo-brown.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;

  display: block;
  margin: 0 auto 30px;
}
footer .wrap_left{
  flex:3;
}
footer ul.footer_menu{
display: flex;
flex-wrap: wrap;
gap:20px;
}
footer ul.footer_menu li{
  width: 30%;
  text-align: left;
}
footer .wrap_right{
  flex:7;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}
footer .wrap_right .wrap_right_bottom ul{
  font-size: 1.3rem;
  display: flex;
  gap:20px;
  justify-content: flex-end;
  border-top: 1px solid #aeaaa6;
  padding-top: 30px;
}
footer .wrap_right .wrap_right_bottom ul a{
  border-right: 1px solid #3C3022;
  padding-right: 20px;
}
footer .wrap_right .wrap_right_bottom p{
  font-size: 1.3rem;

}
/*************/

@media (max-width: 65rem) {
footer{
  padding:10% 1rem 5%;
	flex-direction:column;
}


footer ul.footer_menu{
	padding-top:30px;
  padding-bottom: 30px;
  gap:20px;
}
footer ul.footer_menu li{
  width: calc(50% - 10px);
	text-align:center
}
	
	
footer .wrap_right{
  flex-direction: column;
	align-items:center;
}
footer .wrap_right .wrap_right_bottom ul a{
  padding-right: 0;
  border-right: none;
}
footer .wrap_right .wrap_right_bottom p{
  font-size: 1.2rem;
}

  footer .wrap_right .wrap_right_bottom ul {
    flex-wrap: wrap;
    justify-content:center; 
  }

  footer .wrap_right .wrap_right_bottom ul li {
    flex: 1 1 auto; 
  }

  /* コピーライトを全幅に */
  footer .wrap_right .wrap_right_bottom ul li p.copy {
    flex-basis: 100%; 
    text-align: center;
    margin-top: 0px;  
  }

  footer .wrap_right .wrap_right_bottom ul li:nth-child(-n+2) {
    flex: 0 0 auto;
  }
  .wrap_right_bottom{
    padding-bottom: 16%;
  }
}

/**********************/
/* ハンバーガーボタン */
.hamburger {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 50px;
  height: 50px;
  cursor: pointer;
  z-index: 9998;
  display: flex;
  flex-direction: column;
  justify-content: center; /* 中央揃え */
  align-items: center;     /* 横中央揃え */
  gap: 8px;                /* span の間隔 */
  background-color: #a69c90;
  padding: 8px 0;
}

.hamburger span {
  display: block;
  width: 30px;    /* 横幅を明示 */
  height: 3px;
  background: #ffffff;
  border-radius: 2px;
  transition: all 0.4s ease;
  transform-origin: center; /* 回転の中心を中央に */
}

  /* ✕に変化 */
  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(7px, 9px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -9px);
  }

  /* オーバーレイ */
  .overlay {
    position: fixed;
    inset: 0;
    background: rgba(255, 255, 255, 0.7);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.4s ease;
    z-index: 1000;
  }
  .overlay.active {
    opacity: 1;
    visibility: visible;
  }
/**********************************************:*/

  /* メニュー項目 */
  .nav .link a {
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 1.4rem;
    border-bottom:solid 1px #c0b8ae;
    padding: 1.5rem;
    text-align: left;
  transition: 0.4s ease;
  }
    .nav .link a:hover {
    border-bottom:solid 1px #5a4121;
  transition: 0.4s ease;
  }
/* --- ナビ本体 --- */
.nav {
  position: fixed;
  top: 0;
  width: 70%;
  height: 100vh;
  transition: right 0.4s ease;
  z-index: 1002;
  display: flex;
  flex-direction: row;
  right: 0;
  pointer-events: none;
}

nav ul {
  list-style: none;
  padding: 0;
  margin: 10px 0 0;
  display: flex;
  justify-content: center;
  gap: 20px;
}

.one{
  border-right: 1px solid #8A7D6D;
  box-shadow: -2px 0 10px rgba(0,0,0,0.1);
}
.two{
  display: flex;
  justify-content: space-between;
  flex-direction: column;

}
.two .bottom a{
      display: block;
    text-decoration: none;
    color: #fff;
    font-size: 1.6rem;
    padding: 1rem;
    text-align: center;
    background-color: #8A7D6D;
}
.one,
.two {
  flex: 1;
  transform: translateX(40px);
  padding: 80px 20px;
  background-color: #fff;
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.nav.active{
  pointer-events: unset;
}
.nav.active .one {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0s;
}

.nav.active .two {
  opacity: 1;
  transform: translateX(0);
  transition-delay: 0.2s;
}

@media (max-width: 65rem) {
  
.nav {
  width: 100%;
  height: 100vh;
}
.one,
.two {
  flex:none;
}
 .nav {
  flex-direction: column;
}
.two{
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}
.one,
.two {
  padding: 0px 20px;
}
.one{
  padding-top: 100px;
}


.nav.active .two {
  transition-delay: 0s;
}

}
section.common .wp-block-group__inner-container{
    padding: 3vw 2vw;
    border-bottom: solid #ABA093 1px;
	display:flex;
	flex-direction:row;
	border-bottom: solid #ABA093 1px;
	gap:5%
	
}
section.common h3{
    text-align: left;
    font-size: 1.8rem;
    color: #6f675c;
	flex:3
}
section.common .wp-block-group__inner-container p{
flex:7
}

@media (max-width: 65rem) {
section.common .wp-block-group__inner-container{
    padding: 4vw 2vw;
    flex-direction: column;
    border: none;
}
section.common h3{
    width: 100%;
    background-color: #e0ded9;
    text-align: center;
    padding: 1rem 0;
    margin-bottom: 1rem;
}
section.common .wp-block-group__inner-container p{
    width: 100%;
}

}
/***************/
span.window{
	background-image:url(../image/common/icon-open-window.svg);
	background-repeat: no-repeat;
    background-size: contain;
    min-width: 15px;
    min-height: 15px;
	max-height:15px;
    display: inline-block;
    margin-left: 10px;
}

a.common_link{
	display:flex;
	justify-content:center;
	align-items:center;
	max-width:250px;
}