/*
Theme Name : rimue
Description : rimue template
Author: 金井健人
*/

@charset "utf-8";

:root {
	--font: #333;
	--bg: #F9F2E8;
	--bg_secondary: #FCE7CF;
	--main: #F0860E;
	--red: #E74B22;
	--border: #EDD6B5;
	--gray: #eee;
	--shadow: 0 0 12px 0 rgba(0, 0, 0, .2);
}

* {
	margin: 0;
	padding: 0;
}

html {font-size: 10px;}

img {
	max-width: 100%;
	height: auto;
	vertical-align: bottom;
}

body {
	position: relative;
	padding: 50px 0 0;
	line-height: 1.8;
	font-size: 1.6rem;
	color: var(--font);
	font-family: "Zen Kaku Gothic New", sans-serif;
	background: #fff;
	-webkit-text-size-adjust: 100%;
}

@media screen and (min-width: 768px) {
	body {
		padding-top: 72px;
	}
}

body.home {padding-top: 0;}

a {
	color: var(--font);
	text-decoration: underline;
}
a:hover {text-decoration: none;}

ul,
ol {margin-left: 1.5em;}

strong {font-weight: bold;}

/* ヘッダー
======================================== */

header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	position: fixed;
	top: -.01px;
	left: 0;
	width: 100%;
	height: 50px;
	padding: 0 0 0 3%;
	box-sizing: border-box;
	background: #fff;
	transition: background .3s, box-shadow .3s;
	z-index: 10;
}

body.home:not(.small) header:not(.active) {background: none;}

header .tit {
	line-height: 1;
}

header .tit a {
	font-size: 2rem;
	color: var(--font);
	text-decoration: none;
}

header .tit a img {
	width: auto;
	max-height: 42px;
}

nav ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

nav .menu-header-container .menu li.hide_header {display: none;}

nav .menu-header-container .menu > li > a {
	font-weight: 500;
	color: var(--font);
	text-decoration: none;
}

nav .sub-menu {display: none;}

/* PC */
@media screen and (min-width: 768px) {
	header {
		position: absolute;
		height: 72px;
		padding: 0 24px;
	}
	
	header .tit a {font-size: 3.2rem;}

	header .tit a img {
		max-height: 60px;
	}

	body.small header {
		position: fixed;
		height: 50px;
		box-shadow: var(--shadow);
		animation: slidedown .3s 0s forwards;
	}

	body.small header .tit a {font-size: 3rem;}

	body.small header .tit a img {max-height: 42px;}

	nav {
		flex-grow: 1;
		display: flex!important;
		justify-content: flex-end;
		height: 100%;
	}

	nav .menu-header-container {display: flex;}
	
	nav .menu-header-container .menu {
		display: flex;
		justify-content: flex-end;
		width: 100%;
	}

	nav .menu-header-container .menu > li {
		display: flex;
		position: relative;
	}

	nav .menu-header-container .menu > li + li {margin-left: 32px;}

	nav .menu-header-container .menu > li > a {
		display: flex;
		justify-content: center;
		align-items: center;
		font-size: 1.8rem;
		transition: color .3s;
	}

	body.small nav .menu-header-container .menu > li > a {font-size: 1.6rem;}

	nav .menu-header-container .menu > li > a:hover,
	nav .menu-header-container .menu > li.current-menu-item:not(li.current-menu-item ~ li):not(.head_cv) > a,
	nav .menu-header-container .menu > li.current_page_parent > a {color: var(--main);}

	/* トップページの「トップ」を黒に */
	body.home:not(.small) header nav .menu-header-container .menu > li:not(.head_cv) > a {color: var(--font);}

	nav .menu-header-container .menu > li > .sub-menu {
		position: absolute;
		top: 100%;
		right: calc(50% - 120px);
		min-width: 240px;
		padding: 10px 0 0;
	}

	nav .menu-header-container .menu > li > .sub-menu li a {
		display: block;
		padding: 10px;
		font-size: 1.4rem;
		background: #fff;
		border-top: 1px solid var(--border);
		transition: color .3s;
		text-decoration: none;
	}
	nav .menu-header-container .menu > li > .sub-menu li:first-child a {
		border-top: none;
	}

	nav .menu-header-container .menu > li > .sub-menu li a:hover,
	nav .menu-header-container .menu > li > .sub-menu li.current-menu-item a {color: var(--main);}

	#sp_toggle {display: none;}

	header .head_cv {
		display: flex;
		align-items: center;
		margin-left: 32px;
		padding: 5px 0;
	}

	header .head_cv.btn.cv a {
		min-height: 0;
		height: 100%;
		max-height: 45px;
		padding-right: 30px;
		font-size: 1.5rem;
		color: #fff;
	}

	@media (hover: hover) {
		header .head_cv.btn.cv a:hover {
			color: var(--red);
		}
	}

	header .head_cv.btn.cv a::before {
		left: 14px;
		width: 20px;
	}

	.header_btm {
		display: flex;
		margin-left: 24px;
	}
}

@media screen and (min-width: 768px) and (max-width: 920px) {
	nav .menu-header-container .menu > li > a {font-size: 1.6rem;}
}

/* SP */
@media screen and (max-width: 767.9px) {

	header {box-shadow: var(--shadow);}

	body.home:not(.small) header:not(.active) {box-shadow: none;}

	nav {
		display: none;
		position: fixed;
		top: 50px;
		left: 0;
		width: 100%;
		max-height: calc(100vh - 50px);
		max-height: calc(100dvh - 50px);
		padding-bottom: 20px;
		box-sizing: border-box;
		overflow: auto;
		background: #fff;
		border-top: 1px solid var(--border);
		box-shadow: 0 10px 10px -4px rgba(0, 0, 0, .3);
		z-index: 11;
	}

	nav .menu-header-container .menu li + li {border-top: 1px solid var(--border);}
	
	nav .menu-header-container .menu li a {
		display: block;
		padding: 10px 5%;
		background-image: url(img/ico_arw.svg);
		background-position: right 5% top 50%;
		background-size: 8px auto;
		background-repeat: no-repeat;
	}
	nav .menu-header-container .menu li.current-menu-item:not(li.current-menu-item ~ li):not(.head_cv) > a,
	nav .menu-header-container .menu > li.current_page_parent > a {
		color: var(--main);
		background-image: none;
	}

	nav .menu-header-container .menu > li.menu-item-has-children > a {
		margin-right: 50px;
	}

	nav .menu-header-container .menu > li.menu-item-has-children::before,
	nav .menu-header-container .menu > li.menu-item-has-children::after {
		content: "";
		position: absolute;
		right: 16px;
		top: 25px;
		width: 18px;
		height: 1px;
		background: var(--main);
		transition: transform .3s;
	}
	nav .menu-header-container .menu > li.menu-item-has-children:not(.active)::after {transform: rotate(90deg);}

	nav .menu-header-container .menu > li .sub-menu a {
		font-size: 1.4rem;
		background-color: var(--bg);
		background-position: right calc(50px + 5%) top 50%;
		text-decoration: none;
	}

	header .menu li.head_cv a {
		display: flex;
		min-height: 56px;
		margin-top: 20px;
		font-size: 1.6rem;
		color: #fff;
		background-image: none;
	}

	.header_btm {
		padding: 30px 5% 20px;
	}
}

#sp_toggle {
	position: relative;
	width: 50px;
	height: 50px;
	padding: 20px 0 0;
	box-sizing: border-box;
	background: none;
	border: none;
	outline: none;
	text-indent: 100%;
	overflow: hidden;
	white-space: nowrap;
	z-index: 2;
	appearance: none;
	-webkit-appearance: none;
}

