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

    body { font-family: 'GiantsBold', sans-serif; overflow-x: hidden; }

    @font-face { font-family: 'GiantsBold'; src: url('/app/font/Giants-Bold.ttf') format('truetype'); }
    @font-face { font-family: 'PaperlogyBlack'; src: url('/app/font/Paperlogy-9Black.ttf') format('truetype'); font-weight: 900; }
    @font-face { font-family: 'PaperlogySemiBold'; src: url('/app/font/Paperlogy-6SemiBold.ttf') format('truetype'); font-weight: 600; }
    @font-face { font-family: 'PaperlogyMedium'; src: url('/app/font/Paperlogy-5Medium.ttf') format('truetype'); font-weight: 500; }
    @font-face { font-family: 'PaperlogyRegular'; src: url('/app/font/Paperlogy-4Regular.ttf') format('truetype'); font-weight: 400; }

    nav {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      padding: 6px 40px;
      background: rgba(0, 0, 0, 0.4);
      color: white;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 10;
      transition: background-color 0.3s ease;
    }
    nav.scrolled { background: rgba(0, 0, 0, 1); }
    nav > a { justify-self: start; }
    .nav-center { display: flex; justify-content: center; }
    nav ul { display: flex; gap: 45px; list-style: none; }
    nav ul li a { color: white; text-decoration: none; font-size: 1.2rem; }

    .hamburger {
      display: none;
      font-size: 2rem;
      color: white;
      cursor: pointer;
      z-index: 20;
    }

    .section-title, .section-subtitle, .section-description, .section-subtext, 
    .section-rec1, .section-rec2, .section-rec3, .section-rec4, .section-rec5,
    .section-heading,  .value-desc,  .value-title,  .business-subtitle,
    .feature-title,  .feature-desc,  .install-overlay h3,  .install-overlay p {
      word-break: keep-all;
      white-space: normal;
      line-height: 1.5;
    }

    header { padding-top: 100px; }


    h1, h2, h3, p { margin-top: 20px; text-align: center; }
    h1 { font-family: 'GiantsBold'; }
    h2 { font-family: 'PaperlogyBlack'; }
    h3 { font-family: 'PaperlogySemiBold'; font-size: 24px; color: #333; }
    p { font-family: 'PaperlogyRegular'; font-size: 16px; color: #555; line-height: 1.6; }

    
    .section-title {
      font-family: 'GiantsBold';
      font-size: 1.4rem;
      color: #f42328;
      margin-bottom: 20px;
    }
    .section-title.line-underline {
      position: relative;
      display: inline-block;
    }
    .section-title.line-underline::after {
      content: "";
      display: block;
      height: 4px;
      width: 100%;
      background-color: #f42328;
      margin-top: 6px;
    }

    .section-subtitle {
      font-family: 'PaperlogyBlack', sans-serif;
      font-size: 1.8rem; text-align: center;
      margin-bottom: 20px;
    }

    .section-description {
      font-family: 'PaperlogySemiBold';
      font-size: 1.8rem; text-align: center; color: #000000;
      margin-bottom: 30px;
    }

    .section-subtext {
      font-family: 'PaperlogyRegular';
      font-size: 1.2rem; text-align: center; color: #666666;
      margin-bottom: 30px; line-height: 1.5;
    }

    .section-rec1 {
      font-family: 'PaperlogySemiBold';
      font-size: 1.45rem; text-align: center; color: #FFFFFF;
      margin-bottom: 10px; line-height: 1.5;
    }

    .section-rec2 {
      font-family: 'PaperlogyBlack';
      font-size: 3rem; text-align: center; color: #ffffff;
      margin-bottom: 10px; line-height: 1.5;
    }

    .section-rec3 {
      font-family: 'PaperlogyRegular';
      font-size: 1.14rem; text-align: center; color: #FFFFFF;
      margin-bottom: 80px; line-height: 1.5;
    }

    .section-rec4 {
      font-family: 'PaperlogySemiBold';
      font-size: 1.2rem; text-align: center; color: #E53935;
      margin-bottom: 30px; line-height: 1.5;
    }

    .section-rec5 {
      font-family: 'PaperlogyBlack';
      font-size: 2.8rem; text-align: center; color: #E53935;
      margin-bottom: 30px; line-height: 1.5;
    }



    .top-visual-wrapper {
      position: relative;
      overflow: hidden;
    }
    .top-visual-wrapper img {
      width: 100%;
      height: auto;
      display: block;
    }
    .top-visual-textbox {
      position: absolute;
      inset: 0;
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      color: #fff;
      text-align: center;
    }
    .top-visual-title {
      font-family: 'PaperlogyBlack';
      font-size: 4.8rem;
      text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    }



    /* ========================== mission, vision, values =========================== */


    .section-wrapper { padding: 100px 20px 80px; background-color: #ffffff;}
    .section-inner { max-width: 1440px; margin: 0 auto;}

    .section-heading {
      font-family: 'GiantsBold';
      font-size: 1.875rem; font-weight: 600; text-align: center;
      margin-bottom: 10px;
    }

    .section-block {margin-bottom: 100px; }
    

    /* Image Block with Overlay */
    .image-block {
      position: relative;
      width: 100%;
      max-width: 1440px;
      height: 700px;
      border-radius: 1rem;
      overflow: hidden;
      margin: 60px auto;
      background-color: black; /* 디버깅용 또는 명시적 배경 */
    }
    .image-full {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
    }
    .image-overlay {
      position: absolute;
      inset: 0;
      background-color: rgba(0, 0, 0, 0.4);
      display: flex;
      align-items: center;
      justify-content: center;
      text-align: center;
      padding: 0 1rem;
    }

    .overlay-text {
      font-family: 'PaperlogyBlack';
      font-size: 2rem;
      font-weight: 800;
      line-height: 1.7;
      color: white;
      text-align: center;
      text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
      opacity: 0; /* 초기 상태: 투명 */
      transform: translateY(50px); /* 약간 아래에 위치 */
      transition: opacity 2s ease, transform 2s ease;
    }

    /* Core Values Grid */
    .values-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
      gap: 1.5rem; margin-top: 60px;
    }
    .value-card {
      background-color: #fff;
      border-radius: 1rem; padding: 24px;
      box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
      transition: all 0.3s ease;
    }
    .value-card:hover {
      box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
      transform: scale(1.03);
    }
    .value-title {
      font-family: 'PaperlogyBlack';
      font-size: 1.35rem; font-weight: bold;
      margin-bottom: 8px;
      
    }
    .value-desc {
      font-family: 'PaperlogyRegular';
      font-size: 0.98rem;
      color: #555;
    }

    /* ========================== mission, vision, values 끝 =========================== */




    .section-record {
      background-color: #181818;
      color: white;
      text-align: center;
      padding: 100px 20px;
    }

    .record-container {
      max-width: 1440px;
      margin: 0 auto;
    }

    .record-stats {
      display: flex;
      justify-content: space-between;
      margin-top: 60px;
    }

    .record-stats > div {
      flex: 1;
      padding: 0 20px;
    }

    .record-stats > div:not(:first-child) {
      border-left: 1px solid rgba(255,255,255,0.2);
    }


    #store-map, #record, 
    #contents,
    #business {
      padding: 50px 20px;
    }

    /* location 폰트 */

    #store-list .store-item {
      font-family: 'PaperlogyMedium', sans-serif;
      color: #495057
    }

    #store-list {
      max-height: 480px;
      
    }
    #map {
      flex: 2;
      width: 100%;
      height: 480px;
      min-width: 0;
      border-radius: 12px;
    }

    .store-map {
      flex: 2;
      width: 100%;
      height: 480px;
      min-height: 320px;
      border-radius: 12px;
      box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    }

    /* 비즈니스 카드 그리드 */
    .business-grid {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 30px;
      max-width: 1440px;
      margin: 0 auto;
      padding-top: 20px;
    }

    .business-card {
      position: relative;
      aspect-ratio: 1 / 0.6;
      border-radius: 30px;
      background: white; 
      color: #f42328; 
      border: 4px solid #FF6B6B;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      overflow: hidden;
    }

    /* 아이콘 스타일 */
    .business-card i {
      font-size: 60px; color: #f42328;
      margin-bottom: 12px;
      z-index: 2;
      transition: transform 0.3s ease, color 0.3s ease;
    }

    .business-card span {
      font-family: 'PaperlogyMedium'; font-size: 20px; font-weight: 600; 
      color: #f42328; 
      z-index: 2; transition: opacity 0.3s ease, color 0.3s ease;
    }

    .business-card .business-subtitle {
      font-family: 'PaperlogyRegular';
      font-size: 0.9rem; text-align: center;
      color: #f42328;
      opacity: 0.85;
      margin-top: 4px;
      z-index: 2;
    }
    .business-card:hover .business-subtitle {
      color: white;
      opacity: 0.9;
    }

    .card-overlay {
      content: '';
      position: absolute;
      inset: 0;
      background-size: cover;
      background-position: center;
      background-repeat: no-repeat;
      opacity: 0;
      transition: opacity 0.4s ease-in-out;
      z-index: 1;
    }

    .card-overlay::after {
      content: '';
      position: absolute;
      inset: 0;
      background-color: rgba(0, 0, 0, 0.4);
    }
    .business-card:hover {
      transform: scale(1.1);
      background-size: cover;
      background-position: center;
      background-blend-mode: overlay;
      border: none; /* 테두리 제거 */
    }

    .business-card:hover i { color: white; filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.15)); }
    .business-card:hover span { color: white; filter: drop-shadow(0 0 10px rgba(0, 0, 0, 0.15)); }
    .business-card:hover .card-overlay { opacity: 1; }



    /* 설치 사례 섹션 */
    .install-card {
      position: relative;
      width: 280px;
      height: 340px;
      flex-shrink: 0;
      border-radius: 16px;
      overflow: hidden;
      border: 2px solid #ffffff;
      background-color: #111;
      margin: 8px 0;
      box-shadow:
        0 12px 30px rgba(255, 255, 255, 0.2),   /* 밝은 외곽빛 */
        0 8px 24px rgba(0, 0, 0, 0.6),          /* 어두운 깊이 */
        0 0 0 2px rgba(255, 255, 255, 0.1); /* 안쪽 엣지 */
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    /* 카드 전체에만 입체감 */
    .install-card:hover {
      transform: translateY(-8px);
      box-shadow:
        0 0 18px rgba(255, 255, 255, 0.35),
        0 20px 40px rgba(0, 0, 0, 0.9);
    }

    .install-card img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      object-position: center;
      display: block;
    }

    .install-card::before {
      content: "";
      position: absolute;
      inset: 0;
      background-color: rgba(0, 0, 0, 0.6); /* 검정색 + 투명도 */
      opacity: 0;
      transition: opacity 0.3s ease;
      z-index: 1;
    }

    .install-card:hover::before {
      opacity: 1;
    }

    .install-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      padding: 16px;
      background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent 60%);
      color: white;
      z-index: 1;
    }

    .install-overlay h3 {
      font-size: 1.2rem; color: white;
      margin: 0 0 6px;
    }

    .install-overlay p {
      font-size: 0.95rem;
      margin: 0;
      line-height: 1.4;
      color: #eee;
    }

    #slider {
      display: flex;
      gap: 24px;
      overflow-x: auto;
      scroll-snap-type: x mandatory;
      scroll-behavior: smooth;
      -webkit-overflow-scrolling: touch;
      scrollbar-width: none;
    }

    #slider::-webkit-scrollbar { display: none; }


    .feature-gallery {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 40px;
      align-items: stretch;
    }

    .feature-item {
      position: relative;
      padding: 0 10px;
    }
    
    .feature-item img {
      width: 100%;
      height: 260px;
      object-fit: cover;
      border-radius: 12px;
    }

    .feature-title {
      font-family: 'PaperlogySemiBold'; 
      font-size: 20px;
      text-align: center;
      margin-top: 16px;
    }

    .feature-desc {
      font-size: 16px;
      font-family: 'PaperlogyRegular'; 
      text-align: center;
      color: #555;
      margin-top: 8px;
    }


    footer {background-color: #181818; color: white; padding: 20px 0; width: 100%; } 

    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1440px;
        margin: 0 auto;
        padding: 0 20px;
    }

    .footer-left, .footer-right { width: 100%; }
    .footer-left { display: flex; flex-direction: column; }
    .footer-left p { font-family: 'PaperlogySemiBold'; margin: 10px 0; color: white;text-align: left;} 


    /* 버튼 스타일 */
    footer .top-button { 
      font-size: 1.5rem; 
      display: inline-block; 
      padding: 10px 20px;
      background-color: #f42328; /* 버튼 색상 */
      border-radius: 30px;
      font-weight: bold; /* 텍스트 강조를 위해 font-weight 추가 */
      margin: 0 auto; /* 버튼 가운데 배치 */
    }


    .footer-right { display: flex; flex-direction: column; align-items: flex-end; }
    .footer-right button {
      font-family: 'PaperlogySemiBold'; 
      font-size: 14px; 
      color: white; 
      background-color: transparent;
      border: 1px solid white;
      padding: 12px 20px;
      margin: 5px 0;
      cursor: pointer;
      text-align: center;
      width: 220px;
      max-width: 220px; 
    }

    .footer-right button a { color: white; text-decoration: none; display: block; }
    .footer-right button:hover { background-color: white; color: #181818; }
    .footer-right button:hover a { color: #181818; }

    footer a { text-decoration: none; color: white; }



    /* 야구존 버튼 */
    .btn-baseball {
      display: inline-block;
      font-family: 'PaperlogySemiBold'; font-size: 14px; color: #69C9FF;
      border: 1px solid #69C9FF; padding: 12px 20px; margin: 5px 0;
      text-align: center;
      width: 220px; max-width: 220px;
      background-color: transparent;
      cursor: pointer;
      text-decoration: none;
      transition: background-color 0.3s ease, color 0.3s ease;
    }
    .btn-baseball:hover { background-color: #69C9FF; color: #ffffff; text-decoration: none; }


    @media (max-width: 768px) {
      
      html, body {
        font-size: 0.9rem;
        overflow-x: hidden !important;
        width: 100%;
      }

      nav a img { height: 50px; }
      nav { padding: 4px 10px; }

      .hamburger {
        display: block;
        font-size: 2rem;
        color: white;
        cursor: pointer;
        position: absolute;
        top: 15px;
        right: 20px;
        z-index: 20;
      }
      nav ul {
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: rgba(0,0,0,0.9);
        width: 200px;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease;
      }
      nav ul li { margin: 5px 5px; text-align: left; }
      nav ul li a { display: block; padding: 3px 3px; }

      .korean-text {
        font-size: 0.95rem;
        line-height: 1.6;
        word-break: keep-all;
        white-space: normal;
      }


      

      .section-title { font-size: 1rem; }
      .section-rec1 {font-size: 1rem; line-height: 1.4;}
      .section-rec2 {font-size: 2rem; line-height: 1.4;}
      .section-rec4 {font-size: 0.9rem; line-height: 1.4;}
      .section-rec5 {font-size: 2rem; line-height: 1.4;}
      .section-description, .section-heading { font-size: 1.2rem; }
      .overlay-text, .section-subtext { font-size: 0.85rem; }


      .section-block {margin-bottom: 40px; }

      .top-visual-wrapper {        height: 40vh;       }
      .top-visual-wrapper img {
        height: 100%; 
        object-fit: cover; /* 이미지 비율 유지하며 채움 */
        display: block;
      }

      .image-block {
        height: 240px; 
        border-radius: 12px;
        margin: 0px 0;
      }

      .top-visual-textbox {        padding: 0 10px;      }

      .top-visual-title {
        font-size: 2rem; /* 모바일용 폰트 축소 */
        line-height: 1.2;
      }

      .values-grid {      
      gap: 1.5rem; margin-top: 10px;}



      .values-grid, .business-grid, .feature-gallery {
        grid-template-columns: 1fr;
      }

      .record-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);  /* 2열 */
        gap: 30px 10px;
        margin-top: 40px;
      }

      .record-stats > div {
        text-align: center;
        padding: 0 10px;
        border: none !important;
      }

      /* 숫자와 설명 사이 간격 조절 */
      .record-stats .section-rec4 {
        margin-bottom: 10px;
      }

      #store-list {
        max-height: 380px;
      }
      .store-map {
        height: 300px;
        min-width: 100%; 
      }

      #map {
        min-width: 100% !important; /* ✅ 모바일용으로 강제 적용 */
        flex: 1 1 100%;
        height: 300px;
      }
 


      #install-cases-section > div > div {
        flex-direction: column !important;
        align-items: center;
        gap: 24px;
      }



      #slider {
        order: 2;
        display: flex;
        flex-wrap: nowrap;        
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 16px;
        width: 100%;
        max-width: 100vw;        /* 💡 화면보다 넘지 않게 제한 */
        box-sizing: border-box;
      }

      .install-card {
        flex: 0 0 320px;         /* 💡 고정 너비 */
        max-width: 280px;
        height: auto;
        scroll-snap-align: center;
      }
      .install-card img {
        height: 100%;
        object-fit: cover;
        border-radius: 12px;
        display: block;
        }

      .business-grid {
        grid-template-columns: repeat(2, 1fr); /* 2열로 설정 */
        gap: 10px; 
      }

      .business-card {
        aspect-ratio: 1 / 0.8; 
      }
      .business-card i {
        font-size: 20px; /* 아이콘 크기 축소 (기존 60px) */
        margin-bottom: 8px;
      }
      .business-card span {
        font-size: 16px; 
      }
      .business-card .business-subtitle {
        font-size: 0.8rem; margin-top: 4px; }
      .store-item-list { flex: 1 1 100%; }
      .feature-item img { height: 200px; }


      footer, footer p, footer a, footer button, .footer-left p,
      .footer-right button, .btn-baseball { font-size: 0.95rem !important; }

      .footer-content { flex-direction: column; text-align: left; }      

      .footer-right button,
      .btn-baseball {
        width: 100%;
        max-width: 280px; 
        padding: 12px 0; 
        font-size: 14px; 
        text-align: center; 
        margin: 5px auto; 
        display: block;
      }
             
    }