@charset "utf-8";

:root {
	--white: #fff;
	--black: #333333;
	--yellow: #FFFF66;
	--main: #272B76;
	--pharmacy: #009933;
	--food: #FF9966;
	--f-large: 16px;
	--f-normal: 13px;
	--f-small: 11px;

	--sab: #E3F7FF;
}

/* 背景 --------*/
main {
	background: url(../moth-eye/img/background.jpg) no-repeat top / 100% auto, #000000;
	color: var(--white);
	font-size: 1.1em !important;
	line-height: 1.9em;
	padding-bottom: 60px;
}

section {
	margin: 0 auto 60px;
	max-width: 980px;
	width: 92%;
	position: relative;
}

/*-------- hタグ --------*/
h2,h3,h4,h5 {letter-spacing: 0.05em;}

h2 {
	margin-bottom: 30px;
	text-align: center;
}

h3 {
	margin: 0 auto 40px;
	color: var(--white);
	font-size: 115%;
	line-height: 1.7;
}

h4 {
    margin-bottom: 25px;
    padding: 8px 25px;
    color: var(--black);
    font-size: 125%;
    text-align: center;
    background: var(--white);
    border-radius: 50px;
}

h5 {
	margin: 25px 0;
	border-left: 3px solid;
	padding-left: 1em;

}

/* ------------------------------------
ボタン
------------------------------------*/
a.btn {
	width: 80%;
	max-width: 200px;
	margin: 40px auto 0;
	padding: 1em;
	font-weight: 400;
	display: block;
	color: var(--black);
	text-align: center;
	background: var(--white);
	border: 2px solid var(--white);
	display: block;
	cursor: pointer;
}

a.btn:hover {
	color: var(--white);
	background: none;
	opacity: 1;
}

a.btn i {
	margin-left: 7px;
	font-size: 120%;
}

/* ------------------------------------
#sec1 パンくず
------------------------------------*/
#sec1 {
	background: #f0f3f5;
	color: var(--black);
	padding: 10px 0;
	max-width: 100%;
	width: 100%;
	font-size: 80% !important;
}

/* ------------------------------------
#sec2 タイトル
------------------------------------*/
#sec2 h2 {
	border-top: 2px solid var(--white);
	border-bottom: 2px solid var(--white);
	padding: 5% 10%;
	margin: 0 auto 60px;
	text-align: center;
	width: 80%;
	max-width: 600px;
}

#sec2 h2 img {
	width: 100%;
	max-width: 400px;
}

#sec2 h3 {
	margin: 0 auto 60px;
	text-align: center;
	width: 100%;
	max-width: 600px;
}

#sec2 span {
	position: absolute;
	bottom: 7%;
	right: 9%;
}

/* ------------------------------------
#sec3 詳細
------------------------------------*/
#sec3 {
	display: flex;
	justify-content: space-between;
	gap: 4%;
}

#sec3 .text {
	width: 75%;
}

#sec3 .pic {
	width: 31%;
	text-align: center;
}

#sec3 .pic img {
	margin-bottom: 25px;
}

#sec3 span {
	display: block;
	font-size: var(--f-small);
}

#sec3 .img {
	display: flex;
	gap: 20px;
}

#sec3 .img img {
	min-width: 0;
}

/* ------------------------------------
#sec4 製品紹介
------------------------------------*/
#sec4 {
	display: flex;
	justify-content: space-between;
}

#sec4 div {
	border: 1px solid var(--white);
	background:rgba(255, 255, 255, 0.16);
	padding: 25px 25px 40px;
	border-radius: 25px;
	width: 32%;
}

#sec4 div img {
	width: 100%;
	border-radius: 10px;
}

/* ------------------------------------
#sec5 防曇試験
------------------------------------*/
#sec5 {
	border: 1px solid var(--white);
	background:rgba(255, 255, 255, 0.16);
	padding: 55px;
	border-radius: 25px;
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 40px 0;
}

#sec5 div {
	width: 47%;
	text-align: justify;
}

#sec5 div:first-child,
#sec5 div:last-child {
	width: 100%;
}

#sec5 .test { /* 防曇試験 */
	padding-left: 1.3em;
	text-indent: -1.3em;
}

#sec5 .test li:before {
	content: "■ ";
	color: var(--white);
}

#sec5 .img { /* 画像 */
	display: flex;
	justify-content: space-between;
	text-align: center;
	flex-wrap: wrap;
}

#sec5 .img li {
	width: 50%;
}

#sec5 img {
	width: 100%;
	max-width: 300px;
	margin: auto;
}

#sec5 span { /* モスアイなし／あり */
	display: block;
	width: 100%;
	font-weight: bold;
}

#sec5 div:nth-child(2) span,
#sec5 div:nth-child(3) span {
	margin-top: 10px;
}

#sec5 p {
	margin-bottom: 25px;
	text-align: justify;
	margin-bottom: 25px;
}

#sec5 iframe { /* YouTube */
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	max-width: 560px;
	display: block;
	margin: auto;
}


/** middle
===================================*/
@media screen and (max-width: 990px){

}


/** mobile
===================================*/
@media screen and (max-width: 768px){
	/* ------------------------------------
	#sec2 タイトル
	------------------------------------*/
	#sec2 {
		margin: 0 auto 40px;
	}
	
	#sec2 h3 {
		margin: 0 auto 40px;
		width: 100%;
	}

	#sec2 .shield {
		width: calc(100vw + 3%);
		top: 0;
		left: 50%;
		transform: translate(-50%, 0);
		position: relative;
		max-width: 900px;
	}

	#sec2 span {
		bottom: 3%;
		right: 0;
		font-size: var(--f-small);
	}

	/* ------------------------------------
	#sec3 詳細
	------------------------------------*/
	#sec3 {
		gap: 40px;
		flex-wrap: wrap;
	}

	#sec3 h3 {
		margin-bottom: 25px;
	}


	#sec3 .text {
		width: 100%;
	}

	#sec3 .pic {
		width: 100%;
		text-align: center;
		display: flex;
		flex-direction: row-reverse;
		gap: 20px;
		align-items: center;
		justify-content: center;
	}

	#sec3 .pic img {
		min-width: 125px;
	}

	#sec3 span {
		display: block;
		font-size: var(--f-small);
	}

	#sec3 .img {
		flex-wrap: wrap;
		justify-content: center;
	}

	#sec3 .img img {
		min-width: auto;
		width: 25%;
	}

	/* ------------------------------------
	#sec4 製品紹介
	------------------------------------*/
	#sec4 {
		flex-wrap: wrap;
		gap: 30px;
	}

	#sec4 div {
		width: 100%;
	}

	/* ------------------------------------
	#sec5 防曇試験
	------------------------------------*/
	#sec5 {
		padding: 25px;
	}

	#sec5 div {
		width: 100%;
	}

	#sec5 .img { /* 画像 */
		margin-bottom: 0;
	}

	#sec5 .img li {
		width: 100%;
	}

	#sec5 div:nth-child(4) .img { 
		gap: 25px;
	}
	
	#sec5 div:nth-child(5) p { 
		margin-bottom: 0;
	}

}
