#banner
{
	background-image: url('<?=userimg($article->photo)?>');
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	padding-top:150px;
	padding-bottom:150px;
	text-align: center;
	margin-bottom:100px;
	h1
	{
		color:#fff;
		font-size: 32px;
		font-style: normal;
		font-weight: 600;
		line-height: 150%; /* 48px */
		letter-spacing: 3.2px;
	}
}

#typea
{
	padding-bottom:100px;
	h2
	{
		font-size: 20px;
		font-style: normal;
		font-weight: 600;
		line-height: 150%; /* 30px */
		letter-spacing: 2px;
		margin-bottom: 100px;
	}
	.box
	{
		.article-list
		{
			text-align: center;
			display: flex;
			flex-wrap:wrap;
			> div
			{
				border:1px solid #CB1408;
				position: relative;
				border-radius: 10px;
				padding:50px 20px 20px 20px;
				i
				{
					top:-20px;
					left:calc(50% - 20px);
					position: absolute;
					width: 40px;
					height:40px;
					text-align: center;
					color:#fff;
					line-height: 40px;
					border-radius: 100%;
					background-color: #CB1408;
				}
				h2
				{
					font-size: 20px;
					font-weight: 400;
					line-height: 150%; /* 30px */
					letter-spacing: 2px;
					margin-bottom:10px;
				}
				p
				{
					font-size: 16px;
					font-weight: 400;
					line-height: 150%; /* 24px */
					letter-spacing: 1.6px;
				}
			}
		}
		.photo
		{
			a
			{
				display: block;
				position: relative;
				div
				{
					position: absolute;
					width: 100%;
					padding:20px;
					left:0px;
					bottom:0px;
					background-color: rgba(255,255,255,.5);
					text-align: center;
					span
					{
						
						padding:20px;
						border-radius: 20px;
						display: block;
						margin:auto;
						width: 100%;
						font-size: 16px;
						font-weight: 600;
						line-height: 150%; 
						letter-spacing: 1.6px;
						background-color: #00B900;
						color:#fff;
						
					}
				}
				picture
				{
					display: block;
					img
					{
						display: block;
						width: 100%;
					}
				}

			}
		}

		@media(min-width:981px)
		{
			display: flex;
			.article-list
			{
				flex:1;
				>div
				{
					margin:0 30px 30px 30px;
					width: calc((100% - 120px) / 3);
					&:nth-child(3n)
					{
						margin-right: 0px;
					}
					&:nth-child(3n + 1)
					{
						margin-left: 0px;
					}
				}
			}
			.photo
			{
				margin-left:5%;
			}
		}
		@media(max-width:980px)
		{
			display: flex;
			.article-list
			{
				flex:1;
				>div
				{
					width: calc(50% - 10px);
					margin:0 10px 20px 10px;
					&:nth-child(2n)
					{
						margin-right:0px;
					}
					&:nth-child(2n + 1)
					{
						margin-left:0px;
					}
				}
				
			}
			.photo
			{
				margin-left:10px;
			}
		}
		
		@media(max-width:767px)
		{
			display: block;
			.article-list
			{
				>div
				{
					width:calc(50% - 10px);
					margin:0 10px 20px 10px;
					&:nth-child(2n)
					{
						margin-right: 0px;
						
					}
					&:nth-child(2n + 1)
					{
						margin-left: 0px;
					}
				}
			}
			.photo
			{
				>a
				{
          picture
          {
            display: none;
          }
					>div
					{
						top:0;
						bottom:auto;
					}
				}
			}
		}
	}
}
#typeb
{
	background-color: #F5F5F5;
	padding-top:50px;
	padding-bottom:50px;
	text-align: center;
	h2
	{
		font-size: 20px;
		font-weight: 600;
		line-height: 150%; /* 30px */
		letter-spacing: 2px;
		margin-bottom:50px;
	}
	ul
	{
		display: flex;
		li
		{
			picture
			{
				display: block;
				margin-bottom:20px;
				img
				{
					display: block;
					width: 100%;
				}
			}
			span
			{
				display: block;
				font-size: 20px;
				font-weight: 400;
				line-height: 150%; /* 30px */
				letter-spacing: 2px;
			}
			&:nth-child(6n)
			{
				margin-right: 0px;
			}
			&:nth-child(6n + 1)
			{
				margin-left:0px;
			}
		}
	
	}
	@media(min-width:980px)
	{
		ul
		{
			li
			{
				width: calc(76% / 5);
				margin:0 3%;
				
			}
		}
	}
	@media(max-width:979px)
	{
		ul
		{
			overflow-y: auto;
			li
			{
				min-width:150px;
				margin:0 10px;

			}
		}
	}
}

