@charset "utf-8";
.section-fee {
    max-width: 1040px;
    margin: 0 auto;
}
.section-fee table th {
    background-color: #7c7c3e;
    color: #ffffff;
}
.section-fee h2 {
    margin-bottom: 30px;
}
.section_description {
    margin-bottom: 70px;
    line-height: 1.8;
}
.section-fee_container {
    background-image: url(/images/texture.jpg);
    max-width: 1040px;
}
.section-fee_table-wrapper {
    display: grid;
    grid-template-rows: 1fr 1fr;
    grid-template-columns: 1fr 1fr;
    padding: 80px 0 170px;
    margin: 0 auto 50px;
    width: 940px;
    gap: 80px;
}
.section-fee_panel-fee {
    grid-row: 1/3;
    grid-column: 1/2;
}
.section-fee_ecocute-fee {
    grid-row: 1/2;
    grid-column: 2/3;
}
.section-fee_IH-fee {
    grid-row: 2/3;
    grid-column: 2/3;
    
}
table {
    border-collapse: collapse;
    border: none;
    border-radius: 10px;
    border-spacing: 0;
    box-shadow: 0 5px 10px 0 rgba(103, 103, 103, 0.5);
    width: 100%;
}
tr {
    padding: 5px 10px;
    border: none;
}
.section-fee_panel-table tr:first-child>*:first-child{
    border-radius: 10px 0 0 0;
}
.section-fee_panel-table tr:first-child>*:last-child{
    border-radius: 0 10px 0 0;
}
.section-fee_panel-table tr:last-child>*:first-child{
    border-radius: 0 0 0 10px;
}
.section-fee_panel-table tr:last-child>*:last-child{
    border-radius: 0 0 10px 0;
}

.section-fee_other-table tr:first-child>*:first-child{
    border-radius: 10px 10px 0 0;
}
.section-fee_other-table tr:last-child>*:first-child{
    border-radius: 0 0 0 10px;
}
.section-fee_other-table tr:last-child>*:last-child{
    border-radius: 0 0 10px 10px;
}
.section-fee_storage-battery-table tr:first-child>*:first-child{
    border-radius: 10px 0 0 0;
}
.section-fee_storage-battery-table tr:first-child>*:last-child{
    border-radius: 0 10px 0 0;
}
.section-fee_storage-battery-table tr:last-child>*:last-child{
    border-radius: 0 0 10px 10px;
}
.section-fee_storage-battery-table tr:last-child>*:first-child{
    border-radius: 0 0 10px 10px;
}

td,th{
    border: none;
    border-left: 1px solid #999;
    border-top: 1px solid #999;
}
td:first-child,th:first-child{
    border-left:none;
}
tr:first-child td,tr:first-child th{
    border-top:none;
}

