/* page-faq */
.faq-top-section {
	display: flex;
	align-content: center;
	align-items: center;
	flex: none;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	padding: 200px 0px 100px 0px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	background-color: #fcefdf;
}

.faq-header {
	display: flex;
	align-content: center;
	align-items: center;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	margin: 0px 0px 0px 0px;
	padding: 0px;
	max-width: 100%;
	width: 150px;
	height: 111px;
	box-sizing: border-box;
}

.faq-main-title {
	color: #544631;
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-size: 56px;
	font-weight: 600;
	height: auto;
	letter-spacing: 0.04em;
	line-height: 1.4;
	text-align: left;
	width: auto;
	max-width: 100%;
	justify-content: flex-start;
	margin: 0;
	display: flex;
}

.faq-subtitle {
	color: #544631;
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-size: 24px;
	font-weight: 600;
	height: auto;
	letter-spacing: 0.04em;
	line-height: 1.4;
	text-align: left;
	width: auto;
	max-width: 100%;
	justify-content: flex-start;
	margin: 0;
	display: flex;
}

.faq-blocks {
	display: flex;
	align-content: center;
	align-items: center;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 24px;
	justify-content: center;
	margin: 80px 0px 0px 0px;
	padding: 0px;
	max-width: 100%;
	box-sizing: border-box;
}

.faq-block {
	display: flex;
	align-content: center;
	align-items: center;
	background: #ffffff;
	border-radius: 8px;
	box-shadow: 0px 0px 10px rgba(0,0,0,0.2);
	flex: none;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 16px;
	height: 90px;
	justify-content: center;
	padding: 10px 20px;
	width: 240px;
	max-width: 100%;
	text-decoration: none;
	box-sizing: border-box;
}

.faq-block-title {
	color: #333333;
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-size: 20px;
	font-weight: 500;
	height: auto;
	line-height: 1.4;
	text-align: left;
	width: auto;
	max-width: 100%;
	justify-content: flex-start;
	margin: 0;
	display: flex;
}

.faq-block-icon {
	display: flex;
	align-content: center;
	align-items: center;
	background: #05aa7d;
	border-radius: 48px;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	padding: 0px;
	width: 24px;
	height: 24px;
	box-sizing: border-box;
}

.faq-block-icon i {
	color: #ffffff;
	font-size: 24px;
}

