/* for Reset
=========================================*/
html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

fieldset, img {
    border: 0;
}

address, caption, cite, code, dfn, em, strong, th, var {
    font-style: normal;
    font-weight: normal;
}

ol, ul {
    list-style: none;
}

caption, th {
    text-align: left;
}

h1, h2, h3, h4, h5, h6 {
    font-size: 100%;
    font-weight: normal;
}

img {
    vertical-align: bottom;
}

input:focus, textarea:focus, select:focus {
    outline-offset: -2px;
}

input, textarea, select {
    *font-size: 100%;
}

* {
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
    -webkit-text-size-adjust: none;
}

body {
    margin: 0px;
    padding: 0px;
    font-family: sans-serif;
    background-color: #6ec6d1;
}

#all_wrapper_input, #all_wrapper_information {
    min-width: 768px;
    margin: 0 auto;
    overflow: hidden;
    position: relative;
    min-height: 100vH;
}

/* contnts */
.all_contents_cover {
    position: relative;
    z-index: 2;
    overflow: hidden;
}

.all_contents {
    /* 全体縮小 */
    transform: scale(0.75) translateY(-21%);
}

.all_contents.type {
    /* 全体縮小 */
    transform: scale(0.75) translateY(-19%);
}

.all_back {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    margin: 0 auto;
}

.all_back.black_cover span {
    position: absolute;
    top: 0;
    left: 50%;
    -ms-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
    width: 100%;
    height: 100%;
    z-index: 10;
    background-color: rgba(0, 0, 0, 0.5);
}

.all_back img {
    position: absolute;
    top: 0;
    left: 50%;
    -ms-transform: translate(-50%, 0);
    -webkit-transform: translate(-50%, 0);
    transform: translate(-50%, 0);
}

.main_title {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2;
    text-align: center;
    padding-top: 53px;
    margin: 0 auto;
}

.contents {
    position: relative;
    z-index: 3;
    text-align: center;
    margin: 30px auto 0;
}

#content {
    position: relative;
    overflow: hidden;
    height: 740px;
    padding-top: 150px;
}

#privacy_policy_content,
#type_content {
    padding-top: 150px;
}

#content>ul {
    position: relative;
}

#content ul li {
    position: absolute;
    top: 0;
    left: 50%;
    width: 728px;
    -ms-transform: translateX(200%);
    -webkit-transform: translateX(200%);
    transform: translateX(200%);
    transition: 0.5s ease;
    opacity: 0;
}

#content ul li.on {
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    opacity: 1;
}

#content ul li.pre {
    -ms-transform: translateX(-200%);
    -webkit-transform: translateX(-200%);
    transform: translateX(-200%);
    opacity: 0;
}

.q_box {
    position: relative;
    width: 728px;
    margin: 0 auto;
    padding-top: 280px;
}

.q_box .chara,
.q_box .serif {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    text-align: center;
}

.q_box .chara {
    z-index: 1;
}

.q_box .serif {
    z-index: 2;
}

.q_box .q_text {
    position: relative;
    z-index: 3;
}

.q_box .q_text .content_back {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
}

.q_box .q_text .subject {
    position: relative;
    z-index: 2;
    padding: 55px 0 15px;
    -ms-transform: translateY(100px);
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    opacity: 0;
    transition: 0.3s cubic-bezier(0.39, 0.575, 0.565, 1) 0.5s;
}

.q_box .q_text.form_type.type1 .subject {
    padding: 55px 0 50px;
}

#content ul li.on .q_box .q_text .subject {
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

.q_box .q_text .text {
    position: relative;
    z-index: 2;
    padding-bottom: 58px;
    -ms-transform: translateY(100px);
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    opacity: 0;
    transition: 0.3s cubic-bezier(0.39, 0.575, 0.565, 1) 0.7s;
}

#content ul li.on .q_box .q_text .text {
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

.q_box .q_text .text img {
    display: inline-block;
    vertical-align: middle;
}

.q_box .q_text .text:before {
    content: "";
    display: inline-block;
    vertical-align: middle;
    width: 0px;
    height: 295px;
}

#btn {
    padding-top: 40px;
    padding-bottom: 66px;
    display: table;
    /* width: 640px; */
    margin: 0 auto;
}

#btn div {
    -ms-transform: translateX(200%);
    -webkit-transform: translateX(200%);
    transform: translateX(200%);
    transition: 0.5s ease;
    opacity: 0;
}

#btn div.on {
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

#btn div.pre {
    -ms-transform: translateX(-200%);
    -webkit-transform: translateX(-200%);
    transform: translateX(-200%);
    opacity: 0;
}

#next_page {
    display: none;
}

#btn p.one_btn {
    display: table-cell;
    width: 50%;
    text-align: center;
}

#btn p.form_next_btn {
    width: 100%;
    text-align: center;
}

