@charset "UTF-8";

/* ===== base ===== */
:root {
	--orange: #f15a24;
	--vermilion: #ea5514;
	--amber: #f39800;
	--pill-yellow: #fcee21;
	--cream: #fff3c2;
	--green: #8cbe5a;
	--green-lt: #e6f0d3;
	--pink: #f08278;
	--pink-lt: #fbddd0;
	--orangecard-lt: #fde3d8;
}

img {
	max-width: 100%;
	height: auto;
}

/* 透過セクション（開催イベント〜Instagram）＝背景は白 */
.event_wrap {
	background: #fff;
}

/* ===== section title (pill + dotted lines) ===== */
.sec-title {
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 1200px;
	width: calc(100% - 40px);
	margin: 0 auto;
}

.sec-title::before,
.sec-title::after {
	content: '';
	flex: 1 1 auto;
	height: 8px;
	background: url(../img/line_dot.png) repeat-x;
	background-size: auto 100%;
}

.sec-title::before {
	background-position: right center;
}
.sec-title::after {
	background-position: left center;
}

.sec-title__pill {
	flex: 0 0 auto;
	margin: 0 20px;
	padding: 12px 20px;
	display: flex;
	align-items: center;
	justify-content: center;
	max-width: 392px;
	width: 100%;
	height: 80px;
	background: var(--pill-yellow);
	border: 3px solid var(--orange);
	border-radius: 999px;
	color: var(--orange);
	font-size: 28px;
	letter-spacing: 0.14em;
	white-space: nowrap;
	box-shadow: 0 7px 0 var(--orange);
}

/* ===== visual wrap (hero + intro 共通背景) ===== */
.visual_wrap {
	background: var(--cream) url(../img/bg_dot.png) repeat;
	background-size: 15px;
	background-position: top center;
}

/* ===== hero ===== */
.hero {
	position: relative;
	overflow: hidden;
}

.hero__flags {
	height: 34px;
	background: url(../img/top_triangle.png) repeat-x center top;
	background-size: auto 34px;
}

.hero__inner {
	max-width: 1115px;
	margin: 0 auto;
	padding: 30px 20px 0;
	position: relative;
	z-index: 5;
}

.hero__img {
	display: block;
	width: 100%;
}

/* ===== intro ===== */
.intro {
	padding: 0 20px 100px;
	position: relative;
}

.intro__photos {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	max-width: 1200px;
	margin: -20px auto 40px;
}

.intro__photos img {
	flex: 0 0 auto;
	width: calc((100% - 14px * 4) / 5);
	aspect-ratio: 1 / 1;
	object-fit: cover;
	border-radius: 12px;
}

.intro__text {
	max-width: 1000px;
	margin: 0 auto 54px;
	color: #4a3b2a;
	font-size: 20px;
	line-height: 1.5;
}

/* ===== events ===== */
.events {
	max-width: 1160px;
	margin: 0 auto;
	padding: 150px 20px 110px;
	position: relative;
}

.events .sec-title {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
}

.events__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 34px;
}

.events__grid--past {
	margin-top: 120px;
}

.ev-card {
	position: relative;
	display: flex;
	flex-direction: column;
}

.ev-card--green {
	background: var(--green-lt);
}
.ev-card--pink {
	background: var(--pink-lt);
}
.ev-card--orange {
	background: var(--orangecard-lt);
}

.ev-card__flag {
	position: absolute;
	left: 6px;
	bottom: calc(100% + 15px);
	margin-bottom: -24px;
	width: 44%;
	max-width: 168px;
	height: auto;
	z-index: 3;
}

.ev-card__head {
	min-height: 195px;
	padding: 14px 15px 22px;
	text-align: center;
	color: #fff;
}

.ev-card--green .ev-card__head {
	background: var(--green);
}
.ev-card--pink .ev-card__head {
	background: var(--pink);
}
.ev-card--orange .ev-card__head {
	background: var(--orange);
}

.ev-card__name {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 53px;
	margin: 0 auto 16px;
	padding: 10px 15px;
	background: #fff;
	border-radius: 999px;
	color: #3a3a3a;
	font-weight: 700;
	font-size: 22px;
	line-height: 1.3;
	letter-spacing: -1px;
}

.ev-card__date {
	font-weight: 700;
	font-size: 24px;
	letter-spacing: 0;
	margin-bottom: 8px;
}

