
.selectBox#step5>header{
	margin-bottom: 20px;
	border-bottom: var(--border-color-darkgray) dotted 2px;
}

.calc .selectBox>header>h3{
	margin-bottom: 4vw;
}

.calc .selectBox>header>.item{
	margin-bottom: 0px;
}

.box2.worklist{
	display: block;
	margin-bottom: 36px;
	padding: 20px 0;
	font-size: 1rem;
	border-bottom: var(--border-color-darkgray) dotted 2px;
}

.box2.worklist li{
	margin-bottom: 12px;
	font-size: 1rem;
}

.box2.worklist li dl{
	margin-bottom: 16px;
	padding: 0 8px;
	line-height: 1.6rem;
}

.box2.worklist h4{
	padding: 4px;
	font-weight: normal;
	background: var(--bg-color-palegray);
}

.box2.worklist div,
.box2.worklist h4{
	margin-bottom: 8px;
}

.calc main .contents .simulatorBox img#character {
	position: absolute;
	right: 4px;
	top: 4px;
	width: min(20vw,120px);
	height: auto;
}

dt::after {
  content: ": ";
}

dt{
	font-weight: 400;
}

dd{
	text-indent: 1.0rem;
	font-weight: 400;
}

.calcbox h4{
margin-bottom: 12px;
padding: 0;
font-size: 18px;
}

.calcbox li.nontaxed_price{
	margin-bottom: 32px;
	padding-bottom: 4px;
	border-bottom: var(--border-color-darkgray) solid 1px;
}

.calcbox li.nontaxed_price dd{
	text-indent: 0;
}

.calcbox li.nontaxed_price strong{
	  font-size: 1rem;
	padding-right: 8px;
}

@media only screen and (min-width: 1000px){
	.calcbox input {
	  display: flex;
	  flex-flow: row nowrap;
	  justify-content: flex-end;
	  align-items: center;
	  flex: 1 0 100%;
	  
		padding: 16px;
		width: 100%;
		height: 80px;
		font-size: 48px;
		line-height: 5vw;
		text-align: right;
		font-weight: bold;
		
		box-sizing: border-box;
		border-radius: 8px;
	}
	
}


@media only screen and (max-width: 999px){
	.calcbox input {
	  display: flex;
	  flex-flow: row nowrap;
	  justify-content: flex-end;
	  align-items: center;
	  flex: 1 0 100%;
	  
		padding: 16px;
		width: 100%;
		height: max(calc(5vw + 32px),60px);
		font-size: max(5vw,28px);
		line-height: 5vw;
		text-align: right;
		font-weight: bold;
		
		box-sizing: border-box;
		border-radius: 8px;
	}
}

#expCost{
	display: flex;
	flex-flow: row nowrap;
	justify-content: space-between;
	align-items: center;
	flex: 1 1 auto;
	position: relative;
	z-index: 1;
}

#expCost::before {
	content: '¥';
	display: flex;
	flex-flow: row wrap;
	justify-content: center;
	align-content: center;
	align-items: center;
	
	position: absolute;
	left: 16px;
	top: 4%;
	z-index: 2;
	height: 100%;
	font-size: 28px;
	font-weight: 800;
}

.calcbox article{
	margin-bottom: 20px;
}

.calcbox .currency{
	display: block;
	font-size: min(12px,1rem);
	font-weight: 400;
	text-align: right;
}

.calcbox .credit{
	
	font-size: max(12px,1vw);
	line-height: 1.4rem;
	font-weight: 400;
}

.calc main .contents .buttonarea {
	margin: 0 auto;
	width: 80%;
}

.buttonarea a.contact {
  display: flex;
  flex-flow: row nowrap;
  justify-content: center;
  align-content: center;
  align-items: center;
  
  margin-bottom: 36px;
  width: 100%;
  max-width: 640px;
  height: 60px;
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  border-radius: 12px;
  background: var(--sub-color);
}

.contents .buttonarea a.contact em{
	position: relative;
	top: .3vw;
	margin-right: 8px;
	margin-right: 20px;
	font-weight: bold;

}

.calc main .contents .buttonarea a.contact img{
	transform: rotate(90deg);
}

#step5 .box2.calcbox{
	margin-bottom: 20px;
	
}
	
	
.step main .contents .buttonarea.calc {
	display: flex;
	flex-flow: column;
	justify-content: center;
	align-content: center;
	align-items: start;
	margin-bottom: 68px;
	margin-left: auto;
	margin-right: auto;
	max-width: 640px;
}	
		
.step main .contents .buttonarea.calc .contact {
	margin-bottom: 20px;
	padding: 0 20px;
	box-sizing: border-box;
}

.step main .contents .buttonarea.calc a.back {
	margin-right: 20px;
	background: var(--key-color);
	display: flex;
	flex-flow: row nowrap;
	justify-content: center;
	align-content: center;
	align-items: center;
	width: max(240px, 30%);
	height: 60px;
	border-radius: 12px;
}

.step main .contents .buttonarea.calc a.back em{
	font-size: 20px;
	font-weight: bold;
	color: #fff;
}

.step main .contents .buttonarea.calc a.back img{
	transform-origin: center;
	transform: rotate(180deg);
	margin-right: 20px;
}

@media only screen and (max-width: 768px){
	
	#step5 header .item{
		margin-bottom: 4px;
		padding: 0;
	}

	#step5 .selectBox .box2{
		padding: 20px 0;
	}
	
/* スマホの拡大対策 */	

	.simulatorBox  .subject
	{
		  /* transform: scale(0.8); */
	}

	.simulatorBox #step4 .subject
	{
		  /* transform: scale(1); */
	}
	
	html {
	  touch-action: manipulation;
	  touch-action: pan-x | pan-y;
	}
	
}

@media only screen and (max-width: 427px) {
	

	.buttonarea a.contact {
	  font-size: 18px;
	}

	.step main .contents .buttonarea.calc a.back em{
		font-size: 18px;
	}

	.calc main .contents .buttonarea {
		margin: 0 auto;
		width: 100%;
	}

	.calc main .contents .buttonarea a em{
		line-height: 20px;
	}

	.calc main .contents .buttonarea a.back{
		width: 160px;
	}
	
}

	
	
