@font-face {
  font-family: "Hiragino Sans";
  src: local(HiraginoSans-W6);
  font-weight: 600;
}
.sub-title {
  position: relative;
  text-align: left;
}
.sub-title h1 {
  line-height: 150%;
}
.sub-title .under {
  color: #f2f2f2;
  font-size: 60px !important;
  font-family: "kozuka-gothic-pr6n", sans-serif;
  font-weight: 400;
  font-style: normal;
  top: 0;
}
.sub-title .up {
  font-family: "kozuka-mincho-pr6n", serif;
  font-weight: 700;
  font-style: normal;
  font-size: 30px !important;
  position: absolute;
  top: 60px !important;
  left: 40px !important;
}

.main-box {
  margin-top: 50px;
}

.fo-menu-box {
  display: flex;
  background-color: #c7c7c7;
  justify-content: center;
  align-items: center;
  padding: 0.5% 5%;
}
.fo-menu-box .fo {
  width: 15%;
  text-align: center;
  border-right: solid 0.1em white;
}
.fo-menu-box .fo a {
  font-size: max(0.9vw, 11px);
  padding: 10% 0;
}
.fo-menu-box .fo:nth-child(1) {
  border-left: solid 0.1em white;
}

section.company-title {
  width: 1000px;
  max-width: 80%;
  margin: 0% auto 40px auto;
  padding-top: 5%;
}
section.company-title h1 {
  letter-spacing: 0.03em;
  font-size: 30px;
  border-bottom: solid 0.2em #d60011;
  font-family: "MS PGothic", "Hiragino Kaku Gothic StdN", sans-serif;
  color: #464646;
  padding: 0 10% 1% 10%;
  padding: 0 0 20px 0;
  width: 100%;
  margin: 0 auto;
  font-family: "Hiragino Sans";
  line-height: 1.5em;
}

.link-box {
  display: flex;
  justify-content: center;
  text-align: left;
  margin: 10% 5%;
}
.link-box h5 {
  background: #d60011;
  background: linear-gradient(0deg, #af1c1c 0%, rgb(210, 0, 5) 100%);
  padding: 4% 5%;
  font-size: max(1.2vw, 13px);
  text-align: center;
  color: white;
}
.link-box a {
  margin: 3% auto;
  font-size: max(1.2vw, 13px);
}
.link-box a:nth-of-type(1) {
  margin-top: 10%;
}
.link-box .link-right {
  width: 50%;
  padding: 0 10%;
}
.link-box .link-left {
  width: 50%;
  padding: 0 10%;
}

.recruit-box .link-box {
  margin: 10% 0;
}

/*******************************
nav
********************************/
.nav {
  position: fixed;
  top: 50%;
  left: 1%;
  transform: translate(0%, -50%);
  z-index: 35;
  min-width: 120px;
}
.nav .nav-box2 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.nav .circle {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  border: solid 1px black;
  background-color: white;
  z-index: 3;
  position: relative;
}
.nav .circle.red {
  background-color: #af1c1c;
}
.nav .nav-circle {
  min-width: 15px;
}
.nav .nav-list2 {
  min-width: 105px;
  font-size: 13px;
  padding: 3.5px 0;
  margin: 0;
}
.nav .relative {
  position: relative;
}
.nav .vertical-line {
  position: absolute;
  min-height: 130px;
  min-width: 4px;
  border-right: solid 1px black;
  top: -10px;
  left: 0;
  z-index: 1;
}

/*
@media (max-width: 1200px) {
    .nav {
        top: auto;
        left: 1%;
        bottom: 1%;
        transform: translate(0, 0);
    }

    .relative {
        background-color: rgba(255, 255, 255, 0.8);
        border-radius: 20px;
        padding: 20px 10px;
    }

    .nav {
        min-width: 90px;

        .vertical-line {
            left: 10px;
            top: 50%;
            transform: translate(0, -50%);
            min-height: 120px;
        }

        .nav-list2 {
            font-size: 10px;
            min-width: 75px;
        }
    }
}*/
@media (max-width: 1250px) {
  .nav {
    top: auto;
    left: auto;
    right: 0;
    bottom: 1%;
    transform: translate(0, 0);
  }
  .relative {
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 20px 0 0 20px;
    padding: 20px 10px;
    box-shadow: -0.1em 0.1em 0.2em rgba(0, 0, 0, 0.49);
  }
  .nav {
    min-width: 90px;
  }
  .nav .vertical-line {
    left: 10px;
    top: 50%;
    transform: translate(0, -50%);
    min-height: 120px;
  }
  .nav .nav-list2 {
    font-size: 10px;
    min-width: 75px;
  }
  .nav .vertical-line {
    min-height: 100px;
  }
}
@media (max-width: 700px) {
  .link-box {
    display: block;
  }
  .link-box .link-left {
    width: 100%;
    margin-bottom: 15%;
    padding: 0 10%;
  }
  .link-box .link-right {
    width: 100%;
    margin-bottom: 15%;
    padding: 0 10%;
  }
  .fo-menu-box {
    flex-wrap: wrap;
  }
  .fo-menu-box .fo {
    width: 30%;
    border-left: solid 0.1em white;
    border-right: solid 0em white;
    margin: 1% 0;
  }
  .fo-menu-box .fo:nth-child(3) {
    border-right: solid 0.1em white;
  }
  .fo-menu-box .fo:last-child {
    border-right: solid 0.1em white;
  }
}/*# sourceMappingURL=sub.css.map */