/* =========================================================
   YUMINEKO
   利用規約
   /assets/css/terms.css
========================================================= */

:root {
	--terms-ink: #24383A;
	--terms-muted: #6F7E80;
	--terms-main: #8BBABB;
	--terms-main-deep: #5E8F91;
	--terms-dark: #365F61;
	--terms-soft: #F3F8F8;
	--terms-warm: #F4EFE7;
	--terms-line: #DCE9E9;
	--terms-white: #FFFFFF;
	--terms-radius: 22px;
	--terms-shadow: 0 14px 38px rgba(54, 95, 97, .08);
}


/* =========================================================
   BASE
========================================================= */

.terms-page {
	overflow: hidden;
	color: var(--terms-ink);
	background: var(--terms-white);
}

.terms-page *,
.terms-page *::before,
.terms-page *::after {
	box-sizing: border-box;
}

.terms-container {
	width: min(1040px, calc(100% - 48px));
	margin-inline: auto;
}

.terms-content {
	padding-top: 76px;
	padding-bottom: 110px;
}

.terms-page h1,
.terms-page h2,
.terms-page h3,
.terms-page p {
	margin-top: 0;
}

.terms-page a {
	color: var(--terms-main-deep);
}

.terms-page p,
.terms-page li {
	line-height: 1.95;
}


/* =========================================================
   HERO
========================================================= */

.terms-hero {
	position: relative;
	overflow: hidden;
	padding: 92px 0 82px;
	background:
		linear-gradient(
			135deg,
			#F5FAFA 0%,
			#FFFFFF 62%,
			#F4EFE7 100%
		);
	border-bottom: 1px solid var(--terms-line);
}

.terms-hero::after {
	content: "";
	position: absolute;
	right: -120px;
	top: -180px;
	width: 460px;
	height: 460px;
	border-radius: 50%;
	background: rgba(139, 186, 187, .12);
}

.terms-eyebrow {
	position: relative;
	z-index: 1;
	margin: 0 0 16px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: .17em;
	color: var(--terms-main-deep);
}

.terms-hero h1 {
	position: relative;
	z-index: 1;
	margin-bottom: 20px;
	font-size: clamp(38px, 5vw, 58px);
	line-height: 1.3;
	letter-spacing: -.03em;
}

.terms-hero__lead {
	position: relative;
	z-index: 1;
	max-width: 680px;
	margin-bottom: 20px;
	color: var(--terms-muted);
	font-size: 16px;
}

.terms-hero__date {
	position: relative;
	z-index: 1;
	margin-bottom: 0;
	font-size: 12px;
	color: #899698;
}


/* =========================================================
   INTRO
========================================================= */

.terms-intro {
	margin-bottom: 54px;
	padding: 30px 34px;
	border-left: 4px solid var(--terms-main);
	background: var(--terms-soft);
	border-radius: 0 18px 18px 0;
}

.terms-intro p {
	margin-bottom: 14px;
	color: var(--terms-muted);
}

.terms-intro p:last-child {
	margin-bottom: 0;
}


/* =========================================================
   TABLE OF CONTENTS
========================================================= */

.terms-toc {
	margin-bottom: 76px;
	padding: 34px;
	border: 1px solid var(--terms-line);
	border-radius: var(--terms-radius);
	background: #FFFFFF;
	box-shadow: var(--terms-shadow);
}

.terms-toc__title {
	margin: 0 0 22px;
	font-size: 10px;
	font-weight: 700;
	letter-spacing: .16em;
	color: var(--terms-main-deep);
}

.terms-toc ol {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 44px;
	margin: 0;
	padding-left: 22px;
}

.terms-toc li {
	font-size: 13px;
	color: var(--terms-muted);
}

.terms-toc a {
	color: var(--terms-ink);
	text-decoration: none;
}

.terms-toc a:hover {
	color: var(--terms-main-deep);
	text-decoration: underline;
}


/* =========================================================
   TERMS SECTION
========================================================= */

.terms-section {
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr);
	gap: 38px;
	padding: 56px 0;
	border-top: 1px solid var(--terms-line);
	scroll-margin-top: 100px;
}

.terms-section:last-of-type {
	border-bottom: 1px solid var(--terms-line);
}

.terms-section__number {
	padding-top: 3px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .08em;
	color: var(--terms-main);
}

.terms-section__en {
	margin: 0 0 8px !important;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .14em;
	color: var(--terms-main-deep);
}

.terms-section h2 {
	margin: 0 0 26px;
	font-size: clamp(23px, 3vw, 30px);
	line-height: 1.5;
	letter-spacing: -.02em;
}

