
/* ======================================================

   index

========================================================= */
.main_img_cover {
    height: 100vh;
    background: #fcf6eb;
    padding-top: 100px;
    box-sizing: border-box;
    position: relative;
}
.main_img {
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    margin: auto;
    z-index: 99;
}

.main_img .h2_block {
    width: 90%;
    background: rgba(255,255,255,0.85);
    border-radius: 20px;
    box-sizing: border-box;
    padding: 20px;
    margin: 60% auto 0;
}
.main_img .h2_block > p {
    font-weight: bold;
    line-height: 1.2;
    font-size: 29px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 5px;
}
.main_img .h2_block > p > span {
    display: inline-block;
    width: 125px;
}
.main_img .h2_block > h2 {
    font-weight: bold;
    text-align: center;
    font-size: 20px;
    letter-spacing: 0;
    line-height: 1.4;
}
.main_img .h2_block > h2 > span {
    color: #2d9a1d;
    background: url("../images/fv_text_bg.png") no-repeat center bottom;
    background-size: contain;
    padding-bottom: 6px;
}

.main_img .fv_medal {
    width: 90%;
    display: flex;
    justify-content: space-between;
    position: absolute;
    bottom: 20px;
    left: 0;
    right: 0;
    margin: auto;
}

.main_img .fv_medal > li {
    width: 32%;
    position: relative;
}
.main_img .fv_medal > li:last-child:before {
    content: "";
    display: block;
    width: 100px;
    height: 56px;
    background: url("../images/fv_medal03_fukidashi.png") no-repeat;
    background-size: contain;
    position: absolute;
    top: -30px;
    left: 0;
    right: 0;
    margin: auto;
}


/* ===== Hero Slide ===== */
.hero{
    height: auto;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-sizing: border-box;
    padding: 20px 0;
}

#hero_slide{ width: 100%; overflow: hidden; }

#hero_slide .splide__list{
  display: flex;
  align-items: flex-end;
  gap: 10px;
}
#hero_slide .splide__slide{
  display: flex;
  flex-direction: column;
  gap: 10px;
  list-style: none;
  margin: 0; padding: 0;
}
/* 田の字レイアウト用の横並び行 */
#hero_slide .row-2{
  display: flex;
  gap: 10px;
}

#hero_slide .img_wrap{
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 6px 20px rgba(40,30,20,.08);
  flex-shrink: 0;
}
#hero_slide .img_wrap > img{
  display: block; width: 100%; height: 100%; object-fit: cover;
}

/* タイル：モバイル */
#hero_slide .tile-tall { width: 240px; height: 70vh; }  /* 縦長・1枚立て */
#hero_slide .tile-big { width: 350px; height: 70vh; }
#hero_slide .tile-md   { width: 200px; height: 34vh; }  /* 縦積み用 */
#hero_slide .tile-sm   { width: 150px; height: 34vh; }  /* 田の字用 */

/* ===== デスクトップ（1025px〜） ===== */
@media screen and (min-width: 1025px){
  #hero_slide .splide__list,
  #hero_slide .splide__slide,
  #hero_slide .row-2{ gap: 20px; }

  #hero_slide .tile-tall { width: 480px; height: 80vh; }
#hero_slide .tile-big { width: 750px; height: 80vh; }
  #hero_slide .tile-md   { width: 320px; height: 39vh; }
  #hero_slide .tile-sm   { width: 560px; height: 39vh; }
}

@media screen and (min-width: 1025px) {
    

    .main_img_cover {
        padding-top: 135px;
    }

    .main_img { max-width: 1200px;}
    .main_img .h2_block {
        width: 60%;
        padding: 30px 40px;
        margin: 30% auto 0;
    }
    .main_img .h2_block > p {
        font-size: 62px;
        margin-bottom: 5px;
        letter-spacing: 0;
    }
    .main_img .h2_block > p > span { width: 290px;}
    .main_img .h2_block > h2 {
        font-size: 38px;
        line-height: 1.4;
    }

    .main_img .fv_medal {
        width: 90%;
        max-width: 550px;
        bottom: 60px;
        left: auto;
        right: 0;
    }
    .main_img .fv_medal > li { width: 33%;}
    .main_img .fv_medal > li:last-child:before {
        width: 122px;
        height: 68px;
    }

}




.index_common_title02 {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    line-height: 1.4;
    letter-spacing: 0.025em;
}
.index_common_title02 span {
    font-size: 22px;
    color: #2d9a1d;
}

.index_common_title02_sub {
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    line-height: 1.4;
    margin-bottom: 5px;
}
@media screen and (min-width: 1025px) {
    
    .index_common_title02 {
        font-size: 36px;
        letter-spacing: 0.075em;
    }
    .index_common_title02 span {
        font-size: 42px;
    }

    .index_common_title02_sub {
        font-size: 28px;
    }
    
}

/* ======================================================

   section01

========================================================= */
#index_section01 {
    width: 100%;
    background: url("../images/index_section01_bg.jpg") no-repeat center top;
    background-size: cover;
    padding: 50px 0;
    position: relative;
}
#index_section01:after {
    content: "OCTO VISION";
    font-family: "Jost", sans-serif;
    color: rgba(255,255,255,0.08);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    font-size: 110px;
    font-weight: 500;
    line-height: 1;
    text-align: center;
}
#index_section01 .main_sec {
    position: relative;
    z-index: 9;
}
#index_section01 .main_sec > .left_block {
    margin: 0 auto 20px;
}
#index_section01 .main_sec > .left_block > h3 {
    font-weight: bold;
    font-size: 26px;
    color: #fff;
    line-height: 1.4;
    margin-bottom: 20px;
}
#index_section01 .main_sec > .left_block > p {
    font-weight: bold;
    color: #fff;
    line-height: 2;
}


