@charset "utf-8";




/*
--------------------------------
	foundation
--------------------------------
*/


:root {
	--color-1: #dbe4de;
	--color-2: #fcddb4;
	--color-3: #bbd0de;
	--bg-color-1: #eef4f0;
	--bg-color-2: #fdeacf;
	--bg-color-3: #d4e2eb;
}

html {
	scroll-behavior: smooth;
}

body {
	background-color: #fff;
	color: #34302c;
}

a:link,
a:visited,
a:hover,
a:active {
	color: #34302c;
	text-decoration: none;
}




/*
--------------------------------
	header
--------------------------------
*/


header {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100vh;
	padding: 5vw 10vw;
	background-image: url(../img/main.jpg);
	background-size: cover;
	background-position: center;
}

header h1 {
	width: 86%;
}

header img {
	width: 100%;
}

header ul {
	display: flex;
	flex-wrap: wrap;
	gap: 2vw;
	justify-content: center;
	margin-top: 10vh;
}

header a {
	display: inline-block;
	position: relative;
	padding: .7em 2.6em .7em 2.2em;
	border-radius: 100px;
	background-color: #fff;
	font-size: 2rem;
	font-weight: 600;
	line-height: 1.3;
	transform: scale(1);
	transition: transform .2s ease-out;
	will-change: transform;
}

header a:hover {
	transform: scale(1.06);
}

header a br {
	display: none;
}

header a span {
	position: absolute;
	left: .2em;
	top: 50%;
	font-family: "Josefin Sans", sans-serif;
	font-size: 4.4rem;
	font-weight: 700;
	font-style: italic;
	transform: translateY(-42%);
}

header a::before {
	content: "";
	display: block;
	position: absolute;
	right: .2em;
	top: calc(50% - 1em);
	width: 2em;
	height: 2em;
	border-radius: 50%;
}

