@charset "utf-8";

/* CSS Document */
#mainimage {
  position: relative;
  background: #000;
}

#mainimage marquee {
  position: absolute;
  color: #fff;
  bottom: 1.5rem;
  font-size: 90%;
  width: 95%;
  margin-left: 2.5%;
  border: none;
}

#mainimage marquee span {
  display: inline-block;
  background: #d10000;
  padding: 0.25rem 0.5rem;
  margin-right: 0.5rem;
  font-size: 0.7rem;
}

#message {
  height: 100vh;
  width: 100%;
  background-image: url("../img/s3.png"), url("../img/s4.png");
  background-size: contain, contain;
  background-repeat: no-repeat, no-repeat;
  background-position: center top, center bottom;
}

#plus_passion {
  color: #fff;
  position: absolute;
  top: 50%;
  left: 55%;
  transform: translateY(-50%);
}

#plus_passion div {
  display: flex;
}

#plus_passion p {
  font-size: 400%;
  line-height: 1.2;
  font-weight: 900;
}

#plus_passion p:nth-of-type(1) {
  margin-right: 0.5rem;
  color: #d10000;
}

#plus_passion p small {
  display: block;
  font-size: 25%;
  margin-left: 0.2rem;
  font-weight: 500;
}

#intro {
  text-align: center;
  color: #fff;
}

.parallax {
  padding: 500px 0 300px;
  width: 100%;
  background-position: center top;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallax.bg-01 {
  background-image: url(../img/s6.jpg);
}

#intro h2 {
  font-size: 400%;
  font-weight: 900;
  line-height: 1.2;
  position: relative;
}

#intro h2:after {
  content: "";
  display: inline-block;
  width: 15rem;
  height: 10px;
  background-color: #d10000;
  position: absolute;
  bottom: 0;
  transform: translateX(-50%);
}

#intro h2 small {
  display: block;
  padding: 3rem 0;
  font-size: 50%;
}

#intro dl {
  margin-top: 2.5rem;
}

#intro dt {
  font-size: 400%;
  font-weight: 900;
}

#intro dt span {
  display: block;
  font-size: 30%;
  font-weight: 500;
  line-height: 1;
  margin-bottom: -0.25rem;
}

#intro dt small {
  display: block;
  font-size: 20%;
  font-weight: 400;
}

#intro dd {
  margin-top: 1rem;
  font-size: 80%;
  line-height: 1.7;
  font-weight: 500;
}

#intro dd strong {
  font-weight: 500;
}

#intro dd:nth-of-type(2) {
  font-size: 100%;
  width: 90%;
  max-width: 38rem;
  text-align: justify;
  margin: 3rem auto 0;
  line-height: 2;
  font-weight: 700;
}

main>section {
  position: relative;
  color: #fff;
}

.message {
  text-align: right;
  margin-bottom: 50vh;
  margin-right: 10%;
  position: sticky;
}

.message dt {
  font-size: 220%;
  font-weight: 900;
  line-height: 1;
}

.message dt span {
  display: inline-block;
  color: #d10000;
  margin-right: 0.25rem;
}

.message dd:nth-of-type(1) {
  font-size: 60%;
  font-weight: 100;
  margin: 0.15rem 0 1rem;
}

.message dd:nth-of-type(2) {
  font-size: 115%;
  font-weight: 900;
  line-height: 2;
}

.message a {
  color: #fff;
  padding: 0.5rem 0.7rem;
  margin-top: 0.5rem;
  font-size: 90%;
  position: relative;
  display: inline-block;
  background: #d10000;
}

.message a:hover {
  background: #000;
}

.message a:nth-of-type(2) {
  padding: 0;
}


/*------------------------------------------*/

#vision {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  background: url(../img/s10.jpg) center no-repeat;
  background-size: cover;
  background-position: center 20%;
  z-index: -1;
}

#works {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  background: url(../img/s11.jpg);
  background-size: cover;
  background-position: center bottom;
  z-index: -1;
}

#recruit {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  background: url(../img/s12.jpg);
  background-size: cover;
  background-position: center 20%;
  z-index: -1;
}

#information {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  background: url(../img/s13.jpg);
  background-size: cover;
  background-position: center 80%;
  z-index: -1;
}

/*------------------------------------------*/

.black_label {
  width: 250px;
  color: #fff;
  margin-top: 250px;
  padding: 1.5rem 0;
  background: #000;
  text-align: center;
  display: block;
  position: sticky;
  bottom: 0;
  left: 10%;
}

.black_label dt {
  position: relative;
  font-size: 90%;
  margin-bottom: 0.5rem;
  padding-left: 0.75rem;
  display: inline-block;
}

