/* style.css */
html {
	scroll-behavior: smooth;
}


body {

	background: #ffffff;
	padding: 20px;
	line-height: 1.6;
	font-family: "Zen Maru Gothic", sans-serif;
	/* 追加 */
	font-size: 16px;
	overflow-x: hidden;



}

.q-a-body {
	width: 100%;
	max-width: 1000px;
	margin: 0 auto;
}

h1 {
	margin-top: 60px;
	text-align: left;
	margin-bottom: 40px;
}

a {
	text-decoration: none;
	color: inherit;
	/* 文字色も継承させたい場合 */
}


.q-h2 {
	margin-top: 40px;
	color: #333;
	border-left: 5px solid #b21b1b;
	padding-left: 10px;
	scroll-margin-top: 100px;

}


details {
	margin: 10px 0;
	background: #eee8e8;
	padding: 12px 16px;
	border-radius: 6px;
	box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

summary {
	font-weight: bold;
	cursor: pointer;
}

details[open] {
	background: #ddf2fb;
}




/* ***********レスポンシブ************************************************* */
@media screen and (max-width: 800px) {
	body {
		margin: 0 auto 0 auto;
	}

	h1 {
		text-align: center;
	}
}



/* ********************************************************** */

img {
	max-width: 100%;
}

/* ヘッダー領域 */
header {
	position: absolute;
	top: 0;
	left: 0;
	z-index: 100;
	width: 100%;
	background-color: rgba(255, 255, 255, 1);



}

/* コンテナ */
header .container {
	display: flex;
	/* Flexboxでレイアウト */
	justify-content: space-between;
	/* 左右に分ける */
	align-items: center;
	/* 垂直方向に中央揃え */
	width: 100%;
	height: 70px;


}

/* ロゴボックス */
.logo-box {
	display: inline-block;
	margin-left: 5px;
	margin-top: 5px;

}

.headA img {
	max-width: 500px;

}

/* ナビゲーション */
#navi {
	display: flex;
	/* ナビゲーションアイテムを横並びに */
	align-items: center;
	/* 垂直方向に中央揃え */
	/* color: #a94442; */
	color: #000;


}

#navi ul {
	list-style-type: none;
	padding: 0;
	margin: 0;
	background-color: #fff;
	/* color: #a94442; */
	color: #000;
	display: flex;
	/* リストアイテムを横並びに */
}

#navi>ul>li {
	position: relative;
}

#navi>ul>li>a {
	/* color: #a94442; */
	color: #000;
	padding: 15px 20px;
	display: block;
	text-decoration: none;
}

#navi>ul>li:hover>a {
	background-color: rgba(0, 0, 0, 0.2);
}

/* ドロップダウンメニュー */
#navi>ul>li>.dropdown {
	display: none;
	position: absolute;
	top: 100%;
	left: 0;
	background-color: rgba(255, 255, 255, 0.2);
	min-width: 200px;
}

#navi>ul>li:hover>.dropdown {
	display: block;
}

#navi>ul>li>.dropdown>li>a {
	/* color: rgb(90, 33, 33); */
	color: #000;
	text-shadow: 1px 1px 0 #fff, -1px 1px 0 #fff, 1px -1px 0 #fff, -1px -1px 0 #fff;
	padding: 10px;
	display: block;
	text-decoration: none;
}

#navi>ul>li>.dropdown>li>a:hover {
	background-color: rgba(0, 0, 0, 0.2);

}



/* アクティブ線付けるやつ */
#navi ul li a.active {
	border-bottom: solid 1px #a94442;
	color: #000;

}



/* ******ナビゲーションレスポンシブデザイン **************/

.headC {
	/* 800px以下で表示するため */
	display: none;
	/* 背景と枠消してアイコンだけ見せる */
	background: none;
	border: none;
	font-size: 24px;
	/* マウスオーバーのときにクリックできる*/
	cursor: pointer;
	/* 他のレイアウトとかぶらんようにする*/
	margin-right: 20px;
	z-index: 101;
}

