.pretendard-font {
  font-family: "Pretendard Variable", Pretendard, -apple-system,
    BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue", "Segoe UI",
    "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji",
    "Segoe UI Emoji", "Segoe UI Symbol", sans-serif;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0px;
  -webkit-text-size-adjust: none;
  font-family: "NanumSquare", sans-serif;
  font-size: 14px;
  color: #444;
  letter-spacing: -1px;
  scroll-behavior: smooth;
}
body,
p,
h1,
h2,
h3,
h4,
h5,
h6,
ul,
ol,
li,
dl,
dt,
dd,
form,
fieldset,
legend,
input,
textarea,
button,
select {
  margin: 0;
  padding: 0;
  vertical-align: middle;
  font-weight: 400;
}
img {
  vertical-align: middle;
}
form {
  clear: both;
}
legend {
  visibility: hidden;
  overflow: hidden;
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  padding: 0;
  font-size: 0;
  line-height: 0;
}
body,
select,
button,
table {
  font-family: "NanumSquare", sans-serif;
  font-size: 14px;
  color: #444;
  letter-spacing: -1px;
}
button {
  cursor: pointer;
}
input,
textarea {
  font-family: "NanumSquare", sans-serif, tahoma, Dotum, AppleGothic;
  color: #444;
  outline: none;
  overflow-y: hidden;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  transition: 0.2s ease-in-out;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -ms-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
}
textarea {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  -webkit-border-radius: 0;
  border-radius: 0;
  padding: 10px 20px;
  border: 1px solid #ddd;
  resize: none;
}
select::-ms-expand {
  display: none;
}
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  transition: 0.2s ease-in-out;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -ms-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
}
iframe[name="google_conversion_frame"] {
  display: none;
}
input {
  color: #222;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
}
input[title],
input[placeholder] {
  color: #666;
}
input[type="number"],
input[type="email"],
input[type="tel"],
input[type="text"],
input[type="file"],
input[type="password"] {
  width: 100%;
  height: 48px;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  -webkit-border-radius: 0;
  border-radius: 3px;
  -webkit-border-radius: 3px;
  border: 0 none;
  padding: 0 15px;
  box-shadow: 0 0 1px #f8f8f8;
}
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
input[type="checkbox"],
input[type="radio"] {
  margin: 0px;
  padding: 0px;
}
input[type="file"] {
  border: 0;
}
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  color: #fff;
}
input[type="radio"],
input[type="checkbox"] {
  outline: none !important;
}
img,
fieldset {
  border: 0;
}
ul,
ol {
  list-style: none;
}
ul li {
  list-style: none;
}
em,
address {
  font-style: 300;
}
button,
a {
  text-decoration: none;
  color: #222;
  transition: 0.2s ease-in-out;
  -webkit-transition: 0.2s ease-in-out;
  -moz-transition: 0.2s ease-in-out;
  -ms-transition: 0.2s ease-in-out;
  -o-transition: 0.2s ease-in-out;
}
label {
  cursor: pointer;
}
table {
  border-spacing: 0;
  border: 0;
  width: 100%;
  border-collapse: collapse;
}
caption {
  display: none;
}
.blind {
  overflow: hidden;
  position: absolute;
  top: -1px;
  left: -1px;
  z-index: -1;
  width: 1px;
  height: 0px;
  line-height: 0;
  white-space: nowrap;
  text-indent: -9999px;
}

#wrap {
  min-width: 1200px;
  margin: 0 auto;
}
.menu_bg.open {
  height: 100%;
  width: 100%;
  position: absolute;
  background-color: #00000078;
  left: 0;
  top: 65px;
  z-index: 2;
}

.home_icon img {
  display: block;
  width: auto;
  height: 40px;
  padding: 12.5px 0;
  margin-left: 37px;
}

/* #top_banner {
  background-color: #FBF9E9;
  height: 80px;
  font-weight: 800;
  font-size: 24px;
} */

