@charset "UTF-8";

#service-matrixWrap .midashi12{
    margin-bottom: 6px;
    margin-top: 0;
    padding: 0 0 4px;
    border-bottom: 0;
}

#service-matrixWrap > p{
    font-size: 14px;
    margin-bottom: 6px;
}
.price-matrixArea{
    width: 1000px;
    height: 882px;
    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;
}

/* ヘッダーとフッター */
.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 760px;
}
.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,
#s_piano .price-matrixBg .floor-less{
    margin-top: 0;
    margin-bottom: 2.8em;
}
/* 自宅サロン：広さ表記位置調整 */
/* .personal-salon .price-matrixBg .matrix-colBox .floor-less, */
.personal-salon .price-matrixBg .matrix-colBox .floor-greater{
    margin-left: -5em;
}

/* 横線 */
.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;
}

/* 横線：ピアノ防音室 */
/* 上のCSSほど下の線 */
section.personal-piano .price-matrixBg .matrix-rowBlock div:last-of-type{
    height: 15%;
}
section.personal-piano .price-matrixBg .matrix-rowBlock div:nth-last-of-type(2){
    height: 22%;
}
section.personal-piano .price-matrixBg .matrix-rowBlock div:nth-last-of-type(3){
    height: 24%;
}
section.personal-piano .price-matrixBg .matrix-rowBlock div:nth-last-of-type(4){
    height: 8%;
}
section.personal-piano .price-matrixBg .matrix-rowBlock div:nth-last-of-type(5){
    height: 12%;
}
section.personal-piano .price-matrixBg .matrix-rowBlock div:nth-last-of-type(6){
    height: 7%;
    margin-top: -2%;
}
/* 横線：ドラム防音室 */
section.personal-drum .price-matrixBg .matrix-rowBlock{
    justify-content: flex-start;
}
/* 上のCSSほど下の線 */
section.personal-drum .price-matrixBg .matrix-rowBlock div:last-of-type{
    height: 15%;
}
section.personal-drum .price-matrixBg .matrix-rowBlock div:nth-last-of-type(2){
    height: 20%;
}
section.personal-drum .price-matrixBg .matrix-rowBlock div:nth-last-of-type(3){
    height: 20%;
}
section.personal-drum .price-matrixBg .matrix-rowBlock div:nth-last-of-type(4){
    height: 20%;
}
section.personal-drum .price-matrixBg .matrix-rowBlock div:nth-last-of-type(5){
    height: 17%;
}
/* 横線：自宅サロン */
section.personal-salon .price-matrixBg .matrix-rowBlock{
    justify-content: flex-start;
}
/* 上のCSSほど下の線 */
section.personal-salon .price-matrixBg .matrix-rowBlock div:last-of-type{
    height: 22%;
}
section.personal-salon .price-matrixBg .matrix-rowBlock div:nth-last-of-type(2){
    height: 26%;
}
section.personal-salon .price-matrixBg .matrix-rowBlock div:nth-last-of-type(3){
    height: 30%;
}
section.personal-salon .price-matrixBg .matrix-rowBlock div:nth-last-of-type(4){
    height: 12%;
}

/* 縦線と間隔 */
.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); */
}

