.pg-profile {
    padding-top: 200px;
    width: 100vw;
    padding-top: 200px;
    font-family: 'Noto Sans JP', 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro', 'Hiragino Kaku Gothic Pro', 'Yu Gothic', '游ゴシック', 'Meiryo', 'メイリオ', 'MS PGothic', sans-serif;
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}
.pg-profile .content_top_left {
    width: min(1300px, 90vw);
    margin: 0 auto;
}

.pg-profile .profile_h2 {
    margin: 80px 0;
    font-size: 90px;
    text-align: left;
    font-family: 'Radley', serif;
}
.pg-profile .profile_h3 {
    background-color: #EA0015;
    color: #FFF;
    font-weight: bold;
    padding: 0.5em 1em;
    margin: 40px 0 20px;
}
.pg-profile .profile_h4 {
    border-bottom: 2px solid #EA0015;
    font-size: 20px;
    font-weight: bold;
    padding: .5em 0;
    margin: 20px 0;
}


.pg-profile .leafletArea {
    max-width: 330px;
    width: 100%;
    border: solid 2px #EA0015;
    border-radius: 4px;
    margin: 100px auto;
    box-sizing: border-box;
}
.pg-profile .leafletArea a {
    font-weight: bold;
    text-decoration: none;
    color: #000;
    padding: 1em;
    display: block;
}

.pg-profile .profile_images {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    text-align: center;
    margin: 80px 0;
}
.pg-profile .profile_images-box {
    width: 33.333333%;
}
.pg-profile .profile_images-box img {
    max-width: 100%;
    object-fit: contain;
}

.pg-profile .profile_transition {
    margin: 80px 0;
}

.pg-profile .profile_transition ul li {
    background-color: #F2F2F2;
    padding: 1em;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    margin-left: 100px;
    position: relative;
}

/* リストの装飾 */
.pg-profile .profile_transition ul li::before {
    content: "";
    width: 2px;
    height: 150%;
    display: block;
    position: absolute;
    left: -40px;
    background-color: #EA0015;
}
.pg-profile .profile_transition ul li::after {
    content: url("../images/team_profile/transition.png");
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    left: -60px;
}
/* リストの装飾：最初と最後だけ線を短くする */
.pg-profile .profile_transition ul li:first-child::before {
    height: 75%;
    bottom: -20px;
}
.pg-profile .profile_transition ul li:last-child::before {
    height: 75%;
    top: -20px;
}

.pg-profile .profile_transition ul li span {
    width: 90px;
    font-size: 34px;
    font-weight: bold;
    color: #EA0015;
    font-family: 'Oswald', sans-serif;
}
.pg-profile .profile_transition ul li p {
    flex: 1;
}

@media screen and (max-width:767px) {
    .pg-profile {
        padding-top: 100px;
    }
    .pg-profile .profile_h2 {
        margin: 0;
        font-size: 50px;
    }

    .pg-profile .leafletArea {
        margin: 50px 0;
    }

    .pg-profile .profile_images {
        flex-direction: column;
    }
    .pg-profile .profile_images-box {
        width: 100%;
    }

    .pg-profile .profile_transition ul li {
        margin-left: 0;
    }
    .pg-profile .profile_transition ul li span {
        font-size: 20px;
        width: 60px;
    }
    .pg-profile .profile_transition ul li::before,.pg-profile .profile_transition ul li::after {
        content: none;
    }
}