@charset "utf-8";

/* ============================================================== color */
:root {
	--color-black: #2e2e2e;
	--color-white: #fff;

	--color-grn: #374018;
	--color-pgrn: #838C3B;
	--color-org: #D9601A;
	--color-red: #c12525;
	--color-ppl: #865296;
	--color-ylw: #F2CA52;
	--color-pale: #fafaf4;

	--color-logo-grn: #2abf5b;
	--color-logo-org: #f3804d;
	--color-logo-blu: #4767b1;
	--color-logo-pnk: #ef6894;

	--color-gn-text: #2e2e2e;
	--color-gn-border: var(--color-pgrn);;
	--color-gn-hover: var(--color-ylw);;
	--color-gn-child: #fff;
	--color-gns-btn: #2e2e2e;
	--color-gns-btn-bar: #fff;
	--color-gns-bg: #dcdfc8;
	--color-gns-border: #ddd;
	--color-gns-parent: #f3f3f3;
	--color-gns-child: #fff;

	--color-course-01: #d60908;
	--color-course-02: #018c54;
	--color-course-03: #943fad;

	--color-cv-01: var(--color-grn);
	--color-cv-02: var(--color-ylw);
	--color-cv-03: var(--color-pgrn);
	--color-cv-04: var(--color-org);

	--color-f-bg: #f6f6f6;
	--color-f-text: #2e2e2e;
	--color-f-border: #ccc;
	--color-ptop-bg: var(--color-pgrn);
	--color-ptop-text: var(--color-white);

	--color-btn-bg: var(--color-org);
	--color-btn-text: #fff;

}

/* ============================================================== header and footer overlay */
body::before,
body::after {
	content: "";
	display: block;
	position: fixed;
	z-index: 5;
	width: 100%;
	height: 6em;
	left: 0;
	transition: 0.3s;
	opacity: 0;
	background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0, rgba(255,255,255,0.9) 37.5%, transparent 100%);
}
body::before {
	top: 0;
}
body::after {
	bottom: 0;
	height: 5em;
	background: linear-gradient(to top, rgba(255,255,255,0.9) 0, rgba(255,255,255,0.7) 50%, transparent 100%);
}
body.scrl_bgn::before {
	opacity: 1 ;
}
@media screen and (max-width: 1000px) {
	body.scrl_bgn::after {
		opacity: 1;
	}
}
@media screen and (min-width: 1000px) {
	body::before {
		height: 6em;
		opacity: 1 ;
		background: linear-gradient(to bottom, rgba(255,255,255,0.9) 0, rgba(255,255,255,0.9) 3em, transparent 100%);
	}
	body::after {
		display: none;
	}
}
/* ============================================================== anchor */
.anchor {
	position: absolute;
	margin-top: -4em;
	height: 0;
	overflow: hidden;
}
.is_pl .anchor {
	margin-top: -6em;
}
/* ============================================================== header */
.hdr {
	z-index: 25;
	position: fixed;
	width: 100%;
}
.hdr-wrp {
	position: relative;
	z-index: 23;
	margin: 0 auto;
	width: 100%;
	max-width: 1280px;
}
@media screen and (min-width: 1000px) {
	.hdr-wrp {
		display: grid;
		grid-template-columns: 13em auto;
		padding: 0 0.5em;
		gap: 0 2em;
		align-items: center;
		background-color: transparent;
	}
}
/* ----------------------------------------- logo */
.hdr-logo {
	position: fixed;
	z-index: 25;
	top: 0.4em;
	left: 1em;
	width: 12em;
	height: 3.2em;
	display: grid;
	align-items: center;
	font-size: 100%;
}
.hdr-logo a {
	display: block;
}
.hdr-logo img {
	vertical-align: bottom;
}
@media screen and (min-width: 1000px) {
	.hdr-logo {
		position: relative;
		z-index: 9999;
		width: 14em;
	}
	.hdr-logo a {
		display: block;
		transition: 0.3s;
	}
	.hdr-logo a:hover {
		opacity: 0.7;
	}
}

