@charset "utf-8";

/*============================
#message
============================*/

#message {
  background: url(../images/bg.jpg) no-repeat center top;
  -webkit-background-size: cover;
  background-size: cover;
}

#message .text {
  width: 70%;
}

#message .name {
  width: 240px;
  margin-left: auto;
}

#message .name span {
  display: block;
  background: url(../images/name.png) no-repeat center;
  padding-top: 12.0901%;
  height: 0;
  overflow: hidden;
  -webkit-background-size: 100%;
  background-size: 100%;
}

@media only screen and (max-width: 1040px) {
  #message .text {
    width: 100%;
  }

  #message .text p br {
    display: none;
  }

  #message .name {
    width: 190px;
  }

}

/*============================
#company
============================*/

#company {
  overflow: hidden;
  position: relative;
}

#company .scroll-list {
  position: absolute;
  left: -1602px;
  top: 0;
  display: flex;
  transform: rotate(90deg);
}

#company .scroll-list p {
  color: #f3f3f3;
  font-size: 120px;
  padding-right: 40px;
  line-height: 1;
  font-weight: 700;
  white-space: nowrap;
  font-family: "Cormorant", serif;
  animation: text-scroll 30s linear infinite;
}

@keyframes text-scroll {
  100% {
    transform: translateX(100%);
  }
}

#company .flex .box {
  width: 70%;
}

#company .flex dl {
  border-bottom: 1px solid #71c6d4;
  padding: 26px 0;
  display: flex;
}

#company .flex dl:first-of-type {
  border-top: 1px solid #71c6d4;
}

#company .flex dl dt {
  font-weight: 500;
  width: 190px;
}

#company .flex dl dd {
  width: 100%;
  flex: 1;
}

@media only screen and (max-width: 1040px) {

  #company .flex .box {
    width: 100%;
  }

  #company .flex dl {
    padding: 20px 0;
    display: block;
  }

  #company .flex dl dt {
    font-weight: 600;
    width: 100%;
  }

  #company .flex dl dd {
    width: 100%;
  }
}
