/* 
    画像＋文字系パーツ
*/

/* =========================================================================
    画像＋文章１・２
========================================================================= */
.img-txt1-wrap .it1-image {
    max-height: 600px;
    overflow: hidden;
}

.img-txt1-wrap .it1-heading {
    color: #003E7B;
    font-size: 4rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1.5;
    position: relative;
    margin-bottom: 2em;
}
.img-txt1-wrap .it1-heading::before {
    content: '';
    display: block;
    width: 30%;
    border-bottom: 1px solid #2DB6F2;
    position: absolute;
    bottom: -2rem;
}
.img-txt1-wrap .it1-heading::after {
    content: '';
    display: block;
    width: 15%;
    border-bottom: 1px solid #003E7B;
    position: absolute;
    bottom: -2rem;
}

/* ボタン */
.img-txt1-wrap .btn-radius100-frame {
    width: 100%;
    max-width: 400px;
    padding: 1em 0 1em 2em;
} 



/* =========================================================================
    画像＋文章３
========================================================================= */
.img-txt3-wrap .card figure {
    max-height: 300px;
    overflow: hidden;
    margin: 0;
}
.img-txt3-wrap .card figure img {
    object-fit: cover;
}



/* =========================================================================
    画像＋文章４
========================================================================= */
.img-txt4-wrap {
    position: relative;
}
.img-txt4-wrap img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 20px;
}
.img-txt4-wrap .it4-text {
    position: absolute;
    bottom: 0;
    left: 10%; 
    display: block;
    width: 40%;
    max-width: 700px;
    height: 250px;
    background-color: #fff;
    border-radius: 20px 20px 0 0;
}
.img-txt4-wrap .it4-copy {
    color: #003E7B;
    font-size: 3rem;
    font-weight: 400;
    letter-spacing: 0.1em;
    line-height: 1.5;
}

/* ボタン */
.img-txt4-wrap .btn-radius100-frame-w {
    position: absolute;
    bottom: 5%;
    right: 5%;
    width: 100%;
    max-width: 400px;
    padding: 1em 0 1em 2em;
}


/* =========================================================================
    画像横３+文章
========================================================================= */
.img-w3-txt-wrap .iw3t-heading {
    color: #003E7B;
    font-size: 2.6rem;
    letter-spacing: 0.1em;
}


/* =========================================================================
    プロフィール
========================================================================= */
/* 左：画像 */
.profile-wrap .profile-img {
    /* width: 450px;
    height: 600px; */
    width: 350px;
    height: 500px;
    overflow: hidden;
}
.profile-wrap .profile-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}

/* 右：文章 */
.profile-wrap .profile-sentence {
    width: calc(100% - 450px);
    padding-left: 5%;
}

.profile-wrap .profile-sentence .p-name {
    font-size: 3rem;
    font-weight: 700;
    padding: 1em 0;
}

.profile-wrap .profile-sentence dl dt {
    font-size: 2rem;
    margin-bottom: 1em;
}
.profile-wrap .profile-sentence dl dd {
    margin-bottom: 3em;
}
.profile-wrap .profile-sentence dl dd:last-child {
    margin-bottom: 0;
}


/* =========================================================================
    画像＋名前
========================================================================= */
.img-name-wrap .in-img {
    width: 100%;
    height: 550px;
    overflow: hidden;
    margin-bottom: 1.5em;
}
.img-name-wrap .in-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 50%;
}
.img-name-wrap .in-name {
    font-size: 2.6rem;
    font-weight: 700;
    padding: 0.5em 0 0 0;
}


/* =========================================================================
    レスポンシブ　タブレット
========================================================================= */
@media screen and (max-width:1025px){

    /* =========================================================================
        画像＋文章１・２
    ========================================================================= */
    .img-txt1-wrap .it1-image {
        max-height: 400px;
    }
    .img-txt1-wrap .it1-heading {
        font-size: 2.6rem;
    }

    .img-txt1-wrap p.ml-100 {
        margin-left: 0;
    }

    .img-txt1-wrap .mt-100 {
        margin-top: 50px;
    }

    /* =========================================================================
        画像＋文章４
    ========================================================================= */
    .img-txt4-wrap .it4-text {
        left: 5%;
        height: 230px;
    }
    .img-txt4-wrap .it4-copy {
        font-size: 2.4rem;
    }

    /* =========================================================================
        画像横３+文章
    ========================================================================= */
    .img-w3-txt-wrap .iw3t-heading {
        font-size: 2.2rem;
    }

    /* =========================================================================
        画像＋名前
    ========================================================================= */
    .img-name-wrap .in-img {
        height: 400px;
        margin-bottom: 1em;
    }
}

/* =========================================================================
    レスポンシブ　タブレット（小）
========================================================================= */
@media screen and (max-width:850px){
    /* =========================================================================
        画像＋文章４
    ========================================================================= */
    .img-txt4-wrap img {
        height: 400px;
    }
    .img-txt4-wrap .it4-text {
        left: 5%;
        height: 200px;
        width: 50%;
    }
    .img-txt4-wrap .it4-copy {
        font-size: 2.4rem;
    }
    
    /* ボタン */
    .img-txt4-wrap .btn-radius100-frame-w {
        max-width: 250px;
    }

    
    /* =========================================================================
        プロフィール
    ========================================================================= */
    /* 左：画像 */
    .profile-wrap .profile-img {
        width: 50%;
        height: 450px;
    }
    /* 右：文章 */
    .profile-wrap .profile-sentence {
        width: 50%;
    }
    .profile-wrap .profile-sentence .p-name {
        padding: 0;
    }

    /* =========================================================================
        画像＋名前
    ========================================================================= */
    .img-name-wrap .in-img {
        height: 300px;
    }

}


/* =========================================================================
    レスポンシブ：スマートフォン
========================================================================= */
@media screen and (max-width:600px){
    /* =========================================================================
        画像＋文章１・２
    ========================================================================= */
    .img-txt1-wrap .it1-image {
        max-height: 250px;
    }

    /* =========================================================================
        画像＋文章４ ※bottom値がマイナスの関係で下セクションに被る場合があるので注意
    ========================================================================= */
    .img-txt4-wrap {
        /* 下のセクションに被らないくらい余白を設定する */
        margin-bottom: 200px;
    }
    .img-txt4-wrap img {
        border-radius: 0;
        width: auto;
        height: 400px;
    }
    .img-txt4-wrap .it4-text {
        width: 90%;
        bottom: -8em;
        left: 5%;
        height: auto;
    }
    .img-txt4-wrap .it4-copy {
        font-size: 2.2rem;
    }

    /* ボタン */
    .img-txt4-wrap .btn-radius100-frame {
        padding: 1em 0 1em 2em;
    }

    /* =========================================================================
        プロフィール
    ========================================================================= */
    /* 左：画像 */
    .profile-wrap .profile-img {
        width: 100%;
        height: 300px;
    }
    /* 右：文章 */
    .profile-wrap .profile-sentence {
        width: 100%;
        padding-left: 0;
    }
    .profile-wrap .profile-sentence .p-position {
        text-align: center;
    }
    .profile-wrap .profile-sentence .p-name {
        padding: 0;
        text-align: center;
    }
    
    /* =========================================================================
        画像＋名前
    ========================================================================= */
    .img-name-wrap .in-img {
        height: 250px;
        margin-bottom: 0.5em;
    }
    .img-name-wrap .in-name {
        font-size: 2rem;
        padding: 0;
    }
}