/*タブ切り替え全体のスタイル*/
.tabs {
    margin-top: 50px;
    padding-bottom: 40px;
    background-color: #fff;
    margin: 0 auto;
}

/*タブのスタイル*/
.tab_item {
    width: calc(100%/3);
    height: 50px;
    /* border-bottom: 3px solid #5ab4bd;*/
    background-color: #d9d9d9;
    line-height: 50px;
    font-size: 16px;
    text-align: center;
    color: #565656;
    display: block;
    float: left;
    text-align: center;
    font-weight: bold;
    transition: all 0.2s ease;
    border-radius: 30px;
    margin: 0 8%;
}

.tab_item:hover {
    opacity: 0.75;
}

/*ラジオボタンを全て消す*/
input[name="tab_item"] {
    display: none;
}

/*タブ切り替えの中身のスタイル*/
.tab_content {
    display: none;
    padding: 40px 0;
    clear: both;
    overflow: hidden;
}

/*タブの上の余白*/
.content_wrapper {
    margin-top: 6%;
}

/*選択されているタブのコンテンツのみを表示*/
#new:checked~#new_content,
#design:checked~#design_content {
    display: block;
}

/*選択されているタブのスタイルを変える*/
.tabs input:checked+.tab_item {
    background-color: #00138C;
    color: #fff;
}

/* 画像を並べている部分のcss */
.img_wrap {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    width: 90%;
}

.img_wrap .img_box {
    width: 23%;
    margin: 1%;
    /*   position: relative;*/
    margin-bottom: 31%;
}

.img_wrap .img_box .img {
    position: absolute;
    width: 100%;
    padding-bottom: 100%;
}

.img_wrap .img_box .img img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

@media (max-width:875px) {
    .img_wrap .img_box {
        width: 31%;
        margin: 1%;
        position: relative;
        padding-bottom: 35%;
    }
}

@media (max-width:480px) {
    .img_wrap .img_box {
        width: 46%;
        margin: 2%;
        position: relative;
        padding-bottom: 55%;
    }
}

/* モーダル部分のデザイン */
.js_modal_area {
    display: none;
}

.js_modal_area .modal {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: 0;
    left: 0;
    z-index: 10;
}

.modal__bg {
    position: relative;
    z-index: 1;
    background: #00000080;
    width: 100%;
    height: 100%;
}

/*.js_modal_area .modal .modal__content {
    position: absolute;
    top: 55%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    background: #fff;
    max-width: 800px;
    z-index: 9999;
    padding: 60px 30px 60px;
}*/

.js_modal_area .modal .modal__content.active {
    display: block;
}

.js_modal_area .modal .modal__content.active .img_box img {
    width: 100%;
    object-fit: contain;
    height: 40vh;
}

.js_modal_area .modal .modal__content .img_box {
    width: 80%;
    margin: 2% auto;
}

.js_modal_area .modal .modal__content p {
    width: 80%;
    margin: auto;
    margin-top: 12px;
    line-height: 1.4;
    font-size: 13px;
}

.js_modal_area .modal .js_modal_close {
    text-align: center;
    display: block;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 30px;
    font-weight: 700;
}

.case_max_inner {
    max-width: 95rem;
    margin: 0 auto;
}

.feform-flex {
    display: flex;
    margin: 20px 0 85px 0;
    align-items: center;
    justify-content: center;
}

.img_wrap .re-img_box {
    /* width: 23%; */
    margin: 1%;
    position: relative;
    padding-bottom: 31%;
    cursor: pointer;
}

.re-img_wrap {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    justify-content: center;
}

.re-img_box {
    margin: 0 20px;
    cursor: pointer;
}

.re-img_wrap h3 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
    margin: 30px auto;
}

.tab_content h1 {
    font-size: 1.8rem;
    margin-bottom: 10px;
    text-align: center;
    margin: 30px auto;
    color: #fff;
    background-color: #00138C;
    display: table;
    padding: 10px 20px;
}

.tab_content h4 {
    bottom: 0px;
    margin-bottom: 10px;
    text-align: center;
    /* margin: 30px auto; */
    color: #333;
    display: table;
    padding: 10px 20px;
    z-index: 80;
    /*position: absolute;*/
    margin-bottom: -20px;
}

.re-img_wrap h4 {
    text-align: center;
    margin: 20px auto;
    border-top: solid 1px #333;
    border-bottom: solid 1px #333;
    display: table;
    padding: 20px;
}

