@charset "UTF-8";

/*****************************
  pagecommon
*****************************/
.pagesec{
  padding: 10rem 0;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .pagesec{
    padding: 7rem 0;
  }
}

/*****************************
  pagehead
*****************************/
.pagehead{
  padding-top: 8.5rem;
  position: relative;
  margin-bottom: 2rem;
  height: 485px;
}
.pagehead-bg{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 0 30px 30px 0;
  position: absolute;
  height: 300px;
  width: 47%;
}
.pagehead-bg1{
  filter: blur(7px);
  opacity: .3;
  top: 0;
  left: 0;
}
.pagehead-bg2{
  border-radius: 30px 0 0 30px ;
  right: 0;
  bottom: 0;
  width: 63%;
}
.pagehead .pagehead-bg.phcmn{
  background-image: url(../images/head/head_cmn.webp);
}
.head-about .pagehead-bg.phcmn{
  background-image: url(../images/head/head_about.webp);
}
.head-news-archive .pagehead-bg,
.head-news-single .pagehead-bg{
  background-image: url(../images/head/head_news.webp);
}
.head-facility-archive .pagehead-bg{
  background-image: url(../images/head/head_cmn.webp);
}
.pagehead-inner{
  position: relative;
  height: 300px;
}
.pagehead-ttl{
  position: absolute;
  top: 50%;
  left: 2rem;
  transform: translateY(-50%);
  z-index: 1;
}
.pagehead-ttl .ttlen{
  color: #d88a92;
  font-weight: bold;
  text-transform: uppercase;
}
.pagehead-ttl .ttl{
  font-size: 3.6rem;
  font-weight: bold;
}
.cmn-breadcrumb{
  position: relative;
}
.pagehead-ttl,
.cmn-breadcrumb{
  text-shadow: 2px 2px 1px #fff, -2px 2px 1px #fff, 2px -2px 1px #fff, -2px -2px 1px #fff, 2px 0px 1px #fff, 0px 2px 1px #fff, -2px 0px 1px #fff, 0px -2px 1px #fff, 3px 3px 2px #fff, -1px 3px 2px #fff, 3px -1px 2px #fff, -1px -1px 2px #fff, 3px 1px 2px #fff, 0px 3px 2px #fff, -2px 0px 2px #fff, 0px -2px 2px #fff;
}

@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .pagehead{
    min-height: 300px;
    height: auto;
  }
  .pagehead-inner {
    height: 150px;
  }
  .pagehead-bg1,
  .pagehead-bg2 {
    height: 150px;
    width: 70%;
  }
  .pagehead-bg1 {
    top: 6rem;
  }
  .pagehead-bg2{
    bottom: -2rem;
    bottom: 0;
    width: 85%;
  }
  .pagehead-ttl .ttl{
    font-size: 2.6rem;
  }
  .cmn-breadcrumb{
    font-size: 1.4rem;
  }
}

