/*---------------------------------------------*/
/* reform
============================================== */

div#seko_jirei {
    margin-top: 150px;
}

/* ===== Section spacing ===== */

section#seko_jirei {
    margin: 150px auto;
}

#reform_step h4.sa.sa--up.show {
    margin-bottom: 30px;
}

#seko_jirei h4.sa.sa--up.show {
    margin-bottom: 40px;
}

/* ===== Badge ===== */
span.free {
    border: solid 2px orange;
    background: orange;
    font-size: 20px;
    color: #fff;
    margin: auto 10px;
    text-align: center;
}

/* ===== Reform steps (background images) ===== */
div#step01,
div#step02,
div#step03,
div#step04,
div#step05,
div#step06,
div#step07,
div#step08 {
    background-repeat: no-repeat;
    background-size: cover;
    height: 300px;
}

div#step01 {
    background-image: url("../image/reform-process-img-1.jpg");
    background-position: top;
}

div#step02 {
    background-image: url("../image/reform-process-img-2.jpg");
    background-position: top;
}

div#step03 {
    background-image: url("../image/reform-process-img-3.jpg");
    background-position: top;
}

div#step04 {
    background-image: url("../image/reform-process-img-4.jpg");
    background-position: center;
}

div#step05 {
    background-image: url("../image/reform-process-img-5.jpg");
    background-position: top;
}

div#step06 {
    background-image: url("../image/reform-process-img-6.jpg");
    background-position: top;
}

div#step07 {
    background-image: url("../image/reform-process-img-7.jpg");
    background-position: top;
}

div#step08 {
    background-image: url("../image/reform-process-img-8.jpg");
    background-position: center;
}

/* ===== Renovation main blocks ===== */
#renovation .main {
    display: flex;
    justify-content: space-between;
    margin-top: 30px;
}

#renovation .main p {
    width: calc((100% - 10%) / 4);
    margin: 20px auto;
}

.area001 {
    height: auto;
    background: rgba(255, 255, 255, .8);
    padding: 25px 0 15px;
}

.area001 h2 {
    margin-bottom: 1em;
}

.sab_menu {
    display: flex;
}

.sab_menu h5 {
    text-align: center;
    margin: auto 5px;
}

/* ===== Shared “reform-renovation” blocks ===== */
div#reform-renovation,
div#gaiheki-reform-renovation,
div#kaisou-reform-renovation,
div#zoutiku-reform-renovation {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px solid #ccc;
    margin: 50px auto;
    padding-bottom: 50px;
}

#renovation .sab_menu p {
    width: 23%;
    margin: 10px 0;
}

ul .main {
    width: calc((100% - 2%) / 3);
}

.main h6 {
    margin: 0 15px 10px;
}

/* ===== List bullets (water / gaiheki / kaisou / zoutiku) ===== */
.water ul li,
.gaiheki ul li,
.kaisou ul li,
.zoutiku ul li {
    text-align: left;
    margin: auto 15px;
}

.water ul li span,
.gaiheki ul li span,
.kaisou ul li span,
.zoutiku ul li span {
    font-size: .8em;
    color: #fff;
    border-radius: 50%;
    display: inline-flex;
    margin-right: 5px;
    justify-content: center;
    align-items: center;
    width: 18px;
    height: 18px;
}

.water ul li span {
    background-color: #00819d;
}

.gaiheki ul li span {
    background-color: orange;
}

.kaisou ul li span {
    background-color: green;
}

.zoutiku ul li span {
    background-color: #C13F68;
}

/* ===== Waku (共通化) ===== */
.waku {
    margin: 15px;
    padding: .4em;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
}

.waku b {
    border-radius: 10px;
    text-align: center;
    font-size: 30px;
    font-weight: bold;
}

.waku_001 {
    border: 2px solid #00819d;
    color: #00819d;
}

.waku_001 b {
    color: #00819d;
}

.waku_002 {
    border: 2px solid orange;
    color: orange;
}

.waku_002 b {
    color: orange;
}

.waku_003 {
    border: 2px solid green;
    color: green;
}

.waku_003 b {
    color: green;
}

.waku_004 {
    border: 2px solid #C13F68;
    color: #C13F68;
}

.waku_004 b {
    color: #C13F68;
}

/* 既存HTMLが .waku.waku_001 の形でも効くように */
.waku.waku_001 {
    border-color: #00819d;
    color: #00819d;
}

.waku.waku_002 {
    border-color: orange;
    color: orange;
}

.waku.waku_003 {
    border-color: green;
    color: green;
}

.waku.waku_004 {
    border-color: #C13F68;
    color: #C13F68;
}

