/* CSS Document */

/*PCのスタイル*/

#breadcrumb {
  padding: 0;
}

#breadcrumb p {
  font-size: 12px;
  color: var(--breadColor);
}

#breadcrumb p a {
  color: var(--linkColor);
  font-size: 12px;
    margin-right: 5px;
}

#breadcrumb p a:hover {
  color: var(--secondaryColor);
}
.headline{
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3% 0;
    background: url("../img/bg_case.jpg") no-repeat center center;
}
.headline h1{
    color: var(--whiteColor);
    font-size: clamp(20px, 3.7vw, 60px);
    font-weight: 500;
}


.mainContents{
    position: relative;
    margin: 0 auto;
    height: 100%;
    display: flex;
}

.mainContents_body{
    position: relative;
    flex: 1;
}
.secUpper{
    padding: 15px;
}

.caseBody_main{
    position: relative;
    margin: 2rem auto;
    max-width: 1280px;
    width: 90%;
}
.caseSum{
    max-width: 800px;
    margin: auto;
    margin-bottom: 1.5em;
}
.caseLead{
    font-size: clamp(14px, 1.1vw, 17px);
    text-align: center;
    margin-bottom: 1em;
}
.casePrice{
    font-size: clamp(17px, 1.25vw, 20px);
    text-align: right;
    font-weight: 600;
}

.after_before{
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    margin-bottom: 4%;
}
.after{
    flex-basis: 57%;
}
.before{
    flex-basis: 41%;
    margin-left: 2%;
    margin-top: 3.5%;
}
h3 {
    font-size: clamp(17px, 1.25vw, 20px);
    font-weight: 600;
    border-left: 6px solid var(--secondaryColor);
    padding-left: 5px;
    line-height: 1.5;
    margin: 1rem auto;
}
.imgA{
    margin-bottom: 2rem;
}
h3 > i {
    margin-right: 5px;
}
.ProposalDetails{
    font-size: clamp(13px, 1vw, 16px);
}
h4 {
    font-size: clamp(17px, 1.25vw, 20px);
    font-weight: 600;
    border-left: 6px solid var(--greenColor);
    padding-left: 5px;
    line-height: 1.5;
    margin: 1rem auto;
}
.voice{
    background: var(--sideBg);
}
.mainContents_body > section{
    padding: 0;
}
#sec08{
    padding: 3% 0;
}



/**********************************************************************/
/* for sidemenu  */
/**********************************************************************/
.sideMenu{
    flex-basis: 330px;
    background: var(--sideBg);
    padding: 20px;
}


.sideMenu ol {
    list-style-type: decimal-leading-zero;
    margin-left: 1.5rem;
}
.sideMenu ol li > a {
    font-size: clamp(15px, 1vw, 16px);
    color: var(--breadColor);
    font-weight: 600;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px dotted;
    border-color: var(--glayColor);
    transition: all .5s;
}
.sideMenu ol li.current > a{
    color: var(--linkColor);
}
.sideMenu ol li::marker{
    color: var(--breadColor);
    font-family: "Barlow", sans-serif;
    font-weight: 600;
    font-style: italic;
}
.sideMenu ol li.current::marker{
    color: var(--linkColor);
}

.hamburger-menu{
    display: none;
}


/**********************************************************************/
/* for List  */
/**********************************************************************/
.lavel{
font-size: clamp(11px, 0.77vw, 12px); 
font-weight: 500;
padding: 0.35em 0.5em;
border-radius: 5px;
border: 1px solid transparent;
display: inline-block;

}

.lavelRoom{
background: var(--roomBase);
border-color: var(--roomBorder);
}

.lavelCoating{
background: var(--coatingBase);
border-color: var(--coatingBorder);
}

.lavelWindow{
background: var(--windowBase);
border-color: var(--windowBorder);
}

.lavelBath{
background: var(--bathBase);
border-color: var(--bathBorder);
}

.lavelToilet{
background: var(--toiletBase);
border-color: var(--toiletBorder);
}

.lavelWashroom{
background: var(--washroomBase);
border-color: var(--washroomBorder);
}

.lavelKitchen{
background: var(--kitchenBase);
border-color: var(--kitchenBorder);
}

.lavelFloor{
background: var(--floorBase);
border-color: var(--floorBorder);
}

