/* Guide page */
.p-page-guide {
	overflow-x: clip;
}

.p-page-guide .p-page-layout__body {
	padding-top: 84px;
	padding-bottom: 120px;
}

.p-page-layout.p-page-guide .l-container.p-page-layout__content {
	width: min(100% - 40px, 960px);
	margin-inline: auto;
}

.p-page-guide__content {
	display: flex;
	flex-direction: column;
	gap: 48px;
}

.p-page-guide__content p,
.p-page-guide__content li {
	color: #2b4f5e;
	font-size: 16px;
	font-weight: 500;
	letter-spacing: 0.03em;
	line-height: 1.85;
}

.p-page-guide__intro {
	display: grid;
	gap: 20px;
	border-radius: 20px;
}

.p-page-guide__intro-lead {
	margin: 0;
	color: #2b4f5e;
	font-size: 21px;
	font-weight: 500;
	letter-spacing: 0.05em;
	line-height: 1.95;
}

.p-page-guide__intro-heading {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 12px 24px;
}

.p-page-guide__intro-title {
	margin: 0;
	color: #2b4f5e;
	font-size: 38px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.26;
}

.p-page-guide__section {
	display: grid;
	gap: 24px;
}

.p-page-guide__content > .p-page-guide__section:not(.p-page-guide__section--check),
.p-page-guide__section-grid {
	padding-top: 48px;
	border-top: 1px solid rgba(43, 79, 94, 0.35);
}

.p-page-guide__section-title {
	margin: 0;
	color: #2b4f5e;
	font-size: 30px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.32;
}

.p-page-guide__flow-lead {
	margin: 0;
	color: #2b4f5e;
	font-size: 15.2px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.84;
}

.p-page-guide__flow-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	grid-template-columns: 1fr;
	gap: 12px;
}

.p-page-guide__flow-item {
	position: relative;
	display: grid;
	grid-template-columns: 94px minmax(0, 1fr);
	gap: 14px;
	align-items: flex-start;
	padding: 18px 18px 20px;
	border-radius: 14px;
	border: 1px solid rgba(43, 79, 94, 0.3);
	background: rgba(255, 255, 255, 0.84);
}

.p-page-guide__flow-item:not(:last-child)::after {
	position: absolute;
	left: 57px;
	bottom: -13px;
	width: 1px;
	height: 12px;
	background: rgba(43, 79, 94, 0.34);
	content: "";
}

.p-page-guide__flow-step {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 1px;
	width: 76px;
	height: 76px;
	margin: 0;
	padding: 0;
	border-radius: 50%;
	background: #2b4f5e;
	border: 1px solid #2b4f5e;
	font-family: "Overpass", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	color: #fff !important;
	text-align: center;
}

.p-page-guide__flow-step-label {
	display: block;
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.16em;
	line-height: 1;
}

.p-page-guide__flow-step-number {
	display: block;
	font-size: 21px;
	font-weight: 600;
	letter-spacing: 0.03em;
	line-height: 1;
	font-variant-numeric: tabular-nums;
}

.p-page-guide__flow-body {
	display: grid;
	gap: 6px;
}

.p-page-guide__flow-body h3 {
	margin: 0;
	color: #2b4f5e;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: 0.05em;
	line-height: 1.46;
}

.p-page-guide__flow-detail {
	margin: 0;
}

.p-page-guide__section--check {
	position: relative;
	padding: 28px 28px 30px;
	border-radius: 18px;
	border: 1px solid rgba(43, 79, 94, 0.32);
	background: rgba(255, 255, 255, 0.76);
}

.p-page-guide__content > .p-page-guide__section--check::before {
	content: "";
	position: absolute;
	top: -24px;
	left: 0;
	width: 100%;
	border-top: 1px solid rgba(43, 79, 94, 0.35);
	pointer-events: none;
}

.p-page-guide__check-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.p-page-guide__check-item {
	display: grid;
	gap: 8px;
	padding: 16px 20px;
	border-radius: 12px;
	background: #fff;
	border: 1px solid rgba(43, 79, 94, 0.28);
}

