@charset 'utf-8';

@media screen and (min-width: 320px) and (max-width: 768px) {
  .wrap{
    width: 95%;
  }
  /* sec1 */

  section {
    padding: 0;
    box-sizing: border-box;
  }

  .sec_main {
    height: clamp(300px, 100vh, 400px);
  }

  .sec_main .wrap {
    padding: 0;
  }

  .main_visual {
    height: clamp(300px, 80vh, 400px);
  }

  .main_visual img {
    height: 100%;
    object-fit: cover;
  }

  .main_text {
    text-align: center;
    left: 50%;
    transform: translateX(-50%);
    bottom: 60px;
  }

  .sec_main h2 {
    font-size: clamp(24px, 9vw, 40px);
    text-shadow: 0px 0px 10px #1d1d1d;
  }

  .sec_main p {
    font-size: clamp(12px, 4vw, 20px);
    font-weight: 500;
    margin-bottom: 24px;
    text-align: center;
  }

  .search_box {
    width: clamp(200px, 75vw, 600px);
  }

  .search_txt {
    width: clamp(200px, 75vw, 600px);
    font-size: clamp(11px, 3vw, 16px);
  }

  .search_icon i {
    font-size: clamp(16px, 6vw, 24px);
  }

  /* sec2 */
  .sec2 {
    padding-top: 60px;
  }

  .sec2 > .wrap {
    width: 85%;
  }

  h3 {
    font-size: clamp(24px, 5vw, 36px);
    line-height: 1.4;
  }

  .sec2 h3 > br {
    display: block;
  }

  .left_img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .left_img img {
    width: 100%;
  }

  .txt_up {
    flex-direction: column;
    align-items: flex-start;
  }

  .txt {
    width: 100%;
    text-align: center;
  }

  .txt > h4 {
    margin-top: 20px;
    font-size: clamp(16px, 5vw, 22px);
  }

  .txt > p {
    font-size: clamp(18px, 5vw, 24px);
  }

  .txt_up:nth-of-type(3) {
    flex-direction: column-reverse;
  }

  .btn {
    font-size: clamp(16px, 3vw, 20px);
    padding: 10px 30px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
  }

  .sec3 {
    background-color: var(--main-color);
    opacity: 0.8;
    color: var(--wt-000);
    padding: 60px;
    box-sizing: border-box;
  }

  .sec3 .box-wrap {
    flex-direction: column;
    gap: 120px;
  }
  /* sec4 */

  .sec4 {
    padding: 60px 0;
  }

  .sec4 > .wrap {
    width: 85%;
  }

  .qna-wrap {
    flex-direction: column;
    width: 100%;
  }

  .faq-list {
    width: 100%;
  }

  .faq-list:hover {
    width: 100%;
  }

  .accordion {
    width: 85%;
  }

  .accordion summary {
    font-size: clamp(12px, 1rem, 20px);
  }

  .accordion p {
    font-size: clamp(12px, 1rem, 20px);
  }

  .sec4 .btn {
    font-size: 14px;
  }

  .qna-box {
    width: 100%;
    height: 100px;
    flex-direction: column;
  }
  .qna-box > i {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .qna-box:hover {
    width: 100%;
    height: 300px;
    background-color: var(--main-color);
  }

  .qna-box:hover > i {
    display: block;
    opacity: 1;
    transform: translateY(100px);
    background-color: aqua;
  }
}

/* 테블릿 -sm */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .wrap{
    width: 95%;
  }
  /* sec1 */

  section {
    padding: 0;
    box-sizing: border-box;
  }

  .sec_main {
    height: clamp(400px, 150vh, 500px);
  }

  .sec_main .wrap {
    padding: 0;
  }

  .main_visual {
    height: clamp(400px, 150vh, 500px);
  }

  .main_visual img {
    height: 100%;
    object-fit: cover;
  }

  .main_text {
    left: 60px;
    bottom: 60px;
  }

  .sec_main h2 {
    font-size: clamp(24px, 9vw, 52px);
    text-shadow: 0px 0px 10px #1d1d1d;
  }

  .sec_main p {
    font-size: clamp(14px, 4vw, 24px);
    font-weight: 500;
    margin-bottom: 24px;
  }

  .search_box {
    width: clamp(200px, 75vw, 600px);
  }

  .search_txt {
    width: clamp(200px, 75vw, 600px);
    font-size: clamp(11px, 3vw, 16px);
  }

  .search_icon i {
    font-size: clamp(16px, 6vw, 24px);
  }

  /* sec2 */
  .sec2 {
    padding-top: 60px;
  }

  .sec2 > .wrap {
    width: 90%;
  }

  h3 {
    font-size: clamp(28px, 5vw, 36px);
    line-height: 1.4;
  }

  .sec2 h3 > br {
    display: block;
  }

  .left_img {
    width: 100%;
    height: auto;
    margin-bottom: 20px;
  }

  .left_img img {
    width: 100%;
  }

  .txt_up {
    flex-direction: column;
    align-items: flex-start;
  }

  .txt {
    width: 100%;
  }

  .txt > h4 {
    margin-top: 20px;
    font-size: clamp(16px, 5vw, 22px);
  }

  .txt > p {
    font-size: clamp(18px, 5vw, 24px);
    margin-bottom: 0;
  }

  .txt_up:nth-of-type(3) {
    flex-direction: column-reverse;
  }

  .btn:not(.sec4 .btn) {
    font-size: clamp(16px, 3vw, 20px);
    position: absolute;
    right: 0px;
    bottom: 0;
  }

  .sec3 {
    background-color: var(--main-color);
    opacity: 0.8;
    color: var(--wt-000);
    padding: 60px;
    box-sizing: border-box;
  }

  .sec3 .box-wrap {
    gap: 120px;
  }
  /* sec4 */

  .sec4 {
    padding: 60px 0;
  }

  .sec4 > .wrap {
    width: 85%;
  }

  .qna-wrap {
    flex-direction: column;
    width: 100%;
  }

  .faq-list {
    width: 100%;
  }

  .faq-list:hover {
    width: 100%;
  }

  .accordion {
    width: 85%;
  }

  .accordion summary {
    font-size: clamp(12px, 1rem, 20px);
  }

  .accordion p {
    font-size: clamp(12px, 1rem, 20px);
  }

  .sec4 .btn {
    font-size: 14px;
  }

  .qna-box {
    width: 100%;
    height: 100px;
    flex-direction: column;
  }
  .qna-box > i {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
  }

  .qna-box:hover {
    width: 100%;
    height: 300px;
    background-color: var(--main-color);
  }

  .qna-box:hover > i {
    display: block;
    opacity: 1;
    transform: translateY(100px);
    background-color: aqua;
  }
}
@media screen and (min-width: 1025px) and (max-width: 1250px) {
  .wrap{
    width: 95%;
  }
  header .wrap {
    width: 95%;
  }
  .sec_main {
    height: clamp(300px, 100vh, 600px);
  }

  .sec_main > .wrap {
    padding: 0;
  }

  .main_visual {
    height: clamp(300px, 80vh, 600px);
  }

  .main_text {
    left: 40px;
    bottom: 60px;
  }

  /* sec2 */
  .sec2 {
    padding-top: 60px;
  }

  .sec2 > .wrap {
    width: 90%;
  }

  h3 {
    font-size: clamp(28px, 5vw, 36px);
    line-height: 1.4;
  }

  .sec2 h3 > br {
    display: block;
  }

  .left_img {
    width: 50%;
    height: auto;
    margin-bottom: 20px;
  }

  .left_img img {
    width: 100%;
  }

  .txt_up {
    align-items: flex-start;
    gap: 60px;
  }

  .txt_up:nth-of-type(3) {
    flex-direction: row;
  }

  .txt {
    width: 50%;
  }

  .txt > h4 {
    margin-top: 20px;
    font-size: clamp(16px, 5vw, 22px);
  }

  .txt > p {
    font-size: clamp(18px, 5vw, 24px);
    margin-bottom: 20px;
  }

  .btn:not(.sec4 .btn) {
    font-size: clamp(16px, 3vw, 20px);
    position: absolute;
    left: 0;
  }

  /* sec4 */

  .sec4 {
    padding: 60px 0;
  }

  .sec4 > .wrap {
    width: 90%;
  }
}

