@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@500;700&display=swap');

/* common */

* {
    position: relative;
    box-sizing: border-box;
}

body{
    /* min-width: 1430px; */
}

body,
input,
select,
textarea {
    font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "游ゴシック", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    ;
    font-family: "Noto Sans JP";
    font-weight: 500;
    font-style: normal;
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 0.06em;
    color: #333;
}

a {
    color: rgb(47, 68, 160);
}

.btn a {
    display: inline-block;
    margin: 0.5em;
    padding: 0.5em;
    min-width: 1.5em;
    font-size: 80%;
    text-align: center;
    background: #eee;
    border: 1px solid #333;
    border-radius: 4px;
    cursor: pointer;
}

.btn a:hover {
    color: #333;
    background: #fff;
}

#gmap {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 400px;
    overflow: hidden
}

.gnav__toggle,
.sp-title {
    display: none;
}

/* css animation (prefixes are cut) */
.animation {
    opacity: 0;
}

.fadeup {
    transform-origin: center top;
    animation: fadeup 1s both;
}

.slidein-left {
    transform-origin: right center;
    animation: slidein_left 1s both;
}

.slidein-right {
    transform-origin: left center;
    animation: slidein_right 1s both;
}

.d3 {
    animation-delay: .3s;
}

.d5 {
    animation-delay: .5s;
}

.d10 {
    animation-delay: 1s;
}

.d15 {
    animation-delay: 1.5s;
}

.d20 {
    animation-delay: 2s;
}

.d25 {
    animation-delay: 2.5s;
}

.d30 {
    animation-delay: 3s;
}

.d35 {
    animation-delay: 3.5s;
}

.d40 {
    animation-delay: 4s;
}

.d45 {
    animation-delay: 4.5s;
}

.d50 {
    animation-delay: 5s;
}

.d55 {
    animation-delay: 5.5s;
}

.d60 {
    animation-delay: 6s;
}

@keyframes fadeup {
    0% {
        transform: translate(0, 2em);
        opacity: 0;
    }

    100% {
        transform: translate(0, 0);
        opacity: 1;
    }
}

@keyframes slidein_left {
    0% {
        transform: translate(-2em, 0);
        opacity: 0;
    }

    100% {
        transform: translate(0, 0);
        opacity: 1;
    }
}

@keyframes slidein_right {
    0% {
        transform: translate(2em, 0);
        opacity: 0;
    }

    100% {
        transform: translate(0, 0);
        opacity: 1;
    }
}

/* common */
.content-wrap{
    margin: auto;
    width: 100%;
    max-width: 1200px;
}

.content-flex{
    display: flex;
    flex-wrap: wrap;
}

.content-flex-col-3{
    width: 33.3333%;
}

.width-40{
    width:40%
}

.width-60{
    width:60%
}

.mb-15{
    margin-bottom: 1.5rem;
}

.object-fit-contain{
    object-fit: contain;
    width: 100%;
    height: 100%;
}

.align-items-center{
    align-items: center;
}

.justify-content-between{
    justify-content: space-between;
}

/* header */
.header-title-wrap{
    display: flex;
    padding: 1rem;
    border-top: 5px solid #00959a;
}

.header-title-link{
    display: block;
    padding-left: 125px;
    line-height: 1.3;
    background-image: url(/img/logo.svg);
    background-size: auto 55px;
    background-repeat: no-repeat;
}

.header-title-sub{
    display: block;
    color: #00959a;
    font-size: .9rem;
    font-weight: bold;
}

.header-title-main{
    color: #00959a;
    font-size: 1.8rem;
    font-weight: bold;
}

.header-title-main-first{
    font-size: 1.3rem;
}

.header-address{
    margin-bottom: .5rem;
    font-weight: bold;
}

.header-sub-menu{
    line-height: 1.3;
}

.header-sub-item{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}

.header-tel{
    font-size: 1.7rem;
    padding-left:35px;
    color: #00959a;
    background-image: url(/img/icon-tel.svg);
    background-repeat: no-repeat;
    background-size: 1.5rem auto;
    background-position: left center;
}

/* global menu */
.header-menu-wrap{
    border-top: 1px solid #eee;
    box-shadow: 2px 2px 10px #ccc;
    z-index: 10;
}
.header-menu{
    display: flex;
    justify-content: space-between;
    margin: auto;
    padding:0 1rem;
    width: 100%;
    max-width: 1200px;
}

.header-menu-item-link{
    display: block;
    padding: .5rem;
    font-weight: bold;
    color: #333;
}

