@charset "utf-8";

/* =========================================
   1. 基本設定・リセット
   ========================================= */
html {
    font-size: 10px !important;
    height: 100%;
}

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

    html {
        font-size: 10px !important;
    }

    html.is-top {
        font-size: 1.3vw !important;
    }

    html.is-top body {
        width: 100%;
        overflow-x: hidden;
    }
}

body {
    background-color: #fff;
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;

    color: #333333;
    font-family: "YakuHanJP", 'Noto Sans JP', 游ゴシック体, 'Yu Gothic', YuGothic, 'ヒラギノ角ゴシック Pro', 'Hiragino Kaku Gothic Pro', メイリオ, Meiryo, Osaka, 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif;
    line-height: 1.8;
    letter-spacing: .07em;
    font-feature-settings: "palt";
    -webkit-text-size-adjust: none;
}

div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, form, fieldset, input, button, textarea, select, p, blockquote, th, td, article, aside, canvas, details, figcaption, figure, footer, header, hgroup, menu, nav, section, summary {
    margin: 0;
    padding: 0;
}

img {
    max-width: 100%;
    height: auto;
    vertical-align: middle;
    border: 0;
}

a {
    text-decoration: none;
    color: #333;
}

ul, ol {
    list-style: none;
}

/* フォーム要素 */
input, button, textarea, select {
    font-family: inherit;
    font-size: 1.8rem;
}

input[type="text"], input[type="email"], input[type="tel"] {
    height: 5rem;
    padding: .5rem 1rem;
    border: .3rem solid #dddddd;
    box-sizing: border-box;
    width: 100%;
}

textarea {
    padding: 1rem;
    border: .3rem solid #dddddd;
    box-sizing: border-box;
    width: 100%;
    vertical-align: top;
}

/* ★PC/SP共通の幅制限 */
header.l-header,
div.l-wrap,
section.c-company,
footer.c-footer-privacy {
    width: 100%;
    max-width: 64rem;
}

/* =========================================
   2. ヘッダー
   ========================================= */
header.l-header {
    height: auto;
    padding: 1.5rem 0;
    display: flex;
    justify-content: center;
    background-color: #fff;
    margin: 0 auto;
}

header.l-header img {
    width: auto;
    height: 4.5rem;
}

/* =========================================
   3. メインエリア（コンテンツ）
   ========================================= */
div.l-wrap {
    background-color: #eef6fa;
    flex: 1;
    display: flex;
    flex-direction: column;
}

section.c-company {
    background-color: #fff;
    flex: 1;
    padding: 0 0rem;
    font-size: 1.6rem;
}

/* =========================================
   4. フッター
   ========================================= */
.c-footer-privacy {
    background-color: #023386;
    color: #ffffff;
    padding: 4rem 0;
    margin-top: auto;
}

.c-footer-privacy__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
}

.c-footer-privacy__link,
.c-footer-privacy__copy {
    width: 100%;
    text-align: center !important;
}

.c-footer-privacy__link {
    margin-bottom: 0.5rem;
}

.c-footer-privacy__link a {
    color: #ffffff;
    font-size: 1.6rem;
    font-weight: bold;
    display: inline-block;
}

.c-footer-privacy__copy small {
    font-size: 1.2rem;
    opacity: 0.8;
    display: block;
}

/* =========================================
   5. 診断ページの中身
   ========================================= */
main.l-main {
    background-color: #fff;
    border-radius: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding-top: 4rem;
    width: 92%;
    margin: 3rem auto 5rem;
    max-width: 60rem;
}

main.l-main h1 {
    margin: 0 0 2.8rem;
}

main.l-main h1 img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
}

.fv_wrap {
    text-align: center;
    margin: 0;
    padding: 0;
}

.fv_wrap.hidden {
    display: none;
}

.main_header {
    display: none;
    text-align: center;
    margin-bottom: 2.8rem;
}

.main_header.active {
    display: block;
}

.fv_pc, .debt_pc {
    display: none !important;
}

.fv_sp, .debt_sp {
    display: inline-block !important;
}

