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

label {
    display: block;
}

input {
    display: block;
}

/*タブのスタイル*/
.child-category {
    display: flex;
    border-bottom: 1px solid #333;
    height: 30px;
}

.category-jp {
    margin-right: 1em;
}

.tab_item {
    width: 100%;
    height: 40px;
    /* border-bottom: 3px solid #5ab4bd;*/
    background-color: #fff;
    line-height: 50px;
    font-size: 16px;
    text-align: center;
    color: #565656;
    display: block;
    float: left;
    font-weight: bold;
    transition: all 0.2s ease;
    border-radius: 5px;
    margin: 10px;
    text-align: left;
}

.tab_item.select {
    /* background-color: #00589B;*/
    color: #00589B;
}

.tab_item.select a {
    color: #00589B;
    ;
}

.tab_item:hover {
    opacity: 0.75;
}

.tab_item.child {
    margin-left: 1em;
}

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

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

.tab_content_description ul li .js_modal_open img:hover {
    transition: all 0.3s ease 0s;
    transform: scale(1.);
}

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

/*選択されているタブのコンテンツのみを表示*/
#electricity:checked~#electricity_content,
#tushin:checked~#tushin_content,
#bousai:checked~#bousai_content {
    display: block;
}

.tab_content_action.action {
    display: block;
}

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

/* 画像を並べている部分のcss */
.img_wrap {

    margin: auto;
    width: 90%;
}


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

.img_wrap .img_box .img img {

    object-fit: cover;
    width: 100%;
    height: 100%;
}

.img_wrap .day {
    color: #005AA4;
    font-weight: 400;
}

.img_list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    /* アイテム間の間隔 */
}

@media (max-width:875px) {
    .img_wrap .img_box {
        width: 45%;
        position: relative;

    }


}

@media (max-width:550px) {
    .img_wrap .img_box {
        width: 41%;
        margin: 9% 5px;
        position: relative;
        height: 135px;
    }
}

/* モーダル部分のデザイン */
.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;
    width: 100%;
    height: 100%;
}

.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 .modal__content .head {
    font-size: 3.3rem;
}

.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;
    width: 90%;
    margin: 20px auto 85px auto;
    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: #00589B;
    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;
    padding: 0 5%;
}

.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: 0 auto;
}

.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;
}


.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);
    /*-- 横に並べるのに必要 --*/

    justify-content: center;
    align-items: center;
}

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

    .flex_container {
        display: block !important;
    }

    .flex_container .main_content_wrapper {
        width: 100% !important;
    }

    .tab_item {
        float: none;
    }

    .flex_container .tab_wrap {
        margin: 0 auto;
        width: 60% !important;
        padding-top: 40px;
    }
}

@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 .img_box {
    width: 46%;
    margin: 1%;
    position: relative;
    height: 270px;
    cursor: pointer;
    margin-bottom: 60px;
}

.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: 45%;
        margin: 1%;
        position: relative;

    }
}

@media (max-width: 550px) {
    .img_wrap .img_box {
        width: 41%;
        margin: 9% 5px;
        position: relative;
        height: 135px;
    }
}

.img_wrap .img_box .img {
    position: absolute;
    width: 100%;
    height: auto;
    display: contents;
}

.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: 1200px;
    z-index: 9999;
    padding: 5% 20px 2% 20px;
    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: 4% auto;
    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;
    width: 80px;
    height: 50px !important;
    -o-object-fit: cover;
    object-fit: cover;
}

.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%;

    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%;
}

.slick-track {
    transform: 0
}

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

.reform_wrap.active {
    display: block;
}





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


.js-btn-more {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 200px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 600;
}

.js-btn-more:before {
    position: absolute;
    bottom: 0px;
    left: 50%;
    content: '';
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, .1);
    transform: translateX(-50%);
}

.js-btn-more:after {
    position: absolute;
    bottom: 0px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #000;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}

.js-btn-more:hover {
    opacity: 0.7;
}

.js-btn-more:hover:after {
    transform: scale(1, 1);
}



.js-btn-close {
    position: relative;
    display: flex;
    justify-content: space-around;
    align-items: center;
    margin: 0 auto;
    max-width: 200px;
    padding: 10px 25px;
    color: #313131;
    transition: 0.3s ease-in-out;
    font-weight: 600;
}

.js-btn-close:before {
    position: absolute;
    bottom: 0px;
    left: 50%;
    content: '';
    width: 100%;
    height: 2px;
    background: rgba(0, 0, 0, .1);
    transform: translateX(-50%);
}

.js-btn-close:after {
    position: absolute;
    bottom: 0px;
    left: 0;
    content: '';
    width: 100%;
    height: 2px;
    background: #000;
    transform: scale(0, 1);
    transform-origin: left top;
    transition: transform .3s;
}

.js-btn-close:hover {
    opacity: 0.7;
}

.js-btn-close:hover:after {
    transform: scale(1, 1);
}


/* オカザキ追加 */
.flex_container {
    display: flex;
    max-width: 1300px;
    width: 90%;
    margin-left: auto;
    margin-right: auto;
    padding: 7% 0 5%;
}

.flex_container .main_content_wrapper {
    width: 80%;
}

.flex_container .tab_wrap {
    width: 20%;
}

.pnavi {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 50px;
}

.pnavi a {
    margin: 0 5px;
    /* ページ番号リンクの間隔 */
    padding: 5px 25px;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
}

.pnavi a:hover {
    background-color: #f0f0f0;
}

.page-numbers.current {
    padding: 5px 10px;
}