/* main-image */
.main-image-wrap{
    padding: 1rem 0;
    background: rgb(0,149,154);
    background: linear-gradient(90deg, rgba(0,149,154,0.2) 0%, rgba(255,255,255,1) 65%, rgba(255,255,255,1) 100%);
}

.main-image-hover-wrap{
    position: absolute;
    margin: auto;
    padding: 1rem;
    color: #00959a;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: right;
    top: 0;
    right: 0;
    text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
    -1px 1px 0 #FFF, 1px -1px 0 #FFF,
    0px 1px 0 #FFF,  0-1px 0 #FFF,
    -1px 0 0 #FFF, 1px 0 0 #FFF;
    z-index: 10;
}

.main-image-hover-text-large{
    font-size: 3rem;
}

.main-image-block-list{
    display: flex;
    flex-wrap: wrap;
    margin: auto;
    width: 100%;
    max-width: 1200px;
}

.main-image-block{
    padding-top: 23.25%;
    width: 25%;
    overflow: hidden;
}

.main-image-block::before{
    position: absolute;
    content: '';
    margin: auto;
    width: 80%;
    height: 80%;
    background-color: #00959a;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    box-shadow: 2px 2px 10px #ccc;
}

.main-image-block.transparent::before{
    background-color: transparent;
    box-shadow: none;
}

.main-image-block.rotate::before{
    width: 65%;
    height: 68%;
    transform: rotate(45deg);
}

.main-image-block-text{
    position: absolute;
    width: 100%;
    color: #00959a;
    text-align: right;
    font-size: 1.5rem;
    font-weight: bold;
    right: 13%;
    bottom: 25%;
    text-shadow:1px 1px 0 #FFF, -1px -1px 0 #FFF,
    -1px 1px 0 #FFF, 1px -1px 0 #FFF,
    0px 1px 0 #FFF,  0-1px 0 #FFF,
    -1px 0 0 #FFF, 1px 0 0 #FFF;
}

.main-image-block-text::before{
    position: absolute;
    content: '';
    margin: auto;
    height: 2px;
    width: 100%;
    background-color: #00959a;
    right: 0;
    bottom: -5px;
    box-shadow: 2px 2px 0px #fff;
}

.main-image-block.reform::before{
    background-image: url(/img/main-reform.jpg);
    background-size: cover;
    background-position: center;
}

.main-image-block.repair::before{
    background-image: url(/img/main-repair.jpg);
    background-size: cover;
    background-position: center;
}

.main-image-block.tools::before{
    background-image: url(/img/main-tools.jpg);
    background-size: cover;
    background-position: center;
}

/* top */
.reform-menu-wrap{
    justify-content: center;
}

.reform-menu-item{
    margin: 1rem;
    padding: 0 4rem;
    width: calc(33.3333% - 2rem);
    background-color: #fff;
    border: 2px solid #daccbb;
}

.reform-menu-header{
    margin-bottom: 3rem;
    text-align: center;
    font-size: 1.5rem;
    font-weight: bold;
}

.reform-menu-header::before{
    display: block;
    margin: auto;
    width: 90%;
    height: auto;
}

.reform-menu-header::after{
    position: absolute;
    content: '';
    margin: auto;
    width: 80%;
    border-bottom: 5px dotted #ccc;
    bottom: -1.5rem;
    left: 0;
    right: 0;
}

.reform-menu-header.icon-tile{
    color: #f7b52c;
    border-color: #f7b52c;
}

.reform-menu-header.icon-tile::before{
    content:  url(/img/icon-tile.svg);
}

.reform-menu-header.icon-tile::after{
    border-bottom: 5px dotted #f7b52c;
}

.reform-menu-header.icon-bath-wc{
    color: #2ca6e0;
    border-color: #2ca6e0;
}

.reform-menu-header.icon-bath-wc::before{
    content:  url(/img/icon-bath-wc.svg);
}

.reform-menu-header.icon-bath-wc::after{
    border-bottom: 5px dotted #2ca6e0;
}

.reform-menu-header.icon-kitchen{
    color: #ed83b1;
    border-color: #ed83b1;
}

.reform-menu-header.icon-kitchen::before{
    content:  url(/img/icon-kitchen.svg);}

.reform-menu-header.icon-kitchen::after{
    border-bottom: 5px dotted #ed83b1;
}

.reform-menu-header.icon-aircon{
    color: #00a199;
    border-color: #00a199;
}

.reform-menu-header.icon-aircon::before{
    content:  url(/img/icon-aircon.svg);
}

.reform-menu-header.icon-aircon::after{
    border-bottom: 5px dotted #00a199;
}

