/*
Theme Name:u5works
*/

@charset "UTF-8";

:root {
	--base-color: #214573;
	--white-color: #ffffff;
	--gray-color: #999999;
	--red-color: #D71444;
}

/*要素*/
html {
	overflow-x: hidden;
	scroll-behavior: smooth;
}

html.fixed {
	height: 100%;
	overflow: hidden;
}

body {
	font-family: "Avenir", "Helvetica Neue", "Helvetica", "Arial", "Hiragino Sans", "ヒラギノ角ゴシック", YuGothic, "Yu Gothic", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic";
	font-size: 112.5%;
	color: var(--base-color);
	overflow-x: hidden;
	animation: fadeIn 1s ease 0s 1 normal;
	-webkit-animation: fadeIn 1s ease 0s 1 normal;
}

@media screen and (max-width: 1000px) {
	body {
		font-size: 100%;
	}
}

@keyframes fadeIn {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

@-webkit-keyframes fadeIn {
	0% {
		opacity: 0;
	}

	100% {
		opacity: 1;
	}
}

header {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 0 5vw;
	background-color: rgba(255, 255, 255, 0.5);
	z-index: 2;
}

@media screen and (max-width: 1000px) {
	header {
		width: 100vw;
		height: 50px;
		position: fixed;
		top: 0;
		z-index: 1;
	}
}

header img {
	width: 150px;
}

@media screen and (max-width: 1000px) {
	header img {
		width: 100px;
	}
}

.hamburger {
	width: 50px;
	height: 50px;
	position: relative;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
	border: 0;
	padding: 0;
	margin: 0;
	cursor: pointer;
	background: none;
	z-index: 4;
}

.hamburger span {
	position: absolute;
	display: block;
	content: "";
	width: 61%;
	height: 0px;
	right: -12px;
	margin: auto;
	transition: all 0.5s;
}

.hamburger span::after,
.hamburger span::before {
	position: absolute;
	display: block;
	content: "";
	width: 61%;
	height: 2px;
	background-color: var(--base-color);
	transition: all 0.5s;
}

.hamburger span::before {
	top: -5px;
}

.hamburger span::after {
	bottom: -5px;
}

.hamburger.open span {
	background-color: transparent;
}

.hamburger.open span::before {
	top: 0;
	transform: rotate(45deg);
}

.hamburger.open span::after {
	bottom: -1px;
	transform: rotate(-45deg);
}

.nav {
	position: fixed;
	width: 80%;
	height: 75vh;
	top: 0;
	right: -100%;
	background-color: var(--white-color);
	padding: 50px 0;
	transition: all 0.5s;
	border-radius: 30px 0 0 30px;
	z-index: 3;
}

@media (min-width: 600px) and (max-width: 1024px) {
	.nav {
		width: 40%;
	}
}

@media screen and (max-height: 450px) {
	.nav {
		overflow-y: auto;
	}
}

.nav.open {
	right: 0;
}

.nav ul {
	list-style: none;
	line-height: 2.5;
}

.cover {
	display: none;
	transition: all 0.5s;
}

.cover.open {
	position: fixed;
	top: 0;
	left: 0;
	display: block;
	width: 100%;
	height: 100%;
	background-color: rgba(33, 69, 115, 0.7);
	transition: all 0.5s;
	z-index: 2;
}

h1 {
	min-height: -webkit-max-content;
	min-height: -moz-max-content;
	min-height: max-content;
	font-size: 444.4%;
	line-height: 1.6;
}

@media screen and (max-width: 1000px) {
	h1 {
		margin: 0 0 0 auto;
		font-size: 270%;
	}
}

h2 {
	font-size: 444%;
	font-weight: 600;
	margin: 0 20px 80px 5vw;
	position: relative;
	min-width: 4.5em;
}

h2 span {
	display: block;
	position: relative;
	margin-top: 20px;
	margin-left: 50px;
	font-size: 20px;
	font-weight: 400;
}

@media (min-width: 600px) and (max-width: 1024px) {
	h2 {
		font-size: 333.3%;
		margin: 0 20px 50px 5vw;
	}
}

@media screen and (max-width: 1000px) {
	h2 {
		font-size: 225%;
		margin: 0 0 50px 5vw;
	}
}

h2 span::before {
	position: absolute;
	content: "";
	top: 50%;
	left: -50px;
	width: 40px;
	height: 1px;
	background-color: var(--red-color);
}

@media screen and (max-width: 1000px) {
	h2 span::before {
		font-size: 14px;
	}
}

h3 {
	font-size: 167%;
	font-weight: 800;
	padding: 0 0 30px;
	word-break: break-word;
}

@media screen and (max-width: 1000px) {
	h3 {
		padding: 0 0 20px 5vw;
		font-size: 150%;
	}
}

h4 {
	padding: 0 0 30px;
	font-size: 134%;
	font-weight: 800;
	word-break: break-word;
}

@media screen and (max-width: 1000px) {
	h4 {
		padding: 0 0 20px;
		font-size: 126%;
	}
}

section {
	margin-bottom: 14vw;
}

@media screen and (max-width: 1000px) {
	section {
		padding-top: 30px;
		margin-top: -30px;
		margin-bottom: 25vw;
	}
}

a {
	text-decoration: none;
	color: var(--base-color);
	transition: all 0.3s;
}

@media (any-hover: hover) {
	a:hover {
		color: var(--red-color);
		text-decoration: underline;
		text-underline-offset: 0.8ex;
		transition: all 0.3s;
	}
}

/*   パーツ   */
.flex {
	display: flex;
}

@media screen and (max-width: 1000px) {
	.flex {
		display: block;
	}
}

.flex.between {
	justify-content: space-between;
}

.flex.around {
	justify-content: space-around;
}

.flex.center {
	justify-content: center;
}

.flex.item_center {
	align-items: center;
}

.flex.column {
	flex-direction: column;
}

.flex.item_start {
	align-items: start;
}

.flex.item_stretch {
	align-items: stretch;
}

.flex.row-reverse {
	flex-direction: row-reverse;
}

.flex.flex_wrap {
	flex-wrap: wrap;
}

.flex.gap5 {
	gap: 5px;
}

.flex.gap10 {
	gap: 10px;
}

.flex.gap20 {
	gap: 20px;
}

.flex.gap30 {
	gap: 30px;
}

.m-b_0 {
	margin-bottom: 0 !important;
}

.p-t_20 {
	padding-top: 20px;
}

.p-r_20 {
	padding-right: 20px;
}

@media screen and (max-width: 1000px) {
	.p-r_20 {
		padding-right: 0;
	}
}

.p-b_10 {
	padding-bottom: 10px;
}

.p-b_20 {
	padding-bottom: 20px;
}

.p-b_30 {
	padding-bottom: 30px;
}

.p-b_50 {
	padding-bottom: 50px;
}

.p-l_20 {
	padding-left: 20px;
}

@media screen and (max-width: 1000px) {
	.p-l_20 {
		padding-left: 0;
	}
}

.d_sp {
	display: none;
}

@media screen and (max-width: 1000px) {
	.d_sp {
		display: inherit;
	}
}

@media screen and (max-width: 1000px) {
	.d_pc {
		display: none;
	}
}

@media screen and (max-width: 1000px) {
	.sp_m {
		padding-top: 20px;
	}
}

.indent {
	padding-left: 2.5em;
}

.indent span {
	margin-left: -2.5em;
}

.color_red {
	color: var(--red-color);
}

.head_bar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100vw;
	height: 60px;
	padding: 0 5vw;
	background-color: rgba(255, 255, 255, 0.6);
	z-index: 1;
}

