/* ------------------------------
 背景・文字色（アニメーション背景）
------------------------------ */
.honeypot {
  display: none !important;
  visibility: hidden;
  height: 0;
  overflow: hidden;
  position: absolute;
  left: -9999px;
}
body {
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", "Noto Serif JP", "Times New Roman", serif;
  color: #fff;
  background: linear-gradient(-45deg, #000, #111, #222, #000);
  background-size: 800% 800%;
  animation: gradientBG 25s ease infinite;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

@keyframes gradientBG {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ------------------------------
 ヒーロー画像
------------------------------ */
.hero-image {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  opacity: 0.5;
}

.hero-title {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: #fff;
  text-align: center;
  text-shadow: 0 0 10px rgba(0,0,0,0.5);
  width: 100%;
}

.hero-title h1 {
  font-size: 3rem;
  letter-spacing: 0.2em;
  margin: 0;
  position: relative;
  display: inline-block;
}

.hero-title h1::before,
.hero-title h1::after {
  content: "";
  display: inline-block;
  width: 5rem;
  height: 0.1rem;
  background: #fff;
  vertical-align: middle;
  margin: 0 1rem;
  opacity: 0.5;
}

.hero-title .sub-en {
  font-size: 1.2rem;
  color: #ccc;
  margin-top: 0.5rem;
  letter-spacing: 0.1em;
}
.content {
    background-image: linear-gradient(135deg, #1a1a1a, #2c2c2c, #1a1a1a);
    background-size: 400% 400%;
    animation: contentGradient 30s ease infinite;
    color: #fff;
    padding: 2rem;
}

@keyframes contentGradient {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ------------------------------
 お問い合わせフォーム
------------------------------ */
.contact-form {
  max-width: 800px;
  margin: 2rem auto;
  background: rgba(255, 255, 255, 0.05);
  padding: 2rem;
  box-shadow: 0 0 15px rgba(255,255,255,0.1);
}

.contact-form form p {
  margin-bottom: 1.5rem;
}

.contact-form label {
  display: block;
  margin-bottom: 0.3rem;
  color: #f0f0f0;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.7rem;
  font-size: 1rem;
  border: none;
  box-sizing: border-box;
}

.contact-form textarea {
  resize: vertical;
  min-height: 150px;
}

/* チェックボックス行 */
.contact-form .agree-check {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: #eee;
  line-height: 1.4;
  margin-bottom: 2rem;
}

/* チェックボックス input を左寄せ */
.contact-form .agree-check input[type="checkbox"] {
  margin-top: 0.2rem;
  transform: scale(1.2);
}

/* 送信ボタン */
.contact-form button {
width: 100%;
  display: block;
  background: #712b36;
  color: #fff;
  padding: 0.7rem 2rem;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  transition: background 0.3s;
  margin: 0 auto;
}

.contact-form button:hover {
  background: #843643;
}

/* ------------------------------
 プライバシーポリシー表示ボックス
------------------------------ */
.policy-box {
  height: 220px;
  overflow-y: auto;
  background: #e5e5e5;
  border: 1px solid #aaa;
  padding: 1rem;
  margin-bottom: 1.5rem;
  color: #000;
  font-size: 0.8rem;
  line-height: 1.6;
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.1);
}

.policy-box h3,
.policy-box h4 {
  margin-top: 1rem;
  font-size: 0.9rem;
  color: #333;
}

.policy-box ul {
  margin: 0.5rem 0 1rem 1.2rem;
  padding-left: 1rem;
}

.policy-box li {
  margin-bottom: 0.3rem;
}


/* ラッパーごと中央に配置 */
.agree-wrapper {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
}

/* チェックとラベルを横並びに整える */
.agree-check {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  color: #eee;
}

/* チェックボックス見た目調整 */
.agree-check input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: #f4e8b5; /* チェック色（対応ブラウザ用） */
  margin: 0;
}

/* ------------------------------
 フッター・ページトップ
------------------------------ */
.footer {
  text-align: center;
  padding: 2rem;
  font-size: 0.8rem;
  color: #aaa;
  background: rgba(0,0,0,0.7);
}

.page-top {
  position: fixed;
  bottom: 20px;
  right: 20px;
  text-decoration: none;
  background: #fff;
  color: #000;
  padding: 0.7rem 1.2rem;
  font-size: 0.8rem;
  border-radius: 50px;
  opacity: 0.7;
  transition: 0.3s;
}

.page-top.show,
.page-top:hover {
  opacity: 1;
}
/* 必須ラベル表示 */
.required-label {
  color: #ff6666;
  font-weight: bold;
  margin-left: 0.5rem;
  font-size: 0.85rem;
}

/* 必須フィールドの強調枠線（フォーカス時含む） */
/* .contact-form input[required],
.contact-form textarea[required] {
  border: 1px solid #ff9999;
  background-color: rgba(255, 102, 102, 0.05);
} */

/* フォーカス時の強調 */
/* .contact-form input[required]:focus,
.contact-form textarea[required]:focus {
  outline: 2px solid #ff6666;
  background-color: rgba(255, 102, 102, 0.1);
} */

/* お問い合わせ完了メッセージ */
.thanks-message {
  text-align: center;
  max-width: 600px;
  margin: 5rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 0 10px rgba(255,255,255,0.1);
  border-radius: 1rem;
  color: #fff;
  line-height: 1.8;
}

.thanks-message h1 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: #fff;
}

.thanks-message p {
  font-size: 1rem;
}



/* ------------------------------
 スマホ対応
------------------------------ */
@media screen and (max-width: 768px) {
  .hero-image {
    height: 30vh;
  }

  .hero-title h1 {
    font-size: 1.8rem;
  }

  .hero-title h1::before,
  .hero-title h1::after {
    width: 1.5rem;
    margin: 0 0.5rem;
  }

  .hero-title .sub-en {
    font-size: 0.8rem;
  }

  .contact-form {
    padding: 1rem;
  }

  .policy-box {
    height: 180px;
    font-size: 0.8rem;
  }

}
