@font-face {
  font-family: "Pretendard-Regular";
  src: url("https://cdn.jsdelivr.net/gh/Project-Noonnu/noonfonts_2107@1.1/Pretendard-Regular.woff") format("woff");
  font-weight: 400;
  font-style: normal;
}

* {
  margin: 0;
  padding: 0;
}
html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}

/* HTML5 display-role reset for older browsers */
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}

body {
  line-height: 1;
  font-family: "Pretendard-Regular";
}

ol,
ul,
li {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

input:focus {
  outline: none;
}

a {
  color: inherit;
  text-decoration: none;
  border: none;
}
a:focus {
  outline: none;
}

a:hover {
  color: inherit;
}
img {
  max-width: 440px;
  min-width: 320px;
  width: 100%; /* 이미지 아래의 여백 제거 */
  flex-direction: column;
}

/*------------------------------------- layout -------------------------------------- */
/* 컬러박스 */
.colorBox1 {
  background: #ed8289;
  color: #fff;
  padding: 5px 10px;
  display: inline-block;
  margin: 5px 0 10px 5px;
}

.colorBox2 {
  background: #0878e5;
  color: #fff;
  padding: 5px 10px;
  display: inline-block;
  margin: 5px 0 10px 5px;
}

.colorBox3 {
  background: #27877c;
  color: #fff;
  padding: 5px 10px;
  display: inline-block;
  margin: 5px 0 10px 5px;
}

/* ------------------------------------------------------------------------------------ */
.tit {
  text-align: left;
  font-weight: bold;
  font-size: 18px;
}

/* ------------------------------------------------------------------------------------ */

#gnb {
  width: 100%;
  line-height: 50px;
  height: 50px;
  display: flex;
  justify-content: space-around;
}

#gnb li {
  font-size: 22px;
  font-weight: bold;
  width: 100%;
  text-align: center;
}

#gnb a {
  position: relative;
  display: block;
  width: 100%;
}

#gnb a.active {
  color: #ef3a46;
  transition: all 0.2s;
  font-weight: bold;
}

#gnb a.active:before {
  content: "";
  background: #ef3a46;
  position: absolute;
  left: 0;
  bottom: 0px;
  width: 100%;
  height: 5px;
}

/* ------------------------------------------------------------------------------------ */

.content_wrap {
  width: 100%;
  flex-direction: column;
  margin: 0 auto;
  padding: 0;
}

.sections_wrap {
  max-width: 440px;
  min-width: 320px;
  margin: 0 auto;
  flex-direction: column;
}

#tab01 {
  width: 100%;
  margin: 0 auto;
  flex-direction: column;
}

#tab02 {
  width: 100%;
  margin: 0 auto;
  flex-direction: column;
}

#tab03 {
  width: 100%;
  margin: 0 auto;
  flex-direction: column;
}

/* 썸네일 4슬롯 */
#img_4slot {
  max-width: 440px;
  min-width: 320px;
  height: 40px;
  margin: 0 auto;
  padding: 0;
  flex-direction: column;
}

#img_6slot6{
  padding: 5px 0;
}

.img_slot6 {
  max-width: 440px; /* 모바일에서 전체 너비를 사용하도록 변경 */
  min-width: 320px; /* 이미지 너비를 100%로 설정 */
  height: auto; /* 비율 유지 */
  height: 902px;
  object-fit: cover;
  flex-direction: column;
  text-align: center;
}

.img_banner1 {
  max-width: 440px; /* 모바일에서 전체 너비를 사용하도록 변경 */
  min-width: 320px;
  width: 100%;
  height: 60px;
  flex-direction: column;
  text-align: center;
}
.img_banner2 {
  max-width: 440px; /* 모바일에서 전체 너비를 사용하도록 변경 */
  min-width: 320px;
  width: 100%; /* 이미지 너비를 100%로 설정 */
  max-height: 342px; /* 비율 유지 */
  flex-direction: column;
  text-align: center;
}
.img_slot1 li {
  width: 48.3%;
  display: inline-block;
  margin-right: 1%;
  margin-bottom: 1%;
}
.img_banner3 {
  max-width: 440px;
  min-width: 320px;
  width: 100%;
  flex-direction: column;
  object-fit: cover;
  margin: 0;
  padding: 0;
}
.img_banner4 {
  max-width: 440px;
  min-width: 320px;
  flex-direction: column;
  margin: 0;
  padding: 0;
}
.img_slot1 li:nth-child(2) {
  margin-right: 0;
}

/* img_slot3 */
#img_slot3 {
  max-width: 320; /* 모바일에서 전체 너비를 사용하도록 변경 */
  min-width: 320px;
  width: 100%;
  height: 38px;
  display: flex;
  flex-direction: column;
}

#img_slot3 li {
  width: 100%;
  margin-right: 2%;
}

/* tab02 */

/* ------------------------------------------------------------------------------------ */

/* footer */
/* footer {
    color: #00695c;
    font-size: 25px;
    font-weight: bold;
    /* padding-bottom: 20px; 
    box-sizing: border-box;
    text-align: center; 
} */

/* 반응형 */
@media screen and (width: 100%) {
  .iframeBox1 {
    max-width: 440px;

    height: 260px;
  }
  .iframeBox2 {
    max-width: 440px;
    height: 420px;
  }
  .iframeBox3 {
    height: 160px;
  }
  .iframeBox4 {
    height: 480px;
  }
  .txtBox {
    line-height: 1.4;
    font-size: 14px;
    letter-spacing: -1px;
  }
}

@media screen and (width: 100%) {
  .iframeBox1 {
    max-width: 400px;
    height: 320px;
  }
  .iframeBox2 {
    max-width: 400px;
    height: 320px;
  }
  .iframeBox4 {
    height: 400px;
  }
  #gnb {
    width: 100%;
    line-height: 40px;
    height: 40px;
  }

  #gnb li {
    font-size: 16px;
  }
  #gnb a.active:before {
    height: 3px;
  }
  .tit {
    font-size: 16px;
  }
  .colorBox1 {
    padding: 5px 6px;
    margin: 0px 0 5px 5px;
  }

  .colorBox2 {
    padding: 5px 6px;
    margin: 0px 0 5px 5px;
  }

  .colorBox3 {
    padding: 5px 6px;
    margin: 0px 0 5px 5px;
  }
}

footer {
  background: #fafafa;
  border-top: 1px solid #ddd;
  width: 100%;
  font-family: "Pretendard-Regular";
}

.company {
  text-align: center;
  font-size: 15px;
  display: block;
  width: 100%;
}

.txtBox {
  display: none;
  margin-top: 0px;
  line-height: 1.7;
  text-align: center;
}

.txtBox.on {
  display: block;
  margin-top: 5px;
}

button {
  border: none;
  cursor: pointer;
  background-color: #fafafa;
  padding-top: 7px;
  padding-bottom: 7px;
}
