@charset "UTF-8";
/* top画像切替スライダー　*/
.outer {
	width: 100%;
}
.top_background {
	position: relative;
	width: 100%;
	margin: 0 auto;
}
.top_slide {
	position: absolute;
	top: 3%;
	right: 1%;
	width: 61%;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	z-index: 5;
}
.top_slide_inner {
	display: flex;
	width: 100%;
	height: 100%;
	animation: slide 30s infinite;
}
.slide_item {
	position: relative;
	flex: 0 0 100%;
	height: 100%;
	overflow: hidden;
}
.slide_item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 20px;
}
@keyframes slide {
	0%, 16% {
		transform: translateX(0);
	}
	20%, 36% {
		transform: translateX(-100%);
	}
	40%, 56% {
		transform: translateX(-200%);
	}
	60%, 76% {
		transform: translateX(-300%);
	}
	80%, 96% {
		transform: translateX(-400%);
	}
	100% {
		transform: translateX(-500%);
	}
}
/* ------------------------ */
.banner-outer{
	width: 100%;
}
.banner-outer img{
	width: 100%;
}
/* h2 */
.index-h2 {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 18px;

	margin: 50px auto;

	color: #168bb8;
	font-size: clamp(16px, 4vw, 1.5rem);
	font-weight: 700;
	letter-spacing: 0.2em;
	text-align: center;
}

.index-h2::before,
.index-h2::after {
	content: "";
	width: 70px;
	height: 6px;

	background:
		radial-gradient(10px 6px at 10px 0,
			transparent 9px,
			#64cce8 10px,
			#64cce8 12px,
			transparent 13px);

	background-size: 20px 6px;
	background-repeat: repeat-x;
}

.index-h2-br {
	display: block;
}


/* ギャラリーセクション */
.index-gal_flex {
	display: flex;
	justify-content: flex-start;
	flex-wrap: wrap;
	gap: 15px 2px;
	margin-top: 2rem;
}

.index-gal_flex_item {
	width: 49%
}

.index-gal_flex_item a {
	text-decoration: none;
}

.index-gal_flex_item img:hover {
	filter: blur(2px);
	transition: 0.5s;
}

.index-thumb_ratio img {
	aspect-ratio: 1 / 1;
	object-fit: cover;
	overflow: hidden;
}

.index-gal-caption {
	color: #333;
	text-align: center;
	height: 3rem;
}

.index-other-pict {
	display: flex;
	justify-content: flex-end;
	padding: 20px 15px;
}

.index-other-pict a {
	position: relative;

	display: inline-flex;
	align-items: center;
	gap: 14px;

	padding: 10px 18px;

	color: #167da3;
	font-size: 0.9rem;
	font-weight: 600;
	letter-spacing: 0.12em;

	text-decoration: none;

	border: 1px solid #9ed9e9;
	border-radius: 30px;

	background: #fff;

	transition: 0.3s ease;
}

.index-other-pict a::after {
	content: "→";

	font-size: 18px;

	transition: transform 0.3s ease;
}

.index-other-pict a:hover {
	color: #fff;
	background: #168bb8;
	border-color: #168bb8;

	box-shadow: 0 5px 15px rgba(22, 139, 184, 0.2);
}

.index-other-pict a:hover::after {
	transform: translateX(5px);
}

/* --------------- Information ---------------*/
.information_a.is-red .information_h3 {
	color: #d94a4a;
}
.information-important {
	display: inline-block;
	margin-right: .5em;
	padding: .15em .65em;
	border-radius: 100px;
	background: #d94a4a;
	color: #fff;
	font-size: .75em;
	font-weight: 700;
}
.btn {
	display: inline-block;
	margin-top: 4rem;
	background: var(--btn-color);
	color: white;
	padding: 12px 24px;
	border-radius: 999px;
}

.info_main {
	background: white;
	border: greenyellow solid 2px;
	border-radius: 5px;
	padding: 1rem;
}

.info_flex {
	display: block;
	margin: 2rem auto;
}

.info_h2 {
	margin-left: 3rem;
	flex: 4.75;
}

