/* Main page (index) */
.page-main {
  display: flex;
  flex-direction: column;
  width: 100%;
  align-items: center;
  background: var(--color-systemWhite);
}

.main-section {
  display: flex;
  flex-direction: column;
  padding: 63px 0;
  justify-content: center;
  align-items: center;
  min-height: calc(100vh - 60px);
}
@media (max-width: 767px) {
  .main-section {
    min-height: auto;
    padding: 50px 25px;
    justify-content: flex-start;
  }
}

.main-content {
  display: flex;
  flex-direction: row;
  gap: 54px;
  width: 100%;
  max-width: 1200px;
}
@media (max-width: 767px) {
  .main-content {
    flex-direction: column;
    align-items: center;
  }
}

.main-title-box {
  display: flex;
  flex-direction: column;
}
@media (max-width: 767px) {
  .main-title-box {
    gap: 18px;
    align-items: center;
  }
}

.main-title {
  font-size: 60px;
  font-weight: 700;
  color: var(--color-system3);
  line-height: 160%;
  text-align: start;
}
.main-title--desktop { display: block; white-space: pre-line; }
.main-title--mobile { display: none; }
@media (max-width: 767px) {
  .main-title {
    text-align: center;
    font-size: 35px;
  }
  .main-title--desktop { display: none; }
  .main-title--mobile { display: block; }
}
@media (max-width: 480px) {
  .main-title {
    font-size: 28px;
  }
}

.main-subtitle {
  font-size: 23px;
  color: var(--color-system3);
  line-height: 160%;
  text-align: start;
}
@media (max-width: 767px) {
  .main-subtitle {
    text-align: center;
  }
}
@media (max-width: 767px) {
  .main-subtitle {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .main-subtitle {
    font-size: 15px;
  }
}

.main-image-wrap {
  flex: 1;
  background: linear-gradient(180deg, #e9f4ff 0%, #f3f8fd 100%);
  border-radius: 20px;
  min-height: 300px;
  display: flex;
  justify-content: center;
  align-items: center;
}
@media (max-width: 767px) {
  .main-image-wrap {
    border-radius: 15px;
    height: 300px;
    width: 100%;
  }
}
.main-image-wrap object {
  width: 100%;
}

.section-2-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1200px;
  padding: 0 0 100px;
}
@media (max-width: 767px) {
  .section-2-box {
    padding: 0 30px 60px;
  }
}

.section-2-title {
  font-size: 28px;
  color: var(--color-system3);
  line-height: 160%;
}
@media (max-width: 767px) {
  .section-2-title {
    font-size: 15px;
  }
}

.section-2-content-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
@media (max-width: 767px) {
  .section-2-content-box {
    gap: 8px;
  }
}

.section-2-subtitle {
  font-weight: 700;
  color: var(--color-system1);
  font-size: 40px;
  line-height: 160%;
  text-align: center;
}
@media (max-width: 767px) {
  .section-2-subtitle {
    font-size: 25px;
  }
}

.section-2-text {
  font-size: 20px;
  color: var(--color-system3);
  line-height: 160%;
  text-align: center;
}
.section-2-text--desktop { display: block; }
.section-2-text--mobile { display: none; }
@media (max-width: 767px) {
  .section-2-text { font-size: 15px; }
  .section-2-text--desktop { display: none; }
  .section-2-text--mobile { display: block; }
}

/* ===== 반응형 브레이크포인트 (공통): 모바일만 767px 이하에서 UI 변경 =====
 * 768px 이상: 데스크탑/태블릿 동일
 * 767px 이하: 모바일 전용 스타일
 */

/* ResponsiveDivider: 가로 구분선 */
.divider-h {
  width: 100%;
  max-width: 1200px;
  min-height: 1px;
  height: 1px;
  background: var(--color-systemE);
}

/* ShowOnDesktop: 768px 이상에서만 표시 */
.show-desktop {
  display: flex;
  justify-content: center;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .show-desktop {
    display: none !important;
  }
}

/* ShowAtMobile767: 모바일(767px 이하)에서만 block 표시 */
.show-mobile-only {
  display: none;
}
@media screen and (max-width: 767px) {
  .show-mobile-only {
    display: block;
  }
}

/* ShowAtDesktop768: 태블릿·데스크탑(768px 이상)에서만 block 표시 */
.show-tablet-desktop {
  display: block;
}
@media screen and (max-width: 767px) {
  .show-tablet-desktop {
    display: none !important;
  }
}

/* HideMobile: 모바일에서 숨김, 768px 이상 flex */
.hide-mobile {
  display: flex;
  width: 100%;
}
@media screen and (max-width: 767px) {
  .hide-mobile {
    display: none !important;
  }
}

/* ShowMobile: 모바일에서만 flex 표시 */
.show-mobile {
  display: none;
}
@media screen and (max-width: 767px) {
  .show-mobile {
    display: flex !important;
    justify-content: center;
  }
}

/* ===== Access to 100+ global airlines (BannerContainer → BannerTypoBox → RollingSlide) ===== */
/* BannerContainer: 섹션 래퍼. 데스크탑 gap 100px/padding 100px 0, 태블릿·모바일 gap 54px/padding 60px 0 */
.banner-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  gap: 100px;
  padding: 100px 0;
}
@media screen and (max-width: 767px) {
  .banner-container {
    gap: 54px;
    padding: 60px 0;
  }
}