#index_section01 .main_sec > .right_block > .fukidashi_text {
    text-align: center;
    margin-bottom: 15px;
}
#index_section01 .main_sec > .right_block > .fukidashi_text > p {
    font-weight: bold;
    color: #fff;
    display: inline-block;
    position: relative;
    padding: 0 20px;
    line-height: 1.2;
}
#index_section01 .main_sec > .right_block > .fukidashi_text > p:before,
#index_section01 .main_sec > .right_block > .fukidashi_text > p:after {
    content: "";
    display: block;
    width: 15px;
    height: 21px;
    background: url("../images/fukidashi.png") no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
}
#index_section01 .main_sec > .right_block > .fukidashi_text > p:before { left: 0;}
#index_section01 .main_sec > .right_block > .fukidashi_text > p:after { right: 0; transform: scaleX(-1);}

#index_section01 .main_sec > .right_block > .fukidashi_text > p > span {
    font-size: 20px;
    position: relative;
}
#index_section01 .main_sec > .right_block > .fukidashi_text > p > span:before {
    content: "";
    display: block;
    width: 5px;
    height: 5px;
    background: #faea65;
    border-radius: 50%;
    position: absolute;
    top: -5px;
    left: 0;
    right: 0;
    margin: auto;
}

@media screen and (min-width: 1025px) {
    #index_section01 {
        padding: 130px 0;
    }
    #index_section01:after {
        font-size: 290px;
        letter-spacing: 0;
        bottom: -40px;
    }
    #index_section01 .main_sec {
        display: flex;
        justify-content: space-between;
}
    #index_section01 .main_sec > .left_block {
        margin: 0;
    }
    #index_section01 .main_sec > .left_block > h3 {
        font-size: 46px;
        margin-bottom: 50px;
         font-feature-settings: "palt";
    }
    #index_section01 .main_sec > .right_block { width: 30%; margin-top: 75px;}
    #index_section01 .main_sec > .right_block > .fukidashi_text > p {
        font-size: 18px;
    padding: 0 20px;
    line-height: 1.2;
}
#index_section01 .main_sec > .right_block > .fukidashi_text > p:before,
#index_section01 .main_sec > .right_block > .fukidashi_text > p:after {
    content: "";
    display: block;
    width: 15px;
    height: 21px;
    background: url("../images/fukidashi.png") no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
}
    #index_section01 .main_sec > .right_block > .fukidashi_text > p > span {
        font-size: 24px;
    }

    #index_section01 .main_sec > .right_block > .contact_btn_list {
        flex-direction: column !important;
        max-width: 360px !important;
        width: 100%;
    }
    #index_section01 .main_sec > .right_block > .contact_btn_list > li {
        width: 100%;
    }
    #index_section01 .main_sec > .right_block > .contact_btn_list > li.tel {
        margin-bottom: 10px;
    }
    
    #index_section01 .main_sec > .right_block > .contact_btn_list > li.mail a {
        line-height: 80px;
        height: 80px;
    }
    
}

/* ======================================================

   service

========================================================= */

#index_service {
    width: 100%;
    padding: 40px 0 0;
    background: #f4f2ee;
}
#index_service > .main_sec {
    margin-bottom: 40px;
}


.service_contents_outer { margin-top: 30px;}

.service_contents_outer > .service_contents {
    display: flex;
    flex-direction: column;
    padding-bottom: 40px;
    position: relative;
    margin-bottom: 40px;
}
.service_contents_outer > .service_contents:after {
    content: "";
    display: block;
    width: 100%;
    height: 3px;
    background: url("../images/h5_bg.png") repeat-x;
    position: absolute;
    bottom: 0;
    left: 0;
}


.service_contents_block > .text_block {
    margin-bottom: 20px;
}
.service_contents_block > .text_block > .service_name {
    font-weight: bold;
    padding-left: 30px;
    position: relative;
    line-height: 1.4;
    margin-bottom: 10px;
    font-size: 22px;
}
.service_contents_block > .text_block > .service_name:before {
    content: "";
    display: block;
    position: absolute;
    left: 0;
}

.service_contents_block > .text_block > .service_name.service01:before {
    width: 25px;
    height: 21px;
    background: url("../images/service_icon01.png") no-repeat center top;
    background-size: contain;
    top: 5px;
}
.service_contents_block > .text_block > .service_name.service02:before {
    width: 25px;
    height: 23px;
    background: url("../images/service_icon02.png") no-repeat center top;
    background-size: contain;
    top: 5px;
}
.service_contents_block > .text_block > .service_name.service03:before {
    width: 25px;
    height: 23px;
    background: url("../images/service_icon03.png") no-repeat center top;
    background-size: contain;
    top: 5px;
}




.service_contents_block > .text_block > .service_btn_list {
    display: flex;
    flex-wrap: wrap;
    margin-top: 30px;
}
.service_contents_block > .text_block > .service_btn_list > li {
    width: 49%;
    margin-bottom: 5px;
}
.service_contents_block > .text_block > .service_btn_list > li:nth-child(2),
.service_contents_block > .text_block > .service_btn_list > li:nth-child(4),
.service_contents_block > .text_block > .service_btn_list > li:nth-child(6){
    margin-left: 2%;
}


