@font-face {
  font-family: "notoSans400";
  src: url("../font/NotoSansJP-Regular.woff");
}
@font-face {
  font-family: "notoSans500";
  src: url("../font/NotoSansJP-Medium.woff");
}
@font-face {
  font-family: "NotoSans700";
  src: url("../font/NotoSansJP-Bold.woff");
}
@font-face {
  font-family: "zenKakuGothicNew400";
  src: url("../font/ZenKakuGothicNew-Regular.woff");
}
@font-face {
  font-family: "zenKakuGothicNew500";
  src: url("../font/ZenKakuGothicNew-Medium.woff");
}
@font-face {
  font-family: "zenKakuGothicNew700";
  src: url("../font/ZenKakuGothicNew-Bold.woff");
}
.department-detail {
  padding: 0;
}

.department-detail__inner {
  max-width: 950px;
  width: calc(100% - 40px);
  margin: 0 auto;
}

.department-detail__stepList {
  display: -ms-grid;
  display: grid;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
@media screen and (min-width: 768px) {
  .department-detail__stepList {
    grid-template-columns: repeat(auto-fit, 130px);
    gap: 12px 6px;
  }
}
@media screen and (max-width: 767px) {
  .department-detail__stepList {
    grid-template-columns: repeat(auto-fit, 90px);
    gap: 5px 2px;
  }
}

.department-detail__step {
  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;
  line-height: 1;
  text-align: center;
  font-family: notoSans500, sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 500;
  border-radius: 1000px;
  background-color: #E4E4E4;
}
.department-detail__step:nth-child(n+2) {
  position: relative;
}
.department-detail__step:nth-child(n+2):after {
  content: "";
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  border-style: solid;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 7px solid #555555;
  border-right: 0;
}
.department-detail__step.is-active {
  color: #fff;
  outline: 1px solid #fff;
  outline-offset: -4px;
  background-color: #064EA2;
}
@media screen and (min-width: 768px) {
  .department-detail__step {
    width: 125px;
    height: 125px;
    font-size: clamp(14px, 1.8vw, 18px);
  }
  .department-detail__step:nth-child(n+2):after {
    left: -8px;
  }
}
@media screen and (max-width: 767px) {
  .department-detail__step {
    width: 85px;
    height: 85px;
    font-size: 12px;
  }
  .department-detail__step:nth-child(n+2):after {
    left: -6px;
  }
}

.department-detail__link {
  display: block;
  place-content: center;
  width: 100%;
  height: 100%;
  border-radius: 1000px;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  outline: 1px solid #E4E4E4;
  outline-offset: -4px;
}
.department-detail__link:hover {
  color: #fff;
  outline: 1px solid #fff;
  outline-offset: -4px;
  background-color: #064EA2;
}

.department-detail__row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (min-width: 768px) {
  .department-detail__row {
    margin-top: 58px;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
  }
}
@media screen and (max-width: 767px) {
  .department-detail__row {
    margin-top: 10px;
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
  }
}

@media screen and (min-width: 768px) {
  .department-detail__description {
    max-width: 460px;
    width: 50%;
  }
}
@media screen and (max-width: 767px) {
  .department-detail__description {
    margin-top: 20px;
  }
}

.department-detail__heading {
  font-size: 20px;
  line-height: 2.5;
  font-family: notoSans700, sans-serif;
  white-space: nowrap;
}
@media screen and (max-width: 767px) {
  .department-detail__heading {
    text-align: center;
  }
}
.department-detail__heading span {
  margin: 5px 0;
  padding: 5px 10px;
  color: #fff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  background-color: #064EA2;
}

.department-detail__text {
  margin-top: 25px;
  font-family: notoSans400, sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
}
@media screen and (min-width: 768px) {
  .department-detail__text {
    line-height: 2.18;
  }
}
@media screen and (max-width: 767px) {
  .department-detail__text {
    line-height: 2;
  }
}

@media screen and (min-width: 768px) {
  .department-detail__imageWrap {
    max-width: 430px;
    width: 100%;
  }
}
@media screen and (max-width: 767px) {
  .department-detail__imageWrap {
    max-width: 280px;
    margin: 0 auto;
  }
}

.department-connection {
  padding: 50px 0;
}

.department-connection__inner {
  width: calc(100% - 40px);
  margin: 0 auto;
}
@media screen and (min-width: 768px) {
  .department-connection__inner {
    max-width: 950px;
  }
}
@media screen and (max-width: 767px) {
  .department-connection__inner {
    max-width: 620px;
  }
}

.department-connection__heading {
  font-family: zenKakuGothicNew700, sans-serif;
  font-family: "Zen Kaku Gothic New";
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .department-connection__heading {
    font-size: 25px;
  }
}
@media screen and (max-width: 767px) {
  .department-connection__heading {
    font-size: 23px;
    text-align: center;
  }
}
.department-connection__heading span {
  border-bottom: 2px dotted #064EA2;
}

.department-connection__list {
  margin: 40px auto 0;
}
@media screen and (min-width: 768px) {
  .department-connection__list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
@media screen and (max-width: 767px) {
  .department-connection__list {
    max-width: 430px;
  }
}

.department-connection__item {
  overflow: hidden;
  border: 1px solid #064EA2;
  border-radius: 10px;
}
@media screen and (min-width: 768px) {
  .department-connection__item {
    width: 47.5%;
  }
  .department-connection__item:nth-child(2n) {
    margin-left: 5%;
  }
  .department-connection__item:nth-child(n+3) {
    margin-top: 30px;
  }
}
@media screen and (max-width: 767px) {
  .department-connection__item:nth-child(n+2) {
    margin-top: 20px;
  }
}

.department-connection__itemTitle {
  line-height: 1.35;
  color: #fff;
  background-color: #064EA2;
}
@media screen and (min-width: 768px) {
  .department-connection__itemTitle {
    padding: 15px 30px;
    font-size: 14px;
  }
}
@media screen and (max-width: 767px) {
  .department-connection__itemTitle {
    padding: 10px 15px;
    font-size: 13px;
  }
}
.department-connection__itemTitle strong {
  font-size: 20px;
  font-family: notoSans700, sans-serif;
  font-family: "Noto Sans JP";
  font-weight: 700;
}

.department-connection__itemDesc {
  font-family: notoSans400, sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 400;
}
@media screen and (min-width: 768px) {
  .department-connection__itemDesc {
    padding: 20px 30px 30px;
  }
}
@media screen and (max-width: 767px) {
  .department-connection__itemDesc {
    padding: 20px;
  }
}

.department-connection__position {
  padding-bottom: 15px;
  font-size: 15px;
  line-height: 1.5;
  border-bottom: 1px solid #064EA2;
}

.department-connection__imageWrap {
  max-width: 350px;
  margin: 20px auto 0;
  padding-top: 55%;
  position: relative;
  overflow: hidden;
  border-radius: 10px;
}
.department-connection__imageWrap img {
  height: 100%;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}

.department-connection__itemText {
  line-height: 1.66;
}
@media screen and (min-width: 768px) {
  .department-connection__itemText {
    margin-top: 30px;
    font-size: 18px;
  }
}
@media screen and (max-width: 767px) {
  .department-connection__itemText {
    margin-top: 15px;
    font-size: 15px;
  }
}

@media screen and (min-width: 768px) {
  .department-other {
    padding: 50px 0;
  }
}
@media screen and (max-width: 767px) {
  .department-other {
    padding: 30px 0;
  }
}

.department-other__inner {
  max-width: 960px;
  width: calc(100% - 40px);
  margin: 0 auto;
}

.department-other__heading {
  font-family: zenKakuGothicNew700, sans-serif;
  font-family: "Zen Kaku Gothic New";
  font-optical-sizing: auto;
  font-style: normal;
  font-weight: 700;
}
@media screen and (min-width: 768px) {
  .department-other__heading {
    font-size: 25px;
  }
}
@media screen and (max-width: 767px) {
  .department-other__heading {
    font-size: 20px;
  }
}
.department-other__heading span {
  border-bottom: 2px dotted #064EA2;
}

.department-other__list {
  padding: 10px 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  overflow-x: auto;
}
@media screen and (min-width: 768px) {
  .department-other__list {
    margin-top: 40px;
  }
}
@media screen and (max-width: 767px) {
  .department-other__list {
    margin-top: 20px;
  }
}

.department-other__item {
  width: 128px;
}
.department-other__item:nth-child(n+2) {
  margin-left: 10px;
}

.department-other__anchor {
  min-height: 215px;
  padding: 8px 5px;
  display: block;
  position: relative;
  border-radius: 10px;
  border: 1px solid #064EA2;
  background-color: #064EA2;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
}
.department-other__anchor:after {
  content: "";
  position: absolute;
  bottom: 8px;
  left: 50%;
  pointer-events: none;
  border-style: solid;
  border-top: 5px solid transparent;
  border-bottom: 5px solid transparent;
  border-left: 6px solid #fff;
  border-right: 0;
}
.department-other__anchor:hover {
  border: 1px solid #064EA2;
  background-color: #fff;
}
.department-other__anchor:hover:after {
  border-left: 6px solid #064EA2;
}
.department-other__anchor:hover .department-other__position {
  color: #064EA2;
}

.department-other__illustWrap {
  width: 117px;
  height: 117px;
  position: relative;
  border-radius: 1000px;
  background-color: #FFF7F4;
}

.department-other__illust {
  width: 100%;
  display: inline-block;
  position: absolute;
  top: 40%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
}
.department-other__illust.--size1 {
  max-width: 115px;
}
.department-other__illust.--size2 {
  max-width: 95px;
}

.department-other__position {
  margin-top: 8px;
  min-height: 54px;
  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;
  line-height: 1;
  text-align: center;
  font-family: notoSans700, sans-serif;
  color: #fff;
}