.mainvisual-section {
    margin-bottom: 100px;
}
.mainvisual-section__bg {
    width: 100%;
    height: 320px;
    background-image: url(../images/5about/top_about.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.mainvisual-section__filter {
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .3);
    position: relative;
}
.mainvisual-section__filter h1 {
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    line-height: 3.0rem;
    color: #fff;
    font-size: 4.5rem;
    font-weight: 400;
}

@media(max-width:600px) {
    .mainvisual-section {
        margin-bottom: 70px;
    }
    .mainvisual-section__filter h1 {
        line-height: 2.4rem;
        font-size: 3.2rem;
    }
}

.about-section {
    margin: 0 auto 160px;
    max-width: 1080px;
    width: 100%;
}
.about-section__title {
    margin-bottom: 60px;
}
.about-section-slider img {
    width: 100%;
    max-width: 1080px;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center;
}
.about-section__flex {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 80px;
    align-items: center;
}
.about-section-discription {
    text-align: justify;
}

@media(max-width:1080px) {
    .about-section {
        width: 70vw;
        margin: 0 auto 160px;
    }
    .about-section__flex {
        grid-template-columns: 1fr;
        row-gap: 20px;
    }
}

@media(max-width:600px) {
    .about-section {
        margin-bottom: 80px;
        width: 100%;
        box-sizing: border-box;
        padding: 0 24px;
    }
    .about-section__title {
        margin-bottom: 20px;
    }
    .about-section__flex {
        width: 100%;
        margin: 0 auto;
    }
}


.section-staff {
    max-width: 1080px;
    width: 100%;
    margin: 0 auto 160px;
}
.section-staff h2 {
    margin-bottom: 60px;
}
.section-staff__flex {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: flex-start;
    column-gap: 80px;
}
.section-staff__wrapper {
    width: 100%;
    height: 377px;
    background-image: url(../images/5about/about_bg.png);
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: 0 0;
    box-sizing: border-box;
    padding: 40px;
    border-radius: 10px;
}
.section-staff__wrapper-flex {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    column-gap: 30px;
}
.section-staff-contents h4{
    box-sizing: border-box;
    text-align: left;
    padding-bottom: 10px;
    border-bottom: #59423C 1px dotted;
    margin-bottom: 20px;
}
.section-staff-contents {
    text-align: justify;
}
.staff-illustration {
    width: 150px;
    height: auto;
}
.staff-illustration:hover {
    animation: fluffy1 3s ease infinite;
}
@keyframes fluffy1 {
    0% { transform:translateY(0) }
    5% { transform:translateY(0) }
    10% { transform:translateY(0) }
    20% { transform:translateY(-15px) }
    25% { transform:translateY(0) }
    30% { transform:translateY(-15px) }
    50% { transform:translateY(0) }
    100% { transform:translateY(0) }
  }

  @media(max-width:1080px) {
    .section-staff {
        width: 70vw;
        margin: 0 auto 160px;
    }
    .section-staff__flex {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }
    .section-staff__wrapper {
        height: initial;
    }
}

@media(max-width:600px) {
    .section-staff {
        margin: 0 auto 80px;
        width: 100%;
        box-sizing: border-box;
        padding: 0 24px;
    }
    .section-staff h2 {
        margin-bottom: 20px;
    }
    .section-staff__wrapper {
        width: 100%;
        margin: 0 auto;
        box-sizing: border-box;
        padding: 30px 24px;
        background-image: url(../images/5about/about-bg-sp.png);
    }
    .section-staff__wrapper-flex {
        flex-direction: column-reverse;
        row-gap: 20px;
    }
    .section-staff-contents h4{
        text-align: center;
    }
    .staff-illustration {
        width: 100px;
    }
}

/* 下から出現 */
.fadeUp{
    animation-name:fadeUpAnime;
    animation-duration:0.5s;
    animation-fill-mode:forwards;
    opacity:0;
    }
@keyframes fadeUpAnime{
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.fadeUpTrigger {
    opacity: 0;
  }

/* テキストが流れるように出現 */
.slide-in {
	overflow: hidden;
    display: inline-block;
}
.slide-in_inner {
	display: inline-block;

}
.leftAnime{
    opacity: 0;
}
.slideAnimeLeftRight {
	animation-name:slideTextX100;
	animation-duration:0.8s;
	animation-fill-mode:forwards;
    opacity: 0;
}
@keyframes slideTextX100 {
  from {
	transform: translateX(-100%);
  opacity: 0;
  }
  to {
	transform: translateX(0);
  opacity: 1;
  }
}
.slideAnimeRightLeft {
	animation-name:slideTextX-100;
	animation-duration:0.8s;
	animation-fill-mode:forwards;
    opacity: 0;
}
@keyframes slideTextX-100 {
  from {
	transform: translateX(100%);
  opacity: 0;
  }

  to {
	transform: translateX(0);
  opacity: 1;
  }
}