#sp_toggle::before,
#sp_toggle::after {
	content: "";
	position: absolute;
	top: calc(50% - 1px);
	left: calc(50% - 15px);
	width: 26px;
	height: 2px;
	border-radius: 1px;
	background: var(--main);
	transition: transform .4s cubic-bezier(.39,1.58,.58,.76), opacity .4s;
}
#sp_toggle::before {transform: translateY(-4px);}
#sp_toggle::after {transform: translateY(4px);}

#sp_toggle.active::before {transform: rotate(45deg);}
#sp_toggle.active::after {transform: rotate(135deg);}

body.home:not(.small) header:not(.active) #sp_toggle::before,
body.home:not(.small) header:not(.active) #sp_toggle::after {background: #fff;}

#overlay {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(255,255,255,.4);
	backdrop-filter: blur(2px);
	z-index: 9;
	animation: fadein .4s 0s ease forwards;
}
@media screen and (max-width: 767.9px) {
	#overlay.active {display: block;}
}

@keyframes slidedown {
	0% {transform: translateY(-100.1%);}
	100% {transform: none;}
}

@keyframes fadein {
	0% {opacity: 0;}
	100% {opacity: 1;}
}

/* レイアウト
======================================== */

.inner {
	width: min(1080px, 90vw);
	margin-left: auto;
	margin-right: auto;
}
.inner_secondary {
	width: min(860px, 90vw);
	margin-left: auto;
	margin-right: auto;
}

.block {
	margin-bottom: 64px;
	margin-bottom: clamp(48px, 5.5vw, 80px);
}
.block_secondary {
	margin-bottom: 80px;
	margin-bottom: clamp(64px, 11vw, 120px);
}

.section {
	padding-top: 64px;
	padding-top: clamp(40px, 5.5vw, 80px);
	padding-bottom: 64px;
	padding-bottom: clamp(40px, 5.5vw, 80px);
}

/* トップページ
======================================== */

.kv {
	position: relative;
	padding-bottom: 160px;
	margin-bottom: 30px;
	z-index: 1;
}

.kv::before,
.kv::after {
	content: "";
	position: absolute;
	top: 0;
	right: 0;
	width: 50vw;
	height: 45vw;
	background: var(--main);
	z-index: -1;
}

.kv::after {
	right: auto;
	left: -5vw;
	top: auto;
	bottom: -6vw;
	width: 35vw;
	height: 35vw;
	border-radius: 50%;
	background: var(--bg_secondary);
}

.kv_img {
	position: relative;
	top: 8vw;
	width: 72%;
	margin: 0 5% 0 auto;
}

.kv_txt {
	position: absolute;
	bottom: 60px;
	left: calc(50% - 550px);
	left: max(3%, calc(50% - 550px));
	padding: 10px;
	line-height: 1.5;
	font-size: 4.6vw;
	font-size: min(64px, 4.6vw);
	font-weight: bold;
	color: #fff;
	text-shadow: 0 0 10px #000;
	z-index: 1;
}

@media screen and (max-width: 767.9px) {
	.kv {
		padding-bottom: 90px;
		margin-bottom: 0;
	}

	.kv::after {
		bottom: 22px;
	}

	.kv_img {
		top: 50px;
		width: 80%;
		margin-right: 3%;
		text-shadow: 0 0 5px #000;
	}

	.kv_txt {
		bottom: 45px;
		padding: 10px;
		font-size: 6vw;
	}
}

/* 見出し */

.top_tit {
	margin-bottom: 30px;
	text-align: center;
}

.top_tit .top_title {
	line-height: 1.5;
	font-size: clamp(2.6rem, 7.6vw, 3.8rem);;
	font-weight: bold;
}

.top_tit_s {
	position: relative;
	margin-top: 10px;
	font-size: clamp(1.4rem, 3vw, 1.6rem);
	font-weight: bold;
	color: var(--main);
	z-index: 1;
}

/* philosophy */

.top_philosophy {
	position: relative;
	overflow: hidden;
}

.top_philosophy::after {
	content: "";
	position: absolute;
	bottom: -22vw;
	right: -10vw;
	width: 50vw;
	height: 50vw;
	border-radius: 50%;
	background: var(--bg_secondary);
	z-index: -1;
}

@media screen and (max-width: 767.9px) {
	.top_philosophy::after {
		bottom: -12vw;
		right: -16vw;
		width: 90vw;
		height: 90vw;
	}
}

.box_col2 {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

.box_col2 .tit {
	position: relative;
	margin-bottom: 15px;
	padding-bottom: 20px;
	line-height: 1.5;
	font-size: 2rem;
	font-weight: bold;
}

.box_col2 .tit::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 2px;
	background: var(--main);
}

.box_col2 .img img {width: 100%;}

@media screen and (min-width: 768px) {
	.box_col2 {
		flex-direction: row;
		align-items: center;
		gap: 4%;
	}

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

	.box_col2 .img {
		flex-shrink: 0;
		width: 48%;
	}

	.box_col2 .txt_area {
		flex-grow: 1;
	}

	.box_col2 .tit {
		font-size: 2.6rem;
	}
}

/* service */

.top_service {
	background: var(--bg);
}

.top_services {
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 40px;
}

.top_services .img {
	width: 94%;
	margin: 0 auto -20px;
}

.top_services .img img {width: 100%;}

.top_services .txt_area {
	width: 100%;
	padding: 40px 5% 20px;
	box-sizing: border-box;
	background: #fff;
}

.top_services .txt_area .tit {
	position: relative;
	margin-bottom: 15px;
	padding-bottom: 20px;
	line-height: 1.5;
	font-size: 2rem;
	font-weight: bold;
}

.top_services .txt_area .tit::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 40px;
	height: 2px;
	background: var(--main);
}

@media screen and (min-width: 768px) {
	.top_services {
		flex-direction: row;
	}

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

	.top_services .img {
		flex-shrink: 0;
		width: 40%;
		margin: 20px -30px 20px 0;
	}

	.top_services.r_img .img {
		margin-left: -30px;
		margin-right: 0;
	}

	.top_services .txt_area {
		align-self: stretch;
		flex-grow: 1;
		display: flex;
		flex-direction: column;
		justify-content: center;
		width: auto;
		padding: 30px 30px 30px 80px;
	}

	.top_services.r_img .txt_area {
		padding-left: 30px;
		padding-right: 80px;
	}

	.top_services .txt_area .tit {
		font-size: 2.4rem;
	}
}

/* 会社概要 */

.top_company {
	position: relative;
	overflow: hidden;
}

.top_company::after {
	content: "";
	position: absolute;
	top: -22vw;
	left: -10vw;
	width: 50vw;
	height: 50vw;
	border-radius: 50%;
	background: var(--bg_secondary);
	z-index: -1;
}

@media screen and (max-width: 767.9px) {
	.top_company::after {
		bottom: -12vw;
		right: -16vw;
		width: 90vw;
		height: 90vw;
	}
}

/* 採用情報 */

.top_recruit {
	padding: 40px 40px 30px;
	box-sizing: border-box;
	background: var(--bg);
}

.top_recruit_col {
	display: flex;
}

.top_recruit_col .top_tit {
	flex-shrink: 0;
	margin: 0 50px 0 0;
	text-align: left;
}

.top_recruit_col .top_tit .top_title {font-size: 2.8rem;}

.top_recruit_col .txt_area {
	flex-grow: 1;
}

@media screen and (max-width: 767.9px) {
	.top_recruit {padding: 30px 5%;}
	
	.top_recruit_col {flex-direction: column;}

	.top_recruit_col .top_tit {margin-bottom: 15px;}

	.top_recruit_col .top_tit .top_title {font-size: 2.2rem;}
}

/* 下層
======================================== */

