@charset "UTF-8";

/* 色の変数 */
:root {
    --cherry-red: #DD2051;  /* メインの赤 */
    --leaf-green: #7CB356;  /* サブの緑 */
    --dark-pink1: #F9EDEF;    /* 濃いピンク背景 */
    --dark-pink2: #FCF8F9;    /* 次に濃いピンク背景 */
    --bg-main: #FEFDFE;    /* 白背景風 */
    --white: #ffffff;   /* ボタン背景の白 */
    --main-text: #2A160A;   /* メインテキストカラー */
    --contact-btn:#F9EDF0; /*ハートコンタクトボタン */
}

/* セクション全体 */
.staff-section {
  padding: 80px 0;
  background-color: var(--bg-main);
}

/* セクション見出し */
.section-heading__title {
  text-align: center;
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 40px;
  color: var(--main-text);
  position: relative;
}

/* 園長紹介ラッパー */
.staff-director {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 40px;
  justify-content: center;
  width: 70%;
  margin: 0 auto;
}
@media (max-width:768px) {
    .staff-director {
        gap: 16px;
    }
}

/* 左：画像まわり */
.staff-director__image-block {
  flex: 0 0 250px;
  text-align: center;
}
@media (max-width:768px) {
    .staff-director__image-block {
        flex: 0 0 196px;
    } 
}

.staff-director__figure {
  margin: 0;
}

.staff-director__figure img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.staff-director__caption {
  margin-top: 12px;
  font-size: 1.4rem;
  line-height: 1.6;
  color: var(--main-text);
    margin: 12px auto;
    width: 77%;
    text-align: left;

}

.staff-director__role {
  display: inline-block;
  font-weight: bold;
  font-size: 1.3rem;
  color: var(--cherry-red);
  border-bottom: 2px dotted var(--cherry-red);
  margin-bottom: 4px;
}

.staff-director__name {
  display: block;
  font-family: "Zen Maru Gothic";
  font-weight: bold;
  margin-top: 4px;
}

.small-name {
  display: block;
  font-family: "Wix Madefor Display";
  font-weight: 400;
  font-size: 1.2rem;
  margin-top: 2px;
}

.staff-director__feature {
  display: block;
  font-size: 1.3rem;
  margin-top: 8px;
}

/* 右：メッセージ */
.staff-director__message {
  flex: 1;
  min-width: 300px;
  line-height: 1.8;
  color: var(--main-text);
}
@media (max-width:768px) {
    .staff-director__message {
        min-width: 260px;
    }
}

/* スタッフ紹介 */
.staff-card__list {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 120px 60px ;
    margin-top: 110px;
    margin-bottom: 100px;
}
@media (max-width:900px) {
    .staff-card__list {
        gap: 100px 30px;
    }
}
@media (max-width:768px) {
    .staff-card__list {
        margin-top: 0;
    }
}
@media (max-width:680px) {
    .staff-card__list {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width:400px) {
    .staff-card__list {
        gap: 20px;
    }
}

.staff-card__figure img {
    border-radius: 8px;
}

.staff-card__caption {
    margin-top: 16px;
    margin-left: 16px;
}
@media (max-width:768px) {
    .staff-card__caption{
        margin-left: 0px;
    }
}

.staff-card__role {
  display: inline-block;
  font-weight: bold;
  font-size: 1.3rem;
  color: var(--cherry-red);
  border-bottom: 2px dotted var(--cherry-red);
  margin-bottom: 4px;
}

.staff-card__name {
  display: block;
  font-family: "Zen Maru Gothic";
  font-weight: bold;
  margin-top: 4px;
}

.staff-card__name small {
  display: block;
  font-family: "Wix Madefor Display";
  font-size: 1.2rem;
  font-weight: 400;
    margin-top: 2px;
}
@media (max-width:768px) {
    .staff-card__name small {
        font-size: 1rem;
    }
}

.staff-card__feature {
  display: block;
  font-size: 1.3rem;
  margin-top: 8px;
}

/* 装飾エリア */
.staff-card__item {
    position: relative;
}

.staff-card__item:first-of-type::before {
    position: absolute;
    content: "";
    background-image: url(../../assets/images/decorations/kaeru.png);
    width: 74px;
    height: 68px;
    top: -62px;
    left: 1px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
@media (max-width:768px) {
    .staff-card__item:first-of-type::before {
        width: 55.5px;
        height: 51px;
        top: -46px;
        left: 6px;
    }
}


.staff-card__item:nth-of-type(6)::before {
    position: absolute;
    content: "";
    background-image: url(../../assets/images/decorations/kuma.png);
    width: 95px;
    height: 114px;
    top: -62px;
    right: 11px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}
@media (max-width:768px) {
    .staff-card__item:nth-of-type(6)::before {
        
        width: 71.25px;
        height: 85.5px;
        top: -48px;
        right: 4px;
    }
}

.staff-card__item:nth-of-type(7)::before {
    position: absolute;
    content: "";
    background-image: url(../../assets/images/decorations/risu.png);
    width: 71px;
    height: 83px;
    transform: rotate(-61deg);
    bottom: 144px;
    left: -46px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}
@media (max-width:768px) {
    .staff-card__item:nth-of-type(7)::before {
        width: 53.25px;
        height: 62.25px;
        bottom: 144px;
        left: -36px;
    }
}

@media (max-width:680px) {
    .staff-card__item:nth-of-type(7)::before {
        display: none;
    }
    
    .staff-card__item:nth-of-type(8)::before {
        position: absolute;
        content: "";
        background-image: url(../../assets/images/decorations/risu-mask.png);
        width: 42.25px;
        height: 62.25px;
        bottom: 144px;
        left: -42px;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        z-index: 1;
    }


}

.staff-card__item:nth-of-type(9)::before {
    position: absolute;
    content: "";
    background-image: url(../../assets/images/decorations/inu.png);
    width: 65px;
    height: 85px;
    top: -80px;
    left: 11px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (max-width:768px) {
    .staff-card__item:nth-of-type(9)::before {
        width: 48.75px;
        height: 63.75px;
        top: -60px;
        left: 11px;
    }
}


/* 準備中案内 */
.info-staff {
    text-align: center;
    margin-bottom: 100px;
}