/*------------------------------------------------------------------------------
  PC or ALL
------------------------------------------------------------------------------*/
.w100.time {
  display: flex;
  align-items: center;
}
.header-logo {
  width: 330px;
}
.header-nav > ul > li .en {
  font-family: "游ゴシック", sans-serif;
}
.mainvisual-catch {
  bottom: auto;
  top: 13%;
  left: 48%;
  transform: translateX(-50%);
  text-align: center;
}
.mainvisual-catch img {
  height: 60vh;
  width: auto;
}
.mainvisual {
  margin: 0;
}
.box .btn a {
  background: #00659f;
}
.swiper-pagination .swiper-pagination-bullet {
  background: #fff;
  opacity: 1;
}
.swiper-pagination .swiper-pagination-bullet-active {
  background: var(--main-color);
}
.home {
  .page-content {
    margin: 0 auto 15vh auto;
}
  .box-wrap.bg:before {
    background: #ddebf3;
  }
  .box h2.box-h2 .en{
    margin: 0;
    font-size: 1.8rem;
    color: #017ec9;
    position: relative;
    padding: 0 15px;
    background: #fff;
  }
  .title-type02 .ja {
    margin: 0;
  }
  .title-type02 .ja {
    opacity: 1;
    color: #005a8f;
    font-size: 4.2rem;
  }
  .box h2.box-h2 {
    display: inline-block;
    /* border-bottom: solid 3px #017ec9; */
    padding: 0 0 15px 0;
    position: relative;
  }
  .title-type02:before, .title-type04:before {
    display: none;
  }
  .box h2.box-h2:before {
    content: '';
    background: #017ec9;
    width: 100%;
    height: 3px;
    position: absolute;
    left: 0;
    top: 33px;
  }
  .box h2.box-h2:after {
    content: '';
    background: #017ec9;
    width: 100%;
    height: 3px;
    position: absolute;
    left: 0;
    bottom: -5px;
  }
  .box .btn a {
    padding: 13px 69px 12px 54px;
    letter-spacing: 1px;
    border-radius: 0;
  }
}