/* ============================================================== gnav */
/* nav.css is loaded in advance */
#gnav .gn-child .subttl a {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 0.5em;
	align-items: center;
	align-content: center;
}
#gnav .gn-child .subttl a i {
	padding: 0.5em 0 0.6em;
	font-size: 75%;
	color: var(--color-white);
	line-height: 1;
	display: block;
	width: 5em;
	text-align: center;
	border-radius: 0.3em;
}
#gnav .gn-child .subttl_01 a i {
	background-color: var(--color-course-01);
}
#gnav .gn-child .subttl_02 a i {
	background-color: var(--color-course-02);
}
#gnav .gn-child .subttl_03 a i {
	background-color: var(--color-course-03);
}
/* for sp */
@media screen and (max-width: 1000px) {
	#gn-cb-navi:checked ~ #gnav {
		background-color: var(--color-gns-bg);
	}
	#gnav .gn-parent {
		position: relative;
		border-bottom: 1px solid var(--color-gns-border);
	}
	#gnav .gn-parent:first-child {
		border-top: 1px solid var(--color-gns-border);
	}
	#gnav .gn-parent > input {
		display: block;
		height: 0;
		overflow: hidden;
	}
	#gnav .gn-parent > a,
	#gnav .gn-parent > label {
		display: block;
		background-color: var(--color-gns-parent);
		color: var(--color-gn-text);
		padding: 1em;
	}
	#gnav .gn-menu label::before {
		border-bottom: 2px solid var(--color-gn-text);
		border-right: 2px solid var(--color-gn-text);
		right: 1em;
	}
  	#gnav .gn-child li a {
		padding: 1em;
		font-size: 87.5%;
		line-height: 1;
		background-color: var(--color-gns-child);
		color: var(--color-s-text);
	}
	#gn-btn span {
		background-color: var(--color-gns-btn);
		opacity: 0.9;
		border-radius: 0.3em;
	}
	#gn-btn span i::before,
	#gn-btn span i::after,
	#gn-btn span::after {
		background-color: var(--color-gns-btn-bar);
	}
}
/* for pc */
@media screen and (min-width: 1000px) {
	#gnav {
		max-width: 40em;
		margin: 0 0 0 auto;
		font-size: 82.5%;
		padding: 0.5em 0;
	}
	.gn-wrp {
		border: 1px solid color-mix(in srgb, var(--color-gn-border) 90%, transparent);
		border: 0 none;
		display: flex;
		justify-content: space-between;
	}
	#gnav .gn-menu {
		width: 32em;
	}
	#gnav .gn-parent {
		flex-grow: unset;
		flex-grow: 1;
		width: calc(100% / 4);
		width: unset;
	}
	#gnav .gn-parent > a,
	#gnav .gn-parent > label {
		padding: 0.5em;
		background-color: rgba(255,255,255,0.8);
		background-color: color-mix(in srgb, var(--color-gn-border) 10%, transparent);
		background-color: unset;
		transition: 0.3s;
		border-right: 1px solid color-mix(in srgb, var(--color-gn-border) 90%, transparent);
		border: 0 none;
		position: relative;
	}
	#gnav .gn-parent:hover > label {
		background-color: rgba(255,255,255,1);
		background-color: color-mix(in srgb, var(--color-gn-border) 60%, transparent);
		background-color: transparent;
	}
	#gnav .gn-child ul {
		text-align: left;
	}
	#gnav .gn-parent .gn-child {
		right: 0;
		left: unset;
	}
	#gnav .gn-parent .gn-child ul {
		border-left: 1px solid color-mix(in srgb, var(--color-gn-border) 90%, transparent);
		border-right: 1px solid color-mix(in srgb, var(--color-gn-border) 90%, transparent);
	}
	#gnav .gn-parent .gn-child ul li:first-of-type {
		border-top: 1px solid color-mix(in srgb, var(--color-gn-border) 90%, transparent);
	}
	#gnav .gn-parent .gn-child ul li:last-of-type {
		border-bottom: 1px solid color-mix(in srgb, var(--color-gn-border) 90%, transparent);
	}
	#gnav .gn-parent .gn-child ul li a {
		background-color: var(--color-gn-child);
		padding: 0.8em 1em;
	}
	#gnav .gn-parent .gn-child ul li a:hover {
		background-color: color-mix(in srgb, var(--color-gn-hover) 100%, transparent);
		color: #111;
	}
	#gnav .gn-parent .gn-child ul li{
		border-top: 1px dashed color-mix(in srgb, var(--color-gn-border) 90%, transparent);
		border-bottom: 0 none;
	}
	#gnav .gn-child {
		min-width: 100%;
	}
	#gnav .gn-child ul {
		width: unset;
		min-width: 100%;
	}
}
/* ----------------------------------------- gn-sns */
.gn-sns {
	width: 8em;
	position: relative;
	display: grid;
	grid-template-columns: 1fr 1fr 1fr;
	gap: 1em;
	padding: 1em;
}
@media screen and (min-width: 1000px) {
	.gn-sns {
		padding: 0.6em 1em 0;
	}
	.gn-sns a {
		transition: 0.3s;
	}
	.gn-sns a:hover {
		opacity: 0.75;
	}
}