.service_contents_block > .text_block > .service_btn_list > li > a {
    display: block;
    width: 100%;
    background: #fff;
    text-decoration: none;
    color: #393939;
    line-height: 50px;
    border-radius: 25px;
    border: 1px solid #bdb7ac;
    box-sizing: border-box;
    font-weight: bold;
    position: relative;
    font-size: 14px;
    padding: 0 10px;
}
.service_contents_block > .text_block > .service_btn_list > li > a:before,
.service_contents_block > .text_block > .service_btn_list > li > a:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%) ;
}
.service_contents_block > .text_block > .service_btn_list > li > a:before {
    width: 20px;
    height: 20px;
    background: #2d9a1d;
    border-radius: 50%;
    right: 10px;
}

.service_contents_block > .text_block > .service_btn_list > li > a:after {
    width: 10px;
    height: 8px;
    background: url("../images/arrow_w.png") no-repeat;
    background-size: contain;
    right: 15px;
}



.service_contents_block > .before_after {
    width: 100%;
    position: relative;
}
.service_contents_block > .before_after:before {
    content: "";
    display: block;
    width: 30px;
    height: 30px;
    background: url("../images/service_arrow.png") no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 15%;
}


.service_contents_block > .before_after li img {
    border-radius: 20px;
    border: 4px solid #fff;
    box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.15);
}
.service_contents_block > .before_after li.before {
    width: 38%;
    position: absolute;
    bottom: 40px;
    left: 0;
    z-index: 9;
}
.service_contents_block > .before_after li.before .before_text {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: -10px;
    text-align: center;
}
.service_contents_block > .before_after li.before .before_text span {
    background: #717171;
    padding: 5px 20px;
    color: #fff;
    font-family: "Jost", sans-serif;
    font-weight: 700;
    font-size: 14px;
    border-radius: 50px;
}

.service_contents_block > .before_after li.after .after_text {
    position: absolute;
    left: 0;
    right: 0;
    margin: auto;
    bottom: 15px;
    text-align: center;
}
.service_contents_block > .before_after li.after .after_text span {
    background: #f7ba00;
    padding: 5px 20px;
    color: #fff;
    font-family: "Jost", sans-serif;
    font-weight: 700;
    font-size: 16px;
    border-radius: 50px;
}

.service_contents_block > .before_after li.after {
    width: 69%;
    margin-left: 31%;
    position: relative;
}

#index_service .service_maker {
    width: 100%;
    border-radius: 10px;
    border: 2px solid #2d9a1d;
    box-sizing: border-box;
    padding: 20px 15px 10px;
    margin: 0 auto 40px;
    box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.15);
}
#index_service .service_maker .maker_title {
    text-align: center;
    margin-top: -30px;
}
#index_service .service_maker .maker_title span {
    padding: 5px 25px;
    border-radius: 20px;
    background: #2d9a1d;
    font-weight: bold;
    color: #fff;
}
#index_service .service_maker .maker_logo {
    display: flex;
    flex-wrap: wrap;
    
}
#index_service .service_maker .maker_logo li {
    width: 31%;
    margin: 0 1% 5px;
}


.service_owner_banner {
    width: 100%;
    border-radius: 20px;
    background-color: #3abae9;
    background-image: url("../images/service_owner_banner.jpg") ;
    background-repeat: no-repeat;
    background-size: 120%;
    background-position: right bottom;
    position: relative;
    box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.1);
}
.service_owner_banner a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.service_owner_banner > .inner_block {
    width: 90%;
    display: flex;
    flex-direction: column;
    margin: 0 auto ;
    padding: 25px 0 20px;
}
.service_owner_banner > .inner_block > .left_block {
    width: 100%;
    background: url("../images/service_owner_banner_eng.png") no-repeat center top;
    background-size: contain;
}
.service_owner_banner > .inner_block > .left_block > .banner_title {
    font-size: 19px;
    padding-left: 20px;
    color: #fff;
    font-weight: bold;
    position: relative;
    margin-bottom: 5px;
}
.service_owner_banner > .inner_block > .left_block > .banner_title:before {
    content: "";
    display: block;
    width: 15px;
    height: 15px;
    background: url("../images/service_icon04.png") no-repeat;
    background-size: contain;
    position: absolute;
    left: 0;
    top: 8px;
}

.service_owner_banner > .inner_block > .left_block > p {
    color: #fff;
    font-weight: bold;
    line-height: 1.4;
}
.service_owner_banner > .inner_block > .left_block > p.area_text {
    text-align: center;
    margin-top: 5px;
}
.service_owner_banner > .inner_block > .left_block > p.area_text span {
    font-size: 12px;
    color: #393939;
    background: #9fdaf0;
    padding: 5px 20px;
    border-radius: 40px;
}


.service_owner_banner > .inner_block > .banner_btn_text {
    width: 100%;
    max-width: 255px;
    margin: 70px auto 0;
    text-align: center;
    font-weight: bold;
}
.service_owner_banner > .inner_block > .banner_btn_text span {
    display: inline-block;
    width: 100%;
    background: #fff;
    line-height: 50px;
    height: 50px;
    position: relative;
    border-radius: 50px;
}
.service_owner_banner > .inner_block > .banner_btn_text span:before,
.service_owner_banner > .inner_block > .banner_btn_text span:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}

