@charset "utf-8";

#home .main-bg {
  padding-top: 60px;
  background: var(--base-pale-orange);
}

@media screen and (max-width: 767px) {
  #home .main-bg {
    padding-top: min(30/390 * 100vw, 30px);
  }
}

/* --------------------------------------------
メインビジュアル
-----------------------------------------------*/
#home .main-visual {
  position: relative;
}

#home .main-visual__wrap {
  position: relative;
}

/* メインビジュアル画像
---------------------------------- */
#home .main-visual__promo {
  position: relative;
  z-index: 5;
}

#home .main-visual__promo > img {
  width: 100%;
  height: auto;
}

/* キャッチコピー
------------------------------------*/
#home .main-visual__catch {
  position: absolute;
  top: 5%;
  left: 3%;
  width: min(32%, 477px);
  z-index: 5;
}

#home .main-visual__orange-bg {
  border-top-right-radius: 20px;
  border-top-left-radius: 20px;
  background: var(--base-pale-orange);
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 60%;
}

/* スクロール
------------------------------------*/
#home .main-visual__scroll {
  position: absolute;
  bottom: min(55/1440 * 100vw, 55px);
  left: 2%;
  z-index: 5;
  font-family: "Poppins", sans-serif;
  font-size: var(--fontsize16);
  color: var(--base-orange);
  rotate: 90deg;
}

#home .main-visual__scroll::before {
  content: "";
  position: absolute;
  bottom: -10px;
  right: 0;
  width: min(200/1440 * 100vw, 200px);
  height: 1px;
  background: var(--base-orange);
}

/* イラスト
------------------------------------*/
#home .main-visual__illust {
  position: absolute;
  bottom: -30px;
  right: -30px;
  width: min(12%, 171px);
  z-index: 5;
}

@media screen and (max-width: 767px) {
  #home .main-visual__orange-bg {
    border-top-right-radius: 5px;
    border-top-left-radius: 5px;
  }

  #home .main-visual__scroll {
    bottom: min(20/390 * 100vw, 20px);
    left: 0%;
    font-size: var(--fontsize12);
  }

  #home .main-visual__scroll::before {
    bottom: -5px;
    width: min(70/390 * 100vw, 70px);
  }

  #home .main-visual__illust {
    bottom: -10px;
    right: -10px;
  }
}

/* --------------------------------------------
お知らせ
-----------------------------------------------*/
#home .news {
  position: relative;
}

#home .news::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  background: url(../../img/top/news-decoration.png) no-repeat center;
  background-size: min(375/1440 * 100vw, 375px) min(396/1440 * 100vw, 396px);
  width: min(375/1440 * 100vw, 375px);
  height: min(396/1440 * 100vw, 396px);
  z-index: 0;
  translate: 0 50%;
}

#home .news__wrap {
  position: relative;
  background: var(--base-white);
  padding: min(70/1440 * 100vw, 70px) 0 min(60/1440 * 100vw, 60px);
  border-radius: 15px;
  margin-bottom: min(95/1440 * 100vw, 95px);
  z-index: 5;
}

#home .news__content {
  position: relative;
  display: flex;
  gap: min(90/1440 * 100vw, 90px);
}

/* タイトル
-------------------------------- */
#home .news__content .heading {
  flex-shrink: 0;
}

#home .news-heading__title-jp {
  font-size: var(--fontsize34);
  font-weight: 500;
  letter-spacing: 0.3em;
}

#home .news-heading__title-en {
  position: relative;
  font-size: var(--fontsize16);
}

/* お知らせ一覧
--------------------------------- */
#home .news__right-content {
  position: relative;
  width: 100%;
}

#home .news__list {
  margin-bottom: min(45/1440 * 100vw, 45px);
}

#home .news__item a {
  position: relative;
  display: flex;
  width: 100%;
  font-size: var(--fontsize16);
  gap: min(40/1440 * 100vw, 40px);
  align-items: center;
  padding: min(10/1440 * 100vw, 10px) 60px min(15/1440 * 100vw, 15px) 30px;
  border-bottom: 2px dotted #dcdcdc;
}

#home .news__item a:hover {
  opacity: 1;
}

#home .news__item a::after {
  content: "";
  position: absolute;
  top: 50%;
  right: 30px;
  translate: 0 -50%;
  background: url(../../img/common/orange-right-arw.png) no-repeat center;
  background-size: 8px 13px;
  font-weight: 600;
  border-radius: 50%;
  border: 1px solid var(--base-orange);
  width: 30px;
  height: 30px;
  transition: all 0.3s;
}

