@charset "UTF-8";

#price-matrixWrap .midashi12{
    margin-bottom: 6px;
    margin-top: 0;
    padding: 0 0 10px;
    border-bottom: 0;
margin-bottom: 20px;
border-bottom: 1px solid #000;	
}
#price-matrixWrap .midashi12{
    display: none;
}
#price-matrixWrap.personal-use h2.view-personal,
#price-matrixWrap.pro-use h2.view-pro,
#price-matrixWrap.building h2.view-building{
    display: block;
}
#price-matrixWrap > p{
    font-size: 14px;
    margin-bottom: 6px;
}
.price-matrixArea{
    width: 1000px;
    height: 800px;
    margin-bottom: 3em;
    position: relative;
}
.price-matrixBg{
    width: 100%;
    height: 100%;
    position: relative;
    background-color: #E1EDF4;
}
.price-matrixBg .price-col1{
    width: 21%;
}
.price-matrixBg .price-col2{
    width: 19%;
}
.price-matrixBg .price-col3{
    width: 60%;
}
.price-matrixBg .matrix-th{
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
}
.price-matrixBg .matrix-title{
    margin: 0;
    padding: 15px 0;
    text-align: center;
    color: #FFF;
    font-size: 18px;
    font-weight: 700;
}
.personal-use{
    position: relative;
    width: 100%;
    height: 100%;
}

/* ヘッダーとフッター */
.price-matrixArea .matrix-footerBlock{
    padding: 0.5em 0;
    background-color: #2468A0;
    font-size: 16px;
    color: #FFF;
    font-weight: 700;
}
.matrix-footerBlock .matrix-footerTitle{
    display: inline-block;
    width: 6em;
    margin-left: -4em;
    text-align: center;
}
.matrix-footerBlock span{
    display: inline-block;
    width: 100%;
    text-align: right;
}
.matrix-footerBlock .short span:not([class]){
    width: auto;
    margin-left: 0;
}

.matrix-footerBlock .longer span{
    display: inline-block;
    width: 100%;
    margin-left: 3.5em;
    text-align: right;
}

.price-matrixBg .matrix-colBox{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
    height: 98%;
    background: url(/newhp/images/price-matrix/price_matrixbg1.png) no-repeat center top 40px / auto 660px;
}
.price-matrixBg .matrix-colBox p{
    font-size: 20px;
    color: #707070;
    text-align: center;
}
.price-matrixBg .matrix-colBox .floor-greater{
    margin-top: 0.5em;
    margin-bottom: 0;
}
.price-matrixBg .matrix-colBox .floor-less{
    margin-top: 0;
    margin-bottom: 2.8em;
}
/* 広さ表示：表示・非表示 */
.matrix-colBox .floor-greater,
.matrix-colBox .floor-less{
    display: none;
}
.personal-use .matrix-colBox .floor-greater.view-personal,
.personal-use .matrix-colBox .floor-less.view-personal,
.pro-use .matrix-colBox .floor-greater.view-pro,
.pro-use .matrix-colBox .floor-less.view-pro,
.building .matrix-colBox .floor-greater.view-building,
.building .matrix-colBox .floor-less.view-building{
    display: block;
}

