@charset "UTF-8";
.main_top {
    display: block;
    position: relative;
    width: 100%;
    height: 206px;
    margin: 88px 0 0;
    background: #004484;
}
.main_top::before {
    content: "";
    display: block;
    width: 100%;
    height: 6px;
    position: absolute;
    top: 150px;
    background: #2b7caf;
}
.main_top::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    position: absolute;
    top: 156px;
    background: #fff;
}
.main_top span {
    display: block;
    color: #fff;
    font-size: 36px;
    padding: 87px 0 0;
}
.form_intro  p {
margin: 40px 0 0;
text-align: center;
}
.form_wrap {
    display: flex;
    flex-wrap: wrap;
}
.form_tab_label {
    background: #fff;
    white-space: nowrap;
    text-align: center;
    height: 40px;
    padding: 10px .5em;
    order: -1;
    position: relative;
    z-index: 10;
    cursor: pointer;
    flex: 1;
}
#label_individual {
    color: #3ebbcb;
}
#label_corporation {
    color: #004484;
}
.form_tab_label:not(:last-of-type) {
    border-right: 2px #ccc solid
}
.form_tab_content {
    width: 100%;
    height: 0;
    overflow: hidden;
    opacity: 0;
}
.form_tab_switch:checked + #label_individual {
    background: #3ebbcb;
    color: #fff;
}
.form_tab_switch:checked + #label_corporation {
    background: #004484;
    color: #fff;
}
.form_tab_switch {
    display: none;
}
.form_tab_switch:checked + .form_tab_label + .form_tab_content {
    height: 100%;
    padding: 20px 0;
    opacity: 1;
    transition: 200ms opacity;
}
.form_tab_switch:checked + .form_tab_label + #content_individual {
    display: block;
    position: relative;
}
.form_tab_switch:checked + .form_tab_label + #content_individual a:not(#link_all) {
    color: #fff;
    background-color: #3ebbcb;
    padding: 8px;
    border-radius: 4px;
    position: absolute;
    white-space: nowrap;
    transform: translate(-50%, -50%);
    transition: color 100ms linear;
}
.form_tab_switch:checked + .form_tab_label + #content_corporation {
    display: block;
    position: relative;
}
.form_tab_switch:checked + .form_tab_label + #content_individual ~ .form_border {
    width: 100%;
    height: 2px;
    background: #3ebbcb;
    order: -1;
}
.form_tab_switch:checked + .form_tab_label + #content_corporation ~ .form_border {
    width: 100%;
    height: 2px;
    background: #004484;
    order: -1;
}
.input {
    display: flex;
    margin: 0 0 40px;
}
::placeholder {
    color: #ccc;
}
.input p {
    display: inline-block;
    width: 240px;
    margin: auto 0;
}
select,
input[type=text],
input[type=email],
textarea {
    width: 760px;
    line-height: 1.5em;
    padding: 4px 8px;
}
.select {
    position: relative;
}
.select::before {
    content:"";
    width: 12px;
    height: 12px;
    border-top: 2px solid #004484;
    border-right: 2px solid #004484;
    -webkit-transform: rotate(45deg);
    position: absolute;
    top:calc( 50% - 8px );
    right: 12px;
    transform: rotate(135deg);
}
#individual .select::before {
    border-top: 2px solid #3ebbcb;
    border-right: 2px solid #3ebbcb;
}
textarea {
    width: 760px;
    height: 148px;
}
.submitBtn {
    text-align: center;
}
input[type=submit] {
    display: block;
    width: 300px;
    height: 40px;
    color: #fff;
    text-align: center;
    padding: 10px 0;
    border-radius: 20px;
    margin: 20px auto 40px;
    transition: 100ms linear;
}
input[type=submit]:hover {
    opacity: .75;
}
.required::after{
    content: " *";
    color: #de4348;
}
#individual select,
#individual input[type=text],
#individual input[type=email],
#individual textarea {
    border: #3ebbcb 2px solid;
}
#individual input[type=submit] {
    background: #3ebbcb;
}
#corporation select,
#corporation input[type=text],
#corporation input[type=email],
#corporation textarea {
    border: #004484 2px solid;
}
#corporation input[type=submit] {
    background: #004484;
}
.supplement {
    font-size: 14px;
    margin: 0 0 12px;
}
@media screen and (max-width:1020px) {
    .input {
        display: block;
        margin: 0 0 40px;
    }
    select,
    input[type=text],
    input[type=email],
    textarea {
        width: 100%;
    }
    .input p {
        display: block;
        width: 100%;
    }
}
@media screen and (max-width:640px) {
    .main_top {
        height: 132px;
        margin: 60px 0 0;
    }
    .main_top::before {
        top: 100px;
    }
    .main_top::after {
        top: 106px;
    }
    .main_top span {
        font-size: 24px;
        padding: 48px 0 0;
    }
    .form_tab_label {
        height: 24px;
        padding: 6px .5em;
    }
    input[type=submit] {
        display: block;
        width: 50%;
        height: 28px;
        padding: 8px 0 ;
        border-radius: 14px;
    }
}