@charset "UTF-8";

.parallax_wrapper {
  position: relative;
  height: 100vh;
  font-size: 7rem;
  text-align: center;
  padding: 40%;
  margin-top: 80px;
  margin-bottom: 150px;
}

.page_title {
  position: absolute;
  color: #000;
  font-weight: 700;
  font-size: calc(3.125rem + ((1vw - 0.2rem) * 11.1607));
  text-shadow: 7px 7px 10px rgb(0 0 0 / 40%);
  letter-spacing: 1rem;
  line-height: 1.2;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  margin: 0 auto;
}

.texts {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: -1;
}

.texts li {
  position: absolute;
  display: block;
  list-style: none;
  animation: animate 20s linear infinite;
  bottom: -50px;
}

.texts li:nth-child(1) {
  color: #66c1ff;
  left: 25%;
  font-size: 1rem;
  animation-delay: 0s;
}


.texts li:nth-child(2) {
  color: #44b3ff;
  left: 10%;
  font-size: 2rem;
  animation-delay: 2s;
  animation-duration: 12s;
}

.texts li:nth-child(3) {
  color: #22a5ff;
  left: 70%;
  font-size: 2rem;
  animation-delay: 4s;
}

.texts li:nth-child(4) {
  color: #0097ff;
  left: 40%;
  font-size: 1.4rem;
  animation-delay: 0s;
  animation-duration: 18s;
}

.texts li:nth-child(5) {
  color: var(--my-color3);
  left: 65%;
  font-size: 1.6rem;
  animation-delay: 0s;
}

.texts li:nth-child(6) {
  color: var(--my-color2);
  left: 75%;
  font-size: 1rem;
  animation-delay: 3s;
}

.texts li:nth-child(7) {
  color: var(--my-color1);
  left: 35%;
  font-size: 2rem;
  animation-delay: 7s;
}

.texts li:nth-child(8) {
  color: #003d66;
  left: 50%;
  font-size: 1.8rem;
  animation-delay: 15s;
  animation-duration: 45s;
}

.texts li:nth-child(9) {
  color: #001e33;
  left: 20%;
  font-size: 1.2rem;
  animation-delay: 2s;
  animation-duration: 35s;
}

@keyframes animate {
  0%{
      transform: translateY(0) rotate(0deg);
      opacity: 1;
  }
  100%{
      transform: translateY(-1000px) rotate(720deg);
      opacity: 0;
  }
}

main {
  font-size: calc(1.2rem + ((1vw - 0.2rem) * 0.4545));
}

h1.block  {
  font-size: calc(2.5rem + ((1vw - 0.2rem) * 5.6818));
  letter-spacing: 0.3rem;
	line-height: 1.3;
  margin: 0;
  margin-bottom: 30px;
}

.company table,
.history table {
  width: 100%;
}

/* ------------- */
/*     About     */
/* ------------- */
.behavioral,
.company {
  margin-bottom: 120px;
}

.about_bg_img {
  position: relative;
  width: 100%;
  height: 300px;
  background: center / cover url('../img/about.gif');
  background-attachment: fixed;
  margin-bottom: 120px;
}

.about_h {
  margin-bottom: 120px;
  text-align: center;
}

.about_h2 {
  height: 100%;
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
}

.about_h2 span {
  display: inline-block;
  padding: 1rem;
  margin: 0.5rem;
  background: #000;
  color: #fff;
  line-height: 0.8;
  font-weight: 400;
}

h2 span {
  display: block;
  font-size: calc(1rem + ((1vw - 0.2rem) * 1.5909));
}

/* Behavioral */
.behavioral li {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
  -webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
  position: relative;
  padding: 1rem 0;
}

.behavioral li::after {
  content: '';
  position: absolute;
  background: linear-gradient(to left, var(--my-color1), var(--my-color2), var(--my-color3));
  height: 2px;
  width: 0;
  bottom: 0;
  transition: .8s;
}

.behavioral li.appear::after {
  width: 100%;
} 

