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

#home {}

#home #header-area:not(.scroll) #header::before {
  background-color: rgba(255, 255, 255, 0);
  -webkit-backdrop-filter: inherit;
  backdrop-filter: inherit;
}

#main-visual {
  --mv-h: calc(750px + var(--header-h));
  height: var(--mv-h);
  margin-top: calc(var(--header-h) * -1);
  position: relative;
}

#main-visual::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 160px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.9) 10%,
    rgba(255, 255, 255, 0) 100%
  );
  pointer-events: none;
  z-index: 2;
}

.mv-slider,
.mv-slider .splide__track,
.mv-slider .splide__list,
.mv-slider .splide__slide {
  height: 100%;
  margin: 0;
}

.mv-slider .splide__list {
  padding: 0;
  list-style: none;
}

#main-visual .splide__slide {
  overflow: hidden;
}

#main-visual li figure {
  height: 100%;
  margin: 0;
}

#main-visual .splide__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1);
  animation: zoomUp 10s linear both;
  animation-play-state: paused;
}

@keyframes zoomUp {
  0% {
    transform: scale(1);
  }
  100% {
    transform: scale(1.15);
  }
}

/* スライドが1件の場合 */
#main-visual .mv-slider.is-single {
  visibility: visible;
}

#main-visual .mv-slider.is-single .splide__list {
  display: block;
}

#main-visual .mv-slider.is-single .splide__slide {
  display: block;
}

#main-visual .img-dummy::after {
  margin: auto;
  height: fit-content;
  bottom: 0;
  right: 0;
  transform: scale(1.5);
}

#main-visual h1 {
  display: flex;
  align-items: center;
  height: var(--mv-h);
  margin: 0;
  padding: 0 10%;
  width: 100%;
  min-width: calc(var(--min) + (var(--main-pd) * 2));
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
}

.mv-banner {
  position: absolute;
  bottom: 35px;
  right: 34px;
}

.mv-banner a {
  background-color: #FFF;
  border-radius: var(--radius);
  box-shadow: 0 0 8px rgba(0, 28, 147, .1);
  display: flex;
  align-items: center;
  gap: 26px;
  height: 112px;
  padding: 16px 20px 16px 16px;
  position: relative;
}

.mv-banner figure {
  aspect-ratio: 1 / 1;
  border-radius: 4px;
  height: 100%;
  margin: 0;
  overflow: hidden;
  width: auto;
}

.mv-banner figure img {
  height: 100%;
  width: 100%;
  max-height: inherit;
  object-fit: cover;
}

.mv-banner p {
  color: var(--main);
  font-size: 22px;
  font-weight: var(--fw-semi);
  margin: 0;
}

.mv-banner p .en {
  color: var(--normal);
  display: block;
  font-family: var(--en);
  font-size: 14px;
  font-weight: var(--min);
  line-height: 1.4;
}

.mv-banner .ai-arrow {
  background-color: var(--main);
  border: 1px solid var(--main);
  margin-left: 10px;
  width: 30px;
}

.mv-banner a:hover .ai-arrow {
  background-color: #FFF;
}

.mv-banner a:hover .ai-arrow::after {
  background-color: var(--main);
}

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

#home-news-imp {
  padding-top: 30px;
  padding-bottom: 30px;
}

#home-news-imp .box {
  background-color: #FFF;
  border-color: var(--red);
  display: flex;
  align-items: center;
  gap: 38px 40px;
  margin: 0 auto;
  max-width: 1350px;
  padding: 16px 32px 16px 24px;
}

#home-news-imp h2 {
  font-size: 18px;
  padding-left: 35px;
  white-space: nowrap;
  position: relative;
}

#home-news-imp h2::before {
  aspect-ratio: 1 / 1;
  background-color: var(--red);
  background-image: url("../images/icon_exmark.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: 100% auto;
  border-radius: 100%;
  content: "";
  margin: auto 0;
  min-height: 0;
  width: 22px;
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
}

#home-news-imp ul {
  display: flex;
  flex-direction: column;
  row-gap: 8px;
  margin: 0;
  padding: 5px 0;
  width: 100%;
  position: relative;
}

#home-news-imp ul::after {
  background-color: var(--red);
  content: "";
  height: 100%;
  width: 1px;
  position: absolute;
  top: 0;
  left: -20px;
}

#home-news-imp li {
  line-height: 1.64;
}