/* 横線 */
.price-matrixBg .matrix-rowBlock{
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: flex-start;
    width: 100%;
    height: calc(100% - 57px);
    padding-bottom: 30px;
    position: absolute;
    top: 57px;
    left: 0;
    background: url(/newhp/images/price-matrix/price_matrixbg2.png) no-repeat left 60% top 44% / 80% auto;
    overflow: hidden;
    box-sizing: border-box;
}
.price-matrixBg .matrix-rowBlock div{
    width: 92%;
    height: calc(100% / 11);
    margin-left: 6%;
    position: relative;
    border-bottom: 2px dashed rgba(55, 104, 150, 0.6);
    box-sizing: border-box;
}
.price-matrixBg .matrix-rowBlock div::before{
    content: attr(data-title);
    display: block;
    width: 4em;
    height: 1.1em;
    position: absolute;
    bottom: -0.5em;
    left: -3.2em;
}
/* 横線：表示・非表示 */
.price-matrixBg .matrix-rowBlock{
    display: none;
}
.personal-use .matrix-rowBlock.view-personal,
.pro-use .matrix-rowBlock.view-pro,
.building .matrix-rowBlock.view-building{
    display: flex;
}
/* 横線：個人宅防音室 */
section.personal-use .price-matrixBg .matrix-rowBlock div:nth-last-of-type(2),
section.personal-use .price-matrixBg .matrix-rowBlock div:last-of-type{
    height: 25%;
}
section.personal-use .price-matrixBg .matrix-rowBlock div:nth-last-of-type(3),
section.personal-use .price-matrixBg .matrix-rowBlock div:nth-last-of-type(4){
    height: 21%;
}
section.personal-use .price-matrixBg .matrix-rowBlock div:nth-last-of-type(5){
    height: 7%;
}
/* 横線：プロ仕様防音室 */
.pro-use .matrix-rowBlock.view-pro .row-single{
    margin-left: 7%;
}
.pro-use .matrix-rowBlock.view-pro .row-single::before{
    left: -4.2em;
}
section.pro-use .price-matrixBg .matrix-rowBlock div{
    height: 15%;
}
section.pro-use .price-matrixBg .matrix-rowBlock div:first-of-type{
    height: 5%;
}
section.pro-use .price-matrixBg .matrix-rowBlock div:last-of-type{
    /* プロ仕様最下段 */
    margin-bottom: 2%;
}
/* 横線：建築から防音室まで */
.building .matrix-rowBlock.view-building .row-single{
    margin-left: 7%;
}
.building .matrix-rowBlock.view-building .row-single::before{
    left: -4.2em;
}
section.building .price-matrixBg .matrix-rowBlock div{
    height: 15%;
}
section.building .price-matrixBg .matrix-rowBlock div:first-of-type{
    height: 5%;
}
section.building .price-matrixBg .matrix-rowBlock div:last-of-type{
    /* プロ仕様最下段 */
    margin-bottom: 2%;
}

/* 縦線と間隔 */
.price-matrixBg .matrix-colBorderBlock,
.price-matrixArea .matrix-footerBlock{
    display: flex;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    width: 100%;
    position: absolute;
    left: 0;
}
.price-matrixBg .matrix-colBorderBlock{
    height: calc(97% - 57px);
    top: calc(1% + 57px);
}
.price-matrixArea .matrix-footerBlock{
    position: relative;
    bottom: 0;
}
.matrix-colBorderBlock div,
.matrix-footerBlock div{
    width: 7.5%;
}
.matrix-colBorderBlock div{
    height: 100%;
    border-right: 2px dashed rgba(55, 104, 150, 0.6);
}
.matrix-footerBlock div{
    white-space: nowrap;
}
.matrix-colBorderBlock .short,
.matrix-footerBlock .short{
    width: 9%;
    margin-left: 6%;
}
.matrix-colBorderBlock .longer,
.matrix-footerBlock .longer{
    width: 12%;
}
.matrix-colBorderBlock .longest,
.matrix-footerBlock .longest{
    width: 20%;
}
.matrix-colBorderBlock .col-single:hover,
.price-matrixBg .matrix-rowBlock .row-single:hover{
	background-color: rgba(31,115,184, 0.3);
/*	background-color: rgba(111, 188, 255, 0.4); */
}
/* 縦線と間隔：表示・非表示 */
.price-matrixBg .matrix-colBorderBlock,
.price-matrixArea .matrix-footerBlock{
    display: none;
}
.personal-use .matrix-colBorderBlock.view-personal,
.personal-use .matrix-footerBlock.view-personal,
.pro-use .matrix-colBorderBlock.view-pro,
.pro-use .matrix-footerBlock.view-pro,
.building .matrix-colBorderBlock.view-building,
.building .matrix-footerBlock.view-building{
    display: flex;
}

/* 縦線と間隔：個人宅防音室 */
section.personal-use .matrix-colBorderBlock .col-single:first-of-type{
    width: 11%;
}
section.personal-use .matrix-colBorderBlock .col-single:nth-of-type(2),
section.personal-use .matrix-footerBlock .col-single:nth-of-type(2){
    width: 20%;
}
section.personal-use .matrix-colBorderBlock .col-single:nth-of-type(3),
section.personal-use .matrix-footerBlock .col-single:nth-of-type(3){
    width: 25%;
}
section.personal-use .matrix-colBorderBlock .col-single:nth-of-type(n+4),
section.personal-use .matrix-footerBlock .col-single:nth-of-type(n+4){
    width: 17%;
}