.re-img_box img:after {
    content: "STEP";
    font-size: 0.75rem;
    letter-spacing: 0.05em;
    line-height: 1;
    font-family: "Outfit", sans-serif;
    font-family: var(--font-en2);
    font-weight: 600;
}

.tag-be {
    display: block;
    position: absolute;
    /* bottom: 0; */
    /* top: 0; */
    background-color: #A1C1C1;
    color: #fff;
    padding: 8px 20px;
}

.tag-af {
    display: block;
    position: absolute;
    /* bottom: 0; */
    /* top: 0; */
    background-color: #A1C1C1;
    color: #fff;
    padding: 8px 20px;
}

.p-slide {
    padding-left: 15px;
    padding-right: 15px;
}

.p-slide__inner {
    position: relative;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    overflow: hidden;
    /*-- はみ出した要素を非表示にする --*/
}

.p-slide__img {
    display: block;
}

.p-slide-mask {
    /*-- ドロップシャドウ用 --*/
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    /*-- 下にある要素をクリックできるようにする --*/
    box-shadow: 10px 0 14px -14px black inset, -10px 0 14px -14px black inset;
    z-index: 1;
}

.p-slide__main {
    display: flex;
    /*-- 横に並べるのに必要 --*/
    margin-left: -10px;
    padding-bottom: 17px;

}

.p-slide__block {
    flex: 0 0 calc(80% - 10px);
    /*-- 横に並べるのに必要 --*/
    margin-left: 10px;
}

.slide__img img {
    width: 100%;
}

.simplebar-scrollbar::before {
    /*-- スクロールバー自体の色を変更 --*/
    background-color: #debc00;
}

/*-- スクロールバーが動く領域の背景色の変更 お好みで
.simplebar-track {
background-color: #f6f6f6;
}
--*/

.simplebar-content-wrapper::-webkit-scrollbar {
    /*-- iOSでデフォルトのスクロールバーを非表示 --*/
    display: none;
    -webkit-appearance: none;

}

.simplebar-content-wrapper {
    max-width: 90% !important;
    margin: 0 auto;
}

.p-slide__inner {
    overflow: hidden;
    /*-- はみ出した要素を非表示にする --*/
}

.p-slide__main {
    display: flex;
    /*-- 横に並べるのに必要 --*/
    margin-left: -10px;

    align-items: center;
}

.p-slide__block {
    flex: 0 0 calc(60% - 10px);
    /*-- 横に並べるのに必要 --*/
    margin-left: 10px;
    justify-content: center;
    align-items: center;
}

@media (max-width: 875px) {
    .p-slide__block {
        flex: 0 0 calc(95% - 10px);
        /*-- 横に並べるのに必要 --*/
        margin-left: 10px;
    }
}

@media (max-width: 480px) {
    .p-slide__block {
        flex: 0 0 calc(90% - 45px);
        /*-- 横に並べるのに必要 --*/
        margin-left: 10px;
    }

}

.simplebar-scrollbar::before {
    /*-- スクロールバー自体の色を変更 --*/
    background-color: #A1C1C1;
    height: 40px;
}


/* 画像を並べている部分のcss */
.img_wrap {
    display: flex;
    flex-wrap: wrap;
    margin: auto;
}

.img_wrap .img_box {
    width: 23%;
    margin: 1%;
    position: relative;
    padding-bottom: 31%;
    cursor: pointer;
}

.img_wrap .img_box .modal_img {
    width: 23%;
    margin: 1%;
    position: relative;
    padding-bottom: 0%;
    cursor: pointer;
}

@media (max-width: 875px) {
    .img_wrap .img_box {
        width: 31%;
        margin: 1%;
        position: relative;
        padding-bottom: 35%;
    }
}

@media (max-width: 480px) {
    .img_wrap .img_box {
        width: 46%;
        margin: 2%;
        position: relative;
        padding-bottom: 55%;
    }

    .js_modal_area .modal .modal__content {
        width: 90%;
        padding: 60px 0;
    }
}

.img_wrap .img_box .img {
    position: absolute;
    width: 100%;
    padding-bottom: 100%;
}

.img_wrap .img_box .img img {
    position: absolute;
    object-fit: cover;
    width: 100%;
    height: 100%;
}

/* モーダル部分のデザイン */
.js_modal_area {
    display: none;
}

.js_modal_area .modal {
    position: fixed;
    width: 100%;
    height: 100vh;
    top: -10px;
    left: 0;
    z-index: 999;
}

