.page-template-page-ai-web-marketing-insights {
	background: #dedede;
}

.page-template-page-ai-web-marketing-insights main {
	padding: 100px 0 64px;
}

.faq-hero {
	margin: 0 auto;
}

.faq-hero__panel {
	width: 129rem;
	max-width: 67.2%;
	margin: 0 auto;
	padding: 68px 108px 56px;
	background: #ffffff;
	box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.04);
}

.page-template-page-ai-web-marketing-insights footer {
	padding-top: 40px;
}

.page-template-page-ai-web-marketing-insights footer::before {
	top: 40px;
	height: calc(100% - 40px);
}

.faq-hero__header {
	max-width: 720px;
	margin: 0 auto 30px;
	text-align: center;
}

.faq-hero__eyebrow {
	margin: 0 0 14px;
	color: #111111;
	font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
	font-size: clamp(26px, 3.2vw, 42px);
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1.15;
}

.faq-hero__eyebrow span {
	color: #e50138;
}

.faq-hero__title {
	margin: 0;
	color: #111111;
	font-size: clamp(18px, 1.7vw, 28px);
	font-weight: 500;
	letter-spacing: 0.06em;
	line-height: 1.4;
}

.faq-hero__lead {
	max-width: 720px;
	margin: 0 auto 44px;
	color: #3d3d3d;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.04em;
	line-height: 1.9;
	text-align: center;
}

.faq-hero__categories {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 8px;
	max-width: 820px;
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.faq-hero__category-item {
	margin: 0;
}

.faq-hero__category {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 78px;
	padding: 14px 18px;
	border: 1px solid #ececec;
	background: #f5f5f5;
	color: #202020;
	font-family: "Noto Sans JP", sans-serif;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.02em;
	line-height: 1.65;
	text-align: center;
	white-space: normal;
	word-break: normal;
	overflow-wrap: anywhere;
	text-wrap: balance;
	box-sizing: border-box;
	cursor: default;
}

.faq-hero__category-label--mobile {
	display: none;
}

.faq-hero__category-label--tablet {
	display: none;
}

.faq-hero__category.is-active {
	border-color: #e50138;
	background: #e50138;
	color: #ffffff;
}

.faq-hero__category:focus {
	outline: none;
}

.faq-hero__category:focus-visible {
	outline: 2px solid #111111;
	outline-offset: 2px;
}

.faq-hero__contents {
	max-width: 820px;
	margin: 100px auto 0;
}

.faq-hero__content {
	padding: 0;
	border: 0;
	background: transparent;
	color: #202020;
}

.faq-hero__content p {
	margin: 0;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.03em;
	line-height: 1.9;
}

.faq-hero__faq {
	display: grid;
	gap: 18px;
}

.faq-hero__section-head {
	margin-bottom: 14px;
	text-align: left;
}

.faq-category-heading__en {
	margin: 0;
	color: #111111;
	font-family: "Josefin Sans", "Noto Sans JP", sans-serif;
	font-weight: 600;
	letter-spacing: 0.08em;
	line-height: 1;
}

.faq-hero__content .faq-category-heading__en {
	font-size: 32px;
	line-height: 1;
}

.faq-category-heading__accent {
	color: #e50138;
	font-size: 1.14em;
	line-height: inherit;
}

.faq-category-heading__accent--a {
	font-size: inherit;
}

.faq-category-heading__accent--m {
	font-size: inherit;
}

.faq-category-heading__instagram-line {
	display: inline;
}

.faq-category-heading__ga4-line {
	display: inline;
}

.faq-category-heading__llmo-line {
	display: inline;
}

.faq-category-heading__meo-line {
	display: inline;
}

.faq-category-heading__ja {
	margin: 2px 0 0;
	color: #2a2a2a;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.2;
}

.faq-hero__faq-item {
	border: 1px solid #ededed;
	background: #ffffff;
}

.faq-hero__faq-question {
	position: relative;
	display: flex;
	align-items: center;
	gap: 18px;
	padding: 20px 56px 20px 24px;
	list-style: none;
	cursor: pointer;
	color: #202020;
	background: #ffffff;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.6;
}

.faq-hero__faq-question::-webkit-details-marker {
	display: none;
}

.faq-hero__faq-question-label {
	flex: 0 0 auto;
	color: #5a5a5a;
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
}

.faq-hero__faq-question-text {
	flex: 1 1 auto;
	margin: 0;
	color: inherit;
	font: inherit;
	font-size: inherit;
	font-weight: inherit;
	line-height: inherit;
}

.faq-hero__faq-question::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 22px;
	width: 9px;
	height: 9px;
	border-right: 1.5px solid #727272;
	border-bottom: 1.5px solid #727272;
	transform: translateY(-62%) rotate(45deg);
	line-height: 1;
}

.faq-hero__faq-item[open] .faq-hero__faq-question::after {
	transform: translateY(-38%) rotate(-135deg);
}

.faq-hero__faq-answer {
	display: flex;
	gap: 18px;
	padding: 20px 24px 22px;
	background: #efefef;
	color: #2d2d2d;
}

.faq-hero__faq-answer-label {
	flex: 0 0 auto;
	margin: 0;
	color: #e50138;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.4;
}