#home .news__item a:hover::after {
  background: url(../../img/common/white-right-arw.png) no-repeat center;
  background-size: 8px 13px;
  background-color: var(--base-orange);
  transition: all 0.3s;
}

/* 日付 */
#home .news__item a time {
  font-family: "Poppins", sans-serif;
  flex-shrink: 0;
}

#home .news__category {
  flex-shrink: 0;
}

/* カテゴリー */
#home .news__category span {
  display: inline-block;
  color: var(--base-orange);
  font-weight: 600;
  padding: min(5/1440 * 100vw, 5px) min(25/1440 * 100vw, 25px);
  border: 2px solid var(--base-orange);
  border-radius: 20px;
}

/* 一覧ボタン */
#home .news__btn {
  text-align: right;
}

#home .news__btn a {
  position: relative;
  padding: 15px 80px 15px 20px;
  font-size: var(--fontsize18);
  font-weight: 500;
  color: var(--base-orange);
  border-bottom: 1px solid var(--base-orange);
}

#home .news__btn a:hover {
  opacity: 1;
}

#home .news__btn a::before {
  content: "";
  position: absolute;
  top: 50%;
  right: 30px;
  translate: 0 -50%;
  background: url(../../img/common/orange-right-arw.png) no-repeat center;
  background-size: 8px 13px;
  font-weight: 600;
  border-radius: 50%;
  border: 1px solid var(--base-orange);
  width: 30px;
  height: 30px;
  transition: all 0.3s;
}

#home .news__btn a:hover::before {
  background: url(../../img/common/white-right-arw.png) no-repeat center;
  background-size: 8px 13px;
  background-color: var(--base-orange);
  transition: all 0.3s;
}

/* イラスト
-------------------------------- */
#home .news__illust {
  position: absolute;
  bottom: 0;
  left: min(35/1240 * 100vw, 35px);
  width: min(13%, 170px);
}

@media screen and (max-width: 767px) {
  #home .news__wrap {
    padding: min(30/390 * 100vw, 30px) 0;
    margin-bottom: min(20/390 * 100vw, 20px);
  }

  #home .news__content {
    flex-direction: column;
    gap: 0;
  }

  #home .news-heading__title-jp {
    font-size: var(--fontsize24);
  }

  #home .news-heading__title-en {
    font-size: var(--fontsize12);
  }

  #home .news__item a {
    font-size: var(--fontsize14);
    gap: 0;
    padding: min(10/390 * 100vw, 10px) 30px min(15/390 * 100vw, 15px) 5px;
    border-bottom: 2px dotted #dcdcdc;
    display: grid;
    grid-auto-columns: auto 1fr;
    gap: 5px;
    grid-template-areas:
      "time category"
      "title title";
  }

  #home .news__item a::after,
  #home .news__item a:hover::after {
    background-size: 5px 9px;
    width: 20px;
    height: 20px;
    right: 5px;
  }

  #home .news__item a time {
    grid-area: time;
  }

  #home .news__category {
    grid-area: category;
  }

  #home .news__category span {
    font-size: var(--fontsize12);
    padding: min(5/390 * 100vw, 5px) min(10/390 * 100vw, 10px);
    border: 1px solid var(--base-orange);
    line-height: 1;
  }

  #home .news__title {
    grid-area: title;
  }

  #home .news__btn a {
    display: inline-block;
    padding: 10px 35px 10px 10px;
    font-size: var(--fontsize14);
  }

  #home .news__btn a::before,
  #home .news__btn a:hover::before {
    right: 7px;
    background-size: 5px 9px;
    width: 20px;
    height: 20px;
  }
}

/* --------------------------------------------
私たちについて
-----------------------------------------------*/
#home .about {
  position: relative;
}

#home .about__wrap {
  padding-bottom: min(120/1240 * 100vw, 120px);
}

#home .about-top__wrap {
  position: relative;
  padding-top: min(50/1240 * 100vw, 50px);
}

#home .about-top__wrap::before {
  content: "";
  position: absolute;
  right: -50px;
  top: min(250/1440 * 100vw, 250px);
  background: url(../../img/top/about-decoration.png) no-repeat center;
  background-size: min(450/1440 * 100vw, 450px) min(339/1440 * 100vw, 339px);
  width: min(450/1440 * 100vw, 450px);
  height: min(339/1440 * 100vw, 339px);
}

