@charset "utf-8";

.l_header .md_gnavi ul li a.gn_contact {
	color: #09449c;
}

.l_header .md_gnavi ul li a.gn_contact:hover {
	border-bottom: 1px solid #09449c;
}
@media (max-width: 736px) {
	.l_header .md_gnavi ul {
		gap: 3%;
	}
	.l_header .md_gnavi ul li {
		width: fit-content;
	}
}

/*---------------------------------------------

		about

--------------------------------------------- */
.md_about {
	background: #fff;
	box-shadow: 0 0 38px rgba(94,95,95,0.13);
	padding: 0 5% 90px;
}
.md_about .md_inner {
	max-width: 1100px;
	margin: 0 auto;
}
.md_about .md_btn a{
	align-items: center;
	display: inline-flex;
	font-size: 100%;
	font-weight: 500;
	padding: 3px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #838383;
}
.md_about .md_btn {
	text-align: left;
	margin-top: 40px;
	/* margin-left: 240px; */
}

.md_about .md_btn a:hover {
	background: #000;
	color: #fff;
}
.md_about .md_btn a svg {
	margin-right: 15px;
}
@media (max-width: 736px) {
	.md_about {
		box-shadow: 0 0 19px rgba(94,95,95,0.13);
		padding: 0 0 45px;
	}
	.md_about .md_text {
		padding: 0 5% 10px;
	}
	.md_about .md_btn {
		text-align: left;
		margin-top: 10px;
		margin-left: 5%;
	}
}

.md_list dl dt ::after {
	content: url(../img/index2020/PDF_50.png);
    position: absolute;
    width: 70px;
    height: auto;
    right: -70px;
    top: -8px;
}
/*---------------------------------------------

		category

--------------------------------------------- */
.md_category_search {
	padding: 0 5% 90px;
}
.md_category_search .md_inner {
	max-width: 1100px;
	margin: 0 auto;
}
.md_category_search ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
}
.md_category_search ul li {
	width: 40%;
	text-align: justify;
}
.md_category_search ul li a {
	display: block;
}
.md_category_search ul li:not(:first-of-type):not(:nth-of-type(2)) a {
	margin-top: 120px;
}
.md_category_search ul li a:hover {
	opacity: 0.6;
}
.md_category_search ul li figure {
	text-align: center;
}
.md_category_search ul li h3 {
	font-size: 2.2rem;
	font-weight: 900;
	margin: 35px 0 10px;
}
.md_category_search ul li h3 + p {
	line-height: 2.25;
	letter-spacing: 0;
}
.md_category_search ul li:nth-child(n + 5) {
	display: none;
}
.md_category_search ul.open li:nth-child(n + 5) {
	display: block;
}
.md_category_search .md_btn {
	text-align: center;
	margin-top: 80px;
}
.md_category_search .md_btn button {
    align-items: center;
    display: inline-flex;
    font-size: 100%;
    font-weight: 500;
	min-width: 300px;
    min-height: 50px;
    padding: 3px 20px;
    text-align: center;
    background: #fff;
    border: 1px solid #838383;
}
.md_category_search .md_btn button::before {
	content: "もっと見る";
	line-height: 28px;
	margin: 0 auto;
}
.md_category_search ul.open + .md_btn button::before {
	content: "閉じる";
	line-height: 28px;
}
.md_category_search .md_btn button:hover {
	background: #000;
	color: #fff;
}
.md_category_search .md_btn button svg {
	margin-right: 15px;
}
@media (max-width: 736px) {
	.md_category_search {
		box-shadow: 0 0 19px rgba(94,95,95,0.13);
		/* padding-bottom: 40px; */
		padding: 0 0 45px;
	}
	.md_category_search ul {
		width: 90%;
		margin: 0 auto;
	}
	.md_category_search ul li {
		width: 100%;
	}
	.md_category_search ul li + li a,
	.md_category_search ul li:not(:first-of-type):not(:nth-of-type(2)) a {
		margin-top: 45px;
	}
	.md_category_search ul li h3 {
		font-size: 1.8rem;
		margin: 15px 0 5px;
	}
	.md_category_search ul li h3 br {
		display: none;
	}
	.md_category_search .md_btn {
		margin-top: 40px;
	}
}

/*---------------------------------------------

		term

--------------------------------------------- */
.md_term_search {
	background: #fff;
	box-shadow: 0 0 38px rgba(94,95,95,0.13);
	/* padding-bottom: 80px; */
	padding: 0 5% 90px;
}
.md_term_search .md_inner {
	max-width: 1100px;
	margin: 0 auto;
}
.md_term_search .md_inner .md_banner {
	padding: 0 0 80px;
}
.md_term_search .md_inner .md_banner a {
	display: block;
}
.md_term_search .md_inner .md_banner a:hover {
	opacity: 0.6;
}
.md_term_search .md_inner .md_banner h3 {
	font-size: 2.2rem;
    font-weight: 900;
    margin: 35px 0 10px;
}
.md_term_search .md_inner .md_banner h3 + p {
	line-height: 2.25;
    letter-spacing: 0;
}
.md_term_search .md_inner .md_banner figure + p {
	margin-top: 40px;
	line-height: 2.25;
    letter-spacing: 0;
}
.md_term_search .md_inner .md_banner figure {
	text-align: center;
}
.md_term_search .md_inner .md_banner figure img.pc {
	width: 100%;
}
.md_term_search .md_inner .md_banner figure img.sp {
	display: none;
}
@media (max-width: 736px) {
	.md_term_search {
		padding: 0 0 45px;
	}
	.md_term_search .md_inner .md_banner {
		width: 90%;
        margin: 0 auto;
		padding: 0 0 40px;
	}
	.md_term_search .md_inner .md_banner h3 {
		font-size: 1.8rem;
		margin: 15px 0 5px;
	}
	.md_term_search .md_inner .md_banner figure + p {
		margin-top: 20px;
	}
	.md_term_search .md_inner .md_banner figure img.pc {
		display: none;
	}
	.md_term_search .md_inner .md_banner figure img.sp {
		display: block;
		margin: 0 auto;
	}
}

