@charset "UTF-8";

/*---------------------------------------page_404----*/

.page-error .flexBox {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 100px 0px;
  flex-wrap: wrap;
}

.page-error .Img,
.page-error .info {
  width: 50%;
}

.page-error .Img p {
  max-width: 380px;
  margin: 0 auto;
}

.page-error .info .txt {
  font-size: 15px;
  font-size: 1.5rem;
  line-height: 1.7;
  margin-bottom: 30px;
}

.page-error .info .greenTxt {
  font-size: 32px;
  font-size: 3.2rem;
  margin-bottom: 20px;
  color: #00a799;
  font-weight: bold;
}

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

  .page-error .Img,
  .page-error .info {
    width: 100%;
  }

  .page-error .Img p {
    max-width: 50%;
    margin-bottom: 60px;
  }

  .page-error .info .greenTxt {
    font-size: 18px;
    font-size: 1.8rem;
  }
}

/*---------------------------------------add_20220225----*/
.service-list-sub {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.service-list-sub li {
  width: 48.33%;
}

.service-list-sub li a {
  display: block;
  font-size: 15px;
  font-size: 1.5rem;
  padding: 25px 0;
  border-radius: 5px;
  /*box-shadow: 0 0 6px rgb(0,0,0,0.1);*/
  text-align: center;
  position: relative;
  background: #f1f1f1;
}

.service-list-sub li a::before {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  transform: translateY(-50%);
  right: 5%;
  content: "\f1c1";
  font-family: "Font Awesome 5 Free";
  font-weight: 900;
  color: #00a799;
  font-size: 16px;
  font-size: 1.6rem;
}

@media screen and (max-width: 834px) {
  .service-list-sub li {
    width: 100%;
    margin-bottom: 10px;
  }

  .service-list-sub li a {
    font-size: 13px;
    font-size: 1.3rem;
  }
}

.sign {
  color: #00a799;
  border-bottom: 1px solid #00a799;
}

/* indent
-------------------*/
.center {
  text-align: center !important
}

.left {
  text-align: left !important
}

.right {
  text-align: right !important
}

.top0 {
  margin-top: 0 !important
}

.top5 {
  margin-top: 5px !important
}

.top10 {
  margin-top: 10px !important
}

.top15 {
  margin-top: 15px !important
}

.top20 {
  margin-top: 20px !important
}

.top25 {
  margin-top: 25px !important
}

.top30 {
  margin-top: 30px !important
}

.top35 {
  margin-top: 35px !important
}

.top40 {
  margin-top: 40px !important
}

.btm0 {
  margin-bottom: 0 !important
}

.btm5 {
  margin-bottom: 5px !important
}

.btm10 {
  margin-bottom: 10px !important
}

.btm15 {
  margin-bottom: 15px !important
}

.btm20 {
  margin-bottom: 20px !important
}

.btm25 {
  margin-bottom: 25px !important
}

.btm30 {
  margin-bottom: 30px !important
}

.btm35 {
  margin-bottom: 35px !important
}

.btm40 {
  margin-bottom: 40px !important
}

.btm45 {
  margin-bottom: 45px !important
}

.btm50 {
  margin-bottom: 50px !important
}

.btm55 {
  margin-bottom: 55px !important
}

.btm60 {
  margin-bottom: 60px !important
}

.btm65 {
  margin-bottom: 65px !important
}

.btm70 {
  margin-bottom: 70px !important
}

.btm75 {
  margin-bottom: 75px !important
}

.btm80 {
  margin-bottom: 5pc !important
}

.btm85 {
  margin-bottom: 85px !important
}

.btm90,
.btm95 {
  margin-bottom: 90px !important
}

.pT0 {
  padding-top: 0 !important
}

.pT5 {
  padding-top: 5px !important
}

.pT10 {
  padding-top: 10px !important
}

.pT15 {
  padding-top: 15px !important
}

.pT20 {
  padding-top: 20px !important
}

.pT25 {
  padding-top: 25px !important
}

.pT30 {
  padding-top: 30px !important
}

.pT35 {
  padding-top: 35px !important
}

.pT40 {
  padding-top: 40px !important
}

.pT45 {
  padding-top: 45px !important
}

.pB0 {
  padding-bottom: 0 !important
}

.pB5 {
  padding-bottom: 5px !important
}

.pB10 {
  padding-bottom: 10px !important
}

.pB15 {
  padding-bottom: 15px !important
}

.pB20 {
  padding-bottom: 20px !important
}

.lm5 {
  margin-left: 5px !important
}

.lm10 {
  margin-left: 10px !important
}

.lm15 {
  margin-left: 15px !important
}

.lm20 {
  margin-left: 20px !important
}

.lm50 {
  margin-left: 50px !important
}

.lm60 {
  margin-left: 60px !important
}

.lm70 {
  margin-left: 70px !important
}

.rm5 {
  margin-right: 5px !important
}

.rm10 {
  margin-right: 10px !important
}

.rm15 {
  margin-right: 15px !important
}

.rm20 {
  margin-right: 20px !important
}

.vAT {
  vertical-align: top !important
}

.vAM {
  vertical-align: middle !important
}

.vAB {
  vertical-align: bottom !important
}

.bold {
  font-weight: 700
}

.normal {
  font-weight: 400
}

.is-pc {
  display: block
}

.is-sp,
.is-spS {
  display: none
}

.spTel {
  pointer-events: none
}

/*---------------------------------------add_20240430----*/
.page-message .sec-message .desc-box {
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
}

.page-message .sec-message .desc-box .sign {
  color: #000;
  border-bottom: none;
}

.page-company_outline .health-logo-block {
  margin-top: 50px;
}

.page-company_outline .health-logo-block img {
  height: 160px;
}

@media screen and (max-width: 834px) {
  .page-company_outline .health-logo-block {
    margin-top: 40px;
  }

  .page-company_outline .health-logo-block img {
    height: 100px;
  }
}


/* 20251008 */
.ftBnr-block .bnr-inline a img {
  width: 100%;
  height: 100%;
}

/* 20251024 newsページ renewal  */

.news-list-item-link {
  color: #000;
  font-size: 1.6rem;

  @media (max-width: 834px) {
    font-size: 14px;
  }
}

.news-item-header {
  display: flex;
  align-items: center;
  gap: 4rem;

  @media (max-width: 834px) {
    gap: 2rem;
  }
}

.page-news .sec-news01 .inner .news-list__container .news-list__inner .news-list .news-list-item .news-item-category {
  background-color: #00a799;
  color: #fff;
  padding: 5px 20px 7px;
  border-radius: 100vmax;
  font-size: 14px;
  min-width: 7.5em;
  letter-spacing: -1px;
  text-align: center;

  @media (max-width: 834px) {
    min-width: 6.5em;
    font-size: 13px;
  }

  @media (max-width: 649px) {
    font-size: 12px;
  }
}

.page-news .sec-news01 .inner .news-list__container .news-list__inner {
  width: 100%;
}

.page-news .sec-news01 .inner .news-list__container .news-list__inner .news-list .news-list-item {
  padding-right: 2rem;
  position: relative;

  &:hover {
    border-bottom-color: #00a799;
    transition: all 0.3s ease-out;

    &::after {
      transform: translateX(5px);
      transition: all 0.3s ease-out;
    }
  }
}

.page-news .sec-news01 .inner .news-list__container .news-list__inner .news-list .news-list-item time {
  color: #0b4e49;
  font-weight: 500;
}

.page-news .sec-news01 .inner .news-list__container .news-list__inner .news-list .news-list-item .news-item-text {
  font-weight: 500;
  line-height: 1.5;
  width: 100%;

  @media (max-width: 834px) {
    font-size: 14px;
    margin-left: 0;
  }
}

#load-more-news {
  display: flex;
  width: 100%;
  color: #000;
}

