@charset "utf-8";

/*----------------------------------------------------
	Common
----------------------------------------------------*/
.secForm {
    position: relative;
    width: 100%;
    margin: 0 auto;
    z-index: 1;
    overflow: hidden;
}
.secForm .box_form_privacy {
    margin: 1.5em auto;
    padding: 1.5em 0 0;
    border-top: #ddd solid 1px;
}
table.formTable {
    width: 100%;
    margin: 3em auto;
    border-collapse: collapse;
}
table.formTable td,
table.formTable th {
    border-top: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 1.5em 0.75em;
}
table.formTable th {
    width: 30%;
    font-weight: normal;
    background: #f3f3f3;
    text-align: left;
    vertical-align: middle;
}
table.formTable th .required {
    background-color: #991216;
    margin-left: 4px;
    padding: 2px 5px 1px 4px;
    font-size: 0.875em;
    color: #fff;
    vertical-align: middle;
    border-radius: 2px;
}
.secForm .box_privacy_check {
    background: #f0f0f0;
    margin: 1.5em auto;
    padding: 1.5em;
    border-radius: 3px;
}
input[type="text"], 
textarea, 
select, 
input[type="submit"], 
input[type="reset"], 
input[type="button"] {
    padding: 0.5em;
    font-size: 1.0em;
    font-family: 'Noto Sans JP', sans-serif;
    border-radius: 3px;
    border: 1px solid #ddd;
}
input[type="submit"]{
    -webkit-appearance: none;
    background-color: #000;
    color: #fff;
}
input[type="submit"][disabled] {
    -webkit-appearance: none;
    background-color: #ccc;
    color: #fff;
}
input[type="text"]:focus, textarea:focus, select:focus, input[type="submit"]:focus, input[type="reset"]:focus, input[type="button"]:focus {
box-shadow: 0 0 5px #991216;
border: 1px solid #991216;
}
input[type="submit"], 
input[type="reset"], 
input[type="button"] {
    padding: 1.0em 0.5em;
    font-size: 1.0em;
}
table.formTable td dt {
    float: left;
    width: 5.0em;
}
table.formTable td dt, 
table.formTable td dd {
    margin-bottom: 0.75em;
}
table.formTable td dt:last-child, 
table.formTable td dd:last-child {
    margin-bottom: 0;
}
.sample::-webkit-input-placeholder {color: #999;}
.sample::-moz-placeholder {color: #999;}
.sample:-ms-input-placeholder {color: #999;}

/* 768px under */
@media screen and (max-width:999px) {
    .secForm {
        width: 95%;
    }
    table.formTable th, 
    table.formTable td {
        width: auto;
        display: block;
    }
    table.formTable th {
        margin-top: 5px;
        border-bottom: 0;
    }
    table.formTable td {
        border-bottom: none;
    }
    input[type="text"], 
    textarea,
    select {
        width: 80%;
        font-size: 0.875em;
        display: block;
    }
    input[type="submit"], 
    input[type="reset"], 
    input[type="button"] {
        display: block;
        width: 100%;
        line-height: 1.0;
    }
    .secForm p {
        text-align: left;
    }
}

/* ===== Form Flow ===== */
.formStep ul {
    margin-bottom: calc(100vw * .05);
    display: table;
    table-layout: fixed;
    width: 100%;
    box-sizing: border-box;
    height: 48px;
    border-left: solid 1px #d0d0d0;
    border-right: solid 1px #d0d0d0;
    border-radius: 4px;
}
.formStep ul li {
    position: relative;
    display: table-cell;
    box-sizing: border-box;
    padding-left: 25px;
    text-align: center;
    vertical-align: middle;
    color: #991216;
    font-size:　0.875em;
    background-color :#f9f9f9;
    border-top: solid 1px #d0d0d0;
    border-bottom: solid 1px #d0d0d0;
}
.formStep ul li:first-child {
    padding-left: 0;
}
.formStep ul li.current {
    background-color: #991216;
    color: #fff;
}
.formStep ul li:before {
    position: absolute;
    content: "";
    top: -1px;
    right: -25px;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
    border-left: 24px solid #d0d0d0;
    z-index: 99;
}
.formStep ul li:nth-child(3):before {
    display: none;
}
.formStep ul li:after {
    position: absolute;
    content: "";
    top: -1px;
    right: -24px;
    bottom: 0;
    width: 0;
    height: 0;
    border-top: 24px solid transparent;
    border-bottom: 24px solid transparent;
    border-left: 24px solid #f9f9f9;
    z-index: 99;
}
.formStep ul li:last-child:after {
    display: none;
}
.formStep ul li.current {
    border-top: solid 1px #991216;
    border-bottom: solid 1px #991216;
}
.formStep ul li.current:after {
    border-left: 24px solid #991216;
}

/* ===== Error Massage ===== */
p.error_messe{
    margin: 5px 0;
    color: #991216;
}

/* ===== Option ===== */
p.center {
    margin: 0 auto;
    text-align: center;
}