@charset "utf-8";

#concept h2,
#rec-service h2,
#staff h2 {
  font-size: clamp(1.5rem, 0.8522rem + 2.6578vw, 2.5rem);
  font-family: fot-tsukubrdgothic-std, sans-serif;
  color: #80420e;
  text-align: center;
  padding-bottom: 8px;
  margin-bottom: 40px;
  font-weight: bold;
  position: relative;
}

#concept h2:after,
#rec-service h2:after,
#staff h2:after {
  content: '';
  display: block;
  width: 95px;
  height: 1.3px;
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  background-color: #e5744f;
}

#rec-service h2:after {
  background-color: #e1c337;
}

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

  #concept h2,
  #rec-service h2,
  #staff h2 {
    margin-bottom: 80px;
  }
}

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

#hero {
  position: relative;
}

.rec h1 {
  position: relative;
  margin-top: 40px;
}

.hero-img {
  position: absolute;
}

.hero-img img {
  width: 100%;
}

.hero1 {
  display: block;
  width: calc(720 / 1100 * 100%);
  margin: 0 auto;
}

.hero2 {
  width: 25%;
  left: 0;
  top: 0;
}

.hero2:before,
.hero2:after {
  content: '';
  display: block;
  width: clamp(1.0625rem, -0.1927rem + 5.1495vw, 3rem);
  height: clamp(1.0625rem, -0.1927rem + 5.1495vw, 3rem);
  background-color: rgba(210, 229, 246, 0.8);
  border-radius: 50%;
  position: absolute;
  right: 0;
  top: -10px;
  opacity: .8;
}

.hero2:after {
  width: clamp(0.8125rem, -0.1188rem + 3.8206vw, 2.25rem);
  height: clamp(0.8125rem, -0.1188rem + 3.8206vw, 2.25rem);
  right: -20%;
  top: 8%;
}

.hero3 {
  width: 28%;
  right: 0;
  top: 0;
}

.hero3:before,
.hero3:after {
  content: '';
  display: block;
  width: clamp(0.8125rem, -0.1188rem + 3.8206vw, 2.25rem);
  height: clamp(0.8125rem, -0.1188rem + 3.8206vw, 2.25rem);
  background-color: rgba(210, 229, 246, 0.8);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: 0;
  opacity: 0.8;
}

.hero3:after {
  width: clamp(2.6875rem, -0.2278rem + 11.9601vw, 7.1875rem);
  height: clamp(2.6875rem, -0.2278rem + 11.9601vw, 7.1875rem);
  left: 40%;
  top: 95%;
}

.hero4 {
  width: 25%;
  left: 0;
  bottom: 20%;
}

.hero4:before,
.hero4:after {
  content: '';
  display: block;
  width: clamp(1.0625rem, -0.1927rem + 5.1495vw, 3rem);
  height: clamp(1.0625rem, -0.1927rem + 5.1495vw, 3rem);
  background-color: rgba(212, 234, 224, 0.8);
  border-radius: 50%;
  position: absolute;
  left: 0;
  top: -30%;
  opacity: 0.8;
}

.hero4:after {
  left: 60%;
  top: 90%;
}

.hero5 {
  width: 28%;
  right: 20px;
  bottom: 7%;
}

.hero5:after {
  content: '';
  display: block;
  width: clamp(1.0625rem, -0.1927rem + 5.1495vw, 3rem);
  height: clamp(1.0625rem, -0.1927rem + 5.1495vw, 3rem);
  background-color: rgba(212, 234, 224, 0.8);
  border-radius: 50%;
  position: absolute;
  left: 15%;
  bottom: -10%;
  opacity: 0.8;
}

/* ヒーローセクションアニメーション */

.hero1,
.hero-img img {
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease-out forwards;
}

.hero-img::before,
.hero-img::after {
  content: "";
  opacity: 0;
  transform: translateY(20px);
  animation: fadeUp 1s ease-out forwards;
  position: absolute;
}

.hero1,
.hero1::before,
.hero1::after {
  animation-delay: 0s;
}

.hero2 img,
.hero2::before,
.hero2::after {
  animation-delay: 0.3s;
}

.hero3 img,
.hero3::before,
.hero3::after {
  animation-delay: 0.5s;
}

.hero4 img,
.hero4::before,
.hero4::after {
  animation-delay: 0.7s;
}

.hero5 img,
.hero5::before,
.hero5::after {
  animation-delay: 0.9s;
}

@keyframes fadeUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }

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

.rec .service-link {
  background-color: var(--rec-main-color);
  width: 60%;
  margin: 20px auto 0;
  padding: 16px;
  border-radius: 15px;
}

.rec .service-link a {
  font-size: 18px;
  font-weight: bold;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 4px;
}

