﻿/*============================================
Modern CSS Reset
============================================*/
*,
*::before,
*::after {
	box-sizing: border-box;
}

* {
	margin: 0;
}

body {
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
	font-family: Arial, sans-serif;
	background-color: #000011;
	color: #fff;
	counter-reset: number 0;
}

ul,
li {
	list-style: none;
	padding: 0;
}

img,
picture,
video,
canvas,
svg {
	max-width: 100%;
	height: auto;
}

input,
button,
textarea,
select {
	font: inherit;
}

p,
h1,
h2,
h3,
h4,
h5,
h6 {
	overflow-wrap: break-word;
}

#root,
#__next {
	isolation: isolate;
}

a:hover,
a:focus {
	color: #26c2a2;
	transition: color 0.3s;
}

/*============================================
  Base Layout
============================================*/
.link--white {
	color: #fff;
}

.header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 1rem;
	background-color: #000;
	color: white;
	position: relative;
	z-index: 10;
}

.header__logo img {
	max-width: 180px;
	height: auto;
}

.header__right {
	display: flex;
	align-items: center;
}

.header__lang a {
	color: #fff;
	text-decoration: none;
	margin: 0 0.25rem;
	font-weight: bold;
}

.header__nav {
	position: fixed;
	top: 0;
	right: 0;
	transform: translateX(100%);
	width: 60%;
	height: 100vh;
	background-color: #000;
	padding: 5rem 2rem;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	transition: transform 0.3s ease;
	z-index: 9;
}

.header__nav--active {
	transform: translateX(0) !important;
}

.header__nav-toggle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 6px;
	background: none;
	border: none;
	cursor: pointer;
	z-index: 11;
	width: 40px;
	height: 40px;
	position: relative;
}

.header__nav-toggle-line {
	width: 25px;
	height: 3px;
	background: #438DE7;
	display: block;
	border-radius: 2px;
	transition: transform 0.3s ease, opacity 0.3s ease;
	position: absolute;
}

.header__nav-toggle-line:nth-child(1) {
	top: 10px;
}

.header__nav-toggle-line:nth-child(2) {
	top: 18px;
}

.header__nav-toggle-line:nth-child(3) {
	top: 26px;
}

.header__nav-toggle--active .header__nav-toggle-line:nth-child(1) {
	transform: rotate(45deg);
	top: 18px;
}

.header__nav-toggle--active .header__nav-toggle-line:nth-child(2) {
	opacity: 0;
}

.header__nav-toggle--active .header__nav-toggle-line:nth-child(3) {
	transform: rotate(-45deg);
	top: 18px;
}

.header__nav-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2rem;
	width: 100%;
}

.header__nav-link {
	color: #438DE7;
	text-decoration: none;
	font-weight: bold;
	font-size: 1.5rem;
}

.main {
	max-width: 1280px;
	margin: 0 auto;
	padding: 3rem 1rem;
}

.section--hero {
	text-align: center;
	padding: 4rem 1rem;
}

.section-title {
	text-align: center;
	font-size: 2rem;
}

.section__description {
	margin: 3rem 0 0;
	text-align: center;
	font-size: 1.4rem;
}

.section--hino {
	text-align: center;
}

.members__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5rem;
	justify-items: center;
	padding: 2rem 0;
	width: 100%;
}

.members__item {
	width: 100%;
	max-width: 400px;
	text-align: center;
}

.swiper-container {
	position: relative;
	width: 100%;
	max-width: 100%;
	overflow: hidden;
	margin-top: 2rem;
}

.swiper-slide {
	display: flex;
	justify-content: center;
	align-items: center;
	width: 100%;
	box-sizing: border-box;
}

.swiper-pagination {
	position: relative;
	margin-top: 10px;
}

.swiper-button-next,
.swiper-button-prev {
	display: block !important;
	z-index: 10;
	color: #fff;
}

.swiper-pagination-bullet {
	background: #fff;
}

.section--terms h2,
.section--privacy h2 {
	margin: 4rem 0 2rem;
	color: #438DE7;
}

.list {
	margin-top: 1rem;
}

.list--numbered {
	list-style: none;
	counter-reset: list-item;
}

.list--numbered .list__item {
	position: relative;
	padding-left: 2em;
	margin-bottom: 0.5em;
	counter-increment: list-item;
}

.list--numbered .list__item::before {
	content: "(" counter(list-item) ")";
	position: absolute;
	left: 0;
	top: 0;
}

.footer {
	background-color: #111;
	color: white;
	padding: 2rem 1rem;
}

.footer__logo img {
	max-width: 100px;
}

.footer__nav {
	display: flex;
	gap: 1.5rem;
	flex-wrap: nowrap;
	margin: 1rem 0;
}

.footer__sns-list,
.footer__legal-list {
	list-style: none;
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	padding: 0;
	margin: 0;
	width: 50%;
}

.footer__sns-link,
.footer__legal-link {
	color: #438DE7;
	text-decoration: none;
}

.footer__copyright {
	margin-top: 3rem;
	color: #438DE7;
}

/*============================================
  Responsive Design
============================================*/
@media (min-width: 768px) {
	.footer__sns-list {
		font-size: 2rem;
	}
}

@media (min-width: 992px) {
	.header {
		flex-wrap: nowrap;
		padding: 1rem 4rem;
	}

	.header__logo img {
		max-width: 400px;
	}

	.header__nav {
		position: static;
		transform: none;
		width: auto;
		height: auto;
		background: none;
		padding: 0;
		flex-direction: row;
		align-items: center;
	}

	.header__nav-list {
		flex-direction: row;
		gap: 1.5rem;
	}

	.header__nav-toggle {
		display: none;
	}

	.header__lang {
		margin-right: 2rem;
	}

	.footer {
		padding: 4rem;
	}

	.section-title {
		font-size: 3rem;
	}

	.section__description {
		font-size: 1.6rem;
	}

	.iframe-wrapper {
		position: relative;
		width: 100%;
		max-width: 646px;
		height: 220px;
	}

	.iframe-wrapper iframe {
		position: absolute;
		width: 100%;
		height: 100%;
		border: 0;
	}

	@media (max-width: 600px) {
		.iframe-wrapper {
			width: 100%;
			height: 220px;
		}
	}

	.section-title {
		margin-top: 1rem;
		margin-bottom: 0.5rem;
	}

	.section {
		padding: 0;
	}
}