/* ==================================
= minins 
================================== */
/* ==================================
=  basic settings
================================== */
/* ==================================
= content 
================================== */
body:not(.home) #primary {
	padding-top: 8.5rem;
	padding-bottom: 10rem;
}

#wrapper,
body {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	min-height: 100vh;
}

#content_wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	width: 100%;
	min-height: 100vh;
	margin: 0 auto;
}

#main_column {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-flex: 1;
	-ms-flex: 1 0 auto;
	flex: 1 0 auto;
	min-height: 1px;
}

#primary {
	-webkit-box-flex: 1;
	-ms-flex: 1 0 auto;
	flex: 1 0 auto;
	min-width: 100px;
	overflow-x: hidden;
}

.content__frame {
	width: 100%;
	margin: 0 auto;
	padding: 0 4rem;
}

.has-sidebar-col {
	padding-top: 6.5rem;
	padding-bottom: 9.1rem;
}

/* ==================================
= footer 
================================== */
.page_top_btn {
	border-color: #3399cc;
	background-color: rgba(51, 153, 204, 0.9);
	-webkit-box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8), 0 0 0 2px rgba(51, 153, 204, 0.8);
	box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.8), 0 0 0 2px rgba(51, 153, 204, 0.8);
}

#footer {
	position: relative;
	max-width: 100%;
	margin-top: auto;
	padding: 2rem 2rem 4.6rem;
	border-top: 1px solid #3399cc;
	background-color: #3399cc;
	color: #fff;
}

#footer::before {
	display: block;
	position: absolute;
	top: -2.8571428571vw;
	left: 0;
	width: 100%;
	height: 2.8571428571vw;
	background: url(../img/common/bg_footer_up.svg) no-repeat top center;
	background-size: 100% auto;
	content: "";
}

#footer .footer__wrap {
	margin: 0 auto;
}

#footer .footer__logo {
	grid-area: logo;
	text-align: left;
}

#footer .footer__logo a img {
	-webkit-transition: opacity 0.3s ease-in;
	transition: opacity 0.3s ease-in;
}

#footer .footer__logo a:hover img {
	opacity: 0.7;
}

#footer .footer__info {
	grid-area: info;
}

#footer .footer__info .info__name {
	margin-top: 2rem;
	font-weight: bold;
}

#footer .footer__info .info__address {
	margin-top: 2.4rem;
	line-height: 1.6;
}

#footer .footer__info .info__address .address {
	font-size: 1.4rem;
}

#footer .footer__info .info__tel {
	font-size: 1.4rem;
}

#footer .footer__sns_list {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	margin-top: 2.7rem;
}

#footer .footer__sns_list li:not(:first-child) {
	margin-left: 2.6rem;
}

#footer .footer__sns_list li a:hover i {
	opacity: 0.7;
}

#footer .footer__sns_list i {
	font-size: 3rem;
	-webkit-transition: opacity 0.3s ease-in-out;
	transition: opacity 0.3s ease-in-out;
}

#footer .footer__menu {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	position: relative;
	grid-area: menu;
	-webkit-box-align: end;
	-ms-flex-align: end;
	align-items: flex-end;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	margin-top: 3.2rem;
	padding-bottom: 0;
}

#footer .footer__menu::before {
	position: absolute;
	top: 0;
	left: 0;
	content: "";
}

#footer .footer__menu ul li {
	font-size: 1.4rem;
	letter-spacing: 0.05em;
}

#footer .footer__menu ul li::before {
	margin-right: 1.4rem;
	content: "\f0da";
	font-weight: 900;
	font-size: 1.6rem;
	font-family: "Font Awesome 5 Free";
}

#footer .footer__menu ul li a {
	text-decoration: underline;
}

#footer .footer__menu ul li a:hover {
	text-decoration: none;
}

#footer .footer__menu_left li:first-child::before {
	margin-right: 0.8rem;
	margin-left: -0.6rem;
	content: "\f015";
}

#footer .footer__copy {
	grid-area: copy;
	margin-top: 1.8rem;
	font-size: 1.2rem;
}

#footer a {
	color: #fff;
}

#footer #copy_right {
	color: #000;
	font-size: 1.2rem;
}

/*----------  gnav  ----------*/
.gmenu {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: end;
	-ms-flex-pack: end;
	justify-content: flex-end;
}