/* ============================================================== cv */
.cv {
	position: fixed;
	z-index: 9;
	bottom: 0;
	right: 0;
	width: 100%;
}
.cv ul {
	display: grid;
	grid-template-columns: 1fr 1fr 1fr 1fr;
	gap: 0 0.2em;
	padding: 0 0.2em 0.2em;
	max-width: 1280px;
	margin: 0 auto;
}
.cv li {
	font-size: 82.5%;
}
.cv li a {
	display: block;
	padding: 0.7em 0 0.5em;
	text-align: center;
	border-radius: 0.4em;
	color: var(--color-white);
	font-size: 87.5%;
	text-decoration: none;
} 
.cv li:nth-of-type(1) a {
	background-color: var(--color-cv-01);
}
.cv li:nth-of-type(2) a {
	color: var(--color-black);
	background-color: var(--color-cv-02);
}
.cv li:nth-of-type(3) a {
	background-color: var(--color-cv-03);
}
.cv li:nth-of-type(4) a {
	background-color: var(--color-cv-04);
}
/* for sp */
@media screen and (max-width: 1000px) {
	.cv {
		display: none;
	}
	.scrl_bgn .cv {
		display: block;
	}
}
/* for pc */
@media screen and (min-width: 1000px) {
	.cv {
		z-index: 15;
		bottom: unset;
		top: 3.6em;
		right: 1.2em;
		width: fit-content;
	}
	.cv ul {
		display: flex;
		justify-content: end;
	}
	.cv li {
		font-size: 87.5%;
		margin-left: 0.1em;
	}
	.cv li a {
		font-size: 87.5%;
		min-width: 8em;
		transition: 0.3s;
		padding: 0.5em 0;
	}
	.cv li a:hover {
		opacity: 0.7;
	}
}
@media screen and (min-width: 1280px) {
	.cv {
		right: calc(50% - 640px + 1.2em);
	}
}
/* ============================================================== footer */
.ftr {
	border-top: 1px solid var(--color-f-border);
	padding: 1em 0 2.4em;
	background: var(--color-f-bg);
	color: var(--color-f-text);
}
@media screen and (min-width: 1000px) {
	.ftr {
		padding: 2em 0 1em;
	}
}
.ftr-inr {
	padding: 0 1em;
}
.ftr-nv {
	margin: 0 0 1em;
	font-size: 87.5%;
	text-align: center;
}
.ftr-nv li {
	display: inline-block;
	margin: 0 1em 0.5em;
}
.ftr-nv a {
	font-size: 87.5%;
	color: var(--color-f-text);
}
.ftr-logo {
	width: 75%;
	max-width: 18em;
	margin: 2em auto 0.5em;
}
.ftr-ttl {
	text-align: center;
	margin-bottom: 1em;
}
.ftr-info {
	width: fit-content;
	margin: 0 auto 1.5em;
	font-size: 82.5%;
	font-size: 75%;
	text-align: center;
}
.ftr-info span {
	display: inline-block;
}
/* -------------------------------------- sns */
.ftr-sns {
	margin: 0 0 0.5em;
	display: flex;
	justify-content: center;
}
.ftr-sns a {
	width: 1.6em;
	display: block;
	margin: 0 0.5em;
}
/* -------------------------------------- copyright */
.ftr-copyright {
	text-align: center;
	font-size: 75%;
	padding: 1em 0;
}
/* -------------------------------------- page top */
.ftr-ptop {
	position: fixed;
	z-index: 50;
	right: 0;
	bottom: 0;
	width: 3em;
	aspect-ratio: 1 / 1;
	cursor: pointer;
	transform: translate(0, 3em);
	transition: 0.3s;
	display: none;
}
.scrl_bgn .ftr-ptop {
	opacity: 1;
	transform: translate(0, 0);
}
.ftr-ptop span {
	position: absolute;
	z-index: 3;
	color: var(--color-ptop-text);
	bottom: 0.2em;
	right: 0.4em;
}
.ftr-ptop::before {
	content: "";
	display: block;
	width: 100%;
	aspect-ratio: 1 / 1;
	bottom: 0;
	right: 0;
	clip-path: polygon(100% 0, 100% 100%, 0 100%);
	opacity: 0.5;
	background-color: var(--color-ptop-bg);
}
@media screen and (min-width: 1000px){
	.ftr-ptop {
		display: block;
		font-size: 150%;
	}
}

