@import url(./reset.css);

@font-face {
  font-family: kopubBatang_bold;
  src: url(../font/KoPubWorld\ Batang_Pro\ Bold.otf);
  /* src: url(../font/KoPubWorld\ Batang_Pro\ Light.otf);
  src: url(../font/KoPubWorld\ Batang_Pro\ Medium.otf); */
}

@font-face {
  font-family: kopubBatang_Light;
  src: url(../font/KoPubWorld\ Batang_Pro\ Light.otf);
}

@font-face {
  font-family: kopubBatang_Medium;
  src: url(../font/KoPubWorld\ Batang_Pro\ Medium.otf);
}

@font-face {
  font-family: maitree;
  src: url(../font/Maitree/Maitree-Bold.ttf);
}

@font-face {
  font-family: Maitree_Light;
  src: url(../font/Maitree/Maitree-Light.ttf);
}

* {
  scroll-behavior: smooth;
}

main {
  width: 100%;
}

body {
  font-family: kopubBatang_Light;
  font-size: 16px;
  transition: .2 linear;
}

.title {
  font-family: maitree;
  font-size: 1.2rem;
  font-weight: 600;
}

header {
  width: 100%;
  margin-top: 3vh;
  /* position: fixed;
  top: 0;
  left: 0; */
  z-index: 99;
  font-size: 1.1rem;
  /* 헤더 마우스휠 내리면 사라지고 올리면 나타나게 */
  transition: .2s linear;
}

main header h1 span {
  font-size: 0;
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(1px, 1px, 1px, 1px)
}

header .h_inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.h_inner h1 {
  width: fit-content;
  height: fit-content;
  z-index: 9990;
}

.h_inner .menu {
  width: 40%;
  display: flex;
  justify-content: space-evenly;
  font-family: kopubBatang_bold;
}

.h_inner .menu>li {
  line-height: 35px;
  font-weight: bold;
  margin-top: 25px;
  text-align: center;
  position: relative;
  z-index: 99;
}

/* 밑줄 효과 */
.h_inner .menu>li:not(:last-child)::after {
  position: absolute;
  content: "";
  display: block;
  border-bottom: 2px solid #000;
  transition: all 250ms ease-out;
  left: 50%;
  width: 0;
}

.h_inner .menu>li:not(:last-child):hover::after {
  transition: all 250ms ease-out;
  left: 0%;
  width: 100%;
}

.h_inner button {
  /* 예약하기버튼 */
  border: none;
  cursor: pointer;
  width: 80px;
  height: 80px;
  background-color: #000;
  border-radius: 100%;
  margin-left: 10px;
  margin-top: -25px;
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  box-shadow: 4px 4px 0 rgb(0 0 0 / 30%);
  transform: rotate(-15deg);
  /* hover원래 각도로 */
}

.h_inner button:hover {
  transform: rotate(0deg);
  transition: .2s;
}

/* //header */
#nav-icon4 {
  width: 45px;
  height: 32px;
  margin-right: 2%;
  position: relative;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .5s ease-in-out;
  -moz-transition: .5s ease-in-out;
  -o-transition: .5s ease-in-out;
  transition: .5s ease-in-out;
  cursor: pointer;
  display: none;
  z-index: 9990;
}

#nav-icon4 span {
  display: block;
  position: absolute;
  height: 6px;
  width: 100%;
  background: #000000;
  border-radius: 9px;
  opacity: 1;
  left: 0;
  -webkit-transform: rotate(0deg);
  -moz-transform: rotate(0deg);
  -o-transform: rotate(0deg);
  transform: rotate(0deg);
  -webkit-transition: .25s ease-in-out;
  -moz-transition: .25s ease-in-out;
  -o-transition: .25s ease-in-out;
  transition: .25s ease-in-out;
}

