/* 予約フォーム */

/* body全体のスタイル */
body{
    width: min(100% - 2rem, 960px);
    padding: 10px;
    max-width: 960px;
    margin-inline: auto;
    background-color: #f5f5f5;
}
/* スタイル（後で削除） */
p#style:before{
    content:"PC : ";
}
/* ヘッダー */
header {
    padding: 10px 0;
    background-color: #006bee;
    color: #ffffff;
    text-align: center;
}
/* タイトル名 */
h1{
    background-color: #006bee; /* 背景色 */
    color: #FFFFF0;
}
/* 日付・時間選択画面_1 */
/* テーブ元 */
table {
    border-collapse: collapse;
    border: 1px solid black;
}
th, td {
    border: 1px solid black;
    padding: 8px;
}
.error{
    color: red;
    margin-top: 1%;
    font-size: 16px;
}
div.not{
    color: red;
}

/* ------------------------------------- */


/* 日時選択画面 */
/* 説明・注意 */
div.explanation{
    color: red;
    background-color: white;
}
/* 説明文 */
div.text{
    color: red;
}
/* タイトル */
h2{
    text-align: center;
    background: rgb(138, 229, 138);
}
/* テーブル 全体 */
table.input_1{
    text-align: center;
    width: 100%;
}
/* 日付 */
th{
    background-color: gainsboro;
}
/* 時間 */
td.time{
    background-color: gainsboro;
}
/* 進む ボタン */
input.submit_input{
    color: white;
    background-color: #006bee;
    border: 1px solid #006bee;
    width: 80px;
    height: 40px;
    border-radius: 30px;
    font-size: 18px;
}

/* ------------------------------------- */

/* 入力画面 */
/* テーブル 全体 */
table.input_2{
    border-collapse:collapse;
    text-align:center;
    width: 100%;
    height: 40%;
    font-size: 21px;
}
/* テーブルタイトル */
th.input_2{
    padding: 0.5px 0px; /* 余白 上下 | 左右 */
    width: 30%; /* サイズ */
    background: #DCDCDC;
    border: 1px solid black;
    box-sizing:border-box;
    font-size: 21px;
}
/* テーブルデータ */
/* 予約日・時間 */
td.input_2-1{
    padding: 16px 0px; /* 余白 上下 | 左右 */
    width: 70%;
    border: 1px solid black;
    box-sizing:border-box;
    font-size: 20px;
    
}
/* 名前 フィールド */
input#fullname{
    width: 350px;
    height: 30px;
    font-size: 16px;
    text-align: center;
}
/* 電話番号 フィールド */
input#tel{
    width: 350px;
    height: 30px;
    font-size: 16px;
    text-align: center;
}
/* メールアドレス フィールド */
input#email{
    width: 350px;
    height: 30px;
    font-size: 16px;
    text-align: center;
}

/* 日付/時間を選びなおす */
.date_time_button{
    color: white;
    background-color: #006bee;
    border: #006bee;
    margin-top: 1%;
    margin-bottom: 1%;
    width: 20%;
    height: 5%;
    border-radius: 30px;
    transition: .3s;
}
/* 確認画面に進む */
.confirm_button{
    color: white;
    background-color: red;
    border: red;
    margin-top: 1%;
    margin-bottom: 1%;
    width: 20%;
    height: 5%;
    border-radius: 30px;
}

/* 確認画面 */
/* テーブル全体 */
table.input_3{
    border-collapse:collapse;
    text-align:center;
    width: 100%;
    height: 40%;
    font-size: 21px;
}
/* テーブルタイトル */
th.input_3{
    padding: 0.5px 0px; /* 余白 上下 | 左右 */
    width: 30%; /* サイズ */
    background: #DCDCDC;
    border: 1px solid black;
    box-sizing:border-box;
    font-size: 21px;
}
/* テーブルデータ */
/* 予約日・時間 */
td.input_3-1{
    padding: 16px 0px; /* 余白 上下 | 左右 */
    width: 70%;
    border: 1px solid black;
    box-sizing:border-box;
    font-size: 20px;
}