/* ============================================================== main */
.m {
	position: relative;
}

/* ============================================================== elements */
.c-sct {
	position: relative;
	z-index: 3;
}
.c-sct_pale {
	background-color: var(--color-pale);
}
.c-sct_lwr {
	padding: 2em 1em;
}
@media screen and (min-width: 1000px) {
	.c-sct_lwr {
		padding: 3em 1em 4em;
	}
}
.c-sct_lwr p + p {
	margin-top: 1em;
}
/* -------------------------------------- anchor */
.c-sct a {
	color: color-mix(in srgb, var(--color-red) 50%, var(--color-org));
}

/* -------------------------------------- layout */
.c-inr {
	position: relative;
	z-index: 2;
	margin: 0 auto;
	max-width: 1280px;
}
.c-inr.c-inr_nrw {
	max-width: 1000px;
}
.c-bx {
	position: relative;
	z-index: 2;
	display: block;
}
.c-bx_line {
	border: 1px solid;
	padding: 1em;
	border-radius: 0.5em;
}
.c-bx_line .sttl {
	margin: 0 0 1em;
}
@media screen and (min-width: 750px) {
	.c-hvr {
		transition: 0.3s;
	}
	.c-hvr:hover {
		opacity: 0.7;
	}
}
.c-set_2-4 {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.5em 0.5em;
}
@media screen and (min-width: 1000px) {
	.c-set_2-4 {
		grid-template-columns: repeat(4, 1fr);
	}
}

/* -------------------------------------- ps sp switching */
.for-pc {
	display: none;
}
@media screen and (min-width: 750px) {
	.for-sp {
		display: none;
	}
	.for-pc {
		display: block;
	}
}

/* -------------------------------------- ttl, text */
.c-ttl {
	font-size: 140%;
	margin: 0 auto 1.5em;
	padding: 0.5em 0.7em;
	line-height: 1.2;
	width: fit-content;
	border-bottom: 1px solid var(--color-grn);
	text-align: center;
}
.c-ttl span {
	display: block;
}
.c-sttl {
	font-size: 110%;
	line-height: 1.2;
	width: fit-content;
	margin: 0 auto 1em;
	color: var(--color-grn);
}
.c-lead {
	font-size: 120%;
	color: var(--color-grn);
	margin: 0 0 1em;
}
.c-lead span {
	display: block;
}
.c-lead i {
	display: inline-block;
}