@media screen and (min-width: 1251px) and (max-width: 1440px) {
  .wrap{
    width: 95%;
  }
  header .wrap {
    width: 95%;
  }
  .sec_main {
    height: clamp(300px, 100vh, 800px);
  }

  .sec_main > .wrap {
    padding: 0;
  }

  .main_visual {
    height: clamp(300px, 80vh, 800px);
  }

  .main_text {
    left: 60px;
    bottom: 200px;
  }

  /* sec2 */
  .sec2 {
    padding-top: 60px;
  }

  .sec2 > .wrap {
    width: 90%;
  }

  h3 {
    font-size: clamp(28px, 5vw, 36px);
    line-height: 1.4;
  }

  .sec2 h3 > br {
    display: block;
  }

  .left_img {
    width: 50%;
    height: auto;
    margin-bottom: 20px;
  }

  .left_img img {
    width: 100%;
  }
  .txt_up:nth-of-type(3) {
    flex-direction: row-reverse;
  }
  .txt_up {
    align-items: flex-start;
    gap: 60px;
  }

  .txt {
    width: 50%;
    position: absolute;
    right: -60px;
    bottom: 35%;
  }

  .txt:nth-of-type(1) {
    left: 0;
  }

  .txt > h4 {
    margin-top: 20px;
    font-size: clamp(16px, 5vw, 22px);
  }

  .txt > p {
    font-size: clamp(18px, 5vw, 24px);
    margin-bottom: 20px;
  }

  .btn:not(.sec4 .btn) {
    font-size: clamp(16px, 3vw, 20px);
    position: absolute;
    left: 0;
  }

  /* sec4 */

  .sec4 {
    padding: 60px 0;
  }

  .sec4 > .wrap {
    width: 90%;
  }
}
