@charset "utf-8";

html {
	width: 100%;
	max-width: 1920px;
	margin: auto;
	overflow-y: scroll;

	--main-color: #a0c332;
	--sub-color: #0d378d;
	--accent-color: #d53c17;
	--img-ratio: 3/2;
	--bg-color-transition: background-color 0.2s;
	--font-en: 'itc-avant-garde-gothic-pro', sans-serif;
}

body {
	width: 100%;
	margin: 0 auto;
	background-color: #fff;
	color: #000;
	font-family: Roboto, 'Noto Sans JP', sans-serif;
	font-size: 1rem;
	line-height: 2;
	text-align: center;


	--outer-margin: 80%;
	--inner-margin: 85%;
	--inner-margin-fill: 100%;
}

a {
	&:link,
	&:visited {
		color: #000;
		text-decoration: underline;
	}

	&:active,
	&:hover,
	&:focus {
		color: #344198;
		text-decoration: none;
		opacity: 0.7;
		transition: color 0.5s ease;
	}
}

a img:hover {
	opacity: 0.7;
}

.sp {
	display: none !important;
}

h1,
h2,
h3,
p,
ul,
li,
dl,
dt,
dd {
	text-align: left;
}

.pagetop {
	height: 50px;
	width: 50px;
	position: fixed;
	right: 45px;
	bottom: 45px;
	background: #fff;
	border: solid 1px #666;
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	z-index: 2;
	opacity: 0.7;

	&:hover {
		opacity: 0.5;
	}
}

.pagetop_arrow {
	height: 13px;
	width: 13px;
	border-top: 1px solid #666;
	border-right: 1px solid #666;
	transform: translateY(20%) rotate(-45deg);
}

header {
	background-color: var(--main-color);
}

.header-wrapper {
	width: var(--outer-margin);
	height: calc(550px - 35px);
}

.header-wrapper::before {
	content: '';
	position: absolute;
	inset: auto;
	left: 28em;
	top: 3em;
	width: 350px;
	height: 350px;
	background: url('../image/g_rips_main_globe.webp') center center / cover no-repeat;
	background-size: 350px 350px;
	z-index: 0;
}

.header-main h1 {
	font-family: var(--font-en);
	color: var(--sub-color);
}

.title-sub {
	white-space: nowrap;
}

.header-intro {
	background-color: white;
}

@media screen and (width <= 750px) {
	html {
		font-size: 18px;
	}

	/* ---sp--- */
	body {
		width: 100%;
		min-width: initial;

		--outer-margin: 90%;
		--inner-margin: 100%;
	}

	.sp {
		display: block !important;
	}

	.pc {
		display: none !important;
	}

	.pagetop {
		right: 15px;
		bottom: 15px;
	}

	.header-main {
		width: var(--outer-margin);
	}

	.header-wrapper::before {
		inset: auto;
		left: auto;
		top: 0;
		right: -2em;
		width: 15em;
		aspect-ratio: 1 / 1;
		background-size: contain;
		pointer-events: none;
	}
}

h1 {
	position: absolute;
	display: none;
}


/* ----------▼ main ▼---------- */
main {
	overflow: hidden;
}

.banner_wrapper {
	width: var(--outer-margin);
	margin: 0 auto;
	box-sizing: border-box;
	text-align: right;
}

.home_banner {
	height: fit-content;
	display: inline-block;
}

.home_banner img {
	width: 100%;
	aspect-ratio: 10/3;
	height: auto;
	margin-top: 3em;
}

.sec_container {
	width: var(--outer-margin);
	margin: 0 auto 2rem;
}


.sec_title {
	margin: 0 0 4rem;
	padding: 0.2rem 0 0.2rem 0.8rem;
	line-height: 1;
	border-left: 8px solid var(--main-color);
}

#voice .sec_title {
	border-left: 8px solid white;
}

.sec_title .h2_main {
	font-size: 2.3rem;
	line-height: 1;
	display: block;
}

html[lang='en'] .h2_main {
	position: relative;
	letter-spacing: 0.1em;
	display: inline;
	color: black;
	font-size: 3rem;
	font-weight: 600;
	z-index: 0;
}