.behavioral .number {
  opacity: 1;
  font-size: 2rem;
  color:  var(--my-color3);
  margin: 0;
  transform: translateX(0%);
}

.behavioral li .text {
  -webkit-box-flex:1;
  -ms-flex:1;
  flex: 1;
}

/* Company */
.company table {
  text-align: left;
}

.company table th {
  display: block;
  color: var(--my-color2);
  font-size: 1.4rem;
  padding: 1rem;
  letter-spacing: 0.4rem;
  border-bottom: 1px solid;
	border-image: linear-gradient(to left, var(--my-color1), var(--my-color2), var(--my-color3)) 1/0 0 1px 0;
	border-style: solid;
}

.company table td {
  display: block;
  padding: 1rem;
}

.map {
  width: 100%;
  margin: 0 auto;
  padding-top: 30px;
}

.map iframe {
  display: block;
  width: 100%;
  margin: 0 auto;
  filter: grayscale(90%);
  border: none;
  height: 300px;
}

/* History */
.history {
  margin-bottom: 120px;
}

.history table th {
  font-size: 2rem;
  padding: 3rem 0 1rem;
  font-weight: normal;
}

.history table th.left,
.history table td.left {
  text-align: left;
}

.history table th.left {
  color: var(--my-color3);
}

.history table th.right {
  color: var(--my-color1);
}

.history table th.right,
.history table td.right {
  text-align: right;
}

.history table td {
  text-align: center;
  background: #fff;
}

.history table td.h_line {
  position: relative;
}

.history table td.h_line::after {
  content: '';
  position: absolute;
  background: linear-gradient(to left, var(--my-color1), var(--my-color2), var(--my-color3));
  height: 2px;
  width: 0;
  left: 0;
  bottom: -1.6rem;
  transition: .8s;
}

.history table td.h_line.appear::after {
  width: 100%;
}

/* ------------- */
/*    Message    */
/* ------------- */
section.message {
  position: relative;
  padding:0;
  background: none;
  margin-bottom: 178px;
}

.m_line {
  position: absolute;
  top: 10rem;
  left: -2rem;
  background: linear-gradient(to left, var(--my-color1), var(--my-color2), var(--my-color3));
  height: 1px;
  width: 30%;
  z-index: 1;
  transition: .8s;
}

.m_line2 {
  position: absolute;
  bottom: 3rem;
  right: -2rem;
  background: linear-gradient(to left, var(--my-color1), var(--my-color2), var(--my-color3));
  height: 1px;
  width: 30%;
  z-index: 1;
  transition: .8s;
}

.message_img {
  margin-right: 3rem;
  padding-left: 0;
}

section.message::after {
  position: absolute;
  content: '代表挨拶';
  font-size: 7rem;
  color: var(--my-color1);
  opacity: 0.6;
  writing-mode: vertical-rl;
  top: -1rem;
  right: -3rem;
}

.message_img img {
  display: block;
  width: 100%;
  user-select: none;
  background: #9e9e9e36;
  transform: translateX(-200%);
  transition: transform .3s;
}

.message_img.appear img  {
  transform: translateX(0%);
  transition-delay: .3s;
}

.message_text {
  position: relative;
  padding: 5rem 2rem;
  margin: 2rem 0 0 3rem;
  line-height: 1.9;
  letter-spacing: .03rem;
  background: #9e9e9e36;
}

.message_text > h3 {
  margin: 0 auto 2rem;
}

.message_text > h3:last-of-type {
  margin-top: 2rem;
}

.message_text h3 span {
  padding: 0.5rem 0;
}

.message_text strong {
	border-image: linear-gradient(to left, var(--my-color1), var(--my-color2), var(--my-color3)) 1/0 0 1px 0;
	border-style: solid;
}

.ceo_name {
  position: absolute;
  left: -3rem;
  bottom: -7rem;
  width: 60%;
  padding: 2rem 1rem;
  margin: 1rem auto;
  font-size: calc(1rem + ((1vw - 0.2rem) * 0.4545));
  text-align: center;
  background: #000;
  z-index: 1;
}

