.mitsumori-arrow-none { padding-top: 0 !important; }

.mitsumori-arrow-none:before { display: none; }

.mitsumori-arrow-none+div.arrowButton { margin-top: 0; }

.mitsumori-button-wrap {
	max-width: 480px;
	margin: 60px auto 20px auto;
}

.mitsumori-h2-img {
	display: inline-block;
	margin-left: 20px;
	position: relative;
	top: -5px;
}

#form-contents .form-mitsumori2{ margin-bottom: 0; }
#form-contents .form-mitsumori2 th,
#form-contents .form-mitsumori2 td{
  border-top: 1px solid #afafaf;
  border-right: 1px solid #afafaf;
  line-height: 1.4
}

#form-contents .form-mitsumori2 th{
  border-left: 1px solid #afafaf;
  background: #129d74;
  color: #ffffff;
}

#form-contents .form-mitsumori2 td{ font-weight: bold; }

#form-contents .form-mitsumori2 td.relationship { font-size: 0; }

#form-contents .form-mitsumori2 td input,
#form-contents .form-mitsumori2 td select{ border-color: #979797; }

#form-contents .form-mitsumori2 td > input{
  font-size: 27px;
  width: calc( 100% - 45px );
  max-width: 160px;
}

#form-contents .form-mitsumori2 td input:not([type="radio"]),
#form-contents .form-mitsumori2 td select{ border-radius: 5px; }

#form-contents .form-mitsumori2 td input[type="radio"]:checked:after{ margin: 0; }

#form-contents .form-mitsumori2 td select{
  font-size: 25px;
  text-align: center;
  width: calc( 100% - 40px );
  max-width: 230px;
}
@media print, screen and (min-width: 500px) {
  #form-contents .form-mitsumori2 td.relationship label.in_b:not(:last-of-type){ margin-right: 2rem; }
}

@media print, screen and (min-width: 768px) {
	
  .form-wrap{
    border-collapse: separate;
    border-spacing: 0;
  }
  
  #form-contents .form-mitsumori2 th{ font-size: 20px; }
  
  #form-contents .form-mitsumori2 tr:first-of-type th{ border-top-left-radius: 5px; }
  #form-contents .form-mitsumori2 tr:first-of-type td{ border-top-right-radius: 5px; }
  #form-contents .form-mitsumori2 tr:last-of-type th{
    border-bottom: 1px solid #afafaf;
    border-bottom-left-radius: 5px;
  }
  #form-contents .form-mitsumori2 tr:last-of-type td{
    border-bottom: 1px solid #afafaf;
    border-bottom-right-radius: 5px;
  }
  
  #form-contents .form-mitsumori2 td input[type="radio"]{
    width: 2.5rem;
    height: 2.5rem;
  }
  
  #form-contents .form-mitsumori2 td input[type="radio"]:checked:after{
    top: calc( 50% - 0.75rem );
    left: calc( 50% - 0.75rem );
    width: 1.5rem;
    height: 1.5rem;
  }
  
  #form-contents .form-mitsumori2 td label{ font-size: 19px; }
}

@media print, screen and (max-width: 767px){
  #form-contents .form-mitsumori2 th,
  #form-contents .form-mitsumori2 td{ padding: 2rem 1rem; }
  #form-contents .form-mitsumori2 th{
    border-radius: 6px 6px 0 0;
    text-align: center;
  }
  
  #form-contents .form-mitsumori2 tr:not(:first-of-type) th{
    margin-top: 1rem;
  }
  #form-contents .form-mitsumori2 td{
    border-bottom: 1px solid #afafaf;
    border-left: 1px solid #afafaf;
    border-radius: 0 0 6px 6px;
  }
  
  #form-contents .form-mitsumori2 td > input{
    font-size: 27px;
    width: calc( 100% - 45px );
  }
  #form-contents .form-mitsumori2 td:not(.relationship) label.in_b:not(:last-of-type){ margin-right: 2rem; }
  #form-contents .form-mitsumori2 td label > p{ font-size: 1.7rem; }
}

@media print, screen and (max-width: 767px) and (min-width: 600px){
  #form-contents .form-mitsumori2 th{ font-size: 140%; }
  #form-contents .form-mitsumori2 td label{ font-size: 24px; }
  #form-contents .form-mitsumori2 td > span,
  #form-contents .form-mitsumori2 td label > span{ font-size: 22px; } 
}
@media print, screen and (max-width: 767px) and (min-width: 350px){
  #form-contents .form-mitsumori2 td input[type="radio"]{
    width: 3.2rem;
    height: 3.2rem;
  }
  
  #form-contents .form-mitsumori2 td input[type="radio"]:checked:after{
    top: calc( 50% - 1.1rem );
    left: calc( 50% - 1.1rem );
    width: 2.2rem;
    height: 2.2rem;
  }
}

