/*
フロントページ専用のスタイル
*/


/**
 * メインビジュアル
 */
#hero {
	background-color: #65bc2b;
	padding-top: 1rem;
	padding-bottom: 4rem;
	max-width: 100%;
	overflow: hidden;
}

#hero .content-edge {
	position: relative;
	z-index: 8;
}

#hero .site-name,
#hero .notes {
	color: #fff;
	font-size: var(--base-12);
	padding-right: 4rem;
	line-height: 1.5;
	margin: 0;
}

#hero .site-logo {
	width: min(57%, 16rem);
	margin-top: 2rem;
	margin-bottom: -2rem;
}

#hero .carousel {
	max-width: 960px;
	overflow: visible;
	margin: 0 auto;
}

#hero .carousel picture {
	max-height: 25rem;
	border-radius: 0.625rem;
	overflow: hidden;
	display: flex;
	align-items: center;

}

#hero .carousel .tweak {

	/* ヘッドホンを首にかけたエンジニア画像の顔の位置が高いので微調整 */
	align-items: start;
}

#hero .catchphrase {
	color: #fff;
	font-weight: 900;
	margin-bottom: 1em;
}

#hero .lead {
	margin: 0;
}

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

	#hero .catchphrase {
		font-size: min(7.5vw, 2.25rem);
		margin-top: -5em;
	}

	#hero .catchphrase span {
		display: inline-block;
		background-color: #035d54;
		margin: 0.075em 0;
		line-height: 1;
		padding: 0.175em 0.25em;
		line-break: anywhere;
	}
}

@media screen and (min-width: 769px) {

	#hero {
		padding-bottom: 5rem;
	}

	#hero .catchphrase {
		font-size: min(6vw, 3.5rem);
		margin-top: -1.75em;
		text-shadow: 3px 3px 3px rgba(48, 48, 48, 0.325);
	}
}


/**
 * 目次
 */
#toc {
	padding-bottom: 1rem;
}

#toc h2 {
	font-size: var(--base-24);
	text-align: center;
	margin: -5% auto 1.5rem;
}

#toc h2::before {
	content: "";
	width: 40%;
	background-image: url(../images/eng_index.png);
	background-size: contain;
	background-repeat: no-repeat;
	display: block;
	margin: 0 auto 1rem;
	aspect-ratio: calc(310 / 80);
}

#toc .drawer-button {
	position: relative;
	width: 1.5rem;
	height: 1.5rem;
	margin-top: -3rem;
	margin-left: auto;
	cursor: pointer;
}

#toc .drawer-button::before,
#toc .drawer-button::after {
	content: "";
	position: absolute;
	top: calc(50% - 1px);
	right: 0;
	background: #65bc2b;
	width: 100%;
	height: 3px;
	transition: all 0.4s ease-in-out;
}

#toc .drawer-button::after {
	transform: rotate(-90deg);
	opacity: 1;
}

#toc .drawer-button.minus::after {
	transform: rotate(0);
	opacity: 0;
}

#toc .drawer {
	display: grid;
	transition: grid-template-rows 0.5s ease-in-out;
	grid-template-rows: 0fr;
}

#toc .drawer.show {
	grid-template-rows: 1fr;
}

#toc .drawer ul {
	padding: 0 1.5rem;
	overflow-y: hidden;
}

#toc .drawer li {
	border: solid 1px #333;
	padding: 0.375rem;
	margin: 1.25rem auto;
}

#toc .drawer a {
	font-weight: 900;
	line-height: 1.3;
	display: block;
	background-color: #f2f2f2;
	padding: 1rem;
}

#toc .drawer a::after {
	width: 1.5rem;
	height: 1.5rem;
	top: auto;
	right: 0.375rem;
	bottom: 0%;
	transform: translateY(calc(50% + 0.375rem)) rotate(90deg);
}

#toc .drawer .color {
	color: #5fb128;
	font-size: 1.25em; /* 親の相対emで指定*/
}

#toc .drawer .large {
	font-size: 1.375em; /* 親の相対emで指定*/
}

