@charset "utf-8";

.title-wrap {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 150px;
        margin: 0 0 5rem auto;
        color: #ffffff;
        font-size: 3rem;
        background-color: #54BC00;
        background-image: url("data:image/svg+xml,%3Csvg width='20' height='20' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23e8ffc2' fill-opacity='0.14' fill-rule='evenodd'%3E%3Ccircle cx='3' cy='3' r='3'/%3E%3Ccircle cx='13' cy='13' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

.main-contents {
        margin: 0 auto;
        padding-top: 0;
}

.contents-inner {
        max-width: 860px;
        padding: 0 20px;
        margin: 10rem auto;
}

.company-wrap {
        display: flex;
        justify-content: space-between;
}

.expert-info {
        width: 75%;
}

.expert-title {
        font-size: 3rem;
}

.expert-name {
        display: block;
        font-weight: bold;
        font-size: 6rem;
}

.expert-name-s {
        font-size: 1.5rem;
}

.expert-position {
        display: flex;
        font-size: 1.8rem;
        margin-bottom: 5rem;
}

.expert-img {
        width: 21%;
        animation: zoomBottomUp 1s ease 0s 1 normal;
}


/* zoomBottomUp */
@keyframes zoomBottomUp {
        0% {
                transform: translateX(-100px) scale(0.3);
                opacity: .7
        }

        100% {
                transform: translateX(0) scale(1);
                opacity: 1
        }
}

.expert-photo {
        width: 100%;
        aspect-ratio: 200/250;
        box-shadow: 3px 3px 0 #54BC00;
        border: 2px solid #54BC00;
        border-radius: 5px 20px;
}

/* textアニメーション */
.Headline {
        margin: 0;
        animation-name: SlideIn;
        animation-duration: 0.7s;
        animation-delay: 0.5s;
        animation-fill-mode: forwards;
        opacity: 0;
}

@keyframes SlideIn {
        0% {
                opacity: 0;
                transform: translateY(24px);
        }

        50% {
                opacity: 0;
                transform: translateY(12px);
        }

        75% {
                opacity: 0;
                transform: translateY(6px);
        }

        100% {
                opacity: 1;
                transform: translateY(0);
        }
}

.border {
        position: relative;
        margin: 0 0 6rem;
}

.border:before {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 0;
        width: 0;
        border-bottom: solid 2px #54BC00;
        transform: translateX(-56%);
        animation-name: border_anim;
        animation-duration: 0.7s;
        animation-timing-function: ease-in-out;
        animation-fill-mode: forwards;
}

@keyframes border_anim {
        0% {
                width: 0%;
        }

        100% {
                width: 90%;
        }
}

.expert-text {
        margin-bottom: 3rem;
        text-align: justify;
}

.expert-detail-title {
        display: inline-block;
        position: relative;
        width: 10rem;
        margin-bottom: 1rem;
        font-size: 2rem;
}

.expert-detail-title::after {
        content: "";
        position: absolute;
        width: 100px;
        height: 1px;
        top: 50%;
        left: 100%;
        background-color: #54BC00;
        transform: translateY(-50%);
}

.fa-pen {
        color: #54BC00;
}

.expert-detail-text {
        margin-top: 1rem;
        padding-top: 1rem;
        border-top: 1px dotted #54BC00;
}



@media screen and (max-width:768px) {

        .title-wrap {
                margin-bottom: 0;
        }

        .contents-inner {
                margin: 2rem auto 5rem;
        }

        .expert-title {
                font-size: 2rem;
        }

        .expert-name {
                font-size: 5rem;
        }

        .expert-position {
                margin-top: 1rem;
        }

        .expert-info {
                width: 70%;
        }

        .expert-img {
                width: 28%;
        }



}

@media screen and (max-width:599px) {
        .company-wrap {
                align-items: center;
                margin-bottom: 2rem;
        }

        .expert-title {
                font-size: 1.8rem;
        }

        .expert-title-s {
                font-size: 1.5rem;
        }

        .expert-name {
                margin-bottom: 1rem;
                font-size: 3rem;
        }

        .expert-name-s {
                display: block;
                font-size: 1.3rem;
        }

        .border {
                margin-bottom: 2rem;
        }

        .expert-info {
                width: 65%;
        }

        .expert-img {
                width: 35%;
                margin: 0 auto;
        }

        .expert-position {
                display: block;
                margin-bottom: 2rem;
                font-size: 1.6rem;
        }


}