.gmenu > li > a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	position: relative;
	-webkit-box-orient: vertical;
	-webkit-box-direction: normal;
	-ms-flex-direction: column;
	flex-direction: column;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	padding-bottom: 0.4rem;
}

.gmenu li > a {
	line-height: 1.4;
}

.gmenu li .title {
	font-weight: bold;
	font-size: 1.6rem;
	letter-spacing: 0;
}

.gmenu li .title__attr {
	margin-top: -0.4rem;
	color: #ccc;
	font-size: 1.2rem;
	line-height: 1.4;
	letter-spacing: 0;
}

.gmenu li.menu-item-has-children {
	position: relative;
}

.gmenu li.menu-item-has-children.is-open::before {
	bottom: -1rem;
	opacity: 1;
}

.gmenu li.menu-item-has-children .sub-menu-icon {
	display: none;
	position: absolute;
	top: 1.6vw;
	right: 0;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	width: 6.9333333333vw;
	height: 6.9333333333vw;
	border: 1px solid #ccc;
}

.gmenu li.menu-item-has-children .sub-menu-icon::before {
	content: "\f078";
	font-weight: 900;
	font-size: 3.7333333333vw;
	font-family: "Font Awesome 5 Free";
	-webkit-transition: -webkit-transform 0.2s ease-in-out;
	transition: -webkit-transform 0.2s ease-in-out;
	transition: transform 0.2s ease-in-out;
	transition: transform 0.2s ease-in-out, -webkit-transform 0.2s ease-in-out;
}

.gmenu li.menu-item-has-children .sub-menu-icon.is-on::before {
	-webkit-transform: rotate(-180deg);
	transform: rotate(-180deg);
	-webkit-transform-origin: center;
	transform-origin: center;
}

.gmenu .sub-menu {
	display: none;
}

.gmenu .sub-menu a {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: start;
	-ms-flex-pack: start;
	justify-content: flex-start;
	padding: 1rem 0.6rem;
	line-height: 1.6;
}

/* ==================================
= header 
================================== */
#header {
	z-index: 1000;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	background-color: rgba(255, 255, 255, 0.9);
	-webkit-box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.9);
	box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.9);
}

#header::before {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 0.5rem;
	background-color: #3399cc;
	content: "";
}

#header.is-sticky {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
}

#header.is-sticky .header__logo h1 {
	line-height: 1;
}

#header.is-sticky .header__menu .title__attr {
	display: none;
}

#header .header__wrap {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

#header .header__logo {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

#header .header__logo img {
	width: 320px;
}

#header .header__menu.is-open {
	display: block !important;
}

#header .header__menu .menu__search {
	margin-bottom: 5.3333333333vw;
}

#header .header__menu .menu__search .screen-reader-text {
	display: none;
}

#header .header__menu .menu__search .search-form {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
}

#header .header__menu .menu__search .search-form label {
	-webkit-box-flex: 1;
	-ms-flex: 1;
	flex: 1;
}

#header .header__menu .menu__search .search-submit {
	width: 32vw;
	margin-left: 2.6666666667vw;
}

#header .header__drawer_navi {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	margin-left: auto;
}

#header .header__drawer_navi button {
	position: relative;
	width: 10.6666666667vw;
	height: 10.6666666667vw;
	padding: 0;
	background-color: transparent;
}

#header .header__drawer_navi span {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: inline-block;
	position: absolute;
	right: 0;
	left: 0;
	width: 6.6666666667vw;
	height: 0.5333333333vw;
	margin: 0 auto;
	background-color: #000;
	-webkit-transition: all 0.2s ease;
	transition: all 0.2s ease;
}

#header .header__drawer_navi span:nth-of-type(1) {
	top: 2.1333333333vw;
}

#header .header__drawer_navi span:nth-of-type(2) {
	top: 4.9333333333vw;
}

#header .header__drawer_navi span:nth-of-type(3) {
	top: 8vw;
}

#header .header__drawer_navi .is-open span:nth-child(2) {
	opacity: 0;
}

#wpadminbar + #header {
	top: 32px;
}

/* ==================================
= page common
================================== */
.page-header {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	position: relative;
	-webkit-box-align: end;
	-ms-flex-align: end;
	align-items: flex-end;
	min-height: 10rem;
	margin: 0 auto;
	padding: 0 4rem 2rem;
}

.page-header::before {
	z-index: -1;
	position: absolute;
	top: 0;
	left: 0;
	width: 100vw;
	height: 100%;
	margin: 0 auto;
	background-color: #3392c5;
	content: "";
}