.info_main {
	flex: 5.25;
}

.infomation_main {
	font-size: 1.7rem;
	line-height: 1.2rem;
	margin-top: 1rem;
}

.info_small {
	font-size: 0.7rem;
}

.information_flex {
	display: flex;
	line-height: 2.5rem;
}

.information_date {
	font-size: 1rem;
}

.information_h3 {
	font-size: 1rem;
	font-weight: normal;
	margin-left: 1rem;
}

.information_a {
	display: flex;
	text-decoration: none;
	color: #333333;
	line-height: 3.5rem;
}

.more_info {
	display: flex;
	text-decoration: none;
	color: #333333;
	justify-content: flex-end;
}

#info-popup {
	position: fixed;
	inset: 0;
	z-index: 99999;
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity .3s ease, visibility .3s ease;
}

#info-popup.active {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.info-popup-overlay {
	position: absolute;
	inset: 0;
	background: rgba(0, 0, 0, .7);
	backdrop-filter: blur(5px);
}

.info-popup-content {
	position: relative;
	width: min(900px, 90%);
	max-height: 80vh;
	margin: 5vh auto;
	padding: 50px;
	background: #fff;
	border-radius: 20px;
	overflow-y: auto;
	transform: translateY(30px);
	opacity: 0;
	transition:
		transform .35s ease,
		opacity .35s ease;
}

#info-popup.active .info-popup-content {
	transform: scale(1);
	opacity: 1;
}

#info-popup-close {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 40px;
	height: 40px;
	border: none;
	border-radius: 50%;
	background: #231815;
	color: #fff;
	cursor: pointer;
	font-size: 20px;
}

.information_a {
	width: 100%;
	background: none;
	border: none;
	text-align: left;
	cursor: pointer;
}

.small_black {
	font-size: 15px;
	color: black;
}

/* ========================================
   INFORMATION
   スマホ：基本スタイル
======================================== */

.information_flex {
	width: 100%;
	margin: 0 auto;

	border-bottom: 1px solid #dce8ed;
}

.information_a {
	position: relative;

	display: block;

	width: 100%;
	padding: 18px 55px 18px 15px;

	border: none;
	background: transparent;

	font-family: inherit;
	text-align: left;

	cursor: pointer;

	transition:
		background-color 0.3s ease,
		padding-left 0.3s ease;
}


/* 日付
------------------------------ */

.information_date {
	position: relative;

	display: inline-block;

	margin: 0 0 8px;
	padding: 5px 12px 5px 20px;

	color: #168bb8;
	background: #edf9fd;

	border-radius: 30px;

	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.05em;
}


/* 日付左の丸 */

.information_date::before {
	content: "";

	position: absolute;
	left: 8px;
	top: 50%;

	width: 5px;
	height: 5px;

	background: #42c3e8;
	border-radius: 50%;

	transform: translateY(-50%);

	box-shadow:
		0 0 0 3px rgba(66, 195, 232, 0.15);
}


/* タイトル
------------------------------ */

.information_h3 {
	margin: 0;

	color: #333;

	font-size: 0.95rem;
	font-weight: 500;
	line-height: 1.6;
	letter-spacing: 0.05em;

	transition: color 0.3s ease;
}


/* 右側の丸矢印
------------------------------ */

.information_a::after {
	content: "→";

	position: absolute;
	right: 15px;
	top: 50%;

	display: flex;
	align-items: center;
	justify-content: center;

	width: 32px;
	height: 32px;

	color: #168bb8;

	border: 1px solid #8dd5e9;
	border-radius: 50%;

	font-size: 16px;

	transform: translateY(-50%);

	transition:
		color 0.3s ease,
		background-color 0.3s ease,
		border-color 0.3s ease,
		transform 0.3s ease;
}


/* hover
------------------------------ */

.information_a:hover {
	background: #f5fbfd;
	padding-left: 18px;
}

.information_a:hover .information_h3 {
	color: #168bb8;
}

.information_a:hover::after {
	color: #fff;

	background: #168bb8;
	border-color: #168bb8;

	transform: translate(4px, -50%);
}


