@charset "utf-8";
@import url('https://fonts.googleapis.com/css?family=Lato:400,900');

/*BEFORE OPEN*/

.beforeOpenWrpper {
    position: fixed;
    width: 80%;
    height: 50vh;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: 50px auto;
    background-color: white;
    border: #eab1b1 13px solid;
    z-index: 20;
}
.beforeOpenInner {
}
.beforeOpenWrpper p {
    font-size: 20px;
    width: 80%;
    letter-spacing: 4px;
    position: absolute;
    margin: auto;
    top: calc(20vw / 3 + 100px);
    left: 0;
    right: 0;
}
/*BEFORE OPEN END*/

span.strong {
  font-weight: bold;
    color: #de5d50;
}
span.moreAdd {
    color: #da9816;
    font-size: 13px;
    margin-top: 10px;
    letter-spacing: 1px;
    text-decoration: underline;
    display: block;
}
#header {
    padding-bottom: 10px;
}
.header_logo_area {
    width: 50%;
    margin: 50px auto;
}
.header_logo_area a {
    display: block;
}
ul.member_link img {
    width: 26px;
    margin-right: 5px;
    margin-bottom: 4px;
    margin-left: 3px;
}
#contents_bottom .img img {
    width: 90%;
}
#page_homepage div#item_list {
    margin: 0px -8px;
}

#item_list .photo {
    width: 100%;
    position: relative;
    z-index: -1;
    padding-bottom: 50% !important;
    background: url(https://moonfoodjapan.com/img/shop.jpg);
    background-size: cover;
    background-position: top center;
}
#item_list .words {
    width:100%;
    text-align:center;
    padding-bottom: 100% !important;
    background: #fff;
}
#item_list .words {
    position: relative;
}
/*
#item_list .words:before {
    background: #fff;
    content: " ";
    display: block;
    position: absolute;
    top: -7vw;
    width: 15vw;
    height: 15vw;
    left: 0;
    right: 0;
    margin: 0 auto;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
*/
.words-container {
    width: 80%;
    margin: 0;
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
    padding: 20px;
}
.words h5 {
    font-size: 4.2vw;
    letter-spacing: 1.5vw;
    margin: 0;
    padding: 20px 0;
}
.words p {
    font-size: 3vw;
    line-height: 8vw;
}

