@charset "utf-8";

:root {
  --vw: 100px;
  --vh: 100px
}

/******************************** PC ************************************/
@media(min-width:769px),
print {
  /* 共通クラス上書き　「calculation_page」を画面用クラスとして指定*/
  .calculation_page .pageTtl_item,
  .pageTtl_item span {
    color: #fff;
    display: block;
    font-size: 42px;
    line-height: 70px;
    text-align: center;
  }

  .calculation_page .calc_list {
    margin-top: 0;
    margin-bottom: 70px;
  }

  .calculation_page .row {
    max-width: 1122px;
  }

  .calc {
    padding-bottom: 110px;
    font-size: 27px
  }

  .calc-area {
    padding-bottom: 142px;
  }

  .calc input,
  .calc select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    border-radius: 8px;
    background-color: #e9e9e9
  }

  .calc input[type=text],
  .calc select[type=text] {
    padding: 18px 22px;
    font-size: 40px;
    text-align: right;
    height: 75px;
  }

  .calc input[type=radio],
  .calc select[type=radio] {
    display: none
  }

  .calc input::-webkit-input-placeholder {
    color: #b7b7b7
  }

  .calc input::-moz-placeholder {
    color: #b7b7b7
  }

  .calc input:-ms-input-placeholder {
    color: #b7b7b7
  }

  .calc input::-ms-input-placeholder {
    color: #b7b7b7
  }

  .calc input::placeholder {
    color: #b7b7b7
  }

  .calc .common_ttl .ttl {
    margin-bottom: 44px;
    font-size: 2.75rem;
    line-height: 1.5
  }

  .calc_list {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    margin-top: 46px
  }

  .calc_item {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    width: 534px;
    padding: 12px 45px 66px;
    border-radius: 8px;
    background-color: #fff
  }
  
  .calc_item:last-of-type {
    margin-left: 54px;
  }

  .calc_item_box {
    border-bottom: 2px solid #93CEC3;
    display: flex;
    padding-bottom: 10px;
    justify-content: center;
  }

  .calc_item_img {
    height: 140px;
    width: 148px;
  }

  .calc_item_ttl_box {
    align-self: end;
    margin-left: 20px;
  }

  .calc_item_ttl {
    color: #50b6a4;
    font-size: 27px;
    margin-bottom: 12px;
  }

  .calc_item_ttl_L {
    color: #50b6a4;
    font-size: 38px;
  }

  .calc_item_ttl_L span {
    color: #50b6a4;
    font-weight: 700;
    background-image: radial-gradient(circle at center, #50b6a4 20%, transparent 20%); /* 点の色とサイズ調整 */
    background-position: top right;
    background-repeat: repeat-x;
    padding-top: 4px;
    background-size: 1em 0.3em;
  }

  /*************************コンテンツ****************************/
  .calc_condition {
    padding: 0 22px;
  }

  .calc_condition_item {
    padding: 22px 0
  }

  .calc_condition_item:not(:first-of-type) {
    border-top: 1px solid #E3E3E3;
  }

  .calc_condition_item:last-of-type {
    padding-bottom: 0
  }

  .calc_condition .income_box_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    margin-top: 10px
  }

  /* income_boxはjsで使われているため、スタイルクラス作成 */
  .calc_condition .income_box_wrap .income_box_elem {
    margin-right: 10px;
    width: calc(100% - 130px);
  }

  .calc_condition .radio_btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    justify-content: space-around;
  }

  .calc_condition .radio_btn input[type=radio]:checked+label:after {
    position: absolute;
    top: 12px;
    left: 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background-color: #50b6a4;
    content: "";
  }

  .calc_condition .radio_btn label {
    position: relative;
    padding-left: 48px;
    line-height: 20px;
    cursor: pointer;
    white-space: nowrap;
  }

  .calc_condition .radio_btn label:before {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 28px;
    height: 28px;
    margin: auto;
    border-radius: 50%;
    background: #e9e9e9;
    content: "";
    margin-left: 10px;
  }

  .calc_condition .radio_btn label:after {
    content: none
  }

  .calc_condition .child_numBox p{
    margin-bottom: 34px;
  }

  .calc_condition .child_numBox {
    padding-top: 30px;
  }

  .calc_condition .child_numBox .child_num li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    margin-bottom: 20px;
  }

  .calc_condition .child_numBox .child_num li span {
    width: 126px;
    margin-right: 10px;
  }

  .calc_condition .child_numBox .child_num li .select_area {
    position: relative;
    margin-right: 10px
  }

  .calc_condition .child_numBox .child_num li .select_area:after {
    display: block;
    position: absolute;
    top: 0;
    right: 8px;
    bottom: 0;
    width: 0;
    height: 0;
    margin: auto;
    border-width: 8px 4px 0;
    border-style: solid;
    border-color: #00c08a transparent transparent;
    content: "";
    pointer-events: none
  }

  .calc_condition .child_numBox .child_num li select {
    font-size: 31px;
    padding: 12px 25px;
  }

  .calc_condition .child_numBox .child_num li select:hover {
    cursor: pointer
  }

  .calc_condition .child_numBox .child_num li select::-ms-expand {
    display: none
  }

  .calc_condition .child_numBox .child_num li+li {
    margin-top: 9px
  }

  /* jsで使用中↓ここから */
  .js__calcAnswer {
    margin-top: 138px;
  }

  .hideElem {
    display: none;
  }
  /* jsで使用中↑ここまで */

  .calc_answer .popup_wrap {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 60px 30px 45px;
    border: 6px solid #46AD9A;
    border-radius: 8px;
    background-color: #fff
  }

  .answerbox_ttl {
    color: #46AD9A;
    font-size: 38px;
    text-align: center;
    margin-bottom: 45px;
  }

  .calc_answer .popup_wrap .answerbox_simulation .answer_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 34px;
    font-size: 33px;
  }

  .calc_answer .popup_wrap .answerbox_simulation .answer_container .answerbox_simulation_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    font-size: 1.25rem;
    opacity: 0;
    -webkit-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease;
    will-change: opacity
  }

  .calc_answer .popup_wrap .answerbox_simulation .answer_container .answerbox_simulation_box.show {
    opacity: 1
  }

  .calc_answer .popup_wrap .answerbox_simulation .answer_container input {
    width: 150px;
    height: 76px;
    margin: 0 16px;
    text-align: center;
    font-size: 31px;
    line-height: 53px;
  }

  .calc_note {
    font-size: 17px;
    margin-top: 32px;
    margin-bottom: 130px;
    line-height: 29px;
    text-align: center
  }

  .calc .common_btn {
    width: 420px
  }
}