#typec
{
	.type-menu
	{
		padding-top:100px;
		padding-bottom:100px;
		display: flex;
		li
		{
			width:calc(73% / 3);
			margin:0 9%;
			position: relative;
			border:2px solid #e8e8e8;
			display: flex;
			justify-content:center;
			align-items:center;
			&::after
			{
				padding-top:100%;
				content:' ';
				display: block;
			}
			&:nth-child(3n)
			{
				margin-right: 0px;
			}
			&:nth-child(3n + 1)
			{
				margin-left:0px;
			}
			a
			{
				display: block;
				
				text-align: center;
				padding:20px 0;
				i
				{
					display: block;
					color:#CB1408;
					font-size:80px;
					margin:0 auto;
					width: 80px;
					margin-bottom:10px;
				}
				span
				{
					display: block;
					color:#333;
					font-size: 20px;
					font-weight: 400;
					line-height: 150%; /* 30px */
					letter-spacing: 2px;
				}
			}
		}
		@media(max-width:767px)
		{
			li
			{
				width: calc((100% - 20px) / 3);
				margin:0 10px;
			}
		}
	}

	#service-type
	{
		margin-bottom:100px;
		article
		{
			margin-bottom:30px;
			picture
			{
				display: block;
				img
				{
					display: block;
					width: 100%;
				}
			}
			>div
			{
				h2
				{
					padding:20px 0;
					font-size: 20px;
					font-weight: 400;
					line-height: 150%; /* 30px */
					letter-spacing: 2px;
				}
				p
				{
					font-size: 16px;
					font-style: normal;
					font-weight: 400;
					line-height: 150%; /* 24px */
					letter-spacing: 1.6px;
				}
			}
		}
		@media(min-width:768px)
		{
			article
			{
				display: flex;
				align-items:center;
				picture
				{
					width: 50%;
				}
				>div
				{
					flex:1;
					padding-left:9%;
				}
				&:nth-child(2n)
				{
					picture
					{
						order:1;
					}
					>div
					{
						padding-left:0px;
						padding-right:9%;
						order:0;
					}
				}
			}
		}
	}
	#use-type
	{
		padding-top:100px;
		padding-bottom:100px;
		background-color: #F5F5F5;
		h2
		{
			text-align: center;
			font-size: 20px;
			font-weight: 600;
			line-height: 150%; /* 30px */
			letter-spacing: 2px;
			margin-bottom:60px;
		}
		ul
		{
			display: flex;
			li
			{
				width:20%;
				i
				{
					background-color: #fff;
					border-radius: 100%;
					display: block;
					width:100px;
					height:100px;
					margin:0 auto 20px auto;
					line-height:100px;
					text-align: center;
					font-size:70px;
					color:#CB1408;
				}
				span
				{
					display: block;
					padding:0 20px;
					text-align: center;
					font-size: 20px;
					font-weight: 400;
					line-height: 150%; /* 30px */
					letter-spacing: 2px;
				}
			}
		}
		@media(max-width:767px)
		{
			ul
			{
				display: block;
				li
				{
					width: 100%;
					margin-bottom:30px;
				}
			}
		}
	}
	#qa-type
	{
		padding-top:100px;
		padding-bottom:100px;
		h2
		{
			margin-bottom:60px;
			text-align: center;
			font-size: 20px;
			font-style: normal;
			font-weight: 600;
			line-height: 150%; /* 30px */
			letter-spacing: 2px;
		}
		dl
		{
			padding-bottom:20px;
			margin-bottom:20px;
			border-bottom: 1px solid #d1d1d1;
			dt
			{
				font-size: 20px;
				font-style: normal;
				font-weight: 600;
				line-height: 150%; /* 30px */
				letter-spacing: 2px;
			}
			dd
			{
				padding:25px 0;
				font-size: 16px;
				font-style: normal;
				font-weight: 400;
				line-height: 150%; /* 24px */
				letter-spacing: 1.6px;
			}
			
		}
	}
}