.service_owner_banner > .inner_block > .banner_btn_text span:before {
    width: 24px;
    height: 24px;
    background: #3abae9;
    border-radius: 50%;
    right: 15px;
}
.service_owner_banner > .inner_block > .banner_btn_text span:after {
    width: 10px;
    height: 8px;
    background: url("../images/arrow_w.png") no-repeat;
    background-size: contain;
    right: 20px;
}

@media screen and (min-width: 1025px) {

    #index_service {
        padding: 120px 0 0;
    }
    #index_service > .main_sec {
        margin-bottom: 100px;
        max-width: 1500px;
    }
    .service_contents_outer { margin-top: 80px;}

    .service_contents_outer > .service_contents {
        padding-bottom: 80px;
        margin-bottom: 80px;
    }

    .service_contents_block {
        display: flex;
        justify-content: space-between;
        flex-direction: row-reverse;
        align-items: center;
    }
    .service_contents_block > .text_block {
        margin: 0;
        width: 49%;
    }
    .service_contents_block > .text_block > .service_name {
        padding-left: 90px;
        margin-bottom: 30px;
        font-size: 34px;
        padding-top: 5px;
    }
    .service_contents_block > .text_block > .service_name.service01:before {
        width: 65px;
        height: 54px;
        top: 5px;
    }
    .service_contents_block > .text_block > .service_name.service02:before {
        width: 57px;
        height: 51px;
        top: 0px;
    }
    .service_contents_block > .text_block > .service_name.service03:before {
        width: 51px;
        height: 47px;
        top: 5px;
    }


    .service_contents_block > .text_block > .service_btn_list > li {
        width: 32%;
        margin-bottom: 10px;
    }
    .service_contents_block > .text_block > .service_btn_list > li:nth-child(3),
    .service_contents_block > .text_block > .service_btn_list > li:nth-child(5),
    .service_contents_block > .text_block > .service_btn_list > li:nth-child(6){
        margin-left: 2%;
    }
    .service_contents_block > .text_block > .service_btn_list > li:nth-child(4) {
        margin-left: 0;
    }
    .service_contents_block > .text_block > .service_btn_list > li > a {
        line-height: 60px;
        border-radius: 30px;
        font-size: 16px;
        padding: 0 25px;
        transition:0.3s;
    }
    .service_contents_block > .text_block > .service_btn_list > li > a:hover { background: #2d9a1d; color: #fff;}
    .service_contents_block > .text_block > .service_btn_list > li > a:before {
        width: 24px;
        height: 24px;
        right: 20px;
    }
    .service_contents_block > .text_block > .service_btn_list > li > a:after {
        right: 26px;
    }

    .service_contents_block > .before_after {
        width: 47%;
    }
    .service_contents_block > .before_after:before {
        width: 72px;
        height: 71px;
        top: 20px;
        left: 18%;
    }


    .service_contents_block > .before_after li.before img { border: 5px solid #fff;}
    .service_contents_block > .before_after li.after img { border: 8px solid #fff;}
    .service_contents_block > .before_after li.before {
        width: 39%;
        max-width: 280px;
    }
    .service_contents_block > .before_after li.before .before_text {
        bottom: -20px;
    }
    .service_contents_block > .before_after li.before .before_text span {
        display: inline-block;
        padding: 0 20px;
        line-height: 40px;
        height: 40px;
        font-size: 20px;
    }

    .service_contents_block > .before_after li.after .after_text {
        bottom: 30px;
    }
    .service_contents_block > .before_after li.after .after_text span {
        display: inline-block;
        height: 50px;
        line-height: 50px;
        padding: 0px 40px;
        font-size: 26px;
        border-radius: 50px;
    }

    .service_contents_block > .before_after li.after {
        max-width: 500px;
    }

    #index_service .service_maker {
        max-width: 1400px;
        border-radius: 20px;
        padding: 50px 15px 40px;
        margin: 0 auto 70px;
    }
    #index_service .service_maker .maker_title {
        margin-top: -70px;
        margin-bottom: 30px;
    }
    #index_service .service_maker .maker_title span {
        font-size: 22px;
        padding: 10px 55px;
        border-radius: 40px;
    }
    #index_service .service_maker .maker_logo {
        justify-content: center;
    }
    #index_service .service_maker .maker_logo li {
        width: auto;
        margin: 0 15px 0;
    }


    .service_owner_banner {
        max-width: 1300px;
        margin: 0 auto;
        background-image: url("../images/service_owner_banner.jpg") ;
        background-repeat: no-repeat;
        background-size:100%;
        background-position: right center;
    }
    .service_owner_banner > .inner_block {
        width: 100%;
        flex-direction:row;
        align-items:flex-end;
        justify-content: space-between;
        padding: 0px 30px 20px 0;
    }
    .service_owner_banner > .inner_block > .left_block {
        width: 50%;
        padding-top: 50px;
        padding-bottom: 25px;
        padding-left: 60px;
        background: url("../images/service_owner_banner_eng.png") no-repeat center center;
        background-size: contain;
    }
    .service_owner_banner > .inner_block > .left_block > .banner_title {
        font-size: 32px;
        padding-left: 35px;
        margin-bottom: 15px;
    }
    .service_owner_banner > .inner_block > .left_block > .banner_title:before {
        width: 33px;
        height: 33px;
        top: 12px;
    }

    .service_owner_banner > .inner_block > .left_block > p {
        line-height: 1.6;
        font-size: 18px;
    }
    .service_owner_banner > .inner_block > .left_block > p.area_text {
        text-align: left;
        margin-top: 20px;
    }
    .service_owner_banner > .inner_block > .left_block > p.area_text span {
        display: inline-block;
        font-size: 16px;
        padding: 15px 30px;
        border-radius: 40px;
    }
    .service_owner_banner > .inner_block > .banner_btn_text {
        width: 20%;
        margin: 0;
    }
    .service_owner_banner > .inner_block > .banner_btn_text span {
        font-size: 18px;
    }
    .service_owner_banner > .inner_block > .banner_btn_text span:before {
        right: 10px;
    }
    .service_owner_banner > .inner_block > .banner_btn_text span:after { right: 15px;}


}