.name {
  padding: 0;
}

.name.block.appear,
.ceo.appear {
  color: #fff;
}

.ceo {
  display: block;
}

/* ------------- */
/*    Service    */
/* ------------- */
.service h2 {
  margin-bottom: 80px;
}

section.service li.left,
section.service li.right {
  margin-bottom: 120px;
}

.s_number1,
.s_number2,
.s_number3,
.s_number4 {
  position: relative;
  pointer-events: none;
}

.s_number1::after,
.s_number3::after {
  position: absolute;
  content: '01';
  top: -9rem;
  left: -2rem;
  font-size: 10rem;
  text-shadow: 4px 4px 10px rgb(255 255 255 / 40%);
  z-index: 2;
}

.s_number3::after {
  content: '03';
}

.s_number2::after,
.s_number4::after {
  position: absolute;
  content: '02';
  top: -9rem;
  right: -2rem;
  font-size: 10rem;
  text-shadow: 4px 4px 10px rgb(255 255 255 / 40%);
  z-index: 2;
}

.s_number4::after {
  content: '04';
}

li.left h3,
li.right h3 {
  margin: 3rem 0;
  padding-left: 0;
}

li.left h3::before,
li.right h3::before {
  content: attr(date-service-title)' - ';
}

.link {
  display: inline-block;
  position: relative;
  text-align: right;
  text-decoration: none;
  font-weight: 600;
  color: #000;
  margin-left: auto;
  margin-top: 3rem;
}

.link::after {
  content: '';
  position: absolute;
  background: linear-gradient(to left, var(--my-color1), var(--my-color2), var(--my-color3));
  left: 0;
  right: 0;
  bottom: -3px;
  height: 4px;
  transform: translateX(-100%);
  opacity: 0;
  transition: opacity .4s, transform 0.4s;
}

.link:hover:after{
  opacity: 1;
  transform: translateX(0%);
}

/* ------------- */
/*    Recruit    */
/* ------------- */
section.recruit {
  margin-bottom: 120px;
}

section.recruit table {
  padding: 2rem;
  border-collapse: collapse;
  width: 100%;
  margin: 2rem auto 6rem;
}

section.recruit th {
  text-align: left;
  padding: 1rem 2rem;
  background: #000;
  color: #fff;
  border: 1px solid;
}

section.recruit td {
  padding: 2rem;
  font-weight: 400;
}

section.recruit td span,
.r_text span,
.send_message span {
  font-weight: bold;
	border-image: linear-gradient(to left, var(--my-color1), var(--my-color2), var(--my-color3)) 1/0 0 1px 0;
	border-style: solid;
}

.r_text span a {
  text-decoration: none;
}

.r_text {
  padding: 2rem;
  width: 100%;
  margin: 0 auto 3rem;
  text-align: center;
}

.r_text a {
  color: #000;
}

.small {
  font-size: 1rem;
}

.contact_btn a {
  display: block;
  width: 50%;
  margin: 0 auto;
  text-align: center;
  text-decoration: none;
  line-height: 50px;
  font-size: 1.6rem;
  background: #000;
  color: #fff;
  margin-top: 2rem;
  transition: background .3s;
}

.contact_btn a:hover {
  background: linear-gradient(to left, var(--my-color1), var(--my-color2), var(--my-color3));
}

/* ------------- */
/*    Contact    */
/* ------------- */
.contact {
  margin-bottom: 120px;
}

form {
  text-align: left;
  width: 100%;
  margin: 0 auto;
  padding: 2rem 0;
}

.contact_table th {
  padding: 0 1rem;
  width: 30%;
}

input[type="text"],
input[type="email"],
textarea {
  width: 100%;
  padding: 1.6rem;
  margin: 0.3rem 0 2rem;
}

/* input[type="checkbox"] {
  user-select: none;
} */