#home-news-imp li a {
  display: flex;
  padding-right: 50px;
  position: relative;
}

#home-news-imp .date {
  font-family: var(--en);
  font-size: 16px;
  font-weight: var(--fw-mid);
  margin-right: 14px;
}

#home-news-imp li [class*="ai-"]:not(.ai-arrow) {
  margin: 0;
}

#home-news-imp li [class*="ai-"]:not(.ai-arrow)::after {
  background-color: var(--main);
  width: 12px;
}

#home-news-imp a .ai-arrow {
  background-color: var(--red);
  border: 1px solid var(--red);
  margin: auto 0;
  width: 24px;
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
}

#home-news-imp a:hover .ai-arrow {
  background-color: #FFF;
}

#home-news-imp a:hover .ai-arrow::after {
  background-color: var(--red);
}

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

  #home-about {
    display: flex;
    flex-direction: row-reverse;
    margin-bottom: 80px;
    padding-bottom: 95px;
	padding-top: 100px;
  }

  #home-about > * {
    width: 50%;
  }

  #home-about h2 {
    font-size: 2em;  /* 文字基本サイズ → 34px*/
    letter-spacing: .06em;
    margin: -10px 0 30px;
    padding-left: 25px;
  }

  #home-about .txt {
    margin-bottom: 45px;
    padding-left: 45px;
  }

  #home-about .txt p:not(:last-child) {
    line-height: 1.88;
    margin-bottom: 12px;
  }

  #home-about figure {
    text-align: center;
  }

  #home-about .link-btn {
    margin-left: 50px;
  }
  
  #home-news-imp + #home-about {
	padding-top: 60px;
  }

}

#home h2 .ff-en {
  color: var(--normal);
  display: block;
  font-size: 38.8%;
  font-weight: var(--fw-mid);
  letter-spacing: 0;
  line-height: 2;
}

#home-recruit {
  margin-bottom: 0;
  text-align: center;
}

#home-recruit .link-btn {
  margin: 50px auto 80px;
}

#home-recruit figure {
  border-radius: 16px 16px 0 0;
  margin-bottom: 0;
  overflow: hidden;
}

#home-recruit figure img {
  width: 100%;
}

#home-facilities {
  margin-bottom: 90px;
  padding-top: 80px;
  padding-bottom: 110px;
}

#home-facilities h2 {
  text-align: center;
}

#home-facilities .box-facilities {
  background-color: #FFF;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 30px;
}

#home-facilities .box-facilities > div {
  width: calc(100% - 24px - 460px);
}

#home-facilities .box-facilities > figure {
  width: 460px;
}

#home-facilities .box-facilities h4 {
  margin-bottom: .4em;
}

#home-facilities .bunin-wrap {
  display: flex;
  gap: 20px 24px;
  margin-top: 24px;
}

#home-facilities .bunin-wrap > div {
  border-radius: var(--radius);
  height: 270px;
  overflow: hidden;
  width: calc((100% - 24px) / 2);
  position: relative;
}

#home-facilities .bunin-wrap a {
  display: block;
  height: 100%;
  padding: 26px 30px 30px;
  position: relative;
}

#home-facilities .bunin-wrap img {
  height: 100%;
  width: 100%;
  max-width: inherit;
  object-fit: cover;
  position: absolute;
  top: 0;
  left: 0;
  z-index: -1;
  transition: .4s;
}

#home-facilities .bunin-wrap a:hover img {
  transform: scale(1.05);
}

#home-facilities .bunin-wrap h4 {
  background-color: #FFF;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  display: inline;
  font-weight: var(--fw-semi);
  letter-spacing: .04em;
  line-height: 1.8;
  margin: 0;
  padding: 0 10px;
  width: fit-content;
}

#home-facilities .bunin-wrap p {
  background-color: #FFF;
  color: var(--main);
  font-size: 18px;
  font-weight: var(--fw-semi);
  line-height: 1.9;
  margin: 7px 0 0;
  padding: 0 10px;
  width: fit-content;
}

#home-facilities .bunin-wrap .ai-out {
  background-color: var(--main);
  border: 1px solid var(--main);
  width: 40px;
  position: absolute;
  bottom: 20px;
  right: 20px;
}

#home-facilities .bunin-wrap a:hover .ai-out {
  background-color: #FFF;
}

#home-facilities .bunin-wrap a:hover .ai-out::after {
  background-color: var(--main);
}