/* ======================================================

   case

========================================================= */
#index_case {
    background: url("../images/case_bg.jpg") no-repeat center top;
    background-size: cover;
    padding: 30px 0 80px;
}

.tabs-wrapper {
    margin: 0 auto 30px;
}

.tab-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #ebe7e0;
  padding: 8px;
  border-radius: 999px;
  justify-content: space-between;
  align-items: center;
}

.tab-btn {
  flex: 1 1 auto;
  min-width: 100px;
  padding: 12px 18px;
  border: none;
  background: transparent;
  color: #393939;
  font-size: 14px;
  font-weight: 600;
  border-radius: 999px;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-align: center;
}

.tab-btn:hover:not(.active) {
  background: rgba(255, 255, 255, 0.6);
  color: #2a7a2a;
}

.tab-btn.active {
  background: #2a9a2a;
  color: #ffffff;
}

.tab-panels {
  margin-top: 24px;
  min-height: 180px;
}

.tab-panel {
  display: none;
  animation: fadeIn 0.35s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 640px) {
  .tab-list {
    border-radius: 12px;
  }
  .tab-btn {
    flex: 1 1 40%;
    min-width: 0;
    font-size: 12px;
    padding: 10px 12px;
  }
}

.case_beforeafter_outer {
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
}
.case_beforeafter_outer a {
    display: block;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.case_beforeafter_outer > .left_block {
    width: 100%;
    margin: 0 auto 20px;
    position: relative;
}

.case_beforeafter_outer > .left_block:after {
    content: "";
    display: block;
    width: 80px;
    height: 80px;
    background: url("../images/case_arrow.png") no-repeat;
    background-size: contain;
    position: absolute;
    bottom: 0;
    right: 8%;
    transform: rotate(90deg);
}


.case_beforeafter_outer > .left_block > .cate_name {
    display: inline-block;
    padding: 5px 15px;
    background: #2d9a1d;
    border-radius: 5px;
    color: #fff;
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 10px;
}
.case_beforeafter_outer > .left_block > .case_title {
    font-weight: bold;
    font-size: 18px;
    line-height: 1.4;
    margin-bottom: 10px;
}
.case_beforeafter_outer > .left_block > .case_area {
    font-size: 14px;
    font-weight: bold;
    padding-left: 15px;
    position: relative;
    line-height: 1.2;
}
.case_beforeafter_outer > .left_block > .case_area:before {
    content: "";
    display: block;
    width: 12px;
    height: 12px;
    background: url("../images/map_g.png") no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
}
.case_beforeafter_outer > .left_block > .before_img {
    position: relative;
    margin-top: 20px;
}
.case_beforeafter_outer > .left_block > .before_img > .before_text {
    position: absolute;
    top: 15px;
    left: 0;
}
.case_beforeafter_outer > .left_block > .before_img > .before_text > span {
    display: inline-block;
    position: relative;
    background: #717171;
    font-size: 13px;
    font-weight: 700;
    height: 30px;
    line-height: 30px;
    color: #fff;
    font-family: "Jost", sans-serif;
    padding: 0 15px;
}
.case_beforeafter_outer > .left_block > .before_img > .before_text > span:after {
    content: "";
    display: block;
    width: 7px;
    height: 30px;
    background: url("../images/before_ribbon.png") no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    right: -7px;
}

.case_beforeafter_outer > .left_block > .before_img > .image_b {
    width: 65%;
    height: 150px;
}
.case_beforeafter_outer > .left_block > .before_img > .image_b img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: 20px;
    border: 4px solid #fff;
    box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.15);
}



.case_beforeafter_outer > .right_block { position: relative;}
.case_beforeafter_outer > .right_block > .txt_btn {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 200px;
}
.case_beforeafter_outer > .right_block > .txt_btn span {
    font-size: 16px;
    font-weight: 700;
    line-height:1.4;
    display: block;
    text-decoration: none;
    border: 1px solid #bdb7ac;
    box-sizing: border-box;
    padding: 15px 35px 15px 15px;
    color: #393939;
    width: 100%;
    border-radius: 80px;
    background: #fff;
    position: relative;
}

.case_beforeafter_outer > .right_block > .txt_btn span:before,
.case_beforeafter_outer > .right_block > .txt_btn span:after {
    content: "";
    display: block;
    position: absolute;
}

.case_beforeafter_outer > .right_block > .txt_btn span:before {
    width: 24px;
    height: 24px;
    background: #2d9a1d;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    right: 20px;
}