.sec_title .h2_sub {
	font-family: Roboto, sans-serif;
	font-optical-sizing: auto;
	font-weight: 500;
	font-style: normal;
	font-variation-settings: 'wdth' 100;
	margin-bottom: 6px;
	color: var(--main-color);
	font-size: 0.85rem;
	letter-spacing: 0.2em;
	line-height: 1;
	display: block;
}

#voice .sec_title .h2_sub {
	color: white;
}

.sec_wrapper_outline {
	background-size: cover;
	padding-top: 4rem;
	padding-bottom: 4rem;
	margin-bottom: 4rem;
	box-sizing: border-box;
	display: flex;
	outline: 2rem solid var(--main-color);
	outline-offset: -2rem;
}

.sec_wrapper_fill {
	background-color: var(--main-color);
	padding: 0.1px;
	padding-top: 4rem;
}

@media screen and (width <= 750px) {
	/* ---sp--- */
	.banner_wrapper {
		display: contents;
	}

	.home_banner {
		width: 65%;
		margin: 1rem auto;
	}

	.sec_title {
		margin: 2rem auto 1rem;
	}

	.sec_title .h2_main {
		font-size: 1.9rem;
	}

	.sec_container {
		width: var(--outer-margin);
	}

	.sec_highlight {
		background-image: none;
	}

	.sec_wrapper_outline {
		background-position-x: right;
		background-repeat: no-repeat;
		outline-width: 1vh;
		outline-offset: -1vh;
	}

	html[lang='en'] .sec_title .h2_main {
		font-size: 2.3rem;
	}
}

/* ----------▲ main ▲---------- */


/* ----------▼ outline ▼---------- */

.outline table tr {
	border-top: 1px solid #666;
	border-bottom: 1px solid #666;
	font-size: 0.95rem;
}

.outline table th,
.outline table td {
	padding: 18px 30px;
	font-weight: normal;
}


html[lang='en'] .outline table th,
html[lang='en'] .outline table td {
	font-size: 1rem;
}

.outline table th {
	min-width: 180px;
	background: #f3f3f3;
	white-space: nowrap;
}

html[lang='en'] .outline table th {
	min-width: 250px;
}

.outline table td {
	text-align: left;
}

.outline_wrapper {
	width: var(--inner-margin);
	margin: auto;
	display: flex;
	flex-direction: column;
}

.note {
	text-align: right;
	margin-top: 20px;
	font-size: 0.75rem;
}

@media screen and (width <= 750px) {
	/* ---sp--- */

	.outline table tr {
		border: none;
	}

	.outline table th,
	.outline table td {
		padding: 8px 10px;
		display: block;
	}

	.outline table td {
		margin: auto;
		padding-bottom: 20px;
	}

	.outline .note {
		text-align: left;
	}
}

/* ----------▲ outline ▲---------- */


/* ----------▼ theme ▼---------- */


.theme_wrapper {
	display: grid;
	width: var(--inner-margin-fill);
	grid-template-columns: 1fr 1fr;
	grid-template-rows: 1fr 1fr;
	gap: 2.5rem 3rem;
}

.theme_wrapper .theme_box {
	display: flex;
	flex-direction: column;
	align-items: stretch;
	background: #fff;
	text-align: left;
}


.theme_bar {
	width: 100%;
	padding-left: 2rem;
	background-color: var(--main-color);
	box-sizing: border-box;
}

.theme_wrapper .theme_sub {
	width: fit-content;
	line-height: 2rem;
	margin: 0;
	padding: 0 0.5em;
	position: relative;
	background-color: var(--sub-color);
	z-index: 1;
	color: #fff;
	letter-spacing: 0.2em;
	font-size: 0.7rem;
	font-style: italic;
	font-weight: bold;
}

.theme_wrapper .theme_num {
	padding-left: 0.15em;
	font-size: 1.5rem;
	vertical-align: -0.04em;
}

.theme_wrapper .theme_box .theme_box_content {
	padding: 1.6rem 2rem;
}

.theme_wrapper .theme_name {
	position: relative;
	padding: 0.5em 0.7em;
	background: #f3f3f3;
	font-size: 1.3rem;
	font-weight: normal;
	line-height: 1.3;
}

