@charset "utf-8";

/* ===============================================
　mainvisual
=============================================== */

.mv {
  height: 97vh;
  position: relative;
  overflow: hidden;
}

@media screen and (max-width: 1040px) {
  .mv {
    height: 90vh;
  }
}

.swiper-wrapper {
  /*スライダーの幅と高さを調整*/
  width: 100%;
  height: 100%;
  min-height: 900px;
}

.swiper-slide {
  /*スライド要素の幅と高さを調整*/
  width: 100%;
  height: 100%;
}

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

  100% {
    transform: scale(1.15);
  }
}

.swiper-slide-active .swiper-img,
.swiper-slide-duplicate-active .swiper-img,
.swiper-slide-prev .swiper-img {
  animation: zoomUp 8s linear 0s normal both;
}

.swiper-slide .swiper-img {
  width: 100%;
  height: 97vh;
}

/*各スライドの背景色の設定*/

.mv1 {
  background-image: url("../image/mv/01.jpg?=20230904");
  background-size: cover;
  background-position: 65% 50%;
}

.mv2 {
  background-image: url("../image/mv/02.jpg?=20230904");
  background-size: cover;
  background-position: 65% 55%;
}

@media screen and (max-width: 1040px) {
  .mv1 {
    background-size: auto 100%;
    background-position: 70% 70%;
  }

  .mv2 {
    background-size: auto 100%;
    background-position: 70% 70%;
  }
}

/* mvのグラデーション */

.swiper {
  position: relative;
}

.swiper::after {
  content: '';
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: scale(1.2);
  background-image: url(../image/mv/ashirai.png);
  background-size: cover;
  background-position: 0% 55%;
  z-index: 1;
}

@media screen and (max-width: 1024px) {
  .swiper::after {
    content: none;
  }
}

/* キャッチコピー */
.catch {
  position: absolute;
  top: 39%;
  left: 10%;
  z-index: 1;
}

.catch h1 {
  font-size: clamp(20px, 4vw, 32px);
  font-weight: 500;
  background-image: linear-gradient(90deg, #37d2c3, #5acdff);
  color: #fff;
  padding: 8px 15px;
}

.catch img {
  position: absolute;
  top: 146%;
}

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

  .catch {
    top: 19%;
  }

  .catch img {
    width: 205px;
    position: absolute;
    top: 65px;
  }

  .mv1 {
    background-position: 75% 55%;
  }
}

@media screen and (max-width: 870px) {
  .catch {
    top: 15%;
  }
}

@media screen and (max-width: 430px) {
  .catch {
    top: 14%;
    left: 6%;
  }

  .mv1 {
    background-position: 72% 55%;
  }
} */

@media screen and (max-width: 650px) {
  .catch img {
    width: 75%;
  }
}


/* ===============================================
皆様の思いを叶えます
=============================================== */

#top_mes {
  padding: 100px 0;
  background: var(--cl_bg_blue);
}

.top_mes_wrap {
  width: min(90%, 1200px);
  margin: 0 auto;
}

.top_mes_wrap p {
  font-size: clamp(17px, 1.8vw, 19px);
}

.top_mes_wrap p span {
  display: inline-block;
}

.mes_img {
  text-align: center;
  position: relative;
}

#top_mes .txt_wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(28px, 4vw, 34px);
  text-align: center;
}

#top_mes .txt_wrap span {
  font-size: clamp(38px, 5vw, 48px);
  color: var(--cl_blue);
  font-weight: 700;
}

.sp_mes_01, .sp_mes_02 {
  display: none;
}

@media screen and (max-width: 820px) {
  .mes_img img {
    display: none;
  }

  #top_mes .txt_wrap {
    position: initial;
    top: initial;
    left: initial;
    transform: none;
    margin: 90px 0;
  }

  .sp_mes_01, .sp_mes_02 {
    max-width: 450px;
    margin: 0 auto;
    font-size: 19px;
    color: var(--cl_blue);
    background: var(--cl_wh);
    border-radius: 200px;
    padding: 30px 45px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: clamp(8px, 1.8vw, 15px);
    box-shadow: 0px 0px 20px 5px #64afff15;
    position: relative;
  }

  .sp_mes_02 {
    flex-direction: row-reverse;
    gap: clamp(15px, 9vw, 40px);
    position: relative;
  }

  /* 大きい丸 */
  .sp_mes_01::before, .sp_mes_02::before {
    content: "";
    display: inline-block;
    aspect-ratio: 1/1;
    width: 40px;
    background: var(--cl_wh);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0px 0px 20px 5px #64afff15;
  }

  .sp_mes_01::after, .sp_mes_02::after {
    content: "";
    display: inline-block;
    aspect-ratio: 1/1;
    width: 20px;
    background: var(--cl_wh);
    border-radius: 50%;
    position: absolute;
    box-shadow: 0px 0px 20px 5px #64afff15;
  }

  .sp_mes_01::before {
    bottom: -25px;
    left: 30%;
  }

  .sp_mes_01::after {
    bottom: -55px;
    right: calc(58% + 2px);
  }

  .sp_mes_02::before {
    top: -25px;
    right: 30%;
  }

  .sp_mes_02::after {
    top: -55px;
    left: calc(58% + 2px);
  }

  #top_mes .explanation {
    margin-top: 75px;
  }
}

