@charset "utf-8";

/*============================
ヘッダー
============================*/
header {
	transition: transform 0.5s 0.3s;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	min-width: 1080px;
	z-index: 10;
	height: 1.00rem;
	transition: background-color 0.3s ease;
	@media screen and (max-width: 640px) {
		min-width: auto;
		height: 0.60rem;
	}
	/* ロゴ */
	.logo {
		width: 1.00rem;
		height: 1.00rem;
		position: absolute;
		top: 0;
		left: 0;
		@media screen and (max-width: 640px) {
			width: 0.60rem;
			height: 0.50rem;
			z-index: 10;
		}
	}
	/* ナビゲーション */
	.glo_navi {
		position: absolute;
		top: 50%;
		right: 0;
		transform: translateY(-50%);
		@media screen and (max-width: 640px) {
			top: 0;
			left: 0;
			right: auto;
			z-index: 1;
			transform: translate(0);
			width: 100%;
			height: 100dvh;
			display: none;
			&::after {
				content: "";
				background-color: rgba(36, 106, 140, 0.95);
				position: absolute;
				top: 0;
				left: 0;
				z-index: 0;
				width: 100%;
				height: 100%;
			}
		}
		.list {
			display: flex;
			gap: 0 0.45rem;
			padding-right: 0.45rem;
			@media screen and (max-width: 640px) {
				padding: 0.90rem 0.30rem 0;
				box-sizing: border-box;
				gap: 0.30rem 0;
				flex-wrap: wrap;
				position: absolute;
				z-index: 1;
				box-sizing: border-box;
			}
			.link {
				@media screen and (max-width: 640px) {
					width: 100%;
				}
				a {
					display: block;
					/* font-family: "Noto Serif JP", serif; */
					font-size: 0.18rem;
					font-weight: 600;
					letter-spacing: 0.08em;
					color: #FFF;
					position: relative;
					text-shadow: 0 0 0.08rem rgba(0,0,0,0.16);
					&::after {
						position: absolute;
						bottom: -0.06rem;
						left: 0;
						content: '';
						width: 100%;
						height: 1px;
						background: #FFF;
						transform: scale(0, 1);
						transform-origin: right top;
						transition: transform .3s;
					}
					&:hover::after {
						transform-origin: left top;
						transform: scale(1, 1);
					}
				}
			}
		}
	}
	/* スクロール時 */
	&.scr {
		background-color: #FFF;
		-webkit-backdrop-filter: blur(10px);
		backdrop-filter: blur(10px);
		@media screen and (max-width: 640px) {
			backdrop-filter: blur(0);
		}
		.glo_navi {
			.list {
				.link {
					a {
						color: #191919;
						text-shadow: none;
						@media screen and (max-width: 640px) {
							color: #FFF;
						}
						&::after {
							background-color: #191919;
							@media screen and (max-width: 640px) {
								background-color: transparent;
							}
						}
					}
				}
			}
		}
		#SPnaviBtn span {
			background-color: #191919;
		}
		#SPnaviBtn.active span {
			background-color: #FFF;
		}
	}
}

@media screen and (max-width: 640px) {
	header {
		/* スマホ用の記述 */
	}
}

/* --------- 以下、必要に応じて有効化 ---------- */

/* ヘッダーが上に消える
header.hide {
	transform: translateY(-1.50rem);
}
 */

/* スクロールで表示された状態
header.scr {
	background-color: rgba(255, 255, 255, 0.85);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
}
 */



/*============================
共有
============================*/
.ttl_wrap .en {
	font-size: 0.2rem;
	letter-spacing: 0.08em;
	font-weight: 500;
	color: #191919;
	font-family: 'Playfair Display', serif;
	color: #246A8C;
	padding-bottom: 0.08rem;
}
@media screen and (max-width: 640px) {
	.ttl_wrap .en {
		font-size: 0.12rem;
		padding-bottom: 0;
	}
}

.ttl_wrap .jp {
	font-size: 0.37rem;
	letter-spacing: 0.08em;
	font-weight: 600;
	color: #191919;
	font-family: 'Noto serif JP', serif;
	line-height: 1.5;
	margin-bottom: 0.3rem;
}
@media screen and (max-width: 640px) {
	.ttl_wrap .jp {
		font-size: 0.24rem;
		margin-bottom: 0.2rem;
	}
}

