@charset "UTF-8";

/* CSS Document */
/*======================
    common
======================*/
.content {
    padding: 100px 20px 40px;
    color: #454545;
}

/*======================
    Privacy Policy
======================*/
.privacy-policy .content h2 {
    margin-bottom: 16px;
    font-weight: bold;
    font-size: 22px;
    letter-spacing: 0.04em;
    color: #000000;
}

.privacy-policy .content h3 {
    margin-bottom: 16px;
    padding: 0 0 0 10px;
    font-weight: bold;
    font-size: 18px;
    line-height: 23px;
    color: #0062AC;
    border-left: 3px solid;
}

.privacy-policy .content p {
    text-align: justify;
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: 1.6px;
}

.privacy-policy .content p + .wp-block-heading {
    margin-top: 40px;
}

.privacy-policy .content ul {
    margin: 16px auto;
}

.privacy-policy .content ul li {
    text-indent: -1em;
    padding-left: 1em;
}

.privacy-policy .content ul li::before {
    display: inline-block;
    content: "・";
    width: 1em;
    text-indent: 0;
    text-align: center;
}

/*======================
    Profile
======================*/
.profile .wp-block-columns {
    margin: 0;
}

.profile .content {
    padding: 50px 0 0;
}

.profile .title_wrap {
    background: linear-gradient(90deg, rgba(0, 72, 152, 1) 0%, rgba(0, 129, 186, 1) 85%, rgba(0, 129, 186, 1) 100%);
}

.profile .title_wrap .wrap {
    position: relative;
    height: 148px;
}

.profile .title_wrap h2 {
    position: absolute;
    left: 20px;
    bottom: -18px;
    font-family: "mr-eaves-modern", sans-serif;
    font-weight: 400;
    font-style: italic;
    font-size: 80px;
    line-height: 1;
    color: #ffffff;
    vertical-align: bottom;
}

.profile .title_wrap p {
    position: absolute;
    top: 100%;
    padding-left: 20px;
    color: #0062AC;
    font-size: 14px;
    font-weight: bold;
    margin-top: 11px;
}

.profile .title_wrap p::before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    content: "";
    width: 1em;
    height: 2px;
    background: #0062AC;
    transform: translateY(-50%);
}

.profile .content .greeting_wrap {
    padding: 0 20px;
}

.profile .greeting {
    padding: 30px 24px;
    border: 1px solid #F2F2F2;
    background-image: url("../images/profile_bg.png");
    background-repeat: no-repeat;
    background-size: 230px auto;
    background-position: right 20px bottom 40px;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
}

.profile .greeting h3 {
    margin-bottom: 20px;
    font-size: 18px;
    letter-spacing: 0.2em;
    color: #004898;
    font-weight: bold;
}

.profile .greeting p {
    text-indent: 1em;
    font-size: 14px;
    line-height: 30px;
    text-align: justify;
}

.profile_about_title .wp-block-group__inner-container {
    color: #004898;
}

.profile .profile_about_wrap {
    background-size: 90% auto;
    background-repeat: no-repeat;
    background-position: top 80px right 25vw;
}

.profile_about_title .wp-block-group__inner-container h3 {
    position: relative;
    margin-bottom: 12px;
    font-weight: 800;
    font-size: 18px;
}

.profile_about_title .wp-block-group__inner-container h3::after {
    display: block;
    content: "";
    width: 37px;
    height: 2px;
    margin-top: 6px;
    background-color: #004898;
}

.profile_about_title .wp-block-group__inner-container h4 {
    font-size: 35px;
    font-weight: 800;
    line-height: 1.1;
}

.profile_about_content h4 {
    padding-left: 14px;
    font-size: 20px;
    line-height: 1.1;
    color: #004898;
    font-weight: bold;
    border-left: 6px solid;
}

.profile_about_content ul {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 16px 20px;
}

.profile_about_content ul li {
    position: relative;
    padding-left: 12px;
    font-size: 14px;
    line-height: 18px;
}

.profile_about_content ul li::before {
    position: absolute;
    top: 9px;
    left: 0;
    display: inline-block;
    content: "";
    width: 5px;
    height: 5px;
    vertical-align: middle;
    background: #004898;
    opacity: .5;
    transform: rotate(45deg) translateY(-50%);
}

.profile_about_content > .wp-block-group__inner-container:first-of-type > ul {
    padding: 0 0 16px;
}

.profile_about_content > .wp-block-group__inner-container:first-of-type > ul li {
    padding-left: 14px;
}

.profile_about_content > .wp-block-group__inner-container:first-of-type > ul li::before {
    top: 9px;
    width: 10px;
    height: 10px;
    opacity: 1;
    transform: rotate(0) translateY(-50%);
}

