@charset "utf-8";

/* =========================
   AGAIN MAIN VISUAL - renewal
========================= */
.ag-main-visual{
  position:relative;
  overflow:hidden;
  min-height:1000px;
  color:#303030;
  background:#dff4ff url('../img/main/01_bg.jpg') center center / cover no-repeat;
}

.ag-main-inner{
  position:relative;
  z-index:2;
  width:100%;
  max-width:1720px;
  min-height:1000px;
  margin:0 auto;
  padding:92px 60px 0;
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap:40px;
}

.ag-hero-content{
  position:relative;
  z-index:5;
  flex:0 0 58%;
  max-width:960px;
  padding-top:185px;
  letter-spacing:-0.06em;
  word-break:keep-all;
}

.ag-hero-title{
  margin:0;
  color:#303030;
  font-size:64px;
  line-height:1.25;
  font-weight:700;
  letter-spacing:-0.07em;
  text-shadow:0 2px 0 rgba(255,255,255,.15);
}

.ag-hero-title em{
  color:#6d22aa;
  font-style:normal;
  font-weight:700;
}

.ag-hero-desc{
  position:relative;
  display:inline-block;
  margin:52px 0 0;
  color:#282e34;
  font-size:32px;
  line-height:1.35;
  font-weight:500;
  letter-spacing:-0.065em;
}

.ag-hero-desc strong{
  position:relative;
  display:inline-block;
  color:#6d22aa;
  font-weight:700;
}

.ag-hero-desc strong::before{
  content:"······";
  position:absolute;
  left:50%;
  top:-34px;
  transform:translateX(-50%);
  color:#6d22aa;
  font-size:38px;
  line-height:1;
  letter-spacing:.15em;
}

.ag-career-box{
  margin-top:84px;
  padding-left:8px;
  color:#262d34;
}

.ag-career-box > strong{
  display:inline-flex;
  align-items:center;
  min-height:38px;
  padding:0 29px;
  border-radius:999px;
  background:#6d22aa;
  color:#fff;
  font-size:22px;
  line-height:1;
  font-weight:700;
  letter-spacing:-0.06em;
  box-shadow:0 8px 18px rgba(91,24,151,.22);
}

.ag-career-box ul{
  margin:18px 0 0;
  padding:0 0 0 22px;
  list-style:disc;
}

.ag-career-box li{
  margin:8px 0;
  color:#262d34;
  font-size:18px;
  line-height:1.45;
  font-weight:500;
  letter-spacing:-0.045em;
}

.ag-hero-visual{
  position:absolute;
  z-index:5;
  right:8.5%;
  bottom:100;
  width:780px;
  max-width:40vw;
  height:750px;
  display:flex;
  align-items:flex-end;
  justify-content:center;
  pointer-events:none;
}

.ag-hero-visual::before,
.ag-hero-visual::after{
  content:none;
  display:none;
}

.ag-hero-visual img{
  position:relative;
  z-index:2;
  display:block;
  width:100%;
  max-width:650px;
  height:auto;
  max-height:750px;
  object-fit:contain;
  object-position:center bottom;
}

.ag-hero-deco{
  display:none;
}

@media (max-width:1700px){
  .ag-main-inner{max-width:1500px;padding-left:42px;padding-right:42px;}
  .ag-hero-title{font-size:58px;}
  .ag-hero-desc{font-size:29px;margin-top:44px;}
  .ag-career-box{margin-top:72px;}
  .ag-hero-visual{right:5%;width:610px;max-width:39vw;}
  #hd .gnb > ul{gap:30px;}
}

@media (max-width:1450px){
  .ag-main-visual{min-height:900px;}
  .ag-main-inner{min-height:900px;padding-top:92px;}
  .ag-hero-content{max-width:760px;padding-top:170px;}
  .ag-hero-title{font-size:48px;}
  .ag-hero-desc{font-size:25px;}
  .ag-career-box > strong{font-size:19px;}
  .ag-career-box li{font-size:16px;}
  .ag-hero-visual{width:540px;height:690px;right:4%;}
}

@media (max-width:1200px){
  .ag-main-visual{min-height:auto;background-position:center center;}
  .ag-main-inner{
    min-height:auto;
    padding:100px 28px 0;
    display:block;
    text-align:center;
  }
  .ag-hero-content{
    width:100%;
    max-width:900px;
    margin:0 auto;
    padding-top:46px;
  }
  .ag-hero-title{font-size:46px;}
  .ag-hero-desc{font-size:24px;margin-top:34px;}
  .ag-career-box{
    width:max-content;
    max-width:100%;
    margin:54px auto 0;
    padding-left:0;
    text-align:left;
  }
  .ag-hero-visual{
    position:relative;
    right:auto;
    bottom:auto;
    width:520px;
    max-width:82vw;
    height:auto;
    margin:30px auto 0;
  }
}

@media (max-width:768px){
  .ag-main-inner{padding:82px 18px 0;}
  .ag-hero-content{padding-top:28px;}
  .ag-hero-title{font-size:34px;line-height:1.25;}
  .ag-hero-desc{display:block;margin-top:28px;font-size:20px;}
  .ag-hero-desc strong::before{top:-25px;font-size:25px;}
  .ag-career-box{margin-top:38px;}
  .ag-career-box > strong{min-height:32px;padding:0 20px;font-size:16px;}
  .ag-career-box ul{margin-top:14px;padding-left:19px;}
  .ag-career-box li{font-size:14px;line-height:1.42;}
  .ag-hero-visual{width:360px;max-width:92vw;margin-top:16px;}
}

@media (max-width:420px){
  .ag-hero-title{font-size:29px;}
  .ag-hero-desc{font-size:18px;}
  .ag-career-box li{font-size:13px;}
}

/* =========================
   AGAIN DEBT GUIDE SECTION
========================= */
.ag-different-sec.ag-debt-sec{
  position:relative;
  overflow:hidden;
  padding:150px 20px 118px;
  min-height:965px;
  background:#2b0d3a url('../img/main/02_bg.jpg') center top / cover no-repeat;
  color:#fff;
}


.ag-debt-inner{
  position:relative;
  z-index:2;
  width:100%;
  max-width:1280px;
  margin:0 auto;
  text-align:center;
  letter-spacing:-0.055em;
  word-break:keep-all;
}

.ag-debt-head h2{
  margin:0;
  color:#fff;
  font-size:58px;
  line-height:1.22;
  font-weight:700;
  letter-spacing:-0.065em;
}

.ag-debt-head h2 span{
  color:#6defff;
  font-weight:700;
}

.ag-debt-head p{
  margin:52px 0 0;
  color:rgba(255,255,255,.94);
  font-size:24px;
  line-height:1.62;
  font-weight:400;
  letter-spacing:-0.045em;
}

.ag-debt-head p strong{
  color:#6defff;
  font-weight:700;
}

.ag-debt-banner{
  width:100%;
  max-width:1100px;
  margin:112px auto 0;
}

.ag-debt-banner img{
  display:block;
  width:100%;
  height:auto;
  border:0;
}

.ag-debt-bottom{
  width:100%;
  max-width:1100px;
  margin:50px auto 0;
  color:#fff;
  font-size:28px;
  line-height:1.5;
  letter-spacing:-0.055em;
  text-align:center;
}

@media (max-width:1400px){
  .ag-different-sec.ag-debt-sec{padding-top:125px;min-height:880px;}
  .ag-debt-inner{max-width:1120px;}
  .ag-debt-head h2{font-size:50px;}
  .ag-debt-head p{margin-top:38px;font-size:21px;}
  .ag-debt-banner{max-width:940px;margin-top:78px;}
  .ag-debt-bottom{max-width:940px;margin-top:54px;font-size:24px;}
}

@media (max-width:1024px){
  .ag-different-sec.ag-debt-sec{min-height:auto;padding:92px 24px 86px;background-position:center top;}
  .ag-debt-head h2{font-size:42px;}
  .ag-debt-head p{margin-top:28px;font-size:18px;line-height:1.6;}
  .ag-debt-banner{margin-top:54px;}
  .ag-debt-bottom{margin-top:40px;font-size:22px;text-align:center;}
}

@media (max-width:768px){
  .ag-different-sec.ag-debt-sec{padding:72px 18px 68px;background-position:center top;}
  .ag-debt-head h2{font-size:32px;line-height:1.28;}
  .ag-debt-head p{margin-top:22px;font-size:16px;}
  .ag-debt-head p br{display:none;}
  .ag-debt-banner{margin-top:38px;}
  .ag-debt-bottom{margin-top:30px;font-size:19px;line-height:1.45;}
}

@media (max-width:480px){
  .ag-different-sec.ag-debt-sec{padding:58px 14px 56px;}
  .ag-debt-head h2{font-size:27px;}
  .ag-debt-head p{font-size:14px;line-height:1.55;}
  .ag-debt-banner{margin-top:30px;}
  .ag-debt-bottom{margin-top:24px;font-size:16px;}
}



/* =========================
   AGAIN RESULT SPLIT SECTION
========================= */
.ag-result-sec{
  position:relative;
  overflow:hidden;
  display:flex;
  min-height:965px;
  color:#fff;
  letter-spacing:-0.06em;
  word-break:keep-all;
}

.ag-result-half{
  position:relative;
  width:50%;
  min-height:965px;
  background-repeat:no-repeat;
  background-position:center center;
  background-size:cover;
}

.ag-result-left{background-image:url('../img/main/03_bg1.jpg');}
.ag-result-right{background-image:url('../img/main/03_bg2.jpg');}

.ag-result-content{
  position:relative;
  z-index:2;
  width:100%;
  max-width:760px;
  margin:0 auto;
  text-align:center;
}

.ag-result-left-content{padding:126px 20px 0;}
.ag-result-right-content{padding:124px 20px 0;}

.ag-result-left-title,
.ag-result-right-title{
  margin:0;
  font-size:50px;
  line-height:1.34;
  font-weight:700;
  letter-spacing:-0.07em;
}

