@charset "utf-8";
/* CSS Document */

/*------------------------------------------------------------
	2026/01制作
------------------------------------------------------------*/

#wrapper{
    padding-bottom: 30px;
}

@media screen and ( max-width:960px )
{

#wrapper{
    padding-bottom: 30px!important;
}

}

.story-box{
	width: 70%;
	max-width: 1000px;
	margin: 0 auto;
	text-align: center;
	line-height: 2em;
}

.story-box h2{
	font-size: 130%;
	margin: 15px auto;
	font-weight: bold;
	background: white;
	position: relative;
}

.story-box h2::before{
	position: absolute;
	top: calc(50% - 1px);
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	width: 90%;
	max-width: 800px;
	height: 1px;
	content: '';
	background: #000;
}

.story-box h2 span {
	position: relative;
	padding: 0 1em;
	background: white;
}

.story-box h3{
	display: block;
	margin: 30px auto;
	font-size: 130%;
	font-weight: bold;
	text-decoration: underline 3px solid red;
	text-underline-offset: 0.5em;
}

.story-box .img{
	margin-bottom: 2em;
}

.story_txt{
	margin-bottom: 3em;
}

.story-box h4{
	font-size: 120%;
	margin-top: -1em;
}

.red-waku{
	color: red;
	border: 1px solid red;
	padding: 1em;
	font-size: 1.35em;
	font-weight: bold;
	margin-top: 1em;
}

@media screen and ( max-width:700px )
{

.story-box{
	width: 90%;
	font-size: 15px;
	text-align: left;
	line-height: 1.5em;
}

.story-box h2{
	text-align: center;
}

.story-box h3{
	text-align: center;
}

}