@charset "utf-8";

body {
  --color-point: #244c8a;
  --color-blue: #3a75a3;
  --color-green: rgb(0, 168, 76);
  --color-red: rgb(255, 124, 124);
}




/* sub상단 섹션 공통*/
.sub_top_section {
  position: relative;
  width: 100%;
  height: 300px;
  background-repeat: no-repeat;
  background-position: center center;
  color: #fff;
  display: flex;
  align-items: center;
  animation: zoom 16s linear;
  animation-fill-mode: forwards;
}

.sub_top_section::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
}

.sub_top_section p {
  font-size: 2rem;
  letter-spacing: -0.5px;
}

.sub_top_section strong {
  font-weight: 600;
}

@keyframes zoom {
  0% {
    background-size: 100%;
  }

  100% {
    background-size: 120%;
  }
}


/* sub container */
.container {
  width: 100%;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 220px 1fr 120px;
  padding-top: 3rem;
  position: relative;
  font-size: 14px;
  padding-bottom: 3rem;
}


/* sub 서브메뉴 */
.con_sub_left {
  padding-bottom: 5rem;
}

.sub_left_title {
  height: 60px;
  background: var(--color-point);
  color: #fff;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 1.2rem;
  font-weight: 500;
}

ul.sub_left_menu {
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}

ul.sub_left_menu li {
  padding: 1rem;
  border-bottom: 1px solid #eee;
  position: relative;
}

ul.sub_left_menu li a {
  display: block;
}

ul.sub_left_menu li:hover {
  background: #f5f5f5;
}

ul.sub_left_menu li:hover a {
  color: var(--color-blue);
}

ul.sub_left_menu .fa-caret-right {
  font-size: 0.8rem;
  position: absolute;
  color: #999;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}


ul.sub_icon {
  color: var(--color-point);
  font-weight: 500;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 80px 1fr;
  grid-template-rows: 1fr 1fr;
  border: 1px solid #ddd;
}

ul.sub_icon li {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 70px;
}

.sub_icon li span {
  background: var(--color-blue);
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.sub_icon li span i {
  color: #fff;
}

.sub_icon li:nth-child(even) {
  justify-content: flex-start;
}


/* sub 컨텐츠 */

.content {
  padding-left: 2rem;
  line-height: 1.5;
}

.content_head {
  line-height: 55px;
  display: grid;
  grid-template-columns: 1fr 240px;
  padding-bottom: 5px;
  margin-bottom: 2rem;
  border-bottom: 2px solid #000;
}

.content_head h2 {
  font-size: 2.1rem;
  font-weight: 700;
}

.content_head span {
  text-align: right;
  font-size: 0.85rem;
  color: #666;
}


/* sub 퀵 메뉴 */
.quickmenu {
  position: absolute;
  width: 90px;
  top: 90px;
  margin-top: -50px;
  right: 0px;
  background: #fff;
  z-index: 100;
}

.quickmenu ul {
  position: relative;
  float: left;
  width: 100%;
  display: inline-block;
  *display: inline;
  border: 1px solid #ddd;
  font-size: 0.9rem;
}

.quickmenu ul li {
  float: left;
  width: 100%;
  border-bottom: 1px solid #ddd;
  text-align: center;
  display: inline-block;
  *display: inline;
  padding: 0.5rem 0;
}
.quickmenu ul li:first-child {
  background: var(--color-point);
  color: #fff;
  font-weight: 500;
}
.quickmenu ul li a {
  position: relative;
  float: left;
  width: 100%;
  height: 30px;
  line-height: 30px;
  text-align: center;
  color: #999;
}

.quickmenu ul li a:hover {
  color: #000;
}

.quickmenu ul li:last-child {
  border-bottom: 0;
}



/* sub1_1.html 상단 섹션1 */
section#sub1_section_1 {
  background: url(./img/sub/sub_1_bg.jpg);
  background-position: center center;
}


/* sub1_1.html 컨텐츠1 */
.content_1 {
  display: grid;
  grid-template-columns: 1fr 250px;
  border-bottom: 1px solid #ddd;
  padding-bottom: 2rem;
  margin-bottom: 2rem;
}

.content_1 div:nth-child(2) {
  padding-left: 25px;
}

.content_1 h3 {
  font-size: 1.8rem;
  font-weight: 600;
  letter-spacing: -1px;
  padding-top: 2rem;
}

.content_1 span {
  color: var(--color-green);
  font-weight: 500;
}

.content_1 .content_p_1 {
  font-size: 1.4rem;
  letter-spacing: -0.5px;
}

.content_1 .content_p_2 {
  padding-top: 2rem;
  font-size: 1rem;
  color: #666;
  max-width: 65ch;
}

.content_1 div:nth-child(2) {
  text-align: center;
}


/* sub1_1.html 컨텐츠2 */
.content_2 {
  padding: 2rem 0;
}

.content_2 .minibar {
  display: inline-block;
  width: 5px;
  height: 20px;
  background: var(--color-blue);
  margin-right: 6px;
  border-radius: 6px;
}

.content_2 h3 {
  font-size: 1.7rem;
  font-weight: 600;
}

.content_2 p {
  font-size: 1.0rem;
  padding-top: 0.5rem;
  margin-bottom: 1rem;
}

ul.numbering {
  padding: 1rem 0;
  margin-bottom: 3rem;
}

ul.numbering li {
  padding: 1.5rem 0;
  border-bottom: 1px solid #ddd;
  display: grid;
  grid-template-columns: 90px 1fr;
}

ul.numbering li strong {
  display: block;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--color-point);
}