/* ボタン */
.btn_common a {
	width: 100%;
	max-width: 3rem;
	position: relative;
	box-sizing: border-box;
	display: block;
	text-align: center;
	padding: 0.2rem 0;
	background-color: #246A8C;
	border: 1px solid #246A8C;
	color: #fff;
	font-size: 0.18rem;
	letter-spacing: 0.08em;
	font-weight: 500;
	/* font-family: 'Playfair Display', serif; */
	line-height: 1.5;
	@media screen and (max-width: 640px) {
		padding: 0.15rem 0;
		font-size: 0.15rem;
	}
}

.btn_common a::before {
	position: absolute;
	top: 0;
	left: 0;
	content: '';
	width: 100%;
	height: 100%;
	background: #FFF;
	transform: scale(0, 1);
	transform-origin: right top;
	transition: transform .3s;
}

@media screen and (min-width: 641px) {
	.btn_common a:hover::before {
		transform-origin: left top;
		transform: scale(1, 1);
	}
}

@media screen and (min-width: 641px) {
	.btn_common a:hover {
		color: #246A8C;
	}
}

.btn_common a::after {
	content: '';
	display: block;
	position: absolute;
	width: 0.4rem;
	height: 0.06rem;
	top: 48%;
	transform: translateY(-50%);
	right: 0.18rem;
	background: url(../img/common/icon_btn_arrow.svg) no-repeat right center;
	background-size: contain;
	transition: all 0.3s ease;
}
@media screen and (max-width: 640px) {
	.btn_common a::after {
		width: 0.20rem;
	}
}

@media screen and (min-width: 641px) {
	.btn_common a:hover::after {
		right: 0.14rem;
		background-image: url(../img/common/icon_btn_arrow_on.svg);
	}
}

.btn_common a span {
	position: relative;
}

/*============================
GSAP用の画像スタイル
============================*/
.colmn2 .cont_wrap .img_wrap {
	overflow: hidden;
}

.colmn2 .cont_wrap .img_wrap img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1);
	transition: transform 0.3s ease-out;
}

/*============================
地図
============================*/
#map {
  width: 100%;
  height: 4.5rem;
}
@media screen and (max-width: 640px) {
  #map {
    height: 3.00rem;
  }
}

#map iframe {
  width: 100%;
  height: 100%;
  -webkit-filter: grayscale(100%);
  -moz-filter: grayscale(100%);
  -ms-filter: grayscale(100%);
  -o-filter: grayscale(100%);
}

/*============================
ニュース
============================*/
#news {
  box-sizing: border-box;
  padding: 0.7rem 0;
}

#news .ttl_wrap {
  text-align: center;
}

#news .list {
  width: 100%;
  max-width: 8rem;
  margin: auto;
}

#news .list .item {
  border-bottom: 1px solid #ccc;
}

#news .list .item a {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  color: #191919;
  font-size: 0.16rem;
  width: 100%;
  padding: 0.25rem 0;
}
@media screen and (max-width: 640px) {
  #news .list .item a {
    font-size: 0.14rem;
    padding: 0.20rem 0;
  }
}

#news .list .item a:hover {
  color: #246a8c;
}

#news .list .item a .date {
  width: 1.5rem;
  font-size: 0.15rem;
  font-family: "Outfit", sans-serif;
}
@media screen and (max-width: 640px) {
  #news .list .item a .date {
  width: 100%;
  font-size: 0.12rem;
  padding-bottom: 0.05rem;
}
}

#news .list .item a .text {
  width: calc(100% - 1.5rem);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
@media screen and (max-width: 640px) {
  #news .list .item a .text {
    width: 100%;
    font-weight: 500;
    white-space: wrap;
    overflow: visible;
    text-overflow:initial;
    line-height: 1.65;
  }
}

/*=======================
CMSページャー
=======================*/
.list_navi_wrap {
	text-align: center;
	font-size: 0.16rem;
	font-family: 'Poppins', sans-serif;
	letter-spacing: 0.05em;
	padding:0.50rem 0;
	width: 100%;
}
@media screen and (max-width: 640px) {
	.list_navi_wrap {
		font-size: 0.14rem;
		padding:0.20rem 0 0.50rem;
	}
}

.list_navi_wrap .wp-pagenavi {
	display: flex;
	justify-content: center;
}

