@charset "utf-8";
/* CSS Document */

:root {
	--color-black: #222;
	--color-white: #FFFFFF;
	--color-lightGray: #F5F5F5;
	--color-gray: #878E96;
	--font-family-JP: "Pretendard JP", -apple-system, blinkmacsystemfont, "segoe ui", helvetica neue, Meiryo, sans-serif; /* Pretendard JP */
	--font-family-EN: "Barlow", sans-serif; /* Barlow */
	--font-xs: 0.75rem;    /* 12px */
	--font-sm: 0.875rem;   /* 14px */
	--font-md: 1rem;       /* 16px */
	--font-lg: 1.25rem;    /* 20px */
	--font-xl: 1.875rem;   /* 30px */
}
html {
	min-width: 300px;
	overflow-x: auto;
}
a {
	text-decoration: none;
}
a, button {
	-webkit-tap-highlight-color: transparent;
}
body {
	color: var(--color-black);
	font-family: var(--font-family-JP);
	font-style: normal;
	font-weight: 400;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
main {
	flex: 1;
}

/* =====================
header
======================== */
header {
	background: var(--color-black);
}
h1 {
	width: 194px;
	height: 9px;
	aspect-ratio: 194/9;
	background-image: url('../images/logo.svg');
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	margin: 16px auto;
}
.visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}
.logo {
	width: 194px;
	height: 9px;
	flex-shrink: 0;
}

/* =====================
terms__content
======================== */
.terms__content {
	margin: 24px auto;
	padding: 0 16px;
}
.terms__inner {
	max-width: 358px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	align-self: stretch;
	gap: 32px;
	padding: 48px 0;
}
.terms__main-title {
	color: var(--color-black);
	font-size: var(--font-lg);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: 1px;
	padding-bottom: 16px;
	border-bottom: 1px solid rgba(34, 34, 34, 0.40);
}
.terms__section {
	opacity: 0.7;
}
.terms__list--definition {
	margin-top: 21px;
}
.terms__section-title,
.terms__text,
.terms__item {
	font-size: var(--font-sm);
	line-height: 1.5;
	letter-spacing: 0.7px;
}
.terms__list {
	list-style: none;
	counter-reset: item;
}
.terms__item::before {
	counter-increment: item;
	content: "(" counter(item) ") ";
}
.link {
	text-decoration: underline;
}

/* =====================
footer
======================== */
footer::before {
    content: '';
    height: 4px;
    width: 100%;
    background: rgb(34 34 34 / 8%);
    display: block;
    border-top: 1px rgb(34 34 34 / 16%) solid;
}
.footer__inner {
	background: var(--color-black);
	padding: 0;
}
.footer-nav {
	padding: 48px 16px;
	opacity: 0.5;
}
.footer-nav__list {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	align-self: stretch;
}
.footer-nav__item {
	color: var(--color-white);
	font-family: var(--font-family-EN);
	font-size: var(--font-xs);
	letter-spacing: 1.2px;
	font-weight: 400;
	line-height: 1.5;
}
.footer-nav__item--events a::before {
	content: "";
	display: inline-block;
	width: 20px;
	height: 20px;
	background-image: url('../images/icon-home.svg');
	background-size: contain;
	background-repeat: no-repeat;
}
.footer-nav__item--events a {
	display: flex;
	align-items: center;
}


/* 769px以上（PC） */
@media screen and (min-width: 769px) {
	/* header */
	h1 {
		width: 224px;
		height: 11px;
		aspect-ratio: 224/11;
		margin: 24px auto;
	}

	/* terms__content */
	.terms__content {
		margin: 48px auto;
		padding: 0;
		max-width: 1080px;
	}
	.terms__inner {
		max-width: none;
		gap: 48px;
		padding: 48px 40px;
	}
	.terms__main-title {
		font-size: var(--font-xl);
		letter-spacing: 1.5px;
		padding-bottom: 24px;
	}
	.terms__list--definition {
		margin-top: 24px;
	}
	.terms__section-title,
	.terms__text,
	.terms__item {
		font-size: var(--font-md);
		line-height: 1.5;
		letter-spacing: 0.8px;
	}

	/* footer */
	.footer-nav {
		padding: 48px 40px;
	}
	.footer-nav__list {
		display: grid;
		grid-template-columns: 1fr auto 1fr;
		align-items: center;
		gap:0;
	}
	.footer-nav__item--events {
		order: 1;
		justify-self: start;
		text-align: left;
	}
	.footer-nav__item--corp {
		order: 2;
		justify-self: center;
		text-align: center;
	}
	.footer-nav__item--terms {
		order: 3;
		justify-self: end;
		text-align: right;
	}
}