@charset "utf-8";

/*
 * 汎用
 * --------------------------------------------------
 */

.page-title {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
  aspect-ratio: 32/9;
  position: relative;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.page-title video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.page-title img {
  width: calc(100% + 100px);
  height: auto;
  object-fit: cover;
  object-position: 50px center;
  animation: title-slide 5s forwards;
  position: absolute;
}

@keyframes title-slide {
  0% {
    transform: translateX(0px);
  }

  100% {
    transform: translateX(-50px);
  }
}

.page-title h1 {
  font-size: 2cqi;
  line-height: 1;
  font-weight: 500;
  position: absolute;
  display: flex;
  flex-wrap: wrap;
  width: auto;
  justify-content: center;
  color: #ffffff;
  letter-spacing: 0.1cqi;
  filter: drop-shadow(1px 1px 1px rgba(0, 0, 0, 0.5));
}

@media (max-width: 767px) {
  .page-title {
    aspect-ratio: 16/9;
  }

  .page-title h1 {
    font-size: 5cqi;
  }
}

/*
 * テキスト
 * --------------------------------------------------
 */
.contact-image,
.contact-text {
  display: flex;
  flex-wrap: wrap;
  width: 60%;
  height: auto;
  margin: 0px auto;
}

.contact-text p {
  display: inline-block;
  width: 100%;
  font-size: 2cqi;
  line-height: 2;
  letter-spacing: 0.1cqi;
  font-weight: 400;
  text-align: left;
}

.contact-image img {
  width: 100%;
  height: auto;
}

.contact-button_back {
  display: flex;
  flex-wrap: wrap;
  width: 30%;
  font-size: 2cqi;
  line-height: 1;
  background: rgba(50, 50, 50, 1);
  color: #ffffff;
  justify-content: center;
  align-items: center;
  padding: 3cqi 0px;
  margin: 0px auto;
}

@media(max-width:1200px) {

  .contact-image,
  .contact-text {
    width: 75%;
  }
}

@media (max-width:767px) {

  .contact-image,
  .contact-text {
    width: 100%;
  }

  .contact-text p {
    font-size: 3.5cqi;
  }

  .contact-button_back {
    width: 60%;
    font-size: 3.5cqi;
    padding: 5cqi 0px;
  }
}