#home-news {
  display: flex;
  gap: 30px 70px;
  margin-bottom: 90px;
}

#home-news .head {
  flex-shrink: 0;
}

#home-news h2 {
  margin-bottom: 28px;
}

#home-news .news-list li:first-child {
  border-width: 1px 0;
}

#home-news .news-list > p {
  display: flex;
  align-items: center;
  height: 100%;
}

#home-topics {}

#home-topics .head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

#home-topics h2 {
  margin-bottom: 0;
}



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

#home.fixed #header-area #header::before {
  background-color: rgba(255, 255, 255, 1);
}

#main-visual {
  --mv-h: calc(597px + var(--header-h));
}

#main-visual::before {
    height: 120px;
  }

#main-visual h1 {
  align-items: flex-start;
  min-width: 100%;
  padding: 0 35px;
  top: 95px;
}

#main-visual h1 img {
  width: 77px;
}

.mv-banner {
  padding: 0 var(--main-pd);
  width: 100%;
  bottom: 20px;
  right: 0;
}

.mv-banner a {
  border-radius: 3px;
  gap: 13px;
  height: 75px;
  margin: 0 0 0 auto;
  padding: 10px;
  max-width: 335px;
  width: 100%;
}

.mv-banner p {
  font-size: 16px;
}

.mv-banner p .en {
  font-size: 11px;
}

.mv-banner .ai-arrow {
  margin: 0 0 0 auto;
}

#home-news-imp {
  padding-top: 40px;
  padding-bottom: 0;
}

#home-news-imp .box {
  flex-direction: column;
  padding: 30px 20px;
}

#home-news-imp h2 {
  font-size: 20px;
  padding-left: 32px;
  width: 100%;
}

#home-news-imp h2::before {
  width: 25px;
  top: 3px;
}

#home-news-imp ul {
  row-gap: 17px;
  padding: 0;
}

#home-news-imp ul::after {
  height: 1px;
  width: 100%;
  top: -15px;
  left: 0;
}

#home-news-imp li.no-link {
  display: flex;
  flex-direction: column;
}

#home-news-imp li a {
  flex-direction: column;
  padding-right: 0;
}

#home-news-imp a .ai-arrow {
  display: none;
}

#home-about {
  margin-bottom: 50px;
  padding-bottom: 150px;
}

#home-about .txt {
  margin-bottom: 40px;
}

#home-about .link-btn {
  position: absolute;
  bottom: 65px;
  margin: 0 auto;
  left: 0;
  right: 0;
}

#home-recruit .link-btn {
  margin: 30px auto 50px;
}

#home-facilities {
  margin-bottom: 50px;
  padding-top: 60px;
  padding-bottom: 50px;
}

#home-facilities .box-facilities {
  padding: 40px 20px 120px;
  flex-direction: column;
  position: relative;
}

#home-facilities .box-facilities > div {
  width: 100%;
}

#home-facilities .box-facilities > figure {
  width: 100%;
}

#home-facilities .box-facilities .link-btn {
  margin: 0 auto;
  position: absolute;
  bottom: 40px;
  left: 0;
  right: 0;
}

.bunin-wrap {
  flex-direction: column;
}

#home-facilities .bunin-wrap > div {
  height: 240px;
  width: 100%;
}

#home-facilities .bunin-wrap a {
  padding: 15px 20px 20px;
}

#home-facilities .bunin-wrap h4 {
  line-height: 2;
  padding: 0 5px;
}

#home-facilities .bunin-wrap p {
  font-size: 15px;
  line-height: 1.4;
  margin-top: 4px;
  padding: 0 5px;
}

#home-facilities .bunin-wrap .ai-out {
  width: 30px;
}

#home-news {
  flex-direction: column;
  margin-bottom: 0;
  padding-bottom: 105px;
  position: relative;
}

#home-news h2 {
  margin-bottom: 0;
}

#home-news .link {
  margin: 0 auto;
  position: absolute;
  bottom: 45px;
  right: 0;
}

#home-news .news-list li:first-child {
  border-width: 0 0 1px;
}

#home-news .news-list li:first-child a {
  padding-top: 10px;
}

#home-topics {
  padding-top: 65px;
  padding-bottom: 130px;
}

#home-topics .link {
  margin: 0 auto;
  position: absolute;
  bottom: 60px;
  right: 0;
}

}