.case_beforeafter_outer > .right_block > .txt_btn span:after {
    width: 10px;
    height: 8px;
    background: url("../images/arrow_w.png") no-repeat;
    background-size: contain;
    right: 27px;
    transform: translateY(-50%);
    top: 50%;
}



.case_beforeafter_outer > .right_block > .after_text {
    position: absolute;
    top: 15px;
    left: 0;
}
.case_beforeafter_outer > .right_block > .after_text > span {
    display: inline-block;
    position: relative;
    background: #f7ba00;
    font-size: 18px;
    font-weight: 700;
    height: 50px;
    line-height: 50px;
    color: #fff;
    font-family: "Jost", sans-serif;
    padding: 0 15px;
}
.case_beforeafter_outer > .right_block > .after_text > span:after {
    content: "";
    display: block;
    width: 9px;
    height: 50px;
    background: url("../images/after_ribbon.png") no-repeat;
    background-size: contain;
    position: absolute;
    top: 0;
    right: -9px;
}

.case_beforeafter_outer > .right_block > .image_b {
    width: 100%;
    height: 230px;
}
.case_beforeafter_outer > .right_block > .image_b img {
    width: 100%;
    height: 230px;
    object-fit: cover;
    border-radius: 20px;
    border: 4px solid #fff;
    box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.15);
}

.case_text {
    text-align: center;
}
.case_text > p {
    display: inline-block;
    line-height: 1.6;
    font-weight: bold;
    font-size: 17px;
    text-align: center;
    position: relative;
}
.case_text > p:after {
    content: "";
    display: block;
    width: 26px;
    height: 26px;
    background: url("../images/case_text_deco.png") no-repeat;
    background-size: contain;
    position: absolute;
    top: -15px;
    right: -10px;
}
.case_text > p > span {
    font-size: 20px;
    background: linear-gradient(transparent 70%, #faea65 70%);
}


.case_more_btn {
    width: 100%;
    margin: 10px auto 0;
    max-width: 480px;
    position: relative;
}
.case_more_btn:before {
    content: "";
    display: block;
    width: 50px;
    height: 44px;
    background: url("../images/case_btn_deco.png") no-repeat;
    background-size: contain;
    position: absolute;
    top: 10px;
    left: -10px;
    z-index: 9;
}


.case_more_btn a {
    display: block;
    width: 100%;
    background: #8ccc1c;
    font-weight: bold;
    font-size: 18px;
    text-align: center;
    text-decoration: none;
    position: relative;
    color: #fff;
    height: 60px;
    line-height: 60px;
    border-radius: 30px;
}
.case_more_btn a:before,
.case_more_btn a:after {
    content: "";
    display: block;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
}
.case_more_btn a:before {
    width: 24px;
    height: 24px;
    background: #2d9a1d;
    border-radius: 50%;
    right: 15px;
}
.case_more_btn a:after {
    width: 10px;
    height: 8px;
    background: url("../images/arrow_w.png") no-repeat;
    background-size: contain;
    right: 22px;
}


@media screen and (min-width: 1025px) {

    #index_case {
        padding: 40px 0 200px;
    }
    .tabs-wrapper {
        margin: 80px auto 80px;
    }

    .tab-list {
        padding: 10px;
    }
    .tab-btn {
        min-width: 100px;
        padding: 12px 40px;
        font-size: 16px;
    }

    .tab-panels {
        margin-top: 40px;
    }

    

    .case_beforeafter_outer {
        flex-direction:row;
        justify-content: space-between;
        align-items: center;
    }
    .case_beforeafter_outer > .left_block {
        width: 41%;
        max-width: 490px;
        margin: 0;
    }
    .case_beforeafter_outer > .left_block:after {
        width: 117px;
        height: 117px;
        bottom: 140px;
        right: -90px;
        transform: rotate(0deg);
        z-index: 9;
    }


    .case_beforeafter_outer > .left_block > .cate_name {
        padding: 10px 15px;
        border-radius: 10px;
        font-size: 16px;
        margin-bottom: 20px;
    }
    .case_beforeafter_outer > .left_block > .case_title {
        font-size: 29px;
        margin-bottom: 5px;
    }
    .case_beforeafter_outer > .left_block > .case_area {
        font-size: 18px;
        padding-left: 20px;
    }
    .case_beforeafter_outer > .left_block > .case_area:before {
        width: 15px;
        height: 15px;
        top: 2px;
    }
    .case_beforeafter_outer > .left_block > .before_img {
        margin-top: 40px;
    }
    .case_beforeafter_outer > .left_block > .before_img > .before_text { top: 25px;}
    .case_beforeafter_outer > .left_block > .before_img > .before_text > span {
        font-size: 22px;
        height: 50px;
        line-height: 50px;
        padding: 0 20px 0 30px;
    }
    .case_beforeafter_outer > .left_block > .before_img > .before_text > span:after {
        width: 12px;
        height: 50px;
        top: 0;
        right: -12px;
    }

    .case_beforeafter_outer > .left_block > .before_img > .image_b {
        width: 100%;
        height: 350px;
    }
    .case_beforeafter_outer > .left_block > .before_img > .image_b img {
        height: 350px;
        border: 8px solid #fff;
    }


    .case_beforeafter_outer > .right_block {
        width: 57%;
        max-width: 680px;
    }
    .case_beforeafter_outer > .right_block > .txt_btn {
        bottom: 20px;
        right: 20px;
    }
    
    .case_beforeafter_outer > .right_block > .txt_btn span {
        transition:0.3s;
        padding: 15px 35px 15px 25px;
    }
    .case_beforeafter_outer:hover > .right_block > .txt_btn span { background: #2d9a1d; color: #fff;}
    
    
    .case_beforeafter_outer > .right_block > .after_text {
        top: 30px;
    }
    .case_beforeafter_outer > .right_block > .after_text > span {
        font-size: 32px;
        height: 69px;
        line-height: 69px;
        padding: 0 20px 0 30px;
    }
    .case_beforeafter_outer > .right_block > .after_text > span:after {
        width: 13px;
        height: 69px;
        right: -13px;
    }

    .case_beforeafter_outer > .right_block > .image_b { height: 510px;}
    .case_beforeafter_outer > .right_block > .image_b img {
        height: 510px;
        border: 10px solid #fff;
    }

    .case_text {
    text-align: center;
}
    .case_text > p {
        line-height: 1.2;
        font-size: 24px;
    }
    .case_text > p:after {
        width: 39px;
        height: 31px;
        top: -25px;
        right: -25px;
    }
    .case_text > p > span {
        font-size: 28px;
    }
    .case_more_btn { margin: 40px auto 0;}
    .case_more_btn:before {
        width: 96px;
        height: 85px;
        top: 0px;
        left: -20px;
    }
    .case_more_btn a {
        font-size: 24px;
        text-align: left;
        height: 80px;
        line-height: 80px;
        border-radius: 40px;
        padding-left: 95px;
        box-sizing: border-box;
        transition:0.3s;
    }
    .case_more_btn a:hover { background: #2d9a1d;}
    .case_more_btn a:before {
        width: 33px;
        height: 33px;
        right: 25px;
    }
    .case_more_btn a:after {
        width: 14px;
        height: 11px;
        right: 35px;
    }
    

}

/* ======================================================

   area

========================================================= */
#index_area {
    width: 90%;
    background: #fff;
    border-radius: 0 0px 20px 20px;
    margin: -40px auto 40px;
    box-sizing: border-box;
    padding: 10px 0 0;
    border-top: 10px solid #2d9a1d;
    box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.1);
}
#index_area > .text_block {
    padding: 0 20px;
    margin-bottom: 15px;
    text-align: center;
}
#index_area > .text_block > h3 {
    width: 60%;
    max-width: 275px;
    margin: 0 auto 5px;
}
#index_area > .text_block > p {
    text-align: center;
    display: inline-block;
    border-bottom: 2px dotted #e3dfd7;
    font-weight: bold;
    margin: 0 auto;
}

