@charset "utf-8";

/*  ===============================
			ROOT
===============================*/

:root {
	--mainMaxW: 480px;

	/* js */
	--documentHeight: ;

	--commonSidePadding: 40px;
	/* --sans-serif: "Noto Sans JP", sans-serif; */
	--sans-serif: "Noto Sans JP", sans-serif;
	--en: sans-serif;

	--fzBody: 16px;
	--letterBody: 1px;
	--lh: 1.4;

	--documentTextAlign: left;
	--primaryColor: #027939;
	--secondaryColor: #ff6c00;
	--blueColor: #004bb1;
	--redColor: #f00;
	--lightGreenColor: #52bf3f;
	--lightBlueColor: #00bcbf;
	--grayColor: #cdd6dd;
	--textColor: var(--darkTextColor);
	--lightTextColor: #fff;
	--darkTextColor: #000;
	--bgColor: #000;
	--baseBgColor: #f4f4f4;

	--ftrPd: 2vh;
}

html {
	background-color: var(--baseBgColor);
}

body {
	margin: 0 auto;
	background-color: var(--bgColor);
	color: var(--textColor);
	font-family: var(--sans-serif);
	font-size: var(--fzBody);
	line-height: var(--lh);
	letter-spacing: var(--letterBody);
	text-align: var(--documentTextAlign);
	overflow-x: hidden;

	/*  */
	display: flex;
	flex-wrap: wrap;
	min-height: 100svh;
}

img {
	width: auto;
}

.required {
	padding-left: 5px;
	color: var(--redColor);
	font-size: clamp(8px, 2.5vw, 12px);
}

/*  ===============================
	animation & transition
===============================*/

/*  ===============================
			global
===============================  */
.Gcontainer {
	overflow: hidden;
}

/* header
===============================
*/

/* navigation
===============================
*/
.Gnavi_inr {
	position: fixed;
	top: 0;
	right: 0;
	transform: translateX(100%);
	width: 100%;
	height: 100vh;
	transition: all 0.5s;
	z-index: 80;
}
.Gnavi_list {
	display: flex;
	flex-flow: column wrap;
	align-items: center;
	gap: 2.4rem;
	height: 100vh;
	padding-top: 60px;
	background: rgba(2, 121, 57, 0.95);
	font-weight: 700;
	font-size: clamp(12px, 4.5vw, 22px);
}
.Gnavi_item {
	color: var(--lightTextColor);
}

/* floating
===============================
*/
.floating {
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 30px 0;
	background: #fff;
	z-index: 80;
	transition: 0.8s;
}

.floating.is-hide {
	opacity: 0;
	pointer-events: none;
}

.floating_group {
	display: flex;
	justify-content: space-around;
	max-width: 480px;
	margin: 0 auto;
}

.floating_item {
	width: 100%;
	text-align: center;
}

/* btn
===============================
*/
.btn {
	display: block;
	width: 79%;
	margin: 0 auto;
	padding: 4% 0;
	border-radius: 50px;
	color: var(--lightTextColor);
	font-weight: 700;
	font-size: clamp(10px, 4vw, 19px);
	text-align: center;
	cursor: pointer;
}

.btn_request {
	width: 88.8%;
	background-color: var(--secondaryColor);
}

.btn_submit {
	margin: 6% auto;
	background-color: var(--secondaryColor);
}

.btn_back {
	color: var(--secondaryColor);
	background: transparent;
	border: 1px solid var(--secondaryColor);
}

.btn_finish {
	margin: 50px auto;
	background: var(--secondaryColor);
	color: var(--lightTextColor);
}

/* footer
===============================
*/
.Gftr {
	padding: 30px 0 30px;
	background-color: var(--primaryColor);
	text-align: center;
}

.Gftr_copy {
	color: var(--lightTextColor);
	font-size: clamp(10px, 4vw, 19px);
}

/* Gmain
===============================
*/
.Gmain {
	width: 100%;
}

/* sec , subSec
===============================
*/

section.feature:not(.mv),
section.lesson:not(.mv),
section.grade:not(.mv),
section.achievement:not(.mv),
section.comparison:not(.mv),
section.about:not(.mv),
section.company:not(.mv),
section.contact:not(.mv) {
	opacity: 0;
	transition: 0.8s;
}

section.feature.is-show,
section.lesson.is-show,
section.grade.is-show,
section.achievement.is-show,
section.comparison.is-show,
section.about.is-show,
section.company.is-show,
section.contact.is-show {
	opacity: 1;
}

.feature,
.lesson,
.grade,
.achievement,
.comparison,
.about,
.company,
.contact {
	max-width: var(--mainMaxW);
	margin: 0 auto;
}

/*  ===============================
		  component
===============================*/