.head_bar img {
	width: 120px;
}

.sp_head_bar {
	width: 90vw;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.glb_nav ul {
	display: flex;
	gap: 20px;
	list-style: none;
	line-height: 2.5;
}

@media screen and (max-width: 1000px) {
	.head_bar {
		display: none;
	}
}

.kv {
	padding: 140px 5% 100px 50px;
	color: var(--white-color);
	background-color: var(--base-color);
	background-image: url(assets/images/u5_circle.svg);
	background-repeat: no-repeat;
	background-position: right -60px bottom -80px;
	background-size: 23%;
	border-radius: 0 0 30px 30px;
}

@media screen and (max-width: 1000px) {
	.kv {
		padding: 120px 5vw 50px;
		background-position: right -30px top 170px;
		background-size: 42%;
	}
}

.kv_box {
	margin: 0 5vw;
}

@media screen and (max-width: 1000px) {
	.kv_box {
		margin: 0;
	}
}

@media screen and (max-width: 1000px) {
	.kv_box div {
		margin: 100px 0 0;
	}
}

.kv_box p {
	line-height: 2;
	font-weight: 300;
}

@media screen and (max-width: 1000px) {
	.kv_box p {
		line-height: 1.8;
	}
}

.kv_box p span {
	display: block;
	font-size: 133.3%;
	font-weight: 600;
}

@media screen and (max-width: 1000px) {
	.kv_box p span {
		font-size: 137.5%;
	}
}

.c-link {
	position: relative;
}

.c-link.arrow::after {
	content: "";
	display: inline-block;
	width: 20px;
	height: 8px;
	margin: 0 0 0 6px;
	-webkit-mask-image: url(assets/images/icon_arrow.svg);
	mask-image: url(assets/images/icon_arrow.svg);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 20px;
	mask-size: 20px;
	background-color: var(--base-color);
	transition: all 0.3s;
}

.c-link.arrow:hover::after {
	background-color: var(--red-color);
	transition: all 0.3s;
}

.c-link.window {
	display: inline-block;
}

.c-link.window::after {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin: 0 6px -2px 6px;
	-webkit-mask-image: url(assets/images/icon_window.svg);
	mask-image: url(assets/images/icon_window.svg);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 16px;
	mask-size: 16px;
	background-color: var(--base-color);
	transition: all 0.3s;
}

.c-link.window:hover::after {
	background-color: var(--red-color);
	transition: all 0.3s;
}

.c-link.fb::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin: 0 6px -2px 0;
	-webkit-mask-image: url(assets/images/icon_fb.svg);
	mask-image: url(assets/images/icon_fb.svg);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 16px;
	mask-size: 16px;
	background-color: var(--base-color);
	transition: all 0.3s;
}