.page-header .page-title {
	color: #fff;
	font-weight: normal;
	font-size: 3rem;
	line-height: 1.75;
	letter-spacing: 0.8em;
}

.page-header .page-description {
	margin-top: auto;
	margin-left: auto;
	color: #6bd1f0;
	font-weight: bold;
	font-size: 1.6rem;
	letter-spacing: 0.4em;
}

.updated:not(.published) {
	display: none;
}

/*----------  pager  ----------*/
.pagination {
	margin: 3.8rem 0;
}

.pagination ul {
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: stretch;
	-ms-flex-align: stretch;
	align-items: stretch;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.pagination ul li {
	margin: 0 0.8rem;
	/*
			&:not(.prev):not(.next) {
				a {
					background-color: #dfdfdf;

					&:hover {
						//  border: 2px solid #20b1d3;
						background-color: #3399cc;
					}
				}

				a,
				span.current {
					color: #fff;
					//	border-radius: 50%;
				
				}
			}
*/
}

.pagination ul li a,
.pagination ul li span.current {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-align: center;
	-ms-flex-align: center;
	align-items: center;
	-webkit-box-pack: center;
	-ms-flex-pack: center;
	justify-content: center;
	width: 4rem;
	height: 100%;
	height: 4rem;
	border: 1px solid #e7e7e7;
	line-height: 1.2;
	text-decoration: none;
	-webkit-transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
	transition: background-color 0.2s ease-in-out, color 0.2s ease-in-out;
}

.pagination ul li.active span.current {
	background-color: #3399cc;
	color: #fff;
}

.pagination ul li.next a, .pagination ul li.prev a {
	padding: 1rem 0.6rem;
}

.pagination ul li.next a:hover span, .pagination ul li.prev a:hover span {
	color: #3399cc;
	color: #fff;
}

/* ==================================
= side bar 
================================== */
#secondary .widget:not(:first-child) {
	margin-top: 4rem;
}

#secondary .widget-title {
	position: relative;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	font-size: 1.8rem;
}

#secondary .widget-title::before {
	display: block;
	position: absolute;
	bottom: -1px;
	width: 30%;
	overflow: hidden;
	border-bottom: 1px solid #337ab7;
	content: ".";
	line-height: 0;
}

#secondary .widget ul {
	margin: 1.6rem 0 0 0;
	padding: 0;
	list-style: none;
}

#secondary .widget ul li {
	border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

#secondary .widget ul a {
	display: block;
	padding: 0.4rem;
}

