@charset "utf-8";

.ways-hero {
	margin-bottom: calc(50rem / var(--root-font-size));
}

.ways-hero img {
	width: 100%;
}

/* intro */
.intro {
	display: flex;
	flex-direction: column;
	align-items: center;
}

.intro h1 {
	width: calc(100rem / var(--root-font-size));
	height: calc(100rem / var(--root-font-size));
	background-color: #5bc2ab;
	font-family: var(--din);
	font-size: calc(18rem / var(--root-font-size));
	font-weight: var(--demi);
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	margin-bottom: calc(150rem / var(--root-font-size));
}

.intro h1 .interview-number {
	font-size: calc(30rem / var(--root-font-size));
}

.intro > img {
	width: calc(745rem / var(--root-font-size));
}

.cross {
	position: relative;
	width: calc(160rem / var(--root-font-size));
	margin: 0 1.4em;
}

.cross::before,
.cross::after {
	content: '';
	position: absolute;
	width: 100%;
	height: calc(1rem / var(--root-font-size));
	background: black;
}

.cross::before {
	transform: rotate(45deg);
}

.cross::after {
	transform: rotate(-45deg);
}

.intro article div {
	font-family: var(--noto);
	font-weight: var(--regular);
	text-align: center;
}

.intro .image-wrapper {
	display: flex;
	justify-content: space-between;
	width: calc(750rem / var(--root-font-size));
}

.intro .image-wrapper img {
	width: calc(350rem / var(--root-font-size));
	height: calc(350rem / var(--root-font-size));
	object-fit: cover;
	border-radius: 50%;
}

.intro .image-wrapper .interviewer {
	background-color: #d9ecf3;
	object-position: 65% calc(40rem / var(--root-font-size));
}

.intro .people {
	display: flex;
	align-items: center;
	margin-top: calc(50rem / var(--root-font-size));
}

.intro article {
	width: calc(200rem / var(--root-font-size));
}

.intro article div.meta {
	min-height: calc(31rem / var(--root-font-size));
}

.intro article div.department,
.intro article div.meta,
.intro article div.name span {
	font-size: calc(14rem / var(--root-font-size));
	padding: 0.4em;
}

.intro article div.name {
	font-size: calc(22rem / var(--root-font-size));
	padding: 0.7em;
}

/* interview */
.interview {
	padding-top: calc(130rem / var(--root-font-size));
	margin-bottom: calc(100rem / var(--root-font-size));
	text-align: center;
}

.interview h2 {
	font-family: var(--noto);
	font-weight: var(--bold);
	font-size: calc(35rem / var(--root-font-size));
}