.c-link.fb:hover::before {
	background-color: var(--red-color);
	transition: all 0.3s;
}

a.sec_button {
	display: block;
	width: 450px;
	padding: 15px;
	margin: 50px auto 0;
	text-align: center;
	background-color: var(--base-color);
	color: var(--white-color);
	border: 1px solid var(--base-color);
	border-radius: 50px;
	transition: all 0.3s;
}

a.sec_button:hover {
	background-color: var(--white-color);
	color: var(--base-color);
	border: 1px solid var(--base-color);
	text-decoration: none;
}

a.sec_button.window::after {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin: 0 6px -2px 6px;
	-webkit-mask-image: url(assets/images/icon_window.svg);
	mask-image: url(assets/images/icon_window.svg);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 16px;
	mask-size: 16px;
	background-color: var(--white-color);
	transition: all 0.3s;
}

a.sec_button.window:hover:after {
	background-color: var(--base-color);
	transition: all 0.3s;
}

@media screen and (max-width: 1000px) {
	a.sec_button {
		width: 70vw;
		margin: 30px auto 0;
	}
}

.about {
	margin: 0 5vw;
	font-size: 160%;
	font-weight: bold;
	line-height: 2.2;
}

.about_mvv {
	margin-top: 80px;
	padding: 100px 5vw;
	color: var(--white-color);
	background-color: var(--base-color);
}

.about_mvv h3 {
	font-size: 250%;
	font-weight: normal;
}

.mvv {
	width: calc((100% - 30px) / 2);
}

