/* CSS Document */
/* main top
------------------------------------------------------------*/
main.top #lead {
  padding-top: 110px;
  padding-bottom: 280px;
}

main.top #lead .item-bg {
  position: absolute;
  left: 0;
  width: 100%;
  height: calc(100% - 190px);
  bottom: 0;
  overflow: hidden;
}

main.top #lead .item-bg span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 110%;
  background: no-repeat center / cover;
}

main.top #lead .item-content {
  position: relative;
  width: 1080px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  padding-left: 50px;
  padding-right: 50px;
  padding-bottom: 60px;
  background: #FFF;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: end;
  -ms-flex-align: end;
  -webkit-align-items: flex-end;
  align-items: flex-end;
}

main.top #lead .item-logo {
  margin-right: 50px;
  padding-left: 50px;
}

main.top #lead .item-text {
  width: 10px;
  -ms-flex: 1 0 auto;
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-size: 20px;
  font-size: 1.25rem;
  font-weight: bold;
}

main.top #lead .item-news {
  width: 10px;
  -ms-flex: 1 0 auto;
  -webkit-flex-grow: 1;
  flex-grow: 1;
}

main.top #lead .item-news ul li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
}

main.top #lead .item-news ul li:not(:last-child) {
  margin-bottom: 12px;
}

main.top #lead .item-news ul li time {
  width: 90px;
  font-size: 14px;
  font-size: 0.875rem;
  font-family: azo-sans-web, sans-serif;
  font-style: normal;
  color: #999;
  letter-spacing: 0em;
}

main.top #lead .item-news ul li a, main.top #lead .item-news ul li p {
  width: 10px;
  -ms-flex: 1 0 auto;
  -webkit-flex-grow: 1;
  flex-grow: 1;
  font-size: 16px;
  font-size: 1rem;
  text-decoration: underline;
  color: #000;
  line-height: 1.5;
}

main.top #lead .item-news ul li a:hover, main.top #lead .item-news ul li p:hover {
  text-decoration: none;
}

main.top #lead .item-news ul li p {
  text-decoration: none;
}

main.top #about, main.top #recruit {
  background: #f5f0f0;
  padding-top: 100px;
  padding-bottom: 130px;
  overflow: hidden;
}

main.top #about .item-bg, main.top #recruit .item-bg {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  bottom: 0;
  overflow: hidden;
}

main.top #about .item-bg span, main.top #recruit .item-bg span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 110%;
  background: no-repeat center / cover;
}

main.top #about .item-hd, main.top #recruit .item-hd {
  font-family: flegrei, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 220px;
  font-size: 13.75rem;
  line-height: 1;
  color: #ba0000;
  margin-left: -110px;
  margin-right: -110px;
  position: relative;
  z-index: 4;
  margin-bottom: -80px;
}

main.top #about .item-text, main.top #recruit .item-text {
  background: #FFF;
  width: 1040px;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 110px 50px 100px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  -ms-box-sizing: border-box;
  -o-box-sizing: border-box;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
  text-align: center;
}

main.top #about .item-text h3, main.top #recruit .item-text h3 {
  font-size: 48px;
  font-size: 3rem;
  font-weight: bold;
  margin-bottom: 20px;
  line-height: 1.2;
}

main.top #about .item-text h4, main.top #recruit .item-text h4 {
  font-size: 36px;
  font-size: 2.25rem;
  font-weight: bold;
  color: #ba0000;
  margin-bottom: 50px;
  line-height: 1.6;
}

main.top #about .item-text p, main.top #recruit .item-text p {
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: bold;
  position: relative;
  z-index: 2;
}

main.top #about .item-text p:not(:last-child), main.top #recruit .item-text p:not(:last-child) {
  margin-bottom: 25px;
}

main.top #about .item-text .btn-block, main.top #recruit .item-text .btn-block {
  margin-top: 50px;
}

main.top #philosophy {
  background-color: #f5f0f0;
  padding-top: 110px;
  padding-bottom: 140px;
}

main.top #philosophy .content {
  width: 1040px;
}

main.top #philosophy .item-bg {
  position: absolute;
  left: 0;
  width: 100%;
  height: 50%;
  bottom: 0;
  overflow: hidden;
}

main.top #philosophy .item-bg span {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 110%;
  background: url(../img/top/bg-philosophy.jpg) no-repeat center/cover;
}

