.main.js-pattern-b {
    background-color: #0168B6;
    padding-top: 40px;
}

@media screen and (max-width: 768px) {
    .main.js-pattern-b {
        padding: 40px 0 0;
        border-bottom: none;
    }

    .p_top_userAction {
        padding: 30px 0 40px;
    }
}

@media screen and (max-width: 1199px) {
    #div_top_simulation__button.js-pattern-b-is_spTab_none {
        display: none;
    }

    #div_top_request__button {
        margin-top: 0;
    }
}

/* メイン文言 */
.simulator_container {
    .simulator_img {
        display: block;
        max-width: 345px;
        margin: 0 auto 30px;
    }
    @media (min-width: 1200px) {
        position: relative;
        .simulator_img {
            position: absolute;
            top: 150px;
            max-width: initial;
        }
        .rate-example__step-row {
            flex-direction: column;
            gap: 45px;
        }
        .rate-example__step {
            width: 470px;
            margin-left: auto;
            &:nth-child(1)::after {
                inset-inline: 0;
                bottom: initial;
                top: calc(100% + 25px);
                width: 20px;
                height: 15px;
                clip-path: polygon(50% 15px, 0% 0%, 20px 0%);
                margin: auto;
            }
        }
    }
}

/* シュミレーション結果 */
.p_simulator_select_content {
    overflow: hidden;
    width: 92%;
    margin-inline: auto;
    @media screen and (min-width: 769px) {
        width: auto;
        margin-inline: 20px;
    }
    @media screen and (min-width: 1200px) {
        margin-inline: initial;
    }
    & .result-ttl,
    & .rate-example__step-num {
        background-color: #4688BA;
    }
    & .rate-example__step:nth-child(1)::after {
        background-color: #fff;
    }
}

/* Slider */
.p_top_mainVisual_slideWrap {
    margin-top: 30px;
}

@media screen and (max-width: 768px) {
    .p_top_mainVisual_slideWrap {
        margin-top: 0;
    }
}

/* Looopでんきの3つのおトク */
.p_top_three_discount {
    padding-top: 60px;
    padding-bottom: 64px;
}

@media screen and (max-width: 768px) {
    .p_top_three_discount {
        padding: 30px 0 40px;
    }
}
.p_top_discount__heading::before {
    display: none;
}

.p_top_discount__content {
    width: 80%;
    max-width: 1200px;
    margin: 48px auto 0;
}
@media screen and (max-width: 768px) {
    .p_top_discount__content {
        width: 92%;
        margin-top: 20px;
    }
}

.p_top_discount__item {
    padding: 30px 20px;
    margin-bottom: 20px;
    border: 2px solid #0068b6;
    border-radius: 15px;
}
@media screen and (min-width: 769px) {
    .p_top_discount__item {
        padding: 48px 70px 64px;
        margin-bottom: 48px;
        border: 6px solid #0068b6;
    }
}

.p_top_discount__description {
    text-align: center;
}

.p_top_discount__titleWrap {
    height: 40px;
    align-items: center;
    justify-content: center;
}

.p_top_discount__icon {
    width: 40px;
    height: 40px;
}

.p_top_discount__point {
    height: 40px;
    background-color: #FEE100;
    border-radius: 50px;
    font-size: 16px;
    line-height: 1;
    display: inline-flex;
    padding: 10px 15px;
    color: #0168B6;
    align-items: flex-end;
}
@media screen and (max-width: 768px) {
    .p_top_discount__point {
        padding-inline: 24px;
        font-size: 15px;
        align-items: center;
        gap: 3px;
        height: 35px;
    }
}

.p_top_discount__pointNumber {
    font-size: 24px;
    font-family: "Oswald", sans-serif;
    font-weight: 500;
    line-height: 1;
}
@media screen and (max-width: 768px) {
    .p_top_discount__pointNumber {
        font-size: 20px;
    }
}

.p_top_discount__title {
    text-align: center;
    font-size: 30px;
    line-height: 52px;
    color: #0068b6;
    margin-top: 32px;
}
@media (min-width: 769px) and (max-width: 1200px) {
    .p_top_discount__title {
        font-size: 24px;
        line-height: 30px;
    }
}
@media screen and (max-width: 768px) {
    .p_top_discount__title {
        text-align: center;
        font-size: 24px;
        line-height: 32px;
        margin-top: 16px;
    }
}

.p_top_discount__title_large {
    font-size: 28px;
    line-height: 40px;
}
@media screen and (min-width: 1200px) {
    .p_top_discount__title_large {
        font-size: 40px;
        line-height: 60px;
    }
}

.p_top_discount__title_red {
    color: #F85858;
}

.p_top_discount__text {
    line-height: 30px;
    margin-top: 16px;
}
@media screen and (max-width: 768px) {
    .p_top_discount__text {
        font-size: 13px;
        line-height: 20px;
        margin: 20px 0 30px;
    }
}

@media screen and (min-width: 380px) {
    .is_over380_none {
        display: none;
    }
}

