.lp-responsive .lp-html-sp {
  display: none;
}

.lp-responsive .lp-html-pc {
  display: block;
}

.lp-responsive .lp-show-sp {
  display: none;
}

.lp-responsive .lp-show-pc {
  display: block;
}

.lp-responsive .lp-simulation-date--sp {
  display: none;
}

@media screen and (max-width: 959px) {
  .lp-responsive .lp-html-sp {
    display: block;
  }

  .lp-responsive .lp-html-pc {
    display: none;
  }

  .lp-responsive .lp-show-sp {
    display: block;
  }

  .lp-responsive .lp-show-pc {
    display: none;
  }

  .lp-responsive.lp-mv-sp #first_view .lp_top_img_sp {
    display: block;
  }

  .lp-responsive.lp-mv-sp #first_view .lp_pc_mv_inner {
    display: none;
  }

  .lp-responsive #first_view .first_view_back {
    height: auto;
  }

  .lp-responsive #first_view .keyvisual__easyPriceArea,
  .lp-responsive #first_view .keyvisual__easyPriceArea.container-cs {
    position: static;
    top: auto;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
  }

  .lp-responsive #first_view .keyvisual__easyPriceArea .container {
    max-width: 100%;
    padding: 0;
    margin: 0;
    display: block;
    height: auto;
  }

  .lp-responsive #first_view .keyvisual__easyPriceAreaCalculation {
    margin-top: 0;
    height: auto;
    display: block;
  }

  .lp-responsive .lp-simulation-date--sp {
    display: inline-block;
  }

  .lp-responsive .lp-simulation-date--pc {
    display: none;
  }
}

@media screen and (min-width: 960px) {
  .lp-responsive .main__attentionListItemMain.sm-display-none {
    display: block;
  }

  .lp-responsive.lp-mv-pc #first_view .lp_top_img_sp {
    display: none;
  }

  .lp-responsive.lp-mv-pc #first_view .lp_pc_mv_inner {
    display: block;
  }

  .lp-responsive .lp-html-pc footer .mainFooter.d-pc {
    display: block;
  }

  .lp-responsive .lp-html-pc footer #footer_common.d-sp {
    display: none;
  }
}

@media screen and (max-width: 959px) {
  .lp-responsive .lp-html-sp .mainHeader {
    position: relative;
    border-bottom: 1px solid #B3B3B3;
  }

  .lp-responsive .lp-html-sp #head_logo:not(.static) {
    background-color: transparent;
  }

  .lp-responsive .lp-html-sp #head_box {
    height: 50px;
    width: 100%;
    background: #fff;
    position: absolute;
    z-index: 3;
  }

  .lp-responsive .lp-html-sp #head_box > div {
    display: flex;
  }

  .lp-responsive .lp-html-sp #head {
    display: flex;
    flex: 1;
    width: 100%;
    box-sizing: border-box;
  }

  .lp-responsive .lp-html-sp #head_submit {
    display: none;
  }

  .lp-responsive .lp-html-sp .mainHeader__button {
    margin-left: auto;
    flex-shrink: 0;
  }

  .lp-responsive .lp-html-sp #head .displaycompany_img {
    position: absolute;
    top: 50%;
    left: 146px;
    display: flex;
    align-items: center;
    transform: translateY(-50%);
  }

  .lp-responsive .lp-html-sp #head .displaycompany_img img {
    height: 35px;
  }

  .lp-responsive .lp-html-sp #head .displaycompany_txt {
    font-size: 9px;
    line-height: 1.2;
    margin-left: 0;
    margin-right: 3px;
    word-break: keep-all;
  }

  .lp-responsive .lp-html-sp #foot_link {
    width: 90%;
    margin: 0 auto;
    padding-top: 5px;
  }

  .lp-responsive #lp-sp .main__attention.back_white {
    background-color: #fff;
  }

  .lp-responsive #recommendation .container.pb-4,
  .lp-responsive #lp_reason .container.pb-4,
  .lp-responsive #lp_data_usage .container.pb-4,
  .lp-responsive #customer .container.main__rankingMain {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .lp-responsive #lp_reason .lp_reason__list {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 20px;
    margin-top: 20px;
    overflow: visible;
  }

  .lp-responsive #lp_reason .lp_reason__item {
    display: flex;
    flex-direction: row;
    align-items: stretch;
    width: 100%;
    min-height: 150px;
    height: auto;
    padding: 0 0 0 14px;
    box-sizing: border-box;
  }

  .lp-responsive #usage .usa-content {
    display: block;
    flex-wrap: nowrap;
    gap: 0;
    margin: 20px 0;
  }

  .lp-responsive #usage .usa-item {
    width: auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    padding: 20px 15px;
    margin: 20px 10px;
    text-align: left;
    box-sizing: border-box;
  }

  .lp-responsive #customer.pt-2-sp .container.main__rankingMain {
    width: 100%;
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
    box-sizing: border-box;
  }
}

