* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
  color: inherit;
}

button {
  background: none;
  border: none;
  cursor: pointer;
  color: inherit;
}

body {
  background: #333;
}
.container {
  width: 800px;
  margin: 0 auto;
  background: #fff;
}
.container img {
  width: 100%;
  display: block;
}

button#formLink {
  display: none !important;
  position: fixed;
  left: 50%;
  transform: translateX(-50%);
  bottom: 32px;
  z-index: 9999;
  background: #000;
  color: #fff;
  font-size: 2rem;
  font-weight: bold;
  border: none;
  padding: 16px 32px;
  box-shadow: 0 4px 16px rgba(19,49,106,0.18);
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.3s;
}
button#formLink.show-formlink {
  display: flex !important;
  opacity: 1 !important;
  pointer-events: auto !important;
  left: 50% !important;
  bottom: 15px !important;
  transform: translate(-50%, 0) !important;
  animation: formLinkShow 0.3s;
}
@keyframes formLinkShow {
  from { opacity: 0; transform: translateY(40px); }
  to { opacity: 1; transform: translateY(0); }
}
}

#modal-open {
  font-size: 1.2rem;
}

.contact {
  padding: 50px;
}

#form {
  display: flex;
  gap: 20px;
  flex-direction: column;
  font-size: 1.2rem;
}

#form input[type='text'] {
  width: 100%;
  padding: 12px;
  border: 1px solid #ccc;
  border-radius: 10px;
  font-size: 1.2rem;
}

#form .callStart {
  display: flex;
  align-items: normal;
  width: 100%;
}

#form .callStart span {
  background: #ff8000;
  padding: 9px 15px;
  border-radius: 10px 0px 0 10px;
  font-weight: bold;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
}
#form .callStart input[type='text'] {
  border-radius: 0 10px 10px 0;
}

#form .textbox label {
  padding: 0 10px;
  word-break: keep-all;
  font-weight: bold;
}

#formLink {
  width: 90%;
  max-width: 500px;
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  font-size: 2.5rem;
  color: #fff;
  padding: 15px 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}
#formLink span {
  color: #ff8000;
}

#submitBtn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  font-size: 2.5rem;
  color: #fff;
  padding: 15px 0;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-weight: bold;
}

#submitBtn span {
  color: #ff8000;
}

.textbox02 {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 0 15px;
}

.textbox02 label {
  display: flex;
  align-items: center;
  gap: 10px;
}

.textbox02 input[type='checkbox'] {
  width: 25px;
  height: 25px;
}




@media (max-width: 768px) {
  .container {
    width: 100%;
    padding-bottom:120px;
  }
  .contact {
    padding: 20px;
  }
  .textbox02 label {
    font-size: 0.9rem;
  }
}

/* 팝업 중앙 정렬 및 예쁜 스타일 */
#popup {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  display: none;
  justify-content: center;
  align-items: center;
  background: rgba(0,0,0,0.45);
  z-index: 9999;
  transition: opacity 0.3s;
}
#popup.flex {
  display: flex !important;
}
#popup .popup {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.18);
  max-width: 400px;
  width: 90vw;
  padding: 32px 24px 24px 24px;
  animation: popupShow 0.3s;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@keyframes popupShow {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
#popup .popup-body {
  margin-bottom: 16px;
}
#popup .body-titlebox h1 {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 12px;
  color: #13316a;
}
#popup .body-contentbox p {
  font-size: 1rem;
  color: #333;
  line-height: 1.6;
}
#popup .popup-foot {
  text-align: right;
  width: 100%;
}
#popup .pop-btn.close {
  background: #13316a;
  color: #fff;
  padding: 8px 18px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
  transition: background 0.2s;
  position: absolute;
  top: 18px;
  right: 18px;
  border: none;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
#popup .pop-btn.close:hover {
  background: #1a4a9e;
}