ul.numbering li:first-child {
  border-top: 1px solid #ddd;
}

ul.numbering li span:first-child {
  text-align: center;
  padding-top: 9px;
}

/* sub1_1.html 컨텐츠3 */
.content_3 {
  margin-bottom: 6rem;
}

.content_sub_title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.content_3 div {
  text-align: center;
  padding: 2rem 0;
  border: 1px solid #ddd;
}

.content_sub_title .fa-circle-check {
  font-size: 1rem;
  color: var(--color-blue);
  display: inline-block;
  margin-bottom: 4px;
  vertical-align: middle;
  border: none;
}

.content_3 i {
  font-size: 2rem;
  font-weight: 400;
  letter-spacing: -2px;
  border-bottom: 3px solid var(--color-blue);
}

.content_3 span {
  display: block;
  font-size: 1.25rem;
  padding: 0.6rem 0 1.5rem;
}

.content_3 span:last-child {
  padding-bottom: 0;
}


/* sub1_1.html 컨텐츠4 */
.content_4 {
  margin-bottom: 6rem;
}

ul.content_table {
  padding-bottom: 1.5rem;
  display: grid;
  grid-template-columns: 120px 1fr;
  grid-template-rows: repeat(11, 1fr)
}

ul.content_table li {
  padding: 10px 10px;
  border-bottom: 1px solid #ddd;
}

ul.content_table li.title {
  background: #f5f5f5;
  padding-left: 16px;
  font-weight: 600;
}

ul.content_table li:nth-child(1),
ul.content_table li:nth-child(2) {
  border-top: 1px solid #ddd;
}


/* sub1_1.html 컨텐츠5 */
.content_5 {
  margin-bottom: 3rem;
}

ul.content_flow {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 20px;
  transition: 0.5s;
}

ul.content_flow li {
  background: #F5f5f5;
  text-align: center;
  padding: 1.5rem;
}

ul.content_flow h6 {
  font-size: 1.2rem;
  font-weight: 600;
  padding-bottom: 1rem;
}

ul.content_flow li:last-child {
  grid-column: 1/4;
}

ul.content_flow li:nth-child(even) {
  background: rgba(207, 224, 235, 0.884);
}

.content_5_bottom {
  margin-bottom: 6rem;
  padding: 3rem 0;
  text-align: center;
  font-size: 1.2rem;
  border: 1px solid #ddd;
}

.content_5_bottom p {
  max-width: 65ch;
  margin: auto;
  padding: 0 2rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid #ddd;
}

.content_5_bottom a {
  font-size: 1.1rem;
  font-weight: 500;
  display: inline-block;
  color: #fff;
  background: var(--color-blue);
  padding: 1rem 1.5rem;
  margin: 1rem;
}

.content_5_bottom .bluebutton {
  background: var(--color-blue);
}

.content_5_bottom .greenbutton {
  background: var(--color-green);
}

.content_5_bottom .redbutton {
  background: var(--color-red);
}
.content_5_bottom a:hover {
  background: #000;
}


/* sub2_1.html 상단 섹션1 */
section#sub2_section_1 {
  background: url(./img/sub/sub_2_bg.jpg);
  background-position: center center;
}

/* sub3_1.html 상단 섹션1 */
section#sub3_section_1 {
  background: url(./img/sub/sub_3_bg.jpg);
  background-position: center center;
}

/* sub6_1.html 상단 섹션1 */
section#sub6_section_1 {
  background: url(./img/sub/sub_6_bg.jpg);
  background-position: center center;
}


