@charset "utf-8";

/*********************
RESET
*********************/
*, *:before, *:after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/*********************
INPUTS
*********************/
.Form-area{
    margin: 2rem auto;
    max-width: 720px;
}

.Form {
    width: 100%;
}

.Form-Item {
    border-bottom: 1px solid #ddd;
    padding: 16px;
    width: 100%;
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.Form-Item._border_top {
    border-top: 1px solid #ddd;
}

.Form-Item-Label {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 1em;
    font-weight: bold;
    margin-bottom: 1em;
}

.Form-Item-Label.isMsg {
    margin-bottom: 20px;
}

.Form-Item-Label-Required {
    border-radius: 6px;
    padding-top: 4px;
    padding-bottom: 4px;
    width: 44px;
    display: inline-block;
    text-align: center;
    background: #af2c2c;
    color: #fff;
    font-size: 0.8em;
    margin-left: 0.8em;
}

.Form-Item-Input{
    width: 100%;
    margin-bottom: 0;
}

.Form-Item-Input-ex-upper{
    font-size: .9em;
    margin-bottom: .8em;
}

.Form-Item-Input-ex-lower{
    font-size: .9em;
    margin-top: .8em;
}

.Form-Item-Input-red{
    color: #f00;
}

.Form-Item-Input-note{
    margin-bottom: .8em;
    color: #333;
}

.Form-Item-Input-heading{
    font-size: 1em;
    font-weight: bold;
    margin-bottom: .5em;
}

.Form-Item-Input-sec{
    margin-bottom: 1em;
}

.Form-Item-Input-bg{
    background: #eaedf2;
    padding: 1em;
    border-radius: 6px;
}

.Form-Item-Input-bg input:not([type="checkbox"]):not([type="radio"]){
    border: 1px solid #ddd !important;
    background: #fff !important;
}

.Form-Item-Input-col,
.Form-Item-Input-age{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}

.Form-Item-Input-col .Input-control-wrap{
    width: 48%;
}

.Form-Item-Input-age .Input-control-wrap{
    width: 40%;
}
.Form-Item-Input-age .age-unit{
    width: 5%;
    text-align: center;
}

/* テキスト */
.Form-Item-Input input:not([type="checkbox"]):not([type="radio"]) {
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 100%;
    background: #eaedf2;
    font-size: 1em;
    padding: .5em 1em;
}

/* テキストエリア */
.Form-Item-Input textarea {
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 100%;
    background: #eaedf2;
    font-size: 1em;
    padding: .5em 1em;
}

/* チェックボックス・ラジオボタン共通 */
.Form-Item-Input .list-item{
    display: block;
    margin: 0 0 1em;
}
.Form-Item-Input .list-item:last-child{
    margin-bottom: 0;
}
.Form-Item-Input .list-item .list-item-label{
    cursor: pointer;
}

/* チェックボックス */
.Form-Item-Input input[type=checkbox] {
    /* ブラウザ別に設定されているチェックボックスのcssを無効化（リセット） */
    border-radius: 0;
    -webkit-appearance: none;
        -moz-appearance: none;
            appearance: none;
    /* 独自デザインのチェックボックスを作成 */
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 5px 10px;
    position: relative;
    width: auto;
}
.Form-Item-Input input[type=checkbox]::before {
    background: #fff;
    border: 1px solid #666;
    content: '';
    display: block;
    height: 16px;
    left: 5px;
    margin-top: -10px;
    position: absolute;
    top: 50%;
    width: 16px;
}
.Form-Item-Input input[type=checkbox]::after {
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    content: '';
    display: block;
    height: 12px;
    left: 10px;
    margin-top: -10px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
    width: 5px;
}
.Form-Item-Input input[type=checkbox]:checked::after {
    opacity: 1;
}

/* ラジオボタン */
.Form-Item-Input input[type=radio] {
    /* ブラウザ別に設定されているチェックボックスのcssを無効化（リセット） */
    border-radius: 0;
    -webkit-appearance: none;
        -moz-appearance: none;
            appearance: none;
    /* 独自デザインのチェックボックスを作成 */
    box-sizing: border-box;
    cursor: pointer;
    display: inline-block;
    padding: 5px 10px;
    position: relative;
    width: auto;
}
.Form-Item-Input input[type=radio]::before {
    background: #fff;
    border: 1px solid #666;
    border-radius: 50%;
    content: '';
    display: block;
    width: 16px;
    height: 16px;
    left: 5px;
    margin-top: -10px;
    position: absolute;
    top: 50%;
}
.Form-Item-Input input[type=radio]::after {
    background: #333;
    border-radius: 50%;
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    left: 8px;
    margin-top: -7px;
    opacity: 0;
    position: absolute;
    top: 50%;
    transform: rotate(45deg);
}
.Form-Item-Input input[type=radio]:checked::after {
    opacity: 1;
}

/* セレクトボックス */
.Input-control-wrap.Input-select {
    display: block;
    position: relative;
}
.Input-control-wrap.Input-select::after {
    content: "";
    position: absolute;
    top: -4px;
    bottom: 0;
    margin: auto;
    right: 10px;
    width: 8px;
    height: 8px;
    border-right: 2px solid #333;
    border-bottom: 2px solid #333;
    transform: rotate(45deg);
}
.Form-Item-Input select{
    border: 1px solid #ddd;
    border-radius: 6px;
    width: 100%;
    background: #eaedf2;
    font-size: 1em;
    padding: .5em 1em;
    -webkit-appearance: none;
    appearance: none;
    cursor: pointer;
}
.Form-Item-Input-bg select{
    border: 1px solid #ddd !important;
    background: #fff !important;
}
.Form-Item-Input select::-ms-expand {
    display: none;
}
.Form-Item-Input select option {
    font-size: 1em;
}

/* liststyleのデフォルトの「・」を非表示 */
.Form-Item-Input ul li {
    list-style: none;
}

/* 次へ進む・確認・戻る・送信　ボタン */
.Form-Btn input[type=submit],
.Form-Btn .confirm-button,
.Form-Btn .send-button,
.Form-Btn .modify-button {
    border-radius: 6px;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    background: #38b11c;
    color: #fff;
    font-size: 1.2em;
    font-weight: bold;
    text-align: center;
    border: none;
    cursor: pointer;
    transition: .3s;
}

.Form-Btn input[type=submit]:hover,
.Form-Btn .confirm-button:hover,
.Form-Btn .send-button:hover,
.Form-Btn .modify-button:hover {
    background: #216910;
}
/* 戻るボタンのみ色を変える */
.Form-Btn .modify-button {
    background: #ababab;
}
.Form-Btn .modify-button:hover {
    background: #7b7b7b;
}

/* 来店日の案内について */
.Form-Attention-visit{
    background: #ffe3e3;
    text-align: center;
    border-radius: 10px;
    padding: 1em;
    margin: 2em 0 40px;
    position: relative;
}
.Form-Attention-visit:after{
    content: "";
    position: absolute;
    right: 0;
    bottom: -20px;
    left: 0;
    width: 0px;
    height: 0px;
    margin: auto;
    border-style: solid;
    border-color: #ffe3e3 transparent transparent transparent;
    border-width: 20px 20px 0 20px;
  }

/* 注意喚起 */
.Form-Attention {
    margin: 2em 0 3em;
}
.Form-Attention-ttl {
    font-size: 1.4em;
    font-weight: bold;
    color: #af2c2c;
    text-align: center;
    margin: 2em 0;
}
.Form-Attention-txt {
    margin-bottom: 1em;
}

/* 個人情報保護方針 */
.Form-Privacy {
    margin: 2em 0 3em;
}
.Form-Privacy-ttl {
    font-weight: bold;
    font-size: 1.2em;
    margin-bottom: 1em;
    border-bottom: 1px solid #333;
}
.Form-Privacy-txt {
    margin-bottom: 1em;
}

/*--------------------------------------------------------
    PC
--------------------------------------------------------*/

@media print,
screen and (min-width: 768px) {
    .Form-Item {
        flex-wrap: nowrap;
    }
    .Form-Item-Label {
        display: block;
        max-width: 35%;
        margin-bottom: 0;
        padding-right: 5%;
    }
    .Form-Item-Label.isMsg {
    margin-top: 8px;
    margin-bottom: auto;
    }
    .Form-Item-Input {
        width: 65%;
    }
}