/* slider
===============================
*/
.slider_arrow--next,
.slider_arrow--prev {
	content: "";
	position: absolute;
	display: flex;
	width: 12%;
	height: 24%;
	top: clamp(10px, 18vw, 85px);
	background: url(../images/arrow.png) center / 35% no-repeat #fafafa;
	border: 2px solid #f0f3f5;
	border-radius: 10px;
	z-index: 1;
}

.slider_arrow--next {
	right: 0;
}
.slider_arrow--prev {
	left: 0;
	rotate: 180deg;
}

/* hamburger
===============================
*/
.Gnavi {
	position: fixed;
	width: 100%;
	height: 7%;
	z-index: 100;
}
.hamburger_checkbox,
.Gnavi_btn {
	position: absolute;
	top: 20%;
	right: 4%;
	width: 46px;
	height: 46px;
	cursor: pointer;
	transition: all 0.5s;
}

.hamburger_checkbox {
	opacity: 0;
	z-index: 120;
}
.Gnavi_btn {
	border-radius: 7px;
	background: var(--primaryColor);
	z-index: 110;
}
.hamburger {
	position: relative;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: 23px;
	height: 16px;
}

.hamburger span {
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 2.4px;
	background: var(--lightTextColor);
	transition: all 0.5s;
}
.hamburger span:nth-of-type(1) {
}
.hamburger span:nth-of-type(2) {
	top: 50%;
	transform: translateY(-50%);
}
.hamburger span:nth-of-type(3) {
	top: 100%;
	transform: translateY(-100%);
	width: 15px;
}

.hamburger_checkbox:checked ~ .Gnavi_btn .hamburger span:nth-of-type(1) {
	top: 50%;
	transform: translateY(-50%) rotate(135deg);
}
.hamburger_checkbox:checked ~ .Gnavi_btn .hamburger span:nth-of-type(2) {
	transform: translate(50%, -50%);
	opacity: 0;
}
.hamburger_checkbox:checked ~ .Gnavi_btn .hamburger span:nth-of-type(3) {
	top: 50%;
	transform: translateY(-50%) rotate(-135deg);
	width: 23px;
}

.hamburger_checkbox:checked ~ .Gnavi_inr {
	transform: translateX(0%);
}

/*  ===============================
		  project
===============================*/

/* hero
===============================
*/

.hero {
	overflow: hidden;
}
.hero_img {
	/*	max-width: 480px;//他画像とサイズあわせる場合は付与してください*/
}

/*hdr*/
.hero_bg {
	position: relative;
	z-index: 0;
	height: 100svh;
	width: 100vw;
}