.box-wrap.bg.main-top {
  padding: 10px 0 10vh ;
}
.main-top {
  ul {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: center;
    margin-top: -54px !important;
    position: relative;
    z-index: 10;
  }
  li {
    list-style: none !important;
    background: #fff;
    margin: 0 !important;
    font-size: 4.2rem;
    color: #005a8f;
    font-weight: bold;
    font-family: "Zen Kaku Gothic New", sans-serif;
    text-align: center;
    height: 100%;
    position: relative;
    padding: 36px 10px 26px;
  }
  li:nth-child(2) {
    font-size: 3.8rem;
  }
  li strong{
    font-size: 5.8rem;
    line-height: 1;
  }
  li:before {
    position: absolute;
    content: '';
    background: url(../images/icon1.png) repeat;
    width: 60px;
    height: 68px;
    transform: translateX(-50%);
    left: 50%;
    top: -39px;
  }
  li:nth-child(2):before {
    background: url(../images/icon2.png) repeat;
    width: 67px;
    height: 67px;
  }
  li:nth-child(3):before {
    background: url(../images/icon3.png) repeat;
    width: 68px;
    height: 60px;
    top: -34px;
  }
}
.main-problem {
  margin-bottom: 7vh;
  .banner-type03 ul {
    gap: 60px 30px;
  }
  .banner-type03 ul li .image {
    box-shadow: 0 5px 10px 0 rgb(0 0 0 / 9%);
  }
  .banner-type03 li {
    position: relative;
  }
  .banner-type03 ul li {
    position: relative;
    background: none;
  }
  .text2 {
    text-align: center;
    color: #fff;
    font-size: 2.3rem;
    background: #44a6d9;
    padding: 10px;
    border-radius: 28px;
    position: absolute;
    top: -28px;
    transform: translateX(-50%);
    left: 50%;
    min-width: 315px;
  }
}
.box-wrap.xl.main-text {
  margin-bottom: 0;
  position: relative;
  padding: 39px 202px;
  background: #017ec9;
  .box h3.box-h3 {
    font-size: 4.2rem;
    color: #ffee54;
    font-family: "Zen Kaku Gothic New", sans-serif;
  }
  .box h3.box-h3 strong {
    font-size: 6.2rem;
    font-weight: 500;
  }
}
.box-wrap.xl.main-text:before {
  position: absolute;
  content: '';
  background: url(../images/bottom.png) no-repeat;
  width: 80px;
  height: 30px;
  transform: translateX(-50%);
  left: 50%;
  bottom: -30px;
}
.box-wrap.bg.main-message {
  padding: var(--box-margin) 0 11vh;
  .box h3.box-h3 {
    margin: 0 0 2vh 0;
    background: #ffee54;
    padding: 3px 60px 5px;
    font-size: 4rem;
    display: inline-block;
    border-radius: 30px;
    font-family: "Zen Kaku Gothic New", sans-serif;
  }
  .box, .box-wrap {
    position: relative;
    margin: 0;
  }
  .box .copy {
    margin: 0;
    font-size: 2rem;
    color: #005a8f;
    line-height: 1.5;
  }
}
.main-recommend {
  .banner-type02 ul li{
    background: #f4f7f9;
    border-radius: 0;
    box-shadow: none;
  }
  .banner-type02 ul li .text {
    color: #333333;
    padding: 2.5vmin 3vmin 5vmin;
  }
  .banner-type02 ul li .text h3 {
    font-size: 3.2rem;
    font-weight: 600;
    color: #005a8f;
    text-align: center;
  }
  .box h3.box-h3 {
    margin: 0 0 1vh 0;
  }
  .box .copy {
    font-size: 2rem;
    text-align: center;
    color: #333333;
  }
  .btn.en {
    text-align: center;
    margin-bottom: 9.5vh;
  }
  .btn.en a {
    padding: 13px 69px 12px 54px;
    letter-spacing: 1px;
    border-radius: 0;
    display: inline-block;
    position: relative;
    margin: 0 auto;
    color: #fff;
    background: #00659f;
  }
  .box, .box-wrap {
    position: relative;
    margin: 0 auto 4.2vh auto;
  }
}
.box-wrap.bg.main-voice:before {
  background: #dbebf5;
}
.box-wrap.bg.main-voice {
  margin-bottom: 0;
  .box, .box-wrap {
    margin: 0 auto 34px auto;
  }
  .box h3.box-h3 {
    font-size: 4.2rem;
    color: #005a8f;
    position: absolute;
    width: 100%;
    transform: translateX(-50%);
    left: 50%;
    top: -30px;
  }
  .box h3.box-h3 strong {
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 600;
  }
  .lead-type01 .text {
    position: relative;
    background: #fff;
    max-width: 570px;
    margin: 0 auto;
    font-size: 1.8rem;
    color: #003c79;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 600;
    padding: 46px 0 20px;
  }
  .copy.ja strong {
    color: #ffbb29;
  }
  .swiper-slide .text {
    letter-spacing: -0.7px;
  }
  .swiper-slide .text strong {
    display: block;
    text-align: right;
    color: #003c79;
  }
}
.box-wrap.bg.main-reason:before {
  background: #f4f7f9;
}
.main-reason {
  margin-bottom: 3vh;
  .list-number-type01 ol {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 47px 30px;
  }
  .box h2.box-h2 .en {
    background: #f4f7f9;
  }
  .list-number-type01 ol li:before {
    font-size: 7.2rem;
    color: #4189d2;
    letter-spacing: -1px;
    font-family: "Roboto", sans-serif;
  }
  .box h3.box-h3 {
    margin: 0 0 1vh 0;
    font-size: 3.2rem;
    color: #005a8f;
    font-family: "Zen Kaku Gothic New", sans-serif;
  }
  .list-number-type01 ol li {
    background: #fff;
  }
  .box .btn {
    margin: 5vh 0 0 0;
  }
}
.main-news {
  margin-bottom: 7vh;
  .blog-type03 ul li h3.box-h3 a{
    color: #005a8f;
    font-size: 1.8rem;
  }
  .blog-type03 ul li .category {
    padding: 2px 11px;
    font-size: 1.2rem;
    font-weight: 500;
    border-radius: 20px;
    background: #4189d2;
  }
  .blog-type03 ul li .date {
    order: 1;
    margin: 0 15px 0 0;
    color: initial;
  }
}
.main-blog {
  margin-bottom: 15vh;
  .title-type02, .title-type04 {
    text-align: center;
  }
  .blog-type01 ul li .category, .blog-type04 .swiper-slide .category {
    top: 6px;
    left: 6px;
    padding: 6px 10px;
    line-height: 1;
    font-size: 1.6rem;
    border-radius: 20px;
    font-weight: 500;
    background: #4189d2;
  }
}
.box-wrap.xl.main-contact {
  margin-bottom: 0;
  .contact-type01 .title .ja {
    color: #005a8f;
    font-size: 4.5rem;
    display: inline-block;
    font-weight: 600;
    border-bottom: solid 3px #017ec9;
    margin-bottom: 1.5vh;
    z-index: 2;
    position: relative;
    z-index: 2;
  }
  .contact-type01 .text {
    color: #333333;
    font-size: 2.2rem;
    font-weight: 500;
    text-align: center;
    font-family: "Zen Kaku Gothic New", sans-serif;
    line-height: 1.2;
    position: relative;
    z-index: 2;
  }
  .datetime {
    position: relative;
    z-index: 2;
  }
  .contact-type01 .text .datetime strong {
    font-size: 3.8rem;
    font-weight: 600;
  }
  .time {
    font-size: 1.8rem;
    letter-spacing: 1.5px;
    color: #005a8f;
    position: relative;
    z-index: 2;
  }
  .box .btn {
    position: relative;
    margin: 1vh 0 3.2vh 0;
  }
  .box .btn:before {
    position: absolute;
    content: '';
    background: url(../images/contact-bg.png) no-repeat;
    width: 613px;
    height: 269px;
    transform: translateX(-50%);
    left: 50%;
    bottom: 9px;
  }
  .ja a {
    font-size: 2.2rem;
    color: #003c79;
    background: #ffee54;
    font-weight: bold;
  }

  .ja.line a {
    color: #ffffff;
    background: #40c23e;
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 18px 71px 16px 74px !important;
  }
  .ja.line a:after {
    display: none;
  }
  .box .btn a:after {
    top: 54%;
  }
  .contact-type01 .text .btn div a, .contact-type02 .text .btn div a {
    padding: 18px 72px 16px 90px;
  }
  .contact-type01 .text .btn div a:after, .contact-type02 .text .btn div a:after {
    left: 50px;
  }
  .box-wrap.bg2 {
    padding: 22px;
    margin: 0 auto;
    max-width: 620px;
    text-align: center;
    background: #ffffffba;
  }
  .contact-type01 .tel {
    font-size: 4rem;
    font-weight: 500;
    color: #005a8f;
    line-height: 1.5;
    font-family: "Roboto", sans-serif;
  }
  .contact-type01 .tel:before {
    content: "\e0b0";
    margin: 0 10px 0 0;
    font-family: "Material Symbols Outlined";
    font-variation-settings: "FILL" 1, "wght" 500, "GRAD" 0, "opsz" 20;
    font-size: 3.5rem;
  }
  .contact-type01 {
    padding: 70px 0;
  }
}
.box-wrap.xl.main-map {
  margin-bottom: 0;
}
.main-acsess {
  .box h3:not([class]) {
    margin: 10px 0;
  }
  padding: 39px 0 55px;
  h3 {
    color: #44a6d9;
    border: solid 1px;
    display: inline-block;
    border-radius: 30px;
    font-size: 1.8rem;
    padding: 8px 40px;
  }
}
.footer-main .logo {
  margin: 0 auto 40px auto;
  width: 330px;
}
.footer-about {
  .image-text-type02 .text {
    width: 50%;
    padding: 15px 28px 0 50px;
  }
  .image-text-type02 .image {
    width: 50%;
    min-height: 320px;
  }
  tbody {
    border-top: solid 1px #ffffff;
  }
  .table-type01 table th {
    border-bottom: #ffffff 2px solid;
    font-size: 1.8rem;
    color: #00659f;
    font-family: "Zen Kaku Gothic New", sans-serif;
    font-weight: 600;
  }
  .table-type01 table td {
    border-bottom: #ffffff 2px solid;
  }
  .image-text-type02 {
    padding: 0 38px 50px 0;
  }
}
.footer-main {
  margin: 0;
}
.footer-main:after {
  display: none;
}
.sns-icon-list li a {
  background: #40c23e;
}
.footer-sub .copyright {
  font-size: 1.2rem;
  color: #6b4f4b;
}
.fixed-footer .contact a {
  font-size: 1.6rem;
  border-radius: 4px;
  background: #ffee54;
  color: #003c79;
  margin-right: 10px;
  padding: 6px 26px 4px 20px;
  gap: 6px;
  border-radius: 0;
}
.fixed-footer .contact a:before {
  color: #003c79;
}
.contact.line.ja {
  margin: 0 6px 0 15px;
}
.fixed-footer p {
  font-size: 2.3rem;
}
.fixed-footer .line a {
  background: #00b900;
  margin-right: 0px;
  color: #fff;
  border-radius: 0;
}
.fixed-footer .line a:before {
  display: none;
}
.fixed-footer {
  background: #00659f;
  color: #fff;
}

