:root {
  --default-font: "Noto Serif KR", serif;
  --point-font: "Noto Serif KR", serif;
  --default-size: 8px;
  --mcolor: #007da5;
  --mcolor-1per: rgba(0, 125, 165, 0.1);
  --mcolor-3per: rgba(0, 125, 165, 0.3);
  --mcolor-7per: rgba(0, 125, 165, 0.7);
  --font-color: #333;
  --shadow: 8px 8px 20px rgba(0, 0, 0, 0.1);
  --border: 1px solid #333;
}


* {
  margin: 0;
  padding: 0;
}
html body {
  font-family: var(--default-font);
  font-weight: 300;
  color: #444;
  font-size: 14px;
  overflow-x: hidden;
}
img {
  display: block;
  border: 0;
  width: 100%;
}
a {
  text-decoration: none;
  color: var(--font-color);
}
ul,
li {
  list-style: none;
}

/**/
.wrap #bo_v_info .profile_info .pf_img,
.wrap #bo_v_info strong,
.wrap #bo_v_share,
.wrap .cmt_btn,
.wrap #bo_vc,
.wrap .bo_vc_w {
  display: none;
}

.wrap #bo_v_info strong.if_date {
  display: inline-block;
}
/**/

.wrap #bo_cate {
  margin: 0 0 25px 0;
}
/**/

.en {
  font-family: var(--point-font);
}

.big {
  font-size: calc(var(--default-size) * 10);
}

.inner {
  width: 1300px;
}

.row {
  display: flex;
}

.row.revers {
  flex-direction: row-reverse;
}

.column {
  display: flex;
  flex-direction: column;
}

.column.revers {
  flex-direction: column-reverse;
}

.w3 {
  width: 25%;
}

.w4 {
  width: calc(100% / 3);
}

.w6 {
  width: 50%;
}

.w8 {
  width: calc(100% / 3 * 2);
}

.w9 {
  width: 75%;
}

.w10 {
  width: 90%;
}

.w12 {
  width: 100%;
}

.line_btn {
  width: 200px;
  height: 60px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #555;
  box-sizing: border-box;
}

/*header*/

#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 90px;
  display: flex;
  justify-content: center;
  z-index: 99;
  transition-duration: 0.3s;
}

#header.scr {
  background: #fff;
}

#header .inner {
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 160px;
}

.menu {
  font-size: calc(var(--default-size) * 2.4);
  font-weight: 600;
  height: 100%;
}

.menu .depth1 {
  padding: 0 calc(var(--default-size) * 2.5);
  position: relative;
  align-items: center;
  display: flex;
  height: 100%;
}

.menu .drop_menu {
  font-size: calc(var(--default-size) * 2);
  font-weight: 400;
  position: absolute;
  top: 90px;
  left: 0;
  padding: var(--default-size);
  width: 100%;
  transform: translateY(-20px);
  transition-duration: 0s;
  opacity: 0;
  height: 0;
  border: var(--border);
  background: #fff;
}

.menu .depth1:hover > a,
.menu .drop_menu .depth2:hover a {
  color: var(--mcolor);
}

.menu .depth1:hover .drop_menu {
  transform: translateY(0);
  opacity: 1;
  height: auto;
  transition-duration: 0.3s;
}

.menu .drop_menu .depth2 {
  padding: var(--default-size);
  position: relative;
}

.menu .drop_menu .depth2:before {
  content: "";
  position: absolute;
  top: 0;
  left: -8px;
  width: 4px;
  height: 100%;
  background: var(--mcolor);
  opacity: 0;
}

.menu .drop_menu .depth2:hover:before {
  opacity: 1;
}

/* hamburger */
.checkbox {
  display: none;
}

.button {
  position: relative;
  height: 90px;
  width: 30px;
  border-radius: 50%;
  position: fixed;
  top: 0;
  right: 32px;
  z-index: 2000;
  text-align: center;
  cursor: pointer;
  display: none;
}

.background {
  height: 4rem;
  width: 4rem;
  border-radius: 50%;
  position: fixed;
  top: 5.5vh;
  right: 5.5vw;
  background: #fff;
  z-index: 1000;
  opacity: 0;
  transition: transform 0.8s cubic-bezier(0.86, 0, 0.07, 1);
}

.nav {
  height: 100vh;
  position: fixed;
  top: 0;
  right: -60vw;
  z-index: 1500;
  opacity: 0;
  width: 0;
  transition: all 0s;
}

.nav .list {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  list-style: none;
  text-align: center;
  width: 100%;
  overflow: auto;
  height: calc(100vh - 60px);
}

.nav .dep1 {
  margin: 15px 30px;
  font-size: 32px;
}

