/*
*
* TOP styles
*
*/

/*****************************
COMMON
******************************/
.home .site-body{
  padding-top: 1.75rem;
  padding-bottom: 0;
}
.home .site-footer{
  margin-top: min(-100px, -6.944vw);
}
@media (min-width: 768px) {
  .home .site-body {
    padding-top: 4rem;
  }
}
@media (min-width: 992px) {
  .home .site-body {
    padding-top: 4.25rem;
  }
}
@media (min-width: 1200px) {
  .site-body {
    padding-top: 4.5rem;
  }
}

.top-section{
  
}
.top-section .top-section-title {
  text-align: center;
  font-size: clamp(32px, 3.49vw, 40px);
  font-weight: 400;
  line-height: 1.5;
  margin-bottom: 1.75em;
}
.top-section .top-section-title span {
  font-size: clamp(18px, 1.74vw, 20px)!important;
  font-weight: 500;
  color: #ed6c00;
  display: block;
  margin-top: .5em;
}
@media (max-width:768px){
  .top-section .top-section-title{
    margin-bottom: 1em;
  }
}

.top-section.is-style-vk-group-shadow {
  /*margin-left: -6.63%;
  margin-right:  -6.63%;*/
  /*width: 113.26%;
  max-width: calc(100svw - 30px);*/
  margin-left: 50%;
  transform: translateX(-50%);
  max-width: 1300px;
  width: calc(100vw - 40px);
}
/*@media (max-width: 768px){
  .top-section.is-style-vk-group-shadow {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    transform: none;
  }
}*/

/*****************************
Main Visual
******************************/

.top-mv{
  padding-top: min(2.986vw, 43px);
  padding-bottom: min(6.944vw, 100px);
	text-align: center;
  
  --animate-duration: 3s;
  --animate-delay: .5s;
  
  animation-delay: var(--animate-delay);
}
.top-mv img {
	width: 70.27%;
	max-width: 500px;
}

@media (max-width: 768px){
	.top-mv {
		height: calc(100svh - 80px);
		display: flex!important;
		justify-content: center;
		align-items: center;
	}
	.admin-bar .top-mv {
		height: calc(100svh - 80px - 46px - 1.75rem - 2.75rem - 6.944vw - 2.986vw);
	}
	.top-mv img {
		
	}
}

/*****************************
TOP ABOUT
******************************/
.top-about{
  padding-top: clamp(65px, 15.27vw, 220px)!important;
  padding-bottom: clamp(96px, 23.88vw, 344px)!important;
}
.top-about .wp-block-cover__background{
  background: url(../images/bg_beige.jpg) 0 0 repeat;
  background-size: 512px auto;
  
  /*position: relative;
  width: 100%;
  display: block;*/
}
.top-about .wp-block-cover__background::before,
.top-about .wp-block-cover__background::after {
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  left: 0;
}
.top-about .wp-block-cover__background::before{
  background-image: url(../images/bg_wave_01.svg);
  background-position: top center;
  height: clamp(30px, 9.27vw, 220px);
  top: 0;
}
.top-about .wp-block-cover__background::after{
  background-image: url(../images/bg_wave_02.svg);
  background-position: bottom center;
  height: clamp(96px, 23.88vw, 344px);
  bottom: 0;
}
#top-about .wp-block-cover__inner-container{
  max-width: 1146px;
}

.top-about .wp-block-image{
  background-color: #fff;
  border-radius: 50px;
  position: relative;
  width: 100%;
}
.top-about .wp-block-image img {
  /*width: 91.93%;*/
  max-width: calc(100% + 25px);
  margin: -15px;
  margin-left: -10px;
}

.top-about .top-about-illust .wp-block-image{
  padding-top: 87.5%;
}
.top-about .top-about-illust .wp-block-image img {
  position: absolute;
  display: block;
  margin: 0;
}
.top-about .wp-block-image{animation-delay: .5s;}
.top-about .wp-block-image img[class*="illust_top-1"]{animation-delay: 1.0s;}
.top-about .wp-block-image img[class*="illust_top-2"]{animation-delay: 1.5s;}
.top-about .wp-block-image img[class*="illust_top-3"]{animation-delay: 2.0s;}


