@charset "utf-8";

/* CSS Document */
/*==================================================
  予約モーダル
==================================================*/
.yoyaku_modal_overlay {
    position: fixed;
    z-index: 1000;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background: rgba(0, 0, 0, .5);
    display: none;
}

.btn_yoyaku_modal a {
    display: inline-block;
    background: #999;
    color: #FFF;
    padding: 5px 10px;
    margin-bottom: 5px;
    text-decoration: none !important;
    box-shadow: inset 0 -2px 0 0 rgba(0, 0, 0, .2);
}

.btn_yoyaku_modal a:hover {
    opacity: 0.5;
}

#yoyaku_modal {
    display: none;
    font-family: var(--noto);
    min-width: 280px;
    max-width: 590px;
    width: 96%;
    background: #FFF;
    text-align: center;
    padding: 10px;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    z-index: 1000;
}

#yoyaku_modal .modal_btn p {
    text-align: right;
    padding: 5px 0;
    position: absolute;
    top: -45px;
    right: 0;
}

#yoyaku_modal .modal_btn p span {
    display: inline-block;
    padding: 5px 10px;
    background: #999;
    color: #FFF;
    cursor: pointer;
}

#yoyaku_modal .modal_item {
    border: 1px solid #CCC;
    cursor: pointer;
    margin: 5px 0;
}

#yoyaku_modal .modal_item dl {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: flex-start;
}

#yoyaku_modal .modal_item .photo {
    max-width: 18rem;
    width: 30%;
    border: 1px solid #CCC;
    margin: 10px;
    display: inline-block;
}

#yoyaku_modal .modal_item .photo img {
    width: 180px;
    height: 144px;
    object-fit: cover;
    font-family: 'object-fit: cover;';
    /*IE対策*/
}

#yoyaku_modal .modal_item dd {
    flex-grow: 1;
    margin-right: 10px;
}

#yoyaku_modal .modal_item .ttl {
    font-size: 2rem;
    font-weight: bold;
    text-align: center;
    padding: 5px 0;
    border-bottom: 1px solid #CCC;
}

#yoyaku_modal .modal_item .data {
    margin: 10px 0;
    font-size: 1.6rem;
    transform: rotate(0.03deg);
    font-weight: 500;
}

#yoyaku_modal .modal_item .btn {
    padding: 10px 0;
    background: #7ab851;
    color: #fff;
    box-sizing: border-box;
    margin: 0 20px 10px;
    text-align: center;
    font-size: 1.1em;
    font-weight: bold;
}

#yoyaku_modal .modal_item:hover {
    opacity: 0.6;
}

#lean_overlay {
    position: fixed;
    z-index: 100;
    top: 0px;
    left: 0px;
    height: 100%;
    width: 100%;
    background: #000;
    display: none;
}

/*///////////////////////////////////////////////////////////

タブレット版（600px～1199px）

///////////////////////////////////////////////////////////*/
@media only screen and (max-width: 1199px) {
    #yoyaku_modal .pc_only {
        display: block;
    }

    #yoyaku_modal .sp_only {
        display: none;
    }
}

/* タブレット版ここまで --------------------------------------- */
/*///////////////////////////////////////////////////////////

スマホ版（0px～599px）

///////////////////////////////////////////////////////////*/
@media only screen and (max-width: 599px) {
    #yoyaku_modal .pc_only {
        display: none;
    }

    #yoyaku_modal .sp_only {
        display: block;
    }

    #yoyaku_modal .modal_item {
        padding: 0 2%;
    }

    #yoyaku_modal .modal_item .ttl {
        font-size: 1em;
    }

    #yoyaku_modal .modal_item .photo img {
        width: 80px;
        height: 80px;
        margin: 0;
    }

    #yoyaku_modal .modal_item dd {
        margin: 0 0 0 2%;
    }

    #yoyaku_modal .modal_item .data {
        margin: 0 auto;
        font-size: 0.9em;
    }
}

/* スマホ版ここまで ------------------------------------- */