/*
*
* Individual styles
*
*/

/*****************************
 COMMON
******************************/

.wp-block-media-text{
  grid-column-gap: min(4.36%, 50px);
}
 .wp-block-media-text + .wp-block-media-text{
  
}
.wp-block-media-text>.wp-block-media-text__content{
  padding-left: 0;
  padding-right: 0;
}

/* wp-block-media-text2 */
.is-layout-grid.wp-block-media-text2{
  grid-template-columns: auto 39%!important;
  align-items: start;
  position: relative;
}
.wp-block-media-text__content .content-title{
  font-size: clamp(20px, 2.09vw, 24px);
  font-weight: 500;
  letter-spacing: .1em;
  margin-bottom: 1.5em;
}
@media (max-width: 767px){
  .is-layout-grid.wp-block-media-text2{
    display: block;
  }
  .wp-block-media-text__content .content-title{
    line-height: 1.8;
    margin-bottom: 1em;
  }
}


/* flow list */
dl.flow-list > dt{
  position: relative;
  font-size: 22px;
  padding-left: 2.5em;
}
dl.flow-list > dt:not(:first-child){
  margin-top: 1.36em;
}
dl.flow-list > dt .mark {
  color: #fff;
  background: #ed6c00;
  font-size: 1.18em;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  width: 1.538em;
  line-height: 1.538em;
  border-radius: .769em;
  display: block;
  left: 0;
  top: -.15em;
  text-align: center;
  position: absolute;
}
dl.flow-list > dd{
  font-size: 1rem;
  line-height: 2.0;
  padding-left: 55px;
  margin-top: 20px;
}
dl.flow-list > dd p{
  line-height: 2.0;
}
@media (max-width:768px){
  dl.flow-list > dt{
    font-size: 20px;
    line-height: 1.5;
    padding-left: 2em;
  }
  dl.flow-list > dt .mark {
    font-size: 1em;
  }
  dl.flow-list > dd {
    padding-left: 0;
    margin-top: 1em;
  }
  dl.flow-list > dd p.notice{
    line-height: 1.71;
  }
}

/* plan list */
dl.plan-list > dt {
  position: relative;
  font-size: 22px;
  padding-left: 2.5em;
  color: #ed6c00;
}
dl.plan-list > dt:not(:first-child){
  margin-top: 1.36em;
}
dl.plan-list > dt::before {
  color: #fff;
  background: #ed6c00;
  font-size: 1.18em;
  font-family: "Roboto", sans-serif;
  font-weight: 100;
  width: 1.538em;
  line-height: 1.538em;
  border-radius: .769em;
  display: block;
  left: 0;
  top: -.15em;
  text-align: center;
  position: absolute;
}
dl.plan-list > dt.plan-premium{color: var(--vk-color-custom-2);}
dl.plan-list > dt.plan-premium::before {
  content: "P";
  background-color: var(--vk-color-custom-2);
}
dl.plan-list > dt.plan-standard{color: var(--vk-color-custom-3);}
dl.plan-list > dt.plan-standard::before {
  content: "S";
  background-color: var(--vk-color-custom-3);
}
dl.plan-list > dt.plan-light{color: var(--vk-color-primary);}
dl.plan-list > dt.plan-light::before {
  content: "L";
  background-color: var(--vk-color-primary);
}
dl.plan-list > dt.plan-option::before {content: "O";}

dl.plan-list > dd{
  font-size: 16px;
  line-height: 2.0;
  padding-left: 55px;
  margin-top: 10px;
}
dl.plan-list > dd p{
  line-height: 2.0;
}

@media (max-width: 768px){
  dl.plan-list > dt{
    font-size: 20px;
    line-height: 1.5;
    padding-left: 2em;
    margin-bottom: 0;
  }
  dl.plan-list > dt .mark {
    font-size: 1em;
  }
  dl.plan-list > dd {
    padding-left: 0;
  }
  dl.plan-list > dd p.notice{
    line-height: 1.71;
  }
}


/* list-wrap */
figure.list-wrap{
  
}
figcaption.list-ttl {
  font-size: 20px;
  border-bottom: 1px solid #ada293;
  padding-bottom: .5em;
  margin-bottom: .75em;
  font-weight: 700;
}
figure.list-wrap .wp-block-list {
   margin-left: 10px;
}

@media (max-width: 768px){
  figcaption.list-ttl {
    font-size: 18px;
    line-height: 1.5;
  }
  figure.list-wrap .wp-block-list{
    margin-left: 0;
  }
}

/* notice box */
.notice-box{
  background: #f6f5f5;
  border-radius: 10px;
  padding: 15px 25px 5px;
  width: fit-content;
  max-width: 100%;
  font-size: 18px;
  font-weight: 700;
}
.notice-inline-dl dt,
.notice-inline-dl dd {
  display: inline-block;
  padding-left: 0;
  line-height: 1.77;
}
.notice-inline-dl dt{
  color: #900;
  margin-bottom: 0;
}
.notice-inline-dl dt::after{
  content: "：";
  color: var(--vk-color-text-body);
}

@media (max-width:768px){
  .notice-box{
    padding: 10px;
    font-size: 16px;
  }
  .notice-inline-dl dt,
  .notice-inline-dl dd {
    display: block;
    line-height: 1.5;
  }
  .notice-inline-dl dt{
    
  }
  .notice-inline-dl dt::after{
    content: none;
  }
}

/* card img */
.card-img {
  max-width: 634px;
  margin-left: auto;
  margin-right: auto;
}