.kv_un {
	display: flex;
	flex-direction: column;
	align-items: center;
	position: relative;
	min-height: 160px;
	padding: 12px 0 24px;
	box-sizing: border-box;
	background: var(--bg_secondary);
	z-index: 1;
}

.kv_un .txt {
	flex-grow: 1;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	width: min(1080px, 90%);
	padding: 16px 0;
}

.kv_un .tit {
	font-size: 3rem;
	font-size: clamp(2.6rem, 7vw, 4rem);
	font-weight: bold;
}

@media screen and (max-width: 767.9px) {
	.kv_un::before {
		background-position: right -43vw bottom -90vw;
		background-size: 125vw auto;
	}
}

/* パンくずリスト */

.breadcrumb {
	display: flex;
	width: 90%;
	width: min(1080px, 90%);
	font-size: 1.3rem;
	overflow-x: auto;
	list-style: none;
}

.breadcrumb li {flex-shrink: 0;}
.breadcrumb li + li::before {
	content: ">";
	margin: 0 .2em 0 .5em;
	font-size: 1.2rem;
	font-weight: 500;
}
.breadcrumb li a {
	color: var(--font);
	text-decoration: none;
}

@media (hover: hover) {
	.breadcrumb li a:hover {text-decoration: underline;}
}

.wrapper {
	width: 90%;
	width: min(1080px, 90%);
	margin: 0 auto;
	padding: 40px 0;
}

@media screen and (min-width: 880px) {
	.wrapper.col2 {
		display: flex;
		justify-content: space-between;
	}

	.wrapper.col2 > main {
		width: 75%;
	}

	.wrapper.col2 > aside {
		width: 20%;
	}
}

@media screen and (max-width: 879.9px) {
	.wrapper.col2 > aside {
		margin-top: 60px;
	}
}

.page_tit_area {
	padding: 0 0 12px;
	margin: 0 0 20px;
	border-bottom: 2px solid var(--main);
}

.page_tit_area time {
	display: block;
	margin: 0 0 8px;
	font-size: 1.4rem;
	font-weight: bold;
}

.entry_title {
	line-height: 1.5;
	font-size: 2.4rem;
}

.page_tit_area .tags {margin-top: 10px;}

.wrapper_s {
	max-width: 840px;
	margin-left: auto;
	margin-right: auto;
}

/* サイドメニュー */

.widget_block {
	margin-bottom: 50px;
}

.widget-title {
	margin-top: 0!important;
	padding-left: 10px!important;
	border-left: 3px solid var(--main);
}

/* 人気記事 */

/* .wpp-list {
	margin: 0;
	list-style: none;
}

.wpp-list li > a:has(.wpp-thumbnail) {
	float: left;
	width: 45%;
	padding-right: 15px;
	box-sizing: border-box;
	transition: opacity .3s;
}

.wpp-thumbnail {
	width: 100%;
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

.wpp-list li > a.wpp-post-title {
	width: 55%;
	font-size: 1.4rem;
	font-weight: bold;
	text-decoration: none;
}

@media (hover: hover) {
	.wpp-list li > a:has(.wpp-thumbnail):hover {
		opacity: .7;
	}

	.wpp-list li > a.wpp-post-title:hover {
		text-decoration: underline;
	}
}

.wpp-meta {
	display: inline-block;
	width: 55%;
} */

/* 見出し */

.wrapper h2:not(.no_style):not(.tit) {
	margin: 40px 0 20px;
	padding: 0 0 0 16px;
	line-height: 1.5;
	font-size: 2.6rem;
	font-weight: 900;
	border-left: 3px solid var(--main);
}

.wrapper h3:not(.no_style):not(.tit) {
	position: relative;
	margin: 20px 0 15px;
	margin: min(30px, 4.5vw) 0 min(20px, 2vw);
	padding: 0 0 0 22px;
	line-height: 1.5;
	font-size: 2rem;
	font-size: clamp(1.8rem, 4.4vw, 2.4rem);
	font-weight: bold;
}
.wrapper h3:not(.no_style):not(.tit)::before {
	content: "";
	position: absolute;
	left: 0;
	top: calc(50% - 1.5px);
	width: 14px;
	height: 3px;
	border-radius: 2px;
	background: var(--main);
}

.wrapper h4:not(.no_style):not(.tit) {
	margin: 20px 0 15px;
	padding: 0 0 4px;
	line-height: 1.5;
	font-size: 1.8rem;
	font-weight: bold;
}

@media screen and (min-width: 768px) {
	.wrapper {padding: 60px 0;}

	.page_tit_area {margin: 0 0 40px;}

	.entry_title {font-size: 3rem;}

	.wrapper h2:not(.no_style):not(.tit) {
		margin: 60px 0 30px;
		font-size: 3rem;
	}
}

.wrapper .wp-block-image {margin: 30px 0;}

/* 事業内容 */

.list_column {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin-left: 0;
	list-style: none;
}

.list_column > li {
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	width: calc(33.33% - 12px);
	padding: 16px 10px 16px 36px;
	box-sizing: border-box;
	background: var(--bg);
}

.list_column > li::before {
	content: "";
	position: absolute;
	left: 16px;
	top: calc(50% - 4px);
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--main);
}

@media screen and (max-width: 767.9px) {
	.list_column {gap: 10px;}
	.list_column > li {
		width: 100%;
		padding-top: 12px;
		padding-bottom: 12px;
	}
}

/* WPレイアウト */

.wp-block-columns.center {
	justify-content: center;
}

.wp-block-columns.center > .wp-block-column {
	flex-basis: auto;
	flex-grow: unset;
}

.wp-block-columns.center .wp-block-image {
	text-align: center;
}

.wp-block-columns.is-layout-flex {
	gap: 30px;
}

@media screen and (max-width: 600px) {
	/* メディアとテキスト(2カラム) */
	.wp-block-media-text {
		grid-gap: 10px;
	}
	.wp-block-media-text .wp-block-media-text__content {
		padding-left: 0;
		padding-right: 0;
	}
}

.wp-block-columns.cards {
	gap: min(16px, 2vw);
	margin-bottom: 0;
}

.wp-block-columns.cards .wp-block-image {
	margin-bottom: min(16px, 2vw);
}

.wp-block-pullquote {
	border-radius: 5px;
	font-size: 1.6rem;
	background: var(--bg_secondary);
}

/* 投稿一覧 */

.posts {
	display: flex;
	flex-direction: column;
	gap: 30px 24px;
}

.posts_item a {text-decoration: none;}

.posts_item .img {
	margin-bottom: 10px;
	border-radius: 12px;
	overflow: hidden;
}

.posts_item .img img {
	width: 100%;
	aspect-ratio: 1200 / 630;
	object-fit: cover;
	transition: transform .3s;
}

@media (hover: hover) {
	.posts_item a:hover .img img {transform: scale(1.1);}
}

.posts_item time {
	font-size: 1.4rem;
	opacity: .8;
}

.posts_item .tit {
	margin: 0 0 8px;
	line-height: 1.5;
	font-size: 2.2rem;
}

@media screen and (min-width: 768px) {
	.posts {
		flex-direction: row;
		flex-wrap: wrap;
	}

	.posts_item {
		width: calc(33.33% - 16px);
	}
}

/* ページャー */
ul.page-numbers {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	margin: 40px 0 0;
	list-style: none;
}
ul.page-numbers .page-numbers {
	display: flex;
	justify-content: center;
	align-items: center;
	height: 40px;
	padding: 0 12px;
	margin: 0 4px;
	font-size: 1.4rem;
	font-weight: 500;
	text-decoration: none;
}
ul.page-numbers a.page-numbers {
	border-radius: 5px;
	color: var(--font);
	border: 2px solid var(--border);
}
ul.page-numbers .page-numbers.current {
	font-weight: bold;
	color: var(--main);
}

