@charset 'utf-8';

/* ============================
   サンロフトカフェメニュー画面 20180116
/* ============================ */


/*共通*/

@font-face {
    font-weight: 500;
    font-family: YuGothicM;
    src: local(Yu Gothic Medium), local(Yu Gothic);
}

* {
    box-sizing: border-box;
}

a:hover,
a:focus {
    filter: brightness(70%);
}

body,
html {
    margin: 0;
    padding: 0;
    height: 100%;
}

body {
    background: url(img/bg_00.jpg);
    background-attachment: fixed;
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    font-size: 1em;
    font-family: '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック体', YuGothic, 'YuGothicM', 'ヒラギノ角ゴ ProN', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    line-height: 1.75em;
}

img {
    max-width: 100%;
}

#main {
    position: relative;
    padding: 20px;
    padding-bottom: 120px;
    min-height: 100%;
    width: 100%;
    height: auto !important;
    height: 100%;
}

footer {
    position: fixed;
    bottom: 0;
    display: flex;
    padding: 20px;
    width: 100%;
    height: 120px;
    align-items: center;
    justify-content: space-between;
}

.btn_back {
    max-width: 25%;
}

.logo {
    position: absolute;
    top: 0px;
    right: 0px;
    bottom: 0px;
    left: 0px;
    margin: auto auto;
    max-width: 20%;
}

.brite_text {
    max-width: 35%;
}


/*インデックス*/

.index_title {
    display: block;
    margin: 0 auto;
}

.index_box {
    float: left;
    text-align: center;
    margin: 0 auto;
    padding: 40px 50px 0 50px;
}

.index_box > a {
    float: left;
    width: 33.3%;
}

.index_box > a > img {
    padding: 35px;
}


.index_box_submenu {
    float: left;
    width: 45.5%;
    text-align: center;
    padding-top: 10px;
    margin-right: 15px;
}

.index_box_submenu > a {
    position: relative;
}


.index_box_submenu span.submenu_span {
    position: absolute;
    top: -67px;
    right: 32px;
    font-size: 20pt;
    font-weight: bold;
}

/*メニュー*/

.menu_box {
    position: absolute;
    top: 45%;
    left: 50%;
    padding: 20px;
    width: 100%;
    text-align: center;
    transform: translate(-50%, -50%);
    display: flex;
}

.menu_list{
    list-style: none;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
}
.menu_list li a{
    width: 200px;
    height: 200px;
    background: url(img/bg_black.jpg);
    margin: 10px;
    display: block;
    color: #fff;
    text-decoration: none;
    font-size: 1.5em;
    font-weight: bold;
    padding: 1em;
}

.menu_list li{
    position: relative;
}
.menu_list .brite{
    position: absolute;
    right: 10px;
    top: 10px;
}
/*購入*/

.buy_box {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 20px;
    width: 100%;
    text-align: center;
    transform: translate(-50%, -50%);
}

.buy_box video {
    display: block;
    margin: 0 auto;
    width: 70%;
}

.buy_box p {
    display: inline-block;
    padding: 10px 1em;
    background: #111;
    color: #fff;
    text-align: center;
    font-size: 1.2em;
}


/*サンクス*/

.thanks_box {
    position: absolute;
    top: 50%;
    left: 50%;
    padding: 20px;
    width: 100%;
    text-align: center;
    transform: translate(-50%, -50%);
}

.thanks_box p {
    display: inline-block;
    padding: 1em;
    background: #111;
    color: #fff;
    text-align: left;
    font-size: 1.5em;
}

.thanks_box span {
    margin: 0 0.25em;
    font-weight: bold;
}

.thanks_box span.point {
    font-size: 2em;
}

a {
    text-decoration: none;
    color: #111;
}

div#confirm-box p {
    line-height: 2.0;
}

div#confirm-view span {
    display: inline-block;
}

div#confirm-view span.label {
    width: 120px;
    text-align: left;
}

div#confirm-view span.value {
    width: 250px;
    text-align: left;
}

div#confirm-view span.value-quantity {
    width: 105px;
    text-align: left;
}

div#confirm-view span.value-num {
    width: 48px;
    height: 48px;
    text-align: center;
    border: solid 3px #fff;
}

#confirm-error {
    color: #ff0000;
    font-weight: bold;
}

a.a_menu_img span {
    position: relative;
    top: -120px;
    font-size: 24pt;
    font-weight: bold;
}

/* modal-popup start */
button#modal-open {
    top: 20px;
    right: 20px;
    position: absolute;
    width: auto;
    padding: 0;
    margin: 0;
    background: none;
    border: 0;
}

#modal-layer {
    display: none;
    position: absolute; 
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-color: rgb(29, 29, 29);
    opacity: 0.20;
}
#modal-popup {
    display: none;
    position: absolute; 
    left: 50%;
    top: 50%;
    width: 400px;
    height: 250px;
    margin-left: -200px;
    margin-top: -125px;
    background-color: #fff;
    border-radius: 5px;
    text-align: center;
    padding: 30px;
    font-size: 14pt;
}

#modal-popup select {
    width: 200px;
    height: 40px;
}

#modal-popup button {
    width: 150px;
    height: 40px;
}

#modal-popup div.modal-popup-title {
    font-size: 16pt;
}

#modal-popup span.modal-popup-formlabel {
    display: inline-block;
    width: 100px;
}
/* modal-popup end */

/* network-state start */
div#networkstate-div {
    bottom: 5px;
    left: 10px;
    position: absolute;
    padding: 0;
    margin: 0;
    background: none;
    border: 0;
}
div#networkstate-div span.networkstate-ok {
    color: #00f;
}
div#networkstate-div span.networkstate-ng {
    color: #f00;
}
/* network-state end */