@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
*/

/*ContactForm7カスタマイズ*/
table.CF7_table{
    width:100%;
    margin:0 auto;
    border: 3px solid #e5e5e5;
}

table.CF7_table tr{
    border-top: 1px solid #e5e5e5;
}

.single .entry-content table.CF7_table,
.page .entry-content table.CF7_table{
    display:table;
}

/*入力欄*/
.CF7_table input, .CF7_table textarea {
    border: 1px solid #d8d8d8;
    width: 100%;
}

.CF7_table ::placeholder {
    color:#797979;
}

/*「必須」文字*/
.CF7_req{
    font-size:.9em;
    padding: 5px;
    background: #cf2e2e;
    color: #fff;
    border-radius: 3px;
    margin-right:1em;
}

/*「任意」文字*/
.CF7_unreq{
    font-size:.9em;
    padding: 5px;
    background: #bdbdbd;/*グレー*/
    color: #fff;
    border-radius: 3px;
    margin-right:1em;
}

/* タイトル列 */
@media screen and (min-width: 768px){
    .CF7_table th{
    width:30%;/*横幅*/
    background-color:#ebedf5;/*ブルーグレー*/
    }
}

/* レスポンシブ */
@media screen and (max-width: 768px){
    table.CF7_table{
    width:95%;
    }
    .CF7_table tr, .CF7_table td, .CF7_table th{
    display: block;
    width: 100%;
    line-height:2.5em;
    }
    .CF7_table th{
    background-color:#ebedf5;
    }
}

/* 「送信する」ボタン */
.wpcf7 input.wpcf7-submit {
    background-color:#cf2e2e;
    border:0;
    color:#fff;
    font-size:1.2em;
    font-weight:bold;
    margin:0 auto;
}
  .wpcf7 input.wpcf7-submit:hover {
      background-color: #00A0E9; /* ホバー時の色 */
    }

.CF7_btn{
    text-align:center;
    margin-top:20px;
}

.wpcf7-spinner{
    width:0;
    margin:0;
}
input[type=submit] {
    font-size: 1rem;
    border: 1px solid var(--vk-color-primary-dark);
    background-color: var(--vk-color-primary);
    color: #fff;
    padding: .5em 2em;
    border-radius: var(--vk-size-radius);
      border-radius: 5px;
}