/* 20250118 added by Fabo */
.mt-0 { margin-top: 0 !important;}
.mt-s { margin-top: 4vh !important;}
.mt-m { margin-top: 7vh !important;}
.mt-l { margin-top: 10vh !important;}

.mb-0 { margin-bottom: 0 !important;}
.mb-s { margin-bottom: 4vh !important;}
.mb-m { margin-bottom: 7vh !important;}
.mb-l { margin-bottom: 10vh !important;}

.page-content h2:not([class]),
.page-content h3:not([class]),
.page-content h4:not([class]) {
  margin-bottom: 3vh;
}

.box-color {
  margin: 0 0 6vh;
  padding: 3vh;
  background: var(--sub-color);
}
.box-color :first-child {
  margin-top: 0 !important;
}
.box-color :last-child {
  margin-bottom: 0 !important;
}

.page-content .image-text-type01 .text {
  overflow: hidden;
}
.page-content .image-text-type01 .text :first-child {
  margin-top: 0;
}
.page-content  .list-check-type01 {
  display: flex;
  justify-content: flex-start;
}

.align-center {
  text-align: center;
}

.table_qa {
  width: 100%;
  margin-bottom: 30px;
  padding: 0;
  border-collapse: collapse;
  border-spacing: 0;
}
.table_qa th {
  width: 5%;
  padding: 20px 10px;
}
.table_qa td {
  padding: 20px 10px;
  vertical-align: middle;
}
.table_qa tr:nth-child(2n-1) td {
  font-size: 18px;
  font-weight: bold;
}
.table_qa tr:nth-child(2n) {
  background: var(--sub-color);
}
.table_qa tr:nth-child(2n) th {
  vertical-align: top;
}
.q_icon {
  display: inline-block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--main-color);
  line-height: 44px;
  color: #fff;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}
