* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  text-decoration: none;
  cursor: none; 
}

/* 줄 바꿈 기본 숨기기 */
.m-br {
  display: none;
}
.s-br {
  display: none;
}
.ss-br {
  display: none;
}
@font-face {
    font-family: 'InkLipquid';
    src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2208-01/InkLipquid.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

body {
    background-color: #000;
    margin: 0;   
     /* 화면 Fade-in 효과 */
    opacity: 0;
    transition: opacity 0.3s ease-in;
    color: #fff;

}
/* 페이드인 완료 상태 */
body.fade-in {
  opacity: 1;
}


.container {
display: flex;
justify-content: space-between;
align-items: center;
padding: 0 120px;
width: 100%;
box-sizing: border-box;


}

header{
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 20px 0;
}

.logo img {
  height: 70px;
}
/* .logo a {
  color: #fff;
  font-size: 1.3rem;
  font-weight: bold;

} */
/* 모바일 메뉴바 */
.mobile-slide {
  position: fixed;
  top: 0;
  right: -250px;
  width: 250px;
  height: 100vh;
  background: rgba(0,0,0,0.95);
  transition: right 0.3s ease;
  padding: 80px 20px; /* 상단여백 헤더버튼*/
  z-index: 9999;

}
.mobile-slide.active {
  right: 0 ;
}
.mobile-slide ul li {
  margin-bottom: 24px;
  list-style: none;
}

.mobile-slide ul li a {
  color: #fff;
  font-size: 16px;
}


.m-menu {
  background: transparent;    /* 배경 제거 */
  border: none;
  cursor: pointer;
  display: none;

}
.m-menu i{
  font-size: 1.4rem;
}
.m-menu:focus {
  outline: none;        /* 클릭 후 파란 테두리 제거 */
}

.xi-bars {
 font-size: 2rem;
 color: #fff;

}
.p-menu {
  display: flex;
  align-items: center;
  gap: 40px;
}

.p-menu>li {
  list-style: none;


}
.p-menu a {
  color: #fff;
  font-size:1.1rem;
}

/* 마우스 커서 효과 */
.trail {
  position: fixed;
  top: 0;
  left: 0;
  width: 10px;
  height: 10px;
  background: radial-gradient(circle, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0) 70%);
  border-radius: 50%;
  pointer-events: none;
  mix-blend-mode: screen; /* 배경과 자연스럽게 섞이게 */
  opacity: 0;
  transform: translate(-50%, -50%);
  filter: blur(2px);
  animation: sparkle 1s ease-in-out infinite alternate ;
  z-index: 9999;
  box-shadow: 0 0 10px rgba(255,255,255,0.8);
}

@keyframes sparkle {
  0% { opacity: 0.8; transform: scale(3) translate(-50%, -50%); }
  100% { opacity: 0.2; transform: scale(2) translate(-50%, -50%); }
}

h1 {
    color: #fff;
    margin-bottom: 5px;
    font-size: 40px;

}
/* 배경부분 패턴 */
 .pattern1 {
  position: absolute;
  top: 5%;
  right: -10px;
  width: 860px;
  opacity: 0.1;
  transform: rotate(45deg) 3s;
  animation: rotate1 4s infinite linear;
 }
 .pattern2 {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 860px;
  opacity: 0.1;
  transform: rotate(45deg) 3s;
  animation: rotate1 6s infinite linear;
 }
 /* 패턴 이미지가 튀어나올 수 있는 영역만 overflow 막기 */
.pattern-wrap1 {
  position: absolute;
  top: 0;
  right: 0;
  width: 100%;  /* 충분히 크게 잡거나 */
  height: 100%;
  overflow: hidden;
  pointer-events: none; /* 클릭 방해 X */
  z-index: -1000;  /* 뒤로 보내기 */
}
.pattern-wrap2 {
  position: absolute;
  top: 80%;
  right: 0;
  width: 100%;  /* 충분히 크게 잡거나 */
  height: 100%;
  overflow: hidden;
  pointer-events: none; /* 클릭 방해 X */
  z-index: -100;  /* 뒤로 보내기 */
}