@media screen and (min-width: 744px) and (max-width: 959px) {
  .lp-responsive .lp-html-sp .mainHeader {
    height: 80px;
  }

  .lp-responsive .lp-html-sp #head_box {
    height: 80px;
    position: relative;
  }

  .lp-responsive .lp-html-sp #head_box > div,
  .lp-responsive .lp-html-sp #head {
    align-items: center;
    height: 100%;
  }

  .lp-responsive .lp-html-sp #head_logo {
    display: flex;
    align-items: center;
    height: 80px;
  }

  .lp-responsive .lp-html-sp #head_box img {
    width: auto;
  }

  .lp-responsive .lp-html-sp #head .displaycompany_img img {
    height: 56px;
  }

  .lp-responsive .lp-html-sp #head .displaycompany_txt {
    font-size: 14px;
  }

  .lp-responsive .lp-html-sp .mainHeader__buttonEntry .button {
    width: 260px;
  }

  .lp-responsive .lp-html-sp .mainHeader__buttonEntry .button,
  .lp-responsive .lp-html-sp .mainHeader__buttonEntry .h-51,
  .lp-responsive .lp-html-sp .mainHeader__buttonEntry .button__text {
    height: 80px;
  }

  .lp-responsive .lp-html-sp .mainHeader__buttonEntry .button__text {
    font-size: 18px;
    padding: 0;
    display: flex;
  }
}

@media screen and (min-width: 769px) and (max-width: 959px) {
  .lp-responsive #first_view .keyvisual__easyPriceAreaCalculation .keyvisual__inputRow {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
  }

  .lp-responsive #lp-sp #first_view .keyvisual__easyPriceAreaCalculation .keyvisual__inputRowLabel {
    flex: 0 0 40%;
    width: 40%;
    margin: 0;
    font-size: 12px;
    text-align: center;
  }

  .lp-responsive #first_view .keyvisual__easyPriceAreaCalculation .keyvisual__inputRow .lp-simulation-date--pc {
    display: none;
  }

  .lp-responsive #first_view .keyvisual__easyPriceAreaCalculation .keyvisual__inputRow input:not([type=submit]):not(.lp-simulation-date--pc) {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 30px;
    line-height: 30px;
    margin: 0 4% 0 0;
    padding: 0 5px;
    font-size: 16px;
    box-sizing: border-box;
    border: none;
    border-radius: 0;
  }

  .lp-responsive #first_view .keyvisual__easyPriceAreaCalculation .keyvisual__inputRow select {
    flex: 1;
    width: auto;
    min-width: 0;
    height: 30px;
    margin: 0 4% 0 0;
    padding: 0 0.3rem;
    font-size: 13px;
    font-weight: bold;
    color: #000;
    box-sizing: border-box;
    border: none;
    border-radius: 0;
  }

  .lp-responsive .main__attention.lp-section-title {
    padding: 24px 0 30px;
    line-height: 18px;
  }

  .lp-responsive .main__attention.lp-section-title .mainContentHeader__caption {
    padding: 0;
    letter-spacing: 0;
    margin-top: 10px;
    margin-bottom: 0;
  }

  .lp-responsive .main__attention.lp-section-title .main__attentionList {
    display: block;
    flex-wrap: nowrap;
    margin-top: 20px;
  }

  .lp-responsive .main__attention.lp-section-title .main__attentionListItemMain.sm-display-none {
    display: none;
  }

  .lp-responsive .main__attention.lp-section-title .main__attentionListItem {
    width: 100%;
    border: none;
    border-radius: 0;
    background: none;
    padding: 0 8px;
    margin-top: 0;
  }

  .lp-responsive .main__attention.lp-section-title .main__attentionListItemCaption.border-solid {
    position: relative;
    border-bottom: 1px solid #9dc535;
    margin-bottom: 20px;
    padding-bottom: 10px;
  }

  .lp-responsive .main__attention.lp-section-title .main__attentionListItemCaption.border-solid::after {
    content: "";
    position: absolute;
    right: 5px;
    top: 0;
    transition: all 0.2s ease-in-out;
    display: block;
    width: 10px;
    height: 10px;
    border-top: solid 1px #000;
    border-right: solid 1px #000;
    transform: rotate(135deg);
  }

  .lp-responsive .main__attention.lp-section-title .jsMainFaqHeader--open.main__attentionListItemCaption.border-solid::after {
    transform: rotate(-45deg);
  }

  .lp-responsive .main__attention.lp-section-title .main__attentionListItemMain {
    padding-top: 0;
  }

  .lp-responsive .main__attention.lp-section-title .main__attentionListItemMainListItem .call {
    color: #00f;
  }
}

