/* welfare */


#sec-sub-image .img-welfare{
    height:50vh;
    width:97%;
    background-image:url("../images/welfare/welfare-bg.jpg");
    background-repeat:no-repeat;
    background-size:cover;
    background-position:50% 90%;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
    margin-top:2em;
}

#sec-sub-image .img-welfare .img-txt p{
    color: #71a1d4;
}

.object-fit-img {
  object-fit: contain;
  font-family: 'object-fit: contain;'
}

#sec-sub-menu ul.list-sub-menu {
    padding: 2.3em 1.5em 1.5em 1.5em!important;
}


/*
sec-welfare-1
================================*/
#sec-welfare-1{
    margin-top:100px;
    margin-bottom:50px;
}

/*
sec-welfare-2
================================*/
#sec-welfare-2{
    margin-top:100px;
    margin-bottom:40px;
}
#sec-welfare-3 .fukushi-img-1 img{
    width:400px;
    height: auto;
    margin:auto;
}

/*
sec-welfare-3
================================*/
#sec-welfare-3{
    padding: 3em 0 4em 0;
}
.fukushi-box{
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}
.fukushi-inner{
    background-color: #fff;
    padding: 20px 30px;
    box-shadow: 1px 1px 10px #ddd;
    border-radius: 6px;
    flex-basis: 48%;
    margin:0 1%;
}
.fukushi-inner ul{
    padding-left: 2rem;
}
.fukushi-inner p{
    font-weight: bold;
}
.shisetushisen{
    border: 1px dotted #3b9fe8;
    padding: 10px 20px;
    border-radius: 3px;
}
.fukushi-img-1 img{
    width:400px;
    height: auto;
    margin:auto;
}

/*
sec-welfare-4
================================*/
#sec-welfare-4{
    margin-top:60px;
    margin-bottom:20px;
}

/*
sec-welfare-5
================================*/
.kintai-box{
    padding:50px 0;
    background-color: #f8f7f8;
    background-image: url("../images/welfare/welfare-bg-2.png");
    background-repeat: no-repeat;
    background-position: -40px 50%;
    display: flex;
    justify-content: flex-end;
    background-size: 900px auto;
}
.kintai-inner{
    flex-basis: 45%;
    margin-right:5%;
}
.kintai-inner ol li{
    margin-bottom:10px;
    font-size: 16px;
}


/*
sec-welfare-6
================================*/
#sec-welfare-6{
    margin-top:50px;
    margin-bottom:60px;
}
.kintai-point{
    text-align: center;
}
.kintai-point .k-p-top{
    letter-spacing: 0.1rem;
    font-size: 16px;
    font-weight: bold;
}

.kintai-point .k-p-bottom{
    display: inline-block;
    padding:15px 30px;
    color:#dd4e4e;
    font-weight: bold;
    font-size: 18px;
    border-bottom:2px solid #dd4e4e;
    margin: auto;
    font-size: 18px;
}



/*
Media Queries
================================*/

@media screen and (max-width: 1024px) {
    .kintai-box{
        justify-content: center;
        background-size: cover;
    }
    .kintai-inner{
        flex-basis: auto;
        background: rgba(255, 255, 255, 0.8);
        padding: 30px;
        margin-right: 0;
        box-shadow: 1px 1px 10px #ddd;
        border-radius: 6px;
    }
    .kintai-inner ol{
        padding-left:2rem;
    }
}
@media screen and (max-width: 768px) {
    #sec-sub-image .img-welfare {
        height: 40vh;
        width: 96%;
        margin-top: 2em;
    }
    #sec-sub-menu h1.midashi-pagecat{
        left:-0.5em!important;
    }
}
@media screen and (max-width: 480px) {
    #sec-sub-image .img-welfare {
        height: 40vh;
        margin-top: 1em;
    }
    #sec-welfare-1,
    #sec-welfare-2,
    #sec-welfare-4{
        margin-top:130px;
    }
    .fukushi-inner{
        flex-basis: 100%;
        margin:0;
        margin-bottom:10px;
    }
    .kintai-inner{
        flex-basis: 90%;
        background: rgba(255, 255, 255, 0.85);
    }
}
@media screen and (min-width: 751px){
}
