.department__header {
  position: relative;
  background-image: url(../img/department-bg.jpg);
  background-size: cover;
  height: 560px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-bottom: 80px;
}
@media only screen and (max-width: 430px) {
  .department__header {
    height: 260px;
  }
}
.department__header p {
  max-width: 220px;
  width: 30%;
  position: relative;
}
.department__header p::before {
  position: absolute;
  left: -430px;
  top: -20px;
  content: "";
  z-index: 10;
  background-image: url(../img/department-company.png);
  width: 430px;
  height: 106px;
  background-size: cover;
}
@media only screen and (max-width: 430px) {
  .department__header p::before {
    left: -100px;
    top: -40px;
    width: 200px;
    height: 49px;
  }
}
.department__link {
  position: relative;
}
.department__link__inner {
  position: absolute;
  top: -200px;
  left: 50%;
  -webkit-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 90vw;
  max-width: 860px;
  aspect-ratio: 860/520;
  background-image: url(../img/department-link.png);
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center center;
}
@media only screen and (max-width: 430px) {
  .department__link__inner {
    top: -140px;
  }
}
.department__link__inner p {
  width: 28%;
}
.department__link__inner__btn1, .department__link__inner__btn2, .department__link__inner__btn3, .department__link__inner__btn4 {
  opacity: 0;
  -webkit-transform: translateY(20px);
          transform: translateY(20px);
  -webkit-transition: all 0.6s ease;
  transition: all 0.6s ease;
  cursor: pointer;
}
.department__link__inner__btn1:hover, .department__link__inner__btn2:hover, .department__link__inner__btn3:hover, .department__link__inner__btn4:hover {
  -webkit-transform: translateY(0) scale(1.08);
          transform: translateY(0) scale(1.08);
}
.department__link__inner__btn--show {
  opacity: 1;
  -webkit-transform: translateY(0);
          transform: translateY(0);
}
.department__link__inner__btn1 {
  position: absolute;
  left: 2.5%;
  top: 5%;
}
.department__link__inner__btn2 {
  position: absolute;
  right: -1.5%;
  top: 5%;
}
.department__link__inner__btn3 {
  position: absolute;
  left: 20%;
  bottom: -2%;
}
.department__link__inner__btn4 {
  position: absolute;
  right: 16%;
  bottom: -2%;
}
.department .modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.6);
  z-index: 999;
}
.department .modal__content {
  position: absolute;
  top: 49%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: var(--color-white);
  padding: 80px 20px 40px 40px;
  width: 90%;
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  max-width: 760px;
  border-radius: 16px;
}
@media only screen and (max-width: 430px) {
  .department .modal__content {
    padding: 40px 0 20px 20px;
  }
}
.department .modal__content__inner {
  padding-right: 20px;
  max-height: 80vh;
  overflow-y: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 40px;
}
@media only screen and (max-width: 430px) {
  .department .modal__content__inner {
    row-gap: 20px;
  }
}
.department .modal__content__inner__header {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 40px;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
@media only screen and (max-width: 430px) {
  .department .modal__content__inner__header {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    gap: 20px;
  }
}
.department .modal__content__inner__header__left p {
  width: 208px;
}
@media only screen and (max-width: 430px) {
  .department .modal__content__inner__header__left p {
    width: 160px;
  }
}
.department .modal__content__inner__header__right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 40px;
  width: 100%;
}
.department .modal__content__inner__header__right ul {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 12px;
}
.department .modal__content__inner__header__right ul li {
  background-color: var(--color-gray-light);
  width: calc(50% - 10px);
  -webkit-box-sizing: border-box;
          box-sizing: border-box;
  text-align: center;
  font-size: 18px;
  letter-spacing: 0.05em;
  line-height: 1.8;
}
@media only screen and (max-width: 768px) {
  .department .modal__content__inner__header__right ul li {
    font-size: 17px;
  }
}
@media only screen and (max-width: 430px) {
  .department .modal__content__inner__header__right ul li {
    font-size: 16px;
    line-height: 1.8;
  }
}
.department .modal__content__inner__header__right ul li {
  font-weight: 600;
  border-radius: 8px;
  padding: 4px 8px;
  white-space: nowrap;
}
.department .modal__content__inner__text {
  font-size: 18px;
  letter-spacing: 0.05em;
  line-height: 1.8;
}
@media only screen and (max-width: 768px) {
  .department .modal__content__inner__text {
    font-size: 17px;
  }
}
@media only screen and (max-width: 430px) {
  .department .modal__content__inner__text {
    font-size: 16px;
    line-height: 1.8;
  }
}
.department .modal__content__inner__info__title {
  font-size: 28px;
  line-height: 1.8;
}
@media only screen and (max-width: 768px) {
  .department .modal__content__inner__info__title {
    font-size: 24px;
  }
}
@media only screen and (max-width: 430px) {
  .department .modal__content__inner__info__title {
    font-size: 20px;
  }
}
.department .modal__content__inner__info__title {
  font-weight: 600;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.department .modal__content__inner__info__content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-column-gap: 40px;
     -moz-column-gap: 40px;
          column-gap: 40px;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: flex-end;
  margin-bottom: 40px;
}
.department .modal__content__inner__info__content:last-child {
  margin-bottom: 0px;
}
@media only screen and (max-width: 430px) {
  .department .modal__content__inner__info__content {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }
}
.department .modal__content__inner__info__content__left a {
  display: block;
  width: 180px;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.department .modal__content__inner__info__content__left a:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}
