/*
  せんいせんいせんい LP styles
  色・余白・背景画像・レスポンシブ設定はこのファイルで編集します。
*/

/* 基本設定 */
:root {
	--yellow: #fff200;
	--black: #050505;
	--white: #ffffff;
	--soft-white: rgba(255, 255, 255, .72);
	--max: 1180px;
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	position: relative;
	min-height: 100vh;
	margin: 0;
	color: var(--black);
	background: var(--yellow);
	font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "YuGothic", "Noto Sans JP", sans-serif;
	font-weight: 700;
	letter-spacing: 0;
	line-height: 1.8;
	overflow-x: hidden;
	isolation: isolate;
}

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

a {
	color: inherit;
	text-decoration-thickness: 2px;
	text-underline-offset: .18em;
}

/* 背景装飾 */
.background-stage,
.corner-ornament {
	position: fixed;
	inset: 0;
	z-index: 0;
	pointer-events: none;
}

.parallax-layer,
.corner-ornament img {
	position: absolute;
	mix-blend-mode: multiply;
	will-change: transform;
	user-select: none;
}

.parallax-layer {
	--parallax-origin: translate(0, 0);
	transform: var(--parallax-origin);
}

.layer-wa {
	top: 8vh;
	left: -8vw;
	width: clamp(380px, 36vw, 640px);
	opacity: .52;
}

.layer-obi {
	top: 52vh;
	left: 54vw;
	width: clamp(820px, 76vw, 1500px);
	opacity: .58;
	--parallax-origin: translate(-50%, -50%);
}

.layer-naname {
	right: -9vw;
	bottom: -12vh;
	width: clamp(360px, 34vw, 620px);
	opacity: .46;
}

.corner-ue {
	top: 0;
	right: 0;
	width: min(31vw, 360px);
	opacity: .68;
}

.corner-shita {
	bottom: 0;
	left: 0;
	width: min(35vw, 390px);
	opacity: .68;
}

main {
	position: relative;
	z-index: 2;
}

.container {
	width: min(var(--max), calc(100% - 48px));
	margin: 0 auto;
}

/* ファーストビュー */
.hero {
	position: relative;
	min-height: 100svh;
	padding: 0;
}

.hero-inner {
	position: relative;
	display: grid;
	grid-template-columns: minmax(500px, 42vw) minmax(0, 1fr);
	column-gap: clamp(1.8rem, 4vw, 5.5rem);
	align-items: center;
	min-height: 100svh;
	width: 100%;
	margin: 0;
	padding-right: clamp(1.8rem, 4vw, 5rem);
}

.hero-main-visual {
	grid-column: 1;
	width: 100%;
	padding-right: clamp(1rem, 2.6vw, 3.5rem);
	z-index: 1;
}

.hero-logo {
	width: auto;
	height: clamp(650px, 88svh, 980px);
	margin: 0;
}

.hero-details {
	grid-column: 2;
	min-width: 0;
	width: 100%;
	margin: 0;
	z-index: 2;
}

.hero-kicker {
	margin: 0 0 1.2rem;
	font-size: 1.18rem;
	font-weight: 900;
}

h1 {
	margin: 0;
	font-size: 1px;
	line-height: 1;
	opacity: 0;
	position: absolute;
}

.hero-tagline {
	margin: 0 0 clamp(2.4rem, 4vw, 4.6rem);
	font-size: clamp(1.85rem, 2.2vw, 2.9rem);
	font-weight: 900;
	line-height: 1.25;
	writing-mode: horizontal-tb;
}

.date-row {
	display: flex;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: .6rem 1.4rem;
	width: 100%;
	margin: 0 0 .5rem;
	line-height: .9;
}

.date-chunk {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: flex-end;
	gap: .2rem;
	white-space: nowrap;
}

.date-number {
	display: inline-block;
	font-size: clamp(4.4rem, 7.4vw, 5.9rem);
	font-weight: 900;
}

.date-chunk small {
	margin-bottom: .45rem;
	font-size: 1.45rem;
	line-height: 1;
	writing-mode: vertical-rl;
}

.date-wave {
	flex: 0 0 auto;
	margin-bottom: .95rem;
	font-size: 3.6rem;
	font-weight: 900;
}

.open-time,
.place {
	margin: 0;
	font-size: 1.9rem;
	font-weight: 900;
	line-height: 1.35;
}

.place {
	margin-top: 1.8rem;
	font-size: 2.2rem;
}

.address {
	margin: .35rem 0 0;
	font-size: 1rem;
	line-height: 1.7;
}

.hero-lead {
	max-width: 520px;
	margin: 2rem 0 0;
	font-size: 1.04rem;
	line-height: 1.9;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: .8rem;
	width: 100%;
	margin-top: 1.6rem;
}