/* 入力画面に戻る */
.input_back{
    color: white;
    background-color: blue;
    border: blue;
    margin-top: 1%;
    margin-bottom: 1%;
    width: 20%;
    height: 5%;

    border-radius: 30px;
}
/* 日付/時間を選びなおす */
.date_time_back{
    color: white;
    background-color: green;
    border: green;
    margin-top: 1%;
    margin-bottom: 1%;
    width: 20%;
    height: 5%;
    border-radius: 30px;
}
/* 予約する */
.send{
    color: white;
    background-color: red;
    border: red;
    margin-top: 1%;
    margin-bottom: 1%;
    width: 20%;
    height: 5%;
    border-radius: 30px;
}
input .send{
    text-align: center;
}

.gif img{
    margin-top: -50px;
    margin-left: 75px;
    width: 40px;
    height: 40px;
    display: none;
}
/* レスポンシブ対応（画面幅が600px以下の場合） */
/* メディアクエリ */
@media screen and (max-width: 768px) {
/* 768px以下の画面幅に対するスタイル */
header {
    padding: 10px 0;
    background-color: #2c7774;
    color: #ffffff;
    margin-inline: auto;
}
p#style:before{
    content:"タブレット : ";
}
}

/* 別のメディアクエリ */
@media screen and (max-width: 480px) {
/* 480px以下の画面幅に対するスタイル */
    header {
        padding: 10px 0;
        background-color: #26d0c9;
        color: #ffffff;
        margin-inline: auto;
    }
    /* スタイル（後で削除） */
    p#style:before{
        content:"スマホ : ";
    }

    table.input_1{
        font-size: 16px;
        box-sizing:border-box;
    }
    th{
        padding: 5px;
        font-size: 11px;
        box-sizing:border-box;
    }
    td{
        padding: 5px;
        font-size: 11px;
        box-sizing:border-box;
    }
    div.not{
        font-size: 11px;
        box-sizing:border-box;
    }


    table{
        text-align:center;
    }
    th.input_2{
        display: block;
        font-size: 16px;
        padding: 0.5px 1px; /* 余白 上下 | 左右 */
        width: 100%; /* サイズ */
        background: #DCDCDC;
        border: 1px solid black;
    }
    td.input_2-1{
        display: block;
        font-size: 16px;
        padding: 16px 1px; /* 余白 上下 | 左右 */
        width: 100%;
        border: 1px solid black; /*枠線の太さ | 枠線の色*/
    }
    input.date_time_button{
        color: white;
        background-color: #006bee;
        border: #006bee;
        margin-top: 1%;
        margin-bottom: 3%;
        width: 50%;
        height: 4%;
        border-radius: 30px;
    }
    input.confirm_button{
        color: white;
        background-color: red;
        border: red;
        margin-top: 3%;
        margin-bottom: 1%;
        width: 50%;
        height: 4%;
        border-radius: 30px;
    }

    /* 確認画面_3 */
    table{
        text-align:center;
    }
    th.input_3{
        display: block;
        font-size: 16px;
        padding: 0.5px 1px; /* 余白 上下 | 左右 */
        width: 100%; /* サイズ */
        background: #DCDCDC;
        border: 1px solid black;
    }
    td.input_3-1{
        display: block;
        font-size: 16px;
        padding: 16px 1px; /* 余白 上下 | 左右 */
        width: 100%;
        border: 1px solid black; /*枠線の太さ | 枠線の色*/
    }
    
    /* 入力画面に戻る */
    .input_back{
        color: white;
        background-color: blue;
        border: blue;
        margin-top: 1%;
        margin-bottom: 3%;
        width: 50%;
        height: 5%;
        border-radius: 30px;
    }
    /* 日付/時間を選びなおす */
    .date_time_back{
        color: white;
        background-color: green;
        border: green;
        margin-top: 3%;
        margin-bottom: 3%;
        width: 50%;
        height: 5%;
        border-radius: 30px;
    }
    /* 予約する */
    .send{
        color: white;
        background-color: red;
        border: red;
        margin-top: 3%;
        margin-bottom: 1%;
        width: 50%;
        height: 5%;
        border-radius: 30px;
    }
    div.send{
        text-align: center;
    }
    
}