/* table */

.tbr,
.wp-block-table table,
.wp-block-flexible-table-block-table table {
	width: 100%;
	margin-left: auto;
	margin-right: auto;
	border: none;
	border-collapse: collapse;
	border-top: 1px solid var(--border);
	border-left: 1px solid var(--border);
}

.tbr th,
.tbr td,
.wp-block-table th,
.wp-block-table td,
.wp-block-flexible-table-block-table table th,
.wp-block-flexible-table-block-table table td {
	padding: 16px;
	border: none;
	border-bottom: 1px solid var(--border);
	border-right: 1px solid var(--border);
	text-align: left;
}

.tbr th,
.wp-block-table th,
.wp-block-flexible-table-block-table table th {
	min-width: 120px!important;
	font-weight: bold;
	background: var(--bg);
}

.wp-block-table thead {border-bottom: none;}

@media screen and (max-width: 560px) {
	.tbr.sp_tbr,
	.tbr.sp_tbr tbody,
	.tbr.sp_tbr tr,
	.tbr.sp_tbr td,
	.tbr.sp_tbr th,
	.wp-block-table.sp_tbr table,
	.wp-block-table.sp_tbr tbody,
	.wp-block-table.sp_tbr tr,
	.wp-block-table.sp_tbr td,
	.wp-block-table.sp_tbr th {display: block;}

	.tbr.sp_tbr td,
	.tbr.sp_tbr th,
	.wp-block-table.sp_tbr td,
	.wp-block-table.sp_tbr th {
		padding-left: 5%;
		padding-right: 5%;
	}
}

@media screen and (max-width: 767.9px) {
	.wp-block-flexible-table-block-table .is-stacked-on-mobile th {
		padding-right: 0;
	}

	.sp_scroll {
		position: relative;
		padding-top: 20px;
		overflow-x: auto;
	}
	.sp_scroll .wp-block-table {
		min-width: 700px;
	}
	.sp_scroll::before,
	.sp_scroll::after {
		content: "";
		position: absolute;
		top: 0;
		left: 0;
		width: 15px;
		height: 15px;
		background: url(img/ico_arw.svg) 50% 50% / contain no-repeat;
	}
	.sp_scroll::before {transform: scaleX(-1);}
	.sp_scroll::after {left: 15px;}
}

/* 目次 */

#toc_container {
	margin: 20px 0;
	padding: 20px;
	border-radius: 8px;
	background: var(--bg_secondary);
	border: 2px solid var(--border);
}

.toc_title {
	padding-left: 10px;
	line-height: 1.3;
	font-size: 2rem;
	font-weight: bold;
	border-left: 3px solid var(--main);
}

.toc_toggle {
	margin-left: 1em;
	font-size: 1.5rem;
	font-weight: normal;
}

#toc_container ul {
	list-style: none;
}

.toc_list {
	margin-top: 10px;
	margin-left: 0;
}

/* お問い合わせ */

.grecaptcha-badge {
	transition: transform .4s, right .4s!important;
	z-index: 5;
}
.grecaptcha-badge.hidden {transform: translateX(100%);}

.wpforms-container .wpforms-form input[type="text"],
.wpforms-container .wpforms-form input[type="email"],
.wpforms-container .wpforms-form input[type="tel"],
.wpforms-container .wpforms-form textarea {
	border-radius: 4px;
	border: 2px solid var(--gray);
}

@media screen and (min-width: 768px) {
	.wpforms-field:not(:has(>fieldset)),
	.wpforms-field > fieldset {
		display: grid;
		grid-template-columns: 200px 1fr;
		align-items: center;
	}

	.wpforms-field > .wpforms-field-label,
	fieldset > .wpforms-field-label {
		grid-column: 1;
		margin-bottom: 0!important;
	}
	.wpforms-field > input,
	.wpforms-field > textarea,
	fieldset > ul {
		grid-column: 2;
	}
	.wpforms-field > .wpforms-error {
		grid-column: 2;
	}

	.wpforms-field > fieldset > legend {transform: translateY(9px);}
	.wpforms-field > fieldset > legend + * {transform: translateY(-9px);}
}

input.btn,
button.btn {
	appearance: none;
	-webkit-appearance: none;
	font-family: "Noto Serif JP", serif;
	font-size: 1.4rem;
	font-weight: bold!important;
	border: none;
	outline: none;
	cursor: pointer;
}

.wpforms-submit.btn,
.wpforms-submit.btn:hover {
	margin-left: auto!important;
	margin-right: auto!important;
	border-radius: 34px!important;
	color: #fff!important;
	background: var(--main)!important;
	border: 2px solid var(--main);
}

.wpforms-submit.btn:hover {color: var(--main)!important;}

input.btn:disabled,
button.btn:disabled {pointer-events: none;}

.top_back {
	margin: 60px 0 0;
	text-align: center;
}
.top_back::before,
.top_back::after {
	content: "|";
	margin: 0 .8em;
}

/* cv */

.cv_area {border-bottom: 2px solid var(--border);}

@media screen and (min-width: 768px) {
	.cv_area_col {
		display: flex;
	}
}

.cv_area_col .top_tit {
	flex-shrink: 0;
	margin: 0 40px 0 0;
	text-align: left;
}

/* footer */

footer {
	position: relative;
	background: linear-gradient(#FFFAF2, #EFD6B9);
	z-index: 1;
}

footer .circle {
	position: absolute;
	top: 0;
	right: 0;
	width: 40%;
	height: 300px;
	max-height: 100%;
	opacity: .2;
	z-index: -1;
	overflow: hidden;
}

footer .circle::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 130%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background: var(--red);
}

@media screen and (max-width: 767.9px) {
	footer .circle {
		width: 65%;
		height: 205px;
	}
}

footer .footer_inner {
	display: flex;
	flex-direction: column;
	gap: 20px;
	width: 90%;
	width: min(860px, 90%);
	margin-left: auto;
	margin-right: auto;
	padding: 40px 0;
}

footer .tit {
	margin-bottom: 8px;
	line-height: 1;
	text-align: center;
}

footer .tit a {
	font-size: 2.4rem;
	font-weight: bold;
	text-decoration: none;
}

footer .tit a img {
	max-width: 250px;
	max-height: 70px;
}

footer .menu-header-container .menu {
	columns: 2;
	column-gap: 30px;
	margin: 0;
	padding: 0;
	list-style: none;
	font-weight: 500;
}

footer .menu-header-container .menu li {margin-bottom: 5px;}

footer .menu-header-container .menu a {text-decoration: none;}

@media (hover: hover) {
	footer .menu-header-container .menu a:hover {text-decoration: underline;}
}

footer .menu-header-container .menu li.head_cv a {
	display: block;
	width: auto;
	padding: 0;
	min-height: 0;
	font-size: 1.6rem;
	font-weight: 500;
	color: var(--font);
	background: none;
	border: none;
	text-align: left;
}

footer .menu-header-container .menu li.head_cv a::before,
footer .menu-header-container .menu li.head_cv a::after {display: none;}

footer .copy {
	padding: 15px;
	font-size: 1.2rem;
	color: #fff;
	background: #333;
	text-align: center;
}

@media screen and (min-width: 768px) {
	footer .footer_inner {
		flex-direction: row;
		justify-content: space-between;
		gap: 30px;
		padding: 50px 0 32px;
	}

	footer .tit {text-align: left;}

	footer .tit a {font-size: 3.2rem;}

	footer .footer_r {
		display: flex;
		flex-direction: column;
		align-items: flex-end;
	}
}

/* pagetop */