@media print, screen and (max-width: 599px){
  #form-contents .form-mitsumori2 th{ font-size: 22px; }
  #form-contents .form-mitsumori2 td.heritage{
    display: flex;
    align-items: center;
    flex-wrap: wrap;
  }
  #form-contents .form-mitsumori2 td.heritage p { width: 100%; }
  #form-contents .form-mitsumori2 td label{ font-size: 22px; }
  
  #form-contents .form-mitsumori2 td > span,
  #form-contents .form-mitsumori2 td label > span{ font-size: 20px; } 
}
@media print, screen and (max-width: 499px){
  #form-contents .form-mitsumori2 td label.in_b:not(:first-of-type):not(:nth-of-type(2)){ margin-top: 1rem; }
  #form-contents .form-mitsumori2 td.relationship label.in_b:nth-of-type(even){ width: 40%; }
}
@media print, screen and (max-width: 499px) and (min-width: 350px){
  #form-contents .form-mitsumori2 td.relationship label.in_b:nth-of-type(odd){
    margin-right: 2rem;
    width: calc( 60% - 2rem );
  }
}

@media print, screen and (max-width: 349px){
  #form-contents .form-mitsumori2 td.relationship label.in_b:nth-of-type(odd){
    margin-right: 1rem;
    width: calc( 60% - 1rem );
  }
  #form-contents .form-mitsumori2 td input[type="radio"]{
    width: 2.8rem;
    height: 2.8rem;
  }
  
  #form-contents .form-mitsumori2 td input[type="radio"]:checked:after{
    top: calc( 50% - 0.9rem );
    left: calc( 50% - 0.9rem );
    width: 1.8rem;
    height: 1.8rem;
  }
}

/*mitsumori2*/

.mitsumori_new_table,
.mitsumori_new_table td,
.mitsumori_new_table th {
	border-collapse: collapse;
	border: 1px solid #c0c6c9;
	font-size: 14px;
}

.mitsumori_new_table { width: 100%; }

.mitsumori_new_table th {
	background: #0b2e4e;
	color: #FFFFFF;
}

.mitsumori_new_table td { font-weight: bold; }

.pt40 { padding-top: 40px !important; }

.mitsumori2-arrow p {
	opacity: 0;
	animation-name: callSupportSignal;
	animation-duration: 1.4s;
	animation-iteration-count: infinite;
	animation-timing-function: linear;
	margin-left: -10px;
	position: relative;
}

.mitsumori2-arrow > div > div p:first-of-type {
	animation-delay: -1.16s;
	margin-left: 0;
	z-index: 3;
}

/* 
.mitsumori2-arrow > div p:nth-of-type(2) {
	animation-delay: -1.08s;
	z-index: 2;
}
 */

.mitsumori2-arrow > div > div p:last-of-type {
	animation-delay: -1.00s;
  margin-left: 0;
	z-index: 1;
}


.place-help-link {
	margin-left: 15px;
	display: inline-grid;
	background-color: #ff9900;
	padding: 0 5px;
	text-align: center;
	color: white;
	font-weight: 900;
	/*border: 1px solid #cc3300;*/
	border-radius: 5px;
	line-height: 1.2;
	-webkit-touch-callout: none;
	/* iOS Safari */
	-webkit-user-select: none;
	/* Safari */
	-khtml-user-select: none;
	/* Konqueror HTML */
	-moz-user-select: none;
	/* Old versions of Firefox */
	-ms-user-select: none;
	/* Internet Explorer/Edge */
	user-select: none;
	/* Non-prefixed version, currently supported by Chrome, Opera and Firefox */
}

.mitsumori2-popup-list li {
	position: relative;
	padding-left: 14px;
}

.mitsumori2-popup-list li:before {
	content: "・";
	position: absolute;
	top: 0;
	left: 0;
}

@media print,
screen and (max-width: 767px) {
	.pt40 {
		padding-top: 10px !important;
	}
	
	.mitsumori2-arrow:first-of-type { margin: 0 auto; }
	.imgauto{
		display: block;
		margin: 0 auto;
	}
}

.textRF { text-align: right; }

/* -------------------------------------------------------
2024/06/12
シミュレーションデザイン変更
------------------------------------------------------- */