.ag-result-left-title{color:#fff;}
.ag-result-left-title strong{color:#f2f209;font-weight:700;}

.ag-result-right-title{color:#33383d;}
.ag-result-right-title strong{color:#6820a7;font-weight:700;}

.ag-result-point-list{
  width:max-content;
  max-width:100%;
  margin:96px auto 0;
  padding:0;
  list-style:none;
  text-align:left;
}

.ag-result-point-list li{
  display:flex;
  align-items:center;
  gap:22px;
  margin:22px 0;
  color:#fff;
  font-size:34px;
  line-height:1.25;
  font-weight:400;
}

.ag-result-point-list img,
.ag-result-question-list img{
  display:block;
  width:80px;
  height:80px;
  flex:0 0 80px;
  object-fit:contain;
}

.ag-result-point-list b,
.ag-result-question-list b{font-weight:700;}

.ag-result-left-bottom{
  margin:130px 0 0;
  color:#fff;
  font-size:36px;
  line-height:1.48;
  font-weight:700;
  letter-spacing:-0.07em;
}

.ag-result-left-bottom strong{
  color:#f2f209;
  font-weight:700;
}

.ag-result-arrow{
  position:absolute;
  z-index:5;
  left:50%;
  top:50%;
  width:250px;
  height:230px;
  margin:-30px 0 0;
  transform:translate(-50%, -50%);
  animation:agArrowFloat 2.6s ease-in-out infinite;
  filter:drop-shadow(0 20px 22px rgba(55,0,80,.26));
  pointer-events:none;
}

.ag-result-arrow img{
  display:block;
  width:100%;
  height:auto;
}

@keyframes agArrowFloat{
  0%,100%{transform:translate(-50%, -50%) translateX(-10px) scale(1);filter:drop-shadow(0 18px 18px rgba(55,0,80,.22));}
  45%{transform:translate(-50%, -50%) translateX(12px) scale(1.045);filter:drop-shadow(0 26px 28px rgba(55,0,80,.36));}
  70%{transform:translate(-50%, -50%) translateX(3px) scale(.995);}
}

.ag-result-question-list{
  width:100%;
  max-width:590px;
  margin:74px auto 0;
  padding:0;
  list-style:none;
}

.ag-result-question-list li{
  position:relative;
  display:flex;
  align-items:center;
  min-height:90px;
  margin:28px 0;
  padding:5px 42px 5px 72px;
  border-radius:24px;
  background:rgba(255,255,255,.78);
  box-shadow:0 8px 24px rgba(70,88,105,.14);
  color:#33383d;
  font-size:24px;
  line-height:1.35;
  font-weight:600;
  text-align:left;
}

.ag-result-question-list li:nth-child(1),
.ag-result-question-list li:nth-child(3){margin-left:0;margin-right:46px;}
.ag-result-question-list li:nth-child(2){margin-left:64px;margin-right:0;}

.ag-result-question-list li:after{
  content:"";
  position:absolute;
  left:42px;
  bottom:-25px;
  width:0;
  height:0;
  border-style:solid;
  border-width:26px 20px 0 0;
  border-color:rgba(255,255,255,.78) transparent transparent transparent;
}

.ag-result-question-list li:nth-child(2):after{
  left:auto;
  right:42px;
  border-width:26px 0 0 20px;
  border-color:rgba(255,255,255,.78) transparent transparent transparent;
}

.ag-result-question-list img{
  margin-right:22px;
}

.ag-result-question-list b{
  color:#6820a7;
}

.ag-result-right-bottom{
  margin:76px 0 0;
  color:#33383d;
  font-size:34px;
  line-height:1.5;
  font-weight:400;
  letter-spacing:-0.065em;
}

.ag-result-right-bottom strong{
  color:#6820a7;
  font-weight:700;
}

.ag-result-right-bottom b{
  display:block;
  margin-top:16px;
  color:#33383d;
  font-size:40px;
  line-height:1.25;
  font-weight:700;
}

@media (max-width:1500px){
  .ag-result-sec,
  .ag-result-half{min-height:850px;}
  .ag-result-left-content,
  .ag-result-right-content{padding-top:100px;}
  .ag-result-left-title,
  .ag-result-right-title{font-size:42px;}
  .ag-result-point-list{margin-top:70px;}
  .ag-result-point-list li{font-size:28px;margin:16px 0;}
  .ag-result-point-list img,
  .ag-result-question-list img{width:64px;height:64px;flex-basis:64px;}
  .ag-result-left-bottom{margin-top:90px;font-size:30px;}
  .ag-result-question-list{max-width:520px;margin-top:54px;}
  .ag-result-question-list li{min-height:76px;padding-left:52px;padding-right:32px;font-size:21px;}
  .ag-result-question-list img{margin-right:18px;}
  .ag-result-right-bottom{margin-top:58px;font-size:28px;}
  .ag-result-right-bottom b{font-size:34px;}
  .ag-result-arrow{width:210px;height:193px;}
}

@media (max-width:1100px){
  .ag-result-sec{display:block;min-height:0;}
  .ag-result-half{width:100%;min-height:auto;}
  .ag-result-left-content,
  .ag-result-right-content{padding:82px 22px;}
  .ag-result-arrow{
    top:50%;
    width:150px;
    height:138px;
    margin:0;
    transform:translate(-50%, -50%) rotate(90deg);
    animation:agArrowFloatMo 2.6s ease-in-out infinite;
  }
  @keyframes agArrowFloatMo{
    0%,100%{transform:translate(-50%, -50%) translateY(-8px) rotate(90deg) scale(1);}
    50%{transform:translate(-50%, -50%) translateY(10px) rotate(90deg) scale(1.04);}
  }
}

@media (max-width:768px){
  .ag-result-left-content,
  .ag-result-right-content{padding:64px 18px;}
  .ag-result-left-title,
  .ag-result-right-title{font-size:31px;line-height:1.36;}
  .ag-result-point-list{margin-top:46px;}
  .ag-result-point-list li{gap:14px;margin:14px 0;font-size:22px;}
  .ag-result-point-list img,
  .ag-result-question-list img{width:50px;height:50px;flex-basis:50px;}
  .ag-result-left-bottom{margin-top:58px;font-size:24px;}
  .ag-result-question-list{margin-top:40px;}
  .ag-result-question-list li,
  .ag-result-question-list li:nth-child(1),
  .ag-result-question-list li:nth-child(2),
  .ag-result-question-list li:nth-child(3){
    min-height:70px;
    margin:18px 0;
    padding:8px 18px;
    border-radius:18px;
    font-size:17px;
  }
  .ag-result-question-list li:after{display:none;}
  .ag-result-question-list img{margin-right:12px;}
  .ag-result-right-bottom{margin-top:40px;font-size:22px;}
  .ag-result-right-bottom b{margin-top:10px;font-size:26px;}
  .ag-result-arrow{width:112px;height:103px;}
}

@media (max-width:480px){
  .ag-result-left-content,
  .ag-result-right-content{padding:52px 14px;}
  .ag-result-left-title,
  .ag-result-right-title{font-size:25px;}
  .ag-result-point-list li{font-size:19px;}
  .ag-result-left-bottom{font-size:21px;}
  .ag-result-question-list li{font-size:15px;}
  .ag-result-right-bottom{font-size:19px;}
  .ag-result-right-bottom b{font-size:23px;}
}

/* =========================
   AGAIN CHECKLIST SECTION
========================= */
.ag-checklist-sec {
  position:relative;
  overflow:hidden;
  padding:115px 20px 105px;
  background:#f4f4f4;
}

.ag-checklist-inner {
  width:100%;
  max-width:1200px;
  margin:0 auto;
  text-align:center;
}

.ag-checklist-head {
  margin-bottom:66px;
}

.ag-checklist-head h2 {
  margin:0;
  color:#0d263b;
  font-size:52px;
  line-height:1.3;
  font-weight:700;
  letter-spacing:-0.065em;
  word-break:keep-all;
}

.ag-checklist-head h2 strong {
  color:#0876d9;
  font-weight:700;
}

.ag-checklist-box {
  width:100%;
  max-width:760px;
  margin:0 auto;
}

.ag-checklist-label {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:320px;
  height:52px;
  padding:0 34px;
  margin-bottom:32px;
  border-radius:999px;
  background:#075aa4;
  color:#fff;
  font-size:26px;
  line-height:1;
  font-weight:700;
  letter-spacing:-0.055em;
  box-shadow:0 8px 18px rgba(0,49,106,.13);
}

.ag-checklist-list {
  width:100%;
  max-width:690px;
  margin:0 auto;
  padding:0;
  list-style:none;
  text-align:left;
}

.ag-checklist-list li {
  position:relative;
  min-height:36px;
  padding-left:44px;
  margin-bottom:14px;
  color:#4f4f4f;
  font-size:22px;
  line-height:1.45;
  font-weight:400;
  letter-spacing:-0.055em;
  word-break:keep-all;
}

.ag-checklist-list li::before {
  content:"";
  position:absolute;
  left:0;
  top:3px;
  width:31px;
  height:31px;
  border-radius:5px;
  background:#075aa4;
  box-shadow:inset 0 -2px 0 rgba(0,0,0,.12);
}

.ag-checklist-list li::after {
  content:"";
  position:absolute;
  left:8px;
  top:11px;
  width:14px;
  height:8px;
  border-left:4px solid #fff;
  border-bottom:4px solid #fff;
  transform:rotate(-45deg);
}

.ag-checklist-list li strong {
  color:#222;
  font-weight:700;
}

.ag-checklist-list li span {
  color:#666;
  font-weight:400;
}

.ag-checklist-arrow {
  width:111px;
  height:124px;
  margin:30px auto 18px;
}

.ag-checklist-arrow img {
  display:block;
  width:100%;
  height:auto;
}

.ag-checklist-text {
  margin:0 0 26px;
  color:#263746;
  font-size:29px;
  line-height:1.35;
  font-weight:400;
  letter-spacing:-0.055em;
}

.ag-checklist-btn {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:476px;
  max-width:100%;
  height:75px;
  padding:0 34px;
  background:url('../img/main/03_button.png') center center / 100% 100% no-repeat;
  color:#fff !important;
  font-size:29px;
  line-height:1;
  font-weight:700;
  letter-spacing:-0.06em;
  text-decoration:none;
  text-shadow:0 3px 6px rgba(0,0,0,.28);
  transition:transform .25s ease, filter .25s ease;
  border-radius:25px;
}

.ag-checklist-btn:hover {
  transform:translateY(-2px);
  filter:brightness(1.05);
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:1024px) {
  .ag-checklist-sec {
    padding:95px 20px 90px;
  }

  .ag-checklist-head h2 {
    font-size:38px;
  }

  .ag-checklist-label {
    font-size:23px;
  }

  .ag-checklist-list li {
    font-size:20px;
  }
}

@media (max-width:768px) {
  .ag-checklist-sec {
    padding:72px 18px 75px;
  }

  .ag-checklist-head {
    margin-bottom:42px;
  }

  .ag-checklist-head h2 {
    font-size:31px;
    line-height:1.35;
  }

  .ag-checklist-box {
    max-width:560px;
  }

  .ag-checklist-label {
    min-width:auto;
    height:46px;
    padding:0 28px;
    margin-bottom:26px;
    font-size:21px;
  }

  .ag-checklist-list {
    max-width:520px;
  }

  .ag-checklist-list li {
    min-height:30px;
    padding-left:38px;
    margin-bottom:13px;
    font-size:18px;
    line-height:1.45;
  }

  .ag-checklist-list li::before {
    top:2px;
    width:28px;
    height:28px;
    border-radius:5px;
  }

  .ag-checklist-list li::after {
    left:7px;
    top:10px;
    width:13px;
    height:7px;
    border-left-width:4px;
    border-bottom-width:4px;
  }

  .ag-checklist-arrow {
    width:82px;
    height:auto;
    margin:24px auto 14px;
  }

  .ag-checklist-text {
    margin-bottom:20px;
    font-size:23px;
  }

  .ag-checklist-btn {
    width:360px;
    height:57px;
    font-size:22px;
  }
}

@media (max-width:480px) {
  .ag-checklist-sec {
    padding:60px 14px 65px;
  }

  .ag-checklist-head h2 {
    font-size:27px;
  }

  .ag-checklist-label {
    height:42px;
    padding:0 22px;
    font-size:18px;
  }

  .ag-checklist-list li {
    padding-left:34px;
    font-size:16px;
  }

  .ag-checklist-list li::before {
    width:25px;
    height:25px;
  }

  .ag-checklist-list li::after {
    left:6px;
    top:9px;
    width:12px;
    height:7px;
    border-left-width:3px;
    border-bottom-width:3px;
  }

  .ag-checklist-arrow {
    width:70px;
    margin-top:20px;
  }

  .ag-checklist-text {
    font-size:20px;
  }

  .ag-checklist-btn {
    width:320px;
    height:51px;
    font-size:19px;
  }
}



/* =========================
   AGAIN SELF DIAGNOSIS SECTION
   좌측 안내카드와 우측 자가진단폼 class 충돌 방지 버전
========================= */
#ag_self_diagnosis.ag-self-sec {
  position:relative;
  overflow:hidden;
  min-height:850px;
  padding:135px 20px 120px;
  background:#243748 url('../img/main/04_bg.jpg') center center / cover no-repeat;
  color:#fff;
}

#ag_self_diagnosis .ag-self-inner {
  position:relative;
  z-index:2;
  width:100%;
  max-width:1480px;
  min-height:590px;
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:80px;
}

#ag_self_diagnosis .ag-self-left {
  flex:1 1 auto;
  max-width:620px;
  text-align:left;
}

#ag_self_diagnosis .ag-self-label {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:36px;
  padding:0 24px;
  margin-bottom:20px;
  border-radius:999px;
  background:rgba(0,0,0,.78);
  color:#fff;
  font-size:18px;
  line-height:1;
  font-weight:700;
  letter-spacing:-0.055em;
}

