/* CSS Document */

section
{
	position: relative;
}

section .body
{
	position: static;
	min-height: calc(50vw * (700 / 960));
}

#repair .photo,
#sell .photo
{
	width: 48vw;
	position: absolute;
	top: 0px;
	right: 0px;
}

#sell .photo
{
	left: 0px;
	right: auto;
}

section .photo img
{
	width:100%;
	height: auto;
}

section .text
{
	width: 46%;
}

#sell .text
{
	float: right;
}

section h2
{
	font-size: 28px;
	line-height: 1.2;
	font-weight: bold;
	margin-bottom: 10px;
}

section .text ul
{
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	column-gap: 10px; /* 横のスペース */
	row-gap: 10px; /* 縦のスペース */
	align-items: stretch;
	margin-top: 40px;
	margin-right: 0px;
	margin-bottom: 20px;
	margin-left: 0px;
	padding-top: 0px;
	padding-right: 0px;
	padding-bottom: 0px;
	padding-left: 0px;
}

section .text ul li
{
	font-size: 24px;
	line-height: 1;
	color: var(--base-color);
	margin: 0px;
	padding: 20px;
	list-style-type: none;
	border-radius: 6px;
	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	background-color: #eef5e8;
	border: 1px solid var(--base-color);
	text-align: center;
}



/* PCのみ設定  768 以上*/
@media screen and (min-width:768px)
{



}

/* タブレットレイアウト : 768 px 〜 959 px*/
@media screen and (max-width:1200px)
{

section .body
{
	position: relative;
	min-height: initial;
	display: flex;
	justify-content: space-between;
	flex-direction: row-reverse;
}

section .text ul li
{
	font-size: 18px;
	line-height: 1;
	padding-top: 20px;
	padding-right: 10px;
	padding-bottom: 20px;
	padding-left: 10px;
}


#sell .body
{
	flex-direction: row;
}

#repair .photo,
#sell .photo
{
	width: 48%;
	position: static;
	top: auto;
	right: auto;
	left: auto;
}

#sell .text
{
	float: none;
}



}

/* スマホ設定  768 以下*/
@media screen and (max-width:767px)
{

section .text ul li
{
	font-size: 18px;
	line-height: 1;
	padding-top: 20px;
	padding-right: 10px;
	padding-bottom: 20px;
	padding-left: 10px;
}


}

/* スマホ設定  599 以下*/
@media screen and (max-width:599px)
{

section .body
{
	display: block;
}

#repair .photo,
#sell .photo
{
	width: auto;
	position: static;
	float: none;
	clear: both;
	margin-bottom: 10px;
}

#repair .text,
#sell .text
{
	width: auto;

}


}