.interview h2::after {
	content: '';
	display: block;
	height: calc(5rem / var(--root-font-size));
	width: calc(55rem / var(--root-font-size));
	background: linear-gradient(to right, #63a085, #20aad8);
	margin: calc(30rem / var(--root-font-size)) auto;
}

.talks {
	margin-top: calc(120rem / var(--root-font-size));
}

.talk-wrapper {
	display: flex;
	justify-content: center;
	align-items: flex-start;
	margin: calc(42rem / var(--root-font-size)) 0;
	padding-right: 10em;
	opacity: 0;
	transform: translateY(calc(30rem / var(--root-font-size)));
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.talk-wrapper.show {
	opacity: 1;
	transform: translateY(0);
}

.talk-wrapper.reverse {
	flex-direction: row-reverse;
	padding-right: 0;
	padding-left: 10em;
}

.icon-wrapper {
	border-radius: 50%;
	width: calc(100rem / var(--root-font-size));
	height: calc(100rem / var(--root-font-size));
	overflow: hidden;
}

.icon-wrapper img {
	width: 100%;
	height: 100%;
	transform: scale(1.3);
	transform-origin: center;
	object-fit: cover;
}

.intro .image-wrapper img,
.icon-wrapper {
	border: calc(2rem / var(--root-font-size)) solid #d6e5de;
}

.intro .image-wrapper .interviewer,
.talk-wrapper > img {
	border: calc(2rem / var(--root-font-size)) solid #d9edf4;
}

.talk-wrapper > img {
	border-radius: 50%;
	width: calc(100rem / var(--root-font-size));
	height: calc(100rem / var(--root-font-size));
	object-fit: cover;
}

.talk-wrapper:not(:has(img)) {
	padding-left: calc(100rem / var(--root-font-size));
}

.talk-wrapper.reverse:not(:has(img)) {
	padding-right: calc(100rem / var(--root-font-size));
}

.talk-wrapper p {
	position: relative;
	width: calc(490rem / var(--root-font-size));
	text-align: left;
	background-color: #d9edf4;
	border-radius: 1em;
	padding: calc(20rem / var(--root-font-size));
	margin: 0 2em;
	font-family: var(--noto);
	font-weight: var(--regular);
	font-size: calc(14rem / var(--root-font-size));
	line-height: 1.8;
}

.talk-wrapper p span {
	font-weight: var(--bold);
	display: block;
}

.talk-wrapper.reverse p {
	background-color: #d6e5de;
}

.talk-wrapper p::after {
	content: '';
	width: 0;
	height: 0;
	border-style: solid;
	border-width: calc(8.5rem / var(--root-font-size)) calc(17rem / var(--root-font-size)) calc(8.5rem / var(--root-font-size)) 0;
	border-color: transparent #d9edf4 transparent transparent;
	position: absolute;
	top: calc(22rem / var(--root-font-size));
	left: calc(-13rem / var(--root-font-size));
}

.talk-wrapper.reverse p::after {
	border-width: calc(8.5rem / var(--root-font-size)) 0 calc(8.5rem / var(--root-font-size)) calc(17rem / var(--root-font-size));
	border-color: transparent transparent transparent #d6e5de;
	left: auto;
	right: calc(-13rem / var(--root-font-size));
}

.interview > img {
	width: calc(640rem / var(--root-font-size));
}

/* after-talk */
.after-talk {
	padding: calc(100rem / var(--root-font-size)) 0;
	width: 100%;
	background-color: #c5e5e3;
	margin: 0 auto;
}

.after-talk-wrapper {
	width: calc(1000rem / var(--root-font-size));
	margin: auto;
}

.after-talk h3 {
	font-family: var(--din);
	font-size: calc(28rem / var(--root-font-size));
	color: #22aadb;
	padding-bottom: calc(100rem / var(--root-font-size));
}

.after-talk h3 span {
	color: #2c673f;
}

.after-talk article {
	width: calc(640rem / var(--root-font-size));
	display: flex;
	margin: 0 auto;
}

.after-talk article:first-of-type {
	padding-bottom: 2em;
	border-bottom: calc(1rem / var(--root-font-size)) solid black;
}

.after-talk article:last-of-type {
	padding-top: 2em;
}

.after-talk article img {
	border-radius: 50%;
	width: calc(170rem / var(--root-font-size));
	height: calc(170rem / var(--root-font-size));
	object-fit: cover;
}

.after-talk .person-info {
	margin-left: 3em;
}

.after-talk .department,
.after-talk .name,
.after-talk .person-info p {
	font-family: var(--noto);
	font-weight: var(--regular);
}

.after-talk .department,
.after-talk .name span,
.after-talk .person-info p {
	font-size: calc(14rem / var(--root-font-size));
}

.after-talk .name {
	font-size: calc(22rem / var(--root-font-size));
}

.after-talk .person-info p {
	line-height: 2;
}

/* next-ways */
.kabai-ways {
	width: calc(1000rem / var(--root-font-size));
	display: block;
}


.kabai-ways article {
	margin: 0;
}

.swiper {
	width: calc(760rem / var(--root-font-size));
	height: 38em;
}

.swiper-pagination-bullet-active {
	background: black;
}

/* SP */
@media screen and (width <= 991px) {
	/* intro */
	.intro {
		position: relative;
	}

	.intro h1 {
		position: absolute;
		width: calc(150rem / var(--root-font-size));
		height: calc(150rem / var(--root-font-size));
		top: calc(-180rem / var(--root-font-size));
		font-size: calc(26rem / var(--root-font-size));
	}

	.intro h1 .interview-number {
		font-size: calc(46rem / var(--root-font-size));
	}

	.intro > img {
		margin-top: 3em;
		width: 100%;
	}

	.intro .image-wrapper {
		width: calc(650rem / var(--root-font-size));
	}

	.intro .image-wrapper img {
		width: calc(250rem / var(--root-font-size));
		height: calc(250rem / var(--root-font-size));
	}

	.intro .people {
		margin-top: calc(80rem / var(--root-font-size));
	}

	.intro article div.department,
	.intro article div.meta,
	.intro article div.name span {
		font-size: calc(22rem / var(--root-font-size));
		padding: 0;
	}

	.intro article div.name {
		font-size: calc(34rem / var(--root-font-size));
		padding: 0;
	}

	.intro article div.name > span {
		font-size: calc(22rem / var(--root-font-size));
	}

	.cross {
		width: calc(180rem / var(--root-font-size));
		margin: 0;
	}

	.cross::before,
	.cross::after {
		height: calc(2rem / var(--root-font-size));
	}

	/* interview */
	.interview {
		padding-top: calc(200rem / var(--root-font-size));
	}

	.interview h2 {
		font-size: calc(42rem / var(--root-font-size));
	}

	.interview h2::after {
		height: calc(6rem / var(--root-font-size));
		width: calc(90rem / var(--root-font-size));
	}

	.talk-wrapper {
		padding: 0 0 0 1.5em;
	}

	.talk-wrapper.reverse {
		padding-left: 0;
	}

	.talk-wrapper p {
		font-size: calc(24rem / var(--root-font-size));
	}

	.interview > img {
		margin-top: calc(100rem / var(--root-font-size));
		width: calc(550rem / var(--root-font-size));
	}

	/* after-talk */
	.after-talk-wrapper {
		width: auto;
	}

	.after-talk h3 {
		text-align: center;
		font-size: calc(60rem / var(--root-font-size));
	}

	.after-talk article {
		width: calc(600rem / var(--root-font-size));
		flex-direction: column;
		align-items: center;
	}

	.after-talk article img {
		width: calc(200rem / var(--root-font-size));
		height: calc(200rem / var(--root-font-size));
		margin-bottom: calc(50rem / var(--root-font-size));
	}

	.after-talk .department,
	.after-talk .name span {
		font-size: calc(28rem / var(--root-font-size));
	}

	.after-talk .name {
		font-size: calc(50rem / var(--root-font-size));
	}

	.after-talk .person-info p {
		font-size: calc(24rem / var(--root-font-size));
	}

	.after-talk .department,
	.after-talk .name {
		text-align: center;
	}

	.after-talk .person-info {
		margin-left: 0;
	}

	.after-talk article:first-of-type {
		padding-bottom: calc(100rem / var(--root-font-size));
	}

	.after-talk article:last-of-type {
		padding-top: calc(100rem / var(--root-font-size));
	}

	/* next-ways */
	.kabai-ways {
		width: auto;
	}

	.swiper {
		width: calc(600rem / var(--root-font-size));
		height: 60em;
	}
}