#ag_self_diagnosis .ag-self-left h2 {
  margin:0;
  color:#fff;
  font-size:54px;
  line-height:1.28;
  font-weight:700;
  letter-spacing:-0.075em;
  word-break:keep-all;
  text-shadow:0 8px 22px rgba(0,0,0,.22);
}

/* 좌측 안내카드 - self_counsel.css의 .ag-self-card와 충돌하지 않도록 별도 이름 사용 */
#ag_self_diagnosis .ag-self-feature-list {
  width:100%;
  margin-top:56px;
  display:flex;
  flex-direction:column;
  gap:12px;
}

#ag_self_diagnosis .ag-self-feature-card {
  width:100%;
  min-height:100px;
  padding:20px 34px;
  display:flex;
  align-items:center;
  gap:24px;
  border-radius:18px;
  background:#fff;
  color:#111;
  box-shadow:0 12px 30px rgba(0,0,0,.12);
  box-sizing:border-box;
}

#ag_self_diagnosis .ag-self-feature-icon {
  flex:0 0 70px;
  width:70px;
  height:70px;
}

#ag_self_diagnosis .ag-self-feature-icon img {
  display:block;
  width:70px;
  height:70px;
  object-fit:contain;
}

#ag_self_diagnosis .ag-self-feature-text {
  flex:1 1 auto;
  min-width:0;
}

#ag_self_diagnosis .ag-self-feature-text h3 {
  margin:0 0 7px;
  color:#111;
  font-size:20px;
  line-height:1.25;
  font-weight:700;
  letter-spacing:-0.055em;
}

#ag_self_diagnosis .ag-self-feature-text p {
  margin:0;
  color:#222;
  font-size:18px;
  line-height:1.45;
  font-weight:400;
  letter-spacing:-0.055em;
  word-break:keep-all;
}

/* 우측 자가진단폼 영역 */
#ag_self_diagnosis .ag-self-right {
  flex:0 0 520px;
  width:520px;
  max-width:100%;
}

#ag_self_diagnosis .ag-self-right > * {
  max-width:100%;
}

/* self_counsel.php 안쪽 폼 기본 크기 보정 */
#ag_self_diagnosis .ag-self-right .ag-self-card {
  width:100%;
  max-width:500px;
  margin:0 auto;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:1200px) {
  #ag_self_diagnosis.ag-self-sec {
    padding:110px 24px 105px;
  }

  #ag_self_diagnosis .ag-self-inner {
    gap:48px;
  }

  #ag_self_diagnosis .ag-self-left h2 {
    font-size:46px;
  }

  #ag_self_diagnosis .ag-self-right {
    flex-basis:470px;
    width:470px;
  }
}

@media (max-width:1024px) {
  #ag_self_diagnosis.ag-self-sec {
    min-height:auto;
    padding:90px 20px;
  }

  #ag_self_diagnosis .ag-self-inner {
    min-height:auto;
    flex-direction:column;
    align-items:center;
    gap:54px;
    text-align:center;
  }

  #ag_self_diagnosis .ag-self-left {
    max-width:720px;
    text-align:center;
  }

  #ag_self_diagnosis .ag-self-feature-list {
    margin-top:40px;
  }

  #ag_self_diagnosis .ag-self-feature-card {
    text-align:left;
  }

  #ag_self_diagnosis .ag-self-right {
    flex:0 0 auto;
    width:520px;
  }
}

@media (max-width:768px) {
  #ag_self_diagnosis.ag-self-sec {
    padding:72px 18px 78px;
    background-position:center center;
  }

  #ag_self_diagnosis.ag-self-sec::before {
    background:rgba(17,34,50,.66);
  }

  #ag_self_diagnosis .ag-self-inner {
    gap:42px;
  }

  #ag_self_diagnosis .ag-self-label {
    height:32px;
    padding:0 18px;
    margin-bottom:16px;
    font-size:15px;
  }

  #ag_self_diagnosis .ag-self-left h2 {
    font-size:36px;
    line-height:1.3;
  }

  #ag_self_diagnosis .ag-self-feature-list {
    gap:10px;
    margin-top:34px;
  }

  #ag_self_diagnosis .ag-self-feature-card {
    min-height:84px;
    padding:16px 18px;
    gap:16px;
    border-radius:14px;
  }

  #ag_self_diagnosis .ag-self-feature-icon {
    flex-basis:56px;
    width:56px;
    height:56px;
  }

  #ag_self_diagnosis .ag-self-feature-icon img {
    width:56px;
    height:56px;
  }

  #ag_self_diagnosis .ag-self-feature-text h3 {
    margin-bottom:4px;
    font-size:17px;
  }

  #ag_self_diagnosis .ag-self-feature-text p {
    font-size:15px;
  }

  #ag_self_diagnosis .ag-self-right {
    width:100%;
    max-width:520px;
  }

  #ag_self_diagnosis .ag-self-right .ag-self-card {
    max-width:100%;
  }
}

@media (max-width:480px) {
  #ag_self_diagnosis.ag-self-sec {
    padding:62px 14px 68px;
  }

  #ag_self_diagnosis .ag-self-left h2 {
    font-size:31px;
  }

  #ag_self_diagnosis .ag-self-feature-card {
    padding:15px 15px;
  }

  #ag_self_diagnosis .ag-self-feature-icon {
    flex-basis:50px;
    width:50px;
    height:50px;
  }

  #ag_self_diagnosis .ag-self-feature-icon img {
    width:50px;
    height:50px;
  }

  #ag_self_diagnosis .ag-self-feature-text h3 {
    font-size:16px;
  }

  #ag_self_diagnosis .ag-self-feature-text p {
    font-size:14px;
  }
}


/* =========================
   AGAIN DASHBOARD SECTION - 05
========================= */
#ag_process.ag-dashboard-sec{
  position:relative;
  overflow:hidden;
  padding:92px 20px 105px;
  background:#071b2e url('../img/main/05_bg.jpg') center center / cover no-repeat;
  color:#222;
}

#ag_process.ag-dashboard-sec::before{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(4,22,43,.52);
  pointer-events:none;
}

#ag_process .ag-dashboard-inner{
  position:relative;
  z-index:2;
  width:100%;
  max-width:1440px;
  margin:0 auto;
  letter-spacing:-0.055em;
  word-break:keep-all;
}

#ag_process .ag-dashboard-summary{
  min-height:310px;
  padding:58px 58px 54px;
  border-radius:8px;
  background:#fff;
  display:grid;
  grid-template-columns:minmax(0, 1fr) 540px;
  gap:52px;
  align-items:center;
  box-shadow:0 20px 50px rgba(0,0,0,.18);
  box-sizing:border-box;
}

#ag_process .ag-dashboard-total p{
  margin:0 0 22px;
  color:#222;
  font-size:30px;
  line-height:1.25;
  font-weight:500;
}

#ag_process .ag-dashboard-total strong{
  display:block;
  color:#6820a7;
  font-size:69px;
  line-height:1;
  font-weight:700;
  letter-spacing:-0.075em;
  white-space:nowrap;
}

#ag_process .ag-dashboard-total small{
  display:inline-block;
  margin-left:8px;
  color:#6820a7;
  font-size:.42em;
  line-height:1;
  font-weight:700;
  vertical-align:baseline;
}

#ag_process .ag-dashboard-stats{
  margin:0;
  padding:0;
  list-style:none;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:34px 38px;
}

#ag_process .ag-dashboard-stats li{
  display:flex;
  align-items:center;
  min-width:0;
  gap:18px;
}

#ag_process .ag-dashboard-stats img{
  flex:0 0 65px;
  width:65px;
  height:64px;
  object-fit:contain;
}

#ag_process .ag-dashboard-stats p{
  margin:0 0 6px;
  color:#222;
  font-size:17px;
  line-height:1.25;
  font-weight:500;
}

#ag_process .ag-dashboard-stats strong{
  display:block;
  color:#6820a7;
  font-size:42px;
  line-height:1;
  font-weight:700;
  letter-spacing:-0.055em;
  white-space:nowrap;
}

#ag_process .ag-dashboard-stats small{
  margin-left:4px;
  color:#6820a7;
  font-size:.5em;
  font-weight:700;
}

#ag_process .ag-dashboard-grid{
  margin-top:40px;
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:40px;
}

#ag_process .ag-dashboard-card{
  min-height:466px;
  padding:34px 42px 38px;
  border-radius:8px;
  background:#fff;
  box-shadow:0 20px 50px rgba(0,0,0,.18);
  box-sizing:border-box;
}

#ag_process .ag-dashboard-card h2{
  margin:0 0 26px;
  display:flex;
  align-items:center;
  gap:12px;
  color:#111;
  font-size:23px;
  line-height:1.25;
  font-weight:700;
  letter-spacing:-0.055em;
}

#ag_process .ag-dashboard-card h2 img{
  flex:0 0 35px;
  width:35px;
  height:35px;
  object-fit:contain;
}

#ag_process .ag-live-table-wrap{
  width:100%;
  overflow:hidden;
}

#ag_process .ag-live-table{
  width:100%;
  border-collapse:collapse;
  table-layout:fixed;
}

#ag_process .ag-live-table th,
#ag_process .ag-live-table td{
  height:58px;
  padding:0 8px;
  border-top:1px solid #ddd;
  color:#555;
  font-size:17px;
  line-height:1.25;
  font-weight:500;
  text-align:center;
  vertical-align:middle;
  box-sizing:border-box;
}

#ag_process .ag-live-table th{
  height:58px;
  color:#111;
  background:#f6f6f6;
  font-weight:700;
}

#ag_process .ag-live-table th:nth-child(1),
#ag_process .ag-live-table td:nth-child(1){width:18%;}
#ag_process .ag-live-table th:nth-child(2),
#ag_process .ag-live-table td:nth-child(2){width:20%;}
#ag_process .ag-live-table th:nth-child(3),
#ag_process .ag-live-table td:nth-child(3){width:24%;}
#ag_process .ag-live-table th:nth-child(4),
#ag_process .ag-live-table td:nth-child(4){width:20%;}
#ag_process .ag-live-table th:nth-child(5),
#ag_process .ag-live-table td:nth-child(5){width:18%;}

#ag_process .ag-live-body-viewport{
  height:290px;
  overflow:hidden;
}

#ag_process .ag-status{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:88px;
  height:30px;
  padding:0 14px;
  border-radius:999px;
  color:#fff;
  font-size:15px;
  line-height:1;
  font-weight:700;
  white-space:nowrap;
  box-sizing:border-box;
}

#ag_process .ag-status-blue{background:#168df0;}
#ag_process .ag-status-orange{background:#ff9d00;}
#ag_process .ag-status-red{background:#ff4048;}

#ag_process .ag-chart-box{
  position:relative;
  width:100%;
  height:330px;
  margin-top:30px;
}

#ag_process .ag-chart-box canvas{
  display:block;
  width:100% !important;
  height:100% !important;
}