.theme_wrapper .theme_name a {
	text-decoration: none;
	display: block;

	&::after {
		content: '';
		width: 8px;
		height: 8px;
		border: 0;
		border-top: solid 2px #666;
		border-right: solid 2px #666;
		position: absolute;
		top: 50%;
		right: 12px;
		margin-top: -4px;
		transform: rotate(45deg);
	}
}

.theme_wrapper .theme_project {
	/* flex-grow: 1; */
	margin: 1em 0;
	padding: 0 0.7em;
	line-height: 1.3;
	font-size: 1.1rem;
	font-weight: bold;
}

.theme_wrapper .theme_project span {
	display: block;
}

.theme_wrapper .theme_project .project_en {
	margin-bottom: 0.5em;
}

.theme_wrapper .link_pdf {
	padding: 0;
	list-style: none;
	line-height: 1;
	font-size: 0.9rem;
}

.theme_wrapper .link_pdf li {
	position: relative;
	border-bottom: 1px solid #666;
}

.theme_wrapper .link_pdf a {
	padding: 18px 13px 18px 30px;
	margin: 0;
	background: url('../image/icon_pdf.png') left center no-repeat;
	display: block;
	text-decoration: none;
}

.theme_wrapper .link_pdf a::after {
	content: '';
	width: 8px;
	height: 8px;
	border: 0;
	border-top: solid 2px #666;
	border-right: solid 2px #666;
	position: absolute;
	top: 50%;
	right: 12px;
	margin-top: -4px;
	transform: rotate(45deg);
}

@media screen and (width <= 750px) {
	/* ---sp--- */
	.theme_wrapper {
		width: var(--inner-margin-fill);
		display: block;
	}

	.theme_wrapper .theme_box {
		margin: 1rem auto;
	}

	.theme_wrapper .theme_box .theme_box_content {
		padding: 1.5rem 0.5rem;
	}

	.theme_wrapper .link_pdf {
		font-size: 0.85rem;
		display: block;
	}

	.theme_wrapper .link_pdf a {
		margin: 0 1rem;
		padding-left: 27px;
	}

	.theme_wrapper .link_pdf a::after {
		right: 8px;
	}
}

/* ----------▲ theme ▲---------- */


/* ----------▼ schedule ▼---------- */
.schedule_wrapper {
	width: var(--inner-margin);
	margin: 0 auto;
	display: flex;

	--sp-width: 0;
}

.schedule_inner_wrapper {
	position: relative;
	width: 26.5%;
}

.schedule_photo {
	position: absolute;
	max-height: 100%;
	height: 100%;
	display: flex;
	flex-flow: column;
	justify-content: space-between;
	gap: 1rem;
}

.schedule_photo figure {
	height: calc((100% - 3rem) / 4);
	margin: 0;
}

.schedule_photo figure img {
	max-height: 100%;
	max-width: 100%;
	aspect-ratio: var(--img-ratio);
	object-fit: cover;
}

.schedule_text {
	width: 73.5%;
	text-align: left;
	padding-left: 30px;
}

.schedule_text li {
	width: 100%;
	padding: 0 0 20px 20px;
	position: relative;
	list-style: none;
	border-left: 2px solid #666;
	box-sizing: border-box;
}

.schedule_text li:last-child {
	border-left: none;
}

.schedule_text h3 {
	line-height: 1;
}

.schedule_text h3::before {
	width: 15px;
	height: 15px;
	content: '';
	position: absolute;
	left: -9px;
	top: 0;
	background: #666;
	border-radius: 10px;
}

.schedule_text .schedule_point h3::before {
	background: var(--sub-color);
	width: 20px;
	height: 20px;
	left: -11px;
}

.schedule_text .schedule_important h3::before {
	background: var(--accent-color);
	width: 25px;
	height: 25px;
	left: -12px;
	border-radius: 12.5px;
}


.schedule_text p {
	font-size: 0.85rem;
}

@media screen and (width <= 750px) {
	/* ---sp--- */
	.schedule_wrapper {
		width: var(--inner-margin-fill);
		display: block;
	}

	.schedule_inner_wrapper {
		display: none;
	}

	.schedule_text {
		padding-left: 1rem;
		width: 100%;
	}

	.schedule_text > li > h3 {
		margin-bottom: 1rem;
	}

	.schedule_photo {
		display: none;
	}
}

