/* =============================================
   INPLANET 2026.css
   반응형 개편: 2026
   - width 고정값 → max-width + 100% 전환
   - 모바일 미디어쿼리 추가 (기준: 768px)
   - 단위없는 숫자값 수정 (left:-35 등)
   - 레거시 클래스 정리 (thm7~vrdn12 등 2006년식)
   - box-sizing: border-box 전체 적용
   - viewport meta 필요:
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
============================================= */

* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}

img {
    border: 0;
    max-width: 100%;
    height: auto;
}

/* 버튼 옆 겹침 로고 - 고정 70px */
.logo-link img {
    height: 70px;
    width: auto;
    max-width: none;
    vertical-align: bottom;
}

/* 버튼 안 아이콘 이미지 - 고정 28px */
a.button img,
a.button > img {
    height: 28px !important;
    width: auto !important;
    max-width: none !important;
    vertical-align: middle !important;
}
body {
    font: 13px helvetica, arial, sans-serif;
    color: #777;
    background-color: #fff;
    line-height: 18px;
    height: 100%;
}

td, input, select, textarea {
    font: 0.8rem helvetica, arial, sans-serif;
    color: #777;
}

a:link    { color: #777; text-decoration: none; }
a:visited { color: #777; text-decoration: none; }
a:active  { color: #777; text-decoration: none; }
a:hover   { color: #FF8900; text-decoration: none; }

a.linkover:hover { position: relative; top: 1px; left: 0; }

.point:link    { color: #777; text-decoration: none; }
.point:visited { color: #777; text-decoration: none; }
.point:active  { color: #777; text-decoration: none; }
.point:hover   { color: #777; text-decoration: none; }

.clear4 {
    clear: both;
    height: 4px;
    background-color: #fff;
}

.clear8 {
    clear: both;
    height: 8px;
    background-color: #fff;
}


/* =============================================
   레이아웃
============================================= */

#container {
    max-width: 900px;
    width: 100%;
    margin: 0 auto;
    background-color: #fff;
    height: auto !important;
    padding: 0 20px;
}

/* 헤더 */
#header {
    background-color: #fff;
    width: 100%;
    height: 120px;
    position: relative;
}

#header .topmenu {
    height: 10px;
    text-align: right;
}

#header .logo {
    width: 150px;
    height: 150px;
    text-align: left;
    position: relative;
    left: -35px;
    top: 40px;
    z-index: 1;
}

/* =============================================
   네비게이션 메뉴 (PC)
============================================= */

#menu {
    height: 50px;
    background: #fff;
    text-align: right;
    padding: 5px 0 0 0;
    margin-bottom: 8px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
    gap: 0;
}

#menu span {
    display: inline-block;
    padding: 0 12px;
    vertical-align: top;
}

/* 햄버거 버튼 - PC에선 숨김 */
#menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 100;
}

#menu-toggle span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: #ff8900;
    margin: 5px 0;
    border-radius: 2px;
    transition: all 0.3s ease;
    padding: 0;
}

/* 모바일 메뉴 오버레이 */
#menu-nav {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}


/* =============================================
   바디
============================================= */

#body {
    width: 100%;
    background-color: #fff;
}

/* =============================================
   배너 (유튜브 iframe - 반응형)
============================================= */

#banner {
    width: 100%;
    position: relative;
    background-color: #fff;
    border-top: 10px solid #ff8900;
    z-index: 0;
}

/* 16:9 비율 유지 래퍼 */
#banner .video_wrap {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
}

#banner .video_wrap iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* 배너 마스킹 */
#banner .banner_mask {
    width: 100%;
    height: 100%;
    background: transparent url(https://www.inplanet.co.kr/corp/images/banner_mask_3.png) top center repeat-x;
    background-size: cover;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    pointer-events: none;
}


/* =============================================
   콘텐츠
============================================= */

#content {
    width: 100%;
    text-align: left;
    background-color: #fff;
}

#content_title {
    width: 100%;
    height: 40px;
    background: transparent url(https://www.inplanet.co.kr/corp/images/top_title_bg.gif) top center repeat-x;
    text-align: left;
    background-color: #fff;
    font: 1.7rem 'Dela Gothic One', cursive;
    color: #ff8900;
    letter-spacing: 0px;
    text-decoration: none;
}