/*****************************
 ABOUT
******************************/

.post-name-about .site-body{
  padding-bottom: 0;
}
.post-name-about .site-footer{
  margin-top: min(-100px, -6.944vw);
}

/* outline */
#about-outline{
  background: url(../images/bg_beige.jpg) 0 0 repeat;
  background-size: 512px auto;
  padding-top: clamp(64px, 6.944vw, 100px);
  padding-bottom: clamp(96px, 20.1388vw, 290px);
  margin-bottom: 0;
}
#about-outline::before,
#about-outline::after{
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: clamp(34px, 8.33vw, 120px);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  left: 0;
}
#about-outline::before{
  background-image: url(../images/bg_wave_05.svg);
  background-position: top center;
  top: 0;
}
#about-outline::after{
  height: clamp(60px, 16.66vw, 240px);
  background-image: url(../images/bg_wave_04.svg);
  background-position: bottom center;
  bottom: 0;
  transform: scale(-1, 1);
}

.wp-block-group > .wp-block-media-text:not(:first-child),
.wp-block-group > .wp-block-media-text2:not(:first-child){
  margin-top: 7.85%
}

#about-outline .wp-block-media-text2{
  grid-template-columns: auto 44% !important;
}

#about-outline .outline-title{
  font-size: clamp(20px, 2.79vw, 32px);
  line-height: 1.5;
}
#about-outline .wp-block-media-text__media{
  position: relative;
}
#about-outline .wp-block-image{
  position: relative;
  display: block;
  margin-bottom: 0;
}
#about-outline .outline-img-1{
  width: 110.826%;
  max-width: 562px;
  margin-top: 3.9%;
  margin-left: -20.47%;
}
#about-outline .outline-img-2{
  width: 67.91%;
  max-width: 345px;
  margin-top: -11.81%;
  margin-right: -2.95%;
  margin-left: auto;
}
#about-outline .outline-img-3{
  width: 54.92%;
  max-width: 279px;
  margin-top: -35.43%;
  margin-left: -18.7%;
  margin-bottom: -5.9%;
}

#about-outline .outline-img-1{animation-delay: .5s;}
#about-outline .outline-img-2{animation-delay: 1.0s;}
#about-outline .outline-img-3{animation-delay: 1.5s;}

@media (max-width: 1380px){
  #about-outline .wp-block-media-text2{
    grid-template-columns: auto 28.42vw !important;
  }
}
@media (max-width: 767px){
  #about-outline .outline-title{
    line-height: 1.8;
    font-weight: 400;
    width: fit-content;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 1.75em;
  }
  #about-outline .wp-block-media-text2 .wp-block-media-text__media {
    width: calc(100% - 2.95% - 17.47%);
    margin-top: -3.9%;
    margin-left: auto;
    margin-right: 2.95%;
    margin-bottom: calc(5.9% + 8.88%);
  }
  #about-outline .outline-inner > div:nth-child(2) img{
    margin-top: -13%;
  }
}

/* about-01 */
#about-01 .title-03{
  max-width: 754px;
}

@media (max-width: 768px){
  #about-01 .wp-block-media-text__media {
    margin-bottom: 30px;
  }
  #about-01 .wp-block-media-text__content .content-title {
    font-size: 18px;
    line-height: 1.77;
  }
}

/* about-02 */
#about-02{
  background: url(../images/bg_beige.jpg) 0 0 repeat;
  background-size: 512px auto;
  padding-top: clamp(64px, 10.416vw, 150px);
  padding-bottom: clamp(115px, 18.05vw, 260px);
}
#about-02::before{
  content: "";
  display: block;
  position: absolute;
  width: 100%;
  height: clamp(34px, 8.33vw, 120px);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  left: 0;
  background-image: url(../images/bg_wave_05.svg);
  background-position: top center;
  top: 0;
}
#about-02 .wp-block-media-text2{
  grid-template-rows: max-content max-content 1fr;
}
#about-02 .prof-title{
  width: 100%;
  font-size: clamp(24px, 2.439vw, 28px);
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 2.0;
}

.prof-contents .prof-position{
  font-size: 16px;
  margin-bottom: .25em!important;
}
.prof-contents .prof-name{
  font-size: 30px;
  letter-spacing: .1em;
  line-height: 1.5;
  margin-bottom: .5em!important;
}
.prof-contents .prof-name span.en{
  font-size: 14px;
  font-weight: 500;
  color: #ed6c00;
  display: block;
}
.prof-txt {
  font-size: 16px;
  line-height: 1.5;
}

@media (min-width: 767px){
  #about-02 .prof-img,
  #about-02 .prof-contents{
    margin: 0 6.52% 0 14.78%;
  }
}
@media (max-width: 992px) and (min-width: 767px) {
  #about-02 .is-layout-grid.wp-block-media-text2{
    grid-template-columns: auto 30.74%!important;
  }
  #about-02 .prof-img,
  #about-02 .prof-contents {
    margin-left: 6.52%;
    margin-right: 0;
  }
}
@media (max-width: 767px) {
  #about-02 .prof-title{
    line-height: 1.63;
    font-weight: 400;
    margin-bottom: 1.5em;
  }
  #about-02 .prof-contents{
    margin-top: 2em;
    margin-bottom: 1em;
  }
}