@media screen and (max-width: 1000px) {
	.about_mvv {
		margin-top: 50px;
		padding: 50px 5vw;
	}

	.about_mvv h3 {
		padding: 0 0 16px 0;
		font-size: 170%;
	}

	.mvv {
		width: 100%;
	}

	.mvv:first-child {
		margin-bottom: 50px;
	}
}

.u5_layout {
	display: grid;
	grid-template-rows: repeat(2, 1fr);
	grid-template-columns: repeat(3, 1fr);
	gap: 30px;
	margin-top: 100px;
}

.u5_layout div {
	padding: 30px;
	color: var(--base-color);
	background-color: var(--white-color);
	border-radius: 30px;
}

.u5_layout h4 {
	padding-bottom: 6px;
}

.u5_layout .sub_u5 {
	display: block;
	position: relative;
	font-size: 85%;
	margin: 0 0 20px 50px;
}

.u5_layout .sub_u5::before {
	content: '';
	position: absolute;
	left: 0;
	top: 50%;
	width: 40px;
	height: 1px;
	margin-left: -50px;
	border: 1px solid var(--base-color);
}


@media screen and (max-width: 1000px) {
	.u5_layout {
		display: block;
		margin-top: 50px;
	}

	.u5_layout div {
		margin-bottom: 20px;
		padding: 20px;
		border-radius: 20px;
	}

	.u5_layout div:last-child {
		margin-bottom: 0px;
	}
}

.news_box {
	margin: 0 5vw;
	border: 1px solid var(--base-color);
	border-radius: 30px;
}

@media screen and (max-width: 1000px) {
	.news_box {
		width: 95vw;
		margin-left: 5vw;
		border-radius: 30px 0 0 30px;
	}
}

span.date {
	display: inline-block;
	min-width: 11em;
	position: relative;
	padding-right: 70px;
	text-align: right;
}

span.date::after {
	content: "";
	display: inline-block;
	width: 30px;
	height: 1px;
	margin-left: 20px;
	background-color: var(--red-color);
	position: absolute;
	top: 48%;
}

@media screen and (max-width: 1000px) {
	span.date {
		max-width: fit-content;
		flex: 1;
		padding-right: 60px;
	}
}

.news_box ul {
	margin: 0;
	padding: 0;
}

.news_box li {
	padding: 30px;
	border-bottom: 1px solid var(--base-color);
}

.news_box li:last-child {
	border-bottom: none;
}

@media screen and (max-width: 1000px) {
	.news_box li {
		padding: 30px 5vw 30px 30px;
	}
}

.news_cont {
	margin-top: 100px;
}

.news_cont h3 {
	line-height: 1.6;
}

.news_cont .news_txt {
	width: 60vw;
	margin: 0 auto;
	line-height: 1.8;
}

@media screen and (max-width: 1000px) {
	.news_cont {
		margin-top: 50px;
	}

	.news_cont .news_txt {
		width: 85%;
	}
}

.news_cont .news_txt .date {
	margin-bottom: 50px;
	font-size: 100%;
	text-align: right;
}

.news_cont .news_txt a.button {
	display: block;
	width: 100%;
	padding: 20px;
	margin: 150px 0 0;
	text-align: center;
	background-color: var(--base-color);
	color: var(--white-color);
	border: 1px solid var(--base-color);
	border-radius: 50px;
	transition: all 0.3s;
}

.news_cont .news_txt a.button:hover {
	color: var(--base-color);
	background-color: var(--white-color);
	text-decoration: none;
	border: 1px solid var(--base-color);
}

.news_cont .category {
	display: block;
	min-width: 10em;
	margin-right: 20px;
	padding: 2px 15px 3px;
	font-size: 85%;
	text-align: center;
	border: 1px solid #214573;
	border-radius: 20px;
	line-height: 1.3;
}

@media screen and (max-width: 1000px) {
	.news_cont .category {
		width: 10em;
		margin-right: 0;
	}
}

.news_cont .news-category {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 20px;
}

.news_cont .archive {
	margin: 0 5vw;
}

