/*
Theme Name: レジリエンス
Author: ラフデザイン株式会社
Description: ラフデザイン株式会社
*/
.inner {
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
    margin-bottom: 50px;
}

.sp-only {
    display: none;
}

.flex {
    display: flex;
    justify-content: space-between;
}

.color {
    background: #f5a20e;
}

.heading {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.heading::after {
    content: "";
    flex-grow: 1;
    margin: 0 3px;
    height: 20px;
    background: #f5a20e;
    background-image: -webkit-gradient(linear,
            left top,
            left bottom,
            from(#fff),
            to(#f5a20e));
    margin-left: 12px;
}

.bottom {
    border-bottom: solid 1px #cccccc;
}

.wrap {
    padding: 0 20px;
}

.action-br {
    display: block;
}

/*==========================================================================
　ヘッダー
==========================================================================*/
.header-nav li {
    margin-right: 10px;
}

.logo-nav ul li a,
.news-itiran,
.wp-block-archives li {
    position: relative;
    display: inline-block;
    padding: 6px 0 0 16px;
    color: #666;
    vertical-align: middle;
    text-decoration: none;
    font-size: 15px;
    color: #333;
}

.logo-nav ul li a::before,
.logo-nav ul li a::after,
.news-itiran::before,
.news-itiran::after,
.wp-block-archives li::before,
.wp-block-archives li::after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 1em;
    margin: auto;
    content: "";
    vertical-align: middle;
}

.logo-nav ul {
    display: flex;
}

.logo-nav ul li {
    margin-left: 10px;
}

.logo-nav ul li a::after,
.news-itiran::after,
.wp-block-archives li::after {
    left: 3px;
    width: 7px;
    height: 7px;
    border-top: 2px solid #f5a20e;
    border-right: 2px solid #f5a20e;
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);
    transition: all 0.2s;
    top: 6px;
}

.logo-nav ul li a:hover::after,
.news-itiran:hover::after,
.wp-block-archives li:hover::after {
    left: 0.4em;
}

.header-top {
    font-size: 14px;
}

.top-color {
    color: #fff;
}

.logo-wrap {
    margin-top: -50px;
    margin-bottom: 0;
    align-items: center;
    padding: 0 20px;
}

.sub-title {
    display: block;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
}

nav ul {
    display: flex;
    justify-content: center;
    color: #333;

    border: solid 1px #dfccdd;
    background-image: -moz-linear-gradient(top, #fff 0%, #f4f4f4);
    background-image: -webkit-gradient(linear,
            left top,
            left bottom,
            from(#fff),
            to(#f4f4f4));
}

nav ul li {
    padding: 1em;
}

nav ul li:hover {
    opacity: 0.8;
}

.accordion-menu {
    display: block;
}

.accordion-menu .menu__item {
    box-shadow: unset;
    border-bottom: 1px solid #e1dbd6;
    padding: 0;
}

.accordion-menu .submenu ul {
    display: block;
    border: none;
}

.accordion-menu .submenu ul li {
    border-bottom: 1px solid #e1dbd6;
    color: #222;
    font-weight: bold;
}

.accordion-menu .submenu {
    border: none;
}

.header-logo img {
    width: 300px;
}

.header-logo h1.logo-title {
    font-size: 24px;
    margin-top: -20px;
}

.logo-nav {
    width: 35%;
}

/*==========================================================================
　メイン画像
==========================================================================*/
.main-img {
    /*     height: 400px; */
    overflow: hidden;
    /* padding-left: 20px;
    padding-right: 20px; */
}

.main-img__pc {
    display: block;
}

.main-img__sp {
    display: none;
}

@media screen and (max-width: 600px) {
    .main-img__pc {
        display: none;
    }

    .main-img__sp {
        display: block;
    }
}

.bosaisummit {
    margin-top: 30px;
    margin-bottom: 30px;
}

/*==========================================================================
　ご挨拶
==========================================================================*/
.mission-inner {
    padding: 10px;
}

.mission-img {
    text-align: center;
    margin-top: 40px;
}

.mission-img img {
    width: 250px;
}

.mission-txt {
    width: 750px;
    max-width: 100%;
    margin: 40px auto 0;
}

.mission-box {
    display: flex;
}

.mission-txt {
    padding-top: 20px;
    width: 70%;
    margin-left: 24px;
}

.section.mission {
    padding-top: 50px;
}

.action-wrap {
    /* border: solid 2px #EEEEEE; */
    padding: 10px;
    /* background-image:-webkit-gradient(linear,left top,left bottom,from(#fff),to(#F4F4F4)); */
    align-items: flex-start;
    display: flex;
    justify-content: space-around;
}

.action-content {
    width: 47%;
    margin-top: 45px;
    text-align: center;
}

.action-content h3 {
    margin-bottom: 16px;
}

.action-content h3.saeki-h3 {
    margin-bottom: 4px;
    min-height: 60px;
    display: flex;
    justify-content: center;
    align-items: end;
}

.action-img {
    width: 60%;
    margin: 0 auto;
    width: 300px;
    height: auto;
    object-fit: cover;
}

.action-img img {
    width: 60%;
    height: 60%;
    object-fit: cover;
}

.action-img-s {
    height: auto;
}

.action-img-s img {
    object-position: 0 10px;
}

.action-content .link-about {
    width: 200px;
    margin: 45px auto 0;
}

.action-txt {
    max-width: 100%;
}

.ikuta-sub {
    display: block;
    margin-top: 4px;
}

/*==========================================================================
　最新記事
==========================================================================*/
.article {
    width: 30%;
    margin-top: 20px;
}

.article dt {
    /* height:200px; */
    overflow: hidden;
    margin-bottom: 10px;
    box-shadow: 2px 2px 4px grey;
}

.article-info {
    padding: 0 0.5em;
}

.article-title {
    overflow: hidden;
    display: -webkit-box;
    text-overflow: ellipsis;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    height: calc((16px * 1.6) *2);
}

@media(max-width:768px) {
    .article-title {
        height: auto;
    }
}

.article-img.top img {
    height: 210px;
    object-fit: cover;
}

.article .article-img figure {
    height: 210px;
}

.article-btn {
    margin-top: 20px;
    background: #f5a20e;
    /* width: 45%; */
    color: #fff;
    font-size: 14px;
    border-radius: 3px;
    border: solid 1px #bfe9db;
    text-align: center;
    box-shadow: 2px 2px 4px grey;
    height: 40px;
    line-height: 40px;
}

.article-btn:hover {
    opacity: 0.8;
}

/*==========================================================================
　フッター
==========================================================================*/
.baner-container {
    margin-bottom: 30px;
}

.baner-container img {
    /* width: 350px; */
    height: auto;
    object-fit: cover;
    box-shadow: 2px 2px 4px grey;
}

.baner-txt {
    background: #fff;
    margin: 5px;
    background-image: -webkit-gradient(linear,
            left top,
            left bottom,
            from(#fff),
            to(#f4f4f4));
}

.icon {
    width: 30%;
    text-align: center;
    font-size: 35px;
    color: #fff;
}

.baner-txt {
    width: 70%;
    text-align: center;
}

.container {
    border: solid 1px #f5a20e;
    box-shadow: 2px 2px 4px grey;
    align-items: center;
}

.category-inner {
    background: #fff;
    margin: 5px;
    background-image: -webkit-gradient(linear,
            left top,
            left bottom,
            from(#fff),
            to(#f4f4f4));
    padding: 10px;
    position: relative;
}

.widget_categories {
    width: 350px;
}

/* .news-itiran,.wp-block-archives li{
    color: #F5A20E;
} */
.news-content ul li {
    margin-top: 10px;
    margin-bottom: 10px;
}

.news-day {
    margin-right: 10px;
    /* font-family: 'Roboto', sans-serif; */
    /* font-weight: bold; */
}

.news-title-wrap {
    align-items: center;
}

.archive-li {
    display: block;
    margin-top: 5px;
    margin-bottom: 5px;
}

.widget_archive {
    width: 350px;
}

.footer-inner {
    display: flex;
    justify-content: center;
    padding-top: 30px;
    padding: 30px 20px 0;
}

.copy-txt {
    text-align: center;
    color: #fff;
    font-size: 14px;
    padding-top: 5px;
    padding-bottom: 5px;
}

footer {
    background: #f4f4f4;
}

.wp-block-group .wp-block-categories li {
    border-bottom: solid 1px #ccc;
}

.category-inner .news-itiran {
    /* width: fit-content;
    position: absolute;
    top: 9%;
    right: 4%; */
}

.cat-item-1 a {
    pointer-events: none;
}

.widget_categories {
    margin: 0 24px;
}

.wp-block-archives-list {
    display: flex;
    flex-direction: column;
}

/*==========================================================================
　アコーディオン
==========================================================================*/
.menu__item {
    background: #fff;
    color: #f5a20e;
    cursor: pointer;
    display: block;
    margin-bottom: 1px;
    position: relative;
    /* background: linear-gradient(#fed6e3 0%, #ffaaaa 100%); */
    background-image: -webkit-gradient(linear,
            left top,
            left bottom,
            from(#fff),
            to(#f4f4f4));
    text-shadow: 1px 1px 1px rgba(255, 255, 255, 0.66);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.28);
}

.menu__item__link {
    color: #f5a20e;
    display: block;
    padding: 1rem;
    width: 100%;
    text-shadow: 1px 2px 3px #808080;
}

.submenu {
    background: #fff;
    display: none;
}

.submenu__item {
    border-bottom: 1px solid #e1dbd6;
    color: #222;
    padding: 1rem;
    font-weight: bold;
    font-family: "M PLUS Rounded 1c", sans-serif;
}

.accordion-arrow {
    margin-right: 5px;
}

.accordion-nav {
    display: none;
    border: solid 1px #d5d4d5;
    margin-bottom: 30px;
}

/*==========================================================================
　ページ
==========================================================================*/
.p-container {
    box-shadow: unset;
    border: unset;
    border-bottom: solid 1px #f5a20e;
}

.post-main-visual {
    height: 200px;
}

.post-main-visual img {
    height: 200px;
    object-fit: cover;
}

.post-contents .article {
    margin: 60px 0;
}

.post-contents .article {
    width: auto;
}

.post-contents img {
    width: auto;
}

.post-contents h2.title {
    text-align: center;
    margin: 80px 0;
}

.post-contents h2 {
    font-size: 36px;
    margin-bottom: 12px;
    margin-top: 32px;
}

.post-contents h2.single-title {
    margin: 0 0 80px 0;
}

.post-contents h3 {
    font-size: 28px;
    margin: 12px 0;
}

.post-contents p {
    line-height: 1.9;
    margin: 16px 0;
}

.post-contents .thumbnail {
    text-align: center;
}

/* .post-contents dl {
    width: 300px;
} */

.post-contents dl .article-info p {
    line-height: normal;
    margin: 0;
}

.post-contents dl .article-img img {
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.pagenation {
    text-align: center;
    margin: 80px 0;
}

.pagenation .current {
    background: #f9c465;
    color: #fff;
}

.page-numbers {
    padding: 0 8px;
}

.post-contents .post-box {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.post-contents .post-box::after {
    display: block;
    content: "";
    width: 300px;
}

.archive .post-contents .inner,
.category .post-contents .inner {
    width: 1000px;
}

.post-contents {
    /* padding: 0 20px; */
}

.post-contents.post-contents--article {
    padding: 0;
}

.post-contents--article .article {
    margin: 20px 0 0;
}

/*==========================================================================
　事業内容
==========================================================================*/
.page-id-10 table th,
.page-id-18 table th {
    text-align: center;
    width: 20%;
}

@media screen and (max-width:420px) {
    .page-id-10 table th,
    .page-id-18 table th {
        width: 25%;
    }
}

.page-id-10 table th,
.page-id-6 table td,
.page-id-337 table td,
.page-id-18 table td {
    padding: 12px 14px;
}

th {
    background-color: #f5a20e;
    color: #fff;
}

.page-id-18 .post-contents img {
    width: 450px;
}

/*==========================================================================
　法人について
==========================================================================*/
/* .page-id-6 .article figure,
.page-id-337 .article figure {
    margin-top: 60px;
} */

.page-id-6 .article figure {
    margin-top: 60px;
}

.page-id-337 .article figure {
    margin-top: 16px;
    margin-bottom: 32px;
}

.memberList {
    width: fit-content;
    margin: 0 auto;
}

.memberList__item {
    display: flex;
    gap: 30px;
    justify-content: center;
    border-bottom: 1px solid #ddd;
    padding-bottom: 20px;
}

.memberList__item:not(:first-of-type) {
    margin-top: 60px;
}

.memberList__imgFrame {
    width: 150px;
    height: 190px;
}

img.memberList__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.memberList__textFrame {
    width: 660px;
    max-width: 100%;
}

.memberList__head {
    display: flex;
}

.memberList__post {
    color: #de7f25;
    margin-right: 1em;
    font-size: 14px;
    line-height: 1.9;
}

.memberList__name {
    color: #de7f25;
    letter-spacing: 0.12em;
    font-weight: bold;
    font-size: 16px;
}

.memberList__desc {
    margin-top: 0.5em;
}

@media screen and (max-width:1100px) {
    .memberList {
        width: 100%;
    }
}

@media screen and (max-width:600px) {
    .memberList__item {
        flex-direction: column;
        align-items: center;
    }
}

/*==========================================================================
　お問い合わせ
==========================================================================*/
.submit input[type="submit"] {
    width: 150px;
    height: 43px;
    box-shadow: 0px 0px 15px #3333331a;
    color: #fff;
    background: #f5a20e;
}

.form,
.check,
.submit {
    width: 700px;
    max-width: 100%;
}

.check,
.submit {
    margin: 0 auto;
}

.submit {
    text-align: center;
    margin-top: 12px;
}

.check {
    margin-top: 30px;
}

.form {
    margin: 0 auto 40px;
}

.wpcf7-spinner {
    display: block !important;
}

.hissu {
    font-size: 14px;
    color: #ff0000;
    margin-left: 4px;
}

.check input[type="checkbox"]:checked+span::after {
    border-bottom: 4px solid #333;
    border-left: 4px solid #333;
}

input[type="radio"]:checked+span::after {
    background: #333 !important;
}

.contact-txt {
    text-align: right;
    margin-bottom: 12px;
    font-size: 14px;
}

.form-top {
    margin-bottom: 0;
}

.wpcf7 input[type="tel"] {
    font-size: 16px;
}

@media screen and (max-width: 1024px) {
    .baner-container {
        width: 100%;
    }

    .widget_categories,
    .widget_archive {
        width: 300px;
    }
}

@media screen and (max-width: 987px) {
    .post-contents .post-box {
        justify-content: center;
    }

    .post-contents .article {
        margin: 60px 24px;
    }
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
    .logo-title {
        font-size: 3.1vw;
    }
}

@media screen and (min-width: 601px) and (max-width: 768px) {
    .post-contents .article {
        width: auto;
    }

    .post-contents dl {
        width: auto;
    }

    .post-contents dl .article-img img {
        width: 100%;
    }
}

@media screen and (max-width: 768px) {
    .header-logo {
        text-align: center;
    }

    .header-logo h1.logo-title {
        margin-top: 0;
        font-size: 20px;
    }

    .post-contents .article {
        margin: 10px 8px;
    }

    .accordion-nav {
        display: block;
    }

    .main-nav-wrap {
        display: none;
    }

    nav {
        display: none;
    }

    .header-top,
    .logo-wrap,
    .wrap,
    .footer-inner {
        padding-left: 5px;
        padding-right: 5px;
    }

    .header-nav {
        justify-content: center;
    }

    .logo-title {
        text-align: center;
        margin-bottom: 30px;
        font-size: 20px;
    }

    .logo-wrap {
        margin-bottom: 10px;
    }

    .main-img {
        margin-bottom: 30px;
    }

    .article-wrap,
    .footer-inner,
    .logo-wrap {
        display: block;
    }

    .article-wrap {
        padding: 10px;
    }

    .action-wrap {
        flex-direction: column;
        display: block;
    }

    .action-wrap .action-img {
        width: 100%;
        text-align: center;
    }

    .action-img img {
        /* width: 300px; */
        width: 40%;
    }

    .action-content,
    .action-img,
    .article,
    .widget_categories,
    .widget_archive {
        width: auto;
        margin-right: 0;
    }

    .action-content:first-child {
        margin-bottom: 80px;
    }

    .main-img,
    .article dt {
        height: auto;
    }

    .article-btn {
        width: 50%;
        margin: 0 auto;
        margin-top: 30px;
        margin-bottom: 50px;
    }

    .baner-wrap {
        display: flex;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .baner-container {
        width: 240px;
    }

    .widget_categories {
        margin-bottom: 50px;
    }

    .article img {
        height: inherit;
    }

    .widget_categories {
        margin: 0 0 40px 0;
    }

    .logo-nav ul {
        justify-content: center;
    }

    .header-top {
        display: block;
    }

    .header-top p {
        text-align: center;
    }

    .article .article-img figure {
        height: 210px;
    }

    .article-img.top img {
        /* height: auto; */
    }

    .logo-nav {
        width: 100%;
    }

    /*==========================================================================
　法人について
==========================================================================*/
    .page-id-6 .wp-block-columns:last-child,
    .page-id-377 .wp-block-columns:last-child {
        flex-direction: column-reverse;
    }

    .page-id-337 .article figure,
    .page-id-6 .article figure {
        text-align: center;
        margin-top: 0;
    }
}

@media screen and (max-width: 600px) {
    .action-content h3 {
        font-size: 16px;
    }

    .contact-txt {
        text-align: left;
    }

    .mission-box {
        display: block;
    }

    .mission-txt {
        width: 100%;
        margin-left: 0;
        padding-top: 0;
    }

    .sp-only {
        display: block;
    }

    .logo-nav {
        margin-top: -20px;
    }

    .post-contents h2 {
        font-size: 24px;
    }

    .post-contents h3 {
        font-size: 18px;
    }

    .page-id-10 table th,
    .page-id-10 table td,
    .page-id-18 table th,
    .page-id-18 table td {
        /* width: 100%;
        display: block; */
        padding: 6px 4px;
    }

    .logo-wrap {
        margin-top: -40px;
    }

    .main-img img {
        width: 95%;
        margin: 0 auto;
        display: block;
    }

    .main-img {
        padding: 0;
    }

    .mission-txt {
        margin: 8px auto 0;
    }

    .post-contents .post-box {
        display: block;
    }

    .post-contents dl {
        width: 100%;
    }

    .post-contents dl .article-img img {
        width: 100%;
    }

    .action-img-s {
        height: auto;
    }

    .action-content h3.saeki-h3 {
        min-height: auto;
    }
}

@media screen and (max-width: 480px) {
    .sp-block {
        display: block;
    }
}

.member-card {
    display: flex;
    width: 350px;
    border: 1px solid #ddd;
    -ms-flex-direction: row;
    flex-direction: row;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    justify-content: flex-start;
    min-height: 140px;
    border: 1px solid #ddd;
    width: 30%;
}

.member-list {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.member-img img {
    width: 120px;
    height: 100%;
    object-fit: cover;
}

.member-txt-box {
    width: 60%;
    padding: 20px;
}

.member-card .name {
    width: 100%;
    color: #de7f25;
    letter-spacing: 0.12em;
    font-weight: bold;
    font-size: 16px;
}

.member-card .post {
    word-break: break-all;
    width: 100%;
    color: #333;
    font-size: 14px;
}

.member-list>li {
    margin: 0 15px 20px 0;
}

.member-wrap {
    width: 1100px;
    max-width: 100%;
    margin: 0 auto;
}

.member-wrap::after {
    content: "";
    display: block;
    width: 30%;
}

.hudou {
    text-align: right;
}

.wp-container-7 {
    max-width: 100%;
}

@media (max-width: 1024px) {
    .member-img img {
        width: 100px;
    }

    .member-card {
        width: 48%;
    }

    .member-list>li {
        margin: 0 8px 20px 0;
    }

    .member-list::after {
        content: "";
        display: block;
        width: 49%;
        height: 0;
    }
}

@media (max-width: 600px) {
    .member-card {
        width: 100%;
        max-height: 170px;
    }

    .member-list {
        display: block;
    }

    .member-img img {
        max-width: 150px;
    }

    .member-txt-box {
        padding: 12px;
        width: auto;
    }
}

/* TOP */
.article-wrap.grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px 30px;
}

.home .article {
    width: 100%;
}

@media screen and (max-width: 991px) {
    .article-wrap.grid {
        grid-template-columns: 1fr 1fr;
        gap: 20px 30px;
    }

    .home .article-btn {
        width: 100%;
    }
}

@media screen and (max-width: 600px) {
    .article-wrap.grid {
        grid-template-columns: 1fr;
        gap: 0px;
    }
}


/* 2カラムレイアウト */
.l-main-content {
    display: flex;
    gap: 60px;
    justify-content: center;
    max-width: 1100px;
    margin-inline: auto;
    padding: 0 40px;
}

@media screen and (max-width: 991px) {
    .l-main-content {
        flex-direction: column;
        padding: 0 20px;
    }
}

.l-main-content__main {
    width: calc(100% - 300px);
}

@media screen and (max-width: 991px) {
    .l-main-content__main {
        width: 100%;
    }
}

.l-main-content__aside {
    width: 300px;
    max-width: 100%;
    padding-top: 80px;
    display: flex;
    flex-direction: column;
    gap: 40px;
    flex-shrink: 0;
}

@media screen and (max-width: 991px) {
    .l-main-content__aside {
        width: 100%;
        padding-top: 20px;
    }
}

.l-main-content__aside .widget_categories,
.l-main-content__aside .widget_archive {
    margin: 0;
    max-width: unset;
    width: 100%;
}

.l-main-content__aside .baner-container {
    margin: 0;
}

.l-main-content__aside .baner-wrap {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

@media screen and (max-width: 991px) {
    .l-main-content__aside .baner-wrap {
        flex-direction: row;
    }
}

.l-footer {
    margin-top: 40px;
}

.facebook-container {
    margin: 0 auto;
}