﻿:root {
  --bg: #f2f4f7;
  --card: #ffffff;
  --text: #1f1d1a;
  --muted: #525252;
  --accent: #d71826;
  --border: #e0dfe2;
  --font:16px;
  --inpading:60px;
}

* { box-sizing: border-box; margin:0;padding:0; word-break: keep-all;}
ul,ol {list-style:none;}

a {text-decoration: none; color: inherit;}
html, body {
  min-height: 100%;
}

body {
  margin: 0;
  font-family: "Noto Sans KR", "Malgun Gothic", sans-serif;
  background: #fff;
  color: var(--text);
  font-size: var(--font);
}
.as_header {
  border-bottom: 1px solid var(--border);
  background-color: #fff;
  padding:20px 0;
}
.as_header h1 {
  font-size: 1.5rem;
  display: flex;
  align-items: center;
  gap:12px;
  font-size: 1.2rem;
}
.as_header .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  align-items: center;
}
.as_header a {
  float: right;
  font-size: 1.2rem;
  color: var(--accent);
} 

.as_top_contact {
  text-align: right;
  line-height: 1.2;
}
.as_top_contact p {
  font-size: 1rem;
  color: var(--text);
}
.as_top_contact a {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--accent);
}

.inner {padding:0 20px; max-width: 1200px; margin:0 auto;}



.as_intro {
  margin: 0 auto;
  padding: 60px 30px;
  background:#F2F2F2;
  text-align: center;
}

.as_intro h2 {
  font-size: 2.2rem;
  padding-bottom: 8px;
}

.as_text {
  border:1px solid #7a7c8d;
  padding:20px 30px;
  border-radius: 8px;
}
.as_text ul li::before {
  content: "•";
  color: var(--accent);
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}
.as_text ul li {
  padding-left: 14px;
  margin-bottom:10px;
}
.as_text ul li:last-child {
  margin-bottom:0px;
}

.as_box {
  padding:70px 0 0px;
}


.as_chatbot a {
  display: flex;
  border:1px solid #d2d4df;
  background-color: #f1f2fa;
  color:var(--text);
  padding:60px 30px 0;
  border-radius: 8px;
  position: relative;
  align-items: flex-start;
  gap:20px;
  height:100%;
} 
.as_chatbot a span:nth-child(2) {
  flex:1;
  font-size: 1rem;
}
.as_chatbot a h4 {
  font-size: 1.6rem;
  padding-bottom: 12px;
}

.chatbot-icon {
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: #fff;
  border:1px solid #d2d4df;
  border-radius: 50%;
  width: 90px;
  height: 90px;
}
.as_chatbot a img {
  width: 100%
}
/* .as_bottom {
  padding-bottom: 80px;
} */
.as_box h3 {
  font-size: 1.6rem;
  padding-bottom: 14px;
}
.more_btn {
  color:#fff;
  border:1px solid #fff;
  padding:8px 32px 8px 14px;
  border-radius: 8px;
  font-size: 0.9rem;
  display: inline-block;
  margin:8px 0 4px;
  background: url(/assets/images/arrow_w.png) no-repeat 94% 50%;
  background-size: 16px 16px;
  cursor: pointer;
}
.as_select {
  display: flex;
  gap:20px;
  padding-bottom: 80px;
}
.as_select > div:first-child {
  flex:6;
}
.as_select > div {
  flex:4;
}
.as_stap {
  flex:1;
  position: relative;
}
.as_stap h4 {
  padding-bottom: 12px;
  font-size: 1.6rem;
  line-height: 1.6;
}
.as_stap_direct {
  border:6px solid var(--accent);
  background-color: #fff;
  color:var(--text);
}

