@charset "utf-8";

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
HOME
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- ページヘッダー
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-header {
	background: url("../img/home/header.webp") center center / cover no-repeat;
	font-weight: 500;
	font-family: var(--font_en);
}

.home-header-heading {
	margin-bottom: 0.4em;
	color: #fff;
	font-weight: inherit;
	font-size: clamp(24px, calc(100vw * 52 / 768), 52px);
	font-family: var(--font_en);
	line-height: 1.3;
}

.home-header-heading .line {
	display: grid;
	grid-template-columns: auto 2.5em;
	column-gap: 0.3em;
	justify-content: start;
	align-items: center;
}

.home-header-heading .line::after {
	border-top: 1px solid;
	content: "";
}

.home-header-description {
	line-height: 1.4;
}

.home-header .button {
	background: #7e33ff;
	color: #fff;
}

.home-header .button:hover {
	background: #fff;
	color: #7e33ff;
}

.home-header-data-ul {
	display: grid;
	width: fit-content;
	margin: 1.5em 0 0 auto;
	padding: 0.5em 0.8em;
	border-radius: var(--border-radius);
	background: rgb(255, 255, 255, 0.8);
	font-size: clamp(18px, calc(100vw * 38 / 768), 38px);
	text-align: center;
	grid-template-columns: repeat(4, auto);
	column-gap: 1em;
}

.home-header-data-li .number {
	line-height: 1.2;
}

.home-header-data-li .heading {
	opacity: 0.8;
	font-size: 0.47em;
}

@media (min-width: 768px) {
.home-header-description {
	font-size: 20px;
}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- NEWS & EVENT
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.newsevent-post-ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(232px, 1fr));
	gap: 10px;
}

.newsevent-post-li {
	border-radius: var(--border-radius);
}

.newsevent-post-li .wp-post-image {
	height: 232px;
	aspect-ratio: 1;
}

.newsevent-post-li .post-text {
	display: grid;
	position: absolute;
	inset: 0;
	padding: 0.5em 0.8em;
	color: #fff;
	font-weight: 500;
	align-content: end;
}

.newsevent-post-li .post-heading {
	padding-bottom: 0.5em;
	border-bottom: 1px solid;
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- What you get at KYOTO STARTUP ECOSYSTEM
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-ecosystem {
	background: var(--color_gray_light);
}

.home-ecosystem-ul {
	display: grid;
	gap: 20px;
}

.home-ecosystem-li {
	padding: 20px 20px 0;
	border-radius: var(--border-radius);
}

.home-ecosystem-li .copyright {
	display: block;
	margin-top: 1em;
	font-size: 90%;
}

.home-ecosystem-li:nth-child(1) {
	background: #f7d3be;
}

.home-ecosystem-li:nth-child(2) {
	background: #d0ebab;
}

.home-ecosystem-li:nth-child(3) {
	background: #cee3f2;
}

.home-ecosystem-li:nth-child(4) {
	background: #cdd0e6;
}

.home-ecosystem-li .img {
	width: 100%;
	border-radius: var(--border-radius);
	background: var(--color_gray_light);
	object-fit: cover;
	aspect-ratio: 550 / 210;
}

.home-ecosystem-li .heading {
	margin-block: 1.2em 1em;
	font-weight: 600;
	font-size: 20px;
}

.home-ecosystem-li .more {
	margin-inline: auto -20px;
	border-top: 1px solid #fff;
	border-left: 1px solid #fff;
	border-radius: var(--border-radius) 0 var(--border-radius) 0;
}

.home-ecosystem-li .more:hover {
	background: #fff;
}

.home-ecosystem-li .button._contact {
	min-width: 10em;
	height: 2.5em;
	background: #fff;
}

.home-ecosystem-li .button._contact:hover {
	background: #000;
	color: #fff;
}

@media (min-width: 768px) {
	.home-ecosystem-ul {
		grid-template-columns: 1fr 1fr;
	}

	.home-ecosystem-li {
		display: flex;
		flex-flow: column;
		position: relative;
	}

	.home-ecosystem-li .heading {
		font-size: 24px;
	}

	.home-ecosystem-li .description {
		margin-bottom: auto;
	}

	.home-ecosystem-li .copyright {
		position: absolute;
		left: 20px;
		bottom: 20px;
	}
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- ORGANIZATION
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-organization-ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, min(calc(100% - 30px) / 2, 145px));
	gap: 46px 30px;
	justify-content: center;
}

.home-organization-li {
	display: grid;
	place-content: center;
}

.home-organization-li a:hover {
	opacity: var(--opacity);
}

.home-organization-li .img {
	max-height: 48px;
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
- SUPPORTER
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.home-article hr {
	border-top: 1px solid var(--color_gray);
}

.home-supporter-ul {
	display: grid;
	grid-template-columns: repeat(auto-fill, min(calc(100% - 30px) / 2, 145px));
	gap: 46px 30px;
	justify-content: center;
}

.home-supporter-li {
	display: grid;
	place-content: center;
}

.home-supporter-li a:hover {
	opacity: var(--opacity);
}

.home-supporter-li .img {
	max-height: 48px;
}