@media (max-width:1400px){
  #ag_process.ag-dashboard-sec{padding:82px 20px 92px;}
  #ag_process .ag-dashboard-inner{max-width:1180px;}
  #ag_process .ag-dashboard-summary{grid-template-columns:minmax(0, 1fr) 470px;padding:48px;gap:36px;}
  #ag_process .ag-dashboard-total strong{font-size:56px;}
  #ag_process .ag-dashboard-stats{gap:28px 24px;}
  #ag_process .ag-dashboard-stats strong{font-size:34px;}
  #ag_process .ag-dashboard-card{padding:30px 30px 34px;}
  #ag_process .ag-live-table th,
  #ag_process .ag-live-table td{font-size:15px;}
  #ag_process .ag-status{min-width:78px;font-size:13px;}
}

@media (max-width:1024px){
  #ag_process.ag-dashboard-sec{padding:72px 20px 78px;background-position:center center;}
  #ag_process .ag-dashboard-summary{display:block;padding:40px 32px;}
  #ag_process .ag-dashboard-total{text-align:center;}
  #ag_process .ag-dashboard-total p{font-size:25px;}
  #ag_process .ag-dashboard-total strong{font-size:46px;}
  #ag_process .ag-dashboard-stats{max-width:560px;margin:38px auto 0;}
  #ag_process .ag-dashboard-grid{grid-template-columns:1fr;gap:28px;max-width:720px;margin:32px auto 0;}
  #ag_process .ag-dashboard-card{min-height:auto;}
  #ag_process .ag-chart-box{height:300px;}
}

@media (max-width:768px){
  #ag_process.ag-dashboard-sec{padding:58px 18px 66px;}
  #ag_process .ag-dashboard-summary{padding:34px 20px 32px;border-radius:8px;}
  #ag_process .ag-dashboard-total p{margin-bottom:14px;font-size:21px;}
  #ag_process .ag-dashboard-total strong{font-size:34px;white-space:normal;}
  #ag_process .ag-dashboard-total small{font-size:.48em;}
  #ag_process .ag-dashboard-stats{grid-template-columns:1fr 1fr;gap:22px 14px;margin-top:30px;}
  #ag_process .ag-dashboard-stats li{display:block;text-align:center;}
  #ag_process .ag-dashboard-stats img{width:52px;height:51px;margin:0 auto 10px;}
  #ag_process .ag-dashboard-stats p{font-size:13px;}
  #ag_process .ag-dashboard-stats strong{font-size:27px;}
  #ag_process .ag-dashboard-card{padding:26px 16px 28px;}
  #ag_process .ag-dashboard-card h2{margin-bottom:20px;font-size:19px;}
  #ag_process .ag-dashboard-card h2 img{width:30px;height:30px;flex-basis:30px;}
  #ag_process .ag-live-table th,
  #ag_process .ag-live-table td{height:48px;padding:0 4px;font-size:12px;letter-spacing:-0.06em;}
  #ag_process .ag-live-body-viewport{height:240px;}
  #ag_process .ag-status{min-width:58px;height:24px;padding:0 8px;font-size:11px;}
  #ag_process .ag-chart-box{height:250px;margin-top:20px;}
}

@media (max-width:480px){
  #ag_process.ag-dashboard-sec{padding:50px 14px 58px;}
  #ag_process .ag-dashboard-summary{padding:28px 14px;}
  #ag_process .ag-dashboard-total strong{font-size:27px;}
  #ag_process .ag-dashboard-stats{gap:18px 10px;}
  #ag_process .ag-dashboard-stats strong{font-size:23px;}
  #ag_process .ag-dashboard-card{padding:22px 10px 24px;}
  #ag_process .ag-live-table th,
  #ag_process .ag-live-table td{font-size:10px;}
  #ag_process .ag-live-table th:nth-child(4),
  #ag_process .ag-live-table td:nth-child(4){display:none;}
  #ag_process .ag-live-table th:nth-child(1),
  #ag_process .ag-live-table td:nth-child(1){width:22%;}
  #ag_process .ag-live-table th:nth-child(2),
  #ag_process .ag-live-table td:nth-child(2){width:24%;}
  #ag_process .ag-live-table th:nth-child(3),
  #ag_process .ag-live-table td:nth-child(3){width:34%;}
  #ag_process .ag-live-table th:nth-child(5),
  #ag_process .ag-live-table td:nth-child(5){width:20%;}
  #ag_process .ag-status{min-width:52px;font-size:10px;}
  #ag_process .ag-chart-box{height:220px;}
}



/* =========================
   AGAIN SUCCESS FLOW SECTION
========================= */
#ag_success_case.ag-success-flow-sec{
  position:relative;
  overflow:hidden;
  padding:130px 0 118px;
  background:#fff;
  color:#222;
}

#ag_success_case .ag-success-flow-inner{
  width:100%;
  margin:0 auto;
  text-align:center;
  letter-spacing:-0.06em;
  word-break:keep-all;
}

#ag_success_case .ag-success-flow-head{
  max-width:1200px;
  margin:0 auto 95px;
  padding:0 20px;
}

#ag_success_case .ag-success-flow-head h2{
  margin:0;
  color:#2d2d2d;
  font-size:58px;
  line-height:1.25;
  font-weight:700;
  letter-spacing:-0.07em;
}

#ag_success_case .ag-success-flow-head h2 span{
  color:#6820a7;
  font-weight:700;
}

#ag_success_case .ag-success-flow-head p{
  margin:26px 0 0;
  color:#333;
  font-size:22px;
  line-height:1.45;
  font-weight:400;
  letter-spacing:-0.055em;
}

#ag_success_case .ag-success-marquee{
  position:relative;
  width:100%;
  overflow:hidden;
}

#ag_success_case .ag-success-marquee::before,
#ag_success_case .ag-success-marquee::after{
  content:"";
  position:absolute;
  top:0;
  z-index:3;
  width:180px;
  height:100%;
  pointer-events:none;
}

#ag_success_case .ag-success-marquee::before{
  left:0;
  background:linear-gradient(90deg, #fff 0%, rgba(255,255,255,0) 100%);
}

#ag_success_case .ag-success-marquee::after{
  right:0;
  background:linear-gradient(270deg, #fff 0%, rgba(255,255,255,0) 100%);
}

#ag_success_case .ag-success-track{
  display:flex;
  width:max-content;
  animation:agSuccessFlow 38s linear infinite;
  will-change:transform;
}

#ag_success_case .ag-success-marquee:hover .ag-success-track{
  animation-play-state:paused;
}

#ag_success_case .ag-success-group{
  display:flex;
  align-items:stretch;
  gap:38px;
  padding-right:38px;
}

#ag_success_case .ag-success-item{
  flex:0 0 450px;
  width:450px;
  border-radius:10px;
  overflow:hidden;
  background:#fff;
}

#ag_success_case .ag-success-item img{
  display:block;
  width:100%;
  height:auto;
  border:0;
}

@keyframes agSuccessFlow{
  0%{transform:translateX(0);}
  100%{transform:translateX(-50%);}
}

@media (max-width:1400px){
  #ag_success_case.ag-success-flow-sec{padding:110px 0 100px;}
  #ag_success_case .ag-success-flow-head{margin-bottom:72px;}
  #ag_success_case .ag-success-flow-head h2{font-size:48px;}
  #ag_success_case .ag-success-flow-head p{font-size:19px;}
  #ag_success_case .ag-success-group{gap:28px;padding-right:28px;}
  #ag_success_case .ag-success-item{flex-basis:390px;width:390px;}
}

@media (max-width:768px){
  #ag_success_case.ag-success-flow-sec{padding:74px 0 76px;}
  #ag_success_case .ag-success-flow-head{margin-bottom:42px;padding:0 18px;}
  #ag_success_case .ag-success-flow-head h2{font-size:34px;line-height:1.32;}
  #ag_success_case .ag-success-flow-head p{margin-top:16px;font-size:15px;line-height:1.5;}
  #ag_success_case .ag-success-marquee::before,
  #ag_success_case .ag-success-marquee::after{width:40px;}
  #ag_success_case .ag-success-track{animation-duration:30s;}
  #ag_success_case .ag-success-group{gap:18px;padding-right:18px;}
  #ag_success_case .ag-success-item{flex-basis:300px;width:300px;border-radius:8px;}
}

@media (max-width:420px){
  #ag_success_case.ag-success-flow-sec{padding:62px 0 66px;}
  #ag_success_case .ag-success-flow-head h2{font-size:29px;}
  #ag_success_case .ag-success-item{flex-basis:270px;width:270px;}
}

/* =========================
   AGAIN CONFIDENCE CARD SECTION - 06
========================= */
#ag_confidence.ag-confidence-sec{
  position:relative;
  overflow:hidden;
  padding:128px 20px 142px;
  background:#efe7ff url('../img/main/06_bg.jpg') center center / cover no-repeat;
  color:#303030;
}

#ag_confidence .ag-confidence-inner{
  width:100%;
  max-width:1480px;
  margin:0 auto;
  letter-spacing:-0.06em;
  word-break:keep-all;
}

#ag_confidence .ag-confidence-head{
  margin:0 0 86px;
  text-align:center;
}

#ag_confidence .ag-confidence-head h2{
  margin:0;
  color:#303030;
  font-size:58px;
  line-height:1.24;
  font-weight:700;
  letter-spacing:-0.075em;
}

#ag_confidence .ag-confidence-head h2 span{
  color:#6820a7;
  font-weight:700;
}

#ag_confidence .ag-confidence-head p{
  margin:20px 0 0;
  color:#333;
  font-size:20px;
  line-height:1.45;
  font-weight:400;
  letter-spacing:-0.055em;
}

#ag_confidence .ag-confidence-grid{
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
  gap:26px 30px;
}

#ag_confidence .ag-confidence-card{
  min-height:260px;
  padding:34px 30px 30px;
  border:1px solid rgba(98,75,120,.22);
  border-radius:8px;
  background:rgba(255,255,255,.94);
  box-shadow:0 12px 26px rgba(80,50,120,.07);
  box-sizing:border-box;
  transition:transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}

#ag_confidence .ag-confidence-card:hover{
  transform:translateY(-6px);
  border-color:rgba(104,32,167,.38);
  box-shadow:0 20px 40px rgba(80,50,120,.13);
}

#ag_confidence .ag-confidence-icon{
  width:60px;
  height:60px;
  margin:0 0 28px;
}

#ag_confidence .ag-confidence-icon img{
  display:block;
  width:60px;
  height:60px;
  object-fit:contain;
}

#ag_confidence .ag-confidence-card h3{
  margin:0;
  color:#6820a7;
  font-size:30px;
  line-height:1.26;
  font-weight:700;
  letter-spacing:-0.075em;
}
#ag_confidence .ag-confidence-card h3 strong { color:#b516ca; font-weight:700; }

#ag_confidence .ag-confidence-card p{
  margin:20px 0 0;
  color:#333;
  font-size:18px;
  line-height:1.48;
  font-weight:400;
  letter-spacing:-0.055em;
}

@media (max-width:1400px){
  #ag_confidence.ag-confidence-sec{padding:110px 20px 116px;}
  #ag_confidence .ag-confidence-inner{max-width:1180px;}
  #ag_confidence .ag-confidence-head{margin-bottom:64px;}
  #ag_confidence .ag-confidence-head h2{font-size:48px;}
  #ag_confidence .ag-confidence-grid{gap:22px;}
  #ag_confidence .ag-confidence-card{min-height:238px;padding:30px 24px 26px;}
  #ag_confidence .ag-confidence-card h3{font-size:25px;}
  #ag_confidence .ag-confidence-card p{font-size:16px;}
}

@media (max-width:1024px){
  #ag_confidence.ag-confidence-sec{padding:92px 20px 96px;background-position:center center;}
  #ag_confidence .ag-confidence-grid{grid-template-columns:repeat(2, minmax(0, 1fr));max-width:760px;margin:0 auto;}
}

