@charset "UTF-8";

/* --- カラー定義 --- */
:root {
  --blue-color: #1a62b8;
  --red-color: #e24941;
  --darkblue-color: #0b3d75;
  --bg-light: #FFFCE7;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  width: 100%;
  background-color: var(--bg-light);
  font-family: 'Noto Sans JP', sans-serif;
  color: #333;
  line-height: 1.7;
}

.lp-section {
  width: 100%;
  display: flex;
  justify-content: center;
}

.lp-section img {
  width: 100%;
  height: auto;
  display: block; /* 画像下部の隙間防止 */
}

/* 768px以上（PC表示） */
@media screen and (min-width: 768px) {
  .pc-only {
    display: block;
  }
  .sp-only {
    display: none;
  }
  .pc-only .lp-section img {
    max-width: 1200px;
    margin: 0 auto;
  }
}

/* 767px以下（SP表示） */
@media screen and (max-width: 767px) {
  .pc-only {
    display: none;
  }
  .sp-only {
    display: block;
  }
}

/* PC表示では追従LINEバナーを非表示 */
.sp-line-fix {
  display: none;
}

/* --- お問い合わせフォームセクション --- */
.contact-section {
  padding: 0 20px;
  background-color: var(--bg-light);
}

.contact-section .section-title {
  text-align: center;
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--blue-color);
  margin-bottom: 30px;
}

.contact-form {
  max-width: 700px;
  margin: 0 auto;
  /* 背景色を同系色（少し明るめのクリーム色）に変更 */
  background-color: #fffce7;
  padding: 40px;
  border-radius: 12px;
  /* 細い枠線（1px）を追加 */
  border: 1px solid #e8e2c8;
  /* 影を薄くしてカードの強調度を調整 */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.form-group {
  margin-bottom: 25px;
}

.form-group label {
  display: block;
  font-weight: 700;
  margin-bottom: 8px;
  font-size: 0.95rem;
  color: #333;
}

/* 必須・任意バッジ */
.form-group label .required {
  background-color: var(--red-color);
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

.form-group label .optional {
  background-color: #888;
  color: #fff;
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 8px;
  vertical-align: middle;
}

/* 入力フィールド全般 */
.form-control {
  width: 100%;
  padding: 12px 15px;
  font-size: 1rem;
  font-family: inherit;
  border: 1px solid #ccc;
  border-radius: 6px;
  background-color: #fff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--blue-color);
  box-shadow: 0 0 0 3px rgba(26, 98, 184, 0.15);
}

/* テキストエリア */
textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* 送信ボタンエリア */
.form-submit {
  text-align: center;
  margin-top: 30px;
}

.submit-btn {
  display: inline-block;
  width: 100%;
  max-width: 300px;
  padding: 15px 30px;
  background-color: var(--blue-color);
  color: #fff;
  font-size: 1.1rem;
  font-weight: 700;
  border: none;
  border-radius: 30px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.1s ease;
}

.submit-btn:hover {
  background-color: var(--darkblue-color);
}

.submit-btn:active {
  transform: translateY(1px);
}

/* 767px以下（SP表示）の設定 */
@media screen and (max-width: 767px) {
  .contact-section {
    padding: 40px 15px;
  }

  .contact-form {
    padding: 25px 20px;
  }

  .sp-line-fix {
    display: block;
    position: fixed;
    bottom: 20px;
    right: 15px;
    z-index: 9999;
    width: 25%;
    max-width: 120px;
  }

  .sp-line-fix a {
    display: block;
    width: 100%;
  }

  .sp-line-fix img {
    width: 100%;
    height: auto;
    display: block;
    filter: drop-shadow(0px 4px 8px rgba(0, 0, 0, 0.2));
  }
}