/* レスポンシブ時に表示 */
@media screen and (max-width: 1100px) {

	/* トップロゴの大きさ */

	.headA {
		max-width: 90%;
		max-height: 60px;
	}


	.headC {
		display: block;
		margin-left: auto;

	}

	#navi ul {
		flex-direction: column;
		align-items: center;
		display: none;
		position: absolute;
		top: 60px;
		right: 0;
		background-color: #fff;
		width: 100%;
	}

	#navi.nav-open ul {
		display: flex;
	}

	#navi>ul>li {
		text-align: center;
	}

	#navi>ul>li>.dropdown {
		position: static;
	}

	/* 2階層目（ドロップダウン）を完全に非表示 */
	#navi>ul>li>.dropdown {
		display: none !important;
	}

}

/* 共通**************ここまで************* */

/*--- フッター領域 --------------------------------------------------------*/
footer {
	width: 100%;
	height: auto;
	margin-top: 30px;
	background-image: url(../images/footer-copy.webp);
	background-repeat: repeat-x;
	background-size: contain;
	color: #a94442;
}

footer .container {
	padding-top: 200px;
	padding-bottom: 40px;

}


footer .container {
	display: flex;
	flex-wrap: wrap;
	max-width: 960px;
	margin-left: auto;
	margin-right: auto;
}


.footA .footer-text h2 {

	margin-bottom: 10px;
}

.footB {
	flex: 0 0 100%;
}

.footC {
	flex: 0 0 100%;
}


/* フッターA領域 */
.footA {
	display: flex;
	margin-bottom: 30px;

}

/* h2をclass=footer-f2に変更 */
.footA .footer-h2 {
	margin-top: 0;
	margin-bottom: 10px;
	font-size: 3rem;
	letter-spacing: 0.2em;
}

.footA p {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 1rem;
	line-height: 1.5;
	color: #000;
}

.footA a {
	/* color: rgb(90, 33, 33); */
	color: #000;
	text-decoration: none;
}

.footA .footer-right {
	display: flex;
	flex-direction: column;

}

.footA .sns-icon {
	display: flex;
	gap: 30px;
	margin-top: 10px;
}

.footA .sns-icon img {
	width: 100px;
	height: 100px;
}




.footA .sns-icon a:hover {
	opacity: 0.8;
}


/* フッターB領域 */
.footB .footB_menu {
	margin-bottom: 20px;
}

.footB h3 a {
	margin-top: 0;
	margin-bottom: 10px;
	border-bottom: solid 1px #a94442;
	font-size: 1.2rem;
	color: #a94442;
	;
}

.footB ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.footB a {
	display: block;
	padding: 5px;
	/* color: rgb(90, 33, 33); */
	color: #000;
	font-size: 0.8rem;
	text-decoration: none;
	line-height: 1.5rem;
}

.footB a:hover {
	background-color: rgba(0, 0, 0, 0.3);
}


.footB {
	display: flex;
}

.footB .footB_menu {
	flex: 1;
	margin-right: 20px;
}



/* フッターC領域 */
.footC {
	font-size: 12px;
	text-align: center;
	color: #000;
}



/* *****レスポンシブ ****************************/
@media screen and (max-width: 800px) {
	footer .container {
		padding-top: 100px;
	}

	footer .container .footB {
		flex-direction: column;
		width: 100%;
		/* padding: 0 15px; */
		text-align: center;
	}

	.footB .footB_menu {
		margin-bottom: 0px;
	}

	footer .container .footB h3 a {
		display: inline-block;
		width: 70%;
	}

	footer .container .footB ul li {
		display: none;
	}

	footer .container .footA {
		flex-direction: column;
		width: 100%;

		text-align: center;

	}

	footer .container .footA img {
		width: 50%;
		margin: 0 auto 0 auto;

	}

	.footA .sns-icon {
		gap: 0px;
	}

	.footA .sns-icon a {
		width: 100%;
		height: 100%;

	}

}

/* --右下のgotop--------------------------- */
.gotop {
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 1;

}

.gotop:hover {
	opacity: 0.8;
}

.gotop img {
	width: 100px;
	height: 100px;
}

/* レスポンシブ ***********************************/
@media screen and (max-width: 800px) {
	.gotop {
		display: none;
	}
}