.pcOnly {
    display: block;
}
.spOnly {
    display: none;
}


#main {
    .h2_ttl {
        font-family: "ヒラギノ明朝 Pro W3", "HiraMinPro-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
        background: #a6954f;
        color: white;
        text-align: center;
        font-size: 26px;
        letter-spacing: 0.45rem;
        font-weight: lighter;
        margin-bottom: 1.2rem;
        margin-top: 2rem;
    }

    .benefitplanbody {
        .sub_h {
            font-size: 18px;
            font-weight: bold;
            color: #353535;
            text-align: center;
            .sub_s {
                color: #DB2029;
                font-weight: bold;
                font-size: 28px;
                width: 100%;
                display: inline-block;
                line-height: 1;
                margin-top: 10px;
                .s_large {
                    font-size: 36px;
                }
            }
        }
        /* .lede {
            margin-top: 1.5rem;
        } */
        .notice-balloon {
            width: 100%;
            max-width: 700px;
            margin: 0 0 1em 1.9em;
            position: relative;
            display: flex;
            align-items: center;
            gap: 18px;
            width: fit-content;
            background: #e5f4ff;
            border: 2px solid #DB2029;
            border-radius: 4px;
            font-family: sans-serif;
            box-sizing: border-box;
            padding: 10px 14px;
            margin-left: 2.4rem;
            color: #626262;
            transform: translateY(10px);
        }

        /* 吹き出しの赤い外枠部分 */
        .notice-balloon::before {
            content: "";
            position: absolute;
            right: 132px;
            bottom: -22px;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 22px 22px 0 0;
            border-color: #DB2029 transparent transparent transparent;
        }

        /* 吹き出しの内側の水色部分 */
        .notice-balloon::after {
            content: "";
            position: absolute;
            right: 133px;
            bottom: -16px;
            width: 0;
            height: 0;
            border-style: solid;
            border-width: 17px 19px 0 0;
            border-color: #eaf6ff transparent transparent transparent;
        }

        .notice-label {
            padding: 4px 14px;
            background: #fff;
            color: #DB2029;
            font-size: 18px;
            font-weight: bold;
            white-space: nowrap;
        }

        .notice-text {
            color: #333;
            font-size: 12px;
            font-weight: bold;
            line-height: 1.45;
            color: #686868;
            .notice-large {
                font-size: 14px;
            }
        }
        table {
            thead {
                tr {
                    th {
                        width: 27%;
                        border-radius: 0;
                        background-color: #DB2029;
                        letter-spacing: 0.2em;
                        font-weight: bold;
                        font-size: 14px;
                        &:first-child {
                            border-radius: 4px 0 0 4px;
                        }
                        &:last-child {
                            border-radius: 0 4px 4px 0;
                        }
                    }
                }
            }
            tbody {
                tr {
                    td {
                        width: 27%;
                        span {
                            &.p_red {
                                color: #DB2029;
                            }
                            &.p_bold {
                                font-weight: bold;
                            }
                        }
                        &.bk_blue {
                         background: #eef7fd;
                        }
                        &.bk_d_blue {
                         background: #d5e8f4;
                        }
                    }
                }
            }
        }
        .condition-list {
            width: 100%;
            max-width: 700px;
            margin: 0 0 1em 1.9em;
            font-family: sans-serif;
            color: #333;
        }

        .condition-item {
            display: flex;
            align-items: flex-start;
            gap: 16px;
            margin-bottom: 16px;
            border-bottom: solid 1px #d6d6d6;
            padding-bottom: 8px;
            &.last {
                border-bottom: 0;
            }
        }

        .condition-title {
            flex: 0 0 84px;
            padding-right: 14px;
            border-right: 4px solid #d6d6d6;
            font-size: 12px;
            font-weight: 700;
            line-height: 1.6;
            text-align: center;
            white-space: nowrap;
            padding: 8px 0;
            &.wide {
                padding: 27px 0;
            }
        }

        .condition-text {
        flex: 1;
        font-size: 12px;
        font-weight: normal;
        line-height: 1.6;
        }

        .condition-text strong {
        color: #e60012;
        font-weight: 700;
        }

        .info-portal {
            max-width: 700px;
            margin: 0 0 1em 1.9em;
            margin-top: 40px;
            span {
                font-size: 12px;
                a {
                    color: #333;
                    text-decoration: underline;
                }
            }
        }
        .howto {
            max-width: 700px;
            margin: 0 0 1em 1.9em;
            h2 {
                font-family: "ヒラギノ明朝 Pro W3", "HiraMinPro-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
                background: #a6954f;
                color: white;
                text-align: center;
                font-size: 28px;
                letter-spacing: 0.45rem;
                font-weight: lighter;
                border: none;
                padding-bottom: 0;
                letter-spacing: 0.25rem;
                padding-top: 0.5rem !important;
                padding-bottom: 0.5rem !important;
                max-width: none;
                margin: auto;
                &::before {
                    content:"";
                }
            }
            .serch-item {
                display: inline-block;
                margin-top: 1rem;
                .serch-img {
                    width: 54%;
                    float: left;
                    margin-right: 2%;
                    img {
                        width: 100%;
                    }
                }
                .serch-url {
                    width: 43%;
                    float: left;
                    margin-top: 0.5rem;
                    font-size: 0.9rem;
                }
            }
            .url-mail {
                background: #ebebeb;
                padding: 0.2rem 0.5rem;
                border-radius: 2px;
                line-height: 2;
                font-size: 0.8rem;
                .p_large {
                    font-weight: bold;
                    font-size: 1rem;
                    padding: 0 0.2rem;
                }
            }
            .signup-steps {
                display: flex;
                flex-wrap: wrap;
                margin-left: 0;
                li {
                    width: 25%;
                    box-sizing: border-box;
                    padding: 10px;
                    img {
                        width: 100%;
                        display: inline-block;
                    }
                    span {
                        color: #DB2029;
                        font-weight: bold;
                        font-size: 0.9rem;
                        &.steps-txt {
                            color: #333;
                            font-size: 0.8rem;
                            line-height: 1.5;
                            display: inline-block;
                            font-weight: normal;
                        }
                    }
                }
            }
            small {
                font-size: 0.75rem;
                color: #6f6f6f;
            }
            &.internet {
                margin-top: 2.5rem;
                .h_term {
                    text-align: center;
                    display: block;
                    margin: 0 auto;
                    margin-top: 1.5rem;
                    margin-bottom: 1rem;
                    .h_ttl {
                        border-radius: 4px 0 0 4px;
                        border: solid 1px #DB2029;
                        padding: 0.3rem 0.8rem;
                        background: #DB2029;
                        color: white;
                    }
                    .h_txt {
                        border-radius: 0 4px 4px 0;
                        border: solid 1px #DB2029;
                        padding: 0.3rem 0.8rem;
                        font-weight: bold;
                    }
                }
                .signup-steps {
                     li {
                        width: 20%;
                        box-sizing: border-box;
                        padding: 10px;
                        img {
                            width: 100%;
                        }
                    }
                }
            }
        }
        .floatWrap {
            background: none;
            h2 {
                font-family: "ヒラギノ明朝 Pro W3", "HiraMinPro-W3", "HG明朝E", "ＭＳ Ｐ明朝", "MS PMincho", "MS 明朝", serif;
                background: #a6954f;
                color: white;
                text-align: center;
                font-size: 28px;
                letter-spacing: 0.45rem;
                font-weight: lighter;
                border: none;
                padding-bottom: 0;
                letter-spacing: 0.25rem;
                padding-top: 0.5rem !important;
                padding-bottom: 0.5rem !important;
                max-width: none;
                margin: auto;
                &::before {
                    content:"";
                }
            }
            .addtxt {
                display: block;
                text-align: center;
                font-size: 0.8rem;
                padding: 0.5rem 0;
            }
            .h_term {
                text-align: center;
                display: block;
                margin: 0 auto;
                margin-top: 1.5rem;
                margin-bottom: 1rem;
                .h_ttl {
                    border-radius: 4px 0 0 4px;
                    border: solid 1px #DB2029;
                    padding: 0.3rem 0.8rem;
                    background: #DB2029;
                    color: white;
                }
                .h_txt {
                    border-radius: 0 4px 4px 0;
                    border: solid 1px #DB2029;
                    padding: 0.3rem 0.8rem;
                    font-weight: bold;
                }
            }
            dl {
                background-color: #f2f2f2;
            }
        }
    }
}