.a_icon {
  display: inline-block;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--main-color-2);
  line-height: 44px;
  color: var(--main-color);
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
}


/* 訪問鍼灸リハビリ */
.page-id-1799 .box-wrap.bg {
  margin: 8vh 0;
}
.page-id-1799 .box-wrap.bg.-bg02 {
  background: #dbebf5;
}
.page-id-1799 .box-wrap.bg.-bg02:before {
  background: #dbebf5;
}
.page-id-1799 .box-wrap.bg.-bg02.-arrow::after {
  content: '';
  display: block;
  position: absolute;
  bottom: -60px;
  left: 50%;
  border-width: 60px 260px 0 260px;
  border-style: solid;
  border-color: #dbebf5 transparent transparent transparent;
  transform: translateX(-50%);
}
.page-id-1799 .box.image-bg-type02 {
  min-height: 30vmax;
}

.page-id-1799 .list-check-type01 > ul > li:before {
  color: #005a8f;
}

.box-read-title {
  font-size: 4.2rem;
  font-weight: bold;
  text-align: center;
}
.box-read-title strong {
  color: #005a8f;
}

.page-id-1799 .page-content .title-type02 {
  padding: 0 0 50px 0;
  text-align: center;
}
.page-id-1799 .page-content .title-type02:before {
  display: none;
}
.page-id-1799 .page-content .title-type02 .box-h2 {
  display: inline-block !important;
  position: relative !important;
  padding: 0 0 15px 0;
}
.page-id-1799 .page-content .title-type02 .box-h2:before {
  content: '';
  position: absolute;
  top: 33px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #017ec9;
}
.page-id-1799 .page-content .title-type02 .box-h2:after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 3px;
  background: #017ec9;
}
.page-id-1799 .page-content .title-type02 .en {
  position: relative;
  margin: 0;
  padding: 0 15px;
  background: #fff;
  color: #017ec9;
  font-size: 1.8rem;
}
.page-id-1799 .box-wrap.bg.-bg02 .title-type02 .en {
  background: #dbebf5;
}
.page-id-1799 .box-wrap.bg .title-type02 .en {
  background: #f4f7f9;
}
.page-id-1799 .page-content .title-type02 .ja {
  opacity: 1;
  margin: 0;
  color: #005a8f !important;
  font-size: 4.2rem;
}