.rec .service-link a span {
  display: block;
  width: 27px;
  height: 27px;
  background-color: #fff;
  border-radius: 50%;
  position: relative;
}

.rec .service-link a span::before {
  content: "▶";
  font-size: 12px;
  color: var(--rec-main-color);
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translate(-50%, -50%);
}

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

  .rec .service-link {
    width: 25%;
    position: absolute;
    right: 17%;
    bottom: -15px;
  }

}

/* おしらせ */

.news-wrapper {
  box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.3);
  padding: 5% 10%;
  margin: 40px 0;
  background-color: #fff;
}

.news-wrapper h2 {
  font-family: fot-tsukubrdgothic-std, sans-serif;
  color: #80420e;
  font-weight: bold;
  font-size: clamp(0.9375rem, 0.6151rem + 1.3228vw, 1.25rem);
  display: inline-block;
  position: relative;
  padding: 0 25px;
}

.news-wrapper h2:before,
.news-wrapper h2:after {
  content: '';
  display: block;
  width: 20px;
  height: 20px;
  background-image: url(../images/rec-front/flower1.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

.news-wrapper h2:after {
  left: auto;
  right: 0;
}

.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: #9e9e9f;
}

.rec .news-link {
  background-color: var(--rec-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;
  }
}

/* コンセプト */

#concept {
  margin-top: 80px;
}

#concept p {
  font-family: fot-tsukubrdgothic-std, sans-serif;
  font-weight: bold;
  font-size: 17px;
  padding: 0 24px;
}

#concept h3 {
  font-family: fot-tsukubrdgothic-std, sans-serif;
  font-size: clamp(1.5rem, 1.338rem + 0.6645vw, 1.75rem);
  font-weight: bold;
  color: #80420e;
  text-align: center;
  margin: 40px 0;
}

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

  #concept {
    margin-top: 120px;
  }

  .concept-content {
    display: flex;
    flex-direction: row-reverse;
    gap: 50px;
  }

  #concept h3 {
    text-align: left;
    margin-top: 0;
  }

  #concept .concept-item p {
    padding: 0;
  }
}

/* 仕事内容 */

#rec-service {
  margin-top: 80px;
}

.rec-service-content h3 {
  font-family: fot-tsukubrdgothic-std, sans-serif;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin: 30px auto;
  width: 80%;
  position: relative;
}

.rec-service-content h3:after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  background-image: url(../images/rec-front/bird1.webp);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: 0;
  top: 0;
}

.rec-service-content:nth-of-type(2) h3:after {
  background-image: url(../images/rec-front/bird2.webp);
  width: 55px;
  height: 55px;
  right: 5%;
  top: -30%;
}

.rec-service-content:nth-of-type(3) h3:after {
  background-image: url(../images/rec-front/bird3.webp);
  right: 5%;
}

.rec-service-content+.rec-service-content {
  margin-top: 60px;
}

.rec-service-content p {
  font-family: fot-tsukubrdgothic-std, sans-serif;
  font-size: 17px;
  font-weight: bold;
  padding: 0 24px;
}

@media screen and (min-width:992px) {
  #rec-service {
    margin-top: 160px;
  }

  .rec-service-content {
    display: flex;
    align-items: center;
    gap: 50px;
  }

  .rec-service-content:nth-of-type(odd) {
    flex-direction: row-reverse;
  }

  .rec-service-content h3 {
    text-align-last: left;
    width: 40%;
    margin: 0 0 40px 0;
  }

  .rec-service-content p {
    padding: 0;
  }

  .rec-service-content+.rec-service-content {
    margin-top: 120px;
  }


}

/* 先輩紹介 */

#staff {
  margin-top: 80px;
}

#staff .staff-content img {
  display: block;
  width: 70%;
  margin: 0 auto;
  border-radius: 30px;
}

#staff .staff-content h3 {
  font-family: fot-tsukubrdgothic-std, sans-serif;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin: 20px 0 0;
}

#staff .staff-content .staff-item {
  flex: 1;
}

#staff .staff-content .staff-item+.staff-item {
  margin-top: 40px;
}

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

  #staff {
    margin-top: 160px;
  }

  #staff .staff-content {
    display: flex;
    gap: 60px;
  }

  #staff .staff-content img {
    width: 100%;
    height: 100%;
    margin: 0 auto;
  }

  #staff .staff-content .staff-item {
    display: flex;
    flex-direction: column;
  }

  #staff .staff-content .staff-item:nth-of-type(1) {
    margin-top: 40px;
    margin-bottom: -40px;
  }

  #staff .staff-content .staff-item:nth-of-type(2) {
    margin-top: 20px;
    margin-bottom: -20px;
  }

  #staff .staff-content .staff-item:nth-of-type(3) {
    margin-top: 0px;
  }

}