@charset "utf-8";
/* CSS Document */
.top_main .contents {
	flex-direction: column;
	align-items: flex-end;
	justify-content: center;
}
.top_main .contents > * {
	width: 65%;
}
.top_main h2 {
	margin: 0;
}
.top_main .link {
	display: flex;
	justify-content: center;
	gap: 0 20px;
}
.top_main .link .text {
	width: auto;
	position: relative;
	padding: 0 25px;
	border: 2px solid #ccc;
	border-radius: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 2.0rem;
}
.top_main .link .text:before,
.top_main .link .text:after {
	content: "";
	top: 50%;
	transform: translateY(-50%);
	display: block;
	position: absolute;
	width: 16px;
	height: 20px;
	clip-path: polygon(0 0, 0% 100%, 100% 50%);
}
.top_main .link .text:before {
	left: 100%;
	background-color: #ccc;
}
.top_main .link .text:after {
	left: calc(100% - 4px);
	background-color: #fff;
}
.top_main .link a {
	display: flex;
	gap: 0 20px;
	align-items: center;
	justify-content: center;
	padding: 10px 30px;
	background-color: #e1617a;
	color: #fff;
	text-decoration: none;
	font-size: 2.0rem;
	border-radius: 15px;
	position: relative;
	line-height: 150%;
}
.top_main .link a .icon {
	display: flex;
	flex-direction: column;
	line-height: 100%;
}
.top_main .link a .icon .fa-file {
	font-size: 3.0rem;
}
.top_main .link a .icon .fa-hand-holding {
	font-size: 4.5rem;
	margin-top: -25px;
}
.main .contents {
	background: none;
	padding:0;
	margin-top: 30px;
	margin-bottom: 30px;
}

.main div.top_content {
	margin-top:30px;
	display: flex;
	justify-content: space-between;
}

.main .search form article,
.main div.list {
	padding: 20px 25px;
}

.main .top_content article h3:before,
.main .top_content article h3:after {
	content: "";
	display:block;
	position: absolute;
	height:1px;
	top: 50%;
	transform:translateY(-50%);
	-webkit-transform:translateY(-50%);
	-moz-transform:translateY(-50%);
	-ms-transform:translateY(-50%);
	background-color: #ccc;
}

.main .top_content article:first-child {
	width: calc((100% - 3.5%) / 3);
	display: flex;
	flex-direction: column;
	gap: 10px 0;
}
.main .top_content article:last-child {
	width: calc((100% - 3.5%) / 3 * 2 + 1.75%);
	padding: 15px 20px;
	display: flex;
	flex-direction: column;
}
.main .top_content article > div,
.main .top_content article:last-child {
	background-color: #fff;
}
.main .top_content article > div {
	padding: 10px 20px;
}
.main .top_content article h3 {
	font-size: 2.2rem;
	text-align:center;
	position:relative;
	margin-bottom: 5px;
	color: inherit;
	width: 100%;
}
.main .top_content article h3:before	{ left: 0; }
.main .top_content article h3:after		{ right: 0; }

.main .top_content article .manual h3:before {
	right: -webkit-calc(50% + 4em);
	right: calc(50% + 4em);
}
.main .top_content article .manual h3:after {
	left: -webkit-calc(50% + 4em);
	left: calc(50% + 4em);
}
.main .top_content article .agent h3:before,
.main .top_content article:last-child h3:before {
	right: -webkit-calc(50% + 4.5em);
	right: calc(50% + 4.5em);
}
.main .top_content article .agent h3:after,
.main .top_content article:last-child h3:after {
	left: -webkit-calc(50% + 4.5em);
	left: calc(50% + 4.5em);
}
.main .top_content article .recruit h3:before {
	right: calc(50% + 2.5em);
}
.main .top_content article .recruit h3:after {
	left: calc(50% + 2.5em);
}

