/*節税1分診断シミュレーター*/

.tax-saving-simulator {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
    max-width: 720px !important;
    width: 720px;
    margin: 0 auto 2rem;
}

.tax-saving-simulator h3 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    border: none;
    color: #222;
}
.tax-saving-simulator h3:after {
    display: none;
}

.tax-saving-simulator_wrapper {
    background: #f5f5f5;
    padding: 30px 40px;
}

.tax-saving-simulator_wrapper p {
    font-size: 14px;
}

.tax-saving-simulator_wrapper p.caption {
    margin-bottom: 20px;
}

.tax-saving-simulator input[type="tel"], .tax-saving-simulator input[type="email"], .tax-saving-simulator input[type="text"] {
    border-radius: 3px;
    border: none;
    line-height: 100%;
    padding: 10px;
    max-width: 320px;
    width: 100%;
    background: #f9f9f9;
    font-size: 22px;
    box-shadow: 1px 3px 3px #eee inset;
    text-align: right;
}

.tax-saving-simulator input[type="tel"]:focus, .tax-saving-simulator input[type="email"]:focus, .tax-saving-simulator input[type="text"]:focus {
    outline: none;
}


/*
.tax-saving-simulator input[type="tel"].right,
.tax-saving-simulator input[type="email"].right,
.tax-saving-simulator input[type="text"].right, 
.tax-saving-simulator span.right {
  float: right;
}
*/

.tax-saving-simulator span.right {
    margin: 0 20px 0 5px;
}

.tax-saving-simulator textarea {
    border-radius: 3px;
    border: none;
    box-shadow: 1px 3px 3px #eee inset;
    height: 120px;
    padding: 10px;
    font-size: 14px;
    background: #f9f9f9;
}

.tax-saving-simulator textarea:focus {
    outline: none;
}

.tax-saving-simulator_content {
    background: #fff;
    padding: 20px;
    margin-bottom: 40px;
}

.tax-saving-simulator_content .item_num {
    background: #5c110e;
    display: inline-block;
    color: #fff;
    width: 24px;
    font-size: 16px;
    text-align: center;
    line-height: 100%;
    padding: 4px 0;
    margin-right: 10px;
    margin-bottom: 7px;
}

.tax-saving-simulator_content .item_num.small {
    font-size: 14px;
    width: 20px;
    padding: 2px 0;
    margin-right: 5px;
    margin-left: 5px;
}

.tax-saving-simulator .form-row {
    display: flex;
    margin-bottom: 20px;
    position: relative;
}

.tax-saving-simulator .form-row .inquiry_item {
    width: 100%;
    margin: 0 10px;
    border-bottom: 1px solid #f5f5f5;
    padding: 10px;
}

.tax-saving-simulator .form-row input {
    width: 100%;
}

.tax-saving-simulator .form-row p {
    text-align: right;
    font-size: 14px;
    font-weight: bold;
}

.tax-saving-simulator_form-title:first-child {
    padding-top: 0;
    border-top: none;
}