.terms-section__body > p {
	color: var(--terms-muted);
}

.terms-section__body > ol,
.terms-section__body > ul {
	margin: 0;
	padding-left: 1.5em;
}

.terms-section__body > ol > li,
.terms-section__body > ul > li {
	margin-bottom: 14px;
	padding-left: .4em;
	color: var(--terms-muted);
}

.terms-section__body > ol > li:last-child,
.terms-section__body > ul > li:last-child {
	margin-bottom: 0;
}

.terms-section li ul {
	margin-top: 12px;
	padding-left: 1.3em;
}

.terms-section li ul li {
	margin-bottom: 7px;
}


/* =========================================================
   NOTE
========================================================= */

.terms-note {
	margin-top: 30px;
	padding: 25px 28px;
	border: 1px solid rgba(139, 186, 187, .34);
	border-radius: 16px;
	background: var(--terms-soft);
}

.terms-note strong {
	display: block;
	margin-bottom: 8px;
	font-size: 15px;
}

.terms-note p {
	margin-bottom: 10px;
	font-size: 13px;
	color: var(--terms-muted);
}

.terms-note a {
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
}

.terms-note a:hover {
	text-decoration: underline;
}


/* =========================================================
   CONTACT
========================================================= */

.terms-contact {
	margin-top: 26px;
	padding: 26px 28px;
	border-radius: 17px;
	background: var(--terms-soft);
}

.terms-contact p {
	margin-bottom: 6px;
}

.terms-contact p:last-child {
	margin-bottom: 0;
}

.terms-contact a {
	font-weight: 700;
	text-decoration: none;
}

.terms-contact a:hover {
	text-decoration: underline;
}


/* =========================================================
   FOOTER
========================================================= */

.terms-footer {
	margin-top: 78px;
	padding: 52px;
	border-radius: 26px;
	background: var(--terms-dark);
	color: #FFFFFF;
}

.terms-footer__label {
	margin: 0 0 10px;
	font-size: 9px;
	font-weight: 700;
	letter-spacing: .15em;
	color: #C7DDDD;
}

.terms-footer h2 {
	margin-bottom: 30px;
	font-size: 28px;
	color: #FFFFFF;
}

.terms-footer__links {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
}

.terms-footer__links a {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 128px;
	padding: 22px;
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 16px;
	background: rgba(255, 255, 255, .06);
	color: #FFFFFF;
	text-decoration: none;
	transition:
		transform .2s ease,
		background .2s ease;
}

.terms-footer__links a:hover {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, .10);
}

.terms-footer__links span {
	margin-bottom: 14px;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: .13em;
	color: #BFD8D8;
}

.terms-footer__links strong {
	padding-right: 28px;
	font-size: 14px;
	line-height: 1.6;
}

.terms-footer__links em {
	position: absolute;
	right: 20px;
	bottom: 18px;
	font-style: normal;
}


/* =========================================================
   TABLET
========================================================= */

@media screen and (max-width: 820px) {

	.terms-hero {
		padding: 72px 0 66px;
	}

	.terms-content {
		padding-top: 60px;
		padding-bottom: 84px;
	}

	.terms-toc ol {
		grid-template-columns: minmax(0, 1fr);
	}

	.terms-section {
		grid-template-columns: 54px minmax(0, 1fr);
		gap: 24px;
	}

	.terms-footer {
		padding: 38px;
	}

	.terms-footer__links {
		grid-template-columns: minmax(0, 1fr);
	}

}


/* =========================================================
   MOBILE
========================================================= */

@media screen and (max-width: 600px) {

	.terms-container {
		width: min(100% - 32px, 1040px);
	}

	.terms-hero {
		padding: 56px 0 52px;
	}

	.terms-hero h1 {
		font-size: 34px;
	}

	.terms-hero__lead {
		font-size: 14px;
	}

	.terms-content {
		padding-top: 42px;
		padding-bottom: 70px;
	}

	.terms-intro {
		margin-bottom: 38px;
		padding: 22px;
	}

	.terms-toc {
		margin-bottom: 44px;
		padding: 24px 22px;
	}

	.terms-section {
		display: block;
		padding: 42px 0;
	}

	.terms-section__number {
		margin-bottom: 10px;
	}

	.terms-section h2 {
		margin-bottom: 22px;
		font-size: 23px;
	}

	.terms-section__body > ol,
	.terms-section__body > ul {
		padding-left: 1.25em;
	}

	.terms-note,
	.terms-contact {
		padding: 22px;
	}

	.terms-footer {
		margin-top: 52px;
		padding: 30px 22px;
	}

	.terms-footer h2 {
		font-size: 24px;
	}

}