main.top #philosophy .item-hd {
  text-align: right;
  margin-right: -200px;
  position: relative;
  z-index: 3;
  font-family: flegrei, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 180px;
  font-size: 11.25rem;
  line-height: 0.9;
  color: #ba0000;
  margin-bottom: -90px;
}

@media screen and (max-width: 1440px) {
  main.top #philosophy .item-hd {
    margin-right: -50px;
    font-size: 160px;
    font-size: 10rem;
  }
}

main.top #philosophy .item-text {
  position: relative;
  z-index: 2;
  background: #FFF;
  padding: 120px 60px 90px;
  text-align: center;
}

main.top #philosophy .item-text h3 {
  font-size: 48px;
  font-size: 3rem;
  font-weight: bold;
  line-height: 1.4;
  margin-bottom: 15px;
}

main.top #philosophy .item-text h4 {
  font-size: 36px;
  font-size: 2.25rem;
  font-weight: bold;
  color: #ba0000;
  line-height: 1.5;
  margin-bottom: 40px;
}

main.top #philosophy .item-text h4 small {
  display: block;
  font-size: 30px;
  font-size: 1.875rem;
  font-weight: bold;
}

main.top #philosophy .item-text p {
  font-size: 18px;
  font-size: 1.125rem;
  font-weight: bold;
}

main.top #philosophy .item-text p:not(:last-child) {
  margin-bottom: 25px;
}

main.top #philosophy .item-text .btn-block {
  margin-top: 40px;
}

main.top #link {
  background: #f5f0f0;
  padding-top: 100px;
  padding-bottom: 110px;
  overflow: hidden;
}

main.top #link .content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  width: 1080px;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
  margin-bottom: -60px;
}

main.top #link .content > div {
  width: calc(50% - 40px);
  margin: 0 20px 60px;
}

main.top #link .content > div:nth-child(odd) .item-hd {
  margin-left: -200px;
}

main.top #link .content > div:nth-child(even) .item-hd {
  margin-right: -200px;
  text-align: right;
}

main.top #link .content > div:last-child .item-hd {
  margin-left: -100px;
}

main.top #link .item-hd {
  font-family: flegrei, sans-serif;
  font-weight: 400;
  font-style: normal;
  font-size: 140px;
  font-size: 8.75rem;
  color: #ba0000;
  margin-bottom: -50px;
  line-height: 1;
  letter-spacing: 0em;
}

main.top #link .item-link a {
  display: block;
  position: relative;
  overflow: hidden;
}

main.top #link .item-link a img {
  -webkit-transition: all 0.8s ease;
  -moz-transition: all 0.8s ease;
  -ms-transition: all 0.8s ease;
  -o-transition: all 0.8s ease;
  transition: all 0.8s ease;
}

main.top #link .item-link a:hover {
  text-decoration: none;
}

main.top #link .item-link a:hover img {
  -webkit-transform: scale(1.1);
  -moz-transform: scale(1.1);
  -ms-transform: scale(1.1);
  -o-transform: scale(1.1);
  transform: scale(1.1);
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
  -ms-transform-origin: center center;
  -o-transform-origin: center center;
  transform-origin: center center;
}

main.top #link .item-link a:hover:after {
  -webkit-transform: translateX(10px);
  -moz-transform: translateX(10px);
  -ms-transform: translateX(10px);
  -o-transform: translateX(10px);
  transform: translateX(10px);
}

main.top #link .item-link a h3 {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  color: #FFF;
  font-size: 28px;
  font-size: 1.75rem;
  font-weight: bold;
}

main.top #link .item-link a:after {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  width: 70px;
  height: 100%;
  right: 0;
  background: url(../img/common/arrow-white.svg) no-repeat center;
  -webkit-transition: all 0.6s ease;
  -moz-transition: all 0.6s ease;
  -ms-transition: all 0.6s ease;
  -o-transition: all 0.6s ease;
  transition: all 0.6s ease;
}

main.top #recruit {
  padding-top: 0;
}

main.top #recruit .item-bg {
  max-height: 600px;
}

main.top #recruit .item-hd {
  text-align: left;
}

main.top #recruit .item-text section {
  border: 1px solid #ba0000;
  padding: 60px;
  position: relative;
  overflow: hidden;
}

main.top #recruit .item-text section:not(:last-child) {
  margin-bottom: 50px;
}

