@import url('https://fonts.googleapis.com/css2?family=Averia+Serif+Libre&display=swap');
img.hotei-logo {
    width: 70%;
}

.hotei-content {
    background-color: #797979;
    background-image: url(/img/hotei/hotei-bg.png);
    background-repeat: no-repeat;
    background-size: 60%;
    position: relative;
}

.hotei-bg {
    height: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    padding: 20px;
}

.hotei-content h2 {
    font-family: 'Averia Serif Libre', cursive;
    font-size: 34px;
    color: #58504e;
    border-bottom: 1px solid #58504e;
    margin-top: 0px;
}


/* about hotei */

.about-hotei {
    background-color: rgba(255, 255, 255, 0.6);
    padding: 20px;
    margin: 20px 0px;
    position: relative;
}

img.bill-img {
    position: absolute;
    right: 0;
}

/* recommended */
.bn-area {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-bottom: 40px;
    margin-top: 20px;
}
.col2bn img {
    width: 100%;
}
/* hotei's pick */

.hotei-item {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.hotei-item h2 {
    width: 100%;
}

.card {
    height: auto;
    position: relative;
}

.card img {
    width: 100%;
    padding: 15px 20px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.card a {
    position: absolute;
    display: block;
    width: 100%;
    height: 100%;
}

.card a:hover {
    background-color: rgba(255, 255, 255, 0.4);
}

.card__imgframe {
    width: 100%;
    height: auto;
    background-color: #fff;
    /*    padding-top: 56.25%;*/
    /*    background: url(https://placehold.jp/640x360.png) no-repeat center;*/
    /*    background-size: cover;*/
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    /*    position: relative;*/
    /*    box-shadow: 0px 4px 4px rgba(0, 0, 0, .4);*/
}

.card__textbox {
    width: 100%;
    height: 100%;
    /*    padding: 18px;*/
    /*    background: #ffffff;*/
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    background: #333333;
    color: #ffffff;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
}

.card__textbox>*+* {
    margin-top: 10px;
}

.card__titletext {
    font-size: 20px;
    font-weight: bold;
    line-height: 125%;
    padding: 0 18px 10px;
}

.card__overviewtext {
/*    font-size: 12px;*/
    line-height: 150%;
    padding: 0 18px 18px;
    margin-top: auto;
}


/* for PC */

@media screen and (min-width:768px) {
    img.bill-img {
        top: -197px;
        width: 324px;
    }
    .hotei-content h2 {
        font-size: 34px;
    }
    .col2bn {
        width: 49%;
    }
    .hotei-item {
        -webkit-box-pack: start;
        -ms-flex-pack: start;
        justify-content: flex-start;
    }
    .card {
        width: 32%;
        margin: 0 4px 20px;
    }
/*
    div.card-skin:nth-of-type(4n) {
    margin-right: 0px;
    }
    .div.card-skin:nth-of-type(4n+1) {
        margin-left: 0;
    }
*/
}


/* for SP */

@media screen and (max-width:767px) {
    .hotei-content h2 {
        font-size: 28px;
    }
    .col2bn {
    margin-bottom: 20px;
}
    img.bill-img {
        top: -96px;
        width: 120px;
    }
    .hotei-item {
        -webkit-box-pack:justify;
        -ms-flex-pack:justify;
        justify-content:space-between;
    }

    .card {
        width: 48%;
        margin-top: 20px;
    }
}