@charset "UTF-8";

/* ==================================================
   Contact Form Styles (contact.css)
================================================== */

/* ページ見出し（他の下層ページと統一感を持たせる） */
.p-sub-fv {
  padding: 120px 0 40px; /* 上部を120pxにしてヘッダーとのバランスを他のページと合わせる */
  text-align: center;
}
.p-sub-fv__title {
  font-size: 32px;
  font-weight: 400;
  font-family: var(--font-serif, 'Noto Serif JP', serif);
  letter-spacing: 0.1em;
  color: #333;
}

/* 導入テキスト（広すぎた空間を詰める） */
.p-form-intro {
  text-align: center;
  margin-bottom: 35px; /* 50pxから縮めてリード文からフォームまでの隙間を適正化 */
  line-height: 1.8;
  font-size: 15px;
}
.p-form-intro strong {
  color: var(--color-main, #f37c8f);
}

/* フォーム全体 */
.p-form {
  max-width: 800px;
  margin: 0 auto;
  background: #fff;
}

/* フォームグループ（各項目のまとまり） */
.p-form__group {
  margin-bottom: 35px;
}

/* ラベル（項目名） */
.p-form__label {
  display: flex;
  align-items: center;
  font-weight: bold;
  margin-bottom: 12px;
  font-size: 15px;
  color: #333;
}

/* 必須バッジ（ピンク色） */
.p-form__label.is-required::after {
  content: "必須";
  display: inline-block;
  background-color: var(--color-main, #f37c8f);
  color: #fff;
  font-size: 11px;
  padding: 3px 10px;
  border-radius: 3px;
  margin-left: 15px;
  font-weight: normal;
  letter-spacing: 0.05em;
}

/* 入力フィールド共通（テキスト、メール、電話、年齢） */
.p-form__input,
.p-form__textarea {
  width: 100%;
  padding: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 15px;
  background-color: #fafafa;
  box-sizing: border-box;
  font-family: inherit;
  transition: border-color 0.3s, background-color 0.3s;
}
.p-form__input::placeholder,
.p-form__textarea::placeholder {
  color: #bbb;
}
.p-form__input:focus,
.p-form__textarea:focus {
  border-color: var(--color-main, #f37c8f);
  background-color: #fff;
  outline: none;
  box-shadow: 0 0 5px rgba(243, 124, 143, 0.2);
}

/* チェックボックス・ラジオボタンのレイアウト */
.p-form__checkboxes,
.p-form__radios {
  display: flex;
  flex-wrap: wrap;
  gap: 15px 25px;
  padding: 5px 0;
}
.p-form__checkboxes label,
.p-form__radios label {
  display: flex;
  align-items: center;
  font-size: 14.5px;
  cursor: pointer;
  color: #444;
}
.p-form__checkboxes input,
.p-form__radios input {
  margin-right: 8px;
  transform: scale(1.2);
  cursor: pointer;
}

/* プライバシーポリシー同意エリア */
.p-form__group--privacy {
  text-align: center;
  margin: 60px 0 40px;
  padding: 35px 20px;
  background-color: #f7f9fa;
  border-radius: 8px;
}
.p-form__privacy-label {
  font-weight: bold;
  cursor: pointer;
  font-size: 15px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.p-form__privacy-label input {
  margin-right: 10px;
  transform: scale(1.3);
}
.p-form__privacy-label a {
  color: var(--color-main, #f37c8f);
  text-decoration: underline;
}
.p-form__privacy-label a:hover {
  text-decoration: none;
}

/* 送信ボタンエリア */
.p-form__submit {
  text-align: center;
  margin-bottom: 60px;
}

/* ==================================================
   SP Responsive (max-width: 768px)
================================================== */
@media screen and (max-width: 768px) {
  .p-sub-fv {
    padding: 50px 0 30px;
  }
  .p-sub-fv__title {
    font-size: 24px;
  }
  .p-form-intro {
    font-size: 14px;
    text-align: left;
    margin-bottom: 40px;
  }
  .p-form__checkboxes,
  .p-form__radios {
    flex-direction: column;
    gap: 14px;
  }
  .p-form__group--privacy {
    margin: 40px 0 30px;
    padding: 25px 15px;
  }
  .p-form__privacy-label {
    font-size: 14px;
    text-align: left;
    align-items: flex-start;
  }
  .p-form__privacy-label input {
    margin-top: 3px;
  }
}

/* ==================================================
   総合お問合わせ扉ページ (contact.css 追記用)
================================================== */

/* 導入文 */
.p-contact-gateway__intro {
  max-width: 800px;
  margin: 0 auto 50px;
  text-align: center;
  font-size: 14.5px;
  line-height: 1.9;
  color: #555;
}

/* 4つのカードグリッド（PC: 4列） */
.p-contact-gateway__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}

/* 各導線カード */
.p-contact-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  background: #fff;
  border: 1px solid #f37c8f; /* 薄いピンクまたはメインカラーの枠線 */
  border-radius: 8px;
  padding: 25px 20px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-sizing: border-box;
}
.p-contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 6px 16px rgba(243, 124, 143, 0.15);
  opacity: 1;
}

.p-contact-card__header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 20px;
}

.p-contact-card__icon {
  width: 44px;
  height: 44px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.p-contact-card__icon img {
  max-width: 100%;
  height: auto;
}

.p-contact-card__title {
  font-size: 14px;
  font-weight: bold;
  color: var(--color-main, #f37c8f);
  line-height: 1.4;
}

/* カード内のアクションボタン */
.p-contact-card__btn {
  background-color: var(--color-main, #f37c8f);
  color: #fff;
  text-align: center;
  padding: 12px 10px;
  border-radius: 22px;
  font-size: 13px;
  font-weight: bold;
  position: relative;
  margin-bottom: 15px;
  transition: opacity 0.3s;
}
.p-contact-card__btn span::after {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-left: 8px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
  transform: rotate(45deg);
  vertical-align: middle;
}
.p-contact-card:hover .p-contact-card__btn {
  opacity: 0.9;
}

.p-contact-card__note {
  font-size: 11px;
  color: #666;
  text-align: center;
  margin: 0;
}

/* 電話バナーセクション */
.p-contact-tel-banner {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 35px 20px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.03);
}
.p-contact-tel-banner__head {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-size: 16px;
  font-weight: bold;
  color: #333;
  margin-bottom: 10px;
}
.p-contact-tel-banner__icon {
  width: 24px;
  height: auto;
}
.p-contact-tel-banner__number {
  display: block;
  font-size: 38px;
  font-weight: bold;
  color: var(--color-main, #f37c8f);
  text-decoration: none;
  font-family: Arial, sans-serif;
  margin-bottom: 8px;
  letter-spacing: 0.05em;
}
.p-contact-tel-banner__number:hover {
  opacity: 0.8;
}
.p-contact-tel-banner__hours {
  font-size: 13px;
  color: #666;
  margin: 0;
}

/* ==================================================
   SP Responsive (max-width: 768px)
================================================== */
@media screen and (max-width: 768px) {
  .p-contact-gateway__intro {
    text-align: left;
    font-size: 13.5px;
    margin-bottom: 30px;
  }
  /* SP版は1列に崩す */
  .p-contact-gateway__grid {
    grid-template-columns: 1fr;
    gap: 15px;
    margin-bottom: 40px;
  }
  .p-contact-card {
    padding: 20px 15px;
  }
  .p-contact-tel-banner {
    padding: 25px 15px;
  }
  .p-contact-tel-banner__number {
    font-size: 28px;
  }
}