/* LOTTE business detail — mobile / tablet overrides */
@media screen and (max-width: 1023px) {
  html,
  body {
    overflow-x: hidden;
    max-width: 100%;
  }

  .wrap {
    min-width: 0;
    width: 100%;
  }

  /* Header */
  .header {
    height: auto;
    min-height: 56px;
    padding: 8px 12px 8px 48px;
    text-align: left;
  }

  .header h1 a {
    height: auto;
    padding: 4px 0;
  }

  .header h1 a img {
    max-height: 36px;
    width: auto;
    max-width: 120px;
    margin-top: 0 !important;
  }

  .header .btn_all {
    left: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    padding: 6px;
    box-sizing: border-box;
  }

  .header .btn_all img {
    width: 100%;
    height: auto;
    margin-top: 0 !important;
  }

  .header .language_box {
    position: static;
    margin: 4px 0 0;
    text-align: right;
    white-space: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .header .language_box a {
    font-size: 12px;
    margin-left: 4px;
  }

  .header.fixed {
    height: auto;
  }

  .header.fixed h1 a img,
  .header.fixed .btn_all img {
    margin-top: 0 !important;
  }

  /* GNB drawer — full width */
  .gnb {
    width: 100% !important;
    max-width: 100vw !important;
    left: -100% !important;
  }

  .gnb .inner {
    display: block;
    padding: 72px 20px 32px;
    width: 100%;
    box-sizing: border-box;
  }

  .gnb .innner_wrap {
    margin-top: 24px;
    padding-bottom: 20px;
  }

  .gnb .innner_wrap.ir {
    height: auto;
  }

  .gnb .tit_gnb,
  .gnb .tit_gnb a {
    width: auto;
    font-size: 18px;
  }

  .gnb ul {
    position: static;
    width: 100%;
    margin-top: 8px;
  }

  .gnb li {
    display: block;
    margin: 0 0 8px !important;
  }

  .gnb li a {
    height: auto;
    font-size: 15px;
    padding: 4px 0;
  }

  .gnb .gnb_close {
    right: 16px;
    top: 16px;
  }

  /* Hero */
  .business_p .visual_info {
    height: auto;
    min-height: 420px;
    background-size: cover !important;
    background-position: center center !important;
  }

  .business_p .visual_tit {
    padding: 100px 16px 48px;
  }

  .business_p .visual_tit .tit_category {
    padding-top: 48px;
    font-size: 16px;
    background-size: 40px auto;
  }

  .business_p .tit_union {
    margin-top: 32px;
    padding-bottom: 20px;
    font-size: clamp(28px, 9vw, 48px);
    line-height: 1.15;
    word-break: break-word;
  }

  .business_p .txt_union {
    margin-top: 16px;
    font-size: 15px;
    padding: 0 8px;
  }

  .business_p .visual_tit a {
    width: auto;
    min-width: 160px;
    max-width: 90%;
    height: auto;
    line-height: 1.3;
    padding: 12px 24px;
    margin-top: 32px;
    font-size: 15px;
  }

  .business_p .ico_scroll {
    bottom: 24px;
    transform: translateX(-50%) scale(0.85);
  }

  /* About */
  .intro_affiliate,
  .network_area,
  .explain_list,
  .footer .footer_contents {
    width: 100% !important;
    max-width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .tit_affiliate {
    font-size: clamp(24px, 6vw, 36px);
    padding: 48px 0 20px;
    margin-bottom: 32px;
  }

  .intro_area .img_affiliate {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    max-height: none;
  }

  .intro_area .img_affiliate img {
    width: 100%;
    height: auto;
    display: block;
  }

  .txt_affiliate {
    padding-top: 24px;
  }

  .txt_affiliate p,
  .txt_affiliate .next_sentence {
    width: 100% !important;
    margin: 0 !important;
    padding: 20px 16px !important;
    font-size: 14px;
  }

  .affiliate_list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    border-top: 1px solid #eee;
  }

  .affiliate_list li {
    display: block;
    width: 50%;
    height: auto;
    min-height: 140px;
    padding: 88px 8px 16px;
    border-bottom: 1px solid #eee;
    box-sizing: border-box;
  }

  .affiliate_list li:after {
    display: none;
  }

  .affiliate_list li span {
    font-size: 13px;
    word-break: break-word;
  }

  /* Core services */
  .core_contents {
    height: auto;
    padding-bottom: 24px;
  }

  .core_visual {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
    height: auto;
    margin: 0;
  }

  .core_visual img {
    width: 100%;
    height: auto;
    display: block;
  }

  .service_slide {
    position: relative;
    left: auto;
    top: auto;
    width: calc(100% - 32px);
    max-width: 400px;
    height: auto;
    margin: -40px auto 0;
  }

  .service_slide .bx-viewport,
  .service_slide .bx-wrapper {
    width: 100% !important;
  }

  .service_slide li {
    width: 100% !important;
    height: auto;
    min-height: 280px;
    padding: 32px 20px 48px;
  }

  .service_slide li strong {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .service_slide li p {
    height: auto;
    max-height: 220px;
  }

  /* Affiliate grid */
  .affiliate_wrap {
    padding: 32px 0;
  }

  .affiliate_view {
    width: 100%;
    padding: 0 8px;
    box-sizing: border-box;
  }

  .affiliate_view li {
    display: block;
    width: 100%;
    margin-bottom: 0;
  }

  .affiliate_view li a {
    display: block;
    height: auto;
    padding: 14px 12px;
    font-size: 14px;
    border-left: 0;
    border-bottom: 1px solid #dfdfdf;
  }

  /* Footer */
  .footer {
    height: auto;
    padding-bottom: 24px;
  }

  .footer .footer_menu {
    float: none;
    padding: 24px 0 0;
  }

  .footer .footer_menu .footer_logo {
    position: static;
    display: block;
    margin-bottom: 12px;
  }

  .footer .agree_list li {
    display: block;
    margin: 8px 0 0;
    padding: 0;
    background: none;
  }

  .footer .sns_wrap {
    float: none;
    height: auto;
    padding: 16px 0;
  }

  .footer .select_wrap {
    position: relative;
    right: auto;
    top: auto;
    width: 100%;
    max-width: 100%;
  }

  .footer .copy {
    padding: 16px 0;
    font-size: 12px;
  }

  .footer .btn_top {
    right: 12px;
    bottom: 12px;
  }

  .list_view {
    display: none !important;
  }
}

@media screen and (max-width: 480px) {
  .affiliate_list li {
    width: 100%;
  }

  .header .language_box a:nth-child(n+4) {
    display: none;
  }

  .business_p .visual_info {
    min-height: 360px;
  }
}