.key_banner_area {
  position: relative;
  width: 100%;
  height: 80px;
  background-image: url("./images/key_banner.jpg");
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
}
.key_banner_area a {
  display: block;
  width: 100%;
  height: 100%;
}

/*gnb*/
.hasBanner #gnb {
  position: absolute;
  top: 80px;
}

#gnb {
  background-color: #fff;
}
#gnb .wrap {
  width: 1300px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}
#gnb h1 {
  float: left;
  margin-left: 50px;
}
#menu {
  position: absolute;
  right: 0;
  top: 13px;
}
#menu ul {
  overflow: hidden;
}
#menu li {
  float: left;
}
#gnb #menu li {
  width: 145px;
  font-size: 17px;
  line-height: 46px;
  letter-spacing: -1px;
  font-weight: 700;
  float: left;
  position: relative;
  text-align: center;
}
#gnb #menu li:last-child {
  margin-right: 0px;
}
#gnb #menu li a {
  height: 50px;
  border-bottom: 3px solid #ffffff;
  color: #606060;
  display: inline-block;
}
#gnb #menu li.active a {
  border-bottom: 3px solid #047a44;
  color: #047a44;
}
#gnb #subMenu {
  display: none;
  width: 100%;
  z-index: 1001;
  position: absolute;
  background-color: #fff;
}
#gnb.open {
  z-index: 1002;
}
#gnb.open #subMenu {
  display: block;
}
#gnb #subMenu .wrap {
  width: 1345px;
  margin: 0 auto;
  height: 230px;
}
#gnb #subMenu .join {
  position: absolute;
  text-align: center;
  top: 26px;
  left: 90px;
}
#gnb #subMenu .join p {
  font-size: 25px;
}
#gnb #subMenu .join .text a {
  font-size: 30px;
  font-weight: 800;
  color: #047a44;
  display: block;
  padding-top: 7px;
}
#gnb #subMenu .menu {
  position: absolute;
  right: -54px;
  overflow: hidden;
  z-index: 3;
  top: 5px;
}
#gnb #subMenu .menu ul {
  float: left;
  padding-top: 16px;
  min-height: 180px;
}
#gnb #subMenu .menu ul a {
  color: #353535;
  height: 20px;
  padding: 5px 0px;
  padding-left: 5px;
  letter-spacing: -0.8px;
  font-size: 16px;
  display: block;
}
#gnb #subMenu .menu ul a:hover {
  color: #047a44;
}

#gnb #subMenu .menu ul.sub1 {
  width: 143px;
}
#gnb #subMenu .menu ul.sub2 {
  width: 156px;
}
#gnb #subMenu .menu ul.sub3 {
  width: 153px;
}
#gnb #subMenu .menu ul.sub4 {
  width: 130px;
}
#gnb #subMenu .menu ul.sub5 {
  width: 193px;
}
#gnb #subMenu .menu li {
  margin-bottom: 3px;
  background-repeat: no-repeat;
}
#gnb #subMenu .menu li.active a {
  color: #047a44;
}

/* footer */
#footer {
  height: 264px;
  background-color: #747474;
  box-sizing: border-box;
  -webkit-box-sizing: border-box;
  color: #fff;
  text-align: center;
  font-family: Pretendard, sans-serif;
}
#footer .footer-wrap {
  max-width: 1280px;
  padding: 0 28px;
  margin: 0 auto;
  padding-top: 47px;
  font-weight: 400;
  font-size: 18px;
  letter-spacing: 0;
  line-height: 36px;
}