#pagetop {
	display: block;
	position: fixed;
	right: 20px;
	bottom: 0;
	margin-bottom: 60px;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	color: transparent;
	font-size: 0;
	background: #fff;
	box-shadow: var(--shadow);
	border: none;
	outline: none;
	cursor: pointer;
	z-index: 8;
	transition: transform .4s;
}
#pagetop.foot {
	position: absolute;
	bottom: calc(100% - 85px);
	transition: none;
}

#pagetop::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: url(img/ico_arw.svg) 50% 50% / 8px auto no-repeat;
	transform: rotate(-90deg);
}

/* ご依頼 では非表示 */
main.contact ~ footer #pagetop {display: none;}


/* 汎用スタイル
======================================== */

.btn a,
input.btn,
button.btn {
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	width: 100%;
	max-width: 320px;
	min-height: 60px;
	margin-left: auto;
	margin-right: auto;
	padding: 5px 28px 5px 22px;
	border-radius: 34px;
	box-sizing: border-box;
	font-weight: bold;
	color: #fff;
	background: var(--main);
	border: 2px solid var(--main);
	text-decoration: none;
	text-align: center;
	overflow: hidden;
	z-index: 1;
	transition: box-shadow .3s, color .3s, background .3s, opacity .3s;
}

.btn a::after,
button.btn::after {
	content: "";
	position: absolute;
	top: 50%;
	left: -10%;
	width: 120%;
	aspect-ratio: 1 / 1;
	border-radius: 50%;
	background: #fff;
	transform: translateY(-50%) scale(0);
	transition: transform .3s;
	z-index: -1;
}

.btn a::before,
button.btn::before {
	content: "";
	position: absolute;
	top: 0;
	right: 15px;
	width: 8px;
	height: 100%;
	background: url(img/ico_arw_white.svg) 0 50% / 100% auto no-repeat;
	z-index: 1;
	transition: transform .3s, background-image .3s;
}

/* 白 */
.btn.white a,
input.btn.white,
button.btn.white {
	color: var(--font);
	background-color: #fff;
}
.btn.white a::after,
button.btn.white::after {
	background-color: var(--font);
}
.btn.white a::before,
button.btn.white::before {
	background-image: url(img/ico_arw.svg);
}

/* cv */
.btn.cv a,
input.btn.cv,
button.btn.cv {
	min-height: 68px;
	padding-left: 30px;
	padding-right: 30px;
	font-size: 1.8rem;
	background-color: var(--red);
	border-color: var(--red);
}
.btn.cv a::before,
button.btn.cv::before {
	position: static;
	width: 24px;
	height: 24px;
	margin-right: .6em;
	background-image: url(img/ico_mail.svg);
}

@media (hover: hover) {
	.btn a:hover,
	button.btn:hover {
		color: var(--main);
	}

	input.btn:hover {opacity: .7;}

	.btn a:hover::after,
	button.btn:hover::after {
		transform: translateY(-50%);
	}

	.btn a:hover::before,
	button.btn:hover::before {
		background-image: url(img/ico_arw.svg);
		transform: translateX(4px);
	}

	/* 白 */
	.btn.white a:hover,
	button.btn.white:hover {
		color: #fff;
	}
	.btn.white a:hover::before,
	button.btn.white:hover::before {
		background-image: url(img/ico_arw_white.svg);
	}

	/* cv */
	.btn.cv a:hover,
	input.btn.cv:hover,
	button.btn.cv:hover {
		color: var(--red);
	}

	.btn.cv a:hover::before,
	button.btn.cv:hover::before {
		background-image: url(img/ico_mail_color.svg);
		transform: none;
	}
}

.arw a {
	padding-left: 15px;
	background: url(img/ico_arw.svg) 0 .4em / 7px auto no-repeat;
}

.blank a {
	padding-left: 1.2em;
	background: url(img/ico_blank.svg) 0 .4em / auto .8em no-repeat;
}

span.blank {margin-left: .2em;}

.inline {display: inline-block;}

.fadeup,
.prx > * {transition: transform .4s, opacity .4s;}
.fadeup:not(.visible),
.prx:not(.visible) > * {
	transform: translateY(30px);
	opacity: 0;
}

.prx > *:nth-child(2) {transition-delay: .1s;}
.prx > *:nth-child(3) {transition-delay: .2s;}
.prx > *:nth-child(4) {transition-delay: .3s;}
.prx > *:nth-child(5) {transition-delay: .4s;}
.prx > *:nth-child(6) {transition-delay: .5s;}
.prx > *:nth-child(7) {transition-delay: .6s;}
.prx > *:nth-child(8) {transition-delay: .7s;}
.prx > *:nth-child(9) {transition-delay: .8s;}
.prx > *:nth-child(10) {transition-delay: .9s;}

.slidein {clip-path: inset(0 100% 0 0);}
.slidein.visible {animation: slidein .8s 0s cubic-bezier(1, 0, 0, 1) forwards;}

@keyframes slidein {
	0% {clip-path: inset(0 100% 0 0);}
	100% {clip-path: inset(0 0 0 0);}
}

@media (hover: hover) {
	.overimg {transition: opacity .3s;}
	.overimg:hover {opacity: .8;}
}

.mb0 {margin-bottom: 0px!important;}
.mb10 {margin-bottom: 10px!important;}
.mb20 {margin-bottom: 20px!important;}
.mb30 {margin-bottom: 30px!important;}
.mb40 {margin-bottom: 40px!important;}
.mb50 {margin-bottom: 50px!important;}
.mb60 {margin-bottom: 60px!important;}
.mb70 {margin-bottom: 70px!important;}
.mb80 {margin-bottom: 80px!important;}
.mb90 {margin-bottom: 90px!important;}
.mb100 {margin-bottom: 100px!important;}
.mb110 {margin-bottom: 110px!important;}
.mb120 {margin-bottom: 120px!important;}

@media screen and (max-width: 767.9px) {
	.mb10 {margin-bottom: 5px!important;}
	.mb20 {margin-bottom: 10px!important;}
	.mb30 {margin-bottom: 15px!important;}
	.mb40 {margin-bottom: 20px!important;}
	.mb50 {margin-bottom: 25px!important;}
	.mb60 {margin-bottom: 30px!important;}
	.mb70 {margin-bottom: 35px!important;}
	.mb80 {margin-bottom: 40px!important;}
	.mb90 {margin-bottom: 45px!important;}
	.mb100 {margin-bottom: 50px!important;}
	.mb110 {margin-bottom: 55px!important;}
	.mb120 {margin-bottom: 60px!important;}

	.mb_sp_0 {margin-bottom: 0px!important;}
	.mb_sp_10 {margin-bottom: 10px!important;}
	.mb_sp_20 {margin-bottom: 20px!important;}
	.mb_sp_30 {margin-bottom: 30px!important;}
	.mb_sp_40 {margin-bottom: 40px!important;}
	.mb_sp_50 {margin-bottom: 50px!important;}
	.mb_sp_60 {margin-bottom: 60px!important;}
	.mb_sp_70 {margin-bottom: 70px!important;}
	.mb_sp_80 {margin-bottom: 80px!important;}
	.mb_sp_90 {margin-bottom: 90px!important;}
	.mb_sp_100 {margin-bottom: 100px!important;}
	.mb_sp_110 {margin-bottom: 110px!important;}
	.mb_sp_120 {margin-bottom: 120px!important;}
}

.mt0 {margin-top: 0px!important;}
.mt10 {margin-top: 10px!important;}
.mt20 {margin-top: 20px!important;}
.mt30 {margin-top: 30px!important;}
.mt40 {margin-top: 40px!important;}
.mt50 {margin-top: 50px!important;}
.mt60 {margin-top: 60px!important;}
.mt70 {margin-top: 70px!important;}
.mt80 {margin-top: 80px!important;}
.mt90 {margin-top: 90px!important;}
.mt100 {margin-top: 100px!important;}
.mt110 {margin-top: 110px!important;}
.mt120 {margin-top: 120px!important;}