.hero_bgImg {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.pop {
	padding: 0 10px;
	position: absolute;
	display: flex;
	flex-direction: column;
	top: 0;
	left: 0;
	right: 0;
	filter: drop-shadow(1px 1px 1px #555);
}

@media screen and (min-width: 769px) {
	.pop_item {
		display: inline-block;
		width: auto;
	}

	.pop_item--01 img {
		max-width: 50vw;
	}

	.pop_item--02 img {
		max-width: 30vw;
	}
}

/*body*/

.hero_body {
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	text-align: center;
	width: 100%;
	background: linear-gradient(180deg, rgba(2, 0, 36, 0) 0%, rgba(0, 0, 0, 0.25) 7%, rgba(0, 0, 0, 0.71) 91%);
}

.ttl {
	position: relative;
	padding: 0 10px;
}

@media screen and (min-width: 769px) {
	.ttl_item--01 {
		max-width: 50vw;
		margin-left: auto;
		margin-right: auto;
	}
}

.ttl_item--02 {
	padding-top: 15px;
}

@media screen and (min-width: 769px) {
	.btn--hero {
		display: block;
		max-width: 25vw;
	}
}
.btn--hero {
	position: absolute;
	bottom: -10px;
	left: 50%;
	transform: translateX(-50%);
}

.btn--hero a:after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: calc(100% - 12px);
	height: calc(100% - 12px);
	border-radius: 100px;
	border: 1px solid white;
}

.hero_ftr {
	padding: var(--ftrPd) 0;
}

/* feature
===============================
*/
/* lesson
===============================
*/
/* grade
===============================
*/
.grade_inr {
	padding-bottom: 30px;
}

.grade_img {
	position: relative;
}

.grade_overlay {
	position: absolute;
	top: 50%;
	left: 52.5%;
	width: 41.3%;
	transform: translateY(-50%);
}

.grade_btn {
	padding: 11% 0;
	border: 1px solid var(--lightTextColor);
	color: var(--lightTextColor);
	font-weight: 700;
	font-size: clamp(10px, 3.95vw, 18px);
	text-align: center;
}

.grade_btn span:before {
	content: "詳しく見る ▼";
}

.grade_unit .is-active .grade_btn span:before {
	content: "閉じる ▲";
}

.grade_unit .is-active {
	max-height: 1000vh;
}

.grade_text {
	padding: 4% 0;
}

/* achievement
===============================
*/
.achievement_inr {
	padding-bottom: 20px;
}

.achievement_list {
	padding: 2% 0 4%;
}

/* comparison
===============================
*/
/* about
===============================
*/
.about_body {
	padding: 0 20px;
}

.about_unit {
	margin-bottom: 3%;
}

.about_btn {
	padding: 4% 4% 4% 7%;
	background: var(--primaryColor);
	color: var(--lightTextColor);
	font-weight: 700;
}

.about_cat {
	position: relative;
	font-size: clamp(10px, 4.8vw, 23px);
}

.about_cat:after {
	content: "▼";
	position: absolute;
	top: 0;
	right: 0;
}

.about_unit .is-active .about_cat:after {
	content: "▲";
}

.about_contents {
	padding: 10% 0 2%;
}

.about_item img {
	padding: 0 11%;
}

.about_address {
	padding: 5% 11%;
	font-size: clamp(7px, 2.7vw, 13px);
	line-height: 200%;
}

/* company
===============================
*/
/* contact
===============================
*/
.contact {
	padding-bottom: 50px;
}

.sec_ttl--contact {
	padding: 50px 0;
	font-weight: 700;
	font-size: clamp(12px, 4.5vw, 22px);
	text-align: center;
}

.form_item {
	margin: 15px 0;
	padding: 0 7%;
}

.form_text {
	padding: 10px 0;
	font-size: clamp(9px, 2.7vw, 13px);
	font-weight: 500;
}

.form_btns {
	margin-top: 10%;
	text-align: center;
}

.form_error {
	margin-top: 0.5em;
	color: red;
	font-size: 0.85em;
}

/* tab switch */

.tab_wrap {
	display: flex;
	flex-wrap: wrap;
	margin: 20px 0;
}

.tab_label {
	position: relative;
	padding: 10px 0.5em 10px 0;
	outline-offset: 1px;
	color: var(--lightTextColor);
	font-weight: 700;
	font-size: clamp(10px, 4.6vw, 22px);
	white-space: nowrap;
	text-align: center;
	order: -1;
	z-index: 1;
	cursor: pointer;
	flex: 1;
	filter: grayscale(80%);
}

.tab_label--ess {
	outline: 2px solid var(--lightBlueColor);
	background: var(--lightBlueColor);
}

.tab_label--jhss {
	outline: 2px solid var(--lightGreenColor);
	background: var(--lightGreenColor);
}

.tab_label:not(:last-of-type) {
	margin-right: 7%;
}

.tab_label span:before {
	content: "▼";
	position: absolute;
	top: 50%;
	right: 10px;
	transform: translateY(-50%);
}

.tab_content {
	width: 100%;
	height: 0;
	overflow: hidden;
	opacity: 0;
}

.tab_switch:checked + .tab_label {
	filter: grayscale(0%);
}

.tab_switch:checked + .tab_label + .tab_content {
	height: auto;
	overflow: auto;
	padding: 15px;
	opacity: 1;
	transition: 0.5s opacity;
}

.tab_switch {
	display: none;
}

.form_content {
	transition: 1s;
}

.form_content:not(.is-active),
.form_content:not(.is-active) * {
	max-height: 0;
	opacity: 0;
	pointer-events: none;
}

/* form confirm */

.form_list--confirm {
	margin-top: 2rem;
}

.form_item--confirm {
	margin: 0;
}

.form_term {
	margin-top: 1em;
	font-weight: normal;
	text-align: left;
	background-color: #ececec;
}

.form_desc {
}

.form_term,
.form_desc {
	width: 100%;
	padding: 0.5em;
}

.form_btn:not(:first-child) {
	margin-top: 1em;
}

/* init */

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="tel"],
input[type="url"],
select {
	width: 100%;
	padding: 4%;
	background-color: #fff;
	font-size: clamp(8px, 3.4vw, 16px);
	box-shadow: 0 0 0 1px var(--grayColor) inset;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
input[type="tel"]:focus,
input[type="url"]:focus,
select:focus {
	outline: none;
	box-shadow: 0 0 0 2px var(--blueColor) inset;
}

::placeholder {
	color: var(--grayColor);
}

.radio-list {
	display: flex;
	flex-flow: row wrap;
	padding: 5px 0;
}
.radio-list li {
	padding: 5px 0;
}
.radio-list li:not(:last-child) {
	padding-right: 4.6%;
}

input[type="radio"] {
	display: none;
}

.square_checkbox {
	position: relative;
	padding-left: 25px;
	font-size: clamp(8px, 3.4vw, 16px);
	white-space: nowrap;
	cursor: pointer;
}

.square_checkbox:after {
	content: "";
	display: block;
	position: absolute;
	top: 50%;
	left: 0;
	width: 20px;
	height: 20px;
	margin-top: -10px;
	border: 1px solid var(--grayColor);
	border-radius: 5px;
	font-size: clamp(8px, 3.4vw, 16px);
}

.square_checkbox:before {
	content: "";
	display: block;
	opacity: 0;
	position: absolute;
	top: 50%;
	left: 4px;
	width: 12px;
	height: 12px;
	margin-top: -6px;
	border-radius: 3px;
	background: var(--blueColor);
}

.square_checkbox:hover:after {
	border-color: var(--blueColor);
}

input[type="radio"]:checked + .square_checkbox:before,
input[type="checkbox"]:checked + .square_checkbox:before {
	opacity: 1;
}

/* validation */
.validation {
	padding: 3rem 7%;
	color: red;
}

.validation_texts {
	margin-top: 1rem;
}

/* confirm_text */
.confirm_text {
	padding: 0 7%;
	font-size: clamp(8px, 3.4vw, 16px);
	text-align: center;
}

.form_term,
.form_desc {
	font-size: clamp(8px, 3.4vw, 16px);
}

/* finish */
.finish_texts {
	margin-top: 2em;
	text-align: center;
}

/* animation */

@keyframes fadeIn {
	0% {
		opacity: 0;
		filter: blur(2px);
	}

	100% {
		filter: blur(0);
		opacity: 1;
	}
}

@keyframes heroKiranSweep {
	0% {
		opacity: 0;
		background-position: -60% 0;
	}

	0.8% {
		opacity: 1;
	}

	3.2% {
		opacity: 1;
		background-position: 160% 0;
	}

	4%,
	100% {
		opacity: 0;
		background-position: 160% 0;
	}
}

.fade {
	opacity: 0;
	animation: fadeIn 3s forwards;
	--f: 1.2s;
}

.fade.pop_item--01 {
	animation-delay: calc(var(--f) + 0s);
	--kiran-delay: calc(var(--f) + 0s + 3s);
}
.fade.pop_item--02 {
	animation-delay: calc(var(--f) + 0.2s);
	--kiran-delay: calc(var(--f) + 0.2s + 3s);
}

.fade.ttl_item--01 {
	animation-delay: calc(var(--f) + 0.8s);
	--kiran-delay: calc(var(--f) + 0.8s + 3s);
}
.fade.ttl_item--02 {
	animation-delay: calc(var(--f) + 1.2s);
	--kiran-delay: calc(var(--f) + 1.2s + 3s);
}

.fade.hero_ftr {
	animation-delay: calc(var(--f) + 2.5s);
}

.btn--hero a {
	animation:
		scale-up-top 2s ease-in-out 3s both,
		blur 2s ease-in-out 3s both;
}

/**
 * ----------------------------------------
 * animation scale-up-top
 * ----------------------------------------
 */

@keyframes scale-up-top {
	0% {
		opacity: 0;
		-webkit-transform: scale(0.7);
		transform: scale(0.7);
		-webkit-transform-origin: 50% 0%;
		transform-origin: 50% 0%;
	}
	100% {
		opacity: 1;
		-webkit-transform: scale(0.8);
		transform: scale(0.8);
		-webkit-transform-origin: 50% 0%;
		transform-origin: 50% 0%;
	}
}

/**
 * ----------------------------------------
 * animation float
 * ----------------------------------------
 */

.float {
	--f: 3s;
	animation: float 5s ease-in-out var(--f) infinite;
}

.fade.pop_item--01 .float {
	animation-delay: calc(var(--f) + 0s);
}
.fade.pop_item--02 .float {
	animation-delay: calc(var(--f) + 0.8s);
}

.fade.ttl_item--01 .float {
	animation-delay: calc(var(--f) + 1.8s);
}
.fade.ttl_item--02 .float {
	animation-delay: calc(var(--f) + 2.2s);
}

@keyframes float {
	0%,
	100% {
		transform: translateY(0);
	}

	45% {
		transform: translateY(-4px);
	}
}

/**
 * ----------------------------------------
 * animation shadow
 * ----------------------------------------
 */

.btn--hero {
	animation: shadow 4s ease-in-out 0s infinite alternate;
}

@keyframes shadow {
	0% {
		filter: drop-shadow(0px 0px 1px #ddd);
	}
	100% {
		filter: drop-shadow(0px 0px 7px #ddd);
	}
}

/**
 * ----------------------------------------
 * animation blur
 * ----------------------------------------
 */

@keyframes blur {
	0% {
		filter: blur(5px);
	}
	100% {
		filter: blur(0);
	}
}

.hero_bg {
	opacity: 0;
	animation:
		fadeIn 6s 0s ease-in-out forwards,
		blur 6s 0s ease-in-out forwards;
}
