@charset "UTF-8";
/* CSS Document */

.header img {
	width: 100%;
}

.nav-logo {
	margin-right: 20px;
}

.logo-img {
	width: 50px;
	height: auto;
	vertical-align: middle;
}

nav {
	position: fixed;
	top: 0;
	width: 100%;
	height: 90px;
	background-color: #ffffff;
	z-index: 9999;
}

nav ul {
	display: flex;
	justify-content: center;
	align-items: center;
}

nav ul li {
	margin: 0 15px;
	font-size: 13px;
	letter-spacing: 0.09em;
}

nav ul li a {
	line-height: 100px;
}

nav ul li a:hover {
	text-decoration: underline solid 3px #ffb4b3;
}

header {
	background: url("../素材/kifu_home.png") no-repeat center center;
	background-size: cover;
	height: 480px;
}

@media screen and (max-width: 768px) {
	header {
		background-size: contain;
		background-position: center top;
		height: auto;
		aspect-ratio: 3 / 2;
	}

}

body {
	font-family: 'Noto Sans JP', sans-serif;
}

.text1 {
	font-size: 40px;
	padding-top: 80px;
	padding-bottom: 80px;
	text-align: center;
	color: #80a6ff;
	font-weight: bold;
}

.mainwrap {
	background-color: #ffffff;
	padding-bottom: 100px;
	padding-top: 60px;
}

.bg {
	width: 100%;
}