@keyframes rotate1 {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
  }

/* --- 콘텐츠 영역 --- */
.container2 {
  width: 100%;
  max-width: 1440px;
  margin: 0 auto;
}

.content {
    margin-top: 150px;
    font-family: 'InkLipquid', serif;
}

.ongo {
  font-size: 24px;
  color: #bebebe;
}

.item{
  display: flex;
 align-items: center;
 gap: 40px;
  margin-top: 4%;
}
.left img {
  width: 500px;
}
h2 {
  font-size: 30px;
  margin-bottom: 20px;
}
.right p {
  font-size: 24px;
  line-height: 28px;
  color: #d1d1d1;
}

h3 {
  font-size: 30px;
  margin-top: 150px;
  line-height: 80px;
  font-weight: 500;
}
p{
  font-size: 25px;
  line-height: 34px;
  color: #cdcdcd;
}

h4 {
  font-size: 40px;
  text-align: center;
  margin-top: 200px;
}

.item1 {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  height: 380px;
  margin-top: 40px;
}
.item2 {
  display: grid;
  grid-template-columns:3fr 1fr;
  height: 800px;
}
.dancheong1 {
  background-image: url(../img/단청문양\ 기와.jpg);
  background-position: center;
  background-size: cover;
}
.dancheong2 {
  background-image: url(../img/단청문양\ 분홍.jpg);
  background-position: center;
  background-size: cover;
}
.dancheong3 {
  background-image: url(../img/단청문양\ 주홍.jpg);
  background-position: center;
  background-size: cover;
}
.dancheong4 {
  background-image: url(../img/단청문양\ 남색.jpg);
  background-position: center;
  background-size: cover;
}

.illust1 {
  background-image: url(../img/시그니처\ 일러스트.jpg);
  background-position: center;
  background-size: cover;
}
.illust2 {
  background-image: url(../img/달빛기행.jpg);
  background-position: center;
  background-size: cover;
}

.item3 {
  display: grid;
  grid-template-columns:1.8fr 2fr;
  height: 500px;
}
.phone {
  background-image: url(../img/grip\ tok\ 3D\ 1.jpg);
  background-position: center;
  background-size: cover;
}
.cosmetic{
  background-image: url(../img/화장품목업.jpg);
  background-position: center;
  background-size: cover;
}

.underlogo {
  margin-top: 250px;
  display: flex;
  justify-content: center;
}
h5 {
  margin-top: 30px;
  font-size: 40px;
  text-align: center;
  margin-bottom: 180px;
 
}
.link {
  color: #fff;
  font-family: 'InkLipquid';
  text-decoration: underline 1px solid;
  display: block;
  text-align: center;
  font-size: 18px;
  margin-top: 100px;
}
/* 푸터 영역 */
h6 {
  font-size: 16px;
  color: #fff;
  font-weight: 400;
  border-bottom: 1px solid #fff;
  line-height: 40px;
}
footer p {
    margin-top: 15px;
    font-size: 14px;
    color: #fff;
    line-height: 10px;
}
footer {
  margin-bottom: 50px;
}

footer a,
footer a:visited,
footer a:hover,
footer a:active {
  color: #fff;
  text-decoration: none;
}



@media(max-width:1440px){
  .container {
    padding: 0 40px;
  }
  .container2 {
    padding: 0 40px;
  }
  h1 {
    font-size: 2.3rem;
  }
  .ongo {
    font-size: 1.5rem;
  }
  .left img {
    width: 600px;
  }
 
  .p-menu a{
    font-size: 1.1rem;
  }
  
  .pattern1 {
    width: 70%;
    right: -20%;
  }
  .pattern2 {
    top: 0;
    width: 50%;
  }
  h2 {
  font-size: 1.9rem;
  margin-bottom: 25px;
}
.right p {
  font-size: 1.4rem;
  line-height: 28px;
  color: #d1d1d1;
}
h3 {
  font-size: 1.7rem;
  margin-top: 90px;
}
p {
  font-size: 1.4rem;
  line-height: 1.8rem;
}
.m-br {
  display: inline;
}
.d-br {
  display: none;
  
}
h4 {
  margin-top: 150px;
  font-size: 2.3rem;
}
.item1 {
  height: 300px;
}
.item2 {
  height: 650px;
}
.item3 {
  height: 350px;
}
.underlogo {
  margin-top: 150px;
}
.underlogo img{
  width: 400px;
}
h5 {
  font-size: 2.2rem;
  margin-top: 20px;
  margin-bottom: 100px;
}
h6 {
  font-size: 0.9em;
  font-weight: 400;
  line-height: 2rem;
}
footer p {
    font-size: 0.8rem;
    color: #fff;
    line-height: 0.4rem;
}
}


