body#page-sidebar {
    background: #edf1f3 !important;
}
#page-sidebar .col-md-8 article {
    background-color: #fff;
    padding: 15px;
    border-radius: 2px;
    margin-bottom: 60px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
}
.page-head {
    background-color: #211f3b;
    color: #fff;
    padding-top: 55px;
}
h1 {
    font-size: 26px;
    margin-bottom: 5px;
}
#page-sidebar .col-md-8 h1 {
    font-size: 20px;
    font-weight: 900;
    border-bottom: solid 3px #191965;
    padding: 0 0 8px 4px;
    margin-bottom: 15px;
}
main#application {
    background-color: #7b36362b;
}
main#application .page-content {
    max-width: 900px;
    margin: auto;
    position: relative;
}
input[type="text"]{
    width: 100%;
}
input{    padding: 10px;}
.person {
    border: 2px solid black; /* フィールドセットのボーダーを黒に */
    padding: 50px 20px 20px;
    margin-bottom: 50px;
    position: relative; /* legend の配置調整のため */
    background-color: #fff;
}

.person legend {
    color: black;
    padding: 0 10px;
    position: absolute;
    top: -18px;
    left: 15px;
    background: white;
    display: inline-block;
    width: 35%;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    border: solid 1px;
}
.page-thumbnail img {
    display: block;
    margin: 0 auto; /* 自動で左右中央配置 */
    width: 200px; /* 画像の幅を200pxに指定 */
    height: auto; /* 縦横比を維持 */
}
/* legend の文字部分の線を消す */
.person legend::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 5px;
    width: 100%;
    height: 2px;
    background: white; /* 文字の後ろだけ白にして線を消す */
    z-index: -1;
}
input.wpcf7-form-control.wpcf7-submit.has-spinner {
    width: 100%;
    margin: auto;
}
li {
    line-height: 29px;
    margin-bottom: 9px;
}
h2 {
    margin-top: 37px;
}
@media (min-width: 768px) {
    #page-sidebar .col-md-8 article {
        padding: 33px;
    }
    h1 {
        font-size: 26px!important;
        margin-bottom: 5px;
    }
    #page-sidebar .col-md-8 h2 {
        font-size: 21px;
        font-weight: 600;
    }
    main#application {
        margin-top: -6px;
    }
    .person legend {
        top: -23px;
        left: 15px;
        width: 20%;
        font-size: 25px;
    }
}

