﻿@charset "utf-8";


/* ----サービスの流れ---- */
.ul-align-center {
  display: flex;
  align-items: center;
  flex-direction: column;
}

#careplan ol {
  counter-reset: my-counter;
  list-style: none;
  padding: 0;
}

#careplan ol li {
  margin-bottom: 10px;
  padding-left: 30px;
  position: relative;

}

#careplan ol li:before {
  content: counter(my-counter);
  counter-increment: my-counter;
  background-color: rgb(101, 129, 192);
  color: #fff;
  display: block;
  float: left;
  line-height: 22px;
  margin-left: -30px;
  text-align: center;
  height: 22px;
  width: 22px;
  border-radius: 50%;
}

/* ----サービスのご案内---- */
#careplan span {
  margin-left: 5em;
}

/* ----紫タイトル文字---- */
p.remark {
  font-weight: bold;
  color: rgb(101, 129, 192);
  font-size: 120%;
}

p.remark2 {
  font-weight: bold;
  color: rgb(101, 129, 192);
}


/* ----お困りではありませんか---- */
.flexlist {
  display: flex;
}

.borderbox {
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 5px;
  padding: 20px 30px;
  box-sizing: border-box;
}

.flexlist ul {
  padding-inline-start: 20px;
  margin-right: 1em;
}

/* ----リハビリ---- */
figure.topimg img {
  display: block;
  max-width: 100%;
  border-radius: 5px;
  margin-bottom: 2rem;
}

/* ----入院枠---- */
@media screen and (min-width: 768px) {
  .case2 {
    width: 100%;
    margin-bottom: 1.5rem;
    padding: 2.5em;
  }

  #hospita .contact-info {
    display: block;
    align-items: center;
    width: 48%;
  }

  #hospita .contact-info figure.tiren img {
    width: 80%;
  }

  #flow .contact-info {
    display: block;
    align-items: center;
    width: 50%;
  }

  #flow .contact-info figure.tiren img {
    width: 80%;
  }
}

.case2 {
  padding: 1.5em;
  margin-bottom: 1em;
  background-color: rgb(223 233 255);
  border-radius: 10px;
  box-sizing: border-box;
}

@media screen and (max-width: 1279px) {
  .kv-box {
    top: 15em!important;
  }

}

@media screen and (max-width: 1024px) {
  .kv-intro {
    margin-left: 60px!important;
  }
}

@media screen and (max-width: 767px) {
  .case-ttl {
    text-align: left;
  }

  #hospita ul.ul-align-center {
    align-items: start;
  }
}

#hospita h4 {
  font-size: 17px;
  color: #535353;
}

.usuami {
  background-color: rgba(0, 0, 0, 0.1);
}

#hospita .usage-time-table__body dt {
  margin: 0 0 1rem 0;
}




/* ----その他---- */
.mb-1 {
  margin-bottom: 1.5rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

.mt--15px {
  margin-top: -15px;
}

.mb-33px {
  margin-bottom: 33px;
}

.bold {
  font-weight: 600;
}
#red{
color: rgb(181, 2, 2);
}


/* ----added by kumagai 2023.6 */
.kv-box {
  position: relative;
  top: 22em;
}

.kv-intro {
  position: relative;
  z-index: 10;
  text-align: left;
  margin-left: 85px;
  /* animation: textAnime 7s .5s forwards ease-in-out;
  transform: translateY(100%); */
}

@keyframes textAnime {
  to {
      transform: translateY(0px);
  }
}

.link-btn {
  text-align: center;
  padding: 8px 15px;
  color: #555;
  font-size: 16px;
  border: solid 1px #555;
  border-radius: 5px;
  text-decoration: none;
}

.recruit-link {
  display: flex;
  justify-content: space-between;
  margin-bottom: 40px;
}

.recruit-link_box {
  margin-bottom: 20px;
}

.recruit-link_box figure {
  margin-bottom: 20px;
}

@media screen and (max-width: 767px) {
  .recruit-link {
    display: block;
  }
}

/* youtube */
.youtube-container {
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 3rem;
}

@media (min-width: 992px) {
  .youtube-container {
    max-width: 960px;
  }
}

.video {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
}

.video iframe {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

@media screen and (max-width: 620px) {
  .kv-box {
    top: 16em !important;
  }

  .kv-intro {
    margin-left: 20px!important;
  }
}

@media screen and (max-width: 500px) {
  .kv-box {
    top: 13em !important;
  }

  .kv-intro {
    margin-left: 20px!important;
  }
}

@media screen and (max-width: 380px) {
  .kv-box {
    top: 10em !important;
  }
  .kv-intro {
    margin-left: 28px !important;
  }
}