/* ============================================================
   MAR5AUX — contact.css
   お問い合わせページ固有
============================================================ */

/* ============================================================
   ページ上部ラベル
============================================================ */
.contact-page-hero {
  padding: 100px 20px 0;
}

.contact-page-hero__label {
  display: inline-block;
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  font-size: 12px;
  letter-spacing: 0.05em;
  color: #1A1A1A;
  font-weight: 400;
  margin-right: 5px;
}

.contact-page-hero__label_en {
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-weight: 300;
}

.no-break {
  white-space: nowrap;
}

/* ============================================================
   フォームセクション
============================================================ */
.cform-section {
  padding: 40px 20px 60px;
}

.cform-section__inner {
  max-width: 850px;
  margin: 0 auto;
}

.cform-section__lead {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 400;
  line-height: 2.5;
  color: #1A1A1A;
  letter-spacing: 0.04em;
  margin-bottom: 28px;
  margin-top: 110px;
  text-align: center;
}

/* SP: <br> 表示 */
.cform-section__lead-br {
  display: inline;
}

/* ============================================================
   フォームボックス
============================================================ */
.cform-box {
  background-color: #FBFBFB;
  padding: 28px 20px 56px;
  margin-bottom: 40px;
}

.cform {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cform__field {
  padding: 5px 0;
}

.cform__field:first-of-type {
  margin-top: 20px;
}

/* テキスト入力・メール・電話 */
.cform__input {
  width: 100%;
  background-color: #ffffff;
  border: none;
  padding: 12px 4px 12px 1rem;
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  font-size: 14px;
  color: #111111;
  outline: none;
  appearance: none;
  -webkit-appearance: none;
  transition: border-color 0.2s;
  font-weight: 400;
  margin: 10px 0;
}

.cform__input::placeholder {
  color: #656565;
  font-size: 14px;
}

/* ラベル */
.cform__label {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #1A1A1A;
  font-weight: 400;
  margin-bottom: 13px;
  margin-top: 10px;
}

/* ラジオグループ */
.cform__radio-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.cform__radio-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 14px;
  color: #656565;
  cursor: pointer;
  font-weight: 400;
}

.cform__radio-label:has(.cform__radio:checked) {
  color:#1A1A1A;
}

.cform__radio-label .is_select{
  color: #1A1A1A;
}

.cform__radio {
  accent-color: #9F353A;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  cursor: pointer;
}

/* テキストエリア */
.cform__textarea {
  width: 100%;
  min-height: 160px;
  background-color: #ffffff;
  border: none;
  padding: 12px 4px 12px 1rem;
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  font-size: 14px;
  color: #111111;
  outline: none;
  resize: vertical;
  transition: border-color 0.2s;
  font-weight: 400;
  margin-top: 5px;
}

.cform__textarea::placeholder {
  color: #656565;
  font-size: 14px;
}

/* プライバシー */
.cform__privacy {
  padding: 14px 0 15px;
}

.cform__privacy-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 12px;
  color: #1A1A1A;
  cursor: pointer;
  font-weight: 400;
}

.cform__privacy-check-label {
  cursor: pointer;
  position: relative;
}

.cform__check {
  position: absolute;
  opacity: 0;
  inset: 0; 
  width: 100%;
  height: 100%;
}

.cform__checkbox {
  width: 16px;
  height: 16px;
  border: 1px solid #8A8A8A;
  display: inline-block;
  position: relative;  
  flex-shrink: 0;
  cursor: pointer;
  vertical-align: middle;
}

.cform__check:checked + .cform__checkbox::after {
  content: "";
  color: #9F353A;
  position: absolute;
  background: url("../images/check.svg") no-repeat center / contain;
  width: 85%;
  height: 85%;
  left: 1.5px;
  top: 1.5px;
}

.cform__privacy-link {
  text-decoration: underline;
  text-underline-offset: 2px;
  color: #1A1A1A;
}

/* 送信ボタン */
.cform__submit-wrap {
  display: flex;
  justify-content: center;
  padding-top: 4px;
}