.as_stap_device {
  background-color: #35373f;
  color:#fff;
  padding:var(--inpading);
  font-size: 1rem;
  border-radius: 8px;
}
.device_check {
  display: flex;
  gap:0px;
  margin-top: 20px;
}
.device_check input[type=tel] {
  border:3px solid var(--accent);
  background-color: #fff;
  padding:12px;
  font-size: 1rem;
  width:100%;
  font-size: 1.2rem;
  letter-spacing: 0.02rem;
} 
.devide_btn_check {
  background-color: var(--accent);
  color:#fff;
  border:none;
  padding:12px 20px;
  font-size: 1rem;
  cursor: pointer;  
  min-width:160px;
  font-weight: bold;
  border:3px solid var(--accent);
}
.as_stap_device p {
  font-size: 1rem;
}
.as_stap_device input {
  width: 100%;
  padding:12px;
  font-size: 1.2rem;
  border:1px solid var(--border);
}
.as_stap_direct a {
  font-size: 1.4rem;
  display: flex;
  padding:var(--inpading);
  align-items: flex-start;
  flex-direction: column;
  width: 100%;
  height: 100%;
}

.as_stap_direct a span {
  font-size: 0.65em;
}


.device_result {
  padding-top:8px
}

.device_result__text {
  text-align: center;
}

.as_spinner {
  width: 32px;
  height: 32px;
  margin: 0 auto 10px;
  border-radius: 50%;
  border: 3px solid var(--border);
  border-top-color: var(--accent);
  animation: as-spin 0.8s linear infinite;
}

@keyframes as-spin {
  to {
    transform: rotate(360deg);
  }
}

.guide_root {
  height: 72vh;
  overflow-y: auto;
}
.guide_root ul {
  padding:8px 0;
}
.guide--list {
  display: flex;
  gap:8px;
  padding:14px 0;
}
.stepDiv {
  display: block;
  padding:10px;
  text-align: center;
}
.stepDiv img {
  display: block;
  margin:0 auto 8px;
}

.as_modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(18, 20, 28, 0.6);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 2000;
  padding: 20px;
}

.as_modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.as_modal__backdrop {
  position: absolute;
  inset: 0;
}

.as_modal__content {
  position: relative;
  width: min(520px, 92vw);
  background: #fff;
  color: var(--text);
  border-radius: 14px;
  padding: 26px 24px 22px;
  box-shadow: 0 18px 40px rgba(15, 16, 18, 0.25);
  transform: translateY(12px);
  transition: transform 0.2s ease;
}
#guideModal .as_modal__content {
  width: min(1180px, 92vw);
}

.as_modal.is-open .as_modal__content {
  transform: translateY(0);
}

.as_modal__content h4 {
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.as_modal__content .device_result {
  font-size: 1rem;
  color: var(--text);
  padding-top: 0;
  line-height: 1.5;
}

.as_modal__close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
}

.as_modal__close::before,
.as_modal__close::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 16px;
  height: 2px;
  background: var(--text);
  transform-origin: center;
}

.as_modal__close::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

.as_modal__close::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}

.as_modal__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 18px;
}

.as_modal__button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 18px;
  font-size: 1rem;
  cursor: pointer;
}

.consent-group-agree {
  margin: 6px 0 28px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: #f7f7fb;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  font-size: 0.9rem;
}

.as_form_box .consent-group-agree .consent_field {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 0;
}

.consent-group-agree input[type="checkbox"] {
  width: 18px;
  height: 18px;
}

.consent-group-agree span {
  font-size: 0.95rem;
  color: var(--text);
}

.consent_button {
  background: transparent;
  border: none;
  color: var(--accent);
  font-size: 0.9rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
}

.as_footer {
  border-top: 1px solid var(--border);
  background-color: #fff;
  padding:40px 0;
  font-size: 0.9rem;
  color: var(--muted);
}

.link_icon {
  display: inline-block;
  width: 42px;
  height: 42px;
  border:1px solid #1f1d1a;
  border-radius: 50%;
  background-image: url('/assets/images/arrow.png');
  background-size: 24px 24px;
  background-repeat: no-repeat;
  background-position: center;
  position: absolute;
  bottom:40px;
  right:40px;
}


.as_form_section {
  margin: 0 auto;
  padding: 60px 0px;
}
.as_form_section h2 {
  font-size: 1.6rem;
  padding-bottom: 8px;
}

/* ------------------------- */
/* Page form styles (as/page) */
.wrap {
  max-width: 960px;
  margin: 0 auto;
  padding: 40px 30px 80px;
}

.wrap h1 {
  font-size: 2rem;
  margin-bottom: 10px;
}

.lead {
  color: var(--muted);
  margin-bottom: 24px;
  line-height: 1.6;
}