/* タイトル */
#home .about__heading .heading__title-jp {
  font-size: var(--fontsize48);
  font-weight: 500;
}

#home .about-top__wrap > p {
  font-size: var(--fontsize20);
  margin-bottom: min(90/1440 * 100vw, 90px);
  line-height: 3;
}

#home .about-top__img {
  position: absolute;
  right: 0;
  top: 0;
  width: 54%;
}

/* イラスト */
#home .about-top__illust1 {
  position: absolute;
  top: 35px;
  left: 32%;
  width: min(11.5%, 142px);
}

#home .about-top__illust2 {
  position: absolute;
  left: 50%;
  bottom: 134px;
  width: 20%;
}

/* ケア理念
--------------------------------- */
#home .about__box {
  position: relative;
  padding: 30px 45px 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  background: var(--base-white);
  margin-bottom: 30px;
  border-radius: 15px;
}

#home .about__box-img {
  display: flex;
  gap: min(55/1420 * 100vw, 55px);
}

#home .about__box-img h3 {
  position: relative;
  display: flex;
  align-items: center;
  writing-mode: vertical-lr;
  font-size: var(--fontsize38);
  font-weight: 500;
}

#home .about-care__box-title::before {
  content: "";
  background: url(../../img/top/title-care-icon.png) no-repeat center;
  background-size: min(22/1240 * 100vw, 22px) min(44/1240 * 100vw, 44px);
  width: min(22/1240 * 100vw, 22px);
  height: min(44/1240 * 100vw, 44px);
}

#home .about__box-txt {
  font-size: var(--fontsize);
  display: flex;
  align-items: center;
  line-height: 2;
}

#home .about__box-txt p {
  line-height: 3;
  font-size: var(--fontsize16);
}

#home .about__box-txt .about__box-txt--bold {
  font-size: var(--fontsize26);
  padding-left: min(60/1420 * 100vw, 60px);
  line-height: 2;
}

#home .about__box-txt--bold span {
  position: relative;
  z-index: 5;
}

#home .about__box-txt--bold span::before {
  content: "";
  display: inline-block;
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 40%;
  background: #fbebd2;
  z-index: -1;
}

/* イラスト */
#home .about-care__box-illust {
  position: absolute;
  top: min(40/1440 * 100vw, 40px);
  right: min(60/1440 * 100vw, 60px);
  width: min(15.5%, 190px);
  height: auto;
}

/* 私たちの約束
--------------------------------- */

#home .about-promise__box-title::before {
  content: "";
  background: url(../../img/top/about-promise-icon.png) no-repeat center;
  background-size: min(42/1440 * 100vw, 42px) min(46/1440 * 100vw, 46px);
  width: min(42/1440 * 100vw, 42px);
  height: min(46/1440 * 100vw, 46px);
  margin-bottom: 10px;
}

/* イラスト */
#home .about-promise__box-illust1 {
  position: absolute;
  bottom: 0;
  left: 0;
}

#home .about-promise__box-illust2 {
  position: absolute;
  width: 10%;
  top: 20px;
  left: 35%;
}

/* 職場環境等要件への取り組み
--------------------------------- */
#home .about-link__box {
  padding: min(40/1440 * 100vw, 40px) min(80/1440 * 100vw, 80px);
  margin: 0;
}

#home .about-link__title {
  position: relative;
  font-size: var(--fontsize26);
  display: flex;
  align-items: center;
}

#home .about-link__title::before {
  content: "";
  background: url(../../img/top/about-link-icon.png) no-repeat center;
  background-size: min(15/1440 * 100vw, 15px) min(31/1440 * 100vw, 31px);
  width: min(15/1440 * 100vw, 15px);
  height: min(31/1440 * 100vw, 31px);
  margin-right: 10px;
}

#home .about-link__btn {
  text-align: right;
}

#home .about-link__btn a {
  padding: 0 28px min(15/1440 * 100vw, 15px) 5px;
  border-bottom: 1px solid var(--txt-black);
  font-size: var(--fontsize18);
  display: inline-flex;
  align-items: center;
}

#home .about-link__btn a::after {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background: url(../../img/common/white-right-arw.png) no-repeat center;
  background-size: 8px 13px;
  background-color: var(--txt-black);
  border: 1px solid var(--txt-black);
  border-radius: 50%;
  margin-left: 20px;
  transition: all 0.3s;
}