/* 縦線と間隔：プロ仕様 */
section.pro-use .price-matrixBg .matrix-colBorderBlock{
    height: calc(95% - 57px);
}
section.pro-use .matrix-colBorderBlock .col-single:first-of-type{
    width: 11%;
}
section.pro-use .matrix-colBorderBlock .col-single:nth-of-type(2),
section.pro-use .matrix-footerBlock .col-single:nth-of-type(2){
    width: 12%;
}
section.pro-use .matrix-colBorderBlock .col-single:nth-of-type(3),
section.pro-use .matrix-footerBlock .col-single:nth-of-type(3){
    width: 12%;
}
section.pro-use .matrix-colBorderBlock .col-single:nth-of-type(4),
section.pro-use .matrix-footerBlock .col-single:nth-of-type(4){
    width: 21%;
}
section.pro-use .matrix-colBorderBlock .col-single:nth-of-type(5),
section.pro-use .matrix-footerBlock .col-single:nth-of-type(5){
    width: 13%;
}
section.pro-use .matrix-colBorderBlock .col-single:nth-of-type(6){
    width: 22%;
}
section.pro-use .matrix-footerBlock .col-single:nth-of-type(6){
    width: 24%;
}
/* 縦線と間隔：プロ仕様 */
section.building .price-matrixBg .matrix-colBorderBlock{
    height: calc(95% - 57px);
}
section.building .matrix-colBorderBlock .col-single:first-of-type{
    width: 11%;
}
section.building .matrix-colBorderBlock .col-single:nth-of-type(2),
section.building .matrix-footerBlock .col-single:nth-of-type(2){
    width: 12%;
}
section.building .matrix-colBorderBlock .col-single:nth-of-type(3),
section.building .matrix-footerBlock .col-single:nth-of-type(3){
    width: 12%;
}
section.building .matrix-colBorderBlock .col-single:nth-of-type(4),
section.building .matrix-footerBlock .col-single:nth-of-type(4){
    width: 17%;
}
section.building .matrix-colBorderBlock .col-single:nth-of-type(5),
section.building .matrix-footerBlock .col-single:nth-of-type(5){
    width: 17%;
}
section.building .matrix-colBorderBlock .col-single:nth-of-type(6){
    width: 22%;
}
section.building .matrix-footerBlock .col-single:nth-of-type(6){
    width: 24%;
}

/* アイコン */
.price-matrixIconArea{
    width: 92%;
    height: calc(97% - 57px);
    position: absolute;
    top: calc(1% + 57px);
    left: 8%;
    z-index: 5;
    pointer-events: none;
}
.price-matrixIconArea .price-works-icon{
    display: none;
}
.price-matrixIconArea .price-works-icon{
    /* display: block; */
    width: 60px;
    height: 60px;
    position: absolute;
    top: 0;
    left: 0;
    text-decoration: none;
    box-shadow: 0 4px 6px 0px rgba(0, 0, 0, 0);
    transition: transform 200ms ease 0s;
    pointer-events: all;
}
.personal-use .price-works-icon.view-personal,
.pro-use .price-works-icon.view-pro,
.building .price-works-icon.view-building{
    display: block;
}
.price-matrixIconArea .price-works-icon img{
    width: 100%;
    max-width: auto;
}
.price-matrixIconArea .price-works-icon:hover{
    transform: scale(1.1) translateY(-4px);
    box-shadow: 0 4px 6px 0px rgba(0, 0, 0, 0.2);
    z-index: 15;
}
.price-matrixIconArea .price-works-icon:hover::before,
.price-matrixIconArea .price-works-icon:hover::after{
    display: inline-block;
    position: absolute;
    transition: none;
}
.price-matrixIconArea .price-works-icon:hover::before{
    content: attr(data-title);
    display: inline-block;
    width: auto;
    min-width: 170px;
    height: auto;
    padding: 0.5em 1em;
    bottom: calc(100% + 0.5em);
    left: 0;
    text-align: center;
    white-space: pre;
    font-size: 13px;
    color: #FFF;
    text-decoration: none;
    letter-spacing: -1px;
    line-height: 1.5;
    background: #333;
    border-radius: 6px;
    transform: translateX(-32%);
    box-sizing: border-box;
}
.price-works-icon:hover{
    cursor: pointer;
}

#price-matrixWrap.pro-use .matrix-footerBlock { background-color: #2FAB84; }
#price-matrixWrap.pro-use .price-matrixBg {  background-color: #D7F1E9; }
#price-matrixWrap.pro-use .matrix-colBorderBlock div { border-right: 2px dashed rgba(112, 196, 170, 0.6);}

#price-matrixWrap.pro-use .matrix-colBorderBlock .col-single:hover,
#price-matrixWrap.pro-use .price-matrixBg .matrix-rowBlock .row-single:hover{
	background-color: rgba(47,171,132, 0.3);
/*	background-color: rgba(111, 188, 255, 0.4); */
}
#price-matrixWrap.building .matrix-footerBlock { background-color: #2FAB84; }
#price-matrixWrap.building .price-matrixBg {  background-color: #D7F1E9; }
#price-matrixWrap.building .matrix-colBorderBlock div { border-right: 2px dashed rgba(112, 196, 170, 0.6);}

