@charset "UTF-8";

/* 全体 */
html {
    scroll-behavior: smooth;

    font-size: 62.5%; /* font-size 1em = 10px on default browser settings */
}


html, body, #wrapper {
    height: 100%;
}

body {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: ヒラギノ角ゴ ProN W3,Noto Sans JP,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,ヒラギノ丸ゴ ProN W4,Hiragino Maru Gothic ProN,ヒラギノ丸ゴ Pro W4,Hiragino Maru Gothic Pro,メイリオ,Meiryo,ＭＳ\ Ｐゴシック,MS PGothic,Sans-Serif;
    overflow-y: scroll;
    font-size: clamp(11px,1.2vw,13px);
}
#wrapper #appp{
    padding-top: 72px;
}
#appp table. button{
    font-size: clamp(11px,1.2vw,13px);
}
#appp em{
    font-style:normal;
}
#appp h1{
    width: 100%;
    text-align: center;
    color: #fff;
    background: #00909F;
    font-size: clamp(20px,2vw,28px);
    line-height: 2;
    padding: 40px 20px;
    font-weight: bold;
}
#appp h2{
    font-size: clamp(16px,1.5vw,18px);
    display: inline-block;
    line-height: 1.5;
    color: #00909F;
    padding: 0 20px;
    border: 2px solid #00909F;
    border-radius: 50px;
    font-weight: bold;
}
.sp{
    display: none !important;
}
.pc{
    display: block !important;
}