.action-link {
	display: inline-flex;
	flex: 1 1 220px;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: .75rem 1.1rem;
	border: 3px solid var(--black);
	background: var(--black);
	color: var(--yellow);
	font-size: .96rem;
	font-weight: 900;
	line-height: 1.35;
	text-decoration: none;
}

.action-link.secondary {
	background: transparent;
	color: var(--black);
}

/* 共通セクション */
.section {
	padding: 5.8rem 0;
}

.section-heading {
	max-width: 760px;
	margin-bottom: 2.4rem;
}

.eyebrow {
	margin: 0 0 .45rem;
	font-size: .88rem;
	font-weight: 900;
	text-transform: uppercase;
}

h2 {
	margin: 0;
	font-size: 2.55rem;
	font-weight: 900;
	line-height: 1.35;
}

h3 {
	margin: 0;
	font-size: 1.55rem;
	font-weight: 900;
	line-height: 1.5;
}

p {
	margin: 0;
}

.intro {
	padding-top: 4.2rem;
}

/* 展示概要 */
.intro-layout {
	display: grid;
	grid-template-columns: .8fr 1.2fr;
	gap: 4rem;
	align-items: start;
}

.intro-text {
	max-width: 760px;
	font-size: 1.12rem;
	line-height: 2.05;
}

.intro-title {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
}

.intro-title span {
	display: block;
	white-space: nowrap;
}

/* 3つの素材紹介 */
.material-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 2rem;
}

.material-card {
	display: grid;
	gap: 1rem;
	min-width: 0;
}

.material-card img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	background: var(--white);
}

.material-card p {
	font-size: .96rem;
	line-height: 1.9;
}

/* アクセス・ワークショップ */
.info-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3.2rem;
	align-items: start;
}

.info-block {
	min-width: 0;
}

.info-block h2 {
	margin-bottom: 1.2rem;
	font-size: 2rem;
}

.map-image,
.map-embed {
	width: 100%;
	background: var(--white);
	border-radius: 8px;
}

.map-embed {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.map-embed iframe {
	display: block;
	width: 100%;
	height: 100%;
	border: 0;
}

.access-notes {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1rem;
	margin-top: 1rem;
}

.note-title {
	display: block;
	margin-bottom: .15rem;
	font-size: .95rem;
	font-weight: 900;
}

.note-text {
	display: block;
	font-size: .96rem;
	font-weight: 800;
	line-height: 1.7;
}

.workshop-box {
	display: grid;
	grid-template-columns: 1fr minmax(220px, 280px);
	gap: 1.2rem;
	align-items: end;
	padding: 1.6rem;
	background: rgba(255, 255, 255, .56);
	border-radius: 8px;
}

.workshop-box h3 {
	grid-column: 1 / -1;
	margin-bottom: .85rem;
	font-size: 1.32rem;
}

.workshop-summary {
	grid-column: 1 / -1;
	display: grid;
	grid-template-columns: .75fr 1.25fr;
	gap: 1px;
	overflow: hidden;
	margin-bottom: .2rem;
	border: 3px solid var(--black);
	background: var(--black);
}

.workshop-summary p {
	display: grid;
	gap: .15rem;
	align-content: center;
	min-height: 74px;
	padding: .75rem .9rem;
	background: var(--yellow);
	line-height: 1.25;
}

.workshop-summary span {
	font-size: .8rem;
	font-weight: 900;
}

.workshop-summary strong {
	font-size: clamp(1.35rem, 2.4vw, 2rem);
	font-weight: 900;
	line-height: 1.2;
}

.workshop-box p {
	font-size: .96rem;
	line-height: 1.85;
}

.workshop-box .workshop-summary p {
	font-size: 1rem;
	line-height: 1.25;
}

.workshop-image {
	width: 100%;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	background: var(--white);
	border-radius: 8px;
}

/* 開催情報 */
.details {
	padding-top: 3.5rem;
}

.details-list {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 1px;
	margin: 0;
	background: var(--black);
	border: 3px solid var(--black);
}

.details-list div {
	min-width: 0;
	padding: 1.2rem;
	background: var(--yellow);
}

.details-list dt {
	margin: 0 0 .3rem;
	font-size: .86rem;
	font-weight: 900;
}

.details-list dd {
	margin: 0;
	font-size: 1rem;
	font-weight: 900;
	line-height: 1.6;
}

/* 主催・関連ロゴ */
.sponsors {
	margin-top: 4.5rem;
	padding: 2rem 0;
	background: var(--white);
}

.sponsor-inner {
	display: grid;
	grid-template-columns: 1fr;
	gap: 1.4rem;
	align-items: center;
	justify-items: center;
	text-align: center;
}

.sponsor-text {
	font-size: .98rem;
	font-weight: 900;
	line-height: 1.8;
}

.sponsor-line {
	display: block;
}

.sponsor-line + .sponsor-line {
	margin-top: .35rem;
}

.sponsor-logos {
	display: grid;
	grid-template-columns: 1.5fr .75fr .9fr;
	gap: 1.4rem;
	align-items: center;
	justify-items: center;
	width: min(880px, 100%);
	margin: 0 auto;
}

.sponsor-logos a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-width: 0;
	text-decoration: none;
}

