@charset "utf-8";

/* =================================================
	Common
================================================= */

/*ページ全体の構成*/

* {
    box-sizing: border-box;
}

body,
p,
table,
blockquote,
address,
pre,
iframe,
form,
figure,
dl,
dd,
dt,
h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0;
}

ul,
ol {
    margin: 0;
    padding: 0;
    list-style: none;
}

img {
    border-style: none;
}

html {
    line-height: 1.4;
    font-size: 62.5%;
}

body {
    background-color: #F2F2F2;
    color: #333;
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
    font-size:1.6rem;
}

body > div {
    padding: 40px 15px 20px;
}

/* リンク */

a,
a:link,
a:visited {
    color: #2490D4;
    text-decoration: underline;
}

a:hover,
a:active {
    color: #1C72A8;
    text-decoration: none;
}

/* 入力欄設定 */

input[type="submit"],
input[type="button"] {
    border-radius: 0;
    -webkit-box-sizing: content-box;
    -webkit-appearance: button;
    appearance: button;
    border: none;
    box-sizing: border-box;
    cursor: pointer;
}

button {
    background-color: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
}

textarea {
    font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

select {
    padding: 10px 23px 10px 10px;
    border: 1px solid #D1D1D1;
    background-color: #FFF;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 5px;
    background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%229.48%22%20height%3D%226.606%22%20viewBox%3D%220%200%209.48%206.606%22%3E%3Cpolygon%20points%3D%224.74%206.606%202.37%203.303%200%200%204.74%200%209.48%200%207.11%203.303%204.74%206.606%22%2F%3E%3C%2Fsvg%3E');
    background-repeat: no-repeat;
    background-position: center right 8px;
    font-size: 1.6rem;
    color: #333;
    max-width:100%;
}
table select{
    overflow:hidden;
}
input[type="text"],
input[type="email"],
input[type="url"],
input[type="number"],
input[type="date"],
input[type="tel"],
input[type="password"],
textarea {
    padding: 10px 10px 10px 10px;
    border: 1px solid #D1D1D1;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 5px;
    font-size: 1.6rem;
    color: #333;
}

input[type="radio"],
input[type="checkbox"] {
    margin: 10px 5px 20px 10px;
}

/* ボタンデザイン */

.td-submit .form-button,
.td-item-comment .btn,
#id_beginpayment input[type="submit"] {
    background-color: #2490d4;
    color:#fff;
    font-weight: bold;
    border-radius: 100px;
}

.td-submit .form-button:hover,
.td-item-comment .btn:hover,
#id_beginpayment input[type="submit"]:hover {
    background-color: #1C72A8;
}

/* =================================================
	contents
================================================= */
.table-main,
.table-main > tbody,
.table-main > tbody > tr,
.table-main > tbody > tr > td{
    display: block;
}

table.table-main table{
    width: 100%;
}

.table-main {
    margin-bottom: 50px;
    padding: 45px 30px;
    min-height: calc(100vh - 160px);
    background-color: #FFF;
    border-radius: 20px;
    box-shadow: 0px 0px 18px 2px rgba(0, 0, 0, 0.06);
    width: 100%;
    text-align: left;
}

.table-main > tbody {
    vertical-align:top;
}

.table-title {
    margin-bottom: 20px;
    width: 100%;
}

.table-submit {
    width: 100%;
}

.td-title {
    padding: 15px 15px 14px;
    font-size: 2.4rem;
    line-height: 1.4;
    font-weight: bold;
    text-align: center;
    position: relative;
    background-color: #DAEDF9;
    border-radius: 11px;
}

.table-message{
    margin-bottom: 15px;
}

.td-error {
    margin: 10px 0 30px;
    padding: 12px 20px 10px;
    border-radius: 11px;
    background-color: #FBE3EA;
    text-align: center;
    font-weight: bold;
    color: #E70000;
    width: 100%;
    display: block;
}

/* =================================================
    注文フォーム
================================================= */

.table-order {
    margin-bottom: 50px;
    padding: 25px 17px;
    border: 3px solid #DAEDF9;
    border-spacing: 0;
    background-color: #FFF;
    border-radius: 11px;
    width: 100%;
}

.table-order td {
    white-space: normal;
}

