/* ///////////////////////////////////////////////////////////

色設定追加

//////////////////////////////////////////////////////////// */
:root {
    --main-orange: #f78d43;
    --line-green: #2DB212;
    --grad-orange: linear-gradient(91.82deg, #fbad76 9.8%, #fa9b58 88.43%);
    --grad-green: linear-gradient(91.82deg, #63db4b 9.8%, #3acb1c 88.43%);
}

/* ////////////////////////////////////////////////////////////

ページ共通

/////////////////////////////////////////////////////////////*/
body.form .contents_wrap {
    padding: 10rem 0;
    max-width: 1100px;
    width: 95%;
}

/* .sp600{
    display: none;
}
@media screen and (max-width:600px) {
    .sp600{
    display: block;
}
} */

.sp-only {
    display: none;
}

@media (max-width: 960px) {
    .sp-only {
        display: block;
    }
}

/* ////////////////////////////////////////////////////////////

診断ページ

/////////////////////////////////////////////////////////////*/
.diag_catch-wrap {
    position: relative;
    font-size: 28px;
    overflow: hidden;
    padding-bottom: 80px;
}

.diag_catch {
    font-weight: 700;
    color: var(--main-black);
    word-break: keep-all;
    overflow-wrap: break-word;
}

.diag_subcatch {
    font-weight: 500;
    color: var(--main-black)
}

.diag_subcatch::before,
.diag_subcatch::after {
    content: "";
    display: inline-block;
    width: 2px;
    height: 1.2em;
    vertical-align: middle;
    background-color: var(--main-black);
}

.diag_subcatch::before {
    transform: rotate(-20deg);
    margin-right: 0.5em;
}

.diag_subcatch::after {
    transform: rotate(20deg);
    margin-left: 0.5em;
}

.diag_catch .under-line {
    background: linear-gradient(transparent 70%, #C4DFFF 70%);
    display: inline-block;
}

.diag_catch .blue_text {
    color: var(--main-blue);
    font-size: 34px;
}

.catch_img {
    position: absolute;
    bottom: 0;
    left: -5%;
    z-index: -1;
    width: 35%;
    max-width: 400px;
}

@media screen and (max-width:960px) {
    .diag_catch-wrap {
        font-size: clamp(0.9375rem, 0.6148rem + 1.4754vw, 1.5rem);
        padding-bottom: 60px;
    }

    .catch_img {
        min-width: 130px;
        left: -7%;
    }
}

@media (max-width: 433px) {
    .diag_catch .under-line {
        background: linear-gradient(transparent 50%, #C4DFFF 50%);
        display: inline;
    }
}
@media (max-width: 430px) {
    img.form_center {
        width: 100%;
    }
}

/* ////////////////////////////////////////////////////////////

診断フォーム

/////////////////////////////////////////////////////////////*/
.form_white_wrap {
    padding: 80px 186px;
}

.formImp.harf input,
.formImp.harf select {
    width: 100%;
}

.formImp.select::after {
    right: 3%;
}

.formBtn {
    margin-top: 60px;
}

@media (max-width: 960px) {
    .form_white_wrap {
        padding: 60px 16px;
    }

    .formBtn {
        margin-top: 40px;
    }
}

/* ////////////////////////////////////////////////////////////

診断結果ページ

/////////////////////////////////////////////////////////////*/
/* 結果ページ共通 */
.result_box {
    width: 80%;
    max-width: 980px;
    margin: 0 auto 130px;
    padding: 60px 0;
    background: linear-gradient(91.82deg, #306CC3 9.8%, #0B3E9E 88.43%);
    font-size: 24px;
    font-weight: bold;
    color: #fff;
}

.result_box .bg {
    font-size: 2em;
    margin: 0 0.3em;
}

.txt_wrap .txt {
    font-size: 24px;
    font-weight: bold;
    vertical-align: middle;
    word-break: keep-all;
    overflow-wrap: break-word;
}

.txt_wrap .txt img {
    display: inline-block;
    max-width: 260px;
    width: 40%;
    margin-right: 5px;
}

.txt_wrap .txt .result_marker {
    background: linear-gradient(transparent 70%, #C4DFFF 70%);
    display: inline-block;
    margin: 0.4em auto 0.6em;
}

.txt_wrap .txt .result_marker .blue {
    font-size: 1.3em;
    color: var(--main-blue);
    margin: 0 5px;
}

.txt_wrap .txt .result_marker .blue .bg {
    font-size: 1.88em;
    line-height: 1;
    color: var(--main-orange);
    margin: 0 5px;
}

.to_mail {
    margin: 80px auto 0;
    padding: 10px 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40%;
    min-width: 300px;
    height: 56px;
    background: var(--main-orange);
    border-radius: 5px;
    transition: .4s ease;
    position: relative;
    z-index: 1;
    font-weight: bold;
    color: #fff;
}

.to_mail::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--grad-orange);
    transition: opacity .4s;
    opacity: 0;
    z-index: -1;
}

.to_mail::after {
    position: absolute;
    top: 50%;
    right: 7%;
    transform: translateY(-50%) rotate(45deg);
    z-index: 1;
    width: 8px;
    height: 8px;
    content: '';
    border-top: solid 2px var(--main-white);
    border-right: solid 2px var(--main-white);
}

@media (any-hover: hover) {
    .to_mail:hover::before {
        opacity: 1;
    }
}

@media screen and (max-width:960px) {
    body.form .contents_wrap {
        padding: 7rem 0;
    }

    .result_box {
        margin-bottom: 60px;
    }

    .to_mail {
        width: 60%;
        margin-top: 60px;
    }
}

@media screen and (max-width:600px) {
    .result_box {
        width: 90%;
        font-size: clamp(1.125rem, 0.6rem + 2.4vw, 1.5rem);
    }

    .txt_wrap .txt {
        font-size: clamp(0.875rem, 0rem + 4vw, 1.5rem);
    }
}

/* .result_list */
.result_list {
    margin: 30px auto 80px;
    padding: 15px 40px;
    width: 70%;
    max-width: 820px;
}

.result_list li p {
    display: flex;
}

.result_list .ttl {
    width: 9em;
    text-align: end;
    font-weight: bold;
}

.result_list .arrow {
    width: 2em;
    text-align: center;
}

.result_list .txt {
    flex: 1;
    font-weight: 400;
}

@media screen and (max-width:960px) {
    .result_list {
        width: 90%;
    }
}

@media screen and (max-width:600px) {
    .result_list {
        width: 100%;
        padding: 15px 3%;
    }

    .result_list li p {
        display: block;
    }

    .result_list .ttl {
        display: inline;
    }
}

/* result_2.php */
.txt_wrap .txt img.cashN {
    max-width: 220px;
    margin-left: 5px;
}

.result_list.cashN {
    background-color: #FBF7EF;
}

.cashN_green {
    color: #69BA00;
}

.to_mail.cashN {
    background-color: #69BA00;
}

.to_mail.cashN::before {
    background: #80d115;
}