@charset "utf-8";

/* ==========================================================================
   Variables & Tokens
   ========================================================================== */
:root {
	--faqBorderHover: rgba(239, 68, 68, 0.3);
}

/* ==========================================================================
   FAQ Page
   ========================================================================== */
.faqSec {
	background-color: var(--c_black01);
	padding: 50px 0 100px;
}
.faqSec .l-inner {
	max-width: 800px;
}

/*-------------------------------
 faqCategory
-------------------------------*/
.faqCategory {
	padding: 24px;
	margin-bottom: 32px;
	background-color: var(--c_black03);
	border: 1px solid var(--t_white0101);
	border-radius: 8px;
}
.faqCategory__title {
	font-size: 24px;
	font-weight: 500;
	color: var(--c_white);
	line-height: 1.5;
	margin-bottom: 16px;
}
.faqCategory__list {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.faqCategory__btn {
	padding: 10px 20px;
	font-size: 16px;
	font-weight: 500;
	color: var(--t_white0106);
	border-radius: 9999px;
	cursor: pointer;
	background-color: var(--t_white01005);
	transition: background-color 0.2s ease, color 0.2s ease;
}
.faqCategory__btn:hover {
	background-color: var(--t_white0101);
	color: var(--c_white);
}
.faqCategory__btn--active {
	background-color: var(--t_pink0102);
	color: var(--c_red06);
}
.faqCategory__btn--active:hover {
	background-color: var(--t_pink0103);
	color: var(--c_red06);
}

/*-------------------------------
 faqList
-------------------------------*/
.faqList {
	display: flex;
	flex-direction: column;
	gap: 16px;
}
.faqAccordion {
	background-color: var(--c_black03);
	border: 1px solid var(--t_white0101);
	border-radius: 8px;
	overflow: hidden;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.faqAccordion:hover {
	border-color: var(--faqBorderHover);
}
.faqAccordion__trigger {
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: space-between;
	text-align: left;
	background: transparent;
	padding: 16px 24px;
	cursor: pointer;
	transition: background-color 0.2s ease;
}
.faqAccordion__trigger:hover {
	background: var(--t_white01005);
}

.faqAccordion__question {
	padding-right: 16px;
	font-size: 16px;
	font-weight: 500;
	color: var(--c_white);
	line-height: 1.5;
}
.faqAccordion__icon {
	position: relative;
	width: 20px;
	height: 20px;
	flex-shrink: 0;
	transition: transform 0.2s ease;
}
.faqAccordion__icon::before,
.faqAccordion__icon::after {
	content: "";
	position: absolute;
	top: 10px;
	width: 8px;
	height: 2px;
	background-color: var(--t_white0106);
	transition: background-color 0.2s ease, transform 0.2s ease;
}
.faqAccordion__icon::before {
	left: 3px;
	transform: rotate(45deg);
}
.faqAccordion__icon::after {
	right: 3px;
	transform: rotate(-45deg);
}

.faqAccordion.is-active .faqAccordion__icon {
	transform: rotate(180deg);
}
.faqAccordion.is-active .faqAccordion__icon::before,
.faqAccordion.is-active .faqAccordion__icon::after {
	background-color: var(--c_red06);
}

.faqAccordion__body {
	height: 0;
	overflow: hidden;
	transition: height 0.2s ease-out;
}
.faqAccordion__content {
	padding: 0 24px 16px;
	font-size: 16px;
	color: var(--t_white0107);
	line-height: 1.6;
}
.faqAccordion__answer {
	padding-top: 8px;
	font-weight: 700;
	border-top: 1px solid var(--t_white0101);
}
.faqAccordion__text {
	padding-top: 8px;
}

/*-------------------------------
 otherContact
-------------------------------*/
.otherContact {
	margin-top: 48px;
	background: linear-gradient(to top, rgba(127, 29, 29, 0.2) 0px, rgba(220, 38, 38, 0.2) 100%);
	border-radius: 8px;
	padding: 32px;
	text-align: center;
	border: 1px solid var(--t_red0305);
}
.otherContact__title {
	font-size: 24px;
	font-weight: 700;
	color: var(--c_white);
	line-height: 1.3;
	margin-bottom: 16px;
}
.otherContact__lead {
	font-size: 16px;
	color: var(--t_white0107);
	line-height: 1.6;
	margin-bottom: 24px;
}
.otherContact__action {
	display: block;
}
.otherContact .flexRow {
	display: flex;
	justify-content: center;
	gap: 16px;
}

@media (max-width: 768px) {
	.faqSec {
		padding: 40px 0 60px;
	}
	.faqCategory {
		padding: 20px 10px;
		margin-bottom: 30px;
		border-radius: 8px;
	}
	.faqCategory__title {
		margin-bottom: 20px;
		font-size: 24px;
		text-align: center;
	}
	.faqCategory__list {
		gap: 8px;
	}
	.faqCategory__btn {
		width: calc( ( 100% - 8px ) / 2 );
		padding: 10px 20px;
		font-size: 16px;
		text-align: center;
	}
	.faqList {
		gap: 15px;
	}
	.faqAccordion {
		border-radius: 8px;
	}
	.faqAccordion__trigger {
		padding: 15px 24px;
	}
	.faqAccordion__question {
		padding-right: 15px;
		font-size: 16px;
	}
	.faqAccordion__icon {
		width: 24px;
		height: 24px;
	}
	.faqAccordion__icon::before,
	.faqAccordion__icon::after {
		top: 11px;
		width: 10px;
		height: 2px;
	}
	.faqAccordion__icon::before {
		left: 4px;
	}
	.faqAccordion__icon::after {
		right: 4px;
	}
	.faqAccordion__content {
		padding: 0 24px 15px;
		font-size: 16px;
	}
	.faqAccordion__answer {
		padding-top: 8px;
	}
	.faqAccordion__text {
		padding-top: 8px;
	}
	.faqAccordion__text {
		padding-top: 8px;
	}
	.otherContact {
		margin-top: 45px;
		border-radius: 8px;
		padding: 15px;
	}
	.otherContact__title {
		font-size: 20px;
		margin-bottom: 15px;
	}
	.otherContact__lead {
		font-size: 14px;
		margin-bottom: 24px;
	}
	.otherContact .flexRow {
		display: flex;
		flex-flow: column;
		align-items: center;
		justify-content: flex-start;
		gap: 15px;
	}
}



/* ==========================================================================
   Terms Page
   ========================================================================== */
.termsSec {
	background: var(--c_black01);
	padding: 50px 0 100px;
}
.termsSec .l-inner {
	max-width: 800px;
}
.termsIndex {
	padding: 24px;
	margin-bottom: 32px;
	background-color: var(--c_black03);
	border: 1px solid var(--t_white0101);
	border-radius: 8px;
}
.termsIndex__title {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 24px;
	font-weight: 500;
	color: var(--c_white);
	margin-bottom: 20px;
}
.termsIndex__icon {
	width: 24px;
	height: 24px;
	color: var(--c_red01);
	transform: translateY(2px);
}
.termsIndex__grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 12px 24px;
}
.termsIndex__link {
	font-size: 14px;
	color: var(--t_white0108);
	text-decoration: none;
	transition: color 0.2s ease;
}
.termsIndex__link:hover {
	color: var(--c_red06);
	text-decoration: underline;
}

.termsAlert {
	padding: 24px;
	margin-bottom: 32px;
	background-color:var(--t_red0202);
	border: 1px solid var(--t_red0206);
	border-radius: 8px;
}
.termsAlert__title {
	display: flex;
	align-items: center;
	gap: 16px;
	margin-bottom: 8px;
}
.termsAlert__icon {
	width: 30px;
	height: 30px;
	color: var(--c_red01);
	flex-shrink: 0;
}
.termsAlert__titleText {
	font-size: 28px;
	font-weight: 500;
	color: var(--c_red04);
}
.termsAlert__text {
	padding-left: 46px;
	font-size: 18px;
	color: var(--t_white0108);
	line-height: 1.6;
}

/*-------------------------------
 termsList & termsBlock (本文セクション)
-------------------------------*/
.termsList {
	display: flex;
	flex-direction: column;
	gap: 32px;
}
.termsBlock {
	padding: 32px;
	background-color: var(--c_black03);
	border: 1px solid var(--t_white0101);
	border-radius: 8px;
}
.termsBlock__title {
	position: relative;
	display: flex;
	align-items: center;
	padding-left: 14px;
	font-size: 24px;
	font-weight: 700;
	color: var(--c_white);
	line-height: 1.4;
	margin-bottom: 20px;
}
.termsBlock__title::before {
	content: "";
	position: absolute;
	left: 0;
	top: 13%;
	width: 4px;
	height: 74%;
	background: var(--c_red01); /* ブランドカラーの赤 */
	border-radius: 2px;
}
.termsBlock__content {
	color: var(--t_white0108);
	font-size: 16px;
	line-height: 1.7;
}
.termsBlock__content p + p {
	margin-top: 16px;
}
.termsBlock__subTitle {
	font-size: 16px;
	font-weight: 700;
	color: var(--c_white);
	margin-top: 24px;
	margin-bottom: 12px;
}
.termsBlock__content > .termsBlock__subTitle:first-child {
	margin-top: 0;
}
.termsBlock__list {
	display: grid;
	gap: 10px;
	margin: 12px;
}
.termsBlock__list li {
	position: relative;
	font-size: 16px;
	line-height: 1.5;
}
.termsBlock__list li::before {
	display: inline-block;
	vertical-align: middle;
	content:'';
	width: 10px;
	height: 10px;
	background: var(--c_white);
	border-radius: 50%;
	margin-right: 8px;
}
.termsBlock__note {
	margin-top: 24px;
	background-color: var(--t_white01005);
	padding: 16px;
	border-radius: 4px;
	font-size: 14px;
}

@media (max-width: 768px) {
	.termsSec {
		padding: 40px 0 60px;
	}
	.termsIndex {
		padding: 15px;
		margin-bottom: 32px;
		background-color: var(--c_black03);
		border: 1px solid var(--t_white0101);
		border-radius: 8px;
	}
	.termsIndex__title {
		gap: 8px;
		font-size: 28px;
		margin-bottom: 30px;
	}
	.termsIndex__icon {
		width: 28px;
		height: 28px;
		transform: translateY(2px);
	}
	.termsIndex__grid {
		grid-template-columns: 1fr;
		gap: 20px;
	}
	.termsIndex__link {
		font-size: 18px;
	}
	.termsAlert {
		gap: 8px;
		padding: 15px;
		margin-bottom: 30px;
		border-radius: 8px;
	}
	.termsAlert__title {
		gap: 8px;
		margin-bottom: 8px;
	}
	.termsAlert__icon {
		width: 30px;
		height: 30px;
		margin-top: 6px;
	}
	.termsAlert__titleText {
		font-size: 28px;
	}
	.termsAlert__text {
		padding-left: 0;
		font-size: 18px;
	}

	.termsList {
		gap: 30px;
	}
	.termsBlock {
		padding: 15px;
		border-radius: 8px;
	}
	.termsBlock__title {
		padding-left: 14px;
		font-size: 24px;
		margin-bottom: 15px;
	}
	.termsBlock__content {
		font-size: 16px;
		line-height: 1.7;
	}
	.termsBlock__content p {
		text-align: justify;
	}
	.termsBlock__content p + p {
		margin-top: 16px;
	}
	.termsBlock__subTitle {
		font-size: 18px;
		margin-top: 24px;
		margin-bottom: 12px;
	}
	.termsBlock__content > .termsBlock__subTitle:first-child {
		margin-top: 0;
	}
	.termsBlock__list {
		gap: 10px;
		margin: 12px 0px;
	}
	.termsBlock__list li {
		padding-left: 15px;
		font-size: 16px;
	}
	.termsBlock__list li::before {
		position: absolute;
		content:'';
		left: 0;
		top: 8px;
		width: 10px;
		height: 10px;
		margin-right: 0;
	}
	.termsBlock__note {
		margin-top: 24px;
		padding: 10px 15px;
		font-size: 14px;
		text-align: justify;
		border-radius: 4px;
	}
}