@media screen and (min-width: 769px) {

	#toc {
		padding-bottom: 2rem;
	}

	#toc h2 {
		font-size: 1.75rem;
		margin-top: -2.25rem;
	}

	#toc h2::before {
		width: 18rem;
	}

	#toc .drawer ul {
		display: flex;
		flex-wrap: wrap;
	}

	#toc .drawer li {
		width: 45%;
	}

	#toc .drawer a {
		display: flex;
		flex-wrap: wrap;
		align-items: center;
		height: 100%;
		box-sizing: border-box;
	}
}


/**
 * ITエンジニアの仕事って？
 */
#what-engineer {
	background-image: url(../images/bg_01.jpg);
	background-repeat: no-repeat;
	background-size: cover;
	padding: 4rem 0;
}

#what-engineer h2 {
	font-size: min(10vw, 3.5rem);
	margin: 0 0 0.75em auto;
}

#what-engineer h2,
#what-engineer .lead {
	color: #fff;
}

#what-engineer .lead {
	margin-bottom: 3rem;
}

#what-engineer .flex-pattern-1 > div {
	background-color: #fff;
	margin-bottom: 1rem;
	position: relative;
	font-size: 1.625rem;
	padding-right: 1rem;
	padding-left: 4.5rem;
	height: 7.5rem;
	box-sizing: border-box;
	display: flex;
	align-items: center;
	font-weight: 900;
}

#what-engineer .flex-pattern-1 > div::before {
	content: "";
	background-image: url(../images/icon_q01.png);
	background-size: contain;
	background-repeat: no-repeat;
	position: absolute;
	left: 1rem;
	width: 3rem;
	height: 3rem;
}

#what-engineer .flex-pattern-1 > div::after {
	position: absolute;
	content: "";
	right: 0.625rem;
	bottom: 0.625rem;
	border-top: 1.25rem solid transparent;
	border-right: 1.25rem solid #65bc2b;
}


#what-engineer .tooltip {
	background-color: #333;
	padding: 0 1rem;
	color: #fff;
	border-radius: 0.625rem;
	position: absolute;
	width: min(calc(100% - 4rem), 28rem);
	bottom: 3rem;
	left: 50%;
	transform: translateX(-50%);
	z-index: 8;
	pointer-events: none;
	transition: all 0.4s ease-in-out;
	opacity: 0;
}

#what-engineer .tooltip::after {
	content: "";
	position: absolute;
	top: calc(100% - 1px);
	left: 50%;
	transform: translateX(-50%);
	border: 0.685rem solid transparent;
	border-top: 1rem solid #333;
}

#what-engineer .tooltip.show {
	opacity: 1;
	bottom: 6rem;
}

#what-engineer h3 {
	font-size: var(--base-20);
	margin: 1rem 0;
}

#what-engineer .tooltip p {
	font-size: var(--base-15);
	font-weight: 400;
}

@media screen and (min-width: 769px) {

	#what-engineer {
		padding: 6rem 0;
	}

	#what-engineer .flex-pattern-1 {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		margin-bottom: -1rem;
	}

	#what-engineer .flex-pattern-1 > div {
		width: calc(50% - 0.5rem);
	}

	#what-engineer .tooltip p {
		font-size: var(--base-14);
	}
}


/**
 * 未経験からエンジニアで活躍するには"SES"からのスタートが近道！
 */
#ses-debut {
	padding-top: 4rem;
	padding-bottom: 4rem;
}

#ses-debut .sub-1 {
	font-size: var(--base-22);
	display: flex;
	align-items: center;
	margin: 0 0 0.75rem 0;
}

#ses-debut .sub-1::before {
	display: inline-block;
	content: "";
	height: 1em;
	width: 0.375em;
	margin-right: 0.5em;
	background-color: #f58e3c;
}

#ses-debut h2 {
	font-size: min(5.5vw, 2rem);
	margin: 0 0 9rem 0;
}

#ses-debut h2 .color {
	font-size: 1.25em; /* 親の相対（em）で指定 */
	color: #5fb128;
}

#ses-debut .frame {
	background-color: #e6f1d5;
	padding: 3rem 1rem;
}