/* 現在のページ*/
.list_navi_wrap .wp-pagenavi .current {
	display: block;
	font-size: 0.16rem;
	color: #FFF;
	width: 0.50rem;
	line-height: 0;
	padding: 0.24rem 0 0.26rem;
	background-color: #246A8C;
	border: 1px solid #246A8C;
	margin: 0 0.08rem;
}

@media screen and (max-width: 640px) {
	.list_navi_wrap .wp-pagenavi .current {
		font-size: 0.14rem;
		width: 0.30rem;
		padding: 0.15rem 0 0.17rem;
		margin: 0 0.05rem;
	}
}

/* 数字リンク*/
/*.list_navi_wrap .wp-pagenavi .page.larger {*/
.list_navi_wrap .wp-pagenavi .page {
	display: block;
	font-size: 0.16rem;
	color: #246A8C;
	width: 0.50rem;
	line-height: 0;
	padding: 0.24rem 0 0.26rem;
	background-color: #FFF;
	border: 1px solid #246A8C;
	text-decoration: none;
	margin: 0 0.08rem;
}

@media screen and (max-width: 640px) {
	.list_navi_wrap .wp-pagenavi .page {
		font-size: 0.14rem;
		width: 0.30rem;
		padding: 0.15rem 0 0.17rem;
		margin: 0 0.05rem;
	}

	.list_navi_wrap .wp-pagenavi .page.larger {
		/* display: none; */
	}
}

.list_navi_wrap .wp-pagenavi .page.larger:hover {
	background-color: #246A8C;
	border: 1px solid #246A8C;
	color: #FFF;
}

/* 前のページ */
.list_navi_wrap .wp-pagenavi .previouspostslink {
	display: block;
	font-size: 0.16rem;
	color: #333;
	line-height: 0;
	padding: 0.24rem 0.20rem 0.26rem 0.30rem;
	text-decoration: none;
	margin: 0 0.08rem;
	position: relative;
	border: none;
}

@media screen and (max-width: 640px) {
	.list_navi_wrap .wp-pagenavi .previouspostslink {
		font-size: 0.14rem;
		padding: 0.15rem 0 0.17rem 0.15rem;
		margin-left: 0;
		margin-right: 0.15rem;
	}
}

.list_navi_wrap .wp-pagenavi .previouspostslink::before {
	content: "";
	width: 0.10rem;
	height: 0.16rem;
	background-image: url(../img/common/pager_icon_prev.svg);
	background-position: left center;
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	left: 0;
	top: 47%;
	transform: translateY(-50%);
	transition: all 0.3s;
}

@media screen and (max-width: 640px) {
	.list_navi_wrap .wp-pagenavi .previouspostslink::before {
		width: 0.14rem;
		height: 0.10rem;
		top: 45%;
	}
}

.list_navi_wrap .wp-pagenavi .previouspostslink:hover {
	color: #F1859F;
}

.list_navi_wrap .wp-pagenavi .previouspostslink:hover::before {
	left: -0.06rem;
}

/* 次のページ */
.list_navi_wrap .wp-pagenavi .nextpostslink {
	display: block;
	font-size: 0.16rem;
	color: #333;
	line-height: 0;
	padding: 0.24rem 0.30rem 0.26rem 0.20rem;
	text-decoration: none;
	margin: 0 0.08rem;
	position: relative;
	border: none;
}

@media screen and (max-width: 640px) {
	.list_navi_wrap .wp-pagenavi .nextpostslink {
		font-size: 0.14rem;
		padding: 0.15rem 0.15rem 0.17rem 0;
		margin-left: 0.15rem;
		margin-right: 0;
	}
}

.list_navi_wrap .wp-pagenavi .nextpostslink::after {
	content: "";
	width: 0.10rem;
	height: 0.16rem;
	background-image: url(../img/common/pager_icon_next.svg);
	background-position: right center;
	background-repeat: no-repeat;
	background-size: contain;
	position: absolute;
	right: 0;
	top: 47%;
	transform: translateY(-50%);
	transition: all 0.3s;
}

@media screen and (max-width: 640px) {
	.list_navi_wrap .wp-pagenavi .nextpostslink::after {
		width: 0.14rem;
		height: 0.10rem;
		top: 45%;
	}
}

.list_navi_wrap .wp-pagenavi .nextpostslink:hover {
	color: #246A8C;
}

.list_navi_wrap .wp-pagenavi .nextpostslink:hover::after {
	right: -0.06rem;
}

/*============================
フッター
============================*/
footer {
	background: #246A8C;
	box-sizing: border-box;
}