/*------------------------------------------------------------------------------
  TABLET and SHONE
------------------------------------------------------------------------------*/
@media screen and (max-width: 1024px) {
  .main-top {
    li {
        font-size: 3.5rem;
    }
    li strong {
      font-size: 5rem;
      line-height: 1;
    }
    li:nth-child(2) {
      font-size: 3rem;
    }
  }
  .main-problem {
    .banner-type03 ul {
      display: flex;
      gap: 50px 30px;
      flex-wrap: wrap;
      justify-content: center;
    }
  }
  .box-wrap.xl.main-text {
    .box h3.box-h3 {
        font-size: 3.2rem;
    }
    .box h3.box-h3 strong {
      font-size: 5rem;
      font-weight: 500;
    }
  }
  .main-reason {
    .list-number-type01 ol {
      display: flex;
      gap: 50px 30px;
      flex-wrap: wrap;
      justify-content: center;
    }
    .box h3.box-h3 {
      font-size: 2.5rem;
    }
    .list-number-type01 ol li:before {
      font-size: 5rem;
      top: -40px;
    }
    .footer-about {
      .image-text-type02 .text {
          padding: 15px 20px 0 20px;
      }
    }
  }
}
@media screen and (max-width: 880px) {
  .main-top {
    ul {
      gap: 20px;
    }
    li {
        font-size: 3rem;
    }
    li strong {
      font-size: 4rem;
    }
    li:nth-child(2) {
      font-size: 2.8rem;
    }
  }
}
@media screen and (max-width: 780px) {
  .main-top {
    ul {
      gap: 20px;
    }
    li {
        font-size: 2.5rem;
    }
    li strong {
      font-size: 3rem;
    }
    li:nth-child(2) {
      font-size: 2.2rem;
    }
  }
  .box-wrap.bg.main-voice {
    .lead-type01 .text {
      min-width: 100%;
    }
  }
}
/*------------------------------------------------------------------------------
  TABLET ONLY
------------------------------------------------------------------------------*/
@media screen and (min-width: 600px) and (max-width: 1024px) {
}