/* 스크롤 효과 */
.scroll_wrap {}
.scroll_on { opacity: 0; transition: all 1s; clear: both; }
.scroll_on.active { opacity: 1 !important; transform: translate(0, 0) !important; }
.scroll_on.type_top    { transform: translate(0, -50px); }
.scroll_on.type_bottom { transform: translate(0, 50px); }
.scroll_on.type_left   { transform: translate(-50px, 0); }
.scroll_on.type_right  { transform: translate(50px, 0); }


/* =============================================
   푸터
============================================= */

#footer {
    clear: both;
    width: 100%;
    background-color: #fff;
}

#footer .bottomline {
    width: 100%;
    height: 1px;
    background-color: #ccc;
    margin-bottom: 20px;
}

#footer span {
    width: 30%;
    float: left;
    text-align: left;
    padding: 0 0 0 0;
}

#footer ul {
    width: 70%;
    float: right;
    text-align: right;
    padding: 0 0 0 0;
    list-style: none;
    display: flex;
    align-items: flex-end;
    justify-content: flex-end;
    gap: 10px;
}

#footer ul .follow-label {
    margin-right: 5px;
    white-space: nowrap;
    line-height: 1;
    display: flex;
    align-items: center;
    margin-bottom: 3px;
}

#footer ul li img {
    display: block;
    vertical-align: middle;
}

#footer .copyright {
    clear: both;
    text-align: right;
    width: 100%;
    padding: 10px 0 50px 0;
    white-space: nowrap;
}


/* =============================================
   페이징
============================================= */

.pageno {
    margin: 4.5em 0 6em;
    font: 1.4rem 'Dela Gothic One', cursive;
    color: #ccc;
    letter-spacing: 1px;
}