.table-order tr:first-child .td-order-message {
    padding-bottom: 15px;
}

.table-order tr:not(:first-child) .td-order-message {
    padding-top: 40px;
}

.table-order select {
    display: block;
}

td.td-order-title {
    background-color: #2490d4;
    color: #fff;
    padding: 7px 8px 5px;
    font-weight: bold;
    font-size: 1.5rem;
    text-align: center;
}

.td-order-comment01,
.td-order-comment02,
.td-order-comment03,
.td-order-comment04 {
    padding: 13px 10px;
}

.table-order tr.tr-order-product-list {
    background-color: #fff;
}

.table-order tr:nth-child(even).tr-order-product-list {
    background-color: #F6F5F7;
}

.td-order-comment01 {
    width: 59%;
}

.td-order-comment01 select {
    margin-top: 5px;
    min-width: 100px;
    width: 100%;
}

.td-order-comment02 {
    text-align: right;
    width: 18%;
}

.td-order-comment03 {
    padding: 13px 0 13px 13px;
}

.td-order-comment03 select {
    width: 100%;
}

.td-order-comment04 {
    padding: 13px 10px 13px 5px;
    font-size: 1.3rem;
    width: 10%;
}

.td-order-comment05 {
    padding-top: 35px;
    font-weight: bold;
}

.td-order-comment05 select {
    width:100%;
    max-width: 100%;
    min-width: 200px;
}

/* 確認画面 */

.td-order-comment05 u {
    width: 100%;
    display: block;
    text-align: right;
    color: #E70000;
    font-size: 1.8rem;
}

/* =================================================
    通常フォーム
================================================= */

.table-item,
.table-item tbody,
.table-item tr,
.table-item td{
    display: block;
}

.td-item-title {
    margin-bottom: 1px;
    font-weight: bold;
}

.td-item-comment {
    padding-bottom: 35px;
}

.form-textline02:nth-child(1) {
    margin-right: 20px;
}

.table-item font b {
    margin-left: 5px;
    display: inline-block;
    background-color: #E43C6E;
    color: #fff;
    font-weight: bold;
    position: relative;
    width: 4rem;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    font-size: 1.3rem;
}

.table-item font b:after {
    display: inline-block;
    font-weight: bold;
    font-size: 1.3rem;
    content: "必須";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    left: 0;
    text-indent: 0;
    text-align: center;
}

.table-item input,
.table-item select,
.table-item textarea {
    margin-bottom: 5px;
}

.table-item select {
    max-width:calc(100% - 55px);
    min-width: 100px;
}

.form-textline01 {
    min-width: 200px;
}

.form-textline03 {
    width: calc(100% - 55px);
}

.form-textline04 {
    width: 100%;
    max-width: 80px;
    margin-right: 5px;
    margin-left: 5px;
}

.form-textline {
    width: calc(100% - 55px);
}

select[name="age"],
select[name="birth_y"] {
    margin-right: 10px;
}

select[name="birth_m"],
select[name="birth_d"] {
    margin-right: 10px;
    margin-left: 10px;
    min-width: 70px;
}

.td-item-comment .btn {
    display: inline-block;
    margin-right: 5px;
    margin-left: 5px;
    margin-bottom: 5px;
    padding: 11px 15px;
    line-height: 1.2;
    font-size: 1.3rem;
}

input[name="gender"]:nth-child(2) {
    margin-left: 50px;
}

.form-textbox {
    width: calc(100% - 55px);
}

.table-item input.form-upfile {
    margin-bottom: 10px;
    display: block;
}

.td-submit {
    text-align: center;
}

.td-submit .form-button {
    margin: 5px 15px;
    padding: 22px 20px;
    font-size: 2rem;
    width: 100%;
    max-width: 265px;
}

/* 確認画面 */

.td-submit input[name="return"] {
    margin: 5px 15px;
    padding: 18px 20px;
    border: 1px solid #2490D4;
    background-color: #FFF;
    color: #333;
    max-width: 180px;
    font-size: 1.7rem;
}

.td-submit input[name="return"]:hover {
    background-color: #F6F5F7;
    border: 1px solid #1C72A8;
}

/* =================================================
    送信完了ページ
================================================= */