/* ニュースリスト表示制御 - 最初の10件のみ表示 */
.news-list .news-list-item:nth-child(n+11) {
  display: none;
}

.news-list-item::after {
  content: "\e5c8";
  display: inline-block;
  font-size: 16px;
  font-family: "Material Symbols Outlined";
  font-weight: 700;
  color: #00a799;
  position: absolute;
  right: 0;
  top: calc(50% - 28px);
  transition: all 0.3s ease-out;
}

.news-btn-more {
  width: 100%;
  max-width: 257px;
  margin: 40px auto 0;

  @media (max-width: 649px) {
    max-width: 200px;
  }

  @media (max-width: 499px) {
    max-width: 180px;
  }

  button {
    border: none;
    background-color: transparent;
    font-weight: 700;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;

    &::before {
      content: "";
      display: block;
      width: 100%;
      height: 2px;
      background-color: #000;
      position: absolute;
      bottom: -.5rem;
      left: 0;
    }

    &::after {
      content: "\e5db";
      display: inline-block;
      font-size: 16px;
      font-family: "Material Symbols Outlined";
      font-weight: normal;
      color: #00a799;
      margin-left: 8px;
      font-weight: 700;
      transition: all 0.3s ease-out;
    }

    &:hover {
      color: #00a799;
      transition: all 0.3s ease-out;

      &::after {
        transform: translateY(5px);
        transition: all 0.3s ease-out;
      }

      &::before {
        background-color: #00a799;
      }
    }
  }
}