#home .about-link__btn a:hover::after {
  background: url(../../img/common/black-right-arw.png) no-repeat center;
  background-color: var(--txt-black);
  background-size: 8px 13px;
  background-color: var(--base-white);
  transition: all 0.3s;
}

@media screen and (max-width: 767px) {
  #home .about__wrap {
    padding-bottom: min(30/390 * 100vw, 30px);
  }

  #home .about-top__wrap {
    padding-top: min(30/390 * 100vw, 30px);
    padding-bottom: 20px;
  }

  #home .about__heading .heading__title-jp {
    font-size: var(--fontsize30);
  }

  #home .about-top__wrap > p {
    font-size: var(--fontsize14);
    margin-bottom: min(20/390 * 100vw, 20px);
    line-height: 1.5;
  }

  #home .about-top__img {
    width: 40%;
    right: -5px;
    top: 12px;
  }

  #home .about-top__illust1 {
    top: min(68/390 * 100vw, 68px);
    left: 45%;
  }

  #home .about-top__illust2 {
    left: initial;
    right: 0;
    bottom: 10px;
    width: 20%;
  }

  #home .about__box {
    padding: min(30/390 * 100vw, 30px) min(15/390 * 100vw, 15px);
    grid-template-columns: repeat(1, 1fr);
    margin-bottom: min(20/390 * 100vw, 20px);
    gap: 10px;
  }

  #home .about__box-img h3 {
    font-size: var(--fontsize24);
  }

  #home .about-care__box-title::before {
    background-size: min(11/390 * 100vw, 11px) min(22/390 * 100vw, 22px);
    width: min(11/390 * 100vw, 11px);
    height: min(22/390 * 100vw, 22px);
  }

  #home .about__box-txt .about__box-txt--bold {
    font-size: var(--fontsize18);
    padding-left: 0;
  }

  #home .about-care__box-illust {
    top: initial;
    bottom: 15px;
    right: 5%;
    width: min(22.5%, 190px);
  }

  #home .about__box-txt p {
    line-height: 2;
  }

  #home .about-promise__box-title::before {
    background-size: min(21/390 * 100vw, 21px) min(23/390 * 100vw, 23px);
    width: min(21/390 * 100vw, 21px);
    height: min(23/390 * 100vw, 23px);
  }

  #home .about-promise__box-illust1 {
    bottom: -15px;
    left: 0;
    width: 15%;
  }

  #home .about-promise__box-illust2 {
    top: -15px;
    left: initial;
    right: 0;
    width: 14%;
  }

  #home .about-link__title {
    font-size: var(--fontsize18);
  }

  #home .about-link__title::before {
    background-size: min(8/390 * 100vw, 8px) min(16/390 * 100vw, 16px);
    width: min(8/390 * 100vw, 8px);
    height: min(16/390 * 100vw, 16px);
  }

  #home .about-link__btn a {
    padding: 0 10px min(10/390 * 100vw, 10px) 5px;
    border-bottom: 1px solid var(--txt-black);
    font-size: var(--fontsize14);
    display: inline-flex;
    align-items: center;
  }

  #home .about-link__btn a::after,
  #home .about-link__btn a:hover::after {
    width: 20px;
    height: 20px;
    background-size: 5px 9px;
    margin-left: 10px;
  }
}

/* --------------------------------------------
施設紹介
-----------------------------------------------*/
#home .facility {
  background: var(--base-white);
  padding: min(120/1440 * 100vw, 120px) 0;
}

#home .facility__wrap {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: min(55/1440 * 100vw, 55px);
}

#home .facility__heading {
  writing-mode: vertical-lr;
}

#home .facility__img {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
}

#home .facility__description {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: min(30/1440 * 100vw, 30px) min(35/1440 * 100vw, 35px);
  font-size: var(--fontsize24);
  color: var(--base-orange);
  font-weight: 600;
  border-top-left-radius: 15px;
  background: var(--base-white);
}

#home .facility__btn {
  text-align: right;
}

#home .facility__btn a {
  padding: 15px 28px 15px 5px;
  border-bottom: 1px solid var(--txt-black);
  font-size: var(--fontsize18);
  display: inline-flex;
  align-items: center;
}