.p-page-guide__check-label {
	margin: 0;
	color: #2b4f5e;
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.2;
}

.p-page-guide__check-time {
	margin: 0;
	color: #2b4f5e;
	font-family: "Overpass", "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
	font-size: 33px;
	font-weight: 700;
	letter-spacing: 0.02em;
	line-height: 1.1;
}

.p-page-guide__note-list {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 2px;
}

.p-page-guide__note-list li {
	margin: 0;
	color: #2b4f5e;
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.7;
}

.p-page-guide__section-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 20px;
}

.p-page-guide__section-grid .p-page-guide__section {
	padding: 24px 24px 22px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(43, 79, 94, 0.28);
}

.p-page-guide__section-grid .p-page-guide__section p {
	margin: 0;
}

.p-page-guide__section-grid .p-page-guide__section ul {
	margin: -6px 0 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 4px;
}

.p-page-guide__section-grid .p-page-guide__section li {
	margin: 0;
}

.p-page-guide__rule-grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

.p-page-guide__rule-card {
	display: grid;
	gap: 10px;
	padding: 20px 20px 18px;
	border-radius: 14px;
	border: 1px solid rgba(43, 79, 94, 0.28);
	background: rgba(255, 255, 255, 0.88);
}

.p-page-guide__rule-card h3 {
	margin: 0;
	color: #2b4f5e;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.45;
}

.p-page-guide__rule-card p {
	margin: 0;
}

.p-page-guide__rule-card ul {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 2px;
}

.p-page-guide__rule-card li {
	margin: 0;
}

.p-page-guide__rule-card--danger {
	grid-column: 1 / -1;
	border-color: rgba(233, 85, 50, 0.36);
	background: rgba(233, 85, 50, 0.05);
}

.p-page-guide__cancel-grid {
	display: grid;
	gap: 18px;
}

.p-page-guide__cancel-card {
	display: grid;
	gap: 10px;
	padding: 20px;
	border-radius: 14px;
	background: rgba(255, 255, 255, 0.84);
	border: 1px solid rgba(43, 79, 94, 0.3);
}

.p-page-guide__cancel-card h3 {
	margin: 0;
	color: #2b4f5e;
	font-size: 22px;
	font-weight: 700;
	letter-spacing: 0.03em;
	line-height: 1.45;
}

.p-page-guide__cancel-note {
	margin: 0;
	color: #2b4f5e;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: 0.04em;
}

.p-page-guide__cancel-table-wrap {
	overflow-x: auto;
}

.p-page-guide__cancel-table {
	width: 100%;
	min-width: 640px;
	border-collapse: separate;
	border-spacing: 0;
}

.p-page-guide__cancel-table th,
.p-page-guide__cancel-table td {
	padding: 12px 10px;
	border: 0;
	text-align: center;
}

.p-page-guide__cancel-table th {
	background: rgba(94, 168, 181, 0.18);
	border-bottom: 1px solid rgba(43, 79, 94, 0.35);
	color: #2b4f5e;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.45;
	letter-spacing: 0.03em;
}

.p-page-guide__cancel-table td {
	background: rgba(255, 255, 255, 0.74);
	border-bottom: 1px solid rgba(43, 79, 94, 0.2);
	color: #2b4f5e;
	font-size: 14px;
	font-weight: 500;
	line-height: 1.7;
	letter-spacing: 0.03em;
}

.p-page-guide__cancel-table th + th,
.p-page-guide__cancel-table td + td {
	border-left: 1px solid rgba(43, 79, 94, 0.16);
}

.p-page-guide__cancel-list-sp {
	display: none;
	margin: 0;
	padding: 0;
	list-style: none;
}

@media (max-width: 1024px) {
	.p-page-guide__flow-list,
	.p-page-guide__section-grid,
	.p-page-guide__rule-grid {
		grid-template-columns: 1fr;
	}

	.p-page-guide__rule-card--danger {
		grid-column: auto;
	}
}