.insurance_content {
  position: relative;
  display: flex;
  width: 1124px;
  margin: 0 auto;
  padding-top: 20px;
}
.insurance_content .left_area {
  text-align: left;
}
#contents {
  width: 838px;
  text-align: left;
}
#contents > .wrap {
  padding-bottom: 20px;
}
#contents > .wrap > img {
  width: 100%;
}
.detail_link {
  position: absolute;
  font-size: 0;
  line-height: 0;
  background: rgba(0, 0, 0, 0);
}
#wrap #container h1 span {
  width: 1200px;
  margin: 0px auto;
  display: block;
}
#wrap .section {
  position: relative;
}
#wrap #container {
  z-index: 1000;
  margin-top: 65px;
  position: relative;
  background-attachment: fixed;
  background-repeat: no-repeat;
  background-position: center bottom;
  background-size: cover;
}
.scroll_gnb {
  position: fixed;
  top: 0;
  z-index: 100;
  width: 100%;
}

img {
  display: block;
  max-width: 100%;
}

#container .title {
  margin: 0 auto;
}

.toggle-menu-wrap {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: min(1920px, 100svw);
  height: 100%;
  transform: translateX(-50%);
}

.toggle-menu {
  position: absolute;
  display: flex;
  justify-content: center;
  align-items: center;
  bottom: 10%;
  left: min(280px, 15.5svw);
  width: min(378px, 18.9svw);
  touch-action: auto;
  user-select: none;
  pointer-events: auto;
  z-index: 1000;
}

.toggle-menu li {
  width: 80%;
  height: 100%;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
}

.toggle-menu li:not(.toggle-active) {
  display: none;
}

.tab-menu {
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 844px;
  width: 100%;
  height: 74px;
}
.tab-menu > li {
  width: 50%;
  height: 100%;
  text-align: center;
  font-size: 22px;
  font-weight: 800;
  overflow: hidden;
}
.tab-menu li a {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 13px;
  color: #7d7d7d;
  background-color: #fff;
  width: 100%;
  height: 100%;
  border-bottom: 1px solid #42ba64;
  border-radius: 10px 10px 0 0;
  box-sizing: border-box;
  box-shadow: 0 4px 4px rgba(0, 0, 0, 0.25);
  cursor: pointer;
}
.tab-menu .dog {
  padding-left: 4px;
}
.tab-menu .cat {
  padding-right: 4px;
}
.tab-menu li.ui-state-active a {
  color: #42ba64;
  background-color: #f2f7f0;
  border: 1px solid;
  border-bottom: 0;
  box-shadow: none;
}
.tab-menu li .icon {
  width: 28px;
  height: auto;
  background-color: #c0c0c0;
  mask-size: cover;
}
.tab-menu li.ui-state-active .icon {
  background-color: #42ba64;
}
.tab-menu li.dog .icon {
  aspect-ratio: 28 / 24;
  mask-image: url("./images/icon_dog.png");
}
.tab-menu li.cat .icon {
  aspect-ratio: 28 / 29;
  mask-image: url("./images/icon_cat.png");
}

.tab-cont {
  padding: 0;
  border-top: 1px solid #42ba64;
}
.section1 > #banner-section > .banner_dog:not(.toggle-active),
.section1 > #banner-section > .banner_cat:not(.toggle-active) {
  display: none;
}

#tabs-dog,
#tabs-cat {
  display: none;
}

#tabs-dog.toggle-active,
#tabs-cat.toggle-active {
  display: block;
}

/* 추후 탭형으로 변경 시 사용 */
/* .insure-active {
  display: block;
} */
/* .insurance:not(.insure-active) {
  display: none;
} */

/* .section1 > .banner_dog,
.section1 > .banner_cat {
  display: none;
} */

/* .banner_dog:has(~ ul > li.dog.ui-tabs-active),
.banner_cat:has(~ ul > li.cat.ui-tabs-active) {
  display: block;
} */

.section1 {
  position: relative;
  background-color: #e8f9ff;
}
.section1 img {
  display: block;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
}

.section2 {
  padding: 125px 0 0;
  background-color: #f2f7f0;
}

.section2 h2 {
  font-weight: 500;
  font-size: 32px;
  text-align: center;
  color: #3b3b3b;
  line-height: 1.4;
}

.section2 h2 span {
  font-weight: 700;
  font-size: 46px;
  color: #047a44;
}