#home .facility__btn a::after {
  content: "";
  display: block;
  width: 30px;
  height: 30px;
  background: url(../../img/common/white-right-arw.png) no-repeat center;
  background-size: 8px 13px;
  background-color: var(--txt-black);
  border: 1px solid var(--txt-black);
  border-radius: 50%;
  margin-left: 20px;
  transition: all 0.3s;
}

#home .facility__btn a:hover::after {
  background: url(../../img/common/black-right-arw.png) no-repeat center;
  background-color: var(--txt-black);
  background-size: 8px 13px;
  background-color: var(--base-white);
  transition: all 0.3s;
}

#home .facility__illust {
  position: absolute;
  bottom: 18px;
  left: min(38/1440 * 100vw, 38px);
  width: min(16%, 199px);
}

@media screen and (max-width: 767px) {
  #home .facility {
    padding: min(30/390 * 100vw, 30px) 0;
  }

  #home .facility__wrap {
    gap: 0;
    flex-direction: column;
  }

  #home .facility__heading {
    writing-mode: initial;
  }

  #home .facility__img {
    border-radius: 4px;
  }

  #home .facility__description {
    padding: min(10/390 * 100vw, 10px) min(5/390 * 100vw, 5px);
    font-size: var(--fontsize14);
    border-top-left-radius: 5px;
  }

  #home .facility__btn a {
    padding: 10px 10px 10px 5px;
    font-size: var(--fontsize14);
  }

  #home .facility__btn a::after,
  #home .facility__btn a:hover::after {
    width: 20px;
    height: 20px;
    background-size: 5px 9px;
    margin-left: 10px;
  }
}

/* --------------------------------------------
よくある質問
-----------------------------------------------*/
#home .question {
  padding: min(110/1440 * 100vw, 110px) 0 min(120/1440 * 100vw, 120px);
}

#home .question__content {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

#home .question__box {
  position: relative;
  cursor: pointer;
}

/* トグルボタン */
#home .question__toggle {
  position: absolute;
  top: min(40/1440 * 100vw, 40px);
  right: min(70/1440 * 100vw, 70px);
  width: 23px;
  height: 23px;
  z-index: 5;
}

#home .question__toggle span:nth-child(1) {
  width: 100%;
  height: 3px;
  position: absolute;
  left: 0;
  top: 50%;
  translate: 0 -50%;
  background: var(--base-orange);
  border-radius: 15px;
}

#home .question__toggle span:nth-child(2) {
  width: 3px;
  height: 100%;
  position: absolute;
  left: 50%;
  top: 0;
  translate: -30%;
  background: var(--base-orange);
  border-radius: 15px;
}

#home .question__box.active span:nth-child(2) {
  display: none;
}

#home .question__list {
  position: relative;
  padding: min(35/1440 * 100vw, 35px) min(140/1440 * 100vw, 140px)
    min(35/1440 * 100vw, 35px) min(55/1440 * 100vw, 55px);
  background: var(--base-white);
  border-radius: 100px;
  transition: all 0.5s;
}

#home .question__box.active .question__list {
  border-radius: 15px;
  transition: all 0.8s;
}

#home .question__list dt {
  position: relative;
  font-size: var(--fontsize18);
  display: flex;
  align-items: center;
}

#home .question__list dt::before {
  content: "Q.";
  font-size: var(--fontsize24);
  font-weight: 600;
  color: var(--base-orange);
  margin-right: 10px;
}

#home .question__list dd {
  font-size: var(--fontsize16);
  line-height: 2;
  margin-top: 20px;
  padding-left: min(35/1440 * 100vw, 35px);
  display: none;
}

@media screen and (max-width: 767px) {
  #home .question__content {
    gap: 10px;
  }

  #home .question__toggle {
    top: 50%;
    right: min(15/390 * 100vw, 15px);
    translate: 0 -50%;
    width: 15px;
    height: 15px;
  }

  #home .question__toggle span:nth-child(1) {
    height: 2px;
  }

  #home .question__toggle span:nth-child(2) {
    width: 2px;
    translate: -50%;
  }

  #home .question__list {
    padding: min(15/390 * 100vw, 15px) min(230/390 * 100vw, 30px)
      min(15/390 * 100vw, 15px) min(20/390 * 100vw, 20px);
    transition: all 3s;
  }

  #home .question__box.active .question__list {
    transition: all 0.3s;
  }

  #home .question__list dt::before {
    flex-shrink: 0;
    font-size: var(--fontsize20);
    margin-right: 5px;
  }
}
