@charset "UTF-8";
/* お問い合わせ（page-templates/contact.php）。現行の contact.html は other.css だけで、ページ用の CSS は無い。
   ここは Contact Form 7 にしたことで足したもの（2026-11-05） */

/* --- Contact Form 7 を現行のフォーム（other.css の #form_box・.form_island）の見た目に合わせる ---
   CF7 は選択肢を <span class="wpcf7-list-item"><label><input><span class="wpcf7-list-item-label">…</span></label></span> で出す。
   現行は <input> の次の <label class="radio|checkbox"> で丸・チェックを描いていたので、同じ指定を .wpcf7-list-item-label に当てる */
.form_island .wpcf7-list-item{
  margin:0 .5em 0 0;
}
.form_island .wpcf7-list-item label{
  cursor:pointer;
}
.form_island .wpcf7-checkbox .wpcf7-list-item-label,
.form_island .wpcf7-acceptance .wpcf7-list-item-label{
  box-sizing:border-box;
  position:relative;
  display:inline-block;
  margin:0 5px 8px 0;
  padding:3px 12px 3px 20px;
  border-radius:8px;
  vertical-align:middle;
  cursor:pointer;
}
.form_island .wpcf7-checkbox .wpcf7-list-item-label:after,
.form_island .wpcf7-acceptance .wpcf7-list-item-label:after{
  -webkit-transition:border-color 0.2s linear;
  transition:border-color 0.2s linear;
  position:absolute;
  top:50%;
  left:0;
  display:block;
  margin-top:-10px;
  width:16px;
  height:16px;
  border:2px solid #bbb;
  border-radius:6px;
  content:'';
}
.form_island .wpcf7-checkbox .wpcf7-list-item-label:before,
.form_island .wpcf7-acceptance .wpcf7-list-item-label:before{
  -webkit-transition:opacity 0.2s linear;
  transition:opacity 0.2s linear;
  position:absolute;
  top:50%;
  left:6px;
  display:block;
  margin-top:-8px;
  width:5px;
  height:9px;
  border-right:3px solid #C93710;
  border-bottom:3px solid #C93710;
  content:'';
  opacity:0;
  -webkit-transform:rotate(45deg);
  -ms-transform:rotate(45deg);
  transform:rotate(45deg);
}
.form_island input[type=checkbox]:checked + .wpcf7-list-item-label:before{
  opacity:1;
}

/* 現行の textarea の style="height: 140px; ime-mode: active;" */
#form_box dd textarea.ws80{
  height:140px;
}
/* 「確認のため再入力」と同じでないときなどのエラー文 */
#form_box .wpcf7-not-valid-tip{
  font-size:0.9em;
  margin-top:5px;
}
/* 送信中の印（ボタンの下に出す） */
#form_box .send_bt .wpcf7-spinner{
  display:block;
  margin:8px auto 0;
}
