@charset "UTF-8";
/*
    Template: swell
    Theme Name: SWELL CHILD
    Theme URI: https://swell-theme.com/
    Description: SWELLの子テーマ
    Version: 1.0.0
    Author: LOOS WEB STUDIO
    Author URI: https://loos-web-studio.com/

    License: GNU General Public License
    License URI: http://www.gnu.org/licenses/gpl.html
*/

/* =========================
   FORM01
   Contact Form 7 カスタムCSS
========================= */

.mocorun-form01 {
  max-width: 680px;
  margin: 36px auto 0;
}

/* CF7ラッパー: カード枠を取り除いてクリーンに */
.mocorun-form01 .wpcf7 {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  box-shadow: none;
}

/* CF7が生成するpタグ: ラベルスタイルに統一 */
.mocorun-form01 .wpcf7 p {
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.5;
  color: var(--hm-navy);
}

.mocorun-form01 .wpcf7-form-control-wrap {
  display: block;
  margin-top: 6px;
  margin-bottom: 0;
}

/* 入力欄共通 */
.mocorun-form01 input[type="text"],
.mocorun-form01 input[type="email"],
.mocorun-form01 input[type="url"],
.mocorun-form01 input[type="tel"],
.mocorun-form01 select,
.mocorun-form01 textarea {
  width: 100%;
  box-sizing: border-box;
  background: var(--hm-bg, #f7fbff);
  border: 1px solid var(--hm-border, #dde8f0);
  border-radius: 12px;
  padding: 13px 16px;
  font-size: 15px;
  line-height: 1.6;
  color: var(--hm-text, #1d2939);
  font-family: inherit;
  transition: border-color 0.2s, background 0.2s;
  appearance: none;
}

/* テキストエリア */
.mocorun-form01 textarea {
  min-height: 130px;
  resize: vertical;
  line-height: 1.7;
}

/* フォーカス時 */
.mocorun-form01 input[type="text"]:focus,
.mocorun-form01 input[type="email"]:focus,
.mocorun-form01 input[type="url"]:focus,
.mocorun-form01 input[type="tel"]:focus,
.mocorun-form01 select:focus,
.mocorun-form01 textarea:focus {
  outline: none;
  border-color: var(--hm-blue, #1f6fb8);
  background: #fff;
}

/* プレースホルダー */
.mocorun-form01 ::placeholder {
  color: var(--hm-muted, #667085);
  opacity: 0.6;
}

/* ラジオボタン・チェックボックス */
.mocorun-form01 .wpcf7-list-item {
  display: block;
  margin: 0 0 10px 0;
}

.mocorun-form01 input[type="radio"],
.mocorun-form01 input[type="checkbox"] {
  transform: scale(1.15);
  margin-right: 8px;
  accent-color: var(--hm-green, #25a779);
}

/* プライバシーポリシー同意 */
.mocorun-form01 .wpcf7-form-control.wpcf7-acceptance {
  font-size: 14px;
  line-height: 1.7;
  color: var(--hm-muted, #667085);
  text-align: center;
}

/* 送信ボタン */
.mocorun-form01 input[type="submit"] {
  width: 100%;
  border: none;
  border-radius: 999px;
  background: var(--hm-green, #25a779);
  color: #fff;
  font-size: 17px;
  font-weight: 800;
  line-height: 1.4;
  padding: 18px 20px;
  cursor: pointer;
  font-family: inherit;
  letter-spacing: 0.02em;
  transition: opacity 0.2s, transform 0.2s;
  box-shadow: 0 10px 24px rgba(37, 167, 121, 0.28);
}

.mocorun-form01 input[type="submit"]:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.mocorun-form01 input[type="submit"]:active {
  transform: translateY(0);
}

/* 送信中スピナー */
.mocorun-form01 .wpcf7-spinner {
  display: block;
  margin: 12px auto 0;
}

/* バリデーションエラー */
.mocorun-form01 .wpcf7-not-valid-tip {
  margin-top: 6px;
  font-size: 13px;
  color: #d33;
  font-weight: 500;
}

.mocorun-form01 .wpcf7 form.invalid .wpcf7-response-output,
.mocorun-form01 .wpcf7 form.unaccepted .wpcf7-response-output,
.mocorun-form01 .wpcf7 form.payment-required .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #f0caca;
  background: #fff7f7;
  color: #b42318;
  font-size: 14px;
}

/* 送信成功 */
.mocorun-form01 .wpcf7 form.sent .wpcf7-response-output {
  margin: 16px 0 0;
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid #b7e4c7;
  background: #f3fff7;
  color: #18794e;
  font-size: 14px;
}

/* reCAPTCHA ノート */
.mocorun-form01 .hm-recaptcha-note,
.mocorun-form01 .wpcf7-recaptcha-note,
.mocorun-form01 .wpcf7-recaptcha-notice {
  font-size: 12px;
  color: var(--hm-muted, #667085);
  line-height: 1.7;
  text-align: center;
  margin-top: 12px;
  margin-bottom: 0;
}

.mocorun-form01 input[type="hidden"],
.mocorun-form01 textarea[name="g-recaptcha-response"],
.mocorun-form01 .g-recaptcha-response {
  display: none !important;
}

/* スマホ調整 */
@media (max-width: 767px) {
  .mocorun-form01 .wpcf7 p {
    font-size: 13px;
    margin-bottom: 16px;
  }

  .mocorun-form01 input[type="text"],
  .mocorun-form01 input[type="email"],
  .mocorun-form01 input[type="url"],
  .mocorun-form01 input[type="tel"],
  .mocorun-form01 select,
  .mocorun-form01 textarea {
    font-size: 16px; /* iPhoneズーム防止 */
    padding: 13px 14px;
  }

  .mocorun-form01 textarea {
    min-height: 160px;
  }

  .mocorun-form01 input[type="submit"] {
    font-size: 16px;
    padding: 16px 18px;
  }

  .hm-lp-body .mocorun-form01 .hm-recaptcha-note {
    font-size: 11px;
  }
}
