@charset "UTF-8";
/* CSS Document */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.c-title {
  padding: 200px 30px 80px;
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-align: center;
}

.c-text {
  padding-top: 20px;
  font-weight: 600;
}

/* フォーム全体のスタイル */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 10px; /* 各入力欄の間隔 */
  max-width: 400px; /* フォームの最大幅 */
  margin: 0 auto;
  font-weight: 500;
}

/* 各入力欄のスタイル */
.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  font-size: 1.6rem;
  border: 1px solid #ddd;
  border-radius: 5px;
  outline: none;
  transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: #333;
}

/* テキストエリア（複数行）の高さ */
.contact-form textarea {
  height: 150px;
  resize: vertical; /* 手動で高さを変えられる */
}

/* 送信ボタンのスタイル */
.contact-form button {
  width: 200px;
  height: 100px;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 50px; 
  cursor: pointer;
  transition: background-color 0.3s;
  margin: 0 auto; 
  display: block; 
  text-align: center; 
  line-height: 100px; 
  font-family: "Poppins", '游ゴシック体', 'YuGothic', '游ゴシック', 'Yu Gothic', sans-serif;
  font-size: 1.8rem;
  letter-spacing: 0.16em;
  font-weight: 400;
  margin-top: 70px;
}

.contact-form button:hover {
  background-color: rgba(0, 0, 0, 0); /* 背景透明 */
  color: #333; /* テキストの色を変更 */
  border: 1px solid #333333; /* 線の色は黒に */
}

.contact-form span {
  color: #ff0000;
}

@media (max-width: 768px) {
  .c-title {
    text-align: center;
    font-size: 2rem;
    letter-spacing: 0.03rem;
    padding: 100px 0 20px 0;
  }

  .c-text {
    padding-top: 20px;
    font-size: 1.6rem;
  }

  .horizontal-line {
    width: 80%; /* 横幅 */
    height: 1px; /* 線の太さ */
    background-color: black; /* 線の色 */
    border: none; /* デフォルトのスタイルを削除 */
    margin: 40px auto; /* 上下の余白 */
  }

  /* フォーム全体のスタイル */
  .contact-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 315px;
    margin: 0 auto;
    font-weight: 500;
    padding: 0 25px;
  }

  /* 各入力欄のスタイル */
  .contact-form input,
  .contact-form textarea {
    width: 100%;
    padding: 10px;
    font-size: 1.4rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s;
  }

  .contact-form input:focus,
  .contact-form textarea:focus {
    border-color: #333;
  }

  .contact-form button {
    width: 200px;
    height: 100px;
    background-color: rgb(0, 40, 0);
    color: #fff;
    border: none;
    border-radius: 50px; /* 50pxで丸みを最大化 */
    cursor: pointer;
    transition: background-color 0.3s;
    margin: 0 auto; /* 中央揃え */
    display: block; /* 横幅指定時に中央揃えを維持 */
    text-align: center; /* テキスト中央揃え */
    line-height: 100px; /* 高さ中央にテキストを揃える */
    letter-spacing: 0.16em;
    font-weight: 500;
    margin-top: 70px;
  }
}

/* フッター */
.logo-center img {
  width: 180px;
  height: auto;
}

.foot-box {
  position: relative;
  width: 100%;
  height: 500px;
  background-image: url(/assets/imgs/footer.JPG);
  background-repeat: no-repeat;
  background-size: cover;
  animation: backgroundMove 20s linear infinite;
}

/* 背景画像を動かすアニメーション */
@keyframes backgroundMove {
  0% {
    background-position: 0% 0%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 100%;
  }
}

.logo-center {
  position: absolute;
  bottom: 20px;
  left: 60px;
  transform: none;
}

.copy {
  position: absolute;
  bottom: 20px;
  right: 60px;
  color: #fff;
}

.copy small {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .foot-box {
    position: relative;
    max-width: 768px;
    width: 100%;
    height: 100vh;
    margin: 0 auto;
    animation: backgroundMove 50s linear infinite;
  }

  .logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    bottom: auto;
  }

  .logo-center img {
    width: 180px;
    height: auto;
  }

  .copy {
    position: absolute;
    bottom: 20px;
    left: 60px;
    color: #fff;
  }

  .copy small {
    margin: 0;
    font-size: 1.1rem;
  }
}

/* thank you */
.thanks-text {
  align-items: center;
  text-align: center;
  padding: 20px;
}

.thanks-text img {
  display: block;
  width: 60px;
  margin: 0 auto;
}

.thanks-text p {
  font-size: 2.4rem;
  font-weight: 600;
  color: #333;
  padding-top: 30px;
}

.thanks-text .thanks-message {
  font-size: 1.8rem;
  font-weight: 400;
  color: #333;
  padding-top: 50px;
  width: 600px;
  text-align: justify;
  margin: 0 auto;
}

.centered-container {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100vh;
  text-align: center;
  padding: 20px;
}

.thanks-close {
  text-decoration: none;
  font-family: "Poppins", '游ゴシック体', 'YuGothic', '游ゴシック', 'Yu Gothic', sans-serif;
  font-size: 1.8rem;
  font-weight: 500;
  cursor: pointer;
  margin-bottom: 1rem;
  display: inline-flex;
  align-items: center;
  padding-top: 100px;
  color: #333;
}

@media (max-width: 768px) {
  .thanks-text {
    align-items: center;
    text-align: center;
    padding: 20px;
    width: 100%;
  }

  .thanks-text img {
    display: block;
    width: 50px;
    margin: 0 auto;
  }

  .thanks-text p {
    font-size: 1.8rem;
    font-weight: 600;
    color: #333;
    padding-top: 30px;
  }

  .thanks-text .thanks-message {
    font-size: 1.4rem;
    font-weight: 400;
    color: #333;
    padding-top: 30px;
    max-width: 300px;
    width: 100%;
    text-align: justify;
    margin: 0 auto;
  }

  .centered-container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    text-align: center;
    padding: 20px;
  }

  .thanks-close {
    text-decoration: none;
    font-family: "Zen Maru Gothic", serif;
    font-size: 1.8rem;
    font-weight: 500;
    cursor: pointer;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    padding-top: 80px;
    color: #333;
  }
}

/* トップへ戻る */
.c-top a {
  display: block;
  text-align: center;
  margin-top: 100px;
  color: #333;
  font-size: 1.6rem;
}