@charset "utf-8";

.sub_header_area .logo{
  background-image: url(../img/logo-87cyabou-white.svg);
}
.sub_header_area .nav > ul li a{
  color: #fff;
}

.obi_bg{
  background-color: #628675;
  min-height: 260px;
  height: 30vh;
}
.obi_container{
  position: relative;
  max-width: 1100px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
}
.obi_container > .wrapper {
  margin: 0 15px;
  height: 100%;
  width: calc(100% - 100px);
}
.obi{
  position: relative;
  width: calc(100% - 70px);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-bottom: 25px;
}
.obi .title_h1{
  font-family: "Open Sans", sans-serif;
  font-size: 44px;
  color: #fff;
  line-height: 1;
  font-weight: 700;
}
.obi .title_h1::first-letter {
  text-transform: capitalize;
}
.obi .sub_title_h1{
  font-size: 12px;
  line-height: 12px;
  margin-top: 5px;
  color: #fff;
}


.sub{
  margin-top: 60px;
}
.lead{
  font-size: 16px;
  line-height: 32px;
}
.lead.center{
  text-align: center;
}

.sub_concept .con_01_flex{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}
.sub_concept .con_01_flex > .box_img{
  width: calc(52% - 30px);
  margin-right: 30px;
}
.sub_concept .con_01_flex > .box_txt{
  width: 48%;
}
.sub_concept .con_01_flex > .box_txt .catch{
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  color: #2D523F;
  writing-mode: vertical-rl;
  font-size: 30px;
  line-height: 54px;
}
.sub_concept .txt01{
  margin-top: 60px;
  font-size: 16px;
  line-height: 32px;
}
.sub_concept .txt02{
  margin-top: 40px;
  font-size: 16px;
  line-height: 32px;
}