.section2 .list {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 70px 0 100px;
}

.section2 .list a {
  display: block;
  color: #666666;
  font-size: 21px;
  font-weight: 600;
  background-color: white;
  line-height: 2.6;
  padding: 0 30px;
  border-radius: 30px;
  box-shadow: 0 3px 8px 0 rgba(34, 68, 52, 0.15);
  border: 3px solid transparent;
}

.section2 .list a:hover {
  border: 3px solid #e8ffea;
  background-color: #007f41;
  color: white;
}
.list .button-active > a {
  border: 3px solid #e8ffea;
  background-color: #007f41;
  color: white;
}

.section2 .insurance-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 40px;
}

.section2 .insurance {
  /* max-width: 65.94%; */
  margin: 0 auto;
  padding-bottom: 125px;
}

.section2 .insurance a:has(img) {
  display: block;
  transition: 0.2s ease-in-out;
}
.section2 .insurance a:has(img):hover {
  transform: scale(1.08);
}

.section2 .insurance h3 {
  color: #3b3b3b;
  text-align: center;
  font-size: 21px;
  font-weight: bold;
  border-bottom: 2px solid #047a44;
  width: fit-content;
  line-height: 1.7;
  margin-left: auto;
  margin-right: auto;
}

.section2 .insurance ul {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.section2 .insurance.alone ul {
  display: flex;
  justify-content: center;
}

.section2 .insurance li {
  width: calc(50% - calc(15px / 2));
}

.popup-banner-container {
  font-family: Pretendard, sans-serif;
  display: none;
  position: fixed;
  width: 100%;
  height: 100%;
  z-index: 1001;
  left: 0;
  top: 0;
}
.popup-layer {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  z-index: 1001;
  background-color: rgba(0, 0, 0, 0.7);
  font-size: 0;
}
.popup-banner-content {
  width: 85%;
  max-width: 800px;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1002;
  border-radius: 14px;
  background: #fff;
  padding: 58px 60px 50px 56px;
  box-shadow: 0 0 22px 4px rgba(0, 0, 0, 0.25);
}
.popup-banner-content > a {
  position: absolute;
  right: 30px;
  top: 30px;
  width: 45px;
  height: 45px;
  display: block;
}
.popup-banner-content > a > img {
  width: 100%;
  height: 100%;
  display: block;
}
.popup-banner-content > .title {
  color: #047a44;
  font-weight: 700;
  font-size: 26px;
  line-height: 35px;
  text-align: left;
  margin-top: 0;
  letter-spacing: 0;
}
.popup-banner-content > .content {
  font-size: 17px;
  margin-top: 30px;
  color: #606060;
  line-height: 22px;
  letter-spacing: 0;
}
.popup-banner-content > .content p:not(:first-child) {
  margin-top: 22px;
}
.popup-banner-content > .footer {
  background: #f9f9f9;
  color: #606060;
  padding: 30px 37px;
  font-size: 16px;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 13px;
  margin-top: 42px;
  line-height: 16px;
  letter-spacing: -0.32px;
  border-radius: 14px;
}

.section3 {
  padding: 125px 0 103px;
  background-color: #f4f9fc;
}

.section3 h2 {
  font-weight: 500;
  font-size: 32px;
  text-align: center;
  color: #3b3b3b;
  line-height: 1.4;
}

.section3 h2 p {
  font-weight: 700;
  font-size: 46px;
}
.section3 h2 span {
  color: #2765a8;
}

.section3 .event-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 90px 40px 0;
}

.section3 .imgs {
  display: flex;
  gap: 28px;
}

.section3 .text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  color: #606060a6;
  margin-top: 60px;
  font-size: 15px;
  line-height: 20px;
}

.floating {
  max-width: 124px;
  position: fixed;
  right: 15px;
  bottom: 15px;
  z-index: 1000;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.floating button {
  border: none;
  background: none;
}
