:root {
	--wb-common-ink: #332b27;
	--wb-common-muted: #70655f;
	--wb-common-accent: #9b6f55;
	--wb-common-ivory: #f7f2ea;
	--wb-common-soft: #fcfaf7;
	--wb-common-line: #e8ded4;
	--wb-common-white: #fff;
	--wb-common-shadow: 0 20px 55px rgba(68, 49, 38, 0.09);
}

.wb-common-page {
	background: var(--wb-common-soft);
	color: var(--wb-common-ink);
	margin: 0;
	max-width: none;
	overflow: clip;
	padding: 0;
	width: 100%;
}

.wb-common-page__hero {
	background:
		radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.82), transparent 31%),
		linear-gradient(135deg, #fbf8f3 0%, var(--wb-common-ivory) 62%, #eee2d7 100%);
	border-bottom: 1px solid var(--wb-common-line);
	align-items: center;
	box-sizing: border-box;
	display: flex;
	min-height: clamp(560px, 36vw, 700px);
	padding: clamp(42px, 5vw, 76px) 24px;
}

.wb-common-page__hero-inner {
	margin: 0 auto;
	max-width: 1328px;
	width: 100%;
}

.wb-common-page__eyebrow {
	color: var(--wb-common-accent);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.17em;
	margin: 0 0 0.8rem;
	text-transform: uppercase;
}

.wb-common-page__hero h1 {
	font-family: "Noto Serif JP", "Yu Mincho", serif;
	font-size: clamp(2.4rem, 4vw, 4rem);
	font-weight: 500;
	letter-spacing: 0.04em;
	line-height: 1.25;
	margin: 0;
}

.wb-common-page__hero h1 + p {
	color: var(--wb-common-muted);
	font-size: clamp(1rem, 1.4vw, 1.12rem);
	line-height: 1.9;
	margin: 1.25rem 0 0;
	max-width: 740px;
}

.wb-common-page__body {
	padding: clamp(48px, 7vw, 96px) 24px;
}

.wb-common-page__card {
	background: var(--wb-common-white);
	border: 1px solid var(--wb-common-line);
	border-radius: 20px;
	box-shadow: var(--wb-common-shadow);
	line-height: 1.9;
	margin: 0 auto;
	max-width: 1080px;
	padding: clamp(28px, 5vw, 64px);
}

.wb-common-page__card > :first-child {
	margin-top: 0;
}

.wb-common-page__card > :last-child {
	margin-bottom: 0;
}

.wb-common-page__card h2,
.wb-common-page__card h3 {
	color: var(--wb-common-ink);
	font-family: "Noto Serif JP", "Yu Mincho", serif;
	font-weight: 500;
	line-height: 1.45;
}

.wb-common-page__card h2 {
	border-bottom: 1px solid var(--wb-common-line);
	font-size: clamp(1.55rem, 2.6vw, 2.15rem);
	margin: 2.2em 0 0.8em;
	padding-bottom: 0.45em;
}

.wb-common-page__card h3 {
	font-size: clamp(1.2rem, 2vw, 1.5rem);
	margin-top: 2em;
}

.wb-common-page__card a {
	color: #76503c;
	overflow-wrap: anywhere;
	text-underline-offset: 0.2em;
}

.wb-common-page__card table {
	border-collapse: collapse;
	display: block;
	max-width: 100%;
	overflow-x: auto;
	width: 100%;
}

.wb-common-page__card th,
.wb-common-page__card td {
	border: 1px solid var(--wb-common-line);
	padding: 13px 16px;
	text-align: left;
}

.wb-common-page__card th {
	background: var(--wb-common-soft);
}

.wb-common-link-list {
	display: grid;
	gap: 10px 24px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	list-style: none;
	margin: 0;
	padding: 0;
}

.wb-common-link-list a {
	align-items: center;
	border-bottom: 1px solid var(--wb-common-line);
	display: flex;
	min-height: 48px;
	text-decoration: none;
}

.wb-common-feature-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin-top: 32px;
}

.wb-common-feature-grid section {
	background: var(--wb-common-soft);
	border: 1px solid var(--wb-common-line);
	border-radius: 16px;
	padding: 26px;
}

