@charset "utf-8";

.formWrap .flow {
    margin-bottom: 35px;
    border: 2px solid #6cb5c8;
    display: flex;
    justify-content: space-between;
    font-size: 16px;
    overflow: hidden;
}

.formWrap .flow li {
    width: 100%;
    text-align: center;
    background: #fff;
    color: #6cb5c8;
    font-weight: bold;
    padding: 0.8em 0.5em;
    position: relative;
}

.formWrap .flow li a {
    display: block;
    text-decoration: none;
    color: #444;
    font-weight: bold;
}

.formWrap .flow li:after, .formWrap .flow li:before {
    content: "";
    width: 14px;
    height: 120%;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 3;
}

.formWrap .flow li:after {
    background: linear-gradient(to bottom left, transparent 50% , #ffffff 53%) no-repeat top left / 100% 50%,
        linear-gradient(to top left,transparent 50%, #ffffff 53%) no-repeat bottom left/100% 51%;
    right: -12px;
}

.formWrap .flow li:before {
    background: linear-gradient(to bottom left, transparent 50% , #6cb5c8 53%) no-repeat top left / 100% 50%,
        linear-gradient(to top left, transparent 50%, #6cb5c8 53%) no-repeat bottom left/100% 51%;
    right: -14px;
}

.formWrap .flow li:last-child:before, .formWrap .flow li:last-child:after {
    content: none;
}

.formWrap .flow li span {
    font-size: 80%;
    font-weight: bold;
    padding: 3px 8px;
    background: #6cb5c8;
    color: #fff;
    margin-right: 10px;
}

.formWrap .flow li.current {
    background: #6cb5c8;
    color: #fff;
}

.formWrap .flow li.current:after {
    background: linear-gradient(to bottom left, transparent 50% , #6cb5c8 53%) no-repeat top left / 100% 50%, linear-gradient(to top left,transparent 50%, #6cb5c8 53%) no-repeat bottom left/100% 50%;
    content: none;
}

.formWrap .flow li.current span {
    background: #ffffff;
    color: #6cb5c8;
}

@media screen and (max-width: 767px) {
    .formWrap .flow li {
        line-height: 1.4;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0.8em 0em 0.8em 0.6em;
    }

    .formWrap .flow li span {
        display: block;
        width: 5em;
        margin: 0 auto;
        margin-bottom: 0.5em;
    }
}

.formWrap dl {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    font-size: 16px;
}

.formWrap dt, .formWrap dd {
    margin-bottom: 30px;
}

.formWrap dd .notes {
    text-align: center;
    margin-top: 10px;
    font-size: 13px;
}

.formWrap dt {
    width: 25%;
    counter-increment: num;
    display: flex;
    align-items: center;
}

.formWrap dd {
    width: 75%;
}

.formWrap dd.returnWrap {
    white-space: pre-wrap;
}

.formWrap dt.w100 {
    margin-bottom: 15px;
    width: 100%;
}

.formWrap dt.w100 + dd {
    width: 100%;
}

.formWrap .need {
    display: inline-block;
    background: #ba2c3a;
    color: #fff;
    font-size: 65%;
    padding: 0.1em 0.4em;
    letter-spacing: 0.4em;
    padding-left: 0.8em;
    border-radius: 1em;
    margin-right: 0.6em;
    text-align: center;
}

.formWrap .formBtnWrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
}

.formWrap .w100 + dd .formBtnWrap {
    grid-template-columns: 1fr 1fr 1fr;
}

input[type="text"],textarea,select, input[type="radio"] + label , input[type="checkbox"] + label {
    max-width: 100%;
    padding: 0.5em;
    font-size: 100%;
    box-sizing: border-box;
    vertical-align: bottom;
    background: #fff;
    border: #bbb 1px solid;
    border-radius: 0.3em;
    resize: vertical;
    outline: none;
    transition: border .3s,background 0.8s;
}

select {
    width: 100%;
}

input[type="text"]:hover, textarea:hover, select:hover,
input[type="text"]:focus, textarea:focus,select:focus,
input[type="radio"] + label:hover , input[type="checkbox"] + label:hover {
    border: 1px solid #4881d9;
}

input[type="text"]:focus, textarea:focus {
    background: #ffffdd;
}

input[type="radio"] , input[type="checkbox"] {
    width: 0;
    opacity: 0;
    position: absolute;
}

input[type="radio"] + label , input[type="checkbox"] + label {
    display: flex;
    position: relative;
    padding: 0.7em 0.7em 0.7em 2.5em;
    cursor: pointer;
    align-items: center;
}

input[type="radio"] + label::before, input[type="radio"] + label::after,
input[type="checkbox"] + label::before, input[type="checkbox"] + label::after {
    position: absolute;
    content: '';
    top: 0;
    bottom: 0;
    margin: auto;
}

input[type="radio"] + label::before, input[type="checkbox"] + label::before {
    background: #eee;
    border: 1px solid #bebebe;
    left: 0.6em;
    width: 1em;
    height: 1em;
}

input[type="radio"]:checked + label, input[type="checkbox"]:checked + label {
    background: #edf4ff;
    border: 1px solid #4881d9;
}

input[type="radio"] + label::after, input[type="checkbox"] + label::after {
    left: 0.9em;
    opacity: 0;
    transform: translateY(-0.1em) rotate(45deg);
    transition: transform 0.1s,opacity 0.2s;
}

input[type="radio"]:checked + label::after,
input[type="checkbox"]:checked + label::after {
    opacity: 1;
    transform: translateY(0) rotate(45deg);
}

input[type="radio"] + label::before, input[type="radio"] + label::after {
    border-radius: 100%;
}

input[type="radio"] + label::after {
    width: 0.5em;
    height: 0.5em;
    background: #3498db;
}

input[type="checkbox"] + label::before {
    border-radius: 2px;
}

input[type="checkbox"] + label::after {
    top: -8.5%;
    width: 0.32em;
    height: 0.55em;
    border-right: 3px solid #3498db;
    border-bottom: 3px solid #3498db;
}

.formWrap dl + ul li {
    text-align: center;
    width: 48%;
    margin: 0;
}

.formWrap dl + ul li:only-of-type {
    width: 100%;
    margin: 0 auto;
    max-width: 580px;
}

.formWrap dl + ul li p {
    text-align: center;
    margin-top: 10px;
}

.formWrap dl + ul li .privacy {
    display: inline-block;
    margin-top: 1.5em;
    color: #1a73e8;
    text-decoration: underline;
}

.formWrap dl + ul {
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
}

.formWrap dl + ul button {
    display: block;
    background: #fcee21;
    color: #333;
    font-weight: bold;
    border: none;
    font-size: 150%;
    width: 100%;
    padding: 0.7em;
    border-radius: 2em;
    letter-spacing: 0.1em;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}

.formWrap dl + ul button:hover {
    box-shadow: none;
    background: #fff343;
}

.formWrap dl + ul button:after {
    font-weight: normal;
    font-family: "Font Awesome 5 Free";
    content: "\f105";
    font-weight: 900;
    position: absolute;
    top: 0;
    right: 1em;
    bottom: 0;
    display: flex;
    align-items: center;
    transition: 0.3s;
}

.formWrap dl + ul button:hover:after {
    transform: translateX(0.2em);
}

.formWrap dl + ul button[name="rtn"] {background: #e7e7e7;color: #707070;}

.formWrap dl + ul button[name="rtn"]:after {
    content: "\f104";
    left: 1em;
    right: auto;
}

.formWrap dl + ul button[name="rtn"]:hover:after {
    transform: translateX(-0.2em);
}

.check .formWrap dt {
    width: 25%;
    margin-bottom: 30px;
}

.check .formWrap dd {
    width: 75%;
}

.check .formWrap dd .notes {
    display: none;
}

.confirmation {
    /* background: #f1b424; */
    /* color: #fff; */
    /* text-align: center; */
    /* padding: 1em 0; */
    /* margin: 1em 0; */
    /* font-size: 120%; */
}

.confirmation h1,.confirmation h2 {
    margin: 0;
}

.confirmation h1 {
    font-size: 180%;
    letter-spacing: 0.1em;
}

.confirmation h2 {
    letter-spacing: 0.1em;
    margin: 0;
    font-size: 100%;
}

.confirmation p {
    margin-top: 0.5em;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.confirmation a {
    display: inline-block;
    border: 1px solid #fff;
    padding: 0.2em 2.5em;
    font-size: 150%;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    margin-top: 1rem;
}

@media screen and (max-width: 999px) {
}

@media screen and (max-width: 680px) {
    .formWrap dt, .formWrap dd {
        width: 100% !important;
    }

    .formWrap dt {
        margin-bottom: 15px !important;
    }

    .formWrap .w100 + dd .formBtnWrap {
        grid-template-columns: 1fr;
    }

    .formWrap .confirmation {
        font-size: 100%;
        padding: 10px;
    }
}
