:root {
  --gray1: #f2f2f2;
  --gray2: #e6e6e6;
  --gray3: #dadada;
  --gray4: #bfbfbf;
  --gray5: #999999;
  --gray6: #7e7e7e;

  --black0: #515151;
  --black1: #424242;
  --black2: #343434;
  --black3: #222222;
  --black4: #171717;

  /* logo red Color */
  --red0: #fbc3c5;
  --red1: #f2666d;
  --red2: #fa1a26;

  --blue0: #f1f4fb;
  --blue1: #8393d0;
  --blue2: #3b51a1;

  /* Yellow Color */
  --yellow1: #f7d420;

  /* Point Color */
  --red: #d61f06;
  --green: #14ab38;
  --blue: #334fa7;
}

html,
body {
  width: 100%;
  -webkit-text-size-adjust: none;
  /* overflow-x: hidden; */
  /* overflow-y: auto; */
}

body,
div,
ul,
ol,
li,
dl,
dt,
dd,
h1,
h2,
h3,
h4,
h5,
form,
button,
figure,
p {
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Lexend",
    "Apple SD Gothic Neo", "Pretendard Variable", "Pretendard", "Noto Sans KR",
    "Montserrat", "Noto Serif KR", "Nanum Brush Script", "Segoe UI",
    "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol",
    sans-serif, serif, cursive;
  font-size: 16px;
  color: #474747;
  line-height: 1.4;
  font-weight: 400;
  background-color: #fff;
  word-break: keep-all;
  word-wrap: break-word;
}

img,
fieldset,
iframe {
  border: 0 none;
  padding: 0;
}

img {
  vertical-align: middle;
}

input,
select,
button {
  font-family: -apple-system, BlinkMacSystemFont, "Apple SD Gothic Neo",
    "Pretendard Variable", "Pretendard", "Montserrat", "Noto Sans KR",
    "Segoe UI", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol", sans-serif, serif;
  vertical-align: middle;
}

select,
input {
  padding: 0.3125rem 1rem;
}

address {
  font-style: normal;
}

label,
button {
  cursor: pointer;
  vertical-align: middle;
}

button {
  border: none;
  background: none;
}

table {
  /* width: 100%; */
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 1rem;
}

a {
  text-decoration: none;
  color: #424242;
  /* width: 100%; */
  /* height: 100%; */
}

a:hover {
  text-decoration: none;
}

th {
  text-align: center;
}

ul,
li {
  list-style: none;
}

* {
  box-sizing: border-box;
}

.wrapper {
  position: relative;
  width: 100%;
  /* overflow-y: hidden; */
}

.logo,
.logo_1 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo img {
  width: 15.125rem;
  transition: all 0.3s ease-in;
}

.logo_1,
.logo h1 {
  display: none;
}

.navbar_container {
  width: 100%;
  background: rgba(255, 255, 255, 1);
  max-height: 120px;
  /* padding: 0 20px; */
  border-bottom: 1px solid rgba(0, 0, 0, 0.15);
  position: fixed;
  top: 0;
  z-index: 100;
  transition: all 0.3s;
}

.navbar {
  width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s;
  height: 80px;
  /* border: 1px solid red; */
}

.menu {
  display: flex;
  /* gap: 10px; */
}

.menu > li {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px 50px;
  cursor: pointer;
  transition: all 0.5s;
}

.menu > li.no-padding {
  padding-right: 0;
}

.menu-item-has-children a {
  font-family: Pretendard;
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--black2);
  transition: all 0.3s ease;
}

.menu li a:hover,
.menu li a.nover {
  color: var(--red2);
}

.menu li:hover .sub-menu {
  transform: translateY(0);
  opacity: 0.9;
  visibility: visible;
}

.menu > li.menu-item-has-children.active::after {
  transform: rotate(180deg);
}

.sub-menu {
  width: 160px;
  background: white;
  position: absolute;
  top: 73px;
  text-align: center;
  padding: 10px 20px;
  border-top: 3px solid var(--red2);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
  transform: translateY(10px);
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s ease;
}

.sub-menu a {
  /* text-transform: capitalize; */
  font-size: 0.9375rem;
  font-weight: 400;
  color: #424242;
  display: block;
}