#appp .container{
    width: 100%;
    max-width: 1200px;
    padding: 0 10px;
    margin: 100px auto;
    box-sizing:border-box;
}
#step1{
    padding-bottom: 50px;
    border-bottom: 1px solid #707070;
}
.step1_calc_area,
.step2_calc_area,
.step3_calc_area{
    display: flex;
    width: 100%;
    margin: 30px auto;
    text-align: center;
}
.step3_calc_area {
    margin-bottom: 0;
}
.step2_calc_area,
.step3_calc_area{
    align-items: flex-end;
}
.step1_calc_area > div,
.step2_calc_area > div,
.step3_calc_area > div{
    margin-right: 10px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.step1_calc_area > div:last-child,
.step2_calc_area > div:last-child,
.step3_calc_area > div:last-child {
    margin-right: 0;
}
.step1_calc_area > div > div:first-child,
.step2_calc_area > div > div:first-child,
.step3_calc_area > div > div:first-child{
    margin-bottom: 10px;
}
.step1_calc_area > div > div:first-child ,
.step2_calc_area > div > div:first-child,
.step3_calc_area > div > div:first-child{
    border-top: 1px solid #00909F;
    border-bottom: 1px solid #00909F;
    font-weight: normal;
    padding: 5px 0;
    line-height: 2;
    color: #00909F;
}
.step1_calc_area > div > div:last-child{
    display: flex;
    align-items: center;
    margin: auto;
    width: 100%;
}
.step1_calc_area > div:nth-child(1){
    min-width: 100px;
    width: calc(10% - 5px);
}
.step1_calc_area > div:nth-child(1) div p{
    width: 100%;
}
.step1_calc_area > div:nth-child(2){
    min-width: 100px;
    width: calc(11% - 5px);
}
.step1_calc_area > div:nth-child(3),
.step1_calc_area > div:nth-child(4){
    min-width: 80px;
    width: calc(9% - 5px);
}
.step1_calc_area > div:nth-child(5),
.step1_calc_area > div:nth-child(6){
    min-width: 150px;
    width: calc(15% - 5px);
}
.step1_calc_area > div:nth-child(5) select,
.step1_calc_area > div:nth-child(6) select,
.step2_calc_area > div:nth-child(1) select,
.step2_calc_area > div:nth-child(1) select,
.step3_calc_area > div:nth-child(1) select,
.step3_calc_area > div:nth-child(1) select{
    min-width: 100%;
    width: 10%;
    text-align: center;
    background: #F4F4F4;
    border: none;
    padding: 10px;
}
.step1_calc_area > div:nth-child(5) select:focus,
.step1_calc_area > div:nth-child(6) select:focus,
.step2_calc_area > div:nth-child(1) select:focus,
.step2_calc_area > div:nth-child(1) select:focus,
.step3_calc_area > div:nth-child(1) select:focus,
.step3_calc_area > div:nth-child(1) select:focus{
    outline: 1px solid #00909F;
    background: #fff;
}
.step1_calc_area > div:nth-child(5) select option,
.step1_calc_area > div:nth-child(6) select option,
.step2_calc_area > div:nth-child(1) select option,
.step2_calc_area > div:nth-child(1) select option,
.step3_calc_area > div:nth-child(1) select option,
.step3_calc_area > div:nth-child(1) select option{
    background: #fff;
    padding: 10px;
}

.step1_calc_area > div:nth-child(2) > div:last-child input,
.step1_calc_area > div:nth-child(3) > div:last-child input,
.step1_calc_area > div:nth-child(4) > div:last-child input{
    min-width: 5em;
    width: 100%;
    padding: 10px 0;
    height: 40px;
}
.step1_calc_area > div:nth-child(7){
    min-width: 40px;
    width: calc(6% - 5px);
}
.step1_calc_area > div:nth-child(8) {
    width: calc(30% - 5px);
}
.step1_calc_area > div:nth-child(7) input,
.step2_calc_area > div:nth-child(2) input,
.step3_calc_area > div:nth-child(2) input{
    min-width: 3em;
    width: 100%;
    text-align: center;
    padding: 5px 0;
    line-height: 2;
    height: 40px;
}
.step2_calc_area > div:first-child,
.step3_calc_area > div:first-child{
    width: calc(60% - 10px);
}
.step2_calc_area > div:nth-child(2),
.step3_calc_area > div:nth-child(2){
    width: calc(23% - 10px);
    min-width: 60px;
}
.step1_calc_area > div:nth-child(8) div:last-child {
    background: #F4F4F4;
    width: 100%;
    padding: 5px 0;
    height: 40px;
    line-height: 2.5;
}
.step3_calc_area > p {
   font-size: 1.5rem;
    line-height: 2;
    margin-bottom: 30px;
}
#appp input[type="number"]::-webkit-inner-spin-button,
#appp input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
    -moz-appearance:textfield;
}
#appp input.input_style{
    background: #F4F4F4;
    outline: 0;
    border: none;
    padding: 10px 0;
    text-align: center;
}
#appp .error input.input_style{
    background: #F8E9E9;
    outline: 2px solid #6F0000;
}
#appp input.input_style:focus {
    outline: 1px solid #00909F;
    background: #fff;
}
#appp input.input_style:disabled {
    background: #D6D6D6;
}
#appp .error{
    color: #6F0000;
}
#appp .btn_wrap{
   text-align: right;
}
#step1 button:disabled,
#step2 button:disabled,
#step3 button:disabled,
#dl:disabled{
    border-color: #D6D6D6;
    background-color: #D6D6D6;
    color: #000000;
    cursor: initial;
    line-height: 1.5;
}
#step1 button,
#step2 button,
#step3 button,
#dl{
    color: #00909F;
    border: 1px solid #00909F;
    background-color: #fff;
    text-align: center;
    padding: 10px 20px;
    cursor: pointer;
    min-width: 95px;
    line-height: 1.5;
}
#dl{
    display: block;
    margin: 0 0 0 auto;
}
#appp .wrapper{
    margin: 50px auto;
    display: flex;
    justify-content: space-between;
}
#appp .wrapper > div{
    width: calc(50% - 15px);
}
#appp .contents_header{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}
#appp .contents_header p{
    margin-left: 1em;
    color: #00909F;
    cursor: pointer;
}
#appp .contents_header p.caution {
    color: #000;
    cursor: initial;
    padding-left:1em;
    text-indent:-1em;
}
#appp .contents_header p span:first-child{
    border-bottom: 1px solid #00909F;
}
#appp .contents_header p span.question{
    margin-left: 0.5em;
    background-color: #00909F;
    color: #fff;
    border-radius: 50%;
    width: 16px;
    height: 16px;
    line-height: 16px;
    text-align: center;
    display: inline-block;
    position: relative;
}
#appp .dropdown {
    display: inline-block;
    font-size: clamp(11px,1.3vw,14px);
    width: 100%;
    position: relative;
}