.cform__submit {
  width: 333px;
  background-color: #1A1A1A;
  border-radius: 99px;
  color: #ffffff;
  border: none;
  font-family: 'Noto Sans JP', 'Roboto', sans-serif;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: 0.1em;
  padding: 18px 60px;
  cursor: pointer;
  transition: background-color 0.2s, opacity 0.2s;
}

.cform__submit:hover {
  opacity: 0.75;
}

/* ============================================================
   お問い合わせ先情報
============================================================ */
.cform-info {
  text-align: center;
}

.cform-info__heading {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.06em;
  color: #1A1A1A;
  margin-bottom: 6px;
}

.cform-info__links {
  font-family: 'Roboto', 'Noto Sans JP', sans-serif;
  font-size: 18px;
  color: #8A8A8A;
  letter-spacing: 0.04em;
}

.cform-info__link:hover {
  color: #9F353A;
  text-decoration: underline;
  text-underline-offset: 2px;
  transition: opacity 0.2s;
}

/* ============================================================
   FAQ セクション
============================================================ */
.cfaq {
  padding: 60px 20px 100px;
}

.cfaq__inner {
  max-width: 1150px;
  margin: 0 auto;
}

.cfaq__heading {
  font-family: 'Roboto', sans-serif;
  font-size: 37px;
  font-weight: 500;
  letter-spacing: 0.05em;
  color: #1A1A1A;
  text-align: center;
  margin-bottom: 40px;
}

.cfaq__list {
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cfaq__item {
  border-top: 1px dashed #F0F0F0;
  padding: 28px 0;
}

.cfaq__item:last-child {
  border-bottom: 1px dashed #F0F0F0;
}

.cfaq__q {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 16px;
}

.cfaq__q-mark {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 800;
  color: #1A1A1A;
  flex-shrink: 0;
  line-height: 1.5;
}

.cfaq__q-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: #1A1A1A;
  line-height: 1.7;
  letter-spacing: 0.03em;
}

.cfaq__a {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.cfaq__a-mark {
  font-family: 'Roboto', sans-serif;
  font-size: 24px;
  font-weight: 400;
  color: #656565;
  flex-shrink: 0;
  line-height: 1.5;
}

.cfaq__a-text {
  font-family: 'Noto Sans JP', sans-serif;
  font-size: 18px;
  font-weight: 400;
  color: #656565;
  line-height: 1.85;
  letter-spacing: 0.03em;
}

/* ============================================================
   PC BREAKPOINT (850px〜)
============================================================ */
@media (min-width: 850px) {
  /* ヒーロー */
  .contact-page-hero {
    padding: 120px 60px 0;
  }

  .contact-page-hero__label {
    font-size: 16px;
  }

  /* フォームセクション */
  .cform-section {
    padding: 56px 60px 80px;
  }

  .cform-section__lead {
    font-size: 18px;
    margin-top:40px;
    margin-bottom: 32px;
  }

  /* SP用改行を非表示 */
  .cform-section__lead-br {
    display: none;
  }

  /* フォームボックス */
  .cform-box {
    padding: 40px 150px 48px;
  }

  /* ラジオグループ：2行 × 3列 */
  .cform__radio-group {
    display: grid;
    grid-template-columns: repeat(18, minmax(0, 1fr));
    gap: 10px 15px;
  }

  .cform__radio-label:nth-child(1),
  .cform__radio-label:nth-child(2),
  .cform__radio-label:nth-child(3) {
    grid-column: span 6;
  }

  .cform__radio-label:nth-child(4) {
    grid-column: span 7;
  }

  .cform__radio-label:nth-child(5) {
    grid-column: span 4;
  }

  .cform__radio-label:nth-child(6) {
    grid-column: span 7;
  }

  .cform__submit {
    margin-top: 80px;
  }

  /* FAQ */
  .cfaq {
    padding: 80px 60px 120px;
  }

  .cfaq__heading {
    font-size: 48px;
    margin-bottom: 50px;
  }

  .cfaq__item {
    padding: 32px 0;
  }

  .cfaq__q {
    padding: 0 150px;
  }

  .cfaq__a {
    padding: 0 150px;
  }
}