.sub-menu li {
  border-bottom: 1px solid #ccc;
  padding: 8px 0;
  width: 100%;
}

.sub-menu li:last-child {
  margin-bottom: 10px;
}

.sub-2nd-inline li a {
  margin-top: 4px;
  font-size: 0.9375rem;
  font-weight: 400;
  color: var(--gray6);
  padding-left: 0;
  line-height: 0.9;
}

.sub-2nd-inline li {
  margin: 0; /* 불필요한 여백 제거 */
  border-bottom: none; /* 경계선 제거 */
  margin-bottom: 0 !important;
  padding: 2px 0;
}

/* 토글 버튼 */
.toggle_btn {
  width: 25px;
  height: 40px;
  position: relative;
  cursor: pointer;
  display: none;
}

.toggle_btn span {
  display: block;
  content: "";
  background: #222;
  width: 18px;
  height: 2px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.toggle_btn span::before,
.toggle_btn span::after {
  content: "";
  background: #222;
  position: absolute;
  width: 25px;
  height: 2px;
}

.toggle_btn span::before {
  top: -8px;
}

.toggle_btn span::after {
  top: 8px;
}

.toggle_close {
  width: 35px;
  height: 35px;
  /* background-color: #ffffff; */
  margin: 0 0 15px 15px;
  display: none;
  justify-content: center;
  align-items: center;
  font-size: 24px;
  color: #fff;
  cursor: pointer;
}

.menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.5);
  height: 100%;
  width: 100%;
  z-index: 999;
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s ease;
}

.menu-overlay.active {
  visibility: visible;
  opacity: 1;
}

/* Language */
.language {
  display: flex;
  align-items: center;
  margin-left: 30px;
}

.language > li {
  font-size: 1.875rem;
  font-weight: 400;
  color: var(--black3);
  position: relative;
  padding-right: 25px;
  cursor: pointer;
  /* border: 1px solid red; */
}

.language > li::after {
  content: "";
  position: absolute;
  top: 14px;
  right: 12px;
  width: 1px;
  height: 13px;
  background-color: var(--gray5);
}

.language > li:last-child:after {
  display: none;
}
.language > li:last-child {
  padding-right: 0;
}

.language > li span {
  font-size: 1.625rem;
  font-weight: 400;
  color: var(--black3);
}

/* Visual */
#visual {
  width: 100%;
  /* height: 700px; */
  position: relative;
  margin-top: 80px;
  margin-bottom: 4.375rem;
}

.visual-01 {
  width: 100%;
  height: 51.875rem;
  position: relative;
  background-image: url("/images/visual01.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  isolation: isolate;
  transition: all 0.2s ease-in;
  padding: 6.25rem;
}

.visual-02 {
  width: 100%;
  height: 51.875rem;
  position: relative;
  background-image: url("/images/visual02.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  isolation: isolate;
  transition: all 0.2s ease-in;
  padding: 6.25rem;
}

.visual-03 {
  width: 100%;
  height: 51.875rem;
  position: relative;
  background-image: url("/images/visual03.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  isolation: isolate;
  transition: all 0.2s ease-in;
  padding: 6.25rem;
}

.visual-01::after,
.visual-02::after,
.visual-03::after {
  content: "";
  position: absolute;
  background-color: var(--black4);
  z-index: -1;
  inset: 0;
  opacity: 0;
}

.visual-01 .visual-text {
  display: inline-block;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
}

.visual-02 .visual-text {
  display: inline-block;
  position: relative;
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -50%);
}

.visual-03 .visual-text {
  display: inline-block;
  position: relative;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  transition: all 0.2s ease-in;
}

.visual-text h2 {
  font-size: 4.5rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.9px;
  text-shadow: 1px 1px var(--black2);
  transition: all 0.2s ease-in;
}

.visual-text h3 {
  font-size: 3.75rem;
  color: #fff;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: -0.9px;
}

/* Business */
#business {
  width: 1280px;
  margin: 4.375rem auto;
}

.business-title h2 {
  font-size: 3.75rem;
  font-weight: 500;
  color: var(--black4);
  line-height: 1.2;
  text-align: center;
}

.business-title p {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--gray6);
  text-align: center;
  margin-bottom: 3.125rem;
}

.business-list {
  width: 100%;
  display: grid;
  gap: 0.8125rem;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: minmax(auto, 460px);
}