@media screen and (min-width: 744px) and (max-width: 1024px) {
  .lp-responsive #lp_reason .heading h2 {
    font-size: 28px;
  }

  .lp-responsive #lp_reason .lp_reason__title {
    font-size: 20px;
  }

  .lp-responsive #lp_reason .lp_reason__text {
    font-size: 16px;
  }

  .lp-responsive #lp_reason .lp_reason__badge {
    font-size: 14px;
  }

  .lp-responsive #lp_data_usage .heading h2 {
    font-size: 28px;
  }

  .lp-responsive #lp_data_usage .lp_data_usage__label {
    font-size: 14px;
  }

  .lp-responsive #lp_data_usage .lp_data_usage__badge {
    font-size: 14px;
  }

  .lp-responsive #lp_data_usage .lp_data_usage__value {
    font-size: 16px;
  }

  .lp-responsive #lp_data_usage .lp_data_usage__value small {
    font-size: 14px;
  }

  .lp-responsive #lp_data_usage .lp_data_usage__cta-text {
    font-size: 16px;
  }

  .lp-responsive #wifi .heading h2 {
    font-size: 28px;
  }

  .lp-responsive #wifi .wifi-title {
    font-size: 20px;
  }

  .lp-responsive #wifi .wifi-p {
    font-size: 16px;
  }

  .lp-responsive #usage .heading h2 {
    font-size: 28px;
  }

  .lp-responsive #usage .usa-item-ttl {
    font-size: 20px;
  }

  .lp-responsive #usage .usa-item-txt {
    font-size: 16px;
  }

  .lp-responsive .lp-usage-flow-sp .main__faqCaption {
    font-size: 28px;
  }

  .lp-responsive .usage-flow p.title-flow {
    font-size: 14px;
  }

  .lp-responsive .usage-flow p.text-flow {
    font-size: 20px;
  }

  .lp-responsive .usage-flow p.text-flow-sub {
    font-size: 14px;
  }

  .lp-responsive .lp-usage-flow .heading h2 {
    font-size: 28px;
  }

  .lp-responsive .lp-usage-flow .box > p {
    font-size: 14px;
  }

  .lp-responsive .lp-usage-flow .box h2 {
    font-size: 20px;
  }

  .lp-responsive .lp-usage-flow .box .lp_usage_flow__desc {
    font-size: 16px;
  }

  .lp-responsive #customer .heading h2 {
    font-size: 28px;
  }

  .lp-responsive #customer .lp-voice-slide .text_area_deco p.icon {
    font-size: 14px;
  }

  .lp-responsive #customer .lp-voice-slide .text_area_deco p.text_area_name {
    font-size: 16px;
  }

  .lp-responsive .main__faq .heading h2 {
    font-size: 28px;
    line-height: 1.2;
  }

  .lp-responsive .main__faq .main__faqTdCaption {
    font-size: 20px;
  }

  .lp-responsive .main__faq .main__faqAnswer,
  .lp-responsive .main__faq .main__faqAnswer p,
  .lp-responsive .main__faq .main__faqAnswer li {
    font-size: 16px;
  }

  .lp-responsive .main__attention .mainContentHeader__caption {
    font-size: 28px;
  }

  .lp-responsive .main__attention .main__attentionListItemCaption {
    font-size: 20px;
    padding-top: 10px;
  }

  .lp-responsive .main__attention .main__attentionListItemMain,
  .lp-responsive .main__attention .main__attentionListItemMainListItem {
    font-size: 16px;
    padding-bottom: 10px;
  }

  .lp-responsive .main__attention .main__attentionListItemMainListItem::before {
    font-size: 14px;
  }

  .lp-responsive .main__attention .main__attentionListItemMainListItem .call {
    font-size: 20px;
  }

  .lp-responsive #recommendation .heading h2 {
    font-size: 28px;
  }

  .lp-responsive #recommendation .main__rankingListItemSectionCaption,
  .lp-responsive #recommendation .main__rankingListItemSectionCaption .small {
    font-size: 14px;
  }

  .lp-responsive #recommendation .main__rankingListItemCaption {
    font-size: 20px;
  }

  .lp-responsive #recommendation .pickup_label {
    font-size: 14px;
  }

  .lp-responsive #recommendation .main__rankingListItemText {
    font-size: 16px;
  }

  .lp-responsive #recommendation .lp_ranking_aff_price__header {
    font-size: 14px;
  }

  .lp-responsive #recommendation .lp_ranking_aff_price__amount {
    font-size: 16px;
  }

  .lp-responsive #recommendation .lp_ranking_aff_price__amount--discount {
    font-size: 20px;
  }

  .lp-responsive #recommendation .lp_ranking_aff_price__sub {
    font-size: 14px;
  }

  .lp-responsive #recommendation .lp_ranking_tax_note {
    font-size: 14px;
  }

  .lp-responsive #recommendation .lp_ranking_price_box__header {
    font-size: 20px;
  }

  .lp-responsive #recommendation .lp_ranking_price_box__row {
    font-size: 16px;
  }

  .lp-responsive #recommendation .lp_ranking_price_box__row--sub {
    font-size: 14px;
  }

  .lp-responsive #recommendation .lp_ranking_price_box__num {
    font-size: 20px;
  }

  .lp-responsive #recommendation .main__rankingListItemSectionTh {
    font-size: 20px;
  }

  .lp-responsive #recommendation .main__rankingListItemSectionTd,
  .lp-responsive #recommendation td.main__rankingListItemSectionCell.main__rankingListItemSectionTd {
    font-size: 16px;
  }

  .lp-responsive #recommendation .main__rankingListItemSectionPrice {
    font-size: 20px;
  }

  .lp-responsive #recommendation .aff_day_bg_pc {
    font-size: 14px;
  }

  .lp-responsive #recommendation .no_tax {
    font-size: 14px;
  }

  .lp-responsive #recommendation .lp_simulation_submit .button__text {
    font-size: 16px;
  }

  .lp-responsive #recommendation .lp_simulation_submit__btn,
  .lp-responsive #recommendation .lp_simulation_submit__main {
    font-size: 16px;
  }

  .lp-responsive #recommendation .lp_simulation_submit__small {
    font-size: 14px;
  }

  .lp-responsive #recommendation .lp_notice_outline_btn .popupButton__text {
    font-size: 16px;
  }
}

@media screen and (min-width: 821px) and (max-width: 1024px) {
  .lp-responsive #recommendation .main__rankingListItemSectionPopupList {
    margin-bottom: 2rem;
  }
}
