#wrapper {
    font-family: "Zen Kaku Gothic New", sans-serif;
}

article p + p {
    margin-top: 1.4em;
}

#profile {
    width: 66.9%;
    max-width: 683px;
    margin: 0 auto 11.7%;
}

#profile .detail {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    font-size: 2rem;
    line-height: 1.4;
    margin-top: 3%;
}

#profile .photo {
    position: relative;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 683 / 455;
}
.photo img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    -webkit-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

article section.detail {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    font-size: 1.5rem;
    line-height: 1.7;
}
article section.detail:nth-child(odd) {
    flex-direction: row-reverse;
}

article section.detail + section.detail {
    margin-top: 5.8%;
}

article  section.detail .photo {
    width: 48.5%;
}
article  section.detail .photo div {
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 100%;
    aspect-ratio: 11 / 6;
}
article  section.detail .photo div + div {
    margin-top: 2%;
}

article section.detail .text {
    width: 48.6%;
}
article section.detail .text h5 {
    font-size: 2rem;
    line-height: 1.2;
    border-bottom: 1px solid #5d433b;
    padding-bottom: 2%;
    margin-bottom: 2%;
    font-weight: bold;
    color: #5d433b;
}

article .btn-back {
    margin: 10% auto 0;
    width: 231px;
}
article .btn-back a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    aspect-ratio: 231 / 61;
    background-image: url('/kanbi-link/wp-content/themes/original/assets/images/independence_support/interview/btn-back.jpg?20260217');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    text-decoration: none;
    color: #5d433b;
    font-size: 1.5rem;
    font-weight: 500;
}

@media print, screen and (max-width: 768px) {
    #profile {
        width: 100%;
        max-width: 100%;
        margin: 0 auto 11.7%;
    }

    #profile .detail {
        font-size: 3.5vw;
        margin-top: 5.6vw;
    }

    #profile .photo {
        aspect-ratio: 3 / 2;
    }

    article section.detail {
        flex-direction: column;
        font-size: 2.4vw;
    }
    article section.detail:nth-child(odd) {
        flex-direction: column;
    }

    article section.detail + section.detail {
        margin-top: 6.4vw;
    }

    article  section.detail .photo {
        width: 100%;
    }
    article  section.detail .photo div {
        aspect-ratio: 925 / 506;
    }
    article  section.detail .photo div + div {
        margin-top: 0.8vw;
    }

    article section.detail .text {
        width: 100%;
        margin-top: 3.5vw;
    }
    article section.detail .text h5 {
        font-size: 2.8vw;
        padding-bottom: 2.1vw;
        margin-bottom: 2.1vw;
    }

    article .btn-back {
        margin: 10.4vw auto 0;
        width: 100%;
    }
    article .btn-back a {
        aspect-ratio: 463 / 83;
        background-image: url('/kanbi-link/wp-content/themes/original/assets/images/independence_support/interview/btn-back-sp.jpg?20260217');
        font-size: 3.3vw;
    }
}
