@import url("common.css");

#about{
	padding: 0 20px;
	width: 100%;
	max-width: 1100px;
	margin: 0 auto;
}
.midashi{
	text-align: center;
	line-height: 3;
	color: #D0121B;
	font-weight: bold;
	margin: 50px 0;
}
.about-text{
padding: 100px 20px;
	position: relative;
	max-width: 1100px;
	margin: 100px auto 200px;
}
.about-text p{
line-height: 2.4;
width: 850px;
    margin: 0 auto;
}
.about-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%); /* 真ん中に寄せる */
    width: 100%;  /* 画像の幅に合わせて調整 */
    height: 160px;  /* 画像の高さに合わせて調整 */
    background: url('/image/top/phrase_top.svg') no-repeat center center / contain;
}

/* 下の飾り */
.about-text::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    height: 160px;
    background: url('/image/top/phrase_bottom.svg') no-repeat center center / contain;
}
#flow{
	background-color: #FDF0E7;

}
#flow h4{
	text-align: center;
	font-size: 20px;
	margin: 50px 0;
	padding: 0 20px;
	line-height: 1.4;
}
.flow-caption{
	width: 900px;
	margin: 0 auto;
	line-height: 2;
	margin-bottom: 20px;
	padding: 0 20px;
}
.flow{
	width: 100%;
	max-width: 1100px;
	margin: 100px auto;
	padding: 0 20px 100px;
}
.flow-box{
	display: flex;
	justify-content: space-between;
	margin: 0 0 50px;
}
.flow-pic{
	width: 48%;
	height: 250px;
	position: relative; /* 子要素（pタグ）の基準点にする */
    display: inline-block; /* 画像の幅に合わせる（横に並べるなら必要） */
    line-height: 0;
}
.flow-pic img{
	object-fit: cover;
    width: 100%;
    height: 100%;
    border-radius: 10px;
}
.flow-pic p {
    position: absolute; /* 親要素に対して絶対配置 */
    top: 50%;           /* 上から50%の位置 */
    left: 50%;          /* 左から50%の位置 */
    transform: translate(-50%, -50%); /* 自分の幅・高さの半分だけ戻す（完璧な中央） */
    font-family: 'KudryashevDisplaySans', sans-serif;
    /* 見ための調整 */
    margin: 0;          /* WordPressのデフォルト余白をリセット */
    color: #ffffff;     /* 文字色 */
    font-size: 40px;
    z-index: 1;         /* 画像の上に確実に来るように */
}
.flow-text{
width: 49%;
}
.flow-text p{
	line-height: 2;
}
.flow-text a{
	text-decoration:underline;
}
.flow-text a.btn2{
	text-decoration: none;
}
.flow-text .flow-title{
	font-size: 20px;
	border-bottom: solid #ccc 1px;
	padding: 0 0 10px;
	margin: 0 0 10px;
	line-height: 1;
	font-weight: bold;
}
.btn2{
	margin: 30px 0;
}
.flow-waku{
	    background-color: #fff;
    padding: 20px;
    margin: 20px 0;
    font-size: 14px;
}
.waku-midashi{
	margin-bottom: 10px;
	color: #000;
}
.flow-text p{
	color: #333;
	margin: 0 0 10px;
}
.memo-contents{
	width: 100%;
	max-width: 1100px;
	margin: 100px auto;
	padding: 0 20px 100px;
	display: flex;
	justify-content: space-between;
}
.memo-l,.memo-r{
	width: 49%;
	background-color:#FCF3F3 ;
	border-radius: 10px;
	padding: 50px;
	line-height: 2;
}
.memo-l h3,.memo-r h3{
	text-align: center;
	font-size: 20px;
	background-image: url(/image/common/title_bg.svg);
    background-repeat: no-repeat;
    background-position: center bottom;
    padding: 0 0 20px 0;
    margin: 0 0 50px;
}
.memo-l p,.memo-r p{
	margin-bottom: 20px;
}

@media screen and (max-width: 469px){
.about-text{
    margin: 50px auto 100px;
}
.about-text p,.flow-caption,.flow-text{
    width: 100%;
}
.flow,.memo-contents{
	padding-bottom: 50px;
}
.flow-box,.memo-contents{
	display: block;
}
.flow-pic{
	width: 100%;
	height: 180px;
	margin: 0 0 20px 0
}
.flow-text a.btn2 {
    margin: 30px auto;
}
.memo-l, .memo-r {
    width: 100%;
    margin-bottom: 20px;
    padding: 24px;
}
}