.sponsor-logos img {
	max-height: 82px;
	width: auto;
	object-fit: contain;
	background: var(--white);
}

.sponsor-logos .chiisana {
	max-height: 54px;
}

.sponsor-logos .kitano {
	max-height: 92px;
}

.sponsor-logos .shiga {
	width: min(180px, 100%);
	max-height: none;
}

.footer-link {
	display: inline-block;
	margin-top: .4rem;
}

/* タブレット・スマートフォン表示 */
@media (max-width: 1100px) {
	.hero {
		min-height: auto;
		padding: 0 0 2.8rem;
	}

	.hero-inner {
		display: block;
		padding-right: 0;
	}

	.hero-main-visual {
		display: flex;
		justify-content: flex-start;
		gap: 1rem;
		align-items: flex-start;
		min-height: 100svh;
		padding: 0 clamp(1rem, 4vw, 1.5rem) clamp(1rem, 4vw, 1.5rem) 0;
	}

	.hero-logo {
		width: auto;
		max-width: calc(100vw - clamp(1rem, 4vw, 1.5rem));
		height: calc(100svh - clamp(1rem, 4vw, 1.5rem));
		object-fit: contain;
		object-position: left top;
	}

	.hero-details {
		width: 100%;
		margin: clamp(2.4rem, 7vw, 4.2rem) 0 0;
		padding: 0 1rem;
	}

	.hero-tagline {
		margin-bottom: 1.2rem;
		font-size: clamp(1.65rem, 8vw, 2.7rem);
		line-height: 1.15;
	}

	.date-row {
		gap: .6rem .9rem;
	}

	.date-number {
		font-size: clamp(3.35rem, 13vw, 5.2rem);
	}

	.date-chunk small {
		font-size: clamp(1rem, 3.2vw, 1.35rem);
	}

	.date-wave {
		margin-bottom: .5rem;
		font-size: clamp(2rem, 8vw, 3rem);
	}

	.layer-obi {
		top: 48vh;
		left: 55vw;
		width: 118vw;
	}

	.intro-layout,
	.info-grid,
	.sponsor-inner {
		grid-template-columns: 1fr;
	}

	.intro-layout {
		gap: 0;
	}

	.material-grid {
		grid-template-columns: 1fr;
		gap: 3rem;
	}

	.details-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* 小さめのスマートフォン表示 */
@media (max-width: 640px) {
	.container {
		width: min(100% - 28px, var(--max));
	}

	.layer-wa {
		top: 7vh;
		left: -28vw;
		width: 72vw;
	}

	.layer-obi {
		top: 48vh;
		left: 56vw;
		width: 128vw;
	}

	.layer-naname {
		right: -28vw;
		bottom: -7vh;
		width: 70vw;
	}

	.corner-ue {
		width: 170px;
	}

	.corner-shita {
		width: 190px;
	}

	.date-number {
		font-size: 3.35rem;
	}

	.date-chunk small {
		font-size: 1rem;
	}

	.date-wave {
		margin-bottom: .5rem;
		font-size: 2rem;
	}

	.open-time,
	.place {
		font-size: 1.45rem;
	}

	.hero-lead {
		font-size: .98rem;
	}

	.section {
		padding: 4rem 0;
	}

	h2 {
		font-size: 1.9rem;
	}

	h3 {
		font-size: 1.28rem;
	}

	.info-block h2 {
		font-size: 1.58rem;
	}

	.access-notes,
	.workshop-box,
	.details-list,
	.sponsor-logos {
		grid-template-columns: 1fr;
	}

	.workshop-box {
		padding: 1.15rem;
	}

	.workshop-summary {
		grid-template-columns: 1fr;
	}

	.workshop-summary p {
		min-height: 0;
	}

	.workshop-image {
		width: 100%;
	}

	.workshop-block {
		order: -1;
	}

	.map-embed {
		aspect-ratio: 4 / 3;
	}
}

/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.parallax-layer {
		transform: var(--parallax-origin) !important;
	}
}
