@charset "utf-8";

/** CSS Section 
 1. Header
 2. Body
 3. Footer
 4. Mobile Header
 5. Responsive
*/
#wrap {
  overflow-x: hidden;
}

/*** 1. Header ***/
#site-header {
  width: 100%;
  height: 68px;
  border-bottom: 3px solid #02983b;
  background-color: #181818;
}

.site-header-mobile, .mobile-screen {
  display: none;
}

.site-logo {
  width: 230px;
}

.site-logo a {
  display: block;
}

.site-nav {
  width: 1280px;
  height: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-nav-menu {
  display: flex;
  align-items: center;
  gap: 42px;
}

.site-nav-menu a {
  display: flex;
  font-size: 18px;
  font-weight: 600;
  padding: 12px;
  align-items: center;
  gap: 4px;
  transition: color .1s ease-in-out;
}

.site-nav-menu a:hover {
  color: #666;
}

.site-nav-menu a.on {
  color: #2196f3;
}

.top-search {
  display: flex;
  width: 230px;
  height: 36px;
  background-color: #333;
  border-radius: 6px;
  transition: background .1s ease;
}

.top-search.focus {
  background-color: #444;
}

.top-search-field {
  background: transparent;
  width: calc(100% - 42px);
  height: 100%;
  padding: 6px 10px;
  color: #EFEFEF;
  font-size: 14px;
  border: none;
}

.top-search-button {
  background-color: transparent;
  width: 42px;
  border: none;
}

/*** 1-2. Remote ***/
.remote-banner {
  position: fixed;
  width: 1280px;
  bottom: 24px;
  left: 50%;
  margin-left: 72px;
  transform: translateX(50%);
  z-index: 100;
}

.remote-nav {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
  width: 70px;
  right: 0;
  padding: 18px 6px;
  margin-bottom: 18px;
  background-color: #222;
  border: 1px solid #555;
  border-radius: 8px;
}

.remote-menu {
  display: block;
  text-align: center;
}

.remote-menu img {

  /* width: 35px; */
}

.remote-menu p {
  color: #dfdfdf;
  font-size: 12px;
  text-align: center;
  white-space: nowrap;
  margin-top: 0.6em;
}

.go-top {
  display: block;
  width: 30px;
  height: 30px;
  margin-left: 22px;
  background: #fff url(../images/btn-arrow-up.svg) 50% 40% no-repeat;
  background-size: 20px;
  border-radius: 50%;
  color: #CCC;
  font-size: 10px;
  letter-spacing: 0.1em;
  text-align: center;
}

/*** 2. Body ***/

/*** 2-1. Main Live Section ***/
.main-live-section {
  width: 100%;
  background: #333 url('../images/main-player-patt.png') repeat 50% -50%;
}

.main-live-container {
  width: 1280px;
  margin: 0 auto;
  display: flex;
  align-items: stretch;
}

.main-live-tv {
  width: 78%;
  background-color: #181818;
}

.main-live-scroll {
  width: 22%;
  height: 560px;
  background-color: #111;
  overflow: hidden;
  padding: 16px 28px 16px 28px;
}

.main-live-scroll::after {
  display: block;
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 24px;
  background-color: #111;
  background: linear-gradient(0deg, rgba(17, 17, 17, 1) 50%, rgba(17, 17, 17, 0) 100%);
  content: "";
}

.main-live-player {
  display: block;
  width: 100%;
  height: 0;
  padding-bottom: 56.2%;
  overflow: hidden;
  background-color: #000;
}

.main-live-player .watch-tv {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
}

.onair-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.onair-title {
  font-size: 20px;
  font-weight: 600;
}

.onair-title::after {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-left: 6px;
  background-color: #ff0000;
  content: "";
  vertical-align: super;
  border-radius: 50%;
}

a.onair-all {
  color: #DDD;
  font-size: 13px;
}

.onair-wrapper {
  width: 100%;
  height: calc(100% - 14px);
  overflow-y: auto;
  margin: 0;
  padding-bottom: 12px;
}

.onair-wrapper::after {
  display: block;
  position: absolute;
  bottom: 0;
  width: 100%;
  height: 24px;
  background-color: #111;
  background: linear-gradient(0deg, rgba(17, 17, 17, 1) 50%, rgba(17, 17, 17, 0) 100%);  /*content: "";*/
}

.onair-playlist {
  display: flex;
  flex-direction: column;
}

.onair-playlist .tv-player {
  margin-bottom: 6px;
}

.onair-playlist .tv-player:hover::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*border: 2px solid #02983b;*/
  content: "";
  z-index: 1;
  background-color: rgba(0 0 0 / 50%);
  box-sizing: border-box;
}