.ev-card__place {
	font-size: 16px;
	line-height: 1.6;
}

.ev-card__body {
	position: relative;
	flex: 1;
	padding: 22px 22px 36px;
}

.ev-card__logo {
	display: block;
	width: 88%;
	margin: 6px auto 0;
}

.ev-card__btn {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 84%;
	height: 50px;
	margin: 0 auto;
	padding: 0 16px;
	background: #fff;
	border: 2px solid var(--orange);
	border-radius: 999px;
	color: var(--orange);
	font-weight: 700;
	font-size: 18px;
	text-align: center;
	letter-spacing: 0.14em;
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translate(-50%, 50%);
}

/* past cards */
.ev-card--past {
	background: #fce7de;
}

.ev-card--past .ev-card__head {
	background: #fcded3;
	color: #d9b3a8;
}

.ev-card--past .ev-card__name {
	background: #fbeee8;
	color: #cbb8b0;
}

.ev-card--past .ev-card__logo {
	opacity: 0.28;
	margin-bottom: 0;
}

.ev-card__over {
	position: absolute;
	top: 8px;
	left: 0;
	width: 100%;
	z-index: 2;
	color: var(--vermilion);
	font-weight: 900;
	font-size: 21px;
	line-height: 1.5;
	text-align: center;
}

.ev-card--past .ev-card__btn {
	z-index: 2;
	margin-top: 18px;
}

.events__more {
	text-align: center;
	margin-top: 56px;
}

.events__more a {
	color: var(--vermilion);
	font-weight: 700;
	font-size: 18px;
	letter-spacing: 0.02em;
	text-decoration: underline;
	text-underline-offset: 6px;
	text-decoration-thickness: 2px;
}

/* ===== contents ===== */
.contents {
	max-width: 1240px;
	margin: 0 auto;
	padding: 60px 20px 30px;
	position: relative;
}

.contents::before {
	content: '';
	display: block;
	width: calc(100% - 40px);
	height: 8px;
	background: url(../img/line_dot.png) repeat-x;
	background-size: auto 8px;
	background-position: bottom center;
	position: absolute;
	top: 0;
	left: 50%;
	transform: translateX(-50%);
}

.contents__head {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 40px;
	max-width: 1200px;
	margin: 0 auto 46px;
}

.contents__tag {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 290px;
	height: 68px;
	background: var(--orange);
	border-radius: 999px;
	color: #fff;
	font-weight: 900;
	font-size: 31px;
	letter-spacing: 0.08em;
	margin-bottom: 14px;
}

.contents__title {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.contents__illust {
	flex: 0 0 auto;
	width: 315px;
	height: auto;
}

.contents__title h2 {
	color: var(--orange);
	font-weight: 900;
	font-size: 54px;
	line-height: 55px;
	letter-spacing: 0.04em;
}

.contents__title small {
	font-size: 33px;
	font-weight: 700;
}

.contents__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 46px 40px;
}

.ct-card__thumb {
	position: relative;
	margin-bottom: 50px;
}

.ct-card__thumb img {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	border-radius: 16px;
}

.ct-card__label {
	position: absolute;
	left: 50%;
	bottom: 0;
	transform: translate(-50%, 50%);
	width: 90%;
	max-width: 470px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0 16px;
	background: #fff;
	border: 2px solid var(--orange);
	border-radius: 999px;
	color: var(--orange);
	font-weight: 900;
	font-size: 34px;
	letter-spacing: 0.08em;
	text-align: center;
	white-space: nowrap;
}

.ct-card__text {
	color: #3a3a3a;
	font-size: 20px;
	line-height: 1.5;
	letter-spacing: 0;
	max-width: 500px;
	width: 100%;
	margin: 0 auto;
}

/* ===== kids banner ===== */
.kids {
	max-width: 1240px;
	margin: 0 auto;
	padding: 40px 20px 150px;
}

.kids img {
	display: block;
	width: 100%;
}

/* ===== report ===== */
.report {
	max-width: 1240px;
	margin: 0 auto;
	padding: 30px 20px 20px;
}

.report .sec-title {
	width: 100%;
}

.report__grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px 40px;
	max-width: 1200px;
	margin: 46px auto 0;
}

.rp-card img {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 10px;
	margin-bottom: 16px;
}

