/* ==========================================================================
   Franchise Page — フランチャイズオーナー募集
   ========================================================================== */

/* ------------------------------------------------------------------
   Section 2: Rockyの理念（コンセプト — 2カラム）
   ------------------------------------------------------------------ */
.section-franchise__philosophy {
	max-width: 900px;
	margin: 0 auto;
}

.section-franchise__philosophy-quote {
	text-align: center;
	font-family: var(--font-heading);
	font-size: clamp(1.25rem, 3vw, 1.75rem);
	color: var(--color-accent-gold);
	line-height: 2;
	margin-bottom: 3rem;
	padding: 2.5rem;
	border-left: 3px solid var(--color-accent-gold);
	border-right: 3px solid var(--color-accent-gold);
	background-color: rgba(201, 168, 76, 0.04);
	border-radius: 4px;
}

.section-franchise__philosophy-body {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 3rem;
	align-items: start;
}

.section-franchise__philosophy-image img {
	width: 100%;
	height: auto;
	border-radius: 8px;
	object-fit: cover;
}

.section-franchise__image-placeholder {
	width: 100%;
	height: 280px;
	background: var(--color-border);
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.section-franchise__image-placeholder::after {
	content: 'No Image';
	color: var(--color-text-sub);
	font-size: var(--fs-small);
	opacity: 0.6;
}

.section-franchise__philosophy-text {
	color: var(--color-text-sub);
	line-height: 2;
}

.section-franchise__philosophy-text p {
	margin-bottom: 1.5rem;
}

.section-franchise__philosophy-text p:last-child {
	margin-bottom: 0;
}

/* ------------------------------------------------------------------
   Section 3: フランチャイズの特徴 — Checklist with Icons
   ------------------------------------------------------------------ */
.section-franchise__features {
	max-width: 800px;
	margin: 0 auto;
	display: flex;
	flex-direction: column;
	gap: 1.5rem;
}

.section-franchise__feature-item {
	display: flex;
	align-items: flex-start;
	gap: 2rem;
	padding: 2rem;
	background-color: var(--color-bg-sub);
	border: 1px solid var(--color-border);
	border-radius: 8px;
	transition: border-color var(--transition-base), transform var(--transition-base);
}

.section-franchise__feature-item:hover {
	border-color: var(--color-accent-gold);
	transform: translateX(4px);
}

.section-franchise__feature-icon {
	flex-shrink: 0;
	color: var(--color-accent-gold);
}

.section-franchise__feature-content {
	flex: 1;
}

.section-franchise__feature-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-text-main);
	margin-bottom: 0.5rem;
}

.section-franchise__feature-desc {
	color: var(--color-text-sub);
	line-height: 1.8;
}

/* ------------------------------------------------------------------
   Section 4: 開業までの流れ — 7-Step Flow
   ------------------------------------------------------------------ */
.section-franchise__steps {
	display: flex;
	flex-direction: column;
	gap: 0;
	max-width: 700px;
	margin: 0 auto;
}

.section-franchise__step {
	display: flex;
	align-items: flex-start;
	gap: 1.5rem;
	padding: 1.5rem 0;
}

.section-franchise__step-number {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	font-family: var(--font-heading);
	font-size: 1.25rem;
	font-weight: 700;
	color: var(--color-accent-gold);
	border: 2px solid var(--color-accent-gold);
	border-radius: 50%;
	transition: background-color var(--transition-base), color var(--transition-base);
}

.section-franchise__step:hover .section-franchise__step-number {
	background-color: var(--color-accent-gold);
	color: var(--color-bg-main);
}

.section-franchise__step-content {
	flex: 1;
	padding-top: 0.25rem;
}

.section-franchise__step-title {
	font-size: 1.125rem;
	font-weight: 700;
	color: var(--color-text-main);
	margin-bottom: 0.5rem;
}

.section-franchise__step-desc {
	color: var(--color-text-sub);
	font-size: var(--fs-body);
	line-height: 1.8;
}

.section-franchise__step-arrow {
	width: 2px;
	height: 28px;
	background-color: var(--color-border);
	margin-left: 25px;
	position: relative;
}

