@charset "utf-8";
/*thema17_css*/
h1#maintitle {
	background: #333333;
	height: 45px;
}

h1#maintitle span.mq {
	display: none;
}

h1#maintitle a{
	color: #fff;
	text-decoration: none;
}

.fl-l {
	float: left;
}

ul#mainArea h2 {
	margin: 0 0 1.5em 0;
	padding: 0 0 0.2em 0;
	border-bottom: #E95405 1px solid;
}

h3.s-title {
	margin: 0 0 1em 0;
	border-bottom: #999 1px solid;
	font-size: 24px;
	padding: 0;
	font-weight: normal;
}

.s-title span {
	border-left: #999 7px solid;
	padding: 0.1em 0 0.em 0.5em;
	display: block;
}

#contents h3 ~ p,
#contents h3 ~ ul{
	padding-left: 1.3em ;
}


#contents h3.square {
	font-size: 1.2em!important;
	font-weight: bold;
	margin: 3em 0 0.5em 0!important;
	padding-left: 1em!important;
	position: relative;
}

#contents h3.square::before{
	content: "";
	display: block;
	width: 0.8em;
	height: 0.8em;
	background: #000;
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	margin: auto;
}

#contents h3.square ~ .imgArea{
	margin: 2em 0;
}

#contents ul.flex li.w_380{
	width: 380px
}


#contents ul li.flex_txt{
	display: flex;
	margin: 2em 0;
}

#contents ul li.flex_txt dl{
	margin-left: 1em;
}

#contents ul li.flex_txt dl dt{
	font-weight: bold;
	margin-bottom: 1em;
}

#contents ul li.flex_txt img.pcOnly{
	display: block;
}

#contents ul li.flex_txt img.mqOnly{
	display: none;
}

#contents figure.center figcaption{
	text-align: left;
}

@media screen and (max-width: 640px) {
	h1#maintitle {
		height: auto;
		background: #333;
		color: #FFFFFF;
		padding: 5px 10px !important;
	}

	h1#maintitle img {
		display: none;
	}

	h1#maintitle span.mq {
		display: block;
		font-size: 15px !important;
	}

	ul#mainArea li#txtArea {
		width: auto;
		float: none;
	}
	ul#mainArea li#txtArea h2 img,
	h2.main img {
		max-width: 450px;
		width:100%;
		height:auto;
	}

	h3.s-title {
		font-size: 18px;
	}

	div.space0 {
		text-align: center;
	}

	#contents h4::before {
		margin: 0.3em 0;
	}

	#contents h4 ~ p,
	#contents h4 ~ ul{
		padding-left: 0;
	}

	#contents ul.flex {
		flex-direction: column;
		align-items: center;
	}

	#contents ul.flex li{
		width: 100%;
		max-width: 250px;
		margin: 1em 0;
	}

	#contents ul.flex li.w_380{
		width: 100%;
		max-width: 380px;
	}

	#contents ul.flex li.w_380 img{
		width: 100%;
	}

	#contents ul li.flex_txt{
		flex-direction: column;
		align-items: center;
	}

	#contents ul li.flex_txt img{
		width: 100%;
		max-width: 380px;
		margin-bottom: 1em;
	}

	#contents ul li.flex_txt img.pcOnly{
		display: none;
	}

	#contents ul li.flex_txt img.mqOnly{
		display: block;
		margin: 0 auto 1em;
	}

	#contents ul li.flex_txt dl{
		margin-left: 0;
	}

	#contents ul li.flex_txt dl dt{
		margin-bottom: 0.5em;
		text-align: center;
	}

	#contents figure.center{
		width: 100%;
		max-width: 250px;
	}
}

/* 20230731 */

#contents .rightTextArea .wrapper{
	margin: 2em 0;
	overflow: hidden;
}

#contents .rightTextArea p{
	width: calc(100% - 394px);
	float: right;
}

#contents .wrapper .flex.imgArea{
	float: left;
	margin: 0;
}

#contents .rightTextArea p.lead{
	margin-bottom: 10px;
	font-weight: bold;
}

#contents .flex.imgArea .zoomBtn.w_250_v p.center{
	text-align: center !important;
}

#contents .flex.imgArea .zoomBtn.w_250_v,
#contents .flex.imgArea .zoomBtn.w_250_v .photo img{
	max-width: 250px;
}

@media (max-width: 640px){
	#contents .rightTextArea p{
		width: 100%;
		float: none;
	}
	#contents .wrapper .flex.imgArea{
		float: none;
		margin-bottom: 10px;
	}
	#contents .rightTextArea .flex.imgArea.w_380 .zoomBtn .photo{
		height: 253px;
		margin-bottom: 1em;
	}
	#contents .rightTextArea p.lead{
		text-align: center;
	}
	#contents .flex.imgArea.w_250 .zoomBtn{
		display: block;
	}
	#contents .flex.imgArea .zoomBtn.w_250_v{
		margin-bottom: 20px;
	}
	
}

@media (min-width: 641px){
	#contents .flex.imgArea .zoomBtn.w_250_v .modal button{
		height: 375px;
	}
	#contents .flex.imgArea .zoomBtn.w_250_v .zoom_ico2{
		top:355px;
	}
	#contents .flex.imgArea .zoomBtn.w_250_v p ~ .zoom_ico2{
		top: 380px !important;
	}
}