.faq-hero__faq-answer-body {
	flex: 1 1 auto;
}

.faq-hero__faq-answer-body p {
	font-size: 14px;
	font-weight: 400;
	letter-spacing: 0.02em;
	line-height: 1.85;
}

.faq-hero__faq-answer-body strong {
	font-weight: 700;
}

.faq-hero__faq-answer p + p {
	margin-top: 14px;
}

.faq-hero__faq-placeholder {
	padding: 24px;
	border: 1px solid #ededed;
	background: #ffffff;
}

.faq-hero__faq-placeholder p {
	margin: 0;
	font-size: 15px;
	font-weight: 400;
	letter-spacing: 0.03em;
	line-height: 1.9;
}

@media only screen and (max-width: 1600px) {
	.faq-hero__panel {
		max-width: 84%;
	}
}

@media screen and (min-width: 769px) and (max-width: 1024px) {
	.faq-hero__categories {
		width: calc(100% + 168px);
		max-width: none;
		margin-left: -84px;
		margin-right: -84px;
		gap: 6px;
	}

	.faq-hero__category-item {
		display: flex;
	}

	.faq-hero__category {
		height: 108px;
		min-height: 108px;
		padding: 12px 8px;
		align-items: center;
		justify-content: center;
		font-size: 13px;
		line-height: 1.45;
		word-break: keep-all;
		overflow-wrap: normal;
		text-wrap: unset;
	}

	.faq-hero__category-label--desktop {
		display: none;
	}

	.faq-hero__category-label--tablet {
		display: block;
	}

	.faq-hero__category-label--tablet .faq-hero__category-line {
		display: block;
		white-space: nowrap;
	}
}

@media screen and (max-width: 768px) {
	.faq-hero__categories {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		gap: 8px;
	}

	.faq-hero__category {
		min-height: 54px;
		padding: 8px 6px;
		background: #ffffff;
		font-size: 15px;
		font-weight: 500;
		line-height: 1.2;
		text-align: center;
	}

	.faq-hero__category-label--desktop {
		display: none;
	}

	.faq-hero__category-label--mobile {
		display: block;
		white-space: nowrap;
	}
}

@media screen and (max-width: 767px) {
	.page-template-page-ai-web-marketing-insights main {
		padding: 100px 0 24px;
	}

	.faq-hero {
		max-width: 89%;
	}

	.faq-hero__panel {
		padding: 44px 16px 24px;
	}

	.page-template-page-ai-web-marketing-insights footer {
		padding-top: 32px;
	}

	.page-template-page-ai-web-marketing-insights footer::before {
		top: 32px;
		height: calc(100% - 32px);
	}

	.faq-hero__header {
		margin-bottom: 28px;
	}

	.faq-hero__eyebrow {
		margin-bottom: 10px;
		font-size: clamp(20px, 7vw, 28px);
		letter-spacing: 0.02em;
	}

	.faq-hero__title {
		font-size: 18px;
		letter-spacing: 0.04em;
	}

	.faq-hero__lead {
		margin-bottom: 28px;
		font-size: 13px;
		line-height: 1.8;
	}

	.faq-hero__categories {
		gap: 8px;
	}

	.faq-hero__category {
		letter-spacing: 0.01em;
		font-weight: 500;
	}

	.faq-hero__contents {
		margin-top: 60px;
	}

	.faq-hero__section-head {
		margin-bottom: 14px;
	}

	.faq-category-heading__en {
		letter-spacing: 0.07em;
	}

	.faq-hero__content .faq-category-heading__en {
		font-size: 26px;
	}

	.faq-hero__content[data-faq-panel="instagram"] .faq-category-heading__instagram-line {
		display: block;
	}

	.faq-hero__content[data-faq-panel="ga4"] .faq-category-heading__ga4-line {
		display: block;
	}

	.faq-hero__content[data-faq-panel="llmo"] .faq-category-heading__llmo-line {
		display: block;
	}

	.faq-hero__content[data-faq-panel="meo"] .faq-category-heading__meo-line {
		display: block;
	}

	.faq-category-heading__ja {
		margin-top: 2px;
		font-size: 11px;
		letter-spacing: 0.06em;
	}

	.faq-hero__faq {
		gap: 12px;
	}

	.faq-hero__faq-question {
		gap: 14px;
		padding: 16px 44px 16px 16px;
		font-size: 14px;
		line-height: 1.65;
	}

	.faq-hero__faq-question-label {
		font-size: 14px;
	}

	.faq-hero__faq-question::after {
		right: 16px;
		width: 8px;
		height: 8px;
	}

	.faq-hero__faq-answer {
		gap: 14px;
		padding: 16px;
	}

	.faq-hero__faq-placeholder {
		padding: 16px;
	}

	.faq-hero__faq-placeholder p {
		font-size: 13px;
		line-height: 1.8;
	}

	.faq-hero__faq-answer-label {
		font-size: 15px;
	}

	.faq-hero__faq-answer-body p {
		font-size: 13px;
		line-height: 1.8;
	}
}

@media screen and (max-aspect-ratio: 8/10) {
	.faq-hero {
		max-width: 89%;
	}
}
