@charset "utf-8";




/* サービス */

h3 {
    font-size: 21px;
    margin-top: 20px;
    /* text-align: center; */
}


.doc-image2 {
    width: 450px;
    height: 380px;
}

.contents .doc-title {
    font-size:1.6rem;
    font-weight: bold;
    color:#376193;
    border-bottom: 1px dashed #376193;
    margin-top: 15px;
}

.doc-item3 {
    float: left;
    width: calc(100% - 450px);
    padding:1%;

}

.doc-item3 h4 {
    font-weight: bold;
    margin-top: 3px;
}

.doc-item3 .doc-lead {
    text-align:left;
    margin-top:10px;
    margin-bottom: 5px;
}

.doc-item3 blockquote {
    margin-left: 10px;
}

.doc-item3 .item-list-title {
    margin-bottom: 0px;
    text-align: center;
}

.doc-item3 li p {
    font-size: 1.3rem;
}


.modal-link {
    font-size:1.6rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.modal-link a {
    color:red;
    font-weight: bold;
    margin-right: 2em;
}

.modal{
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    transition: 800ms;
    z-index: -1;

}

.js-modal.modal-open {
    opacity: 1;
    visibility: visible;
    z-index: 1000;
}

.modal__bg{
    background: rgba(0,0,0,0.8);
    height: 100vh;
    position: absolute;
    width: 100%;
}
.modal__content{
    background: #fff;
    left: 50%;
    padding: 40px;
    position: absolute;
    top: 50%;
    transform: translate(-50%,-50%);
    width: 1000px;
    max-width: 100%;
}

.modal__inner {
    position: relative;
}

.close-icon{
    width:35px;
    height: 35px;
    position: absolute;
    top:-15px;
    right: -15px;
}

.item-list-title span {
    padding: 3px 140px 1px;
    font-weight: bold;
    background-color: #F3CC49;
    font-size: 18px;
    border: none;
}

.pink {
    color: #F3CC49 ;
}

.doc-item3-txt {
    font-weight: normal;
}

.bottom-title {
    text-align: center;
}

/* ===================================================================================
 for PC min-width: 741px
 =================================================================================== */
@media screen and (min-width: 741px) {
    
.document-content {
    padding: 10px 10px 55px;
 }
    
.document-content .__b-w-item  {
    width:400px;
    max-width: 100%;
}

/* .document-content .__b-w-item li {
    width: 430px!important;
} */
.document-content .__b-w-item li img {
    width: calc(100% - 80px);
    height: auto!important;
}

.doc-item3 .item-list-title{
    text-align: left;
}

.item-list-title span {
    padding: 3px 140px 1px;
}
.doc-item3 {
    height: 420px;
}

.doc-item3 li {
    padding: 2px 0;
}


}
/* ===================================================================================
 for SP max-width: 740px
 =================================================================================== */
@media screen and (max-width: 740px) {

    .service-entry-content{
        padding: 0;
    }

    .contents {
        margin-bottom: 20px;
    }

    h3 {
        font-size: 18px;
    }

    .doc-image2 {
        width: 100%;
        padding: 0 5% 5%;
    }

    .doc-item3 {
        width: 100%;
        padding: 5% 5% 8%;
    }

    .contents .doc-title {
        font-size: min(5vw,20px);
    }
    .modal__content{
        width: 90%;
        height: 75vh;
        padding:20px;
    }
    
    .modal__inner {
        width: 100%;
        height: 100%;
        overflow-y: scroll;
    }
    .item-list-title span {
        padding: 3px 100px 1px;
    }
}