@charset "UTF-8";
/*TOPページ用 */

#home {}

#main-visual {
  position: relative;
  margin-left: 50px;
}

#main-visual figure {
  height: 660px;
  margin-bottom: 0;
  position: relative;
}

#main-visual figure::before {
  content: "";
  position: absolute;
  background-image: linear-gradient(0deg, #7B7A8B, transparent 40%);
  mix-blend-mode: multiply;
  width: 100%;
  height: 100%;
}

#main-visual figure img {
  border-top-left-radius: 40px;
  height: 100%;
  object-fit: cover;
}

#main-visual .mv-title {
  position: absolute;
  left: 60px;
  top: 60px;
}

#main-visual .mv-title {
  animation: mvFadeInUp 1s .1s forwards;
}

@keyframes mvFadeInUp {
  0% {
    transform: translateY(30%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

#main-visual .mv-title p {
  color: #fff;
  text-shadow: 0 0 2px rgba(0, 0, 0, 0.5);
}

#main-visual .mv-title p:first-child {
  font-size: 42px;
  font-weight: var(--fw-bold);
  line-height: 1.36em;
  letter-spacing: 0.06em;
  margin-bottom: 0.32em;
}

#main-visual .mv-title p:nth-child(2) {
  font-size: 17px;
  font-weight: var(--fw-semi);
  margin-bottom: 0;
  letter-spacing: 0.02em;
}

#home .important-news-area {
  margin: 37px 100px 0 50px;
}

.important-news-area > .box {
  display: flex;
  border: 2px solid var(--red);
  position: relative;
  border-radius: 6px;
  padding: 13px 33px 13px 20px;
}

.important-news-area > .box::before {
  content: "";
  position: relative;
  width: 1px;
  background: var(--red);
  left: 196px;
}

.important-news-area .heading {
  display: flex;
  align-items: center;
  position: relative;
  font-size: 18px;
  font-weight: var(--fw-bold);
  width: 210px;
  flex-shrink: 0;
  letter-spacing: 0.09em;
}

.important-news-area .heading::before {
  content: "！";
  color: #fff;
  background-color: var(--red);
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: inline-block;
  text-align: center;
  line-height: 1.3em;
  letter-spacing: 0em;
  font-size: 16px;
  margin-right: 16px;
}

.important-news-area .list {
  width: 100%;
}

.important-news-area .list > ul {
  margin-bottom: 0;
  padding: 0.3em 0 0.3em 0.4em;
}

.important-news-area .list > ul > li:not(:last-of-type) {
  margin-bottom: 0.5em;
}

.important-news-area .list > ul > li > a, .important-news-area .list li.no-link {
  position: relative;
  display: flex;
  align-items: flex-start;
  padding-right: 30px;
}

.important-news-area .list > ul > li > a:hover::after {
  animation: 0.4s forwards arrowToRight;
}

.important-news-area .list > ul > li > a::after {
  aspect-ratio: 1 / 1;
  mask-image: url(../images/icon_arrow.svg);
  min-height: 0;
  width: 12px;
  background-color: var(--red);
  mask-position: center;
  mask-repeat: no-repeat;
  mask-size: 100% auto;
  content: "";
  display: inline-block;
  height: auto;
  margin: auto;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  transition: .4s;
}

.important-news-area .list > ul > li > a span {
  display: block;
}

.important-news-area .date {
  font-family: var(--en);
  font-weight: var(--fw-mid);
  line-height: 1.9em;
}

.important-news-area .title {
  font-weight: var(--fw-mid);
  padding-left: 20px;
  line-height: 1.7em;
}

.important-news-area .ai {
  background-color: transparent;
  border-color: transparent;
  vertical-align: top;
}

.important-news-area .ai::after {
  background-color: var(--main);
}

.sidetab-all {
  position: absolute;
  right: 0;
  z-index: 1;
  transition: background-color .4s;
}

.sidetab-kawagoe,
.sidetab-yokkaichi,
.sidetab-recruit {
  width: 59px;
  border-radius: 4px 0 0 4px;
}

.sidetab-kawagoe {
  top: 130px;
  background-color: #EA586F;
}

.sidetab-kawagoe:hover {
  background-color: #CB586A;
}

.sidetab-yokkaichi {
  top: 302px;
  background-color: #10B78A;
}

.sidetab-yokkaichi:hover {
  background-color: #129B76;
}

@media screen and (min-width: 769px) {

  .sidetab-schedule {
    top: 518px;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.3);
    background-color: #fff;
    border-top-left-radius: 12px;
    transition: transform 0.5s ease-out;
  }

  .sidetab-schedule:hover .ai {
    background-color: #fff;
  }

  .sidetab-schedule:hover .ai::after {
    background-color: var(--main);
  }

  .sidetab_fixed .sidetab-schedule {
    border-radius: 12px 0 0 12px;
    position: fixed;
    top: 130px;
    transform: translateX(calc(100% - 58px));
  }

  .sidetab_fixed .sidetab-schedule:hover {
    transform: translateX(0);
  }

}