#btn p>a {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 306px;
    height: 126px;
}

.actions_form {
    margin-top: -131px;
}

/* アニメーションCSS */
.q_box .chara {
    -webkit-animation: updown_chara 2s cubic-bezier(0.490, 0.000, 0.510, 1.000) 0s infinite normal;
    animation: updown_chara 2s cubic-bezier(0.490, 0.000, 0.510, 1.000) 0s infinite normal;
    -ms-transform: translateY(5px);
    -webkit-transform: translateY(5px);
    transform: translateY(5px);
}

.q_box .serif {
    -webkit-animation: updown_serif 3s cubic-bezier(0.000, -0.300, 1.000, 1.330) 0s infinite normal;
    animation: updown_serif 3s cubic-bezier(0.000, -0.300, 1.000, 1.330) 0s infinite normal;
    -ms-transform: translateY(-5px);
    -webkit-transform: translateY(-5px);
    transform: translateY(-5px);
}

@-webkit-keyframes updown_chara {
    0% {
        -ms-transform: translateY(5px);
        -webkit-transform: translateY(5px);
        transform: translateY(5px);
    }

    50% {
        -ms-transform: translateY(-5px);
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
    }

    100% {
        -ms-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        -ms-transform: translateY(5px);
        -webkit-transform: translateY(5px);
        transform: translateY(5px);
    }
}

@keyframes updown_chara {
    0% {
        -ms-transform: translateY(5px);
        -webkit-transform: translateY(5px);
        transform: translateY(5px);
    }

    50% {
        -ms-transform: translateY(-5px);
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
    }

    100% {
        -ms-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    100% {
        -ms-transform: translateY(5px);
        -webkit-transform: translateY(5px);
        transform: translateY(5px);
    }
}

@-webkit-keyframes updown_serif {
    0% {
        -ms-transform: translateY(-5px);
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
    }

    50% {
        -ms-transform: translateY(5px);
        -webkit-transform: translateY(5px);
        transform: translateY(5px);
    }

    100% {
        -ms-transform: translateY(-5px);
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}

@keyframes updown_serif {
    0% {
        -ms-transform: translateY(-5px);
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
    }

    50% {
        -ms-transform: translateY(5px);
        -webkit-transform: translateY(5px);
        transform: translateY(5px);
    }

    100% {
        -ms-transform: translateY(-5px);
        -webkit-transform: translateY(-5px);
        transform: translateY(-5px);
    }
}

.q_box .chara img.attack {
    -webkit-animation: attack_chara 0.4s linear 0s 1 normal;
    animation: attack_chara 0.4s linear 0s 1 normal;
}

@-webkit-keyframes attack_chara {
    0% {
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -ms-transform: scale(0.9);
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }

    60% {
        -ms-transform: scale(1.1);
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    80% {
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    90% {
        -ms-transform: scale(1.1);
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    100% {
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

@keyframes attack_chara {
    0% {
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    50% {
        -ms-transform: scale(0.9);
        -webkit-transform: scale(0.9);
        transform: scale(0.9);
    }

    60% {
        -ms-transform: scale(1.1);
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    80% {
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }

    90% {
        -ms-transform: scale(1.1);
        -webkit-transform: scale(1.1);
        transform: scale(1.1);
    }

    100% {
        -ms-transform: scale(1);
        -webkit-transform: scale(1);
        transform: scale(1);
    }
}

/* form */
.contents.form {
    overflow: hidden;
}

.contents.form .contents_frame {
    position: absolute;
    width: 100%;
    left: 0;
    transform: translateX(100%);
    opacity: 0;
    transition: 0.5s ease;
}

.contents.form .contents_frame.on {
    transform: translateX(0);
    opacity: 1;
}

.contents.form .contents_frame.pre {
    transform: translateX(-100%);
    opacity: 0;
}

#content ul li .q_box .q_text.form_type.type2 .subject {
    padding: 55px 0 32px;
}

#content ul li .q_box .q_text.form_type.type1 .text {
    padding-bottom: 68px;
}

#content ul li .q_box .q_text.form_type.type2 .text {
    padding-bottom: 12px;
}

#content ul li .q_box .q_text.form_type .text:before {
    height: 0;
}

#content ul li .q_box .q_text.form_type .text input {
    display: inline-block;
    vertical-align: middle;

    width: 450px;
    height: 80px;
    border: 5px solid #6a3906;
    -ms-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin-left: 12px;
    padding: 0 20px;
    font-size: 50px;
    color: #6a3906;
    line-height: 1;

    background-color: #e4d0b5;
}

#content ul li .q_box .q_text.form_type .text select {
    display: inline-block;
    vertical-align: middle;

    width: 450px;
    height: 80px;
    border: 5px solid #6a3906;
    -ms-border-radius: 5px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    margin-left: 12px;
    padding: 0 20px;
    font-size: 30px;
    color: #6a3906;
    line-height: 1;

    background-color: #e4d0b5;
}

.content_top,
.content_bottom {
    line-height: 0;
}

.content_box {
    background-image: url("../images/bace/bg_txt_02.png");
    background-repeat: repeat;
    padding: 0 10px;
}

.content_box .privacy_policy {
    font-size: 24px;
    font-weight: bold;
    color: #6a3906;
    max-height: 360px;
    overflow-y: auto;
    padding: 0 20px;

    -ms-transform: translateY(100px);
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    opacity: 0;
    transition: 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) 0.5s;
}

.contents_frame.on ul li .content_box .privacy_policy {
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

.policy_btn {
    position: relative;
    width: 728px;
    margin: 0 auto;
    padding-top: 50px;
    padding-bottom: 70px;
}

.result_subject {
    font-size: 40px;
    font-weight: bold;
    color: #6a3906;

    -ms-transform: translateY(100px);
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    opacity: 0;
    transition: 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) 0.5s;
}

.contents_frame.on .result_subject {
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

.type_subject {
    font-size: 40px;
    font-weight: bold;
    color: #6a3906;
}

.form_submit_btn {
    height: 126px;

    -ms-transform: translateY(100px);
    -webkit-transform: translateY(100px);
    transform: translateY(100px);
    opacity: 0;
    transition: 0.5s cubic-bezier(0.39, 0.575, 0.565, 1) 0.5s;
}

.contents_frame.on .form_submit_btn {
    -ms-transform: translateY(0);
    -webkit-transform: translateY(0);
    transform: translateY(0);
    opacity: 1;
}

/* type */
#type_content .q_box {
    padding-top: 74px;
    padding-bottom: 30px;
}

#type_content .content_box {
    padding: 0;
}

#type_content .type_img {
    position: relative;
    height: 550px;
}

