/*
 Theme Name:   zakra-child
 Template:     zakra
 Version:      1.0.4
*/

/* サイト下部 margin 除去*/
.site-content {
    margin-top: 0px;
    margin-bottom: 0px;
}

table {
    border-collapse: separate;
    border-spacing: 0;
    border-width: 0;
    margin: 0 0 1.5em;
    width: 100%;
}

table p {
    margin: 0 !important;
}

#main {
    background-color: #FFF;
    color: #000;
}

.bcn-box {
    border-bottom: 0px solid #e9ecef;
}

.hentry {
    margin: 0;
}

.entry-content {
    margin: 0;
}

.tg-page-header .tg-page-header__title {
    color: #000;
}

#primary {
    margin-bottom: 0px;
}

/* サイト下部 margin 除去*/
table th, table td, .wp-block-table th, .wp-block-table td {
    text-align: left;
    border: 1px solid #e9ecef;
    padding: 1em;
}

th:first-child {
    width: 25%;
}

.red {
    color: red;
}

.underline {
    text-decoration: underline;
}

.small {
    text-align: center;
}

input[type="text"],
input[type="tel"],
input[type="email"],
input[type="date"],
textarea {
    -webkit-appearance: none;
    font-size: 16px;
}

input[type="date"] {
    background-image: -webkit-linear-gradient(hsla(0, 0%, 100%, 0), hsla(0, 0%, 100%, 0));
}


input[type="submit"] {
    border: 0 solid #e9ecef;
    background-color: #14bf63;
    color: #fff;
    padding: 0.9rem 8rem;
    border-radius: 60px;
    font-size: 1.2rem;
    font-weight: bold;
    -webkit-box-shadow: 0 10px 40px -5px rgba(0, 0, 0, .2);
    box-shadow: 0 10px 40px -5px rgba(0, 0, 0, .2);
}

input[type="submit"]:hover {
    opacity: 0.5;
    background-color: #000;
}

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

.contact_wrap {
    position: relative;
    height: 200px;
    margin-bottom: 80px;
}

.contact_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 70%;
    text-align: center;
    margin: 20px 0px;
    padding: 20px;
    border-radius: 10px;
    background-color: #ffffff;
    -webkit-box-shadow: 0 10px 40px -5px rgba(0, 0, 0, .2);
    box-shadow: 0 10px 40px -5px rgba(0, 0, 0, .2);
}

.contact_content_title_1 {}

.contact_body {}

.contact_body_tel {
    font-size: 2rem;
    margin-bottom: 0 !important;
}

.contact_body_time {}

.wpcf7-spinner {
    display: none;
}

.press {
    color: #000 !important;
    text-decoration: underline;
}

.contact_body_tel a {
    color: #000
}

.select {
    background: #FFF;
    height: 44px;
    width: 100%;
    border-radius: 0px;
    border: 1px #ddd solid;
    position: relative;
    z-index: 0;
}

.select::after {
    position: absolute;
    content: '';
    width: 8px;
    height: 8px;
    right: 10px;
    top: 50%;
    transform: translateY(-50%) rotate(45deg);
    border-bottom: 2px solid #333;
    border-right: 2px solid #333;
    z-index: -1;
}

select {
    /* 初期化 */
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    background: none;
    border: none;
    color: #333;
    font-size: 16px;
    width: 100%;
    height: 100%;
    padding: 6px 10px;
}



.car-flie-td label {}

.filebutton {
    display: block;
    color: #fff;
    font-size: 13px;
    background: #FF6F3C;
    border: 1px solid #FF6F3C;
    margin: 4px 0 0 0;
    padding: 4px 20px;
    max-width: 160px;
    text-align: center;
    transition: .3s;
    cursor: pointer;
}

.filebutton:hover {
    border: 1px solid #FF6F3C;
    color: #FF6F3C;
    background: white;
}

input[type=file] {
    position: relative;
    margin: 0px 0 0 0px;
    font-size: 13px;
    width: auto;

    display: none;
}

input[type=file]:focus {
    outline: none;
}

input[type=file]::before {
    content: "添付ファイル：";
    position: absolute;
    background: #fff;
    font-size: 13px;
    width: 107px;
    height: 30px;
    line-height: 1.8;
    text-align: right;
}

a.cd-upload-btn {
    color: #FF6F3C;
}

@media screen and (max-width: 639px) {

    th:first-child {
        width: 100%;
    }

    table th, table td, .wp-block-table th, .wp-block-table td {
        border: 0px solid #e9ecef;
        padding: 0.3em;
    }

    .wpcf7-form table th, .wpcf7-form table td {
        display: list-item;
        list-style: none;
    }

    .contact_content {
        width: 100%;
    }

    .contact_content_title_1>h3 {
        font-size: 1.35rem;
    }

}