/* 縦線と間隔：ピアノ防音室 */
section.personal-piano .matrix-colBorderBlock .col-single:first-of-type{
    width: 13%;
}
section.personal-piano .matrix-colBorderBlock .col-single:nth-of-type(2),
section.personal-piano .matrix-footerBlock .col-single:nth-of-type(2){
    width: 13%;
}
section.personal-piano .matrix-colBorderBlock .col-single:nth-of-type(3),
section.personal-piano .matrix-footerBlock .col-single:nth-of-type(3){
    width: 15%;
}
section.personal-piano .matrix-colBorderBlock .col-single:nth-of-type(4),
section.personal-piano .matrix-footerBlock .col-single:nth-of-type(4){
    width: 11%;
}
section.personal-piano .matrix-colBorderBlock .col-single:nth-of-type(5),
section.personal-piano .matrix-footerBlock .col-single:nth-of-type(5){
    width: 11%;
}
section.personal-piano .matrix-colBorderBlock .col-single:nth-of-type(6),
section.personal-piano .matrix-footerBlock .col-single:nth-of-type(6){
    width: 10%;
}
section.personal-piano .matrix-colBorderBlock .col-single:nth-of-type(7),
section.personal-piano .matrix-footerBlock .col-single:nth-of-type(7){
    width: 14%;
}
section.personal-piano .matrix-colBorderBlock .col-single:nth-of-type(8),
section.personal-piano .matrix-footerBlock .col-single:nth-of-type(8){
    width: 15%;
}
section.personal-piano .matrix-colBorderBlock .col-single:nth-of-type(9),
section.personal-piano .matrix-footerBlock .col-single:nth-of-type(9){
    width: 15%;
}
/* ピアノ防音室の文字位置 */
section.personal-piano .matrix-footerBlock .col-single:nth-of-type(7){
    position: relative;
}
section.personal-piano .matrix-footerBlock .col-single:nth-of-type(7) span{
    position: absolute;
    top: -12px;
    right: -40px;
}
/* 縦線と間隔：ドラム防音室 */
section.personal-drum .matrix-colBorderBlock .col-single:first-of-type{
    width: 13%;
}
section.personal-drum .matrix-colBorderBlock .col-single:nth-of-type(2),
section.personal-drum .matrix-footerBlock .col-single:nth-of-type(2){
    width: 28%;
}
section.personal-drum .matrix-colBorderBlock .col-single:nth-of-type(3),
section.personal-drum .matrix-footerBlock .col-single:nth-of-type(3){
    width: 14%;
}
section.personal-drum .matrix-colBorderBlock .col-single:nth-of-type(4),
section.personal-drum .matrix-footerBlock .col-single:nth-of-type(4){
    width: 14%;
}
section.personal-drum .matrix-colBorderBlock .col-single:nth-of-type(5),
section.personal-drum .matrix-footerBlock .col-single:nth-of-type(5){
    width: 20%;
}
/* 縦線と間隔：自宅サロン */
section.personal-salon .matrix-colBorderBlock .col-single:first-of-type{
    width: 15%;
}
section.personal-salon .matrix-colBorderBlock .col-single:nth-of-type(2),
section.personal-salon .matrix-footerBlock .col-single:nth-of-type(2){
    width: 14%;
}
section.personal-salon .matrix-colBorderBlock .col-single:nth-of-type(3),
section.personal-salon .matrix-footerBlock .col-single:nth-of-type(3){
    width: 14%;
}
section.personal-salon .matrix-colBorderBlock .col-single:nth-of-type(4),
section.personal-salon .matrix-footerBlock .col-single:nth-of-type(4){
    width: 26%;
}
section.personal-salon .matrix-colBorderBlock .col-single:nth-of-type(5),
section.personal-salon .matrix-footerBlock .col-single:nth-of-type(5){
    width: 18%;
}
/* 自宅サロンのフッター文字間隔 */
section.personal-salon .matrix-footerBlock span:not([class]){
    margin-left: 2em;
}

/* アイコン */
.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: 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;
}
.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-matrixIconArea.large-icon .price-works-icon{
    width: 80px;
    height: 80px;
}
.price-matrixIconArea.large-icon .price-works-icon:hover::before{
    transform: translateX(-25%);
}
/* 位置を微調整 */
.price-works-icon.top-10{
    margin-top: 10px;
}
.price-works-icon.top-20{
    margin-top: 20px;
}
.price-works-icon.top-30{
    margin-top: 30px;
}
.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--20{
    margin-left: -20px;
}
.price-works-icon.left--30{
    margin-left: -30px;
}
/* ピアノ防音室 位置合わせ */
/* 縦線に合わせる（col） */
section.personal-piano .price-works-icon.matrix-col1{
    left: 1%;
}
section.personal-piano .price-works-icon.matrix-col2{
    left: 9%;
}
section.personal-piano .price-works-icon.matrix-col3{
    left: 16%;
}
section.personal-piano .price-works-icon.matrix-col4{
    left: 25%;
}
section.personal-piano .price-works-icon.matrix-col5{
    left: 32%;
}
section.personal-piano .price-works-icon.matrix-col6{
    left: 40%;
}
section.personal-piano .price-works-icon.matrix-col7{
    left: 42%;
}
section.personal-piano .price-works-icon.matrix-col8{
    left: 46%;
}
section.personal-piano .price-works-icon.matrix-col9{
    left: 52%;
}
section.personal-piano .price-works-icon.matrix-col10{
    left: 57%;
}
section.personal-piano .price-works-icon.matrix-col11{
    left: 63%;
}
section.personal-piano .price-works-icon.matrix-col12{
    left: 68%;
}
section.personal-piano .price-works-icon.matrix-col13{
    left: 72%;
}
section.personal-piano .price-works-icon.matrix-col14{
    left: 76%;
}
section.personal-piano .price-works-icon.matrix-col15{
    left: 82%;
}
section.personal-piano .price-works-icon.matrix-col16{
    left: 86%;
}
section.personal-piano .price-works-icon.matrix-col17{
    left: 93%;
}
/* 横線に合わせる（row） */
section.personal-piano .price-works-icon.matrix-row1{
    top: 85%;
}
section.personal-piano .price-works-icon.matrix-row2{
    top: 82%;
}
section.personal-piano .price-works-icon.matrix-row3{
    top: 75%;
}
section.personal-piano .price-works-icon.matrix-row4{
    top: 68%;
}
section.personal-piano .price-works-icon.matrix-row5{
    top: 57%;
}
section.personal-piano .price-works-icon.matrix-row6{
    top: 51%;
}
section.personal-piano .price-works-icon.matrix-row7{
    top: 46%;
}
section.personal-piano .price-works-icon.matrix-row8{
    top: 38%;
}
section.personal-piano .price-works-icon.matrix-row9{
    top: 36%;
}
section.personal-piano .price-works-icon.matrix-row10{
    top: 27%;
}
section.personal-piano .price-works-icon.matrix-row11{
    top: 30%;
}
section.personal-piano .price-works-icon.matrix-row12{
    top:24%;
}
section.personal-piano .price-works-icon.matrix-row13{
    top:19%;
}
section.personal-piano .price-works-icon.matrix-row14{
    top:12%;
}
section.personal-piano .price-works-icon.matrix-row15{
    top:7%;
}
section.personal-piano .price-works-icon.matrix-row16{
    top:0%;
}

