@charset "UTF-8";

html {
  font-size: 62.5%;
}

body {
  font-size: 1.4rem;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  font-family: 'Noto Sans JP';
  margin: 0;
}

.clearfix::after {
  content: '';
  display: block;
  clear: both;
}

img {
  width: 170px;
  height: 170px;
}

.flex {
  display: flex;
  flex-wrap: wrap;
}

table {
  border: 1px;
}

a {
  text-decoration: none;
}

/* load */
.load {
  background-color: #000;
  height: 100%;
  position: fixed;
  top: 0;
  z-index: 999;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  animation-name: load;
  animation-duration: 2s;
}

.load p {
  color: #F9FAFB;
  padding-top: 100px;
  text-align: center;
  font-weight: bold;
  font-size: 100px;
  white-space: nowrap;
  color: rgba(0, 0, 0, 0);
  -webkit-text-stroke: 1px #FFF;
  text-stroke: 1px #FFF;
  -webkit-background-clip: text;
  background-image: url(../img/top.png);
  background-size: contain;
}

@keyframes load {
  0% {
    opacity: 1;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

.box {
  width: 100%;
  height: 30vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.ring {
  width: 100px;
  height: 100px;
  border: 4px solid transparent;
  border-radius: 50%;
  border-top-color: #47C3FF;
  border-right-color: #47C3FF;
  position: relative;
  animation: spin 1.5s linear infinite;
  filter: drop-shadow(0 0 10px #47C3FF) drop-shadow(0 0 20px #47C3FF);
}

.ring::before {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid transparent;
  border-bottom-color: #CA4DFF;
  border-left-color: #CA4DFF;
  animation: spin 1s linear infinite reverse;
  filter: drop-shadow(0 0 10px #CA4DFF) drop-shadow(0 0 20px #CA4DFF);
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}



/* TOP */
.top {
  width: 100%;
  width: 100%;
  height: 800px;
  color: #F9FAFB;
  position: relative;
}

.top .container {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  padding: 20px;
  font-size: 48px;
}

.copy {
  font-size: 64px;
  margin-bottom: 70px;
}

.slide1,
.slide2 {
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  background-size: cover;
}

.slide1 {
  background-image: url(../img/top.png);
  animation: slide1 20s infinite;
}

.slide2 {
  background-image: url(../img/pc.png);
  animation: slide2 20s infinite;
}

@keyframes slide1 {
  0% {
    opacity: 1;
  }

  25% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }

  75% {
    opacity: 0;
  }

  100% {
    opacity: 1;
  }
}

@keyframes slide2 {
  0% {
    opacity: 0;
  }

  25% {
    opacity: 0;
  }

  50% {
    opacity: 1;
  }

  75% {
    opacity: 1;
  }

  100% {
    opacity: 0;
  }
}

/* NEWS */
.news {
  width: 100%;
  background-color: #F9FAFB;
}

.news h3 {
  color: #1E3E8A;
  font-size: 64px;
  text-align: center;
  padding-top: 15px;
}

.news_contents {
  display: flex;
  font-size: 32px;
  border-top: 1px solid #2B2B2B;
  padding: 50px;
}

.newses {
  margin: 0 auto;
  padding: 30px 0;
  width: 80%;
}

.day {
  margin-right: 100px;
  white-space: nowrap;
}

/* label */
.label {
  height: 200px;
  background-color: #2B2B2B;
}

.about h2,
.case h2,
.contact h2 {
  color: #F9FAFB;
  font-size: 80px;
  font-weight: bold;
  line-height: 190px;
  text-align: center;
}

/* about */
.about {
  width: 100%;
  background-color: #F9FAFB;
}

.about .text {
  color: #2B2B2B;
  margin: 60px;
  text-align: center;
  font-size: 32px;
}

.about .container {
  width: 100%;
}

.about .cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.about .card {
  width: 300px;
  aspect-ratio: 1;
  color: #F9FAFB;
  margin: 25px;
  font-size: 30px;
  position: relative;
}

.about .card img {
  position: absolute;
  width: 100%;
  height: 100%;
}


.about .card p {
  position: absolute;
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  text-align: center;
  width: 100%;
}

.about .card .si {
  position: absolute;
  top: 30%;
}

/* case */
.case {
  width: 100%;
  position: relative;
  background-color: #F9FAFB;
}

.case .cases {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}

.case .card {
  width: 400px;
  height: 500px;
  font-size: 32px;
  border: 1px solid #2B2B2B;
  border-radius: 15px;
  background-color: #D9D9D9;
  margin: 30px 25px;
  position: relative;
  display: block;
  box-shadow: 10px 10px 5px 0px rgba(0, 0, 0, 0.4);
}

.case .card img {
  position: absolute;
  top: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 250px;
  height: 250px;
  border-radius: 15px;
}

.case .card p {
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  top: 300px;
  width: 100%;
  text-align: center;
}

.case .btn {
  width: 300px;
  height: 100px;
  color: #F9FAFB;
  text-align: center;
  background-color: #1E3E8A;
  font-size: 36px;
  display: block;
  line-height: 100px;
  border-radius: 15px;
  margin: 20px auto;
  display: block;
  box-shadow: 0px 10px 5px 0px rgba(0, 0, 0, 0.4);
  opacity: 1;
}

.case .btn:hover {
  opacity: .8;
}

.case_btn {
  padding-bottom: 50px;
}

/* company */
.company {
  width: 50%;
  height: 500px;
  background-image: url(../img/office.png);
  background-position: center;
  background-size: cover;
  text-align: center;
  font-size: 64px;
  display: block;
}

.company:hover {
  opacity: .8;
}

.company h3 {
  color: #F9FAFB;
  padding-top: 200px;
}

/* recruit */
.recruit {
  width: 50%;
  height: 500px;
  background-image: url(../img/recruit.png);
  background-position: center;
  background-size: cover;
  color: #F9FAFB;
  text-align: center;
  font-size: 64px;
  display: block;
  position: relative;
}

.recruit:hover {
  opacity: .8;
}

.recruit h3 {
  color: #F9FAFB;
  padding-top: 200px;
}


/* CONTACT */
.contact {
  width: 100%;
}

.contact .container {
  background-image: url(../img/contact.jpg);
  background-position: center;
  background-size: cover;
  height: 400px;
}

.contact_btn {
  padding-top: 200px;
}

.contact a {
  color: #F9FAFB;
  background-color: #2B2B2B;
  display: block;
  width: 400px;
  height: 100px;
  border-radius: 15px;
  text-align: center;
  line-height: 100px;
  font-size: 36px;
  margin: 0 auto;
  opacity: 1;
}

.contact a:hover {
  opacity: .8;
}

/* media */
@media screen and (max-width: 768px) {
  .flex {
    display: block;
  }

  .company {
    width: 100%;
  }

  .recruit {
    width: 100%;
  }

  /* news */
  .news p {
    font-size: 20px;
  }

  .news_contents {
    padding: 10px 0;
  }

  .news .day {
    margin-right: 70px;
  }

  /* case */
  .case .card {
    height: 300px;
    width: 250px;
  }

  .case .card img {
    width: 150px;
    height: 150px;
  }

  .case .card p {
    font-size: 20px;
    top: 200px;
  }

}

/* phone */
@media screen and (max-width: 480px) {

  /* load */
  .load p {
    font-size: 60px;
  }

  /* top */
  .top {
    height: 400px;
  }

  .top p {
    font-size: 22px;
  }

  .top .container {
    padding-left: 10px;
    top: 230px;
  }

  .copy {
    margin-bottom: 30px;
  }

  /* news */
  .news h3 {
    font-size: 30px;
  }

  .news p {
    font-size: 15px;
  }

  .news .day {
    margin-right: 20px;
  }

  /* label */
  .label {
    height: 100px;
  }

  .label h2 {
    font-size: 40px;
    line-height: 100px;
  }

  /* about */
  .about .text {
    font-size: 15px;
    margin: 20px;
    white-space: nowrap;
  }

  .about .card {
    width: 40%;
    aspect-ratio: 1;
    margin: 10px;
    font-size: 15px;
  }

  /* case */
  .case .card {
    height: 180px;
    width: 40%;
    margin: 10px;
  }

  .case .card img {
    width: 100px;
    height: 100px;
    position: absolute;
    top: 10px;
  }

  .case .card p {
    font-size: 15px;
    top: 120px;
  }

  .case_btn {
    padding: 0;
    padding-bottom: 20px;
    margin: 0 auto;
  }

  .case .btn {
    width: 90%;
    height: 70px;
    font-size: 30px;
    line-height: 70px;
  }

  /* company */
  .company {
    height: 360px;
  }

  .company h3 {
    padding-top: 140px;
    font-size: 50px;
  }

  /* recruit */
  .recruit {
    height: 360px;
  }

  .recruit h3 {
    padding-top: 140px;
    font-size: 50px;
  }

  /* contact */
  .contact .btn {
    width: 90%;
    font-size: 30px;
  }

}