/*
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 */
/*リンクアンダーバー*/
.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;
}


/*お問合せレスポンシブ*/
@media (max-width: 767px){
 .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"]{
	padding-left: 100px;
	padding-right: 100px;
}
.sub_btn td{
	text-align: center;
}
@media (max-width: 767px){
	.contact tr, .contact td{
		display: block;
		 width: 100%;
	}
	.contact td:nth-child(1){
		border-bottom: 0;
		padding-bottom: 0;
	}
	.contact td:nth-child(2){
		padding-top: 0;
	}
	.sub_btn input[type="submit"]{
	  width: 100%;
  }
	.contact .wpcf7-list-item {
		width: 100%;
	}
}


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

.contact-form-inner {
    max-width: 700px;
    margin: 0 auto;
    padding: 50px 0;
    border: 1px solid #cccccc;
}
.form-item:first-child {
    margin-top: 0;
}
.form-item {
    width: 70%;
    margin: 30px auto 0;
}
.form-item label{
    display: block;
    font-size: 16px;
    color: #333333;
}
.form-item > input{
    width: 100%;
    height: 50px;
    border-radius: 20px;
    border: 1px solid #cccccc;
    margin-top: 10px;
}
.form-item input::placeholder,
.form-item textarea::placeholder {
    padding-left:15px;
}
.form-flex {
    display: flex;
    flex-direction: column;
}
.form-flex input {
    height: 50px;
    border-radius: 20px;
    border: 1px solid #cccccc;
    margin-top: 10px;
}
.form-flex input.your-add-1 {
    width: 40%;
}
.form-flex input.your-add-2 {
    width: 100%;
}
.form-hissu {
    color: #ffffff;
    font-size: 13px;
    margin-left: 15px;
    padding: 3px 5px;
    background-color: #ba2636;
}
.form-free {
    color: #ffffff;
    font-size: 13px;
    margin-left: 15px;
    padding: 3px 5px;
    background-color: #898989;
}
.form-item textarea{
    height: auto;
    width: 100%;
    border-radius: 20px;
    border: 1px solid #cccccc;
    margin-top: 10px;
}
.last-check {
    display: flex;
    align-items: center;
    vertical-align: middle;
}
.last-check > input {
    width: auto;
    height: auto;
    margin: 0 10px 0 0;
}
.last-check a {
    text-decoration: none;
}
.form-item.send-btn{
    max-width: 200px;
    margin: 40px auto 0;
}
.form-item.send-btn input{
    background-color: #0E3A74;
    color: #ffffff;
    border-radius: 0px;
    font-weight: 700;
    cursor: pointer;
}
.form-item.send-btn input:hover {
    background-color: #ffffff;
    color: #0E3A74;
    border: 1px solid #0E3A74;
    transition: all .3s;
}

/* レスポンシブコード
画面サイズ768px以下で表示を変えています
 */
@media screen and (max-width:768px) {
    .contact-form-inner {
        padding: 30px 15px;
        border: none;
    }
    .form-item {
        width: 95%;
        margin: 20px auto 0;
    }
    .form-item > input{
        height: 35px;
        border-radius: 15px;
        margin-top: 5px;
    }
    .form-item textarea{
        border-radius: 15px;
        margin-top: 5px;
    }
    .form-item input::placeholder {
        padding-left:5px;
    }
    .form-flex input {
        height: 35px;
        border-radius: 15px;
        margin-top: 5px;
    }
    .form-flex input.your-add-1 {
        width: 70%;
    }
    .form-hissu {
        margin-left: 5px;
    }
    .form-free {
        margin-left: 5px;
    }
    .last-check > input {
        margin: 0 5px 0 0;
    }
    .form-item.send-btn{
        width: 80%;
        margin: 30px auto 0;
    }
} 