#step1 button.dropdown__btn,
#step2 button.dropdown__btn,
#step3 button.dropdown__btn{
    border-radius: 2px;
    border: none;
    background: #F4F4F4;
    color: #000;
    padding: 5px 10px;
    line-height: 2;
    text-align: center;
    min-width: 280px;
    width: 100%;
    position: relative;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 40px;
    font-family: ヒラギノ角ゴ ProN W3,Noto Sans JP,Hiragino Kaku Gothic ProN,ヒラギノ角ゴ Pro W3,Hiragino Kaku Gothic Pro,ヒラギノ丸ゴ ProN W4,Hiragino Maru Gothic ProN,ヒラギノ丸ゴ Pro W4,Hiragino Maru Gothic Pro,メイリオ,Meiryo,ＭＳ\ Ｐゴシック,MS PGothic,Sans-Serif;

}
#step1 button.dropdown__btn{
    min-width: 150px;
    width: 100%;
}
#appp .dropdown__btn span {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0  0 0 10px;
    border-bottom: 2px solid #000;
    border-right: 2px solid #000;
    transform: rotate(45deg);
}
#appp .dropdown__btn:hover {
    background-color: rgba(83, 172, 217, 0.1);
}
#step1 button.dropdown__btn:disabled,
#step2 button.dropdown__btn:disabled{
    background: #D6D6D6;
}


#appp .dropdown__menu-layer {
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    bottom: 0;
    display: none;
}

#appp .dropdown__menu-layer--show {
    display: block;
}

#appp .dropdown__menu {
    margin: 0;
    list-style: none;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.16);
    width: 200px;
    position: absolute;
    top: 40px;
    padding: 5px;
    z-index: 3;
}

#appp .dropdown__item {
    padding: 4px;
    cursor: pointer;
    line-height: 1.5;
}
#appp .dropdown__item span{
    font-size: 11px;
}

#appp .dropdown__item:hover {
    background-color: rgba(102, 102, 102, 0.1);
    color: #000;
}