main.top #recruit .item-text section > span {
  position: absolute;
  left: -5px;
  bottom: 0;
  font-family: azo-sans-web, sans-serif;
  font-style: normal;
  font-size: 120px;
  font-size: 7.5rem;
  font-weight: 900;
  line-height: 0.7;
  color: rgba(240, 222, 222, 0.7);
  white-space: nowrap;
}

main.top #recruit .item-text section > h5 {
  background-color: #ba0000;
  color: #FFF;
  margin: -60px -60px 60px;
  font-size: 22px;
  font-size: 1.375rem;
  padding: 10px;
  line-height: 1.2;
}

main.top #recruit .item-text section h6 {
  font-size: 22px;
  font-size: 1.375rem;
  font-weight: bold;
  color: #ba0000;
  line-height: 1.2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  position: relative;
}

main.top #recruit .item-text section h6:not(:first-child) {
  margin-top: 40px;
}

main.top #recruit .item-text section h6:before, main.top #recruit .item-text section h6:after {
  content: "";
  width: 10px;
  height: 27px;
  -ms-flex: 1 0 auto;
  -webkit-flex-grow: 1;
  flex-grow: 1;
  background: url(../img/top/line-hd.svg) no-repeat right center;
}

main.top #recruit .item-text section h6:before {
  margin-right: 15px;
}

main.top #recruit .item-text section h6:after {
  margin-left: 15px;
  -webkit-transform: rotateY(180deg);
  -moz-transform: rotateY(180deg);
  -ms-transform: rotateY(180deg);
  -o-transform: rotateY(180deg);
  transform: rotateY(180deg);
  -webkit-transform-origin: center center;
  -moz-transform-origin: center center;
  -ms-transform-origin: center center;
  -o-transform-origin: center center;
  transform-origin: center center;
}

main.top #recruit .item-text section h6 + .btn-block {
  margin-top: 25px;
}

/*tablet*/
@media screen and (min-width: 701px) and (max-width: 1200px) {
  /* main top
------------------------------------------------------------*/
  main.top #lead .item-logo {
    padding-left: 0;
    max-width: 40%;
  }
  main.top #lead .item-text {
    font-size: 18px;
    font-size: 1.125rem;
  }
  main.top #about .item-hd, main.top #recruit .item-hd {
    font-size: 180px;
    font-size: 11.25rem;
    margin-left: -50px;
    margin-right: -50px;
  }
  main.top #about .item-text, main.top #recruit .item-text {
    padding: 110px 30px 100px;
  }
  main.top #about .item-text h3, main.top #recruit .item-text h3 {
    font-size: 38px;
    font-size: 2.375rem;
  }
  main.top #about .item-text h4, main.top #recruit .item-text h4 {
    font-size: 28px;
    font-size: 1.75rem;
  }
  main.top #about .item-text p, main.top #recruit .item-text p {
    font-size: 17px;
    font-size: 1.0625rem;
  }
  main.top #philosophy .item-hd {
    margin-right: -40px;
    font-size: 13vw;
    margin-bottom: -50px;
  }
  main.top #philosophy .item-text {
    padding-top: 80px;
  }
  main.top #philosophy .item-text h3 {
    font-size: 44px;
    font-size: 2.75rem;
  }
  main.top #philosophy .item-text h4 {
    font-size: 32px;
    font-size: 2rem;
  }
  main.top #link .content > div {
    width: calc(50% - 20px);
  }
  main.top #link .content > div:nth-child(odd) .item-hd {
    margin-left: -60px;
  }
  main.top #link .content > div:nth-child(even) .item-hd {
    margin-right: -60px;
  }
  main.top #link .item-hd {
    font-size: 9vw;
    margin-bottom: -30px;
  }
  main.top #recruit .item-text section {
    padding: 40px;
  }
  main.top #recruit .item-text section > span {
    font-size: 100px;
    font-size: 6.25rem;
  }
  main.top #recruit .item-text section > h5 {
    margin: -40px -40px 40px;
  }
}