/*****************************
 PLAN
******************************/
.plan-item{
  background: var(--vk-color-custom-1);
  border-radius: 30px 30px 0 0;
  transition: background .3s;
  position: relative;
  min-width: 224px;
}
.plan-header {
  color: #fff;
  padding: 30px 18px 20px;
}
.plan-header .wp-block-heading{
  color: currentColor;
}
.plan-header .plan-summary{
  font-size: clamp(15px,1.39vw,16px);
  font-weight: 700;
  letter-spacing: .025em;
  margin-bottom: .75em!important;
  line-height: 1.0;
  text-align: left;
  white-space: nowrap;
}
.plan-header .wp-block-heading {
  width: auto;
  font-size: clamp(28px,2.79vw,32px);
  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: clamp(14px,1.557vw,18px);
  letter-spacing: .1em;
  margin-top: .5em;
}

.plan-header-2{
  padding: 20px 0;
  text-align: center;
}
.plan-overview {
  font-size: clamp(14px,1.48vw,17px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0;
  white-space: nowrap;
}
.plan-header-2 .vk_button .vk_button_link.btn{
  font-size: 18px;
  letter-spacing: 0;
}
.plan-header-2 .vk_button .vk_button_link.btn-sm{
  min-width: clamp(184px,17.8vw,204px);
}
.plan-header-2 .vk_button .vk_button_link.btn .vk_button_link_after{
  margin-right: -.25em;
  margin-left: .25em;
}
.plan-header-2 .vk_button .vk_button_link.btn:hover .vk_button_link_after{
  transform: translateY(25%);
}

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

.plan-premium .plan-header-2{background-color: #f8e6e7;}
.plan-standard .plan-header-2{background-color: #e5f3f3;}
.plan-light .plan-header-2{background-color: #f5f0e2;}

#plan-price-table{
  
}
.wp-block-table :is(table,thead,tbody,tfoot,th,td){
  border: 0 none;
}
.wp-block-table.is-style-stripes tbody tr:nth-child(odd){
  background-color: #f6f5f5;
}
#plan-price-table.wp-block-table.is-style-stripes{
  border-bottom-color: #352007;
}

.wp-block-table.is-style-stripes th,
.wp-block-table.is-style-stripes td{
  padding: 20px 15px;
}
.wp-block-table.is-style-stripes thead th{
  font-size: 20px;
}
.wp-block-table.is-style-stripes tbody th{
  font-size: clamp(16px,1.74vw,20px);
  padding-left: clamp(10px, 6.98vw, 80px);
  padding-right: 0;
  text-align: left;
  font-weight: 500;
  white-space: nowrap;
  width: 30%;
}
.wp-block-table.is-style-stripes tbody td{
  font-weight: 500;
  font-size: clamp(24px, 2.44vw, 28px);
  line-height: 1.0;
  color: #ed6c00;
  text-align: center;
  width: 70%;
}
.wp-block-table.is-style-stripes tbody td .s{
  font-size: clamp(16px, 1.57vw ,18px);
}
.wp-block-table.is-style-stripes tbody td .txt{
  font-size: clamp(16px,1.74vw,20px);
}


#plan-price-table thead th{
  padding-bottom: 0;
}
#plan-price-table thead th:last-child{
  padding-right: 0;
}
#plan-price-table tbody th{
  width: clamp(90px, 34.37vw, 264px);
  
}

.plan-detail{
  margin-top: clamp(40px, 10.52%, 100px);
  max-width: 950px;
  margin-left: auto;
  margin-right: auto;
}
.plan-detail figure:nth-child(2){
  margin-top: 0!important;
}

#plan-price{
  position: relative;
}

.post-name-plan .entry-body .wp-block-list{
  font-size: 16px;
}
@media (max-width: 1200px) {
  #plan-price{
    padding-bottom: 20px;
    margin-bottom: 20px;
    margin-top: -12.21%;
  }
  #plan-price .wp-block-table.is-style-vk-table-scrollable[data-scroll-breakpoint=table-scrollable-mobile] table{
    table-layout: auto;
    width: ;
  }
  #plan-price .vk-scroll-hint[data-scroll-breakpoint=table-scrollable-mobile] {
    position: absolute;
    bottom: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    font-size: 22px;
    
  }
  .vk-scroll-hint[data-scroll-breakpoint=table-scrollable-mobile] i:first-child {
    margin-right: auto;
  }
  .vk-scroll-hint[data-scroll-breakpoint=table-scrollable-mobile] i:last-child {
    margin-left: auto;
  }
}
@media (max-width: 992px) {
  #plan-price-table{
    margin-right: calc(((100svw - 100%) / 2)* -1);
  }
}
@media (max-width: 767px){
  .wp-block-table.is-style-stripes th,
  .wp-block-table.is-style-stripes td{
    padding: 15px 10px;
  }
  .wp-block-table.is-style-stripes td{
    padding-left: 0;
    padding-right: 10px;
    white-space: nowrap;
  }
  .wp-block-table.is-style-stripes:not(#plan-price-table) thead{
    display: none;
  }
  .wp-block-table.is-style-stripes tbody th{
    width: auto;
    padding-left: 10px;
  }
  .wp-block-table.is-style-stripes tbody td{
    width: auto;
  }
}

