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

/* @group about */

#h1-area.h1-about {
  background-image: url("../../about/images/main_pc.webp");
}

.about-img {
  border-radius: 2px;
  overflow: hidden;
}

.tbl-history {
  position: relative;
}

.tbl-history::before {
  background-color: var(--main);
  content: "";
  height: calc(100% - .8em);
  width: 2px;
  position: absolute;
  top: .8em;
  left: 3px;
}

.tbl-history table th {
  color: var(--main);
  font-weight: var(--fw-mid);
  padding: 0 0 30px 35px;
  text-align: left;
  width: 180px;
  position: relative;
}

.tbl-history table th::before {
  background-color: var(--main);
  border-radius: 100%;
  content: "";
  height: 8px;
  width: 8px;
  position: absolute;
  top: calc((1.8em - 8px) / 2);
  left: 0;
}

.tbl-history table td {
  line-height: 1.8;
  padding: 0 0 30px 0;
}

/* @end */

/* @group facilities */
/* @end */

/* @group recruit */

#h1-area.h1-recruit {
  background-image: url("../../recruit/images/main_pc.webp");
}

.recruit-lead {
  color: var(--main);
  font-size: 1.764em;    /* 文字基本サイズ → 30px*/
  font-weight: var(--fw-semi);
  margin-bottom: 1em;
}

.recruit-lead + figure {
  border-radius: 10px;
  overflow: hidden;
}

#main-content:has(.recruitment-bnr) {
  margin-bottom: 0;
}

.bg-full:has( > .recruitment-bnr)::before {
  background-color: var(--main);
  height: calc(100% + 1px);
  bottom: -1px;
}

.recruitment-bnr {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 44px;
  padding-top: 20px;
}

section:has( > .recruitment-bnr):has(+ .section .related-link) {
  margin-bottom: 0;
}

.recruitment-bnr *, .recruitment-bnr a {
  color: #FFF;
}

.recruitment-bnr h2 + p {
  line-height: 1.64;
}

.recruitment-bnr ul {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 30px;
  margin: 0;
}

.recruitment-bnr ul li {
  aspect-ratio: 117 / 40;
  border-radius: var(--radius);
  height: auto;
  overflow: hidden;
  width: calc((100% - 30px) / 2);
}

.recruitment-bnr li a {
  display: flex;
  justify-content: flex-end;
  align-items: flex-end;
  font-size: 1.411em;    /* 文字基本サイズ → 24px*/
  height: 100%;
  padding: 25px;
  text-decoration: none;
  width: 100%;
  position: relative;
}

.recruitment-bnr li a::before {
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: .4s;
}

.recruitment-bnr li a[href*="staff/"]::before {
  background-image: url("../../recruit/images/banner_bg_staff.webp");
}

.recruitment-bnr li a[href*="doctor/"]::before {
  background-image: url("../../recruit/images/banner_bg_doctor.webp");
}

.recruitment-bnr li a:hover::before {
  transform: scale(1.07);
}

/* @group work */

#h1-area.h1-work {
  background-image: url("../../recruit/work/images/main_pc.webp");
}

.work-box {}

.work-box .head-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  row-gap:16px;
  margin-bottom: 30px;
}

.work-box h3 {
  margin: 0;
}

.work-box .category {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.work-box .category li {
  background-color: #32A6EF;
  border-radius: 9999px;
  color: #FFF;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.882em;    /* 文字基本サイズ → 15px*/
  height: 35px;
  padding: 0 10px;
  min-width: 68px;
}

.work-box .lead {
  line-height: 1.41;
  margin-bottom: 17px;
}

/* @end */

/* @group appeal */

#h1-area.h1-appeal {
  background-image: url("../../recruit/appeal/images/main_pc.webp");
}

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

  .tbl-event tbody {
    --row-count: 6;
    display: grid;
    grid-auto-flow: column;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(var(--row-count), auto);
    column-gap: 40px;
  }

  .tbl-event tr {
    display: flex;
  }

}

table.tbl-event th {
  width: 25%;
}

table.tbl-event td {
  width: 75%;
}

/* @end */

/* @group welcome */

#h1-area.h1-welcome {
  background-image: url("../../recruit/welcome_center/images/main_pc.webp");
}

.gallery-thumb ul {
  --gap: 30px;
  display: flex;
  flex-wrap: wrap;
  gap: var(--gap);
}