#nav-icon4 span:nth-child(1) {
  top: 0px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4 span:nth-child(2) {
  top: 13px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4 span:nth-child(3) {
  top: 26px;
  -webkit-transform-origin: left center;
  -moz-transform-origin: left center;
  -o-transform-origin: left center;
  transform-origin: left center;
}

#nav-icon4.open span:nth-child(1) {
  -webkit-transform: rotate(45deg);
  -moz-transform: rotate(45deg);
  -o-transform: rotate(45deg);
  transform: rotate(45deg);
  top: -3px;
  left: 8px;
}

#nav-icon4.open span:nth-child(2) {
  width: 0%;
  opacity: 0;
}

#nav-icon4.open span:nth-child(3) {
  -webkit-transform: rotate(-45deg);
  -moz-transform: rotate(-45deg);
  -o-transform: rotate(-45deg);
  transform: rotate(-45deg);
  top: 29px;
  left: 8px;
}

/* //nav */
/* mouse */
.circle {
  border-radius: 100px;
  will-change: transform;
  position: absolute;
}

.circle--1 {
  height: 40px;
  width: 40px;
  border: solid rgba(255, 255, 255, 0.5) 3px;
}

.circle--2 {
  background: black;
  height: 6px;
  width: 6px;
  z-index: 2;
  background: rgb(168, 168, 168);
}

/* open menu */
.openbox {
  cursor: none;
  width: 100%;
  height: 100%;
  background-color: #000;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9990;
  display: none;
}

.openbox .o_top {
  position: relative;
  width: 100%;
  height: 10vh;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.openbox h1 {
  width: 200px;
  margin-left: 2%;
}

.openmenu {
  padding: 200px 0;
}

.openmenu ul {
  position: relative;
  width: 80%;
  margin: auto;
  z-index: 100;
}

.openmenu ul li {
  width: fit-content;
  font-size: 2rem;
  line-height: 80px;
  color: #fff;
}

.openmenu ul li a {
  cursor: none;
  display: block;
}

.openmenu ul li:hover {
  color: rgb(98, 98, 98);
  transition: .3s linear;
}


/* //header */

/* 메뉴 */
.m_box {
  font-family: kopubBatang_Light;
  width: 100%;
  margin: 1% 0;
  line-height: 7vh;
  background-color: #000;
  color: #a3a3a3;
}

.m_box .m_inner {
  max-width: 1300px;
  margin: auto;
  position: relative;
}

.m_box .m_inner ul {
  display: flex;
}

.m_box .m_inner ul li {
  margin: 0 1%;
  text-align: center;
}

.m_box .m_inner ul li i {
  margin-left: 15px;
}

.m_box .m_inner ul .a {
  color: #fff;
}

.m_box .m_inner ul .c:hover {
  color: #fff;
}

.m_box .m_inner ul .b:hover {
  color: #fff;
}
/* 반응형 버튼 */
.m_box .m_inner .mbtn {
  position: absolute;
  top: 23px;
  right: 5px;
  color: #fff;
  display: none;
}
.m_box .m_inner .mbtn img {
  width: 18px;
  height: 18px;
}

/* .m_box .m_inner .mbtn:hover{
  transform: rotate(-90deg);
  transition: .5s;
} */


/* a=w=100px b=w=63px c=w=65px*/
/* .m_box .m_inner ul .a::after{
  display: block;
  content: '';
  width: 100px;
  height: 2px;
  background-color: #fff;
  position: absolute;
  bottom: 15px;
}

.m_box .m_inner ul .b:after {
  display: block;
  content: '';
  width: 63px;
  height: 2px;
  background-color: #fff;
  position: absolute;
  bottom: 15px;
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
}
.m_box .m_inner ul .b:hover:after {
  transform: scaleX(1);
}
.m_box .m_inner ul .b:hover{
  color: #fff;
  transition: .5s;
}

.m_box .m_inner ul .c:after {
  display: block;
  content: '';
  width: 65px;
  height: 2px;
  background-color: #fff;
  position: absolute;
  bottom: 15px;
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
}
.m_box .m_inner ul .c:hover:after {
  transform: scaleX(1);
}
.m_box .m_inner ul .c:hover{
  color: #fff;
  transition: .5s;

} */
/* ----------------------- */
.con1 {
  margin-top: 5%;
  width: 100%;
  position: relative;
}

.con1_inner {
  max-width: 1024px;
  margin: 0 auto;
  transition: .2s linear;
}

.con1_inner .title h2 {
  text-decoration: overline;
  text-decoration-thickness: 4px;
  font-size: 1.3rem;
  margin: 5% 0;
}

.con1_inner .c1 {
  width: 100%;
  display: flex;
  height: 100%;
}

.con1_inner .c1 .left {
  width: 40%;
  height: 100%;
}

.con1_inner .c1 .right {
  width: 60%;
  position: relative;
  margin-left: 2%;
}

.con1_inner .c1 .right .Ttext h3 {
  font-size: 1.5rem;
  display: inline;
}

.con1_inner .c1 .right .Ttext h5 {
  margin-left: 2%;
  font-weight: 900;
  display: inline;
}

.con1_inner .c1 .right .text {
  font-family: kopubBatang_Medium;
  margin-top: 10%;
  font-size: 1.2rem;
  line-height: 30px;
}

.con1_inner .c1 .right .picture {
  position: absolute;
  bottom: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2%;
}

.con1_inner .c1 .right .picture img {
  margin: 0 5px;
  filter: grayscale(80%);
  box-shadow: 0 1px 10px rgba(0, 0, 0, 0.3);
}


.con1_inner .c1 .right .picture .e1 {
  filter: grayscale(0%);
}

.con1_inner .c1 .right .picture img:hover {
  filter: grayscale(0);
  cursor: pointer;
  transition: .1s;
}

/* //con1 */
.bg {
  position: absolute;
  bottom: -10%;
  background-color: #000;
  width: 100%;
  height: 10vw;
  z-index: -1;
}

.con2 {
  width: 100%;
  margin-top: 10%;
}

.con2_inner {
  max-width: 850px;
  margin: 0 auto;
}

.con2_inner .con2_menu ul {
  font-family: maitree;
  width: 30%;
  display: flex;
  justify-content: start;
  font-size: 1.2rem;
  font-weight: 900;
  margin-bottom: 2%;
}

.con2_inner .con2_menu ul li {
  margin-right: 4%;
  color: #888888;
}


/* 고정밑줄 */

.con2_inner .con2_menu ul .m1 {
  color: #000;
}

.con2_inner .con2_menu ul li:hover {
  color: #000;
  transition: .5s;
}

/* 밑줄 */
/* .con2_inner .con2_menu ul li:after {
  display: block;
  content: '';
  border-bottom: solid 3px #000000;
  transform: scaleX(0);
  transition: transform 250ms ease-in-out;
}

.con2_inner .con2_menu ul li:hover:after {
  transform: scaleX(1);
} */

.con2_inner .slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
}


