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


html, body {
    width: 100%;
    height: 100%;
    touch-action: none; /* 모바일에서 터치 기본동작 방지 */
    transition: opacity 0.3s ease-in;
    padding-top: env(safe-area-inset-top); /* 노치 부분을 고려해줌 */
    font-family: 'Pretendard Variable', sans-serif;
}
:root {
--vh: 100vh; /* fallback */
}
.mobile-only {
display: none; /* 기본은 안 보이게 */
}


/* Header */

    .logo a {
    position: fixed;
    top: 30px;
    left: 40px;
    font-size: 24px;
    font-weight: bold;
    color: white;
    z-index: 101;
    text-decoration: none;
    }

    .nav {
        text-decoration: none;
        position: fixed;
        top: 10px;
        right: 30px;
        color: white;
        padding: 20px 20px;
        font-size: 16px;
        font-weight: 800;
        z-index: 1000;
        opacity: 0.7;
    }

     .nav:hover {
        opacity: 0.9; /* 마우스 올리면 선명하게 */
    }
   
    .nav a{
      text-decoration: none;
      color: #ffffff;
    }

    .footer {
        position: fixed;
        bottom: 20px;
        left: 20px;
        color: white;
        padding: 15px 20px;
        font-size: 10px;
        z-index: 1000;
        opacity: 0.5;
    }
    .footer:hover {
        opacity: 0.7; /* 마우스 올리면 선명하게 */
    }

    .footer_sub{
      padding: 25px 30px 30px 20px;
      font-size: 10px;
      z-index: 1000;
      opacity: 0.5;
      color:  #ffffff;     
    }

 

  /* 모바일용 배경 설정 (화면 너비가 768px 이하일 때) */
    @media screen and (max-width: 768px) {
        .logo a {
          top: 25px;
          left: 20px;
          font-size: 24px;
        }
        .mobile-only {
            display: block; /* 모바일일 때만 보이게 */
            position: fixed;
            bottom: 60px;
            left: 20px;
            padding: 10px 15px;
            background-color: rgba(0,0,0,0.6);
            color: white;
            font-size: 12px;
            border-radius: 6px;
            z-index: 1000;
          }

          .nav{
            position: fixed;
            top: 15px;
            right: 5px;
            padding: 15px 15px ;
            font-size: 16x;
            font-weight: 800;
          }

        .footer {
            position: fixed;
            bottom: 10px;
            left: 10px;
            padding: 5px 10px;
            font-size: 12px;
            font-weight: 800;
          }
    }


    .container {
      transition: transform 0.8s ease;
      will-change: transform;
    }

    .container_find {
      max-width: 1200px;
      margin: 0 auto;
      padding: 2rem;
      text-align: center;
    }


    .section {
      height: calc(var(--vh, 1vh) * 100);
      min-height: calc(var(--vh, 1vh) * 100);
      width: 100vw;
      display: flex;
      justify-content: center;
      align-items: center;
      font-size: 48px;
      color: white;
      background-size: cover;      /* 이미지가 div를 덮도록 크기 조정 */
      background-position: center; /* 가운데 정렬 */
      background-repeat: no-repeat;/* 반복 없음 */
    }




.section:nth-child(5) {
  background-color: rgba(0,0,0,0);
  position: relative; /* 자식 absolute 위치 기준 */
}

.section5-bottom-text {
  position: absolute;
  bottom: 60px;
  left: 30px;
  font-size: 10px;
  color: white;
  background-color: rgba(0,0,0,0);
  padding: 5px 10px;
  border-radius: 0px;
  opacity: 0.5;
  z-index: 10;
}
  
    .section:nth-child(1) { background-image: url('/img/main_bg_01.png');}
    .section:nth-child(2) { background-image: url('/img/main_bg_02.png');}
    .section:nth-child(3) { background-image: url('/img/main_bg_03.png');}
    .section:nth-child(4) { background-image: url('/img/main_bg_04.png');}
    .section:nth-child(5) { background-image: url('/img/main_bg_05.png');}


    /* 모바일용 배경 설정 (화면 너비가 768px 이하일 때) */
    @media screen and (max-width: 768px) {

    .section5-bottom-text {
      bottom: 40px;
      left: 10px;
      font-size: 12px;
      padding: 5px 10px;
    }  

    .section:nth-child(1) { background-image: url('/img/main_bg_m_01.png');}
    .section:nth-child(2) { background-image: url('/img/main_bg_m_02.png');}
    .section:nth-child(3) { background-image: url('/img/main_bg_m_03.png');}
    .section:nth-child(4) { background-image: url('/img/main_bg_m_04.png');}
    .section:nth-child(5) { background-image: url('/img/main_bg_m_05.png');}
    }


  /* 모바일용 배경 설정 (패드환경에서 ) */
    @media screen and (max-width: 1024px) and (min-width: 768px) {
    .section:nth-child(1) { background-image: url('/img/main_bg_pad_01.png');}
    .section:nth-child(2) { background-image: url('/img/main_bg_pad_02.png');}
    .section:nth-child(3) { background-image: url('/img/main_bg_pad_03.png');}
    .section:nth-child(4) { background-image: url('/img/main_bg_pad_04.png');}
    .section:nth-child(5) { background-image: url('/img/main_bg_pad_05.png');}
    }
  

    .indicator {
      position: fixed;
      top: 50%;
      right: 30px;
      transform: translateY(-50%);
      display: flex;
      flex-direction: column;
      gap: 10px;
      z-index: 100;
    }

    .dot {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.5);
      cursor: pointer;
      transition: background 0.3s;
    }

    .dot.active {
      background: white;
    }

    .fade-slide {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-slide.visible {
  opacity: 1;
  transform: translateY(0);
}

a[href^="tel"] {
  color: rgb(254, 255, 193);        /* 원하는 색상으로 변경 */
  text-decoration: none;  /* 밑줄 없애기 (선택 사항) */
}


/* find */


    h1 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
      color: #ffffff;
    }

    .channels {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
      gap: 2rem;
      padding: 1rem 0;
    }

    .channel-card {
      background-color: rgba(255, 255, 255, 0.24);
      padding: 1.5rem;
      border-radius: 22px;
      box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
      transition: transform 0.3s;
    }

    .channel-card:hover {
      transform: translateY(-5px);
    }

    .channel-card img {
      max-width: 100px;
      height: auto;
      margin-bottom: 1rem;
    }

    .channel-name {
      font-weight: bold;
      color: #ffffff;
    }

   .find_title {
      color: #ffffff;
      height: 200px;
      display: flex;
      justify-content: center;  /* 가로 중앙 */
      align-items: center;      /* 세로 중앙 */ 
    }

   .subpage{
      padding: 100px 0 0 0;
      min-height: 90vh;              /* 화면 높이의 80% */
      background-color: #0a8ea0; /* 배경색 예시 */
      display: flex;
      justify-content: center;
      align-items: top;
      overflow: auto;
      color: #ffffff;
    }

 