#appp .dropdown__item--active {
    background-color: #00909F;
    color: #fff;
}
#calc_select{
    border-top: 1px solid #707070;
    padding: 24px 0;
}
#calc_select > div > div{
    border-top: 4px double #707070;
    border-bottom: 2px dotted #707070;
}
#appp .title_table{
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 10px;
}
#appp .title_table thead th{
    border-top: 1px solid #00909F;
    border-bottom: 1px solid #00909F;
    color: #00909F;
    font-weight: normal;
    line-height: 2;
    padding: 10px 0;
    border-left: 10px solid #fff;
    border-right: 10px solid #fff;
    text-align: center;
}
#appp .title_table thead th:first-child,
#appp .title_table thead th:last-child{
    border: none;
}
.step1_table,.step1_total_table,
.step2_table,.step2_total_table,
.step3_table,.step3_total_table,
.total_table{
    width: 100%;
    border-collapse: collapse;
    text-align: center;
}
.step1_total_table,
.step2_table,
.step2_total_table,
.step3_table,
.step3_total_table,
.total_table{
    margin-top: 10px;
}
.step1_table tbody td,
.step2_table tbody td,
.step3_table tbody td,
.step1_total_table tbody td,
.step2_total_table tbody td,
.step3_total_table tbody td,
.total_table tbody td{
    border-bottom: 10px solid #fff;
}
.step1_total_table tbody td,
.step2_total_table tbody td,
.step3_total_table tbody td,
.total_table tbody td{
    padding: 10px 0;
    line-height: 2;
    background: #fff;
}
.step1_total_table tbody td:nth-child(6),
.step1_total_table tbody td:nth-child(7),
.step2_total_table tbody td:nth-child(6),
.step2_total_table tbody td:nth-child(7),
.step3_total_table tbody td:nth-child(6),
.step3_total_table tbody td:nth-child(7),
.total_table tbody td:nth-child(7){
    background: #D9EEF1;
}
.step1_table tbody td:not(:last-child),
.step2_table tbody td:not(:last-child),
.step3_table tbody td:not(:last-child){
    background: #F4F4F4;
    border-left: 10px solid #F4F4F4;;
    border-right: 10px solid #F4F4F4;;
}
.step1_total_table tbody td:not(:last-child),
.step2_total_table tbody td:not(:last-child),
.step3_total_table tbody td:not(:last-child),
.total_table tbody td:not(:last-child){
    border-left: 10px solid #fff;
    border-right: 10px solid #fff;
}
.step1_table tbody td button,
.step2_table tbody td button,
.step3_table tbody td button{
    background-color: #D6D6D6;
    color: #000000;
    border: 1px solid #D6D6D6;
    text-align: center;
    padding: 10px 20px;
    cursor: pointer;
    width: 100%;
}
.step2_table.sub_price tbody tr:first-child td{
    border-bottom: none !important;
}
.step2_table.sub_price tbody tr:not(:first-child) td:not(:last-child){
    border-bottom: none !important;
}
.step2_table.sub_price tbody tr:last-child>*{
    padding-bottom: 5px;
}
.step2_table.sub_price tbody tr:nth-child(3) td{
    border-bottom: 10px solid #fff !important;
}
.selected button{
    pointer-events: none;
}
#calc_select table td,
#calc_select table th{
    text-align: center;
    vertical-align: initial;
}
#calc_select table th:first-child,
#calc_select table td:first-child{
    min-width: 10px;
    width: 2%;
}
#calc_select table th:nth-child(2),
#calc_select table td:nth-child(2){
    min-width: 100px;
    width: 10%;
}

#calc_select table th:nth-child(3),
#calc_select table td:nth-child(3){
    min-width: 250px;
    width: 25%;
}
#calc_select table td:nth-child(3) span{
    padding: 0 0.5em;
}
#calc_select table th:nth-child(4),
#calc_select table td:nth-child(4){
    min-width: 90px;
    width: 9%;
}
.step1_total_table td:nth-child(4),
.step2_total_table td:nth-child(4),
.step3_total_table td:nth-child(4),
.total_table td:nth-child(4) {
    text-align: right;
}
#calc_select table th:nth-child(5),
#calc_select table td:nth-child(5){
    min-width: 60px;
    width: 6%;
}
#calc_select table th:nth-child(6),
#calc_select table td:nth-child(6) {
    min-width: 50px;
    width: 5%;
}
#calc_select table th:nth-child(7),
#calc_select table td:nth-child(7){
    min-width: 80px;
    width: 8%;
}
#calc_select table td:nth-child(7) {
    border-right: 10px solid #fff;
}
#calc_select table th:last-child,
#calc_select table td:last-child{
    min-width: 80px;
    width: 8%;
}

/*
popup ----------------------------------------*/
.popup {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition-duration: 0.8s;
}
.block{
    display: block !important;
}
.popup.is-show {
    opacity: 1;
    visibility: visible;
}
.popup-inner {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    width: calc(90% - 80px);
    max-height: 90%;
    max-width: calc(1100px - 80px);
    z-index: 2;
    background-color: #fff;
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}
#appp .popup-inner .container{
    margin: auto;
    height: 100%;
}
#appp .popup-inner .container h3{
    text-align: left;
    line-height: 2;
    font-size: clamp(16px,1.5vw,20px);
    font-weight: normal;
    margin-bottom: 20px;
}