#ses-debut .frame > p {
	max-width: 40rem;
	margin-left: auto;
	margin-right: auto;
}

#ses-debut .flex-1 > div:first-of-type img {
	margin-top: -9rem;
	width: min(100%, 28rem);
}

#ses-debut .flex-1 h3 {
	font-size: var(--base-24);
	margin-top: 1.25em;
}

#ses-debut .flex-1 h3 .color {
	color: #5fb128;
}

#ses-debut .sub-2,
#ses-debut .frame > h3 {
	text-align: center;
}

#ses-debut .sub-2 {
	color: #faff6b;
	background-color: #65bc2b;
	border-radius: 50%;
	font-size: min(5vw, 1.625rem);
	display: flex;
	width: 4.5em;
	height: 4.5em;
	align-items: center;
	justify-content: center;
	line-height: 1.2;
	text-align: center;
	margin: 3rem auto 1.25rem;
}

#ses-debut .flex-2 h3 {
	font-size: min(7.5vw, 2rem);
	margin-top: 0;
	text-align: center;
}

#ses-debut .line {
	border-bottom: 2px solid #f58e3c;
}

#ses-debut h4 {
	font-size: min(5vw, var(--base-24));
	color: #519722; /* 元々設定されていた色（SPのみ適用） */
	color: #5fb128; /* カラースキーマ的にこちらに統一で良いと思います */
	position: relative;
	margin-top: 2em;
	margin-bottom: 1em;
	margin-left: 2.75em;
}

#ses-debut h4::before {
	content: "01";
	width: 2em;
	height: 2em;
	font-size: min(5vw * 1.33, 2rem);
	line-height: 2;
	text-align: center;
	display: block;
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	color: #fff;
	background-color: #65bc2b;
	margin-left: -2.25em;
}

#ses-debut h4:nth-of-type(2)::before {
	content: "02";
}

#ses-debut .frame-pattern-0 {
	margin-top: 5rem;
}

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

	#ses-debut .frame {
		margin-right: -1rem;
		margin-left: -1rem;
	}

	#ses-debut .flex-1 > div:first-of-type {
		text-align: right;
		padding: 0 2rem;
	}
}

@media screen and (min-width: 769px) {

	#ses-debut {
		padding-top: 6rem;
		padding-bottom: 6rem;
	}

	#ses-debut .sub-1 {
		font-size: 1.75rem;
	}

	#ses-debut h2 {
		font-size: min(5vw, 2.5rem);
		margin-bottom: 6rem;
	}

	#ses-debut .frame {
		border-radius: 0.625rem;
		padding-left: 6%;
		padding-right: 6%;
	}

	#ses-debut .flex-1 {
		display: flex;
		flex-direction: row-reverse;
		justify-content: space-between;
	}

	#ses-debut .flex-1 > div {
		width: 48.5%;
	}

	#ses-debut .flex-1 > div:first-of-type img {
		margin-top: -6rem;
	}

	#ses-debut .flex-1 h3 {
		margin-top: 1rem;
	}

	#ses-debut .flex-2 {
		display: flex;
		align-items: center;
		margin-top: 3rem;
	}

	#ses-debut .sub-2 {
		font-size: min(3vw, 1.625rem);
		margin: 0;
		width: 5.5em;
		height: 5.5em;
	}

	#ses-debut .flex-2 h3 {
		font-size: min(3.925vw, 2.25rem);
		text-align: left;
		margin: 0 0 0 0.75em;
	}

	#ses-debut h4 {
		font-size: 1.75rem;
	}

	#ses-debut h4::before {
		font-size: 2.125rem;
	}
}


/**
 * 無限スクロール共通部分（#roadmap, #about）
 */
.infinite-scroll-wrapper {
	width: 100%;
	overflow: hidden;
}

.infinite-scroll {
	display: flex;
	width: 200%;
	animation: infinite-scroll 6s infinite linear;
}

.infinite-scroll::before,
.infinite-scroll::after {
	content: "";
	background-repeat: no-repeat;
	background-size: contain;
	width: 100%;
	margin: 0 1%;
}