/* BannerTypoBox: 제목·부제목 묶음. 768px 이상 gap 12px, 모바일 gap 8px */
.banner-typo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
@media screen and (max-width: 767px) {
  .banner-typo-box {
    gap: 8px;
  }
}

/* 제목: 데스크탑 40px, 모바일 25px */
.banner-title {
  font-weight: 700;
  font-size: 40px;
  line-height: 160%;
  color: var(--color-system1);
  text-align: center;
  margin: 0;
}
.banner-title--desktop { display: block; }
.banner-title--mobile { display: none; }
@media screen and (max-width: 767px) {
  .banner-title { font-size: 25px; }
  .banner-title--desktop { display: none; }
  .banner-title--mobile { display: block; }
}

/* 부제목: 데스크탑 20px, 모바일 15px */
.banner-subtitle {
  font-size: 20px;
  line-height: 160%;
  color: var(--color-system3);
  text-align: center;
  margin: 0;
}
.banner-subtitle--desktop { display: block; }
.banner-subtitle--mobile { display: none; }
@media screen and (max-width: 767px) {
  .banner-subtitle { font-size: 15px; }
  .banner-subtitle--desktop { display: none; }
  .banner-subtitle--mobile { display: block; }
}

/* RollingSlide: 768px 이상 PC용, 767px 이하 모바일용 */
.rolling-container {
  display: flex;
  flex-direction: column;
  width: 100%;
  isolation: isolate;
}

.rolling-pc {
  display: flex;
  flex-direction: column;
  gap: 54px;
}
@media (max-width: 767px) {
  .rolling-pc {
    display: none !important;
  }
}