@media (max-width: 768px) {
	.p-page-guide .p-page-layout__body {
		padding-top: 60px;
		padding-bottom: 82px;
	}

	.p-page-guide__cancel-card {
		gap: 12px;
		padding: 16px;
	}

	.p-page-guide__cancel-table-wrap {
		display: none;
	}

	.p-page-guide__cancel-list-sp {
		display: grid;
		gap: 10px;
	}

	.p-page-guide__cancel-list-sp li {
		display: flex;
		flex-direction: column;
		gap: 6px;
		align-items: flex-start;
		padding: 11px 12px;
		border-radius: 10px;
		border: 1px solid rgba(43, 79, 94, 0.24);
		background: rgba(255, 255, 255, 0.9);
	}

	.p-page-guide__cancel-period {
		color: #2b4f5e;
		font-size: 13px;
		font-weight: 700;
		letter-spacing: 0.04em;
		line-height: 1.45;
	}

	.p-page-guide__cancel-fee {
		color: #2b4f5e;
		font-size: 16px;
		font-weight: 700;
		letter-spacing: 0.03em;
		line-height: 1.35;
		white-space: normal;
	}

	.p-page-guide__content {
		gap: 36px;
	}

	.p-page-guide__content > .p-page-guide__section:not(.p-page-guide__section--check),
	.p-page-guide__section-grid {
		padding-top: 36px;
	}

	.p-page-guide__intro {
		gap: 18px;
	}

	.p-page-guide__intro-lead {
		font-size: 17px;
		line-height: 1.85;
	}

	.p-page-guide__intro-title {
		font-size: 28px;
	}

	.p-page-guide__section {
		gap: 16px;
	}

	.p-page-guide__section-title {
		font-size: 26px;
		line-height: 1.35;
	}

	.p-page-guide__flow-item {
		grid-template-columns: 84px minmax(0, 1fr);
		padding: 16px;
	}

	.p-page-guide__flow-item:not(:last-child)::after {
		left: 49px;
	}

	.p-page-guide__flow-step {
		width: 66px;
		height: 66px;
		border-radius: 50%;
	}

	.p-page-guide__flow-step-label {
		font-size: 7px;
	}

	.p-page-guide__flow-step-number {
		font-size: 17px;
	}

	.p-page-guide__flow-body h3 {
		font-size: 17px;
		letter-spacing: 0.04em;
	}

	.p-page-guide__check-grid {
		grid-template-columns: 1fr;
	}

	.p-page-guide__check-time {
		font-size: 28px;
	}

	.p-page-guide__section--check {
		padding: 20px;
	}

	.p-page-guide__content > .p-page-guide__section--check::before {
		top: -18px;
	}

	.p-page-guide__rule-card h3,
	.p-page-guide__cancel-card h3 {
		font-size: 19px;
	}
}

@media (max-width: 480px) {
	.p-page-layout.p-page-guide .l-container.p-page-layout__content {
		width: min(calc(100% - (2 * var(--fluid-gutter))), 960px);
	}

	.p-page-guide__content p,
	.p-page-guide__content li {
		font-size: 15px;
		line-height: 1.8;
	}

	.p-page-guide__content > .p-page-guide__section:not(.p-page-guide__section--check),
	.p-page-guide__section-grid {
		padding-top: 30px;
	}

	.p-page-guide__intro-lead {
		font-size: 15.5px;
	}

	.p-page-guide__section-title {
		font-size: 24px;
	}

	.p-page-guide__flow-item {
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.p-page-guide__content > .p-page-guide__section--check::before {
		top: -15px;
	}

	.p-page-guide__flow-item::after {
		display: none;
	}

	.p-page-guide__flow-step {
		width: 60px;
		height: 60px;
		border-radius: 50%;
	}

	.p-page-guide__flow-step-label {
		font-size: 6.5px;
	}

	.p-page-guide__flow-step-number {
		font-size: 15px;
	}

	.p-page-guide__flow-body h3 {
		font-size: 16px;
		line-height: 1.5;
	}

	.p-page-guide__check-time {
		font-size: 24px;
	}
}
