/* 共通スタイルは外に書く */
body {
  font-family: "IBMPlexSerif-Regular";
}
.l-wrapper {
  position: relative;
  margin: 0 auto;
  max-width: 1500px;
}
.p-firstView {
  position: relative;
}
.p-firstView__headingBox {
  background-image: url("../../image/topImage.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: left 10% bottom 10%;
}
.p-firstView__heading {
  z-index: 200;
  position: absolute;
  right: 0%;
  transform: translateY(-50%);
  text-align: center;
  color: #fff;
  background-color: rgba(12, 6, 6, 0.3);
}
.p-concept__moveMessage {
  font-family: "IBMPlexSerif-Regular";
  font-weight: bold;
}
.p-concept__leaderMessage {
  position: relative;
}
.line::after {
  content: "";
  display: inline-block;
  width: 40px;
  height: 1px;
  background-color: #000;
  position: absolute;
  top: 50%;
  right: -30px;
}
.p-concept__keepMoving {
  display: block;
  background-image: url(../../image/keepMoving.jpg);
  background-size: cover;
  background-position: center;
  color: #fff;
  box-shadow: 20px 20px 4px #ccc ;
}
.hidden {
  display: none;
}
.p-menu {
  margin-top: 100px;
}
.p-menu__list {
  display: flex;
  align-items: center;
  text-align: center;
  color: #fff;
}
.p-menu__listItem {
  width: 50%;
}
.p-menu__title {
  height: 17vw;
}
.p-menu__titleLink {
  display: block;
  position: relative;
  height: 100%;
  background-size: cover;
  font-family: "IMFellGreatPrimer-Regular";
  color: #fff;
  text-decoration: none;
}
.p-menu__heading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
}
.p-menu__titleLink--company {
  background-image: url(../../image/companyHeading.png);
}
.p-menu__titleLink--service {
  background-image: url(../../image/serviceHeading.png);
}
.p-menu__titleLink--recruit {
  height: 34vw;
  background-image: url(../../image/recruitHeading.png);
}
.p-contact {
  margin: 0 auto;
  padding: 100px 0;
  text-align: center;
}
.p-contact__title {
  font-family: "IMFellGreatPrimer-Regular";
}
.p-contact__link {
  padding: 20px 45px;
  border: solid 1px #000;
  color: #000;
  text-decoration: none;
  box-shadow: 5px 5px 2px #cccccc30 ;
}
.l-footer {
  background-color: #004E94;
  color: #fff;
}
.p-footer__telBox {
  width: 20%;
  height: auto;
  border-right: solid 1px #fff;
  text-align: center;
}
.p-footer__move {
  margin: 0 auto;
  width: 100px;
}
.p-footer__logo {
  margin: 0 auto;
  width: 100px;
}
.p-footer__companyBox {
  width: 8%;
  padding: 30px 0 30px 20px;
}
.p-footer__title {
  font-family: "IMFellGreatPrimer-Regular";
}
.p-footer__recruitBox {
  width: 15%;
  padding: 30px 0 0 40px;
}
.p-footer__recruitInner {
  position: relative;
}
.p-footer__link {
  color: #fff;
  text-decoration: none;
}
.p-footer__ServiceBox {
  width: 35%;
  padding: 30px 10px 30px 30px;
}
.p-footer__serviceInner {
  position: relative;
}
.p-footer__access {
  margin-top: 30px;
}
.p-footer__accessInner {
  position: relative;
}
.p-footer__link {
  z-index: 200;
}
.p-footer__contactBox {
  margin-top: 30px;
  text-align: center;
}
.p-footer__contactLink {
  padding: 10px 15px;
  background-color: #00325c;
}