@media(max-width:1024px){
  .container {
    padding: 0 30px;
  }
  .container2 {
    padding: 0 30px;
  }
  h1 {
    font-size: 2rem;
  }
  .ongo {
    font-size: 1.4rem;
  }
  .left img {
    width: 400px;
  }

  .p-menu a{
    font-size: 1.1rem;
  }
 
  .pattern1 {
    width: 70%;
    right: -10%;
  }
  .pattern2 {
    top: -20%;
    width: 60%;
  }
  h2 {
  font-size: 1.8rem;
  margin-bottom: 25px;
}
.right p {
  font-size: 1.3rem;
  line-height: 28px;
  color: #d1d1d1;
}
h3 {
  font-size: 1.6rem;
  margin-top: 30px;
}
p {
  font-size: 1.3rem;
  line-height: 1.6rem;
}
.m-br {
  display: inline;
}
.d-br {
  display: none;
  
}
h4 {
  margin-top: 85px;
  font-size: 2.1rem;
}
.item1 {
  height: 250px;
}
.item2 {
  height: 500px;
}
.item3 {
  height: 300px;
}
.underlogo {
  margin-top: 110px;
}
.underlogo img{
  width: 310px;
}
h5 {
  font-size: 2rem;
  margin-top: 15px;
  margin-bottom: 50px;
}
h6 {
  font-size: 0.9em;
  font-weight: 400;
  line-height: 2rem;
}
footer p {
    font-size: 0.8rem;
    color: #fff;
    line-height: 0.4rem;
}
}


/* 태블릿 */
@media(max-width:768px){
  .container {
    padding: 0 25px;
  }
  .container2 {
    padding: 0 25px;
  }
  h1 {
    font-size: 2rem;
  }
  .ongo {
    font-size: 1.3rem;
  }
  .left img {
    width: 300px;
  }
 .logo img {
  height: 60px;
}
  .p-menu a{
    font-size: 1rem;
  }
  .mobile-slide {
    display: none;
  }
  .pattern1 {
    width: 80%;
  }
  .pattern2 {
    top: -20%;
    width: 40%;
  }
  h2 {
  font-size: 1.7rem;
  margin-bottom: 20px;
}
.right p {
  font-size: 1.2rem;
  line-height: 28px;
  color: #d1d1d1;
}
h3 {
  font-size: 1.5rem;
  margin-top: 30px;
}
p {
  font-size: 1.2rem;
  line-height: 1.5rem;
}
.m-br {
  display: inline;
}
.d-br {
  display: none;
  
}
.link {
  margin-top: 40px;
  font-size: 16px;
}
h4 {
  margin-top: 80px;
  font-size: 2rem;
}
.item1 {
  height: 190px;
}
.item2 {
  height: 400px;
}
.item3 {
  height: 220px;
}
.underlogo {
  margin-top: 100px;
}
.underlogo img{
  width: 300px;
}
h5 {
  font-size: 2rem;
  margin-top: 15px;
  margin-bottom: 40px;
}
h6 {
  font-size: 0.9em;
  font-weight: 400;
  line-height: 2rem;
}
footer p {
    font-size: 0.8rem;
    color: #fff;
    line-height: 0.4rem;
}
}