@media screen and (max-width: 767.9px) {
	.mt10 {margin-top: 5px!important;}
	.mt20 {margin-top: 10px!important;}
	.mt30 {margin-top: 15px!important;}
	.mt40 {margin-top: 20px!important;}
	.mt50 {margin-top: 25px!important;}
	.mt60 {margin-top: 30px!important;}
	.mt70 {margin-top: 35px!important;}
	.mt80 {margin-top: 40px!important;}
	.mt90 {margin-top: 45px!important;}
	.mt100 {margin-top: 50px!important;}
	.mt110 {margin-top: 55px!important;}
	.mt120 {margin-top: 60px!important;}

	.mt_sp_0 {margin-top: 0px!important;}
	.mt_sp_10 {margin-top: 10px!important;}
	.mt_sp_20 {margin-top: 20px!important;}
	.mt_sp_30 {margin-top: 30px!important;}
	.mt_sp_40 {margin-top: 40px!important;}
	.mt_sp_50 {margin-top: 50px!important;}
	.mt_sp_60 {margin-top: 60px!important;}
	.mt_sp_70 {margin-top: 70px!important;}
	.mt_sp_80 {margin-top: 80px!important;}
	.mt_sp_90 {margin-top: 90px!important;}
	.mt_sp_100 {margin-top: 100px!important;}
	.mt_sp_110 {margin-top: 110px!important;}
	.mt_sp_120 {margin-top: 120px!important;}
}

.p10 {padding: 10px!important;}
.p20 {padding: 20px!important;}
.p30 {padding: 30px!important;}
.p40 {padding: 40px!important;}
.p50 {padding: 50px!important;}
.p60 {padding: 60px!important;}
.p70 {padding: 70px!important;}
.p80 {padding: 80px!important;}
.p90 {padding: 90px!important;}
.p100 {padding: 100px!important;}
.p110 {padding: 110px!important;}
.p120 {padding: 120px!important;}

@media screen and (max-width: 767.9px) {
	.p10 {padding: 5px!important;}
	.p20 {padding: 10px!important;}
	.p30 {padding: 15px!important;}
	.p40 {padding: 20px!important;}
	.p50 {padding: 25px!important;}
	.p60 {padding: 30px!important;}
	.p70 {padding: 35px!important;}
	.p80 {padding: 40px!important;}
	.p90 {padding: 45px!important;}
	.p100 {padding: 50px!important;}
	.p110 {padding: 55px!important;}
	.p120 {padding: 60px!important;}

	.p_sp_10 {padding: 10px!important;}
	.p_sp_20 {padding: 20px!important;}
	.p_sp_30 {padding: 30px!important;}
	.p_sp_40 {padding: 40px!important;}
	.p_sp_50 {padding: 50px!important;}
	.p_sp_60 {padding: 60px!important;}
	.p_sp_70 {padding: 70px!important;}
	.p_sp_80 {padding: 80px!important;}
	.p_sp_90 {padding: 90px!important;}
	.p_sp_100 {padding: 100px!important;}
	.p_sp_110 {padding: 110px!important;}
	.p_sp_120 {padding: 120px!important;}
}

.pb10 {padding-bottom: 10px!important;}
.pb20 {padding-bottom: 20px!important;}
.pb30 {padding-bottom: 30px!important;}
.pb40 {padding-bottom: 40px!important;}
.pb50 {padding-bottom: 50px!important;}
.pb60 {padding-bottom: 60px!important;}
.pb70 {padding-bottom: 70px!important;}
.pb80 {padding-bottom: 80px!important;}
.pb90 {padding-bottom: 90px!important;}
.pb100 {padding-bottom: 100px!important;}
.pb110 {padding-bottom: 110px!important;}
.pb120 {padding-bottom: 120px!important;}

@media screen and (max-width: 767.9px) {
	.pb10 {padding-bottom: 5px!important;}
	.pb20 {padding-bottom: 10px!important;}
	.pb30 {padding-bottom: 15px!important;}
	.pb40 {padding-bottom: 20px!important;}
	.pb50 {padding-bottom: 25px!important;}
	.pb60 {padding-bottom: 30px!important;}
	.pb70 {padding-bottom: 35px!important;}
	.pb80 {padding-bottom: 40px!important;}
	.pb90 {padding-bottom: 45px!important;}
	.pb100 {padding-bottom: 50px!important;}
	.pb110 {padding-bottom: 55px!important;}
	.pb120 {padding-bottom: 60px!important;}

	.pb_sp_10 {padding-bottom: 10px!important;}
	.pb_sp_20 {padding-bottom: 20px!important;}
	.pb_sp_30 {padding-bottom: 30px!important;}
	.pb_sp_40 {padding-bottom: 40px!important;}
	.pb_sp_50 {padding-bottom: 50px!important;}
	.pb_sp_60 {padding-bottom: 60px!important;}
	.pb_sp_70 {padding-bottom: 70px!important;}
	.pb_sp_80 {padding-bottom: 80px!important;}
	.pb_sp_90 {padding-bottom: 90px!important;}
	.pb_sp_100 {padding-bottom: 100px!important;}
	.pb_sp_110 {padding-bottom: 110px!important;}
	.pb_sp_120 {padding-bottom: 120px!important;}
}

.pt10 {padding-top: 10px!important;}
.pt20 {padding-top: 20px!important;}
.pt30 {padding-top: 30px!important;}
.pt40 {padding-top: 40px!important;}
.pt50 {padding-top: 50px!important;}
.pt60 {padding-top: 60px!important;}
.pt70 {padding-top: 70px!important;}
.pt80 {padding-top: 80px!important;}
.pt90 {padding-top: 90px!important;}
.pt100 {padding-top: 100px!important;}
.pt110 {padding-top: 110px!important;}
.pt120 {padding-top: 120px!important;}

@media screen and (max-width: 767.9px) {
	.pt10 {padding-top: 5px!important;}
	.pt20 {padding-top: 10px!important;}
	.pt30 {padding-top: 15px!important;}
	.pt40 {padding-top: 20px!important;}
	.pt50 {padding-top: 25px!important;}
	.pt60 {padding-top: 30px!important;}
	.pt70 {padding-top: 35px!important;}
	.pt80 {padding-top: 40px!important;}
	.pt90 {padding-top: 45px!important;}
	.pt100 {padding-top: 50px!important;}
	.pt110 {padding-top: 55px!important;}
	.pt120 {padding-top: 60px!important;}

	.pt_sp_10 {padding-top: 10px!important;}
	.pt_sp_20 {padding-top: 20px!important;}
	.pt_sp_30 {padding-top: 30px!important;}
	.pt_sp_40 {padding-top: 40px!important;}
	.pt_sp_50 {padding-top: 50px!important;}
	.pt_sp_60 {padding-top: 60px!important;}
	.pt_sp_70 {padding-top: 70px!important;}
	.pt_sp_80 {padding-top: 80px!important;}
	.pt_sp_90 {padding-top: 90px!important;}
	.pt_sp_100 {padding-top: 100px!important;}
	.pt_sp_110 {padding-top: 110px!important;}
	.pt_sp_120 {padding-top: 120px!important;}
}