.reform-menu-header.icon-barrier-free{
    color: #c79f62;
    border-color: #c79f62;
}

.reform-menu-header.icon-barrier-free::before{
    content:  url(/img/icon-barrier-free.svg);
}

.reform-menu-header.icon-barrier-free::after{
    border-bottom: 5px dotted #c79f62;
}

.reform-menu-image{
    padding-top: 47%;
    margin: 0 auto 1rem;
    width: 70%;
    height: 0;
    border: 2px solid #daccbb;
    border-radius: 8px;
    background-repeat: no-repeat;
    background-size:auto 90%;
    background-position: center;
}

.reform-menu-image.image-tile{
    background-image: url(/img/reform-tile.webp);
}

.reform-menu-image.image-bath-wc{
    background-image: url(/img/reform-bath-wc.webp);
}

.reform-menu-image.image-kitchen{
    background-image: url(/img/reform-kitchen.webp);
}

.reform-menu-image.image-aircon{
    background-image: url(/img/reform-aircon.webp);
}

.reform-menu-image.image-barrier-free{
    background-image: url(/img/reform-barrier-free.webp);
}

.plan-wrap{
    margin: auto;
    padding: 1rem;
    max-width: 1000px;
}

.plan-item{
    display: flex;
    margin: 0 auto 1.5rem;
    border: 2px solid #daccbb;
}

.plan-label{
    position: absolute;
    width: 100px;
    margin:auto;
    padding: .5rem 0;
    color: #fff;
    font-size: .9rem;
    text-align: center;
    background-color: #2ca6e0;
    top:0;
    right: 2rem;
}

.plan-label::after{
    position: absolute;
    content: '';
    margin: auto;
    width: 0;
    height: 0;
    border-style: solid;
    border-top: 0 solid transparent;
    border-bottom: 15px solid transparent;
    border-right: 100px solid #2ca6e0;
    border-left: 0;
    top: 99.9%;
    right: 0;
  }

  .plan-image{
    padding: 1rem;
    width: 30%;
  }

  .plan-image > *{
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .plan-content{
    padding: 1rem;
    width: 70%;
  }

  .plan-header.header-2{
    padding-right: 130px;
  }

  .plan-product{
    margin-bottom: 1.5rem;
    font-weight: bold;
  }

  .plan-description{
    margin-bottom: 1.5rem;
  }

  .plan-price{
    color: #00959a;
    text-align: right;
    font-size: 1.3rem;
    font-weight: bold;
  }

.tools-wrap{
    margin-bottom: 3rem;
    max-width: 1000px;
}
.tools-inner{
    padding: 1rem;
}

/* main */
.main-wrap{
    padding: 3rem 0;
    background-image: url(/img/main-bg.svg);
}

.header-1{
    display: table;
    padding: 20px 40px 0;
    margin: 0 auto 1.5rem;
    color: #00959a;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
}

.header-2{
    padding: 1rem 0;
    color: #00959a;
    font-size: 1.5rem;
    font-weight: bold;
}

.header-1::before,
.header-1::after{
    position: absolute;
    content: '';
    margin: auto;
    width: 15px;
    height: 15px;
    background-color: #00959a;
    top: 0;
    right: 0;
}

.header-1::after{
    top: 15px;
    right: 15px;
}

.header-1 >*{
    display: block;
    padding: 1rem 0;
    font-size: 1.3rem;
    text-align: center;
}

.header-1>*::before{
    position: absolute;
    content: '';
    margin: auto;
    height: 3px;
    width: 100%;
    background-color: #00959a;
    left: 0;
    right: 0;
    top: 8px;
}

.header-bg-green{
    margin: 0 auto 1.5rem;
    padding: 1rem;
    background-color: #00959a;
}

.header-bg-green .header-1{
    margin: 0 auto;
    color: #fff;
}

.header-bg-green .header-1::before,
.header-bg-green .header-1::after{
    background-color: #fff;
}

.header-bg-green .header-1>*::before{
    background-color: #fff;
}

.header-border{
    padding: 1rem;
    border-top: 5px solid #00959a;
    border-bottom: 1px solid #00959a;
}

.header-border .header-1{
    margin: 0 auto;
}

.footer-wrap{
    padding: 1rem;
    background-color: #00959a;
}

.footer-menu{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto 2rem;
    max-width: 1200px;
}

.footer-menu-item-link{
    display: block;
    margin-bottom: 1.5rem;
    color: #fff;
    text-decoration: underline;
}

.footer-menu-item-link:hover{
    text-decoration: none;
}

.footer-address-wrap{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-end;
    margin: auto;
    max-width: 1200px;
}

.footer-address-title{
    display: block;
    padding-left: 125px;
    line-height: 1.3;
    background-image: url(/img/logo-white.svg);
    background-size: auto 55px;
    background-repeat: no-repeat;
}

.footer-title-sub{
    display: block;
    color: #fff;
    font-size: .9rem;
    font-weight: bold;
}

.footer-title-main{
    color: #fff;
    font-size: 1.8rem;
    font-weight: bold;
}

.header-title-main-first{
    font-size: 1.3rem;
}

.footer-address-info{
    padding: .3rem 0;
    color: #fff;
}

.footer-copyright{
    padding: .3rem;
    color: #fff;
    text-align: center;
}


/* content */
div#breadcrumb{font-size:94%;}div#breadcrumb ul{margin-bottom:0 !important;border:0 !important;text-align:right;}div#breadcrumb ul li{display:inline;}div#breadcrumb ul li span{display:inline-block;}.halfbox{display:flex;justify-content:space-between;}

#page .main-wrap{
    padding: 0 0 3rem 0;
}
#page .main-wrap .content-wrap{
    padding: 1rem 0;
    min-height: 500px;
    max-width: 900px;
}

