/* **************** */
/* o_style CSS MAIN */
/* **************** */

/* o_btnBox */
.o_btnBox a {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 600;
  line-height: 1;
  color: #fff;
  background-color: var(--main-color);
  border: 2px solid var(--g1-color);
  border-radius: 1rem 0 3.3rem 1rem;
  transition: all 0.3s;
  width: 18.2rem;
  height: 5.3rem;
  display: flex;
  align-items: center;
  justify-content: center;
}
.o_btnBox a:hover {
  background-color: var(--g1-color);
}
.o_btnBox a span {
  position: relative;
  padding-right: 1rem;
}
.o_btnBox a span::after {
  content: "";
  background-image: url("../image/icon/arrow.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  width: 0.6rem;
  height: 1rem;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translate(0, -50%);
}

@media all and (max-width: 767px) {
  .o_btnBox a {
    font-size: 4.6vmin;
    border-radius: 4.6vmin 0 12.8vmin 4.6vmin;
    width: 70vmin;
    height: 20vmin;
    margin: 0 auto;
  }
  .o_btnBox a span {
    padding-right: 3.8vmin;
  }
  .o_btnBox a span::after {
    width: 2.3vmin;
    height: 3.8vmin;
  }
}

/* logoBox */
.logoBox {
  position: absolute;
  top: 6rem;
  left: 0;
  width: 9rem;
}

@media all and (max-width: 767px) {
  .logoBox {
    top: 12.5vmin;
    left: 0;
    width: 34vmin;
  }
}

.o_section {
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
  width: 100%;
}

/* o_section_1 */
.o_section_1 {
  background-image: url("../image/section_1/pc/img_bg.jpg");
  height: 50rem;
}

.o_section_1 .o_wrapper {
  height: 100%;
}
.o_section_1 .contentBox {
  position: absolute;
  top: 50%;
  left: 0;
  transform: translate(0, -50%);
}

.o_section_1 .contentBox h1 {
  color: var(--g1-color);
  font-weight: 900;
 
}
.o_section_1 .contentBox h1 span {
  color: var(--main-color);
}
.o_section_1 .contentBox h5 {
  color: var(--t-color);
  font-weight: 500;
  transition-delay: 0.25s;
}

.o_section_1 .contentBox .o_btnBox {
  transition-delay: 0.5s;
}

@media all and (max-width: 767px) {
  .o_section_1 {
    background-image: url("../image/section_1/mo/img_bg.jpg");
    height: 200vmin;
  }

  .o_section_1 .o_wrapper {
    height: 100%;
  }
  .o_section_1 .contentBox {
    top: auto;
    bottom: 12.5vmin;
    transform: translate(0, 0);
    text-align: center;
    width: 100%;
  }

  .o_section_1 .contentBox h1 {
  color: var(--g1-color);
  font-weight: 600;
  font-size:26px; 
}
.mtextp {padding:3px;}

}

/* o_section_2 */
.o_section_2 {
  background-image: url("../image/section_2/pc/img_bg.jpg");
}
.o_section_2 .videoBox {
  position: relative;
  max-width: 52.8rem;
  width: 100%;
  height: 0;
  padding-top: 38.7%;
  margin: 0 auto;
}
.o_section_2 .videoBox iframe {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.o_section_2 .textBox {
  text-align: center;
}
.o_section_2 .textBox h6 {
  color: var(--t-color);
  font-weight: 500;
}

@media all and (max-width: 767px) {
  .o_section_2 {
    padding: 0;
  }
  .o_section_2 .o_wrapper {
    width: 100%;
  }

  .o_section_2 .videoBox {
    max-width: 100%;
    padding-top: 65.5%;
  }

  .o_section_2 .textBox {
    display: none;
  }
}


/* o_section_3 */
.o_section_3 {
  background-image: url("../image/section_3/pc/img_bg.jpg");
}

.o_section_3 .o_container {
  display: flex;
}
.o_section_3 .o_container .contentBox {
  width: 50%;
  position: relative;
}
.o_section_3 .o_container .contentBox._2 {
  padding: 4rem 2rem 4rem 4rem;
  background-color: var(--w-color);
}
.o_section_3 .o_container .contentBox._2 h3 {
  font-family: "Gowun Batang", serif;
  color: var(--main-color);
  font-weight: 700;
}
.o_section_3 .o_container .contentBox._2 h6 {
  color: var(--t-color);
  font-weight: 400;
}
.o_section_3 .o_container .contentBox._2 h6 span {
  font-weight: 700;
}

.o_section_3 .o_container .imgBox {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(50%, 50%);
  width: 15rem;
}

@media all and (max-width: 991px) {
  .o_section_3 .o_container .imgBox {
    transform: translate(15%, 50%);
  }
}

@media all and (max-width: 767px) {
  .o_section_3 {
    background-image: url("../image/section_3/mo/img_bg.jpg");
    height: 205vmin;
    padding: 0;
  }

  .o_section_3 .o_wrapper {
    height: 100%;
  }
  .o_section_3 .o_container {
    display: block;
  }
  .o_section_3 .o_container .contentBox {
    width: 100%;
  }
  .o_section_3 .o_container .contentBox._1 {
    display: none;
  }
  .o_section_3 .o_container .contentBox._2 {
    padding: 0;
    background-color: transparent;
    position: absolute;
    bottom: 12.5vmin;
    width: 100%;
    padding-left: 10vmin;
  }
  .o_section_3 .o_container .contentBox._2 h6 span {
    font-weight: 600;
  }

  .o_section_3 .o_container .imgBox {
    display: none;
  }
}




/* o_section_new */
.o_section_new {
  /*background-image: url("../image/section_3/pc/img_bg.jpg");*/
}

.o_section_new .o_container {
  display: flex;
  gap: 40px;

}
.o_section_new .o_container .contentBox {
  flex: 1;
  padding: 10px;
  position: relative;
  float: none;
  width: auto;
}
.o_section_new .o_container .contentBox._1 {
  padding: 10px; width:40%;
 
 ;
}
.o_section_new .o_container .contentBox._2 {
  padding: 10px; width:40%;
 
 ;
}

.section.reverse .o_container {
  flex-direction: row-reverse;
}

.o_section_new .o_container .contentBox._2 h3 {
  font-family: "Gowun Batang", serif;
  color: var(--main-color);
  font-weight: 700;
}
.o_section_new .o_container .contentBox._2 h6 {
   
  text-align: justify;
  text-justify: inter-word; /* 단어 기준으로 빈 공간 정렬 */
  color: var(--t-color);
  font-weight: 400;
}

.o_section_new .o_container .contentBox._2 h6 span {
  font-weight: 700;
}

.o_section_new .o_container .imgBox {
  position: absolute;
  bottom: 0;
  right: 0;
  transform: translate(50%, 50%);
  width: 15rem;
}

@media screen and (max-width: 768px) {
  .section .o_container {
    flex-direction: column;
  }
}

@media all and (max-width: 991px) {
  .o_section_new .o_container .imgBox {
    transform: translate(15%, 50%);
  }
}

@media all and (max-width: 767px) {
   .o_section_new {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

   .o_section_new .o_wrapper {
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
  }

   .o_section_new .o_container {
    display: block !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
  }

    .o_section_new .o_container .contentBox {
    box-sizing: border-box !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
  }

   .o_section_new .contentBox._1,
  .o_section_new .contentBox._1 img {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    transform: none !important;
  }

  /* 이미지 높이와 크롭(원하는 비율로 조정 가능) */
  .o_section_new .contentBox._1 img {
    height: 55vw !important;        /* 모바일 적정 높이 45~65vw */
    max-height: 60vh !important;    
    object-fit: cover !important;   /* 세로 사이즈 크롭 */
    object-position: center center !important;
  }

    .o_section_new .contentBox._2 {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;          
    text-align: left !important;    /* 양쪽 맞춤이 싫으면 left로, 맞춤은 justify, 양쪽맞춤 하려면 본문안에 br제거해야함 */
    line-height: 1.6 !important;
  }

  /*모바일에서는 라인 안보잉게*/
  .o_section_new .line {display:none;}

  /* 제목/본문도 여백 제거 */
  .o_section_new .contentBox._2 h4,
  .o_section_new .contentBox._2 h6 {
    margin: 0 !important;
    padding: 1vw 5vw !important; 
    box-sizing: border-box !important;
  }

  /* 마지막 보정: imgBox 같은 PC용 절대요소 완전 숨기기 */
  .o_section_new .o_container .imgBox {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
  }
}


/* o_section_4 */
.o_section_4 {
  background-image: url("../image/section_4/pc/img_bg.jpg");
}

.o_section_4 .o_container {
  padding-left: 5%;
}
.o_section_4 .o_container h3 {
  font-family: "Gowun Batang", serif;
  color: #eaaf00;
  font-weight: 700;
}
.o_section_4 .o_container h6 {
  color: var(--t-color);
  font-weight: 400;
}
.o_section_4 .o_container h6 span {
  font-weight: 700;
}
.o_section_4 .o_container .imgBox {
  display: flex;
}
.o_section_4 .o_container .imgBox img {
  max-width: 15rem;
  width: 50%;
}
.o_section_4 .o_container .imgBox img + img {
  margin-left: 1rem;
}

.o_section_4 .o_container .imgBox img:nth-child(2) {
  transition-delay: 0.3s;
}

@media all and (max-width: 767px) {
  .o_section_4 {
    background-image: url("../image/section_4/mo/img_bg.jpg");
    height: 225vmin;
    padding: 0;
  }
  .o_section_4 .o_wrapper {
    height: 100%;
  }
  .o_section_4 .o_container {
    padding-left: 0;
    position: absolute;
    bottom: 12.5vmin;
    left: 0;
    width: 100%;
  }

  .o_section_4 .o_container h3,
  .o_section_4 .o_container h6 {
    padding-left: 10vmin;
  }

  .o_section_4 .o_container .imgBox {
    display: flex;
    justify-content: space-between;
    margin-top: 10vmin;
  }
  .o_section_4 .o_container .imgBox img {
    max-width: 100%;
    width: 49%;
  }
  .o_section_4 .o_container .imgBox img + img {
    margin-left: 0;
  }
}

/* o_section_5 */
.o_section_5 {
  background-image: url("../image/section_5/pc/img_bg.jpg");
  background-position: 20% 100%;
}
.o_section_5 .o_text_1 {
  font-family: "Gowun Batang", serif;
  color: var(--g1-color);
  font-weight: 700;
}
.o_section_5 .o_text_1 strong {
  color: var(--main-color);
}

.o_section_5 .contentBox {
  width: 50%;
  margin-left: auto;
}
.o_section_5 .contentBox h6 {
  color: var(--t-color);
  font-weight: 400;
}
.o_section_5 .contentBox h6 span {
  font-weight: 700;
}
.o_section_5 .contentBox .imgText {
  width: 100%;
}
.o_section_5 .contentBox .imgBox {
  display: flex;
}
.o_section_5 .contentBox .imgBox img {
  max-width: 15rem;
  width: 50%;
}
.o_section_5 .contentBox .imgBox img + img {
  margin-left: 1rem;
}
.o_section_5 .contentBox .o_text_2 {
  color: var(--t-color);
  font-weight: 700;
  padding-left: 5%;
}

.o_section_5 .contentBox .imgBox img:nth-child(2) {
  transition-delay: 0.3s;
}

@media all and (max-width: 767px) {
  .o_section_5 {
    background-image: url("../image/section_5/mo/img_bg.jpg");
    background-position: center;
    height: 205vmin;
    padding: 0;
  }

  .o_section_5 .o_wrapper {
    height: 100%;
  }

  .o_section_5 .o_text_1 {
    position: absolute;
    top: 18vmin;
    left: 0;
    width: 100%;
    text-align: center;
  }
  .o_section_5 .o_text_1 strong {
    font-size: 6.1vmin;
  }

  .o_section_5 .contentBox {
    width: 100%;
    margin-left: 0;
    position: absolute;
    bottom: 10vmin;
    left: 0;
    width: 100%;
  }
  .o_section_5 .contentBox h6 {
    padding-left: 10vmin;
  }
  .o_section_5 .contentBox .imgText {
    width: 100%;
  }
  .o_section_5 .contentBox .imgBox {
    display: none;
  }

  .o_section_5 .contentBox .o_text_2 {
    padding-left: 0;
    text-align: center;
  }
}

/* o_section_6 */
.o_section_6 {
  height: 100%;
}

.o_section_6 .videoBox {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 62.5%;
}
.o_section_6 .videoBox video {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}

.o_section_6 .contentBox {
  z-index: 10;
  position: absolute;
  bottom: 6rem;
  left: 0;
  text-align: center;
  width: 100%;
}
.o_section_6 .contentBox h5 {
  color: var(--t-color);
  font-weight: 700;
}
.o_section_6 .contentBox .o_btnBox a {
  margin: 0 auto;
}

@media all and (max-width: 767px) {
  .o_section_6 .videoBox {
    padding-top: 100%;
  }
  .o_section_6 .videoBox video {
    width: 160%;
  }

  .o_section_6 .contentBox {
    bottom: 5vmin;
  }

  .o_section_6 .contentBox .o_btnBox {
    display: none;
  }

  .btn_article a {
    padding: 7.5vmin 0;
    background-color: #ee988f;
    text-align: center;
    display: block;
    font-size: 4.6vmin;
    font-weight: 700;
    line-height: 1;
    color: var(--w-color);
  }
  .btn_article a span {
    position: relative;
    padding-right: 4.6vmin;
  }
  .btn_article a span::after {
    content: "";
    background-image: url("../image/icon/arrow.png");
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    width: 2.3vmin;
    height: 3.8vmin;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
  }
}

/* o_section_7 */
.o_section_7 {
  background-image: url("../image/section_7/pc/img_bg.jpg");
}
.o_section_7 h3 {
  color: var(--t-color);
  font-weight: 700;
  text-align: center;
}
.o_section_7 .contentBox {
  display: flex;
  justify-content: space-between;
}
.o_section_7 .contentBox .contentItem {
  width: 32.3%;
  padding: 0 0.7%;
}
.o_section_7 .contentBox .contentItem figure {
  width: 100%;
  line-height: 0;
}
.o_section_7 .contentBox .contentItem h6 {
  color: var(--t-color);
  font-weight: 400;
  text-align: center;
  background-color: var(--w-color);
  padding: 1rem 0;
  border-radius: 0 0 0.6rem 0.6rem;
}
.o_section_7 .contentBox .contentItem h6 span {
  font-weight: 700;
}

.o_section_7 .subText {
  color: var(--t-color);
  font-weight: 700;
  text-align: center;
}

.o_section_7 .slick-dots {
  display: none;
}

.o_section_7 .contentBox.pc_block {
  display: flex;
}
.o_section_7 .contentBox.mo_block {
  display: none;
}

@media all and (max-width: 991px) {
  .o_section_7 .contentBox .contentItem {
    width: 49%;
  }
  .o_section_7 .slick-dots {
    display: block;
  }

  .o_section_7 .contentBox.pc_block {
    display: none;
  }
  .o_section_7 .contentBox.mo_block {
    display: flex;
  }
}

@media all and (max-width: 767px) {
  .o_section_7 .contentBox {
    display: block;
  }
  .o_section_7 .contentBox .contentItem {
    width: 75vmin;
  }
  .o_section_7 .contentBox .contentItem h6 {
    padding: 2.5vmin 0;
    border-radius: 0 0 2vmin 2vmin;
  }

  .o_section_7 .subText {
    color: var(--t-color);
    font-weight: 700;
    text-align: center;
  }
}

/* o_section_bottom */
.o_section_bottom {
  background-color: var(--g1-color);
  text-align: center;
  padding: 2rem 0;
}
.o_section_bottom p {
  color: #fff;
  font-weight: 500;
}

@media all and (max-width: 767px) {
  .o_section_bottom {
    padding: 5vmin 0;
  }
}

/* o_floatingBtn */
.o_floatingBtn {
  position: fixed;
  width: 7.67rem;
  top: 100px;
  right: 0;
  cursor: pointer;
  z-index: 999;
  opacity: 0;
  transition: 1s;
  transform: translateX(100%);
}
.o_floatingBtn a {
  display: inline-block;
}

.o_floatingBtn.active {
  right: 1rem;
  opacity: 1;
  transform: translateX(0);
}

.o_floatingBtn {
  display: block;
}
.o_floatingBtn_mo {
  display: none;
}

@media all and (max-width: 767px) {
  .o_floatingBtn {
    display: none;
  }

  .o_floatingBtn_mo {
    display: block;
    position: fixed;
    width: 70vmin;
    bottom: 5%;
    right: 5%;
    cursor: pointer;
    z-index: 999;
    opacity: 0;
    transition: 1s;
    transform: translateY(100%);
  }
  .o_floatingBtn_mo a {
    display: inline-block;
  }
  .o_floatingBtn_mo.active {
    opacity: 1;
    transform: translateY(0);
  }
}