/* plan detail */
section.plan-detail {
  border-radius: 30px;
}
section.plan-detail .plan-header {
  padding: 30px 40px;
}
section.plan-detail .plan-header .wp-block-heading {
  border-bottom: 0 none;
  padding-bottom: 0;
  vertical-align: middle;
}
section.plan-detail .plan-header .wp-block-heading span {
  display: inline;
  margin-left: .75em;
  margin-top: 0;
  vertical-align: .2em;
}
section.plan-detail .plan-content{
  border-width: 10px;
  border-top-width: 0;
  border-style: solid;
  border-radius: 0 0 30px 30px;
  background: #fff;
  padding: clamp(30px, 5.37%, 50px) min(9.67%, 90px);
}
section.plan-detail .plan-content-title {
  background: transparent;
  padding: 0;
  font-size: clamp(20px,3.36vw,32px);
  line-height: 1.8125;
}
ul.plan-overview {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /*column-gap: calc((100% - calc(clamp(64px,15.78vw,150px) * 4))/3);*/
  column-gap: 6.23%;
  padding-left: 0;
  width: 100%;
  max-width: 738px;
  margin-left: auto;
  margin-right: auto;
  /*white-space: normal;*/
}
ul.plan-overview li{
  display: block;
  /*width: clamp(64px,15.78vw,150px);
  height: clamp(64px,15.78vw,150px);*/
  width: 20.35%;
  height: 0;
  padding-top: 20.35%;
  border-radius: 50%;
  line-height: 1.14;
  font-size: clamp(14px,2.1vw,20px);
  position: relative;
  margin: 0;
}
ul.plan-overview li span{
  position: absolute;
  top: 50%;
  width: 90%;
  max-height: 100%;
  left: 5%;
  text-align: center;
  transform: translateY(-50%);
}
ul.plan-overview li:not(:first-child)::before{
  content: "\2b";
  font-family: "Font Awesome 6 Free";
  font-size: 1.3em;
  text-indent: 0;
  display: block;
  line-height: 1.0;
  font-weight: 700;
  width: 30.6%;
  text-align: center;
  /*padding-left: .5em;
  padding-right: .5em;*/
  position: absolute;
  right: 100%;
  top: 50%;
  margin-top: -.5em;
}

ol.plan-flow-list {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  /*column-gap: 2.75em;*/
  column-gap: min(5.3vw, 40px);
  padding-left: 0;
}
ol.plan-flow-list:last-child {
  margin-bottom: 0;
}
ol.plan-flow-list li{
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 1.5em;
  padding: 1em;
  line-height: 1.14;
  font-size: clamp(14px,1.81vw,20px);
  letter-spacing: -.05em;
  position: relative;
  color: #fff;
  font-weight: 700;
  min-width: 5.5em;
  margin: 0;
  white-space: nowrap;
}
ol.plan-flow-list li:not(:first-child)::before{
  content: "\f04b";
  font-family: "Font Awesome 6 Free";
  color: #5b4636;
  font-size: 1.3em;
  text-indent: 0;
  display: block;
  line-height: 1.0;
  font-weight: 700;
  /*padding-left: .4em;
  padding-right: .4em;*/
  width: min(5.3vw, 40px);
  text-align: center;
  position: absolute;
  right: 100%;
}

