@charset "utf-8";
#heroimage {
	width: 100%;
	display: grid;
	grid-template-columns: 100%;
	grid-template-rows: 100%;
	display: -ms-grid;
	-ms-grid-columns: 100%;
	-ms-grid-rows: 100%;
	z-index: 0;
}
#heroimage > * {
	grid-column: 1/2;
	grid-row: 1/2;
	-ms-grid-column: 1;
	-ms-grid-row: 1/2;
}
#heroimage .movie {
	width: 100%;
	height: auto;
	z-index: -1;
	padding-bottom: 5.6rem;
}
#heroimage .movie .content {
	aspect-ratio: 16/9;
}
#heroimage:has(source[src*=_sp\.mp4]) .movie .content {
	aspect-ratio: 9/16;
}

/*
#heroimage .text_main {
	width: 100%;
	height: 100%;
	display: flex;
	padding:  41px 0 calc( 90px + 5.6rem );
	align-items: center;
	justify-content: center;
}
.text_main svg {
	display: block;
	position: relative;
	z-index: 1;
	max-width: 50vw;
	margin: auto;
	height: auto;
}
*/
#heroimage .wrapper {
	grid-column: 1/2;
	grid-row: 1/2;
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: 1fr auto;
	-ms-grid-column: 1;
	-ms-grid-row: 1/2;
	display: -ms-grid;
	-ms-grid-columns: auto 1fr;
	-ms-grid-rows: auto 1fr auto;
}
#heroimage p {
	margin: 0;
}
#heroimage .text_main {
	grid-column: 1/3;
	grid-row: 1/3;
	-ms-grid-column: 1;
	-ms-grid-column-span: 2;
	-ms-grid-row: 1;
}
#heroimage .text_info {
	grid-column: 1/2;
	grid-row: 1/2;
	-ms-grid-column: 1;
	-ms-grid-row: 1;
}
#heroimage .text_sub {
	font-size: 36px;
	grid-column: 1/2;
	grid-row: 2/3;
	-ms-grid-column: 1;
	-ms-grid-row: 2;
}
#heroimage .link {
	grid-column: 2/3;
	grid-row: 1/3;
	-ms-grid-column: 2;
	-ms-grid-row: 2;
	z-index: 1;
	margin-top: auto;
	margin-left: auto;
}

#heroimage {
	line-height: 1;
}
#heroimage .movie .content {
	display: block;
	object-fit: cover;
	width: 100%;
	height: 100%;
}
#heroimage .text_info,
#heroimage .text_sub {
	padding-left: 50px;
}
#heroimage .copy {
	font-size: 68px;
	line-height: 1.47;
	padding-top: 12%;
}
#heroimage .event_date {
	font-size: 60px;
	line-height: 1.25;
	margin-top: 18px;
}
#heroimage .event_date .year {
	display: block;
}
#heroimage .event_date .small {
	font-size: .5em;
}
#heroimage .fee {
	margin-top: 27px;
	font-size: 36px;
}
#heroimage .text_main .line {
	display: block;
}
#heroimage .text_main .sub_line {
	display: inline-block;
}
#heroimage .text_info {
	margin-top: auto;
	margin-bottom: 36px;
}
#heroimage .text_sub {
	line-height: 1.67;
