@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 */
.contents {
    width: 100%;
}

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

.c_inner .menu {
    margin: 8% 0;
    font-size: 1.2rem;
    font-weight: bolder;
}

.c_inner .menu ul {
    display: flex;
    line-height: 40px;
    border-bottom: 1px solid #ddd;
}

.c_inner .menu ul li {
    margin-right: 3%;
}

.c_inner .menu ul li:last-child {
    color: #adadad;
}

.c_inner .menu ul li:hover {
    /* mouseover 스크립트주기★ */
    color: #000;
    transition: .5s;
}

/* table */
.c_inner .table {
    width: 100%;
}

.c_inner .table .topBox {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2%;
}

.c_inner .table .topBox .count span {
    font-weight: bolder;
}

.c_inner .table .topBox .search {
    display: flex;
    align-items: center;
}

.search .selectBox select {
    width: 100%;
    height: 30px;
    border: navajowhite;
    border-bottom: 2px solid #000;
    font-weight: 900;
    color: #333;
    
}

.search .inputBox {
    height: 30px;
    border-bottom: 2px solid #000;
    text-align: left;
    position: relative;
}
.search .inputBox input {
    border: none;
    margin-top:2%;
    width: 180px;
    height: 20px;
}

.search .inputBox .btn {
    position: absolute;
    top: 7px;
    right: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    margin-bottom: 8%;
}

table caption {
    font-size: 0;
    line-height: 0;
    height: 0;
}

table colgroup {
    display: table-column-group;
}

table colgroup col {
    display: table-column;
}

table colgroup .n1 {
    width: 15%;
}

table colgroup .n3 {
    width: 15%;
}

table colgroup .n4 {
    width: 15%;
}

table thead th {
    padding: 17px 0;
    text-align: center;
    font-size: 1rem;
    line-height: 15px;
    color: #000;
    font-weight: bolder;
    background: #f8f8f8;
    border-top: 1px solid #333333;
    border-bottom: 1px solid #dddddd;
}

table tbody {
    display: table-row-group;
    vertical-align: middle;
    border-color: inherit;
}

table tbody tr {
    display: table-row;
    vertical-align: inherit;
    border-color: inherit;
}

table tbody td {
    font-size: 0.95rem;
    padding: 17px 0;
    text-align: center;
    color: #666666;
    border-bottom: 1px solid #dddddd;
}

table tbody td .noti {
    text-align: center;
    font-size: .9rem;
    font-weight: 900;
}

table tbody .left {
    text-align: left;
}

/* //table */
.paging {
    width: 30%;
    margin: auto;
    display: flex;
    margin-bottom: 10%;
}

.paging .page {
    width: 100%;
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.paging .page a {
    display: block;
    font-weight: 900;
    color: #adadad;
}

.paging .page a:first-child {
    color: #000;
}

.paging .page a:first-child::after {
    display: block;
    content: '';
    border-bottom: solid 2px #000000;
}

.next {
    position: relative;
    border: 1px solid #e6e6e6;
    width: 30px;
    height: 30px;
}

.next::after {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-65%, -50%) rotate(45deg);
    content: '';
    width: 7px;
    height: 7px;
    border-top: 2px solid #333;
    border-right: 2px solid #333;
}

.next:hover {
    background-color: #000;
    cursor: pointer;
}

.next:hover::after {
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    /* 이거 어케하넝 */
}



/* footer */

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;
}
.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;
    }
  
    .f_inner {
      max-width: 1200px;
      transition: .2s linear;
    }
  
    .f_inner .f_1st .f_menu {
      font-family: kopubBatang_bold;
      width: 60%;
    }
    .btnTop {
      right: 20px;
    }
  }
  @media screen and (max-width:1200px) {
    header .h_inner {
      max-width: 1024px;
    }
  
    .h_inner .menu {
      width: 45%;
    }
    .c_inner {
      max-width: 1024px;
      margin: 0 auto;
  }
   .f_inner {
      max-width: 1024px;
    }
  
    .f_inner .f_1st .f_menu {
      width: 65%;
    }
    .btnTop {
      top: -80px;
    }
    }
  
  @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;
    }
    .c_inner {
      max-width: 767px;
      margin: 0 auto;
  }
    .f_inner {
      max-width: 767px;
    }
  
    .f_inner .f_1st .f_menu {
      width: 70%;
      font-size: .9rem;
      margin-left: 8%;
    }
  
    .f_inner .f_1st .f_menu ul li {
      margin: 0 3%;
    }
    .btnTop {
      top: -100px;
      right: 30px;
    }
  
  }
  @media screen and (max-width:767px) {
    header .h_inner {
      width: 90%;
      margin: 0 auto;
    }
  
    header .h_inner .menu {
      display: none;
    }
  
    #nav-icon4 {
      display: block;
    }
    .c_inner {
     width: 90%;
    margin: 0 auto;
  }
  .c_inner .menu {
    font-size: 1.1rem;
}
  /* inputbox */
  .search .inputBox input {
    width: 130px;
}

    .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;
    }
  
    .btnTop {
      right: 20px;
      top: -80px;
      width: 50px;
      height: 50px;
    }
  
  
  }
  @media screen and (max-width:600px){
   .f_inner .f_1st .flogo img {
      width: 40%
    }
    .paging {
      width: 45%;
      font-size: .9rem;
  }
  }
  
  
  @media screen and (max-width:450px){
    .h_inner h1 a img {
      width: 80%;
    }
    .openmenu ul li {
      font-size: 1.5rem;
      line-height: 60px;
  }
    .c_inner .menu{
      font-size: 1rem;
    }
    .count{
      font-size: .9rem;
    }
    table thead th{
      font-size: .9rem;
    }
    table tbody td {
      font-size: 0.8rem;
    }
      
    .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;
    }
  
    .btnTop {
      right: 25px;
      top: 15px;
      width: 35px;
      height: 35px;
      border-radius: 0;
    }
  }
  
  
