/*
Theme Name: wst
Template: zakra
*/
/* ---------------------------------------------------------
common
--------------------------------------------------------- */
h1 {
    color: #fff;
    margin: 0;
}

section header {
    text-align: center;
}

section header h1 {
    font-size: 24px;
    font-size: 2.4rem;
    color: #333;
    margin-bottom: 25px;
    background: url(https://wstjapan.com/wp-content/themes/wst/images/bg_lead.png) no-repeat center bottom;
}

.container {
    width: 1160px;
    margin: 0 auto;
}

i {
    margin-right: 5px;
}

.entry-header {
    display: none;
}

.site-content {
    margin: 0;
}

@media screen and (max-width: 767px) {
    .container {
        width: 100%;
    }

    #primary,
    .hentry {
        margin-bottom: 0;
    }
}

/* ---------------------------------------------------------
tg-page-header
--------------------------------------------------------- */
.tg-page-header {
    padding: 100px 0;
}

.tg-page-header .tg-page-header__title {
    font-size: 24px !important;
    color: white !important;
}

.about .tg-page-header {
    background: url(https://wstjapan.com/wp-content/themes/wst/images/header_about.jpg) no-repeat center center;
}

.content .tg-page-header {
    background: url(https://wstjapan.com/wp-content/themes/wst/images/header_content.jpg) no-repeat center center;
}

.company .tg-page-header {
    background: url(https://wstjapan.com/wp-content/themes/wst/images/header_company.jpg) no-repeat center center;
}

.contact .tg-page-header {
    background: url(https://wstjapan.com/wp-content/themes/wst/images/header_contact.jpg) no-repeat center center;
}

.sitemap .tg-page-header {
    background: url(https://wstjapan.com/wp-content/themes/wst/images/header_sitemap.jpg) no-repeat center center;
}

/* ---------------------------------------------------------
tg-site-header-top
--------------------------------------------------------- */
.tg-site-header-top a {
    font-size: 10px;
    font-size: 1rem;
    color: #fff;
}

@media screen and (max-width: 767px) {
    .tg-site-header-bottom .tg-container {
        padding: 0;
    }

    .tg-site-header-bottom .tg-container img {
        padding-left: 15px;
    }
}

@media screen and (max-width: 600px) {
    .tg-site-header-top {
        display: block;
    }

    .tg-site-header-top .tg-header-top-left-content {
        width: 100%;
    }

    .tg-site-header-top .tg-header-top-right-content {
        display: none;
    }
}

/* ---------------------------------------------------------
main_img
--------------------------------------------------------- */
.main_img {
    background: url(https://wstjapan.com/wp-content/themes/wst/images/main_img.jpg) no-repeat center center;
    background-size: cover;
    height: 700px;
    margin-top: -50px;
}

.main_img .box {
    position: relative;
    top: 35%;
    text-align: center;
    opacity: 0;
    animation-name: fadein-bottom;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

.main_img .box p {
    font-size: 18px;
    font-size: 1.8rem;
    color: #fff;
    margin-top: 30px;
}

.fade-in-bottom {
    opacity: 0;
    animation-name: fadein-bottom;
    animation-duration: 1.5s;
    animation-timing-function: ease-out;
    animation-fill-mode: forwards;
}

@keyframes fadein-bottom {
    0% {
        opacity: 0;
        transform: translateY(20px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

@media screen and (max-width: 767px) {
    .main_img {
        margin-top: -50px;
        height: 350px;
    }

    .main_img p {
        font-size: 14px;
        font-size: 1.4rem;
    }
}

/* ---------------------------------------------------------
top_info
--------------------------------------------------------- */
.top_info {
    padding: 50px 0;
    text-align: center;
}

@media screen and (max-width: 767px) {
    .top_info p {
        text-align: left;
    }
}

/* ---------------------------------------------------------
subject
--------------------------------------------------------- */
.subject {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.subject>div {
    width: 48%;
    border: 1px solid #ddd;
    margin-bottom: 30px;
}

.subject>div a {
    color: #333;
}

.subject>div dl {
    margin: 0;
    overflow: hidden;
}

.subject>div dl dt {
    width: 40%;
    float: left;
    margin-right: 20px;
}

.subject>div dl dd {
    text-align: left;
    margin: 0;
}

.subject>div dl dd.leads {
    font-size: 16px;
    font-size: 1.6rem;
    padding-top: 10px;
}

@media screen and (max-width: 767px) {
    .subject {
        display: block;
    }

    .subject>div {
        width: 100%;
    }

    .subject>div dt {
        width: 100% !important;
    }

    .subject>div dd {
        padding: 0 15px;
    }
}

/* ---------------------------------------------------------
page-about
--------------------------------------------------------- */
#about {
    padding: 50px 0;
}

/* ---------------------------------------------------------
page-content
--------------------------------------------------------- */
#content {
    padding: 50px 0;
}

/* ---------------------------------------------------------
page-company
--------------------------------------------------------- */
#company {
    padding: 50px 0;
}


.company_table-2 {
    th,
    td {
        border: none;
    }
}

.company_table {
    width: 100%;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
    margin-bottom: 30px;
    margin-bottom: 100px;
}

.company_table th,
.company_table td {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 20px 30px;
}

.company_table th {
    width: 20%;
    background: #D9F0FF;
    font-weight: 400;
}

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

    .company_table th,
    .company_table td,
    #company table th,
    #company table td {
        display: block;
        width: 100%;
    }
}

/* ---------------------------------------------------------
page-contact
--------------------------------------------------------- */
#contact {
    padding: 50px 0;
}

#contact .table-res-form {
    margin-top: 30px;
    margin: 0 auto;
    width: 100%;
    border-left: 1px solid #ddd;
    border-top: 1px solid #ddd;
}

#contact .table-res-form th,
#contact .table-res-form td {
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    padding: 20px 30px;
}

#contact .table-res-form th {
    width: 25%;
    background: #D9F0FF;
    font-weight: 400;
}

#contact .table-res-form th.msg {
    text-align: center;
    background: #fff;
    padding: 15px 0;
    border-right: none;
    border-left: none;
}

#contact .table-res-form th:last-child {
    background: #fff;
    text-align: center;
    border: none;
    padding-top: 30px;
}

#contact .table-res-form td {
    padding: 10px 20px;
}