ul.category-nav li a span {
    font-size: 12px;
    color: #8c8c8c;
    display: inline-block;
    top: 0;
    bottom: 0;
    position: absolute;
    margin-left: 10px;
}
span.veganDisc {
    margin-top: 20px;
    display: block;
    font-size: 12px;
    letter-spacing: 3px;
    text-decoration: underline;
}
.ingWrapper {
    margin-top: 30px;
}
.ingButton {
    background: #79d479;
    text-align: center;
    height: 56px;
    line-height: 56px;
    color: #fff;
    letter-spacing: 3px;
    width: 70%;
    margin: 0 auto;
    cursor: pointer;
/*    -webkit-transition: 0.3s ease-in-out;
        -moz-transition: 0.3s ease-in-out;
        -o-transition: 0.3s ease-in-out;
        transition: 0.3s ease-in-out;*/
}
.ingButton:hover {
    background: #6bc16b;

}
.ingredients {
    margin: 0 auto;
    width: 70%;
    background: #fff;
    border: #79d479 7px solid;
    color: #000;
    font-size: 16px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
}
.ingredientsInner {
    width: 80%;
    margin: 0 auto;
}
.closeBtn {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 50px;
    height: 50px;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
    border: #464646 5px solid;
    background: #fff;
    cursor: pointer;
}
.closeBtn span {
    width: 25px;
    height: 5px;
    display: inline-block;
    color: #464646;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    background: #464646;
    -ms-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
}
.closeBtn span:before {
    content: "";
    width: 25px;
    height: 5px;
    display: inline-block;
    color: #464646;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    background: #464646;
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
}
span.ingDisc {
    font-size: 14px;
}
.milk {
    display: none;
    position: fixed;
    top: 38px;
    right: 5%;
    height: 100px;
    line-height: 92px;
    width: 100px;
    background-color: #eadb93;
    text-align: center;
    font-size: 30px;
    letter-spacing: 5px;
    padding-left: 10px;
    font-weight: bold;
    color: #ffffff;
    -moz-border-radius: 50%;
    -webkit-border-radius: 50%;
    border-radius: 50%;
}
.milk span {
    font-size: 12px;
    position: absolute;
    top: 25px;
    right: 0;
    left: 0;
    margin: 0 auto;
    font-weight: 500;
    color: #737373;
    display: block;
    padding-left: 10px;
}
footer .sns a {
    display: inline-block;
    margin: 20px;
}
footer .sns a:hover img {
    opacity: 0.7;
}
footer .sns {
    width: 100%;
    margin: 0 auto;
    text-align: center;
    min-width: 205px;
}
footer .sns img {
    width: 60px;
}
dd#cart_item_list__class_category {
    margin: 0 0 10px 0;
    line-height: 14px;
    font-size: 14px;
}
.giftBoxBtn {
    width: 100%;
    height: 56px;
    line-height: 56px;
    margin: 20px auto;
    text-align: center;
    background-color: #7ab1f5;
    color: #fff;
    letter-spacing: 3px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
}
.giftBoxBtn:hover {
    background-color: #6a9cda;
}
.chooseFlavours {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 90%;
    margin: 0 auto;
    background: white;
    border: #7ab1f5 10px solid;
    z-index: 3;
    display: none;
}
p.flavourCountText {
    color: #525252;
    text-align: center;
    font-weight: bold;
}
span.flavourCount {
    color: #d07577;
    font-size: 30px;
    margin: 0 10px;
}
.flavourRow {
    width: 90%;
    margin: 20px auto;
    position: relative;
    text-align: left;
    height: 80px;
    clear: both;
}
.flavourRowInner {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%,-50%);
    width: 100%;
}
.flavourRow img {
    width: 15%;
}
span.productName {
    color: #525252;
    width: 40%;
    line-height: 15px;
    font-size: 12px;
    vertical-align: middle;
    display: inline-block;
    margin-left: 5%;
    font-weight: bold;
}
#page_product_detail #main .productName span.nameJP {
    font-size: 12px;
}
.counterWrapper {
    width: 30%;
    float: right;
    text-align: center;
    display: inline-block;
    line-height: initial;
    min-width: 100px;
    cursor: pointer;
}
span.counter {
    color: #a2a2a2;
    font-size: 25px;
    margin: 0;
    display: block;
    line-height: initial;
    font-weight: bold;
}
.colored {
    color: #ef7e17 !important;
}
.btnCounterWrapper {
    width: 40px;
    height: 40px;
    display: inline-block;
    position: relative;
    border: #bdbdbd 3px solid;
    border-radius: 50%;
    margin: 0 5%;
    background: #e8e8e8;
}
.btnCounter {
}
.counterWrapper svg.cb {
    fill: #1f1f1f;
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto;
}
.submitFlavour {
    width: 50%;
    height: 56px;
    line-height: 56px;
    margin: 30px auto;
    text-align: center;
    font-weight: bold;
    letter-spacing: 3px;
    background: #ea829a;
    color: white;
    cursor: pointer;
    display: none;
}
.flavourResWrapper {
    margin: 30px auto;
    text-align: center;
    border: #b3b3b3 8px solid;
}
.flavourResWrapper h4 {
    margin: 0;
    background: #b3b3b3;
    width: 100%;
    padding: 10px 0 18px 0;
    color: white;
    letter-spacing: 7px;
}
.flavourRes {
    font-size: 12px;
    letter-spacing: 2px;
    color: #636363;
    font-weight: bold;
    padding: 10px 5px;
    line-height: 26px;
}
span.flavours {
    font-size: 10px;
    display: block;
    letter-spacing: 1.7px;
    margin-top: 5px;
}
span.nameJP {
    display: block;
    font-size: 12px;
    color: #7b7b7b;
    letter-spacing: 2px;
}
span.containts {
    color: #464646;
    font-size: 12px;
    display: block;
}
#page_product_detail #main span.nameJP {
    font-size: 16px;
}
#page_product_detail #main span.containts {
    font-size: 16px;
    margin-top: 10px;
    margin-bottom: 10px;
}
p#detail_not_stock_box__description_detail {
    line-height: 25px;
    letter-spacing: 1.7px;
}
div#main_top {
    margin: 20px 0;
}
.giftbarner {
    width: 90%;
    margin: 0 auto;
    z-index: 100;
}
.giftbarnerInner {
    margin: 0 auto;
}