.onair-playlist .tv-player .tv-label-ico {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 1;
  width: 52px;
}

#onair-arrow {
  position: absolute;
  width: 100%;
  left: 0;
  bottom: -9px;
  display: flex;
  justify-content: center;
  z-index: 1;
}

#onair-live::before {
  display: block;
  position: absolute;
  top: 0px;
  width: 100%;
  height: 28px;
  background-color: #111;
  background: linear-gradient(180deg, rgba(17, 17, 17, 1) 50%, rgba(17, 17, 17, 0) 100%);  /* content: ""; */
  z-index: 1;
}

#onair-arrow .slick-arrow {
  position: relative;
  top: 0;
  left: 0;
  width: 32px;
  height: 32px;
  border-radius: 0;
  cursor: pointer;
}

#onair-arrow .slick-next {
  background: url('../images/btn-arrow-down.svg') 50% no-repeat;
}

#onair-arrow .slick-prev {
  background: url('../images/btn-arrow-up.svg') 50% no-repeat;
}

#onair-arrow .slick-arrow.slick-disabled {
  display: none !important;
}

.onair-item-title {
  font-size: 15px;
  margin-bottom: 8px;
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  line-height: 1.4;  /* height: 38px; */

  /* word-wrap: break-word; */

  /* display: -webkit-box; */

  /* -webkit-line-clamp: 2; */

  /* -webkit-box-orient: vertical; */
}

.btn-scroll-down {
  display: block;
  margin: 0 auto;
  width: 28px;
}