@media only screen and (max-width: 768px) {
    .profile_about_title .wp-block-group__inner-container {
        max-width: min(50vw, 186px);
        margin-right: 0 !important;
    }

    .profile .profile_about_wrap {
        width: 100vw;
        height: 100vh;
        padding: 100px 20px 40px;
        background-image: url("../images/profile_img_sp.webp");
    }

    .profile_about_title .wp-block-group__inner-container h4 {
        position: relative;
        margin-right: -20px;
        padding: 10px;
        font-size: 35px;
        background: rgba(0, 72, 152, 0.05);
    }

    .profile_about_title .wp-block-group__inner-container h4 span {
        display: block;
        font-size: 24px;
    }

    .profile_about_title .wp-block-group__inner-container h4::after {
        position: absolute;
        top: 90%;
        right: 20px;
        display: block;
        content: "";
        width: 50px;
        height: 50px;
        background: rgba(255, 98, 167, .2);
    }

    .profile .profile_about_wrap > .wp-block-group__inner-container {
        height: 100%;
    }

    .profile .profile_about_wrap > .wp-block-group__inner-container > .wp-block-group {
        height: 100%;
    }

    .profile_about > .wp-block-group__inner-container {
        display: flex;
        flex-direction: column;
        height: 100%;
        justify-content: space-between;
    }

    .profile_about_content {
        position: relative;
        height: 55vh;
        padding: 30px 24px 10px;
        overflow-y: scroll;
        border: 1px solid #F2F2F2;
        border-radius: 4px;
        background-color: rgb(255, 255, 255, .9);
    }

    .profile_about_content > .wp-block-group__inner-container {
        display: flex;
        flex-direction: column;
        gap: 14px;
    }

    .profile_about_content > .wp-block-group__inner-container .wp-block-columns {
        margin: 0;
    }
}

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

    /*======================
        Profile
    ======================*/
    .profile .title_wrap .wrap {
        height: 192px;
    }

    .profile .content {
        padding-top: 90px;
    }

    .profile .wrap {
        max-width: 1080px;
    }

    .profile .title_wrap h2 {
        bottom: -22px;
        font-size: 100px;
    }

    .profile .title_wrap p {
        font-size: 16px;
    }

    .profile .greeting {
        padding: 40px min(4.39vw, 60px);
        background-position: right 30px bottom 30px;
    }

    .profile .greeting h3 {
        font-size: 24px;
        text-align: center;
    }

    .profile .greeting p {
        font-size: 16px;
        line-height: 2;
    }

    .profile_about {
        width: 60%;
        max-width: 680px;
        margin-left: auto;
    }

    .profile_about_wrap.wrap {
        padding: 0 20px;
    }

    .profile_about_title .wp-block-group__inner-container h3 {
        margin-bottom: 50px;
        font-size: 24px;
        text-align: center;
    }

    .profile_about_title .wp-block-group__inner-container h3::after {
        margin: 6px auto 0;
    }

    .profile_about_title .wp-block-group__inner-container h4 {
        font-size: 44px;
    }

    .profile_about_title .wp-block-group__inner-container h4 span {
        font-size: 32px;
    }

    .profile .profile_about_wrap {
        max-width: 1160px !important;
        min-height: 900px;
        padding: 80px min(4.39vw, 60px) 0;
        background-image: url("../images/profile_img_pc.webp");
        background-size: 400px auto;
        background-position: left bottom -10px;
    }

    .profile_about_content > .wp-block-group__inner-container:first-of-type > ul {
        gap: 8px;
        padding-top: 16px;
    }

    .profile_about_content > .wp-block-group__inner-container:first-of-type > ul li {
        padding-left: 16px;
        font-size: 16px;
        line-height: 20px;
    }

    .profile_about_content > .wp-block-group__inner-container:first-of-type > ul li::before {
        top: 11px;
        width: 13px;
        height: 13px;
    }

    .profile_about_content hr {
        display: block;
        margin-bottom: 16px;
        color: #004898;
        border-bottom: none;
        opacity: .5;
    }
}

/*======================
    FORM
======================*/
.form .mw_wp_form {
    margin-top: 24px;
}

form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

form dl {
    display: inline-flex;
    flex-direction: column;
    gap: 6px;
}

form dl dt {
    display: flex;
    gap: 10px;
    flex: 1;
    /* flex-basis: 20%; */
}

form dl dd {
    display: flex;
    align-items: center;
    flex: 1;
    flex-basis: 80%;
    gap: 5px;
}

form dl dd label {
    flex: 1;
    width: 2em;
    white-space: nowrap;
}

form dl dd input,
form dl dd textarea {
    width: 100%;
    padding: 2px 4px;
    border-radius: 2px;
    outline: 1px solid #cccccc;
    white-space: break-spaces;
    word-wrap: break-word;
}

form dl dd .mwform-checkbox-field input,
form dl dd .mwform-radio-field input {
    all: revert;
}

form dl.name dd input {
    flex: 1;
    flex-basis: 30%;
}

form p {
    text-align: center;
}

form p input[type="submit"] {
    background: #0062AC;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 1px 1px 10px rgb(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 20px;
    height: 54px;
    font-weight: bold;
    font-size: 16px;
    line-height: 1.25;
    color: #ffffff;
}

form dl.relationship {
    flex-direction: row;
    justify-content: flex-start;
}

form dl.relationship dd input {
    width: auto;
}

form dl dd label {
    text-align: right;
    /* flex: 0; */
    /* flex-basis: 3em; */
}

hr {
    margin-top: 16px;
}