@media (max-width: 1024px) {
  .sub_visual_inner,
  .sub_inner {
    padding: 0 24px;
  }

  .sub_visual {
    padding: 3.5em 0 2.5em;
  }

  .sub_banner {
    min-height: 520px;
    height: 520px;
  }

  .sub_banner.is_text {
    min-height: 0;
    height: auto;
  }

  .sub_banner_inner {
    padding: 64px 20px 36px;
  }

  .sub_banner.is_text .sub_banner_inner {
    padding: 110px 24px 56px;
  }

  .sub_banner_title {
    margin-bottom: 16px;
  }

  .sub_body {
    padding: 3em 0 4.5em;
  }

  .sub_banner_desc br.sub_banner_desc_br_m {
    display: block;
  }

  .sub_banner_desc br.sub_banner_desc_br_pc {
    display: none;
  }
}


@media screen and (max-width: 1100px) {
  .sub_intro .sub_split {
    gap: 48px;
  }

  .sub_intro_visual {
    flex-basis: auto;
  }
}


@media screen and (max-width: 860px) {
  .sub_page {
    --sub-hero-title: 1.44em;
    --sub-title: 1.25em;
    --sub-subhead: 1em;
    --sub-body: 0.875em;
    --sub-label: 0.81em;
    --sub-callout: 1.25em;
  }

  .sub_inner {
    padding: 0 24px;
  }

  .sub_sect,
  .sub_why,
  .sub_faq {
    padding: 80px 0 60px;
  }

  .sub_faq {
    padding-top: 0;
  }

  .sub_why_callout {
    font-size: var(--sub-callout);
  }

  .sub_why_cases_tit {
    font-size: var(--sub-subhead);
  }

  .sub_care {
    padding: 50px 0 80px;
  }

  .sub_care_head {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .sub_care_tabs {
    align-self: flex-end;
  }

  .sub_symptom_warn {
    align-items: flex-start;
    text-align: center;
  }

  .sub_care_warn_ico img,
  .sub_symptom_warn_ico img {
    width: 22px;
    height: 22px;
  }

  .sub_symptom_card strong img {
    width: 14px;
    height: 14px;
  }

  .sub_split,
  .sub_care_box {
    flex-direction: column;
    align-items: stretch;
  }

  .sub_care_box {
    gap: 24px;
  }

  .sub_faq_head {
    margin-bottom: 32px;
  }

  .sub_faq_q,
  .sub_faq_item.is-open .sub_faq_a {
    padding-left: 22px;
    padding-right: 22px;
  }

  .sub_faq_q {
    padding-top: 20px;
    padding-bottom: 20px;
    gap: 16px;
  }

  .sub_faq_item.is-open .sub_faq_a {
    padding-bottom: 22px;
  }

  .sub_intro_visual,
  .sub_care_visual {
    flex: none;
    width: 100%;
    max-width: none;
  }

  .sub_process_lead br,
  .sub_process_txt br {
    display: none;
  }

  .sub_process_lead {
    max-width: none;
    margin-bottom: 40px;
  }

  .sub_process_list {
    max-width: none;
  }

  .sub_process_list::before {
    left: 17px;
    top: 18px;
  }

  .sub_process_item:last-child::after {
    top: 36px;
    width: 36px;
  }

  .sub_process_item {
    gap: 18px;
    padding-bottom: 32px;
  }

  .sub_process_num {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    font-size: 0.875em;
  }

  .sub_process_name {
    min-height: 36px;
  }

  .sub_care_panel {
    padding: 28px 22px;
  }

  .sub_care_box:has(.is_compact) {
    align-items: stretch;
  }

  .sub_care_panel.is_compact {
    width: 100%;
    flex: none;
    align-self: stretch;
    height: auto;
    padding: 2.2em 1.8em;
  }

  .sub_why_desc br,
  .sub_symptom_desc br,
  .sub_symptom_warn br,
  .sub_care_warn p br,
  .sub_care_lead br,
  .sub_care_list br,
  .sub_care_note_txt br {
    display: none;
  }

  .sub_why_list {
    grid-template-columns: 1fr;
    gap: 40px;
    margin-bottom: 48px;
  }

  .sub_why_item {
    padding: 0;
  }

  .sub_why_item + .sub_why_item::before {
    top: -20px;
    bottom: auto;
    left: 0;
    right: 0;
    width: 100%;
    height: 1px;
    background: rgba(255, 255, 255, 0.28);
  }

  .sub_why_cases {
    margin-bottom: 48px;
  }

  .sub_why_cases.is_no_bottom {
    margin-bottom: 0;
  }

  .sub_why_cases_tit br {
    display: inline;
  }

  .sub_why_case {
    gap: 14px;
    padding: 16px 20px;
    border-radius: 20px;
  }

  .sub_why_case_num {
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    font-size: 0.81em;
  }

  .sub_body.board-page {
    padding-top: 5em;
    padding-bottom: 7em;
  }
}


@media screen and (max-width: 520px) {
  .sub_page {
    --sub-hero-title: 1.44em;
    --sub-title: 1.25em;
    --sub-subhead: 1em;
    --sub-body: 0.875em;
    --sub-callout: 1.25em;
  }

  .sub_inner {
    padding: 0 20px;
  }
}

