@charset "utf-8";



#modal {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 99999;
    visibility: hidden;
    opacity: 0;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    transition-duration: 400ms;
    transition-timing-function: ease;
    transition-property: opacity, visibility;
}



body.openModal #modal {
    visibility: visible;
    opacity: 1;
}

body.openModal {
    overflow: hidden;
}



#modal .shadow {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
}


#modal .outer {
    position: relative;
    background-color: #fff;
    box-shadow: 0 0 16px rgba(0, 0, 0, 0.3);
}


#modal .close a {
    display: block;
    width: 40px;
    height: 40px;
    position: absolute;
    right: 30px;
    top: 20px;
    z-index: 1;
}

#modal .close a img {
    width: 100%;
    display: block;
}

#modal .outer .inner {
    overflow: auto;
    position: relative;
}





@media print,
screen and (min-width: 769px) {


    #modal .outer {
        width: 1024px;
    }



    #modal .pages .page {
        padding: 50px;
        padding-top: 80px;
    }

    #modal .pages .page .tit {
        text-align: right;
        background-image: url(../img/popup/common/line.png);
        background-repeat: repeat-x;
        -webkit-background-size: 50px 7px;
        background-size: 50px 7px;
        background-position: center top;
        padding-top: 20px;
        margin-bottom: 30px;
    }

    #modal .pages .page .tit img {
        width: auto;
        height: 30px;
    }


    #modal .pages .page .boxes .box {
        margin-bottom: 50px;
        border-left: 2px #000 solid;
        padding-left: 20px;
        position: relative;
    }

    #modal .pages .page .boxes .box .stit {
        background-color: #fff;
        position: relative;
        left: -22px;
        top: -10px;
    }

    #modal .pages .page .boxes .box .stit img {
        height: 20px;
        width: auto;
        margin: 0 auto 20px;
    }

    #modal .pages .page .boxes .box .clms {}

    #modal .pages .page .boxes .box .clm {
        margin-bottom: 50px;
    }

    #modal .pages .page .boxes .box .clm .images {
        width: 280px;
    }




    #modal .pages .page .boxes .box .clm .texts {
        width: 526px;
    }

    #modal .pages .page .boxes .box .clm .texts .body {
        font-weight: normal;
        font-size: 16px;
        line-height: 1.5em;
    }

    #modal .pages .page .boxes .box .clm .texts .body p {
        font-weight: normal;
        font-size: 16px;
        line-height: 1.5em;
        margin-bottom: 10px;
    }






    #modal .box .dish {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }


    #modal .box .dish .images .read {
        font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
        font-size: 22px;
    }


    #modal .box .dish .images .image {
        margin-top: 20px;
        left: -10px;
        position: relative;
        width: 320px;
        text-align: center;
    }

    #modal .box .dish .images .image .p_sub {
        font-size: 14px !important;
        padding-top: 50px;
        display: block;
    }

    #modal .box .dish .images .image img {
        width: 100%;
    }

    #modal .box .dish .images .size {
        width: 280px;
        margin-top: 10px;
        font-weight: normal;
        font-size: 14px;
    }

    #modal .box .dish .texts .photos {
        margin-top: 20px;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        justify-content: center;
        -ms-align-items: center;
        align-items: center;
    }

    #modal .box .dish .texts .photo img {
        height: 150px;
        width: auto;
        margin-left: 5px;
        margin-right: 5px;
    }


    #modal .box .product .name {
        font-size: 20px;
        line-height: 1.3em;
    }


    #modal .box .product .flex {
        margin-top: 10px;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        justify-content: space-between;
        width: 100%;
    }




    #modal .box .product .image {
        width: 320px;
        position: relative;
        text-align: center;
    }

    #modal .box .product .image img {
        width: 100%;
    }


    #modal .box .product .texts .link a {
        display: block;
        margin-top: 20px;
        font-weight: normal;
        font-size: 16px;
        color: #000;
        background-image: url(../img/popup/common/arrow.png);
        -webkit-background-size: 20px 20px;
        background-size: 20px 20px;
        background-repeat: no-repeat;
        background-position: left center;
        padding-left: 22px;
    }

    #modal .box .product .texts .link a:hover {
        opacity: 0.65 !important;
    }




    #modal .box .topic {
        margin-top: 50px;
        margin-bottom: 50px;
        background-color: #F9E8E8;
        border: 2px #CCCCCC solid;
        padding: 2px;
    }

    #modal .box .topic .inn {
        border: 1px #CCCCCC solid;
        padding: 15px;
    }

    #modal .box .topic .ctit {
        text-align: center;
        /*        font-weight: bold;*/
        font-size: 20px;
    }

    #modal .box .topic .body {
        margin-top: 10px;
        font-size: 16px;
    }





    #modal .links {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        justify-content: space-between;
    }

    #modal .links li {
        flex: 1;
    }

    #modal .links li a {
        display: block;
        background-color: #e8e6e6;
        padding: 10px;
        font-size: 24px;
        line-height: 1em;
        text-align: center;
        text-decoration: none;
        color: #000;
    }

    #modal .links li a.active {
        background-color: #ADADAD;
        color: #fff;
    }


    #modal .links li a:hover {
        opacity: 0.65;
    }

    #modal .sclose {
        margin-top: 40px;
        text-align: center;
    }

    #modal .sclose a {
        display: inline-block;
        text-decoration: none;
        color: #000;
        border-left: 1px #000 solid;
        border-right: 1px #000 solid;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 3px;
        padding-bottom: 3px;
        font-size: 16px;
    }

    #modal .sclose a:hover {
        opacity: 0.65;
    }

}


