@charset "utf-8";
html body#relife{
    background:url('../img/attend/back_head_attend3.jpg') no-repeat center top,white;
    background-size: 100%;
}
html body #centerMenuSec{
    background:url('../img/common/back_common.jpg') repeat-y center top;
    background-size: cover;
    margin-bottom: auto;
}
#othPgHeader{ position: relative; }
#headComThin2{
    position: absolute;
    width: 100%;
    text-align: center;
}

#headerWrap{ margin-top: 1vw; }
body#relife #othPgHeader,
body#relife #pgHeaderSec{ min-height: 1vh; }
body#relife #pgHeaderSec{ padding-bottom: 2rem; }

h1#relifeTitle img{ height: 14vw; max-height: 12vw; }
h1#relifeTitle{ font-size: 1.5rem; line-height: 4; }

.torikumiTip{
    overflow: hidden;
}

#torikumiWrap h4,
#torikumiWrap h4+p.torikumiExp{
    width: 70%;
    float: left;
}

#torikumiWrap h4{
    background-color: #EEEEEE;
    font-size: 1.1rem;
    line-height: 1.5;
    margin: auto auto 1rem auto;
    padding: 0.25rem;
    text-align: left;
    font-weight: bold;
    clear:  none;
}

#torikumiWrap h4+p.torikumiExp{
    
}
.torikumiPic{
    float: right;
    width: 27%;
}

.torikumiPic img{
    width:100%;
    max-height: 20vh;
    object-fit: cover;
}

div.torikumiTip  + div.torikumiTip{
    margin-top: 2rem;
}

/*============================= sp ===========================*/
@media screen and  (max-width: 1680px) {
    html body #pgHeaderSec{
        padding-bottom: calc(32vh/5) !important;
    }
}

/*============================= sp ===========================*/
@media screen and  (max-width: 768px) {
    html body #centerMenuWrap{
        margin: auto;
    }
    #torikumiWrap h4, #torikumiWrap h4+p.torikumiExp,
    #torikumiWrap p{
        width: 100%;
        float: none;
    }
    
    #torikumiWrap p.torikumiPic img{
        object-fit: contain;
        padding-bottom: 0;
        margin-bottom: auto;
    }

    .torikumiTip{
    display: flex;
    flex-direction: column;
    }
    
    div.torikumiTip .torikumiPic img{
        width: 100%;
object-fit: cover;
height: auto;
    max-height: none;
    }
    div.torikumiTip .torikumiPic{
        order:2;
    }
    div.torikumiTip h4{
     order:1;
    }
    .torikumiExp{
        order: 3;
    }
    
    html body #pgHeaderSec{
        padding-bottom: 0  !important;
    }
    h1#relifeTitle{
        line-height: 3;
    }
    #headComThinMobile{
        font-size: 0.85rem;
    }
     #torikumiWrap   p.torikumiPic{
            margin-bottom: auto;
            padding-bottom: 0.5rem;
        }

}