/*------------------------------------------------------------------------------
  SPHONE ONLY
------------------------------------------------------------------------------*/
@media screen and (max-width: 599px) {

  .mainvisual-catch img {
    height: 50vh;
    width: auto;
  }
  .mainvisual .swiper-slide img {
    object-position: 40% center;
  }
  .home {
    .title-type02 .ja {
      font-size: 2.8rem;
    }
    .box h2.box-h2:before {
      top: 20px;
    }
  }
  .main-top {
    ul {
        gap: 10px;
    }
    li {
      font-size: 1.7rem;
      padding: 25px 10px 16px;
    }
    li:nth-child(2) {
      font-size: 1.6rem;
    }
    li strong {
      font-size: 2rem;
    }
    li:before {
      position: absolute;
      content: '';
      background: url(../images/icon1.png) no-repeat center;
      background-size: 70%;
    }
    li:nth-child(2):before {
      background: url(../images/icon2.png) no-repeat center;
      background-size: 70%;
    }
    li:nth-child(3):before {
      background: url(../images/icon3.png) no-repeat center;
      background-size: 70%;
    }
  }
  .box-wrap.bg.main-top {
    padding: 10px 0 3vh;
  }
  .main-problem {
    .banner-type03 ul:has(> :nth-child(3)) li .image {
      width: 100%;
    }
    .text2 {
      font-size: 1.8rem;
      padding: 5px;
      min-width: 80%;
    }
  }
  .box-wrap.xl.main-text {
    padding: 20px;
  }
  .box-wrap.xl.main-text {
    .box h3.box-h3 {
        font-size: 1.8rem;
    }
    .box h3.box-h3 strong {
      font-size: 2.5rem;
    }
  }
  .box-wrap.bg.main-message {
    .box h3.box-h3 {
        font-size: 2rem;
    }
    .box .copy {
      font-size: 1.6rem;
    }
  }
  .box-wrap.bg.main-voice {
    .box h3.box-h3 {
        font-size: 2.8rem;
        top: -19px;
    }
    .box .copy {
      padding: 0 20px;
    }
    .lead-type01 .text p {
      font-size: 1.6rem;
      text-align: center;
    }
  }
  .main-news {
    .blog-type03 ul li .category {
        padding: 1px 15px;
        font-size: 1.1rem;
    }
  }
  .main-blog {
    .blog-type01 ul li .category, .blog-type04 .swiper-slide .category {
        padding: 4px 7px 3px;
        font-size: 1.1rem;
    }
  }
  .box-wrap.xl.main-contact {
    .contact-type01 {
      padding: 70px 10px;
    }
    .contact-type01 .title .ja {
        font-size: 3.5rem;
        margin-bottom: 1vh;
    }
    .contact-type01 .text .btn {
      gap: 5px;
    }
    .ja.line a {
      display: inline-block;
    }
    .contact-type01 .text .btn div a, .contact-type02 .text .btn div a {
      padding: 12px 20px !important;
    }
    .contact-type01 .text .btn div a {
      padding: 12px 20px !important;
      font-size: 1.8rem;
    }
    .sns-icon-line {
      display: none;
    }
    .box .btn:before {
      background: url(../images/contact-bg.png) no-repeat center;
      background-size: 72%;
    }
    .contact-type01 .tel {
      font-size: 2.8rem;
    }
    .contact-type01 .tel:before {
      font-size: 2.2rem;
    }
  }
  .footer-about {
    .image-text-type02 .image {
      width: 100%;
      min-height: auto;
    }
    .image-text-type02 {
      padding: 0;
    }
    .image-text-type02 .text {
      padding: 0 20px;
      width: 100%;
    }
    .image-text-type02.right .text:before {
      left: -8vmin;
    }
  }

  .page-id-1799 .box-wrap.bg.-bg02.-arrow::after {
    bottom: -30px;
    border-width: 30px 130px 0 130px;
  }
  .box-read-title {
    font-size: 2.6rem;
  }

  .page-id-1799 .page-content .title-type02 {
    padding: 0 0 30px 0;
  }
  .page-id-1799 .page-content .title-type02 .box-h2:before {
    top: 20px;
  }
  .page-id-1799 .page-content .title-type02 .box-h2:after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 3px;
    background: #017ec9;
  }
  .page-id-1799 .page-content .title-type02 .ja {
    font-size: 2.8rem;
  }

}