@media (max-width:768px){
  #ag_confidence.ag-confidence-sec{padding:74px 18px 80px;}
  #ag_confidence .ag-confidence-head{margin-bottom:42px;}
  #ag_confidence .ag-confidence-head h2{font-size:34px;line-height:1.32;}
  #ag_confidence .ag-confidence-head p{margin-top:15px;font-size:15px;line-height:1.5;}
  #ag_confidence .ag-confidence-grid{grid-template-columns:1fr;gap:16px;max-width:520px;}
  #ag_confidence .ag-confidence-card{min-height:auto;padding:26px 22px 24px;border-radius:8px;}
  #ag_confidence .ag-confidence-icon{width:52px;height:52px;margin-bottom:18px;}
  #ag_confidence .ag-confidence-icon img{width:52px;height:52px;}
  #ag_confidence .ag-confidence-card h3{font-size:23px;}
  #ag_confidence .ag-confidence-card p{margin-top:12px;font-size:15px;}
}

@media (max-width:420px){
  #ag_confidence.ag-confidence-sec{padding:62px 14px 68px;}
  #ag_confidence .ag-confidence-head h2{font-size:29px;}
  #ag_confidence .ag-confidence-card h3{font-size:21px;}
  #ag_confidence .ag-confidence-card p{font-size:14px;}
}



/* =========================
   AGAIN FEE INSTALLMENT SECTION - 08
========================= */
.ag-fee-installment-sec{
  position:relative;
  overflow:hidden;
  min-height:965px;
  padding:86px 20px 70px;
  background:#dae8f5;
  color:#33383d;
  text-align:center;
  letter-spacing:-0.06em;
  word-break:keep-all;
}
.ag-fee-installment-sec::before{
  content:"";
  position:absolute;
  inset:0;
  z-index:0;
  background:radial-gradient(circle at 50% 45%, rgba(255,255,255,.62) 0%, rgba(255,255,255,.28) 34%, rgba(218,232,245,0) 68%), linear-gradient(135deg, rgba(130,88,190,.08) 0%, rgba(255,255,255,0) 42%, rgba(130,88,190,.08) 100%);
  pointer-events:none;
}
.ag-fee-installment-inner{
  position:relative;
  z-index:1;
  width:100%;
  max-width:1280px;
  margin:0 auto;
}
.ag-fee-installment-head{
  width:100%;
  max-width:1100px;
  margin:0 auto;
}
.ag-fee-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:56px;
  margin:0 0 52px;
  padding:0 48px;
  border-radius:999px;
  background:#6820a7;
  color:#fff;
  font-size:34px;
  line-height:1;
  font-weight:700;
  letter-spacing:-0.06em;
  box-shadow:0 10px 22px rgba(104,32,167,.16);
}
.ag-fee-installment-head h2{
  margin:0;
  color:#33383d;
  font-size:58px;
  line-height:1.25;
  font-weight:700;
  letter-spacing:-0.075em;
}
.ag-fee-installment-img{
  width:1100px;
  max-width:88vw;
  margin:50px auto 0;
}
.ag-fee-installment-img img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
@media (max-width:1400px){
  .ag-fee-installment-sec{min-height:860px;padding-top:76px;}
  .ag-fee-badge{min-height:50px;margin-bottom:42px;padding:0 40px;font-size:28px;}
  .ag-fee-installment-head h2{font-size:50px;}
  .ag-fee-installment-img{width:930px;margin-top:42px;}
}
@media (max-width:1024px){
  .ag-fee-installment-sec{min-height:auto;padding:72px 20px 64px;}
  .ag-fee-badge{min-height:46px;margin-bottom:34px;padding:0 34px;font-size:24px;}
  .ag-fee-installment-head h2{font-size:42px;}
  .ag-fee-installment-img{width:760px;max-width:94vw;margin-top:36px;}
}
@media (max-width:768px){
  .ag-fee-installment-sec{padding:62px 18px 58px;}
  .ag-fee-badge{min-height:40px;margin-bottom:28px;padding:0 26px;font-size:20px;}
  .ag-fee-installment-head h2{font-size:32px;line-height:1.32;}
  .ag-fee-installment-img{margin-top:30px;}
}
@media (max-width:480px){
  .ag-fee-installment-sec{padding:54px 14px 52px;}
  .ag-fee-badge{min-height:36px;margin-bottom:22px;padding:0 20px;font-size:17px;}
  .ag-fee-installment-head h2{font-size:26px;}
  .ag-fee-installment-img{max-width:100vw;margin-top:24px;}
}

/* =========================
   AGAIN QUICK APPLY SECTION
========================= */
#ag_quick_apply.ag-quick-apply-section {
  position:relative;
  overflow:hidden;
  padding:105px 20px;
  background:#171f26 url('../img/main/07_bg.jpg') center center / cover no-repeat;
  color:#fff;
}


#ag_quick_apply .ag-quick-inner {
  position:relative;
  z-index:2;
  width:100%;
  max-width:1480px;
  min-height:690px;
  margin:0 auto;
  display:grid;
  grid-template-columns:620px 620px;
  gap:110px;
  align-items:center;
  justify-content:center;
}

/* LEFT */
#ag_quick_apply .ag-quick-left {
  width:620px;
  max-width:100%;
  min-width:0;
  display:block !important;
  text-align:left;
}

#ag_quick_apply .ag-quick-title {
  display:block;
  width:100%;
  margin:0 0 52px;
}

#ag_quick_apply .ag-quick-title h2 {
  display:block;
  width:100%;
  margin:0;
  color:#fff;
  font-size:52px;
  line-height:1.28;
  font-weight:700;
  letter-spacing:-0.065em;
  word-break:keep-all;
  white-space:normal;
}

#ag_quick_apply .ag-quick-title h2 strong {
  display:inline;
  color:#12a9e8;
  font-weight:700;
}

#ag_quick_apply .ag-quick-info {
  display:block;
  width:100%;
  margin:0 0 42px;
}

#ag_quick_apply .ag-quick-info dl {
  display:flex;
  align-items:flex-start;
  gap:18px;
  margin:0 0 13px;
  color:#fff;
  font-size:17px;
  line-height:1.45;
  letter-spacing:-0.045em;
}

#ag_quick_apply .ag-quick-info dt {
  flex:0 0 76px;
  margin:0;
  color:#fff;
  font-weight:700;
}

#ag_quick_apply .ag-quick-info dd {
  margin:0;
  color:rgba(255,255,255,.96);
  font-weight:400;
  word-break:keep-all;
}

#ag_quick_apply .ag-quick-map {
  width:562px;
  max-width:100%;
  margin:0;
  background:#fff;
  box-shadow:0 16px 38px rgba(0,0,0,.22);
}

#ag_quick_apply .ag-quick-map img {
  display:block;
  width:100%;
  height:auto;
}

/* RIGHT */
#ag_quick_apply .ag-quick-right {
  width:620px;
  max-width:100%;
  min-width:0;
}

/* counsel_form.php 자체 카드만 사용 */
#ag_quick_apply .ag-quick-right > section,
#ag_quick_apply .ag-quick-right > div,
#ag_quick_apply .ag-quick-right form {
  max-width:100%;
}

/* 혹시 이전에 남은 wrapper가 있어도 배경 제거 */
#ag_quick_apply .ag-quick-form-card {
  padding:0 !important;
  background:transparent !important;
  box-shadow:none !important;
  border-radius:0 !important;
}

/* 상담폼이 너무 작게 잡히는 경우 보정 */
#ag_quick_apply input[type="text"],
#ag_quick_apply input[type="tel"],
#ag_quick_apply input[type="email"],
#ag_quick_apply textarea,
#ag_quick_apply select {
  box-sizing:border-box;
}

#ag_quick_apply textarea {
  resize:none;
}

/* =========================
   AGAIN COUNSEL FORM
========================= */
#ag_quick_apply .ag-card {
  width:100%;
  max-width:620px;
  margin:0 auto;
  padding:50px 58px 40px;
  border-radius:18px;
  background:#fff;
  color:#111;
  box-shadow:none;
  box-sizing:border-box;
}

#ag_quick_apply .ag-card-head {
  display:none;
}

#ag_quick_apply .ag-fields {
  display:block;
}

#ag_quick_apply .ag-field {
  display:block;
  margin:0 0 20px;
}

#ag_quick_apply .ag-label {
  display:block;
  margin-bottom:10px;
  color:#111;
  font-size:16px;
  line-height:1.3;
  font-weight:700;
  letter-spacing:-0.045em;
}

#ag_quick_apply .ag-input,
#ag_quick_apply .ag-textarea {
  display:block;
  width:100%;
  border:0;
  border-radius:4px;
  background:#f4f4f4;
  color:#111;
  font-size:15px;
  font-weight:400;
  letter-spacing:-0.035em;
  box-sizing:border-box;
}

#ag_quick_apply .ag-input {
  height:48px;
  padding:0 20px;
}

#ag_quick_apply .ag-textarea {
  height:80px;
  padding:16px 20px;
  resize:none;
}

#ag_quick_apply .ag-input::placeholder,
#ag_quick_apply .ag-textarea::placeholder {
  color:#a9a9a9;
}

#ag_quick_apply .ag-check-row {
  display:flex;
  align-items:center;
  flex-wrap:wrap;
  gap:14px 20px;
  min-height:28px;
}

#ag_quick_apply .ag-check-row label {
  display:inline-flex;
  align-items:center;
  gap:7px;
  color:#555;
  font-size:15px;
  line-height:1.35;
  font-weight:400;
  letter-spacing:-0.04em;
  cursor:pointer;
}

#ag_quick_apply .ag-check-row input[type="checkbox"] {
  width:15px;
  height:15px;
  margin:0;
  appearance:none;
  -webkit-appearance:none;
  border:1px solid #999;
  border-radius:2px;
  background:#fff;
  cursor:pointer;
  box-sizing:border-box;
}

#ag_quick_apply .ag-check-row input[type="checkbox"]:checked {
  border-color:#20aee0;
  background:#20aee0;
  box-shadow:inset 0 0 0 3px #fff;
}

#ag_quick_apply .ag-agree {
  display:flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:34px 0 20px;
  color:#555;
  font-size:14px;
  line-height:1.4;
  font-weight:400;
  letter-spacing:-0.04em;
  cursor:pointer;
}

#ag_quick_apply .ag-agree input[type="checkbox"] {
  width:16px;
  height:16px;
  margin:0;
  appearance:none;
  -webkit-appearance:none;
  border:1px solid #999;
  border-radius:2px;
  background:#fff;
  cursor:pointer;
  box-sizing:border-box;
}

#ag_quick_apply .ag-agree input[type="checkbox"]:checked {
  border-color:#20aee0;
  background:#20aee0;
  box-shadow:inset 0 0 0 3px #fff;
}

#ag_quick_apply .ag-submit {
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:64px;
  border:0;
  border-radius:7px;
  background:#20aee0;
  color:#fff;
  font-size:22px;
  line-height:1;
  font-weight:700;
  letter-spacing:-0.045em;
  cursor:pointer;
  transition:background .25s ease, transform .25s ease;
}

#ag_quick_apply .ag-submit:hover {
  background:#0f9bcc;
  transform:translateY(-1px);
}

#ag_quick_apply .ag-submit.is_loading {
  opacity:.75;
  cursor:wait;
}

/* =========================
   RESPONSIVE
========================= */
@media (max-width:1400px) {
  #ag_quick_apply .ag-quick-inner {
    max-width:1180px;
    grid-template-columns:540px 540px;
    gap:60px;
  }

  #ag_quick_apply .ag-quick-left,
  #ag_quick_apply .ag-quick-right {
    width:540px;
  }

  #ag_quick_apply .ag-quick-title h2 {
    font-size:40px;
  }

  #ag_quick_apply .ag-quick-map {
    width:520px;
  }
}