#page .page-title{
    padding: 3rem 0;
    background-color: #eee;
}

#page .page-title h2{
    margin: auto;
    padding: 0 1rem;
    width: 100%;
    max-width: 1200px;
    font-size: 200%;
    font-weight: bold;
    color: #00959a;
}

#page .work-detail{
    display: flex;
    justify-content: space-between;
}

#page .work-detail > *{
    width: 100%;
    padding: 1rem;
}

#page .work-detail-image-current-item img,
#page .work-detail-image-list img{
    display: block;
    object-fit: contain;
    width: 100%;
    height: 100%;
}

#page .work-detail-image-list{
    display: flex;
    flex-wrap: wrap;
}

#page .work-detail-image-list > *{
    padding: 1rem;
    width: 50%;
}

#page .main-wrap h3{
    display: table;
    padding: 20px 40px;
    margin: 0 auto 1.5rem;
    color: #00959a;
    font-size: 2.5rem;
    font-weight: bold;
    text-align: center;
    border-bottom: 3px solid;
}

#page .main-wrap h3::before,
#page .main-wrap h3::after{
    position: absolute;
    content: '';
    margin: auto;
    width: 15px;
    height: 15px;
    background-color: #00959a;
    top: 0;
    right: 0;
}

#page .main-wrap h3::after{
    top: 15px;
    right: 15px;
}

#page .main-wrap h4{
    padding: 1rem 0;
    color: #00959a;
    font-size: 1.5rem;
    font-weight: bold;
}

#page .main-wrap p{
    margin-bottom: 1.5rem;
}

#page .main-wrap img{
    max-width: 100%;
    height: auto;
}

#page main table.content-flex,
#page main table.content-flex>tbody {
    display: block;
}

#page main table.content-flex>tbody>tr {
    display: flex;
    justify-content: space-between;
}

#page main table.content-flex>tbody>tr>td {
    padding: 1rem;
    width: 100%;
}

#page table:not(.content-flex) {
    margin-bottom: 1.5rem;
    width: 100%;
    border-spacing: 0;
    border-collapse: separate !important;
    border: 1px solid #aaa;
    border-radius: 4px;
}

#page table:not(.content-flex)>tbody>tr>th,
#page table:not(.content-flex)>tbody>tr>td {
    padding: .8rem;
    /* font-size: .9rem; */
}

#page table:not(.content-flex)>tbody>tr>th {
    width: auto !important;
    color: #fff;
    background-color: #00959a;
    border-bottom: 1px solid #fff;
    white-space: pre;
}

#page table:not(.content-flex)>tbody>tr>th+th {
    border-left: 1px solid #fff;
}

#page table:not(.content-flex) td {
    width: auto !important;
    border-bottom: 1px solid #aaa;
}

#page table:not(.content-flex) td+td {
    border-left: 1px solid #aaa;
}

#page table:not(.content-flex) tbody tr:last-of-type th,
#page table:not(.content-flex) tbody tr:last-of-type td {
    border-bottom: 0;
}


@media screen and ( max-width : 850px) {
    .main-image-hover-wrap{
        font-size: 4vw;
    }
    .main-image-hover-text-large {
        font-size: 1.5em;
    }
    .reform-menu-item{
        padding: 1rem;
        width: calc(50% - 2rem);
    }

}