.wb-common-feature-grid section h2 {
	border: 0;
	font-size: 1.3rem;
	margin: 0 0 0.65em;
	padding: 0;
}

.wb-profile-note {
	color: var(--wb-common-muted);
	display: block;
	font-size: 0.9rem;
	line-height: 1.7;
	margin-top: 0.25em;
}

.wb-profile-brand-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 28px 0 10px;
}

.wb-profile-brand-grid section {
	background: var(--wb-common-soft);
	border: 1px solid var(--wb-common-line);
	border-radius: 16px;
	padding: 24px;
}

.wb-profile-brand-grid h3 {
	color: #76503c;
	font-size: 1.25rem;
	margin: 0 0 0.55em;
}

.wb-profile-brand-grid p {
	color: var(--wb-common-muted);
	margin: 0;
}

.wb-common-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 32px;
}

.wb-common-button {
	align-items: center;
	border: 1px solid var(--wb-common-accent);
	border-radius: 999px;
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	min-height: 50px;
	padding: 10px 24px;
	text-decoration: none;
}

.wb-common-button--primary {
	background: var(--wb-common-accent);
	color: var(--wb-common-white) !important;
}

.wb-common-page__card > section:last-child {
	background: linear-gradient(180deg, #fff 0%, #fcfaf7 100%);
	border: 1px solid var(--wb-common-line);
	border-radius: 20px;
	box-shadow: 0 16px 38px rgba(68, 49, 38, 0.07);
	margin: clamp(32px, 5vw, 56px) auto 0;
	max-width: 960px;
	padding: clamp(24px, 4vw, 38px);
	text-align: center;
}

.wb-common-page__card > section:last-child h2 {
	border-bottom: 0;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
	margin: 0 0 0.7em;
	padding-bottom: 0;
}

.wb-common-page__card > section:last-child p {
	color: var(--wb-common-muted);
	margin: 0 auto;
	max-width: 780px;
}

.wb-common-page__card > section:last-child p a,
.wb-common-page__card > section:last-child > a,
.wb-common-page__card > section:last-child .wb-common-link-list a {
	align-items: center;
	background: #fff;
	border: 1px solid rgba(155, 111, 85, 0.34);
	border-radius: 999px;
	color: #76503c;
	display: inline-flex;
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.4;
	margin: 8px 5px 0;
	min-height: 40px;
	padding: 9px 16px;
	text-decoration: none;
	transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.wb-common-page__card > section:last-child p a:hover,
.wb-common-page__card > section:last-child > a:hover,
.wb-common-page__card > section:last-child .wb-common-link-list a:hover {
	background: var(--wb-common-accent);
	border-color: var(--wb-common-accent);
	color: var(--wb-common-white);
}

.wb-common-page--docodemo .wb-common-page__hero {
	background:
		radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.78), transparent 31%),
		linear-gradient(135deg, #f7f5f2 0%, #ede9e4 62%, #ddd7d1 100%);
}

@media (max-width: 767px) {
	.wb-common-page__hero {
		min-height: clamp(500px, 120vw, 640px);
		padding: 78px 20px 64px;
	}

	.wb-common-page__body {
		padding: 28px 16px 88px;
	}

	.wb-common-page__card {
		border-radius: 14px;
		padding: 26px 20px;
	}

	.wb-common-page__card > section:last-child {
		border-radius: 16px;
		padding: 22px 16px;
	}

	.wb-common-page__card > section:last-child p a,
	.wb-common-page__card > section:last-child > a,
	.wb-common-page__card > section:last-child .wb-common-link-list a {
		justify-content: center;
		margin-left: 3px;
		margin-right: 3px;
		min-height: 42px;
		padding-left: 14px;
		padding-right: 14px;
	}

	.wb-common-link-list,
	.wb-common-feature-grid,
	.wb-profile-brand-grid {
		grid-template-columns: 1fr;
	}

	.wb-common-actions {
		align-items: stretch;
		flex-direction: column;
	}
}
.wb-store-skeleton-page .wb-common-page__body {
	padding-top: 56px;
}

.wb-store-skeleton-featured-image {
	display: block;
	width: 100%;
	height: auto;
	max-height: 630px;
	object-fit: cover;
	border-radius: 28px;
	margin: 0 0 32px;
}

.wb-store-skeleton-hero {
	display: grid;
	grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
	gap: 32px;
	align-items: center;
	padding: 40px;
	border-radius: 28px;
	background: #f7f2ec;
	margin-bottom: 40px;
}

.wb-store-skeleton-hero__image {
	min-height: 260px;
	border-radius: 24px;
	background:
		linear-gradient(135deg, rgba(183, 134, 92, 0.16), rgba(255, 255, 255, 0.72)),
		#fffaf4;
	border: 1px solid rgba(183, 134, 92, 0.24);
	margin: 0;
}

.wb-store-skeleton-hero__copy h1 {
	margin-top: 0;
	color: #332b25;
}

.wb-store-skeleton-table {
	width: 100%;
	border-collapse: collapse;
	margin: 20px 0 36px;
}

.wb-store-skeleton-table th,
.wb-store-skeleton-table td {
	border-bottom: 1px solid #eaded4;
	padding: 16px 14px;
	text-align: left;
	vertical-align: top;
}

.wb-store-skeleton-table th {
	width: 180px;
	color: #7a563b;
	background: #fbf7f2;
}

.wb-store-skeleton-page a[href*="yoyaku.whiteningbar.jp"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 12px 24px;
	border-radius: 999px;
	background: #b7865c;
	color: #fff;
	text-decoration: none;
	font-weight: 700;
}

.wb-store-skeleton-page a[href*="yoyaku.whiteningbar.jp"]:hover {
	background: #8d6446;
	color: #fff;
}

@media (max-width: 767px) {
	.wb-store-skeleton-page .wb-common-page__body {
		padding-top: 32px;
	}

	.wb-store-skeleton-hero {
		grid-template-columns: 1fr;
		padding: 24px;
	}

	.wb-store-skeleton-hero__image {
		min-height: 180px;
	}

	.wb-store-skeleton-table th,
	.wb-store-skeleton-table td {
		display: block;
		width: 100%;
	}

	.wb-store-skeleton-table th {
		border-bottom: 0;
		padding-bottom: 6px;
	}

	.wb-store-skeleton-table td {
		padding-top: 6px;
	}
}

.wb-common-page--doctor .wb-common-page__card {
	max-width: 1040px;
}

.wb-doctor-profile {
	align-items: start;
	background: linear-gradient(135deg, #fffaf7 0%, #fff 100%);
	border: 1px solid rgba(183, 134, 92, 0.2);
	border-radius: 24px;
	display: grid;
	gap: clamp(28px, 4vw, 44px);
	grid-template-columns: minmax(240px, 320px) minmax(0, 1fr);
	margin: 6px 0 44px;
	padding: clamp(26px, 4vw, 40px);
}

.wb-doctor-profile__photo {
	align-items: center;
	background: linear-gradient(135deg, #f7f2ec 0%, #fff 100%);
	border: 1px solid rgba(183, 134, 92, 0.28);
	border-radius: 20px;
	box-shadow: 0 18px 42px rgba(78, 52, 35, 0.08);
	color: #9b6a43;
	display: flex;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 0;
	aspect-ratio: 3 / 4;
	height: auto;
	justify-content: center;
	letter-spacing: 0.04em;
	margin: 0;
	max-width: 320px;
	overflow: hidden;
	width: 100%;
}

.wb-doctor-profile__image {
	border-radius: 20px;
	display: block;
	height: 100%;
	object-fit: cover;
	object-position: center top;
	width: 100%;
}

.wb-doctor-profile__content {
	align-self: center;
	max-width: 620px;
}

.wb-doctor-message p {
	color: #584d46;
	line-height: 2;
	margin: 0 0 1.05em;
}

.wb-doctor-profile__role {
	color: #9b6a43;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	margin: 0 0 10px;
	text-transform: uppercase;
}

.wb-doctor-profile__content h2 {
	font-size: clamp(1.9rem, 3vw, 2.45rem);
	letter-spacing: 0.04em;
	margin: 0 0 18px;
}

.wb-doctor-profile__editable {
	background: #fff;
	border-radius: 999px;
	color: #8d6446;
	display: inline-block;
	font-size: 0.9rem;
	font-weight: 700;
	margin: 0 0 18px;
	padding: 6px 12px;
}

.wb-doctor-profile-details {
	background: #fff;
	border: 1px solid rgba(183, 134, 92, 0.18);
	border-radius: 20px;
	margin: 36px 0 42px;
	padding: clamp(24px, 4vw, 36px);
}

.wb-doctor-profile-details h2 {
	margin-top: 0;
}

.wb-doctor-profile-details__grid {
	display: grid;
	gap: 28px;
	grid-template-columns: 220px minmax(0, 1fr);
}

.wb-doctor-profile-details__name {
	color: #332b25;
	font-family: "Noto Serif JP", "Yu Mincho", serif;
	font-size: clamp(1.8rem, 3vw, 2.4rem);
	margin: 0 0 0.25em;
}

.wb-doctor-career-list {
	display: grid;
	gap: 14px;
	margin: 0;
}

.wb-doctor-career-list div {
	display: grid;
	gap: 14px;
	grid-template-columns: 90px minmax(0, 1fr);
}

.wb-doctor-career-list dt {
	color: #b07445;
	font-weight: 700;
}

.wb-doctor-career-list dd {
	margin: 0;
}

.wb-doctor-supervision-list {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	list-style: none;
	margin: 18px 0 0;
	padding: 0;
}

.wb-doctor-supervision-list li {
	background: #f7f2ec;
	border-radius: 999px;
	color: #76503c;
	font-weight: 700;
	padding: 8px 14px;
}

.wb-doctor-supervision {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	margin: 22px 0 42px;
}

.wb-doctor-supervision section {
	background: #fff;
	border: 1px solid rgba(183, 134, 92, 0.18);
	border-radius: 18px;
	box-shadow: 0 14px 36px rgba(78, 52, 35, 0.06);
	padding: 26px 22px;
	text-align: center;
}

.wb-doctor-supervision__label {
	color: #7a563b;
	font-size: 0.9rem;
	font-weight: 700;
	margin: 0 0 10px;
}

.wb-doctor-supervision__value {
	color: #332b25;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.45rem;
	line-height: 1.5;
	margin: 0;
}

.wb-doctor-cta {
	background: #f7f2ec;
	border-radius: 22px;
	margin: 46px 0 0;
	padding: 34px 28px;
	text-align: center;
}

.wb-doctor-cta h2 {
	margin-top: 0;
}

.wb-common-page__related--doctor {
	background: #fffaf5;
	border: 1px solid rgba(183, 134, 92, 0.18);
	border-radius: 22px;
	margin: 44px 0 0;
	padding: 30px;
	text-align: center;
}

.wb-common-page--profile .wb-common-page__related--doctor .wb-common-button--primary {
	background-color: #b07d58 !important;
	color: #fff !important;
}

.wb-common-page--profile .wb-common-page__related--doctor .wb-common-button--primary:hover {
	background-color: #8c6244 !important;
	color: #fff !important;
}

@media (max-width: 767px) {
	.wb-doctor-profile,
	.wb-doctor-supervision {
		grid-template-columns: 1fr;
	}

	.wb-doctor-profile {
		gap: 24px;
		padding: 24px 20px;
	}

	.wb-doctor-profile__photo {
		height: auto;
		margin: 0 auto;
		max-width: min(100%, 320px);
		width: 100%;
	}

	.wb-doctor-profile__content {
		align-self: auto;
		max-width: none;
	}

	.wb-doctor-profile__role {
		font-size: 0.8rem;
		margin-bottom: 8px;
	}

	.wb-doctor-profile__content h2 {
		margin-bottom: 16px;
	}

	.wb-doctor-message p {
		line-height: 1.9;
		margin-bottom: 1em;
	}

	.wb-doctor-profile-details__grid,
	.wb-doctor-career-list div {
		grid-template-columns: 1fr;
	}
}