.c-line_ylw {
	background: linear-gradient(to bottom, transparent 0, transparent 80%, var(--color-ylw) 80%, var(--color-ylw) 100%);
}
.c-lnk_pdf {
	position: relative;
	padding-right: 1.2em;
	background-repeat: no-repeat;
	background-position: 100% 0;
	background-size: 1em auto;
	background-image: url("../images/common/ico_pdf.svg");
}
.c-lnk_word {
	position: relative;
	padding-right: 1.2em;
	background-repeat: no-repeat;
	background-position: 100% 0;
	background-size: 1em auto;
	background-image: url("../images/common/ico_word.svg");
}
.c-lnk_excel {
	position: relative;
	padding-right: 1.2em;
	background-repeat: no-repeat;
	background-position: 100% 0;
	background-size: 1em auto;
	background-image: url("../images/common/ico_excel.svg");
}

.c-kome {
	font-size: 87.5%;
	padding-left: 1.2em;
	position: relative;
}
.c-kome::before {
	content: "※";
	display: block;
	position: absolute;
	left: 0;
}

/* -------------------------------------- button */
.c-btns {
	text-align: center;
	padding: 2em 0;
}
a.c-btn,
.c-btn {
	display: inline-block;
	border-radius: 0.4em;
	padding: 0.8em 1.5em;
	line-height: 1;
	background-color: var(--color-btn-bg);
	color: var(--color-btn-text);
	text-decoration: none;
}
@media screen and (min-width: 750px) {
	.c-btn {
		transition: 0.3s;
	}
	.c-btn:hover {
		opacity: 0.75;
	}
}

/* -------------------------------------- lst */
.c-lst {
	display: grid;
	gap: 0.3em 0;
}
.c-lst li {
	position: relative;
	padding-left: 0.8em;
	line-height: 1.3;
}
.c-lst li::before {
	content: "";
	display: block;
	position: absolute;
	width: 0.4em;
	aspect-ratio: 1 / 1;
	left: 0;
	top: 0.55em;
	border-radius: 0.1em;
	background-color: #999;
}

/* -------------------------------------- page header */
.c-head {
	position: relative;
	z-index: 3;
	padding: 3.5em 1em 0;
	background-repeat: no-repeat;
	background-position: 0 0;
	background-size: cover;
	overflow: hidden;
	background-color: var(--color-pale);
	border-bottom: 1px solid #ddd;
}
@media screen and (min-width: 1000px) {
	.c-head {
		padding: 6em 0 0;
	}
}
.c-head .c-ttl {
	text-align: left;
	border: 0 none;
	line-height: 1.4;
	margin: 0 0 0.5em;
}
.c-head .c-ttl span {
	display: inline-block;
}

