/* Contents
-------------------------------------------*/

/* PageHeader ----------------------*/

.page_header{
  position: relative;
  overflow: hidden;
  width: 100%;
  padding-top: min(120px,8%);
}
.page_header__tit{
  display: flex;
  justify-content: space-between;
  width: 88%;
  margin: 0 auto;
}
.page_header__tit .h2_tit{
  width: 60%;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
}
.page_header__tit .h2_tit h2{
  padding-left: 4%;
  white-space: nowrap;
}
.page_header__tit .h2_tit h2 span{
  vertical-align: 10%;
}
.page_header__tit .breadcrumb{
  width: 40%;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  justify-content: flex-end;
  text-align: left;
  font-size: 12px;
}
.page_header__tit .breadcrumb div{
  position: relative;
  padding: 0 14px;
}
.page_header__tit .breadcrumb div:after{
  content: "-";
  display: block;
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
.page_header__tit .breadcrumb div:last-of-type:after{
  content: none;
}
.page_header__tit .breadcrumb a{
  color: #aaa;
  text-decoration: underline;
}
.page_header__tit .breadcrumb a:hover{
  text-decoration: none;
}
.page_header__mv{
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  padding-bottom: min(200px,15%);
}
.page_header__mv .page_header__visual{
  position: relative;
  overflow: hidden;
  z-index: 0;
  width: 94%;
  height: clamp(230px,35.38vw,540px);
  border-radius: 0 60px 60px 0;
  margin: 0 auto 0 0;
}
.page_header__mv .page_header__visual::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    linear-gradient(
      to right,
      rgba(0,172,178,0.4) 10%,
      rgba(218,218,182,0.4) 60%,
      rgba(255,164,126,0.4) 95%);
}
.page_header__mv .page_header__visual img{
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
}
.page_header__nav{
  z-index: 10;/*ページ内リンク用*/
  width: 94%;
  margin: -5% 0 0 auto;
  padding: 50px 5% 50px 8%;
  border-radius: 30px 0 0 30px;
  background: linear-gradient(to bottom, #00b9be 0%, #2199a0 90%);
}
.page_header__nav ul{
  display: flex;
  flex-wrap: wrap;
  column-gap: 3%;
  letter-spacing: .05em;
}
.page_header__nav li{
  padding-right: 38px;
  background: url(../img/common/ic_morebtn_gr.svg) right center no-repeat;
  background-size: 30px;
  transition: all 0.15s ease;
  color: #fff;
}
.page_header__nav li.current,
.page_header__nav li:hover{
  background: url(../img/common/ic_morebtn_wh_under.svg) right center no-repeat;
  background-size: 30px;
}
.page_header__nav li a{
  color: #fff;
}

@media screen and (max-width: 950px){
  
  .page_header__tit{
    flex-wrap: wrap;
  }
  .page_header__tit .h2_tit{
    width: 100%;
  }
  .page_header__tit .breadcrumb{
    width: 100%;
    padding: 2% 0;
    justify-content: flex-start;
    margin-left: -8px;
  }
  .page_header__tit .breadcrumb div{
    padding: 0 10px;
  }
}

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

  .page_header__tit .breadcrumb{
    padding: 3% 0;
  }
  .page_header__tit .breadcrumb{
    font-size: 10px;
  }
  .page_header__mv .page_header__visual{
    width: 96%;
    border-radius: 0 20px 0 0;
  }
  .page_header__nav{
    width: 90%;
    padding: 4% 6%;
    border-radius: 20px 0 0 20px;
  }
  .page_header__nav ul{
    column-gap: 5%;
  }
  .page_header__nav li{
    width: 100%;
    padding: 1% 0;
    padding-left: 26px;
    text-align: left;
  }
  .page_header__nav li,
  .page_header__nav li.current,
  .page_header__nav li:hover{
    background-position: left center;
    background-size: 20px;
  }
}

/* PageContents ----------------------*/

