@charset "utf-8";
@import url('font.css');

/* Reset */
html {overflow-y:auto; -webkit-touch-callout:none; -webkit-user-select:none;}
body {margin:0;padding:0;font-size:0.75em;height:100%;font-family:'Nanum Gothic', sans-serif;font-weight:400}
html, h1, h2, h3, h4, h5, h6, form, fieldset, img, dl, dt, dd, p {margin:0;padding:0;border:0}
h1, h2, h3, h4, h5, h6 {font-size:1em}
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {display:block}
header ul, nav ul, footer ul {margin:0;padding:0;list-style:none}
legend {position:absolute;font-size:0;line-height:0;text-indent:-9999em;overflow:hidden}
label, input, button, select, img {vertical-align:middle}
input, button {margin:0;padding:0;font-size:1em}
button,input[type=submit]{cursor:pointer;}
input[type=text], input[type=password], input[type=submit], input[type=image], button {border-radius:0;font-size:1em;-webkit-appearance:none}
textarea, select {font-size:1em;font-family:dotum}
textarea {border-radius:0;-webkit-appearance:none}
p {margin:0;padding:0;word-break:break-all}
hr {display:none}
pre {overflow-x:scroll;font-size:1.1em}
a:link, a:visited {color:#000;text-decoration:none}
ul,li{list-style:none;padding:0;margin:0;}

.clear {clear:both}

/*배경*/
body { background: #f8f8f8; padding-top:constant(safe-area-inset-top)}

/*상단*/
header {
  height: 60px;
  border-bottom: 1px solid #d7d7d7;
  box-sizing: border-box;
  background: white;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 3;
}

header h1 {
  text-align: center;
  line-height: 60px;
  font-size:16px;
  color: #e64c3e;
}

#header_back p {
  position: absolute;
  left: 16px;
  top: 20px;
  cursor: pointer;
}

#header_back p img { width: 12px; }
#header_back ul {
  position: absolute;
  right: 0;
  top: 16px;
}

#header_back ul li {
  float: left;
  margin-right: 10px;
}

#header_back ul li img { width: 25px; }


/*섹션*/
section{top:60px}
#info, .inner {
  background: #f8f8f8;
  position: relative;
  padding: 7px;
  box-sizing: border-box;
}
#info .inner{
  border-radius: 5px;
  border: 1px solid #d7d7d7;
  background: #ffffff;
  position: relative;
  padding: 20px;
  box-sizing: border-box;
  
}

#info .title {
  height: 40px;
  background: white;
  border: 1px solid #d7d7d7;
  border-radius: 5px;
  box-sizing: border-box;
  font-size: 16px;
  color: #474646;
  text-align: center;
  line-height: 40px;
}

#info .graybox {
  margin: 0px 0;
  margin-bottom:20px;
  padding: 15px;
  box-sizing: border-box;
  background: #989898;
  border-radius: 5px;
  color: white;
  line-height: 20px;
  font-size:14px;
}
#info .whitebox {
  margin: 15px 0;
  padding: 15px;
  box-sizing: border-box;
  border: 1px solid #d7d7d7;
  background: #ffffff;
  border-radius: 5px;
  color: white;
  line-height: 20px;
}

#info .graybox p { margin-bottom: 20px; }
#info .graybox p:last-child { margin-bottom: 0; }
#info .graybox span {
  font-weight: 600;
  color: #444444;
}

#info .subbox h3 {
  font-size: 14px;
  font-weight: 600;
  color: #e64c3e;
}

#info .subbox p {
  margin: 10px 0 0;
  font-size: 14px;
  color: #000000;
  line-height: 20px;
}

#info .subbox p span { color: #e64c3e; }

#info .graybox2 {
  margin: 15px 0;
  padding: 20px 10px;
  box-sizing: border-box;
  background: #ebebeb;
  border-radius: 5px;
  height: 70px;
  position: relative;
  color: #4d4d4d;
  font-size:12px;
}

#info .graytable { height: auto; }

#info .graybox2 li {
  width: 20%;
  font-size: 14px;
  font-weight: 600;
  text-align: center;
  float: left;
  padding: 0 5px;
  border-right: 1px solid #cfcfcf;
  box-sizing: border-box;
  font-size:12px;
}

#info .graybox2 li:after {
  content: '';
  display: block;
  clear: both;
}

#info .graybox2 li:first-child { padding-left: 0; }
#info .graybox2 li:last-child {
  padding-right: 0;
  border-right: 0;
}

#info .graybox2 li span { font-weight: 400; }

#info .boxcase1 li {
  font-size: 11px;
  width: 50%;
}

#info .boxcase1 li:last-child {
  text-align: left;
  padding-left: 5vw;
}