@media screen and (min-width: 796px) { /* pc用スタイル */
  .l-header {
    padding: 30px;
    position: absolute;
    z-index: 500;
    width: 100%;
  }
  .p-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .p-header__imageBox {
    width: 80px;
    height: 80px;
  }
  .p-header__menuBox {
    display: none;
  }
  .p-header__menuList {
    display: flex;
    width: 100%;
    gap: 20px;
  }
  .p-header__listItem {
    padding: 5px 0;
  }
  .p-header__listLink {
    text-decoration: none;
    font-size: 16px;
    color: #000;
    font-family: "IMFellGreatPrimer-Regular";
  }
  .p-header__navSp {
    display: none;
  }
  .p-header__listLink:not(:last-child) {
    padding: 5% 0;
  }
  .box {
    border: solid 1px;
    padding: 5px 35px;
    color: #000;
  }
  .p-header__branch {
    display: none;
  }
  .p-header__branch.active {
    display: block;
  }
  .p-firstView__headingBox {
    height: 640px;
  }
  .p-firstView__heading {
    width: min(50%,600px);
    padding: 50px 0;
    top: 80%;
    font-size: min(3vw, 38px);
  }
  .p-concept {
    display: flex;
    padding: 100px 100px 200px;
    position: relative;
  }
  .p-concept__imageBox {
    width: 30%;
  }
  .p-concept__messageBox {
    width: 52%;
    position: absolute;
    top: 70%;
    left: 70%;
    transform: translate(-50%,-50%);
  }
  .p-concept__moveMessage {
    line-height: 3vw;
    font-size: min(1.8vw,24px);
  }
  .p-concept__leaderMessage {
    display: block;
    margin: 30px 100px 0 auto;
    width: 30%;
    padding: 10px 0;
    border: solid 1px #000;
    text-align: center;
    text-decoration: none;
    font-size: 16px;
    color: #000;
    box-shadow: 5px 5px 2px #cccccc30 ;
  }
  .p-concept__keepMoving {
    margin-top: 100px;
    width: 75%;
    padding: 70px 40px;
    font-size: min(2vw,24px);
  }
  .p-menu__titleLink {
    line-height: 40px;
    font-size: min(4vw,50px);
  }
  .font-small {
    font-size: 18px;
  }
  .p-contact {
    width: max(40%,500px);
  }
  .p-contact__title {
    font-size: min(5vw,50px);
  }
  .p-contact__linkBox:not(:last-child) {
    margin-right: 30px;
  }
  .p-contact__all {
    display: flex;
    margin-top: 30px;
    justify-content: center;
  }
  .p-footer {
    display: flex;
    min-height: 300px;
  }
  .p-footer__telBox {
    padding: 30px 20px 20px;
  }
  .p-footerSp {
    display: none;
  }
  .p-footer__text {
    font-size: max(1.3vw,12px);
  }
  .p-footer__text--small {
    font-size: max(1.2vw,10px);
  }
  .p-footer__title {
    font-size: min(2vw,22px);
  }
  .p-footer__link--font {
    font-size: max(1.3vw,12px);
  }
  .p-footer__pageTop {
    display: block;
    margin: 30px auto 0;
    width: 50%;
    padding: 10px;
    border: solid 1px #fff;
    text-align: center;
    font-size: 1.5vw;
    font-family: "IMFellGreatPrimer-Regular";
  }
  .p-footer__contactBox {
    width: 100%;
  }
  .p-footer__contactLink {
    font-size: 12px;
  }
  .p-footer__contactLink:not(:first-child) {
    margin-top: 20px;
  }
  .p-footer__contactInner {
    width: 22%;
    padding: 30px 30px 0 0;
  }
}

