.layout {
    max-width: 440px;
    width: 100%;
    padding: 0 30px;
    margin: 0 auto;
}

.sub-fv {
    position: relative;
}

.sub-fv::before {
    content: "";
    display: inline-block;
    background-image: url(../images/ring.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 67px;
    height: 60px;
    position: absolute;
    bottom: -30px;
    right: 6%;
    animation: 18s linear infinite rotation;
}

@keyframes rotation {
    0% {
        transform: rotateZ(0);
    }

    100% {
        transform: rotateZ(360deg);
    }
}

.sub-fv--text {
    width: 185px;
    position: absolute;
    top: 15%;
    left: 7%;
}

.sub__message {
    max-width: 440px;
    width: 100%;
    padding: 0 30px;
    margin: 20px auto;
}

.sub__message img {
    width: 230px;
}

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

    .layout {
        max-width: 600px;
    }

    .sub-fv {
        padding-top: 60px;
    }

    .sub-fv--text {
        width: 222px;
    }

    .sub-fv--text img {
        padding-top: 60px;
    }

    .sub-fv--img img {
        height: calc(100vh - 60px);
    }

    .sub__message {
        max-width: 600px;
        margin: 20px auto;
    }

    .sub__message img {
        width: 291px;
    }
}

@media screen and (min-width: 1000px) {
    .layout {
        max-width: 1340px;
        padding: 0 30px;
    }

    .sub-fv--text {
        width: 450px;
    }

    .sub-fv::before {
        width: 100px;
        height: 90px;
        bottom: -45px;
        right: 6%;
    }

    .sub__message {
        max-width: 1340px;
        padding: 0 30px;
        margin: 50px auto 30px;
    }

    .sub__message img {
        width: 338px;
    }
}

/*************************
   end
*************************/

.team-top--text {
    line-height: 1.5;
    font-size: 13px;
    margin-top: 1rem;
    color: #004FA2;
}

.team-top--picture {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3px 6px;
    margin-top: 15px;
}

.team-top--picture img {
    width: 100%;
}

.team {
    padding: 30px 0;
}