.modal__bg {
    position: relative;
    z-index: 1;
    background: #00000080;
    width: 100%;
    height: 100%;
}

.js_modal_area .modal .modal__content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    background: #fff;
    max-width: 800px;
    z-index: 9999;
    padding: 90px 15px;
    display: none;
}

.js_modal_area .modal .modal__content.active {
    display: block;
}

.js_modal_area .modal .modal__content .img_box {
    width: 80%;
    margin: 2% auto;
}

.js_modal_area .modal .modal__content p {
    width: 80%;
    margin: auto;
    margin-top: 12px;
    line-height: 1.4;
    font-size: 13px;
}

.js_modal_area .modal .js_modal_close {
    text-align: center;
    display: block;
    position: absolute;
    top: 10px;
    right: 15px;
    cursor: pointer;
    font-size: 30px;
    font-weight: 700;
}


/*
css部分は一般的なデザインで特別なことはしていません
なので、よしなに書き換えてください。
*/
.overview {
    max-width: 1000px;
    width: 80%;
    margin: auto;
}

.top {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.top .t_l {
    width: 40%;
}

.top .t_r {
    width: 60%;
    display: flex;
    align-items: center;
    justify-content: end;
}

.top .t_r .item {
    position: relative;
    margin: 0 10px;
}

.slider_wrap {
    display: flex;
    flex-wrap: wrap;
}

.slider_wrap .item {
    margin: 0 20px;
    background: #f3f3f3;
    padding: 20px;
}

.slider_wrap .item .img {
    width: 100%;
    margin: auto;
    margin-bottom: 30px;
    position: relative;
    padding-bottom: 60%;
}

.slider_wrap .item .img img {
    width: 100%;
    height: 100%;
    position: absolute;
    object-fit: cover;
}

.slider_wrap .item .center {
    margin-bottom: 20px;
}

.top .item.slick-active {
    opacity: .7;
}

.top .item.slick-active.slick-current {
    opacity: 1;
}

.item .slick-slide {
    width: 80%;
}


/* 
    2024/11/16追加css リフォーム部分のモーダル調整のため追加しています
    ■やっていること
        モーダル内にbefore/after画像と説明文どちらも同じモーダル内に設置していますが、クリックした方の画像だけを表示するように制御しています
 */
.reform_wrap {
    display: none;
}

.reform_wrap.active {
    display: block;
}


/* もっと見る */
.catListInnerBlock {
    background: #FFF;
    border-radius: 3px;
}

.catListin {
    border: none;
    list-style: none;
    padding: 0;

}

.catListin li {
    padding: 0;
    margin: 0;
}

.catListin li a {
    display: block;
    border-bottom: dotted 2px #ddd;
    padding: 22px 20px 20px;
    text-decoration: none;
}

.catListin li:last-child a {
    border: none;
}

.catListin li a p {
    font-size: 0.95rem;
    font-family: Helvetica;
    font-weight: 300;
    margin-bottom: 0px;
    line-height: 1.3;
}

.catTop {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
    align-content: center;
    margin-bottom: 5px;
}

p.catDate {
    color: #aaa;
}

.catListin li a p.catTitle {
    font-size: 1.05rem;
    margin: 0;
    font-weight: 400;
    line-height: 1.6;
    color: #313131;
}

.catListin li a:hover {
    background: #fafafa;
}

.catListin li a p.catName {
    margin-left: 10px;
    background: #fafafa;
    color: #707070;
    font-size: 0.8rem;
    padding: 2px 12px;
    border-radius: 9999px;
    vertical-align: 1px;
    display: inline-block;
}


/* もっと見るのボタン */
.catListInnerBlock .more {
    text-align: center;
    padding-top: 15px;
    cursor: pointer;
    position: relative;
    padding-bottom: 15px;
}

.catListInnerBlock .more:hover {
    background: #fafafa;
}

.more button {
    position: relative;
    border: none;
    background: none;
}

.more button:after {
    color: #2165c0;
    position: relative;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1em;
    content: "\f055";
    padding-left: 10px;
}

/* もっと見るの非表示 */
.catListin li.is-hidden {
    visibility: hidden;
    opacity: 0;
    height: 0;
    margin: 0 10px;
    padding: 0;
}

.js-btn-more,
.js-btn-close {
    display: math;
    transition: 0.2s;
    /* border: 1px solid #333; */
    cursor: pointer;
    display: table;
    margin-top: 10px;
    padding: 10px;
    margin: 0 auto;
}