/* ===============================================
お知らせ
=============================================== */

#info {
  width: min(90%, 1200px);
  margin: 0 auto;
  padding: 100px 0 135px 0;
  position: relative;
}

.info_grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 30px;
  margin: 70px auto;
}

.info_grid li {
  position: relative;
  list-style: none;
}

.info_grid li a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.info_grid li img {
  transition: all .4s;
}

.info_grid li:hover img {
  transform: scale(1.15);
}

/* サムネイル */
.info_img {
  aspect-ratio: 3/2;
  border-radius: 15px;
  overflow: hidden;
}

.info_img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

/* 日付の部分 */

.info_txt {
  margin-top: 20px;
  font-family: var(--ff_noto);
}

.info_txt .day {
  color: #ccc;
  font-weight: 300;
}

.info_txt h2 {
  margin-top: 5px;
  font-size: clamp(15px, 1.8vw, 17px);
}

@media screen and (max-width: 750px) {
  .info_grid {
    gap: 20px;
  }
}

@media screen and (max-width: 660px) {
  .info_grid {
    grid-template-columns: 1fr;
    gap: 35px;
    margin: 70px auto;
    margin-bottom: 40px;
  }

  .info_txt {
    margin-top: 10px;
  }

}


/* ===============================================
ひだまり屋の特徴
=============================================== */

#feature {
  background: var(--cl_bg_blue);
}

.feature_wrap {
  width: min(90%, 1200px);
  margin: 0 auto;
  padding: 100px 0;
  text-align: center;
}

ul.point {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 75px 0;
  background: #c8e6ff;
  border-radius: 10px;
  padding: 10px;
}

.point li {
  display: flex;
  align-items: center;
  gap: 40px;
  background: #fff;
  border-radius: 8px;
  padding: 8px 40px;
  color: #599ff4;
  text-align: left;
  font-size: 20px;
  font-weight: 500;
}

.point li .number {
  font-size: 72px;
  font-family: 'Zen Maru Gothic';
  color: #c8e6ff;
  font-weight: 700;
  padding-bottom: 10px;
}

.point li .small {
  font-size: clamp(14px, 1.8vw, 17px);
}

@media screen and (max-width: 800px) {
  ul.point {
    grid-template-columns: 1fr;
  }

  ul.point p {
    font-size: clamp(16px, 2.8vw, 20px);
  }

  .point li {
    gap: 20px;
    padding: 8px 20px;
  }

  .point li .number {
    font-size: clamp(55px, 10vw, 72px);
  }
}

#feature .explanation {
  font-size: clamp(17px, 2.8vw, 22px);
  margin-bottom: 130px;
  font-family: var(--ff_jp);
  font-weight: 500;
}


/* イメージ画像 */
.feature_img_wrap {
  position: relative;
}

.deco_ttl {
  font-weight: 700;
  width: 100%;
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
}

#feature .deco_ttl p {
  font-size: clamp(20px, 2.8vw, 24px);
}

#feature .deco_ttl h3 {
  font-size: clamp(26px, 3vw, 30px);
  font-weight: inherit;
}

#feature .deco_ttl h3 span {
  font-size: clamp(27px, 5vw, 38px);
}

#feature .deco_ttl h3 span:nth-of-type(1) {
  color: #2cc3b2;
}

#feature .deco_ttl h3 span:nth-of-type(2) {
  color: #ffad78;
  padding-right: 5px;
}

#feature .about_btn {
  min-width: 260px;
  margin: 150px auto;
  margin-bottom: 0;
}

.deco_ttl br, .hidamari, .hidamari_logo, .cosmos {
  display: none;
}



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

  .feature_img_wrap img {
    display: none;
  }

  .feature_img_wrap {
    position: relative;
    background: var(--cl_wh);
    border-radius: 25px;
    padding: 120px 0;
  }

  .deco_ttl br, .hidamari, .hidamari_logo, .cosmos {
    display: block;
  }

  /* 共通 */
  .hidamari, .cosmos {
    width: 90%;
    min-width: 295px;
    position: absolute;
    transform: translateX(-50%);
    padding: 90px 0;
    border-radius: 150px;
    color: var(--cl_wh);
  }

  /* グラデ青 */
  .hidamari {
    top: -75px;
    left: 50%;
    background-image: linear-gradient(90deg, #37d2c3, #5acdff);
  }

  .hidamari .txt_wrap {
    padding-right: 20px;
  }

  .hidamari::before {
    content: "";
    display: inline-block;
    background-image: url(../image/top/feature_sp_01.png);
    position: absolute;
    top: 0;
    right: 1%;
    width: 72px;
    height: 100%;
    background-size: contain;
  }

  .hidamari h3, .cosmos h3 {
    font-size: clamp(16px, 1.8vw, 19px);
    margin-bottom: 15px;
  }

  .hidamari p, .cosmos p {
    font-size: 17px;
  }

  #feature .txt_wrap {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  #feature .txt_wrap h3 span {
    font-size: 28px;
    font-weight: 700;
  }

  #feature .txt_wrap p {
    font-size: 15px;
  }

  /* グラデピンク */
  .cosmos {
    bottom: -75px;
    left: 50%;
    background-image: linear-gradient(90deg, #ff96be, #ffaf78);
  }

  .cosmos .txt_wrap {
    padding-left: 20px;
  }

  .cosmos::before {
    content: "";
    display: inline-block;
    background-image: url(../image/top/feature_sp_02.png);
    position: absolute;
    top: 0;
    left: 3%;
    width: 72px;
    height: 100%;
    background-size: contain;
  }

  /* 中のテキスト */
  .deco_ttl {
    position: initial;
    transform: none;
    padding: 0 20px;
    padding-top: 60px;
  }

  .hidamari_logo {
    text-align: center;
    padding: 50px 60px;
  }

  /* ロゴ */
  .feature_img_wrap .hidamari_logo img {
    display: inline-block;
  }

}