@keyframes infinite-scroll {

	from {
		transform: translateX(0);
	}

	to {
		transform: translateX(-50%);
	}
}

[data-scroll-img="roadmap"]::before,
[data-scroll-img="roadmap"]::after {
	aspect-ratio: 642 / 94;
	background-image: url(../images/eng_roadmap_h.png);
}

[data-scroll-img="company_name"]::before,
[data-scroll-img="company_name"]::after {
	aspect-ratio: 1290 / 170;
	background-image: url(../images/eng_company.png);
}


/**
 * 入社後の成長ロードマップ
 */
#roadmap {
	background-color: #6eb72f; /* もともと設定されていた色 */
	background-color: #65bc2b; /* カラースキーマ的にこちらに統一で良いと思います */
}

#roadmap .sub-1,
#roadmap .sub-2 {
	font-size: min(4vw, 1.75rem);
}

#roadmap .sub-1 {
	color: #ffe901;  /* カラースキーマ的には`#faff6b`をお勧めします */
	margin-bottom: 0.25em;
}

#roadmap h2 {
	color: #fff;
	font-size: min(8vw, 3.5rem);
	margin: 0 0 1.5em 0;
}

#roadmap .frame {
	background-color: #fff;
	border-radius: 0.625rem;
	padding: 2rem 1rem;
	margin: 0 auto 6rem auto;
	position: relative;
}

#roadmap .frame:not(:nth-of-type(4))::after {
	content: "";
	position: absolute;
	top: 100%;
	left: 50%;
	transform: translate(-50%, 0);
	border: 3rem solid transparent;
	border-top: 1.75rem solid #ffe901;
}

#roadmap .sub-2 {
	color: #5fb128;
	position: relative;
	margin-bottom: 0;
}

#roadmap .sub-2::before {
	content: "";
	position: absolute;
	background-repeat: no-repeat;
	background-size: contain;
}

#roadmap [data-icon="1"]::before {
	background-image: url(../images/icon_01.png);
}

#roadmap [data-icon="2"]::before {
	background-image: url(../images/icon_02.png);
}

#roadmap [data-icon="3"]::before {
	background-image: url(../images/icon_03.png);
}

#roadmap [data-icon="4"]::before {
	background-image: url(../images/icon_04.png);
}

#roadmap .frame h3 {
	font-size: 1.625rem;
}

#roadmap .flex-1 {
	margin-bottom: 1.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 2px solid #65bc2b;
}

#roadmap .grid {
	background-color: #fdfee8;
	padding: 1rem;
	border-radius: 0.625rem;
	display: grid;
	grid-template-rows: auto auto;
	grid-template-columns: 1fr auto;
}

#roadmap .grid h4 {
	color: #f57d1f;
	font-size: var(--base-20);
	grid-row: 1 / 2;
	grid-column: 1 / 2;
	margin: 0;
	display: flex;
	align-items: center;
}

#roadmap .grid p {
	grid-row: 2 / 3;
	grid-column: 1 / 3;
	margin-bottom: 0;
}

#roadmap .grid img {
	grid-row: 1 / 2;
	grid-column: 2 / 3;
	width: 4.5rem;
	margin: 0 0 0 auto;
}

#roadmap .frame-pattern-0 {
	margin-top: 7rem;
	margin-bottom: 1.5rem;
}

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

	#roadmap .sub-2 {
		margin-top: 1rem;
		display: flex;
		justify-content: center;
	}

	#roadmap .sub-2,
	#roadmap .frame h3 {
		text-align: center;
	}

	#roadmap .frame {
		max-width: 32rem;
	}

	#roadmap .flex-2 > div:first-of-type {
		text-align: center;
		margin-bottom: 1rem;
	}

	#roadmap .frame h3 {
		margin: 0.625em 0 0 0;
	}

	#roadmap .sub-2::before {
		width: 4.5rem;
		height: 4.5rem;
		top: -5.25rem;
	}
}