/* ドラム防音室 位置合わせ */
/* 縦線に合わせる（col） */
section.personal-drum .price-works-icon.matrix-col1{
    left: 0%;
}
section.personal-drum .price-works-icon.matrix-col2{
    left: 9%;
}
section.personal-drum .price-works-icon.matrix-col3{
    left: 16%;
}
section.personal-drum .price-works-icon.matrix-col4{
    left: 25%;
}
section.personal-drum .price-works-icon.matrix-col5{
    left: 32%;
}
section.personal-drum .price-works-icon.matrix-col6{
    left: 40%;
}
section.personal-drum .price-works-icon.matrix-col7{
    left: 48%;
}
section.personal-drum .price-works-icon.matrix-col8{
    left: 56%;
}
section.personal-drum .price-works-icon.matrix-col9{
    left: 63%;
}
section.personal-drum .price-works-icon.matrix-col10{
    left: 74%;
}
section.personal-drum .price-works-icon.matrix-col11{
    left: 83%;
}
section.personal-drum .price-works-icon.matrix-col12{
    left: 90%;
}

/* 横線に合わせる（row） */
section.personal-drum .price-works-icon.matrix-row1{
    top: 88%;
}
section.personal-drum .price-works-icon.matrix-row2{
    top: 78%;
}
section.personal-drum .price-works-icon.matrix-row3{
    top: 70%;
}
section.personal-drum .price-works-icon.matrix-row4{
    top: 59%;
}
section.personal-drum .price-works-icon.matrix-row5{
    top: 42%;
}
section.personal-drum .price-works-icon.matrix-row6{
    top: 40%;
}
section.personal-drum .price-works-icon.matrix-row7{
    top: 30%;
}
section.personal-drum .price-works-icon.matrix-row8{
    top: 20%;
}
section.personal-drum .price-works-icon.matrix-row9{
    top: 10%;
}
section.personal-drum .price-works-icon.matrix-row10{
    top: 2%;
}

/* ドラム防音室 位置合わせ */
/* 縦線に合わせる（col） */
section.personal-salon .price-works-icon.matrix-col1{
    left: 0%;
}
section.personal-salon .price-works-icon.matrix-col2{
    left: 6%;
}
section.personal-salon .price-works-icon.matrix-col3{
    left: 12%;
}
section.personal-salon .price-works-icon.matrix-col4{
    left: 19%;
}
section.personal-salon .price-works-icon.matrix-col5{
    left: 26%;
}
section.personal-salon .price-works-icon.matrix-col6{
    left: 34%;
}
section.personal-salon .price-works-icon.matrix-col7{
    left: 47%;
}
section.personal-salon .price-works-icon.matrix-col8{
    left: 56%;
}
section.personal-salon .price-works-icon.matrix-col9{
    left: 63%;
}
section.personal-salon .price-works-icon.matrix-col10{
    left: 74%;
}
section.personal-salon .price-works-icon.matrix-col11{
    left: 83%;
}
section.personal-salon .price-works-icon.matrix-col12{
    left: 90%;
}

/* 横線に合わせる（row） */
section.personal-salon .price-works-icon.matrix-row1{
    top: 83%;
}
section.personal-salon .price-works-icon.matrix-row2{
    top: 72%;
}
section.personal-salon .price-works-icon.matrix-row3{
    top: 61%;
}
section.personal-salon .price-works-icon.matrix-row4{
    top: 52%;
}
section.personal-salon .price-works-icon.matrix-row5{
    top: 42%;
}
section.personal-salon .price-works-icon.matrix-row6{
    top: 34%;
}
section.personal-salon .price-works-icon.matrix-row7{
    top: 26%;
}
section.personal-salon .price-works-icon.matrix-row8{
    top: 14%;
}
section.personal-salon .price-works-icon.matrix-row9{
    top: 6%;
}
section.personal-salon .price-works-icon.matrix-row10{
    top: 0%;
}

@media screen and (max-width: 680px){
    .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-0{
        margin-left: 0;
    }
    .price-works-icon.sp-left-20{
        margin-left: 20px;
    }
    .price-works-icon.sp-title-bottom:hover::before{
        bottom: -3.5em;
    }

}