.gallery-thumb li {
  cursor: pointer;
  width: calc((100% - (var(--gap) * 2)) / 3);
}

.gallery-thumb li figure {
  margin-bottom: 10px;
  transition: .4s;
  position: relative;
}

.gallery-thumb li:hover figure {
  opacity: 0.8;
}

.gallery-thumb li figure::after {
  aspect-ratio: 1 / 1;
  background-color: #FFF;
  background-image: url("../images/icon_plus.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  border: 1px solid var(--main);
  border-radius: 100%;
  content: "";
  min-height: 0;
  width: 24px;
  position: absolute;
  bottom: 10px;
  right: 10px;
}

.gallery-thumb li .head,
.gallery li .head {
  color: var(--main);
  font-weight: var(--fw-mid);
  margin: 0;
}

.gallery-thumb li .head ~ p {
  display: none;
}

.gallery li figure {
  margin-bottom: 14px;
}

.gallery li .head {
  margin-bottom: 5px;
}

.gallery ul,
.gallery li > *:last-child {
  margin-bottom: 0;
}

.modal-gallery {
  background-color: rgba(0, 0, 0, .45);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  width: 100vw;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.modal-gallery.is-show {
  animation: galleryShow .4s forwards;
  pointer-events: auto;
}

@keyframes galleryShow {
  0% {
    opacity: 0;
    visibility: hidden;
  }
  100% {
    opacity: 1;
    visibility: visible;
  }
}

.modal-gallery.is-hide {
  animation: galleryHide .3s forwards;
}

@keyframes galleryHide {
  0% {
    opacity: 1;
    visibility: visible;
  }
  100% {
    opacity: 0;
    visibility: hidden;
  }
}

.gallery {
  background-color: #FFF;
  padding: 70px 40px 40px;
  height: fit-content;
  width: 80%;
  max-width: 650px;
  position: relative;
}

.gallery-close {
  aspect-ratio: 1 / 1;
  cursor: pointer;
  min-height: 0;
  width: 20px;
  position: absolute;
  top: 30px;
  right: 30px;
}

.gallery-close::before,
.gallery-close::after {
  background-color: var(--main);
  content: "";
  height: 2px;
  width: 100%;
  margin: auto 0;
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
}

.gallery-close::before {
  transform: rotate(45deg);
}

.gallery-close::after {
  transform: rotate(-45deg);
}

.gallery .arrow-box {
  aspect-ratio: 380 / 260;
  width: calc(100% - 80px);
  position: absolute;
  top: 70px;
  left: 40px;
}

.gallery .splide__arrow {
  background-color: #FFF;
  border: 1px solid var(--main);
  border-radius: 100%;
  cursor: pointer;
  height: 30px;
  width: 30px;
  margin: auto 0;
  padding: 0;
  font-size: 0;
  position: absolute;
  top: 0;
  bottom: 0;
  z-index: 1;
}

.gallery .splide__arrow::after {
  background-image: url("../images/icon_arrow.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 8px auto;
  content: "";
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.gallery .splide__arrow--prev::after {
  transform: scaleX(-1);
}

.gallery .splide__arrow--prev {
  left: -15px;
}

.gallery .splide__arrow--next {
  right: -15px;
}

/* @end */

/* @group event */
/* @end */

/* @group doctor */

#h1-area.h1-doctor {
  background-image: url("../../recruit/doctor/images/main_pc.webp");
}

/* @end */

/* @group staff */

#h1-area.h1-staff {
  background-image: url("../../recruit/staff/images/main_pc.webp");
}

/* @end */

/* @end of recruit */

/* @group news */

#h1-area.h1-news {
  background-image: url("../../news/images/main_pc.webp");
}

/* @end */

/* @group topics */

#h1-area.h1-topics {
  background-image: url("../../topics/images/main_pc.webp");
}

/* @end */

/* @group contact */

#h1-area.h1-contact {
  background-image: url("../../contact/images/main_pc.webp");
}

.tel-btn {
  background-color: var(--main);
  color: #FFF;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  font-weight: var(--fw-mid);
  line-height: 1.47;
  height: 55px;
  padding: 0 60px 0 26px;
  min-width: 0;
  max-width: 300px;
  width: 100%;
  position: relative;
}

.tel-btn .ai-tel {
  margin: auto 0;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 1em;
}

.tel-btn .ai-tel::after {
  width: 20px;
}

.tel-btn-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.tel-btn-wrap .tel-btn {
  margin-bottom: 0;
}