.page-news .sec-news01 .inner .news-list__container {
  flex-direction: column;
}

.news-item-thumbnail {
  display: none;
}

.news-item-content {
  display: none;
}

/* ニュースリスト - クリック可能にする */
.news-list-item {
  cursor: pointer;
  transition: all 0.3s ease-out;
}

/* ニュースモーダル */
.news-modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;

  img {
    display: inline-block;
    object-fit: contain;
    aspect-ratio: 3 / 2;
    max-width: 400px;
    max-height: 500px;
    height: 50%;
    margin: 1rem 1rem 0 0;

    @media (max-width: 1024px) {
      max-width: 260px;
      max-height: 400px;
    }

    @media (max-width: 834px) {
      max-height: 300px;
    }

    @media (max-width: 640px) {
      max-height: 250px;
    }

    @media (max-width: 499px) {
      max-height: 200px;
    }
  }
}

.news-modal-overlay {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.news-modal-content {
  background-color: white;
  max-width: 1100px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  position: relative;
}

.news-modal-header {
  display: flex;
  justify-content: flex-end;
  padding: 15px 20px 0;
}

.news-modal-close {
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
  padding: 0;
  width: 90%;
  height: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  max-width: 1100px;
  position: relative;

  &::before,
  &::after {
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    background-color: #fff;
    position: absolute;
    top: 0;
    right: 0;

    @media (max-width: 834px) {
      width: 20px;
    }
  }

  &::before {
    transform: rotate(45deg);
  }

  &::after {
    transform: rotate(-45deg);
  }
}

.news-modal-close:hover {
  color: #000;
}

.news-modal-body {
  padding: 6rem;

  @media (max-width:834px) {
    padding: 4rem;
  }

  @media (max-width:640px) {
    padding: 2rem;
  }

  @media (max-width:499px) {
    padding: 2rem 1.5rem;
  }
}

.news-modal-date {
  font-size: 14px;
  color: #0b4e49;
}

.news-modal-info {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 15px;
}

.news-modal-category {
  display: inline-block;
  background-color: #00a799;
  color: white;
  padding: 3px 13px 5px;
  border-radius: 15px;
  font-size: 14px;
}

.news-modal-title {
  font-size: 24px;
  font-weight: bold;
  padding-bottom: 2rem;
  margin-bottom: 3rem;
  line-height: 1.5;
  border-bottom: 1px solid #eee;
}

.news-modal-text {
  font-size: 14px;
  line-height: 1.6;
  color: #333;
}


.news-modal-text p {
  margin-bottom: 4rem;
}

.news-modal-text p:last-child {
  margin-bottom: 0;
}

.news-modal-thumbnail {
  margin-bottom: 6rem;
  text-align: center;

  @media (max-width: 834px) {
    margin-bottom: 4rem;
  }

  @media (max-width:499px) {
    margin-bottom: 3rem;
  }

  img {
    object-fit: contain;
    width: 100%;
    max-width: 70%;
    height: auto;
    max-height: 100%;
    /* max-height: 400px; */
  }
}

/* レスポンシブ */
@media (max-width: 834px) {
  .news-modal-overlay {
    padding: 10px;
  }

  .news-modal-content {
    max-height: 90vh;
  }

  .news-modal-title {
    font-size: 16px;
  }

  .news-modal-text p {
    margin-bottom: 2rem;
  }
}

.page-thanks .sec-thanks01 .inner .text__container {
  max-width: 705px;
}