/* sub_4_1.html 컨텐츠 */
.sub4_content_1 {
  text-align: center;
}
.sub4_content_1 h4 {
  text-align: left;
}
.sub4_content_1 ul {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 10px;
  margin-bottom: 2.0rem;
  text-align: left;
}
.sub4_content_1 ul li {
  border: 1px solid #ddd;
  padding: 1rem;
}
.sub4_content_1 .button {
  display: inline-block;
  margin: auto;
  margin-bottom: 4rem;
  background: var(--color-blue);
  color: #fff;
  font-weight: 500;
  font-size: 0.9rem;
  padding: 0.6rem 1.2rem;
}
.sub4_content_1 ul li h5 {
  font-size: 1.15rem;
}
.sub4_content_1 ul li .fa-circle-check {
  color: var(--color-blue);
  font-size: 0.8rem;
}
.sub4_content_1 ul li a:hover {
  color: var(--color-point);
}


/* sub_5_1.html 컨텐츠 */
.sub5_content_1 {
  width: 100%;
  max-width: 828px;
  height: 300px;
  color: #fff;
  text-align: center;
  text-shadow: 0px 0px 8px #000;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  overflow: hidden;
  position: relative;
}

.sub5_content_1 .sub5_bg {
  animation: bubg 13s;
  animation-fill-mode: forwards;
}

@keyframes bubg {
  0% {}
  100% {
    transform: rotate(10deg)scale(1.2);
  }
}
.sub5_content_1 .sub5_textbox {
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 70%;
  max-width: 520px;
}

.sub5_content_1 i {
  padding-top: 4rem;
  font-size: 3rem;
}

.sub5_content_1 h3 {
  font-weight: 600;
  font-size: 1.8rem;
  max-width: 28ch;
  padding-top: 2rem;
  line-height: 1.3;
  margin-bottom: 2rem;
}

.sub5_content_1 p {
  background: rgba(58, 58, 58, 0.5);
  max-width: 70ch;
  padding: 1.8rem;
  border-radius: 30px;
}

.sub5_content_2 .borderline {
  position: relative;
  font-size: 1.7rem;
  font-weight: 600;
}

.sub5_content_2 .borderline::after {
  content: '';
  display: inline-block;
  position: absolute;
  width: 0%;
  height: 6px;
  background: rgb(6, 184, 65);
  bottom: 0;
  left: 0;
  transition: 0.5s;
}

.sub5_content_2:hover .borderline::after {
  width: 100%;
}

.sub5_content_2 {
  background: var(--color-blue);
  color: #fff;
  padding: 5rem;
  font-size: 1.15rem;
}


/* sub_6_1.html 컨텐츠 */
.sub6_content {
  font-size: 1rem;
  line-height: 1.5;
  text-align: justify;
}

.sub6_content strong {
  font-weight: 700;
  display: block;
  padding: 1rem 0 0.5rem;
}


/* sub7_1.html 컨텐츠 */
.allmenu {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-gap: 30px;
}

.allmenu ul {
  text-align: center;
}
.allmenu ul li:nth-child(1) {
  font-weight: 600;
  font-size: 1.1rem;
  background-color: #eee;
}
.allmenu ul li {
  border: 1px solid #ddd;
  margin: 6px;
  padding: 5px;
  font-size: 1rem;
}


/* 모바일버전 미디어쿼리 */
@media (max-width: 768px) {

  /* 상단 배경 섹션 */
  .sub_top_section {
    margin-top: 20px;
    text-align: center;
  }

  .sub_top_section p {
    font-size: 1.3rem;
    padding: 2rem;
  }

  .container {
    grid-template-columns: 1fr;
  }

  .con_sub_left {
    display: none;
  }

  .content {
    padding-left: 10px;
    padding-right: 10px;
  }

  .quickmenu {
    display: none;
  }


  /* sub.html 섹션1 */
  .content_1 {
    grid-template-columns: 1fr;
    border-bottom: 1px solid #ddd;
    padding-bottom: 2rem;
    margin-bottom: 2rem;
  }

  .content_head {
    line-height: 55px;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: 1fr 1fr;
  }

  .content_head_2 {
    line-height: 55px;
    border-bottom: 1px solid #ccc;
    margin-bottom: 1rem;
  }

  .content_head_2 h2 {
    font-size: 1.4rem;
    font-weight: 700;
    padding-left: 1rem;
  }

  /* sub.html 섹션5 */
  ul.content_flow {
    grid-template-columns: 1fr 1fr;
    transition: 0.5s;
  }

  ul.content_flow li:last-child {
    grid-column: 1/3;
  }

  section.sub_top_section {
    height: 200px;
  }

  .sub5_content_1 {
    display: none;
  }


}