.tax-saving-simulator_form-title {
    line-height: 100%;
    margin-bottom: 20px;
    display: block;
    font-weight: bold;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.tax-saving-simulator_form-group:first-of-type {
    text-align: right;
}

.tax-saving-simulator_form-group {
    margin-bottom: 40px;
}

.tax-saving-simulator_form-group::after {
    content: ' ';
    clear: right;
    display: block;
}

.tax-saving-simulator_form-group.row {
    display: flex;
}

.tax-saving-simulator_form-group.row .grid {
    width: 50%;
    position: relative;
}

.tax-saving-simulator_form-group.row .grid label.radio_label {
    display: block;
    background: #eee;
    width: 85%;
    margin: auto;
    cursor: pointer;
    padding: 10px 0;
    border-radius: 3px;
    text-align: center;
    font-weight: bold;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    transform: translate3d(0, 0, 0);
}

.tax-saving-simulator_form-group.row .grid label.radio_label.selected, .tax-saving-simulator_form-group.row .grid label.radio_label:hover {
    background: #5c110e;
    color: #fff;
}

.tax-saving-simulator_form-group.row .grid label.required {
    position: absolute;
    top: 15px;
    left: 0;
    display: block;
    padding: 5px 10px;
    color: #ff0000;
    border: 1px solid #ff0000;
    font-size: 12px;
    margin: 0;
}

.tax-saving-simulator_form-group.row .grid p.item {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 0;
}

.tax-saving-simulator_form-group.row .grid p.item.text-right {
    position: absolute;
    top: 15px;
    right: 0;
}

.tax-saving-simulator_form-group.row .grid textarea, .tax-saving-simulator_form-group.row .grid input[type="tel"], .tax-saving-simulator_form-group.row .grid input[type="email"], .tax-saving-simulator_form-group.row .grid input[type="text"] {
    width: 100%;
}

.tax-saving-simulator_form-group.row .grid textarea:focus, .tax-saving-simulator_form-group.row .grid input[type="tel"]:focus, .tax-saving-simulator_form-group.row .grid input[type="email"]:focus, .tax-saving-simulator_form-group.row .grid input[type="text"]:focus {
    outline: none;
}

.tax-saving-simulator_form-group.row .grid input[type="radio"] {
    display: none;
}

.tax-saving-simulator_form-group.row .grid input[type="radio"]:checked+label {
    background: #000;
    color: #fff;
}

.tax-saving-simulator_form-group.row.white-space {
    margin-bottom: 20px;
}

.tax-saving-simulator_form-group.row.white-space .grid {
    padding: 10px 10px 20px;
    margin: 0 5px 0;
    border-bottom: 1px solid #f5f5f5;
}

.tax-saving-simulator input[type="submit"], .tax-saving-simulator .btn_execute {
    display: block;
    background: #5c110e;
    width: 60%;
    padding: 10px 0;
    text-align: center;
    margin: 0 auto 20px;
    font-weight: bold;
    border: 1px solid #5c110e;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    transform: translate3d(0, 0, 0);
}

input.wpcf7-submit {
    background: #5c110e !important;
}

.tax-saving-simulator input[type="submit"]:hover, .tax-saving-simulator .btn_execute:hover {
    background: transparent !important;
    color: #5c110e;
}

.tax-saving-simulator input[type="submit"].disabled, .tax-saving-simulator .btn_execute.disabled {
    background: #ccc;
    cursor: not-allowed;
    border: 1px solid #cbcbcb;
}

.tax-saving-simulator input[type="submit"].disabled:hover, .tax-saving-simulator .btn_execute.disabled:hover {
    color: #fff;
}

.tax-saving-simulator .btn_reset {
    width: 150px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
    cursor: pointer;
    padding: 5px 0;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    transform: translate3d(0, 0, 0);
}

.tax-saving-simulator .btn_reset:hover {
    background: #ccc;
}

.tax-saving-simulator .check_result {
    width: 120px;
    padding: 10px;
    background-color: #5c110e;
    color: #fff;
    margin: 0 auto 20px;
    display: block;
    text-align: center;
}

.tax-saving-simulator h3.suggestion {
    font-size: 26px;
    font-weight: bold;
    line-height: 140%;
}

.tax-saving-simulator .caption_for_inquiry {
    text-align: center;
}

.tax-saving-simulator .article_link_block {
    color: #000;
    display: flex;
    text-decoration: none;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    transform: translate3d(0, 0, 0);
}

.tax-saving-simulator .article_link_block .thumbnail {
    width: 200px;
    height: 150px;
    margin-right: 20px;
    float: left;
    background: #ccc;
}

.tax-saving-simulator .article_link_block .article_info {
    width: calc(100% - 220px);
}

.tax-saving-simulator .article_link_block .article_info label {
    font-weight: bold;
    font-size: 14px;
}

.tax-saving-simulator .article_link_block .article_info h4 {
    font-size: 18px;
    margin: 10px 0;
}

.tax-saving-simulator .article_link_block .article_info h4:after {
    display: none;
}

.tax-saving-simulator .article_link_block .article_info p {
    font-size: 12px;
}

.tax-saving-simulator .article_link_block .article_info span.fake_link {
    color: #5c110e;
    font-size: 12px;
    text-decoration: underline;
}

.tax-saving-simulator .article_link_block:hover {
    background: #f5f5f5;
}

.tax-saving-simulator .wpcf7-not-valid-tip {
    font-size: 12px;
}

.tax-saving-simulator .wpcf7 form.invalid .wpcf7-response-output, .tax-saving-simulator .wpcf7 form.unaccepted .wpcf7-response-output {
    font-size: 14px;
}

.tax-saving-simulator .wpcf7-response-output {
    font-size: 14px;
}

@media (max-width: 674px) {
    .tax-saving-simulator {
        width: 100%;
    }
    .tax-saving-simulator_wrapper {
        padding: 30px;
    }
    .tax-saving-simulator_content {
        padding: 16px;
    }
    .tax-saving-simulator h3 {
        font-size: 18px;
    }
    .tax-saving-simulator h3.suggestion {
        font-size: 16px;
        padding: 0 10px;
    }
}

@media (max-width: 674px) {
    .tax-saving-simulator_wrapper {
        padding: 30px 2%;
    }
    .tax-saving-simulator_wrapper .hidden-xs {
        display: none;
    }
    .tax-saving-simulator_wrapper .article_link_block {
        display: block;
    }
    .tax-saving-simulator_wrapper .article_link_block .thumbnail {
        width: 100%;
        margin-right: 0;
        margin-bottom: 6px;
        height: auto;
    }
    .tax-saving-simulator_wrapper .article_link_block .article_info {
        width: 100%;
    }
    .tax-saving-simulator_form-group.row .grid label.required {
        top: 10px;
    }
    .tax-saving-simulator input[type="tel"], .tax-saving-simulator input[type="email"], .tax-saving-simulator input[type="text"] {
        max-width: none;
        width: 75%;
    }
    .tax-saving-simulator_form-group.row .grid textarea, .tax-saving-simulator_form-group.row .grid input[type="tel"], .tax-saving-simulator_form-group.row .grid input[type="email"], .tax-saving-simulator_form-group.row .grid input[type="text"] {
        font-size: 14px;
    }
}




/*税金シミュレータータブメニュー*/

.tab-menu {
    display: flex;
    margin: 0;
    padding: 0 2%;
}

.tab-menu__item {
    list-style: none;
    box-sizing: content-box;
    width: 48%;
    margin: 0 1%;
}

.tab-trigger { /* label */
    display: block;
    color: #fff;
    background: #ccc;
    margin-right: 5px;
    width: 100%;
    height: 60px;
    margin-bottom: -1px;
    border: 1px solid #ccc;
    border-bottom: 0px solid #ffffff;
    border-radius: 3px 3px 0 0;
    z-index: 1;
    position: relative;
    text-align: center;
    padding: 10px 0;
    text-decoration: none;
    font-size: 15px;
    font-weight: bold;
    line-height: 40px;
    cursor: pointer;
}

.tab-trigger.is-active {
    color: #333;
    background:#fff;
    pointer-events: none;
}

/* タブコンテンツ */
.tab-content {
  border: 1px solid #ccc;
}
.tab-content__item {
  box-sizing: border-box;
  padding: 10px;
  display: none;
  text-align: left;
}
.tab-content__item.is-active {
  display: block;
  animation: fade 0.5s ease;
}

@keyframes fade {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}







/*税金シミュレーター*/

.tax-simulator {
    font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", sans-serif;
    max-width: 720px !important;
    width: 720px;
    margin: 0 auto 2rem;
}

.tax-simulator h3 {
    font-size: 24px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
    border: none;
    color: #222;
}
.tax-simulator h3:after {
    display: none;
}

.tax-simulator_wrapper {
    background: #f5f5f5;
    padding: 30px 40px;
}

.tax-simulator_wrapper p {
    font-size: 16px;
}

.tax-simulator_wrapper p.caption {
    margin-bottom: 20px;
}

.tax-simulator_wrapper p.tax-simulator_income_result_text {
    font-size: 28px;
    font-weight: bold;
    text-align: right;
    margin: 0;
}

.tax-simulator_wrapper p.tax-simulator_income_result_text span:first-of-type {
    float: left;
}

.tax-simulator_wrapper p.tax-simulator_income_result_text span:last-of-type {
    margin-left: 20px;
}

.tax-simulator input[type="tel"], .tax-simulator input[type="email"], .tax-simulator input[type="text"] {
    border-radius: 3px;
    border: none;
    line-height: 100%;
    padding: 10px;
    max-width: 320px;
    width: 100%;
    background: #f9f9f9;
    font-size: 22px;
    box-shadow: 1px 3px 3px #eee inset;
    text-align: right;
}

.tax-simulator input[type="tel"]:focus, .tax-simulator input[type="email"]:focus, .tax-simulator input[type="text"]:focus {
    outline: none;
}


/*
.tax-simulator input[type="tel"].right,
.tax-simulator input[type="email"].right,
.tax-simulator input[type="text"].right, 
.tax-simulator span.right {
  float: right;
}
*/

.tax-simulator span.right {
    margin: 0 20px 0 5px;
}

.tax-simulator textarea {
    border-radius: 3px;
    border: 1px solid #ccc;
    height: 120px;
    padding: 10px;
    font-size: 14px;
    background: #f9f9f9;
}

.tax-simulator textarea:focus {
    outline: none;
}

.tax-simulator_content {
    background: #fff;
    padding: 20px;
    margin-bottom: 40px;
}

.tax-simulator_content .item_num {
    background: #5c110e;
    display: inline-block;
    color: #fff;
    width: 24px;
    font-size: 16px;
    text-align: center;
    line-height: 100%;
    padding: 4px 0;
    margin-right: 10px;
    margin-bottom: 7px;
}

.tax-simulator_content .item_num.small {
    font-size: 14px;
    width: 20px;
    padding: 2px 0;
    margin-right: 5px;
    margin-left: 5px;
}

.tax-simulator .form-row {
    display: flex;
    margin-bottom: 20px;
    position: relative;
}

.tax-simulator .form-row .inquiry_item {
    width: 100%;
    margin: 0 10px;
    border-bottom: 1px solid #f5f5f5;
    padding: 10px;
}

.tax-simulator .form-row input {
    width: 100%;
}

.tax-simulator .form-row p {
    text-align: right;
    font-size: 14px;
    font-weight: bold;
}

.tax-simulator_form-title:first-child {
    padding-top: 0;
    border-top: none;
}

.tax-simulator_form-title {
    line-height: 100%;
    margin-bottom: 20px;
    display: block;
    font-weight: bold;
    padding-top: 30px;
    border-top: 1px solid #eee;
}

.tax-simulator_form-group {
    text-align: right;
}

.tax-simulator_form-group {
    margin-bottom: 40px;
}

.tax-simulator_form-group::after {
    content: ' ';
    clear: right;
    display: block;
}

.tax-simulator_form-group.row {
    display: flex;
}

.tax-simulator_form-group.row .grid {
    width: 50%;
    position: relative;
}

.tax-simulator_form-group.row .grid label.radio_label {
    display: block;
    background: #eee;
    width: 85%;
    margin: auto;
    cursor: pointer;
    padding: 10px 0;
    border-radius: 3px;
    text-align: center;
    font-weight: bold;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    transform: translate3d(0, 0, 0);
}

.tax-simulator_form-group.row .grid label.radio_label.selected, .tax-simulator_form-group.row .grid label.radio_label:hover {
    background: #5c110e;
    color: #fff;
}

.tax-simulator_form-group.row .grid label.required {
    position: absolute;
    top: 15px;
    left: 0;
    display: block;
    padding: 5px 10px;
    color: #ff0000;
    border: 1px solid #ff0000;
    font-size: 12px;
    margin: 0;
}

.tax-simulator_form-group.row .grid p.item {
    font-weight: bold;
    font-size: 14px;
    margin-bottom: 0;
}

.tax-simulator_form-group.row .grid p.item.text-right {
    position: absolute;
    top: 15px;
    right: 0;
}

.tax-simulator_form-group.row .grid textarea, .tax-simulator_form-group.row .grid input[type="tel"], .tax-simulator_form-group.row .grid input[type="email"], .tax-simulator_form-group.row .grid input[type="text"] {
    width: 100%;
}

.tax-simulator_form-group.row .grid textarea:focus, .tax-simulator_form-group.row .grid input[type="tel"]:focus, .tax-simulator_form-group.row .grid input[type="email"]:focus, .tax-simulator_form-group.row .grid input[type="text"]:focus {
    outline: none;
}

.tax-simulator_form-group.row .grid input[type="radio"] {
    display: none;
}

.tax-simulator_form-group.row .grid input[type="radio"]:checked+label {
    background: #000;
    color: #fff;
}

.tax-simulator_form-group.row.white-space {
    margin-bottom: 20px;
}

.tax-simulator_form-group.row.white-space .grid {
    padding: 10px 10px 20px;
    margin: 0 5px 0;
    border-bottom: 1px solid #f5f5f5;
}

.tax-simulator input[type="submit"], .tax-simulator .btn_execute {
    display: block;
    background: #5c110e;
    width: 60%;
    text-align: center;
    margin: 0 auto 20px;
    font-weight: bold;
    border: 1px solid #5c110e;
    border-radius: 3px;
    color: #fff;
    cursor: pointer;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    transform: translate3d(0, 0, 0);
}

.tax-simulator .btn_execute a{
    color: #fff;
    padding: 10px 0;
    text-decoration: none;
    display: block;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    transform: translate3d(0, 0, 0);
}

.tax-simulator .btn_execute a:hover{
    color: #5c110e;
}

input.wpcf7-submit {
    background: #5c110e !important;
}

.tax-simulator input[type="submit"]:hover, .tax-simulator .btn_execute:hover {
    background: transparent !important;
    color: #5c110e;
}

.tax-simulator input[type="submit"].disabled, .tax-simulator .btn_execute.disabled {
    background: #ccc;
    cursor: not-allowed;
    border: 1px solid #cbcbcb;
}

.tax-simulator input[type="submit"].disabled:hover, .tax-simulator .btn_execute.disabled:hover {
    color: #fff;
}

.tax-simulator .btn_reset {
    width: 150px;
    font-size: 14px;
    font-weight: bold;
    text-align: center;
    margin: 0 auto;
    cursor: pointer;
    padding: 5px 0;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    transform: translate3d(0, 0, 0);
}

.tax-simulator .btn_reset:hover {
    background: #ccc;
}

#deduction_title {
    width: 100%;
    padding: 15px 0;
    border-radius: 5px 5px 0 0;
    background-color: #5c110e;
    font-size: 20px;
    color: #fff;
    margin: 0 auto 0px;
    display: block;
    text-align: center;
}