/*sp*/
@media screen and (max-width: 700px) {
  /* main top
------------------------------------------------------------*/
  main.top #lead {
    padding-top: 50px;
    padding-bottom: 100px;
  }
  main.top #lead .item-bg {
    height: calc(100% - 80px);
  }
  main.top #lead .item-content {
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 25px;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  main.top #lead .item-logo {
    margin-right: 0px;
    padding-left: 0px;
    width: 100%;
    text-align: center;
    margin-bottom: 20px;
  }
  main.top #lead .item-logo img {
    width: 200px;
  }
  main.top #lead .item-text {
    font-size: 16px;
    font-size: 1rem;
  }
  main.top #lead .item-news ul li {
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  main.top #lead .item-news ul li time {
    width: 100%;
  }
  main.top #about, main.top #recruit {
    padding-top: 50px;
    padding-bottom: 60px;
  }
  main.top #about .item-bg span, main.top #recruit .item-bg span {
    height: 120%;
  }
  main.top #about .item-hd, main.top #recruit .item-hd {
    font-size: 20vw;
    margin-left: -30px;
    margin-bottom: -40px;
    margin-right: -30px;
  }
  main.top #about .item-text, main.top #recruit .item-text {
    padding: 50px 20px 40px;
  }
  main.top #about .item-text h3, main.top #recruit .item-text h3 {
    font-size: 6.5vw;
    margin-bottom: 20px;
  }
  main.top #about .item-text h4, main.top #recruit .item-text h4 {
    font-size: 4.3vw;
    margin-bottom: 20px;
    line-height: 1.6;
  }
  main.top #about .item-text p, main.top #recruit .item-text p {
    font-size: 16px;
    font-size: 1rem;
    text-align: left;
  }
  main.top #about .item-text p:not(:last-child), main.top #recruit .item-text p:not(:last-child) {
    margin-bottom: 15px;
  }
  main.top #about .item-text .btn-block, main.top #recruit .item-text .btn-block {
    margin-top: 30px;
  }
  main.top #philosophy {
    padding-top: 40px;
    padding-bottom: 50px;
  }
  main.top #philosophy .item-bg span {
    height: 120%;
  }
  main.top #philosophy .item-hd {
    margin-right: -20px;
    font-size: 13vw;
    margin-bottom: -30px;
  }
  main.top #philosophy .item-text {
    padding: 50px 20px 30px;
  }
  main.top #philosophy .item-text h3 {
    font-size: 38px;
    font-size: 2.375rem;
  }
  main.top #philosophy .item-text h4 {
    font-size: 26px;
    font-size: 1.625rem;
    margin-bottom: 20px;
  }
  main.top #philosophy .item-text h4 small {
    font-size: 20px;
    font-size: 1.25rem;
    font-weight: bold;
  }
  main.top #philosophy .item-text p {
    text-align: left;
    font-size: 16px;
    font-size: 1rem;
  }
  main.top #philosophy .item-text p br {
    display: none;
  }
  main.top #philosophy .item-text p:not(:last-child) {
    margin-bottom: 15px;
  }
  main.top #philosophy .item-text .btn-block {
    margin-top: 20px;
  }
  main.top #link {
    padding-top: 50px;
    padding-bottom: 50px;
  }
  main.top #link .content {
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  main.top #link .content > div {
    width: 100%;
  }
  main.top #link .content > div:not(:last-child) {
    margin-bottom: 30px;
  }
  main.top #link .content > div:nth-child(odd) .item-hd {
    margin-left: -30px;
  }
  main.top #link .content > div:nth-child(even) .item-hd {
    margin-right: -30px;
  }
  main.top #link .item-hd {
    font-size: 16vw;
    margin-bottom: -20px;
  }
  main.top #link .item-link {
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    -webkit-justify-content: center;
    justify-content: center;
  }
  main.top #link .item-link a h3 {
    font-size: 22px;
    font-size: 1.375rem;
  }
  main.top #link .item-link a:after {
    width: 45px;
  }
  main.top #recruit {
    padding-top: 0;
  }
  main.top #recruit .item-text section {
    padding: 15px;
  }
  main.top #recruit .item-text section:not(:last-child) {
    margin-bottom: 20px;
  }
  main.top #recruit .item-text section > span {
    font-size: 12vw;
  }
  main.top #recruit .item-text section > h5 {
    margin: -15px -15px 15px;
    font-size: 19px;
    font-size: 1.1875rem;
  }
  main.top #recruit .item-text section h6 {
    font-size: 18px;
    font-size: 1.125rem;
  }
  main.top #recruit .item-text section h6:not(:first-child) {
    margin-top: 30px;
  }
  main.top #recruit .item-text section h6:before, main.top #recruit .item-text section h6:after {
    height: 20px;
    background-size: auto 20px;
  }
  main.top #recruit .item-text section h6:before {
    margin-right: 10px;
  }
  main.top #recruit .item-text section h6:after {
    margin-left: 10px;
  }
  main.top #recruit .item-text section h6 + .btn-block {
    margin-top: 15px;
  }
}