@media screen and (max-width: 767px) {
	body:not(.home) #primary {
		padding-top: 16vw;
		padding-bottom: 16vw;
	}
	.content__frame {
		padding: 0 5.3333333333vw;
	}
	.has-sidebar-col {
		padding-top: 8.5333333333vw;
		padding-bottom: 4.2666666667vw;
	}
	.has-sidebar-col .widget-area {
		margin-top: 6.4vw;
	}
	#footer {
		padding: 4.2666666667vw 4.2666666667vw 6.4vw;
	}
	#footer .footer__logo {
		text-align: center;
	}
	#footer .footer__logo img {
		max-width: 80vw;
	}
	#footer .footer__info .info__name {
		margin-top: 3.2vw;
	}
	#footer .footer__info .info__address {
		margin-top: 3.2vw;
	}
	#footer .footer__info .info__address .address {
		font-size: 2.9333333333vw;
	}
	#footer .footer__info .info__tel {
		font-size: 2.9333333333vw;
	}
	#footer .footer__sns_list {
		-webkit-box-pack: center;
		-ms-flex-pack: center;
		justify-content: center;
		margin-top: 4.2666666667vw;
	}
	#footer .footer__sns_list li:not(:first-child) {
		margin-left: 4.2666666667vw;
	}
	#footer .footer__sns_list i {
		font-size: 6.4vw;
	}
	#footer .footer__menu {
		margin-top: 5.3333333333vw;
		padding-top: 5.3333333333vw;
	}
	#footer .footer__menu::before {
		width: 100%;
		height: 0.1rem;
		border-top: 1px dashed #fff;
	}
	#footer .footer__menu ul {
		width: 50%;
		padding: 0 2.1333333333vw;
	}
	#footer .footer__menu ul li {
		font-size: 3.4666666667vw;
	}
	#footer .footer__menu ul li::before {
		margin-right: 2.6666666667vw;
		font-size: 3.7333333333vw;
	}
	#footer .footer__menu_left li:first-child::before {
		margin-right: 1.6vw;
		margin-left: -1.6vw;
	}
	#footer .footer__menu_right {
		margin-bottom: 6.9333333333vw;
	}
	#footer .footer__copy {
		font-size: 2.6666666667vw;
		text-align: center;
	}
	.gmenu {
		-webkit-box-orient: vertical;
		-webkit-box-direction: normal;
		-ms-flex-direction: column;
		flex-direction: column;
		-webkit-box-align: start;
		-ms-flex-align: start;
		align-items: flex-start;
	}
	.gmenu > li {
		width: 100%;
		border-bottom: 1px solid #ccc;
	}
	.gmenu > li:first-child {
		border-top: 1px solid #ccc;
	}
	.gmenu > li > a {
		-webkit-box-align: start;
		-ms-flex-align: start;
		align-items: flex-start;
		width: 100%;
		padding: 2.6666666667vw 1.6vw;
	}
	.gmenu li .title {
		font-size: 3.7333333333vw;
	}
	.gmenu li .title__attr {
		display: none;
	}
	.gmenu li.menu-item-has-children > a {
		width: calc(100% - 2.8rem);
	}
	.gmenu li.menu-item-has-children .sub-menu-icon {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
	}
	.gmenu .sub-menu {
		display: block;
		height: 0;
		padding: 0;
		overflow: hidden;
	}
	.gmenu .sub-menu.is-on {
		height: auto;
	}
	.gmenu .sub-menu li {
		padding-left: 4.2666666667vw;
		border-top: 1px solid #ccc;
	}
	.gmenu .sub-menu a {
		padding: 2.6666666667vw 1.6vw;
	}
	#header {
		padding: 2.6666666667vw 2.6666666667vw 2.6666666667vw 4.2666666667vw;
	}
	#header::before {
		height: 1.3333333333vw;
	}
	#header .header__logo {
		width: 53.3333333333vw;
		line-height: 1;
	}
	#header .header__logo img {
		width: 100%;
	}
	#header .header__menu {
		-webkit-overflow-scrolling: touch;
		display: none;
		position: fixed;
		top: 16vw;
		left: 0;
		width: 100%;
		height: calc(100% - 16vw);
		padding: 2.6666666667vw;
		overflow-x: hidden;
		overflow-y: scroll;
		background-color: rgba(255, 255, 255, 0.9);
	}
	#header .header__drawer_navi .is-open span {
		left: 0;
		width: 9.0666666667vw;
	}
	#header .header__drawer_navi .is-open span:nth-of-type(1) {
		top: -0.5333333333vw;
		-webkit-transform: translateY(5.3333333333vw) rotate(-45deg);
		transform: translateY(5.3333333333vw) rotate(-45deg);
	}
	#header .header__drawer_navi .is-open span:nth-of-type(3) {
		top: 10.1333333333vw;
		-webkit-transform: translateY(-5.3333333333vw) rotate(45deg);
		transform: translateY(-5.3333333333vw) rotate(45deg);
	}
	#wpadminbar + #header {
		top: 46px;
	}
	#wpadminbar + #header.is-sticky {
		top: 0;
	}
	.page-header {
		min-height: 21.3333333333vw;
		padding: 0 5.3333333333vw 5.3333333333vw;
	}
	.page-header .page-title {
		font-size: 4.8vw;
		letter-spacing: 0.5em;
	}
	.page-header .page-description {
		font-size: 3.7333333333vw;
	}
	.pagination {
		margin: 5.3333333333vw 0;
	}
	.pagination ul li {
		margin: 0 2.1333333333vw;
	}
	.pagination ul li a,
	.pagination ul li span.current {
		width: 10.6666666667vw;
		height: 10.6666666667vw;
	}
	#secondary .widget:not(:first-child) {
		margin-top: 5.3333333333vw;
	}
	#secondary .widget-title {
		font-size: 4.2666666667vw;
	}
	#secondary .widget ul {
		margin: 4.2666666667vw 0 0 0;
	}
	#secondary .widget ul a {
		padding: 1.0666666667vw;
	}
}