.plan-premium.plan-detail .plan-content{border-color: #f8e6e7;}
.plan-standard .plan-content{border-color: #e5f3f3;}
.plan-light .plan-content{border-color: #f5f0e2;}

.plan-premium ul.plan-overview li{background-color: #f8e6e7;}
.plan-standard ul.plan-overview li{background-color: #e5f3f3;}
.plan-light ul.plan-overview li{background-color: #f5f0e2;}

.plan-premium ol.plan-flow-list li{background-color: var(--vk-color-custom-2);}
.plan-standard ol.plan-flow-list li{background-color: var(--vk-color-custom-3);}
.plan-light ol.plan-flow-list li{
  background-color: var(--vk-color-primary);
  padding: 1em .5em;
}

@media (max-width: 992px){
  section.plan-detail .plan-content-title {
    line-height: 1.5;
  }
  section.plan-detail .plan-content{
    padding-left: max(20px, 5.3vw);
    padding-right: max(20px, 5.3vw);
  }
}
@media (max-width: 768px){
  ul.plan-overview {
    justify-content: center;
  }
  ol.plan-flow-list {
    justify-content: center;
    flex-direction: column;
    gap: 40px;
  }
  ol.plan-flow-list li{
    font-size: 18px;
    padding-left: 2em;
    padding-right: 2em;
  }
  ol.plan-flow-list li:not(:first-child)::before {
    transform: rotate(90deg);
    right: 50%;
    margin-right: -20px;
    bottom: 100%;
    width: 40px;
    line-height: 40px;
  }
  .plan-light ol.plan-flow-list li{
    padding-left: 1em;
    padding-right: 1em;
  }
}
@media (max-width: 450px){
  ul.plan-overview {
    width: calc(100% + 6.76%);
    margin-left: -3.38%;
  }
}

/*****************************
 OPTION
******************************/
.option-list {
  grid-gap: min(4.36vw, 50px) min(2.61vw, 30px);
}
.option-list:not(:last-child){
  margin-bottom: 3.926%;
}
.option-item{
  background: #f6f5f5;
  border-radius: 30px;
  padding: clamp(30px, 3.05vw, 35px) clamp(30px, 3.9vw, 45px) clamp(35px, 4.79vw, 55px);
}
.option-item .title-01{
  margin-bottom: .75em;
}
.option-item .price:empty {
  min-height: 1em;
}
.option-item figure.wp-block-image.option-img {
  margin-bottom: min(2.61%, 30px);
  max-height: 300px;
  padding-top: 68.96%;
  position: relative;
}
.option-item figure.wp-block-image.option-img img {
  max-height: 100%;
  position: absolute;
  display: block;
  object-fit: contain;
  object-position: center center;
  top: 0;
  left: 0;
}
.option-text{
  font-size: clamp(16px, 1.57vw, 18px);
  line-height: 1.77;
}

@media (max-width: 767px){
  .option-list.is-layout-grid {
    grid-template-columns: 1fr;
    grid-gap:30px;
  }
  .option-item .price:empty {
    min-height: inherit;
  }
  .option-text{
    line-height: 1.5;
  }
}

#page-option .wp-block-list{
  font-size: 16px;
}


/*****************************
 GUIDE
******************************/
body.post-name-guide .site-body {
  padding-bottom: 0;
}
body.post-name-guide .site-footer {
  margin-top: clamp(-100px, -6.944vw, -80px);
}
#page-guide .article-contents{
  background: url(../images/bg_beige.jpg) 0 0 repeat;
  background-size: 512px auto;
  padding: clamp(65px, 6.944vw, 100px) var(--vk-width-container-padding) calc(clamp(2rem, 6.944vw, 6.25rem) + clamp(80px, 6.944vw, 100px));
  position: relative;
  margin-top: -2%;
  
}
#page-guide .article-contents::before{
  content: "";
  display: block;
  width: 100%;
  height: clamp(40px, 8.33vw, 120px);
  position: absolute;
  top: 0;
  background: url(../images/bg_arch.svg) top center no-repeat;
  background-size: 100% auto;
  left: 0;
}
.guide-item{
  max-width: 1300px!important;
  padding: 9.1% 5.3% 5.3%!important;
  position: relative;
}
.guide-item:not(:last-child){
  margin-bottom: clamp(18px, 5.04vw, 50px)!important;
}

.guide-item .title-01.has-num {
  margin-left: 3.5em!important;
}
.guide-item .title-01 .num{
  font-size: 5.357em;
  margin-left: -.9em;
  /*margin-top: -.57em;*/
  /*margin-bottom: -.1em;*/
  width: .65em;
  font-weight: 100;
}

.guide-item .wp-block-media-text__title{
  order: 0;
}
.guide-item .wp-block-media-text__media{
  /*width: 35%;*/
  order: 1;
  margin: 0!important;
}
.guide-item .wp-block-media-text__content{
  padding-left: 0;
  padding-right: 30px;
  order: 2;
}
.guide-item .wp-block-media-text__content2{
  order: 3;
}

.guide-item .wp-block-media-text__content p{
  margin-bottom: .5em!important;
}

@media (max-width: 992px){
  .guide-item .wp-block-media-text__title{
    grid-column: span 2;
  }
  .guide-item .wp-block-media-text__media{
    order: 2;
  }
   .guide-item .wp-block-media-text__content{
     order: 1;
  }
}
@media (max-width: 767px){
  .guide-item{
    padding-bottom: 9.1%!important;
  }
  .guide-item.is-style-vk-group-shadow{
    border-radius: 50px;
  }
  .guide-item .title-01{
    margin-bottom: 1.5rem;
  }
  .guide-item .title-01 .num{
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 0;
    top: -1.25em;
    font-size: 2.5em;
    font-weight: 300;
  }
  
  .guide-item .wp-block-media-text__content{
    margin-top: 1.5rem;
    padding-right: 0;
  }
  
}

.guide-item .wp-block-list{
  font-size: 18px;
  letter-spacing: .05em;
}
.guide-item .wp-block-list .notice {
  font-size: .88em;
  margin-top: .5em;
}

.guide-item > .guide-inner-item{
  border-top: 2px solid #ada293;
  margin-top: 5.23%;
  padding-top: 5.23%;
}
.guide-inner-item > h4.wp-block-heading {
  font-weight: 700;
  font-size: clamp(22px, 2.44vw, 28px);
  margin: 0 8.5% 1.78em 3.9%!important;
  line-height: 1.5;
}

.guide-item dl.flow-list,
.guide-item dl.plan-list {
  margin: 0 8.5% 0 3.9%!important;
}

@media (max-width:768px){
  .guide-item .wp-block-list{
    font-size: 16px;
  }
  .guide-inner-item > h4.wp-block-heading{
    margin-left: 0!important;
    margin-right: 0!important;
  }
  .guide-item dl.flow-list,
  .guide-item dl.plan-list {
    margin: 0 auto!important;
  }
  
  .guide-item .vk_button.vk_button-align-left{
    text-align: center;
  }
}

#guide-04 .wp-block-media-text__media{
  grid-row: none;
}
#guide-04 .wp-block-media-text__media img {
  position: absolute;
  width: 24.86%;
  height: auto;
  top: 3.54vw;
  right: 5.46vw;
}
#guide-04 .wp-block-media-text__title,
#guide-04 .wp-block-media-text__content {
  grid-column: span 2;
}
#guide-04 .wp-block-media-text__title{
  padding-right: 30.86%;
}
#guide-04 .wp-block-media-text__content{
  margin-top: -24px;
}
#guide-04 .wp-block-media-text{
  grid-template-columns: auto 0!important;
}
#guide-04 .contact-info-box {
  margin-top: 1.1625rem ;
}

@media (max-width: 992px){
  #guide-04 .wp-block-media-text__media {
    right: 5vw;
  }
}
@media (max-width: 767px){
  #guide-04 .wp-block-media-text__media {
    /*position: relative;
    top: inherit;
    right: inherit;*/
    width: 100%;
    text-align: center;
  }
   #guide-04 .wp-block-media-text__media img {
     width: 80%;
     position: relative;
     top: inherit;
     right: 0;
     margin: auto;
  }
  #guide-04 .wp-block-media-text__title{
    padding-right: 0;
  }
  #guide-04 .wp-block-media-text__content{
    margin-top: 1.5rem;
  }
}