#info table {
  width: 100%;
  font-size: 14px;
  color: #4d4d4d;
  text-align: center;
  border-radius: 5px;
  border-collapse: collapse;
  background: #ebebeb;
  margin: 15px 0;
}

#info table tr:first-child th { border-bottom: 1px solid #cfcfcf; font-size:12px;}
#info table th,
#info table td {
  border-right: 1px solid #cfcfcf;
  height: 35px;
  font-size:12px;
}

#info table tr:first-child th:last-child,
#info table td:last-child { border-right: 0; }
#info table th:last-child { border-right: 0; }

#info .tablecase1 th:first-child { width: 20%; }
#info .tablecase1 th:nth-child(2) { width: 35%; }
#info .tablecase1 th:last-child { width: 45%; }

#info .tablecase2 th:first-child { width: 50%; }
#info .tablecase2 th:last-child { width: 50%; }

#info .tablecase3 th:first-child { width: 15%; }
#info .tablecase3 th:nth-child(2) { width: 25%; }
#info .tablecase3 th:last-child { width: 60%; }
#info .tablecase3 tr td:last-child {
  text-align: left;
  padding: 0 2vw;
  font-size: 14px;
}

#info .tablecase4 th:first-child { width: 25%; }
#info .tablecase4 th:nth-child(2) { width: 25%; }
#info .tablecase4 th:last-child { width: 50%; }

#info .tablecase5  {}

/*성명학 알아보기 메인*/
#info_main .info_title {
  background: white;
  position: relative;
  height: 170px;
}

#info_main .info_title h1 {
  text-align: center;
  padding: 30px 0;
  box-sizing: border-box;
}

#info_main .info_title h1 img { width: 200px; }

#info_main .info_title ul {
  position: absolute;
  right: 0;
  top: 20px;
}

#info_main .info_title ul li {
  float: left;
  margin-right: 10px;
}

#info_main .info_title ul li img { width: 30px; }

#info_main .info_link {
  content: '';
  display: block;
  clear: both;
}

#info_main .info_link li {
  margin: auto;
  margin-top: 4px;
  margin-bottom: 4px;
  padding: 10px;
  height: 10vh;
  border: 1px solid #d7d7d7;
  border-radius: .5em;
  background: #fff;
  cursor: pointer;
  width: 90%;
}

#info_main .info_link li img {
  position: absolute;
  right: 20px;
  top: 14px;
  width: 12px;
}

#info_main .info_link li a {
  color: #777777;
  display: block;
  height: 10vh;
}

.reName dl {margin:10px 10px;padding:2vh;height:9vh;border:1px solid #d7d7d7;border-radius:.5em;background:#fff;cursor:pointer;}
.reName dl dt {position:absolute;border:1px solid #d7d7d7;border-radius:.5em;}
.reName dl dt img {height:9vh;}
.reName dl dd {position:relative;padding-left:11vh;text-align:left}
.reName dl dd h3 {padding-top:2px;padding-bottom:2px;font-size:15px;color:#3c3c3c;font-weight:600}
.reName dl dd p {color:#666666;line-height:20px;font-size:14px;font-weight:300}
.reName dl dd .go {position:absolute;right:5px;top:3vh;}
.reName dl dd .go img {width:18px}

.copy {
  padding: 0 0 20px;
  box-sizing: border-box;
  font-size: 1.5vh;
  color: #777777;
  text-align: center;
}

/*탄생석 팝업*/
#bgArea {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  text-align: center;
  background-color: rgba(0, 0, 0, .5);
  /*opacity: 0;*/
  /*display: none;*/
}


#bgArea > p img {
  width: 120px;
  position: absolute;
  left: 0;
  right: 0;
  margin: auto;
  top: 55px;
  z-index: 9999;
}

#bgArea .popup {
  width: 84%;
  height: 64%;
  background: white;
  border-radius: 10px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(1);
}

#bgArea .popup .detail {
  width: 80%;
  height: 80%;
  position: absolute;
  font-size: 14px;
  left: 0;
  right: 0;
  margin: auto;
  margin-top: 25%;
}

#bgArea .popup .detail h2 {
  font-size: 20px;
  font-weight: 600;
  color: #393939;
  padding-bottom: 15px;
  margin-top: 5%;
}

#bgArea .popup .detail h3 {
  font-size: 14px;
  font-weight: 400;
  line-height: 20px;
  color: #393939;
}


#bgArea .popup .detail .close button {
  width: 70%;
  height: 45px;
  background: #e64c3e;
  border-radius: 5px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  margin-top: 25px;
}

#bgArea .popup .detail .close button a { color: white; }
