@charset "utf-8";

input[type=text],
input[type=password],
input[type=email] {
    -webkit-appearance: none;
}

form input[type="text"],
form input[type="number"],
form input[type="email"],
form textarea,
form input[type="password"] {
    padding: .8em;
    border-radius: .3em;
    border: 1px solid #d6e6e5;
    background: #fff;
    width: 100%;
}

form select {
    background: #fff;
    border: 1px solid #d6e6e5;
    height: 3.2em;
    width: 100%;
    border-radius: 5px;
}

label.email-error /*lp email*/,
label.error /*lp*/,
.help-block /*公式*/ {
    color: #da1c1c;
    display: block;
    font-size: 1.2rem;
    margin-top: .4em;
}

.loader_panel {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: rgba(255, 255, 255, 0.7);
    z-index: 9999;
}

::-webkit-input-placeholder{color:#ccc}
:-ms-input-placeholder{color:#ccc}
::-moz-placeholder{
	color:#ccc;
	opacity:1;
}

:-moz-placeholder{
	color:#ccc;
	opacity:1;
}

/*============================
レイアウト
============================*/

form {
    max-width: 800px;
    margin: auto;
    text-align: left;
    border-radius: 20px;
    background: #edf6f5;
    padding: 1.5em 2em;
}

.control_label {
    font-weight: 600;
}

.form_section {
    padding-top: 1em;
    margin-top: 1em;
    border-top: 1px solid #d6e6e5;
}

.form_section:first-of-type {
    margin-top: 0;
    padding-top: 0;
    border: none;
}

.form_section.last {
    padding-bottom: 1em;
    border-bottom: 1px solid #d6e6e5;
}

.form_group {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
}

.form_group > .control_label {
    width: 25%;
    position: relative;
}

.form_group .wrap_input .control_label {
    width: 100%;
    padding-bottom: .3em;
    display: block;
    font-size: 1.4rem;
}

.control_label small {
    font-size: 100%;
    font-weight: normal;
    margin-left: .5em;
}

.wrap_input {
    width: 70%;
}

.wrap_input input {
    width: 100%;
}

.form_radio_check .wrap_input > div {
    padding: .3em 0;
}

input[type="checkbox"],
input[type="radio"] {
    width: auto;
    margin-right: .3em;
}

/* 必須・任意 */

.form_group > .control_label span.required,
.form_group > .control_label span.any {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    font-size: 1.1rem;
    background: #f56d6d;
    padding: .1em .8em .2em;
    border-radius: 100px;
    color: #fff;
}

.form_group > .control_label span.any {
    background: #2bb4a2;
}

/*============================
flex
============================*/

.wrap_input[class *='col_'] {
    flex-wrap: wrap;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.wrap_input.col_2 > div {
    width: 48%;
}

.wrap_input.col_3 > div {
    width: 33%;
}

.wrap_input.col_4 > div {
    width: 25%;
}

.wrap_input.col_1 {
    display: block;
    width: 100%;
}

.wrap_input > .flex {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

/*============================
生年月日
============================*/

.year select {
    width: 8em;
}

.month select,
.day select {
    width: 5em;
}

.text_f {
    padding: 0 1em;
}

/*============================
住所
============================*/

.address .wrap {
    width: 70%;
}

.address .wrap > .wrap_input {
    width: 100%;
}

.address .wrap > .wrap_input:nth-child(2) {
    margin-top: 1em;
}

/*============================
カード
============================*/

form #card-errors {
	font-size: 1.2rem;
	color: #da1c1c;
}

#card_sma .form-row label {
    font-size: 1.2rem;
    line-height: 1.6;
    margin: 0;
    display: block;
    color: #2bb4a2 !important;
}

.StripeElement {
    padding: 1em;
    height: inherit;
	border: 1px solid #d6e6e5;
	box-shadow: none;
}

/*============================
注意書き
============================*/

.form_section .wrap_input [class *='caution_'] {
    font-size: 1.2rem; 
}

/*============================
タブ
============================*/

p.print_announce {
    font-size: 1.4rem;
    margin-top: .5em;
}

.tab_index {
	display: flex;
	justify-content: space-between;
	margin-top: 1em;
}

.tab_index li {
	text-align: center;
    width: 24%;
    background: #cadad8;
    padding: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    line-height: 1.4;
    text-decoration: none;
    transition: none;
}

.tab_index li a {
	display: block;
	text-decoration: none;
}

.tab_index li a:hover {
	opacity: 1;
}

.tab_index li.select,
.tab_index li.select a {
	background: #2bb4a2;
	color: #fff;
}

.tab_contents {
	display: none;
}

.tab_contents.show {
	display: block;
}

[class *='sign_up_'] {
    padding: 2em;
    overflow-y: auto;
    height: 15em;
    background-color: #fff;
    margin: 0 0 0.5em;
    border: 1px solid #d6e6e5;
}

.primary [class *='sign_up_'] p,
.primary [class *='sign_up_'] p.lede,
.primary [class *='sign_up_'] p.lede,
.primary [class *='sign_up_'] [class *='list_'] {
    font-size: 1.4rem;
}

/*============================
プリント
============================*/

form div.print_btn p {
    text-align: right;
}

form div.print_btn a {
    color: #40b0a3;
    font-weight: 600;
}

/*============================
同意
============================*/

.consent {
    text-align: center;
    margin: 2em 0;
}

.consent label.checkbox/*公式*/,
.consent label.control--checkbox/*lp*/ {
    font-size: 1.4rem;
}

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

    form {
        background: none;
        padding: 0;
        padding-bottom: 0;
        margin: auto;
    }

    .form_group > .control_label,
    .wrap_input,
    .address .wrap {
        width: 100%;
    }

    form input[type="text"],
    form input[type="number"],
    form input[type="email"],
    form textarea,
    form input[type="password"],
    form select,
    .StripeElement {
        border-color: #dcdcdc;
    }

    .form_section {
        padding-top: .5em;
        border: none;
    }

    .form_section.last {
        padding-bottom: 0;
        border: none;
    }

    .control_label,
    .form_group .wrap_input .control_label {
        font-size: 1.3rem;
        padding-bottom: .5em;
    }

    label.email-error/*LP email*/,
    label.error/*LP*/,
    .help-block/*公式*/ {
        font-size: 1.1rem;
    }

    .form_section .wrap_input [class *='caution_'] {
        font-size: 1.1rem;
    }

    .form_radio_check .wrap_input > div label {
        font-size: 1.3rem;
    }

    .wrap_input label .sp_only {
        display: inline-block;
    }

    /* 必須・任意 */

    .form_group > .control_label span.required,
    .form_group > .control_label span.any {
        font-size: .9rem;
        top: 40%;
    }

    /*============================
    flex
    ============================*/

    .wrap_input.col_3 > div {
        width: 48%;
    }

    /*============================
    生年月日
    ============================*/

    .year select {
        width: 6em;
    }

    .text_f {
        font-size: 1.2rem;
        padding: 0 .5em;
    }

    /*============================
    クレカ
    ============================*/
    
    form #card-errors,
    #card_sma .form-row label {
        font-size: 1.1rem;
    }

    /*============================
    規約
    ============================*/

    p.print_announce {
        font-size: 1.2rem;
        line-height: 1.6;
    }

    .tab_index li {
        font-size: .9rem;
        letter-spacing: 0;
        line-height: 1.2;
        padding: .7em .5em;
    }

    [class *='sign_up_'] {
        padding: 1.2em;
    }

    .primary [class *='sign_up_'] p,
    .primary [class *='sign_up_'] p.lede,
    .primary [class *='sign_up_'] p.lede,
    .primary [class *='sign_up_'] [class *='list_'] {
        font-size: 1.2rem;
    }   

    /*============================
    同意
    ============================*/

    .consent {
        margin-top: 1.5em;
        font-size: 1.3rem;
    }

    .consent label.checkbox,
    .consent label.control--checkbox {
        font-size: 1.3rem;
    }

}