@media screen and (max-width: 795px) { /* sp用スタイル */
  .l-header {
    padding: 30px;
    position: absolute;
    z-index: 500;
    width: 100%;
  }
  .p-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
  }
  .p-header__imageBox {
    width: 50px;
    height: 50px;
  }
  .p-header__menuList {
    width: 100%;
    height: 100vh;
    background-color: rgba(0,26,56,0.8);
  }
  .p-header__listItem {
    padding: 10px;
    color: #fff;
  }
  .p-header__listItem:first-child {
    padding-top: 100px;
  }
  .p-header__listLink {
    padding: 10px;
    text-decoration: none;
    font-size: 16px;
    color: #fff;
    font-family: "IMFellGreatPrimer-Regular";
  }
  .p-header__listLink:not(:last-child) {
    padding: 5% 0;
  }
  .p-header__menuBox {
    position: relative;
  }
  .p-header__nav {
    display: none;
  }
  .p-header__button {
    width: 50px;
    height: 50px;
    position: relative;
    top: calc(100% - 25px);
    cursor: pointer;
    z-index: 9999;
  }
  .p-header__button img {
    width: 50px;
    height: 50px;
    position: fixed;
    z-index: 100;
  }
  .p-header__menu--open {
    opacity: 1;
  }
  .p-header__menu--open.active {
    opacity: 0;
  }
  .p-header__menu--close {
    opacity: 0;
  }
  .p-header__menu--close.active {
    opacity: 1;
  }
  .p-header__navSp {
    position: fixed;
    z-index: 900;
    top: 0;
    left: -100%;
    width : 100%;
    height: 100vh;
    justify-content: center;
    align-content: center;
    color: #fff;
    text-align: center;
    transition: .5s;
  }
  .p-header__navSp.active {
    left: 0;
  }
  .p-firstView__headingBox {
    height: 400px;
  }
  .p-firstView__heading {
    padding: 30px 0;
    top: 75%;
    width: min(60%,500px);
    font-size: max(2vw,12px);
  }
  .p-concept {
    padding: 6%;
  }
  .p-concept__imageBox {
    width: max(50%,280px);
  }
  .p-concept__messageBox {
    margin: 50px 0 0 auto;
    width: max(75%,300px);
  }
  .p-concept__moveMessage {
    line-height: max(7vw,30px);
    font-size: max(1vw, 10px);
  }
  .p-concept__leaderMessage {
    display: none;
  }
  .p-concept__keepMoving {
    margin-top: 100px;
    width: max(75%,310px);
    padding: 5%;
    font-size: max(2vw,12px);
    box-shadow: 10px 10px 4px #ccc;
  }
  .p-menu__titleLink {
    line-height: 20px;
    font-size: max(3vw,20px);
  }
  .font-small {
    font-size: 10px;
  }
  .p-contact {
    width: max(40%,250px);
  }
  .p-contact__title {
    font-size: max(4vw,18px);
  }
  .p-contact__all {
    margin-top: 20px;
  }
  .p-contact__linkBox:not(:first-child) {
    margin-top: 20px;
  }
  .p-contact__link {
    display: block;
    margin: 0 auto;
    padding: 10px 20px;
    width: max(100%,250px);
    font-size: 12px;
  }
  .p-contact__text {
    font-size: min(3vw,14px);
  }
  .l-footer {
    height: 380px;
  }
  .p-footer {
    display: none;
  }
  .p-footer__telBox {
    padding: 30px;
  }
  .p-footer__titleBox {
    padding-top: 50px;
    position: relative;
    text-align: center;
  }
  .p-footer__pageTop {
    margin-top: 50px;
    padding: 10px;
    border: solid 1px;
    font-size: 17px;
    font-family: "IMFellGreatPrimer-Regular";
  }
  .p-footer__contactInner {
    padding: 0 5%;
  }
  .p-footer__title {
    margin-top: 30px;
    text-align: center;
  }
  .p-footer__contactBox {
    display: flex;
    margin: 30px auto 0;
    justify-content: center;
  }
  .p-footer__contactLink {
    width: min(50%,150px);
    font-size: max(1vw,10px);
  }
  .p-footer__contactLink:not(:last-child) {
    margin-right: 2%;
  }
  .p-footer__access {
    margin: 30px auto 0;
    width: 300px;
  }
  .p-footer__listBox {
    font-size: 13px;
  }
  .p-footer__move {
    display: block;
    text-align: center;
  }
}

@media screen and (max-width: 600px) { /* sp用スタイル */
  .p-concept__messageBox {
    letter-spacing: -1px;
  }
  .hidden {
    display: block;
  }
}

@media screen and (max-width: 475px) { /* sp用スタイル */
  .p-firstView__headingBox {
    height: 250px;
  }
}