/* 스마트폰 */
@media(max-width:480px){
  .container {
    padding: 0 25px;
  }
  .content {
    margin-top: 100px;
  }
  .container2 {
    padding: 0 25px;
    text-align: center;
  }
  h1 {
    font-size: 1.4rem;
    text-align: center;
  }
  .ongo {
    font-size: 0.9rem;
  }
  .item {
    display: flex;
    flex-direction: column;
  }
  .left img {
    width: 350px;
    margin-top: 20px;
  }
    .logo img {
    height: 55px;
  }
  .p-menu  {
    gap: 30px;
    }
  .p-menu a{
    font-size: 0.8rem;
  }
  .pattern1 {
    width: 80%;
  }
  .pattern2 {
    top: 0;
    left: -10%;
    width: 70%;
  }
  h2 {
  font-size: 1.3rem;
  margin-bottom: 10px;
  margin-top: -20px;
}
.right p {
  font-size: 1rem;
  line-height: 1.5rem;
  color: #d1d1d1;
}
h3 {
  font-size: 1.2rem;
  line-height: 1.6rem;
  margin-bottom: 35px;
  font-weight:600;
}
p {

  font-size: 1rem;
  line-height: 1.5rem;
}
.m-br {
  display: none;
}
.d-br {
  display: none;
}
.s-br {
  display: inline;
}
.link {
  margin-top: 40px;
  font-size: 15px;
}
h4 {
  margin-top: 50px;
  font-size: 1.5rem;
}
.item1 {
  height: 120px;
}
.item2 {
  height: 220px;
}
.item3 {
  height: 120px;
}
.underlogo {
  margin-top: 60px;
}
.underlogo img{
  width: 150px;
}
h5 {
  font-size: 1rem;
  margin-top: 10px;
  margin-bottom: 40px;
}
h6 {
  font-size: 0.6em;
  font-weight: 400;
  line-height: 2rem;
  text-align: left;
}
footer p {
    font-size: 0.5rem;
    color: #fff;
    line-height: 0rem;
    text-align: left;

}
footer {
  margin-bottom: 35px;
}
}
/* 더 작은 폰 */
@media(max-width:375px){
  .container {
    padding: 0 20px;
  }
  .content {
    margin-top: 90px;
  }
  .container2 {
    padding: 0 20px;
    text-align: center;
  }
  .p-menu {
    gap: 30px;
  }
  .p-menu a {
    font-size: 0.7rem;
  }
  h1 {
    font-size: 1.1rem;
    text-align: center;
  }
  .ongo {
    font-size: 0.9rem;
    line-height: 0.1rem;
  }
  .item {
    display: flex;
    flex-direction: column;
  }
  .left img {
    width: 280px;
    margin-top: 20px;
  }
  .logo img{
   height: 45px;
  }
 
  .pattern1 {
    width: 80%;
  }
  .pattern2 {
    top: 0;
    left: -10%;
    width: 70%;
  }
  h2 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  margin-top: -20px;
}
.right p {
  font-size: 0.8rem;
  line-height: 1.1rem;
  color: #d1d1d1;
}
h3 {
  font-size: 1.1rem;
  line-height: 1.6rem;
  margin-bottom: 25px;
  font-weight:600;
}
p {

  font-size: 0.8rem;
  line-height: 1.2rem;
}
.m-br {
  display: none;
}
.d-br {
  display: none;
}
.s-br {
  display: none;
}

.ss-br {
  display: inline;
}
.link {
  margin-top: 40px;
  font-size: 14px;
}
h4 {
  margin-top: 50px;
  font-size: 1.2rem;
}
.gallery {
  margin-top: -20px;
}
.item1 {
  height: 80px;
}
.item2 {
  height: 170px;
}
.item3 {
  height: 90px;
}
.underlogo {
  margin-top: 40px;
}
.underlogo img{
  width: 100px;
}
h5 {
  font-size: 0.8rem;
  margin-top: 5px;
  margin-bottom: 40px;
}
h6 {
  font-size: 0.5rem;
  font-weight: 400;
  line-height: 1.1rem;
  text-align: left;
}
footer p {
    font-size: 0.4rem;
    color: #fff;
    line-height: 0;
    text-align: left;

}
footer {
  margin-bottom: 35px;
}
}