#index_area > .map_img {
    width: 100%;
}
#index_area > .map_img > img {
    border-radius: 0 0px 20px 20px;
}

@media screen and (min-width: 1025px) {
    #index_area {
        width: 100%;
        max-width: 1200px;
        border-radius: 0 20px 20px 00px;
        margin: -120px auto 160px;
        padding: 0;
        border-top: none;
        border-left: 16px solid #2d9a1d;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    #index_area > .text_block {
        width: 46%;
        padding: 0 0 0 40px;
        margin-bottom: 0px;
    }
    #index_area > .text_block > h3 {
        margin: 0 auto 5px;
    }
    #index_area > .text_block > p {
        display: inline-block;
        font-size: 26px;
    }

    #index_area > .map_img { width: 54%;}
    #index_area > .map_img > img {
        border-radius: 0 20px 20px 0px;
    }
}


/* ======================================================

   contact

========================================================= */
#index_contact {
    width: 100%;
    background: url("../images/footer_contact_bg.jpg") no-repeat center top;
    background-size: cover;
    padding: 80px 0;
    position: relative;
    margin: 0 auto 40px;
}

.contact_img01,
.contact_img02,
.contact_img03 { position: absolute;}
.contact_img01 {
    width: 25%;
    max-width: 330px;
    right: -15px;
    top: -10px;
}
.contact_img02 {
    width: 22%;
    max-width: 280px;
    left: -10px;
    bottom: -10px;
}
.contact_img03 {
    width: 15%;
    max-width: 203px;
    left: 10px;
    top: 10px;
}
#index_contact .contact_btn_list { width: 100%;}
#index_contact .contact_btn_list > li.mail a { font-size: 18px;}
@media screen and (min-width: 1025px) {
    #index_contact {
        width: 95%;
        margin: 0 auto 120px;
        border-radius: 9999px;
        box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.2);
        padding: 70px 0;
    }
    #index_contact .contact_btn_list {
        max-width: 840px;
    }
    #index_contact .contact_btn_list > li.tel { width: 43%; max-width: 360px;}
    #index_contact .contact_btn_list > li.mail { max-width: 440px; width: 53%;}
    #index_contact .contact_btn_list > li.mail a { font-size: 24px;}
    #index_contact .index_common_title01 { margin-bottom: 25px;}
    #index_contact .contact_inner_block .contact_text { font-size: 34px; line-height: 1.2;}
    #index_contact .contact_inner_block .contact_text span { font-size: 42px;}
    #index_contact .contact_inner_block .contact_text span:before { top: -5px;}
    

    .contact_img01 { right: 7%;}
    .contact_img02 { left: 5%; bottom: -25px;}
    .contact_img03 { left: 17%; top: -20px;}
    
}