header a::after {
	content: "";
	display: block;
	position: absolute;
	right: .7em;
	top: calc(50% - .4em);
	width: 1em;
	height: 1em;
	background-image: url(../img/arrow_bottom.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

header li:nth-child(3n+1) a span { color: var(--color-1); }
header li:nth-child(3n+1) a::before { background-color: var(--color-1); }
header li:nth-child(3n+2) a span { color: var(--color-2); }
header li:nth-child(3n+2) a::before { background-color: var(--color-2); }
header li:nth-child(3n+3) a span { color: var(--color-3); }
header li:nth-child(3n+3) a::before { background-color: var(--color-3); }

@media screen and (max-width: 640px) {
	
	header {
		height: 100svh;
		padding: 5vw 5vw;
	}
	
	header h1 {
		width: 100%;
	}
	
	header ul {
		gap: 3vw;
		margin-top: 4vh;
	}
	
	header a {
		padding: .6em 2.6em .6em 2.2em;
		font-size: 1.7rem;
		transition: none;
	}
	
	header a::before {
		right: .2em;
		top: calc(50% - .9em);
		width: 1.8em;
		height: 1.8em;
	}
	
	header a::after {
		right: .6em;
	}
	
	header a:hover {
		transform: none;
	}
	
	header a br {
		display: inline;
	}
	
	header a span {
		font-size: 3.4rem;
		transform: translateY(-42%);
	}
	
}




/*
--------------------------------
	lead
--------------------------------
*/


.lead {
	padding: 8vw 10vw;
}

.lead .inner {
	display: flex;
	align-items: center;
	max-width: 1080px;
	margin: 0 auto;
}

.lead .video {
	width: 50%;
}

.lead .video video {
	width: 100%;
	aspect-ratio: 16 / 9;
}

.lead .txt {
	width: 50%;
	padding-left: 6%;
	font-size: 2rem;
	font-weight: 600;
	line-height: 2;
}

.lead .txt p + p {
	margin-top: 1em;
}

@media screen and (max-width: 1080px) {
	
	.lead .inner {
		display: block;
	}
	
	.lead .video {
		width: auto;
		max-width: 640px;
		margin: 0 auto 4vw;
	}
	
	.lead .txt {
		width: auto;
		padding-left: 0;
	}
	
}

@media screen and (max-width: 640px) {
	
	.lead {
		padding: 12vw 5vw;
	}
	
	.lead .video {
		width: auto;
		margin: 0 0 6vw;
	}
	
	.lead .txt {
		max-width: none;
		margin: 0;
		font-size: 1.7rem;
		line-height: 1.8;
		text-align: left;
	}
	
}




/*
--------------------------------
	articles
--------------------------------
*/

section {
	position: relative;
	padding: 8vw 10vw 6vw;
}

section:nth-child(3n+1) { background-color: var(--bg-color-1); }
section:nth-child(3n+2) { background-color: var(--bg-color-2); }
section:nth-child(3n+3) { background-color: var(--bg-color-3); }

section .num {
	position: absolute;
	left: 0;
	top: 0;
	z-index: 1;
	width: 100%;
	padding: 2vw 4vw;
	font-family: "Josefin Sans", sans-serif;
	font-size: 36rem;
	font-weight: 700;
	font-style: italic;
	text-align: right;
	pointer-events: none;
}

section:nth-child(2n) .num { text-align: left; }
section:nth-child(3n+1) .num { color: var(--color-1); }
section:nth-child(3n+2) .num { color: var(--color-2); }
section:nth-child(3n+3) .num { color: var(--color-3); }

section .inner {
	display: flex;
	position: relative;
	z-index: 2;
	max-width: 1080px;
	margin: 0 auto;
}

section .img {
	position: relative;
	z-index: 1;
	width: 40%;
}

section .txt {
	position: relative;
	z-index: 2;
	width: 60%;
}

section.img-h .img {
	width: 55%;
}

section.img-h .txt {
	width: 45%;
}

section h2 {
	margin-left: -6%;
	padding-top: 3%;
	font-size: 3rem;
	font-weight: 700;
}

section h2 span {
	display: inline-block;
	margin-top: .3em;
	padding: .4em 1.4em .4em .8em;
	background-color: #fff;
}

section p {
	margin: 7% 0 0 10%;
	font-size: 1.8rem;
	line-height: 2;
}

section .button {
	margin-top: 7%;
	text-align: right;
}

section .button a,
section .button button {
	display: inline-block;
	position: relative;
	padding: 1em 3.4em 1em 1em;
	border-radius: 100px;
	background-color: #fff;
	font-size: 2rem;
	font-weight: 700;
	transform: scale(1);
	transition: transform .2s ease-out;
	will-change: transform;
}

section .button a:hover,
section .button button:hover {
	transform: scale(1.06);
}

section .button a::before,
section .button button::before {
	content: "";
	display: block;
	position: absolute;
	right: .4em;
	top: calc(50% - 1.2em);
	width: 2.4em;
	height: 2.4em;
	border-radius: 50%;
}

section .button a::after,
section .button button::after {
	content: "";
	display: block;
	position: absolute;
	right: 1.1em;
	top: calc(50% - .5em);
	width: 1em;
	height: 1em;
	background-image: url(../img/arrow_right.svg);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
}

section .button button::after {
	top: calc(50% - .4em);
	background-image: url(../img/arrow_bottom.svg);
	transform: rotate(0);
	transition: top .3s, transform .3s;
}

section .accordion.open + .button button::after {
	top: calc(50% - .6em);
	transform: rotate(180deg);
}

section:nth-child(3n+1) .button a::before,
section:nth-child(3n+1) .button button::before { background-color: var(--color-1); }
section:nth-child(3n+2) .button a::before,
section:nth-child(3n+2) .button button::before { background-color: var(--color-2); }
section:nth-child(3n+3) .button a::before,
section:nth-child(3n+3) .button button::before { background-color: var(--color-3); }

section:nth-child(2n) .inner {
	flex-direction: row-reverse;
}

section:nth-child(2n) h2 {
	margin-left: 0;
	margin-right: -6%;
	text-align: right;
}

section:nth-child(2n) h2 span {
	padding: .4em .8em .4em 1.4em;
}

section:nth-child(2n) p {
	margin: 7% 10% 0 0;
}

section:nth-child(2n) .button {
	text-align: left;
}

.video .player {
	width: 100%;
	aspect-ratio: 16 / 9;
}

.video iframe {
	width: 100%;
	height: 100%;
}

@media screen and (max-width: 960px) {
	
	section .img {
		width: 50%;
	}
	
	section .txt {
		width: 50%;
	}
	
	section.img-h .img {
		width: 50%;
	}
	
	section.img-h .txt {
		width: 50%;
	}
	
	section h2 {
		font-size: 2.7vw;
	}
	
	section p {
		font-size: 1.6rem;
	}
	
}

@media screen and (max-width: 640px) {
	
	section {
		padding: 16vw 5vw;
	}
	
	section .num {
		top: auto;
		bottom: -10vw;
		padding: 0 3vw;
		font-size: 70vw;
		text-align: left;
	}
	
	section .inner {
		display: block;
		max-width: none;
		margin: 0;
	}
	
	section .img {
		width: auto;
	}
	
	section .txt {
		width: auto;
	}
	
	section.img-h .img {
		width: auto;
		text-align: center;
	}
	
	section.img-h .txt {
		width: auto;
	}
	
	section h2 {
		margin: -8% 0 0;
		padding-top: 0;
		font-size: 5.6vw;
	}
	
	section p {
		margin: 7% 0 0;
		font-size: 1.4rem;
		line-height: 1.8;
	}
	
	section:nth-child(2n) h2 {
		margin-right: 0;
		text-align: left;
	}
	
	section:nth-child(2n) h2 span {
		padding: .4em 1.6em .4em .8em;
	}
	
	section:nth-child(2n) p {
		margin: 7% 0 0;
	}
	
	section:nth-child(2n) .button {
		text-align: right;
	}
	
}




/*
--------------------------------
	footer
--------------------------------
*/


footer {
	padding: 3vw 10vw;
	font-family: "Josefin Sans", sans-serif;
	font-size: 1.4rem;
	text-align: center;
}

@media screen and (max-width: 640px) {
	
	footer {
		padding: 5vw 5vw;
		font-size: 1.1rem;
	}
	
}
