.resultBody__inner, .body__inner {
    max-width: 100%;
}


.header__inner--image img {
    vertical-align: bottom;
}


.result-maintitle__inner {
    display: none;
}


main.topmain {
    padding: 0 20px 20px;
}


.resultmain {
    padding-bottom: 30px;
    color: #3A3A3A;
}


.result__inner {
    padding: 0 !important;
}


.resultcontents_box {
    width: 94%;
    margin: 15px auto 30px;
}


.resultcontents_inner {
    margin-bottom: 20px;
    background: #fff;
    padding: 0;
    border-radius: 2px;
    border: 3px solid;
    box-shadow: 1px 1px 0 0 #000;
}


.resultmain_box {
    width: 94%;
    margin: 20px auto 30px;
}


.resultmain_inner {
    background: #3A3A3A;
    border: 3px solid #3A3A3A;
    color: #fff;
    box-sizing: border-box;
}


span.resultmain_title_sub {
    display: block;
    font-weight: normal;
    font-size: clamp(14px, 3vw, 16px);
}


.resultmain_title {
    line-height: 1.3;
    font-size: clamp(24px, 6vw, 28px);
    font-weight: bold;
    text-align: center;
    margin-bottom: 20px;
}


.resultmain_koumokutitle {
    text-align: center;
    border-top: 1px solid;
    border-bottom: 1px solid;
    padding: 2px;
    margin-bottom: 15px;
    font-size: clamp(14px, 3vw, 16px);
    font-weight: bold;
}


.result_koumokutxt ul {
    padding: 0 0 0 30px;
}


.result_koumokutitle {
    font-weight: bold;
    text-align: center;
    font-size: 18px;
    line-height: 1.3;
    margin: 10px 0 !important;
    border-bottom: 1px solid;
    padding-bottom: 10px;
}


.result_koumokutitle_st {
    display: block;
}


.result_koumokutitle2 {
    font-weight: bold;
    font-size: 20px;
    text-align: center;
    margin-bottom: 10px !important;
}


.answer__item--href,
button#postsubmit,
.preview_loop, .loop {
    background: #e5e5e5;
    border: 4px solid #ffffff;
    border-radius: 4px;
    box-shadow: 0px 0px 0 2px #3A3A3A;
    color: #3A3A3A;
    font-size: clamp(13px, 4vw, 15px);
    font-weight: bold;
}


div#form_render {
    width: 94%;
    margin: 15px auto 30px;
}


label.formbuilder-text-label {
    font-weight: bold !important;
}


.redirect_share_group {
    width: 94%;
    margin: 15px auto 30px;
}


.follow_buttonlist {
    display: flex;
    justify-content: center;
}


.follow_button {
    width: 24px;
    margin: 0 8px;
}


.follow_title {
    font-weight: bold;
    text-align: center;
    margin-bottom: 12px;
    font-size: 12px;
}


.follow_title:before {
    content: "＼";
    font-size: 10px;
    margin-right: 4px;
}


.follow_title:after {
    content: "／";
    font-size: 10px;
}


.follow_buttonbox {
    background: #ffffff;
    width: 60%;
    margin: 30px auto 20px;
    padding: 10px 0;
    border-radius: 4px;
    border: 3px solid;
}

.preview_loop, .loop {
    padding: 8px;
}

.preview_loop:before, .loop:before {
    position: relative;
    margin-right: 4px;
    left: 0 !important;
}

div#back {
    background: #000;
    color: #fff;
    border-radius: 4px;
    padding: 5px 0 5px 5px;
}


.backbtn:before {
    border-top: 3px solid #ffffff;
    border-right: 3px solid #ffffff;
}


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


.answer.answerbox {
    padding: 0 0;
}


}

/* ボタン共通 */
.answer__item--href,
button#postsubmit,
.preview_loop,
.loop {
    background: #e5e5e5;
    border: 4px solid #ffffff;
    border-radius: 4px;
    box-shadow: 0px 0px 0 2px #3A3A3A;
    color: #3A3A3A;
    font-size: clamp(13px, 4vw, 15px);
}

/* 2択問題の1番目（A） */
.answerbox:has(.answer__item:nth-child(2):last-child)
.answer__item:first-child .answer__item--href {
    background: #FC5454 !important;
    color: #fff !important;
}

/* 2択問題の2番目（B） */
.answerbox:has(.answer__item:nth-child(2):last-child)
.answer__item:nth-child(2) .answer__item--href {
    background: #4EE353 !important;
    color: #fff !important;
}

h1.q-part {
    margin: 20px auto;
}

.top__itemImage--outer {
    margin-bottom: 0;
}

.header__inner--image {
    display: none;
}

.result01 span.resultmain_title_sub2,
.result02 span.resultmain_title_sub2,
.result03 span.resultmain_title_sub2,
.result04 span.resultmain_title_sub2,
.result05 span.resultmain_title_sub2 {
    font-size: clamp(13px, 2.5vw, 15px);
    vertical-align: middle;
    color: #ffffff;
    padding: 2px 8px;
    margin-left: 8px;
    border-radius: 6px;
}

.result01 span.resultmain_title_sub2 {
    background: #00a6ff;
}

.result02 span.resultmain_title_sub2 {
    background: #00CCBB;
}

.result03 span.resultmain_title_sub2 {
    background: #1ADD20;
}

.result04 span.resultmain_title_sub2 {
    background: #FF0073;
}

.result05 span.resultmain_title_sub2 {
    background: #FF0004;
}

.result_koumokutxt {
    padding: 15px;
    text-align: center;
    font-weight: bold;
}

.result_koumokutxt .why {
    text-align: left;
    font-weight: normal;
}

.resultmain_inner.resultcontents_inner {
    background: #fff;
    color: #000;
}

.resultmain_title {
    margin: 20px 0;
}

.resultmain_koumokutxt {
    padding: 10px 20px;
}

.resultmain_koumokutitle {
    margin-bottom: 0;
}

.result01,
.result02,
.result03,
.result04,
.result05 {
    background: #ffe8c9;
    padding-bottom: 20px;
}

.result_koumokutitle {
    margin: 0 !important;
    padding: 10px 0 8px;
    background: #e4e4e4;
}