.section-franchise__step-arrow::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 50%;
	transform: translateX(-50%);
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 6px solid var(--color-border);
}

/* ------------------------------------------------------------------
   Section 5: 必要な資金 — Table
   ------------------------------------------------------------------ */
.section-franchise__cost {
	max-width: 700px;
	margin: 0 auto;
}

.section-franchise__cost-table {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 1.5rem;
}

.section-franchise__cost-table th,
.section-franchise__cost-table td {
	padding: 1.25rem 1.5rem;
	text-align: left;
	border-bottom: 1px solid var(--color-border);
}

.section-franchise__cost-table thead th {
	font-family: var(--font-body);
	font-size: var(--fs-body);
	font-weight: 700;
	color: var(--color-accent-gold);
	border-bottom: 2px solid var(--color-accent-gold);
}

.section-franchise__cost-table tbody td {
	color: var(--color-text-sub);
	font-size: var(--fs-body);
}

.section-franchise__cost-table tbody td:first-child {
	font-weight: 700;
	color: var(--color-text-main);
}

.section-franchise__cost-table tbody tr:hover {
	background-color: rgba(201, 168, 76, 0.04);
}

.section-franchise__cost-note {
	text-align: center;
	color: var(--color-text-sub);
	font-size: var(--fs-small);
}

/* ------------------------------------------------------------------
   Section 6: よくある質問 — FAQ Accordion (button pattern)
   ------------------------------------------------------------------ */
.section-franchise__faq {
	max-width: 800px;
	margin: 0 auto;
}

.section-franchise__faq-item {
	border-bottom: 1px solid var(--color-border);
}

.section-franchise__faq-question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	padding: 1.5rem 0;
	font-family: var(--font-body);
	font-size: 1.0625rem;
	font-weight: 700;
	color: var(--color-text-main);
	background: none;
	border: none;
	cursor: pointer;
	text-align: left;
	transition: color var(--transition-base);
}

.section-franchise__faq-question:hover {
	color: var(--color-accent-gold);
}

.section-franchise__faq-icon {
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 32px;
	height: 32px;
	border: 1px solid var(--color-border);
	border-radius: 50%;
	margin-left: 1rem;
	position: relative;
	transition: border-color var(--transition-base), transform var(--transition-base);
}

.section-franchise__faq-icon::before,
.section-franchise__faq-icon::after {
	content: '';
	position: absolute;
	background-color: var(--color-accent-gold);
	transition: transform var(--transition-base);
}

/* Horizontal bar */
.section-franchise__faq-icon::before {
	width: 14px;
	height: 2px;
}

/* Vertical bar */
.section-franchise__faq-icon::after {
	width: 2px;
	height: 14px;
}

/* When expanded: rotate vertical bar to form minus */
.section-franchise__faq-question[aria-expanded="true"] .section-franchise__faq-icon {
	border-color: var(--color-accent-gold);
	transform: rotate(180deg);
}

.section-franchise__faq-question[aria-expanded="true"] .section-franchise__faq-icon::after {
	transform: rotate(90deg);
}

.section-franchise__faq-answer {
	max-height: 0;
	overflow: hidden;
	transition: max-height var(--transition-slow);
}

.section-franchise__faq-answer p {
	padding: 0 0 1.5rem;
	color: var(--color-text-sub);
	line-height: 1.8;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1024px) {
	.section-franchise__philosophy-body {
		gap: 2rem;
	}
}

@media (max-width: 768px) {
	.section-franchise__philosophy-quote {
		font-size: 1.125rem;
		padding: 2rem 1.5rem;
	}

	.section-franchise__philosophy-body {
		grid-template-columns: 1fr;
	}

	.section-franchise__feature-item {
		flex-direction: column;
		align-items: center;
		text-align: center;
		gap: 1rem;
		padding: 1.5rem;
	}

	.section-franchise__step {
		gap: 1rem;
	}

	.section-franchise__step-number {
		width: 44px;
		height: 44px;
		font-size: 1.1rem;
	}

	.section-franchise__step-arrow {
		margin-left: 21px;
	}

	.section-franchise__cost-table th,
	.section-franchise__cost-table td {
		padding: 1rem;
	}
}
