@charset "utf-8";
/* CSS Document */

@import url("https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;700&display=swap");
body {
    font-family: "Noto Sans JP", sans-serif;
    position: relative;
    min-height: 800px;
    height: 100vh;
    background: linear-gradient(#b0d0ff, #ffabe1);
    background: -moz-linear-gradient(left, #b0d0ff, #ffabe1);
    background: -webkit-linear-gradient(left, #b0d0ff, #ffabe1);
    background: linear-gradient(to right, #b0d0ff, #ffabe1);
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 1rem;
}

/*フォントサイズ*/
h2 {
    font-size: 30px;
}

.font-size20 {
    font-size: 20px;
}

.fit {
    position: relative;
}

.chart-tittle {
    width: 320px;
    height: 124px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    text-align: center;
    margin: 0 auto;
    position: relative;
}
.chart-tittle h2,
.chart-tittle p {
    position: relative;
    z-index: 1;
}

.chart-tittle:before {
    content: "";
    background-color: #fff;
    position: absolute;
    width: 320px;
    height: 124px;
    z-index: 0;
    bottom: 3px;
    right: 3px;
}
.chart-tittle:after {
    content: "";
    position: absolute;
    width: 320px;
    height: 124px;
    z-index: 0;
    top: 3px;
    left: 3px;
    border: 1px solid #000;
}
@media screen and (max-width: 768px) {
    .chart-tittle {
        width: 280px;
        height: 100px;
    }
    .chart-tittle:before {
        width: 280px;
        height: 100px;
    }
    .chart-tittle:after {
        width: 280px;
        height: 100px;
    }
    h2 {
        font-size: 24px;
    }
    .font-size20 {
        font-size: 16px;
    }
}
.count {
    display: flex;
    justify-content: center;
    margin-top: 20px;
}
.sec1 {
    display: inline-block;
    height: auto;
    margin: 0 auto;
    color: #fff;
    position: relative;
}

.sec1 ol {
    display: inline-block;
    margin: 0 auto;
    float: left;
    margin-left: -30px;
    list-style-type: none;
}

.count_n {
    font-size: 40px;
    display: none;
    font-family: din-2014-narrow, sans-serif;
    font-weight: 600;
    font-style: normal;
}

.small {
    float: left;
    font-size: 20px;
    margin-top: 20px;
    font-family: din-2014-narrow, sans-serif;
    font-weight: 600;
    font-style: normal;
}

/*チャート問題*/
.q_number {
    font-size: 36px;
    color: #fff;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    align-content: flex-end;
    font-weight: 600;
    margin-top: 15px;
}
.q_number span {
    font-size: 24px;
    padding-top: 8px;
    font-weight: 900;
}

.button-content {
    display: flex;
    width: 100%;
    padding: 10px 0 50px;
}
.q_text {
    font-size: 24px;
    color: #fff;
    text-align: center;
    margin: 24px auto;
}

.q_answer {
    display: flex;
    list-style: none;
    padding: 0;
    justify-content: center;
}
.q_answer li {
    margin: 0 15px;
    text-align: center;
    font-size: 16px;
}
.q_answer li p {
    margin: 0;
    height: 50px;
    padding-top: 10px;
    align-content: center;
}
.q_answer div {
    background-color: #fff;
    width: 250px;
    height: 250px;
}

.to-top {
    text-align: right;
    margin-bottom: 2rem;
    font-size: 14px;
    position: relative;
    z-index: 2;
}

.to-top a {
    color: #000000;
}

@media screen and (max-width: 768px) {
    .q_answer li {
        margin: 0 5px;
        font-size: 14px;
        width: 150px;
    }
    .font-s {
        font-size: 15px;
    }
    .button-content {
        display: flex;
        width: 100%;
        padding: 0px 0 50px;
    }
    .q_text {
        margin: 10px auto;
    }
}
/*画像サイズ*/
.btn img {
    width: 160px;
    height: auto;
}
@media screen and (max-width: 768px) {
    .btn img {
        width: 150px;
    }
}
/*結果*/
.result-title {
    width: 320px;
    height: 230px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-content: center;
    text-align: center;
    margin: 100px auto;
    position: relative;
}
.result-title h2,
.result-title p,
.result-title a {
    position: relative;
    z-index: 1;
}
.result_s {
    font-weight: Medium;
    position: relative;
    font-size: 20px;
    margin-bottom: 0px;
}
.result_s:before {
    position: absolute;
    content: "";
    width: 1px;
    height: 20px;
    background: #000;
    bottom: 3px;
    left: 60px;
    transform: rotate(-35deg);
}
.result_s:after {
    position: absolute;
    content: "";
    width: 1px;
    height: 20px;
    background: #000;
    bottom: 3px;
    right: 60px;
    transform: rotate(35deg);
}
.result_m {
    margin-top: 10px;
    font-weight: Medium;
    font-size: 30px;
}
.result_m span {
    font-size: 36px;
    position: relative;
}
.result_m span:before {
    z-index: -1;
    position: absolute;
    content: "";
    width: 100px;
    height: 10px;
    background: #ffe381;
    bottom: 10px;
    left: 5px;
}

.result-title:before {
    content: "";
    background-color: #fff;
    position: absolute;
    width: 320px;
    height: 230px;
    z-index: 0;
    bottom: 3px;
    right: 3px;
}
.result-title:after {
    content: "";
    position: absolute;
    width: 320px;
    height: 230px;
    z-index: 0;
    top: 3px;
    left: 3px;
    border: 1px solid #000;
}
.next-b {
    background: #ff8977;
    color: #fff;
    padding: 12px 40px;
    text-decoration: none;
}
.next-b:after {
    position: absolute;
    width: 6px;
    height: 6px;
    content: "";
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    right: 10px;
    top: 18px;
    display: inline-block;
}

footer {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #000;
    color: #fff;
    text-align: center;
    height: 50px;
    display: flex;
    align-content: center;
}
footer p {
    display: inline-block;
    margin: auto auto;
    font-size: 14px;
}
@media screen and (max-width: 500px) {
    footer p {
        font-size: 12px;
    }
}



.go-back {
    text-align: center;
    padding: 12px 50px;
    border: 1px solid #000;
    position: relative;
    color: #000;
    text-decoration: none;
    margin: 0 auto;
    display: inline-block;
    transition: all 0.5s;
    background-color: transparent;
}
.go-back:hover {
    background-color: #000;
    color: #fff;
    cursor: pointer;
}
.go-back:hover:after {
    border-top: 1px solid #fff;
    border-right: 1px solid #fff;
}

.go-back:after {
    position: absolute;
    width: 6px;
    height: 6px;
    content: "";
    border-top: 1px solid #000;
    border-right: 1px solid #000;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    right: 8px;
    top: 18px;
    display: inline-block;
}