@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
*/
/*------------ コンタクトフォーム「web予約」 -------------------------------------------------------*/
/* 表全体 */
table.CF7_table {
  width: 100%;
  border: 2px solid #d6e4f0;
  border-collapse: collapse;
}
table.CF7_table tr {
  border-top: 1px solid #d6e4f0;
}
.CF7_table th,
.CF7_table td {
  padding: 16px;
  vertical-align: top;
  text-align: left;
}

/* 入力欄 */
.CF7_table input[type="text"],
.CF7_table input[type="email"],
.CF7_table input[type="tel"],
.CF7_table input[type="date"],
.CF7_table select,
.CF7_table textarea {
  border: 1px solid #c5d5e6;
  border-radius: 4px;
  padding: 8px;
  background: #fff;
}
.CF7_table input[type="text"],
.CF7_table input[type="email"],
.CF7_table input[type="tel"],
.CF7_table textarea {
  width: 100%;
}
.CF7_table input[type="date"],
.CF7_table select {
  margin: 0 8px 8px 0;
}
.CF7_table input:focus,
.CF7_table select:focus,
.CF7_table textarea:focus {
  border-color: #2b6cb0;
  outline: none;
}

/* ラジオを縦並び */
.CF7_table .wpcf7-list-item {
  display: block;
  margin: 0 0 8px;
}

/* 必須・任意ラベル */
.CF7_req,
.CF7_unreq {
  display: inline-block;
  font-size: .8em;
  padding: 2px 8px;
  color: #fff;
  border-radius: 3px;
  margin-right: 1em;
}
.CF7_req { background: #2b6cb0; }   /* 必須：青 */
.CF7_unreq { background: #a0aec0; } /* 任意：グレー */

/* 項目名の列（PC） */
@media screen and (min-width: 768px) {
  .CF7_table th {
    width: 30%;
    background-color: #eaf2fb;      /* 薄い青 */
  }
}

/* スマホでは縦並び */
@media screen and (max-width: 767px) {
  .CF7_table tr,
  .CF7_table th,
  .CF7_table td {
    display: block;
    width: 100%;
  }
  .CF7_table th {
    background-color: #eaf2fb;
  }
}

/* 送信ボタン */
.CF7_btn {
  text-align: center;
  margin: 32px 0;
}
.wpcf7 input.wpcf7-submit {
  background-color: #2b6cb0;
  border: 0;
  border-radius: 4px;
  color: #fff;
  font-size: 1.1em;
  font-weight: bold;
  padding: 14px 64px;
  cursor: pointer;
  transition: background-color .3s;
}
.wpcf7 input.wpcf7-submit:hover {
  background-color: #1e4e8c;
}

.CF7_table input[type="date"],
.CF7_table select {
  border: 1px solid #d8d8d8;
  padding: 8px;
  margin: 0 8px 8px 0;
}