.con2_inner .text {
  margin-top: 5%;
  margin-bottom: 15%;
}

.con2_inner .text h3 {
  font-size: 1.3rem;
  margin-bottom: 3%;
}

/* //con2 */
footer {
  width: 100%;
  background-color: #000;
  color: #fff;
  position: relative;
}

.f_inner {
  max-width: 1300px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
}

.f_inner .f_1st {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 3%;
}

.f_inner .f_1st .flogo {
  width: fit-content;
  height: fit-content;
}

.f_inner .f_1st .flogo img {
  width: 80%;
}

.f_inner .f_1st .f_menu {
  font-family: kopubBatang_bold;
  width: 50%;
}

.f_inner .f_1st .f_menu ul li {
  float: left;
  margin: 0 5%;
}

.f_inner .f_2nd {
  display: flex;
  justify-content: space-between;
  margin-top: 2%;
}

.f_inner .text {
  font-size: .8rem;
  color: #adadad;
  line-height: 30px;
}

.f_inner .f_2nd .icon {
  display: flex;
  align-items: flex-end;
  justify-content: space-evenly;
}

.f_inner .f_2nd .icon a {
  display: block;
  width: 25%;
  margin: 0 3%;
}

.f_inner .copy {
  font-size: .7rem;
  margin-top: 25px;
  border-top: 1px solid #adadad;
}