.common_link{
  margin-top: 80px;
}
.common_link .link_flex{
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}
.common_link .link_flex > .banner{
  width: calc(50% - 30px);
  margin: 20px 15px;
  display: flex;
  align-items: center;
  height: 275px;
  border-radius: 20px;
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.common_link .link_flex > .banner_gift{
  background-image: url(../img/banner-gift.jpg);
}
.common_link .link_flex > .banner_access{
  background-image: url(../img/banner-access.jpg);
}
.common_link .link_flex > .banner .con{
  position: absolute;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  padding-left: 20px;
}
.common_link .link_flex > .banner .con .title_en{
  font-family: "Open Sans", sans-serif;
  font-size: 40px;
  font-weight: 600;
  line-height: 1;
}
.common_link .link_flex > .banner .con .title_jp{
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  margin-top: 5px;
}
.common_link .link_flex > .banner .bg_gradients{
  position: relative;
  width: 50%;
  height: 100%;
  display: inline-block;
  z-index: 1;
}
.common_link .link_flex > .banner .bg_gradients::before{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 20px 0 0 20px;
  background: linear-gradient(90deg, #000000, transparent);
}

.google_calendar {
  margin-top: 80px;
}
.gc_iframe iframe{
  width: 100%;
}

.sub_privacy h2{
  margin-top: 40px;
}
.sub_privacy ol{
  margin-top: 20px;
}
.sub_privacy ol li{
  padding: 10px 0 ;
}

.sub_faq hr{
  border-top: 1px solid #628675;
}
.sub_faq ul,
.sub_faq ol{
  margin-top: 20px;
  font-weight: 400;
}

.sub_faq_area{
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  font-weight: 400;
}
.sub_faq_area .side_faqMenu{
  width: calc(30% - 30px);
  margin-right: 30px;
}
.sub_faq_area .main_con{
  max-width: 730px;
  width: 70%;
  margin-left: auto;
}

.sub_faq_area h2 span{
  display: inline-block;
  background-color: #628675;
  border-radius: 5px 5px 0 0;
  color: #f8f8f8;
  font-weight: 500;
  line-height: 1;
  padding: 10px 40px;
}

.sub_faq_area .side_faqMenu ul{
  position: sticky;
  top: 20px;
  list-style: none;
  padding-left: 0px;
}
.sub_faq_area .side_faqMenu ul li a{
  position: relative;
  width: 100%;
  display: inline-block;
  color: #123524;
  padding: 10px 0 10px 25px;
  line-height: 18px;
}
.sub_faq_area .side_faqMenu ul li a:before{
  content: "";
  position: absolute;
  top: 12px;
  left: 0;
  width: 16px;
  height: 16px;
  background-image: url(../img/i-sflower.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
}
.sub_faq_area .faq_column{
  margin-bottom: 80px;
}
.sub_faq_area .faq_column:last-of-type{
  margin-bottom: 0px;
}
.sub_faq_area .faq_con{
  border-top:1px solid #628675;
  margin-bottom: 30px;
}
.sub_faq_area .faq_con:last-of-type{
  padding-bottom: 30px;
  border-bottom:1px solid #628675;
}

.sub_faq_area .faq_con > .faq_q,
.sub_faq_area .faq_con > .faq_a{
  position: relative;
  padding-left: 35px;
  color: #2D523F;
  margin-top: 30px;
}
.sub_faq_area .faq_con > .faq_q p{
  font-size: 18px;
  line-height: 30px;
  font-weight: 500;
}
.sub_faq_area .faq_con > .faq_a{
  margin-top: 20px;
}

.sub_faq_area .faq_con > .faq_a p{
  color: #000;
  font-size: 16px;
  line-height: 32px;
  font-weight: 400;
}
.sub_faq_area .faq_con > .faq_q:before,
.sub_faq_area .faq_con > .faq_a:before{
  content: "Q.";
  position: absolute;
  top: 5px;
  left: 0;
  font-size: 20px;
  line-height: 1;
  font-weight: 700;
}
.sub_faq_area .faq_con > .faq_a:before{
  content: "A.";
}

.sub_faq_area .faq_con > .faq_a a{
  color: #628675;
  text-decoration: underline;
}
.sub_faq_area .faq_con > .faq_a a:hover{
  color:#123524;
}


/* ギフト */
.sub_gift .page_links{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.sub_gift .page_links a{
  position: relative;
  display: inline-block;
  width: 165px;
  color: #123524;
  background-color: #F8F8F8;
  border-radius: 9999px;
  padding: 8px 15px;
  margin: 20px 15px;
}
.sub_gift .page_links a:before{
  content: '';
  width: 8px;
  height: 8px;
  border: 0;
  border-bottom: solid 2px #123524;
  border-right: solid 2px #123524;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right:  15px;
  bottom: 0;
  margin: auto;
}
.sub_gift .page_links a:hover{
  background-color: #FFD633;
}
.categoryName{
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin-top: 100px;
  margin-bottom: 40px;
}
.categoryName h2{
  font-size: 45px;
  line-height: 0.8;
  letter-spacing: -2px;
  font-family: "Open Sans", sans-serif;
  color: #123524;
}
.categoryName h2{
  margin: 0 15px 0 0;
}
.categoryName span{
  display: inline-block;
  color: #123524;
  font-weight: 500;
}
/* ギフト アイテム */
.gift_flex{
  display: flex;
  flex-wrap: wrap;
  margin-left: -15px;
  margin-right: -15px;
}
.gift_flex > .item{
  width: calc((100% / 4) - 30px);
  margin: 20px 15px;
  cursor: pointer;
}
.gift_flex > .item .item_img{
  text-align: center;
  transition: 0.3s;
  width: 100%;
  max-height: 298px;
  height: auto;
  overflow: hidden;
}
.gift_flex > .item img{
  transition: 0.3s;
}
.gift_flex > .item:hover img{
  transform: scale(1.2, 1.2);
}
.gift_flex > .item .item_no{
  font-size: 14px;
  line-height: 16px;
  font-weight: 400;
  margin-top: 6px;
}


.sub_404{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin-bottom: 15vh;
}
.btn_404{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 100px;
}
.btn_404 a{
  margin-top: 40px;
  display: inline-block;
  text-align: center;
  background-color: #628675;
  border-radius: 9999px;
  color: #f8f8f8;
  padding: 15px 40px;
}


@media only screen and (max-width: 767px) {
  .sub_concept .con_01_flex > .box_img{
    width: 100%;
    text-align: center;
    margin-top: 30px;
    margin-right: 0;
    order: 2;
  }
  .sub_concept .con_01_flex > .box_txt{
    width: 100%;
    order: 1;
  }
  .common_link .link_flex{
    margin-left: 0;
    margin-right: 0;
  }
  .common_link .link_flex > .banner{
    width: 100%;
    margin: 20px 0;
    height: 260px;
  }


  .sub_faq_area .side_faqMenu{
    width:100%;
    margin-right: 0;
    margin-bottom: 40px;
  }
  .sub_faq_area .main_con{
    width:100%;
  }
  .sub_gift .page_links a{
    width: 100%;
  }
  /* ギフト アイテム */
  .gift_flex > .item{
    width: calc((100% / 2) - 30px);
  }
  .gift_flex > .item .item_img{
    max-height: 350px;
  }


}



/*--------------------------------------------------------------
   ページャー
--------------------------------------------------------------*/
.pagenavi{
  font-family: "Noto Sans", system-ui;
  margin: 40px auto;
  font-size: 1.5rem;
  line-height: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.wp-pagenavi span.pages{
  display: none;
}
.wp-pagenavi {
  clear: both;
  text-align:center;
  float: none !important;
}
.wp-pagenavi a, .wp-pagenavi span {
  display: inline-block;
  line-height: 1;
  color: #f8f8f8 !important;
  background-color: #2D523F !important;
  padding: 8px 12px !important;
  margin: 0 2px !important;
  white-space: nowrap;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
  transition: 0.2s ease-in-out;
  text-align: center;
  text-decoration: none;
  border: 1px solid #2D523F !important;
  -webkit-border-radius: 0px !important;
  font-size: 16px !important;
}
.wp-pagenavi a:hover{
  color: #2D523F !important;
  background-color: #F8F8F8 !important;
  background: #F8F8F8 !important;
}
.wp-pagenavi span.current{
  padding: 8px 12px !important;
  color: #2D523F !important;
  border-radius: 0px !important;
  background-color: #F8F8F8 !important;
  background: #F8F8F8 !important;
  border: 1px solid #2D523F !important;
}
.wp-pagenavi a:hover, .wp-pagenavi span.current {
  border: 1px solid #2D523F !important;

}

.info_area time{
  display: inline-block;
  font-size: 16px;
}
.info_area h1{
  font-size: 30px;
  background-color: #F8F8F8;
  margin-top: 10px;
  padding: 5px 15px;
  font-weight: 500;
}
.info_area h2,
.info_area h3,
.info_area h4{
  margin-top: 20px;
}
.info_detail img{
  margin-top: 10px;
  max-width: 100%;
  height: auto;
}

/* 前・次の記事 */
.post_move {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-top: 60px;
}
.post_move  > .btn a,
.pm_backlsit_btn a{
  display: inline-block;
  color: #F8F8F8;
  background-color: #2D523F;
  border-radius: 9999px;
  width: 180px;
  text-align: center;
  padding: 15px 20px;
}
.post_move  > .btn a:hover,
.pm_backlsit_btn a:hover{
  opacity: 0.7;
}

