@charset "utf-8";

/* cmn_ttl_page 
-----------------------------*/
.cmn_ttl_page{
  position: relative;
  z-index: 0;
  margin-bottom: 20px;
  padding: 175px 0 115px;
  background: url(../img/bg_page_ttl.svg) no-repeat right top;
  background-size: 39.47% auto;
  background-color: var(--beige);
}
.cmn_ttl_page::before{
  content: '';
  position: absolute;
  bottom: -27px;
  left: 0;
  width: 100%;
  height: 100%;
  background:url(../img/deco_page_ttl.png) no-repeat bottom center;
  background-size: 100% auto;
  pointer-events: none;
  z-index: 1;
}
.cmn_ttl_page::after{
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 30px;
  background:url(../img/bg_wave.svg) repeat-x top center;
  background-size: auto 30px;
  pointer-events: none;
  z-index: 0;
}
.cmn_ttl_page .ttl_page{
  font-size: 3.6rem;
  font-weight: 500;
  letter-spacing: 1.2rem;
  line-height: var(--lh-sub);
  text-align: center;
  color: var(--main-color);
  z-index: 2;
}
@media screen and (max-width :834px) {
  .cmn_ttl_page{
    margin-bottom: 17px;
    padding: 90px 0 56px;
    background-image:url(../img/bg_page_ttl_sp.svg);
    background-size: auto 100%;
  }
  .cmn_ttl_page::before{
    bottom: -7px;
    background-image:url(../img/deco_page_ttl_sp.png);
    background-size: 549px auto;
  }  
  .cmn_ttl_page::after{
    height: 14px;
    background-size: auto 14px;
  }  
  .cmn_ttl_page .ttl_page{
    font-size: 3rem;
    letter-spacing: 0;
  }
}

/* cmn_lower_bg
-----------------------------*/
.cmn_lower_bg{
  position: relative;
  z-index: 1;
  background-image:
    url(../img/bg_main01.svg),
    url(../img/bg_main03.svg),
    url(../img/bg_main04.svg),
    url(../img/bg_main05.svg),
    url(../img/bg_main06.svg);
  background-position:
    top 97px right 21.875vw,
    top 919px left 0,
    top 2030px right 0,
    top 3562px left 0,
    top 4752px right 0;
  background-repeat: no-repeat;
}
.cmn_lower_bg2{
  position: relative;
  z-index: 1;
  background-image:
    url(../img/bg_main03.svg),
    url(../img/bg_main04.svg),
    url(../img/bg_main05.svg),
    url(../img/bg_main06.svg);
  background-position:
    top 919px left 0,
    top 2030px right 0,
    top 3562px left 0,
    top 4752px right 0;
  background-repeat: no-repeat;
}
@media screen and (max-width :834px) {
  .cmn_lower_bg{
    background-image:
      url(../img/bg_main01_sp.svg),
      url(../img/bg_main02_sp.svg);
    background-position: 
      top 100px right 19px,
      top 0 left 0;
    background-size: 
      98px auto,100% auto;
    background-repeat: 
      no-repeat,repeat-y;
  }
  .cmn_lower_bg2{
    background-image:
      url(../img/bg_main02_sp.svg);
    background-position: 
      top 0 left 0;
    background-size: 
      100% auto;
    background-repeat: 
      repeat-y;
  }  
}
/* cmn_lower_bottom
-----------------------------*/
.cmn_lower_bottom >*{
  position: relative;
  z-index: 1;
}
.cmn_lower_bottom >*:last-child{
  padding-bottom: 130px;
}
.cmn_lower_bottom{
  border-radius: 0 0 120px 120px;
  overflow: hidden;
}
.cmn_lower_bottom::after{
  position: relative;
  content: "";
  display: block;
  margin-top: -30px;
  width: 100%;
  height: 210px;
  background:url(../img/bg_lower_bottom.svg)no-repeat center/cover;
  pointer-events: none;
  z-index: 2;
  mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='210' viewBox='0 0 240 210'><path d='M120,30C60,30,60,0,0,0v210h240V0c-60,0-60,30-120,30Z'/></svg>");
  mask-size:auto 210px;
  mask-repeat:repeat-x;
}
@media screen and (max-width :834px) {
  .cmn_lower_bottom >*:last-child{
    padding-bottom: 75px;
  }  
  .cmn_lower_bottom{
    border-radius: 0 0 60px 60px;
  }  
  .cmn_lower_bottom::after{
    margin-top: -15px;
    background:url(../img/bg_lower_bottom_sp.svg)no-repeat center/cover;
    height: 90px;
    mask-image:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='240' height='180' viewBox='0 0 240 180'><path d='M120,30C60,30,60,0,0,0v180h240V0c-60,0-60,30-120,30Z'/></svg>");
    mask-size:auto 90px;
  }  
}