/* キーボード操作 */

.information_a:focus-visible {
	outline: 2px solid #168bb8;
	outline-offset: -2px;
}
/* ========================================
   ご利用案内
   スマホ：基本スタイル
======================================== */

.index-goriyou-flex {
	width: calc(100% - 30px);
	max-width: 1100px;

	margin: 30px auto;

	background: #fff;

	border: 1px solid #d9edf4;
	border-radius: 18px;

	overflow: hidden;

	box-shadow:
		0 8px 25px rgba(25, 120, 160, 0.10);
}


/* ========================================
   画像
======================================== */

.index-goriyou-flex > div:first-child {
	position: relative;

	width: 100%;
	overflow: hidden;
}

.index-goriyou-flex > div:first-child img {
	display: block;

	width: 100%;
	height: auto;

	aspect-ratio: 3 / 2;

	object-fit: cover;

	transition: transform 0.6s ease;
}


/* ========================================
   テキスト部分
======================================== */

.index-goriyou-flex > div:last-child {
	background:
		linear-gradient(
			135deg,
			#ffffff 0%,
			#ffffff 55%,
			#f1fbfe 100%
		);
}


/* 上部に小さなアクセント */

.index-goriyou-flex > div:last-child::before {
	content: "";

	position: absolute;

	left: 20px;
	top: 0;

	width: 45px;
	height: 3px;

	background: linear-gradient(
		90deg,
		#168bb8,
		#67d3e8
	);

	border-radius: 10px;
}


/* 説明文 */

.index-goriyou-flex p {
	margin: 0;

	color: #444;

	font-size: 0.95rem;
	font-weight: 400;
	line-height: 1.9;
	letter-spacing: 0.05em;
}


/* ========================================
   詳しく見るボタン
   ※先ほど作った .kuwashiku をそのまま使用
======================================== */

.index-goriyou-flex .kuwashiku {
	margin-top: 20px;
}


/* ========================================
   hover
======================================== */

.index-goriyou-flex {
	transition:
		box-shadow 0.3s ease,
		transform 0.3s ease;
}

/* ========================================
   詳しく見る
   スマホ：基本スタイル
======================================== */

.kuwashiku {
	display: flex;
	justify-content: flex-end;

	width: 100%;
	margin-top: 20px;
}

.kuwashiku a {
	position: relative;

	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;

	padding: 10px 16px 10px 20px;
	margin: 10px;
	color: #168bb8;
	background: #fff;

	border: 1px solid #9ed9e9;
	border-radius: 30px;

	font-size: 0.85rem;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.08em;

	text-decoration: none;

	box-shadow: 0 3px 10px rgba(22, 139, 184, 0.08);

	transition:
		color 0.3s ease,
		background-color 0.3s ease,
		border-color 0.3s ease,
		box-shadow 0.3s ease,
		transform 0.3s ease;
}


/* 丸い矢印 */

.kuwashiku a::after {
	content: "→";

	display: flex;
	align-items: center;
	justify-content: center;

	width: 26px;
	height: 26px;

	color: #fff;
	background: #168bb8;

	border-radius: 50%;

	font-size: 14px;

	transition:
		background-color 0.3s ease,
		transform 0.3s ease;
}


/* hover */

.kuwashiku a:hover {
	color: #fff;
	background: #168bb8;
	border-color: #168bb8;

	box-shadow:
		0 6px 18px rgba(22, 139, 184, 0.22);

	transform: translateY(-2px);
}