#type_content .description {
    padding-top: 45px;
    margin: 0 8px;
    background-color: #fff;
}

#type_content .description .d_subject {
    position: relative;
    padding-bottom: 24px;
}

#type_content .description .d_subject span {
    position: absolute;
    top: 0;
    left: 50px;
    width: 608px;
    padding: 25px 0;

    font-size: 30px;
    font-weight: bold;
    line-height: 1;
    color: #fff;
}

#type_content .description .point {
    padding: 0 28px 30px;
    text-align: left;
    color: #6a3906;
}

#type_content .description .point .p_subject {
    padding-bottom: 10px;
}

#type_content .description .point .p_subject img {
    display: inline-block;
    vertical-align: middle;
}

#type_content .description .point .p_subject span {
    display: inline-block;
    vertical-align: middle;
    font-size: 34px;
    font-weight: bold;
    margin-left: 5px;
}

#type_content .description .point ul {
    width: 100%;
}

#type_content .description .point ul li {
    font-size: 24px;
    font-weight: bold;
}

#type_content .description .point ul li.indent {
    padding-left: 1em;
    text-indent: -1em;
}

.content_bottom.back_white {
    position: relative;
}

.content_bottom.back_white:after {
    content: "";
    background-color: #fff;
    position: absolute;
    top: 0;
    left: 8px;
    width: 712px;
    height: 12px;
}

.sns_btn {
    padding-top: 40px;
    padding-bottom: 40px;
    display: table;
    width: 700px;
    margin: 0 auto;
}

.sns_btn>p {
    display: table-cell;
    width: 50%;
    text-align: center;
}

.sns_btn>p a {
    position: relative;
    display: inline-block;
    text-align: center;
    width: 336px;
    height: 126px;
}

#type_content .result_text {
    font-size: 28px;
    color: #6a3906;
    font-weight: bold;
    padding: 20px 46px;
    text-align: justify;
    text-justify: inter-ideograph;
}

.application_btn {
    padding-bottom: 70px;
}

.application_btn a {
    display: inline-block;
}


/* ボタン挙動 */
#btn p>a img,
.no_slide_btn p>a img {
    display: none;
    padding-bottom: 5px;
}

#btn p>a img.on,
.no_slide_btn p>a img.on {
    padding-bottom: 0;
}

#btn p>a img.def,
.no_slide_btn p>a img.def {
    display: inline-block;
}

#btn p>a.hover img.def,
.no_slide_btn p>a.hover img.def {
    display: none;
}

#btn p>a.hover img.ov,
.no_slide_btn p>a.hover img.ov {
    display: inline-block;
}

#btn p>a.hover img.on,
.no_slide_btn p>a.hover img.on {
    display: none;
}

#btn p>a.tap img.def,
.no_slide_btn p>a.tap img.def {
    display: none;
}

#btn p>a.tap img.ov,
.no_slide_btn p>a.tap img.ov {
    display: none;
}

#btn p>a.tap img.on,
.no_slide_btn p>a.tap img.on {
    display: inline-block;
}

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