.shippingCaution {
    border: #d08282 9px solid;
    width: 90%;
    margin: 20px auto;
    z-index: 100;
}
.shippingCautionInner {
    width: 90%;
    margin: 0 auto;
}
.shippingCaution h4 {
    font-size: 16px;
    letter-spacing: 3px;
    color: #bf7575;;
}
.shippingCaution p {
    font-size: 13px;
    line-height: 25px;
    letter-spacing: 1.5px;
}
.shippingCaution p span {
    display: block;
    font-size: 12px;
    margin-top: 5px;
    letter-spacing: 2px;
    font-weight: bold;
    color: #797979;
    text-align: right;
}
span.plusForShipping {
    color: #777;
    font-size: 16px;
}
span.shipping {
    font-size: 14px;
    color: white;
    background: #5aa3ff;
    display: inline-block;
    width: 50px;
    height: 26px;
    line-height: 26px;
    text-align: center;
    border-radius: 13px;
    vertical-align: middle;
    cursor: pointer;
}
span.shipping:hover {
	background: #87b9f9;
}
.shippingCost {
    margin: 0 auto;
    width: 90%;
    background: #fff;
    border: #5aa3ff 7px solid;
    color: #464646;
    font-size: 16px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1;
    display: none;
}
.shippingCostInner {
    width: 80%;
    margin: 0 auto 20px auto;
    letter-spacing: 2px;
}
.shippingCost h4 {
    text-align: center;
    font-size: 18px;
    margin: 20px;
}
span.oneAdd {
    text-align: center;
    display: block;
    margin-top: 20px;
}
span.overSix {
    color: #f54949;
    font-size: 20px;
    display: block;
    text-align: center;
}
span.shippingFree {
    color: #f54949;
    font-weight: bold;
    font-size: 55px;
    display: block;
    text-align: center;
}
span.exception {
    color: #777;
    font-size: 14px;
    text-align: right;
    display: block;
}

.giftCardBtn {
    width: 100%;
    height: 56px;
    line-height: 56px;
    margin: 20px auto;
    text-align: center;
    background-color: #7ab1f5;
    color: #fff;
    letter-spacing: 3px;
    font-weight: bold;
    cursor: pointer;
    z-index: 2;
}
.giftCardBtn:hover {
    background-color: #6a9cda;
}
.cardMessage {
    position: fixed;
    top: 600px;
    left: 0;
    right: 0;
    width: 90%;
    margin: 0 auto;
    background: white;
    border: #7ab1f5 10px solid;
    z-index: 3;
    display: none;
}
.messageInner {
    width: 90%;
    margin: 0 auto;
    padding: 20px 0;

}
.messageInner p {
    text-align: center;
    padding-bottom: 20px;

}
.messageInner label {
    display: block;
    font-size: 4vw;
    margin: 20px 0;
}
.messageInner textarea#message{
    height:200px;
}

.messageInner textarea#message, .messageInner input {
    width: 100%;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    border-radius: 4px;
    outline: 0;
    padding: 7px;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    color: #3c3c3c;
    -webkit-box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset;
    box-shadow: 0 1px 0 rgba(0,0,0,0.03) inset;
}
.messageInner textarea#message:focus, .messageInner input:focus{
    background: #d2d9dd;
}
.submitMessage {
    width: 50%;
    height: 56px;
    line-height: 56px;
    margin: 30px auto;
    text-align: center;
    font-weight: bold;
    letter-spacing: 3px;
    background: #ea829a;
    color: white;
    cursor: pointer;
    display: none;
}
textarea.nonValid , input.nonValid {
    border: #EAB6B6 4px solid !important;
}
textarea.valid, input.valid {
    border: #b4eaa3 4px solid !important;
}
span.validation {
    color: #ff7777;
    font-size: 3vw;
}
.cardResWrapper {
    margin: 30px auto 6px auto;
    text-align: center;
    border: #b3b3b3 8px solid;
}
.cardResWrapper h4 {
    margin: 0;
    background: #b3b3b3;
    width: 100%;
    padding: 10px 0 18px 0;
    color: white;
    letter-spacing: 7px;
}
.cardRes {
    font-size: 14px;
    letter-spacing: 2px;
    color: #292929;
    padding: 5px 5px;
    position: relative;
}
.cardRes p.title{
    font-size: 2.5vw;
    font-weight: bold;
    position: absolute;
    top: 10%;
    left: 0;
    right: 0;
}
.cardRes p.message {
    text-align: left;
    font-size: 2.3vw;
    position: absolute;
    width: 80%;
    top: 19%;
    left: 10%;
}
.cardRes p.name {
    text-align: right;
    padding: 5px 0;
    font-size: 2.3vw;
    position: absolute;
    right: 10%;
    bottom: 10%;
}
.cardRes {
    background-image: url(https://moonfoodjapan.com/img/messageBackground.jpg);
    background-size: contain;
    background-repeat: no-repeat;
}
#messageCardBtn span {
    display: block;
    font-size: 12px;
    color: #333;
    letter-spacing: 1px;
}
span.messageWarning {
    font-size: 12px;
}