#deduction_toggle_btn {
    margin: 10px 0;
    text-align: center;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    transform: translate3d(0, 0, 0);
}

#deduction_toggle_btn:hover {
    opacity: .5;
}

#deduction_toggle_btn span {
    position: relative;
    padding: 4px 30px 0 16px;
    font-size: 22px;
    font-weight: bold;
    text-decoration-line: underline;
}

#deduction_toggle_btn span::before, #deduction_toggle_btn span::after {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
    margin: auto;
    content: "";
    vertical-align: middle;
}

#deduction_toggle_btn span:before {
    width: 24px;
    height: 24px;
    float: right;
    background: #5c110e;
}

#deduction_toggle_btn span:after {
    right: 7px;
    top: 5px;
    box-sizing: border-box;
    width: 10px;
    height: 10px;
    border: 5px solid transparent;
    border-top: 8px solid #fff;
}

#deduction_toggle_btn.open span:after {
    transform: rotateX(180deg);
    top: -5px;
}

ul#deduction_box {
    padding: 0;
}

ul#deduction_box li {
    list-style: none;
    display: flex;
    justify-content: space-between;
    margin: 0 auto;
    line-height: 43px;
}

#deduction_box #deduction_basic {
    border-top: 1px solid #eee;
    border-bottom: 1px solid #eee;
    margin: 0 0 10px;
    padding: 10px 0;
}

