@charset "UTF-8";

/* ヒーローセクション */

#hero .hero-back {
  background-image: url(../images/front/hero-back2.png);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: bottom center;
}

#hero .hero-back .col-10 {
  position: relative;
  display: grid;
  place-items: center;
}

.hero-img {
  margin: 10px 0 10px 12px;
}

.medama {
  position: absolute;
  animation: fuwafuwa 2s ease-in-out infinite;
}

@keyframes fuwafuwa {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-5px);
  }

  100% {
    transform: translateY(0);
  }
}

.medama:nth-of-type(2) {
  top: 8px;
  left: 15%;
}

.medama:nth-of-type(2) img {
  width: 23vw;
}

.medama:nth-of-type(3) {
  bottom: 12%;
  right: 3%;
  animation-delay: 0.8s;
}

.medama:nth-of-type(3) img {
  width: 20vw;
}

.medama:nth-of-type(4) {
  bottom: 12%;
  left: 0;
  animation-delay: 1.6s;
}

.medama:nth-of-type(4) img {
  width: 21vw;
}

h1 {
  font-family: noto-sans-cjk-jp, sans-serif;
  font-size: clamp(0.875rem, 0.4881rem + 1.5873vw, 1.25rem);
  font-weight: bold;
  letter-spacing: .2em;
  color: black;
  padding-top: clamp(3.125rem, -1.3889rem + 18.5185vw, 7.5rem);
  position: absolute;
  top: 0;
  left: 0;
}

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

  .hero-img {
    /* padding: 40px 0px 50px 110px; */
    margin: 40px 0 5% 110px;
  }

  .medama:nth-of-type(2) {
    top: 8px;
    left: 5%;
  }

  .medama:nth-of-type(2) img {
    width: 26vw;
  }

  .medama:nth-of-type(3) {
    bottom: 8%;
    right: 23%;
    animation-delay: 0.8s;
  }

  .medama:nth-of-type(3) img {
    width: 15vw;
  }

  .medama:nth-of-type(4) {
    bottom: 28%;
    left: 8%;
    animation-delay: 1.6s;
  }

  .medama:nth-of-type(4) img {
    width: 7vw;
  }

  h1 {
    padding-top: 20%;
  }

  #hero {
    position: relative;
  }

  .recruit-link {
    width: 30%;
    position: absolute;
    bottom: -35px;
    right: 200px;
  }
}

/* ヒーローセクション ここまで */

/* おしらせ */

.news-wrapper {
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
  padding: 5% 10%;
  margin: 20px 0;
}

.news-wrapper h2 {
  color: var(--main-color);
  font-weight: bold;
  font-size: clamp(0.9375rem, 0.6151rem + 1.3228vw, 1.25rem);
  text-align: center;
}

.news-wrapper ul li {
  padding: 8px 0;
  font-weight: bold;
}

.news-wrapper ul li:not(:last-child) {
  border-bottom: 1px solid var(--font-color);
}

.news-wrapper ul li a {
  color: var(--font-color);
}

.news-wrapper ul li a span {
  display: block;
  font-size: 11px;
  color: var(--main-color);
}

.news-link {
  background-color: var(--main-color);
  padding: 10px 0;
  margin: 0 auto;
  border-radius: 10px;
  font-weight: bold;
  text-align: center;
  width: 80%;
  max-width: 400px;
}

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

  .news-wrapper {
    margin: 80px 0 40px 0;
  }

}

/* 以和貴会について */

#about {
  margin-top: 60px;
}

.about-wrapper {
  position: relative;
}

.about-wrapper a {
  display: block;
  width: 100%;
  height: 100%;
}

.about-wrapper img {
  width: 80%;
}

.about-wrapper p {
  font-size: clamp(0.8125rem, 0.4901rem + 1.3228vw, 1.125rem);
  font-weight: bold;
  text-align: center;
  margin: 0;
  color: #fff;
  background-color: var(--main-color);
  padding: 5% 3%;
  border: #fff 1px solid;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
}

.about-wrapper p span {
  display: block;
  font-size: clamp(0.6875rem, 0.3651rem + 1.3228vw, 1rem);
}

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

  .about-wrapper {
    padding-left: 5%;
    margin-top: 60px;
    padding-bottom: 60px;
  }

  .about-wrapper p {
    padding: 5% 7%;

  }

}

/* サービス紹介 */

#service h2 {
  font-size: clamp(1rem, 0.6776rem + 1.3228vw, 1.3125rem);
  text-align: center;
  font-weight: bold;
  margin-top: 40px;
}

#service h2 span {
  display: block;
  font-size: clamp(0.6875rem, 0.3651rem + 1.3228vw, 1rem);
  color: var(--main-color);
  margin-bottom: 4px;
}

/* 情報公開、プライバシーポリシーリンク */
.subpage-link {
  margin-top: clamp(2.5rem, 1.6902rem + 3.3223vw, 3.75rem);
}

.subpage-link a {
  background-color: var(--main-color);
  padding: 5%;
  display: block;
  font-size: clamp(1rem, 0.6776rem + 1.3228vw, 1.3125rem);
  text-align: center;
  font-weight: bold;
  margin-bottom: 20px;
}

.subpage-link a span {
  display: block;
  font-size: clamp(0.8125rem, 0.4901rem + 1.3228vw, 1.125rem);
}

@media screen and (min-width:992px) {
  .subpage-link {
    display: flex;
    gap: 4%;
  }

  .subpage-link a {
    flex-basis: 48%;
    margin-bottom: 0;
  }

}