.kuwashiku a:hover::after {
	color: #168bb8;
	background: #fff;

	transform: translateX(4px);
}
/* icon */
.index-icon-flex{
	display: flex;
	justify-content: space-evenly;
}
.index-icon-flex-item{
	width: 25%;
}
/***** 画面サイズ768px以上の指定 *****/
@media screen and (min-width:768px) {

	/* h2 */
	.index-h2 {
		gap: 10px;
		letter-spacing: 0.12em;
	}

	.index-h2::before,
	.index-h2::after {
		width: 55px;
	}

	/* --------------- GALLARY ---------------*/
	.index-gal_flex_item {
		width: 32%
	}

	/* --------------- Information ---------------*/
	.information_flex {
		max-width: 900px;
	}

	.information_a {
		display: flex;
		align-items: center;

		gap: 25px;

		padding: 20px 60px 20px 20px;
	}

	.information_date {
		flex-shrink: 0;

		margin: 0;

		font-size: 0.8rem;
	}

	.information_h3 {
		font-size: 1rem;
		line-height: 1.7;
	}

	.information_a::after {
		right: 20px;
	}

	.information_a:hover {
		padding-left: 25px;
	}
	/* ご利用案内 */
	.index-goriyou-flex {
		width: calc(100% - 50px);

		margin-top: 40px;
		margin-bottom: 40px;

		border-radius: 22px;
	}

	.index-goriyou-flex > div:last-child {
		padding: 30px;
	}

	.index-goriyou-flex > div:last-child::before {
		left: 30px;

		width: 55px;
	}

	.index-goriyou-flex p {
		font-size: 1rem;
	}
	/* 詳しく見る */
	.kuwashiku {
		margin-top: 25px;
	}

	.kuwashiku a {
		padding: 11px 18px 11px 22px;

		font-size: 0.9rem;
	}

	.kuwashiku a::after {
		width: 28px;
		height: 28px;
	}

}

/***** 画面サイズ960px以上の指定 *****/
@media screen and (min-width:960px) {

	/* --------------- GALLARY ---------------*/
	.index-gal_flex_item {
		width: 24%
	}

	.index-h2-br {
		display: none;
	}

	/* --------------- Information ---------------*/
	.information_flex {
		max-width: 900px;
	}

	.information_a {
		gap: 30px;

		padding:
			22px 65px 22px 20px;
	}

	.information_date {
		padding:
			6px 14px 6px 22px;

		font-size: 0.82rem;
	}

	.information_date::before {
		left: 9px;

		width: 6px;
		height: 6px;
	}

	.information_h3 {
		font-size: 1.05rem;
		letter-spacing: 0.06em;
	}

	.information_a::after {
		width: 34px;
		height: 34px;

		right: 20px;
	}

	.information_a:hover {
		padding-left: 28px;
	}

	.information_a:hover::after {
		transform: translate(6px, -50%);
	}
	/* ご利用案内 */
	.index-goriyou-flex {
		display: grid;

		grid-template-columns: 55% 45%;

		align-items: stretch;

		margin-top: 50px;
		margin-bottom: 50px;

		border-radius: 25px;
	}


	/* 画像 */

	.index-goriyou-flex > div:first-child {
		min-height: 350px;
	}

	.index-goriyou-flex > div:first-child img {
		width: 100%;
		height: 100%;

		aspect-ratio: auto;

		object-fit: cover;
	}


	/* 文章エリア */

	.index-goriyou-flex > div:last-child {
		display: flex;
		flex-direction: column;
		justify-content: center;

		padding: 50px;
	}


	/* ブルーのアクセント */

	.index-goriyou-flex > div:last-child::before {
		left: 50px;
		top: 40px;

		width: 65px;
	}


	/* 説明 */

	.index-goriyou-flex p {
		font-size: 1.05rem;
		line-height: 2;
	}


	/* ボタン */

	.index-goriyou-flex .kuwashiku {
		margin-top: 30px;
	}


	/* カードhover */

	.index-goriyou-flex:hover {
		transform: translateY(-4px);

		box-shadow:
			0 15px 40px rgba(25, 120, 160, 0.16);
	}

	.index-goriyou-flex:hover > div:first-child img {
		transform: scale(1.035);
	}
	/* 詳しく見る */
	.kuwashiku {
		margin-top: 30px;
	}

	.kuwashiku a {
		gap: 15px;

		padding: 12px 20px 12px 24px;

		font-size: 0.95rem;
		letter-spacing: 0.1em;
	}

	.kuwashiku a::after {
		width: 30px;
		height: 30px;
	}
}