#deduction_box #deduction_basic p.deduction_input {
    margin-right: 20px;
    font-weight: bold;
    font-size: 20px;
}

.tax-simulator_wrapper p.deduction_text, .tax-simulator_wrapper p.deduction_input {
    margin: 12px 0;
}

.flex_deduction {
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
}

.deduction_input input[type="tel"], .deduction_input input[type="email"], .deduction_input input[type="text"] {
    border-radius: 3px;
    border: none;
    line-height: 100%;
    padding: 10px;
    max-width: 260px;
    width: 100%;
    background: #f9f9f9;
    font-size: 22px;
    box-shadow: 1px 3px 3px #eee inset;
    text-align: right;
}

.deduction_input input[type="tel"]:focus, .deduction_input input[type="email"]:focus, .deduction_input input[type="text"]:focus {
    outline: none;
}

.calc_result {
    width: 100%;
    padding: 15px 0;
    border-radius: 5px 5px 0 0;
    background-color: #5c110e;
    font-size: 20px;
    color: #fff;
    margin: 0 auto 0px;
    display: block;
    text-align: center;
}

.tax-simulator h3.suggestion {
    font-size: 26px;
    font-weight: bold;
    line-height: 140%;
}

.tax-simulator .caption_for_inquiry {
    font-size: 14px;
    margin-top: 35px;
}