.news_cont .news_image {
	margin-bottom: 50px;
}

.news_cont .news_image img {
	display: block;
	margin: 0 auto;
}

.news_list {
	margin: 100px 0;
}

@media screen and (max-width: 1000px) {
	.news_list {
		margin: 50px 0;
	}
}

.work {
	margin: 0 5vw;
}

.work .dayrobo {
	margin-bottom: 50px;
	padding: 50px;
	background-color: #F8F5EF;
	border-radius: 30px;
}

.work .dayrobo h3 {
	font-size: 100%;
	font-weight: normal;
}

.work .dayrobo_sub {
	margin-bottom: 30px;
	font-size: 160%;
}

@media screen and (max-width: 1000px) {
	.work .dayrobo {
		margin-bottom: 30px;
		padding: 20px;
	}
	.work .dayrobo h3 {
	padding-left: 0;
}
}

.work .dayrobo .image {
	width: 40%;
	margin-right: 50px;
}

@media screen and (max-width: 1000px) {
	.work .dayrobo .image {
		width: 100%;
		margin-right: 0;
		margin-bottom: 30px;
	}
}

.work .dayrobo .logo {
	width: 350px;
}

.work .dayrobo .box {
	display: flex;
	flex-direction: column;
}

.work .dayrobo .box div a {
	display: inline-block;
	margin-top: 30px;
	text-align: right;
}

@media screen and (max-width: 1000px) {
	.work .dayrobo .box div a {
		margin-top: 20px;
	}
}

.dayrobo_sol {
	display: flex;
	justify-content: space-between;
	gap: 30px;
	margin-top: 50px;
}

.dayrobo_sol div {
	width: calc(100% / 4);
	padding: 50px 20px;
	text-align: center;
	background-color: var(--white-color);
	border-radius: 30px;
}

.dayrobo_sol div p {
	padding-bottom: 30px;
	font-size: larger;
	font-weight: bold;
	line-height: 1.1;
}

.dayrobo_sol div img {
	margin: 0 auto;
}

@media screen and (max-width: 1000px) {
	.dayrobo_sol {
	display: block;
	margin-top: 30px;
}

.dayrobo_sol div {
	width: 100%;
	margin-bottom: 20px;
	padding: 30px;
	border-radius: 20px;
}
}

.devops {
	margin: 0 5vw;
	padding: 50px;
	color: var(--white-color);
	background-color: var(--base-color);
	border-radius: 30px;
}

.devops_text {
	margin: 0 0 30px;
}

.devops_box {
	width: calc((100% - 30px) / 2);
	padding: 50px;
	color: var(--base-color);
	background-color: var(--white-color);
	border-radius: 30px;
}

.devops .devops_title {
	margin-bottom: 0px;
	font-weight: bold;
}

.devops p {
	margin-bottom: 20px;
}

.devops p:last-child {
	margin-bottom: 0px;
}

.devops img {
	position: absolute;
	right: 30px;
	bottom: 30px;
	width: 35%;
}

.devops_wrap {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: 20px;
}

.devops_wrap div {
	width: 64%;
}

@media screen and (max-width: 1000px) {
	.devops {
		margin: 0;
		padding: 30px 0 50px;
		border-radius: 0;
	}

	.devops_text {
		margin: 0 5vw 20px;
	}

	.devops img {
		position: static;
	}
}

.container {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 30px;
}

@media screen and (max-width: 1000px) {
	.container {
		display: none;
	}
}

.splide {
	position: relative;
}

.splide__arrows {
	position: relative;
	top: 25px;
}

.splide__list {
	justify-content: stretch;
}

.splide__slide {
	display: flex;
	flex-wrap: wrap;
	flex: 1 0 auto;
}