@media screen and (min-width: 769px) {

	#roadmap {
		padding-top: 3rem;
		padding-bottom: 5rem;
		position: relative;
	}

	#roadmap::before,
	#roadmap::after {
		position: absolute;
		content: "";
		background-image: url(../images/eng_roadmap_v.png);
		background-repeat: no-repeat;
		background-size: contain;
		width: 150px;
		height: 1060px;
	}

	#roadmap::before {
		top: 0;
		right: 0;
	}

	#roadmap::after {
		bottom: 0;
		left: 0;
	}

	#roadmap .content-edge {
		position: relative;
		z-index: 8;
	}

	#roadmap .sub-1 {
		font-size: 2rem;
	}

	#roadmap h2 {
		font-size: min(7vw, 4rem);
	}

	#roadmap .frame {
		margin-bottom: 3rem;
		padding: 2em 3em;
	}

	#roadmap .sub-2 {
		font-size: 1.75rem;
		margin: 0 0.75em 0 2em;
	}

	#roadmap .frame h3 {
		margin: 0;
	}

	#roadmap .sub-2::before {
		left: -2em;
		top: 50%;
		transform: translateY(-50%);
		width: 1.75em;
		height: 1.75em;
	}

	#roadmap .flex-1 {
		display: flex;
		align-items: center;
	}

	#roadmap .flex-2 {
		display: flex;
	}

	#roadmap .flex-2 > div:first-of-type {
		min-width: 13rem;
		display: flex;
		align-items: center;
	}

	#roadmap .grid {
		max-width: 26rem;
		padding: 2rem;
	}

	#roadmap .grid h4 {
		grid-row: 1 / 2;
		grid-column: 1 / 3;
		margin-bottom: 1rem;
	}

	#roadmap .grid p {
		grid-row: 2 / 3;
		grid-column: 1 / 2;
		margin: 0 1rem 0 0;
	}

	#roadmap .grid img {
		grid-row: 2 / 3;
		grid-column: 2 / 3;
		width: 5.5rem;
		margin-top: 25%;
	}
}


/**
 * 異業種からの転職体験インタビュー！
 */
#interview {
	overflow: hidden;
	padding-top: 5rem;
	padding-bottom: 6rem;
}

#interview h2 {
	font-size: min(7vw, 3.725rem);
	margin: 0 0 0.25em 0;
}

#interview h2 .color {
	color: #5fb128;
}

#interview h2 .small {
	font-size: 0.8125em; /* 親の相対（em）で指定 */
}

#interview .sub {
	font-size: min(5vw, 1.75rem);
	color: #fff;
	background-color: #65bc2b;
	padding: 0.25em 2.5em 0.525em 0.75em;
	margin: 0 0 3rem 0;
}

#interview .sub::after {
	right: 0.5em;
}

#interview .carousel {
	position: relative;
}

#interview .sub span {
	font-size: 1.5em; /* 親の相対（em）で指定 */
	color: #faff6b;
}

#interview .swiper-wrapper {
	padding: 0;
}

#interview .swiper-slide a {
	position: relative;
}

#interview .swiper-slide img {
	width: 100%;
	aspect-ratio: 4/3;
	object-fit: cover;
	border-radius: 0.625rem;
}

#interview .swiper-slide span {
	font-weight: 900;
	font-size: var(--base-15);
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	bottom: -1em;
	width: 10em;
	background-color: #333;
	color: #fff;
	padding: 0.75em 1em;
}

#interview .swiper-slide span::after {
	right: 0.625em;
}

#interview .swiper-button-prev,
#interview .swiper-button-next {
	background-color: rgba(0, 0, 0, 0.25);
	width: 2.25rem;
	height: 3rem;
	border-radius: 0 2rem 2rem 0;
	color: #fff;
}

#interview .swiper-button-prev {
	left: 0;
	border-radius: 0 2rem 2rem 0;
	padding-right: 0.5em;
}

#interview .swiper-button-next {
	right: 0;
	border-radius: 2rem 0 0 2rem;
	padding-left: 0.5em;
}

#interview .swiper-button-prev::after,
#interview .swiper-button-next::after {
	font-size: var(--base-20);
}