.team__title {
    width: 130px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.team__wrap {
    margin-top: -10px;
}

.team__container {
    margin-bottom: 30px;
}

.team__member {
    position: relative;
    background: #EE7300;
    display: flex;
    cursor: pointer;
    flex-direction: column-reverse;
}

.team__member__text {
    text-align: center;
    padding: 4% 0 8%;
}

.team__member--title {
    width: 270px;
}

.team__member .num {
    font-size: 22px;
    font-style: italic;
    color: #fff;
    margin-bottom: 0;
}

.team__member .num span {
    font-size: 160%;
}

.team__member .team {
    font-size: 36px;
    color: #fff;
    font-weight: bold;
    margin-top: 0;
    padding: 0;
    letter-spacing: 3px;
    position: relative;
    left: 3px;
    margin-bottom: 6px;
}

.team__member .name {
    font-size: 26px;
    color: #fff;
    font-weight: bold;
    margin-bottom: 4px;
}

.team__member .year {
    font-size: 14px;
    color: #fff;
    font-style: italic;
    margin-bottom: 16px;
}

.team__member--btn {
    width: 100px;
    cursor: pointer;
}

.team-voice {
    background: #004FA2;
    display: none;
}

.team-voice--title {
    padding: 10px 0;
    text-align: center;
}

.team-voice--title img {
    width: 130px;
}

.team-voice__wrap {
    width: 94%;
    margin: 0 auto;
}

.team-voice--text {
    width: 90%;
    padding: 10px 0 25px;
    margin: 0 auto;
    font-size: 14px;
    line-height: 1.5;
    color: #fff;
}

.team-voice__box:nth-of-type(1) .team-voice--text {
    font-size: 18px;
    text-align: center;
}

.team-voice__box--title {
    color: #fff;
    text-indent: 0.5em;
    border: #fff solid 4px;
    border-radius: 18px;
    font-size: 16px;
    padding: 10px 0 14px;
    font-style: italic;
}

.team-voice__box--title span {
    display: inline-block;
    margin-right: 0px;
    letter-spacing: 2px;
    font-weight: bold;
    font-size: 20px;
}

.team-date__block {
    padding-bottom: 10px;
    margin-top: -10px;
}

.team-date__box {
    margin-bottom: 20px;
    border-radius: 20px;
    padding-top: 28px;
    background: #EFEFEF;
    text-align: center;
    padding-bottom: 26px;
}

.team-date__box .title {
    color: #004FA2;
    font-size: 14px;
    font-weight: bold;
}

.team-date__box .text {
    color: #004FA2;
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.team-date__box .text .large {
    color: #EE7300;
    font-size: 76px;
    font-style: italic;
    display: inline-block;
    margin-left: 6px;
}

.team-date__box .text .small {
    color: #EE7300;
    font-size: 46px;
    font-style: italic;
    display: inline-block;
    margin-right: 8px;
}

.team-date__box .memo {
    color: #004FA2;
    font-size: 10px;
}

.link-recruit {
    max-width: 440px;
    width: 100%;
    position: relative;
    text-align: center;
    padding: 0 30px;
    margin: 0 auto 30px;
}

.link-recruit a {
    width: 100%;
    height: 100%;
    font-size: 30px;
    position: relative;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

.link-recruit a::before {
    content: "";
    display: inline-block;
    background: url(../images/recruit-bg2.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
    mix-blend-mode: multiply;
}

.link-recruit a::after {
    content: "";
    display: inline-block;
    background: url(../images/team/team-recruit.svg);
    background-repeat: no-repeat;
    background-size: cover;
    width: 60px;
    height: 60px;
    position: absolute;
    bottom: -10px;
    right: -10px;
    z-index: 300;
}

.link-recruit--text {
    width: 110px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff;
    z-index: 200;
}

@media screen and (min-width: 680px) {
    .team-date__box .title {
        color: #004FA2;
        font-size: 13px;
        font-weight: bold;
    }
    
    .team-date__box .text {
        color: #004FA2;
        font-size: 16px;
        font-weight: bold;
        margin-bottom: 10px;
    }
    
    .team-date__box .text .large {
        color: #EE7300;
        font-size: 66px;
        font-style: italic;
        display: inline-block;
        margin-left: 6px;
    }
    
    .team-date__box .text .small {
        color: #EE7300;
        font-size: 36px;
        font-style: italic;
        display: inline-block;
        margin-right: 8px;
    }
    
    .team-date__box .memo {
        color: #004FA2;
        font-size: 10px;
    }
    
    .team-top--text {
        font-size: 12px;
    }

    .team-top--picture {
        gap: 10px;
        margin-top: 15px;
    }

    .team__title {
        width: 160px;
        margin: 0 auto;
        position: relative;
        z-index: 1;
    }

    .team__member--title {
        width: 270px;
    }

    .team-voice--title img {
        width: 160px;
    }

    .team-voice__wrap {
        width: 85%;
    }

    .team-voice--text {
        padding: 15px 0 30px;
        font-size: 14px;
    }
    

    .team-voice__box:nth-of-type(1) .team-voice--text {
        font-size: 22px;
    }

    .team-date__block {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 20px;
    }

    .link-recruit {
        max-width: 460px;
    }
}

@media screen and (min-width: 1000px) {
    .team-top--text {
        font-size: 18px;
        margin-top: 1rem;
        color: #004FA2;
    }

    .team-top--picture {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 10px;
        margin-top: 15px;
    }

    .team__title {
        width: 220px;
    }

    .team {
        padding: 50px 0 30px;
    }

    .team__wrap {
        margin-top: -15px;
    }

    .team__member {
        position: relative;
        background: #EE7300;
        display: flex;
        flex-flow: row-reverse;
        cursor: pointer;
    }

    .team__member--man {
        width: 50%;
    }

    .team__member__text {
        position: relative;
        width: 50%;
        height: auto;
        align-content: center;
        text-align: right;
        padding-right: 10%;
    }

    .team__member--title {
        width: 340px;
    }

    .team__member--btn {
        width: 120px;
    }

    .team-voice--title {
        padding: 50px 0;
    }

    .team-voice--title img {
        width: 250px;
    }

    .team-voice__wrap {
        width: 70%;
    }

    .team-voice--text {
        padding: 30px 0 50px;
        font-size: 18px;
        line-height: 1.5;
    }

    .team-voice__box:nth-of-type(1) .team-voice--text {
        font-size: 26px;
    }

    .team-voice__box--title {
        color: #fff;
        text-indent: 20px;
        border: #fff solid 6px;
        border-radius: 24px;
        font-size: 30px;
        padding: 10px 0 14px;
        font-style: italic;
    }
    
    .team-voice__box--title span {
        display: inline-block;
        margin-right: 14px;
        letter-spacing: 2px;
        font-weight: bold;
        font-size: 36px;
    }
    
    .team-date__block {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 0 20px;
        margin: -15px auto 0;
        max-width: 800px;
    }

    .team-date__box {
        margin-bottom: 50px;
        border-radius: 20px;
    }

    

.team-date__box .title {
    color: #004FA2;
    font-size: 14px;
    font-weight: bold;
}

.team-date__box .text {
    color: #004FA2;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}

.team-date__box .text .large {
    color: #EE7300;
    font-size: 78px;
    font-style: italic;
    display: inline-block;
    margin-left: 6px;
}

.team-date__box .text .small {
    color: #EE7300;
    font-size: 48px;
    font-style: italic;
    display: inline-block;
    margin-right: 8px;
}

.team-date__box .memo {
    color: #004FA2;
    font-size: 13px;
}


    .team-date__box:nth-of-type(1) img {
        width: 80%;
        padding: 30px 0;
    }

    .team-date__box:nth-of-type(2) img {
        width: 69%;
        padding: 30px 0;
    }

    .team-date__box:nth-of-type(3) img {
        width: 63.5%;
        padding: 30px 0;
    }

    .team-date__box:nth-of-type(4) img {
        width: 59.5%;
        padding: 30px 0;
    }

    .link-recruit {
        max-width: 860px;
        width: 100%;
        position: relative;
        text-align: center;
        padding: 0 30px;
        margin: 0 auto 30px;
    }

    .link-recruit a {
        width: 100%;
        height: 100%;
        font-size: 30px;
        position: relative;
    }

    .link-recruit a::after {
        width: 144px;
        height: 144px;
        bottom: -20px;
        right: -20px;
    }

    .link-recruit--text {
        width: 30%;
    }
}