@media print, screen and (min-width: 768px){
  .br-smt{}
}
@media print, screen and (max-width: 767px){
  .br-smt{ display: block; } 
}

/* 共通 ここから */
.down-arrow01{ position: relative; }
.down-arrow01:before{
  content: '';
  border-top-color: #0b2e4e;
  border-top-style: solid;
  border-right: 41px solid transparent;
  border-left: 41px solid transparent;
  position: absolute;
  left: calc( 50% - 26px );
}

@media print, screen and (min-width: 768px){
  .down-arrow01:before{ border-top-width: 20px; }
  .sum_estimate01.down-arrow01:before{ top: calc( -3rem - 6px ); }
  .sum_tax_box01.down-arrow01:before{ top: calc( -2.5rem - 31px ); }
}
@media print, screen and (max-width: 767px){
  .down-arrow01:before{ border-top-width: 18px; }
  .sum_estimate01.down-arrow01:before{ top: calc( -4rem - 7px ); }
  .sum_tax_box01.down-arrow01:before{ top: calc( -3rem - 9px ); }
}

/* 共通 ここまで */

/* 税理士報酬 ここから */
h2#mitsumorifee{ background: #f6f0e6; }

#base_simulation{ position: relative; }

#base_simulation > div,
.table_contents,
.table_contents > div{ display:flex; }

#base_simulation > div{
  border: 1px solid #258f9f;
  border-radius: 5px;
  width: 100%;
}

.option_salary{ position: relative; }

.option_salary:before,
.option_salary:after{
  content: '';
  background: #237581;
  position: absolute;
}

.table_th{
  display: flex;
  align-items: center;
  justify-content: center;
  background: #258f9f;
  color: #ffffff;
  line-height: 1;
  padding: 1.5rem 1rem;
  text-align: center;
}

.table_contents{
  font-weight: bold;
  flex-direction: column;
  justify-content: center;
  width: 100%;
}

.table_contents > div{
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 1rem;
  width: 100%;
}