.f_inner .copy span {
  display: block;
  font-size: .9rem;
  color: #adadad;
  line-height: 45px;
  float: right;
}

/* //footer */
.btnTop {
  display: block;
  position: absolute;
  cursor: pointer;
  right: 80px;
  top: -100px;
  width: 60px;
  height: 60px;
  border-radius: 100%;
  border: 1.5px solid #000;
  background: #fff url(../img/btn_top.png) no-repeat center center;
  transition: all .3s ease;
  text-indent: -9999px;
  box-shadow: 0px 4px 4px;
}

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

  header .h_inner {
    max-width: 1200px;
    transition: .2s linear;
  }

  .h_inner button {
    /* 예약하기버튼 */
    width: 72px;
    height: 72px;
  }

  .m_box .m_inner {
    max-width: 1200px;
    transition: .2s linear;
  }

  .f_inner {
    max-width: 1024px;
    transition: .2s linear;
  }

  .f_inner .f_1st .f_menu {
    width: 65%;
  }


}

@media screen and (max-width:1200px) {
  header .h_inner {
    max-width: 1024px;
  }

  .h_inner .menu {
    width: 45%;
  }
  .m_box .m_inner {
    max-width: 1024px;
  }

  .con1_inner .title h2 {
    margin-top: 10%;
    transition: .2 linear;
  }

  .con1 .con1_inner {
    max-width: 767px;
  }

  .con1_inner .c1 .right .Ttext h3 {
    font-size: 1.2rem;
  }

  .con1_inner .c1 .right .text {
    /* 변경가능성 */
    /* margin-top: 10%;  */
    font-size: 1rem;
    line-height: 28px;
  }

  /* con2 */
  .con2_inner {
    max-width: 600px;
    transition: .2s linear;
    margin-top: 10%;
  }

  .con2_inner .con2_menu ul {
    width: 40%;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 2%;
  }

  .con2_inner .con2_menu ul li {
    margin-right: 2%;
    color: #888888;
  }


  .con2_inner .text h3 {
    font-size: 1.2rem;
    margin-bottom: 3%;
  }

  .con2_inner .text span {
    line-height: 28px;
  }

  .f_inner {
    max-width: 767px;
  }

  .f_inner .f_1st .f_menu {
    font-size: .9rem;
  }

  .f_inner .f_1st .f_menu ul li {
    margin: 0 3%;
  }


}

