@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
*/


/*
 * Contact Form 7 カスタマイズCSS（縦積みレイアウト版）
 * 8bubu.com
 * メイン #c9842a / テキスト #161616 / リンク #27a2b5 / 背景 #e8e6d7
 */

/* ============================================
   フォーム全体の余白
============================================ */
.wpcf7 {
  margin-top: 48px !important;
}

/* ============================================
   ラッパー
============================================ */
.CF7_wrap {
  max-width: 680px;
  margin: 0 auto;
}

/* ============================================
   各項目ブロック
============================================ */
.CF7_item {
  margin-bottom: 32px;
}

/* ============================================
   ラベル
============================================ */
.CF7_label {
  display: block;
  font-size: 0.9em;
  font-weight: 600;
  color: #161616;
  margin-bottom: 4px !important;
  line-height: 1.6;
}
.CF7_item br {
  display: none;
}

/* ============================================
   「必須」バッジ
============================================ */
.CF7_req {
  display: inline-block;
  font-size: 0.75em;
  padding: 2px 8px;
  background: #c9842a;
  color: #ffffff;
  border-radius: 3px;
  margin-right: 0.6em;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

/* ============================================
   「任意」バッジ
============================================ */
.CF7_unreq {
  display: inline-block;
  font-size: 0.75em;
  padding: 2px 8px;
  background: #c8c4b0;
  color: #5a5650;
  border-radius: 3px;
  margin-right: 0.6em;
  letter-spacing: 0.05em;
  vertical-align: middle;
}

/* ============================================
   CF7が自動生成するラッパーの余白をリセット
============================================ */
.CF7_wrap .wpcf7-form-control-wrap {
  display: block !important;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  padding-top: 0 !important;
  padding-bottom: 0 !important;
}

/* ============================================
   入力フィールド共通
============================================ */
.CF7_wrap input[type="text"],
.CF7_wrap input[type="email"],
.CF7_wrap input[type="tel"],
.CF7_wrap input[type="url"],
.CF7_wrap select,
.CF7_wrap textarea {
  width: 100%;
  background-color: #ffffff;
  color: #161616;
  border: 1px solid #c8c4b0;
  border-radius: 6px;
  padding: 12px 14px;
  font-size: 1em;
  box-sizing: border-box;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  -webkit-appearance: none;
  appearance: none;
  font-family: inherit;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

.CF7_wrap input[type="text"]:focus,
.CF7_wrap input[type="email"]:focus,
.CF7_wrap input[type="tel"]:focus,
.CF7_wrap input[type="url"]:focus,
.CF7_wrap select:focus,
.CF7_wrap textarea:focus {
  outline: none;
  border-color: #c9842a;
  box-shadow: 0 0 0 3px rgba(201,132,42,.12);
}

/* プレースホルダー */
.CF7_wrap input::placeholder,
.CF7_wrap textarea::placeholder {
  color: #a09b8e;
}

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

/* ============================================
   チェックボックス・ラジオボタン
============================================ */
.CF7_wrap .wpcf7-checkbox,
.CF7_wrap .wpcf7-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 20px;
  margin-top: 0 !important;
}

.CF7_wrap .wpcf7-checkbox label,
.CF7_wrap .wpcf7-radio label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #161616;
  font-size: 0.92em;
  cursor: pointer;
  line-height: 1.5;
  margin: 0 !important;
}

.CF7_wrap .wpcf7-checkbox input[type="checkbox"],
.CF7_wrap .wpcf7-radio input[type="radio"] {
  width: auto;
  accent-color: #c9842a;
  flex-shrink: 0;
}

/* ============================================
   チェックボックス・ラジオボタンのタップ領域を広げる
============================================ */
.CF7_wrap .wpcf7-checkbox label,
.CF7_wrap .wpcf7-radio label {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  color: #161616 !important;
  font-size: 0.95em !important;
  cursor: pointer !important;
  line-height: 1 !important;
  padding: 6px 0 !important;
  margin: 0 !important;
  vertical-align: middle !important;
}