.pageno a:link,
.pageno a:visited { color: #ccc; }

.pageno a:hover,
.pageno a:active  { color: #ff8900; }

.pageno .selected {
    color: #ff8900;
    border-bottom: 0px solid #ff8900;
}


/* =============================================
   버튼
============================================= */

a.button {
    display: block;
    padding: 0 20px;
    margin: 10px 20px 10px 0;
    font-size: 1.2rem !important;
    font-weight: normal !important;
    font-family: 'Dela Gothic One', 'Gothic A1', sans-serif !important;
    line-height: 50px !important;
    text-align: center;
    height: 50px;
    color: #fff !important;
    border-radius: 5px;
    transition: all 0.2s;
    white-space: nowrap;
    box-sizing: border-box;
    overflow: hidden;
}

/* 이메일/아이콘 전용 버튼 - 패딩 없이 중앙정렬 */
a.button.btn-icon {
    padding: 0 !important;
}

.btnOrange {
    background: #ff8900;
}

/* 버튼+로고 래퍼 */
.btn-area {
    overflow: visible;
    padding: 10px 0;
    min-height: 80px;
    position: relative;
}
/* float 클리어 */
.btn-area::after {
    content: '';
    display: table;
    clear: both;
}

.btnOrange.btnPush {
    box-shadow: 0px 5px 0px 0px #a66615;
}

.btnPush:hover {
    margin-top: 15px;
    margin-bottom: 5px;
}

.btnOrange.btnPush:hover {
    box-shadow: 0px 0px 0px 0px #a66615;
}


/* =============================================
   폰트 클래스
============================================= */

.contentfont {
    font-size: 1.2rem;
    line-height: 140%;
}

.contentfontbox {
    font-size: 1.2rem;
    color: #fff;
    background-color: #ff8900;
    line-height: 140%;
}

/* titlefont */
.titlefont {
    font: 1.5rem 'Gothic A1', sans-serif;
    color: #777;
    letter-spacing: -0.5px;
    line-height: 140%;
}
.titlefont a:link,
.titlefont a:visited {
    font: 1.5rem 'Gothic A1', sans-serif;
    color: #777;
    letter-spacing: -0.5px;
    text-decoration: none;
    line-height: 140%;
}
.titlefont a:hover {
    font: 1.5rem 'Gothic A1', sans-serif;
    color: #fff;
    background-color: #ff8900;
    padding: 10px;
    transition: all 0.2s ease;
    letter-spacing: -0.5px;
    text-decoration: none;
    line-height: 140%;
}

/* titlefontbox */
.titlefontbox {
    font: 1.5rem 'Gothic A1', sans-serif;
    color: #fff;
    background-color: #ff8900;
    letter-spacing: -0.5px;
    line-height: 100%;
}
.titlefontbox a:link,
.titlefontbox a:visited {
    font: 1.5rem 'Gothic A1', sans-serif;
    color: #fff;
    background-color: #ff8900;
    letter-spacing: -0.5px;
    line-height: 100%;
}
.titlefontbox a:hover {
    font: 1.5rem 'Gothic A1', sans-serif;
    color: #ff8900;
    background-color: #fff;
    letter-spacing: -0.5px;
    line-height: 100%;
    transition: all 0.2s ease;
}

/* titlefontbox2 */
.titlefontbox2 {
    font: 1.5rem 'Gothic A1', sans-serif;
    color: #ff8900;
    background-color: #fff;
    letter-spacing: -0.5px;
    line-height: 100%;
}
.titlefontbox2 a:link,
.titlefontbox2 a:visited {
    font: 1.5rem 'Gothic A1', sans-serif;
    color: #ff8900;
    background-color: #fff;
    letter-spacing: -0.5px;
    line-height: 100%;
}
.titlefontbox2 a:hover {
    font: 1.5rem 'Gothic A1', sans-serif;
    color: #fff;
    background-color: #ff8900;
    letter-spacing: -0.5px;
    line-height: 100%;
    transition: all 0.2s ease;
}

/* titlefont12 */
.titlefont12 {
    font: 0.8rem 'Gothic A1', sans-serif;
    color: #777;
    letter-spacing: -0.5px;
}
.titlefont12 a:link,
.titlefont12 a:visited {
    font: 0.8rem 'Gothic A1', sans-serif;
    color: #777;
    letter-spacing: -0.5px;
    text-decoration: none;
}
.titlefont12 a:hover {
    font: 0.8rem 'Gothic A1', sans-serif;
    color: #ff8900;
    background-color: #777;
    padding: 10px;
    transition: all 0.2s ease;
    letter-spacing: -0.5px;
    text-decoration: none;
}

/* titlefontwhite */
.titlefontwhite {
    font: 1.2rem 'Gothic A1', sans-serif;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 120%;
}

/* 버튼 안 titlefontwhite는 버튼 line-height 유지 */
a.button .titlefontwhite,
a.button span.titlefontwhite {
    font-family: 'Gothic A1', sans-serif !important;
    font-size: 1.2rem !important;
    line-height: 50px !important;
    color: #fff !important;
    letter-spacing: -0.5px;
}
.titlefontwhite a:link,
.titlefontwhite a:visited {
    font: 1.2rem 'Gothic A1', sans-serif;
    color: #fff;
    letter-spacing: -0.5px;
    text-decoration: none;
    line-height: 120%;
}
.titlefontwhite a:hover {
    color: #ffc076;
    transition: all 0.2s ease;
    letter-spacing: -0.5px;
    text-decoration: none;
    line-height: 120%;
}

/* titlefontwhitebig */
.titlefontwhitebig {
    font: 1.5rem 'Gothic A1', sans-serif;
    color: #fff;
    letter-spacing: -0.5px;
    line-height: 120%;
}
.titlefontwhitebig a:link,
.titlefontwhitebig a:visited {
    font: 1.5rem 'Gothic A1', sans-serif;
    color: #fff;
    letter-spacing: -0.5px;
    text-decoration: none;
    line-height: 120%;
}
.titlefontwhitebig a:hover {
    color: #fff;
    background-color: #ff8900;
    padding: 10px;
    transition: all 0.2s ease;
    letter-spacing: -0.5px;
    text-decoration: none;
}

/* titleorange */
.titleorange {
    font: 1.5rem 'Gothic A1', sans-serif;
    color: #ff8900;
    letter-spacing: -0.5px;
}
.titleorange a:link,
.titleorange a:visited {
    font: 1.5rem 'Gothic A1', sans-serif;
    color: #ff8900;
    letter-spacing: -0.5px;
    text-decoration: none;
}
.titleorange a:hover {
    color: #fff;
    background-color: #ff8900;
    padding: 10px;
    transition: all 0.2s ease;
    letter-spacing: -0.5px;
    text-decoration: none;
}

/* menufont */
.menufont {
    font: 1.3rem 'Dela Gothic One', cursive;
    color: #777;
    letter-spacing: 0px;
}
.menufont a:link,
.menufont a:visited {
    font: 1.3rem 'Dela Gothic One', cursive;
    color: #777;
    letter-spacing: 0px;
    text-decoration: none;
}
.menufont a:hover {
    color: #ff8900;
    background-color: #ccc;
    padding: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* menufontfff */
.menufontfff {
    font: 1.2rem 'Dela Gothic One', cursive;
    color: #fff;
    letter-spacing: 0px;
    text-decoration: none;
}
.menufontfff a:link,
.menufontfff a:visited {
    font: 1.2rem 'Dela Gothic One', cursive;
    color: #fff;
    letter-spacing: 0px;
    text-decoration: none;
}
.menufontfff a:hover {
    color: #ffc076;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* menufontccc */
.menufontccc {
    font: 1.7rem 'Dela Gothic One', cursive;
    color: #ccc;
    letter-spacing: 0px;
}
.menufontccc a:link,
.menufontccc a:visited {
    font: 1.7rem 'Dela Gothic One', cursive;
    color: #ccc;
    letter-spacing: 0px;
    text-decoration: none;
}
.menufontccc a:hover {
    color: #fff;
    background-color: #ff8900;
    padding: 10px 10px 20px 10px;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* menufontccc12 */
.menufontccc12 {
    font: 1rem 'Dela Gothic One', cursive;
    color: #ccc;
    letter-spacing: 0px;
}
.menufontccc12 a:link,
.menufontccc12 a:visited {
    font: 1rem 'Dela Gothic One', cursive;
    color: #ccc;
    letter-spacing: 0px;
    text-decoration: none;
}
.menufontccc12 a:hover {
    color: #ff8900;
    background-color: #ddd;
    padding: 10px;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* menufontorange */
.menufontorange {
    font: 1.7rem 'Dela Gothic One', 'Do Hyeon', cursive;
    color: #ff8900;
    letter-spacing: 0px;
    text-decoration: none;
}
.menufontorange a:link,
.menufontorange a:visited {
    font: 1.7rem 'Dela Gothic One', 'Do Hyeon', cursive;
    color: #ff8900;
    letter-spacing: 0px;
    text-decoration: none;
}
.menufontorange a:hover {
    color: #fff;
    background-color: #ff8900;
    padding: 10px 10px 20px 10px;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* menufontorange12 */
.menufontorange12 {
    font: 1.2rem 'Dela Gothic One', 'Do Hyeon', cursive;
    color: #ff8900;
    letter-spacing: 0px;
    text-decoration: none;
}
.menufontorange12 a:link,
.menufontorange12 a:visited {
    font: 1.2rem 'Dela Gothic One', 'Do Hyeon', cursive;
    color: #ff8900;
    letter-spacing: 0px;
    text-decoration: none;
}
.menufontorange12 a:hover {
    color: #ffc076;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* menufontorangebox */
.menufontorangebox {
    font: 1.2rem 'Dela Gothic One', 'Do Hyeon', cursive;
    color: #fff;
    background-color: #ff8900;
    line-height: 100%;
    padding: 0 10px;
}
.menufontorangebox a:link,
.menufontorangebox a:visited {
    font: 1.2rem 'Dela Gothic One', 'Do Hyeon', cursive;
    color: #fff;
    background-color: #ff8900;
    line-height: 100%;
    padding: 0 10px;
}
.menufontorangebox a:hover {
    color: #ff8900;
    background-color: #fff;
    line-height: 100%;
    padding: 0 10px;
    transition: all 0.2s ease;
}

/* categoryfont0 */
.categoryfont0 {
    font: 1.3rem 'Dela Gothic One', cursive;
    color: #ff8900;
    text-decoration: none;
}
.categoryfont0 a:link,
.categoryfont0 a:visited {
    font: 1.3rem 'Dela Gothic One', cursive;
    color: #ff8900;
    text-decoration: none;
}
.categoryfont0 a:hover {
    color: #ffc076;
    transition: all 0.2s ease;
    text-decoration: none;
}

/* categoryfont1 */
.categoryfont1 {
    font: 1.3rem 'Dela Gothic One', 'Gothic A1', cursive;
    color: #ffc076;
}
.categoryfont1 a:link,
.categoryfont1 a:visited {
    font: 1.3rem 'Dela Gothic One', 'Gothic A1', cursive;
    color: #ffc076;
}
.categoryfont1 a:hover {
    color: #ff8900;
    transition: all 0.2s ease;
}

/* 제로보드 입력 폼 (Artists/Releases에서 사용) */
.input {
    border: solid 2px #ff8900;
    background-color: #fff;
    width: 200px;
    height: 40px;
    color: #ff8900;
    font: 1.2rem 'Gothic A1', sans-serif;
}
.c_textarea {
    border: 1px solid #ff8900;
    background-color: #f7f7f7;
    line-height: 120%;
    width: 100%;
}


/* =============================================
   모바일 반응형 (768px 이하)
============================================= */

@media screen and (max-width: 768px) {

    html {
        font-size: 13px;
    }

    #container {
        padding: 0 15px;
    }

    /* 헤더: 로고 + 햄버거 나란히 */
    #header {
        height: auto;
        display: flex;
        align-items: flex-end;
        justify-content: space-between;
        padding-bottom: 10px;
        min-height: 80px;
    }

    #header .topmenu {
        display: none;
    }

    #header .logo {
        position: static;
        left: 0;
        top: 0;
        width: 80px;
        height: 80px;
    }

    #header .logo img {
        width: 80px;
        height: 80px;
    }

    /* 햄버거 버튼 표시 */
    #menu-toggle {
        display: block;
        position: static;
        align-self: center;
        margin-left: auto;
    }

    /* 메뉴 - 모바일에서 세로 드롭다운 */
    #menu {
        height: auto;
        min-height: 0;
        padding: 0;
        margin-bottom: 0;
        justify-content: flex-end;
        position: relative;
    }

    #menu-nav {
        display: none;
        flex-direction: column;
        align-items: flex-end;
        width: 100%;
        background: #fff;
        padding: 10px 0 15px 0;
        border-bottom: 3px solid #ff8900;
    }

    #menu-nav.open {
        display: flex;
    }

    #menu-nav span {
        padding: 4px 15px;
        font-size: 1.4rem;
    }

    /* 모바일 메뉴 hover: 폰트 크기에 딱 맞는 박스 */
    #menu-nav .menufontorange a:hover,
    #menu-nav .menufontccc a:hover {
        padding: 0 4px;
    }

    /* 배너: 모바일에서 높이 늘리고 iframe 확대 중앙 크롭 */
    #banner .video_wrap {
        padding-bottom: 75%;
        overflow: hidden;
    }

    #banner .video_wrap iframe {
        position: absolute;
        width: 150%;
        height: 150%;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

    /* About 페이지 boxbg/boxtext 반응형 */
    #about {
        height: auto !important;
        padding-bottom: 8px !important;
    }

    .boxbg {
        height: 300px !important;
        background-attachment: scroll !important;
        background-size: cover !important;
        background-position: center 0%;
    }

    .boxtext {
        position: static !important;
        top: auto !important;
        padding-top: 30px !important;
    }

    /* 버튼 모바일 조정 */
    a.button {
        margin: 8px 10px 8px 0;
        font-size: 0.9rem;
    }

    /* btn-area: 버튼 한 줄 + 로고 아래 */
    .btn-area {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        position: relative;
        overflow: visible;
        padding: 10px 0;
        gap: 5px;
        align-items: center;
    }

    .btn-area a.button {
        float: none !important;
        width: auto !important;
        min-width: 0;
        flex: 1 1 auto;
        padding: 0 8px !important;
        margin: 0 !important;
        font-size: 1rem !important;
        line-height: 42px !important;
        height: 42px !important;
        white-space: nowrap;
    }

    .btn-area a.btn-icon {
        flex: 0 0 42px !important;
        width: 42px !important;
        height: 42px !important;
        line-height: 42px !important;
    }

    .btn-area .logo-link {
        position: static !important;
        display: inline-block;
        flex: 0 0 auto;
        margin: 8px 0 0 0 !important;
    }

    .btn-area .logo-link:first-of-type {
        margin-left: auto !important;
    }

    .btn-area .logo-link img {
        height: 55px !important;
    }

    /* 푸터 모바일 */
    #footer span {
        width: 100%;
        float: none;
        padding: 15px 0 5px 0;
        /* 홈/탑 버튼: 왼쪽 정렬 유지 (PC와 동일) */
    }

    #footer ul {
        width: 100%;
        float: none;
        padding: 10px 0 0 0;
        justify-content: flex-end;      /* ← 오른쪽 정렬 */
        align-items: flex-end;
        flex-wrap: nowrap;
        gap: 6px;
        overflow-x: auto;
    }

    #footer ul .follow-label {
        margin-right: 2px;
    }

    #footer .copyright {
        text-align: right;              /* ← 오른쪽 정렬 */
        padding: 10px 0 30px 0;
    }

    /* follow us! + INPLANET Co., Ltd. 폰트 80% 축소 */
    #footer .menufontccc {
        font-size: 1.36rem;
    }

    /* 스튜디오 이미지맵 대체 */
    map area {
        display: none;
    }
}

/* =============================================
   태블릿 (769px ~ 960px)
============================================= */

@media screen and (min-width: 769px) and (max-width: 960px) {
    #container {
        padding: 0 20px;
    }
}