/*****************************
  parts news
*****************************/
.singlenews {
  gap: 2rem;
}
.singlenews .main{
  width: calc(100% - 310px);
}
.singlenews .sidebar{
  position: relative;
  width: 280px;
}
.singlenews .sidebar .sidecontent{
  position: sticky;
  top: 0;
  left: 0;
}
.singlenews .side {
  margin-bottom: 2rem;
}
.singlenews .side > dt{
  background: #d88a92;
  color: #fff;
  padding: .5rem 1rem;
}
.singlenews .side > dd{
  border: 2px solid #d88a92;
  border-top: none;
  padding: 1rem 1rem 2rem;
}
.singlenews .side ul{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.singlenews .side li{
  border-bottom: 1px dashed #d88a92;
  padding: .5rem 0;
}
.singlenews .side-recent li{
  padding: 1rem 0;
}
.singlenews .side-recent .fimgbox{
  width: 60px;
}
.singlenews .side-recent .fimgbox img{
  aspect-ratio: 1/1;
  object-fit: cover;
  height: auto;
  width: 100%;
}
.singlenews .side-recent .ftxtbox{
  width: calc(100% - 70px);
}
.singlenews .side-recent .ftxtbox .info{
  gap: 1rem;
}
.singlenews .side-recent .ftxtbox .info time,
.singlenews .side-recent .ftxtbox .info p{
  font-size: 1.3rem;
}
.singlenews .side-recent .ftxtbox .info .cat{
  background: #E08A18;
  border-radius: 50px;
  color: #fff;
  font-size: 1.2rem;
  min-width: 80px;
  padding: 0 .5rem;
  text-align: center;
}
.singlenews .side-recent .ftxtbox p{
  font-size: 1.5rem;
}

.singlehead .info {
  gap: 1rem;
}
.singlehead .info i{
  color: #E08A18;
}
.singlehead .info .cat{
  background: #E08A18;
  border-radius: 50px;
  color: #fff;
  font-size: 1.4rem;
  min-width: 100px;
  padding: 0 .5rem;
  text-align: center;
}
.singlehead .ttl{
  border-bottom: 2px dashed #d88a92;
  font-size: 2.4rem;
  margin-bottom: 2rem;
}


.pagination {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 5rem;
  text-align: center;
}
.page-numbers.dots{
  pointer-events: none;
}
.page-numbers.current,
.page-numbers:hover {
  color: #E08A18;
  font-weight: bold;
  text-decoration: underline;
}

.pager{
  gap: 2rem;
  margin-top: 5rem;
}
.pager > li{
  width: calc(50% - 1rem);
}
.pager > li.next{
  margin-left: auto;
}
.pager > li.next .pagernav{
  text-align: right;
}
.pager a{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  color: #fff;
  display: block;
  height: 145px;
  opacity: 1 !important;
  position: relative;
}
.pager a.pgcmn{
  background-image: url(../images/common/noimg.webp);
}
.pager a::before{
  content: "";
  background: rgba(0,0,0,.4);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  transition: .3s;
}
.pager a:hover::before{
  background: rgba(0,0,0,.6);
}
.pager a .poR{
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
  padding: 0 3rem;
}
.pager a .pagernav{
  font-size: 1.4rem;
  margin-bottom: .5rem;
}
.pager a .pagerttl{
  font-size: 2rem;
  font-weight: 500;
}
@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 1023px) {
  .singlenews .main,
  .singlenews .sidebar{
    width: 100%;
  }
  .singlenews .sidebar .sidecontent{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin-top: 5rem;
  }
  .singlenews .sidebar .sidecontent .side{
    width: calc(50% - 1rem);
  }
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .singlehead .ttl{
    font-size: 2rem;
  }

  .singlenews .sidebar .sidecontent{
    margin-top: 3rem;
  }
  .singlenews .sidebar .sidecontent .side{
    width: 100%;
  }

  .pager > li{
    width: 100%;
  }
  .pager a {
    padding: 1rem;
  }
  .pager a .poR{
    padding: 0;
  }

}

/*****************************
フォーム
*****************************/
.formsec{
  position: relative;
}

/************
フォーム共通項
************/
.formblock{
  margin: 0 auto;
  /* max-width: 800px; */
}
.formtbl .formbox{
  background: #fff;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  overflow: hidden;
}
.formtbl .fomttl{
  padding: 1rem ;
  width: 200px;
}
.formtbl .fomttl span{
  background: #A42020;
  border-radius: 3px;
  color: #fff;
  font-size: 1.2rem;
  line-height: 1;
  margin-right: .5rem;
  padding: .2rem .5rem .3rem;
}
.formtbl .fomttl span.any{
  background: #004AAB;
}
.formtbl .fomcontent{
  padding: 1rem 2rem;
  width: calc(100% - 200px);
}
.formtbl .addinput {
  margin-top: 1rem;
}

@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .formtbl .fomttl ,
  .formtbl .fomcontent{
    width: 100%;
  }
  .formtbl .formbox {
    margin: 1rem auto;
  }
}

