@charset "UTF-8";

#face {
    background: #ccd6e0;
    height: 100vh;
    background-image: url(../message/img/top_img.webp);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}

.face_content {
    margin-left: 25vw;
    padding: 20px;
    width: calc(100% - 25vw);
    position: relative;
}

.face_content .face_txt {
    position: absolute;
    left: 30px;
    bottom: 30px;
    line-height: 2;
}

@media all and (max-width: 1200px) {
    #face {
        min-height: auto;
        height: calc(100vh - 80px);
    }
    
    .face_content {
        margin-left: 0vw;
        padding: 20px;
        width: 100%;
    }
    
}

@media all and (max-width: 767px) {
    #face {
        height: calc(100vh - 50px);
        max-height: 400px;
    }

    .face_content .face_txt {
        left: 0px;
        bottom: 0px;
        line-height: 2;
        font-size: 13px;
        text-align: justify;
        margin: 0 20px 20px;
    }
}

/*------------------------
main
------------------------*/
.h2_common span {
    font-size: 40px;
}

.greeting_wrap {
    display: flex;
    justify-content: center;
}

.greeting_wrap .txt {
    width: 80%;
    line-height: 2;
    text-align: justify;
}

.greeting_wrap .txt p:not(.name) {
    margin-bottom: 1em;
}

.greeting_wrap .txt .name {
    text-align: right;
    font-size: 20px;
    font-weight: bold;
    line-height: 1;
    margin-top: 1em;
}

.greeting_wrap .txt .name:last-of-type {
    padding-right: 1em;
}

.greeting_wrap .txt .name span {
    margin-right: 1em;
    font-size: 80%;
}

.greeting_wrap figure {
    width: 250px;
}

.greeting_wrap figure img {
    width: 100%;
}

@media all and (max-width: 767px) {
    .h2_common span {
        font-size: 24px;
    }

    .greeting_wrap {
        flex-wrap: wrap;
    }

    .greeting_wrap .txt {
        width: 100%;
        margin-right: 0px;
        font-size: 14px;
    }

    .greeting_wrap .txt .name {
        font-size: 16px;
        margin-bottom: 20px;
    }

    .greeting_wrap .txt .name span {
        margin-right: 1em;
        font-size: 80%;
    }

    .greeting_wrap figure {
        width: 200px;
    }

    .greeting_wrap figure img {
        width: 100%;
    }
}

.cv_wrap {
    width: 100%;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(30em, 1fr));
    gap: 2em;
}

.cv_box {
    background-color: white;
    padding: 2em;
    font-size: 15px;
}

.cv_box .name {
    display: flex;
    align-items: center;
    justify-content: center;
    letter-spacing: 0.1em;
    gap: 1em;
    line-height: 1;
    padding-bottom: 1em;
    margin-bottom: 1em;
    border-bottom: 1px solid #005371;
}

.cv_box .name span:nth-child(2) {
    font-size: 120%;
    font-weight: bold;
}

.cv_box .cv_txt {
    margin: 1.5em 0;
    text-align: center;
    line-height: 1.5;
    letter-spacing: 0.1em;
}

.cv_box .dl_wrap {
    margin: 0 1em;
}

.cv_box .dl_wrap dl {
    display: flex;
    padding: 0.7em;
    border-top: 1px dotted #aaa;
}

.cv_box .dl_wrap dl:last-child {
    border-bottom: 1px dotted #aaa;
}

.cv_box .dl_wrap dl dt {
    width: 7em;
    font-weight: normal;
    color: #777;
}

.cv_box .dl_wrap dl dd {
    flex: 1;
    text-align: justify;
}

@media all and (max-width: 767px) {
    .cv_wrap {
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    }

    .cv_box {
        padding: 1.5em;
        font-size: 13px;
    }

    .cv_box .cv_txt {
        text-align: justify;;
        letter-spacing: 0;
    }

    .cv_box .dl_wrap {
        margin: 0;
    }

    .cv_box .dl_wrap dl {
        padding: 0.5em;
    }

    .cv_box .dl_wrap dl dt {
        width: 6.5em;
    }
}