/* 全体 */
body {
    color: #222222;
    /* font-family: "Noto Sans JP", sans-serif; */
    font-family: "M PLUS 2", sans-serif;
}

h1 {
    font-size: 28px;
}

h2 {
    font-size: 22px;
}

input[type="checkbox"]:checked {
    accent-color: rgba(88, 111, 223, 0.7);
    background-color:rgba(88, 111, 223, 0.7);
    border-color: rgba(88, 111, 223, 0.7);
}

dd {
    margin-bottom: 0;
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    padding: 16px;
    background-color: white;
}
@media (max-width: 540px) {
    header {
        padding: 8px;
    }
}
header img {
    height: 56px;
}

.main {
    width: 100vw;
    margin-top: 100px;
    padding: 0;
}


.main-header {
    margin-top: 200px;
    margin-bottom: 80px;
    padding: 0 20px;
}
@media (max-width: 540px) {
    .main-header {
        margin-top: 100px;
        margin-bottom: 40px;
    }
}

.main-header p {
    margin-top: 40px;
    line-height: 2.0em;
}

/* シミュレーション入力 */
.main-input {
    width: 100vw;
    background-color: rgb(249, 248, 245);
}
.main-input-inner {
    margin: auto;
    padding: 60px 100px;
    max-width: 600px;
}
@media (max-width: 540px) {
    .main-input-inner {
        padding: 40px 20px;
    }
 }
.main-input-inner dl {
    margin-bottom: 60px;
}
.main-input-inner button {
    background-color: rgba(192, 92, 167, 0.44);
    color: #ffffff;
}

.input_row {
    display: flex;
    margin-bottom: 0px;
}
.input_text {
    flex: 1;
}
.input_unit {
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    width: 72px;
}

.input_error {
    color: red;
}


/* シミュレーション結果 */
.main-result {
    padding: 60px 20px;
    background-image: url("../img/back1.png");
    background-size: 500px;
    background-repeat: repeat;
}
.main-result-inner {
    padding: 40px 0px;
    max-width: 900px;
    margin: auto;
    background-color: #ffffff;
    border-radius: 6px;
    box-shadow: 0 10px 25px 0 rgba(0, 0, 0, .3);
}

.result_graph {
    text-align: center;
    height: 360px;
}
@media (max-width: 540px) {
    .result_graph {
        height: auto;
        margin-bottom: 20px;
    }
}

.graph_ratio {
    display: flex;
    justify-content: flex-end;
    width: 100%;
    height: 40px;
}
.graph_ratio_num {
    width: 50%;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    text-decoration:underline;
}

#revenue_result {
    display: none;
}
#workinghours_result {
    display: none;
}
.result_detail {
    margin: 60px 20px;
}
@media (max-width: 540px) {
    .result_detail {
        margin: 40px 10px;
    }
}
.result_revenue_detail_title {
    font-size: 40px;
    text-align: center;
}
@media (max-width: 540px) {
    .result_revenue_detail_title {
        font-size: 32px;
    }
}

.result_revenue_detail_description {
    background-color: rgba(88, 111, 223, 0.7);
    color: #ffffff;
    border-radius: 4px;
    /* width: 75%; */
    margin: 0px 0px 10px 0px;
    padding: 4px;
    text-align: center;
}
.result_revenue_detail_condition {
    /* display: none; */
    background-color: rgba(192, 92, 167, 0.44);
    color: #ffffff;
    border-radius: 4px;
    /* width: 75%; */
    margin: 0px 0px 12px 0px;
    padding: 4px;
    text-align: center;
}

/* プランの想定年収 */
.result_revenue_detail_income {
    display: flex;
    align-items: flex-end;
    /* margin-bottom: 8px; */
}
.result_revenue_detail_income_label {
    padding: 20px 0px 20px 0px;
    text-align: left;
    font-size: 16px;
    line-height: 20px;
    font-weight: bold;
}
.result_revenue_detail_income_num {
    font-size: 56px;
    text-align: center;
    flex: 1;
}
.result_revenue_detail_income_unit {
    padding: 16px 0px 16px 0px;
    text-align: right;
    font-size: 28px;
    font-weight: bold;
}
@media (max-width: 540px) {
    .result_revenue_detail_income_label {
        padding: 20px 0px 10px 0px;
        font-size: 14px;
        line-height: 16px;
    }
    .result_revenue_detail_income_num {
        font-size: 40px;
    }
    .result_revenue_detail_income_unit {
        padding: 16px 0px 10px 0px;
        font-size: 24px;
    }
}


.result_detail_switch input {
    width: 100%;
}

.result_revenue .result_detail dl {
    border-bottom: 1px solid rgb(211,211,211);
    height: 40px;
}

.result_workinghours .result_detail dl {
    border-bottom: 1px solid rgb(211,211,211);
}
.result_workinghours .result_detail .calc_col dl {
    height: 70px;
}
.result_workinghours_condition {
    background-color: rgba(88, 111, 223, 0.7);
    color: #ffffff;
    border-radius: 4px;
    /* width: 75%; */
    margin: 30px 0px 30px 0px;
    padding: 4px;
    text-align: center;
}
@media (max-width: 540px) {
    .result_workinghours_condition {
        margin-top: 0px;
    }
}
.result_workinghours_estimated {
    margin-top: 24px;
}
.result_workinghours_estimated_title {
    background-color: rgba(192, 92, 167, 0.44);
    color: #ffffff;
    border-radius: 4px;
    width: 75%;
    margin: auto;
    padding: 4px;
    text-align: center;
}
.result_workinghours_estimated_hour {
    font-size: 60px;
}
@media (max-width: 540px) {
    .result_workinghours_estimated_hour {
        font-size: 40px;
    }
}

.calc_col dd {
    white-space: nowrap
}
@media (max-width: 540px) {
    .calc_col {
        padding: 0;
    }
}

.back_input {
    margin-top: 40px;
    padding: 0 24px;
    width: 100%;
    text-align: end;
}
.back_input img {
    display: inline-block;
    height: 12px;
    margin-right: 16px;
}
.back_input a {
    display: inline-block;
    color: #222222;
}

/* フッダー */
footer {
    width: 100wh;
    /* margin-top: 40px; */
    padding: 20px 100px;
}
@media (max-width: 540px) {
    footer {
        padding: 20px 20px;
    }
 }

footer div {
    width: 400px;
    text-align: right;
}
footer ul {
}
footer li {
    padding: 4px;
    list-style-type: none;
}
footer a {
    color: #222222;
    /* text-decoration: none; */
}
footer a:hover {
    color: #aaaaaa;
}