.flex {
	width: 50%;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.flex p {
	color: #333e49;
	line-height: 2;
	letter-spacing: 0.1em;
	font-size: 16px;
	font-weight: bold;
}

.p {
	margin-bottom: 40px;
}

.mainwrap h3 {
	color: #80a6ff;
	text-align: center;
	font-size: 16px;
}

.subwrap {
	background-color: #f4f1ed;
	padding-bottom: 150px;
}

.subwrap h1 {
	text-align: center;
	font-size: 25px;
	color: #333e49;
	font-weight: bold;
	padding-bottom: 20px;
	padding-top: 120px;
}

.subwrap_ko {
	background-color: #ffffff;
	width: 55%;
	margin-right: auto;
	margin-left: auto;
	border-radius: 40px;
}

.subwrap_ko h1 {
	font-size: 35px;
	text-align: center;
	padding-top: 100px;
	padding-bottom: 40px;
}

.howtodonation1,
.howtodonation2,
.howtodonation3,
.howtodonation4 {
	margin: 30px auto;
	padding-left: 120px;
	padding-right: 120px;
}

.howtodonation1 {
	padding-top: 90px;
}

.howtodonation4 {
	padding-bottom: 90px;
}

.howtodonation1,
.howtodonation2,
.howtodonation3,
.howtodonation4 p {
	letter-spacing: 0.1em;
	font-size: 15px;
	line-height: 1.5;
}

.murasaki {
	border-bottom: dotted 3px #aabece;
	color: #aabece;
	margin-bottom: 10px;
	font-size: 25px;
	font-weight: bold;
	letter-spacing: 0.05em;
}

.image {
	position: relative;
}

.image img {
	position: absolute;
	top: -150px;
	right: 460px;
}


.subwrap1 {
	background-color: #ffffff;
}

.subwrap1 h1 {
	font-size: 40px;
	padding-top: 100px;
	padding-bottom: 40px;
	text-align: center;
	color: #80a6ff;
	font-weight: bold;
}


/*アコーディオンここから
*/

* {
	margin: 0;
	padding: 0;
}

.wrapper {
	width: 60%;
	margin: 0 auto;
	padding-bottom: 100px;
}

.wrapper h1 {
	border-bottom: solid 3px #80a6ff;
	font-size: 22px;
	padding-bottom: 10px;
}

h2 {
	padding: 1.1em 0;
	border-bottom: 1px solid #ccc;
	cursor: pointer;
	font-size: 17px;
	font-weight: bold;
}

.accordion+ul li {
	list-style-type: none;
	border-bottom: 1px solid #ccc;
	font-size: 15px;
}

.accordion+ul li a {
	display: block;
	padding: 0.5em 0 0.5em 1em;
	color: #333;
	text-decoration: none;
	transition: 0.5s;
	line-height: 1.9;
}

.accordion+ul li a:hover {
	background-color: #ccc;
	color: #fff;

}

/*//アコーディオンここまで*/

.subwrap2 {
	background-color: #f4f1ed;
	padding-bottom: 150px;

}

.subwrap2 h1 {
	font-size: 25px;
	padding-top: 100px;
	padding-bottom: 10px;
	text-align: center;
	color: #333e49;
	font-weight: bold;
}

.text2 {
	font-size: 15px;
	padding-bottom: 80px;
	text-align: center;
}


/*活動報告ここから
*/
.subwrap2_ko {
	display: flex !important;
	flex-wrap: wrap;
	/* 允许换行 */
	justify-content: space-between;
	/* 保持均匀间距 */
	gap: 15px;
	/* 控制间距 */
	padding: 20px;
	max-width: 1200px;
	/* 限制最大宽度，防止图片过窄 */
	margin: 0 auto;
	/* 让整个容器居中 */

}




.sample1 {
	width: calc(25% - 15px);
	/* 每行 4 列 */
	max-width: 300px;
	/* 限制最大宽度 */
	position: relative;
	overflow: hidden;
	border-radius: 10px;
	text-align: center;
	flex: 1 1 calc(25% - 15px);
	/* 让 flex 自动分配空间 */

}




.sample1 img {
	width: 100%;
	height: 200px;
	/* 统一高度，确保不变形 */
	object-fit: cover;
	/* 让图片填充整个框 */
	border-radius: 10px;
	transition: transform 0.3s ease-in-out;
}


.sample1 .caption {
	font-size: 90%;
	text-align: center;
	padding-left: 40px;
	padding-right: 40px;
	padding-top: 50px;
	color: #fff;
	line-height: 1.5;
	letter-spacing: 0.09em;
	display: flex;
	align-item: center;
	justify-content: center;
}

.sample1 .mask {
	width: 100%;
	height: 100%;
	position: absolute;
	top: 0;
	left: 0;
	opacity: 0;
	background-color: rgba(0, 0, 0, 0.4);
	transition: opacity 0.2s ease-in-out;
	pointer-events: none;
	/* 确保点击不受影响 */
}


.sample1:hover .mask {
	opacity: 1;
	/* マスクを表示する */
}

.sample1:hover img {
	transform: scale(1.1);
}

.sample1.active .mask {
	opacity: 1 !important;
	pointer-events: auto;
	/* 允许点击 */
}


/*活動報告ここまで
*/
/*メイン編集
*/


/*フッター編集
*/
.input4 {
	background-color: #333e49;
	color: #ffffff;
	border-radius: 30px;
	width: 150px;
	padding: 13px;
	margin-top: 70px;
	margin-bottom: 70px;
	margin-left: auto;
	margin-right: auto;
	font-size: 12px;
	font-weight: bold;
	text-align: center;
}

/*フッター編集*/



/*メディアクエリここから*/

@media screen and (max-width: 768px) {
    
    nav {
		width: 100%;
	}

	nav ul li {
		margin: 5px 5px;
		letter-spacing: 0.09em;
	}

	nav ul li a {
		line-height: 3;
		font-size: 5px;
	}
	.sample1 {
		width: calc(50% - 10px) !important;
		/* 强制每行 2 列 */
		flex: 0 0 calc(50% - 10px) !important;
		/* 防止 flex 影响 */
		max-width: none !important;
		/* 确保没有其他 max-width 限制 */
	}

	.sample1 img {
		height: 100px;
		/* 适当缩小高度 */
	}

	.sample1 .caption {
		font-size: 10px !important;
		/* 移动端稍微缩小字体 */
		padding: 4px 8px;
		/* 调整内边距 */
		bottom: 5px;
		/* 靠近底部 */
	}
}


.text1 {
	font-size: 22px;
	padding-top: 30px;
	padding-bottom: 30px;
}

.flex p {
	font-size: 13px;
	line-height: 2;
	letter-spacing: 0.09em;
}

.flex {
	width: 60%;
}

.p {
	margin-bottom: 20px;
	font-size: 10px;
}

.subwrap h1 {
	font-size: 18px;
}

.subwrap {
	padding-bottom: 100px;
}

.subwrap_ko {
	width: 75%;
}

.howtodonation1,
.howtodonation2,
.howtodonation3,
.howtodonation4 {
	margin: 20px auto;
	padding-left: 30px;
	padding-right: 30px;
}

.howtodonation1 {
	padding-top: 40px;
}

.howtodonation4 {
	padding-bottom: 60px;
}

.murasaki {
	font-size: 14px;
}

.howtodonation1,
.howtodonation2,
.howtodonation3,
.howtodonation4 p {
	font-size: 10px;
}

.image img {
	position: absolute;
	top: -165px;
	right: -5px;
}

.wrapper h1 {
	font-size: 15px;
}

.wrapper {
	width: 70%;
	padding-bottom: 50px;
}

.accordion+ul li {
	font-size: 14px;
}

.wrapper h2 {
	padding: 1.1em 0;
	font-size: 15px;
	font-weight: bold;
}

.subwrap2 h1 {
	font-size: 20px;
	padding-top: 50px;
}

.text2 {
	font-size: 12px;
	padding-bottom: 50px;
}



.center-block {
	text-align: center;
	width: 100%;
}

.donation-image {
	display: inline-block;
	max-width: 90%;
	height: auto;
}

.input5 {
	display: inline-block;
	background-color: #80a6ff;
	color: #ffffff;
	border-radius: 20px;
	width: 80%;
	/* 自动适应屏幕 */
	max-width: 350px;
	padding: 13px;
	margin: 30px auto;
	font-size: 16px;
	font-weight: bold;
	text-align: center;
	text-decoration: none;
}

.input5:hover {
	background-color: #5f8aff;
}



input {
	text-align: center;
}



/*メディアクエリここまで
*/