@charset "utf-8";


/* ==============================

	サイト設定

============================== */
body, html {
	font-size: 18px;
}

body{
	color: #2D2021;
}

a,
a img {
	transition: all 0.2s ease 0s;
	color: #2D2021;
	text-decoration: none;
}

@media only screen and (max-width: 821px){
	body, html {
		font-size: 16px;
	}
}



/* タイトル */
h2 {
color: #2D2021;
position: relative;
margin-bottom: 0;
margin-top: 60px;
}

h2 + p {
	margin-bottom: 40px;
}

h3 {
	margin-bottom: 20px;
	font-size: 1.6rem;
}


/* クエリループ */
.wp-block-query h2 {
	font-size: 1.4rem;
	margin-top: 0;
}


.wp-block-query img {
	object-fit: cover;
	width: 100%;
	aspect-ratio: 5 / 3;
}


/* テーブル */
.wp-block-table table {
	background-color: #fff;
    border-spacing: 5px;
    border-collapse: separate!important;
    width: 100%!important;
}

.wp-block-table table td,
.wp-block-table table th {
	border: none;
	padding: 20px;
}

.wp-block-table table td:nth-of-type(odd) {
	background-color: #dedede;
	font-weight: bold;
	white-space:nowrap
}

.wp-block-table table td:nth-of-type(even) {
	background-color: #fff;
}

@media only screen and (max-width: 821px){
	.wp-block-table table td,
	.wp-block-table table th {
		display: block;
		width: 100%;
	}
}


/* ボタン */
.wp-block-button a {
	display: block;
	text-align: center;
	font-weight: bold;
	padding: 20px 40px;
}

.wp-block-button a:hover {
	box-shadow: none;
	transform: translateX(5px);
}

.microcopy {
	color: #254F71!important;
	font-weight: bold;;
}

.btn_grp {
	margin-top: 60px;
}

@media only screen and (max-width: 821px){
	.btn_grp {
		margin-top: 30px;
	}
	
}


/* ==============================

	共通ブロック

============================== */
/* wrap */
.wrap {
	padding-top: 0;
}

/* headder */
header {
	position: sticky;
	top: 0;
	background-color: #fff;
	box-shadow: 0px 5px 10px 0 rgba(155, 155, 155, 0.1);
}

header .inner {
	align-items: flex-start;
}

header .header_R {
	text-align: center;
}

header .header_tel-no {
	font-weight: bold;
	font-size: 2rem;
}

header .g-nav {
	background: none;
}

header .g-nav ul a {
	color: #010101;
}

header .g-nav a:hover {
	background-color: #FFF;
	color: #254f71;
}

.header_logo img {
	width: auto;
}

@media only screen and (max-width: 821px){
	.header_logo img {
		max-width: 70%;
	}
}

.g-nav ul a {
	font-size: 1rem;
}

.g-nav ul li {
	border-right: 1px solid #010101;
}

.g-nav ul li:first-child {
	border-left: 1px solid #010101;
}


/* g-nav */
@media only screen and (max-width: 821px) {
	header .header_R {
		display: none;
	}

	header .g-nav ul a {
		color: #FFF;
	}
	
	#g-nav_wrapper nav,
	.btn-gnavi {
		background-color: #254F71;
	}

	.fix_nav li {
		background-color: rgba(255,128,0,0.9);
	}

	.fix_nav li a:hover {
		opacity: 1;
	}
}

/* g-navが2段の時はコメントアウト */
@media only screen and (min-width: 1281px){
	.header_inner {
		margin: 0 auto;
		width: 1100px;
		display: flex;
		justify-content: space-between;
		align-items: center
	}

	.header_inner .w1100 {
		width: 100%;
	}
}

@media only screen and (max-width: 1280px){
	.header_inner {
		margin: 0 auto;
		width: 96%;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.header_inner .w1100 {
		width: 100%;
	}
}
/* g-navが2段の時はコメントアウト */


/* footer */
footer {
	margin-top: 40px;
	padding: 0;
}

footer .wp-block-columns {
	margin-bottom: 0;
}

footer p {
	margin-top: 30px;
	margin-bottom: 10px;
}

footer div div div p {
	margin: 0px auto;
}

.footer_info {
	justify-content: center
}

footer .footer_info_logo {
	width: 20%;	
}

.footer_info_txt {
	flex-basis: auto!important;
	text-align: left;
}

.footer_info_txt h2 {
	color: #FFF;
	font-size: 2rem;
	margin-bottom: 10px;
}

footer .footer_btn {
	align-items: flex-end!important;
}

footer .footer_waku{
	border: 2px solid #FFF;
	line-height: 35px;
	padding: 20px 40px;
}

#top footer h2:before {
	display: none;
}

footer .wp-block-button {
	width: auto;
}

@media only screen and (max-width: 821px){
	footer {
		padding-bottom: 30px;
	}

	footer .wp-block-image img {
		width: 60%;
	}

	#site-footer .footer_info .footer_info_logo {
		width: 50%;
		flex-basis: auto!important;
		flex-grow: inherit;
	}
}


.footer_link {
	text-align: center;
	margin-top: 20px;
	margin-bottom: 20px;
}

.footer_link a {
	color: #FFF;
}

/* bottom_link */
.bottom_link {
	padding: 100px 0!important;
}

.bottom_link h2 {
	text-align: center;
}

.bottom_link .w960{
	margin-bottom: 0;
}

.bottom_link_txt {
	padding: 60px 0;
	background-size: cover;
	padding: 60px;
	overflow: hidden;
	position: relative;
	z-index: 0;
	background: rgba(255,255,255,0.5);
}

#top .bottom_link h2::before {
	display: none;
}

@media only screen and (max-width: 821px){
	.bottom_link_txt {
		padding: 30px;
	}
}


/* ==============================

	下層ページ共通

============================== */
/* low */
.page-template-page-low .low_mv {
	margin-bottom: 100px;
}









/* ==============================

	wp調整

============================== */
/* top */
.is-layout-flow .wp-block-group {
	padding: 0!important;
}

.wp-block-image.size-full {
	margin-bottom: 100px;
}


.top_intro {
	margin-top: 60px;
}

@media only screen and (min-width: 821px){
	.top_intro_R {
		margin-left: -500px;
	}
}

@media only screen and (max-width: 821px){
	iframe {
		width: 100%;
	}
}


/* info */
dt {
	font-weight: bold;	
}

dd {
	margin-bottom: 20px;
}

.g-map iframe {
	width: 100%;
	border: none;
}

/* ==============================

	端末ごとの調整

============================== */
/* iPad 縦 */
@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation:portrait) { 
}