@media screen and (min-width: 769px) {

	#interview .sub {
		padding-top: 0.5em;
		padding-bottom: 0.75em;
		display: inline-block;
	}
}


/**
 * 監修（からの働く環境）
 */
#about-company {
	background-color: #65bc2b;
}

#about-company .content-edge {
	margin: 2rem auto;
}

#about-company .flex-1 {
	border-bottom: solid 2px #fff;
	padding-bottom: 1rem;
	margin-bottom: 1.5rem;
}

#about-company h2,
#about-company h3,
#about-company .sub-1,
#about-company .sub-2,
#about-company .content-edge > p {
	color: #fff;
}

#about-company h2 {
	font-size: 2.5rem;
	display: flex;
	align-items: center;
}

#about-company h3 {
	font-size: var(--base-20);
}

#about-company h2::before {
	display: inline-block;
	content: "";
	height: 1em;
	width: 0.2em;
	margin-right: 0.375em;
	background-color: #f58e3c;
}

#about-company .sub-1 {
	display: inline-block;
	line-height: 1.4;
	margin: 0;
}

#about-company .sub-1 .large {
	font-size: 1.75em;
}

#about-company .sub-1 .large::after {
	width: 1em;
	height: 1em;
}

#about-company .sub-2 {
	font-size: var(--base-18);
	text-align: center;
	padding: 0.5em 0;
	background-color: #f58e3c;
}

#about-company .sub-2 span {
	font-size: var(--base-24);
}

#about-company .flex-2 {
	margin-top: 3rem;
	margin-bottom: 4rem;
}

#about-company .flex-2 > div {
	background-color: #fff;
	border-radius: 0.625rem;
	padding: 1.5rem;
	margin-top: 3.25rem;
	margin-bottom: 4.5rem;
}

#about-company .flex-2 [data-icon] {
	font-size: 1.75rem;
	position: relative;
	display: flex;
	justify-content: center;
}

#about-company .flex-2 .body {
	margin-bottom: 0;
}

#about-company .flex-2 [data-icon]::before {
	content: "";
	background-repeat: no-repeat;
	background-size: contain;
	width: 6.25rem;
	height: 6.25rem;
	top: -7rem;
	position: absolute;
}

#about-company .flex-2 [data-icon="5"]::before {
	background-image: url(../images/icon_05.png);
}

#about-company .flex-2 [data-icon="6"]::before {
	background-image: url(../images/icon_06.png);
}

#about-company .flex-2 [data-icon="7"]::before {
	background-image: url(../images/icon_07.png);
}

#about-company .flex-2 [data-icon="8"]::before {
	background-image: url(../images/icon_08.png);
}

#about-company .flex-2 [data-icon="9"]::before {
	background-image: url(../images/icon_09.png);
}

#about-company .flex-2 [data-icon="10"]::before {
	background-image: url(../images/icon_10.png);
}

#about-company h4 {
	margin-bottom: 0.5em;
}

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

	#about-company h2 {
		margin: 0 0 1.25rem 0;
	}

	#about-company .flex-2 {
		margin-top: 5rem;
	}

	#about-company .flex-2 > div {
		margin-left: auto;
		margin-right: auto;
		max-width: 32rem;
	}
}

@media screen and (min-width: 769px) {

	#about-company .flex-1 {
		display: flex;
		align-items: center;
		border-width: 4px;
		margin-top: 4rem;
		margin-bottom: 3rem;
		padding-bottom: 2rem;
	}

	#about-company h2 {
		font-size: 3.75rem;
		margin: 0 0.75em 0 0;
	}

	#about-company h3 {
		font-size: 2rem;
	}

	#about-company .sub-1 {
		font-size: var(--base-20);
	}

	#about-company .flex-2 {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}

	#about-company .flex-2 .body {
		font-size: var(--base-16);
	}

	#about-company .flex-2 > div {
		box-sizing: border-box;
		width: calc(50% - 0.5rem);
		margin-bottom: 1.5rem;
	}
}

@media screen and (min-width: 913px) {

	#about-company .flex-2 > div {
		width: calc(33% - 0.5rem);
	}
}


