@charset "utf-8";

.youtube {
  aspect-ratio: 4/2;
  margin-top: 100px;
}

iframe {
  width: 100%;
  height: 100%;
}

main {
  font-family: fot-tsukubrdgothic-std, sans-serif;
  font-weight: bold;
  font-size: 17px;
}

.yellow {
  background-color: #e9c92f;
}

.green {
  background-color: #aacc03;
}

.blue {
  background-color: #767cba;
}

/* ページ内リンク */
.work-link {
  margin-top: 40px;

}

.work-link ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.work-link ul li {
  padding: 12px 0;
  text-align: center;
}

.work-link ul li a {
  font-size: 21px;
  font-weight: bold;
}

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

  .work-link {
    margin-top: 120px;
  }

  .work-link ul {
    flex-direction: row;
    gap: 16px;
  }

  .work-link ul li {
    flex: 1;
  }

}

/* セクション共通 */
section {
  padding-top: 60px;
}

h2 {
  display: inline-block;
  font-family: fot-tsukubrdgothic-std, sans-serif;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 40px;
  padding: 0 55px;
  position: relative;
}

.description-title,
.staff-title {
  text-align: center;
}

.description-title h3 {
  display: inline-block;
  font-family: a-otf-ud-shin-maru-go-pr6n, sans-serif;
  font-size: 24px;
  font-weight: bold;
  margin: 60px 0;
  padding: 0 75px;
  position: relative;
}

.staff-title h3 {
  display: inline-block;
  font-family: a-otf-ud-shin-maru-go-pr6n, sans-serif;
  font-size: 22px;
  font-weight: bold;
  margin: 60px 0;
  position: relative;
}

h4 {
  display: inline-block;
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 16px;
  padding-bottom: 4px;
}

.support-description {
  padding-left: 55px;
  position: relative;
}

.support-description+.support-description {
  margin-top: 40px;
}

.support-text {
  margin-top: 20px;
}

/* 先輩紹介 */

.staff-content img {
  display: block;
  width: 70%;
  margin: 0 auto;
}

.staff-item {
  position: relative;
}

.staff-content .staff-item:after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  background-image: url(../images/rec-work/staff-deco1.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  right: 15%;
}

.staff-content .staff-item:nth-of-type(2):after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  background-image: url(../images/rec-work/staff-deco2.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  right: 12%;
}

.staff-content .staff-item:nth-of-type(3):after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  background-image: url(../images/rec-work/staff-deco3.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  top: 0;
  right: 12%;
}

.staff-content h4 {
  display: block;
  font-size: 24px;
  font-weight: bold;
  text-align: center;
  margin: 20px 0 0;
}

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

.rec .detail-link.entry {
  width: 100%;
}

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

  section {
    padding-top: 120px;
  }

  h2 {
    padding: 0 55px 0 0;
    position: relative;
  }

  .description-title h3,
  .staff-title h3 {
    margin: 120px 0;
  }

  .support-content {
    display: flex;
    flex-direction: row-reverse;
    align-items: start;
    gap: 60px;
  }

  .support-content>* {
    flex: 1;
  }

  .staff-content {
    display: flex;
    justify-content: space-between;
  }

  .staff-content .staff-item {
    width: 30%;
    display: flex;
    flex-direction: column;
  }

  .support-text {
    margin-top: 0;
  }

  .staff-content img {
    width: 100%;
    height: 100%;
    margin: 0 auto;
    border-radius: 30px;
  }

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

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

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

  .rec .detail-link.entry {
    width: 30%;
  }

}

/* 施設入所支援 */


#support1 h2:after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  background-image: url(../images/rec-work/bird1.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: 0;
  top: 0;
}

#support1 .description-title h3:after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  background-image: url(../images/rec-work/bird1.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: 0;
  top: 0;
}

#support1 .staff-title h3:after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  background-image: url(../images/rec-work/bird1.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: -60px;
  top: 0;
}

#support1 h4 {
  border-bottom: #e9c92f 2px solid;
}

#support1 .support-description:before {
  content: '';
  display: block;
  width: 45px;
  height: 45px;
  background-image: url(../images/rec-work/bird1.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: 0;
  top: 0;
}

#support1 .staff-content h4 {
  border: none;
}

/* 就労支援 */

#support2 h2:after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  background-image: url(../images/rec-work/bird2.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: 0;
  top: 0;
}

#support2 .description-title h3:after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  background-image: url(../images/rec-work/bird3.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: 0;
  top: 0;
}

#support2 .staff-title h3:after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  background-image: url(../images/rec-work/bird3.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: -60px;
  top: 0;
}

#support2 h4 {
  border-bottom: #aacc03 2px solid;
}

#support2 .support-description:before {
  content: '';
  display: block;
  width: 45px;
  height: 45px;
  background-image: url(../images/rec-work/bird3.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: 0;
  top: 0;
}

#support2 .staff-content h4 {
  border: none;
}

/* 児童支援 */
#support3 h2:after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  background-image: url(../images/rec-work/bird4.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: 0;
  top: 0;
}

#support3 .description-title h3:after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  background-image: url(../images/rec-work/bird5.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: 0;
  top: 0;
}

#support3 .staff-title h3:after {
  content: '';
  display: block;
  width: 50px;
  height: 50px;
  background-image: url(../images/rec-work/bird5.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  right: -60px;
  top: 0;
}

#support3 h4 {
  border-bottom: #767cba 2px solid;
}

#support3 .support-description:before {
  content: '';
  display: block;
  width: 45px;
  height: 45px;
  background-image: url(../images/rec-work/bird5.png);
  background-repeat: no-repeat;
  background-size: contain;
  position: absolute;
  left: 0;
  top: 0;
}

#support3 .staff-content h4 {
  border: none;
}

/* youtube掲載後削除css */
.rec .detail-link.entry {
  margin-top: 100px;
}