@charset "UTF-8";

/* ==========  Types（ご紹介できる施設の種類）  ========== */

.p-types {
	padding: 0px 0 40px;
	background-color: var(--color-bg);
}

.p-types__inner {
	width: 100%;
	max-width: calc(var(--inner-width) + 16px * 2);
	margin-inline: auto;
	padding-inline: 16px;
}

/* ----------  見出し  ---------- */

.p-types__title {
	display: flex;
	justify-content: center;
	margin-bottom: 28px;
	font-family: var(--font-fv);
	font-weight: 500;
	line-height: 1.3;
	text-align: center;
}

.p-types__title-line {
	display: inline-block;
	padding: 8px 18px;
	border-radius: 10px;
	background-color: var(--color-primary-deep);
	color: var(--color-white);
	font-size: calc(28px + var(--sp-fs-adjust));
}

/* ----------  カード  ---------- */

.p-types__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px 12px;
	max-width: 640px;
	margin: 0 auto 20px;
	padding: 0;
	list-style: none;
}

.p-types__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: 28px 10px 16px;
	border: 2px solid var(--color-primary-deep);
	border-radius: 14px;
	background-color: var(--color-white);
	text-align: center;
}

.p-types__num {
	position: absolute;
	top: 1%;
	left: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background-color: var(--color-primary-deep);
	color: var(--color-white);
	font-family: var(--font-display);
	font-size: calc(24px + var(--sp-fs-adjust));
	font-weight: 700;
	line-height: 1.2;
	transform: translate(-50%, -50%);
	padding-bottom: 1%;
}

.p-types__item-title {
	margin-bottom: 10px;
	padding-bottom: 10px;
	width: 100%;
	border-bottom: 1px dashed var(--color-primary-deep);
	color: var(--color-primary-deep);
	font-family: var(--font-maru-asr);
	font-size: calc(16px + var(--sp-fs-adjust));
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0.02em;
}

.p-types__item-text {
	color: var(--color-text);
	font-family: var(--font-maru-asr);
	font-size: calc(14px + var(--sp-fs-adjust));
	font-weight: 400;
	line-height: 1.55;
	letter-spacing: 0.02em;
	text-align: start;
}

/* ----------  注記  ---------- */

.p-types__note {
	display: flex;
	align-items: flex-start;
	gap: 0;
	max-width: 640px;
	margin-inline: auto;
	color: var(--color-navy);
	font-family: var(--font-maru-asr);
	font-size: calc(11px + var(--sp-fs-adjust));
	font-weight: 400;
	line-height: 1.6;
	letter-spacing: 0.02em;
}

.p-types__note-label {
	flex-shrink: 0;
}

.p-types__note-body {
	flex: 1;
	min-width: 0;
}

