@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/************************************
** 子テーマ用のスタイルを書く
************************************/
/*必要ならばここにコードを書く*/

/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}

.wpcf7-form {
  max-width: 600px;
  margin: 2em auto;
  padding: 2em;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}
.wpcf7-form label {
  font-weight: bold;
  font-size: .95em;
}
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form textarea {
  margin-top: .4em;
  padding: .7em 1em;
  border: 1px solid #ccd3dc;
  border-radius: 8px;
  background: #f8fafc;
}
.wpcf7-form input:focus,
.wpcf7-form textarea:focus {
  border-color: #005a8c;
  background: #fff;
  outline: none;
}
.wpcf7-form textarea { height: 10em; }
.wpcf7-form input[type="submit"] {
  display: block;
  width: 60%;
  margin: 1em auto 0;
  padding: .9em;
  border: none;
  border-radius: 999px;
  background: #005a8c;
  color: #fff;
  font-weight: bold;
  cursor: pointer;
}
.wpcf7-form input[type="submit"]:hover { opacity: .85; }

.entry-content:has(.wpcf7) > p,
.entry-content:has(.wpcf7) > ul {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.entry-content:has(.wpcf7) > ul {
  list-style: none;
  padding: 1.2em 1.5em;
  background: #eef4f9;
  border-left: 4px solid #005a8c;
  border-radius: 8px;
}
.entry-content:has(.wpcf7) > ul li {
  margin: .3em 0;
  padding-left: 1.4em;
  position: relative;
}
.entry-content:has(.wpcf7) > ul li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: #005a8c;
  font-weight: bold;
}
.entry-content:has(.wpcf7) > p {
  font-size: .95em;
  line-height: 1.9;
}