@media (max-width:1024px) {
  #ag_quick_apply.ag-quick-apply-section {
    padding:90px 20px;
  }

  #ag_quick_apply .ag-quick-inner {
    min-height:auto;
    grid-template-columns:1fr;
    gap:54px;
    max-width:720px;
  }

  #ag_quick_apply .ag-quick-left,
  #ag_quick_apply .ag-quick-right {
    width:100%;
  }

  #ag_quick_apply .ag-quick-left {
    text-align:center;
  }

  #ag_quick_apply .ag-quick-info {
    max-width:620px;
    margin-left:auto;
    margin-right:auto;
    text-align:left;
  }

  #ag_quick_apply .ag-quick-map {
    margin-left:auto;
    margin-right:auto;
  }
}

@media (max-width:768px) {
  #ag_quick_apply.ag-quick-apply-section {
    padding:74px 18px;
    background-position:center center;
  }

  #ag_quick_apply .ag-quick-bg {
    background:rgba(0,0,0,.64);
  }

  #ag_quick_apply .ag-quick-title {
    margin-bottom:34px;
  }

  #ag_quick_apply .ag-quick-title h2 {
    font-size:32px;
    line-height:1.35;
  }

  #ag_quick_apply .ag-quick-info {
    margin-bottom:32px;
  }

  #ag_quick_apply .ag-quick-info dl {
    gap:12px;
    margin-bottom:11px;
    font-size:15px;
  }

  #ag_quick_apply .ag-quick-info dt {
    flex-basis:66px;
  }

  #ag_quick_apply .ag-card {
    padding:34px 24px 30px;
    border-radius:15px;
  }

  #ag_quick_apply .ag-field {
    margin-bottom:17px;
  }

  #ag_quick_apply .ag-label {
    font-size:15px;
  }

  #ag_quick_apply .ag-input {
    height:46px;
    padding:0 16px;
  }

  #ag_quick_apply .ag-textarea {
    height:82px;
    padding:14px 16px;
  }

  #ag_quick_apply .ag-check-row {
    gap:12px 16px;
  }

  #ag_quick_apply .ag-check-row label {
    font-size:14px;
  }

  #ag_quick_apply .ag-submit {
    height:56px;
    font-size:19px;
  }
}



@media (max-width:480px) {
  #ag_quick_apply.ag-quick-apply-section {
    padding:62px 14px 66px;
  }

  #ag_quick_apply .ag-quick-title h2 {
    font-size:28px;
  }

  #ag_quick_apply .ag-quick-info dl {
    display:block;
    font-size:14px;
  }

  #ag_quick_apply .ag-quick-info dt {
    margin-bottom:3px;
  }
  
  #ag_quick_apply .ag-card {
    padding:28px 18px 26px;
  }

  #ag_quick_apply .ag-check-row {
    display:grid;
    grid-template-columns:repeat(2, 1fr);
    gap:10px;
  }

  #ag_quick_apply .ag-agree {
    font-size:13px;
  }
}

/* =========================
   MAIN VISUAL dot alignment fix
========================= */
.ag-hero-desc .ag-dot-word{
  position:relative;
  display:inline-flex;
  align-items:flex-start;
  gap:0;
  color:#6d22aa;
  font-weight:700;
  white-space:nowrap;
}

.ag-hero-desc .ag-dot-word::before{
  content:none !important;
  display:none !important;
}

.ag-hero-desc .ag-dot-word span{
  position:relative;
  display:inline-block;
}

.ag-hero-desc .ag-dot-word span::before{
  content:"";
  position:absolute;
  left:50%;
  top:-21px;
  width:6px;
  height:6px;
  margin-left:-3px;
  border-radius:50%;
  background:#6d22aa;
}

@media (max-width:768px){
  .ag-hero-desc .ag-dot-word span::before{
    top:-16px;
    width:5px;
    height:5px;
    margin-left:-2.5px;
  }
}

/* =========================
   MAIN VISUAL dot final alignment
   - one dot centered above each Korean syllable
========================= */
.ag-hero-desc strong.ag-dot-word::before{
  content:none !important;
  display:none !important;
}
.ag-hero-desc .ag-dot-word{
  display:inline-flex !important;
  align-items:flex-start;
  justify-content:center;
  gap:0;
  letter-spacing:0 !important;
  vertical-align:baseline;
  white-space:nowrap;
}
.ag-hero-desc .ag-dot-word span{
  position:relative;
  display:inline-block;
  width:1em;
  min-width:1em;
  text-align:center;
  line-height:inherit;
  letter-spacing:0 !important;
}
.ag-hero-desc .ag-dot-word span::before{
  content:"";
  position:absolute;
  left:50%;
  top:-23px;
  width:6px;
  height:6px;
  margin-left:-3px;
  border-radius:50%;
  background:#6d22aa;
}
@media (max-width:768px){
  .ag-hero-desc .ag-dot-word span::before{
    top:-17px;
    width:5px;
    height:5px;
    margin-left:-2.5px;
  }
}

/* =========================
   AGAIN request fix 2026-06-25
   - dot almost directly above each letter
========================= */
.ag-hero-desc .ag-dot-word{
  line-height:1 !important;
  vertical-align:baseline;
}
.ag-hero-desc .ag-dot-word span{
  line-height:1 !important;
}
.ag-hero-desc .ag-dot-word span::before{
  top:-6px !important;
  width:5px;
  height:5px;
  margin-left:-2.5px;
}
@media (max-width:768px){
  .ag-hero-desc .ag-dot-word span::before{
    top:-5px !important;
    width:4px;
    height:4px;
    margin-left:-2px;
  }
}

/* =========================
   AGAIN SECTION 03 ALIGN FIX
========================= */
.ag-result-question-list li,
.ag-result-question-list li:nth-child(1),
.ag-result-question-list li:nth-child(2),
.ag-result-question-list li:nth-child(3){
  margin-left:0;
  margin-right:0;
}

.ag-result-question-list li:after,
.ag-result-question-list li:nth-child(2):after{
  left:42px;
  right:auto;
}

/* =========================
   AGAIN AI DIAGNOSIS SECTION - 04
========================= */
#ag_self_diagnosis.ag-ai-diagnosis-sec{
  position:relative;
  overflow:hidden;
  min-height:870px;
  padding:112px 20px 0;
  background:#ededed url('../img/main/04_bg1.jpg') center center / cover no-repeat;
  color:#222;
}

#ag_self_diagnosis.ag-ai-diagnosis-sec::before{
  content:none !important;
  display:none !important;
}

#ag_self_diagnosis .ag-ai-inner{
  position:relative;
  z-index:2;
  width:100%;
  max-width:1480px;
  min-height:660px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0, 1fr) 220px minmax(420px, 1fr);
  align-items:center;
  gap:34px;
}

#ag_self_diagnosis .ag-ai-left{
  position:relative;
  min-height:660px;
  padding-top:70px;
  text-align:left;
  letter-spacing:-0.065em;
  word-break:keep-all;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

#ag_self_diagnosis .ag-ai-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:44px;
  min-width:230px;
  padding:0 34px;
  border-radius:999px;
  background:#ff6415;
  color:#fff;
  font-size:30px;
  line-height:1;
  font-weight:700;
  box-shadow:0 8px 18px rgba(255,100,21,.18);
}

#ag_self_diagnosis .ag-ai-title{
  margin:34px 0 0;
  color:#080808;
  font-size:48px;
  line-height:1.12;
  font-weight:700;
  letter-spacing:-0.075em;
}

#ag_self_diagnosis .ag-ai-title span{
  color:#111;
  font-weight:400;
}

#ag_self_diagnosis .ag-ai-title strong{
  display:block;
  margin-top:12px;
  color:#6820a7;
  font-size:74px;
  line-height:1.02;
  font-weight:700;
}

#ag_self_diagnosis .ag-ai-desc{
  margin:32px 0 0;
  color:#333;
  font-size:19px;
  line-height:1.45;
  font-weight:400;
  letter-spacing:-0.045em;
}

#ag_self_diagnosis .ag-ai-person{
  position:relative;
  left:auto;
  bottom:auto;
  width:500px;
  max-width:88%;
  margin:auto 0 0 0;
  padding-top:38px;
}

#ag_self_diagnosis .ag-ai-person img{
  display:block;
  width:100%;
  height:auto;
}

#ag_self_diagnosis .ag-ai-arrow{
  position:relative;
  z-index:3;
  width:260px;
  max-width:100%;
  margin:34px auto 0;
  filter:drop-shadow(18px 16px 15px rgba(0,0,0,.22));
  animation:agArrowMove 1.85s ease-in-out infinite;
}

#ag_self_diagnosis .ag-ai-arrow img{
  display:block;
  width:100%;
  height:auto;
}

#ag_self_diagnosis .ag-ai-form-wrap{
  width:100%;
  max-width:540px;
  margin:0 0 0 auto;
  padding-top:20px;
}

#ag_self_diagnosis .ag-self-card{
  width:100%;
  max-width:540px;
  margin:0;
  color:#222;
  background:transparent;
  border-radius:0;
  padding:0;
  box-shadow:none;
}

#ag_self_diagnosis .ag-self-top{
  margin-bottom:24px;
}

#ag_self_diagnosis .ag-self-topline{
  color:#333;
  font-size:16px;
  font-weight:400;
  letter-spacing:-0.045em;
}

#ag_self_diagnosis .ag-self-topline > span:last-child,
#ag_self_diagnosis .ag-self-topline > span:last-child b,
#ag_self_diagnosis .ag-self-topline > span:last-child span{
  color:#6820a7;
  font-weight:700;
}

#ag_self_diagnosis .ag-self-progress{
  height:7px;
  background:#d7d7d7;
}

#ag_self_diagnosis .ag-self-progress span{
  background:#9560b7;
}

#ag_self_diagnosis .ag-self-question{
  min-height:62px;
  margin-bottom:22px;
  padding:0 28px;
  border-radius:8px;
  background:#6820a7;
  color:#fff;
  font-size:23px;
  font-weight:700;
  box-shadow:0 10px 18px rgba(104,32,167,.16);
}

#ag_self_diagnosis .ag-self-question:before{
  margin-right:16px;
  font-size:36px;
  font-weight:700;
}

#ag_self_diagnosis .ag-self-options,
#ag_self_diagnosis .ag-self-contact{
  padding:38px 42px 0;
  border-radius:8px 8px 0 0;
  background:#fff;
  box-shadow:0 -5px 18px rgba(0,0,0,.06);
}

#ag_self_diagnosis .ag-self-option{
  height:52px;
  padding:0 31px;
  border:1px solid #d6d2da;
  border-radius:4px;
  background:#fff;
}

#ag_self_diagnosis .ag-self-option:hover{
  border-color:#6820a7;
}

#ag_self_diagnosis .ag-self-check{
  background:#d8dadd;
}

#ag_self_diagnosis .ag-self-option input:checked + .ag-self-check{
  background:#6820a7;
}

#ag_self_diagnosis .ag-self-option input:checked ~ span:last-child{
  color:#6820a7;
  font-weight:700;
}

#ag_self_diagnosis .ag-self-option:has(input:checked){
  border-color:#6820a7;
}

#ag_self_diagnosis .ag-self-option span:last-child{
  color:#333;
  font-size:16px;
  font-weight:400;
  letter-spacing:-0.045em;
}

#ag_self_diagnosis .ag-self-nav,
#ag_self_diagnosis .ag-self-submit-wrap{
  padding:22px 42px 48px;
  border-radius:0 0 8px 8px;
  background:#fff;
  box-shadow:0 14px 24px rgba(0,0,0,.18);
}