.rolling-mobile {
  display: none;
}
@media (min-width: 768px) {
  .rolling-mobile {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .rolling-mobile {
    display: flex !important;
    flex-direction: column;
    gap: 36px;
  }
}

.rolling-animated {
  position: relative;
  width: 100%;
  max-width: 100%;
  height: 51px;
  overflow: hidden;
  isolation: isolate;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
}
@media (max-width: 767px) {
  .rolling-mobile .rolling-animated {
    height: 51px;
  }
}

.rolling-spacer {
  display: inline-block;
  width: 54px;
  flex-shrink: 0;
}

.rolling-track {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  will-change: transform;
  display: flex;
  align-items: flex-end;
  gap: 54px;
  height: 51px;
  isolation: isolate;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: marquee 25s linear infinite;
  -webkit-animation: marquee 25s linear infinite;
}
@media (max-width: 767px) {
  .rolling-mobile .rolling-track {
    height: 23px;
    gap: 24px;
    align-items: center;
  }
}
@keyframes marquee {
  from {
    transform: translateX(0);
    -webkit-transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
  }
}

.rolling-track-reverse {
  position: absolute;
  left: 0;
  top: 0;
  white-space: nowrap;
  will-change: transform;
  display: flex;
  align-items: flex-end;
  gap: 54px;
  height: 51px;
  isolation: isolate;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  animation: marqueeReverse 25s linear infinite;
  -webkit-animation: marqueeReverse 25s linear infinite;
}
@media (max-width: 767px) {
  .rolling-mobile .rolling-track-reverse {
    height: 23px;
    gap: 24px;
    align-items: center;
  }
}
@keyframes marqueeReverse {
  from {
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
  }
  to {
    transform: translateX(0);
    -webkit-transform: translateX(0);
  }
}

/* ImgBox: logo height 100%, width auto. min-height으로 SVG가 잘리지 않게 */
.rolling-img {
  height: 100%;
  width: auto;
  min-height: 20px;
  display: block;
  object-fit: contain;
}

.rolling-mobile .rolling-row {
  display: flex;
  flex-wrap: nowrap;
  align-items: flex-end;
  isolation: isolate;
  white-space: nowrap;
}
@media (max-width: 767px) {
  .rolling-mobile .rolling-row {
    gap: 24px;
    margin-left: 24px;
    height: 23px;
  }
}

.rolling-mobile .rolling-row .rolling-img {
  height: 100%;
  width: auto;
}

/* Content sections 4, 5 */
.content-container {
  display: flex;
  justify-content: center;
  padding: 120px 0;
  width: 100%;
  background: var(--color-bgF9);
}
@media (max-width: 767px) {
  .content-container {
    padding: 60px 30px;
  }
}

.content-box {
  display: flex;
  flex-direction: column;
  gap: 120px;
  width: 100%;
  max-width: 1200px;
  align-items: center;
}
@media (max-width: 767px) {
  .content-box {
    gap: 54px;
  }
}

.content-box-part {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 100px;
  width: 100%;
}
@media (max-width: 767px) {
  .content-box-part {
    gap: 24px;
  }
}

.section-title-primary {
  font-weight: 700;
  font-size: 28px;
  color: var(--color-primaryMain);
  line-height: 160%;
}
@media (max-width: 767px) {
  .section-title-primary {
    font-size: 18px;
  }
}
@media (max-width: 480px) {
  .section-title-primary {
    font-size: 15px;
  }
}

.section-4-box {
  display: flex;
  flex-direction: row;
  gap: 54px;
  width: 100%;
  justify-content: space-between;
}
@media (max-width: 767px) {
  .section-4-box {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}

.section-4-title-box {
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 622px;
}
@media (max-width: 767px) {
  .section-4-title-box {
    align-items: center;
    min-width: 270px;
    flex: 1;
    width: 100%;
    gap: 8px;
  }
}

.section-4-subtitle {
  font-weight: 700;
  font-size: 40px;
  color: var(--color-system3);
  line-height: 160%;
}
@media (max-width: 767px) {
  .section-4-subtitle {
    text-align: center;
    font-size: 25px;
  }
}
.section-4-content {
  font-size: 20px;
  color: var(--color-system3);
  line-height: 160%;
  width: 100%;
}
@media (max-width: 767px) {
  .section-4-content {
    white-space: normal;
    text-align: center;
    font-size: 15px;
  }
}

.section-4-image {
  width: 590px;
}
@media (max-width: 767px) {
  .section-4-image {
    width: 100%;
    margin-top: 30px;
  }
}
.section-4-image object {
  width: 100%;
  height: 100%;
}

.more-button {
  padding: 16px 0;
  width: 200px;
  border-radius: 4px;
  border: 1px solid #000;
  color: #000;
  background: transparent;
  font-weight: 700;
  font-size: 20px;
  cursor: pointer;
  margin-top: 54px;
  text-align: center;
}
@media (max-width: 767px) {
  .more-button {
    margin-top: 36px;
    width: 158px;
    font-size: 15px;
  }
}

.section-5-content {
  font-size: 20px;
  color: var(--color-system3);
  line-height: 160%;
  text-align: start;
  width: 100%;
  white-space: normal;
}
@media (max-width: 767px) {
  .section-5-content {
    text-align: center;
    font-size: 15px;
  }
}

.section-5-subtitle {
  font-weight: 700;
  font-size: 40px;
  color: var(--color-system3);
  line-height: 160%;
}
.section-5-subtitle--desktop { display: block; }
.section-5-subtitle--mobile { display: none; }
@media (max-width: 767px) {
  .section-5-subtitle {
    text-align: center;
    font-size: 25px;
  }
  .section-5-subtitle--desktop { display: none; }
  .section-5-subtitle--mobile { display: block; }
}

.section-5-image {
  width: 570px;
  max-width: 100%;
}

/* Section 7 - We are certified by (Section7Container → Section7Box → title + Section7ContentBox) */
.section-7-container {
  display: flex;
  justify-content: center;
  padding: 120px 0 160px;
  width: 100%;
}
@media (max-width: 767px) {
  .section-7-container {
    padding: 60px 0;
  }
}

.section-7-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 120px;
  width: 100%;
  max-width: 1200px;
}
@media (max-width: 767px) {
  .section-7-box {
    gap: 54px;
  }
}

.section-7-title {
  font-weight: 700;
  font-size: 40px;
  color: var(--color-system1);
  line-height: 160%;
  margin: 0;
}
@media (max-width: 767px) {
  .section-7-title {
    font-size: 27px;
  }
}
.section-7-content-box {
  display: flex;
  flex-direction: row;
  gap: 50px;
}
@media (max-width: 767px) {
  .section-7-content-box {
    flex-direction: column;
    gap: 48px;
    align-items: center;
  }
}

.section-7-logo-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 283px;
}
@media (max-width: 767px) {
  .section-7-logo-box {
    width: auto;
    gap: 8px;
  }
}

.section-7-logo-img {
  height: auto;
  display: block;
}
@media (max-width: 767px) {
  .section-7-logo-img {
    width: 90px;
  }
}
@media (min-width: 768px) {
  .section-7-logo-img {
    width: auto;
  }
}

.section-7-logo-text {
  display: flex;
  flex-direction: column;
  gap: 4px;
  align-items: center;
  text-align: center;
}

.section-7-logo-text__title {
  font-weight: 700;
  font-size: 20px;
  color: var(--color-system3);
  line-height: 160%;
  margin: 0;
}
@media (max-width: 767px) {
  .section-7-logo-text__title {
    font-size: 21px;
  }
}

.section-7-logo-text__desc {
  font-size: 14px;
  color: var(--color-system3);
  line-height: 160%;
  text-align: center;
  white-space: pre-wrap;
  margin: 0;
}
@media (max-width: 767px) {
  .section-7-logo-text__desc {
    font-size: 13px;
  }
}