/*** 3-2 Content Container, Wrapper ***/
.site-content {
  width: 1280px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.tv-list-wrapper {
  display: flex;
  flex-wrap: wrap;
  margin: 0 -12px;
}

.tv-list-col {
  width: 25%;
  padding: 0 12px;
  margin-bottom: 50px;
}

/*** 3. Footer ***/

/*** 3-1. Main Footer ***/
.foot-directory {
  border-top: 1px solid #02983b;
  padding: 50px 0;
}

.foot-directory-wrap {
  width: 1280px;
  margin: 0 auto;
}

.nav-service {
  display: flex;
  justify-content: space-between;
}

.menu-service {
  width: 25%;
  padding: 24px 18px;
}

.menu-service__title {
  font-size: 20px;
  font-weight: 600;
  border-bottom: 1px solid #585858;
  padding-bottom: 14px;
  margin-bottom: 16px;
}

.menu-service__title img {
  margin-right: 10px;
  vertical-align: -6px;
}

.menu-service__item li a {
  display: inline-block;
  color: #CCC;
  font-size: 17px;
  line-height: 1.4em;
  padding: 6px 6px;
}

.menu-service__item li a:hover {
  text-decoration: underline;
}

/*** 3-2. Site Footer ***/
footer {
  border-top: 1px solid #666;
  background-color: #181818;
  padding: 42px 0;
}

.footer-container {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 1280px;
  margin: 0 auto;
}

.footer-contents p {
  font-size: 14px;
  line-height: 1.5em;
  color: #EFEFEF;
  word-break: keep-all;
  margin-bottom: 0.25em;
}

/* POPUP */
.front-modal {
  display: flex;
  flex-direction: column;
  position: absolute;
  top: 25px;
  left: 25px;
  width: 400px;
  /*min-height: 400px;*/
  padding-bottom: 40px;
  background-color: #181818;
  box-shadow: 0 8px 15px rgb(0 0 0 / 50%);
  overflow: hidden;
  border: 1px solid #888;z-index: 9999;
}

.front-modal h2 {
  color: #DDD;
  font-size: 16px;
  font-weight: 600;
  text-align: center;
  padding: 1.0em 0;
  background-color: #181818;
}

.front-modal-content {
  color: #333;
  height: 400px;
  overflow-y: auto;
  padding: 16px;
  background-color: #303030;
}

.front-modal-content p {
  color: #fff;
  font-size: 15px;
  margin-bottom: 0.8em;
  line-height: 1.6em;
}

.front-modal-bottom {
  position: absolute;
  bottom: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  width: 100%;
  padding: 10px 8px;
  border-top: 1px solid #444;
  background-color: #303030;
}

.front-modal-bottom label {
  color: #ccc;
  font-size: 13px;
  display: inline-block;
  margin: 0 1.0em 0 0.5em;
  cursor: pointer;
}

.front-modal-bottom button {
  background: none;
  border: none;
  padding: 0;
}

/** 4. Mobile Header **/
@media screen and (max-width:1024px) {
  .site-header-mobile {
    display: block;
    z-index: 110;
  }

  #site-header, .remote-banner {
    display: none;
  }

  html.nav-open, body.nav-open {
    overflow: hidden;
  }

  html.nav-open .mobile-header h1.mobile-logo {
    display: none;
  }

  #site-header {
    display: none;
  }

  .mobile-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 50px;
    background-color: #222;
    border-bottom: #02983b 1px solid;
  }

  .nav-open .mobile-header {
    border-bottom-width: 0;
  }

  .mobile-header h1.mobile-logo {
    margin: 0;
  }

  .mobile-header h1.mobile-logo a {
    display: block;
    height: 26px;
    padding-left: 16px;
  }

  .mobile-header h1.mobile-logo a img {
    width: auto;
    height: 100%;
  }

  .mob-toggle {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 34px;
    height: 30px;
    padding: 7px;
    z-index: 9000;
    font-size: 24px;
  }

  .mob-toggle:before, .mob-toggle:after {
    background-color: #DDD;
    content: '';
    display: block;
    height: 2px;
    transition: all 0.15s ease-in-out;
  }

  .mob-toggle:before {
    box-shadow: 0 7px 0 0px #DDD;
    margin-bottom: 12px;
  }

  .mob-toggle--active:before {
    background-color: #DDD;
    box-shadow: 0 0 0 #DDD;
    transform: translateY(6px) rotate(45deg);
  }

  .mob-toggle--active:after {
    background-color: #DDD;
    transform: translateY(-8px) rotate(-45deg);
  }

  .mob-toggle:hover {
    cursor: pointer;
  }

  .mobile-screen {
    display: block;
    position: fixed;
    z-index: 100;
    top: 0px;
    right: 0;
    bottom: 0;
    left: 0;
    min-height: 100vh;
    overflow-y: auto;
    padding: 50px 0;
    opacity: 0;
    visibility: hidden;
    background-color: #222;
  }

  .mobile-screen--open {
    opacity: 1;
    visibility: visible;
  }

  .mobile-container {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    height: 100%;
  }

  .mobile-screen__symbol {
    width: 100px;
    margin: 32px auto;
  }

  .mobile-sns {
    display: flex;
    justify-content: center;
    margin: 0 24px;
    gap: 12px;
  }

  .mobile-sns a {
    display: inline-block;
    padding: 4px;
  }

  .mobile-sns a img {
    width: 32px;
  }

  .mobile-search {
    display: flex;
    width: 80%;
    height: 48px;
    flex-shrink: 0;
    margin: 0 auto;
    background-color: #333;
    border-radius: 6px;
  }

  .mobile-search form {
    display: flex;
    width: 100%;
  }

  .mobile-search-field {
    background: transparent;
    width: calc(100% - 40px);
    height: 100%;
    padding: 6px 8px;
    color: #EFEFEF;
    font-size: 16px;
    border: none;
  }

  .mobile-search-button {
    background-color: transparent;
    width: 40px;
    border: none;
  }

  .mobile-search-button img {
    width: 20px;
  }

  .mobile-nav {
    width: 80%;
    margin: 28px auto;    /* overflow-y: auto; */
  }

  .mobile-nav a {
    display: block;
    padding: 12px 8px;
    font-size: 16px;
    text-decoration: none;
  }

}

/** 5. Responsive **/
@media screen and (max-width:1420px) {
  .remote-nav {
    width: 42px;
    gap: 18px;
    padding: 16px 4px;
  }

  .remote-menu img {
    width: 24px;
  }

  .remote-menu p {
    font-size: 0;
    height: 0
    margin-top:0;
  }

}