/**
 * "SES"ってどんな働き方？
 */
#how-to-work {
	background-color: #e6f1d5;
	padding-top: 4rem;
	padding-bottom: 4rem;
}

#how-to-work h2 {
	margin: 0;
}

#how-to-work h2 a {
	color: #fff;
	font-size: 1.75rem;
	background-color: #65bc2b;
	padding: 0.5em 0.75em;
	margin: 0 0 1.5rem 0;
}

#how-to-work h2 a::after {
	right: 0.75em;
}

#how-to-work h2 span {
	font-size: 1.5em; /* 親の相対（em）で指定 */
	color: #ffe901; /* カラースキーマ的には`#faff6b`をお勧めします */
}

#how-to-work ul {
	margin-top: 3rem;
	padding: 0;
}

#how-to-work ul .wrapper {
	display: grid;
	grid-template-rows: 1fr;
	transition: all 0.5s ease-in-out;
}

#how-to-work li {
	overflow: hidden;
}

#how-to-work li a {
	background-color: #fff;
	border: 2px solid #333;
	box-shadow: 0.425rem 0.425rem 0 0 #035d54;
	margin: 0 auto 1.75rem;
	padding: 0.825rem 2.25rem 0.825rem 3.625em; /* アイコン分はem 他はremで指定 */
	font-size: min(4.75vw, 1.375rem);
	font-weight: 900;
	line-height: 1.4;
	position: relative;
	box-sizing: border-box;
	max-width: 28rem;
}

#how-to-work li a::before {
	position: absolute;
	content: "";
	width: 2.25em;
	height: 2.25em;
	left: 1rem;
	background-image: url(../images/icon_q02.png);
	background-repeat: no-repeat;
	background-size: contain;
	top: 50%;
	transform: translateY(-50%);
}

#how-to-work li span {
	color: #5fb128;
}

#how-to-work li a::after {
	right: 1rem;
}

#how-to-work ul.limit .wrapper:nth-of-type(n+7) {
	grid-template-rows: 0fr;
}

#how-to-work .show-more {
	color: #fff;
	font-size: var(--base-18);
	font-weight: 900;
	background-color: #035d54;
	border-radius: 0.25rem;
	padding: 1.25em;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 15rem;
	margin: 0 auto;
	position: relative;
	cursor: pointer;
}

#how-to-work .show-more::before,
#how-to-work .show-more::after {
	content: "";
	position: absolute;
	right: 1em;
	background: #fff;
	width: 0.815em;
	height: 2px;
	transition: all 0.4s ease-in-out;
}

#how-to-work .show-more::after {
	opacity: 0;
}

#how-to-work .show-more.plus::after {
	transform: rotate(-90deg);
	opacity: 1;
}

#how-to-work .show-more.minus span:nth-of-type(1),
#how-to-work .show-more.plus span:nth-of-type(2) {
	display: none;
}

@media screen and (min-width: 769px) {

	#how-to-work h2 a {
		display: inline-block;
		font-size: 2rem;
		padding-right: 2.5em;
	}

	#how-to-work li a {
		font-size: 1.875rem;
		max-width: 35rem;
		padding-top: 1.75rem;
		padding-bottom: 1.75rem;
		margin-bottom: 2.5rem;
		box-shadow: 0.815rem 0.815rem 0 0 #035d54;
	}

	#how-to-work li a::before {
		left: 1.5rem;
	}

	#how-to-work li a::after {
		right: 1.5rem;
	}

	#how-to-work ul .wrapper:nth-of-type(odd) a {
		margin-left: 3rem;
	}

	#how-to-work ul .wrapper:nth-of-type(even) a {
		margin-right: 3rem;
	}
}


/**
 * ITエンジニアの世界！
 */
#it-engineer {
	background-color: #fbfbfb;
	padding-top: 4rem;
	padding-bottom: 5rem;
}

#it-engineer .sub {
	font-size: min(4.75vw, 1.75rem);
	color: #035d54;
	margin: 0;
}

#it-engineer h2 {
	font-size: min(9vw, 3.5rem);
	color: #5fb128;
	margin: 0 0 0.75em 0;
	display: inline-block;
}