.business-item {
  display: inline-block;
  position: relative;
  /* width: 310px; */
  /* height: 480px; */
  padding: 1.5rem;
  overflow: hidden;
  flex: 1;
}

.business-item a {
  width: 100%;
  height: 100%;
  display: inline-block;
}

.bg-spacer {
  background: linear-gradient(#555555 20%, transparent),
    url("/images/main-business-spacer.jpg") no-repeat center;
  background-size: 100%;
  overflow: hidden;
  transition: all 0.3s ease;
  -moz-transition: background-size 0.3s ease;
  -web-kit-transition: background-size 0.3s ease;
}

.bg-nut {
  background: linear-gradient(#555555 20%, transparent),
    url("/images/main-business-nut.jpg") no-repeat center;
  background-size: 100%;
  transition: all 0.3s ease;
  -moz-transition: background-size 0.3s ease;
  -web-kit-transition: background-size 0.3s ease;
}

.bg-cap {
  background: linear-gradient(#555555 20%, transparent),
    url("/images/main-business-cap.jpg") no-repeat center;
  background-size: 100%;
  transition: all 0.3s ease;
  -moz-transition: background-size 0.3s ease;
  -web-kit-transition: background-size 0.3s ease;
}

.bg-prop {
  background: linear-gradient(#555555 20%, transparent),
    url("/images/main-business-prop.jpg") no-repeat center;
  background-size: 100%;
  transition: all 0.3s ease;
  -moz-transition: background-size 0.3s ease;
  -web-kit-transition: background-size 0.3s ease;
}

.bg-pipe {
  background: linear-gradient(#555555 20%, transparent),
    url("/images/main-business-pipe.jpg") no-repeat center;
  background-size: 100%;
  transition: all 0.3s ease;
  -moz-transition: background-size 0.3s ease;
  -web-kit-transition: background-size 0.3s ease;
}

.bg-filter {
  background: linear-gradient(#555555 20%, transparent),
    url("/images/main-business-filter.jpg") no-repeat center;
  background-size: 100%;
  transition: all 0.3s ease;
  -moz-transition: background-size 0.3s ease;
  -web-kit-transition: background-size 0.3s ease;
}

.bg-as {
  background: linear-gradient(#555555 20%, transparent),
    url("/images/main-business-as.jpg") no-repeat center;
  background-size: 100%;
  transition: all 0.3s ease;
  -moz-transition: background-size 0.3s ease;
  -web-kit-transition: background-size 0.3s ease;
}

.bg-spacer:hover {
  background: linear-gradient(#3b51a1 20%, transparent),
    url("/images/main-business-spacer.jpg") no-repeat center;
  background-size: 105%;
  cursor: pointer;
}

.bg-nut:hover {
  background: linear-gradient(#3b51a1 20%, transparent),
    url("/images/main-business-nut.jpg") no-repeat center;
  background-size: 105%;
  cursor: pointer;
}

.bg-cap:hover {
  background: linear-gradient(#3b51a1 20%, transparent),
    url("/images/main-business-cap.jpg") no-repeat center;
  background-size: 105%;
  cursor: pointer;
}

.bg-prop:hover {
  background: linear-gradient(#3b51a1 20%, transparent),
    url("/images/main-business-prop.jpg") no-repeat center;
  background-size: 105%;
  cursor: pointer;
}

.bg-pipe:hover {
  background: linear-gradient(#3b51a1 20%, transparent),
    url("/images/main-business-pipe.jpg") no-repeat center;
  background-size: 105%;
  cursor: pointer;
}

.bg-filter:hover {
  background: linear-gradient(#3b51a1 20%, transparent),
    url("/images/main-business-filter.jpg") no-repeat center;
  background-size: 105%;
  cursor: pointer;
}

.bg-as:hover {
  background: linear-gradient(#3b51a1 20%, transparent),
    url("/images/main-business-as.jpg") no-repeat center;
  background-size: 105%;
  cursor: pointer;
}

.business-item h3 {
  font-size: 1.5rem;
  color: #fff;
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.business-item p {
  font-size: 1rem;
  color: var(--gray2);
  font-weight: 400;
  line-height: 1.2;
  text-align: left;
}

/* 회사소개 */

#company {
  width: 100%;
  margin-bottom: 4.375rem;
}

.company-text h2 {
  font-size: 3.5rem;
  font-weight: 700;
  color: var(--black4);
  line-height: 1.2;
  text-align: center;
}

.company-text p {
  font-size: 1.125rem;
  font-weight: 300;
  color: var(--gray6);
  text-align: center;
  margin-bottom: 3.125rem;
}

.company-item {
  width: 1280px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 300px;
  margin: auto;
}

.company a {
  height: 100%;
  background-color: #f1f4fb;
  border-radius: 10px;
  padding: 2.8125rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  transition: all 0.2s ease-in;
}

.company a:hover {
  background-color: var(--blue2);
  cursor: pointer;
}
.company a:hover .company-icon span {
  color: var(--green2);
  transform: scale(1.2);
}

.company:hover h3,
.company:hover p {
  color: #fff;
}

.company-icon {
  min-width: 5.3125rem;
  min-height: 5.3125rem;
  background-color: #fff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.company-icon span {
  font-size: 3rem;
  color: var(--black1);
  transition: all 0.2s ease-in-out;
}

.company h3 {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--black4);
}

/* 공지사항 */
#board {
  width: 1280px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  margin: 0 auto 50px;
  /* margin: 170px auto 50px; */
}

.board-notice {
  /* width: 640px; */
  border: 1px solid var(--gray3);
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  flex: 1;
}

.board-title {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.board-title h2 {
  font-size: 2rem;
  font-weight: 600;
  color: var(--black3);
}

.board-more {
  width: 30px;
  height: 30px;
  border: 1px solid var(--gray3);
  text-align: center;
  line-height: 24px;
  font-size: 1.5rem;
  font-weight: 300;
  cursor: pointer;
}

.board-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.notice {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 50px;
}

.notice p {
  font-size: 1rem;
  color: var(--black2);
  font-weight: 400;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
  display: inline-block;
  flex: 1;
}

.notice span {
  width: 90px;
  font-size: 0.875rem;
  color: var(--gray4);
  font-weight: 400;
}

.notice .noti {
  width: 50px;
  height: 25px;
  border: 1px solid var(--blue2);
  display: inline-block;
  text-align: center;
  border-radius: 25px;
  font-size: 0.875rem;
  line-height: 25px;
  color: var(--blue3);
  font-style: normal;
  font-weight: 500;
  margin-right: 10px;
}

.board-tel {
  border: 1px solid var(--gray3);
  padding: 30px;
  flex: 1;
  position: relative;
}

.board-tel h2 {
  font-size: 3rem;
  font-weight: 500;
  line-height: 1.2;
  color: var(--red2);
}

.board-tel h3 {
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 500;
  color: var(--black3);
  margin: 10px 0;
}

.board-tel dt {
  font-size: 0.9375rem;
  color: #808080;
  font-weight: 600;
  line-height: 1.6;
}

.board-tel dl {
  margin: 10px 0;
}

.board-tel dd {
  font-size: 0.9375rem;
  color: #222222;
  font-weight: 600;
  line-height: 1.6;
  margin: -24px 0 0 70px;
}

.board-tel li {
  font-size: 0.9375rem;
  color: #808080;
  font-weight: 500;
  line-height: 1.4;
}

.board-tel span {
  position: absolute;
  right: 40px;
  top: 90px;
  font-size: 6.25rem;
  color: var(--gray4);
  transition: all 300ms ease-in;
}

/* 푸터 */
#footer {
  width: 100%;
  background-color: var(--black4);
  padding: 60px 0;
}

.footer_company {
  width: 1280px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--gray5);
  padding-bottom: 1.5rem;
  margin: auto;
  margin-bottom: 1.5rem;
}

.footer_map {
  width: 100%;
  display: flex;
  /* justify-content: center; */
  align-items: center;
}

.footer_map li {
  position: relative;
}

.footer_map li a {
  color: white;
  font-weight: 400;
  padding: 0 15px;
}

.footer_map li::after {
  content: "";
  width: 1px;
  height: 12px;
  background: white;
  display: inline-block;
  position: absolute;
  top: 6px;
  left: 0px;
}

.footer_map li:first-child:after {
  display: none;
}

.footer_map li:first-child {
  padding-left: 0;
}

.footer-container {
  width: 1280px;
  margin: auto;
  display: flex;
  gap: 50px;
}

.footer-logo img {
  width: 15.125rem;
  filter: grayscale(100%);
  transition: all 1.5s ease-in;
}

.footer address ul {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.footer address ul li {
  font-size: 0.875rem;
  /* line-height: 25px; */
  font-weight: 400;
  color: var(--gray4);
  padding-right: 20px;
  position: relative;
}

.footer address ul li::after {
  content: "";
  position: absolute;
  top: 4px;
  right: 9px;
  width: 1px;
  height: 10px;
  background-color: var(--gray4);
}

.footer address ul li:last-child:after {
  display: none;
}

.footer .footer-copy {
  font-size: 0.875rem;
  font-weight: 400;
  color: var(--gray6);
  /* margin-top: 10px; */
}

.footer-text {
  flex: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

.footer-sns {
  display: flex;
  align-items: center;
  gap: 5px;
}

.footer-sns li i {
  display: inline-block;
  width: 31px;
  height: 31px;
  border-radius: 50%;
  color: #fff;
  line-height: 31px !important;
  text-align: center;
  font-size: 1.125rem;
}

.xi-facebook {
  background-color: #3a5ca9;
}

.xi-youtube-play {
  background-color: #de1b1b;
}

.xi-instagram {
  background: linear-gradient(180deg, #7444cb, #f34c57, #ffca54);
  font-size: 1.25rem !important;
}

.xi-kakaotalk {
  background-color: #f9e000;
  color: #3b1c1c !important;
  font-size: 1.5rem !important;
}

/* Swiper */

.swiper-button-next:after,
.swiper-rtl .swiper-button-prev:after {
  content: "next";
  color: #bbbbbb;
}

.swiper-button-prev:after,
.swiper-rtl .swiper-button-next:after {
  content: "prev";
  color: #bbbbbb;
}

@media screen and (max-width: 1280px) {
  .navbar {
    width: 100%;
    padding: 0 20px;
  }

  #business {
    width: 100%;
  }

  .company-item {
    width: 100%;
    padding: 10px;
  }

  .business-item {
    width: 100%;
    /* height: 400px; */
  }

  #board {
    width: 100%;
    margin: 0 auto 40px;
    padding: 10px;
  }

  .board-notice {
    flex: 1;
  }

  .board-list span {
    display: none;
  }

  #photo {
    width: 100%;
    padding: 10px;
  }

  .photo-img img {
    width: 100%;
  }

  .photo-container {
    width: 100%;
    padding: 20px;
  }

  #banner {
    width: 100%;
    padding: 10px;
  }

  #global {
    width: 100%;
    padding: 1rem;
  }

  #footer {
    padding: 1.875rem 1rem;
  }

  .footer_company {
    width: 100%;
  }

  .footer-container {
    width: 100%;
    padding: 10px;
  }
}

@media screen and (max-width: 1190px) {
  .navbar_container {
    height: 50px;
    background: rgba(255, 255, 255, 1);
  }

  .navbar {
    padding: 0 20px;
    height: 50px;
    width: 100%;
  }

  .logo img {
    width: 12rem;
  }

  .menu {
    position: fixed;
    right: -280px;
    top: 0;
    width: 280px;
    height: 100%;
    overflow-y: auto;
    background-color: var(--blue2);
    display: block;
    z-index: 1000;
    padding: 15px 0;
    transition: all 0.5s ease;
  }

  .menu.open {
    visibility: visible;
    right: 0px;
  }

  .menu > li {
    padding: 15px 20px;
    border-bottom: 1px solid var(--gray4);
    position: relative;
    flex-direction: column;
    align-items: flex-start;
    flex: 1;
  }

  .menu > li:hover::after {
    color: var(--blue1);
  }

  .menu > li::after {
    content: "\e943";
    color: #f4f4f4;
    font-family: "xeicon";
    transition: 0.4s;
    position: absolute;
    top: 15px;
    right: 20px;
    cursor: pointer;
    pointer-events: none;
  }

  .menu a {
    font-size: 1.125rem;
    color: #fff;
    width: 100%;
    font-weight: 400;
  }

  .menu li a:hover,
  .menu li a.nover {
    color: var(--blue1);
  }

  .toggle_btn {
    display: block;
  }

  .toggle_close {
    display: flex;
  }

  .language {
    justify-content: center;
    align-items: center;
    line-height: 40px;
    text-align: center;
    margin: 20px auto;
    gap: 10px;
  }

  .language > li {
    width: 70px;
    height: 40px;
    border-radius: 40px;
    background-color: var(--blue1);
    padding-right: 0;
  }

  .language > li::after {
    display: none;
  }

  .language > li span {
    display: inline;
    line-height: 40px;
  }

  .sub-menu {
    position: relative;
    opacity: 1;
    visibility: visible;
    border: none;
    width: 100%;
    top: 0px;
    text-align: left;
    box-shadow: none;
    transform: translateY(0px);
    background: transparent;
    padding: 0;
    transition: none;
    max-height: 0;
    margin-top: 10px;
    overflow: hidden;
    transition: all 0.5s ease;
  }

  .sub-menu > li > a {
    color: var(--gray2);
    font-size: 0.9375rem;
    font-weight: 400;
    display: block;
  }

  .sub-menu li {
    /* border-bottom: 1px solid var(--gray4); */
  }

  .sub-menu > li > a:hover {
    color: var(--blue1);
    /* font-weight: 400; */
  }

  .sub-2nd-inline li a {
    padding-left: 1rem;
    color: var(--gray4);
    line-height: 1;
  }

  #visual {
    margin-top: 0px;
    margin-bottom: 3.125rem;
  }

  .business-list {
    grid-auto-rows: minmax(auto, 380px);
  }

  #board {
    grid-template-columns: repeat(1, 1fr);
  }

  .board-notice {
    width: 100%;
  }
}

@media screen and (max-width: 1080px) {
  #board {
    flex-direction: column;
  }

  .board-notice {
    width: 100%;
  }

  .board-banner img {
    height: auto;
  }

  .notice p {
    width: 100%;
  }

  .banner {
    min-width: 230px;
  }
}

@media screen and (max-width: 979px) {
  .visual-01 .visual-text,
  .visual-02 .visual-text,
  .visual-03 .visual-text {
    text-align: center;
    top: 52%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .visual-text br {
    display: none;
  }

  .business-list {
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(auto, 360px);
  }

  .company-item {
    grid-template-columns: repeat(3, 1fr);
  }

  .banner {
    flex-direction: column;
    text-align: center;
  }
}

@media screen and (max-width: 885px) {
  .edu-list {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
    grid-auto-rows: minmax(120px, auto);
  }

  .footer_map {
    justify-content: center;
  }

  .footer-container {
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 20px;
  }

  .footer-text {
    text-align: center;
    flex-direction: column;
    gap: 20px;
    justify-content: center;
    align-items: center;
  }

  .footer address ul {
    justify-content: center;
  }
}

@media screen and (max-width: 768px) {
  html,
  body {
    font-size: 15px;
  }

  .visual-01,
  .visual-02,
  .visual-03 {
    height: 31.25rem;
  }

  .visual-01 .visual-text,
  .visual-02 .visual-text,
  .visual-03 .visual-text {
    text-align: center;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .visual-text h2 {
    font-size: 2.5rem;
  }

  .visual-text h3 {
    display: none;
  }

  .business-list {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: minmax(auto, 340px);
  }

  .company-item {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 250px;
    gap: 10px;
  }

  #board {
    width: 100%;
  }
}

@media screen and (max-width: 560px) {
  .notice p {
    width: 300px;
  }
}

@media screen and (max-width: 499px) {
  html,
  body {
    font-size: 14px;
  }

  .business-list {
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: minmax(auto, 380px);
  }

  .company-item {
    grid-template-columns: repeat(1, 1fr);
    grid-auto-rows: 220px;
    gap: 10px;
  }

  .company a {
    padding: 1.5rem;
  }

  .board-tel span {
    display: none;
  }
}

@media screen and (max-width: 370px) {
  .notice p {
    width: 250px;
  }
  .ce-title p {
    display: none;
  }
}

[data-scroll] {
  opacity: 0;
  will-change: transform, scale, opacity;
  transform: translateY(10rem) scale(0.93);
  transition: all 1s ease-out;
}

[data-scroll="in"] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

[data-scroll="out"] {
  opacity: 0;
}