/*	max-width: 22em; */
  filter: drop-shadow( -50px 0 0 var(--text)) drop-shadow( 17px 0 0 var(--text));
	margin-top: auto;
}
#heroimage .text_sub .line > * {
	color: var(--bg);
	background-color: var(--text);
	padding-top: 5px;
	padding-bottom: 5px;
}
#heroimage .text_sub .line {
	display: block;
  width: fit-content;
}
[lang=ja] #heroimage .text_sub .line {
	word-break: keep-all;
}
#heroimage .text_sub .line1 .bg:first-of-type {
/*	margin-right: -0.0875em; */
}
#heroimage .link a {
	font-size: 20px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: var(--bg);
	background-color: var(--text);
	border: 1px solid var(--text);
	width: 200px;
	height: 200px;
	padding: 10%;
	border-radius: 50%;
	isolation: isolate;
	position: relative;
	z-index: 0;
	cursor: pointer;
}
#heroimage .link svg {
	display: block;
	margin-bottom: .8em;
	opacity: 1;
}
#heroimage .link a:hover,
#heroimage .link a:focus {
	background: var(--bg);
	color: var(--text);
}
#heroimage .link a::after {
	content: '';
	display: block;
	width: 21px;
	height: 21px;
	background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218.382%22%20height%3D%2218.382%22%20viewBox%3D%220%200%2018.382%2018.382%22%3E%3Cg%20transform%3D%22translate(685.891%20-1664.529)%20rotate(45)%22%3E%3Cpath%20d%3D%22M2190%2C1668.5a1.5%2C1.5%2C0%2C0%2C1-1.5-1.5v-8.5H2180a1.5%2C1.5%2C0%2C0%2C1%2C0-3h10a1.5%2C1.5%2C0%2C0%2C1%2C1.5%2C1.5v10A1.5%2C1.5%2C0%2C0%2C1%2C2190%2C1668.5Z%22%20transform%3D%22translate(-1480)%22%20fill%3D%22%23fff%22%2F%3E%3Cpath%20d%3D%22M2180.093%2C1668.445a1.5%2C1.5%2C0%2C0%2C1-1.06-2.561l9.954-9.945a1.5%2C1.5%2C0%2C0%2C1%2C2.121%2C2.122l-9.954%2C9.945A1.5%2C1.5%2C0%2C0%2C1%2C2180.093%2C1668.445Z%22%20transform%3D%22translate(-1480.046)%22%20fill%3D%22%23fff%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
	background-size: contain;
	background-repeat: no-repeat;
	background-position: center center;
	position: absolute;
	margin: auto;
	left: 0;
	right: 0;
	bottom: 1.6em;
}
#heroimage .link a:hover::after {
	background-image: url('data:image/svg+xml;charset=utf8,%3Csvg%20xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22%20width%3D%2218.382%22%20height%3D%2218.382%22%20viewBox%3D%220%200%2018.382%2018.382%22%3E%3Cg%20transform%3D%22translate(685.891%20-1664.529)%20rotate(45)%22%3E%3Cpath%20d%3D%22M2190%2C1668.5a1.5%2C1.5%2C0%2C0%2C1-1.5-1.5v-8.5H2180a1.5%2C1.5%2C0%2C0%2C1%2C0-3h10a1.5%2C1.5%2C0%2C0%2C1%2C1.5%2C1.5v10A1.5%2C1.5%2C0%2C0%2C1%2C2190%2C1668.5Z%22%20transform%3D%22translate(-1480)%22%20fill%3D%22%231f1f1f%22%2F%3E%3Cpath%20d%3D%22M2180.093%2C1668.445a1.5%2C1.5%2C0%2C0%2C1-1.06-2.561l9.954-9.945a1.5%2C1.5%2C0%2C0%2C1%2C2.121%2C2.122l-9.954%2C9.945A1.5%2C1.5%2C0%2C0%2C1%2C2180.093%2C1668.445Z%22%20transform%3D%22translate(-1480.046)%22%20fill%3D%22%231f1f1f%22%2F%3E%3C%2Fg%3E%3C%2Fsvg%3E');
}