@media screen and (max-width:1024px) {
  header .h_inner {
    max-width: 767px;
  }

  .h_inner .menu {
    width: 50%;
    margin-bottom: 1%;
  }

  .h_inner .menu>li {
    font-size: .95rem;
    margin-top: 25px;
  }

  .h_inner button {
    font-size: .8rem;
    width: 65px;
    height: 65px;
  }

  .m_box .m_inner {
    max-width: 767px;
  }
  .con1_inner {
    width: 90%;
  }

  .btnTop {
    right: 40px;
    top: -80px;
    width: 50px;
    height: 50px;
  }
}

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

  header .h_inner {
    width: 90%;
    margin: 0 auto;
  }

  header .h_inner .menu {
    display: none;
  }

  #nav-icon4 {
    display: block;
  }

  /* m_box 반응형 */
  .m_box .m_inner {
    width: 90%;
    margin: 0 auto;
  }

  .con1_inner .title h2 {
    margin: 10% 0;
  }

  .con1_inner .c1 {
    display: grid;
    /* grid-template-rows: repeat(2,1fr); */
  }

  .con1_inner .c1 .left {
    width: 100%;
  }

  .con1_inner .c1 .left figure {
    margin: auto;
  }

  .con1_inner .c1 .right {
    width: 100%;
    position: relative;
    margin-left: 0%;
    margin: 5% 0;
  }

  .con1_inner .c1 .right .text {
    margin-top: 5%;
    font-size: 1rem;
    line-height: 28px;
  }

  .con1_inner .c1 .right .picture {
    position: relative;
    margin-top: 5%;
    display: flex;
    gap: 2%;
  }

  .con1_inner .c1 .right .picture figure {
    width: 80%;
    margin: auto;
  }

  .bg {
    bottom: -2%;
    height: 15vw;
    z-index: -1;
  }

  /* con2 */

  .con2_inner {
    width: 80%;
    margin: auto;
  }

  .f_inner {
    width: 90%;
    margin: 0 auto;
  }

  .f_inner .f_1st {
    display: block;
  }

  .f_inner .f_1st .flogo img {
    width: 30%
  }

  .f_inner .f_1st .f_menu {
    margin-left: 0%;
    width: 100%;
  }

  .f_inner .f_1st .f_menu ul li {
    font-size: .9rem;
    margin: 3% 0;
    margin-right: 3%;
  }

  .f_inner .text {
    font-size: .7rem;
    color: #adadad;
    line-height: 25px;
  }

  .f_inner .copy span {
    display: block;
    font-size: .7rem;
    color: #575757;
    line-height: 45px;
    float: right;
  }

  .f_inner .f_2nd .icon {
    display: flex;
    align-items: flex-end;
    justify-content: center;
  }

  .f_inner .f_2nd .icon a {
    display: block;
    width: 20%;
    margin: 0 3px;
  }

}


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

  /* m버튼 고정을 위해서  */
  .m_box{
    line-height: 64px;
  }
  .m_box .m_inner ul {
    flex-direction: column;
    align-items: start;
    position: relative;

  }

  .m_box .m_inner .mbtn {
    display: block;
    cursor: pointer;

  }

  .m_box .m_inner ul .submenu {
    line-height: 48px;
  }

  .m_box .m_inner ul li i {
    display: none;
  }

  .m_box .m_inner ul .submenu {
    display: none;
  }

  .con1_inner .title h2 {
    font-size: 1.1rem;
  }

  .con1_inner .c1 .right .Ttext h3 {
    font-size: 1.125rem;
  }

  .con1_inner .c1 .right .text {
    margin-top: 5%;
    font-size: .9rem;
    line-height: 26px;
  }

  /* con2 */
  .con2 {
    margin-top: 15%;
    transition: .2s linear;
  }

  .con2_inner .con2_menu ul {
    width: 60%;
    font-size: 1rem;
  }

  .con2_inner .con2_menu ul li {
    margin-right: 3%;
  }

  .con2_inner .text h3 {
    font-size: 1rem;
    margin-bottom: 3%;
  }

  .con2_inner .text span {
    font-size: .8rem;
    line-height: 24px;
  }

  .f_inner .f_1st .flogo img {
    width: 40%
  }

  .btnTop {
    right: 20px;
    top: -60px;
  }

}

@media screen and (max-width:450px) {
  .h_inner h1 a img {
    width: 80%;
  }
  .openmenu ul li {
    font-size: 1.5rem;
    line-height: 60px;
} 
  .btnTop {
    right: 25px;
    top: 15px;
    width: 35px;
    height: 35px;
    border-radius: 0;
  }

  .f_inner .f_1st .flogo img {
    margin-left: 25%;
  }

  .f_inner .f_1st .f_menu {
    margin: auto;
  }

  .f_inner .f_1st .f_menu ul {
    display: flex;
    justify-content: space-evenly;
  }


  .f_inner .f_1st .f_menu ul li {
    font-size: .75rem;
    margin-top: 10%;
  }

  .f_inner .copy span {
    display: block;
    font-size: .7rem;
    color: #575757;
    line-height: 40px;
    float: right;
  }

  .f_inner .f_2nd {
    display: none;
  }

}


/* @media screen and (max-width:370px){
  .f_inner .f_1st .flogo img {
    width: 45%
  }
  .f_inner .copy {
    font-size: .7rem;
    margin-top: 50px;
    border-top: none;
}
  .f_inner .f_1st .f_menu {
    display: none;
    }
    .f_inner .copy span {
      line-height: 16px;
    }
  
} */