.black_label dt:before {
  position: absolute;
  top: 0.25rem;
  left: 0;
  content: "";
  height: 1rem;
  width: 0.25rem;
  background: #d10000;
  display: block;
}

.black_label dd:nth-of-type(1) {
  font-size: 60%;
  font-weight: 400;
  margin-bottom: 0.25rem;
}

.black_label dd:nth-of-type(2) {
  font-size: 50%;
  font-weight: 200;
}

#news {
  border-top: 3px solid #fff;
}

#news>h3 {
  text-align: center;
  font-size: 225%;
  font-weight: 900;
  padding: 3rem 0 1rem;
}

#news>div {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 2.5rem 0 5rem;
  position: relative;
}

#news>div>p {
  position: relative;
  display: inline-block;
  position: absolute;
  right: 0;
  top: 0;
}

#news>div>p a {
  color: #fff;
}

#news>div>p a::after {
  padding-bottom: 0.25rem;
  border-bottom: solid 2px #d10000;
  content: "";
  display: block;
  transition: all .3s ease;
  -webkit-transition: all .3s ease;
  width: 0;
}

#news>div>p a:hover::after {
  width: 100%;
}

#news ul {
  display: flex;
  flex-wrap: wrap;
}

#news li {
  width: 22%;
  margin: 0 4% 0 0;
  text-align: justify;

}

#news li:nth-of-type(4) {
  margin: 0 0 0 0;
}

#news li:nth-of-type(n+5) {
  display: none;
}

#news li a {
  color: #fff;
}

#news li a:hover {
  opacity: 0.7;
}


span.n_time {
  display: block;
  font-size: 60%;
  font-weight: 300;
  margin: 1rem 0 0.5rem;
}

span.n_title {
  font-size: 70%;
  font-weight: 500;
}

span.n_photo {
  position: relative;
  display: block;
}

span.n_photo:before {
  content: "";
  display: block;
  padding-top: 100%;
}

span.n_photo img {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  margin: auto;
  object-fit: cover;
}

@media screen and (max-width:768px) {
  #plus_passion p {
    font-size: 300%;
  }

  .parallax {
    padding: 200px 0 100px;
  }

  .parallax.bg-01 {
    background-image: url(../img/s7.jpg);
  }

  #intro h2 {
    font-size: 400%;
  }

  #intro h2:after {
    width: 9rem;
    height: 7px;
  }

  #intro h2 small {
    font-size: 45%;
  }

  #intro dt {
    font-size: 350%;
  }

  .message a {
    font-size: 100%;
  }

  #message {
    height: 100vh;
    width: 100%;
    background-image: url("../img/s5.png"), url("../img/s6.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: top, bottom;
  }

  #news>div {
    padding: 2rem 0 3rem;
  }

}

/* タブレット縦t */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:portrait) {
  #intro dd:nth-of-type(2) {
    font-size: 140%;
    max-width: 40rem;
  }

  .message {
    font-size: 170%;
  }

  .message dd:nth-of-type(1) {
    font-weight: 300;
  }

  .black_label {
    font-size: 120%;
    width: 300px;
  }

  #news li {
    font-size: 120%;
  }

  span.n_photo img {
    max-width: 250px;
    max-height: 250px;
  }
}

@media screen and (max-width:480px) {
  #mainimage marquee {
    color: #000;
  }

  #plus_passion {
    top: 60%;
    left: 0;
    transform: translateY(0);
    transform: translateX(25%);
    width: 100%;
  }

  #mainimage marquee {
    width: 100%;
    margin-left: 0;
  }

  .parallax {
    padding: 200px 0 50px;
  }

  .black_label {
    width: 200px;
    padding: 1rem 0;
    position: sticky;
    left: 0;
    margin: 250px auto 0;
  }

  .black_label dd:nth-of-type(2) {
    font-size: 70%;
    font-weight: 200;
  }

  .message a {
    font-size: 110%;
  }

  #news>div {
    padding: 1.5rem 0 1rem;
  }

  #news>h3 {
    padding: 2rem 0 1rem;
  }

  #news li {
    width: 48%;
    margin: 0 4% 1rem 0;
    text-align: justify;
  }

  #news li:nth-of-type(2) {
    margin: 0 0 1rem 0;
  }

  #news>div>p {
    margin-right: 0.5rem;
    top: -0.5rem;
  }
}

#s70th {
  position: absolute;
  top: 100px;
  left: 35px;
  background: rgba(255, 255, 255, 1);
  padding: 0.5rem;
}

#s70th img {
  width: 100px;
}

@media screen and (max-width:768px) {
  #s70th {
    top: 75px;
  }
}

@media screen and (max-width:480px) {
  #s70th {
    top: 50px;
    left: 20px;
  }

  #s70th img {
    width: 70px;
  }
}