@charset "UTF-8";

/* お問い合わせページ専用スタイル */

/* フォームセクション */
.contact-form-section {
  padding: 60px 0;
  min-height: 100vh;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

.contact-form-section .inner {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* フォームリード文 */
.form-lead {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 30px;
  text-align: center;
  color: #514545;
}

.form-lead .english {
  font-size: 14px;
  color: #76384d;
  margin-top: 8px;
  display: block;
}

/* 必須項目テキスト */
.required-text {
  font-size: 14px;
  color: #ff0000;
  text-align: center;
  margin-bottom: 40px;
  padding: 10px;
  background-color: rgba(255, 0, 0, 0.05);
  border-radius: 5px;
  border: 1px solid rgba(255, 0, 0, 0.2);
}

/* フォームテーブル */
.contact-form-section table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 40px;
  background-color: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  border: 1px solid #e0e0e0;
}

.contact-form-section th {
  width: 30%;
  padding: 25px 20px;
  background-color: #76384d;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
  vertical-align: top;
  line-height: 1.6;
}

.contact-form-section th .english {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 5px;
  display: block;
  font-weight: normal;
}

.contact-form-section th .required {
  color: #ffcccc;
  font-weight: bold;
  margin-left: 5px;
}

.contact-form-section td {
  padding: 25px 20px;
  background-color: #fff;
  vertical-align: top;
}

/* 入力フィールド */
.contact-form-section .input {
  width: 100%;
  max-width: 400px;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  transition: all 0.3s ease;
  background-color: #fff;
}

.contact-form-section .input:focus {
  outline: none;
  border-color: #76384d;
  box-shadow: 0 0 10px rgba(118, 56, 77, 0.2);
}

.contact-form-section .input::placeholder {
  color: #999;
  font-size: 14px;
}

/* テキストエリア */
.contact-form-section textarea {
  width: 100%;
  min-height: 120px;
  padding: 15px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 16px;
  font-family: inherit;
  resize: vertical;
  transition: all 0.3s ease;
  background-color: #fff;
}

.contact-form-section textarea:focus {
  outline: none;
  border-color: #76384d;
  box-shadow: 0 0 10px rgba(118, 56, 77, 0.2);
}

/* プライバシーチェック */
.privacy-check {
  margin: 40px 0;
  text-align: center;
}

.privacy-check label {
  display: inline-flex;
  align-items: center;
  cursor: pointer;
  font-size: 16px;
  color: #514545;
}

.privacy-check input[type="checkbox"] {
  margin-right: 10px;
  transform: scale(1.2);
  accent-color: #76384d;
}

.privacy-check .policy-link {
  color: #76384d;
  text-decoration: underline;
  transition: color 0.3s ease;
}

.privacy-check .policy-link:hover {
  color: #5a2b3a;
}

/* ボタンエリア */
.button_box {
  text-align: center;
  margin-top: 40px;
}

.button_box .submit {
  padding: 15px 40px;
  margin: 0 10px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  min-width: 180px;
}

.button_box .submit.clear {
  background-color: #f0f0f0;
  color: #514545;
  border: 2px solid #ddd;
}

.button_box .submit.clear:hover {
  background-color: #e0e0e0;
  border-color: #ccc;
}

.button_box .submit:not(.clear) {
  background-color: #76384d;
  color: #fff;
}

.button_box .submit:not(.clear):hover {
  background-color: #5a2b3a;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(118, 56, 77, 0.3);
}

/* プライバシーポリシーセクション */
.policy-wrapper {
  margin: 60px 0 0 0;
  padding: 60px 0;
  border-top: 2px solid #e0e0e0;
}

.privacy-policy {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.privacy-policy h2 {
  font-size: 24px;
  color: #76384d;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 500;
}

.policy-content h3 {
  font-size: 18px;
  color: #514545;
  margin: 30px 0 15px 0;
  font-weight: 500;
  border-left: 4px solid #76384d;
  padding-left: 15px;
}

  .policy-content p {
    font-size: 16px;
    line-height: 1.8;
    color: #514545;
    margin-bottom: 20px;
  }
  
  /* 英語版プライバシーポリシー */
  .policy-content.english {
    margin-top: 50px;
    padding-top: 40px;
    border-top: 1px solid #ddd;
  }
  
  .policy-content.english h3 {
    color: #76384d;
    font-size: 18px;
    margin: 30px 0 15px 0;
    padding-left: 15px;
    border-left: 4px solid #76384d;
  }
  
  .policy-content.english h3:first-child {
    margin-top: 0;
  }
  
  .policy-content.english p {
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 20px;
  }

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
  .contact-form-section {
    padding: 40px 0;
  }
  
  .contact-form-section .inner {
    padding: 0 15px;
  }
  
  /* フォームリード文 */
  .form-lead {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 25px;
  }
  
  .form-lead .english {
    font-size: 12px;
    margin-top: 6px;
  }
  
  /* 必須項目テキスト */
  .required-text {
    font-size: 12px;
    margin-bottom: 30px;
    padding: 8px;
  }
  
  .contact-form-section table {
    display: block;
  }
  
  .contact-form-section th,
  .contact-form-section td {
    display: block;
    width: 100%;
    padding: 20px 15px;
  }
  
  .contact-form-section th {
    background-color: #76384d;
    color: #fff;
    font-size: 14px;
    line-height: 1.4;
  }
  
  .contact-form-section th .english {
    font-size: 10px;
    margin-top: 4px;
  }
  
  .contact-form-section th .required {
    font-size: 12px;
  }
  
  .contact-form-section .input,
  .contact-form-section textarea {
    max-width: 100%;
    font-size: 16px; /* iOSでズームを防ぐ */
    padding: 12px;
  }
  
  .contact-form-section textarea {
    min-height: 100px;
  }
  
  /* プライバシーチェック */
  .privacy-check {
    margin: 30px 0;
  }
  
  .privacy-check label {
    font-size: 14px;
    line-height: 1.4;
  }
  
  .privacy-check input[type="checkbox"] {
    transform: scale(1.1);
  }
  
  /* ボタンエリア */
  .button_box {
    margin-top: 30px;
  }
  
  .button_box .submit {
    display: block;
    width: 100%;
    margin: 10px 0;
    padding: 16px 20px;
    font-size: 15px;
  }
  
  .policy-wrapper {
    padding: 40px 0;
    margin: 40px 0 0 0;
  }
  
  .privacy-policy {
    padding: 0 15px;
  }
  
  .privacy-policy h2 {
    font-size: 18px;
    margin-bottom: 30px;
  }
  
  .policy-content h3 {
    font-size: 15px;
    margin: 25px 0 12px 0;
    padding-left: 12px;
  }
  
  .policy-content p {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;
  }
  
  /* スマホ版英語版プライバシーポリシー */
  .policy-content.english {
    margin-top: 30px;
    padding-top: 25px;
  }
  
  .policy-content.english h3 {
    font-size: 14px;
    margin: 20px 0 10px 0;
    padding-left: 10px;
  }
  
  .policy-content.english p {
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
  }
}

/* アニメーション */
.inviewfadeInUp {
  opacity: 1;
  transform: translateY(0);
  transition: all 0.8s ease;
}

.inviewfadeInUp.scrollin {
  opacity: 1;
  transform: translateY(0);
}

/* フォーカス時のアニメーション */
.contact-form-section .input:focus,
.contact-form-section textarea:focus {
  transform: scale(1.02);
}

/* ホバーエフェクト */
.contact-form-section .input:hover,
.contact-form-section textarea:hover {
  border-color: #b0b0b0;
}

html, body {
  height: 100%;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}
main {
  flex: 1;
}
