@charset "UTF-8";
/***
@import url("base-x.css?x=1");
***/
/**********************************************************************
 * File: takeaway.css
 * Date: 15th March 2020
 * Modified: 
 * Written by: KotaroW
 * Description:
 *      style for takeaway
**********************************************************************/

body {
    position: relative;
}

section {
    background: #fff;
}

section#type-selection {
    background: #eee;
}

h1 {
    color: #555;
    line-height: 1;
    letter-spacing: 0.2rem;
}

#intro span {
    display: block;
    margin: 1.5em 0;
    /*text-align: center;*/
}

#type-selection {
    min-height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

#type-selection button {
    font: inherit;
    font-size: 5vw;
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    color: #818469;
    border: solid 2px #818469;
    border-radius: 0;
    display: block;
    background: #fff;
    min-width: 320px;
    max-width: 480px;
    cursor: pointer;
    margin: 24px auto;
    padding: 16px 32px;
    transition: border-radius 500ms ease-in-out;
}

#type-selection button:hover {
    border-radius: 20px;
}

#type-selection button:last-of-type {
    color: #a00;
    border-color: #a00;
}

#takeaway-menu, #conf-contents table {
    border-collapse: collapse;
    border-width: 0;
    max-width: 40em;
}

#takeaway-menu, #conf-contents table, #your-form {
    width: 100%;
    margin: auto;
}

#your-form {
    max-width: 36em;
    padding: 0 0.5em;
    text-align: center;
    box-sizing: border-box;
}


#takeaway-menu th {
    color: #fff;
    font-size: 1.25em;
    padding: 0.25em;
    background: #491803; /***#818469;***/
}

#takeaway-menu th > span {
    display: block;
    /*** 21 Mar 2022 
    font-size: 0.8em;
    ***/
}

#takeaway-menu td, #conf-contents table td {
    font-size: 1.125em;
    padding: 0.75em 0.25em;
    border: solid 1px #ccc;
    border-width: 1px 0px;
}

#takeaway-menu input, #conf-contents table input {
    text-align: center;
}

#takeaway-menu div {
    margin: 0.25em 0.75em;
    font-size: 0.9em;
}

#takeaway-menu input, #conf-contents > table input, #conf-contents button, form input:not([type="radio"]), textarea {
    font: inherit;
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
    border: solid 1px #999;
    border-radius: 0;
    display: block;
    box-sizing: border-box;
}

#takeaway-menu div.choice {
    border: solid 2px #700;
    padding: 0.5em;
    border-radius: 5px;
    box-sizing: border-box;
}

#takeaway-menu select {
    font: inherit;
    font-size: 1.125em;
    padding: 0.25em;
    width: 100%;
    box-sizing: border-box;
}

#conf-contents > table input:disabled, #conf-contents select:disabled {
    background: #fff;
    border: none;
    color: #000;
    -webkit-text-fill-color: #000;
    opacity: 1; 
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    -o-appearance: none;
    appearance: none;
}

#conf-contents button {
    display: inline;
    font-size: 1.25em;
    padding: 0.5em 1em;
    cursor: pointer;
    margin: 0 0.5em;
    transition: color 500ms ease-in-out, background 500ms ease-in-out;
    background: #fff;
    border-width: 2px;
}

#conf-contents button:first-of-type {
    color: #818469;
    border-color: #818469;
}

#conf-contents button:last-of-type {
    color: #a00;
    border-color: #a00;
    
}

#conf-contents button:first-of-type:hover {
    color: #fff;
    background: #818469;
}

#conf-contents button:last-of-type:hover {
    color: #fff;
    background: #a00;
}

#order-table div.choice {
    margin: 0.25em 0.75em;
    font-size: 0.9em;
}

table tr:last-of-type {
    color: #fff;
    background: #3f250b;
}

form input:not([type="radio"]) {
    display: block;
    font-size: 1.25em;
    border-radius: 0;
    border-bottom: solid 1px #999;
    padding: 0.75em 0.5em;
    margin: 1em auto;
}

form > span {
    font-size: 1.125em;
}

form input[type="text"], form input[type="phone"], form input[type="email"]  {
    border-width: 0 0 1px;
    width: 75%;
    min-width: 240px;
}

form textarea {
    width: 100%;
    margin: 1.5em 0;
    padding: 0.75em;
}

form input[type="text"]:first-of-type {
    position: absolute;
    left: -1000em;
}

#subchan {
    background: #fff;
    color: #818469;
    border: solid 2px #818469;
    cursor: pointer;
    transition: color 500ms ease-in-out, background 500ms ease-in-out;
}

#subchan:hover {
    color: #fff;
    background: #818469;
}

#subchan:disabled {
    background: #999;
    cursor: not-allowed;
}

#conf-form input:disabled, #conf-form textarea:disabled {
    background: #fff;
    color: #000;
    -webkit-text-fill-color: #000;
    opacity: 1; 
}

#note-to-customers {
	max-width: 38em;
	padding: 0 1em;
	margin: 3em auto 4em;
	font-size: 1em;
	color: #333;
}

/*** experimental starts ***/

#take-exp {
    height:50vh;
    background:url(../image/IMG_5845.jpg) no-repeat center center;
    background-size:cover;
    background-attachment: fixed;
    position: relative;
}

#take-exp:before {
    content: "";
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #000;
    opacity: 0.5;
}

span.served-with {
    font-size: 0.8em;
}

#takeaway-close {
    margin-top: 0;
    
}
#takeaway-close > li:first-of-type {
    margin-bottom: 0.75rem;
}
#takeaway-close > li {
    display: flex;
}

#takeaway-close > li > span {
    display: inline-block;
    margin: 0;
    width: 80px;
}

/*** experimental ends ***/

@media screen and (min-width:1000px) {
    #type-selection button {
        font-size: 50px;
    }
}

@media screen and (max-width:480px) {
    #type-selection button {
        max-width: 280px;
        min-width: 280px;
        margin: 0.75em auto;
    }
}