.tax-simulator .caption_for_inquiry span {
    display: block;
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.flex {
    display: flex;
    justify-content: space-around;
    margin: 0 auto;
}

.flex_s {
    display: flex;
    justify-content: space-around;
    width: 90%;
    margin: 0 auto;
}

#tax-result_box_white, #tax-result_box_blue {
    width: 47%;
}
#tax-result_box_blue_l {
    width: 70%;
}
#tax-result_box_white .tax-result_title_box{
    background: #93a4ad;
    padding: 5px 15px;
    font-weight: bold;
    color: #fff;
    line-height: 1em;
}

#tax-result_box_blue .tax-result_title_box,
#tax-result_box_blue_l .tax-result_title_box {
    background: #296598;
    padding: 5px 15px;
    font-weight: bold;
    color: #fff;
    line-height: 1em;
}

.tax-simulator_wrapper p.tax-result_title, .tax-simulator_wrapper p.tax-result_total {
    font-size: 2.4rem;
    margin: 0.5em 0;
    line-height: 0.8em;
}

.tax-simulator_wrapper p.tax-result_title span {
    font-size: 1.3rem;
}

.tax-simulator_wrapper p.tax-result_total {
    text-align: right;
}

.tax-simulator_wrapper p.tax-result_total span {
    padding-left: 5px;
}