.close-btn {
    position: absolute;
    right: 20px;
    top: 20px;
    width: 20px;
    height: 20px;
    line-height: 20px;
    text-align: center;
    cursor: pointer;
}
.close-btn .batsu{
    display: block;
    width: 20px;/*枠の大きさ*/
    height: 20px;/*枠の大きさ*/
    position: relative;
}
.batsu::before, .batsu::after{
    content: "";
    display: block;
    width: 100%;/*バツ線の長さ*/
    height: 1px;/*バツ線の太さ*/
    background: #707070;
    transform: rotate(45deg);
    transform-origin:0% 50%;
    position: absolute;
    top: calc(14% - 5px);
    left: 14%;
}
.batsu::after{
    transform: rotate(-45deg);
    transform-origin:100% 50%;
    left: auto;
    right: 14%;
}
.black-background {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(000,000,000,0.3);
    z-index: 1;
}
#appp .popup-inner #modal1,
#appp .popup-inner #modal2{
    min-height: calc(60vh - 80px);
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}
@media screen and (max-width: 1064px) {
    .step1_calc_area,.step2_calc_area, .step3_calc_area{
        flex-wrap: wrap;
    }
    .step1_calc_area > div:nth-child(1),
    .step1_calc_area > div:nth-child(2){
        width: calc(16% - 10px);
    }
    .step1_calc_area > div:nth-child(5){
        width: calc(20% - 10px);
    }
    .step1_calc_area > div:nth-child(6){
        width: 20%;
        margin-right: 0;
    }
    .step1_calc_area > div:nth-child(7) {
        width: calc(10% - 10px);
    }
    .step1_calc_area > div:nth-child(8) {
        width: calc(54% - 10px);
    }
    .step1_calc_area > div:nth-child(5),
    .step1_calc_area > div:nth-child(6),
    #step1 button.dropdown__btn {
        min-width: 100px;
    }
    .step1_calc_area > div:nth-child(3),
    .step1_calc_area > div:nth-child(4) {
        width: calc(14% - 10px);
    }
    .step2_calc_area > div:first-child,
    .step3_calc_area > div:first-child {
        width: calc(70% - 10px);
        min-width: 280px;
    }
    .step2_calc_area > div:nth-child(2),
    .step3_calc_area > div:nth-child(2) {
        width: 30%;
        margin-right: 0;
    }

}
@media screen and (max-width: 899px) {
    .step2_calc_area, .step3_calc_area{
        justify-content: space-between;
    }
    .step2_calc_area > div:first-child, .step3_calc_area > div:first-child {
        width: 100%;
        margin-right: 0;
    }
    .step2_calc_area > div:nth-child(2), .step3_calc_area > div:nth-child(2) {
        margin-right: 10px;
    }
    .contents_header {
        display: block;
    }
    .contents_header p {
        margin-top: 10px;
    }
}