/* スマホ */
@media screen and (max-width: 767px) {
    .pcOnly {
        display: none;
    }
    .spOnly {
        display: block;
    }
    #main {
        .benefitplanbody {
            .sub_h {
                font-size: 4.5vw;
            .sub_s {
                font-size: 7vw;
                line-height: 1.2;
                .spOnly {
                    display: inline-block;
                }
                .s_large {
                    font-size: 10vw;
                }
            }
        }
            .notice-balloon {
                margin: 0 auto;
                width: 90%;
                display: block;
                text-align: center;
                transform: translateY(-1vw);
            }

            /* 吹き出しの赤い外枠部分 */
            .notice-balloon::before {
                right: 12vw;
            }

            /* 吹き出しの内側の水色部分 */
            .notice-balloon::after {
                right: 12.3vw;
            }

            .notice-label {
                margin-bottom: 10px;
            }

            .notice-text {
                text-align: left;
                .notice-large {
                    font-size: 14px;
                }
            }

            table {
                thead {
                    tr {
                        th {
                            font-size: 3.3vw;
                            &:first-child {
                            }
                            &:last-child {
                            }
                        }
                    }
                }
                tbody {
                    tr {
                        td {
                            line-height: 1.8;
                            padding: 2vw 0;
                            span {
                                &.p_red {
                                }
                                &.p_bold {
                                }
                            }
                            &.bk_blue {
                            }
                            &.bk_d_blue {
                            }
                        }
                    }
                }
            }
            .condition-list {
                margin: 0 auto;
            }
            .condition-list {
            }

            .condition-item {
                &.last {
                }
            }

            .condition-title {
                padding: 0vw 0;
                font-size: 3vw;
                &.wide {
                    padding: 0vw 0;
                }
            }

            .condition-text {
            }

            .condition-text strong {
            }

            .info-portal {
                span {
                    a {
                    }
                }
            }
            .howto{
                max-width: none;
                margin: 0;
                h2 {
                    font-size: 28px;
                    letter-spacing: 0.45rem;
                    &::before {
                        content:"";
                    }
                }
                .serch-item {
                    display: inline-block;
                    margin-top: 1rem;
                    margin-bottom: 0.5rem;
                    .serch-img {
                        width: 100%;
                        margin-right: 0%;
                        margin-bottom: 0.5rem;
                        img {
                            width: 100%;
                        }
                    }
                    .serch-url {
                        width: 100%;
                        margin-top: 0rem;
                        font-size: 4.25vw;
                        white-space: nowrap;
                    }
                }
                .url-mail {
                    margin-bottom: 0.5rem;
                    display: inline-block;
                    .p_large {
                        font-weight: bold;
                        font-size: 1rem;
                        padding: 0 0.2rem;
                    }
                }
                .signup-steps {
                    display: flex;
                    flex-wrap: wrap;
                    margin-bottom: 1.5rem;
                    li {
                        width: 100%;
                        padding: 0px;
                        display: inline-block;
                        margin-bottom: 2rem;
                        span {
                            font-size: 0.9rem;
                            &.steps-txt {
                                color: #333;
                                font-size: 0.8rem;
                                line-height: 1.5;
                                display: inline-block;
                                font-weight: normal;
                            }
                        }
                        img {
                            margin-bottom: 0.2rem;
                        }
                        span {
                            width: 100%;
                            display: inline-block;
                        }
                        &:last-child {
                            margin-bottom: 0;
                        }
                    }
                }
                small {
                    font-size: 0.7rem;
                    margin-bottom: 2rem;
                    display: inline-block;
                }
                &.internet {
                    margin-top: 2.5rem;
                    .h_term {
                        text-align: center;
                        display: block;
                        margin: 0 auto;
                        margin-top: 1.5rem;
                        margin-bottom: 1rem;
                        .h_ttl {
                            border-radius: 4px 0 0 4px;
                            border: solid 1px #DB2029;
                            padding: 0.3rem 0.8rem;
                            background: #DB2029;
                            color: white;
                            display: inline-block;
                            width: 100%;
                        }
                        .h_txt {
                            border-radius: 0 4px 4px 0;
                            border: solid 1px #DB2029;
                            padding: 0.3rem 0.8rem;
                            font-weight: bold;
                            display: inline-block;
                            width: 100%;
                            .spOnly {
                                display: inline-block;
                            }
                        }
                    }
                    .signup-steps {
                        li {
                            width: 100%;
                            padding: 0px;
                        }
                    }
                    small {
                        margin-bottom: 0;
                    }
                }
            }
            .floatWrap {
                .h_term {
                    text-align: center;
                    display: block;
                    margin: 0 auto;
                    margin-top: 1.5rem;
                    margin-bottom: 1rem;
                    .h_ttl {
                        border-radius: 4px 0 0 4px;
                        border: solid 1px #DB2029;
                        padding: 0.3rem 0.8rem;
                        background: #DB2029;
                        color: white;
                        display: inline-block;
                        width: 100%;
                    }
                    .h_txt {
                        border-radius: 0 4px 4px 0;
                        border: solid 1px #DB2029;
                        padding: 0.3rem 0.8rem;
                        font-weight: bold;
                        display: inline-block;
                        width: 100%;
                        .spOnly {
                            display: inline-block;
                        }
                    }
                }
                .addtxt {
                    text-align: left;
                }
            }
        }
    }
}