/******************************** SP ************************************/
@media only screen and (max-width:768px) {
  /* 共通クラス上書き　「calculation_page」を画面用クラスとして指定*/
  .calculation_page .pageTtl {
    height: unset;
    padding: 75px 30px 72px;
  }

  .calculation_page .pageTtl_item,
  .calculation_page .pageTtl_item span {
    color: #fff;
    font-size: 37px;
    line-height: 61px;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: break-word;
    display: block;
  }

  .calculation_page .pageTtl_item span {
    font-size: 21px;
    line-height: 36px;
    margin-bottom: 34px;
  }

  .calculation_page .calc_list {
    margin-bottom: 36px;
  }

  .calculation_page .sec {
    padding: 50px 0 66px;
  }

  .calc {
    font-size: 20px
  }

  .calc input,
  .calc select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    width: 100%;
    border-radius: 1.0416666666666665vw;
    background-color: #e9e9e9
  }

  .calc input[type=text],
  .calc select[type=text] {
    padding: 14px 16px;
    font-size: 31px;
    line-height: 53px;
    text-align: right
  }

  .calc input[type=radio],
  .calc select[type=radio] {
    display: none
  }

  .calc input::-webkit-input-placeholder {
    color: #b7b7b7
  }

  .calc input::-moz-placeholder {
    color: #b7b7b7
  }

  .calc input:-ms-input-placeholder {
    color: #b7b7b7
  }

  .calc input::-ms-input-placeholder {
    color: #b7b7b7
  }

  .calc input::placeholder {
    color: #b7b7b7
  }

  .calc .common_ttl .ttl {
    font-size: 7.03125vw;
    letter-spacing: 0;
    line-height: 1.3
  }

  .calc .common_btn {
    font-size: 23px;
    height: 74px;
  }
  
  .calc_item {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 16px 10px 36px;
    border-radius: 1.0416666666666665vw;
    background-color: #fff
  }

  .calc_item:last-child {
    margin-top: 36px;
  }

  .calc_item_ttl {
    color: #50b6a4;
    font-size: 27px;
    line-height: 46px;
  }

  /* 養育費を〇〇側 */
  .calc_item_ttl_L {
    color: #50b6a4;
    line-height: 65px;
    font-size: 38px;
  }

  .calc_item_ttl_L span {
    color: #50b6a4;
    font-weight: 700;
    background-image: radial-gradient(circle at center, #50b6a4 20%, transparent 20%); /* 点の色とサイズ調整 */
    background-position: top right;
    background-repeat: repeat-x;
    padding-top: 4px;
    background-size: 1em 0.3em;
  }

  .calc_item_box {
    border-bottom: 2px solid #93CEC3;
    display: flex;
    padding-bottom: 10px;
    justify-content: center;
  }

  .calc_item_img {
    height: 124px;
    width: 128px;
  }

  .calc_item_ttl_box {
    align-self: end;
    margin-left: 5px;
  }

  .calc_condition {
    position: relative;
    width: 100%;
    padding: 20px 20px 0;
  }

  /* 給与所得社の部分 */
  .calc_condition_item {
    padding: 18px 4px;
  }

  .calc_condition_item.child_numBox {
    padding-top: 24px;
  }

  .calc_condition_item.pay_name {
    padding: 0 0 16px;
  }

  .calc_condition_item:not(:first-of-type) {
    border-top: 1px solid #E3E3E3
  }

  .calc_condition_item:last-of-type {
    padding-bottom: 0
  }

  .calc_condition .income_box_wrap {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: end;
    -ms-flex-align: end;
    align-items: flex-end;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    margin-top: 9px
  }

  /* income_boxはjsで使われているため、スタイルクラス作成 */
  .calc_condition .income_box_wrap .income_box_elem {
    width: calc(100% - 75px);
    font-size: 31px!important;
    line-height: 32px;
    margin-right: 10px;
  }

  .calc_condition .radio_btn {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-around;
  }

  .calc_condition .radio_btn input[type=radio]:checked+label:after {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 5px;
    width: 13px;
    height: 13px;
    margin: auto;
    border-radius: 50%;
    background-color: #50b6a4;
    content: ""
  }

  .calc_condition .radio_btn label {
    position: relative;
    padding-left: 35px;
    line-height: 5.208333333333334vw;
    cursor: pointer
  }

  .calc_condition .radio_btn label:before {
    display: block;
    position: absolute;
    top: 0;
    bottom: 0;
    width: 23px;
    height: 23px;
    margin: auto;
    border-radius: 50%;
    background: #e9e9e9;
    content: ""
  }

  .calc_condition .radio_btn label:after {
    content: none
  }
  
  .calc_condition .calc_condition_item.child_numBox p {
    margin-bottom: 28px;
  }

  .calc_condition .child_numBox .child_num li {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
  }

  .calc_condition .child_numBox .child_num li:not(:last-of-type) {
    margin-bottom: 16px;
  }

  .calc_condition .child_numBox .child_num li span {
    width: 90px;
    margin-right: 24px;
  }

  .calc_condition .child_numBox .child_num li .select_area {
    position: relative;
    margin-right: 1.3020833333333335vw
  }

  .calc_condition .child_numBox .child_num li .select_area:after {
    display: block;
    position: absolute;
    top: 0;
    right: 14px;
    bottom: 0;
    width: 0;
    height: 0;
    margin: auto;
    border-width: 1.5625vw .8463541666666666vw 0;
    border-style: solid;
    border-color: #00c08a transparent transparent;
    content: "";
    pointer-events: none
  }

  .calc_condition .child_numBox .child_num li select {
    font-size: 23px !important;
    line-height: 40px;
    width: 53px;
    padding: 8px 20px;
    margin-right: 8px;
  }

  .calc_condition .child_numBox .child_num li select::-ms-expand {
    display: none
  }

  .calc_condition .child_numBox .child_num li+li {
    margin-top: 2.083333333333333vw
  }

  .calc_answer {
    margin: 64px 0 28px;
  }

  .calc_answer .popup_wrap {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 36px 20px 48px;
    border: 5px solid #46AD9A;
    border-radius: 18px;
    background-color: #fff
  }

  .answerbox_ttl {
    color: #46AD9A;
    font-size: 30px;
    line-height: 51px;
    text-align: center;
    word-break: keep-all;
    overflow-wrap: break-word;
  }

  .answerbox_ttl:last-of-type {
    margin-bottom: 48px;
  }

  .calc_answer .popup_wrap .answerbox_simulation .answer_container {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin-top: 30px;
    white-space: nowrap;
  }

  .calc_answer .popup_wrap .answerbox_simulation .answer_container .answerbox_simulation_box {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    opacity: 0;
    -webkit-transition: opacity .3s ease;
    -o-transition: opacity .3s ease;
    transition: opacity .3s ease;
    will-change: opacity
  }

  .calc_answer .popup_wrap .answerbox_simulation .answer_container .answerbox_simulation_box.show {
    opacity: 1
  }

  .calc_answer .popup_wrap .answerbox_simulation .answer_container input {
    width: 72px;
    height: 74px;
    margin: 0 10px;
    font-size: 31px !important;
    text-align: center
  }

  .calc_note {
    color: #434343;
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 84px;
  }

  /* jsで使用中↓ここから */
  .hideElem {
    display: none;
  }
  /* jsで使用中↑ここまで */
}