.main .top_content article > div {
	text-decoration: none;
	display: flex;
	flex-wrap: wrap;
	gap: 0 20px;
}
.main .top_content article .manual div.text {
	width: calc(100% - 140px);
	margin-left: auto;
}
.main .top_content article .manual p {
	clear:both;
	display: inline-block;
	font-size: 1.4rem;
	width: 100%;
	margin: 5px 0;
}
.main .top_content article .agent ul {
	margin: 0;
}
.main .top_content article .agent ul li {
	margin: 0;
	display: list-item;
	width: auto;
}
.main .top_content article a {
	margin-left: auto;
	margin-top: auto;
}

.main .top_content article:last-child ul {
	display: flex;
	flex-wrap: wrap;
}
.main .top_content article:last-child ul li {
	width: 50%;
	margin: 3px 0;
}
.main .top_content article:last-child ul li a {
	padding-left: 15px;
	position: relative;
	float: none;
}
.main .top_content article:last-child ul li a:before {
	position: absolute;
	left: 0;
	top: 50%;
	transform:translateY(-50%);
	-webkit-transform:translateY(-50%);
	-moz-transform:translateY(-50%);
	-ms-transform:translateY(-50%);
	content: "";
	display: block;
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 5px 0 5px 5px;
	border-color: transparent transparent transparent #6699CC;
}

@media screen and (min-width: 1140px) {
	.top_main .contents {
		height: 339px;
		gap: 25px 0;
	}
}
@media screen and (min-width: 1000px) and (max-width: 1140px) {

	.top_main .contents {
		width: 100%;
		margin: 0;
		height: calc(100vw * 0.35 * 0.85);
	}

}
@media screen and (min-width: 767px) and (max-width: 1000px) {
	.top_main {
		font-size: 1.6rem;
	}
	.top_main .contents {
		gap: 10px 0;
	}
	.top_main h2 {
		margin-top: 0;
		font-size: 2.3rem;
	}
	.top_main h2 .red {
		font-size: 3.0rem;
	}
	.top_main p br {
		display: none;
	}
	.top_main .link {
		gap: 0 20px;
	}
	.top_main .link .text {
		gap: 0 10px;
		font-size: 1.5rem;
		padding-left: 10px;
		padding-right: 10px;
	}
	.top_main .link a {
		font-size: 1.8rem;
		gap: 0 5px;
		padding: 10px 15px;
	}
	.top_main .link a .icon .fa-file {
		font-size: 2.5rem;
	}
	.top_main .link a .icon .fa-hand-holding {
		font-size: 4.0rem;
		margin-top: -20px;
	}
	.top_main .link a p br {
		display: block;
	}
	.main .search .search_main article table {
		width: 100%;
	}

}

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

	.main div.list {
		padding-left: 5px !important;
		padding-right: 5px !important;
	}
	.main .search .search_main,
	.main .top_content {
		display: inline-block;
		width: 100%;
	}
	.main div.top_content,
	.main .top_content article:first-child {
		flex-direction: column;
		gap: 20px 0;
	}
	.main .top_content article,
	.main .top_content article:first-child,
	.main .top_content article:not(:first-child),
	.main .top_content article:last-child,
	.main .top_content article:last-child ul li {
		width: auto;
	}
	.main .top_content article > div {
		justify-content: space-between;
	}
	.main .top_content article .agent ul {
		width: calc(100% - 140px);
	}
	.main .top_content article:last-child ul {
		display: block;
	}
	.main .top_content article:last-child ul li {
		margin-top: 10px;
		margin-bottom: 10px;
	}

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

	.top_main .contents {
		gap: 10px 0;
	}
	.top_main .contents .link {
		flex-direction: column;
		align-items: center;
		gap: 15px 0;
	}
	.top_main .contents .link > * {
		width: 97%;
	}
	.top_main .contents .link .text {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.top_main .contents .link .text:before,
	.top_main .contents .link .text:after {
		left: 50%;
		transform: translate(-50%, 0);
		width: 18px;
		height: 15px;
		clip-path: polygon(0 0, 100% 0%, 50% 100%);
	}
	.top_main .contents .link .text:before {
		top: 100%;
	}
	.top_main .contents .link .text:after {
		top: calc(100% - 4px);
	}
	.top_main .contents .link a {
		gap: 0 10px;
		padding-left: 10px;
		padding-right: 10px;
	}
	.top_main .contents .link a p {
		width: 13em;
	}

}