@charset "UTF-8";

.pencil_title {
    display: flex;
    justify-content: center;
    border-bottom: solid;
    border-color: #AAE538;
    margin-bottom: 55px;
}

.pencel {
    max-width: 100%;
    height: auto;
    margin: auto 0;
}

.category>ul>li {

    font-size: 1.11em;
    font-weight: bold;
    width: 189px;
    margin-bottom: 31px;
    margin-top: 13px;

}

.seikatsuhi {
    width: 210px;
    font-size: 1.11em;
    font-weight: bold;
}


.category {

    flex-shrink: 0;
    width: 189px;
}

.suido {
    margin: 0 !important;
    height: 16px;
}

.chusyaku {
    font-size: 12px !important;
    margin-bottom: 0 !important;
}

.kosai {

    margin-top: 7px !important;
    margin-bottom: 27px !important;
}

.onepoint {

    max-width: 50%;
    display: block;
    margin: auto;
    margin-bottom: 30px;
}


.modal {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 100px;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgb(0, 0, 0);
    background-color: rgba(0, 0, 0, 0.9);
}

.modal-content {
    margin: auto;
    display: block;
    width: 80%;
    max-width: 700px;
}

.modal-content img {
    width: 100%;
    height: auto;
}

/* 閉じるボタンのスタイル */
.close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    transition: 0.3s;
}

.close:hover,
.close:focus {
    color: #bbb;
    text-decoration: none;
    cursor: pointer;
}

.result_li {

    margin-top: 5px;
}

.result_div {

    width: 256px;
    display: flex;

}

.result {
    float: right;
    width: 134px;
    text-align: right;
    font-size: 1.3333em;
    font-weight: bold;
    color: #00a788;
    line-height: 1.43;
}

.resultafter {

    float: right;
    margin-left: 43px;
}

#kekka {

    display: none;
}

.keisankekka {
    margin-left: 100px;
    font-size: 1.3333em;
    font-weight: bold;
    color: #00a788;
}

.kekkadt {
    width: 500px;
}

.headtitle {

    color: #335;
    font-size: 2em;
    font-weight: 700;
    padding: 0.7em 0;
    margin-left: 85px;
    font-style: normal;
}

@media screen and (max-width: 767px) {

    /* 959px以下に適用されるCSS（タブレット用） */
    .headtitle {
        margin: 0;
        text-align: center;
    }

    .questionCoverTitle .questionCoverTitleH1 {
        max-width: none;
    }

    .questionCoverTitleInner {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    body {
        max-width: 1000px;
        min-width: auto;
    }

    .pencel {
        width: 65px;
    }

    span {
        font-size: 1.4rem;
    }

    /* .questionItemBlock {
        display: -webkit-box;
    } */

    .category {
        width: 160px;
    }

    .onepoint {
        max-width: 90%;
    }

    .questionItemTitle {
        width: 167px;
    }

    .questionContTitle {
        padding-right: none;
        padding-left: none;
    }

    .keisankekka {

        margin-left: 40px;
    }

    h2 {
        padding-left: none;
        margin-top: none;
    }

    .resultafter {
        margin-left: 0;
    }

    .result {
        width:61px;
        margin-right: 54px; 
    }

    .seikatsuhi{
        width: 100%;
    }
    
}