@charset "utf-8";

/**
 * Membership、帮助中心、規約、FAQなど固定ページ専用スタイル。
 */

/* Membershipページの編集用タイトルは画面に表示しない */
.page-membership h1 {
	display: none;
}

/* --------------------------------------------------------------------------
 * 帮助中心
 * ----------------------------------------------------------------------- */

.page-help p {
	margin-bottom: 1.41575em;
}

.page-help h2 + p {
	margin-top: 1em;
}

.help-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 3em;
}

.help-nav-button {
	display: inline-block;
	padding: 0.6em 1.4em;
	border: 1px solid #ddd;
	border-radius: 15px;
	background: var(--jy-color-surface);
	color: var(--jy-color-text);
	font-size: 14px;
	line-height: 1.4;
	transition: background 0.2s ease, box-shadow 0.2s ease, transform 0.1s ease;
}

.help-nav-button:hover,
.help-nav-button:focus {
	background: #f5f5f5;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.06);
	text-decoration: none;
	transform: translateY(-1px);
}

/* Storefront本文リンクの下線をナビゲーションボタンだけ解除する */
.hentry .entry-content a.help-nav-button,
.hentry .entry-content a.help-nav-button:hover,
.hentry .entry-content a.help-nav-button:focus {
	text-decoration: none;
}

@media (max-width: 600px) {
	.help-nav-button {
		flex: 1 1 100%;
		text-align: center;
	}
}

/* 購入フローを縦方向のタイムラインとして表示する */
.wp-block-list.flow-timeline {
	margin: 2rem 0;
	padding: 0;
	list-style: none;
	counter-reset: step;
}

.wp-block-list.flow-timeline > li {
	position: relative;
	margin: 0 0 2rem;
	padding-left: 3.5rem;
	line-height: 1.7;
}

.wp-block-list.flow-timeline > li::before {
	position: absolute;
	top: 0.1rem;
	left: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 2.2rem;
	height: 2.2rem;
	border: 2px solid #ccc;
	border-radius: 50%;
	background: var(--jy-color-surface);
	color: var(--jy-color-text);
	content: counter(step);
	font-size: 0.9rem;
	font-weight: 700;
	counter-increment: step;
}

.wp-block-list.flow-timeline > li::after {
	position: absolute;
	top: 2.3rem;
	left: 1.1rem;
	width: 0;
	height: calc(100% - 2.3rem);
	border-left: 2px solid #eee;
	content: "";
}

.wp-block-list.flow-timeline > li:last-child::after {
	display: none;
}

/* 各工程内の注文ステータスは通常の箇条書きとして表示する */
.wp-block-list.flow-timeline > li > ul.wp-block-list {
	margin-top: 0.75rem;
	margin-bottom: 0;
	padding-left: 1.2rem;
	list-style: disc;
}

.wp-block-list.flow-timeline > li > ul.wp-block-list li {
	margin-bottom: 0.4rem;
}

.page-help .hentry .entry-content .cs-link-btn {
	margin-top: -14px;
}

.page-help .hentry .entry-content .cs-link-btn a {
	font-weight: 400;
}

.page-help .hentry .entry-content .cs-link-btn .wp-block-button {
	margin-bottom: 0;
}

.page-help p.pc-cs-link-notice {
	margin-bottom: 0.5em;
}

/* --------------------------------------------------------------------------
 * 規約・法定表示
 * ----------------------------------------------------------------------- */

.privacy-policy p + h2,
.page-commercial-law p + h2 {
	margin-top: 1.5em;
}

/* --------------------------------------------------------------------------
 * 常见问题
 * ----------------------------------------------------------------------- */

.page-faq h3 {
	color: #6d6d6d;
	font-size: 18px;
	font-weight: 400;
}

.page-faq .wp-block-accordion-heading__toggle:hover {
	background-color: var(--jy-color-surface);
}

.page-faq .hentry .entry-content .cs-link-btn .wp-block-button {
	margin-bottom: 0;
}

.page-faq .hentry .entry-content .cs-link-btn .wp-block-button a.wp-block-button__link {
	padding-top: 10px;
	padding-bottom: 10px;
	font-weight: 400;
}