.tax-result {
    background: #fff;
    padding: 5px 15px;
    line-height: 1em;
    border-bottom: 1px solid #eee;
}

.tax-result:last-child {
    border-bottom: none;
}

.tax-simulator_wrapper .tax-result p.tax-result_title, .tax-simulator_wrapper .tax-result p.tax-result_ammount {
    font-size: 1.8rem;
}

.tax-simulator_wrapper .tax-result p.tax-result_ammount {
    text-align: right;
}

.tax-simulator_wrapper .tax-result p.tax-result_ammount span {
    font-size: 2rem;
    padding-left: 5px;
}

.tax-simulator p.suggestion {
    font-size: 23px;
    font-weight: bold;
    line-height: 140%;
    text-align: center;
    margin: 1.5em 0;
    position: relative;
    z-index: 1;
}

.tax-simulator p.suggestion_s {
    font-size: 20px;
    font-weight: bold;
    line-height: 150%;
    text-align: center;
    margin: 1.5em 0;
}

.tax-simulator p.suggestion span.blue {
    color: #296598;
    position: relative;
    font-size: 26px;
}

.tax-simulator p.suggestion span {
    display: inline-block;
    position: relative;
}
.tax-simulator p.suggestion span:before {
    content: "";
    position: absolute;
    width: auto;
    background: #ece307;
    height: 7px;
    top: 23px;
    left: 0;
    right: 0;
    margin: auto;
    z-index: -1;
}

.tax-simulator p.to_contact {}