.CF7_wrap .wpcf7-checkbox input[type="checkbox"],
.CF7_wrap .wpcf7-radio input[type="radio"] {
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  min-height: 18px !important;
  accent-color: #c9842a !important;
  flex-shrink: 0 !important;
  cursor: pointer !important;
  margin: 0 !important;
  padding: 0 !important;
  vertical-align: middle !important;
  position: relative !important;
  top: 0 !important;
}

/* ============================================
   注記テキスト（CF7_note）
============================================ */
.CF7_note {
  display: block;
  font-size: 0.78em;
  color: #7a7060;
  margin-top: 6px !important;
  margin-bottom: 0;
  line-height: 1.6;
}

/* ============================================
   プライバシー注記（CF7_privacy）
============================================ */
.CF7_privacy {
  text-align: center;
  font-size: 0.78em;
  color: #8a8070;
  margin-top: 16px;
}

.CF7_privacy a {
  color: #27a2b5;
  text-decoration: underline;
}

/* ============================================
   公式LINEボタン（CF7_line）
============================================ */
.CF7_line {
  margin-top: 32px;
  padding: 20px;
  background: #f0ede0;
  border-radius: 8px;
  text-align: center;
  font-size: 14px;
  color: #161616;
  border: 1px solid #c8c4b0;
}

.CF7_line-btn {
  display: inline-block;
  background: #06C755;
  color: #ffffff !important;
  font-weight: 700;
  text-decoration: none !important;
  padding: 12px 28px;
  border-radius: 8px;
  margin-top: 10px;
  font-size: 15px;
}

.CF7_line-btn:hover {
  opacity: 0.88;
}

/* ============================================
   送信ボタン
============================================ */
.CF7_btn {
  text-align: center;
  margin-top: 32px;
  margin-bottom: 10px;
}

.wpcf7 input.wpcf7-submit {
  background-color: #c9842a !important;
  border: none !important;
  color: #ffffff !important;
  font-size: 1em !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  padding: 14px 60px !important;
  border-radius: 6px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease;
}

.wpcf7 input.wpcf7-submit:hover {
  background-color: #a86820 !important;
}

/* Turnstile非表示（機能は維持） */
.wpcf7-turnstile {
  display: none !important;
}

/* スピナー非表示 */
.wpcf7-spinner {
  width: 0 !important;
  margin: 0 !important;
}

/* ============================================
   送信完了・エラーメッセージ
============================================ */
.wpcf7-response-output {
  margin: 16px auto !important;
  max-width: 680px !important;
  padding: 12px 20px !important;
  border-radius: 6px !important;
  font-size: 0.9em !important;
  text-align: center !important;
}

.wpcf7-mail-sent-ok {
  background-color: #edf6ed !important;
  color: #2e6b2e !important;
  border: 1px solid #9ecf9e !important;
}

.wpcf7-mail-sent-ng,
.wpcf7-aborted,
.wpcf7-validation-errors {
  background-color: #fdf0ed !important;
  color: #8b2a1a !important;
  border: 1px solid #e8a898 !important;
}

.wpcf7-not-valid {
  border-color: #cc4444 !important;
}

.wpcf7-not-valid-tip {
  color: #b83a2a !important;
  font-size: 0.8em !important;
  margin-top: 4px !important;
  display: block !important;
}

/* ============================================
   スマホ（767px以下）
============================================ */
@media screen and (max-width: 767px) {
  .wpcf7 {
    margin-top: 32px !important;
  }

  .CF7_item {
    margin-bottom: 24px;
  }

  .CF7_wrap .wpcf7-checkbox,
  .CF7_wrap .wpcf7-radio {
    flex-direction: column;
    gap: 10px;
  }

  .wpcf7 input.wpcf7-submit {
    width: 80% !important;
    padding: 14px 0 !important;
  }
}