.department .modal__content__inner__info__content__right__title {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  row-gap: 16px;
  row-gap: 16px;
  width: 300px;
  border-bottom: solid 1px var(--color-black);
  padding-bottom: 16px;
  margin-bottom: 16px;
}
.department .modal__content__inner__info__content__right__title p:nth-of-type(1) {
  font-size: 24px;
  line-height: 1;
}
@media only screen and (max-width: 768px) {
  .department .modal__content__inner__info__content__right__title p:nth-of-type(1) {
    font-size: 20px;
  }
}
@media only screen and (max-width: 430px) {
  .department .modal__content__inner__info__content__right__title p:nth-of-type(1) {
    font-size: 18px;
  }
}
.department .modal__content__inner__info__content__right__title p:nth-of-type(1) {
  font-weight: 600;
  letter-spacing: 0.05em;
}
.department .modal__content__inner__info__content__right__title p:nth-of-type(2) {
  font-size: 16px;
  letter-spacing: 0.05em;
  line-height: 1.7;
}
@media only screen and (max-width: 768px) {
  .department .modal__content__inner__info__content__right__title p:nth-of-type(2) {
    font-size: 15px;
  }
}
@media only screen and (max-width: 430px) {
  .department .modal__content__inner__info__content__right__title p:nth-of-type(2) {
    font-size: 14px;
  }
}
.department .modal__content__inner__info__content__right__icon p {
  display: inline-block;
  border-radius: 4px;
  font-size: 20px;
  letter-spacing: 0.1em;
  line-height: 1;
}
@media only screen and (max-width: 768px) {
  .department .modal__content__inner__info__content__right__icon p {
    font-size: 18px;
    letter-spacing: 0.1em;
  }
}
@media only screen and (max-width: 430px) {
  .department .modal__content__inner__info__content__right__icon p {
    font-size: 18px;
    letter-spacing: 0;
  }
}
.department .modal__content__inner__info__content__right__icon p {
  padding: 10px;
  -webkit-transform: rotate(-5deg);
          transform: rotate(-5deg);
}
.department .modal__content__inner__info__content__right__icon p.ic-sogo {
  background-color: var(--color-yellow-green);
}
.department .modal__content__inner__info__content__right__icon p.ic-art {
  background-color: var(--color-perple);
}
.department .modal__close {
  position: absolute;
  right: 16px;
  top: 16px;
  background: none;
  border: none;
  cursor: pointer;
  max-width: 36px;
  margin: 0;
  padding: 0;
}
@media only screen and (max-width: 430px) {
  .department .modal__close {
    max-width: 24px;
  }
}
.department__container {
  padding-top: 400px;
  width: 1024px;
  margin: 0 auto;
}
@media only screen and (max-width: 1024px) {
  .department__container {
    width: 90%;
  }
}
@media only screen and (max-width: 430px) {
  .department__container {
    padding-top: 27%;
  }
}