/* -------------------------------------- path */
.c-path .c-inr {
	font-size: 75%;
	padding: 0.5em;
	color: color-mix(in srgb, var(--color-black) 50%, transparent);
}
.c-path .c-inr span {
	display: inline-block;
}
.c-path .c-inr a {
	position: relative;
	display: inline-block;
	color: color-mix(in srgb, var(--color-black) 50%, transparent);
	text-decoration: none;
	margin-right: 1em;
}
.c-path .c-inr a:not(:last-child)::before {
	content: "";
	display: block;
	position: absolute;
	right: -0.8em;
	width: 0.4em;
	top: calc(50% - 0.2em);
	aspect-ratio: 1 / 1;
	clip-path: polygon(0 0, 100% 50%, 0 100%);
	background-color: color-mix(in srgb, var(--color-black) 50%, transparent);
}
@media screen and (min-width: 1000px) {
	.c-path .c-inr {
		padding: 0.5em 1.5em;
	}
}
/* ----------------------------------------------- page link */
.c-pl {
	margin: 0 0.5em 0 auto;
	width: fit-content;
	position: sticky;
	z-index: 10;
	color: var(--color-black);
	background-color: var(--color-white);
	top: 6em;
	right: 0;
	min-width: 10.5em;
	font-size: 75%;
}
@media screen and (min-width: 750px){
	.c-pl {
		margin: 0 1em 0 auto;
		top: 9em;
	}
}
.c-pl .c-pl_ttl {
	position: relative;
	cursor: pointer;
	padding: 0.5em 1.5em 0.5em 0.5em;
	border-radius: 0.4em;
	color: color-mix(in srgb, var(--color-white) 90%, transparent);
	background-color: color-mix(in srgb, var(--color-black) 30%, transparent);
	border: 1px solid color-mix(in srgb, var(--color-white) 90%, transparent);
}
.c-pl .c-pl_ttl::before {
	transition: 0.2s;
	content: "";
	display: block;
	position: absolute;
	width: 0.8em;
	aspect-ratio: 2 / 1;
	right: 0.5em;
	top: calc(50% - 0.2em);
	clip-path: polygon(0 0, 100% 0, 50% 100%);
	background-color: color-mix(in srgb, var(--color-white) 90%, transparent);
}
.c-pl.show .c-pl_ttl::before {
	transform: rotate(180deg);
}
.c-pl .c-pl_nav {
	display: none;
	position: absolute;
	transition: 0.3s;
	background-color: var(--color-ylw);
	width: 100%;
	left: 0;
	padding: 0 0.5em;
}
.c-pl.show .c-pl_nav {
	display: block;
}
.c-pl .c-pl_nav a {
	display: block;
	padding: 0.5em 0;
	color: var(--color-black);
	transition: 0.3s;
	border-bottom:1px solid #eee;
}
.c-pl .c-pl_nav a:last-of-type {
	border: 0 none;
}
.c-pl .c-pl_nav a:hover {
	color: var(--color-org);
}

/* -------------------------------------- page link btns */
.c-pl_btns .c-btns {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 0.5em;
	margin: 0;
	padding: 0;
}
.c-pl_btns .c-btns .c-btn {
	display: block;
	text-align: center;
	font-size: 87.5%;
	padding: 1em 0;
	background-color: var(--color-grn);
}
@media screen and (min-width: 750px) {
	.c-pl_btns .c-btns {
		grid-template-columns: repeat(6, 1fr);
	}
}

/* -------------------------------------- modal window */
.modal {
    display: flex;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 100;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;

    justify-content: center;
    align-items: center;
}
.modal.is-active {
    opacity: 1;
    visibility: visible;
    display: flex;
    justify-content: center;
    align-items: center;
}
.modal-content {
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    padding: 24px;
    position: relative;
    box-sizing: border-box;
    transform: translateY(20px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    opacity: 0;
}
.modal.is-active .modal-content {
    opacity: 1;
    transform: translateY(0);
}
.modal-inner {
    width: 90%;
    max-width: 600px;
}
.modal-close-btn {
    background: none;
    border: none;
    cursor: pointer;
    position: relative;
    width: 2em;
    height: 2em;
    padding: 0;
}
.modal-close-btn span {
    display: block;
    width: 100%;
    height: 1px;
    background-color: var(--color-black);
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
}
.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5em;
    border-bottom: 1px solid var(--color-grn);
    padding-bottom: 1em;
}
.modal-header h2 {
	font-size: 120%;
}
.modal-body .c-bx + .c-bx {
	margin-top: 2em;
}
.modal-body h3 {
	position: relative;
	padding-left: 1.3em;
	font-size: 110%;
	margin-bottom: 0.5em;
	color: color-mix(in srgb, var(--color-grn) 85%, var(--color-white));
}
.modal-body h3::before {
	content: "■";
	display: block;
	position: absolute;
	left: 0;
}
.modal-body .c-bx .c-lst {
	gap: 0.5em 0;
}
.modal-body .c-bx p,
.modal-body .c-bx li {
	font-size: 82.5%;
}
.modal-body .c-bx .c-lst li::before {
	background-color: color-mix(in srgb, var(--color-grn) 85%, var(--color-white));
}
.modal-close-btn span:last-child {
    transform: translate(-50%, -50%) rotate(-45deg);
}
.modal-body {
    max-height: 70vh;
    overflow-y: auto;
}
@media screen and (max-width: 750px) {
    .modal-content {
        padding: 1em;
    }
}