@media only screen and (max-width: 765px){
    footer .sns img {
        width: 50px;
    }
    footer .sns a {
        margin: 10px;
    }


}

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

    /*----------- header -----------*/

    .header_logo_area {
        width: 30%;
        margin: 50px auto 30px auto;
    }
    ul.category-nav li a span.underbar {
      position: absolute;
      width: 100%;
      height: 1px;
      bottom: 10px;
      left: 0;
      top: initial;
      background-color: #8a8a8a;
      -webkit-transform: scaleX(0);
      transform: scaleX(0);
      -webkit-transition: .3s ease-in-out;
      transition: .3s ease-in-out;
    }
    ul.category-nav li a:hover span.underbar {
      -webkit-transform: scaleX(1) !important;
      transform: scaleX(1) !important;
    }

    #page_homepage div#item_list {
        margin: 0px -16px;
    }

    #item_list .photo {
        width: 50%;
        float: left;
        padding-bottom: 50% !important;
    }
    #item_list .photo:after {
        content: " ";
        background: #fff;
        display: block;
        position: absolute;
        z-index: 0;
        top: 20vw;
        width: 10vw;
        height: 10vw;
        right: -5vw;
        -ms-transform: rotate(45deg); /* IE 9 */
        -webkit-transform: rotate(45deg); /* Chrome, Safari, Opera */
        transform: rotate(45deg);
    }
    #item_list .words {
        width: 50%;
        float: right;
        padding-bottom: 50% !important;
    }
    .words-container {
    }
    .words h5 {
      font-size: 18px;
      letter-spacing: 10px;
    }
    .words p {
      font-size: 1.8vw;
    line-height: 4vw;
    }
    ul.category-nav li a span {
        position: relative;
        margin-left: 0px;
        display: block;
        line-height: normal;
    }
    .ingButton {
        width: 64%;
    }
    .milk {
        right: 0;
        left: 5%;
    }
    .giftBoxBtn {
        width: 64%;
    }
    .chooseFlavours {
        top: 45px;
        left: calc(-40vw);
        right: initial;
        width: 80vw;
    }
    .cardMessage {
        top: 200px;
    }
    span.productName {
        width: 50%;
        line-height: 22px;
        font-size: 14px;
        letter-spacing: 2px;
    }
    .flavourRow {
        height: 100px;
    }
    .flavourRow img {
        width: 80px;
    }
    .shippingCaution h4 {
    	text-align: center;
	}
    .giftCardBtn {
        width: 64%;
    }
    .field {
        border-top: #d8d8d8 1px solid;
    }
    .messageInner label {
        font-size: 2vw;
        float: left;
        width: 30%;
    }

    .messageInner textarea#message, .messageInner input {
        width: 70%;
        margin: 20px 0;
        font-size: 2vw;
    }
    span.validation {
        margin-top: -22px;
        float: right;
        color: #ff7777;
        font-size: 15px;
    }
    .cardRes p.title{
        font-size: 1.3vw;
    }
    .cardRes p.message {
        font-size: 1.2vw;
    }
    .cardRes p.name {
        font-size: 1.2vw;
    }
    .giftbarner {
        width: 60%;
    }


}
@media screen and (min-width:1000px) {
    .cardMessage {
        width: 866px;
    }
    .messageInner label {
        font-size: 16px;
    }
    .messageInner textarea#message, .messageInner input {
        font-size: 16px;
    }
}

@media screen and (min-width:1118px) {

    #item_list .photo {
        padding-bottom: 0;
        height: 500px;
    }
    #item_list .words {
        height: 500px;
    }
    #item_list h5 {
        font-size: 18px;
        letter-spacing: 10px;
    }
    #item_list p {
        font-size: 17px;
        line-height: 47px;
    }
    #item_list .photo:after {
        top: 200px;
        width: 90px;
        height: 90px;
        right: -50px;
    }
    .milk {
        right: 0;
        left: calc((100vw - 1118px)/2);
        font-size: 41px;
        height: 130px;
        line-height: 116px;
        width: 130px;
    }
    .milk span {
    font-size: 15px;
    top: 29px;
    }
    .chooseFlavours {
        left: -70%;
        width: 150%;
    }
    .cardRes p.title{
        font-size: 18px;
    }
    .cardRes p.message {
        font-size: 16px;
    }
    .cardRes p.name {
        font-size: 16px;
    }

}