/* ----------▲ schedule ▲---------- */


/* ----------▼ swiper共通 ▼---------- */
.album,
.voice {
	overflow: visible;
}

.album .swiper,
.voice .swiper {
	overflow: visible;
	position: relative;
	width: var(--inner-margin-fill);
}

.album .swiper-scrollbar:hover,
.voice .swiper-scrollbar:hover {
	cursor: grab;
}

.album .swiper-scrollbar-drag,
.voice .swiper-scrollbar-drag {
	height: 14px;
	top: calc((14px - 4px)/ -2);

	/* (つまみ高さ-デフォルトバー高さ)/半分 真ん中に合わせる */
}

/* ----------▲ swiper共通 ▲---------- */

/* ----------▼ swiper遅延読み込み前のフォールバック ▼---------- */

/* Swiper本体の取得までは簡易の横スクロールで表示する */
html:not(.swiper-ready) .slider2 .swiper-wrapper,
html:not(.swiper-ready) .slider3 .swiper-wrapper {
	display: flex;
	gap: 20px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scrollbar-width: thin;
}

html:not(.swiper-ready) .slider2 .swiper-slide,
html:not(.swiper-ready) .slider3 .swiper-slide {
	scroll-snap-align: start;
}

html:not(.swiper-ready) .slider2 .swiper-slide {
	flex: 0 0 28%;
	min-width: 200px;
}

html:not(.swiper-ready) .slider3 .swiper-slide {
	flex: 0 0 calc(100% / 1.8 - 20px);
	min-width: min(80%, 320px);
}

@media screen and (width <= 750px) {
	html:not(.swiper-ready) .slider2 .swiper-slide,
	html:not(.swiper-ready) .slider3 .swiper-slide {
		flex-basis: 80%;
	}
}

/* ----------▲ swiper遅延読み込み前のフォールバック ▲---------- */

/* ----------▼ album ▼---------- */

.album {
	--category-color: #888;
}

.filter {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin: 0 0 2rem;
}

.filter button {
	min-width: 6rem;
	width: fit-content;
	white-space: nowrap;
	font-size: 0.8rem;
	border-radius: 1.6rem;
	padding: 0 1rem;
	border: none;
	background-color: var(--category-color);
}

.category_label {
	position: absolute;
	top: 0;
	left: 0;
	width: 2rem;
	aspect-ratio: 1;
	clip-path: polygon(0 0, 100% 0, 0 100%);
	background: var(--category-color);
}

.album .swiper {
	margin-bottom: 2rem;
}

.album .swiper-slide {
	width: 28%;
	margin-bottom: 2rem;
}

.album figcaption {
	height: 4rem;
	text-align: left;
	text-indent: -8px;

	/* 行数にかかわらず統一 */
	word-break: auto-phrase;
}

.album .swiper-slide img {
	width: 100%;
	aspect-ratio: var(--img-ratio);
	object-fit: cover;
}

.album .swiper-scrollbar {
	--swiper-scrollbar-bg-color: black;
}


.album .swiper-scrollbar-drag {
	--swiper-scrollbar-drag-bg-color: #888f;
}

.album figure {
	padding-bottom: 1rem;
}

@media screen and (width <= 750px) {
	.filter {
		display: block;
		text-align: left;
	}

	.album figcaption {
		height: 2rem;
	}

	.custom-select-wrapper {
		width: 100%;
		max-width: 400px;
		font-family: 'Noto Sans JP', sans-serif;
		font-size: 16px;
		position: relative;
	}

	.custom-select {
		position: relative;
		cursor: pointer;
		user-select: none;
	}


	.selected {
		border: 1px solid #000;
		border-radius: 999px;
		padding: 0.4rem 20px;
		background-color: #fff;
		display: flex;
		align-items: center;
		gap: 8px;
		transition: var(--bg-color-transition);
	}

	.selected::after {
		position: absolute;
		content: '';
		width: 32px;
		height: 32px;
		right: 1rem;
		transform: rotate(-90deg);
		background-image: url('../image/navigation_arrow.svg');
	}

	.select-options {
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		background-color: #d9e8e8f7;
		display: none;
		z-index: 10;
	}

	.option {
		padding: 10px 16px;
		display: flex;
		align-items: center;
		gap: 8px;
		color: black;
		transition: var(--bg-color-transition);
	}

	.option:hover {
		background-color: #cde0e0;
	}

	.dot {
		width: 12px;
		height: 12px;
		border-radius: 50%;
		flex-shrink: 0;
		background-color: var(--category-color);
	}
}