/* ======================================================

   reason

========================================================= */
#index_reason { margin-bottom: 60px;}
#index_reason > .main_sec {
    
}
.reason_contents { margin-top: 30px;}
.reason_contents > .reason_block {
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 40px;
}
.reason_contents > .reason_block:last-child { margin-bottom: 0;}

.reason_contents > .reason_block > .reason_img {
    width: 100%;
    margin: 0 auto;
}
.reason_contents > .reason_block > .reason_img img {
    border-radius: 20px;
    box-shadow: 0px 0px 15px 2px rgba(0,0,0,0.15);
}

.reason_contents > .reason_block > .text_block {
    width: 100%;
    position: relative;
    box-sizing: border-box;
    padding-left: 30px;
    margin-bottom: 20px;
}
.reason_contents > .reason_block > .text_block:before {
    content: "";
    display: block;
    width: 1px;
    height: 70%;
    position: absolute;
    left: 5px;
    bottom: 0;
    background: #e4e0d8;
}
.reason_contents > .reason_block > .text_block:after {
    content: "REASON";
    color: #2d9a1d;
    font-family: "Jost", sans-serif;
    letter-spacing: 0.2em;
    font-weight: 600;
    transform: rotate(90deg);
    position: absolute;
    top: 40px;
    left: -13%;
    line-height: 1;
    font-size: 18px;
}

.reason_contents > .reason_block > .text_block > .title_block > .reason_fukidashi { line-height: 1; margin-bottom: 20px;}
.reason_contents > .reason_block > .text_block > .title_block > .reason_fukidashi > span {
    display: inline-block;
    border: 1px solid #2d9a1d;
    font-weight: bold;
    position: relative;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
}
.reason_contents > .reason_block > .text_block > .title_block > .reason_fukidashi > span:before,
.reason_contents > .reason_block > .text_block > .title_block > .reason_fukidashi > span:after {
    content: "";
    position: absolute;
}
.reason_contents > .reason_block > .text_block > .title_block > .reason_fukidashi > span:before {
    bottom: -6px;
    left: 50%;
    width: 15px;
    height: 15px;
    box-sizing: border-box;
    background-color: #ffffff; /* 背景色と同じ色を指定 */
    rotate: 135deg;
    translate: -50% 0; 
}
.reason_contents > .reason_block > .text_block > .title_block > .reason_fukidashi > span:after {
    bottom: -8px;
    left: 50%;
    width: 15px;
    height: 15px;
    box-sizing: border-box;
    border: 1px solid;
    border-color: #2d9a1d #2d9a1d transparent transparent;
    rotate: 135deg;
    translate: -50% 0;
}
.reason_contents > .reason_block > .text_block > .title_block { position: relative;}
.reason_contents > .reason_block > .text_block > .title_block:before {
    color: #f4f2ee;
    font-family: "Jost", sans-serif;
    letter-spacing: 0;
    font-weight: 600;
    font-size: 80px;
    line-height: 1;
    position: absolute;
    right: 0;
    bottom: 0;
}
.reason_contents > .reason_block:first-child > .text_block > .title_block:before { content: "01";}
.reason_contents > .reason_block:nth-child(2) > .text_block > .title_block:before { content: "02";}
.reason_contents > .reason_block:nth-child(3) > .text_block > .title_block:before { content: "03";}


.reason_contents > .reason_block > .text_block > .title_block > .reason_title {
    font-weight: bold;
    line-height: 1.4;
    font-size: 20px;
    margin-bottom: 15px;
    position: relative;
    z-index: 2;
}
.reason_contents > .reason_block > .text_block > .title_block > .reason_title > span { color: #2d9a1d;}

.reason_contents > .reason_block > .text_block > .txt_btn {
    width: 230px;
    margin-top: 20px;
}

@media screen and (min-width: 1025px) {
    #index_reason { margin-bottom: 140px;}
    #index_reason > .main_sec {
        max-width: 1660px;
    }
    .reason_contents { margin-top: 70px;}
    .reason_contents > .reason_block {
        flex-direction:row;
        justify-content: space-between;
        align-items: center;
        margin-bottom: 60px;
    }
    .reason_contents > .reason_block:nth-child(2) { flex-direction: row-reverse;}
    
    .reason_contents > .reason_block > .reason_img { width: 50%; margin: 0;}
    .reason_contents > .reason_block > .text_block {
        width: 44%;
        padding-left: 6%;
        margin-bottom: 0px;
    }
    .reason_contents > .reason_block > .text_block:before {
        height: 72%;
        left: 0px;
    }
    .reason_contents > .reason_block > .text_block:after { left: -7%;}
    .reason_contents > .reason_block > .text_block > .title_block > .reason_fukidashi { margin-bottom: 20px;}
    .reason_contents > .reason_block > .text_block > .title_block > .reason_fukidashi > span {
        padding: 13px 20px;
        font-size: 15px;
    }

    .reason_contents > .reason_block > .text_block > .title_block:before {
        font-size: 170px;
        right: 0;
        bottom: 0;
    }

    .reason_contents > .reason_block > .text_block > .title_block > .reason_title {
        line-height: 1.5;
        font-size: 36px;
        margin-bottom: 25px;
    }
    .reason_contents > .reason_block > .text_block > .txt_btn { margin-top: 40px;}
}


.octcars_banner {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    border-radius: 20px;
    box-shadow: 0px 0px 20px 2px rgba(0,0,0,0.15);
    transition:0.3s;
}
.octcars_banner:hover { opacity: 0.8;}