/************
フォーム内部
************/
.formtbl .input-txt input,
.formtbl .input-num input,
.formtbl .input-age input,
.formtbl .input-zip input,
.formtbl .input-txtarea textarea,
.formtbl .input-select select {
  background: #f3f3f3;
  border: 1px solid #bbb;
  border-radius: 3px;
  width: 100%;
}
.formtbl .input-txt input,
.formtbl .input-num input,
.formtbl .input-age input,
.formtbl .input-zip input,
.formtbl .input-select select {
  height: 36px;
  padding: 0 .5rem;
}
.formtbl .input-age input,
.formtbl .input-num input{
  max-width: 60px;
}
.formtbl .input-zip input,
.formtbl .zipaddbox .input-select select {
  max-width: 200px;
}
.formtbl .input-age input{
  margin-right: .5rem;
}
.formtbl .input-day:first-child{
  margin-bottom: 1rem;
}
.formtbl .input-day input{
  width: calc(100% - 145px);
}
.formtbl .input-date input{
  margin: .5rem 0;
}
.formtbl .input-select select{
  appearance: auto;
}
.formtbl .input-txtarea textarea {
  padding: .5rem;
}
.formtbl .input-check .wpcf7-list-item,
.formtbl .input-radio .wpcf7-list-item {
  margin: 0 1rem 0 0;
}

.formtbl .zipaddarea{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.formtbl .zipaddarea .zipaddbox{
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
}
.formtbl .zipaddarea .zipaddbox dt{
  width: 120px;
}
.formtbl .zipaddarea .zipaddbox dd{
  width: calc(100% - 130px);
}
.formtbl .zipaddarea .zipaddbox .input-zip p{
  font-size: 1.4rem;
}

@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
  .formtbl .input-select select{
    max-width: 80%;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .formtbl .input-select select{
    max-width: 100%;
  }
  .formtbl .zipaddarea .zipaddbox dt,
  .formtbl .zipaddarea .zipaddbox dd{
    width: 100%;
  }
  .formtbl .zipaddarea .zipaddbox dt{
    font-size: 1.4rem;
    font-weight: 500;
  }
}

/************
フォーム外部
************/

.formsec .ppbox,
.formsec .lastcheck{
  margin: 2rem auto;
}
.formsec .ppbox .wpcf7-list-item,
.formsec .lastcheck .wpcf7-list-item{
  margin: 0 0 0 1rem;
}
.formsec .ppbox dl{
  border: 1px solid #ccc;
  margin-bottom: 1rem;
  padding: 1rem;
}
.formsec .ppbox dl dt{
  font-weight: bold;
}
.formsec .ppbox a{
  text-decoration: underline;
}
.formsec .lastcheck{
  margin: 0 auto;
}

/************
フォームボタン
************/
.formsec .fomb {
  margin: 2rem auto 0;
  max-width: 300px;
  position: relative;
  text-align: center;
}
.formsec .fomb:has(input:disabled){
  background: #b5b5b5 !important;
  border-color: transparent;
  pointer-events: none;
}
.formsec .fomb:has(input:disabled)::before{
  color: #333 !important;
}
.formsec .fomb input:disabled{
  color: #333 !important;
}

/************
フォームエラー、送信
************/
/* エラー */
.formtbl .fomcontent span.error{
  background: none;
  margin: 0;
}
/* 送信 */
.formsec .wpcf7-spinner {
  margin: 0;
  position: absolute;
  bottom: -4rem;
  left: 50%;
  transform: translateX(-50%);
}
.formsec form.sent .formblock,
.formsec form .sent-after,
.formsec form.sent .fomb{
  display: none;
}
.formsec form.sent .sent-after{
  display: block;
  margin: 0 auto 2rem;
  max-width: 800px;
  padding: 1rem;
  position: relative;
  text-align: center;
}
.formsec .wpcf7 form .wpcf7-response-output{
  margin: 2rem auto 0;
  max-width: 800px;
  padding: 20px;
  text-align: center;
}
.formsec .wpcf7-form-control-wrap > .wpcf7-not-valid-tip {
  font-size: 1.4rem;
}
.formsec .wpcf7-form-control-wrap.is-show > .wpcf7-not-valid-tip {
  display: block;
}


@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .formsec .wpcf7 form .wpcf7-response-output{
    margin: 0 auto;
    max-width: 800px;
    padding: 20px;
    text-align: left;
  }
  .formsec form.sent .sent-after{
    text-align: left;
  }
}

/*****************************
404
*****************************/
.page-404 .txt{
  text-align: center;
}
@media only screen and (max-width: 767px) {
  .page-404 .txt{
    text-align: left;
  }
}