.top-about .wp-block-image img.illust_top-1_1 {
  width: 37.32%;
  top: -15px;
  left: -10px;
}
.top-about .wp-block-image img.illust_top-1_2 {
  width: 37.05%;
  top: -15px;
  right: 10px;
}
.top-about .wp-block-image img.illust_top-1_3 {
  width: 20.89%;
  top: 28.36%;
  left: 41.07%;
}
.top-about .wp-block-image img.illust_top-2_1 {
  width: 15.78%;
  top: 4.89%;
  left: 42.5%;
}
.top-about .wp-block-image img.illust_top-2_2 {
  width: 18.46%;
  top: 43.61%;
  left: 7.6%;
}
.top-about .wp-block-image img.illust_top-2_3 {
  width: 24.46%;
  top: 46.12%;
  right: 4.68%;
}
.top-about .wp-block-image img.illust_top-2_4 {
  width: 16.42%;
  top: 67.08%;
  left: 58.39%;
}
.top-about .wp-block-image img.illust_top-3_1 {
  width: 17.32%;
  top: 25.91%;
  left: 5.08%;
}
.top-about .wp-block-image img.illust_top-3_2 {
  width: 16.96%;
  top: 24.48%;
  left: 27.67%;
}
.top-about .wp-block-image img.illust_top-3_3 {
  width: 21.42%;
  top: 64.08%;
  left: 81.35%;
}
.top-about .wp-block-image img.illust_top-3_4 {
  width: 18.625%;
  top: 76.85%;
  left: 5.71%;
}
.top-about .wp-block-image img.illust_top-3_5 {
  width: 27.75%;
  top: 66.63%;
  left: 26.07%;
}
.top-about .wp-block-image img.illust_top-3_6 {
  width: 14.78%;
  top: 76.87%;
  left: 80.35%;
}


.top-about .wp-block-vk-blocks-button {
  margin-top: 60px!important;
}

@media (max-width: 768px){
	#top-about .wp-block-heading{
		text-align: center;
		line-height: 1.5;
	}
	#top-about .wp-block-text {
		font-size: 18px;
		line-height: 2.0;
	}
	#top-about .vk_button{
		text-align: center;
		margin-top: 30px!important;
	}
	#top-about > .wp-block-cover__inner-container > .wp-block-columns > .wp-block-column:nth-child(2){
		order: -1;
	}
}

/*****************************
TOP PLAN
******************************/
#top-plan {
  margin-top: max(-190px, -13.194vw);
}
.top-plan-intro .wp-block-heading {
  width: 40.13%;
}
.top-plan-intro .wp-block-text {
  width: 58.115%;
  font-size: 18px;
}
.top-plan-intro {
  gap: 30px;
  align-items: flex-start;
}

.plan-list{
  margin-top: 6.98%!important;
  margin-bottom: 0!important;
}
.plan-item{
  background: var(--vk-color-custom-1);
  border-radius: 30px;
  padding: 10px 0;
  box-shadow: 0 0 20px rgba(93,52,4,.2);
  transition: background .3s;
  position: relative;
}
.plan-item::before{
  content: "";
  display: block;
  position: absolute;
  width: 118px;
  height: 100px;
  right: 10px;
  top: -40px;
  background-position: right top;
  background-repeat: no-repeat;
  background-size: contain;
}
.plan-header {
  color: #fff;
  padding: clamp(40px, 5vw, 60px) clamp(25px, 4.03vw, 40px) 25px;
}
.plan-header .wp-block-heading{
  color: currentColor;
}
.plan-header .plan-summary{
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .05em;
  margin-bottom: .75em!important;
  line-height: 1.0;
}
.plan-header .wp-block-heading {
  width: auto;
  font-size: 38px;
  font-weight: 500;
  letter-spacing: .15em;
  margin: 0;
  line-height: 1.0;
}
.plan-header .wp-block-heading span {
  display: block;
  font-weight: 900;
  font-size: 18px;
  letter-spacing: .1em;
  margin-top: .75em;
}
.plan-content {
  background: #fff;
  border-radius: 0 0 20px 20px;
  margin: 0 10px;
  padding: 25px 30px;
}
.plan-price{
  font-weight: 500;
  font-size: 28px;
  line-height: 1.0;
  color: #ed6c00;
}
.plan-overview {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .1em;
}
.plan-text {
  font-size: 16px;
  letter-spacing: .075em;
  line-height: 1.5;
  text-align: justify;
  font-feature-settings: "palt";
}