/* 第二階層インデックス 
-----------------------------*/
.cmn_p+.cmn_index_menu{
  margin-top: 50px;
}
.cmn_index_menu{
  display: flex;
	align-items: flex-start;
  flex-wrap: wrap;
  gap: 64px;
}
.cmn_index_menu .cmn_gallery + *{
  margin-top: 20px;
}
.cmn_index_menu .cmn_p + .cmn_btn{
  margin-top: 28px;
}
@media (min-width :835px){
  .cmn_index_menu .col{
    width: calc(calc(100% - 64px) / 2);
  }
}
@media screen and (max-width :834px) {
  .cmn_p+.cmn_index_menu{
    margin-top: 40px;
  }
  .cmn_index_menu{
    flex-direction: column;
    gap:60px;
  }
  .cmn_index_menu .col{
    width: 100%;
  }
  .cmn_index_menu .cmn_gallery + *{
    margin-top: 10px;
  }
  .cmn_index_menu .cmn_p + .cmn_btn{
    margin-top: 20px;
  }  
}
/* cmn_topicpath 
-----------------------------*/
.cmn_topicpath .inner{
  max-width: 1280px;
  margin-left: auto;
  margin-right: auto;
  padding: 10px 0;
  overflow-x: auto;
}
.cmn_topicpath .inner::-webkit-scrollbar{
  background-color: var(--beige);
  height: 5px;
}
.cmn_topicpath .inner::-webkit-scrollbar-thumb{
  background-color: var(--main-color);
}
.cmn_topicpath .list_topicpath{
  display: flex;
  margin-right: 0;
  margin-left: auto;
  width: fit-content;
}
.cmn_topicpath .list_topicpath li{
  display: flex;
  align-items: center;
  line-height: 1.4;
  flex-shrink: 0;
}
.cmn_topicpath .list_topicpath li + li::before{
  content: "⋯";
  margin: 0 6px;
}
.cmn_topicpath +*{
  margin-top: 46px;
}
@media screen and (max-width :1320px){
  .cmn_topicpath .inner{
    padding: 10px 20px;
  }
}
@media screen and (max-width :834px) {
  .cmn_topicpath .inner{
    padding: 5px 5.13%;
  }
  .cmn_topicpath .inner::-webkit-scrollbar{
    height: 3px;
  }
  .cmn_topicpath .list_topicpath li{
    font-size: 1.2rem;
  }
  .cmn_topicpath .list_topicpath li + li::before{
    margin: 0 5px;
  }
  .cmn_topicpath +*{
    margin-top: 23px;
  }
}

/*pagination----------------*/
.pagination+*,
*+.pagination{
  margin-top: 60px;
}
.pagination ol{
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0 20px;
}
.pagination li >*{
  display: block;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--black);
  font-family: var(--font-ou);
  background-color: #fff;
  border-radius: 50%;
}
.pagination li.arrow.next{
  margin-left: 20px;
}
.pagination li.arrow.prev{
  margin-right: 20px;
}
.pagination li.arrow > *{
  width: 87px;
  height: auto;
}
.pagination li.active >*{
  color: #fff;
  background-color:var(--main-color);
}
@media screen and (max-width :834px) {
  .pagination+*,
  *+.pagination{
    margin-top: 30px;
  }
  .pagination ol{
    gap: 0 8px;
  }
  .pagination li >*{
    width: 40px;
    height: 40px;
    font-size: 1.5rem;
  }
  .pagination li.arrow.next{
    margin-left: 12px;
  }
  .pagination li.arrow.prev{
    margin-right: 12px;
  }
}
@media screen and (max-width :375px) {
  .pagination ol{
    gap: 0 5px;
  }  
  .pagination li >*{
    width: 30px;
    height: 30px;
  }  
  .pagination li.arrow.next{
    margin-left: 5px;
  }
  .pagination li.arrow.prev{
    margin-right: 5px;
  }  
}