.caseList ul{
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap:30px;
}
.caseList ul > li {
    flex-basis: calc((100% - 90px)/4);
    position: relative;
}
.caseList ul > li > figure{
    position: relative;
    overflow: hidden;
}
.caseList .seshu{
     font-size: clamp(11px, 0.9vw, 14px);
    margin-left: 15px;
}
.caseList .reformTitle{
    font-size: clamp(13px, 1vw, 16px); 
    font-weight: 500;
}
.style_seshu{
    display: flex;
    align-items: center;
    margin: 3% auto;
}
.price{
    font-size: clamp(17px, 1.25vw, 20px);
    text-align: right;
    font-weight: 500;
    color: var(--redColor);
}
.caseList{
    line-height: 1.4;
}
.hoverCon{
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(255,147,0,0.7);
    bottom: -100%;
    left: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .35s;
}
.hoverCon a {
    color: var(--whiteColor);
    font-size: clamp(15px, 1.15vw, 18px);
    font-weight: 500;
    border: 2px solid var(--whiteColor);
    border-radius: 5px;
    padding: 0.5em 1em;
    background: rgba(255,147,0,0.5);
    transition: all .35s;
}
.caseList li:hover .hoverCon{
    bottom: 0;
}
.caseList li .hoverCon a:hover{
    transform: translateY(-3px);
    background: transparent;
    box-shadow: 0 3px 6px var(--shadowColor);
}
.jirei{
    font-size: clamp(12px, 0.95vw, 15px);
    font-weight: 500;
    background: var(--greenColor);
    color: var(--whiteColor);
    padding: 5px;
    margin-bottom: 3px;
}


@media (any-hover: hover) {
/*:hover はここに書く*/
    .sideMenu ol li > a:hover{
        background: var(--shadowColor);
        color: var(--whiteColor);
    }
    .sideMenu ol li > a.current:hover{
        background: none;
        color: var(--linkColor);
    }

}


@media screen and (max-width:1500px){
    .caseList ul > li{
        flex-basis: calc((100% - 60px)/3);
    }
    
    
}






@media screen and (max-width:1280px){
    
/**********************************************************************/
/* for sidemenu  */
/**********************************************************************/
    #breadcrumb{
        margin-left: 50px;
    }
    .sideMenu{
        display: none;
    }
    .hamburger-menu{
        display: block;
    }
#menu__toggle {
  opacity: 0;
}
#menu__toggle:checked + .menu__btn > span {
  transform: rotate(45deg);
    top: 9px;
}
#menu__toggle:checked + .menu__btn > span::before {
  top: 0;
  transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  left: 0 !important;
}
.menu__btn {
  position: absolute;
  top: 20px;
  left: 20px;
  width: 28px;
  height: 28px;
  cursor: pointer;
  z-index: 8;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 3px;
  background-color: var(--secondaryColor);
  transition-duration: .25s;
}
.menu__btn > span::before {
  content: '';
  top: 9px;
}
.menu__btn > span::after {
  content: '';
  top: 18px;
}
.menu__box {
  display: block;
  position: absolute;
  top: 0;
  left: -100%;
  width: 320px;
  margin: 0;
  padding: 40px 0 40px 40px;
  list-style: none;
  background-color: var(--sideBg);
  box-shadow: 3px 3px 10px rgba(0, 0, 0, .35);
  transition-duration: .25s;
    z-index: 7;
    list-style-type: decimal-leading-zero;

}
.menu__item {
    font-size: clamp(15px, 1vw, 16px);
    color: var(--breadColor);
    font-weight: 600;
    display: block;
    padding: 0.5rem 0;
    border-bottom: 1px dotted;
    border-color: var(--glayColor);
    transition: all .5s;
    }
    
.menu__item:hover {
  background-color: #CFD8DC;
}    

    .current .menu__item{
        color: var(--linkColor);
    }
    .menu__box > li::marker{
        color: var(--breadColor);
        font-family: "Barlow", sans-serif;
        font-weight: 600;
        font-style: italic;
    }
    .menu__box > li.current::marker{
         color: var(--linkColor);
    }
   
    
    
    
}



@media screen and (max-width:820px){
    .caseBody_main{
        width: 94%;
    }
    
    
}

@media screen and (max-width:700px){
  
    .after_before{
        flex-direction: column-reverse;
    }
    
    .caseList ul{
        gap:15px;
    }
        .caseList ul > li {
        flex-basis: calc((100% - 15px) / 2);
    }

    .style_seshu{
        flex-direction: column;
        align-items: flex-start;
    }
    .caseList .seshu{
        margin-left: 0;
        margin-top: 5px;
    }
  
  
  
}