.fs_10 {font-size: 1rem!important;}
.fs_11 {font-size: 1.1rem!important;}
.fs_12 {font-size: 1.2rem!important;}
.fs_13 {font-size: 1.3rem!important;}
.fs_14 {font-size: 1.4rem!important;}
.fs_15 {font-size: 1.5rem!important;}
.fs_16 {font-size: 1.6rem!important;}
.fs_17 {font-size: 1.7rem!important;}
.fs_18 {font-size: 1.8rem!important;}
.fs_19 {font-size: 1.9rem!important;}
.fs_20 {font-size: 2.0rem!important;}
.fs_22 {font-size: 2.2rem!important;}
.fs_24 {font-size: 2.4rem!important;}
.fs_26 {font-size: 2.6rem!important;}
.fs_28 {font-size: 2.8rem!important;}
.fs_30 {font-size: 3.0rem!important;}
.fs_32 {font-size: 3.2rem!important;}
.fs_34 {font-size: 3.4rem!important;}
.fs_36 {font-size: 3.6rem!important;}
.fs_38 {font-size: 3.8rem!important;}
.fs_40 {font-size: 4.0rem!important;}

@media screen and (max-width: 767.9px) {
	.fs_sp_10 {font-size: 1rem!important;}
	.fs_sp_11 {font-size: 1.1rem!important;}
	.fs_sp_12 {font-size: 1.2rem!important;}
	.fs_sp_13 {font-size: 1.3rem!important;}
	.fs_sp_14 {font-size: 1.4rem!important;}
	.fs_sp_15 {font-size: 1.5rem!important;}
	.fs_sp_16 {font-size: 1.6rem!important;}
	.fs_sp_17 {font-size: 1.7rem!important;}
	.fs_sp_18 {font-size: 1.8rem!important;}
	.fs_sp_19 {font-size: 1.9rem!important;}
	.fs_sp_20 {font-size: 2.0rem!important;}
	.fs_sp_22 {font-size: 2.2rem!important;}
	.fs_sp_24 {font-size: 2.4rem!important;}
	.fs_sp_26 {font-size: 2.6rem!important;}
	.fs_sp_28 {font-size: 2.8rem!important;}
	.fs_sp_30 {font-size: 3.0rem!important;}
	.fs_sp_32 {font-size: 3.2rem!important;}
	.fs_sp_34 {font-size: 3.4rem!important;}
	.fs_sp_36 {font-size: 3.6rem!important;}
	.fs_sp_38 {font-size: 3.8rem!important;}
	.fs_sp_40 {font-size: 4.0rem!important;}
}

.lh_10 {line-height: 1!important;}
.lh_12 {line-height: 1.2!important;}
.lh_14 {line-height: 1.4!important;}
.lh_15 {line-height: 1.5!important;}
.lh_16 {line-height: 1.6!important;}
.lh_18 {line-height: 1.8!important;}
.lh_20 {line-height: 2!important;}

.color_white {color: #fff!important;}

.tal {text-align: left!important;}
.tac {text-align: center!important;}
.tar {text-align: right!important;}

@media screen and (max-width: 767.9px) {
	.sp_tal {text-align: left!important;}
	.sp_tac {text-align: center!important;}
	.sp_tar {text-align: right!important;}
}

.fw_normal {font-weight: 400!important;}
.fw_medium {font-weight: 500!important;}
.fw_bold {font-weight: 600!important;}

.td_none {text-decoration: none!important;}
.td_underline {text-decoration: underline!important;}

@media screen and (min-width: 768px) {
	.pc_none {display: none!important;}
}
@media screen and (max-width: 767.9px) {
	.sp_none {display: none!important;}
}

.hidden {display: none!important;}
.visibility_hidden {visibility: hidden!important;}

.clearfix::after {
	content: "";
	display: block;
	clear: both;
}

/* Slider */
.slick-slider {
	position: relative;
	display: block;
	box-sizing: border-box;
	-webkit-user-select: none;
	-moz-user-select: none;
	-ms-user-select: none;
	user-select: none;
	-webkit-touch-callout: none;
	-khtml-user-select: none;
	-ms-touch-action: pan-y;
	touch-action: pan-y;
	-webkit-tap-highlight-color: transparent;
}
.slick-list {
	position: relative;
	display: block;
	overflow: hidden;
	margin: 0;
	padding: 0;
}
.slick-list:focus {outline: none;}
.slick-list.dragging {
	cursor: pointer;
	cursor: hand;
}
.slick-slider .slick-track,
.slick-slider .slick-list {
	-webkit-transform: translate3d(0, 0, 0);
	-moz-transform: translate3d(0, 0, 0);
	-ms-transform: translate3d(0, 0, 0);
	-o-transform: translate3d(0, 0, 0);
	transform: translate3d(0, 0, 0);
}
.slick-track {
	position: relative;
	top: 0;
	left: 0;
	display: block;
	margin-left: auto;
	margin-right: auto;
}
.slick-track:before,
.slick-track:after {
	display: table;
	content: '';
}
.slick-track:after {clear: both;}
.slick-loading .slick-track {visibility: hidden;}
.slick-slide {
	display: none;
	float: left;
	height: 100%;
	min-height: 1px;
}
[dir='rtl'] .slick-slide {float: right;}
.slick-slide img {display: block;}
.slick-slide.slick-loading img {display: none;}
.slick-slide.dragging img{pointer-events: none;}
.slick-initialized .slick-slide {display: block;}
.slick-loading .slick-slide {visibility: hidden;}
.slick-vertical .slick-slide {
	display: block;
	height: auto;
	border: 1px solid transparent;
}
.slick-arrow.slick-hidden {display: none;}
/* Slider */

/* Arrows */
.slick-arrow {
	font-size: 0;
	line-height: 0;
	position: absolute;
	top: min(123px, calc(25vw - 20px));
	display: block;
	width: 40px;
	height: 40px;
	padding: 0;
	border-radius: 50%;
	cursor: pointer;
	color: transparent;
	border: none;
	outline: none;
	background: none;
	box-shadow: var(--shadow);
	z-index: 2;
}
@media (hover: hover) {
	.slick-arrow:hover,
	.slick-arrow:focus {
		color: transparent;
		outline: none;
		background: transparent;
	}
}

.slick-arrow.slick-disabled {opacity: .25;}

.slick-arrow::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border-radius: 50%;
	background: url(img/ico_arw_white.svg) 55% 50% / 8px auto no-repeat var(--main);
}

.slick-prev::before {transform: rotate(180deg);}

.slick-prev {left: max(2%, calc(50% - 316px));}
[dir='rtl'] .slick-prev {
	right: max(2%, calc(50% - 316px));
	left: auto;
}
.slick-next {right: max(2%, calc(50% - 316px));}
[dir='rtl'] .slick-next {
	right: auto;
	left: max(2%, calc(50% - 316px));
}
/* Dots */
.slick-dotted.slick-slider {margin-bottom: 30px;}
.slick-dots {
	position: absolute;
	bottom: -35px;
	display: block;
	width: 100%;
	padding: 0;
	margin: 0;
	list-style: none;
	text-align: center;
}
.slick-dots li {
	position: relative;
	display: inline-block;
	margin: 0 5px;
}
.slick-dots li button {
	font-size: 0;
	line-height: 0;
	display: block;
	width: 10px;
	height: 10px;
	padding: 0;
	border-radius: 50%;
	cursor: pointer;
	color: transparent;
	border: 0;
	outline: none;
	background: var(--bg_secondary);
}
.slick-dots li.slick-active button {background: var(--main);}

@media (hover: hover) {
	.slick-dots li button:hover,
	.slick-dots li button:focus {outline: none;}
}