@media screen and (max-width: 768px) {
    .p_top_discount__img_full_width {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
}
.p_top_discount__reviews_container {
    padding-top: 30px;
    border-top: dashed 2px #EDF6FC;
}
@media screen and (min-width: 769px) {
    .p_top_discount__reviews_container {
        padding-top: 48px;
    }
    .p_top_discount__reviews {
        justify-content: space-between;
    }
}

.p_top_discount__reviews_title {
    font-size: 22px;
    color: #0068B6;
    text-align: center;
    margin-bottom: 16px;
}
@media screen and (min-width: 769px) {
    .p_top_discount__reviews_title {
        font-size: 30px;
        margin-bottom: 32px;
    }
}

.p_top_discount__reviewItem {
    display: flex;
    align-items: center;
    border-radius: 15px;
    padding: 28px 32px;
    background-color: #EDF6FC;
    justify-content: space-between;
}
@media screen and (min-width: 769px) {
    /* li要素が1つの場合 */
    .p_top_discount__reviews:has(:nth-child(1)) .p_top_discount__reviewItem {
        width: 100%;
    }
    /* li要素が2つの場合 */
    .p_top_discount__reviews:has(> :nth-child(2)) .p_top_discount__reviewItem {
        width: calc(50% - 16px);
    }
}
@media screen and (max-width: 768px) {
    .p_top_discount__reviewItem {
        width: 100%;
        padding: 16px;
    }
    .p_top_discount__reviewItem:not(:last-child) {
        margin-bottom: 12px;
    }
}

.p_top_discount__reviewText {
    font-size: 14px;
    margin-right: 12px;
    text-align: justify;
}

.p_top_discount__reviewIcon {
    flex-shrink: 0;
    width: 64px;
    height: 64px;
}

/* ポイント1 */
.p_top_discount__point1Image_pc {
    display: flex;
    justify-content: space-between;
    padding: 48px 0;
}
@media screen and (max-width: 768px) {
    .p_top_discount__point1Image_pc {
        display: none;
    }
}

.p_top_discount__point1Image_sp {
    display: block;
    text-align: center;
    border-top: dashed 2px #EDF6FC;
    padding: 30px 0 20px;
}
@media screen and (min-width: 769px) {
    .p_top_discount__point1Image_sp {
        display: none;
    }
}

.p_top_discount__point1Image_item:not(:last-child) {
    margin-bottom: 20px;
}

.p_top_discount__point1Image_text_sp {
    font-size: 18px;
    margin-bottom: 20px;
    color: #005CA0;
}

.p_top_discount__point1Image_left {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-right: 32px;
}

.p_top_discount__point1Image_note {
    text-align: left;
    color: #2C496B;
    font-size: 12px;
    margin-bottom: 30px;
}
@media screen and (min-width: 769px) {
    .p_top_discount__point1Image_note {
        margin-bottom: 48px;
    }
}

/* ポイント2 */
.p_top_discount__point2Image {
    display: flex;
    flex-flow: column;
    gap: 28px;
    align-items: center;
    padding: 30px 0;
    border-top: dashed 2px #EDF6FC;
}
@media screen and (min-width: 769px) {
    .p_top_discount__point2Image {
        gap: 48px;
        padding: 48px 0;
        margin-top: 48px;
    }
}

/* ポイント3 */
.p_top_discount__description_point3 {
    text-align: center;
}
@media screen and (min-width: 769px) {
    .p_top_discount__description_point3 {
        text-align: left;
        width: 50%;
    }
}

.p_top_discount__title_point3_large {
    font-size: 28px;
}
.p_top_discount__title_point3_red {
    color: #F85858;
    font-size: 40px;
}
@media screen and (min-width: 1200px) {
    .p_top_discount__title_point3 {
        text-align: left;
        font-size: 40px;
        margin-top: 0;
    }
    .p_top_discount__title_point3_large {
        font-size: 60px;
    }
    .p_top_discount__title_point3_red {
        color: #F85858;
        font-size: 80px;
    }
}

.p_top_discount_point3__content {
    justify-content: space-between;
    align-items: center;
}
@media screen and (min-width: 769px) {
    .p_top_discount_point3__content {
        margin-top: 48px;
    }
}

.p_top_discount__point3_image {
    margin-top: 30px;
    text-align: center;
}
@media screen and (min-width: 769px) {
    .p_top_discount__point3_image {
        margin-top: 0;
        width: calc(50% - 16px);
    }
}

/* 今だけコンテンツ */
.p_top_imadake__item {
    align-items: center;
    justify-content: center;
    padding: 30px 20px;
}
@media screen and (min-width: 769px) {
    .p_top_imadake__item {
        padding: 48px 70px 64px;
    }
}

@media screen and (min-width: 769px) {
    .p_top_imadake {
        width: calc(50% - 16px);
        height: 234px;
        margin-right: 30px;
    }
}

.p_top_imadake__title {
    text-align: center;
    font-size: 30px;
    line-height: 44px;
    color: #0068b6;
    margin-top: 10px;
}
@media (min-width: 769px) and (max-width: 1200px) {
    .p_top_imadake__title {
        font-size: 24px;
        line-height: 30px;
    }
}
@media screen and (max-width: 768px) {
    .p_top_imadake__title {
        font-size: 20px;
        line-height: 32px;
        margin-top: 16px;
    }
}

.p_top_imadake__text {
    line-height: 30px;
    margin-top: 16px;
    font-size: 16px;
}
@media screen and (min-width: 769px) {
    .p_top_imadake__text {
        margin-top: 30px;
    }
}

.p_top_imadeke__image {
    margin-top: 16px;
}
@media screen and (min-width: 769px) {
    .p_top_imadeke__image {
        width: calc(50% - 16px);
        margin-top: 0;
    }
}

/* 電気の品質 */
@media screen and (min-width: 769px) {
    .p_top_quality {
        padding: 80px 0px 80px;
    }
}

@media screen and (max-width: 768px) {
    .p_top_quality {
        margin: 0 auto;
    }
}

.p_top_quality__list {
    margin: 0 auto;
    max-width: 1200px;
    width: 92%;
}

.p_top_quality__item {
    margin: 0 auto;
}

.p_top_quality__image {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .p_top_quality__image {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

.p_top_quality__titleWrap {
    align-items: center;
}

@media screen and (min-width: 1200px) {
    .p_top_quality__description {
        padding-left: 64px;
    }
}


@media screen and (min-width: 769px) {
    .p_top_quality__description {
        padding-left: 40px;
    }
}

.p_top_quality__icon {
    width: 76px;
    height: 76px;
    margin-right: 10px;
}

@media screen and (max-width: 768px) {
    .p_top_quality__icon {
        margin-right: 10px;
    }
}

.p_top_quality__subEmphasis {
    font-size: 18px;
    font-weight: 700;
    color: #0168B6;
    line-height: 26px;
}

@media screen and (max-width: 768px) {
    .p_top_quality__subEmphasis {
        font-size: 14px;
    }
}

.p_top_quality__emphasis {
    font-size: 28px;
    font-weight: 700;
    line-height: 44px;
    color: #2B68B0;
}

@media screen and (max-width: 768px) {
    .p_top_quality__emphasis {
        font-size: 22px;
        line-height: 32px;
    }
}

.p_top_quality__text {
    font-weight: 400;
    line-height: 1.9;
    margin-top: 15px;
    padding-top: 15px;
    background-image: url(../images/line_black_3px.svg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100% 3px;
}

@media screen and (max-width: 768px) {
    .p_top_quality__text {
        font-size: 16px;
        line-height: 30px;
        margin-bottom: 50px;
    }
}

.p_top_quality__note {
    display: inline-block;
    font-size: 14px;
    padding-left: 1.8em;
    text-indent: -1.8em;
}

/* Looopでんきの思い */
@media screen and (min-width: 769px) {
    .p_top_wish {
        padding: 80px 0 0;
    }
}

@media screen and (max-width: 768px) {
    .p_top_wish {
        margin: 30px auto;
    }
}

.p_top_wish__list {
    margin: 0 auto;
    max-width: 1200px;
    width: 92%;
}

.p_top_wish__item {
    flex-direction: row-reverse;
    justify-content: center;
    margin-top: 36px;
}

.p_top_wish__image {
    display: flex;
    align-items: center;
}

@media screen and (max-width: 768px) {
    .p_top_wish__image {
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

.p_top_wish__titleWrap {
    align-items: center;
}


@media screen and (min-width: 1200px) {
    .p_top_wish__description {
        padding-right: 64px;
    }
}

@media screen and (min-width: 769px) {
    .p_top_wish__description {
        width: 563px;
        padding-right: 40px;
    }
}

.p_top_wish__icon {
    width: 76px;
    height: 76px;
    margin-right: 10px;
}

@media screen and (max-width: 768px) {
    .p_top_wish__icon {
        margin-right: 10px;
    }
}

.p_top_wish__subEmphasis {
    font-size: 18px;
    font-weight: 700;
    color: #0168B6;
    line-height: 26px;
}

@media screen and (max-width: 768px) {
    .p_top_wish__subEmphasis {
        font-size: 14px;
        color: #0168B6;
    }
}

.p_top_wish__emphasis {
    font-size: 28px;
    font-weight: 700;
    line-height: 44px;
    color: #2B68B0;
}

@media screen and (max-width: 768px) {
    .p_top_wish__emphasis {
        font-size: 22px;
        line-height: 32px;
        color: #0168B6;
    }
}

.p_top_wish__text {
    font-size: 16px;
    font-weight: 400;
    background-image: url(../images/line_black_3px.svg);
    background-position: top;
    background-repeat: no-repeat;
    background-size: 100% 3px;
    line-height: 1.9;
    margin-top: 15px;
    padding-top: 15px;
}

@media screen and (max-width: 768px) {
    .p_top_wish__text {
        font-size: 16px;
        line-height: 30px;
    }
}

.p_top_wish__note {
    display: inline-block;
    font-size: 14px;
    padding-left: 1.8em;
    text-indent: -1.8em;
}

/* でんきナビ下余白調整 */
.p_top_mg80 {
    margin: 80px;
}