.tel-btn:not(:has(.tel-link)) {
  background-color: #646E74;
}

/* @end */

/* @group sitemap */

#sitemap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 auto;
  max-width: 800px;
}

#sitemap p {
  width: 100%;
}

#sitemap a {
  color: var(--normal);
}

#sitemap a:hover {
  color: var(--main);
  text-decoration-color: var(--main);
}

#sitemap .nav-lv2 {
  padding: 0;
}

#sitemap .nav-lv2 .parent,
#sitemap a .ai-arrow,
#sitemap li:has( > a[href*="/sitemap/"]) {
  display: none;
}

#sitemap a .ai-out {}

#sitemap a .ai-out::after {
  background-color: var(--main);
  width: 12px;
}

#sitemap .list {
  margin-bottom: 0;
}

#sitemap .list,
#sitemap .list ul {
  row-gap: 15px;
}

#sitemap .list ul {
  margin-top: 15px;
  padding: 0;
}

#sitemap li:has(.nav-lv2) + li {
  margin-top: 10px;
}

/* @end */



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

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

/* @group about */

#h1-area.h1-about {
  background-image: url("../../about/images/main_sp.webp");
}

.tbl-history table tr::before {
  width: 1px;
  left: 3px;
}

.tbl-history table tr:first-child::before {
  height: calc(100% - .8em);
  top: .8em;
}

.tbl-history table th {
  padding: 0 0 15px 23px;
  width: 130px;
}

.tbl-history table th::before {
  height: 7px;
  width: 7px;
  top: calc((1.8em - 7px) / 2);
}

.tbl-history table td {
  padding: 0 0 15px 0;
}

/* @end */

/* @group facilities */
/* @end */

/* @group recruit */

#h1-area.h1-recruit {
  background-image: url("../../recruit/images/main_sp.webp");
}

.recruit-lead {
  font-size: 1.375em;
}

.bg-full:has( > .recruitment-bnr) {
  padding-top: 50px;
  padding-bottom: 60px;
}

.recruitment-bnr {
  padding-top: 0;
}

.recruitment-bnr h2 {
  margin-bottom: .5em;
}

.recruitment-bnr h2 + p {
  line-height: 1.8;
}

.recruitment-bnr ul {
  gap: 20px;
}

.recruitment-bnr ul li {
  aspect-ratio: 67 / 24;
  width: 100%;
}

.recruitment-bnr li a {
  font-size: 1em;
  padding: 10px;
}

/* @group work */

#h1-area.h1-work {
  background-image: url("../../recruit/work/images/main_sp.webp");
}

.work-box .head-wrap {
  margin-bottom: 20px;
}

.work-box .category li {
  height: 28px;
  min-width: 65px;
}

/* @end */

/* @group appeal */

#h1-area.h1-appeal {
  background-image: url("../../recruit/appeal/images/main_sp.webp");
}

/* @end */

/* @group welcome */

#h1-area.h1-welcome {
  background-image: url("../../recruit/welcome_center/images/main_sp.webp");
}

.gallery-thumb ul {
  flex-direction: column;
}

.gallery-thumb li {
  width: 100%;
}

.gallery {
  padding: 55px 20px 35px;
  width: calc(100% - 40px);
}

.gallery-close {
  width: 22px;
  top: 18px;
  right: 20px;
}

.gallery .arrow-box {
  width: calc(100% - 40px);
  top: 55px;
  left: 20px;
}

/* @end */

/* @group event */
/* @end */

/* @group doctor */

#h1-area.h1-doctor {
  background-image: url("../../recruit/doctor/images/main_sp.webp");
}

/* @end */

/* @group staff */

#h1-area.h1-staff {
  background-image: url("../../recruit/staff/images/main_sp.webp");
}

/* @end */

/* @end of recruit */

/* @group news */

#h1-area.h1-news {
  background-image: url("../../news/images/main_sp.webp");
}

/* @end */

/* @group topics */

#h1-area.h1-topics {
  background-image: url("../../topics/images/main_sp.webp");
}

/* @end */

/* @group contact */

#h1-area.h1-contact {
  background-image: url("../../contact/images/main_sp.webp");
}

/* @end */

/* @group sitemap */

#sitemap {}

#sitemap .nav-lv2 {
  display: block;
  margin-bottom: 15px;
}

#sitemap .list + .list {
  margin-top: 10px;
}

/* @end */

}