@media screen and (max-width: 767px) {
    #appp,
    #appp .dropdown {
        font-size: 1.3rem;
    }
    .pc{
        display: none !important;
    }

    .sp{
        display: block !important;
    }
    #appp .container {
        margin: 50px auto;
    }
    #appp h1 {
        width: 100%;
        font-size: clamp(18px,2vw,28px);
        padding: 30px 15px;
    }
    #appp h2 {
        font-size: clamp(13px,1.5vw,16px);
    }
    #calc_select > div > div {
        margin: 42px 0 60px 0;
    }
    #step1 {
        padding-bottom: 30px;
        border-bottom: none;
    }
    .step1_calc_area > div:nth-child(8) div:last-child {
        line-height: 2.5;
    }
    .step1_total_table,
    .step2_table,
    .step2_total_table,
    .step3_table,
    .step3_total_table{
        margin-top: 24px;
    }
    .step1_total_table,
    .step2_total_table,
    .step3_total_table{
        margin-bottom: 60px;
    }
    .step1_total_table tbody td,
    .step2_total_table tbody td,
    .step3_total_table tbody td,
    .total_table tbody td {
        padding: 0;
    }
    .total_table{
        margin-top: 60px;
    }
    .step1_calc_area, .step2_calc_area, .step3_calc_area {
        justify-content: space-between;
    }
    .step1_calc_area > div:nth-child(1),
    .step1_calc_area > div:nth-child(3),
    .step1_calc_area > div:nth-child(5) {
        width: calc(50% - 5px);
        margin-right: 0;
    }
    .step1_calc_area > div:nth-child(2),
    .step1_calc_area > div:nth-child(4),
    .step1_calc_area > div:nth-child(6) {
        width: calc(50% - 5px);
        margin-right: 0;
    }
    .step1_calc_area > div:nth-child(7) {
        width: calc(25% - 5px);
        margin: 0;
    }
    .step1_calc_area > div:nth-child(8) {
        width: calc(75% - 5px);
        margin: 0;
    }
    #step1 button, #step2 button, #step3 button {
        width: 100%;
    }
    .step2_calc_area > div:last-child,
    .step3_calc_area > div:last-child {
        width: 100%;
    }
    #appp .wrapper {
        margin: 30px auto;
        flex-wrap: wrap;
    }
    #appp .wrapper > div {
        width: 100%;
    }
    #appp  .title_table {
        display: none;
    }
    .step1_table tr,
    .step1_total_table tr,
    .step2_table tr,
    .step2_total_table tr,
    .step3_table tr,
    .step3_total_table tr,
    .total_table tr{
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
    }
    .step2_table.sub_price tr:nth-child(2){
        margin-top: 30px
    }
    #calc_select table th:first-child,
    #calc_select table td:first-child {
        display: none;
    }
    .step1_table tbody td:not(:last-child),
    .step2_table tbody td:not(:last-child),
    .step3_table tbody td:not(:last-child) {
        background: #F4F4F4;
        border: none;
    }
    .step1_total_table tbody td:not(:last-child),
    .step2_total_table tbody td:not(:last-child),
    .step3_total_table tbody td:not(:last-child),
    #calc_select .total_table td:nth-child(4),
    #calc_select table td:nth-child(7){
        border: none;
    }
    .step1_total_table td:nth-child(4),
    .step2_total_table td:nth-child(4),
    .step3_total_table td:nth-child(4),
    .total_table td:nth-child(4) {
        text-align: center;
    }
    #calc_select .step1_table td:nth-child(4),
    #calc_select .step1_table td:nth-child(5),
    #calc_select .step1_table td:nth-child(6){
        width: calc(33.33333% - 5px);
        margin-bottom: 40px;
        line-height: 3;
        position: relative;
        margin-top: 50px;
    }
    #calc_select .step2_table td:nth-child(5),
    #calc_select .step2_table td:nth-child(6),
    #calc_select .step3_table td:nth-child(5),
    #calc_select .step3_table td:nth-child(6){
        width: calc(50% - 5px);
        margin-bottom: 40px;
        line-height: 3;
        position: relative;
        margin-top: 50px;
    }
    #calc_select .step1_total_table td:nth-child(4),
    #calc_select .step2_total_table td:nth-child(4),
    #calc_select .step3_total_table td:nth-child(4),
    #calc_select .step1_total_table td:nth-child(6),
    #calc_select .step2_total_table td:nth-child(6),
    #calc_select .step3_total_table td:nth-child(6),
    #calc_select .step1_total_table td:nth-child(7),
    #calc_select .step2_total_table td:nth-child(7),
    #calc_select .step3_total_table td:nth-child(7),
    #calc_select .total_table td:nth-child(4){
        width: calc(33.33333% - 5px);
        margin-bottom: 0;
        line-height: 3;
        position: relative;
        margin-top: 50px;
    }
    #calc_select table td:nth-child(2),
    #calc_select table td:nth-child(3),
    #calc_select table td:nth-child(7),
    #calc_select table td:last-child {
        width: 100%;
        margin-bottom: 40px;
        line-height: 3;
        position: relative;
        margin-top: 50px;
    }
    #calc_select .total_table td:nth-child(7){
        width: calc(66.66666% - 5px);
        margin-bottom: 10px;
        line-height: 3;
        position: relative;
        margin-top: 50px;
    }
    #calc_select table th:last-child,
    #calc_select table td:last-child {
        line-height: 2;
        margin-top: 0;
        border: none;
        margin-bottom: 60px;
    }
    #calc_select table td:not(:first-child):before,
    #calc_select table td:not(:last-child):before {
        line-height: 3;
        text-align: center;
        position: absolute;
        top: -50px;
        left: 0;
        display: block;
        width: 100%;
        color: #00909F;
        border-top: #00909F 1px solid;
        border-bottom: #00909F 1px solid;
        font-weight: bold;
    }
    #calc_select .step1_table td:nth-child(2):before,
    #calc_select .step2_table td:nth-child(2):before,
    #calc_select .step3_table td:nth-child(2):before{
        content: "項目";
    }
    #calc_select .step1_table td:nth-child(3):before,
    #calc_select .step2_table td:nth-child(3):before,
    #calc_select .step3_table td:nth-child(3):before{
        content: "明細";
    }
    #calc_select .step1_table td:nth-child(4):before{
        content: "電源コード";
    }
    #calc_select .step1_table td:nth-child(5):before,
    #calc_select .step2_table td:nth-child(5):before,
    #calc_select .step3_table td:nth-child(5):before{
        content: "単価";
    }
    #calc_select table td:nth-child(6):before,
    #calc_select .step2_table td:nth-child(6):before,
    #calc_select .step3_table td:nth-child(6):before,
    #calc_select .step1_total_table td:nth-child(6):before,
    #calc_select .step2_total_table td:nth-child(6):before,
    #calc_select .step3_total_table td:nth-child(6):before{
        content: "台数";
    }
    #calc_select .step1_table td:nth-child(7):before,
    #calc_select .step2_table td:nth-child(7):before,
    #calc_select .step3_table td:nth-child(7):before{
        content: "小計";
    }
    #calc_select .step1_total_table td:nth-child(7):before,
    #calc_select .step2_total_table td:nth-child(7):before,
    #calc_select .step3_total_table td:nth-child(7):before{
        content: "合計";
    }
    #calc_select .total_table td:nth-child(7):before{
        content: "総合計";
    }
    .step1_total_table td:nth-child(2),
    .step1_total_table td:nth-child(3),
    .step1_total_table td:nth-child(5),
    .step1_total_table td:last-child,
    .step2_table td:nth-child(4),
    .step2_total_table td:nth-child(2),
    .step2_total_table td:nth-child(3),
    .step2_total_table td:nth-child(5),
    .step2_total_table td:last-child,
    .step3_table td:nth-child(4),
    .step3_total_table td:nth-child(2),
    .step3_total_table td:nth-child(3),
    .step3_total_table td:nth-child(5),
    .step3_total_table td:last-child,
    .total_table td:nth-child(2),
    .total_table td:nth-child(3),
    .total_table td:nth-child(5),
    .total_table td:nth-child(6){
        display: none;
        margin: 0;
    }
    #calc_select .step1_table tr:last-child td:last-child,
    #calc_select .step2_table tr:last-child td:last-child,
    #calc_select .step3_table tr:last-child td:last-child{
        margin-bottom: 0;
    }
    #appp .popup-inner {
        width: calc(100% - 40px);
        padding: 20px;
    }
    #appp .popup-inner .container h3 {
        margin-bottom: 10px;
    }
    #appp .popup-inner #modal1,
    #appp .popup-inner #modal2{
        min-height: calc(40vh - 80px);
        max-height: calc(90vh - 80px);
        overflow-y: auto;
    }
    .close-btn {
        right: 5px;
        top: 10px;
    }
}
@media print, screen and (max-width: 750px){
    #wrapper #appp{
        padding-top: 0;
    }
    .l-footer__g4 {
        padding: 7% 0 18% !important;
    }
}