@charset "UTF-8";

/*****************************
  pagecommon
*****************************/
.pagesec{
  padding: 8rem 0 ;
}

.page-404 p{
  text-align: center;
}
.page-404 .morebtn1{
  margin-top: 3rem;
  text-align: center;
}

@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: 6rem 0;
  }
  .page-404 p{
    text-align: left;
  }
}

/*****************************
pagehead
*****************************/
.pagehead{
  padding-top: 2rem;
  position: relative;
}
.pagehead-bg{
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  border-radius: 30px 0 0 30px;
  height: 350px;
  margin-left: auto;
  position: relative;
  width: 85%;
}
.pagehead-bg.phcmn{
  background-image: url(../images/head/head_cmn.webp);
}
.head-news-archive .pagehead-bg,
.head-news-single .pagehead-bg{
  background-image: url(../images/head/head_cmn.webp);
}
.cmn-breadcrumb{
  margin-top: 2rem;
}
.pagehead-ttl{
  position: absolute;
  left: -5%;
  bottom: 5rem;
}
.pagehead-ttl .ttl{
  background: rgba(0, 152, 203, .8);
  color: #fff;
  display: inline-block;
  font-size: 4rem;
  font-weight: bold;
  letter-spacing: 2px;
  padding: 0 2rem;
}

@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
  .pagehead-bg{
    height: 300px;
  }
  .pagehead-ttl .ttl{
    font-size: 3.4rem;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .pagehead-bg {
    height: 220px;
    width: 95%;
  }
  .pagehead-ttl {
    left: -1rem;
    bottom: 5rem;
  }
  .pagehead-ttl .ttl{
    font-size: 2.2rem;
    padding: 0 1rem;
  }
}

/*****************************
parts medical
*****************************/
.cmnmedical .pagesec{
  padding: 8rem 0 0;
}
.cmnmedical .pagesec:last-of-type{
  padding-bottom: 8rem;
}

.cmnmedical .pagefirstcatch {
  display: block;
  gap: 2rem;
}
.cmnmedical .pagefirstcatch::after{
  content: "";
  clear: both;
  display: block;
}
.cmnmedical .pagefirstcatch .ftxtbox{
  width: 100%;
}
.cmnmedical .pagefirstcatch .fimgbox{
  float: right;
  margin-bottom: 2rem;
  margin-left: 2rem;
  width: 30%;
}
.cmnmedical .pagefirstcatch .fimgbox img{
  border-radius: 10px;
  box-shadow: 4px 4px #5e83ba;
}

