@charset "UTF-8";


/*-------------------------------------------
下層ページ - 共通
-------------------------------------------*/
.pageTitle h1 {
    margin-top: 110px;
    font-size: 3.6rem;
}

.pageTitle p {
    margin-top: 80px;
    font-size: 1.4rem;
}

/*-------------------------------------------
下層ページ - news
-------------------------------------------*/

h2.lead {
    display: block;
    margin-top: 40px;
    margin-bottom: 10px;
    text-align: center;
    font-size: 1.4rem;
    line-height: 1;
}

h2.lead::after {
    display: block;
    width: 40px;
    height: 1px;
    margin: auto;
    margin-top: 10px;
    margin-bottom: 25px;
    content: "";
    background-color: var(--black);
    line-height: 1;
}

.newsnav {
    cursor: default;
}

.newsnav .cat-item.cat-item-2.current-cat >a{
    background: red;
}

.newsnav .children .current-cat{
    color: white;
    background: red;
}

.newsnav>li {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
}

.newsnav>li>a {
    width: 84px;
    padding: 3px 0 2px;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    color: #fff;
    background: #222;
    font-size: 1.3rem;
    font-weight: 400;
}

.newsnav>li ul {
    display: flex;
    margin-left: 30px;
}

.newsnav>li ul li {
    width: 84px;
    padding: 3px 0 2px;
    cursor: pointer;
    transition: 0.3s;
    text-align: center;
    color: #fff;
    background: #222;
    font-size: 1.3rem;
    font-weight: 400;
}

.newsnav>li ul li+li {
    margin-left: 30px;
}

.newsnav li:hover {
    opacity: 0.7;
}

.newsnav a {
    text-align: center;
}

.newsnav>li ul li a {
    display: block;
}

.newsItem {
    height: 145px;
    margin-top: 25px;
    padding: 20px 10px;
    border-top: solid 1px #cccccc;
    font-size: 1.4rem;
    line-height: 2;
}

.newsItem:last-of-type {
    border-bottom: solid 1px #cccccc;
}

.newsItem .newsItem__category {
    display: inline-block;
    width: 50px;
    height: 20px;
    margin-left: 10px;
    text-align: center;
    color: white;
    background-color: var(--black);
    font-size: 1.2rem;
    line-height: 20px;
}

/*-------------------------------------------
下層ページ - contact
-------------------------------------------*/

.formItem {
    display: flex;
    justify-content: flex-start;
    margin-top: 58px;
}

label {
    width: 200px;
}

label h5 {
    font-size: 1.4rem;
}

.inputWrapper {
    width: 360px;
    width: 100%;
    padding: 7px 0;
    padding-left: 10px;
    background-color: white;
}


.inputWrapper--submitButton {
    width: 300px;
    margin: auto;
    text-align: center;
    border: #222;
    background-color: none;
    font-size: 1.4rem;
}



/*-------------------------------------------
下層ページ - post
-------------------------------------------*/

.postWrapper {
    margin-top: 80px;
    font-size: 1.4rem;
}

.postWrapper .newsItem__category {
    display: inline-block;
    width: 50px;
    height: 20px;
    margin-left: 10px;
    text-align: center;
    color: white;
    background-color: var(--black);
    font-size: 1.2rem;
    line-height: 20px;
}

.postWrapper .newsItem__title {
    margin-top: 4px;
}

/*
真ん中になって欲しい
*/
.postWrapper img {
    width: 100%;
    margin: 0 auto;
    margin-top: 40px;

    object-fit: cover;
}

.postWrapper_article h2 {
    display: inline-block;
    margin-top: 30px;
    padding: 5px 10px 3px;
    color: white;
    background: var(--black);
}

.postWrapper_article h3 {
    position: relative;
    margin-top: 40px;
    padding-left: 10px;
}

.postWrapper_article h3::before {
    position: absolute;
    top: 50%;
    left: 0;
    display: block;
    width: 2px;
    height: 100%;
    content: "";
    transform: translateY(-50%);
    background: var(--black);
}

.postWrapper_article p {
    margin-top: 40px;
    line-height: 1.5;
}

.postWrapper .btn {
    text-align: center;
}

.postWrapper .btn a {
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 120px;
    padding: 13px 36px;
    border: 1px solid var(--black);
    font-size: 1.4rem;
}

/*-------------------------------------------
SP
-------------------------------------------*/

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

    /*-------------------------------------------
下層ページ - 共通
-------------------------------------------*/
    .pageTitle h1 {
        margin-top: 75px;
        font-size: 3.2rem;
    }

    .pageTitle p {
        margin-top: 40px;
    }


    /*-------------------------------------------
下層ページ - contact
-------------------------------------------*/

    .wrapper {
        margin-top: 38px;
    }

    .formItem {
        flex-direction: column;
        margin-top: 30px;
    }

    .formItem:first-of-type {
        margin-top: 0;
    }
}