@media (orientation: portrait){
	#heroimage .movie {
		height: auto;
	}
}
@media (orientation: landscape){
}
@media all and ( max-width: 1040px ) {
	#heroimage {
		grid-template-rows: 1fr auto;
		-ms-grid-rows: 1fr auto;
	}
	#heroimage .movie {
		grid-column: 1/2;
		grid-row: 1/3;
		-ms-grid-column: 1;
		-ms-grid-row: 1/3;
	}
	#heroimage .text_main {
		grid-row: 1/2;
		-ms-grid-row: 1/2;
		padding-bottom: 0;
	}
	#heroimage .wrapper {
		grid-row: 2/3;
		-ms-grid-column: 1;
		-ms-grid-row: 2/3;
	}
	#heroimage .text_info {
	padding-left: 0;
	}
	#heroimage .wrapper {
		padding-left: 30px;
		padding-right: 30px;
	}
	#heroimage .text_sub {
		margin-left: -30px;
	}
	#heroimage .text_sub {
		padding-left: 30px;
	}
}
@media all and ( max-width: 840px ) {
	[lang=ja] #heroimage .text_sub .line {
		word-break: keep-all;
	}
}
@media all and ( min-width: 741px ) {
	#heroimage .text_sub {
		margin-right: 20px;
	}
}
@media all and ( max-width: 740px ) {
	#heroimage .text_main {
		padding: 5.7vw 0 0;
	}
	#heroimage .text_info {
		margin-bottom: 22.133vw;
		margin-bottom: 4vw;
	}
	#heroimage .event_date {
		font-size: 11.2vw;
	}
	#heroimage .event_date .year,
	#heroimage .fee {
		font-size: 6.667vw;
	}
	#heroimage .text_sub {
		grid-column: 1/3;
		-ms-grid-column: 1;
	}
	#heroimage .link {
		grid-row: 1/2;
		-ms-grid-row: 1;
		margin-bottom: 30px;
	}
}
@media all and ( max-width: 680px ) {
	#heroimage .wrapper {
		padding-left: 5.33vw;
		padding-right: 5.33vw;
	}
	#heroimage .text_sub {
		padding-left: 5.33vw;
		margin-left: -5.33vw;
	}
	#heroimage .link a {
		width: 170px;
		height: 170px;
		font-size: 17px;
	}
	#heroimage .copy {
		font-size: 12.2vw;
		padding-top: 5%;
	}
	#heroimage .text_sub {
		font-size: 6.1vw;
/*		font-size: 7.1vw; */
	}
/*
	#heroimage .movie {
		grid-row: 1/2;
		padding-bottom: 0;
	}
	#heroimage .movie + * {
	}
	#intro.full_right {
		margin-top: calc(30px + (1lh - 1em)/2 );
	}
*/
}
@media all and ( max-width: 520px ) {
/*
	#heroimage .event_date {
		font-size: 10vw;
		margin-top: 10px;
	}
	#heroimage .fee {
		margin-top: 10px;
	}
*/
	#heroimage .link a {
		width: 32vw;
		height: 32vw;
		font-size: 2.933vw;
	}
	#heroimage .link a::after {
		width: 11px;
		height: 11px;
	}
}

#heroimage picture {
	grid-column: 1/-1;
	grid-row: 1/2;
	margin-bottom: 0.8em;
}
#heroimage picture img {
	width: 100%
}
#heroimage picture + .wrapper .obj {
	opacity: 1;
}
@media (max-width: 1040px) {
	#heroimage picture {
		margin-bottom: 0;
	}
	#heroimage picture + .wrapper {
		grid-row: 2 / 3;
		-ms-grid-column: 1;
		-ms-grid-row: 2 / 3;
	}
	#heroimage picture + .wrapper .text_sub {
		grid-row: 2/3;
	}
	#heroimage picture + .wrapper .link {
		grid-row: 1/2;
		margin-top: -5em;
		margin-bottom: 26px;
	}
  #heroimage .full_left.wrapper {
    display: contents;
  }
	#heroimage .text_sub {
		padding-left: 5.33vw;
		margin-left: -5.33vw;
    grid-row: 2/3;
	}
	#heroimage picture + .wrapper .link {
    grid-row: 1/2;
    grid-column: 1/2;
    margin-top: auto;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: 30px;
  }
}
@media (max-width: 680px) {
	#heroimage picture + .wrapper .link {
    margin-bottom: 5.33vw;
    margin-right: 5.33vw;
  }
}