.rp-card p {
	font-size: 20px;
	line-height: 1.5;
	letter-spacing: 0;
	max-width: 375px;
	width: 100%;
	margin: 0 auto;
}

/* ===== instagram ===== */
.insta {
	max-width: 760px;
	margin: 0 auto;
	padding: 100px 20px 180px;
}

.insta a,
.insta img {
	display: block;
	width: 100%;
}

/* ===== responsive ===== */

/* --- 〜1080px：タブレット。拡大したPC用の見出し・固定幅要素を段階的に縮小 --- */
@media (max-width: 1080px) {
	.sec-title__pill {
		font-size: 24px;
		height: 70px;
		box-shadow: 0 6px 0 var(--orange);
	}
	.contents__head {
		gap: 32px;
	}
	.contents__illust {
		width: 240px;
	}
	.contents__tag {
		width: 230px;
		height: 60px;
		font-size: 26px;
	}
	.contents__title h2 {
		font-size: 42px;
		line-height: 1.2;
	}
	.contents__title small {
		font-size: 26px;
	}
	.ct-card__label {
		font-size: 26px;
		height: 60px;
	}
	.ct-card__text {
		font-size: 18px;
	}
	.rp-card p {
		font-size: 18px;
	}
}

/* --- 〜900px：開催イベントを1カラムに --- */
@media (max-width: 900px) {
	.events__grid {
		grid-template-columns: 1fr;
		max-width: 420px;
		margin-inline: auto;
		gap: 120px;
	}
	.events__grid--past {
		margin-top: 120px;
	}
	.ev-card__head {
		min-height: 0;
	}
	.contents__illust {
		width: 200px;
	}
	.contents__tag {
		width: 210px;
		height: 56px;
		font-size: 23px;
	}
	.contents__title h2 {
		font-size: 34px;
	}
	.contents__title small {
		font-size: 21px;
	}
}

/* --- 〜767px：スマホ --- */
@media (max-width: 767px) {
	.sec-title__pill {
		font-size: 18px;
		height: 54px;
		padding: 0 24px;
		margin: 0 12px;
		box-shadow: 0 5px 0 var(--orange);
	}
	.intro__photos {
		gap: 8px;
	}
	.intro__photos img {
		width: calc((100% - 8px * 2) / 3);
	}
	.intro__text {
		font-size: 14px;
		line-height: 1.9;
		margin-bottom: 44px;
	}
	.events {
		padding-top: 120px;
		padding-bottom: 70px;
	}
	.events__grid {
		gap: 100px;
	}
	.events__grid--past {
		margin-top: 100px;
	}
	.ev-card__name {
		font-size: 18px;
		min-height: 46px;
	}
	.ev-card__date {
		font-size: 18px;
	}
	.ev-card__place {
		font-size: 14px;
	}
	.ev-card__over {
		font-size: 19px;
	}

	.contents {
		padding-top: 44px;
	}
	.contents__head {
		flex-direction: column;
		gap: 14px;
		text-align: center;
	}
	.contents__illust {
		width: 130px;
	}
	.contents__title {
		align-items: center;
	}
	.contents__tag {
		width: auto;
		min-width: 180px;
		height: 46px;
		padding: 0 26px;
		font-size: 20px;
		margin-bottom: 10px;
	}
	.contents__title h2 {
		font-size: 24px;
		line-height: 1.4;
		text-align: center;
	}
	.contents__title small {
		font-size: 15px;
	}
	.contents__grid {
		grid-template-columns: 1fr;
		gap: 44px;
		max-width: 400px;
		margin-inline: auto;
	}
	.ct-card__thumb {
		margin-bottom: 40px;
	}
	.ct-card__label {
		font-size: 18px;
		height: 50px;
	}
	.ct-card__text {
		font-size: 15px;
		line-height: 1.8;
	}
	.report__grid {
		grid-template-columns: 1fr;
		max-width: 340px;
		gap: 34px;
	}
	.rp-card p {
		font-size: 15px;
		line-height: 1.8;
	}
	.events__more a {
		font-size: 16px;
	}
	.insta {
		padding: 60px 20px 120px;
	}
}

/* --- 〜400px --- */
@media (max-width: 400px) {
	/* .intro__photos img {
		width: calc((100% - 8px) / 2);
	} */
	.sec-title__pill {
		font-size: 16px;
		letter-spacing: 0.08em;
	}
	.contents__title h2 {
		font-size: 21px;
	}
}
