@import url('https://fonts.googleapis.com/css2?family=Comfortaa:wght@300;400;500;600;700&family=Noto+Sans+KR:wght@100;300;400;500;700;900&display=swap');

/* root */
:root {
  /* font */
  --color-black : #333;
  --color-gray : #999;
  --color-main: #1b12d9;
  --color-white: #fff;

  /* font-weight */
  --weight-bold: 800;
  --weight-medium: 600;
  --weight-light: 300;

  /* round */
  --radius-10: 10px;
  --radius-5: 5px;
}


/* reset */
html {
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  margin: 0 auto;
}

img {
  width: 100%;
}

html, body, div, span, h1, h2, h3, h4, h5, h6, p,
pre, a, img, dl, dt, dd, ol, ul, li, form, label,
table, caption, tbody, tfoot, thead, tr, th, td,
footer, header, nav, section {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

a, a:visited {
  color: inherit;
  text-decoration: none;
}

body {
  font: 300 1rem/100% "Noto Sans KR", sans-serif;
}

input::-moz-focus-inner {
  border: 0;
  padding: 0;
}

img {
  vertical-align: middle;
}

button, input, select, textarea {
  font-size: 100%;
  margin: 0;
  vertical-align: baseline;
  *vertical-align: middle;
}


/* style */
html {
  background-color: #c8b6990a;
}
/* header */
#header {
  width: 100%;
  height: fit-content;
  display: flex;
  justify-content: space-between;
  align-items: center;
  
  position: fixed;
  inset: 0;
  padding: 14px;
  z-index: 999;
}

.logo {
  width: 100px;
}

main {
  max-width: 1080px;
  margin: 0 auto;
}

#section2 {
  max-width: 100vw;
  background-color: #fdfcfb;
  padding: 10px 20px;
}

input,
textarea {
  font-size: 1rem;
  background-color: transparent;
  color: var(--color-black);
  outline: none;
  border: none;
}

input:focus,
textarea:focus {
  outline: 0;
}

::-webkit-input-placeholder {
  font-style: italic;
  color: var(--color-gray);
  font-size: 13px;
}

::-moz-placeholder {
  font-style: italic;
  color: var(--color-gray);
  font-size: 13px;
}

select::-ms-expand {
  display: none;
}

.mr10 {
  margin-right: 10px;
}

.mb10 {
  margin-bottom: 10px;
}

button,
.button {
  border: 0;
  outline: 0;
  background-color: var(--color-main);
  border-radius: var(--radius-5);
  color: var(--color-white) !important;
  padding: 2px 5px;
  font-size: 0.8rem;
}

.toFooter {
  width: fit-content !important;
  padding: 12px;
  font-weight: 600;
  font-size: 1rem;
  background-color: var(--color-main);
  border-radius: var(--radius-5);
}

.toFooter span {
  color: var(--color-white);
}


#tel {
  -o-appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 30%;
  max-width: 110px;
  /* min-width: 68px; */
  height: 42px;
  background: url('/assets/images/haeyum/chevron-down.svg') calc(100% - 5px) center no-repeat;
  background-size: 20px;
  padding: 5px 30px 5px 10px;
  border-radius: 4px;
  outline: 0 none;
  border: 1px solid var(--color-main);
  font-size: 1.0rem;
}

input:focus~span,
textarea:focus~span {
  width: 100%;
  -webkit-transition: all 0.075s ease;
  transition: all 0.075s ease;
}


.submit {
  /*margin: 30px auto;*/
  padding: 12px;
  width: 100%;
  background-color: white;
  border: 0;
  outline: 0;
  border-radius: var(--radius-5);
  color: var(--color-white);
  font-weight: 700;
  font-size: 1rem;
}

/* contact */
form dl {
  width: 100%;
  display: table;
  max-width: 500px;
}

form dt {
  width: 50px;
  font-weight: bold;
  line-height: 40px;
  vertical-align: top;
  height: 35px;
  margin-top: 8px;
}

form dd {
  display: table-cell;
  line-height: 42px;
  font-size: 18px;
  width: 95%;
}

form dd select {
  border: 1px solid #ddd;
  height: 42px;
  width: 23%;
}

form label {
  font-size: 15px;
  display: inline-block;
  /* padding-right: 8px; */
  margin-right: 5px;
  width: 20%;
  max-width: 90px;
}

input#name, #Personnel {
  width: 100%;
  max-width: 400px;
}

select#destination{
  width: 100%;
  color:black !important;
  background-color: white !important;
  border-radius: 5px;
  border: 1px solid blue;
}

form dd input[type=text],
form dd input[type=tel],
form dd input[type=number] {
  border: 1px solid var(--color-main);
  padding: 0;
  margin: 0;
  border-radius: 5px;
  line-height: 40px;
  height: 42px;
  text-indent: 5px;
}

form dd input[type=tel]{
  width: 32% !important;
  max-width: 135px;
  margin-left: 1.0%;
}

.flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.agreement {
  margin-bottom: 8px;
}

.agree input[type=checkbox] {
  width: 16px;
  height: 16px;
  margin-right: 5px;
}

.policy {
  display: inline-block;
  font-size: 0.8rem;
  padding: 2px 5px;
  background-color: var(--color-main);
  color: var(--color-white) !important;
  word-break: keep-all;
  margin: 5px 0;
}

footer {
  padding: 20px;
  font-size: 0.8rem;
  background-color: var(--color-black);
  color: var(--color-gray);
  text-align: center;
}

/* ---------- 팝업 : 개인정보취급방침 ---- */
.pop_privacy{
    line-height: 1.4;
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 100;
    background: rgba(0,0,0,0.6);
    font-weight: 300;
    display: none;    
}
.pop_privacy.open{
    display: block;
}
.pop_privacy .pop_div{
    position: absolute;
    left: calc(50% - 47vw);
    top: calc(50% - 40vh);
    max-width: 94%;
    height: 620px;
    background: #fff;
    border: 1px solid #111;
    padding: 60px 0px 40px 40px;
}
.pop_privacy .pop_div .close::before{
    transform: rotate(-45deg);
}
.pop_privacy .pop_div .close::after{
    transform: rotate(45deg);
}

.pop_privacy .pop_div .close::after, .pop_privacy .pop_div .close::before{
    display: block;
    position: absolute;
    top: 50%;
    left: calc(50% - 18px);
    width: 37px;
    height: 1px;
    background: #333;
    content: '';	
}
*, :after, :before {
    box-sizing: border-box;
    flex-shrink: 0;
}
.pop_privacy .pop_div .close{
	position: absolute;
    top: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    font-size: 0;
    cursor: pointer;
}
.pop_privacy .pop_div .pop_content{
    height: 100%;
    width: 100%;
    overflow-y: scroll;
    padding-right: 40px;
}

.pop_privacy p{
    margin: 1em 0 0.5em;
    font-size: 15px;
}

.pop_privacy table{
    border-collapse: collapse;
    border-spacing: 0;
}
.pop_privacy td{
    border: 1px solid #444;
    padding: 5px;
}
.pop_privacy td p{
    font-size: 0.9rem;
}