#guide-05.wp-block-media-text2 {
  grid-template-columns: auto 32%!important;
  
  grid-template-columns: auto!important;
}
#guide-05 dl.plan-list{
  margin-left: 45px!important;
}
#guide-05 .wp-block-media-text__content{
  
}
@media (max-width: 768px){
  #guide-05 dl.plan-list{
    margin-left: 0!important;
  }
}

/*****************************
 FAQ
******************************/
.pnav{
  font-size: 20px;
  font-weight: 700;
  gap: 20px;
  margin-bottom: min(10.47vw, 120px);
}
.pnav li {
  width: 100%;
}
.pnav a {
  background: #f6f5f5;
  padding: .85em 5px;
  border-radius: 5px;
  text-align: center;
  line-height: 1.2;
  width: 100%;
  transition-duration: .3s;
  transition-property: color, background;
}
.pnav a:hover {
  background-color: #ed6c00;
  color: #fff!important;
}
@media (max-width: 767px){
  .pnav ul.wp-block-navigation__container{
    flex-direction: column;
  }
}
@media (min-width: 768px){
  .pnav{
    font-size: 1.8vw;
    gap: min(1.8vw, 30px);
  }
  .pnav li {
    width: calc((100% - (min(1.8vw, 30px) * 2))/3);
  }
  .pnav a {
    padding: 1.4em 5px;
  }
}
@media (min-width: 1024px){
  .pnav{
    font-size: min(1.4vw, 20px);
  }
  .pnav li {
    width: calc((100% - (min(1.8vw, 30px) * 3))/4);
  }
}

.faq-title{
  border-top: 0 none;
  border-bottom: 0 none;
  padding: 0 0 0 calc(1rem + 10px);
  position: relative;
  font-size: clamp(24px, 3.6458vw, 28px);
  font-weight: 500;
  letter-spacing: .1em;
  line-height: 1.71;
}
.faq-title:not(:first-of-type){
  margin-top: clamp(40px, 9.114583vw, 70px);
}
.faq-title::before{
  content: "";
  display: block;
  position: absolute;
  left: 0;
  top: .321em;
  width: 10px;
  height: calc(100% - .6428em);
  background: #ed6c00;
  border-radius: 3px;
}

dl.vk_faq{
  border-bottom: 0 none;
  padding-bottom: 0;
  margin-bottom: 20px;
}
.vk_faq dt.vk_faq_title{
  background: #f6f5f5;
  border-radius: 5px;
  font-size: clamp(16px, 2.016vw, 20px);
  font-weight: 500;
  border-bottom: 0 none;
  cursor: pointer;
  transition: background .3s;
  padding: 1.25em 3.1em;
}
/*.vk_faq .vk_faq_title:hover{
  background-color: #e1e0e0;
}*/
.vk_faq dt.vk_faq_title::before{
  color: #ed6c00;
  font-size: clamp(24px, 2.822vw, 28px);
  width: 2.428em;
  height: 2.428em;
  line-height: 2.428em;
  top: .1785em;
}
.vk_faq .vk_faq_title::after{
  content: "\f078";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  -moz-osx-font-smoothing: grayscale;
  -webkit-font-smoothing: antialiased;
  display: var(--fa-display, inline-block);
  font-style: normal;
  font-variant: normal;
  line-height: 1;
  text-rendering: auto;
  
  transition: transform .3s;
  
  font-size: 1.3em;
  position: absolute;
  right: 0;
  top: 1.5em;
  width: 3em;
  height: 1em;
  margin-top: -.5em;
  text-align: center;
}
.vk_faq.open .vk_faq_title::after{
  transform: rotate(180deg);
}

.vk_faq dd.vk_faq_content{
  display: none;
  transition: none!important;
  font-size: clamp(16px, 1.814vw, 18px);
  letter-spacing: .1em;
  line-height: 1.5;
  padding: 1em 1em .5em;
}
.vk_faq dd.vk_faq_content > * {
  line-height: 1.5;
}
.vk_faq dd.vk_faq_content::before {
  content: none;
}
.vk_faq.open .vk_faq_content{
}

.vk_faq_content .wp-block-image.faq-card-img {
  max-width: 634px;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 992px){
  .vk_faq dd.vk_faq_content{
    line-height: 2.0;
    /*padding: 1.6em 5.4em .5em;*/
    padding: 1.6em 8.96% .5em;
  }
  .vk_faq dd.vk_faq_content > * {
    line-height: 2.0;
  }
}

/*****************************
 CONTACT
******************************/
#page-contact{
  max-width: 754px;
  margin: 0 auto;
}
#page-contact .outline-txt{
  max-width: 558px;
  line-height: 2.0;
  letter-spacing: .05em;
  font-size: 16px;
  position: relative;
}
#page-contact .outline-txt::before{
  content: "";
  width: 200px;
  height: 150px;
  background: url(../images/ico_mail_o.png) center center no-repeat;
  background-size: contain;
  opacity: .1;
  position: absolute;
  top: 0;
  right: 0;
  margin-top: -20px;
  margin-right: -128px;
}
#page-contact .contact-tel-box{
  margin-bottom: 4rem;
  margin-top: -1rem;
  position: relative;
}
.color-link{
  color: #ed6c00;
}