/* ----------▲ album ▲---------- */


/* ----------▼ voice ▼---------- */

.sec_wrapper_fill > .sec_container {
	background-color: unset;
}

.voice > .sec_title > .h2_main {
	color: white;
}

.voice .swiper-button {
	width: var(--inner-margin-fill);
	position: absolute;
	display: flex;
	justify-content: flex-end;
}

.voice .swiper-pagination {
	padding-right: 130px;
	color: white;
	font-style: italic;
	text-align: right;
}

.voice .swiper-button-prev,
.voice .swiper-button-next {
	width: 45px;
	height: 45px;
	border: 3px solid #fff;
	border-radius: 100%;
	position: initial;

	&::after {
		color: #fff;
		font-size: 1.2rem;
		font-weight: bold;
	}

	&:hover {
		opacity: 0.7;
		transition: 0.6s;
	}
}


.voice .swiper-button-next {
	margin-left: 20px;
}


.voice .swiper-wrapper {
	padding-top: 50px;
	display: flex;
	align-items: stretch;
}

.voice .swiper-slide {
	height: auto;
	margin-bottom: 2rem;
	padding: 30px;
	background-color: #fff;
	text-align: left;
}

.voice .swiper-scrollbar {
	--swiper-scrollbar-bg-color: white;
}


.voice .swiper-scrollbar-drag {
	--swiper-scrollbar-drag-bg-color: var(--sub-color);
}

.voice .swiper-slide h3 {
	line-height: 1.3;
	margin-bottom: 20px;
}

.voice .swiper-slide h3.lang_en {
	font-size: 1.22rem;
}

.voice .swiper-slide p {
	margin-bottom: 0;
	line-height: 1.8;
}

@media screen and (width <= 750px) {
	/* ---sp--- */
	.voice .swiper-button {
		top: 1rem;
	}

	.voice .swiper-slide {
		padding: 30px 20px;
	}

	.voice .swiper-slide p {
		font-size: 0.85rem;
	}
}

/* ----------▲#voice ▲---------- */


/* ----------▼ footer ▼---------- */
.footer_wrapper {
	width: var(--outer-margin);
	margin: 6rem auto 3rem;
	display: flex;
	justify-content: space-between;
}

.footer_mail_icon {
	width: 15px;
	height: auto;
}

.footer_logo {
	text-align: left;
	margin-bottom: 30px;
}

.footer_logo a {
	text-decoration: none;
	color: var(--sub-color);
	font-family: var(--font-en);
	line-height: 1.2;
}

.footer_logo span {
	display: block;
}

.footer_logo-main {
	font-size: 4em;
}

.footer_logo-sub {
	font-size: 2em;
}

.footer_host {
	padding: 0;
	display: flex;
	justify-content: flex-end;
	place-items: center stretch;
	width: 60%;
	list-style: none;
	gap: 4%;
	margin-bottom: 2rem;
}

.footer_host > li {
	flex-grow: 1;
	max-height: 100%;
}

.footer_host li img {
	width: 100%;
	height: auto;
}

.footer_copy {
	margin: 0 auto;
	padding: 1.5rem 0;
	text-align: center;
	background: var(--main-color);
	color: #fff;
	font-size: 0.75rem;
}

html[lang='en'] .footer_host {
	font-size: 0.9rem;
}

@media screen and (width <= 750px) {
	/* ---sp--- */
	.footer_wrapper {
		margin: 4rem auto;
		display: block;
	}


	.footer_logo {
		text-align: center;
	}

	.footer_mail {
		font-size: 0.9rem;
	}

	.footer_info {
		margin-bottom: 2rem;
	}

	.footer_info p {
		line-height: 1.5;
	}

	.footer_info address {
		text-align: left;
	}

	.footer_host {
		padding: 0;
		width: 100%;
		gap: 12px;
	}
}

/* ----------▲ footer ▲---------- */