#ag_self_diagnosis .ag-self-prev,
#ag_self_diagnosis .ag-self-next,
#ag_self_diagnosis .ag-self-submit{
  height:52px;
  border-radius:4px;
  font-size:20px;
  font-weight:700;
}

#ag_self_diagnosis .ag-self-next,
#ag_self_diagnosis .ag-self-submit{
  background:#9b7ab9;
  color:#fff;
}

#ag_self_diagnosis .ag-self-next:hover,
#ag_self_diagnosis .ag-self-submit:hover{
  background:#6820a7;
}

#ag_self_diagnosis .ag-self-contact h3{
  color:#222;
  font-weight:700;
}

@keyframes agArrowMove{
  0%,100%{transform:translateX(0) scale(1);}
  50%{transform:translateX(14px) scale(1.055);}
}

@media (max-width:1450px){
  #ag_self_diagnosis.ag-ai-diagnosis-sec{min-height:800px;padding-top:94px;}
  #ag_self_diagnosis .ag-ai-inner{max-width:1280px;grid-template-columns:minmax(0, 1fr) 180px minmax(390px, 500px);gap:26px;}
  #ag_self_diagnosis .ag-ai-left{min-height:610px;padding-top:58px;}
  #ag_self_diagnosis .ag-ai-title{font-size:41px;}
  #ag_self_diagnosis .ag-ai-title strong{font-size:62px;}
  #ag_self_diagnosis .ag-ai-person{width:440px;max-width:88%;margin:auto 0 0 0;padding-top:30px;}
  #ag_self_diagnosis .ag-ai-arrow{width:220px;}
}

@media (max-width:1200px){
  #ag_self_diagnosis.ag-ai-diagnosis-sec{min-height:auto;padding:82px 24px;}
  #ag_self_diagnosis .ag-ai-inner{display:block;min-height:0;text-align:center;}
  #ag_self_diagnosis .ag-ai-left{min-height:auto;max-width:760px;margin:0 auto;padding-top:0;}
  #ag_self_diagnosis .ag-ai-title{font-size:40px;}
  #ag_self_diagnosis .ag-ai-title strong{font-size:58px;}
  #ag_self_diagnosis .ag-ai-person{position:relative;left:auto;bottom:auto;width:420px;max-width:90%;margin:34px auto 0;padding-top:0;}
  #ag_self_diagnosis .ag-ai-arrow{width:150px;margin:28px auto;transform:rotate(90deg);animation:agArrowMoveMobile 1.85s ease-in-out infinite;}
  #ag_self_diagnosis .ag-ai-form-wrap{max-width:540px;margin:0 auto;padding-top:0;}
}

@keyframes agArrowMoveMobile{
  0%,100%{transform:rotate(90deg) translateX(0) scale(1);}
  50%{transform:rotate(90deg) translateX(12px) scale(1.05);}
}

@media (max-width:768px){
  #ag_self_diagnosis.ag-ai-diagnosis-sec{padding:68px 18px;background-position:center center;}
  #ag_self_diagnosis .ag-ai-label{height:36px;min-width:auto;padding:0 22px;font-size:22px;}
  #ag_self_diagnosis .ag-ai-title{margin-top:24px;font-size:30px;line-height:1.2;}
  #ag_self_diagnosis .ag-ai-title strong{font-size:44px;}
  #ag_self_diagnosis .ag-ai-desc{margin-top:22px;font-size:16px;}
  #ag_self_diagnosis .ag-ai-person{width:360px;margin-top:28px;}
  #ag_self_diagnosis .ag-ai-arrow{width:110px;}
  #ag_self_diagnosis .ag-self-topline{font-size:14px;}
  #ag_self_diagnosis .ag-self-question{min-height:56px;padding:0 18px;font-size:18px;}
  #ag_self_diagnosis .ag-self-question:before{font-size:28px;}
  #ag_self_diagnosis .ag-self-options,
  #ag_self_diagnosis .ag-self-contact{padding:26px 20px 0;}
  #ag_self_diagnosis .ag-self-option{height:48px;padding:0 18px;}
  #ag_self_diagnosis .ag-self-option span:last-child{font-size:14px;}
  #ag_self_diagnosis .ag-self-nav,
  #ag_self_diagnosis .ag-self-submit-wrap{padding:18px 20px 30px;}
  #ag_self_diagnosis .ag-self-prev,
  #ag_self_diagnosis .ag-self-next,
  #ag_self_diagnosis .ag-self-submit{height:48px;font-size:17px;}
}

@media (max-width:480px){
  #ag_self_diagnosis.ag-ai-diagnosis-sec{padding:58px 14px;}
  #ag_self_diagnosis .ag-ai-title{font-size:26px;}
  #ag_self_diagnosis .ag-ai-title strong{font-size:38px;}
  #ag_self_diagnosis .ag-ai-person{width:320px;}
  #ag_self_diagnosis .ag-ai-arrow{width:88px;}
}



/* =========================
   AGAIN RELIEF AND REVIEW SECTIONS
========================= */
.ag-relief-banner-sec{
  position:relative;
  overflow:hidden;
  min-height:640px;
  padding:96px 20px 90px;
  background:#dae8f5;
  color:#33383d;
  text-align:center;
  letter-spacing:-0.06em;
  word-break:keep-all;
}
.ag-relief-inner{
  position:relative;
  z-index:2;
  width:100%;
  max-width:1280px;
  margin:0 auto;
}
.ag-relief-copy{
  width:100%;
  max-width:980px;
  margin:0 auto;
}
.ag-relief-kicker{
  margin:0 0 22px;
  color:#33383d;
  font-size:25px;
  line-height:1.35;
  font-weight:700;
  letter-spacing:-0.055em;
}
.ag-relief-copy h2{
  margin:0;
  color:#33383d;
  font-size:58px;
  line-height:1.22;
  font-weight:700;
  letter-spacing:-0.075em;
}
.ag-relief-copy h2 strong{
  color:#6820a7;
  font-weight:700;
}
.ag-relief-quote{
  margin:52px 0 0;
  color:#33383d;
  font-size:36px;
  line-height:1.25;
  font-weight:400;
  letter-spacing:-0.055em;
}
.ag-relief-desc{
  margin:20px 0 0;
  color:#33383d;
  font-size:20px;
  line-height:1.45;
  font-weight:400;
  letter-spacing:-0.045em;
}
.ag-relief-img{
  margin:36px auto 0;
  display:flex;
  align-items:flex-end;
  justify-content:center;
}
.ag-relief-img img{
  display:block;
  width:100%;
  height:auto;
  object-fit:contain;
}
.ag-relief-img-bomb{
  width:500px;
  max-width:72vw;
}
.ag-relief-img-asset{
  width:700px;
  max-width:82vw;
  margin-top:44px;
}
.ag-relief-img-bomb img{
  max-width:500px;
}
.ag-relief-img-asset img{
  max-width:700px;
}

.ag-review-flow-sec{
  position:relative;
  overflow:hidden;
  padding:150px 0 128px;
  background:#dae8f5;
  color:#33383d;
  letter-spacing:-0.06em;
  word-break:keep-all;
}
.ag-review-flow-inner{
  width:100%;
  margin:0 auto;
  text-align:center;
}
.ag-review-flow-head{
  width:100%;
  max-width:980px;
  margin:0 auto 86px;
  padding:0 20px;
}
.ag-review-flow-head h2{
  margin:0;
  color:#33383d;
  font-size:58px;
  line-height:1.22;
  font-weight:700;
  letter-spacing:-0.075em;
}
.ag-review-flow-head h2 span{
  color:#6820a7;
  font-weight:700;
}
.ag-review-flow-head p{
  margin:24px 0 0;
  color:#33383d;
  font-size:20px;
  line-height:1.45;
  font-weight:400;
  letter-spacing:-0.045em;
}
.ag-review-marquee{
  position:relative;
  width:100%;
  overflow:hidden;
}
.ag-review-marquee::before,
.ag-review-marquee::after{
  content:"";
  position:absolute;
  top:0;
  z-index:3;
  width:110px;
  height:100%;
  pointer-events:none;
}
.ag-review-marquee::before{
  left:0;
  background:linear-gradient(90deg, #dae8f5 0%, rgba(218,232,245,0) 100%);
}
.ag-review-marquee::after{
  right:0;
  background:linear-gradient(270deg, #dae8f5 0%, rgba(218,232,245,0) 100%);
}
.ag-review-track{
  display:flex;
  width:max-content;
  animation:agReviewFlow 36s linear infinite;
  will-change:transform;
}
.ag-review-marquee:hover .ag-review-track{
  animation-play-state:paused;
}
.ag-review-group{
  display:flex;
  align-items:flex-start;
  gap:42px;
  padding-right:42px;
}
.ag-review-item{
  flex:0 0 350px;
  width:350px;
  border-radius:8px;
  overflow:hidden;
  box-shadow:0 16px 34px rgba(34,56,78,.12);
  background:#fff;
}
.ag-review-item img{
  display:block;
  width:100%;
  height:auto;
}
@keyframes agReviewFlow{
  0%{transform:translateX(0);}
  100%{transform:translateX(-50%);}
}

@media (max-width:1400px){
  .ag-relief-banner-sec{min-height:590px;padding:82px 20px 76px;}
  .ag-relief-kicker{font-size:22px;}
  .ag-relief-copy h2{font-size:50px;}
  .ag-relief-quote{margin-top:42px;font-size:31px;}
  .ag-relief-img-bomb{width:430px;}
  .ag-relief-img-asset{width:610px;}
  .ag-review-flow-sec{padding:128px 0 108px;}
  .ag-review-flow-head{margin-bottom:66px;}
  .ag-review-flow-head h2{font-size:50px;}
  .ag-review-group{gap:30px;padding-right:30px;}
  .ag-review-item{flex-basis:315px;width:315px;}
}
@media (max-width:1024px){
  .ag-relief-banner-sec{min-height:auto;padding:74px 20px 66px;}
  .ag-relief-copy h2{font-size:42px;}
  .ag-relief-quote{margin-top:34px;font-size:27px;}
  .ag-relief-desc{font-size:18px;}
  .ag-relief-img-bomb{width:390px;}
  .ag-relief-img-asset{width:560px;}
  .ag-review-flow-sec{padding:110px 0 92px;}
  .ag-review-flow-head h2{font-size:42px;}
  .ag-review-flow-head p{font-size:18px;}
  .ag-review-marquee::before,
  .ag-review-marquee::after{width:70px;}
}
@media (max-width:768px){
  .ag-relief-banner-sec{padding:62px 18px 54px;}
  .ag-relief-kicker{margin-bottom:16px;font-size:17px;line-height:1.5;}
  .ag-relief-copy h2{font-size:32px;line-height:1.32;}
  .ag-relief-quote{margin-top:26px;font-size:23px;}
  .ag-relief-desc{margin-top:14px;font-size:15px;}
  .ag-relief-img{margin-top:28px;}
  .ag-relief-img-bomb{width:320px;max-width:92vw;}
  .ag-relief-img-asset{width:420px;max-width:94vw;}
  .ag-review-flow-sec{padding:92px 0 78px;}
  .ag-review-flow-head{margin-bottom:42px;padding:0 18px;}
  .ag-review-flow-head h2{font-size:34px;line-height:1.32;}
  .ag-review-flow-head p{margin-top:16px;font-size:15px;line-height:1.5;}
  .ag-review-track{animation-duration:28s;}
  .ag-review-group{gap:18px;padding-right:18px;}
  .ag-review-item{flex-basis:245px;width:245px;border-radius:7px;}
  .ag-review-marquee::before,
  .ag-review-marquee::after{width:40px;}
}
@media (max-width:480px){
  .ag-relief-banner-sec{padding:54px 14px 46px;}
  .ag-relief-kicker{font-size:15px;}
  .ag-relief-copy h2{font-size:27px;}
  .ag-relief-quote{font-size:20px;}
  .ag-relief-desc{font-size:14px;}
  .ag-relief-img-bomb{width:280px;}
  .ag-relief-img-asset{width:340px;}
  .ag-review-flow-sec{padding:78px 0 66px;}
  .ag-review-flow-head h2{font-size:29px;}
  .ag-review-item{flex-basis:220px;width:220px;}
}


/* =========================
   AGAIN FINAL CONSULT SECTION - 09
========================= */
#ag_quick_apply.ag-final-consult-sec{
  position:relative;
  overflow:hidden;
  padding:140px 20px 130px;
  background:#efe5ff url('../img/main/09_bg.jpg') center center / cover no-repeat;
  color:#222;
}

#ag_quick_apply .ag-final-consult-inner{
  position:relative;
  z-index:2;
  width:100%;
  max-width:1480px;
  min-height:620px;
  margin:0 auto;
  display:grid;
  grid-template-columns:minmax(0, 1fr) minmax(520px, 620px);
  align-items:center;
  gap:110px;
}