@media (max-width: 768px){
  #page-contact .contact-tel-box::after{
    content: "";
    position: absolute;
    display: block;
    width: calc(100vw - 40px);
    border-bottom: 2px solid currentColor;
    bottom: -2rem;
    left: 50%;
    transform: translateX(-50%);
  }
  #page-contact .outline-txt{
    line-height: 1.5;
  }
  #page-contact .outline-txt::before{
    top: 50%;
    left: 50%;
    margin-left: -100px;
    margin-top: -75px;
  }
}

/* input */
.form-set{
  margin: 50px auto 0;
}
fieldset.form-item {
  border: 0 none;
  padding: 0;
  margin-bottom: 15px;
}
fieldset.form-item legend.form-label{
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  margin-bottom: .75em;
}
fieldset.form-item.req legend.form-label::after{
  content: "必須";
  color: #fff;
  background: #ef858c;
  font-size: 14px;
  font-weight: 500;
  margin-left: .5em;
  border-radius: 5px;
  padding: 2px 5px;
}
fieldset.form-item.check-acceptance legend.form-label::after{
  margin-left: -.5em;
}
input[type=date], input[type=email], input[type=number], input[type=password], input[type=tel], input[type=text], input[type=url], select, textarea {
  font-size: 16px;
  border: 0 none;
  border-radius: 10px;
  background: #f6f5f5;
  padding: 1.35em;
  margin-bottom: 0;
}
input[type=date]::placeholder, input[type=email]::placeholder, input[type=number]::placeholder, input[type=password]::placeholder, input[type=tel]::placeholder, input[type=text]::placeholder, input[type=url]::placeholder, select::placeholder, textarea::placeholder{
  color: #a89d95;
}
input[type=date].wpcf7-not-valid, input[type=email].wpcf7-not-valid, input[type=number].wpcf7-not-valid, input[type=password].wpcf7-not-valid, input[type=tel].wpcf7-not-valid, input[type=text].wpcf7-not-valid, input[type=url].wpcf7-not-valid, select.wpcf7-not-valid, textarea.wpcf7-not-valid, .wpcf7-not-valid {
  background-color: #fde9e9;
}
.form-item.w30 .wpcf7-form-control-wrap{
  width: 30%;
  min-width: 200px;
}

.form-item.check-acceptance .form-label{
  margin-top: .65em;
  margin-bottom: 0;
}

.wpcf7-acceptance .wpcf7-list-item{
  position: relative;
  margin-left: 0;
}
.wpcf7-acceptance .wpcf7-list-item a {
  color: #ed6c00;
  text-decoration: underline;
  text-decoration-style: solid;
  text-underline-offset: 2px;
  text-decoration-color: rgba(237, 108, 0, .5);
  text-decoration-thickness: 1px;
  transition-duration: .3s;
  transition-property: text-decoration-color;
}
.wpcf7-acceptance .wpcf7-list-item a:hover {
  text-decoration-color: transparent;
}
.wpcf7-acceptance label{
  line-height: 1.0;
}
.wpcf7-acceptance input[type="checkbox"] + span::before,
.wpcf7-acceptance input[type="checkbox"] + span::after{
  content: "";
  
  display: block;
  position: absolute;
  left: 3px;
  top: 3px;
}
.wpcf7-acceptance input[type="checkbox"] + span::before{
  background-color: #a89d95;
  width: 16px;
  height: 16px;
  margin-top: 12px;
  margin-left: 12px;
  border-radius: 8px;
  z-index: 2;
  opacity: 0;
  transition: opacity .2s;
}
.wpcf7-acceptance input[type="checkbox"] + span::after{
  background-color: #f6f5f5;
  width: 40px;
  height: 40px;
  border-radius: 20px;
  z-index: 1;
}
.wpcf7-acceptance input[type="checkbox"]:checked + span::before{
  opacity: 1;
}

.wpcf7-acceptance input.form-input {
  width: 40px;
  height: 40px;
  vertical-align: middle;
  border: 0 none;
  visibility: hidden;
}
.wpcf7-acceptance .wpcf7-list-item-label {
  font-size: 16px;
  vertical-align: middle;
}

.wpcf7-radio{
  display: block;
  padding-top: 1em;
  padding-bottom: 1em;
}
.wpcf7-list-item.first{
  margin-left: 0;
}

.wpcf7-form-control-wrap{display: block;}
.wpcf7-form-control-wrap[data-name="your-pref"]::after{
  content: '\f078';
  font-family: "Font Awesome 6 Free";
  font-size: 1.25em;
  font-weight: 700;
  position: absolute;
  top: 0;
  right: 0;
  padding: 0.8em;
  width: fit-content;
  color: #999;
  pointer-events:none
}

div.wpcf7cp-btns,
.form-btn{
  text-align: center;
  margin-top: 6.25%;
  display: block;
  position: relative;
}

.wpcf7-not-valid-tip{
  font-size: .8125em;
}

.wpcf7-spinner {
  position: absolute;
  top: 50%;
  left: 50%;
  margin: 0 !important;
  transform: translate(-50%, -50%);
}
form.submitting button.wpcf7-submit.has-spinner{
  opacity: .5;
}