#contact .table-res-form .requied,
#contact .table-res-form .any {
    font-size: 11px;
    font-size: 1.1rem;
    margin-right: 15px;
    color: #FFF;
    display: inline-block;
    border-radius: 2px;
    padding: 5px 10px;
    border-radius: 2px;
    vertical-align: middle;
}

#contact .table-res-form .requied {
    background: #ff9393;
}

#contact .table-res-form .any {
    background: #93c9ff;
}

#contact .table-res-form input[type="text"],
#contact .table-res-form input[type="email"] {
    border: 1px #89BDDE solid;
    padding: 0.5em;
    border-radius: 5px;
    width: 100%;
}

#contact .table-res-form input textarea {
    border: 1px #89BDDE solid;
    padding: 0.5em;
    border-radius: 5px;
    width: 100%;
}

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

    #contact table th,
    #contact table td {
        width: 100% !important;
        display: block;
    }
}

/* ---------------------------------------------------------
footer
--------------------------------------------------------- */
.widget ul li a,
.widget-title,
.textwidget a {
    color: #fff;
}

.widget-title {
    font-weight: bold;
}

.widget_nav_menu a {
    position: relative;
}

.widget_nav_menu a::before {
    content: ">";
    padding-right: 10px;
}

.tg-page-header .breadcrumb-trail ul li,
.tg-page-header .breadcrumb-trail ul li a,
.tg-page-header .breadcrumb-trail ul li::after {
    color: #ffffff;
}