#ag_quick_apply .ag-final-consult-left{
  position:relative;
  min-height:620px;
  padding:10px 0 0 12px;
  letter-spacing:-0.065em;
  word-break:keep-all;
  display:flex;
  flex-direction:column;
  align-items:flex-start;
}

#ag_quick_apply .ag-final-badge{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:230px;
  height:46px;
  margin:0 0 44px;
  padding:0 32px;
  border-radius:999px;
  background:#ff660d;
  color:#fff;
  font-size:28px;
  line-height:1;
  font-weight:700;
  box-shadow:0 9px 18px rgba(255,102,13,.18);
}

#ag_quick_apply .ag-final-consult-left h2{
  margin:0;
  color:#6820a7;
  font-size:56px;
  line-height:1.42;
  font-weight:700;
  letter-spacing:-0.08em;
}

#ag_quick_apply .ag-final-desc{
  margin:42px 0 0;
  color:#222;
  font-size:22px;
  line-height:1.65;
  font-weight:400;
  letter-spacing:-0.055em;
}

#ag_quick_apply .ag-final-person-wrap{
  position:relative;
  left:auto;
  bottom:auto;
  width:500px;
  max-width:78%;
  margin:50px 0 0;
}

#ag_quick_apply .ag-final-person-wrap img{
  display:block;
  width:100%;
  height:auto;
}

#ag_quick_apply .ag-final-talk{
  display:none !important;
}

#ag_quick_apply .ag-final-talk:after{
  display:none !important;
}

#ag_quick_apply .ag-final-consult-right{
  width:100%;
  max-width:620px;
  justify-self:end;
}

#ag_quick_apply .ag-final-form-box{
  width:100%;
  min-height:610px;
  padding:58px 58px 52px;
  border-radius:14px;
  background:#fff;
  box-shadow:0 18px 48px rgba(88,63,122,.10);
  box-sizing:border-box;
}

#ag_quick_apply .ag-final-form-head{
  margin:0 0 36px;
  padding:0 0 30px;
  border-bottom:1px solid #989898;
}

#ag_quick_apply .ag-final-form-head h3{
  margin:0;
  color:#222;
  font-size:26px;
  line-height:1.38;
  font-weight:700;
  letter-spacing:-0.055em;
  word-break:keep-all;
}

#ag_quick_apply .ag-final-form-box .ag-card{
  width:100%;
  max-width:none;
  margin:0;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:#111;
  box-shadow:none;
}

#ag_quick_apply .ag-final-form-box .ag-fields{
  display:block;
}

#ag_quick_apply .ag-final-form-box .ag-field{
  display:block;
  margin:0 0 24px;
}

#ag_quick_apply .ag-final-form-box .ag-label{
  display:block;
  margin:0 0 13px;
  color:#111;
  font-size:17px;
  line-height:1.35;
  font-weight:700;
  letter-spacing:-0.045em;
}

#ag_quick_apply .ag-final-form-box .ag-input,
#ag_quick_apply .ag-final-form-box .ag-textarea{
  display:block;
  width:100%;
  height:52px;
  padding:0 20px;
  border:0;
  border-radius:5px;
  background:#f4f4f4;
  color:#222;
  font-size:15px;
  font-weight:400;
  letter-spacing:-0.035em;
  box-sizing:border-box;
  outline:none;
}

#ag_quick_apply .ag-final-form-box .ag-input:focus,
#ag_quick_apply .ag-final-form-box .ag-textarea:focus{
  background:#f1edf8;
  box-shadow:0 0 0 1px rgba(104,32,167,.25) inset;
}

#ag_quick_apply .ag-final-form-box .ag-input::placeholder,
#ag_quick_apply .ag-final-form-box .ag-textarea::placeholder{
  color:#adb3bd;
}

#ag_quick_apply .ag-final-form-box .ag-agree{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:9px;
  margin:12px 0 36px;
  color:#333;
  font-size:16px;
  line-height:1.4;
  font-weight:400;
  letter-spacing:-0.045em;
  cursor:pointer;
}

#ag_quick_apply .ag-final-form-box .ag-agree input[type="checkbox"]{
  flex:0 0 20px;
  width:20px;
  height:20px;
  margin:0;
  appearance:none;
  -webkit-appearance:none;
  border:1px solid #b8b8b8;
  border-radius:50%;
  background:#fff;
  cursor:pointer;
  box-sizing:border-box;
}

#ag_quick_apply .ag-final-form-box .ag-agree input[type="checkbox"]:checked{
  border-color:#bd00d6;
  background:#bd00d6;
  box-shadow:inset 0 0 0 5px #fff;
}

#ag_quick_apply .ag-final-form-box .ag-submit{
  display:flex;
  align-items:center;
  justify-content:center;
  width:100%;
  height:64px;
  border:0;
  border-radius:8px;
  background:#bd00d6;
  color:#fff;
  font-size:22px;
  line-height:1;
  font-weight:700;
  letter-spacing:-0.055em;
  cursor:pointer;
  transition:transform .25s ease, filter .25s ease;
}

#ag_quick_apply .ag-final-form-box .ag-submit:hover{
  transform:translateY(-2px);
  filter:brightness(1.06);
}

#ag_quick_apply .ag-final-form-box .ag-submit.is_loading{
  opacity:.75;
  cursor:wait;
}

@media (max-width:1400px){
  #ag_quick_apply.ag-final-consult-sec{padding:120px 20px 112px;}
  #ag_quick_apply .ag-final-consult-inner{max-width:1180px;grid-template-columns:minmax(0, 1fr) minmax(470px, 560px);gap:70px;}
  #ag_quick_apply .ag-final-consult-left h2{font-size:46px;}
  #ag_quick_apply .ag-final-desc{font-size:19px;}
  #ag_quick_apply .ag-final-person-wrap{width:430px;margin-top:44px;}
  #ag_quick_apply .ag-final-form-box{padding:48px 46px;min-height:560px;}
  #ag_quick_apply .ag-final-form-head h3{font-size:23px;}
}

@media (max-width:1024px){
  #ag_quick_apply.ag-final-consult-sec{padding:92px 22px 96px;}
  #ag_quick_apply .ag-final-consult-inner{display:block;max-width:760px;min-height:0;}
  #ag_quick_apply .ag-final-consult-left{min-height:0;padding:0;text-align:center;align-items:center;}
  #ag_quick_apply .ag-final-badge{height:42px;min-width:auto;margin-bottom:30px;padding:0 28px;font-size:23px;}
  #ag_quick_apply .ag-final-consult-left h2{font-size:40px;line-height:1.34;}
  #ag_quick_apply .ag-final-desc{margin-top:24px;font-size:18px;}
  #ag_quick_apply .ag-final-person-wrap{position:relative;left:auto;bottom:auto;width:420px;max-width:90%;margin:42px auto 0;}
  #ag_quick_apply .ag-final-consult-right{max-width:620px;margin:54px auto 0;}
}

@media (max-width:768px){
  #ag_quick_apply.ag-final-consult-sec{padding:74px 18px 82px;background-position:center center;}
  #ag_quick_apply .ag-final-badge{height:38px;margin-bottom:24px;padding:0 24px;font-size:19px;}
  #ag_quick_apply .ag-final-consult-left h2{font-size:31px;}
  #ag_quick_apply .ag-final-desc{font-size:15px;line-height:1.6;}
  #ag_quick_apply .ag-final-person-wrap{width:340px;margin-top:34px;}
  #ag_quick_apply .ag-final-form-box{min-height:0;padding:34px 24px 30px;border-radius:12px;}
  #ag_quick_apply .ag-final-form-head{margin-bottom:28px;padding-bottom:24px;}
  #ag_quick_apply .ag-final-form-head h3{font-size:19px;}
  #ag_quick_apply .ag-final-form-box .ag-field{margin-bottom:19px;}
  #ag_quick_apply .ag-final-form-box .ag-label{font-size:15px;}
  #ag_quick_apply .ag-final-form-box .ag-input{height:48px;padding:0 16px;}
  #ag_quick_apply .ag-final-form-box .ag-agree{margin:8px 0 26px;font-size:13px;}
  #ag_quick_apply .ag-final-form-box .ag-submit{height:56px;font-size:19px;}
}

@media (max-width:480px){
  #ag_quick_apply.ag-final-consult-sec{padding:64px 14px 70px;}
  #ag_quick_apply .ag-final-consult-left h2{font-size:27px;}
  #ag_quick_apply .ag-final-person-wrap{width:300px;max-width:96%;}
  #ag_quick_apply .ag-final-form-box{padding:28px 18px 26px;}
  #ag_quick_apply .ag-final-form-head h3{font-size:18px;}
}


/* =========================
   AGAIN ASSET SECTION TITLE FIX
   - keep asset headline in one line on desktop
========================= */
@media (min-width:1201px){
  #ag_asset_min .ag-relief-copy{
    max-width:1600px;
  }

  #ag_asset_min .ag-relief-copy h2{
    white-space:nowrap;
    font-size:clamp(44px, 3vw, 58px);
    letter-spacing:-0.085em;
  }
}

/* =========================
   AGAIN SECTION 03 MOBILE ARROW FIX
   - overlay arrow on the split line without creating a white gap
========================= */
@media (max-width:1100px){
  .ag-result-sec{
    position:relative;
    display:block;
  }

  .ag-result-arrow{
    position:relative !important;
    left:auto !important;
    top:auto !important;
    right:auto !important;
    z-index:8;
    display:block;
    width:100% !important;
    height:0 !important;
    margin:0 !important;
    transform:none !important;
    animation:none !important;
    filter:none !important;
    pointer-events:none;
  }

  .ag-result-arrow img{
    position:absolute;
    left:50%;
    top:0;
    display:block;
    width:150px;
    height:auto;
    transform:translate(-50%, -50%) rotate(90deg);
    filter:drop-shadow(0 14px 16px rgba(55,0,80,.26));
    animation:agArrowFloatMoLineImg 2.6s ease-in-out infinite;
  }

  @keyframes agArrowFloatMoLineImg{
    0%,100%{transform:translate(-50%, -50%) translateY(-8px) rotate(90deg) scale(1);}
    50%{transform:translate(-50%, -50%) translateY(8px) rotate(90deg) scale(1.04);}
  }
}

@media (max-width:768px){
  .ag-result-arrow img{
    width:112px;
  }

  .ag-result-right-content{
    padding-top:78px;
  }
}

@media (max-width:480px){
  .ag-result-arrow img{
    width:92px;
  }

  .ag-result-right-content{
    padding-top:70px;
  }
}