.md_search_box {

	padding: 0 0 35px;
}
.md_search_box dl + .md_inner {
	text-align: center;
}
.md_search_box dl + .md_inner button {
	align-items: center;
    /* display: inline-flex; */
    font-size: 100%;
    font-weight: 500;
	position: unset;
    min-width: 300px;
    min-height: 50px;
	margin: 40px auto 0;
    padding: 3px 20px;
    text-align: center;
    background: #fff;
	color: #000;
    border: 1px solid #838383;
}
.md_search_box dl + .md_inner button:hover {
	background: #000;
	color: #fff;
}
.md_term_search .md_search_box dl {
	border-bottom: 1px solid rgba(0,0,0,0.5);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	padding-bottom: 20px;
	text-align: justify;
}
.md_term_search .md_search_box dl > p {
	width: 100%;
	font-size: 20px;
	font-weight: 700;
	margin-top: 30px;
}
.md_term_search .md_search_box dl > dd + p {
	padding-top: 30px;
	border-top: 1px solid rgba(0,0,0,0.5);
}
.md_inner.is_cat_none,
.md_term_search .md_search_box .is_cat.is_cat_none,
.md_term_search .md_search_box .is_cat_2.is_cat_none {
	pointer-events: none !important;
	opacity: 0.3;
}
.md_term_search .md_search_box ul li.is_empty {
	pointer-events: none;
	opacity: 0.3;
}
.md_search_box ul .is_ac_ttl {
	position: relative;
	text-decoration: underline;
	cursor: pointer;
	font-weight: 700 !important;
	transition: all 0.3s;
}
.md_search_box ul .is_ac_ttl.is_empty {
	pointer-events: all !important;
}
.md_search_box .is_cat.is_cat_none .is_ac_ttl.is_empty,
.md_search_box .is_cat_2.is_cat_none .is_ac_ttl.is_empty  {
	pointer-events: none !important;
}
.md_search_box ul .is_ac_ttl.is_empty:has(label) {
	cursor: none !important;
}
.md_search_box ul .is_ac_ttl.is_empty label {
	pointer-events: none !important;
}
.md_search_box ul .is_ac_ttl:hover {
	text-decoration-color: transparent;
}
.md_search_box ul .is_ac_ttl:has(input) {
	text-decoration: none;
}
.md_search_box ul .is_ac_ttl::before {
	position: sticky;
	justify-content: center;
	align-items: center;
	display: inline-flex;
	width: 1em;
	height: 1em;
	content: ">";
	color: #000;
	transform: scale(1.5, 0.7) translateX(-0px) rotate(90deg);
	top: 0;
	left: 0;
}
.md_search_box ul .is_ac_ttl.is_open2::before {
	transform: scale(1.5, 0.7) translatex(-2.5px) rotate(-90deg);
}
.md_search_box ul .is_ac_ttl:has(input)::before {
	content: none;
}
.md_term_search .md_search_box ul li.is_open p.is_empty {
	opacity: 0.3;
	pointer-events: none;
}
.md_term_search .md_search_box .is_service ul li {
	width: 48.5%;
}
input[type=checkbox],
input[type=radio] {
	display: none;
}
input[type=checkbox] + label,
input[type=radio] + label {
	align-items: self-start;
	display: inline-flex;
	justify-content: flex-start;
	position: relative;
	letter-spacing: 0.02em;
	line-height: 1.25;
}
input[type=checkbox] + label::before,
input[type=radio] + label::before {
	background: #fff;
	border: 1px solid #838383;
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin-right: 7px;
	margin-top: 3px;
}
input[type=checkbox]:checked + label::after,
input[type=radio]:checked + label::after {
	border: 1px solid #838383;
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin: 0;
	margin-top: 0;
	position: absolute;
	top: 3px;
	left: 0;
	z-index: 1;
}
input[type=checkbox] + label::before,
input[type=checkbox]:checked + label::after,
input[type=radio] + label::before,
input[type=radio]:checked + label::after {
	border-radius: 0%;
	flex-shrink: 0;
}
input[type=checkbox]:checked + label::after,
input[type=radio]:checked + label::after {
	background: url(../../img/icn_check.svg) 2px 2px / 12px 12px no-repeat #636363;
}
@media (max-width: 736px) {
	.md_term_search .md_search_box dt {
		width: 100%;
	}
	.md_term_search .md_search_box dl > p {
		font-size: 14px;
	}
	input[type=checkbox]:checked + label::after, input[type=radio]:checked + label::after {
    top: 0px;
	}
}

