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

/************************************
** お問い合わせフォームの入力
************************************/
#cf-tbl{
width: 800px;
}

#cf-tbl table{
margin:auto;
width: 100%;
border-collapse: collapse;
border: solid #CCC;
border-width: 1px;
color: #444;
}
#cf-tbl table tr th,
#cf-tbl table tr td{
padding: 0.5em;
text-align: left;
vertical-align: top;
border: solid #CCC;
border-width: 1px;
vertical-align: middle;
}
#cf-tbl table tr th{
width: 35%;
background: #F5F5F5;
}
@media screen and (max-width:768px){
#cf-tbl{
width: 100%;
}

#cf-tbl table,
#cf-tbl table tbody,
#cf-tbl table tr,
#cf-tbl table tr th,
#cf-tbl table tr td{
display: block;
}

#cf-tbl table{
width: 100%;
border-width: 0 0 1px 0;
}

#cf-tbl table tr th,
#cf-tbl table tr td{
width: 100%;
padding: 3% 5%;
}

#cf-tbl table tr td{
border-width: 0px 1px 0px 1px;
}
}
/*「必須」文字デザイン*/
.required{
font-size:.8em;
padding: 5px;
background: #e02401;
color: #fff;
border-radius: 3px;
margin-right: 5px;
}

/*「任意」文字デザイン*/
.optional{
font-size:.8em;
padding: 5px;
background: #301B3F;
color: #fff;
border-radius: 3px;
margin-right: 5px;
}

/* 入力項目を見やすく */
input.wpcf7-form-control.wpcf7-text,
textarea.wpcf7-form-control.wpcf7-textarea {
	width: 100%;
	padding: 8px 15px;
	margin-right: 10px;
	margin-top: 10px;
	border: 1px solid #d0d5d8;
	border-radius: 3px;
	background-color: #eff1f5;
}
textarea.wpcf7-form-control.wpcf7-textarea {
	height: 200px;
}

/* 「送信する」ボタン */
#cf7-btn {
    display: block;
    padding: 15px;
    width: 400px;
    background: #EA5D00;
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    border-radius: 2px;
    margin: 15px auto 0
}
@media screen and (max-width: 768px) {
    #cf7-btn {
        width: 250px;
    }
}

#cf7-btn:hover {
    background: #e88a35;
    color: #fff;
    border: 2px solid #e88a35;
}

/* エラーメッセージを見やすく */
span.wpcf7-not-valid-tip,
.wpcf7-response-output.wpcf7-validation-errors {
	color: red;
	font-weight: 600;
}

/************************************
** プライバシーポリシー同意欄
************************************/

.privacy-consent {
  width: 800px;
  margin: 30px auto 20px;
  padding: 20px;
  text-align: center;
  background: #f7f7f7;
  border: 1px solid #ddd;
}

.privacy-consent p {
  margin: 0 0 12px;
  line-height: 1.8;
}

.privacy-consent a {
  color: #e95513;
  text-decoration: underline;
  font-weight: 600;
}

/* 同意チェック */
.privacy-consent .wpcf7-acceptance {
  display: block;
  margin-top: 10px;
}

.privacy-consent input[type="checkbox"] {
  margin-right: 7px;
  transform: scale(1.2);
}

/* スマホ */
@media screen and (max-width: 768px) {
  .privacy-consent {
    width: 100%;
    padding: 15px;
    margin: 20px auto 15px;
  }
}

  /* お問い合わせフォーム文字サイズ色 */
.form-note {
  font-size: 12px;
  color: #777;
  margin-top: 8px;
}

/* 送信ボタンをPC・スマホともに中央配置 */
.submit-center {
    text-align: center;
}

.submit-center input[type="submit"] {
    display: block;
    margin: 20px auto;
}