.plan-premium{background-color: var(--vk-color-custom-2);}
.plan-standard{background-color: var(--vk-color-custom-3);}
.plan-light{background-color: var(--vk-color-primary);}

.plan-premium::before{background-image:url(../images/illust_plan_top_01.png);}
.plan-standard::before{background-image:url(../images/illust_plan_top_02.png);}
.plan-light::before{background-image:url(../images/illust_plan_top_03.png);}

.plan-item:hover {background-color: var(--vk-color-custom-1);}

.top-plan .wp-block-vk-blocks-button{
   margin-top: clamp(40px, 6.98%, 80px);
}

@media (max-width: 992px){
  .plan-list,
  .top-plan-intro{
    flex-direction: column;
    justify-content: center;
    align-items: center!important;
  }
  .top-plan-intro{
    gap: 0;
  }
  .top-plan-intro .wp-block-heading,
  .top-plan-intro .wp-block-text{
    width: 100%;
  }
  .top-plan-intro .wp-block-heading.is-style-vk-heading-plain{
    text-align: center;
  }
  .plan-item::before{
    top: -20px;
  }
}

@media (max-width: 768px){
  .plan-item::before{
    width: clamp(80px, 24.08vw, 118px);
    padding-top: min(23.22%, 100px);
    height: inherit;
  }
}

/*****************************
TOP CONTENTS
******************************/
.top-contents{
  background: url(../images/bg_beige.jpg) 0 0 repeat;
  background-size: 512px auto;
  padding-top: clamp(110px, 18.75vw, 270px);
  padding-bottom: clamp(105px, 20.4861vw, 295px);
}
.top-contents::before,
.top-contents::after{
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: clamp(65px, 15.27vw, 220px);
  background-repeat: no-repeat;
  background-size: 100% auto;
  left: 0;
}
.top-contents::before{
  background-image: url(../images/bg_wave_03.svg);
  background-position: top center;
  top: 0;
}
.top-contents::after{
  background-image: url(../images/bg_wave_04.svg);
  background-position: bottom center;
  background-size: 100% 100%;
  bottom: 0;
}
.top-contents .wp-block-columns{
  max-width: 1380px;
  width: calc(100svw - 40px);
  column-gap: 30px;
  margin-bottom: 0!important;
}
.contents-item{
  background: #fff;
  border-radius: 30px;
  box-shadow: 0 0 20px rgba(93,52,4,.2);
  padding: 30px;
  max-width: 440px;
  width: 100%;
}
.contents-item .wp-block-image{
  width: 65.78%;
  max-width: 250px;
  height: 0;
  padding-top: min(65.78%, 250px);
  border-radius: 50%;
  overflow: hidden;
  margin: -22.72% auto 0!important;
  position: relative;
}
.contents-item .wp-block-image img{
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  object-position: center;
  object-fit: cover;
  width: 100%;
  height: 100%!important;
}

.contents-item .wp-block-heading {
  text-align: center;
  font-size: 26px;
  letter-spacing: .05em;
  line-height: 1.38;
  font-weight: 500;
  margin-top: 1em!important;
}
.contents-item .wp-block-heading::after{
  content: "";
  border-bottom: 5px dotted currentColor;
  width: 45px;
  position: relative;
  margin: 1em auto;
}

.contents-item .contents-text {
  max-width: 263px;
  margin: 0 auto;
  letter-spacing: .1em;
  line-height: 1.5;
  font-size: 16px;
}

