@charset "UTF-8";
/* CSS Document */

/* とりあえずテンプレ用なのでそのまま使わない */
section {
	margin-bottom: 40px;
}
small {
	font-size: 12px;
}
/* //とりあえずテンプレ用なのでそのまま使わない */


/** 
 * 個別スタイル入る
 */
h4 {
	margin-top: 20px;
}

.dentaku {
	width: 100%;
	max-width: 960px;
}

#box-calc {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	margin-top: 35px;
	align-items: flex-start;
	justify-content: space-between;
}
#box-calc #box-calc_item {
	width: 60%;
}
#box-calc #box-calc_addition {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	align-items: center;
	margin-left: 10px;
	justify-content: space-between;
	/*
	align-items: flex-end;
	 */
}
#box-calc #item-sum{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	height: 100%;
}

@media screen and (max-width:768px) {
	#box-calc {
		display: block;
	}
	#box-calc #box-calc_item {
		width: 100%;
	}
	#box-calc #box-calc_addition {
		justify-content: space-around;
		text-align: center;
	}
	#box-calc #box-calc_addition {
		margin-left: 0;
	}

	.item-equal {
		text-align: center;
	}
	.item-equal img{
		width: 30%;
		max-width: 123px;
	}
/*
	#box-calc .img01{
		width: 100%;
	}
	#box-calc .img01 img{
		display: block;
		width: 70%;
		margin: 0 auto;
	}

 */
}

.item-calc {
	display: block;
	/*
	width: 85px;
	 */
	/*
	width: 8vw;
	max-width: 85px;

	 */
	min-height: 95px;
	position: relative;
}
.item-calc .link_detail{
	position: absolute;
	bottom: 4%;
	left: 2%;
	width: 47%;
	height: 1.2em;
}
.item-calc .link_special{
	position: absolute;
	bottom: 4%;
	right: 2%;
	width: 47%;
	height: 1.2em;
}


#box-calc .item-calc {
	width: 144px;
	/*
	min-height: 161px;
	 */
}
@media screen and (max-width:768px) {
	#box-calc .item-calc {
		width: 35%;
	}
}

#box-calc #box-calc_sum {
	/*
	width: 584px;
	 */
	width: 50%;
	height: 100%;
	min-height: 245px;
	padding: 0;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	justify-content: center;
	margin-top: -10px;
}
#box-calc #box-calc_sum .item-calc {
	width: 180px;
	height: 221px;
	background: #fff;
	margin: 12px 7px;
	position: relative;
}
#box-calc #box-calc_sum .item-calc .name {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translateY(-50%) translateX(-50%);
	width: 100%;
	font-size: 80%;
	border: solid 1px #00f;
	text-align: center;
}
@media screen and (max-width:768px) {
	#box-calc #box-calc_sum {
		width: 100%;
		min-height: inherit;
		padding-top: 0;
		margin-top: 0;
	}
	#box-calc #box-calc_sum .item-calc {
		width: 45%;
		height: auto;
	}
}

#box-calc_parts {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
	margin-top: 27px;
	justify-content: space-between;
	align-items: center;
}

#box-item-list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;

	margin-top: 20px;
	margin-bottom: 20px;
	width: 66.5%;
	margin-left: 10px;
}
#box-item-list > div {
	cursor: pointer;
	margin-right: 6px;
	margin-bottom: 10px;
	width: 8.5vw;
	max-width: 85px;
	min-height: inherit;

}
#box-item-list > div:hover {
	opacity: .5;
}

@media screen and (max-width:768px) {
	#box-item-list {
		width: 100%;
		margin-left: 0;
		order: 2;
	}
	#box-item-list > div {
		width: 24.3%;
		margin-right: .81vw;
		margin-bottom: .83vw;
		text-align: center;
	}
	#box-item-list > div:nth-child(4n) {
		margin-right: 0;
	}
}

#box-item_btns {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	/*
	flex-wrap: wrap;
	 */
	justify-content: center;

	margin-top: 20px;
	margin-bottom: 20px;
	width: calc(100% - 68.5% - 10px);
	/*
	margin-left: 10px;
	 */
}
#box-item_btns > div {
	/*
	width: 85px;
	 */
	width: 8.5vw;
	max-width: 85px;
}
/*
@media screen and (max-width:768px) {
	#box-item_btns > div {
		width: 24.3%;
		max-width: none;
	}
}

 */
.btn-item {
	cursor: pointer;
	display: inline-block;
	margin-left: 10px;
}
.btn-item.select {
	opacity: .5;
}
.btn-clear {
	cursor: pointer;
	display: inline-block;
	margin-left: 10px;
}

.item-plus,
.item-equal.pc{
	/*
	padding: 0 10px;
	 */
	/*
	width: 15%;
	 */
	width: 8.5vw;
	max-width: 85px;
}
@media screen and (max-width:768px) {

	#box-item_btns {
		width: 100%;
		text-align: center;
		order: 1;
	}
	#box-item_btns > div {
		width: 24.3%;
	}
	.item-plus {
		width: 24.3%;
		padding: 0;
	}
	.btn-item#item-plus {
		margin-left: 0;
	}
}