.sidetab-recruit {
  background-color: var(--main);
  top: 787px;
}

.sidetab-recruit:hover {
  background-color: #25547E;
}

.sidetab_fixed .sidetab-all {
  right: 0 !important;
}

.sidetab_fixed .sidetab-recruit {
  position: fixed;
}

.sidetab_fixed .sidetab-recruit {
  top: 400px;
}

.sidetab-kawagoe a,
.sidetab-yokkaichi a,
.sidetab-recruit a {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 24px 0 9px;
}

.sidetab-kawagoe a span,
.sidetab-yokkaichi a span,
.sidetab-recruit a span {
  color: #fff;
  font-size: 19px;
  font-weight: var(--fw-bold);
  writing-mode: vertical-rl;
  letter-spacing: 0.14em;
  margin-bottom: 0.3em;
}

.sidetab-kawagoe .ai,
.sidetab-yokkaichi .ai,
.sidetab-recruit .ai {
  background-color: inherit;
  border: none;
}

.sidetab-schedule-flex {
  display: flex;
  padding: 6px 0;
  width: 673px;
}

.sidetab-schedule-flex > p {
  color: var(--main);
  font-size: 19px;
  font-weight: var(--fw-bold);
  writing-mode: vertical-rl;
  letter-spacing: 0.2em;
  line-height: 1em;
  display: flex;
  align-items: center;
  margin-bottom: 0;
  border-right: 1px solid #CAD1DD;
  padding: 20px;
  justify-content: center;
}

.sidetab-schedule .tbl-schedule {
  margin-left: 25px;
  width: 100%;
  padding: 24px 35px 19px 0;
}

.sidetab-schedule .tbl-schedule table {
  margin-bottom: 22px;
}

.sidetab-schedule .tbl-schedule thead tr {
  border-bottom: 1px solid #CAD1DD;
}

.sidetab-schedule .tbl-schedule tr th:first-of-type {
  border-right: 1px solid #CAD1DD;
  width: calc((100% / 9) * 2.11);
  padding-left: 0px;
}

.sidetab-schedule .tbl-schedule thead th,
.sidetab-schedule .tbl-schedule thead td {
  padding: 10px 10px 17px;
}

.sidetab-schedule .tbl-schedule tbody th {
  text-align: right;
}

.sidetab-schedule .tbl-schedule tbody th {
  padding: 18px 15px 2px 3px;
}
.sidetab-schedule .tbl-schedule tbody td {
  padding: 18px 15px 2px;
}

.sidetab-schedule .tbl-schedule .tel {
  font-family: var(--en);
  font-weight: var(--fw-bold);
  font-size: max(1.17em, 16px);
  color: var(--main);
}

.sidetab-schedule .tbl-schedule .tel::before {
  aspect-ratio: 16.46 / 18.07;
  background: url(../images/icon_tel.svg) no-repeat center / 100% auto;
  content: "";
  width: 0.823em;
  display: inline-block;
  position: relative;
  top: 3px;
  margin-right: 3px;
}

#home #content-area {
  overflow: hidden;
}

#home #main-content {
  margin-bottom: 0;
}

.home-about {
  position: relative;
  margin: 110px 100px 120px;
}

.home-about .heading-h2 {
  position: absolute;
  top: 0;
  left: 544px;
  line-height: 1.4em;
}

.home-about-flex {
  display: flex;
  flex-direction: row-reverse;
  column-gap: 40px;
}

.home-about-flex > p {
  margin-top: 132px;
  line-height: 1.9em;
}

.home-about-img {
  display: flex;
  column-gap: 24px;
}

.home-about-img figure {
  width: 240px;
  margin-bottom: 0;
}

.home-about-img figure:first-of-type {
  margin-top: 80px;
}

.home-about-img figure:first-of-type img {
  border-top-left-radius: 20px;
}

.home-about-img figure:nth-of-type(2) img {
  border-top-right-radius: 20px;
}

.home-about .link-btn {
  position: absolute;
  left: 544px;
  bottom: 80px;
}

.home-about .link-btn .ai {
  height: 30px;
}

.home-menulist {
  padding-bottom: 120px;
}

.home-menulist .heading-h2 {
  margin-bottom: 0.2em;
}

.home-menulist .heading-h2 + p {
  margin-bottom: 2.2em;
}

.home-medicalcare {
  --gap: 24px;
}

.home-medicalcare .parent { display: none; }

