dl {
    margin: 0;
    padding: 0;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
    font-weight: inherit;
}
.p-calc {
	padding: 0 20px;
}

#QUOTE {
    font-family: "游明朝体", YuMincho, "游明朝", 'Yu Mincho', serif;
}

#QUOTE .sec * {
    box-sizing: border-box;
}

#QUOTE .sec a {
    text-decoration: none;
    display: block;
    margin: 0 auto;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.1em;
    text-align: center;
    color: #fff;
    transition: opacity .3;
}

#QUOTE .sec a:hover {
    opacity: .8;
}

#QUOTE .page_h1 {
    position: relative;
    padding-top: 80px;
    padding-bottom: 0.5em;
    font-family: "游明朝体", YuMincho, "游明朝", 'Yu Mincho', serif;
    line-height: 1.4;
    letter-spacing: 0;
}

#QUOTE .page_h1::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 325px;
    height: 1px;
    margin: 0 auto;
    background-color: #000;
}

#QUOTE .sec h2 {
    padding-top: 4px;
    padding-right: 0.5em;
    padding-bottom: 4px;
    padding-left: 0.5em;
    margin-top: 80px;
    font-size: 24px;
    font-weight: bold;
    line-height: 1.5;
    letter-spacing: 0.1em;
    color: #fff;
}

#QUOTE .sec h2:first-of-type {
    background-color: #221693;
}

#QUOTE .sec h2:nth-of-type(2) {
    background-color: #9b0b37;
}

#QUOTE .sec h2:last-of-type {
    background-color: #c64934;
}

#QUOTE .flex {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
}

#QUOTE .flex h3 {
    width: 160px;
    font-size: 20px;
    line-height: 1.2;
    text-align: center;
}

#QUOTE .flex .select,
#QUOTE .flex .display {
    border: 1px solid #b3b3b3;
}

#QUOTE .flex .select {
    width: 224px;
    margin-right: 20px;
    font-size: 18px;
}

#QUOTE .flex .display {
    width: 248px;
    font-size: 20px;
    background-color: #e6e6e6;
}

#QUOTE .flex .select select,
#QUOTE .flex .display input {
    height: 54px;
    border: none;
    line-height: 54px;
    text-align: right;
}

#QUOTE .flex .select select {
    width: 100% !important;
    padding-right: 0.5em;
    text-align: right;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
	direction: rtl;
}
#QUOTE .flex .select select option {
	text-align: right;
}

#QUOTE .flex .display input {
    width: calc(100% - 1.5em);
    background-color: transparent;
}

#QUOTE .sec .button-modal {
    max-width: 304px;
    padding-top: 6px;
    padding-bottom: 6px;
    margin-top: 40px;
    font-size: 20px;
    background-color: #443f3f;
}

#QUOTE .modal {
    display: none;
}

.modal-container .chead {
    display: flex;
    justify-content: space-between;
    padding: 5px 20px;
    line-height: 1.4;
    background-color: #e9eaf0;
    border: 2px solid #242c69;
    font-weight: bold;
    font-size: 24px;
    color: #242c69;
}

.modal-container .cbody dl {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    padding: 15px 20px;
    line-height: 1.4;
    border-bottom: 2px solid #bdc0d2;
    font-size: 20px;
}

.modal-container .cbody dl::after {
    content: '';
    border-top: 2px dotted;
    flex: auto;
    margin: 17px 10px 0;
}

.modal-container .cbody dl dd {
    order: 1;
}

#QUOTE .flex:last-of-type {
    margin-top: 80px;
    font-size: 28px;
    font-weight: bold;
    letter-spacing: 0.1em;
}

#QUOTE .flex:last-of-type p {
    line-height: 1;
}

#QUOTE .flex:last-of-type .sum {
    flex: 1;
    max-width: 516px;
    border: 3px solid #d8215e;
}

#QUOTE .flex:last-of-type .sum input {
    width: calc(100% - 2em);
    border: none;
    line-height: 72px;
    text-align: right;
}

@media screen and (min-width: 768px) {
#QUOTE .sec .submit {
    max-width: 388px;
    padding-top: 19px;
    padding-bottom: 19px;
    margin-top: 80px;
    font-size: 28px;
    background-color: #bc0c47;
}
}
#QUOTE .sec ul {
    list-style-type: none;
    list-style-position: inside;
    padding: 1em;
    border: 1px dotted #050505;
    margin-top: 80px;
    margin-bottom: 80px;
    font-family: "游ゴシック体", YuGothic, "游ゴシック", 'Yu Gothic', sans-serif;
    font-size: 19px;
}

#QUOTE .sec ul li {
    text-indent: -1em;
    padding-left: 1em;
}

body .modaal-close {
    position: absolute;
    right: -80px;
    top: -10px;
}

@media screen and (max-width: 767px) {
    #QUOTE .page_h1 {
        padding-top: 40px;
    }
    #QUOTE .sec h2 {
        padding-right: 0;
        padding-left: 0;
        margin-top: 40px;
        font-size: 21px;
        text-align: center;
    }
    #QUOTE .flex {
        display: block;
        margin-top: 20px;
    }
    #QUOTE .flex h3 {
        width: 100%;
    }
    #QUOTE .flex .select,
    #QUOTE .flex .display {
        width: 100%;
    }
    #QUOTE .flex .select {
        /* border: none; */
        margin-top: 20px;
        margin-right: 0;
        font-size: 20px;
    }
    #QUOTE .flex .display {
        margin-top: 10px;
    }
    #QUOTE .flex .select select {
        /* -webkit-appearance: none;
        appearance: none; */
        background-color: transparent;
        color: #333;
    }
    #QUOTE .sec .button-modal {
        margin-top: 20px;
    }
    .modal-container {
        margin-right: -15px;
        margin-left: -15px;
    }
    .modal-container .chead {
        padding: 5px 15px;
        font-size: 16px;
    }
    .modal-container .cbody dl {
        align-items: center;
        padding: 10px 10px;
        font-size: 11px;
    }
    .modal-container .cbody dl::after {
        margin: 0 7px;
    }
    #QUOTE .flex:last-of-type {
        margin-top: 40px;
        text-align: center;
    }
    #QUOTE .flex:last-of-type .sum {
        margin: 0 auto;
        margin-top: 20px;
    }
@media screen and (max-width: 767px) {
#QUOTE .sec .submit {
    max-width: 388px;
    padding-top: 13px;
    padding-bottom: 13px;
    margin-top: 80px;
    font-size: 20px;
    background-color: #bc0c47;
}
}
    #QUOTE .sec .submit {
        margin-top: 40px;
    }
    #QUOTE .sec ul {
        margin-top: 40px;
        margin-bottom: 40px;
    }
    body .modaal-close {
        position: absolute;
        right: 0px;
        top: -60px;
    }
}

@media screen and (max-width: 768px) {
.spNone{
display:none!important;
}
}