.table_contents > div:not(:first-of-type){ border-top: 1px solid #258f9f; }

.table_contents > div > p:first-of-type{ color: #2e2e2e }

.table_contents > div > p.amount > span:first-of-type{ color: #9b001a; }

.table_contents > div > p.amount > span:not(:first-of-type){
  color: #404040;
  letter-spacing: -1px;
}

.filling{ position: relative; }

.filling:after{
  content: '';
  position: absolute;
}

.filling select{
  background-position: right 1rem center;
  border: 1px solid #979797;
  border-radius: 5px;
  padding-right: 30px;
  text-align: center;
}

.filling span{ color: #404040; }

@media print, screen and (min-width: 768px){
  .tax_smt{ display: none; }
  
  .option_salary{ margin-top: 4.6rem; }
  
  .option_salary:before{
    width: 26px;
    height: 3px;
    top: calc( -2.3rem - 1.5px );
    left: calc( 50% - 13px );
  }
  .option_salary:after{
    width: 3px;
    height: 26px;
    top: calc( -2.3rem - 13px );
    left: calc( 50% - 1.5px );
  }
  
  .table_th span:not(.notclass){ font-size: 13px; }
  
  .table_contents > div > p{ line-height: 1.2; }
  .table_contents > div > p.amount{ text-align: right; }
  
  .filling{ padding: 0 35px 0 30px; }

  .filling:before{
    content: '';
    background: url(/assets/images/mitsumori/icon_dots01.png);
    background-size: contain;
    position: absolute;
    top: calc( 50% - 1px );
    left: 0;
    width: 20px;
    height: 4px;
  }

  .filling:after{
    border-top: 3px solid #404040;
    border-bottom: 3px solid #404040;
    position: absolute;
    top: calc( 50% - 5px );
    right: 5px;
    width: 26px;
    height: 4px;
  }
  
}
@media print, screen and (min-width: 1000px){
  .table_th{
    font-size: 23.5px;
    width: 30%;
    max-width: 220px;
  }

  .table_contents > div > p{ font-size: 23.4px; }
  .table_contents > div > p:first-of-type{
    width: calc( 100% - 580px );
    max-width: 180px;
  }
  .table_contents > div > p.amount{ width: 260px; }

  .table_contents div > p:not(.amount) > span:not(.notclass),
  .table_contents .filling span{ font-size: 18.9px; }
  
  .table_contents > div > p.amount > span:first-of-type{ font-size: 34px; }
  
  .table_contents > div > p.amount > span:not(:first-of-type){ font-size: 19px; }
  
  .filling{ width: 320px; }
  
  .base_salary .filling select{
    font-size: 23.6px;
    width: 220px;
  }
  .option_salary .filling select{
    font-size: 27px;
    width: 160px;
  }
}

@media print, screen and (max-width: 999px) and (min-width: 768px){
  .table_th{
    font-size: 130%;
    width: 15%;
    max-width: 160px;
  }
  
  .table_contents > div > p{ font-size: 130%; }
  .table_contents > div > p:first-of-type{
    width: calc( 100% - 505px );
    max-width: 180px;
  }
  .table_contents > div > p.amount{ width: 220px; }

  .table_contents div > p:not(.amount) > span:not(.notclass),
  .table_contents .filling span{ font-size: 17px; }
  
  .table_contents > div > p.amount > span:first-of-type{ font-size: 130%; }
  
  .table_contents > div > p.amount > span:not(:first-of-type){ font-size: 80%; }
  
  .filling{ width: 280px; }
  
  .base_salary .filling select{
    font-size: 120%;
    width: 180px;
  }
  .option_salary .filling select{
    font-size: 150%;
    width: 120px;
  }
}

@media print, screen and (max-width: 767px){
  .smt_none{ display: none; }
  .tax_smt{
    display: inline-block;
    font-size: 17px;
  }
  
  #base_simulation > div,
  .table_contents,
  .table_contents > div{ flex-wrap: wrap; }
  
  .option_salary{ margin-top: 8rem; }
  
  .option_salary:before{
    width: 44px;
    height: 4px;
    top: calc( -4rem - 1px );
    left: calc( 50% - 22px );
  }
  .option_salary:after{
    width: 4px;
    height: 44px;
    top: calc( -4rem - 22px );
    left: calc( 50% - 1px );
  }
  
  .table_th{ width: 100%; }
  
  .table_th span:not(.notclass){ font-size: 21px; }
  
  .table_contents > div{ line-height: 1.4; }
  .table_contents > div > p:first-of-type{ width: 100%; }
  
  .table_contents > div > p.amount > span:not(:first-of-type){ font-size: 17px; }
}

@media print, screen and (max-width: 767px) and (min-width: 660px){
  .table_contents > div > p.amount{
    text-align: right;
    width: calc( 100% - 343px );
  }
  .table_contents > div > p.amount > span:first-of-type{ font-size: 44px; }
  
  .filling{
    padding: 0 43px 0 0;
    width: 343px;
  }
  
  .filling:after{
    border-top: 3px solid #404040;
    border-bottom: 3px solid #404040;
    position: absolute;
    top: calc( 50% - 6px );
    right: 5px;
    width: 32px;
    height: 6px;
  }
  
  .base_salary .filling select{ width: 240px; }
  .option_salary .filling select{ width: 180px; }
}
@media print, screen and (max-width: 659px){
  .table_contents > div{ flex-direction: column; }
  
  .table_contents > div > p:first-of-type{ margin-bottom: 1rem; }
  .table_contents > div > p.amount{
    text-align: center;
    width:100%;
  }
  .table_contents > div > p.amount > span:first-of-type{ font-size: 38px; }
  
  .filling{
    padding: 0 0 40px 0;
    text-align: center;
    width: 100%;
  }
  
  .filling:after{
    border-right: 3px solid #404040;
    border-left: 3px solid #404040;
    left: calc( 50% - 6px );
    bottom: 5px;
    width: 6px;
    height: 20px;
  }
  .filling label{
    display: block;
    width: 100%;
  }
  
  div:not(.base_salary) .filling > select{ width: calc( 100% - 60px ); }
  .base_salary .filling select{
    width: calc( 100% - 40px );
    max-width: 280px;
  }
  .option_salary .filling select{ max-width: 180px; }
  
  .filling > span{
    display: inline-block;
    margin-left: 5px;
    text-align: left;
    width: 60px
  }
}
@media print, screen and (max-width: 767px) and (min-width: 600px){
  .table_th{ font-size: 32px; }
  .table_contents > div > p{ font-size: 30px; }
  .filling select{ font-size: 27px; }
  
  .table_contents div > p:not(.amount) > span:not(.notclass),
  .table_contents .filling span{ font-size: 23.6px; }
}
@media print, screen and (max-width: 599px){
  .table_th{ font-size: 26px; }
  .table_contents > div > p{ font-size: 22px; }
  .filling select{ font-size: 24px; }
  
  .table_contents div > p:not(.amount) > span:not(.notclass),
  .table_contents .filling span{ font-size: 18px; }
}
@media print, screen and (max-width: 370px){
  .filling {
    display: flex;
    align-items: center;
    justify-content: center;
  }
}

/* 税理士報酬 ここまで */

/* 見積額合計 ここから */

.sum_estimate_frame{ align-items: center; }

.sum_estimate01 .sum_estimate_box01{
  border: 1px solid #236e81;
  border-radius: 5px;
}

.sum_estimate01 .sum_estimate_box01 > p{
  background: #236e81;
  letter-spacing: 1px;
  line-height: 1.2;
  padding: 1rem;
}

.sum_estimate01 .sum_estimate_box01 > div{
  padding: 1rem;
}

.sum_estimate01 .sum_estimate_box01 > div > p >span:not(#price_box){ color: #404040; }
.sum_estimate01 #price_box{ color: #9b001a; }

.sum_estimate01_com > p{
  padding-left: 1.2em;
  position: relative;
}

.sum_estimate01_com > p:before{
  content: '※';
  position: absolute;
  top: 0;
  left: 0;
}

.arrowButton{
  max-width: 550px;
}

.arrowButton > p > a{
  border-bottom: 1px solid #134674;
  text-decoration: none;
}
.arrowButton > p:hover > a{
  border-bottom: none;
}
.sum_estimate_frame + p{
  border-top: 1px solid #404040;
  margin-top: 2rem;
}

@media print, screen and (min-width: 768px){
  .sum_estimate_frame{
    justify-content: space-between;
    margin: 6rem 0 3rem 0;
  }
  
  .sum_estimate_frame > div{ width: calc( 50% - 0.5rem ); }
  .sum_estimate01{ max-width: 430px; }  
  
  .sum_estimate01 #price_box{ font-size: 280%; }
  .sum_estimate01 .sum_estimate_box01 > p{ line-height: 1.4; }
  .sum_estimate01 .sum_estimate_box01 > div > p >span:not(#price_box){ font-size: 154%; }
  
}
@media print, screen and (min-width: 1000px){
  .sum_estimate01 .sum_estimate_box01 > p{ font-size: 160%; }
  .sum_estimate01 .sum_estimate_box01 > p > span{ font-size: 80%; }
}
@media print, screen and (max-width: 999px) and (min-width: 768px){
  .sum_estimate01 .sum_estimate_box01 > p{ font-size: 25px; }
  .sum_estimate01 .sum_estimate_box01 > p > span{ font-size: 20px; }
}
@media print, screen and (max-width: 767px){
  .sum_estimate_frame{
    flex-direction: column;
    margin: 8rem auto 6rem;
    width: 100%;
    max-width: 570px;
  }
  .sum_estimate_frame > div{ width: 100%; }
  
  .sum_estimate01{ margin-bottom: 4rem; }
    
  .sum_estimate01_com > p{ line-height: 1.6; }
  
  .sum_estimate01 .sum_estimate_box01 > p{ font-size: 28px; }
  .sum_estimate01 .sum_estimate_box01 > p > span{ font-size: 22px; }
}
@media print, screen and (max-width: 767px) and (min-width: 370px){
  .sum_estimate01 #price_box{ font-size: 38px; }
  .sum_estimate01 .sum_estimate_box01 > div > p >span:not(#price_box){ font-size: 21px; }
}

@media print, screen and (max-width: 369px){
  .sum_estimate01 #price_box{ font-size: 34px; }
  .sum_estimate01 .sum_estimate_box01 > div > p >span:not(#price_box){ font-size: 18.7px; }
}

/* 見積額合計 ここまで */

/* 相続税合計 ここから */

.sum_tax_frame{ margin: 5rem 0 0; }

.sum_tax_frame > div:not(.mitsumori2-arrow){
  border: 1px solid #23815d;
  border-radius: 5px;
  flex: 1;
  text-align: center;
}
.sum_tax_box01_in > p{ line-height: 1.2; }
.sum_tax_box01_in > p:first-of-type{ color: #23815d; }
.sum_tax_box01_in > p:nth-of-type(2){ color: #404040; }

.exception_box01{ line-height: 1.4; }
.exception_box01 > p{
  background: #23815d;
  color: #ffffff;
}
.exception_box01 > p > span:first-of-type{ text-decoration: underline; }

.exception_box01 > div{ line-height: 1.2; }

.exception_box01 > div span:not(.yen){ color: #9b001a; }
.exception_box01 > div span.yen{ color: #404040; }

@media print, screen and (min-width: 768px){
  .sum_tax_frame{
    align-items: flex-end;
    justify-content: space-between;
    margin: 5rem 0 0;
    height: 160px;
  }
  
  .sum_tax_frame > div:not(.mitsumori2-arrow){ width: calc( 50% - 26px ); }
  
  .sum_tax_box01,
  .exception_box01{ max-width: 430px; }
  .exception_box01{ align-self: flex-end; }
  
  .sum_tax_box01_in{ padding: 2rem 1rem; }
  .sum_tax_box01_in > p:first-of-type{ font-size: 28px; }
  .sum_tax_box01_in > p:nth-of-type(2) >span#result{ font-size: 52px; }
  .sum_tax_frame >div span.yen{ font-size: 32px; }
  
  .mitsumori2-arrow{
    align-self: center;
    margin: 0 10px;
    width: 32px;
  }
  .mitsumori2-arrow > div > div.veiw-smt{
    display: none;
    margin: 0;
    padding: 0;
    width: 0;
    height: 0;
  }
  .sum_tax_frame .mitsumori2-arrow > div > div > p{ margin-left: 0; }
  
  .exception_box01 > p{
    font-size: 20px;
    padding: 1rem 0.5rem;
  }
  .exception_box01 > p > span:first-of-type{ font-size: 25px; }
  
  .exception_box01 > div{ padding: 1rem 0.5rem; }
  .exception_box01 > div span:not(.yen){ font-size: 58px }
}
@media print, screen and (max-width: 767px){
  .sum_tax_frame{
    align-items: center;
    flex-direction: column;
    margin: 6rem 0 0;
    width: 100%;
  }
  
  .sum_tax_frame > div:not(.mitsumori2-arrow){
    margin: 0 auto;
    width: 100%;
  }
  
  .sum_tax_frame > div.sum_tax_box01{
    padding: 1rem;
    max-width: 565px;
  }
  
  .mitsumori2-arrow{
    margin: 10px 0;
    width: 60px;
  }
  
  .mitsumori2-arrow > div > div.veiw-pc{
    display: none;
    margin: 0;
    padding: 0;
    width: 0;
    height: 0;
  }
  
  .exception_box01{ max-width: 670px; }
  
  .exception_box01 > p{ padding: 1rem 0.5rem; }
  
  .exception_box01 > div{ padding: 1rem 0.5rem; }
  .exception_box01 > div span:not(.yen){ letter-spacing: -1px; }
}
@media print, screen and (max-width: 767px) and (min-width: 350px){
  .sum_tax_box01_in > p:first-of-type{
    font-size: 28px;
    margin-bottom: 0.5rem;
  }
  .sum_tax_box01_in > p:nth-of-type(2) >span#result{ font-size: 48px; }
  .sum_tax_frame >div span.yen{ font-size: 24px; }
  
  .exception_box01 > p{ font-size: 22px; }
  .exception_box01 > p > span:first-of-type{ font-size: 28px; }
  .exception_box01 > div span:not(.yen){ font-size: 48px; }
}
@media print, screen and (max-width: 349px){
  .sum_tax_box01_in > p:first-of-type{ font-size: 24px; }
  .sum_tax_box01_in > p:nth-of-type(2) >span#result{ font-size: 44px; }
  .sum_tax_frame >div span.yen{ font-size: 22px; }
  
  .exception_box01 > p{ font-size: 20px; }
  .exception_box01 > p > span:first-of-type{ font-size: 26px; }
  .exception_box01 > div span:not(.yen){ font-size: 54px; }
}

/* 相続税合計 ここまで */

/* 全合計 ここから */
.sum_approximation_text{
  background: #0b2e4e;
  border-radius: 5px;
  line-height: 1.4;
  padding: 1rem;
  width: 90%;
}

.mitsumori2-three{
  border: 4px solid #0b2e4e;
  border-radius: 8px;  
}

.mitsumori2-three > div{
  margin: 0 auto;
  width: 100%;
}

.mitsumori2-three > div > div.pseudo_plus01,
.mitsumori2-three > div > div > div.pseudo_eq01{
  position: relative;
}

.mitsumori2-three > div > div.pseudo_plus01:before,
.mitsumori2-three > div > div.pseudo_plus01:after,
.mitsumori2-three > div > div > div.pseudo_eq01:after{
  content: '';
  position: absolute;
}

.mitsumori2-three > div > div.pseudo_plus01:before,
.mitsumori2-three > div > div.pseudo_plus01:after{ background: #0b2e4e; }

.mitsumori2-three > div > div > div.pseudo_eq01:after{
  border-style: solid none;
  border-color: #0b2e4e transparent;
}

.mitsumori2-three > div > div:not(.pseudo_plus01):not(.approximation_result_box){ flex: 1; }

.mitsumori2-three > div > div.approximation_result_box{ align-items: center;}

.mitsumori2-three > div > div:not(.approximation_result_box) > p:first-of-type{
  color: #ffffff;
  font-weight: bold;
  line-height: 1.4;
  margin: 0 auto 1rem;
  padding: 0.5rem;
  text-align: center;
  width: 100%;
}

.mitsumori2-three > div > div.approximation_tax_box > p:first-of-type { background: #23815d; }
.mitsumori2-three > div > div.approximation_estimate_box > p:first-of-type { background: #237581; }

.mitsumori2-three .calculator-result-box01{
  border: none;
  color: #404040;
  font-weight: bold;
  line-height: 1;
  text-align: center;
}

.mitsumori2-three .calculator-result-box02{
  color: #9b001a;
  font-weight: bold;
  text-align: right;
}
.mitsumori2-three .calculator-result-box02 span.yen{ color: #404040; }

@media print, screen and (min-width: 768px){
  .sum_approximation_text{
    font-size: 24px;
    margin: 6rem auto 1rem;
    max-width: 250px;
  }
  .mitsumori2-three > div{
    align-items: center;
    justify-content: space-between;
    padding: 2.5rem 1rem;
    max-width: 930px;
  }
  
  .mitsumori2-three > div > div.pseudo_plus01,
  .mitsumori2-three > div > div > div.pseudo_eq01{ width: 24px; }
  
  .mitsumori2-three > div > div.pseudo_plus01{
    margin: 0 1rem;
    height: 24px;
  }
  .mitsumori2-three > div > div > div.pseudo_eq01{
    margin: 0 1rem;
    height: 9px;
  }
  
  .mitsumori2-three > div > div.pseudo_plus01:before{
    top: calc( 50% - 1px );
    width: 24px;
    height: 1px;
  }
  
  .mitsumori2-three > div > div.pseudo_plus01:after{
    top: 0;
    right: 11px;
    width: 1px;
    height: 24px;
  }
  
  .mitsumori2-three > div > div > div.pseudo_eq01:after{
    border-width: 1px 0;
    width: 24px;
    height: 5px;
  }
  
  .mitsumori2-three > div > div.approximation_result_box{ justify-content: space-between; }
  
  .mitsumori2-three > div > div:not(.approximation_result_box) > p:first-of-type{ max-width: 200px; }
  
  .mitsumori2-three .calculator-result-box02{ line-height: 1; }
  .mitsumori2-three .calculator-result-box02 span.yen{ display: inline-block; }
}

@media print, screen and (min-width: 1000px){
  .mitsumori2-three > div > div.approximation_result_box{
    width: calc( 38% + 24px );
  }
  .mitsumori2-three > div > div:not(.pseudo_plus01):not(.pseudo_eq01):not(.approximation_result_box){
    width: calc( ( 62% - ( 48px + 4rem ) / 2 - 0.1px) );
  }
  .mitsumori2-three > div > div:not(.approximation_result_box) > p:first-of-type{ font-size: 23px; }
  .mitsumori2-three > div > div:not(.approximation_result_box) > p:first-of-type > span{ font-size: 19px; }
  .mitsumori2-three .calculator-result-box01{ font-size: 30px; }
  .mitsumori2-three .calculator-result-box01 span.yen{ font-size: 24px; }
  .mitsumori2-three .calculator-result-box02{ font-size: 40px; }
  .mitsumori2-three .calculator-result-box02 span.yen{ font-size: 30px; }
  
  /* safari */
  ::-webkit-full-page-media, :future, :root .mitsumori2-three .calculator-result-box02 { font-size: 56px; }
  ::-webkit-full-page-media, :future, :root .mitsumori2-three .calculator-result-box02 span.yen{ font-size: 26px; }
}
@media print, screen and (max-width: 999px) and (min-width: 768px){
  .mitsumori2-three > div > div.approximation_result_box{
    width: calc( 42% + 24px );
  }
  .mitsumori2-three > div > div:not(.pseudo_plus01):not(.pseudo_eq01):not(.approximation_result_box){
    width: calc( ( 100% - ( 34px + 2rem ) / 2 - 0.1px) );
  }
  .mitsumori2-three > div > div:not(.approximation_result_box) > p:first-of-type{ font-size: 20px; }
  .mitsumori2-three > div > div:not(.approximation_result_box) > p:first-of-type > span{ font-size: 16px; }
  .mitsumori2-three .calculator-result-box01{ font-size: 34px; }
  .mitsumori2-three .calculator-result-box01 span.yen{ font-size: 22px; }
  .mitsumori2-three .calculator-result-box02{ font-size: 52px; }
  .mitsumori2-three .calculator-result-box02 span.yen{ font-size: 22px; }
}


@media print, screen and (max-width: 767px){
  .sum_approximation_text{
    margin: 8rem auto 2rem;
    max-width: 670px;
  }
  
  .mitsumori2-three > div{
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    padding: 2.5rem 1rem;
    max-width: 930px;
  }
  
  .mitsumori2-three > div > div.pseudo_plus01:before{
    top: calc( 50% - 1.5px );
    width: 100%;
    height: 3px;
  }
  
  .mitsumori2-three > div > div.pseudo_plus01:after{
    top: 0;
    right: calc( 50% - 1.5px );
    width: 3px;
    height: 100%;
  }
  
  .mitsumori2-three > div > div.approximation_result_box{ width: 100%; }
  
  .approximation_result_box{
    justify-content: flex-end;
    width: 100%;
  }
  
  .mitsumori2-three > div > div:not(.approximation_result_box) > p:first-of-type{ max-width: 260px; }
}

@media print, screen and (max-width: 767px) and (min-width: 600px){
  .sum_approximation_text{ font-size: 36px; }
  
  .mitsumori2-three > div > div.pseudo_plus01{
    margin: 0 1rem;
    width: 34px;
    height: 34px;
  }
  
  .mitsumori2-three > div > div > div.pseudo_eq01{
    margin: 0 1rem;
    width: 29px;
    height: 12px;
  }
  
  .mitsumori2-three > div > div > div.pseudo_eq01:after{
    border-width: 3px 0;
    width: 29px;
    height: 6px;
  }
  
  .mitsumori2-three .calculator-result-box01{ font-size: 35px; }
  .mitsumori2-three .calculator-result-box01 span.yen{ font-size: 24px; }
  .mitsumori2-three .calculator-result-box02{ font-size: 56px; }
  .mitsumori2-three .calculator-result-box02 span.yen{ font-size: 40px; }
}
@media print, screen and (max-width: 767px) and (min-width: 350px){
  .mitsumori2-three > div > div:not(.approximation_result_box) > p:first-of-type{ font-size: 24px; }
  .mitsumori2-three > div > div:not(.approximation_result_box) > p:first-of-type > span{ font-size: 19px; }
}

@media print, screen and (max-width: 599px){
  .sum_approximation_text{ font-size: 24px; }
  .mitsumori2-three > div{ flex-direction: column; }
  .mitsumori2-three > div > div:not(.pseudo_plus01):not(.pseudo_eq01):not(.approximation_result_box){ width: 100%; }
  
  .mitsumori2-three > div > div.pseudo_plus01{ margin: 2rem 0; }

  .mitsumori2-three > div > div > div.pseudo_eq01{
    margin: 0 0.5rem;
    width: 20px;
    height: 10px;
  }
  
  .mitsumori2-three > div > div > div.pseudo_eq01:after{
    border-width: 3px 0;
    width: 20px;
    height: 4px;
  }
  .mitsumori2-three > div > div.approximation_estimate_box{ margin-bottom: 1rem; }
}
@media print, screen and (max-width: 599px) and (min-width: 350px){
  .mitsumori2-three > div > div.pseudo_plus01{
    width: 24px;
    height: 24px;
  }
  
  .mitsumori2-three .calculator-result-box01{ font-size: 34px; }
  .mitsumori2-three .calculator-result-box01 span.yen{ font-size: 20px; }
  .mitsumori2-three .calculator-result-box02{ font-size: 38px; }
  .mitsumori2-three .calculator-result-box02 span.yen{ font-size: 20px; }
  
}
@media print, screen and (max-width: 349px){
  .mitsumori2-three > div > div.pseudo_plus01{
    width: 20px;
    height: 20px;
  }
  
  .mitsumori2-three > div > div:not(.approximation_result_box) > p:first-of-type{ font-size: 20px; }
  .mitsumori2-three > div > div:not(.approximation_result_box) > p:first-of-type > span{ font-size: 16px; }
  
  .mitsumori2-three .calculator-result-box01{ font-size: 28px; }
  .mitsumori2-three .calculator-result-box01 span.yen{ font-size: 18px; }
  .mitsumori2-three .calculator-result-box02{ font-size: 30px; }
  .mitsumori2-three .calculator-result-box02 span.yen{ font-size: 18px; }
}

/* 全合計 ここまで */