/*
Theme Name: IMDRF
Author: omc
License: omc
*/


:root {
    --accent:#c9e6c8;
    --main:#1f76b5;
    --main-c1:#cfeaed;
    --font-c:#372D2A;
    --gray-c1:#666;
    --gray-c2:#ccc;
    --gray-c3:#f2f2f2;
    --font-en: 'Roboto', sans-serif;
}



/*

.wp-block-post-title{
    font-size: 3rem;
    background: var(--main-c1);
    padding: 1rem;
}
*/


/*ナビゲーション*/
.wp-block-navigation .wp-block-navigation-item__content.wp-block-navigation-item__content{
    padding:0.5rem 1.5rem;
    background: var(--accent);
    border-radius: 3rem;
    display: block;
}

.wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__responsive-container-content .wp-block-navigation-item__content{
    padding:0.5rem 1.5rem;
}



.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th {
    background-color: var(--main-c1);
}
.wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr th, .wp-block-flexible-table-block-table.wp-block-flexible-table-block-table>table tr td {
    border-color: var(--gray-c1);
}

/*footer*/

footer.wp-block-template-part{
    background: var(--main-c1);
    padding: 3rem 1rem;
}




/*form*/


/*reset*/

input[type="text"] {
    padding: 0;
    border: none;
    border-radius: 0;
    outline: none;
    background: none;
}

input[type="radio"]:checked + label {
    background: #ff0000;
}

input[type="checkbox"]:checked + label {
    background: #ff0000;
}

select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    border: none;
    outline: none;
    background: transparent;
}

button,
input[type="submit"],
input[type="reset"] {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    border: none;
    background: transparent;
	border-radius:0
}

input[type="text"],
input[type="email"],
select,
textarea{
    display: block;
    width: calc(100% - 2rem);
    border: 1px solid  var(--gray-c2);
    padding: 0.7rem 1rem;
    margin: 0.5rem 0 0 ;
    background: none;
    color: var(--font-c);
	font-size: 1rem;
	font-family: inherit;
}

button,
input[type="submit"]{
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding: 0;
    border: none;
    background: transparent;
	border-radius:0;
    font-size:1.1rem;
}

.must{
    display: inline;
    margin: 0 0 0 1rem;
    color: #D20D10;
}
.comment{
    display: inline-block;
    margin: 1rem 0 0;
}


input[type="submit"]{
    position: relative;
    text-align: center;
    display: block;
    color: #fff;
    padding: 1rem 3rem;
    text-decoration: none;
    cursor:pointer;
    transition: 0.3s;	
    margin: 2rem 1rem;
}

.info_btn{
    display: flex;
    justify-content: center;
}
.info_btn li:first-child input[type="submit"]{
    background: var(--main);
    border: 2px solid var(--main);
}

.info_btn li:last-child input[type="submit"]{
    background: var(--font-c);
    border: 2px solid var(--font-c);
}
.info_btn li:first-child input[type="submit"]:hover,
.info_btn li:last-child input[type="submit"]:hover{
    background:none;
    color: var(--font-c);
}

.info_btn li,
.info_btn li::marker{list-style-type: none;}

/*-- table --*/

.table_form {
	border-top: 2px solid var(--font-c);
	line-height: 1.5em;
	width: 100%;
	border-collapse:collapse;
	margin-bottom: 2rem;
}

.table_form th {
    width: 30%;
	vertical-align: middle;
	text-align: left;
}

.table_form td,
.table_form th {	
	border-bottom: 1px solid var(--font-c);
	padding: 0.8rem 1rem;
}
.table_form td span.ttl{
	font-weight: bold;
}
.table_form td span.text{
	font-size: 0.9rem;
}

@media screen and (max-width: 767px){
    .table_form th,
    .table_form td{
        display: block;
        width: 100%;
    }
    .table_form th{
        border-bottom:none;
    	padding: 0.8rem 1rem 0;
    }
    .table_form td{
    	padding: 0 1rem 0.8rem;
    }
	
	.table_form td.radio_style {
        padding: 1rem;
    }
	.table_form td.radio_style > span {
		display: block;
    }

}

.send_img{
    text-align: center;
    margin: 0 auto 2rem;
}

.table_form .mwform-tel-field input[type="text"], .mwform-zip-field input[type="text"] {
    width: 30%;
}


/*チェックボックス*/
.table_form .check_btn td{
    padding-top: 1.8rem;
}
.check_btn input[type=checkbox].check_btn_item{
display: none;
}
.check_btn label {
display: inline-block;
}
.check_btn .check_btn_item + span {
padding-left: 28px;
display: inline-block;
position: relative;
margin-bottom: 1rem;
}
.check_btn .check_btn_item + span::after,
.check_btn .check_btn_item + span::before {
content: '';
display: block;
position: absolute;
top: 0;
}
.check_btn .check_btn_item + span::before {
border: 2px solid  var(--gray-c2);
border-radius: 4px;
left: 0;
height: 20px;
width: 20px;
}

.check_btn .check_btn_item + span::after{
border: none;
border-right: 3px solid var(--main);
border-bottom: 3px solid var(--main);
height: 12px;
left: 6px;
opacity: 0;
top: 2px;
transform: rotate(45deg);
width: 7px;
}
.check_btn .check_btn_item:checked + span::after {
opacity: 1;
}

.mw_wp_form .horizontal-item + .horizontal-item {
    margin-left: 0!important;
    margin-right: 1rem;
}