.panel {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 28px;
  margin-bottom: 24px;
  box-shadow: 0 4px 16px rgba(31, 29, 26, 0.06);
}

.panel h2 {
  font-size: 1.4rem;
  margin-bottom: 10px;
}

.select-number {
  display: inline-block;
  padding: 4px 10px;
  border: 1px solid var(--accent);
  border-radius: 20px;
  color: var(--accent);
  font-size: 0.85rem;
  margin-bottom: 8px;
} 


.panel input[type=text],
.panel input[type=file] {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 12px;
  font-size: 1rem;
  background: #fff;
}
.file-item input[type=file] {
  padding: 6px;
  border: 2px solid var(--accent);
  border-radius: 8px;
}

.actions {
  display: flex;
  gap: 10px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.button {
  background: var(--accent);
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 12px 18px;
  font-size: 1rem;
  cursor: pointer;
}
.cancel_btn.button {
  background: transparent;
  color: var(--muted);
  border: 1px solid var(--muted);
}
.button--ghost {
  background: transparent;
  color: var(--accent);
  border: 1px solid var(--accent);
}

.button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

.result {
  margin-top: 14px;
  padding: 12px 14px;
  background: #f7f5f0;
  border: 1px dashed var(--border);
  border-radius: 6px;
  min-height: 46px;
}

.file-group {
  display: grid;
  gap: 10px;
  margin: 12px 0 0;
}

.file-item label {
  display: block;
  padding: 14px 20px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: #fafafa;
}

.file-meta {
  margin-top: 4px;
  font-size: 12px;
  color: var(--muted);
  min-height: 1em;
}

.point-text {
  color:var(--accent);
  font-weight: bold;
}
.desc-text {
  padding:10px;
  margin:0px 0 4px;
  background: #f8f8f8;
  border:1px solid #eee;
}
.desc-text ul li {
  /* margin-bottom:8px; */
  font-size: 0.85rem;
  color: var(--muted);
}


.as_stap .actions {
  justify-content: flex-start;
  margin-top: 30px;
}
.as_page_select {
  display: flex;
  gap:20px;
  padding: 0px 0 80px;
}
.as_page_select > div{
  flex:1;
  background-color: #fff;
  border:3px solid var(--text);
  border-radius: 8px;
  padding:40px var(--inpading);
}
.as_page_select > div:hover{
  border:3px solid var(--accent);
}

.as_form_box {
  border:1px solid var(--text);
  background-color: #fff;
  border-radius: 8px;
  padding:40px var(--inpading);
  margin: 20px 0 80px;
}
.as_form_box h3 {
  font-size: 1.6rem;
  padding-bottom: 14px;
}
.as_form_box i {
  color:var(--accent);
  font-size: 14px;
  font-style: normal;
  font-weight: normal;
}
.as_form_box .field {
  display: block;
}
.as_form_box .field span {
  display: block;
  font-size: 0.85rem;
  color: var(--text);
}
.as_form_box .actions .button {
  min-width: 140px;
}
.as_form_box .field input[type=tel],
.as_form_box .field input[type=text]{
  width: 100%;
  padding:12px;
  font-size: 1.1rem;
  border:1px solid var(--border);
  margin-top:6px;
  margin-bottom:22px;
  max-width: 220px;
  border-radius: 8px;
}
.as_form_box .field.tel_field input[type=tel]{
  max-width: 80px;
}

.file-label {
  display: block;
  font-size: 1rem;
  color: var(--text);
  font-weight: bold;
}
.file-text {
  display: block;
  font-size: 0.85rem;
  color: var(--muted);
  margin-bottom: 8px;
}

.as_modal__content .device_result {
  padding:20px 0;
  border-top:1px solid var(--border);
  border-bottom:1px solid var(--border);
  margin-top:20px;
  font-size: 1rem;
  margin-bottom: 20px;
  text-align: center;
}

.as_modal__content .device_result.agree_text {
  max-height: 300px;
  overflow-y: auto;
  text-align: left;
  font-size: 13px;
}
.file-text b {
  display: none;
  font-weight: normal;
}

.m-only {
  display: none;
} 
.pc-only {
  display: block;
}
@media (max-width: 900px) {
  .wrap {
    padding: 30px 20px 60px;
  }

  .file-group {
    grid-template-columns: 1fr;
  }
}
/* .as_text--list {
  background-color: #f8f8f8;
  padding:10px;
  margin-top:12px;
  border:1px solid #eee;
} */
.stap_title {
  display: block;
  font-size: 1rem;
  padding-bottom: 0px;
  color: var(--muted);
}
.as_text--list li {
  display: flex;
  flex-direction: column;
  padding-bottom: 18px;
  font-size: 1.2rem;
  border-bottom: 1px solid var(--border);
  margin-bottom:18px;
}
.as_text--list li:last-child {
  margin-bottom: 30px;
}
@media (max-width: 900px) {
  :root{
    --font:14px;
    --inpading:30px;
  }
  html,body {
    font-size: 14px;
  }
  .as_header {
    padding:10px 0;
  }
  .as_header h1 img {
    width: 200px;
  }
  .as_top_contact a {
    font-size: 1.2rem;
  }
  .as_top_contact p {
    font-size: 0.9rem;
  }
  .as_intro h2 {
    font-size: 1.52rem;
  }
  .as_intro {
    padding: 34px 0px;
  }
  .as_intro p {
    font-size: 0.9rem;
  }
  .as_box {
    padding:40px 0 0px;
  }
  .as_box h3 {
    font-size: 1.4rem;
  }
  .as_text {
    font-size: 0.9rem;
    padding:20px;
    
  }
  .as_select {
    flex-direction: column;
  }
  /* .as_stap h4 {
    font-size: 1.4rem;
  } */
  .device_check {
    flex-direction: column;
    border:0;
  }
  .devide_btn_check {
    margin-top:8px;
    width: 100%;
    min-width: unset;
  }
  .as_chatbot a {
    text-align: left;
    padding: 20px 20px;
    align-items: center;
    gap:14px;
  }
  .as_chatbot a h4 {
    padding-bottom: 6px;
  }
  .as_chatbot .chatbot-icon {
    width: 42px;
    height: 42px;
  }
  .as_chatbot .link_icon {
    position: static;
    margin-top:0px;
  }
  .link_icon {
    width: 28px;
    height: 28px;
    background-size: 16px 16px;
    bottom:auto;
    top:50%;
    transition: translateY(-100%);
    right:14px;

  }
  .as_page_select {
    flex-direction: column;
  }
  .stap_title {
    display: block;
    font-size: 12px;
    font-weight: bold;
    margin-bottom:4px;
  }
  .stap_title:after{
    content:'';
    position: unset;
  }
 
  .as_text--list li {
    flex-direction: column;
    padding-bottom:12px;
    margin-bottom:12px;
  }
  /* .as_text--list li:last-child{
    border-bottom:0;
  } */
  /* .as_text--list li:first-child{
    padding-top: 0;
  } */
  .as_form_box {
    padding:30px 20px;
  }
  .as_form_box .actions .button {
    width: 48%;
    min-width: 100px;
  }
  .file-item label {
    padding: 14px;
  }
  .file-text b {
    display: inline;
  }
  .m-only {
    display: block;
  } 
  .pc-only {
    display: none;
  }
  .as_stap_device {
    padding:36px var(--inpading) 40px
  }
  .as_stap h4 {
    font-size: 1.4rem;
  }
  .as_stap .actions {
    margin-top: 16px;
  }
  .as_page_select > div{
    padding:34px var(--inpading)
  }
  
  .guide--list {
    flex-direction: column;
  }
  

  .scroll-down{
    position: absolute;
    bottom:20px;
    left: 50%;
    background:#fff url(/assets/images/arrow.png) no-repeat 50% 50%;
    background-size: 20px;
    width:28px;
    height: 28px;
    transform:translateX(-50%) rotate(90deg);
    border-radius: 50%;
    border:1px solid var(--border);
    animation: scroll-down 1.5s infinite;
  } 
}

@keyframes scroll-down {
  0% {
    transform: translateX(-50%) translateY(0) rotate(90deg);
    opacity: 1;
  }
  100% {
    transform: translateX(-50%) translateY(10px) rotate(90deg);
    opacity: 0.4;
  }
} 