@media screen and (min-width: 768px) {
	.content__frame {
		width: 1180px;
	}
	.has-sidebar-col {
		display: -ms-grid;
		display: grid;
		-ms-grid-columns: 300px 8rem 1fr;
		grid-template-columns: 300px 1fr;
		grid-template-areas: "sidebar main";
		gap: 0px 8rem;
	}
	.has-sidebar-col .site-main {
		grid-area: main;
	}
	.has-sidebar-col .widget-area {
		grid-area: sidebar;
	}
	.has-sidebar-col .site-main {
		-ms-grid-row: 1;
		-ms-grid-column: 3;
	}
	.has-sidebar-col .widget-area {
		-ms-grid-row: 1;
		-ms-grid-column: 1;
	}
	#footer .footer__wrap {
		display: -ms-grid;
		display: grid;
		-ms-grid-rows: auto 0px auto;
		grid-template-rows: auto auto;
		-ms-grid-columns: 1fr 0px 410px;
		grid-template-columns: 1fr 410px;
		grid-template-areas: "logo logo" "info menu" "copy copy";
		width: 1100px;
		gap: 0px 0px;
	}
	#footer .footer__menu::before {
		width: 0.1rem;
		height: 100%;
		border-left: 1px dashed #fff;
	}
	#footer .footer__menu_left {
		padding-left: 6.8rem;
	}
	#footer .footer__menu_right {
		padding-bottom: 3rem;
		padding-left: 5rem;
	}
	#footer .footer__logo {
		-ms-grid-row: 1;
		-ms-grid-column: 1;
		-ms-grid-column-span: 3;
	}
	#footer .footer__info {
		-ms-grid-row: 3;
		-ms-grid-column: 1;
	}
	#footer .footer__menu {
		-ms-grid-row: 3;
		-ms-grid-column: 3;
	}
	#footer .footer__copy {
		-ms-grid-row: 5;
		-ms-grid-column: 1;
		-ms-grid-column-span: 3;
	}
	.gmenu > li:not(:first-child) {
		padding-left: 4.8rem;
	}
	.gmenu li > a::before {
		position: absolute;
		bottom: 0;
		left: 0;
		width: 0;
		height: 1px;
		background-color: #3399cc;
		content: "";
		-webkit-transition: width 0.2s ease-in-out;
		transition: width 0.2s ease-in-out;
	}
	.gmenu li > a:hover::before {
		width: 100%;
	}
	.gmenu li.menu-item-has-children::before {
		z-index: 1000;
		position: absolute;
		bottom: -2rem;
		left: 80px;
		padding: 0;
		-webkit-transform: translateX(-50%);
		transform: translateX(-50%);
		border: 1rem solid transparent;
		border-bottom-color: #3399cc;
		content: "";
		opacity: 0;
		-webkit-transition: all 0.2s ease-in;
		transition: all 0.2s ease-in;
	}
	.gmenu .sub-menu {
		position: absolute;
		bottom: -6rem;
		left: -45px;
		width: 240px;
		margin: 0 auto;
		padding: 1.6rem 0.2rem 0;
		opacity: 0;
	}
	.gmenu .sub-menu::before {
		display: block;
		z-index: -1;
		position: absolute;
		top: 1rem;
		left: 0;
		width: 100%;
		height: calc(100% - 1rem);
		background-color: #3399cc;
		content: "";
	}
	.gmenu .sub-menu li:not(:first-child) {
		border-top: 1px solid #ccc;
	}
	.gmenu .sub-menu a {
		color: #fff;
	}
	#header {
		min-width: 1280px;
		min-height: 8rem;
		padding: 1.2rem 2rem;
	}
	#header.is-sticky {
		min-height: 6.5rem;
	}
	#header.is-sticky .header__logo img {
		width: 304px;
	}
	#header .header__logo {
		width: 450px;
		padding-left: 130px;
	}
	#header .header__menu {
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
		-webkit-box-flex: 1;
		-ms-flex: 1;
		flex: 1;
		-webkit-box-pack: end;
		-ms-flex-pack: end;
		justify-content: flex-end;
		min-width: 100px;
		padding-top: 1.4rem;
		padding-right: 3.2rem;
	}
	.page-header {
		width: 1180px;
	}
	.page-header .page-description {
		margin-right: -0.5rem;
		margin-bottom: 0.3rem;
	}
}

@media screen and (min-width: 1180px) {
	.page-header::before {
		margin: 0 calc(50% - 50vw);
	}
}

@media all and (-ms-high-contrast: none) {
	#footer::before {
		top: -2.5714285714vw;
	}
	#header {
		height: 80px;
	}
	.page-header {
		height: 10rem;
	}
}