@media only screen and (min-width: 768px) and (max-width: 1024px) {}

@media only screen and (max-width: 768px) {





    #modal .close a {
        width: 30px;
        height: 30px;
        right: 10px;
        top: 10px;
    }




    #modal .pages .page {
        padding: 6vw;
        padding-top: 50px;
    }

    #modal .pages .page .tit {
        text-align: right;
        background-image: url(../img/popup/common/line.png);
        background-repeat: repeat-x;
        -webkit-background-size: 50px 4px;
        background-size: 50px 4px;
        background-position: center top;
        padding-top: 10px;
        margin-bottom: 6vw;
    }

    #modal .pages .page .tit img {
        width: auto;
        height: 20px;
    }


    #modal .pages .page .boxes .box {
        margin-bottom: 30px;
        border-left: 2px #000 solid;
        padding-left: 6vw;
        position: relative;
    }

    #modal .pages .page .boxes .box .stit {
        background-color: #fff;
        position: relative;
        left: calc(-6vw - 2px);
    }

    #modal .pages .page .boxes .box .stit img {
        height: 24px;
        width: auto;
        margin: 0 auto 20px;
    }


    #modal .pages .page .boxes .box .clm {
        margin-bottom: 30px;
    }



    #modal .pages .page .boxes .box .clm .texts .body {
        font-weight: normal;
        font-size: 15px;
        line-height: 1.5em;
        margin-top: 20px;
    }

    #modal .pages .page .boxes .box .clm .texts .body p {
        font-weight: normal;
        font-size: 15px;
        line-height: 1.5em;
        margin-bottom: 10px;
    }





    #modal .box .dish .images .read {
        font-family: "游明朝", YuMincho, "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;
        font-size: 20px;
    }



    #modal .box .dish .image {
        margin-top: 10px;
        position: relative;
        text-align: center;
    }

    #modal .box .dish .image img {
        width: 80%;
    }

    ##modal .box .dish .size {
        margin-top: 10px;
        font-weight: normal;
        font-size: 14px;
    }

    #modal .box .dish .texts .photos {
        margin-top: 20px;
        text-align: center;
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        justify-content: center;
        width: 80vw;
        margin-left: auto;
        margin-right: auto;
    }

    #modal .box .dish .texts .photo {
        margin-left: 2vw;
        margin-right: 2vw;
    }

    #modal .box .dish .texts .photo img {
        width: 100%;
    }






    #modal .box .product .name {
        font-size: 18px;
        line-height: 1.3em;
    }


    #modal .box .product .image {
        margin-top: 10px;
        position: relative;
        text-align: center;
    }

    #modal .box .product .p_sub {
        margin-top: 0 !important;
    }

    #modal .box .product .image img {
        width: 70%;
    }

    #modal .box .product .texts .link a {
        display: block;
        margin-top: 20px;
        font-weight: normal;
        font-size: 14px;
        color: #000;
        background-image: url(../img/popup/common/arrow.png);
        -webkit-background-size: 20px 20px;
        background-size: 20px 20px;
        background-repeat: no-repeat;
        background-position: left center;
        padding-left: 22px;
    }

    #modal .box .product .texts .link a:hover {
        opacity: 0.65 !important;
    }


    #modal .box .topic {
        margin-top: 50px;
        margin-bottom: 50px;
        background-color: #F9E8E8;
        border: 2px #CCCCCC solid;
        padding: 2px;
    }

    #modal .box .topic .inn {
        border: 1px #CCCCCC solid;
        padding: 10px;
    }

    #modal .box .topic .ctit {
        text-align: center;
        /*        font-weight: bold;*/
        font-size: 18px;
    }

    #modal .box .topic .body {
        margin-top: 10px;
        font-size: 14px;
    }



    #modal .links {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        justify-content: space-between;
        flex-wrap: wrap;
    }

    #modal .links li {
        width: calc(50% - 1px);
        margin-bottom: 2px;
    }

    #modal .links li a {
        display: block;
        background-color: #e8e6e6;
        padding: 10px 0;
        font-size: 20px;
        line-height: 1em;
        text-align: center;
        text-decoration: none;
        color: #000;
    }

    #modal .links li a.active {
        background-color: #ADADAD;
        color: #fff;
    }


    #modal .links li a:hover {
        opacity: 0.65;
    }

    #modal .sclose {
        margin-top: 20px;
        text-align: center;
    }

    #modal .sclose a {
        display: inline-block;
        text-decoration: none;
        color: #000;
        border-left: 1px #000 solid;
        border-right: 1px #000 solid;
        padding-left: 10px;
        padding-right: 10px;
        padding-top: 3px;
        padding-bottom: 3px;
        font-size: 16px;
    }

    #modal .sclose a:hover {
        opacity: 0.65;
    }


}