/* イベント詳細
   施工事例と同じコンテンツ幅、お問い合わせと同じ見出し・ボタン・フォームのトーン */

.event-page {
	color: #333;
	overflow-wrap: break-word;
}

.event-wrap {
	width: 100%;
	padding-left: 24px;
	padding-right: 24px;
	box-sizing: border-box;
}

@media screen and (min-width: 1024px) {
	.event-wrap {
		width: auto;
		margin-left: 16%;
		margin-right: 16%;
		padding-left: 0;
		padding-right: 0;
	}
}

@media screen and (min-width: 1536px) {
	.event-wrap {
		width: 100%;
		max-width: 1200px;
		margin-left: auto;
		margin-right: auto;
	}
}

.event-hero-block {
	padding: 40px 0 28px;
}

@media screen and (min-width: 1024px) {
	.event-hero-block {
		padding: 64px 0 36px;
	}
}

.event-hero {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

@media screen and (min-width: 1024px) {
	.event-hero {
		display: grid;
		grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
		gap: 40px;
		align-items: center;
	}
}

.event-hero__title {
	margin: 0;
	font-size: 1.375rem;
	font-weight: 400;
	letter-spacing: 0.06em;
	line-height: 1.6;
}

@media screen and (min-width: 1024px) {
	.event-hero__title {
		font-size: 1.75rem;
	}
}

.event-hero__meta {
	margin: 24px 0 0;
}

.event-hero__meta div {
	font-size: 14px;
	line-height: 1.9;
	letter-spacing: 0.04em;
}

.event-hero__meta dt,
.event-hero__meta dd {
	display: inline;
	margin: 0;
}

.event-hero__meta dt {
	color: #888;
}

.event-hero__meta dt::after {
	content: "：";
}

.event-hero__img {
	margin: 0;
}

.event-hero__img img,
.event-card__img img,
.event-gallery__figure img {
	display: block;
	width: 100%;
	object-fit: cover;
	cursor: pointer;
}

.event-hero__img img {
	aspect-ratio: 16 / 10;
}

@media screen and (min-width: 1024px) {
	.event-hero__img img {
		aspect-ratio: 4 / 3;
	}
}

.event-info {
	display: grid;
	grid-template-columns: 1fr;
	border-top: 1px solid #d4d4d4;
}

.event-info__item {
	padding: 16px 0;
	border-bottom: 1px solid #d4d4d4;
}

.event-info__label {
	margin: 0 0 6px;
	font-size: 11px;
	letter-spacing: 0.14em;
	line-height: 1.4;
	color: #888;
}

.event-info__value {
	margin: 0;
	font-size: 14px;
	line-height: 1.7;
	letter-spacing: 0.04em;
}

@media screen and (min-width: 768px) {
	.event-info {
		grid-template-columns: 1fr 1fr;
	}

	.event-info__item:nth-child(odd) {
		padding-right: 20px;
	}

	.event-info__item:nth-child(even) {
		padding-left: 20px;
		border-left: 1px solid #d4d4d4;
	}
}

@media screen and (min-width: 1024px) {
	.event-info {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.event-info__item,
	.event-info__item:nth-child(odd),
	.event-info__item:nth-child(even) {
		padding: 20px 20px 20px 0;
		border-left: 0;
	}

	.event-info__item:not(:nth-child(3n + 1)) {
		padding-left: 20px;
		border-left: 1px solid #d4d4d4;
	}
}

.event-sec {
	padding: 40px 0;
}

@media screen and (min-width: 1024px) {
	.event-sec {
		padding: 64px 0;
	}
}

.event-sec--muted {
	background: #f6f6f6;
}

.event-sec__head {
	margin-bottom: 28px;
}

.event-sec__label {
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.2em;
	line-height: 1.4;
	color: #888;
}

.event-sec__title {
	margin: 0.25em 0 0;
	font-size: 1rem;
	font-weight: 400;
	letter-spacing: 0.1em;
	line-height: 1.5;
}

@media screen and (min-width: 1024px) {
	.event-sec__title {
		font-size: 1.125rem;
	}
}

.event-cards {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.event-cards--count-1 {
	max-width: 520px;
}

@media screen and (min-width: 768px) {
	.event-cards {
		gap: 16px;
	}

	.event-cards--count-2,
	.event-cards--count-3,
	.event-cards--count-4,
	.event-cards--count-5,
	.event-cards--count-6 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media screen and (min-width: 1024px) {
	.event-cards--count-3,
	.event-cards--count-5,
	.event-cards--count-6 {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

.event-card {
	margin: 0;
	border: 1px solid #d4d4d4;
	background: #fff;
}

.event-card--text {
	padding: 22px 20px;
}

.event-card--text p,
.event-card__text {
	margin: 0;
	line-height: 1.9;
	letter-spacing: 0.04em;
}

.event-card strong {
	font-weight: 700;
}

.event-card__img {
	margin: 0;
}

.event-card__img img {
	aspect-ratio: 16 / 10;
}

.event-card__body {
	padding: 16px 18px 20px;
}

.event-card__num {
	margin: 0;
	font-size: 12px;
	letter-spacing: 0.16em;
	color: #888;
}

.event-card__title {
	margin: 6px 0 0;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.06em;
	line-height: 1.6;
}

.event-card__text {
	margin-top: 10px;
	font-size: 13px;
	color: #555;
}

.event-cta {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-top: 28px;
	padding: 32px 20px;
	text-align: center;
	background: #f6f6f6;
}

.event-cta__text {
	margin-bottom: 20px;
	line-height: 1.9;
	letter-spacing: 0.04em;
}

.event-cta__text:last-child {
	margin-bottom: 0;
}

.event-btn {
	display: inline-flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: min(100%, 320px);
	padding: 16px 20px;
	border: 1px solid #333;
	background: transparent;
	color: #333;
	font-size: 12px;
	letter-spacing: 0.12em;
	line-height: 1;
	text-decoration: none;
	transition: background 0.25s ease, color 0.25s ease;
}

.event-btn svg {
	width: 22px;
	height: 22px;
	flex-shrink: 0;
}

.event-btn:hover {
	background: #333;
	color: #fff;
}

.event-btn:focus-visible {
	outline: 2px solid #333;
	outline-offset: 3px;
}

.event-gallery {
	position: relative;
}

.event-gallery__viewport {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.event-gallery__track {
	position: absolute;
	inset: 0;
}

.event-gallery__track > .event-gallery__figure {
	position: absolute;
	inset: 0;
	width: 100%;
	margin: 0;
	opacity: 0;
	transition: opacity 1s ease;
	pointer-events: none;
}

.event-gallery__track > .event-gallery__figure.is-active {
	opacity: 1;
	z-index: 1;
	pointer-events: auto;
}

.event-gallery__track > .event-gallery__figure img {
	width: 100%;
	height: 100%;
	aspect-ratio: auto;
	object-fit: cover;
}

.event-gallery__arrow {
	position: absolute;
	top: 50%;
	z-index: 2;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.92);
	color: #333;
	transform: translateY(-50%);
	cursor: pointer;
}

.event-gallery__arrow svg {
	width: 22px;
	height: 22px;
}

.event-gallery__arrow--prev {
	left: 12px;
}

.event-gallery__arrow--next {
	right: 12px;
}

.event-gallery__arrow:hover {
	background: #fff;
}

.event-gallery__arrow:focus-visible {
	outline: 2px solid #333;
	outline-offset: 2px;
}

.event-gallery__dots {
	display: flex;
	justify-content: center;
	gap: 8px;
	margin: 14px 0 0;
}

.event-gallery__dot {
	width: 8px;
	height: 8px;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #ccc;
	cursor: pointer;
}

.event-gallery__dot.is-active {
	background: #333;
}

.event-gallery__figure {
	position: relative;
	margin: 0;
}

.event-gallery__figure img {
	aspect-ratio: 16 / 10;
}

.event-gallery__cap {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	margin: 0;
	padding: 28px 16px 12px;
	background: linear-gradient(transparent, rgba(0, 0, 0, 0.55));
	color: #fff;
	font-size: 12px;
	letter-spacing: 0.04em;
	line-height: 1.6;
}


.event-spec {
	margin: 0;
	border-top: 1px solid #d4d4d4;
}

.event-spec__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 4px;
	padding: 14px 0;
	border-bottom: 1px solid #d4d4d4;
}

.event-spec dt {
	margin: 0;
	color: #888;
	font-size: 12px;
	letter-spacing: 0.08em;
}

.event-spec dd {
	margin: 0;
	line-height: 1.7;
}

@media screen and (min-width: 768px) {
	.event-spec__row {
		grid-template-columns: 180px minmax(0, 1fr);
		gap: 24px;
		align-items: baseline;
	}
}

.event-schedule {
	border-top: 1px solid #d4d4d4;
}

.event-schedule__head,
.event-schedule__row {
	display: grid;
	grid-template-columns: 1fr;
	gap: 8px;
}

.event-schedule__head {
	display: none;
}

.event-schedule__head p,
.event-schedule__when,
.event-schedule__content {
	margin: 0;
}

.event-schedule__row {
	padding: 16px 0;
	border-bottom: 1px solid #d4d4d4;
}

.event-schedule__when {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.event-schedule__when strong {
	font-weight: 700;
	letter-spacing: 0.04em;
}

.event-schedule__when span {
	font-size: 13px;
	color: #555;
}

.event-schedule__content {
	font-size: 13px;
	line-height: 1.8;
}

.event-tag {
	display: inline-block;
	padding: 2px 8px;
	border: 1px solid #333;
	font-size: 11px;
	letter-spacing: 0.06em;
	line-height: 1.7;
}

@media screen and (max-width: 767px) {
	.event-schedule__content:empty,
	.event-schedule__note:empty {
		display: none;
	}
}

@media screen and (min-width: 768px) {
	.event-schedule {
		border: 1px solid #333;
	}

	.event-schedule__head {
		display: grid;
		align-items: stretch;
		padding: 0;
		background: #333;
		color: #fff;
		font-size: 12px;
		letter-spacing: 0.12em;
	}

	.event-schedule__row {
		padding: 0;
		border-bottom: 1px solid #d4d4d4;
	}

	.event-schedule__row:last-child {
		border-bottom: 0;
	}

	.event-schedule__head,
	.event-schedule__row {
		grid-template-columns: minmax(140px, 200px) minmax(0, 1fr);
		gap: 0;
		align-items: stretch;
	}

	.event-schedule--note .event-schedule__head,
	.event-schedule--note .event-schedule__row {
		grid-template-columns: minmax(140px, 200px) minmax(0, 1fr) 148px;
	}

	.event-schedule__head > p,
	.event-schedule__row > p,
	.event-schedule__row > div {
		padding: 14px 16px;
	}

	.event-schedule__head > p + p,
	.event-schedule__row > * + * {
		border-left: 1px solid #d4d4d4;
	}

	.event-schedule__head > p + p {
		border-left-color: rgba(255, 255, 255, 0.28);
	}

	.event-schedule__head > p {
		display: flex;
		align-items: center;
	}

	.event-schedule__note {
		display: flex;
		align-items: center;
	}
}

.event-caution {
	font-size: 12px;
	line-height: 1.9;
	color: #666;
}

.event-schedule + .event-caution {
	margin-top: 16px;
}

.event-access__address {
	margin: 0;
	font-size: 1rem;
	letter-spacing: 0.06em;
	line-height: 1.7;
}

.event-access__note {
	margin: 8px 0 0;
	font-size: 13px;
	line-height: 1.8;
	color: #666;
}

.event-map {
	margin-top: 0;
	line-height: 0;
}

.event-access__address + .event-map,
.event-access__note + .event-map {
	margin-top: 20px;
}

.event-map iframe {
	width: 100%;
	height: 280px;
	border: 0;
}

@media screen and (min-width: 768px) {
	.event-map iframe {
		height: 420px;
	}
}

.event-form__notes {
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
	font-size: 12px;
	line-height: 1.9;
	color: #666;
}

.event-form__notes li {
	padding-left: 1em;
	text-indent: -1em;
}

.event-form__notes a,
.event-page .event-form__privacy a {
	color: #333;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.event-page--no-times .event-form__time {
	display: none !important;
}

.event-page .swoda-cf7-form form textarea {
	height: 140px;
	font-family: inherit;
}

.event-page .swoda-cf7-form form input,
.event-page .swoda-cf7-form form select {
	font-family: inherit;
}

.event-form__submit {
	padding-top: 8px;
}

.event-archive {
	color: #333;
	padding-bottom: 64px;
}

.event-archive__hero {
	padding: 40px 0 28px;
	text-align: center;
}

@media screen and (min-width: 1024px) {
	.event-archive__hero {
		padding: 64px 0 40px;
	}
}

.event-archive__en {
	margin: 0;
	font-size: 1.125rem;
	letter-spacing: 0.2em;
	line-height: 1.4;
}

.event-archive__hero h1 {
	margin: 0.25em 0 0;
	font-size: 1.5rem;
	font-weight: 400;
	letter-spacing: 0.08em;
}

.event-archive__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 28px 20px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media screen and (min-width: 768px) {
	.event-archive__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 36px 24px;
	}
}

.event-archive__card {
	display: block;
	color: inherit;
	text-decoration: none;
}

.event-archive__media {
	position: relative;
	aspect-ratio: 4 / 3;
	background: #eee;
	overflow: hidden;
}

.event-archive__status {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	margin: 0;
	padding: 4px 10px;
	background: #333;
	color: #fff;
	font-size: 11px;
	letter-spacing: 0.08em;
	line-height: 1.6;
}

.event-archive__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.event-archive__card:hover .event-archive__media img {
	transform: scale(1.04);
}

.event-archive__body {
	padding-top: 12px;
}

.event-archive__body h2 {
	margin: 0;
	font-size: 17px;
	font-weight: 400;
	letter-spacing: 0.06em;
	line-height: 1.6;
}

@media screen and (min-width: 1024px) {
	.event-archive__body h2 {
		font-size: 18px;
	}
}

.event-archive__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 10px 0 0;
	font-size: 14px;
	line-height: 1.7;
	letter-spacing: 0.04em;
	color: #666;
}

.event-archive__empty {
	margin: 0;
	padding: 24px 0 48px;
	text-align: center;
	font-size: 14px;
	letter-spacing: 0.06em;
	color: #666;
}

.event-archive__pager {
	margin-top: 40px;
}

.event-archive__pager ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.event-archive__pager li {
	padding: 0 12px;
	border-left: 1px solid #333;
	font-size: 14px;
	line-height: 1;
}

.event-archive__pager li:first-child {
	border-left: 0;
}

.event-archive__pager a {
	color: inherit;
	text-decoration: none;
}

.event-archive__pager a.is-current {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.event-password {
	padding: 48px 0 72px;
	text-align: center;
}

@media screen and (min-width: 1024px) {
	.event-password {
		padding: 72px 0 96px;
	}
}

.event-password__en {
	margin: 0;
	font-size: 1.125rem;
	letter-spacing: 0.2em;
	line-height: 1.4;
}

.event-password h1 {
	margin: 0.25em 0 0;
	font-size: 1.5rem;
	font-weight: 400;
	letter-spacing: 0.08em;
}

.event-password .post-password-form {
	max-width: 360px;
	margin: 24px auto 0;
	text-align: left;
}

.event-password .post-password-form > p:first-of-type {
	margin: 0 0 16px;
	font-size: 13px;
	letter-spacing: 0.06em;
	line-height: 1.8;
	color: #666;
	text-align: center;
}

.event-password .post-password-form label {
	display: block;
	font-size: 13px;
	letter-spacing: 0.06em;
}

.event-password .post-password-form input[type="password"] {
	display: block;
	width: 100%;
	margin-top: 8px;
	padding: 12px 14px;
	border: 1px solid #999;
	border-radius: 2px;
	background: #fff;
	font-size: 14px;
	font-family: inherit;
}

.event-password .post-password-form input[type="submit"] {
	display: block;
	margin: 16px auto 0;
	padding: 10px 40px;
	border: 0;
	border-radius: 3em;
	background: #333;
	color: #fff;
	font-size: 13px;
	letter-spacing: 0.12em;
	cursor: pointer;
}

.event-password .post-password-form-invalid-password {
	margin: 0 0 12px;
	font-size: 13px;
	letter-spacing: 0.04em;
	color: #dc3232;
	text-align: center;
}

.event-password .post-password-form-invalid-password p {
	margin: 0;
}

.home-events {
	margin-bottom: 5rem;
}

@media screen and (min-width: 1024px) {
	.home-events {
		margin-bottom: 9rem;
	}
}

.home-events__lead {
	max-width: 40em;
	margin: 1.25em auto 0;
	font-size: 14px;
	line-height: 1.9;
	letter-spacing: 0.04em;
	color: #666;
}

.home-events__list {
	display: grid;
	grid-template-columns: 1fr;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media screen and (min-width: 1024px) {
	.home-events__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 28px;
	}

	.home-events__list--count-1 {
		grid-template-columns: minmax(0, 420px);
		justify-content: center;
	}

	.home-events__list--count-2 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		max-width: 860px;
		margin-right: auto;
		margin-left: auto;
	}
}

.home-events__card {
	display: flex;
	flex-direction: column;
	height: 100%;
	border: 1px solid #d4d4d4;
	background: #fff;
	color: inherit;
	text-decoration: none;
}

.home-events__media {
	position: relative;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: #eee;
}

.home-events__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s ease;
}

.home-events__card:hover .home-events__media img {
	transform: scale(1.04);
}

.home-events__status {
	position: absolute;
	top: 12px;
	left: 12px;
	z-index: 1;
	margin: 0;
	padding: 4px 10px;
	background: #333;
	color: #fff;
	font-size: 11px;
	letter-spacing: 0.08em;
	line-height: 1.6;
}

.home-events__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 22px 22px 24px;
	text-align: center;
}

.home-events__body h3 {
	margin: 0 0 22px;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.06em;
	line-height: 1.7;
}

.home-events__body h3:has(+ .home-events__meta) {
	margin-bottom: 0;
}

@media screen and (min-width: 1024px) {
	.home-events__body h3 {
		font-size: 16px;
	}
}

.home-events__meta {
	display: flex;
	flex-direction: column;
	gap: 4px;
	margin: 12px 0 22px;
	font-size: 13px;
	line-height: 1.8;
	letter-spacing: 0.04em;
	color: #666;
}

.home-events__more {
	display: flex;
	align-items: center;
	justify-content: space-between;
	margin-top: auto;
	padding: 12px 16px;
	border: 1px solid #333;
	font-size: 13px;
	letter-spacing: 0.12em;
	line-height: 1;
	transition: background-color 0.4s ease, color 0.4s ease;
}

.home-events__card:hover .home-events__more {
	background: #333;
	color: #fff;
}