.contents-item .vk_button{
  margin-bottom: 0;
}
.contents-item .vk_button .vk_button_link.btn {
  width: 60px;
  height: 60px;
  border-radius: 30px;
  min-width: inherit;
  min-height: inherit;
  line-height: 56px;
}
.contents-item:hover .vk_button .vk_button_link.btn {
    background-color: var(--vk-color-custom-1) !important;
    box-shadow: none;
    opacity: 1;
}
.contents-item:hover .vk_button .vk_button_link.btn .vk_button_link_after {
  transform: translateX(50%);
}
.contents-item .vk_button .vk_button_link_txt{
  display: none;
}
.contents-item .vk_button .vk_button_link.btn{
  font-size: 25px;
  padding: 0;
  text-align: center;
}
.contents-item .vk_button .vk_button_link.btn .vk_button_link_after{
  margin: auto;
}

@media (max-width: 992px){
  .top-contents .wp-block-columns{
    flex-direction: column;
    align-items: center!important;
  }
  .contents-item{
    
  }
  .contents-item .wp-block-image{
    margin-top: -48px!important;
  }
}

/*****************************
TOP NEWS
******************************/
.top-news-header .top-section-title {
  margin-bottom: 1.2em;
}
.top-news-header .vk_button{
  margin-left: auto;
  font-size: 18px;
  font-weight: 500;
  letter-spacing: .1em;
}
.top-news-header .vk_button .vk_button_link_after{
  background: var(--vk-color-primary);
  color: #fff;
  font-size: 25px;
  width: 60px;
  height: 60px;
  border-radius: 30px;
  line-height: 60px;
  text-align: center;
  transition: background .3s;
}
.top-news-header .vk_button .vk_button_link_after::before{
  transition: transform .3s;
  display: inline-block;
}
.top-news-header .vk_button .vk_button_link .vk_button_link_txt{
  transition: color .3s;
}
.top-news-header .vk_button .vk_button_link:hover .vk_button_link_txt{
  text-decoration: none!important;
  color: var(--vk-color-custom-1);
}
.top-news-header .vk_button .vk_button_link:hover .vk_button_link_after{
  background-color: var(--vk-color-custom-1) !important;
  box-shadow: none;
  opacity: 1;
}
.top-news-header .vk_button .vk_button_link:hover .vk_button_link_after::before{
  transform: translateX(50%);
}
.top-news-header .vk_button .vk_button_link .vk_button_link_txt{
  text-decoration: none;
  letter-spacing: .1em;
}
.top-news-header .vk_button .vk_button_link_after{
  margin-left: 30px;
}

.top-news .wp-block-latest-posts__list{
  gap: 30px;
}
.top-news .wp-block-latest-posts.is-grid li{
  padding: 0;
}

.top-news .wp-block-latest-posts__featured-image{
  overflow: hidden;
  border-radius: 10px;
}
.top-news .wp-block-latest-posts__featured-image a {
  display: block;
}
.top-news .wp-block-latest-posts__featured-image img{
  transition: transform .75s cubic-bezier(0.2, 1.15, 0.5, 1.2);
  display: block;
}
.top-news .wp-block-latest-posts__featured-image a:hover img{
  transform: scale(105%);
}

.top-news .wp-block-latest-posts__post-title{
  font-size: 17px;
  font-weight: 500;
  line-height: 1.35;
}
.top-news .wp-block-latest-posts__post-date{
  letter-spacing: .1em;
  color: var(--vk-color-text-body);
  font-size: 14px;
}
.top-news .wp-block-latest-posts__post-excerpt{
  letter-spacing: .05em;
  line-height: 1.5;
  font-size: 14px;
}



@media (min-width: 600px) {
  .top-news .wp-block-latest-posts.columns-4 li {
      width: calc((100% - 90px)/4);
  }
}
@media (max-width: 768px){
  .top-news {
    padding-bottom: 80px;
  }
  .top-news-header.is-layout-flex{
    justify-content: center;
  }
  .top-news-header .wp-block-heading.top-section-title{
    text-align: center;
  }
  .top-news-header .vk_button{
    position: absolute;
    bottom: 0;
    right: 0;
  }
  
}

