/*----------------------------------------------------
******다국어(i18n) 추가 스타일******
style.css(SCSS 컴파일 결과)와 분리해 둔 파일. css.php에서 불러온다.
----------------------------------------------------*/

/* 언어 전환 버튼 (헤더: 메뉴 버튼 왼쪽) */
.langSwitch {
    position: absolute;
    right: 75px;
    bottom: 0;
    height: 50px;
    margin: 0 !important;
    font-family: "gro", sans-serif;
    font-size: 1.8rem;
    font-weight: 500;
    line-height: 50px;
    letter-spacing: 0.04em;
    white-space: nowrap;
    z-index: 99990;
}

.langSwitch a {
    display: inline-block;
    padding: 0 0.45em;
    color: #fff;
    opacity: 0.5;
    transition: opacity 0.3s ease-out;
}

.langSwitch a:hover,
.langSwitch a.cr {
    opacity: 1;
}

/* 메뉴를 열었을 때(흰 배경) */
.langSwitch.langSwitch_nav a {
    color: #0086ff;
}

@media screen and (max-width: 765px) {
    .langSwitch {
        right: 38px;
        height: 25px;
        font-size: 1.3rem;
        line-height: 25px;
    }
}

/* 영어: 기본 p의 word-break: break-all 이 단어 중간을 끊으므로 해제 */
html[lang="en"] p,
html[lang="en"] h3 {
    word-break: normal;
    overflow-wrap: break-word;
}

/* 일본어: 폰트와 금칙 처리 */
html[lang="ja"],
html[lang="ja"] body {
    font-family: 'Noto Sans JP', 'Noto Sans KR', sans-serif;
}

html[lang="ja"] p,
html[lang="ja"] h3 {
    word-break: normal;
    line-break: strict;
    overflow-wrap: break-word;
}

/* 일본어: 영문 전용 폰트(gro, dm_mono)를 쓰는 제목·버튼에 일본어 글꼴을 이어 붙인다.
   (선택자 목록은 style.css에서 해당 폰트를 쓰는 규칙을 그대로 옮긴 것) */
html[lang="ja"] #completeWall #complete .txt_1,
html[lang="ja"] #feMV h2,
html[lang="ja"] #footer #f_white #header .inr #f_white_lrBox .lBox small,
html[lang="ja"] #footer #f_white #spNav #inrBox #spHeader .inr #f_white_lrBox .lBox small,
html[lang="ja"] #footer #f_white .centerBox #f_white_lrBox .lBox small,
html[lang="ja"] #footer #footerInr #let,
html[lang="ja"] #footer #footerInr .getInTouch a .btnInr,
html[lang="ja"] #header #footer #f_white .inr #f_white_lrBox .lBox small,
html[lang="ja"] #spNav #inrBox #snsBTN_p a,
html[lang="ja"] #spNav #inrBox #spHeader #footer #f_white .inr #f_white_lrBox .lBox small,
html[lang="ja"] #spNav #inrBox .spUL li a,
html[lang="ja"] #topContent_1>div .spTxt,
html[lang="ja"] #topContent_1>div .txt_1,
html[lang="ja"] #topContent_1>div .txt_2,
html[lang="ja"] #topMV #catch .catchTxt_P .catchTxt,
html[lang="ja"] .contact_LRbox .lBox ul li .desc,
html[lang="ja"] .contact_LRbox .lBox ul li .title,
html[lang="ja"] .contact_LRbox .rBox #summitBTN button,
html[lang="ja"] .fontGro,
html[lang="ja"] .moreBTN span #downArrow,
html[lang="ja"] .title_green,
html[lang="ja"] .topContent_2_content_wrap .topContent_2_content .lrBox .lBox .lBox_inr p {
    font-family: "gro", "Noto Sans JP", sans-serif;
}

html[lang="ja"] #catSelect #catSelect_ul li a span,
html[lang="ja"] .exUL li a .inr .txtBox .affiliated,
html[lang="ja"] .fontDM,
html[lang="ja"] .pageLink a .btnInr {
    font-family: "dm_mono", "Noto Sans JP", sans-serif;
}

/* 일본어: 영문 기준으로 잡힌 큰 제목의 줄간격·크기 보정 */
html[lang="ja"] #topMV #catch .catchTxt_P .catchTxt {
    line-height: 1.25;
}

html[lang="ja"] #topContent_1 > div .txt_1,
html[lang="ja"] #topContent_1 > div .txt_2,
html[lang="ja"] #topContent_1 > div .spTxt {
    line-height: 1.3;
}

html[lang="ja"] #footer #footerInr #let {
    font-size: 6rem;
    line-height: 1.3;
}

html[lang="en"] #footer #footerInr #let {
    font-size: 7.5rem;
}

@media screen and (max-width: 765px) {
    html[lang="ja"] #topMV #catch .catchTxt_P .catchTxt {
        font-size: calc(90vw / 12);
    }

    html[lang="ja"] #footer #footerInr #let {
        font-size: 3rem;
    }

    html[lang="en"] #footer #footerInr #let {
        font-size: 4rem;
    }
}

/* 영어·일본어: "Why" 항목의 오른쪽 제목이 길어져도 아래 줄로 떨어지지 않게 한 줄(좌: 라벨 / 우: 제목)로 고정 */
html[lang="en"] .topContent_2_content_wrap .topContent_2_content .lrBox,
html[lang="ja"] .topContent_2_content_wrap .topContent_2_content .lrBox {
    flex-wrap: nowrap;
}

html[lang="en"] .topContent_2_content_wrap .topContent_2_content .lrBox .lBox,
html[lang="ja"] .topContent_2_content_wrap .topContent_2_content .lrBox .lBox {
    flex-shrink: 0;
    margin-right: 1.5em;
}

/* 일본어: 그라데이션 글자(배경을 글자 모양으로 오려내는 방식)는 영문 글꼴 높이에 맞춰져 있어
   획이 더 높은 일본어 글자의 위아래가 잘린다. 오려내는 영역과 줄 높이를 넉넉히 준다. */
html[lang="ja"] #topContent_1 > div .txt_1,
html[lang="ja"] #topContent_1 > div .txt_2,
html[lang="ja"] #topContent_1 > div .spTxt {
    padding: 0.3em 0;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

html[lang="ja"] #spNav #inrBox .spUL li a,
html[lang="ja"] #feMV h2,
html[lang="ja"] #completeWall #complete .txt_1 {
    line-height: 1.5;
    padding-top: 0.05em;
    padding-bottom: 0.05em;
}

html[lang="ja"] #spNav #inrBox .spUL li a {
    overflow: visible;
}

/* 일본어: 홈 LIVE360 소개문이 넓은 화면에서 마지막 글자만 셋째 줄로 넘어가지 않도록
   글자 크기는 그대로 두고 글줄 폭만 조금 넓힌다 (오른쪽 여백 30% → 26%) */
@media screen and (min-width: 1400px) {
    html[lang="ja"] #topContent_1 > div .txt_3 {
        padding-right: 26%;
    }
}