@media screen and (max-width:1320px) {
  .site-nav, .nav-service, .footer-container, .main-live-container, .site-content {
    width: 100%;
  }

  .site-nav, .site-content, .footer-container, .foot-directory {
    padding-left: 24px;
    padding-right: 24px;
  }

  .foot-directory-wrap {
    width: 100%;
  }

}

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

  /** Main Live **/
  .main-live-tv {
    width: 80%;
  }

  .main-live-scroll {
    width: 20%;
  }

}

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

  /** Remote **/
  .remote-banner {
    display: none;
  }

  /** Main Live **/
  .main-live-container {
    margin-top: 50px;
    margin-bottom: -50px;
  }

  .main-live-tv {
    width: 82%;
  }

  .main-live-scroll {
    width: 18%;
    padding-left: 18px;
    padding-right: 18px;
  }

  .onair-title {
    font-size: 16px;
  }

  /** foot-directory **/
  .foot-directory {
    padding: 12px 24px;
  }

  .menu-service__title {
    font-size: 16px;
    margin-bottom: 12px;
  }

  .menu-service__title img {
    margin-right: 8px;
    vertical-align: -24%;
    height: 20px;
  }

  .menu-service__item li a {
    font-size: 14px;
  }

}

@media screen and (max-width:800px) {
  .site-content {
    padding-bottom: 35px;
  }

  /** Main Live **/
  .main-live-container {
    flex-direction: column;
  }

  .main-live-tv {
    width: 100%;
  }

  .main-live-scroll {
    width: 100%;
    height: auto;
    padding-left: 16px;
    padding-right: 16px;
  }

  .onair-head {
    margin-bottom: 18px;
  }

  a.onair-all {
    display: block;
  }

  .onair-wrapper {
    margin: 0 -16px 0 -8px;
    width: auto;
    height: auto;
    padding-bottom: 0;
    overflow-x: auto;
  }

  .onair-playlist {
    flex-direction: row;
  }

  .onair-item {
    padding: 0 8px;
    width: 36vw;
    flex-shrink: 0;
  }

  .onair-item-title {
    font-size: 14px;
  }

  .main-live-scroll::after, #onair-live::before, #onair-live::after {
    display: none;
  }

  /* #onair-live .tv-player {
    padding-bottom: auto;
  }

  #onair-dots {
    padding-bottom: 0;
  }

  #onair-live .slick-list {
    padding-right: 32px;
  }

  #onair-arrow-next, #onair-arrow-prev {
    display: none;
  } */

  /** foot-directory **/
  .footer-logo img {
    width: 80px;
  }

  .foot-directory {
    padding: 18px 16px;
  }

  .menu-service {
    padding: 18px 12px;
  }

}

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

  /** Footer **/
  footer {
    padding: 32px 0;
  }

  .footer-container {
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 0 16px;
  }

  .footer-contents p {
    font-size: 12px;
    text-align: center;
  }

  /** foot-directory **/
  .nav-service {
    flex-wrap: wrap;
  }

  .menu-service {
    width: 50%;
    padding: 18px 8px;
  }

  /* Onair Scroll */
  .onair-item-title {
    font-size: 13px;
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    line-height: 1.4;
    height: 2.8em;
    word-wrap: break-word;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
  }

}

@media screen and (max-width:480px) {
  .site-content, .footer-container {
    padding-left: 16px;
    padding-right: 16px;
  }

  /** Footer category **/
  .menu-service__title {
    font-size: 14px;
  }

  .menu-service__title img {
    height: 16px;
    margin-right: 6px;
  }

  /* Onair Scroll */
  .onair-wrapper {
    margin: 0 -16px 0 -6px;
  }

  .onair-item {
    padding: 0 5px;
    width: 41vw;
  }

  .onair-playlist .tv-player .tv-label-ico {
    top: 5px;
    right: 5px;
    width: 42px;
  }

  /* Modal Popup */
  .front-modal {
    position: fixed !important;
    top: 50% !important;
    left: 50% !important;
    width: 90% !important;
    max-width: 420px !important;
    /*height: 40%;*/
    transform: translate(-50%, -50%) !important;
    margin: 0 !important;
  }

}