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



/*SWELLのH2見出しをZen Maru Gothicに変更*/

h2.zen-maru-h2 {
  font-family: 'Zen Maru Gothic', sans-serif;
  font-weight: 300;
}


/* コンタクトフォームの装飾 */
.cf7__list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

.cf7__list dt,
.cf7__list dd {
  margin-top: 30px;
}

.cf7__list dt {
  width: 35%;
  padding-top: 15px;
}

.cf7__list dd {
  width: 65%;
}

/* 必須・任意 */
.cf7__required,
.cf7__optional {
  margin-right: 15px;
  padding: 6px 14px;
  color: #fff;
  font-size: 12px;
  vertical-align: 1px;
}

.cf7__required {
  background: #67B0A8;
}

.cf7__optional {
  background: #878D8E;
}

/* input・textarea */
.cf7__list dd input[type="text"],
.cf7__list dd input[type="tel"],
.cf7__list dd input[type="email"],
.cf7__list dd textarea {
  width: 100%;
  padding: 15px 20px;
  background: #F4F4F4;
}

/* プレースホルダー */
.cf7__list dd input[type="text"]::placeholder,
.cf7__list dd input[type="tel"]::placeholder,
.cf7__list dd input[type="email"]::placeholder,
.cf7__list dd textarea::placeholder {
  color: #a5a5a5;
}

/* Microsoft Edge */
.cf7__list dd input[type="text"]::-ms-input-placeholder,
.cf7__list dd input[type="tel"]::-ms-input-placeholder,
.cf7__list dd input[type="email"]::-ms-input-placeholder,
.cf7__list dd textarea::-ms-input-placeholder {
  color: #a5a5a5;
}

/* Internet Explorer */
.cf7__list dd input[type="text"]:-ms-input-placeholder,
.cf7__list dd input[type="tel"]:-ms-input-placeholder,
.cf7__list dd input[type="email"]:-ms-input-placeholder,
.cf7__list dd textarea:-ms-input-placeholder {
  color: #a5a5a5;
}

/* 送信ボタン（中央寄せ） */

input[type="submit"] {
  display: block; /* inline-blockからblockに変更 */
  margin: 40px auto 0; /* ← ここを修正：上40px、左右中央、下0 */
  width: 260px;
  max-width: 100%; /* スマホ画面で横幅がはみ出さないための保険 */
  height: 60px;
  background: #4A8494;
  color: #fff;
  transition: opacity .6s;
  border: none; /* デフォルトの枠線をリセット */
  cursor: pointer; /* マウスオーバーで指マークにする */
}

input[type="submit"]:hover {
  opacity: .6;
}

/* プライバシーポリシーのチェック（中央寄せ） */
.cf7__privacy {
  text-align: center;
  margin-top: 20px;
}

/* ajax-loader */
.wpcf7-spinner {
  vertical-align: middle;
}

@media screen and (max-width: 767px) {
  .cf7__list dt {
    width: 100%;
    margin-bottom: 15px;
    padding-top: 0;
  }

  .cf7__list dd {
    width: 100%;
  }

  /* 送信ボタン（スマホサイズ） */
  input[type="submit"] {
    width: 180px;
    height: 56px;
  }
}

/* 行間調整 */
.cf7__list dt,
.cf7__list dd,
.cf7__list label,
.cf7__list input[type="text"],
.cf7__list input[type="tel"],
.cf7__list input[type="email"],
.cf7__list textarea {
  line-height: 1.8;
}