.tax-simulator p.to_contact a {
    display: block;
    color: #fff;
    text-decoration: none;
    background: #bf2669;
    border: 1px solid #bf2669;
    width: 60%;
    margin: 0 auto 30px;
    font-size: 22px;
    padding: 10px 0;
    border-radius: 5px;
    text-align: center;
    -webkit-transition: all 0.4s ease;
    -moz-transition: all 0.4s ease;
    -ms-transition: all 0.4s ease;
    -o-transition: all 0.4s ease;
    transition: all 0.4s ease;
    transform: translate3d(0, 0, 0);
}

.tax-simulator p.to_contact a:hover {
    background: transparent !important;
    color: #bf2669;
}

.tax-simulator .border-top {
    border-top: 1px solid #ddd;
    padding-top: 20px;
}

.tax-simulator .tac {
    text-align: center;
}

.tax-simulator .tal {
    text-align: left;
}

.tax-simulator .tar {
    text-align: right;
}


/* 点滅 */

.tax-simulator .caution {
    display: block;
    margin: 0 auto 30px;
    animation: blink 0.7s ease-out infinite alternate;
}

.blink {
    display: block;
    margin: 0 auto;
    animation: blink 0.7s ease-out infinite alternate;
}

@keyframes blink {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}


@media (max-width: 674px) {
    .tax-simulator {
        width: 100%;
    }
    .tax-simulator_wrapper {
        padding: 30px;
    }
    .tax-simulator h3.suggestion {
        font-size: 18px;
        padding: 0 10px;
    }
    .tax-simulator_wrapper p {
        font-size: 14px;
    }
}

@media (max-width: 674px) {
    .tax-simulator_wrapper {
        padding: 30px 2%;
    }
    .tax-simulator_wrapper .hidden-xs {
        display: none;
    }
    .tax-simulator_form-group {
        margin-bottom: 20px;
    }
    .tax-simulator_form-title {
        margin-bottom: 10px;
    }
    .tax-simulator input[type="tel"], .tax-simulator input[type="email"], .tax-simulator input[type="text"] {
        max-width: none;
        width: 68%;
    }
    #deduction_toggle_btn span {
        font-size: 16px;
    }
    .tax-simulator .caption_for_inquiry span {
        font-size: 12px;
    }
    .tax-simulator .caption_for_inquiry {
        font-size: 12px;
    }
    .tax-simulator span.right {
        margin: 0 0px 0 5px;
    }
    .tax-simulator_wrapper p.deduction_text {
        width: 40%;
    }
    .tax-simulator_wrapper p.deduction_input {
        text-align: right;
        width: 60%;
    }
    ul#deduction_box li {
        line-height: inherit;
    }
    
    .tax-simulator_wrapper p.tax-simulator_income_result_text {
        font-size: 20px;
    }
    .tax-simulator p.suggestion {
        font-size: 16px;
        line-height: 150%;
        margin: 1.6em 0;
    }
    .tax-simulator p.suggestion_s {
        font-size: 14px;
        line-height: 140%;
        margin: 1.6em 0;
    }
    .tax-simulator p.suggestion span:before {
        height: 5px;
        top: 16px;
    }
    .flex_s {
        width: 100%;
    }
    .tax-result {
        padding: 10px 15px;
    }
    .tax-simulator_wrapper p.tax-result_title,
    .tax-simulator_wrapper p.tax-result_total {
        font-size: 1.5rem;
        line-height: inherit;
    }
    .tax-simulator_wrapper p.tax-result_title span {
        font-size: 0.8rem;
    }
    .tax-simulator_wrapper .tax-result p.tax-result_title,
    .tax-simulator_wrapper .tax-result p.tax-result_ammount {
        font-size: 1.5rem;
        line-height: 1.2em;
    }
    .tax-simulator_wrapper .tax-result p.tax-result_ammount span {
        font-size: 1.5rem;
        font-weight: bold;
    }
    .tax-simulator .caution {
        width: 16%;
    }
    .tax-simulator p.to_contact a {
        width: 80%;
    }
}


/*common*/

.pc_none{display: none;}
.sp_none{display: block;}

@media (max-width: 674px) {
    .pc_none{display: block;}
    .sp_none{display: none;}
}