.number_list {
    display: flex;
    gap: 1.4rem;
    justify-content: center;
    margin: 0 0 2rem;
}

.number_list li {
    width: 7.4rem;
    height: 3.3rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid .4rem #c1c1c1;
    border-radius: 10rem;
    padding: 0 0 .4rem;
}

.number_list span {
    height: 2.4rem;
    color: #c1c1c1;
    font-size: 2rem;
    font-weight: 600;
    line-height: 2.4rem;
}

.number_list li.active {
    background-color: #023386;
    border: solid .4rem #023386;
}

.number_list li.active span {
    color: #fff;
}

.number_list+p {
    color: #333;
    font-size: 1.8rem;
    text-align: center;
    margin: 0 0rem;
}

.section_wrap {
    width: 100%;
    padding: 0 4rem 7.3rem;
    box-sizing: border-box;
    display: none;
    margin: 0 auto;
}

.section_wrap.active {
    display: block;
}

.section_wrap h2 {
    width: 100%;
    color: #333;
    font-size: 2rem;
    font-weight: 500;
    padding: 3.4rem 0 0;
    margin: 0 auto 4.4rem;
    position: relative;
    font-weight: 00;
    text-align: center;
}

.section_wrap h2::after {
    content: "";
    width: 100%;
    height: .5rem;
    background-image: radial-gradient(#b0c4de 2px, transparent 2px);
    background-position: left top;
    background-repeat: repeat-x;
    background-size: .5rem .5rem;
    position: absolute;
    top: -0.5rem;
    left: 0;
}

.section_wrap h2 span {
    width: 6.7rem;
    display: inline-flex;
    justify-content: center;
    background-color: #023386;
    border-radius: 10rem;
    color: #fff;
    font-weight: 600;
    margin: 0 1.4rem 0 0;
}

.question_wrap {
    width: 100%;
    margin: 0 auto 4.8rem;
}

.question_wrap ul.question_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 2.5rem;
    justify-content: center;
}

.question_wrap .question_list li {
    position: relative;
    width: calc(50% - 1.25rem);
}

.question_wrap .question_list li::after {
    content: "";
    width: 100%;
    height: 100%;
    display: block;
    background-color: #a8a8a8;
    border-radius: 100px;
    position: absolute;
    bottom: -.8rem;
    left: 0;
}

.question_wrap .question_list li label {
    width: 100%;
    height: 9rem;
    line-height: 9rem;
    display: block;
    background-color: #c1c1c1;
    border-radius: 100px;
    color: #fff;
    font-size: 2.8rem;
    font-weight: 500;
    text-align: center;
    position: relative;
    z-index: 10;
    cursor: pointer;
}

.question_wrap .question_list li input[type="radio"] {
    display: none;
}