@media screen and ( max-width : 680px) {
    .header-title-wrap .justify-content-between{
        justify-content: center;
    }
    .header-title-link{
        margin-bottom: .5rem;
    }
    .header-sub-item{
        margin: auto;
        align-items: center;
    }
    .main-image-hover-text-large {
        font-size: 1em;
    }
    .main-image-block-text{
        font-size: 1em;
    }
    .header-menu{
        display: block;
        display: none;
    }
    .header-menu-item-link{
        padding:1rem .5rem;
        text-align: center
    }

    .gnav__toggle {
        display: table;
        margin: auto;
        padding: 1em 0 1em 20px;
        height: 50px;
        color: #333;
        font-size: 80%;
        font-weight: bold;
        line-height: 2.3;
        text-align: center;
        box-sizing: border-box;
        top: auto;
        z-index: 9999
    }

    .gnav__toggle #close_toggle {
        display: block;
        padding: 1em;
        text-align: right
    }

    .gnav__toggle__icon {
        position: absolute;
        display: block;
        margin: auto;
        width: 14px;
        height: 2px;
        background: #333;
        transition: .2s;
        top: 0;
        bottom: 0;
        left: 0
    }

    .gnav__toggle__icon:before,
    .gnav__toggle__icon:after {
        position: absolute;
        display: block;
        content: "";
        width: 14px;
        height: 2px;
        background: #333;
        transition: .3s;
        top: 50%;
        left: 0
    }

    .gnav__toggle__icon:before {
        margin-top: -6px
    }

    .gnav__toggle__icon:after {
        margin-top: 4px
    }

    .gnav__toggle__icon.close {
        background: rgba(0, 0, 0, 0)
    }

    .gnav__toggle__icon.close:before,
    .gnav__toggle__icon #panel-btn .close:after {
        margin-top: 0
    }

    .gnav__toggle__icon.close:before {
        margin-top: -1px;
        transform: rotate(-45deg);
        -webkit-transform: rotate(-45deg)
    }

    .gnav__toggle__icon.close:after {
        margin-top: -1px;
        transform: rotate(-135deg);
        -webkit-transform: rotate(-135deg)
    }

    .gnav.is-fixed {
        position: fixed;
        margin-top: 0;
        width: 100%;
        z-index: 1000;
        background: #fff;
        box-shadow: 2px 2px 5px #ccc;
        background-image: url(./img/bg_image.webp);
        background-size: 40%;
        top: 0
    }

    .gnav__list {
        position: absolute;
        display: flex;
        justify-content: space-between;
        margin: auto;
        padding: 1em;
        width: 100%;
        max-width: 1200px;
        max-width: 1200px;
        top: 0;
        left: 0;
        right: 0
    }

    .plan-item{
        flex-wrap: wrap;
    }
    .plan-label{
        z-index: 10;
    }
    .plan-image{
        width: 100%;
    }
    .plan-content{
        width: 100%;
    }
    .plan-header.header-2{
        padding-right: 0;
    }
    .tools-wrap{
        display: block;
    }
    .tools-wrap >*{
        width: 100%;
    }
    .tools-wrap .object-fit-contain{
        display: block;
        margin: auto;
        max-width: 300px;
    }

    .header-1{
        font-size: 1.5rem;
    }
    .header-1 >*{
        font-size: 1rem;
    }
    .footer-menu{
        display: block;
    }
}

@media screen and ( max-width : 450px ) {
    .header-title-link,
    .footer-address-title{
        font-size: 6.5vw;
        padding-left: 95px;
        background-size: auto 40px;
        background-position: left center;
    }
    .header-title-sub,
    .footer-title-sub{
        font-size: 0.5em;
    }
    .header-title-main-first,
    .footer-title-main-first{
        font-size: .8em;
    }
    .header-title-main,
    .footer-title-main {
        font-size: 1.1em;
    }
    .reform-menu-item {
        width: calc(100% - 2rem);
    }
    .main-image-block{
        padding-top: 32.25%;
        width: 33.3333%;
    }
    .main-image-block:nth-child(4){
        width: 0;
    }
    .header-1{
        padding: 0 20px 0;
    }
    .header-1 >* {
        font-size: 0.9rem;
    }
    .header-1::before, .header-1::after{
        width: 10px;
        height: 10px;
    }
    .header-1::after{
        top: 10px;
        right: 10px;
    }
    .header-2{
        font-size: 1.3rem;
    }
    .plan-label{
        font-size: 1rem;
        width: 90px;
    }
    .plan-label::after{
        border-bottom: 13px solid transparent;
        border-right: 90px solid #2ca6e0;
    }

    .footer-copyright{
        font-size: 3vw;
    }
}