.cmnmedical .caselist{
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.cmnmedical .caselist.g1{
  gap: 1rem;
}
.cmnmedical .caselist > div > dt{
  display: inline-block;
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: .5rem;
  padding: 0 1rem;
  position: relative;
  z-index: 1;
}
.cmnmedical .caselist > div > dt::before {
  content: "";
  background: #def3e6;
  position: absolute;
  top: 1.8rem;
  left: 0;
  height: 50%;
  width: 100%;
  z-index: -1;
}
.cmnmedical .caselist > div > dd{
  background: #fffff9;
  padding: 1rem;
}

.cmnmedical .caselist > div > dd .imgbox{
  margin: 4rem auto 2rem;
  max-width: 800px;
}

.cmnmedical .checklist{
  margin-bottom: 2rem;
}
.cmnmedical .checklist > li{
  font-size: 1.8rem;
  font-weight: 500;
  margin-bottom: .5rem;
  padding-left: 2.5rem;
  position: relative;
}
.cmnmedical .checklist > li::before{
  font: var(--fa-font-solid);
  content: "\f14a";
  color: #0098CB;
  position: absolute;
  top: 8px;
  left: 0;
}

.cmnmedical .numlist{
  counter-reset: cntnum 0;
}
.cmnmedical .numlist > li{
  counter-increment: cntnum 1;
  margin-bottom: 1rem;
  position: relative;
  padding-left: 2rem;
}
.cmnmedical .numlist > li::before{
  content: counter(cntnum) '.';
  color: #0098CB;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 0;
}
.cmnmedical .numlist > li span{
  font-weight: 500;
}

.cmnmedical .circlenum {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}
.cmnmedical .circlenum > div > dt{
  color: #13AC5E;
  font-size: 1.8rem;
  font-weight: 500;
  padding-left: 2.5rem;
  position: relative;
}
.cmnmedical .circlenum > div > dt span{
  font-weight: 500;
  position: absolute;
  top: 0;
  left: 0;
}

.cmnmedical .tenlist{
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.cmnmedical .tenlist > li span{
  font-weight: 500;
}

.cmnmedical .flowlist{
  display: flex;
  flex-direction: column;
  gap: 4rem;
}
.cmnmedical .flowlist > div > dt,
.cmnmedical .flowlist > div > dd{
  background: #faffee;
  border: 2px solid #13AC5E;
  padding: 1rem 2rem 2rem 2rem;
}
.cmnmedical .flowlist > div > dt{
  background: #13AC5E;
  border-radius: 6px 6px 0 0;
  color: #fff;
  display: inline-block;
  font-size: 1.8rem;
  font-weight: 500;
  line-height: 1;
  padding: .5rem 2rem ;
}
.cmnmedical .flowlist > div > dd{
  border-radius: 0 0 6px 6px;
}

@media only screen and (max-width: 1180px) {
}
@media only screen and (max-width: 1024px) {
}
@media only screen and (max-width: 820px) {
  .cmnmedical .pagefirstcatch .fimgbox{
    width: 40%;
  }
}
@media only screen and (max-width: 768px) {
}
@media only screen and (max-width: 767px) {
  .cmnmedical .pagesec{
    padding: 6rem 0 0;
  }
  .cmnmedical .pagesec:last-of-type{
    padding-bottom: 6rem;
  }
  .cmnmedical .pagefirstcatch{
    display: flex;
  }
  .cmnmedical .pagefirstcatch .fimgbox{
    float: none;
    margin: 0 auto;
    width: 90%;
  }
  .cmnmedical .checklist > li{
    font-size: 1.6rem;
    padding-left: 2rem;
  }
  .cmnmedical .checklist > li::before{
    top: 7px;
  }
  .cmnmedical .flowlist > div > dd{
    padding: 1.5rem 1rem 2rem 1rem;
  }
  .cmnmedical .caselist > div > dd .imgbox{
    margin: 2rem auto ;
  }
}

/*****************************
parts news
*****************************/
.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: #0098CB;
  font-weight: bold;
  text-decoration: underline;
}

.pager{
  gap: 1rem;
  margin: 3rem auto 0;
  max-width: 330px;
  text-align: center;
}
.pager a{
  border-bottom: 1px solid #0098CB;
  display: inline-block;
  opacity: 1 !important;
  padding: 0 .5rem;
  transition: .5s;
}
.pager a:hover{
  background: #0098CB;
  color: #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) {
}

/*****************************
archive news
*****************************/
.newslist{
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin: 0 auto;
  max-width: 800px;
}
.newslist li a{
  border-bottom: 2px dotted #8DC21F;
  gap: 1rem;
  padding: 1rem ;
}
.newslist li a .time{
  background: #0098CB;
  border-radius: 50px;
  color: #fff;
  padding: 0 1rem;
  text-align: center;
  width: 110px;
}
.newslist li a .ttl{
  width: calc(100% - 120px);
}
.newslist li.noitem a{
  display: block;
}
.newslist li a:hover{
  color: #13AC5E;
}

@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) {
  .newslist li a {
    gap: .5rem;
    padding: 1rem .5rem;
  }
  .newslist li a .ttl{
    padding: 0 1rem;
    width: 100%;
  }
}

/*****************************
single news
*****************************/
.singlehead{
  margin-bottom: 3rem;
}
.singlehead .date{
  background: #0098CB;
  border-radius: 50px;
  color: #fff;
  padding: 0 1rem;
  text-align: center;
  width: 110px;
}
.singlehead .ttl{
  border-bottom: 2px solid #ccc;
  font-size: 2.4rem;
  font-weight: 500;
  position: relative;
}
.singlehead .ttl::before{
  content: "";
  background: #0098CB;
  position: absolute;
  bottom: -2px;
  left: 0;
  height: 2px;
  width: 20%;
}
.singlehead .ttl::first-letter{
  color: #0098CB;
}

.singlecontent{
  margin: 4rem 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) {
  .singlehead .ttl{
    font-size: 2.2rem;
  }
  .singlecontent{
    margin: 3rem 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{
  color: #A42020;
  font-size: 1.2rem;
  line-height: 1;
  margin-right: .5rem;
  padding: .2rem .5rem .3rem;
}
.formtbl .fomttl span.any{
  color: #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;
  font-size: 1.6rem;
  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;
}

/************
フォームボタン
************/
.formtbl .input-submit {
  margin-top: 2rem auto 0;
  text-align: center;
}
.formtbl .input-submit div {
  display: inline-block;
  vertical-align: middle;
}
.formtbl .input-submit input {
  height: 50px;
  padding: 0 30px;
}

.formsec .fomb {
  margin: 2rem auto 0;
  max-width: 180px;
  position: relative;
  transition: .3s;
  z-index: 1;
}
.formsec .fomb input{
  position: relative;
}
.formsec .fomb > div{
  background: #eee; 
  border-radius: 50%;
  padding: 0.7rem;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  text-align: center;
  transition: .3s;
  height: 3.5rem; 
  width: 3.5rem; 
  z-index: -1;
}
.formsec .fomb > div i {
  color: #0098CB;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.formsec .fomb:hover input{
  color: #0098CB;
}
.formsec .fomb:hover > div {
  transform: scale(1.15) translateY(-50%);
  background: #0098CB;
}
.formsec .fomb:hover > div i{
  color: #fff;
}
.formsec .fomb:has(input:disabled){
  border-color: transparent;
  pointer-events: none;
}
.formsec .fomb input:disabled,
.formsec .fomb:has(input:disabled) > div i{
  color: #c3c3c3 !important;
}
.formsec .fomb:has(input:disabled) > div{
  background: #9f9f9f !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;
  }
}