/*
 * ミエルネ デザインシステム
 * Deep blue / warm beige / restrained gold
 */

:root {
	--mierune-navy-900: #0d2945;
	--mierune-navy-800: #123a63;
	--mierune-blue-700: #175e9b;
	--mierune-blue-500: #3b86b8;
	--mierune-blue-100: #eaf4f8;
	--mierune-beige-100: #f6f1e8;
	--mierune-beige-50: #fcfbf8;
	--mierune-gold-500: #b89658;
	--mierune-ink: #163047;
	--mierune-muted: #5f7180;
	--mierune-line: #dbe4e9;
	--mierune-white: #ffffff;
	--mierune-radius-sm: 12px;
	--mierune-radius-md: 20px;
	--mierune-radius-lg: 32px;
	--mierune-shadow: 0 18px 50px rgba(13, 41, 69, 0.1);
	--mierune-content: 1120px;
}

body {
	color: var(--mierune-ink);
	background: var(--mierune-beige-50);
	font-family: -apple-system, BlinkMacSystemFont, "Helvetica Neue", "Yu Gothic",
		YuGothic, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
	font-feature-settings: "palt";
	letter-spacing: 0.02em;
}

a {
	text-underline-offset: 0.18em;
}

.l-header {
	border-bottom: 1px solid rgba(219, 228, 233, 0.85);
	background: rgba(255, 255, 255, 0.96);
	box-shadow: 0 8px 30px rgba(13, 41, 69, 0.05);
}

.l-header__inner {
	min-height: 72px;
}

.c-headLogo {
	flex: 0 0 auto;
	width: 184px;
	max-width: 184px;
}

.c-headLogo__img {
	display: block;
	width: 184px;
	height: auto;
	max-height: 48px;
	object-fit: contain;
	object-position: left center;
}

.c-gnav > .menu-item > a {
	color: var(--mierune-navy-900);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.025em;
}

.c-gnav > .menu-item > a::after {
	background: var(--mierune-gold-500);
}

.c-gnav > .menu-item.mierune-header-cta {
	display: flex;
	align-items: center;
	margin-left: 0.25rem;
}