/* ===============================================
採用情報
=============================================== */

#recruit .recruit_ttl {
  width: 100%;
  height: 400px;
  background: url(../image/top/recruit_ttl.jpg);
  background-position: 65% 70%;
  background-repeat: no-repeat;
  background-size: cover;
  text-align: center;
}

#recruit .recruit_ttl h3 {
  font-size: clamp(35px, 5vw, 44px);
  font-weight: 500;
  color: var(--cl_wh);
  position: relative;
  top: 45%;
  z-index: 3;
  display: inline-block;
}

#recruit .recruit_ttl h3::after {
  content: "RECRUITING";
  font-size: clamp(54px, 12vw, 120px);
  font-family: var(--ff_zenmaru);
  font-weight: 400;
  color: #ffffff30;
  position: absolute;
  top: -155%;
  left: 50%;
  transform: translateX(-50%);
  z-index: -1;
}

@media screen and (max-width: 870px) {
  #recruit .recruit_ttl h3::after {
    top: -120%;
  }
}

@media screen and (max-width: 580px) {
  #recruit .recruit_ttl h3::after {
    top: -80%;
  }
}

@media screen and (max-width:470px) {
  #recruit .recruit_ttl h3::after {
    top: -60%;
  }
}

.recruit_mes {
  text-align: center;
  position: relative;
}

.recruit_mes h2 {
  width: min(90%, 1200px);
  margin: 0 auto;
  font-size: clamp(25px, 5vw, 32px);
  font-weight: 500;
  position: absolute;
  top: -95px;
  left: 50%;
  transform: translateX(-50%);
  margin-bottom: 45px;
  background: var(--cl_wh);
  padding: clamp(20px, 9vw, 70px) 20px;
}

.recruit_mes span {
  display: inline-block;
}

.recruit_mes p.explanation {
  width: min(90%, 1200px);
  margin: 0 auto;
  margin-bottom: 45px;
  padding-top: 65px;
}

.recruit_wrap {
  background-image: url(../image/top/recruit_bg.jpg);
  background-size: cover;
  padding-bottom: 140px;
}

/* ===============================================
アクセス
=============================================== */

.access {
  display: flex;
  align-items: center;
  gap: clamp(30px, 5vw, 100px);
  width: min(90%, 1200px);
  margin: 140px auto;
  margin-bottom: 0;
}

.access_img {
  max-width: 540px;
  max-height: 400px;
  height: calc(100px + 20vw);
  aspect-ratio: 3/2;
  overflow: hidden;
  border-radius: 10px;
}

.access_img img {
  height: 100%;
  object-fit: cover;
  object-position: right;
}

.access_logo {
  margin-bottom: 40px;
  max-width: 260px;
}

.access .txt ul li {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 10px;
}

.access .txt ul li h4 {
  width: 140px;
  padding: 5px 40px;
  background: #b6c6da;
  border-radius: 5px;
  color: var(--cl_wh);
  text-align: center;
}

.access .txt ul li:nth-of-type(1) h4 {
  padding: 15px 40px;
}

@media screen and (max-width:840px) {
  .access {
    flex-direction: column;
  }

  .access_img {
    max-width: 100%;
    max-height: initial;
    height: auto;
    aspect-ratio: 3/2;
    overflow: hidden;
    border-radius: 10px;
  }

  .access_img {
    width: 100%;
  }

  .access .txt {
    display: flex;
    align-items: center;
    gap: 20px;
  }


  .access .txt ul li h4 {
    min-width: 140px;
    padding: 5px 10px;

  }

  .access .txt ul li:nth-of-type(1) h4 {
    padding: 15px 10px;
  }

}

@media screen and (max-width: 650px) {
  .access .txt {
    flex-direction: column;
  }

  .access_logo {
    margin-bottom: 20px;
    max-width: 240px;
  }

}