#it-engineer h2 a::after {
	width: 1em;
	height: 1em;
}

#it-engineer .card {
	background-color: #fff;
	padding: 1rem 1rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 0.75rem 4rem 0 rgba(0, 0, 0, 0.1);
}

#it-engineer .card p {
	margin-bottom: 0;
}

#it-engineer h3 {
	background-color: #035d54;
	padding: 1rem;
	color: #fff;
	font-size: min(5vw, var(--base-20));
	margin: 0 0 1em -2rem;
}

#it-engineer h3 span {
	color: #ffe901;
}

#it-engineer [data-img="illust_05"] {
	background-image: url(../images/illust_05.png);
	background-repeat: no-repeat;
	background-size: contain;
	background-position: center;
	aspect-ratio: 465 / 350;
	width: 75%;
	margin: 0 auto;
}

@media screen and (min-width: 400px) {

	#it-engineer .card {
		margin-left: 1rem;
		margin-right: 1rem;
	}
}

@media screen and (min-width: 769px) {

	#it-engineer h3 {
		font-size: min(2.375vw, var(--base-20));
	}

	#it-engineer .flex {
		display: flex;
		flex-wrap: wrap;
	}

	#it-engineer .flex > div {
		width: calc(50% - 4rem);
	}
}


/**
 * 未経験入社後のキャリアパス
 */
#career-path {
	background-color: #f2f2f2;
	padding-top: 4rem;
	padding-bottom: 4rem;
}

#career-path .sub {
	font-size: min(4.75vw, var(--base-24));
	color: #035d54;
	margin: 0 0 0.5em 0;
}

#career-path h2 {
	margin: 0;
}

#career-path h2 a {
	font-size: min(8vw, 2.5rem);
	color: #fff;
	background-color: #5fb128;
	margin: 0 0 0.75em 0;
	padding: 0.25em 0.5em;
}

#career-path h2 a::after {
	width: 1em;
	height: 1em;
	right: 0.5em;
}

#career-path h2 span {
	color: #ffe901;
}

#career-path .card {
	background-color: #fff;
	padding: 1rem 1rem;
	margin-bottom: 1.5rem;
	box-shadow: 0 0.75rem 4rem 0 rgba(0, 0, 0, 0.1);
	box-sizing: border-box;
}

#career-path h3 {
	color: #035d54;
	font-size: min(5vw, var(--base-20));
}

@media screen and (min-width: 769px) {

	#career-path .sub {
		font-size: 1.75rem;
	}

	#career-path h2 a {
		display: inline-block;
		font-size: min(6vw, 3.25rem);
		padding-right: 1.75em;
	}

	#career-path h3 {
		font-size: min(2.375vw, var(--base-20));
	}

	#career-path .flex {
		display: flex;
		flex-wrap: wrap;
		margin-right: -0.5rem;
		margin-left: -0.5rem;
	}

	#career-path .card {
		width: calc(50% - 1rem);
		margin-right: 0.5rem;
		margin-left: 0.5rem;
	}
}

@media screen and (min-width: 913px) {

	#career-path .card {
		width: calc(33.33% - 1rem);
	}
}


/**
 * 運営会社・メディアについてセクション
 */
#about-media {
	padding-top: 5rem;
	padding-bottom: 4rem;
}

#about-media h2 {
	font-size: min(7vw, 2.5rem);
	color: #035d54;
	position: relative;
	padding-left: 0.5em;
	display: inline-block;
	margin: 0 0 0.25em 0;
}

#about-media h2::before {
	position: absolute;
	content: "";
	height: 1em;
	width: 0.2em;
	margin-left: -0.5em;
	margin-right: 0.375em;
	background-color: #035d54;
	top: 0.25em;
}

#about-media h2 a {
	color: #5fb128;
	display: inline-block;
}

#about-media h2 a::after {
	width: 1em;
	height: 1em;
}

#about-media h3 {
	color: #f57d1f;
}

@media screen and (min-width: 769px) {

	#about-media h2 a {
		margin-left: 0.5em;
	}
}