.contents .sec{
  /*ページ内リンクずれ対策*/
  padding-bottom: 200px;
}
.contents .sec .sec_in{
  width: var(--page-width);
  margin: 0 auto;
  /*ページ内リンクずれ対策*/
  padding-top: 200px;
  margin-top:-200px;
}
.contents .sec .sec_head{
  line-height: 1.5;
  text-align: left;
  padding-bottom: min(80px,8%);
}
.contents .sec .sec_clm{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
.contents .sec .sec_cont{
  text-align: justify;
  margin-left: auto;
}
.sec .sec_cont .text{
  padding-bottom: 5%;
}
.sec .h3_tit{
  height: 50px;
  line-height: 50px;
  border-radius: 25px;
  margin-bottom: 5%;
  font-size: clamp(14px,2.15vw,18px);
  letter-spacing: 0.075em;
  background-color: #fff;
}
.sec .h3_tit h3{
  font-weight: normal;
  padding-left: 5%;
}
.sec .h3_tit h3::before{
  content: '-';
  padding-right: 2%;
}
.sec_list{
  width: 100%;
  text-align: left;
}
.sec_list dl{
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  padding: min(34px,3%) 0;
  font-size: clamp(13px,2vw,16px);
  border-bottom: 1px solid #ccc;
}
.sec_list dl dt{
  width: 30%;
}
.sec_list dl dd{
  width: 68%;
  line-height: 1.85;
}
.sec_list .list_item:not(:last-child){
  padding-bottom: var(--page-sec-margin);
}
.list_circle dl dt::before{
  content: '●';
  font-size: 50%;
  vertical-align: 20%;
  padding-right: 4px;
  color: var(--font-black);
}

/* scroll gallery */
.scroll_gallery{
  display: flex;
  overflow: hidden;
}
.scroll_gallery .gallery{
  display: flex;
  column-gap: 20px;
  animation: loop-list 40s linear infinite;
  width: max-content; /* 必要な幅を確保 */
}
.scroll_gallery .gallery li{
  width: calc(100vw / 4);
  display: block;
}
.scroll_gallery .gallery li:nth-child(odd){
  margin-top: 30px;
}
.scroll_gallery .gallery li img{
  width: 100%;
  object-fit: cover;
  border-radius: 10px;
}
/* 無限ループアニメーション */
@keyframes loop-list {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%); /* 2セット分のリストがある前提 */
  }
}
/* .scroll_gallery:hover .gallery{
  animation-play-state: paused;
} */

@media screen and (max-width: 650px){
  
  .contents .sec{
    /*ページ内リンクずれ対策*/
    padding-bottom: 15%;
  }
  .contents .sec .sec_in{
    /*ページ内リンクずれ対策*/
    padding-top: 15%;
    margin-top: -15%;
  }
  .sec .h3_tit{
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
  }
  .sec_list dl dt,
  .sec_list dl dd{
    width: 100%;
  }
  .sec_list dl dt{
    font-weight: bold;
  }
  .sec_list dl dd{
    padding-left: 10px;
  }
  .scroll_gallery .gallery li{
    width: calc(100vw / 2);
  }
}

/* アーカイブページャー */

.pagination{
  width: 90%;
  margin: 0 auto;
  font-family: var(--font-en);
}
.nav-links{
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  column-gap: 20px;
}
.screen-reader-text{
  display: none;
}
.page-numbers{
  display: flex;
  justify-content: center;
  font-size: clamp(12px,1.5vw,16px);
  width: 40px;
  height: 40px;
  line-height: 38px;
  border-radius: 50%;
  border: 1px solid var(--green);
}
.page-numbers:hover{
  opacity: var(--hover);
}
.nav-links .prev,
.nav-links .next{
  width: auto;
}
.prev.page-numbers,
.next.page-numbers,
.page-numbers.dots{
  border: none;
}
.page-numbers.current{
  color: #fff;
  background-color: var(--green);
  border: 1px solid var(--green);
}

@media screen and (max-width: 650px){
  .pagination{
    width: 100%;
  }
  .nav-links{
    gap: 20px 8px;
  }
}