.payment_incomplete,
.payment_begin {
    display: block;
}

#id_beginpayment{
	text-align: center;
}

#id_beginpayment input[type="submit"] {
    padding: 10px 30px;
    font-size:1.8rem;
}

@media (max-width: 767px){ 
    body > div {
        padding-top:20px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .table-main,
    .table-main > tbody,
    .table-main > tbody > tr,
    .table-main > tbody > tr > td{
        display: block;
    }
    select{
        max-width:100%;
    }
    .td-order-comment05 select{
        width:100%;
    }
    .table-main {
        padding: 10px 10px 25px;
    }
    
    .table-order{
        padding: 0;
        overflow:hidden;
    }
    .table-order td{
        padding:10px 10px;
    }

    .table-order tr:first-child .td-order-message {
        padding-top: 15px;
    }

    .table-order tr:not(:first-child) .td-order-message {
        padding-bottom: 15px;
    }
    td.td-order-comment03 {
        padding-right: 0;
    }
    .td-order-comment03 select {
        min-width:100px;
    }
    td.td-order-comment04 {
        padding-left:5px;
    }
    td.td-order-comment05{
        padding-top:40px;
    }
    td.confirmation-notes-headline{
        padding-top:40px;
        padding-bottom:5px;
        background-color: transparent;
        color: #333;
        text-align: left;
    }
    td.confirmation-notes-td{
        padding-top:5px;
        padding-bottom:5px;
        background-color: transparent;
        text-align: left;
    }
    td.confirmation-notes-td b{
        font-weight: normal;
    }

    .confirmation-table-order br{
        display: none;
    }
}
@media (max-width: 540px){
    .table-order,
    .table-order tbody,
    .table-order tr,
    .table-order td,
    .table-order th{
        display: flex;
        width: 100%;
        flex-wrap: wrap;
    }
    .table-order tr.tr-order-product-list{
        justify-content: flex-end;
    }
    .table-order td{
        padding:0 10px;
    }

    .order-list-head .td-order-title{
        font-size:12px;
    }
    .order-list-head .td-order-title:nth-child(1){
        padding-top:5px;
        width: 50%;
    }
    .order-list-head .td-order-title:nth-child(2){
        padding-top:5px;
        width: 50%;
        justify-content: flex-end;
    }

    .order-list-head .td-order-title:nth-child(3),
    .order-list-head .td-order-title:nth-child(4){
        padding-top:5px;
        padding-bottom:5px;
        justify-content: flex-end;
    }
    .order-list-head .td-order-title:nth-child(4){
        padding-top:0;
    }

    td.td-order-comment01{
        padding-top:10px;
        padding-bottom:10px;
        font-weight: bold;
    }
    .td-order-comment02{
        width: 100%;
        justify-content: flex-end;
    }
    td.td-order-comment03,
    td.td-order-comment04{
        padding-top:10px;
        padding-bottom:10px;
        justify-content: flex-end;
        align-items: center;
        width: auto;
    }
     td.td-order-comment03{
        padding-right:5px;
    }
    td.td-order-comment04{
        padding-left:0;
        max-width: calc(100% - 115px);
    }

    td.td-order-comment04:empty{
        padding-left:5px;
        padding-right:0;
    }

    td.td-order-comment02.subtotal{
        padding-top:2px;
        padding-bottom:10px;
        justify-content: flex-end;
        font-weight: bold;
    }

    td.td-order-comment05{
        border-top: 1px solid #EBEBEB;
        padding-top:20px;
        padding-bottom:20px;
        flex-direction: column;
        background-color: #fff;
    }

    .confirmation-table-order .td-order-comment05 b{
        margin-top: 8px;
    }

    td.confirmation-notes-headline{
        padding-top:40px;
    }
    .confirmation-table-order tr:last-child{
        padding-bottom: 15px;
    }
}

/* =================================================
    IE用設定
================================================= */

@media all and (-ms-high-contrast:none) {
    .td-error {
        padding: 15px 0 30px;
        background-color: transparent;
        text-align: left;
    }

    .td-item-title {
        padding-bottom: 35px;
        padding-right: 15px;
        width: 130px;
    }

    select {
        padding-right: 10px;
        background-image: none;
    }
}