/*****************************
TOP SNS
******************************/
.top-sns{
  margin: 100px auto;
  text-align: center;
}
.top-sns .top-section-title{
  color: #ed6c00;
  font-size: 30px;
  font-weight: 500;
  margin-bottom: 1.66em;
}
ul.sns-links{
  padding-left: 0;
  margin: 30px auto 0;
  justify-content: center;
  gap: 40px;
}
.sns-links{
  font-size: clamp(50px, 5.64vw, 56px);
}
.sns-links li{
  list-style: none;
  margin: 0;
}
.sns-links a{
  text-decoration: none;
  color: #5b4636;
}
.sns-links i{
  margin-right: 0;
  transition: all .3s;
}
.sns-links i.fa-instagram{font-size: 1.15em;}



/*****************************
TOP CONTACT
******************************/
.top-contact{
  background: url(../images/bg_beige.jpg) 0 0 repeat;
  background-size: 512px auto;
  padding-top: clamp(70px, 14.583vw, 210px);
  padding-bottom: clamp(135px, 18.05vw, 260px);
}
.top-contact::before{
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: clamp(35px, 8.33vw, 120px);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  left: 0;
}
.top-contact::before{
  background-image: url(../images/bg_wave_05.svg);
  background-position: top center;
  top: 0;
}
#top-contact .contact-group,
#top-contact .contact-gmap {
  max-width: 1146px;
  width: calc(100svw - 40px);
}
#top-contact .contact-group{
  align-items: flex-start;
}
.top-contact .contact-header {
  max-width: 362px;
  width: 31.58%;
  gap: 15px;
}
.top-contact .contact-info-box {
  flex: 1;
  background: #fff;
  border-radius: 50px;
  padding: 50px clamp(35px, 4.36%, 50px);
  max-width: 754px;
  width: 100%;
}
.top-contact .notice-list {
    font-size: 14px;
    margin-left: 1em;
}
#top-contact .contact-gmap{
  border-radius: 20px;
  overflow: hidden;
  margin-top: clamp(50px, 8.726%, 100px);
}


.top-contact .top-section-title{
  margin-bottom: 5px!important;
}
.top-contact .wp-block-text{
  margin-bottom: 0!important;
  font-size: 18px;
  line-height: 2.0;
}

@media (max-width: 992px){
  .top-contact .contact-header{
    width: 350px;
  }
  .top-contact .contact-info-box {
    
  }
}
@media (max-width: 768px){
  #top-contact .contact-group{
    flex-direction: column;
  }
  .top-contact .contact-header {
    width: 100%;
    /*align-items: center!important;*/
    margin-bottom: 15px;
  }
  .top-contact .wp-block-heading.top-section-title {
    text-align: center;
    width: 100%;
  }
  .top-contact .notice-list {
    font-size: 14px;
  }
  #top-contact .contact-gmap{
    margin-top: 50px;
  }
}
@media (max-width: 450px){
  #top-contact .contact-gmap iframe{
    height: 600px!important;
  }
}


/*****************************
TOP ANIMATION
******************************/

@media (min-width:991px){
  #top-about .wp-block-text{animation-delay: .4s;}
  #top-about .vk_button{animation-delay: .8s;}
  #top-plan .top-plan-intro .wp-block-text {animation-delay: .4s;}
  .plan-list .plan-item:nth-child(1),
  .contents-list .contents-item:nth-child(1){animation-delay: 0s;}
  .plan-list .plan-item:nth-child(2),
  .contents-list .contents-item:nth-child(2){animation-delay: .4s;}
  .plan-list .plan-item:nth-child(3),
  .contents-list .contents-item:nth-child(3){animation-delay: .8s;}
  #top-news .vk_button {animation-delay: .4s;}
  #top-news .wp-block-latest-posts__list li:nth-child(4n + 1){animation-delay: 0s;}
  #top-news .wp-block-latest-posts__list li:nth-child(4n + 2){animation-delay: .4s;}
  #top-news .wp-block-latest-posts__list li:nth-child(4n + 3){animation-delay: .8s;}
  #top-news .wp-block-latest-posts__list li:nth-child(4n + 4){animation-delay: 1.2s;}
  #top-contact .contact-info-box {animation-delay: .4s;}
}