.c-gnav > .menu-item.mierune-header-cta > a {
	align-self: center;
	height: auto;
	min-height: 42px;
	padding: 0.72rem 1.15rem;
	border-radius: 999px;
	background: var(--mierune-navy-800);
	box-shadow: 0 8px 22px rgba(13, 41, 69, 0.16);
	color: var(--mierune-white);
	line-height: 1.25;
	transition: background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.c-gnav > .menu-item.mierune-header-cta > a:hover,
.c-gnav > .menu-item.mierune-header-cta > a:focus-visible {
	background: var(--mierune-blue-700);
	box-shadow: 0 10px 28px rgba(13, 41, 69, 0.22);
	transform: translateY(-1px);
}

.c-gnav > .menu-item.mierune-header-cta > a::after {
	display: none;
}

.l-footer {
	color: rgba(255, 255, 255, 0.84);
	background: var(--mierune-navy-900);
}

.l-footer a,
.l-footer .copyright {
	color: inherit;
}

.l-footer__nav a:hover {
	color: var(--mierune-white);
}

.l-footer__widgetArea {
	border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.l-footer .c-widget__title {
	margin-bottom: 1rem;
	border: 0;
	color: var(--mierune-white);
	font-size: 1rem;
	font-weight: 700;
}

.mierune-footer-block {
	color: rgba(255, 255, 255, 0.78);
	font-size: 0.88rem;
	line-height: 1.8;
}

.mierune-footer-block p {
	margin: 0;
}

.mierune-footer-block__note {
	margin-top: 0.7rem !important;
	color: rgba(255, 255, 255, 0.54);
	font-size: 0.76rem;
}

.mierune-footer-block ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mierune-footer-block li + li {
	margin-top: 0.45rem;
}

.mierune-footer-block a {
	text-decoration: none;
}

.mierune-footer-block a:hover,
.mierune-footer-block a:focus-visible {
	color: var(--mierune-white);
	text-decoration: underline;
}

.home #content.l-content {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.home #main_content,
.home .l-mainContent__inner {
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.mierune-hero {
	position: relative;
	isolation: isolate;
	overflow: hidden;
	margin-top: 0 !important;
	color: var(--mierune-ink);
	background:
		radial-gradient(circle at 8% 14%, rgba(234, 244, 248, 0.98), transparent 32%),
		linear-gradient(125deg, #fbf8f1 0%, #f7f3ea 48%, #eef6f8 100%);
}

.mierune-hero::before,
.mierune-hero::after {
	position: absolute;
	z-index: -1;
	border-radius: 50%;
	content: "";
}

.mierune-hero::before {
	top: -15rem;
	right: -12rem;
	width: 38rem;
	height: 38rem;
	border: 1px solid rgba(23, 94, 155, 0.12);
	background: rgba(234, 244, 248, 0.5);
}

.mierune-hero::after {
	display: none;
}

.mierune-hero__inner {
	width: min(var(--mierune-content), calc(100% - 40px));
	margin-inline: auto;
	padding: clamp(3.75rem, 6vw, 5.5rem) 1.25rem;
}

.mierune-hero__grid {
	align-items: center;
	gap: clamp(2rem, 4vw, 3.25rem);
	margin-bottom: 0;
}

.mierune-hero__copy {
	position: relative;
	z-index: 2;
	min-width: 0;
}

.mierune-eyebrow,
.mierune-section__en {
	display: flex;
	align-items: center;
	gap: 0.65rem;
	margin: 0 0 1rem;
	color: var(--mierune-blue-700);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: none;
}

.mierune-eyebrow::before,
.mierune-section__en::before {
	flex: 0 0 auto;
	width: 26px;
	height: 2px;
	border-radius: 999px;
	background: var(--mierune-gold-500);
	content: "";
	transform: none;
}

.mierune-section__en.has-text-align-center {
	justify-content: center;
}

.mierune-hero__title {
	max-width: 680px;
	margin: 0;
	color: var(--mierune-navy-900);
	font-size: clamp(2.25rem, 4.8vw, 3.95rem);
	font-weight: 700;
	line-height: 1.22;
	letter-spacing: 0.02em;
}

.mierune-hero__lead {
	max-width: 720px;
	margin: 1.65rem 0 0;
	color: var(--mierune-muted);
	font-size: clamp(0.98rem, 1.7vw, 1.1rem);
	line-height: 1.9;
}

.mierune-hero__buttons {
	margin-top: 2rem;
	gap: 20px;
}

.mierune-button-primary .wp-block-button__link {
	border: 1px solid var(--mierune-gold-500);
	border-radius: 999px;
	background: var(--mierune-gold-500);
	box-shadow: 0 10px 26px rgba(0, 0, 0, 0.14);
	color: var(--mierune-white);
	font-weight: 700;
}

.mierune-button-primary .wp-block-button__link:hover {
	border-color: #a68243;
	background: #a68243;
	transform: translateY(-1px);
}

.mierune-button-secondary .wp-block-button__link {
	border-color: rgba(18, 58, 99, 0.42);
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.66);
	color: var(--mierune-navy-800);
	font-weight: 700;
}

.mierune-button-secondary .wp-block-button__link:hover {
	border-color: var(--mierune-navy-800);
	background: var(--mierune-white);
}

.mierune-hero__visual-column {
	position: relative;
	z-index: 1;
	width: 100%;
	max-width: 480px;
	margin-left: auto;
}

.mierune-hero__visual {
	overflow: hidden;
	margin: 0;
	border: 8px solid rgba(255, 255, 255, 0.92);
	border-radius: 46% 46% 32px 32px / 38% 38% 32px 32px;
	background: var(--mierune-beige-100);
	box-shadow: 0 18px 44px rgba(13, 41, 69, 0.12);
}

.mierune-hero__visual img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
	object-fit: cover;
}

.mierune-section {
	padding-top: clamp(4rem, 6.5vw, 5.75rem);
	padding-bottom: clamp(4rem, 6.5vw, 5.75rem);
}

.mierune-section__inner,
.mierune-topic-section {
	width: min(var(--mierune-content), calc(100% - 40px));
	margin-inline: auto;
}

.mierune-section--tint {
	padding-right: max(1.25rem, calc((100vw - var(--mierune-content)) / 2));
	padding-left: max(1.25rem, calc((100vw - var(--mierune-content)) / 2));
	background: var(--mierune-blue-100);
}

.mierune-section__en {
	margin-bottom: 0.75rem;
}

.mierune-section__title {
	margin: 0;
	color: var(--mierune-navy-900);
	font-size: clamp(1.8rem, 4vw, 2.75rem);
	line-height: 1.45;
}

.mierune-section__lead {
	margin-top: 1rem;
	color: var(--mierune-muted);
	line-height: 1.9;
}

.mierune-topic-search {
	max-width: 760px;
	margin: 2.2rem auto 0;
	padding: 1.15rem 1.25rem;
	border: 1px solid var(--mierune-line);
	border-radius: 18px;
	background: var(--mierune-white);
	box-shadow: 0 12px 34px rgba(13, 41, 69, 0.07);
}

.mierune-topic-search__label {
	display: block;
	margin-bottom: 0.65rem;
	color: var(--mierune-navy-900);
	font-size: 0.82rem;
	font-weight: 700;
}

.mierune-topic-search__field {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
}

.mierune-topic-search__field input {
	min-width: 0;
	height: 50px;
	padding: 0 1rem;
	border: 1px solid var(--mierune-line);
	border-radius: 12px;
	outline: none;
	background: var(--mierune-beige-50);
	color: var(--mierune-ink);
	font: inherit;
}

.mierune-topic-search__field input:focus {
	border-color: var(--mierune-blue-500);
	box-shadow: 0 0 0 3px rgba(59, 134, 184, 0.14);
}

.mierune-topic-search__field button {
	min-width: 112px;
	height: 50px;
	padding: 0 1.2rem;
	border: 0;
	border-radius: 12px;
	background: var(--mierune-navy-800);
	color: var(--mierune-white);
	cursor: pointer;
	font: inherit;
	font-size: 0.86rem;
	font-weight: 700;
}

.mierune-topic-search__field button:hover {
	background: var(--mierune-blue-700);
}

.mierune-topic-grid {
	margin-top: clamp(2.25rem, 5vw, 4rem);
	gap: 22px;
}

.mierune-topic-card {
	position: relative;
	display: flex;
	flex-direction: column;
	overflow: hidden;
	min-width: 0;
	min-height: 320px;
	padding: clamp(1.6rem, 3vw, 2.4rem);
	border: 1px solid var(--mierune-line);
	border-radius: var(--mierune-radius-md);
	background: var(--mierune-white);
	box-shadow: 0 12px 36px rgba(13, 41, 69, 0.07);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.mierune-topic-card::before {
	position: absolute;
	top: 0;
	right: 0;
	left: 0;
	height: 4px;
	background: var(--mierune-blue-700);
	content: "";
}

.mierune-topic-card.is-contact::before {
	background: var(--mierune-blue-500);
}

.mierune-topic-card.is-life::before {
	background: var(--mierune-gold-500);
}

.mierune-topic-card::after {
	position: absolute;
	right: -44px;
	bottom: -50px;
	width: 112px;
	height: 112px;
	border-radius: 50%;
	background: var(--mierune-blue-100);
	content: "";
	opacity: 0.68;
	transition: transform 0.25s ease;
}

.mierune-topic-card.is-life::after {
	background: var(--mierune-beige-100);
}

.mierune-topic-card:hover {
	box-shadow: var(--mierune-shadow);
	transform: translateY(-5px);
}

.mierune-topic-card:hover::after {
	transform: scale(1.14);
}

.mierune-topic-card__number {
	position: relative;
	z-index: 1;
	margin: 0;
	color: var(--mierune-blue-700);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.mierune-topic-card h3 {
	position: relative;
	z-index: 1;
	margin-top: 1.35rem;
	margin-bottom: 0.8rem;
	color: var(--mierune-navy-900);
	font-size: 1.55rem;
}

.mierune-topic-card > p:not(.mierune-topic-card__number, .mierune-topic-card__link) {
	position: relative;
	z-index: 1;
	margin-top: 0;
	color: var(--mierune-muted);
	line-height: 1.85;
}

.mierune-topic-card__link {
	position: relative;
	z-index: 1;
	margin: auto 0 0;
	padding-top: 1.5rem;
}

.mierune-topic-card__link a {
	display: flex;
	justify-content: space-between;
	padding-top: 1rem;
	border-top: 1px solid var(--mierune-line);
	color: var(--mierune-blue-700);
	font-weight: 800;
	text-decoration: none;
}

.mierune-trust {
	display: grid;
	grid-template-columns: minmax(270px, 0.72fr) minmax(0, 1.55fr);
	grid-template-rows: minmax(0, 1fr) auto;
	column-gap: clamp(2.5rem, 4.5vw, 3.5rem);
	row-gap: 0;
	align-items: center;
	margin-top: clamp(3rem, 7vw, 6rem);
	margin-bottom: clamp(3rem, 7vw, 6rem);
	padding: clamp(2.5rem, 5vw, 3.5rem) 0;
	border-radius: 0;
	background: transparent;
	box-shadow: none;
	width: min(var(--mierune-content), calc(100% - 40px));
	margin-right: auto;
	margin-left: auto;
}

.mierune-trust__intro {
	grid-column: 1;
	grid-row: 1;
	max-width: 360px;
	margin: 0;
	padding: 0;
	text-align: left;
}

.mierune-trust__title {
	margin: 0;
	color: var(--mierune-navy-900);
	font-size: clamp(1.65rem, 2.8vw, 2.15rem);
	line-height: 1.5;
}

.mierune-trust__intro .mierune-eyebrow {
	justify-content: flex-start;
	margin-bottom: 0.85rem;
}

.mierune-trust__intro > p:last-child {
	margin: 1.15rem 0 0;
	color: var(--mierune-muted);
	font-size: 0.9rem;
	line-height: 1.85;
}

.mierune-trust__banners {
	grid-column: 2;
	grid-row: 1;
	align-self: center;
	min-width: 0;
	width: 100%;
	height: auto;
}

.mierune-trust__banners > *,
.mierune-trust__banners .wp-block-shortcode {
	width: 100%;
	height: auto;
	max-width: none !important;
	margin: 0;
}

.mierune-trust__note {
	grid-column: 2;
	grid-row: 2;
	margin: 0;
	padding: 0.8rem 0 0;
	border-top: 0;
	color: var(--mierune-muted);
	font-size: 11px;
	line-height: 1.7;
	text-align: left;
}

.mierune-category-hero {
	margin-top: 2rem;
	padding: clamp(2rem, 5vw, 4rem);
	border-radius: var(--mierune-radius-lg);
	background:
		radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.9), transparent 27%),
		var(--mierune-blue-100);
}

.mierune-category-hero.is-contact {
	background:
		radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.88), transparent 27%),
		linear-gradient(135deg, #e4f3f7, #f2f8fa);
}

.mierune-category-hero.is-life {
	background:
		radial-gradient(circle at 88% 12%, rgba(255, 255, 255, 0.92), transparent 27%),
		linear-gradient(135deg, var(--mierune-beige-100), #fbf8f1);
}

.mierune-category-hero__title {
	margin: 0;
	color: var(--mierune-navy-900);
	font-size: clamp(2rem, 5vw, 3.6rem);
}

.mierune-category-hero__lead {
	max-width: 760px;
	color: var(--mierune-muted);
	font-size: 1.05rem;
	line-height: 1.9;
}

.mierune-category-popular-block {
	margin-top: clamp(2rem, 4vw, 3rem);
}

.mierune-category-popular-block > h2 {
	margin-bottom: 1.4rem;
	color: var(--mierune-navy-900);
	font-size: clamp(1.45rem, 2.4vw, 1.9rem);
}

.mierune-intent-grid {
	margin-top: 2rem;
	gap: 14px;
}

.mierune-intent-card {
	padding: 1.35rem;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: var(--mierune-radius-sm);
	background: rgba(255, 255, 255, 0.82);
}

.mierune-intent-card h3 {
	margin: 0 0 0.5rem;
	color: var(--mierune-navy-800);
	font-size: 1rem;
}

.mierune-intent-card p {
	margin: 0;
	color: var(--mierune-muted);
	font-size: 13px;
	line-height: 1.7;
}

.p-postList.-type-card .p-postList__item {
	overflow: hidden;
	border: 1px solid var(--mierune-line);
	border-radius: var(--mierune-radius-sm);
	background: var(--mierune-white);
	box-shadow: 0 10px 30px rgba(13, 41, 69, 0.06);
}

.p-postList.-type-card .p-postList__link {
	transition: transform 0.25s ease;
}

.p-postList.-type-card .p-postList__link:hover {
	transform: translateY(-3px);
}

.mierune-home-latest {
	padding-top: clamp(4.5rem, 6.5vw, 5.5rem);
	padding-bottom: clamp(3rem, 4.5vw, 3.75rem);
	border-top: 1px solid rgba(184, 150, 88, 0.12);
	border-bottom: 1px solid rgba(23, 94, 155, 0.12);
	background:
		radial-gradient(circle at 9% 8%, rgba(255, 255, 255, 0.86), transparent 28%),
		linear-gradient(135deg, #f8f4ec 0%, #f4f7f6 52%, #edf6f9 100%);
}

.mierune-home-latest .p-postList.-type-card,
.single .p-relatedPosts {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(1.4rem, 2.5vw, 1.8rem);
	margin: 2.5rem 0 0;
}

.mierune-home-latest .p-postList.-type-card .p-postList__item,
.single .p-relatedPosts .p-postList__item {
	width: auto !important;
	margin: 0 !important;
	padding: 0 !important;
}

.mierune-home-latest .p-postList.-type-card .p-postList__link,
.single .p-relatedPosts .p-postList__link {
	display: flex;
	height: 100%;
	flex-direction: column;
}

.mierune-home-latest .p-postList.-type-card .p-postList__thumb,
.single .p-relatedPosts .p-postList__thumb {
	overflow: hidden;
	aspect-ratio: 16 / 10;
}

.mierune-home-latest .p-postList.-type-card .c-postThumb__figure,
.single .p-relatedPosts .c-postThumb__figure {
	height: 100%;
}

.mierune-home-latest .p-postList.-type-card .c-postThumb__img,
.single .p-relatedPosts .c-postThumb__img {
	height: 100% !important;
	object-fit: cover;
}

.mierune-home-latest .p-postList.-type-card .p-postList__body,
.single .p-relatedPosts .p-postList__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 1.05rem 1.1rem 1.15rem;
}

.mierune-home-latest .p-postList.-type-card .p-postList__title,
.single .p-relatedPosts .p-postList__title {
	font-size: 0.95rem;
	line-height: 1.65;
}

.mierune-home-latest .p-postList.-type-card .p-postList__meta,
.single .p-relatedPosts .p-postList__meta {
	margin-top: auto;
	padding-top: 0.75rem;
}

.home .mierune-trust {
	margin-top: 0;
	margin-bottom: 0;
	padding-top: clamp(4rem, 5vw, 4.5rem);
	padding-bottom: clamp(4.5rem, 6vw, 5rem);
}

.single .l-articleBottom__section.-related {
	margin-top: clamp(4rem, 7vw, 5.5rem);
}

.single .p-relatedPosts {
	gap: 1.5rem;
}

.post_content h2 {
	margin: clamp(3.75rem, 7vw, 5rem) 0 1.75rem !important;
	padding: 1.15rem 1.35rem 1.1rem !important;
	border: 0 !important;
	border-left: 4px solid var(--mierune-blue-700) !important;
	border-radius: 0 12px 12px 0;
	background: linear-gradient(105deg, #e8f3f7 0%, #f5f9fa 72%, #fbfcfc 100%) !important;
	box-shadow: inset 0 1px rgba(255, 255, 255, 0.9);
	color: var(--mierune-navy-900) !important;
	font-size: clamp(1.35rem, 2.7vw, 1.75rem);
	line-height: 1.55;
}

.post_content h2::before,
.post_content h2::after {
	display: none !important;
}

.post_content h3 {
	margin: clamp(3rem, 6vw, 4rem) 0 1.4rem !important;
	padding: 0 0 0.7rem !important;
	border: 0 !important;
	border-bottom: 1px solid rgba(23, 94, 155, 0.24) !important;
	background: transparent !important;
	color: var(--mierune-navy-900) !important;
	font-size: clamp(1.15rem, 2.2vw, 1.4rem);
	line-height: 1.6;
}

.post_content h4 {
	margin: 2.5rem 0 1.1rem;
	padding-left: 0.85rem;
	border-left: 3px solid var(--mierune-gold-500);
	color: var(--mierune-navy-800);
	font-size: 1.08rem;
	line-height: 1.65;
}

.post_content .wp-block-st-blocks-midashi-box.freebox.has-title {
	margin: 2rem 0 !important;
	padding: 1.25rem 1.35rem 1.15rem !important;
	border: 1px solid #bfd9e5 !important;
	border-left: 4px solid var(--mierune-blue-500) !important;
	border-radius: 12px !important;
	background: linear-gradient(135deg, #e8f3f7 0%, #f4f0e7 100%) !important;
	box-shadow: 0 10px 28px rgba(13, 41, 69, 0.07);
}

.post_content .wp-block-st-blocks-midashi-box.freebox.has-title .p-free {
	margin: 0 0 0.75rem;
	padding: 0;
	border: 0 !important;
}

.post_content .wp-block-st-blocks-midashi-box.freebox.has-title .p-entry-f {
	display: inline-block;
	padding: 0.25rem 0.7rem !important;
	border-radius: 6px !important;
	background: var(--mierune-navy-800) !important;
	color: #fff !important;
	font-weight: 800;
	line-height: 1.65;
}

.post_content .wp-block-st-blocks-midashi-box.freebox.has-title .free-inbox,
.post_content .wp-block-st-blocks-midashi-box.freebox.has-title .free-inbox > :last-child {
	margin-bottom: 0;
}

/*
 * SWELL「キャプション付きブロック」の「内テキスト」スタイル。
 * 旧ST Blocksのポイントボックスと同じ役割・見た目で運用できるようにする。
 */
.post_content .cap_box.is-style-intext,
.editor-styles-wrapper .cap_box.is-style-intext {
	margin: 2rem 0 !important;
	padding: 1.25rem 1.35rem 1.15rem !important;
	border: 1px solid #bfd9e5 !important;
	border-left: 4px solid var(--mierune-blue-500) !important;
	border-radius: 12px !important;
	background: linear-gradient(135deg, #e8f3f7 0%, #f4f0e7 100%) !important;
	box-shadow: 0 10px 28px rgba(13, 41, 69, 0.07);
}

.post_content .cap_box.is-style-intext > .cap_box_ttl,
.editor-styles-wrapper .cap_box.is-style-intext > .cap_box_ttl {
	display: inline-flex;
	width: auto;
	justify-content: flex-start;
	margin: 0 0 0.75rem !important;
	padding: 0.25rem 0.7rem !important;
	border-radius: 6px !important;
	background: var(--mierune-navy-800) !important;
	color: #fff !important;
	font-size: 0.95em;
	font-weight: 800;
	line-height: 1.65;
	text-align: left;
}

.post_content .cap_box.is-style-intext > .cap_box_content,
.editor-styles-wrapper .cap_box.is-style-intext > .cap_box_content {
	margin-top: 0 !important;
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
}

.post_content .cap_box.is-style-intext > .cap_box_content > :last-child,
.editor-styles-wrapper .cap_box.is-style-intext > .cap_box_content > :last-child {
	margin-bottom: 0;
}

.single .l-articleBottom__section.-author {
	margin-top: clamp(4rem, 7vw, 5.5rem);
}

.single .p-authorBox {
	display: grid;
	grid-template-columns: minmax(150px, 178px) minmax(0, 1fr);
	gap: clamp(1.75rem, 4vw, 2.5rem);
	align-items: center;
	padding: clamp(1.5rem, 3.5vw, 2rem);
	border: 1px solid rgba(23, 94, 155, 0.14);
	border-radius: 18px;
	background:
		radial-gradient(circle at 10% 20%, rgba(246, 241, 232, 0.95), transparent 32%),
		linear-gradient(135deg, #fffdfa 0%, #f5fafc 100%);
	box-shadow: 0 14px 38px rgba(13, 41, 69, 0.07);
}

.single .p-authorBox__l {
	display: flex;
	width: auto;
	flex-direction: column;
	align-items: center;
	gap: 0.9rem;
	padding: 0;
	border: 0;
	text-align: center;
}

.single .p-authorBox__l .avatar {
	width: 96px;
	height: 96px;
	margin: 0;
	border: 3px solid #fff;
	box-shadow: 0 8px 22px rgba(13, 41, 69, 0.12);
}

.single .p-authorBox__name {
	margin: 0;
	color: var(--mierune-navy-900);
	font-size: 0.88rem;
	font-weight: 800;
	line-height: 1.55;
}

.single .p-authorBox__r {
	width: auto;
	min-width: 0;
	padding: 0;
	border: 0;
}

.single .p-authorBox__desc {
	margin: 0;
	color: var(--mierune-ink);
	font-size: 0.92rem;
	line-height: 1.9;
}

.single .p-authorBox__iconList {
	margin-top: 0.9rem;
}

.post_content h2 {
	border-left-color: var(--mierune-blue-700);
}

.post_content h3 {
	color: var(--mierune-navy-800);
}

.c-categoryList__link {
	border-radius: 999px;
}

.p-termHead {
	margin-top: 1.5rem;
	padding: 1.35rem 1.5rem;
	border: 1px solid var(--mierune-line);
	border-radius: var(--mierune-radius-sm);
	background: var(--mierune-white);
}

.p-termContent {
	margin-top: 2.5rem;
}

.c-pageTitle__main,
.c-pageTitle[data-style="b_bottom"] .c-pageTitle__main {
	color: var(--mierune-navy-900);
}

@media (max-width: 960px) {
	.l-header__spNav {
		display: none !important;
	}

	.l-header__inner {
		min-height: 64px;
		align-items: center !important;
	}

	.l-header__logo {
		display: flex !important;
		height: 64px;
		align-items: center !important;
		padding-block: 0 !important;
	}

	.c-headLogo {
		position: static;
		display: flex;
		width: 154px;
		max-width: 154px;
		height: auto;
		align-self: center;
		align-items: center;
		margin-block: 0 !important;
		line-height: 0;
		transform: none;
	}

	.c-headLogo__img {
		display: block;
		width: 154px;
		height: auto;
		max-height: 42px;
		margin-block: 0 !important;
		vertical-align: middle;
	}

	.mierune-hero__inner {
		padding: 3.5rem 1.25rem 4rem;
	}

	.mierune-hero__grid {
		gap: 30px;
	}

	.mierune-hero__title {
		font-size: clamp(2.35rem, 4.6vw, 2.75rem);
	}

	.mierune-hero__visual-column {
		max-width: 370px;
	}

	.mierune-trust {
		display: block;
	}

	.mierune-trust__intro {
		max-width: 680px;
		padding: 0;
	}

	.mierune-trust__banners {
		height: auto;
		margin-top: 2rem;
	}

	.mierune-trust__note {
		margin-top: 0;
		padding: 0.85rem 0 0;
	}
}

@media (max-width: 781px) {
	.mierune-hero__inner {
		padding: 3.4rem 1.25rem 4rem;
	}

	.mierune-hero__grid {
		display: block;
	}

	.mierune-hero__visual-column {
		max-width: 340px;
		margin: 2.25rem auto 0;
	}

	.mierune-hero__visual {
		border-width: 6px;
	}

	.mierune-hero__lead br {
		display: none;
	}

	.mierune-hero__buttons {
		display: grid !important;
		grid-template-columns: minmax(0, 1fr);
		gap: 14px !important;
	}

	.mierune-hero__buttons .wp-block-button {
		width: 100%;
		margin: 0 !important;
	}

	.mierune-hero__buttons .wp-block-button__link {
		width: 100%;
		text-align: center;
	}

	.mierune-topic-card {
		min-height: 280px;
	}

	.mierune-topic-search__field {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: stretch;
		gap: 8px;
	}

	.mierune-topic-search__field button {
		width: 88px;
		min-width: 88px;
		justify-self: stretch;
		padding-inline: 0.8rem;
	}

	.mierune-trust {
		display: block;
		padding: 3rem 0;
		border-radius: 0;
	}

	.mierune-trust__intro {
		max-width: none;
		padding: 0;
	}

	.mierune-trust__note {
		margin-top: 0;
		padding: 0.85rem 0 0;
	}

	.mierune-home-latest .p-postList.-type-card,
	.single .p-relatedPosts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 1rem;
		margin-top: 2rem;
	}

	.single .p-authorBox {
		grid-template-columns: 1fr;
		gap: 1.4rem;
		text-align: left;
	}

	.single .p-authorBox__l {
		display: grid;
		grid-template-columns: 76px minmax(0, 1fr);
		gap: 1rem;
		text-align: left;
	}

	.single .p-authorBox__l .avatar {
		width: 76px;
		height: 76px;
	}

	.post_content h2 {
		margin-top: 3.25rem !important;
		padding: 1rem 1.05rem !important;
	}
}

@media (max-width: 560px) {
	.mierune-home-latest .p-postList.-type-card,
	.single .p-relatedPosts {
		grid-template-columns: 1fr;
		gap: 1rem;
	}

	.mierune-home-latest .p-postList.-type-card .p-postList__link,
	.single .p-relatedPosts .p-postList__link {
		display: grid;
		grid-template-columns: minmax(118px, 38%) minmax(0, 1fr);
	}

	.mierune-home-latest .p-postList.-type-card .p-postList__thumb,
	.single .p-relatedPosts .p-postList__thumb {
		height: 100%;
		min-height: 132px;
		aspect-ratio: auto;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mierune-topic-card,
	.mierune-topic-card::after,
	.mierune-button-primary .wp-block-button__link,
	.p-postList.-type-card .p-postList__link {
		transition: none;
	}
}