/* Magnific Popup CSS */
.mfp-bg {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1042;
	overflow: hidden;
	position: fixed;
	background: #0b0b0b;
	opacity: .8;
}
.mfp-wrap {
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 1043;
	position: fixed;
	outline: none !important;
	-webkit-backface-visibility: hidden;
}
.mfp-container {
	text-align: center;
	position: absolute;
	width: 100%;
	height: 100%;
	left: 0;
	top: 0;
	padding: 0 8px;
	box-sizing: border-box;
}
.mfp-container:before {
	content: '';
	display: inline-block;
	height: 100%;
	vertical-align: middle;
}
.mfp-align-top .mfp-container:before {display: none;}
.mfp-content {
	position: relative;
	display: inline-block;
	vertical-align: middle;
	margin: 0 auto;
	text-align: left;
	z-index: 1045;
}
.mfp-inline-holder .mfp-content,
.mfp-ajax-holder .mfp-content {
	width: 100%;
	cursor: auto;
}
.mfp-ajax-cur {cursor: progress;}
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
	cursor: -moz-zoom-out;
	cursor: -webkit-zoom-out;
	cursor: zoom-out;
}
.mfp-zoom {
	cursor: pointer;
	cursor: -webkit-zoom-in;
	cursor: -moz-zoom-in;
	cursor: zoom-in;
}
.mfp-auto-cursor .mfp-content {cursor: auto;}
.mfp-close,
.mfp-arrow,
.mfp-preloader,
.mfp-counter {
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}
.mfp-loading.mfp-figure {display: none;}
.mfp-hide {display: none !important;}
.mfp-preloader {
	color: #CCC;
	position: absolute;
	top: 50%;
	width: auto;
	text-align: center;
	margin-top: -.8em;
	left: 8px;
	right: 8px;
	z-index: 1044;
}
.mfp-preloader a {color: #CCC;}
.mfp-preloader a:hover {color: #FFF;}
.mfp-s-ready .mfp-preloader {display: none;}
.mfp-s-error .mfp-content {display: none;}
button.mfp-close,
button.mfp-arrow {
	overflow: visible;
	cursor: pointer;
	background: transparent;
	border: 0;
	-webkit-appearance: none;
	display: block;
	outline: none;
	padding: 0;
	z-index: 1046;
	box-shadow: none;
	touch-action: manipulation;
}
button::-moz-focus-inner {
	padding: 0;
	border: 0;
}
.mfp-close {
	width: 44px;
	height: 44px;
	line-height: 44px;
	position: absolute;
	right: 0;
	top: 0;
	text-decoration: none;
	text-align: center;
	opacity: .65;
	padding: 0 0 18px 10px;
	color: #FFF;
	font-style: normal;
	font-size: 28px;
	font-family: Arial, Baskerville, monospace;
}
.mfp-close:hover,
.mfp-close:focus {opacity: 1;}
.mfp-close:active {top: 1px;}
.mfp-close-btn-in .mfp-close {color: #333;}
.mfp-image-holder .mfp-close,
.mfp-iframe-holder .mfp-close {
	color: #FFF;
	right: -6px;
	text-align: right;
	padding-right: 6px;
	width: 100%;
}
.mfp-counter {
	position: absolute;
	top: 0;
	right: 0;
	color: #CCC;
	font-size: 12px;
	line-height: 18px;
	white-space: nowrap;
}
.mfp-arrow {
	position: absolute;
	opacity: .65;
	margin: 0;
	top: 50%;
	margin-top: -55px;
	padding: 0;
	width: 90px;
	height: 110px;
	-webkit-tap-highlight-color: transparent;
}
.mfp-arrow:active {margin-top: -54px;}
.mfp-arrow:hover,
.mfp-arrow:focus {opacity: 1;}
.mfp-arrow:before,
.mfp-arrow:after {
	content: '';
	display: block;
	width: 0;
	height: 0;
	position: absolute;
	left: 0;
	top: 0;
	margin-top: 35px;
	margin-left: 35px;
	border: medium inset transparent;
}
.mfp-arrow:after {
	border-top-width: 13px;
	border-bottom-width: 13px;
	top: 8px;
}
.mfp-arrow:before {
	border-top-width: 21px;
	border-bottom-width: 21px;
	opacity: .7;
}
.mfp-arrow-left {left: 0;}
.mfp-arrow-left:after {
	border-right: 17px solid #FFF;
	margin-left: 31px;
}
.mfp-arrow-left:before {
	margin-left: 25px;
	border-right: 27px solid #3F3F3F;
}
.mfp-arrow-right {right: 0;}
.mfp-arrow-right:after {
	border-left: 17px solid #FFF;
	margin-left: 39px;
}
.mfp-arrow-right:before {border-left: 27px solid #3F3F3F;}
.mfp-iframe-holder {
	padding-top: 40px;
	padding-bottom: 40px;
}
.mfp-iframe-holder .mfp-content {
	line-height: 0;
	width: 100%;
	max-width: 900px;
}
.mfp-iframe-holder .mfp-close {top: -40px;}
.mfp-iframe-scaler {
	width: 100%;
	height: 0;
	overflow: hidden;
	padding-top: 56.25%;
}
.mfp-iframe-scaler iframe {
	position: absolute;
	display: block;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	box-shadow: 0 0 8px rgba(0, 0, 0, .6);
	background: #000;
}
/* Main image in popup */
img.mfp-img {
	width: auto;
	max-width: 100%;
	height: auto;
	display: block;
	line-height: 0;
	box-sizing: border-box;
	padding: 40px 0 40px;
	margin: 0 auto;
}
/* The shadow behind the image */
.mfp-figure {line-height: 0;}
.mfp-figure:after {
	content: '';
	position: absolute;
	left: 0;
	top: 40px;
	bottom: 40px;
	display: block;
	right: 0;
	width: auto;
	height: auto;
	z-index: -1;
	box-shadow: 0 0 8px rgba(0, 0, 0, .6);
	background: #444;
}
.mfp-figure small {
	color: #BDBDBD;
	display: block;
	font-size: 12px;
	line-height: 14px;
}
.mfp-figure figure {margin: 0;}
.mfp-bottom-bar {
	margin-top: -36px;
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	cursor: auto;
}
.mfp-title {
	text-align: left;
	line-height: 18px;
	color: #F3F3F3;
	word-wrap: break-word;
	padding-right: 36px;
}
.mfp-image-holder .mfp-content {max-width: 100%;}
.mfp-gallery .mfp-image-holder .mfp-figure {cursor: pointer;}
@media screen and (max-width: 800px) and (orientation: landscape), screen and (max-height: 300px) {
	/**
	* Remove all paddings around the image on small screen
	*/
	.mfp-img-mobile .mfp-image-holder {
		padding-left: 0;
		padding-right: 0;
	}
	.mfp-img-mobile img.mfp-img {padding: 0;}
	.mfp-img-mobile .mfp-figure:after {
		top: 0;
		bottom: 0;
	}
	.mfp-img-mobile .mfp-figure small {
		display: inline;
		margin-left: 5px;
	}
	.mfp-img-mobile .mfp-bottom-bar {
		background: rgba(0, 0, 0, .6);
		bottom: 0;
		margin: 0;
		top: auto;
		padding: 3px 5px;
		position: fixed;
		box-sizing: border-box;
	}
	.mfp-img-mobile .mfp-bottom-bar:empty {padding: 0;	}
	.mfp-img-mobile .mfp-counter {
		right: 5px;
		top: 3px;
	}
	.mfp-img-mobile .mfp-close {
		top: 0;
		right: 0;
		width: 35px;
		height: 35px;
		line-height: 35px;
		background: rgba(0, 0, 0, .6);
		position: fixed;
		text-align: center;
		padding: 0;
	}
}
@media all and (max-width: 900px) {
	.mfp-arrow {
		-webkit-transform: scale(.75);
		transform: scale(.75);
	}
	.mfp-arrow-left {
		-webkit-transform-origin: 0;
		transform-origin: 0;
	}
	.mfp-arrow-right {
		-webkit-transform-origin: 100%;
		transform-origin: 100%;
	}
	.mfp-container {
		padding-left: 6px;
		padding-right: 6px;
	}
}