footer .upper_box {
	display: flex;
	flex-wrap: wrap;
	padding: 0.8rem 0;
}
@media screen and (max-width: 640px) {
	footer .upper_box {
		padding: 0.30rem 0;
		gap: 0.25rem 0;
	}
}

footer .logo_wrap {
	display: flex;
	flex-wrap: wrap;
	/* align-items: center; */
	width: 50%;
}
@media screen and (max-width: 640px) {
	footer .logo_wrap {
		width: 100%;
	}
}

footer .logo_wrap .logo {
	width: 1rem;
}
@media screen and (max-width: 640px) {
	footer .logo_wrap .logo {
		width: 0.60rem;
	}
}

footer .logo_wrap .text {
	color: #FFF;
	font-size: 0.13rem;
	letter-spacing: 0.08em;
	line-height: 2.16;
	padding-left: 0.20rem;
}
@media screen and (max-width: 640px) {
	footer .logo_wrap .text {
		font-size: 0.12rem;
		letter-spacing: 0.05em;
		line-height: 1.85;
		padding-left: 0.15rem;
	}
}

footer .logo_wrap .text a[href^="tel:"] {
	color: #FFF;
}
@media screen and (max-width: 640px) {
	footer .logo_wrap .text a[href^="tel:"] {
		text-decoration: underline;
	}
}

footer .footer_navi {
	width: 50%;
}
@media screen and (max-width: 640px) {
	footer .footer_navi {
		width: 100%;
	}
}

footer .footer_navi .list {
	display: flex;
	flex-wrap: wrap;
	gap: 0 0.4rem;
	justify-content: flex-end;
}
@media screen and (max-width: 640px) {
	footer .footer_navi .list {
		gap: 0.15rem 0;
		justify-content: space-between;
	}
	footer .footer_navi .list .link {
		width: 50%;
	}
}

footer .footer_navi .list .link a {
	font-family: "Outfit", sans-serif;
	font-size: 0.14rem;
	letter-spacing: 0.08em;
	color: #FFF;
	position: relative;
}
@media screen and (max-width: 640px) {
	footer .footer_navi .list .link a {
		font-size: 0.13rem;
		display: inline-flex;
		align-items: center;
	}
	footer .footer_navi .list .link a::before {
		content: "";
		width: 0.06rem;
		height: 1px;
		background-color: #FFF;
		margin-right: 0.06rem;
	}
}

footer .footer_navi .list .link a::after {
	position: absolute;
	bottom: -0.06rem;
	left: 0;
	content: '';
	width: 100%;
	height: 1px;
	background: #FFF;
	transform: scale(0, 1);
	transform-origin: right top;
	transition: transform .3s;
}

footer .footer_navi .list .link a:hover::after {
	transform-origin: left top;
	transform: scale(1, 1);
}

footer .bottom_box {
	width: 100%;
	padding: 0.30rem 0;
	border-top: 1px solid rgba(255,255,255,0.4);
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	font-family: "Outfit", sans-serif;
	color: #FFF;
}
@media screen and (max-width: 640px) {
	footer .bottom_box {
		flex-direction: column-reverse;
	}
}

footer .bottom_box .copyright {
	font-size: 0.13rem;
	letter-spacing: 0.08em;
}
@media screen and (max-width: 640px) {
	footer .bottom_box .copyright {
		font-size: 0.12rem;
	}
}

footer .bottom_box .sub_navi {
	display: flex;
	justify-content: flex-end;
	gap: 0 0.40rem;
}
@media screen and (max-width: 640px) {
	footer .bottom_box .sub_navi {
		display: block;
		padding-bottom: 0.15rem;
		width: 100%;
	}
}

footer .bottom_box .sub_navi .link a {
	font-family: "Outfit", sans-serif;
	letter-spacing: 0.08em;
	color: #FFF;
	position: relative;
}
@media screen and (max-width: 640px) {
	footer .bottom_box .sub_navi .link a {
		text-decoration: underline;
	}
}

footer .bottom_box .sub_navi .link a::after {
	position: absolute;
	bottom: -0.03rem;
	left: 0;
	content: '';
	width: 100%;
	height: 1px;
	background: #FFF;
	transform: scale(0, 1);
	transform-origin: right top;
	transition: transform .3s;
}

footer .bottom_box .sub_navi .link a:hover::after {
	transform-origin: left top;
	transform: scale(1, 1);
}