.home-medicalcare li figure,
.home-medicalcare .head .en {
  display: block;
}

.home-medicalcare ul {
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
  margin-bottom: 0;
}

.home-medicalcare li {
  width: calc((100% - (var(--gap) * 2)) / 3);
  background-color: #fff;
  border-radius: 4px;
  border: solid 1px #DDDFFA;
}

.home-medicalcare li a {
  display: flex;
  padding: 10px 17px 10px 10px;
  column-gap: 20px;
}

.home-medicalcare li figure {
  border-radius: 2px;
  flex-shrink: 0;
  height: 90px;
  width: 90px;
  margin-bottom: 0;
  overflow: hidden;
  position: relative;
}

.home-medicalcare li a figure::after {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.home-medicalcare li a[href$="/medicalcare/first/"] figure::after {
  background-image: url("../../images/menu_01.webp");
}

.home-medicalcare li a[href$="/medicalcare/revisit/"] figure::after {
  background-image: url("../../images/menu_02.webp");
}

.home-medicalcare li a[href$="/medicalcare/surgery/"] figure::after {
  background-image: url("../../images/menu_03.webp");
}

.home-medicalcare li a[href$="/medicalcare/content/"] figure::after {
  background-image: url("../../images/menu_04.webp");
}

.home-medicalcare li a[href$="/medicalcare/staff/"] figure::after {
  background-image: url("../../images/menu_05.webp");
}

.home-medicalcare li figure img {
  display: none;
}

.home-medicalcare li .head {
  position: relative;
  width: 100%;
  color: var(--main);
  font-weight: var(--fw-bold);
  font-size: 20px;
  padding-top: 1.3em;
}

.home-medicalcare li .head .en {
  color: #768891;
  font-size: 14px;
  font-family: var(--en);
  font-weight: var(--fw-normal);
  margin-top: 0.8em;
}

.home-medicalcare li .head .ai {
  position: absolute;
  right: 0;
  top: 0;
  bottom: 0;
  margin: auto 0;
  height: 30px;
}

.home-img-slider {
  display: flex;
  margin-bottom: 100px;
}

.home-img-slider .splide__slide {
  width: 306px !important;
}

.home-news {
  margin-bottom: 80px;
}

.home-news-flex {
  display: flex;
  justify-content: space-between;
}

.home-news-flex:has( > p) {
  flex-direction: column;
}

.home-news-flex .news-list {
  width: 958px;
  margin-bottom: 48px;
}

.home-news .news-list ul li:first-child {
  border-top: 1px solid var(--gray3);
}

.home-topic {
  padding-bottom: 110px;
}



/**************************** 
 SP
**************************** */

@media screen and (max-width: 768px) {
  
  body.fixed #header-area {
    background-color: #FFF;
  }
  
  #footer-area {
    padding-bottom: 45px;
  }

  #main-visual {
    margin-left: 35px;
	margin-bottom: 35px;
  }

  #main-visual figure {
    height: 515px;
  }

  #main-visual figure img {
    border-top-left-radius: 20px;
  }

  #main-visual .mv-title {
    left: 20px;
    bottom: 30px;
	top: 35px;
  }

  #main-visual .mv-title p:first-child {
    font-size: 30px;
  }

  #main-visual .mv-title p:nth-child(2) {
    font-size: 16px;
    line-height: 1.68em;
  }

  #home .important-news-area {
    margin: 90px 0 30px 0;
    padding: 0 var(--main-pd);
  }

  .important-news-area > .box {
    flex-direction: column;
    padding: 32px 18px 28px 18px;
    border-radius: 4px;
  }

  .important-news-area .heading {
    width: 100%;
    font-size: 20px;
    letter-spacing: 0.02em;
  }

  .important-news-area .heading::before {
    margin-right: 10px;
  }

  .important-news-area .heading::after {
    content: "";
    background-color: var(--red);
    width: 100%;
    height: 1px;
    position: absolute;
    bottom: -23px;
  }

  .important-news-area .list > ul {
    padding: 2.3em 0 0 0;
  }

  .important-news-area .list > ul > li:not(:last-of-type) {
    margin-bottom: 0.6em;
  }

  .important-news-area .list > ul > li > a, .important-news-area .list li.no-link {
    flex-direction: column;
    align-items: flex-start;
    padding-right: 0;
  }

  .important-news-area .list > ul > li > a::after {
    content: none;
  }

  .important-news-area .title {
    padding-left: 0;
  }

  .sidetab-branch {
    display: flex;
    position: fixed;
    bottom: 0;
    z-index: 2;
    width: 100%;
  }

  .sidetab-kawagoe,
  .sidetab-yokkaichi {
    position: relative;
    top: inherit;
    width: 100%;
    border-radius: 10px 10px 0 0;
  }

  .sidetab-kawagoe a,
  .sidetab-yokkaichi a {
    flex-direction: row;
    justify-content: space-between;
    padding: 7px 10px 8px 20px;
  }

  .sidetab-kawagoe a span,
  .sidetab-yokkaichi a span {
    writing-mode: inherit;
    font-size: 15px;
    letter-spacing: 0.01em;
    margin-bottom: 0;
  }

  .sidetab-schedule {
    position: relative;
    padding: 0 var(--main-pd);
  }

  .sidetab-schedule-flex {
    width: 100%;
    flex-direction: column;
    padding: 0;
  }

  .sidetab-schedule-flex::after {
    content: "";
    width: 100%;
    height: 1px;
    border-bottom: 1px solid #C2C3D9;
    margin-top: 40px;
  }

  .sidetab-schedule-flex > p {
    border-right: none;
    writing-mode: inherit;
    font-size: 20px;
    padding: 0;
    letter-spacing: 0.08em;
    margin-bottom: 14px;
  }

  .sidetab-schedule-flex > p .ai {
    display: none;
  }

  .sidetab-schedule .tbl-schedule {
    background-color: var(--gray2);
    border: 1px solid #C2C3D9;
    border-radius: 3px;
    margin: 0;
    padding: 19px 5.97% 13px;
  }

  .sidetab-schedule .tbl-schedule table {
    table-layout: fixed;
    margin-bottom: 10px;
  }

  .sidetab-schedule .tbl-schedule th {
    font-size: min(4vw, var(--fz-sp));
  }

  .sidetab-schedule .tbl-schedule thead th,
  .sidetab-schedule .tbl-schedule thead td {
    padding: 4px 14px 11px 10px;
  }

  .sidetab-schedule .tbl-schedule tbody th {
    padding: 14px 10px 4px 0;
  }

  .sidetab-schedule .tbl-schedule tbody tr:first-of-type td {
    padding: 7px 11px 2px;
  }

  .sidetab-schedule .tbl-schedule tbody tr:nth-of-type(2) td {
    padding: 9px 11px 2px;
  }

  .sidetab-schedule .tbl-schedule tr th:first-of-type {
    width: calc((100% / 9) * 3.7);
  }

  .sidetab-schedule .tbl-schedule span.on {
    width: 0.9em;
  }

  .sidetab-schedule .tbl-schedule p {
    font-size: min(3.86vw, 15px);
    line-height: 1.2;
    padding-top: 1.7em;
    position: relative;
  }

  .sidetab-schedule .tbl-schedule p > span:has(span.half) {
    position: absolute;
    top: 0;
    right: 0;
  }

  .sidetab-recruit {
    display: none;
  }

  .home-about {
    margin: 0;
    padding-bottom: 50px;
  }

  .home-about .heading-h2 {
    position: relative;
    top: inherit;
    left: inherit;
    line-height: 1.5em;
  }

  .home-about-flex {
    flex-direction: column;
    margin-bottom: 40px;
  }

  .home-about-flex > p {
    margin-top: 0;
    line-height: 1.8em;
    margin-bottom: 30px;
  }

  .home-about-img {
    justify-content: center;
    column-gap: 10px;
  }

  .home-about-img figure:first-of-type {
    margin-top: 45px;
  }

  .home-about .link-btn {
    position: relative;
    left: inherit;
    bottom: inherit;
    width: 100%;
  }

  .home-menulist {
    padding-bottom: 70px;
  }

  .home-menulist .heading-h2 {
    margin-bottom: 0.5em;
  }

  .home-menulist .heading-h2 + p {
    margin-bottom: 1.9em;
  }

  .home-medicalcare ul {
    flex-direction: column;
    gap: 15px;
  }

  .home-medicalcare li {
    width: 100%;
    border-radius: 2px;
  }

  .home-medicalcare li a {
    padding: 9px 9px 9px 9px;
    column-gap: 13px;
  }

  .home-medicalcare li figure {
    height: 75px;
    width: 75px;
  }

  .home-medicalcare li .head {
    font-size: 17px;
    padding-top: 1.2em;
  }

  .home-medicalcare li .head .en {
    margin-top: 0.6em;
  }

  .home-img-slider {
    margin-bottom: 57px;
  }

  .home-img-slider .splide__slide {
    width: 200px !important;
  }

  .home-news {
    margin-bottom: 65px;
  }

  .home-news .heading-h2 {
    margin-bottom: 11px;
  }

  .home-news-flex {
    flex-direction: column;
  }

  .home-news-flex .news-list {
    width: 100%;
  }

  .home-topic {
    padding-bottom: 50px;
  }

  .home-topic .heading-h2 {
    margin-bottom: 11px;
  }

}
