@charset "UTF-8";
/*お問い合わせ*/
#contact .inner{width: 100%;max-width: 976px;height: auto;margin:0 auto;padding: 60px 0 150px 0;text-align: center;}
#contact_table{margin-top: 70px;}
#contact_table th,#contact_table td{background-color: transparent;font-size: 14px;vertical-align: top;}
#contact_table th{
width:200px;
font-size: 16px;
font-weight: 700;
font-family: "Noto Serif JP", serif;
letter-spacing: 0.01em;
padding: 0;
min-width: 180px;
    text-align: left;
}
#contact_table th span{
width: auto;
height: auto;
font-size: 14px;
background-color: #F8E9BC;
border-radius: 5px;
padding: 5px 8px;
font-weight: 700;
line-height: 1em;
float: right;
}
#contact_table td{width: 90%;max-width: 760px;}
#contact_table td p.caution{color:#9B4400;margin-top: 20px;text-align: left;}
#contact caption{text-align: center;
    display: block;
    margin-bottom: 20px;}
#contact caption p,#contact caption p a{font-size: 16px;color:#000;font-weight: 400;}
tbody tr {
    border-bottom: 2px solid #fff;
    display: flex
;
    align-items: center;
    width: 100%;
}
.wpcf7-list-item {margin: 0;}
#contact input[type="text"],input[type="email"],input[type="tel"],textarea{
width: 100%;
height: auto;
border: 1px solid #AAA8A8;
border-radius: 5px;
padding:5px 10px;
font-size: 14px;
line-height: 1.78em;
font-family: "Noto Sans", sans-serif;
}
input[type="checkbox"],input[type="radio"]{-webkit-appearance: auto;-moz-appearance: auto;-ms-appearance: auto;-o-appearance: auto;appearance: auto;}
input[type="file"] {margin-top:10px;}
.wpcf7-form .btn{padding: 0;overflow: hidden;}
input[type="submit"]{
border-style: none;
background-color: #fff;
position: relative;
letter-spacing: 0.01em;
padding: 20px 5%;
display: block;
width: 100%;
font-family: "Noto Serif JP", serif;
font-size: 16px;
font-weight: 500;
cursor: pointer;
color: #000;
}
.wpcf7-not-valid-tip {
    margin-left: 0;
    margin-right: auto;
    color: #dc3232;
    font-size: 1em;
    font-weight: normal;
    display: block;
    width: fit-content;
}
.wpcf7-spinner {position: absolute;bottom: -50px;}
.radio-wrap td p{width: fit-content;}
.page-contact #contact_table .radio-wrap{
    margin-left: 0;
    width: fit-content;
    margin-right: auto;
}
#contact_table th p{display: flex;
   max-width: 190px;
    width: 100%;
    justify-content: space-between;
    align-items: center;}
 #contact_table  tbody td {
    width: 60%;
    border-left:none;
}
tbody tr {
    justify-content: center;
}
@media only screen and (max-width: 960px) {
#contact_table td {
    width: 90%;
    max-width: 760px;
    text-align: left;
}}

@media only screen and (max-width: 768px) {
    #contact_table th p {
    max-width: inherit; 
    width: inherit; 
    justify-content: inherit; 
}
#contact_table{margin-top: 0;}
#contact_table th{width: 100%;text-align: left;padding: 20px 0 10px 0;}
#contact_table th span{float: none;display: inline-block;margin-left:10px;}
#contact_table td {width: 100%;padding: 0px 10px !important;text-align: left;}
tbody tr {
    flex-direction: column;
}
#contact .inner {
    padding: 60px 0 100px 0;
}
}