ul.mainn.sa.sa--up.show {
    width: calc((100% - 2%) / 3);
}

/* ===== Jirei title ===== */
h5.jirei_title_left,
h5.jirei_title_right {
    text-align: left;
    border-bottom: solid 3px #00819d;
    font-size: 16px;
    padding-bottom: 5px;
}

.tab li {
    margin: 0 0 5px;
}

.section-title {
    width: 60%;
    margin: 0 auto 20px;
}

/* ===== New badge (box3) ===== */
span#box3 {
    display: inline-block;
    width: 100px;
    text-align: center;
    background: #fc5959;
    color: #fff;
}

#box3 {
    animation: 3s linear infinite rotation3;
}

/* @keyframes rotation3{
  0%{ transform:rotateY(0);}
  100%{ transform:rotateY(360deg); }
} */

/*==================================================
  Slick sliders (reform)
====================================================*/

/* 施工事例スライダー（.seko_jirei） */
.seko_jirei img {
    width: 100%;
    height: auto;
    border: solid 1px #7f7f7f;
}

.seko_jirei .slick-slide {
    margin: 0 100px;
}

.jirei_photo {
    display: flex;
    justify-content: space-between;
}

.jirei_photo p {
    width: 48%;
    font-size: 16px;
}

/* lineup 共通化 */
.lineup_001 img,
.lineup_002 img {
    width: 100%;
    height: auto;
}

.lineup_001 .slick-slide,
.lineup_002 .slick-slide {
    margin: 0;
}

/* ===== 流れ続ける施工事例（専用：js-hk-reform-marquee） ===== */
.js-hk-reform-marquee li {
    margin: 0 15px;
}

.js-hk-reform-marquee .slick-track {
    display: flex !important;
}

.js-hk-reform-marquee img {
    width: 100%;
    height: auto;
    display: block;
}

/* ===== フルリノベ施工例（専用：js-hk-fullreno-slider） ===== */
.reform_fullrenovation .js-hk-fullreno-slider {
    margin: 0;
    padding: 0;
    list-style: none;
}

.reform_fullrenovation .slick-prev,
.reform_fullrenovation .slick-next {
    z-index: 2;
}

.reform_fullrenovation .slick-dots {
    margin-top: 12px;
}

/* 画像を統一（トリミングで揃える） */
.js-hk-fullreno-slider a {
    display: block;
}

.js-hk-fullreno-slider img {
    width: 100%;
    height: 260px;
    /* PC */
    object-fit: cover;
    object-position: center;
    display: block;
    border-radius: 8px;
}

/* ===== Responsive ===== */
@media screen and (max-width: 992.98px) {

    div#reform-renovation,
    div#gaiheki-reform-renovation,
    div#kaisou-reform-renovation,
    div#zoutiku-reform-renovation {
        flex-direction: column;
    }

    ul.mainn.sa.sa--up.show {
        width: 100%;
    }

    #renovation .sab_menu p {
        width: 10%;
        margin: 10px 0;
    }

    .jirei_photo p {
        width: 48%;
        font-size: 12px;
    }

    .section-title {
        width: 60%;
    }
}

@media screen and (max-width: 768px) {
    .js-hk-fullreno-slider img {
        height: 220px;
    }
}

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

    #renovation .main {
        display: flex;
        justify-content: space-between;
        flex-direction: row;
        flex-wrap: wrap;
        margin-top: 30px;
    }

    #renovation .main p {
        width: calc((100% - 10%) / 2);
        margin: 0 auto;
        padding: 5px 0;
    }

    div#step01 {
        height: auto;
    }

    .section-title {
        width: 100%;
    }

    h5.jirei_title_left,
    h5.jirei_title_right {
        font-size: 12px;
    }
}



/* フルリノベ施工例：このブロック内だけは縦積みを強制 */
#reform_fullrenovation .container.reform_full{
  display: block !important;   /* flex/grid を無効化 */
}

#reform_fullrenovation .reform_befor{
  width: 100%;
}

#reform_fullrenovation h3,
#reform_fullrenovation h4{
  display: block;
  width: 100%;
  margin: 0 0 16px;
}


.Nanametitle {
    display: flex;
    justify-content: center;
    align-items: center;
}
.Nanametitle::before,.Nanametitle::after {
    content: "";
    background-color: #000066;
    height: 3px;
    width: 60px;
}
.Nanametitle::before {
    margin-right: 5px;
    transform: rotate(60deg); 
}
.Nanametitle::after {
    margin-left: 5px;
    transform: rotate(-60deg); 
}