/*
Theme Name: OceanWP Child Theme
Theme URI: https://oceanwp.org/
Description: OceanWP WordPress theme. Sample child theme.
Author: OceanWP
Author URI: https://oceanwp.org/
Template: oceanwp
Version: 1.0
*/

/* Parent stylesheet should be loaded from functions.php not using @import */

/*トップへ戻るボタン*/
#scroll-top {
z-index: 9999999;
}

a:focus{
	outline: 0!important;
	}
a:focus{
        outline: 0!important;
        }

/*リンクアンダーバー*/
.single-post:not(.elementor-page) .entry-content a:not(.wp-block-button__link):not(.wp-block-file__button), .page:not(.elementor-page):not(.woocommerce-page) .entry a:not(.wp-block-button__link):not(.wp-block-file__button){
   text-decoration: none;
}


/*必須項目赤色*/
.contact .req{
	color: #f00;
}


/* -------------------------
   お問合せカスタマイズ
-------------------------- */

.cf7__list {
  display: flex;
  flex-wrap: wrap;
  margin-bottom: 60px;
}

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

.cf7__list dd {
  width: 65%;
}

.cf7__list dt:nth-of-type(n + 2),
.cf7__list dd:nth-of-type(n + 2) {
  margin-top: 30px;
}

/* -------------------------
   必須・任意
-------------------------- */

.cf7__required,
.cf7__optional {
  margin-right: 15px;
  padding: 6px 14px;
  color: #fff;
  font-size: 12px;
  vertical-align: 1px;
}

.cf7__required {
  background: #BE1D1D;
}

.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::placeholder,
.cf7__list dd textarea::placeholder {
  color: #a5a5a5;
}

/* -------------------------
   チェックボックス・ラジオボタン：縦並び
-------------------------- */

.cf7__list dd .wpcf7-list-item {
  display: block;
}

.cf7__list dd .wpcf7-list-item + .wpcf7-list-item {
  margin-top: 18px;
}

/* 同意ブロック（プライバシーポリシー部分） */
.cf7__agreement {
  display: block;
  width: 100%;
  margin: 30px 0 0;
}

.cf7__agreement label {
  display: inline-block;
}
/* チェックボックスとラベル間の調整 */
input[type="checkbox"] {
  margin-right: 8px;
  vertical-align: middle;
  cursor: pointer;
}

/* -------------------------
   チェックボックス・ラジオボタンの装飾
-------------------------- */

input[type="checkbox"] {
  appearance: none;
  width: 18px;
  height: 18px;
  border: 1px solid #bcbcbc;
  margin-right: 8px;
  position: relative;
  cursor: pointer;
}
input[type="radio"] {
  appearance: auto;
  -webkit-appearance: radio;
  border-radius: 50%;
}

/* チェック時のデザイン */
input[type="checkbox"]:checked {
  border: 1px solid #000;
  background: #000;
}

input[type="checkbox"]:checked::before {
  content: "";
  position: absolute;
  top: 2px;
  left: 5px;
  width: 6px;
  height: 10px;
  border-right: 2px solid #fff;
  border-bottom: 2px solid #fff;
  transform: rotate(50deg);
}

/* -------------------------
   送信ボタン
-------------------------- */

.cf7__button {
  text-align: center;
  padding-left: 0 !important;
}

input[type="submit"] {
  width: 260px;
  height: 60px;
  background: #000;
  color: #fff;
  transition: opacity .6s;
}
/* ホバー時の半透明 */
input[type="submit"]:hover {
  opacity: .6;
}

/* 読み込みスピナーを非表示 */
.wpcf7-spinner {
  display: none !important;
}

.sub_btn input[type="submit"]{
	padding-left: 100px;
	padding-right: 100px;
}
.sub_btn td{
	text-align: center;
}

/* -------------------------
   スマホ対応（レスポンシブ）
-------------------------- */
@media screen and (max-width: 767px) {
/* レイアウトを縦並びに */
  .cf7__list dt {
    width: 100%;
    padding-top: 0;
    margin-bottom: 15px;
  }

  .cf7__list dd {
    width: 100%;
  }
/* iOS の文字ズーム対策 */
  .cf7__list dd input[type="text"],
  .cf7__list dd input[type="tel"],
  .cf7__list dd input[type="email"],
  .cf7__list dd textarea {
    font-size: 16px; /* prevent iOS zoom */
  }
/* ボタンサイズ調整 */
  input[type="submit"] {
    width: 180px;
    height: 56px;
  }
	
	.cf7__button {
	margin:0 20px;
		 }
	
	 .contact tr, .contact td{ 
  display: block;
  width: 100%;
  box-sizing: border-box;
 }
 .contact td:first-child{ 
  padding-bottom: 0;
  border-bottom: none;
 }
 .contact td:nth-child(2){ 
  padding-top: 0;
 }

	.sub_btn input[type="submit"]{
	  width: 100%;
  }
	.contact .wpcf7-list-item {
		width: 100%;
	}
}


