@charset "utf-8";
/* CSS Document */

.top_main {
	padding: 0;
}
.top_main .contents {
	height: 150px;
	justify-content: flex-end;
	align-items: center;
	gap: 0 20px;
}
.top_main a {
	display: flex;
	justify-content: center;
	gap: 0 15px;
	padding: 25px 10px;
	background-color: #e1617a;
	color: #fff;
	text-decoration: none;
	font-size: 1.8rem;
	border-radius: 15px;
	line-height: 150%;
}
.top_main a .text {
	display: flex;
	align-items: center;
	justify-content: center;
	background-color: #fff;
	color: #e1617a;
	font-size: 1.8rem;
	border-radius: 100%;
	position: relative;
	padding: 0 10px;
	white-space: nowrap;
}
.top_main a .text:after {
	content: "";
	left: calc(100% - 5px);
	top: 50%;
	transform:translateY(-50%);
	display:block;
	position: absolute;
	background-color: #fff;
	width: 15px;
	height: 15px;
	clip-path: polygon(0 0, 0% 100%, 100% 50%);
}

nav ul li:nth-child(3) {
	width: 50%;
}
nav ul li:nth-child(3) h3 {
	font-size: 2.4rem;
}
nav ul li a {
	padding: 0;
}

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

	.top_main .contents {
		margin: 0;
		padding: 0 5px;
		justify-content: flex-end;
	}

	.top_main .text p br {
		display: none;
	}

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

	.top_main .img_width {
		margin-left: -5px;
	}
	.top_main .text {
		width: calc(100vw - 196px - (1.8rem * 11.5 + 55px));
	}
	.top_main a {
		padding-top: 20px;
		padding-bottom: 20px;
	}
	.top_main a .text {
		width: auto;
	}
	.top_main a span {
		display: block;
	}

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

	.top_main h2 {
		margin-bottom: 15px;
	}
	.top_main .contents {
		height: auto;
		flex-direction: column;
		align-items: flex-end;
		justify-content: center;
		padding-top: 15px;
		padding-bottom: 15px;
		gap: 10px 0;
		height: calc(100vw * 0.35 * 0.85);
	}
	.top_main .contents > * {
		width: 65%;
	}
	.top_main h2 {
		font-size: 2.3rem;
		margin-bottom: 10px;
	}
	.top_main h2 .red {
		font-size: 3.0rem;
	}
	.top_main a {
		padding-top: 10px;
		padding-bottom: 10px;
	}
	.top_main a span {
		display: inline;
	}

	.main .search .search_main article table {
		width: 100%;
	}

}

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

	.top_main .contents {
		height: auto;
		background-size: 30% auto;
		background-position: top left;
	}

	.top_main h2 {
		font-size: 2.6rem;
		line-height: 130%;
	}
	.top_main h2 br {
		display: block;
	}

	.main .search form,
	.main div.list {
		padding-left: 5px !important;
		padding-right: 5px !important;
	}
	.main .search .search_main,
	.main .top_content {
		display: inline-block;
		width: 100%;
	}
	.main .top_content article,
	.main .top_content article:last-child,
	.main .top_content article:last-child ul li {
		width: 100%;
	}
	.main .top_content article:not(:first-child) {
		margin-top: 20px;
	}

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

	.main .top_content article:first-child {
		width: auto;
	}

}