table td {
    font-weight: 800;
    background-color: #ffffff;
}
table strong, table p {
    display: inline;
}
.section-fee_panel-fee {
    width: 460px;
}
.section-fee_panel-table th {
    width: 100px;
    height: 200px;
}
.section-fee_panel-table td {
    padding: 60px 0;
}
.number-of-panel {
    padding-left: 30px;
}
.section-fee_table-title {
    font-size: 3rem;
    line-height: 1.6;
    margin-top: 0;
}
.section-fee_table-title p {
    font-size: 1.6rem;
    border-bottom: 3px solid #cc6600;
    padding-bottom: 10px;
    margin-bottom: 30px;
}
table tr {
    font-size: 1.6rem;
}
table tr th strong {
    font-size: 3.6rem;
}
table tr th p {
    font-size: 2.4rem;
}
.tax {
    writing-mode: vertical-rl;
    display: inline;
    margin: 0;
    padding-right: 5px;
    letter-spacing: 0.2em;
}
.comma {
    display: inline;
    font-size: 3.2rem;
}
.section-fee_panel-table tr th {
    line-height: 1.5;
}
.section-fee_panel-table tr td {
    width: 360px;
    line-height: 1.3;
    text-align: left;
    padding-left: 18px;
}
table tr td strong {
    font-size: 5rem;
}
@media(max-width:1040px) {
    .section-fee_table-wrapper {
        display: block;/* gridの解除 */
        margin: 0 auto;
        width: 100%;
    }
    .section-fee_panel-fee, .section-fee_ecocute-fee, .section-fee_IH-fee {
        margin: 0 auto;
    }
    .section-fee_storage-battery-table {
        max-width: 325px;
        margin:  0 auto;
    }
    .section-fee_table-title {
        font-size: 2.2rem;
        line-height: 0.8;
    }
    .section-fee_table-title p {
        font-size: 1.4rem;
        border-bottom: 3px solid #cc6600;
        padding-bottom: 10px;
        margin-bottom: 30px;
    }
    .section-fee_panel-fee {
        width: 325px;
    }
    .section-fee_ecocute-fee, .section-fee_IH-fee {
        width: 325px;
        margin-top: 60px;
    }

    .section-fee_panel-table tr th {
        width: 20%;
        height: 150px;
    }
    .section-fee_panel-table td {
        padding: 0;
    }
    table tr th strong {
        font-size: 2.4rem;
    }
    table tr th p {
        font-size: 1.6rem;
    }
    table tr th span {
        font-size: 1.2rem;
    }
    .tax {
        font-size: 1.4rem;
        padding-right: 5px;
    }
    .comma {
        font-size: 2.4rem;
    }
    table tr td strong {
        font-size: 4rem;
    }
    .section-fee_panel-table tr td {
        padding-left: 8px;
    }
}

.section-fee_other-table tr {
    height: 70px;
}
.section-fee_other-table td {
    height: 150px;
    line-height: 1.3;
}
.section-fee_other-table th {
    font-size: 2.4rem;
}

@media(max-width:1040px) {
    .section-fee_other-table {
        width: 100%;
        max-width: 325px;
    }
    .section-fee_storage-battery th {
        height: 115px;
        width: 1040px;
        font-size: 1.8rem;
        line-height: 1.4;
    }
    .section-fee_other-table tr th {
        height: 40px;
    }
    .section-fee_other-table tr td {
        height: 110px;
        line-height: 1.3;
    }
}
.section-fee_storage-battery th {
    height: 115px;
    width: 1040px;
    font-size: 2.2rem;
    line-height: 1.4;
}
.section-fee_storage-battery td {
    height: 150px;
}
.section-fee_message {
    font-size: 3rem;
    font-weight: 800;
    margin: 80px 0 100px;
}
.storage-battery {
    position: relative;
}
.storage-battery::before {
    content: '';/*何も入れない*/
    display: inline-block;
    width: 250px;/*画像の幅*/
    height: 125px;/*画像の高さ*/
    background-image: url(/images/plus-mark@2x.png);
    background-size: contain;
    background-repeat: no-repeat;
    vertical-align: middle;
    position: absolute;
    top: -174px;
    left: 38%;
}
.section-fee_storage-battery h3 {
    line-height: 0.8;
}
.section-fee_storage-battery .section-fee_table-title p {
    padding-bottom: 17px;
}
@media(max-width:1040px) {
    .section-fee_storage-battery {
        max-width: 325px;
        margin: 0 auto;
    }
    .section-fee_storage-battery h3 p {
        margin-top: 0;
    }
    .storage-battery {
        margin-top: 20px;
    }
    .storage-battery::before {
        width: 150px;/*画像の幅*/
        height: 75px;/*画像の高さ*/
        top: -95px;
        left: 27%;
    }
    .section-fee_storage-battery th {
        height: 100px;
        font-size: 1.8rem;
        line-height: 1.4;
    }
    .section-fee_storage-battery td {
        height: 110px;
    }
    .section-fee_storage-battery-table tr:first-child>*:first-child{
        border-radius: 10px 10px 0 0;
    }
    .section-fee_message {
        font-size: 1.8rem;
        margin: 40px 0 60px;
    }
}