@media (max-width: 991px){
  .wpcf7-radio{
    padding: .5em 0;
  }
  .wpcf7-list-item{
    display: block;
    margin: 1em 0;
  }
  .wpcf7-list-item.first{
    margin-top: 0;
  }
  .wpcf7-list-item.last{
    margin-bottom: 0;
  }
  .has-text-align-center{
    text-align: left;
  }
  .wpcf7-spinner{
    display: block;
    /*margin: 15px auto;*/
  }
  fieldset.form-item.check-acceptance .form-label,
  fieldset.form-item.check-acceptance .wpcf7-form-control-wrap {
    float: left;
  }
  fieldset.form-item.check-acceptance .form-label{
    margin-right: .25em;
  }
  fieldset.form-item.check-acceptance .wpcf7-form-control-wrap {
    line-height: 1.0;
  }
  fieldset.form-item.check-acceptance .wpcf7-list-item{
    margin: 0;
  }
}
@media (min-width: 992px){
  input[type=date], input[type=email], input[type=number], input[type=password], input[type=tel], input[type=text], input[type=url], select, textarea{
    font-size: 18px;
  }
  fieldset.form-item {
    position: relative;
    overflow: hidden;
    margin-right: 0;
    width: 100%;
    margin-bottom: 30px;
  }
  fieldset.form-item legend.form-label{
    width: 196px;
    font-size: 18px;
    padding-right: 3.75em;
    position: relative;
    float: left;
    margin-top: 1.35em;
    margin-bottom: 1em;
  }
  fieldset.form-item legend.form-label::after{
    display: block;
    position: absolute;
    right: 0;
    top: 0;
    margin-left: 0;
    margin-right: 1em;
    line-height: 1.75;
    width: calc(2em + 10px);
    padding: 0 5px;
    font-size: 15px;
  }
  fieldset.form-item.check-acceptance legend.form-label::after{
    margin-left: 0;
    margin-right: 1em;
  }
  
  .wpcf7-form-control-wrap{
    width: calc(100% - 196px);
    display: block;
    float: left;
  }
  
  div.wpcf7cp-btns{
    display: flex;
    gap: 20px;
  }
  
}


button.wpcf7-form-control{
  font-family: "Zen Kaku Gothic New", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", メイリオ, Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  width: 100%;
  border-radius: 20px;
  padding: 1em 1.05em;
  font-size: 20px;
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: .1em;
  text-align: center;
  vertical-align: middle;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  border: 0 none;
  transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
  color: #fff;
  cursor: pointer;
  display: block;
  margin-left: 0;
  margin-right: 0;
}
button.wpcf7-form-control::after {
  content: "\f061";
  font-family: "Font Awesome 6 Free";
  font-size: 1.5em;
  /*margin-right: .35em;*/
  text-indent: 0;
  display: inline-block;
  line-height: 1.0;
  vertical-align: bottom;
  font-weight: 700;
  
  transition: transform .3s;
  margin-left: 1em;
  margin-right: -1em;
  margin-top: .15em;
}
button.wpcf7-form-control:not([disabled]):hover::after {
  transform: translateX(50%);
}
button.wpcf7cp-cfm-edit-btn{
  background: #666;
}
button.wpcf7cp-cfm-edit-btn::before {
  /*content: "\f3e5";*/
}
button.wpcf7cp-cfm-edit-btn:hover {
  background-color: #999;
}
button.wpcf7-submit{
  background: var(--wp--preset--color--vk-color-primary);
}
/*.wpcf7-submit::before{
  content: "\f044";
}*/
button.wpcf7-submit:not([disabled]):hover {
  background-color: var(--vk-color-custom-1);
}

@media (min-width: 992px) {
  .wpcf7-form-control::before {
  }
  button.wpcf7-form-control{
    padding-top: 2em;
    padding-bottom: 2em;
  }
  button.wpcf7-form-control::after{
    margin-left: 2em;
    margin-right: -2em;
  }
}

.wpcf7 + .has-text-align-center.notice{
  margin-top: 50px;
}

.wpcf7cp-form-hide{
  position: absolute;
}
div#wpcf7cpcnf{
  position: relative;
  margin-top: 8%;
}
#wpcf7cpcnf table{
  border-color: currentColor;
  border-style: dotted;
  border-left: 0 none;
  border-right: 0 none;
}
#wpcf7cpcnf th, #wpcf7cpcnf td {
  padding: 1.35rem;
  border-color: currentColor;
  border-style: dotted;
  border-left: 0 none;
  border-right: 0 none;
  font-size: 18px;
}
#wpcf7cpcnf th{
  width: 196px;
  text-align: left;
}
#wpcf7cpcnf td{
  width: calc(100% - 196px);
}
@media (max-width: 991px){
  #wpcf7cpcnf table, #wpcf7cpcnf tr, #wpcf7cpcnf th, #wpcf7cpcnf td {
    display: block;
    width: 100%;
    border-left: 0 none;
    border-right: 0 none;
  }
  #wpcf7cpcnf table {
    border: 0 none;
  }
  #wpcf7cpcnf th{
    border: 0 none;
  }
  #wpcf7cpcnf td{
    background: #f6f5f5;
    min-height: 3em;
    border-top: 0 none;
    border-bottom-color: #ccc;
  }
}


/* complete */
.contact-complete{
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 70px;
}
@media (max-width: 768px){
  .post-name-thanks h1.page-header-title{
    font-size: 31px;
  }
}

/*****************************
 PRIVACY POLICY
******************************/
.privacy-content{
  max-width: 754px;
  margin-left: auto;
  margin-right: auto;
}
.privacy-content p.privacy-date {
  margin-top: 4em;
  line-height: 2.0;
  letter-spacing: .1em;
}