.nav .dep1 a {
  display: flex;
  align-items: center;
  font-weight: 600;
  cursor: pointer;
}

.nav .dep1 a:hover {
  color: var(--mcolor);
}

.nav .dep1 a .ico {
  width: 30px;
  height: 30px;
  margin-left: 10px;
  transform: rotate(90deg);
  transition-duration: 0.5s;
}

.nav .dep1 a.show_btn.on .ico {
  transform: rotate(-90deg);
}

.nav .dep1 .show_menu {
  font-size: 22px;
  margin: 20px 0;
  display: none;
}
.nav .dep2 {
  margin: 8px 0;
}

.nav .dep2 a {
  font-weight: 300;
}

/* functionality */
.checkbox:checked ~ .background {
  transform: scale(80);
  opacity: 1;
}
.checkbox:checked ~ .nav {
  opacity: 1;
  width: 100%;
  right: 0;
  transition: all 1s;
  white-space: nowrap;
}

/*  */
/* styling hamb ICON */
.button .icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.button .icon,
.button .icon::before,
.button .icon::after {
  width: 30px;
  height: 2px;
  background-color: #333;
  display: inline-block;
}

.button .icon::before,
.button .icon::after {
  content: "";
  position: absolute;
  left: 0;
  transition: all 0.2s;
}

.button .icon::before {
  top: -0.8rem;
}
.button .icon::after {
  top: 0.8rem;
}

.button:hover icon:before {
  top: -1rem;
}
.button:hover icon::after {
  top: 1rem;
}

.checkbox:checked + .button .icon {
  background-color: transparent;
}

.checkbox:checked + .button .icon::before {
  top: 0;
  transform: rotate(135deg);
}
.checkbox:checked + .button .icon::after {
  top: 0;
  transform: rotate(-135deg);
}

/*header*/
/*footer*/

#footer {
  width: 100%;
  float: left;
  display: flex;
  justify-content: center;
  padding: calc(var(--default-size) * 10) 0;
  background: #007da5;
}

#footer .inner {
  position: relative;
  color: #fff;
}

#footer .f-btn {
  position: absolute;
  bottom: 0;
  right: 0;
  gap: calc(var(--default-size) * 2.5);
}

#footer .f-btn a {
  padding: var(--default-size) calc(var(--default-size) * 2.5);
  background: #26a6cf;
  color: #ffffff;
  font-size: 13px;
}

#footer .f-info {
  margin: calc(var(--default-size) * 5) 0;
  font-weight: 300;
}

#footer .f-info span {
  font-weight: 400;
}

#footer .f-info .row {
  gap: calc(var(--default-size) * 2.5);
  line-height: calc(var(--default-size) * 3);
}

/*footer*/
/*modal*/
.modal {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: 999;
  display: none;
}

.modal-bg {
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  justify-content: center;
  align-items: center;
}

.modal-inner {
  width: 80%;
  height: 61vh;
  background: #fff;
  padding: 40px;
  position: relative;
}

.modal-xbtn {
  width: 40px;
  height: 40px;
  position: absolute;
  top: 40px;
  right: 40px;
  cursor: pointer;
}

.modal-txt {
  margin-top: 40px;
  height: 40vh;
  overflow: auto;
}

.modal-box {
  display: none;
}

/*modal*/

@media all and (max-width: 1360px) {
  .inner {
    width: calc(100% - 25px);
    margin: 0 auto;
  }
  #header{height: 60px;}
  .button{height: 60px;}
}

@media all and (max-width: 1048px) {
  .menu {
    font-size: 18px;
  }
}

@media all and (max-width: 980px) {
  .menu {
    display: none;
  }

  .button {
    display: block;
  }
}

@media all and (max-width: 530px) {
  #footer .f-btn {
    position: unset;
    margin-top: 40px;
  }

  #footer .f-info .row {
    flex-wrap: wrap;
    gap: 0px 10px;
  }

  .modal-inner {
    width: calc(100% - 64px);
    height: 74vh;
    padding: 20px;
}
  .modal-txt {
    height: 52vh;
  }
}

@media all and (max-width: 800px) {
  .modal-box h1 {
    font-size: 20px;
    line-height: 40px;
  }
  .modal-txt {
    font-size: 12px;
  }
  .nav .dep1 a {
    font-size: 15px;
    font-weight: 400;
  }
  .nav .dep2 a {
    font-size: 12px;
  }
}

@media all and (max-width: 500px) {
  #footer {
    padding: 50px 0;
  }
}

@media all and (max-width: 390px) {
  #footer .f-btn a {
    padding: 5px 10px;
  }
}