.question_wrap .question_list li label:has(input[type="radio"]:checked) {
    background: linear-gradient(92.01deg, #f1cb1a 0, #eb8c2a 100%);
}

.question_wrap .question_list li:has(label input[type="radio"]:checked)::after {
    background-color: #db6914;
}

button.nextBtn {
    width: 35.5rem;
    max-width: 100%;
    height: 8.3rem;
    display: block;
    background: linear-gradient(92.01deg, #f1cb1a 0, #eb8c2a 100%);
    border: none;
    border-radius: 5rem;
    box-shadow: 0 6px 0 0 #db6914;
    color: #fff;
    font-size: 2.6rem;
    font-weight: 600;
    text-align: center;
    letter-spacing: .16em;
    margin: 0 auto;
    z-index: 20;
    cursor: pointer;
}

button.nextBtn:disabled {
    background-image: linear-gradient(0deg, #c3c3c3, #ededed);
    box-shadow: 0 .6rem 0 0 rgba(117, 117, 117, 1);
    color: #333;
    cursor: default;
}

.section_wrap:nth-last-of-type(1) .question_wrap {
    max-width: 88.7rem;
}

.section_wrap:nth-last-of-type(1) .question_wrap>dl {
    display: flex;
    border-bottom: solid .2rem #ddd;
    align-items: center;
    padding: 2.6rem 0;
}

.section_wrap:nth-last-of-type(1) .question_wrap>dl dt {
    width: 28.2rem;
    height: 5rem;
    display: flex;
    flex-direction: row-reverse;
    justify-content: space-between;
    font-size: 2rem;
    align-items: center;
    font-weight: bold;
    padding: 0 2rem 0 0;
}

.section_wrap:nth-last-of-type(1) .question_wrap>dl dd {
    width: calc(100% - 28.2rem);
    border-left: solid .2rem #dddddd;
    padding: 0 0 0 2.2rem;
}

.section_wrap:nth-last-of-type(1) .question_wrap>dl dd input, .section_wrap:nth-last-of-type(1) .question_wrap>dl dd textarea {
    width: 100%;
}

.section_wrap:nth-last-of-type(1) .question_wrap>dl.required dt {
    position: relative;
}

.section_wrap:nth-last-of-type(1) .question_wrap>dl dt::before {
    content: "任意";
    width: 3.4rem;
    height: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #999;
    border-radius: .5rem;
    color: #fff;
    font-size: 1.2rem;
}

.section_wrap:nth-last-of-type(1) .question_wrap>dl.required dt::before {
    content: "必須";
    background-color: #df2514;
    color: #fff;
}

.section_wrap:nth-last-of-type(1) .question_wrap>dl:nth-last-of-type(1) {
    margin: 0 0 3rem;
}

.section_wrap:nth-last-of-type(1) .question_wrap>dl:nth-last-of-type(1)+p label {
    width: 100%;
    display: flex;
    justify-content: center;
    gap: .5rem;
    font-size: 2.2rem;
    font-weight: bold;
}

.section_wrap:nth-last-of-type(1) .question_wrap .privacy {
    height: 14rem;
    font-size: 1.6rem;
    line-height: 1.7;
    padding: 2rem;
    border: solid .2rem #ccc;
    background-color: #fafafa;
    overflow-y: scroll;
    box-sizing: border-box;
}

.section_wrap:nth-last-of-type(1) .privacy h3, .section_wrap:nth-last-of-type(1) .privacy h4 {
    font-weight: 700;
    margin: 0 0 .5rem;
}

.section_wrap:nth-last-of-type(1) .privacy h4+p {
    margin: 0 0 1rem;
}

.section_wrap:nth-last-of-type(1) .privacy dl {
    margin: 0 0 1rem;
}

.section_wrap:nth-last-of-type(1) .privacy dl dt {
    font-weight: 700;
}

.section_wrap:nth-last-of-type(1) button.nextBtn {
    letter-spacing: .12em;
}

.section_wrap:nth-last-of-type(1) select {
    height: 6.2rem;
    padding: 0 1.5rem;
    border: 0.3rem solid #dddddd;
    border-radius: 0.8rem;
    background-color: #fff;
    box-shadow: inset 0 0.4rem 0.6rem rgba(0, 0, 0, 0.08);
    font-size: 2rem;
}

.section_wrap:nth-last-of-type(1) textarea {
    min-height: 16rem;
    resize: vertical;
    font-size: 1.8rem;
}

.section_wrap h2,
.question_wrap {
    margin-top: 1.6rem;
}

.question_lead {
    margin-top: 1rem;
}

/* -------------------------------------
Thanksページ（完了画面）
------------------------------------- */
.p-thanks-content {
    width: 100%;
    max-width: 80rem;
    margin: 6rem auto 10rem;
    text-align: center;
}

.p-thanks-lead {
    font-size: 3.2rem;
    font-weight: bold;
    color: #023386;
    line-height: 1.6;
    margin-bottom: 3rem;
    text-align: center;
}

.p-thanks-text {
    font-size: 1.8rem;
    line-height: 2;
    margin-bottom: 5rem;
    text-align: center;
}

.p-thanks-content .back_btn {
    margin-top: 0;
}

.back_btn {
    margin-top: 4rem;
}

.back_btn a {
    width: 24rem;
    max-width: 100%;
    height: 5.4rem;
    display: block;
    background-image: linear-gradient(0deg, #eb3524, #ee5447);
    border: none;
    border-radius: 5rem;
    box-shadow: 0 .4rem 0 0 rgba(158, 24, 12, 1);
    color: #fff;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 5.4rem;
    text-align: center;
    letter-spacing: .16em;
    margin: 0 auto;
    transition: opacity 0.3s;
    z-index: 20;
}

.back_btn a:hover {
    opacity: 0.8;
}

.sp_only {
    display: none;
}

@media screen and (max-width: 999px) {
    .p-thanks-content {
        margin: 2rem auto 2rem;
        padding: 0 2rem;
        box-sizing: border-box;
    }

    .p-thanks-lead {
        font-size: 2.4rem;
        margin-bottom: 2rem;
    }

    .p-thanks-text {
        font-size: 1.5rem;
        line-height: 1.8;
        margin-bottom: 2rem;
    }

    .sp_only {
        display: inline;
    }
}

/* =========================================
   6. プライバシーポリシー用スタイル
   ========================================= */
.c-company__inner {
    width: 100%;
    padding: 0 2rem;
    box-sizing: border-box;
}

.c-company__logo-wrapper.center {
    text-align: center;
    margin-bottom: 4rem;
    margin-top: 2rem;
}

.c-company__logo {
    max-width: 20rem;
    height: auto;
}

.c-privacy-banner {
    width: 100%;
    background-image: url('../images/00back-sp.jpg');
    background-position: center center;
    background-size: cover;
    background-repeat: no-repeat;
    border-radius: 1rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.c-privacy-banner__inner {
    padding: 6rem 2rem;
    text-align: center;
    background-color: rgba(255, 255, 255, 0.3);
}

.c-privacy-banner__ttl .en {
    display: block;
    font-family: "Times New Roman", serif;
    font-size: 4.2rem;
    color: #023386;
    letter-spacing: 0.05em;
    margin-bottom: 1rem;
}

.c-privacy-banner__ttl .ja {
    display: block;
    font-size: 1.6rem;
    color: #bf9f62;
    letter-spacing: 0.1em;
    font-weight: bold;
}

.c-company__privacy-ttl {
    font-size: 2.4rem;
    color: #023386;
    border-bottom: 2px solid #023386;
    padding-bottom: 1rem;
    margin-bottom: 3rem;
    margin-top: 5rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.c-table-style01 {
    width: 100%;
    margin: 0 0 5rem 0;
    border-top: 1px solid #e0e0e0;
}

.c-table-style01 dl {
    display: flex;
    flex-wrap: wrap;
    border-bottom: 1px solid #e0e0e0;
}

.c-table-style01 dt {
    width: 25%;
    padding: 1.5rem 2rem;
    background-color: #f7f9fc;
    font-weight: bold;
    color: #023386;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.c-table-style01 dd {
    width: 75%;
    flex: 1;
    padding: 1.5rem 2rem;
    display: flex;
    align-items: center;
    font-size: 1.5rem;
}

.c-company__privacy-content-inner {
    padding: 1rem 0;
}

.c-company__privacy-content-inner .sec {
    margin-bottom: 4rem;
}

.c-company__privacy-content-inner .sec .ttl {
    font-size: 1.8rem;
    color: #023386;
    margin-bottom: 1.5rem;
    padding-left: 1.2rem;
    border-left: 0.5rem solid #023386;
    font-weight: bold;
    line-height: 1.4;
}

.c-company__privacy-content-inner .txt01 {
    font-size: 1.5rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    text-align: justify;
}

.c-company__privacy-content-inner .txt01 strong {
    display: block;
    margin-bottom: 0.5rem;
    color: #023386;
    font-weight: bold;
}

.c-company__privacy-content-inner .list {
    margin: 1rem 0 2rem;
    padding-left: 2rem;
}

.c-company__privacy-content-inner .list li {
    margin-bottom: 0.8rem;
    list-style-type: disc;
    font-size: 1.5rem;
}


/* =========================================
   7. SP用レイアウト調整 (max-width: 999px)
   ========================================= */
@media screen and (max-width:999px) {

    /* 共通: ヘッダー */
    header.l-header {
        padding: 1.5rem 0;
    }

    /* 共通: バナー */
    .outer-header-wrap {
        width: 100%;
        margin: 0;
        padding: 0;
    }

    .outer-header-wrap img {
        width: 100%;
        display: block;
    }

    footer.c-footer-privacy {
        max-width: 100%;
    }

    html.is-top header.l-header img {
        height: auto;
        width: 50%;
        max-width: 32rem;
    }

    html.is-top div.l-wrap,
    html.is-top main.l-main {
        max-width: 100%;
        width: 92%;
        margin: 3rem auto 5rem;
        border-radius: 2rem;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    html.is-top div.l-wrap {
        width: 100%;
        margin: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .number_list+p {
        width: 92.8%;
        font-size: 2.6rem;
        margin: 1rem auto;
        text-align: center;
    }

    .section_wrap {
        width: 100%;
        padding: 1rem 4% 7.3rem;
    }

    .section_wrap h2 {
        width: 100%;
        font-size: 2.8rem;
    }

    .section_wrap h2::after {
        height: 2rem;
        background-size: 2rem 2rem;
        bottom: -1rem;
    }

    .section_wrap h2 span {
        width: 7.8rem;
    }

    button.nextBtn {
        font-size: 2.6rem;
    }

    .section_wrap:nth-last-of-type(1) h2 {
        margin: 0 auto;
    }

    .section_wrap:nth-last-of-type(1) .question_wrap>dl {
        width: 87%;
        margin: 0 auto;
        flex-direction: column;
        padding: 3rem 0;
    }

    .section_wrap:nth-last-of-type(1) .question_wrap>dl dt {
        width: 100%;
        justify-content: center;
        font-size: 2.6rem;
        text-align: center;
        padding: 0;
        margin: 0 0 1.2rem;
        position: relative;
    }

    .section_wrap:nth-last-of-type(1) .question_wrap>dl dd {
        width: 100%;
        border-left: 0;
        padding: 0;
    }

    .section_wrap:nth-last-of-type(1) .question_wrap>dl dd input {
        height: 7rem;
        line-height: 7rem;
        padding: 0 1rem;
        font-size: 2.6rem;
    }

    .section_wrap:nth-last-of-type(1) .question_wrap>dl dt::before {
        width: 6.1rem;
        height: 3.8rem;
        font-size: 1.8rem;
        position: absolute;
        transform: translateY(-50%);
        top: 50%;
        right: 0;
    }

    .section_wrap:nth-last-of-type(1) .question_wrap>dl:nth-last-of-type(1) {
        margin: 0 auto;
    }

    .section_wrap:nth-last-of-type(1) .question_wrap>dl:nth-last-of-type(1)+p label {
        font-size: 2.6rem;
        padding: 5rem 0 0;
    }

    .section_wrap:nth-last-of-type(1) .question_wrap .privacy {
        width: 87%;
        font-size: 1.8rem;
        margin: 4rem auto 0;
    }

    .sp_only {
        display: inline;
    }

    .thanks h2 {
        font-size: 3.2rem;
        line-height: 1.4;
        margin-bottom: 2rem;
    }

    .thanks h2+p {
        width: 100%;
        font-size: 1.8rem;
        line-height: 1.6;
        margin-bottom: 4rem;
    }

    /* --- プライバシーポリシー用SP調整 --- */
    .c-company__inner {
        width: 100%;
        padding: 0 4%;
    }

    .c-company__logo-wrapper.center {
        margin-top: 1rem;
        margin-bottom: 2rem;
    }

    .c-company__logo {
        max-width: 55%;
    }

    .c-privacy-banner__inner {
        padding: 2rem 1.5rem;
    }

    .c-privacy-banner__ttl .en {
        font-size: 2.8rem;
    }

    .c-privacy-banner__ttl .ja {
        font-size: 1.3rem;
    }

    .c-company__privacy-ttl {
        font-size: 2rem;
        margin-top: 4rem;
        margin-bottom: 2rem;
    }

    .c-table-style01 dl {
        display: block;
    }

    .c-table-style01 dt {
        width: 100%;
        padding: 1.5rem 1.5rem 0.5rem;
        background-color: transparent;
        font-size: 1.4rem;
    }

    .c-table-style01 dd {
        width: 100%;
        padding: 0.5rem 1.5rem 1.5rem;
        font-size: 1.4rem;
    }

    .c-company__privacy-content-inner .sec .ttl {
        font-size: 1.6rem;
        padding-left: 1rem;
        border-left-width: 0.4rem;
        margin-bottom: 1rem;
    }

    .c-company__privacy-content-inner .txt01 {
        font-size: 1.4rem;
    }

    .c-company__privacy-content-inner .list li {
        font-size: 1.4rem;
    }

    .c-footer-privacy {
        padding: 3rem 0;
    }
}


/* =========================================
   8. PC用レイアウト上書き設定 (768px～)
   ========================================= */
@media screen and (min-width: 768px) {

    header.l-header, main.l-main {
        zoom: 0.7;
    }

    header.l-header img {
        height: 5rem;
        width: auto;
    }

    .fv_sp, .debt_sp {
        display: none !important;
    }

    .fv_pc, .debt_pc {
        display: inline-block !important;
    }

    .outer-header-wrap img {
        width: 100%;
        vertical-align: bottom;
    }

    main.l-main {
        width: 94%;
        max-width: 80rem;
        margin: 4rem auto 8rem;
    }

    .section_wrap {
        width: 100%;
        padding: 0 4rem 7.3rem;
    }

    .section_wrap h2, .question_wrap {
        width: 100%;
        max-width: 100%;
    }
}

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

    .number_list li {
        width: 9rem;
        height: 5rem;
        border-width: .4rem;
        padding-bottom: .2rem;
    }

    .number_list span {
        height: 2.8rem;
        font-size: 2.2rem;
        line-height: 2.8rem;
    }
}

/* =========================================
   10. 追加調整（簡単3タップ画像）
   ========================================= */
.fv_step_img {
    text-align: center;
    width: 100%;
    margin: 0 auto 2rem;
    padding: 0 2rem;
    box-sizing: border-box;
}

.fv_step_img img {
    max-width: 100%;
    width: 40rem;
    height: auto;
    display: block;
    margin: 0 auto;
}

@media screen and (max-width: 999px) {
    .fv_step_img {
        margin-bottom: 1.5rem;
    }
}

.last-step {
    text-align: center;
    margin: 0px 0 5px;
    padding: 0px;
}

/* あと1STEP！ */
.last-step__label {
    position: relative;
    display: inline-block;
    font-size: 3.3rem;
    font-weight: 800;
    color: #f48222;
    margin-bottom: 5px;
    padding: 0 16px;
    z-index: 1;
    letter-spacing: 0.2em;

}

/* 「1」だけ大きく */
.last-step__label .step-num {
    font-size: 3em;
    font-weight: 900;
    line-height: 1;
    margin: 0 2px;
    position: relative;
}


/* 黄色マーカー */
.last-step__label::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 4px;
    transform: translateX(-50%);
    width: 100%;
    height: 0.6em;
    background: #ffff45;
    z-index: -1;
    border-radius: 4px;
}

/* 説明文 */
.last-step__lead {
    font-size: 3.5rem;
    font-weight: bold;
    line-height: 1.5;
    color: #023386;
    margin-bottom: 5px;
    text-align: center;
    letter-spacing: 0.06em;

}

/* 注意・安心文言 */
.last-step__note {
    font-size: 2.6rem;
    line-height: 1.6;
    color: #666;
    letter-spacing: 0.06em;

}

/* 強調部分（守秘義務・無料） */
.last-step__note strong {
    color: #f48222;
    font-weight: 600;
    letter-spacing: 0.06em;

}