.splide__slide div {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.splide__slide div[class] {
	width: 100%;
	padding: 30px 20px;
	color: var(--base-color);
	background-color: var(--white-color);
	border-radius: 30px;
}

.splide__slide div[class] img {
	width: 70%;
	margin: 0 auto;
	padding-top: 20px;
}

.splide__slide div[class] img.small {
	width: 52%;
}

.splide__slide div[class] p {
	margin-bottom: 15px;
}

.splide__slide div[class] p.devops_title {
	margin-bottom: 5px;
}

.splide__slide div[class] p:last-child {
	margin-bottom: 0;
}

.splide__slide:last-child {
	width: calc(100% + 20px) !important;
}

.splide .splide__arrow {
	width: 135px;
	background: none;
}

.splide .splide__arrow svg {
	width: 135px;
	height: 15px;
	fill: var(--red-color);
}

.splide .splide__pagination {
	display: none;
}


.company_wrap {
	width: 100vw;
	background-color: var(--base-color);
	padding: 100px 5vw;
}

.company {
	width: 62vw;
	margin: 0 auto;
	padding: 100px 4vw;
	border-radius: 30px;
	color: var(--base-color);
	background-color: var(--white-color);
}

@media screen and (max-width: 1000px) {
	.company_wrap {
		padding: 50px 5vw;
	}

	.company {
		width: 100%;
		padding: 50px 30px;
	}
}

.company dl {
	margin-bottom: 50px;
	line-height: 1.8;
}

.company dl:last-child {
	margin-bottom: 0;
}

.company dl dt {
	min-width: 6em;
	text-align: right;
	font-size: 133.3%;
	font-weight: 600;
	margin-right: 50px;
}

@media screen and (max-width: 1000px) {
	.company dl dt {
		margin-right: 0;
		font-size: 125%;
		text-align: left;
	}
}

.company dl dd {
	font-size: 111.1%;
}

@media screen and (max-width: 1000px) {
	.company dl dd {
		font-size: 112.5%;
	}
}

.company dl dd span {
	display: inline-block;
	width: 4em;
}

.company dl a {
	transition: all 0.3s;
}

.company dl a:hover path {
	fill: var(--red-color);
}

.company dl a svg {
	position: relative;
	top: 3px;
}

.company dl a path {
	transition: fill 0.3s;
}

.contact {
	margin: 0 5vw;
	text-align: center;
}

.contact a.circle {
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 10px;
	width: 250px;
	height: 250px;
	margin: 0 auto 30px;
	border-radius: 50%;
	color: var(--white-color);
	background-color: var(--base-color);
	transition: all 0.3s;
}

.contact a.circle img {
	width: 50px;
}

@media screen and (max-width: 1000px) {
	.contact.circle a {
		width: 120px;
		height: 120px;
	}

	.contact a.circle img {
		width: 30px;
	}
}

.contact a.circle:hover {
	background-color: var(--red-color);
	text-decoration: none;
	transition: all 0.3s;
}

.contact .form_row {
	display: flex;
	align-items: center;
	margin-bottom: 2em;
}

.contact .form_row p {
	width: 100%;
}

.contact .form_row label {
	display: block;
	width: 10em;
	margin-right: 10px;
	font-weight: bold;
}

.contact .form_row .form_input,
.contact .form_row select,
.contact .form_row textarea {
	width: 100%;
	padding: 10px 20px;
	border: 1px solid var(--base-color);
	border-radius: 8px;
}

.contact .form_row .form_input::placeholder,
.contact .form_row select::placeholder,
.contact .form_row textarea::placeholder {
	color: #cccccc;
}

.contact .form_row textarea {
	min-height: 120px;
}

.contact .wpcf7-not-valid-tip {
	text-align: left;
}

.contact .inquiry {
	width: 830px;
	margin: 0 auto;
	padding: 50px;
	text-align: left;
	border: 1px solid var(--base-color);
	border-radius: 30px;
}

@media (max-width: 1000px) {
	.contact .inquiry {
		width: 100%;
		padding: 30px;
	}

	.contact .form_row {
		flex-direction: column;
		align-items: flex-start;
	}

	.contact .form_row label {
		width: 100%;
		margin: 0 0 5px;
	}

	.contact .form_row .form_input,
	.contact .form_row select,
	.contact .form_row textarea,
	.contact .form_row input[type="submit"] {
		width: 100%;
	}
}

.select_wrap {
	position: relative;
	width: 100%;
}

.select_wrap .select_box {
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

.select_wrap::after {
	content: "";
	position: absolute;
	right: 1em;
	top: 1em;
	display: inline-block;
	vertical-align: middle;
	color: var(--base-color);
	line-height: 1;
	width: 12px;
	height: 12px;
	border: 2px solid var(--base-color);
	border-left: 0;
	border-bottom: 0;
	pointer-events: none;
	transform: translateY(-25%) rotate(135deg);
}

.required {
	margin-bottom: 0;
	color: var(--red-color);
	font-size: small;
}

.optional {
	margin-bottom: 0;
	color: var(--gray-color);
	font-size: small;
}

p:has(.submit_button) {
	width: 100%;
}

.contact .form_row .submit_button {
	display: block;
	width: 100%;
	padding: 20px;
	text-align: center;
	background-color: var(--base-color);
	color: var(--white-color);
	border: none;
	border-radius: 50px;
	transition: all 0.3s;
}

.contact .form_row .submit_button:hover {
	background-color: var(--red-color);
	text-decoration: none;
}

footer {
	position: relative;
	margin-top: 15vh;
	padding: 30px 0;
	border-radius: 30px 30px 0 0;
	font-size: 100%;
	font-weight: 600;
	color: var(--white-color);
	background-color: var(--red-color);
	z-index: 2;
}

@media screen and (max-width: 1000px) {
	footer {
		z-index: 1;
	}
}

footer .footer_box {
	margin: 0 5vw;
}

footer .footer_box .privacymark {
	display: flex;
	justify-content: flex-end;
	margin-bottom: 20px;
}

footer .footer_box .privacymark img {
	width: 70px;
}

@media screen and (max-width: 1000px) {
	footer .footer_box .privacymark {
		justify-content: center;
	}
}

footer .copyright {
	align-self: end;
	text-align: end;
}

@media screen and (max-width: 1000px) {
	footer .copyright {
		text-align: center;
	}
}

footer ul {
	width: 20vw;
	list-style: none;
	line-height: 2;
}

footer a {
	text-decoration: none;
	color: var(--white-color);
	transition: all 0.3s;
}

@media (any-hover: hover) {
	footer a:hover {
		color: var(--white-color);
		text-decoration: underline;
		text-underline-offset: 0.8ex;
		transition: all 0.3s;
	}
}

footer .c-link.window {
	display: inline-block;
}

footer .c-link.window::after {
	background-color: var(--white-color);
}

footer .c-link.window:hover::after {
	background-color: var(--white-color);
}

footer .c-link.fb::before {
	content: "";
	display: inline-block;
	width: 16px;
	height: 16px;
	margin: 0 6px -2px 0;
	-webkit-mask-image: url(assets/images/icon_fb.svg);
	mask-image: url(assets/images/icon_fb.svg);
	-webkit-mask-repeat: no-repeat;
	mask-repeat: no-repeat;
	-webkit-mask-size: 16px;
	mask-size: 16px;
	background-color: var(--white-color);
	transition: all 0.3s;
}

footer .c-link.fb:hover::before {
	background-color: var(--white-color);
	transition: all 0.3s;
}

.fade-in {
	opacity: 0;
	transition-duration: 500ms;
	transition-property: opacity, transform;
}

.fade-in-up {
	transform: translate(0, 50px);
}

.fade-in-down {
	transform: translate(0, -50px);
}

.fade-in-left {
	transform: translate(-50px, 0);
}

.fade-in-right {
	transform: translate(50px, 0);
}

.scroll-in {
	opacity: 1;
	transform: translate(0, 0);
}

@media screen and (max-width: 1000px) {
	.privacy {
		padding-left: 10px;
	}
}

.privacy li {
	margin-bottom: 50px;
}

.accessibility p {
	padding-bottom: 50px;
}

.accessibility h3 {
	font-size: 125%;
	padding-bottom: 10px;
}

.accessibility table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid var(--gray-color);
	line-height: 1.6;
}

.accessibility table tr th {
	text-align: left;
	vertical-align: top;
	padding: 10px;
	border: 1px solid var(--gray-color);
}

.accessibility table tr td {
	padding: 10px;
	border: 1px solid var(--gray-color);
}

.accessibility table td:nth-of-type(2),
.accessibility table td:nth-of-type(3) {
	text-align: center;
}

.post_meta .tags {
	color: #666;
}

.news_wrap {
	display: flex;
	justify-content: space-between;
	align-items: start;
}

@media screen and (max-width: 1000px) {
	.news_wrap {
		flex-direction: column-reverse;
	}
}

.archive_box {
	width: 75vw;
	border: 1px solid var(--base-color);
	border-radius: 30px 0 0 30px;
}

.archive_box ul {
	margin: 0;
	padding: 0;
}

.archive_box li {
	padding: 30px;
	border-bottom: 1px solid var(--base-color);
}

.archive_box li:last-child {
	border-bottom: none;
}

.archive_item {
	display: flex;
	align-items: center;
}

.archive_cat {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

@media screen and (max-width: 1000px) {
	.archive_item {
		flex-wrap: wrap;
		gap: 5px;
	}

	.archive_box {
		width: 100%;
	}

	.archive_box li {
		padding: 30px 5vw;
	}

	.archive_wrap {
		margin: 0 0 0 5vw;
	}

	.archive_cat {
		max-width: fit-content;
		flex-direction: row;
		flex: 1;
	}

	.archive_link {
		flex-basis: 100%;
	}
}

.category_tabs {
	max-width: 75vw;
	display: flex;
	flex-wrap: wrap;
	gap: 30px;
	margin-bottom: 30px;
	padding: 30px 50px;
	background-color: var(--base-color);
	border-radius: 30px 0 0 30px;
}

.category_tabs a {
	color: #cccccc;
}

.category_tabs a:hover {
	color: var(--red-color);
	text-decoration: none;
	transition: all 0.3s;
}

.category_tabs .active {
	position: relative;
	padding-left: 25px;
	font-weight: bold;
	color: var(--white-color);
}

.category_tabs .active::before {
	content: "\25CF";
	position: absolute;
	top: 1px;
	left: 0;
	color: var(--red-color);
}

@media screen and (max-width: 1000px) {
	.category_tabs {
		max-width: 100%;
		padding: 20px 5vw;
		gap: 20px;
	}

	.category_tabs .active {
		padding-left: 18px;
	}
}

.year_links {
	padding: 30px 30px 30px 5vw;
	border: 1px solid var(--base-color);
	border-radius: 0 30px 30px 0;
}

.year_links p {
	font-size: large;
	font-weight: bold;
}

.year_links ul {
	list-style: none;
	padding-inline-start: 0;
}

.year_links li {
	position: relative;
	padding-left: 50px;
	margin-bottom: 10px;
}

.year_links li:last-child {
	margin-bottom: 0;
}

.year_links li::before {
	content: "";
	position: absolute;
	display: inline-block;
	width: 30px;
	height: 1px;
	margin-left: -50px;
	background-color: var(--red-color);
	top: 48%;
}

.year_link.active {
	color: var(--red-color);
}

@media screen and (max-width: 1000px) {
	.year_links {
		margin-top: 50px;
		margin-right: 3vw;
	}
}

.pagination {
	margin: 20px 0;
}

.pagination ul {
	display: flex;
	justify-content: center;
	gap: 20px;
	list-style: none;
	padding-inline-start: 0;
}

.pagination a {
	padding: 0 10px;
	text-decoration: none;
}

.page-numbers.current {
	padding: 0 10px;
	color: var(--red-color);
}

.nothing {
	padding: 30px;
}

@media screen and (max-width: 1000px) {
	.nothing {
		width: 100vw;
	}
}