.faq-content-section {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.faq-content-wrapper {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
	.faq-top-section {
		padding: 60px 20px;
	}
	
	.faq-header {
		width: 100%;
		max-width: 100%;
	}
	
	.faq-main-title {
		font-size: 40px;
	}
	
	.faq-subtitle {
		font-size: 20px;
	}
	
	.faq-blocks {
		flex-direction: column;
		gap: 16px;
		margin-top: 40px;
	}
	
	.faq-block {
		width: 100%;
		max-width: 100%;
	}
}

/* FAQコンテンツセクション */
.faq-content-section {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.faq-content-wrapper {
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* 利用について */
[id="utilization"],
[id="utilization"].sd {
	display: flex;
	align-content: center;
	align-items: center;
	background: #fcefdf;
	border-radius: 0;
	flex: none;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	padding: 80px 20px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* 施設について */
[id="facility"],
[id="facility"].sd {
	display: flex;
	align-content: center;
	align-items: center;
	background:color(display-p3 0.9961 0.9686 0.9059);
	border-radius: 0;
	flex: none;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	padding: 80px 20px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* その他の質問 */
[id="other"],
[id="other"].sd {
	display: flex;
	align-content: center;
	align-items: center;
	background: #fdf9f3ff;
	border-radius: 80px 80px 0px 0px;
	flex: none;
	flex-direction: column;
	flex-wrap: nowrap;
	justify-content: center;
	padding: 80px 20px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

/* セクションヘッダー */
.faq-section-header,
[id="utilization"] > div:first-child,
[id="facility"] > div:first-child,
[id="other"] > div:first-child {
	display: flex;
	align-content: center;
	align-items: center;
	flex-direction: row;
	flex-wrap: nowrap;
	justify-content: center;
	margin: 0px 0px 64px 0px;
	padding: 0px;
	max-width: 100%;
	box-sizing: border-box;
}

.faq-section-line,
[id="utilization"] > div:first-child > div:first-child,
[id="facility"] > div:first-child > div:first-child,
[id="other"] > div:first-child > div:first-child {
	background: #fad74a;
	height: 56px;
	width: 8px;
	max-width: 100%;
	flex-shrink: 0;
}

.faq-section-title,
[id="utilization"] h2,
[id="facility"] h2,
[id="other"] h2 {
	color: #333333;
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-size: 40px;
	font-weight: 600;
	height: auto;
	letter-spacing: 0.05em;
	line-height: 1.4;
	margin: 0px 0px 0px 16px;
	text-align: left;
	width: auto;
	max-width: calc(100% - 16px);
	justify-content: flex-start;
	display: flex;
}

/* Q&Aアイテム */
.faq-item,
[id="utilization"] > div:not(:first-child),
[id="facility"] > div:not(:first-child),
[id="other"] > div:not(:first-child) {
	display: flex;
	align-content: center;
	align-items: center;
	background: transparent;
	flex: none;
	flex-direction: column;
	flex-wrap: nowrap;
	height: auto;
	justify-content: flex-start;
	margin: 0px 0px 36px 0px;
	padding: 0px;
	width: 960px;
	max-width: 100%;
	box-sizing: border-box;
}

.faq-question-button,
[id="utilization"] button,
[id="facility"] button,
[id="other"] button {
	display: flex;
	align-content: center;
	align-items: center;
	background: #05aa7d;
	border-radius: 8px;
	flex: none;
	flex-direction: row;
	flex-wrap: nowrap;
	gap: 0px;
	height: auto;
	justify-content: space-between;
	padding: 12px 24px;
	width: 100%;
	max-width: 100%;
	border: none;
	cursor: pointer;
	box-sizing: border-box;
}

.faq-question-text,
[id="utilization"] button p,
[id="facility"] button p,
[id="other"] button p {
	color: #ffffff;
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-size: 18px;
	font-weight: 700;
	height: auto;
	letter-spacing: 0.05em;
	line-height: 1;
	text-align: left;
	width: auto;
	max-width: 100%;
	justify-content: flex-start;
	margin: 0;
	display: flex;
}

.faq-question-icon,
[id="utilization"] button i,
[id="facility"] button i,
[id="other"] button i {
	transform: rotate(180deg);
	background: rgb(255, 255, 255);
	border-radius: 48px;
	color: #333333;
	font-size: 24px;
	margin: 0px;
	padding: 0px;
	max-width: 100%;
	width: 24px;
	height: 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	transition: transform 0.3s ease;
}

.faq-question-button[aria-expanded="true"] .faq-question-icon,
[id="utilization"] button[aria-expanded="true"] i,
[id="facility"] button[aria-expanded="true"] i,
[id="other"] button[aria-expanded="true"] i {
	transform: rotate(0deg);
}

.faq-answer,
[id="utilization"] [aria-labelledby^="studio-toggle-button"],
[id="facility"] [aria-labelledby^="studio-toggle-button"],
[id="other"] [aria-labelledby^="studio-toggle-button"] {
	display: flex;
	align-content: center;
	align-items: center;
	background: #ffffff;
	border-radius: 8px;
	flex: none;
	flex-direction: column;
	flex-wrap: nowrap;
	height: auto;
	justify-content: flex-start;
	margin: 8px 0px 0px 0px;
	opacity: 1;
	overflow-x: hidden;
	overflow-y: hidden;
	padding: 0px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
	transition: opacity 1s ease, max-height 1s ease, margin 1s ease, padding 1s ease;
	max-height: 1000px;
}

/* _isCloseクラスが付いている場合は非表示 */
[id="utilization"] ._isClose,
[id="facility"] ._isClose,
[id="other"] ._isClose {
	display: none !important;
}

.faq-answer[aria-hidden="true"] {
	opacity: 0;
	max-height: 0;
	overflow: hidden;
	margin: 0;
	padding: 0;
	transition: opacity 1s ease, max-height 1s ease, margin 1s ease, padding 1s ease;
}

.faq-answer[aria-hidden="false"] {
	opacity: 1;
	max-height: 1000px;
	display: flex !important;
	transition: opacity 1s ease, max-height 1s ease, margin 1s ease, padding 1s ease;
}

.faq-answer-content {
	display: flex;
	align-content: flex-start;
	align-items: flex-start;
	background: rgba(255, 255, 255, 0);
	flex: none;
	flex-direction: column;
	flex-wrap: nowrap;
	height: auto;
	justify-content: center;
	opacity: 1;
	padding: 16px 24px;
	width: 100%;
	max-width: 100%;
	box-sizing: border-box;
}

.faq-answer-content a {
	color: #2367ff;
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-size: 16px;
	font-weight: 500;
	height: auto;
	letter-spacing: 0.05em;
	line-height: 1.4;
	text-align: left;
	width: auto;
	max-width: 100%;
	justify-content: flex-start;
	text-decoration: none;
}

.faq-answer-content a:hover {
	text-decoration: underline;
}

.faq-answer-content p {
	color: #333333;
	font-family: "Zen Kaku Gothic New", sans-serif;
	font-size: 16px;
	font-weight: 500;
	height: auto;
	letter-spacing: 0.05em;
	line-height: 1.4;
	margin: 0px 0px 0px 16px;
	text-align: left;
	width: auto;
	max-width: calc(100% - 16px);
	justify-content: flex-start;
}

.faq-answer-content p:first-child {
	margin-left: 0;
}

/* レスポンシブ対応（コンテンツセクション） */
@media screen and (max-width: 1024px) {
	.faq-item,
	[id="utilization"] > div:not(:first-child),
	[id="facility"] > div:not(:first-child),
	[id="other"] > div:not(:first-child) {
		width: 100%;
		max-width: 100%;
	}
}

@media screen and (max-width: 768px) {
	.faq-top-section {
		padding: 60px 20px;
	}
	
	.faq-header {
		width: 100%;
		max-width: 100%;
	}
	
	.faq-main-title {
		font-size: 40px;
	}
	
	.faq-subtitle {
		font-size: 20px;
	}
	
	.faq-blocks {
		flex-direction: column;
		gap: 16px;
		margin-top: 40px;
	}
	
	.faq-block {
		width: 240px;
		max-width: 240px;
	}
	
	[id="utilization"],
	[id="facility"],
	[id="other"] {
		padding: 40px 20px;
	}
	
	[id="other"] {
		border-radius: 40px 40px 0px 0px;
	}
	
	[id="utilization"],
	[id="facility"] {
		border-radius: 0;
	}
	
	.faq-section-header {
		margin-bottom: 40px;
	}
	
	.faq-section-title {
		font-size: 32px;
	}
	
	.faq-section-line {
		height: 48px;
	}
	
	.faq-item {
		width: 100%;
		max-width: 100%;
		margin-bottom: 24px;
	}
	
	.faq-question-button {
		padding: 12px 16px;
		flex-wrap: wrap;
	}
	
	.faq-question-text {
		font-size: 16px;
		line-height: 1.4;
	}
	
	.faq-question-icon {
		width: 20px;
		height: 20px;
		font-size: 20px;
	}
	
	.faq-answer {
		margin: 8px 0px 0px 0px;
	}
	
	.faq-answer-content {
		padding: 12px 16px;
	}
	
	.faq-answer-content a,
	.faq-answer-content p {
		font-size: 14px;
	}
}

#utilization {
	scroll-margin-top: 50px;
}

#facility {
	scroll-margin-top: 50px;
}

#other {
	scroll-margin-top: 50px;
}