input[type="submit"] {
  -webkit-appearance: none;
  display: block;
  position: relative;
  width: 50%;
  background: #000;
  color: #fff;
  text-align: center;
  border: none;
  border-radius: 0;
  text-decoration: none;
  line-height: 50px;
  font-weight: 600;
  letter-spacing: 0.3rem;
  margin: 7rem auto 2rem;
  cursor: pointer;
  transition: background .3s;
}

input[type="submit"]:focus {
  outline-offset: -2px;
}

input[type="submit"]:hover {
  background: linear-gradient(to left, var(--my-color1), var(--my-color2), var(--my-color3));
}

span.mandatory {
  background: red;
  font-weight: 400;
  font-size: 1.2rem;
  color: #fff;
  padding: 0.4rem;
  margin-left: 1rem;
  font-size: 1.2rem;
}

span.error {
  color: red;
  padding: 1rem;
  font-weight: 600;
  font-size: 1.2rem;
}

.confirm_h2 {
  text-align: center;
}

.confirm_table {
  margin: 0 auto;
  width: 100%;
}

.confirm_table th,
.confirm_table td {
  padding: 1rem 0.5rem;
}

.btn_box {
  display:-webkit-box;
  display:-ms-flexbox;
  display:flex;
}

.btn_box .back,
.btn_box .send {
  margin: 7rem 2rem;
}

.send_message {
  width: 90%;
  margin: 0 auto;
  border: 1px solid;
  padding: 2rem 2rem 3rem;
  font-size: 1.4rem;
}

/* -------------------- */
/*    Privacy Policy    */
/* -------------------- */
section.privacy {
  margin-bottom: 120px;
}

.plivacyPage_title {
  letter-spacing: 1rem;
  line-height: 1.1;
  font-size: 4rem;
  color: #000;
  text-shadow: 4px 4px 10px rgb(0 0 0 / 52%);
  position: absolute;
  top: 15rem;
  left: 0;
  right: 0;
  margin: 0 auto;
}

h2.underLine {
  margin: 3rem 0;
  padding: 1rem 0;
	border-image: linear-gradient(to left, var(--my-color1), var(--my-color2), var(--my-color3)) 1/0 0 1px 0;
	border-style: solid;
}

/* ------------------ */
/*    レスポンシブ    */
/* ------------------ */
@media (min-width: 768px) {
  /* -- About -- */
  .about_bg_img {
    min-height: 400px;
  }

  .behavioral .number {
    width: 50px;
  }

  .company table tr {
    display:-webkit-box;
  	display:-ms-flexbox;
  	display:flex;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    border-bottom: 1px solid;
    border-image: linear-gradient(to left, var(--my-color1), var(--my-color2), var(--my-color3));
    border-image-slice: 1;
  }

  .company table th {
    display: table;
    border: none;
    width: 30%;
    color: var(--my-color3);
    background: none;
  }
  
  .company table td {
    display: table;
    width: 100%;
  }

  /* -- Message -- */
  section.message::after {
    font-size: 10rem;
    right: -5rem;
  }

  .ceo_name {
    bottom: -9rem;
  }
  /* -- Privacy Policy -- */
  .plivacyPage_title{
    font-size: 9rem;
  }
}


@media (min-width: 960px) {
  .parallax_wrapper {
    margin-top: 0;
  }

  h2 span {
    font-size: 3rem;
  }

  .page_title {
    font-size: 13rem;
  }

  /* -- Service -- */
  .service h2 {
    margin-bottom: 150px;
  }

  .s_number1::after,
  .s_number3::after,
  .s_number2::after,
  .s_number4::after {
    top: -12rem;
    font-size: 15rem;
  }

  .s_number1::after,
  .s_number3::after {
    left: -4rem;
  }

  .s_number2::after,
  .s_number4::after {
    right: -4rem;
  }

  /* -- Message -- */
  .message_text {
    padding: 5rem 3rem;
 
  }
}