#price-matrixWrap.building .matrix-colBorderBlock .col-single:hover,
#price-matrixWrap.building .price-matrixBg .matrix-rowBlock .row-single:hover{
	background-color: rgba(47,171,132, 0.3);
/*	background-color: rgba(111, 188, 255, 0.4); */
}


/* 位置を微調整 */
.price-works-icon.top-20{
    margin-top: 20px;
}
.price-works-icon.top--10{
    margin-top: -10px;
}
.price-works-icon.top--20{
    margin-top: -20px;
}
.price-works-icon.left-10{
    margin-left: 10px;
}
.price-works-icon.left-20{
    margin-left: 20px;
}
.price-works-icon.left-30{
    margin-left: 30px;
}
.price-works-icon.left--10{
    margin-left: -10px;
}
.price-works-icon.left--5{
    margin-left: -5px;
}
.price-works-icon.left--20{
    margin-left: -20px;
}
.price-works-icon.left--30{
    margin-left: -30px;
}
.price-works-icon.left--40{
    margin-left: -40px;
}
/* 個人宅防音室 位置合わせ */
section.personal-use .price-works-icon.matrix-col1{
    left: 0%;
}
section.personal-use .price-works-icon.matrix-col2{
    left: 8%;
}
section.personal-use .price-works-icon.matrix-col3{
    left: 16%;
}
section.personal-use .price-works-icon.matrix-col4{
    left: 22%;
}
section.personal-use .price-works-icon.matrix-col5{
    left: 32%;
}
section.personal-use .price-works-icon.matrix-col6{
    left: 40%;
}
section.personal-use .price-works-icon.matrix-col7{
    left: 50%;
}
section.personal-use .price-works-icon.matrix-col8{
    left: 59%;
}
section.personal-use .price-works-icon.matrix-col9{
    left: 68%;
}
section.personal-use .price-works-icon.matrix-col10{
    left: 78%;
}
section.personal-use .price-works-icon.matrix-col11{
    left: 87%;
}
section.personal-use .price-works-icon.matrix-row1{
    top: 90%;
}
section.personal-use .price-works-icon.matrix-row2{
    top: 82%;
}
section.personal-use .price-works-icon.matrix-row3{
    top: 75%;
}
section.personal-use .price-works-icon.matrix-row4{
    top: 69%;
}
section.personal-use .price-works-icon.matrix-row5{
    top: 60%;
}
section.personal-use .price-works-icon.matrix-row6{
    top: 52%;
}
section.personal-use .price-works-icon.matrix-row7{
    top: 44%;
}
section.personal-use .price-works-icon.matrix-row8{
    top: 37%;
}
section.personal-use .price-works-icon.matrix-row9{
    top: 29%;
}
section.personal-use .price-works-icon.matrix-row10{
    top: 23%;
}
section.personal-use .price-works-icon.matrix-row11{
    top: 12%;
}
section.personal-use .price-works-icon.matrix-row12{
    top:2%;
}
/* プロ仕様防音室 位置合わせ */
/* 縦線に合わせる（col） */
section.pro-use .price-works-icon.matrix-col1{
    left: 0%;
}
section.pro-use .price-works-icon.matrix-col2{
    left: 7%;
}
section.pro-use .price-works-icon.matrix-col3{
    left: 13.5%;
}
section.pro-use .price-works-icon.matrix-col4{
    left: 20%;
}
section.pro-use .price-works-icon.matrix-col5{
    left: 26.5%;
}
section.pro-use .price-works-icon.matrix-col6{
    left: 32%;
}
section.pro-use .price-works-icon.matrix-col7{
    left: 38%;
}
section.pro-use .price-works-icon.matrix-col8{
    left: 43%;
}
section.pro-use .price-works-icon.matrix-col9{
    left: 49.5%;
}
section.pro-use .price-works-icon.matrix-col10{
    left: 57%;
}
section.pro-use .price-works-icon.matrix-col11{
    left: 64%;
}
section.pro-use .price-works-icon.matrix-col12{
    left: 71%;
}
section.pro-use .price-works-icon.matrix-col13{
    left: 76%;
}
section.pro-use .price-works-icon.matrix-col14{
    left: 82%;
}
section.pro-use .price-works-icon.matrix-col15{
    left: 88%;
}
/* 横線に合わせる（row） */
section.pro-use .price-works-icon.matrix-row1{
    top: 90%;
}
section.pro-use .price-works-icon.matrix-row2{
    top: 83%;
}
section.pro-use .price-works-icon.matrix-row3{
    top: 75%;
}
section.pro-use .price-works-icon.matrix-row4{
    top: 67.5%;
}
section.pro-use .price-works-icon.matrix-row5{
    top: 60%;
}
section.pro-use .price-works-icon.matrix-row6{
    top: 52.5%;
}
section.pro-use .price-works-icon.matrix-row7{
    top: 45%;
}
section.pro-use .price-works-icon.matrix-row8{
    top: 37.5%;
}
section.pro-use .price-works-icon.matrix-row9{
    top: 30%;
}
section.pro-use .price-works-icon.matrix-row10{
    top: 23%;
}
section.pro-use .price-works-icon.matrix-row11{
    top: 15.5%;
}
section.pro-use .price-works-icon.matrix-row12{
    top: 8%;
}
section.pro-use .price-works-icon.matrix-row13{
    top: 0%;
}
/* 建築から防音室まで 位置合わせ */
.building .price-matrixIconArea .price-works-icon{
    width: 80px;
    height: 80px;
}
/* 縦線に合わせる（col） */
section.building .price-works-icon.matrix-col1{
    left: 0%;
}
section.building .price-works-icon.matrix-col2{
    left: 7%;
}
section.building .price-works-icon.matrix-col3{
    left: 13.5%;
}
section.building .price-works-icon.matrix-col4{
    left: 20%;
}
section.building .price-works-icon.matrix-col5{
    left: 26.5%;
}
section.building .price-works-icon.matrix-col6{
    left: 32%;
}
section.building .price-works-icon.matrix-col7{
    left: 38%;
}
section.building .price-works-icon.matrix-col8{
    left: 43%;
}
section.building .price-works-icon.matrix-col9{
    left: 49.5%;
}
section.building .price-works-icon.matrix-col10{
    left: 57%;
}
section.building .price-works-icon.matrix-col11{
    left: 64%;
}
section.building .price-works-icon.matrix-col12{
    left: 71%;
}
section.building .price-works-icon.matrix-col13{
    left: 76%;
}
section.building .price-works-icon.matrix-col14{
    left: 82%;
}
section.building .price-works-icon.matrix-col15{
    left: 88%;
}
section.building .price-works-icon.matrix-col16{
    left: 92%;
}
/* 横線に合わせる（row） */
section.building .price-works-icon.matrix-row1{
    top: 90%;
}
section.building .price-works-icon.matrix-row2{
    top: 83%;
}
section.building .price-works-icon.matrix-row3{
    top: 75%;
}
section.building .price-works-icon.matrix-row4{
    top: 67.5%;
}
section.building .price-works-icon.matrix-row5{
    top: 60%;
}
section.building .price-works-icon.matrix-row6{
    top: 52.5%;
}
section.building .price-works-icon.matrix-row7{
    top: 45%;
}
section.building .price-works-icon.matrix-row8{
    top: 37.5%;
}
section.building .price-works-icon.matrix-row9{
    top: 30%;
}
section.building .price-works-icon.matrix-row10{
    top: 23%;
}
section.building .price-works-icon.matrix-row11{
    top: 15.5%;
}
section.building .price-works-icon.matrix-row12{
    top: 8%;
}
section.building .price-works-icon.matrix-row13{
    top: 0%;
}
/* 下のテキスト表示非表示 */
section#price-matrixWrap > p.preliminary{
    display: none;
}
section#price-matrixWrap.personal-use p.view-personal,
section#price-matrixWrap.pro-use p.view-pro,
section#price-matrixWrap.building p.view-building{
    display: block;
}   

@media screen and (max-width: 680px){
    /* #price-matrixWrap{
        display: none;
    } */
    .price-matrixArea{
        height: 70vh;
        max-height: 800px;
        min-height: 358px;
    }
    .price-matrixBg .matrix-colBox p:nth-of-type(2){
        margin-bottom: 1.8em;
    }
    .price-matrixBg .matrix-rowBlock{
        background-position: center top 44%;
        background-size: 50% auto;
    }
    
    .price-matrixBg .matrix-colBox{
        background-size: auto 75%;
    }
    .price-matrixIconArea{
        top: 9%;
    }
    .price-matrixIconArea .price-works-icon{
        width: 50px;
        height: 50px;
    }
    .building .price-matrixIconArea .price-works-icon{
        width: 60px;
        height: 60px;
    }

    /* SP用位置調整 */
    .price-works-icon.sp-top-0{
        margin-top: 0;
    }
    .price-works-icon.sp-left-20{
        margin-left: 20px;
    }
    .price-works-icon.sp-title-bottom:hover::before{
        bottom: -3.5em;
    }
}