/* PDF固有の値と部品の装飾。共通の規格・Utilityは theme.css が所有する。 */
:root {
    --tenmei-button: #c4421c;
    --tenmei-button-dark: #9e2e12;
    --tenmei-button-line: #f1d7ad;
    --tenmei-font-legend: "Shippori Mincho", "Yu Mincho", "Hiragino Mincho ProN", serif;
}
p:last-child{margin-bottom:0;}
/* 旧21文字スタイルから親の7文字規格に一致しない差分だけを保持。 */


.tenmei-local-text-1 { line-height: 1.4; letter-spacing: 0.08em; }
.tenmei-local-text-2 { line-height: 1.75; letter-spacing: 0.5em; }
.tenmei-local-text-3 { line-height: 1.55; }
.tenmei-local-text-4 { letter-spacing: 0.2em; }
.tenmei-local-text-5 { line-height: 1.65; }
.tenmei-local-text-7 { line-height: 2.1; }
.tenmei-local-text-8 { line-height: 2; letter-spacing: normal; }
.tenmei-local-text-9 { font-size: 1em; line-height: 2.1; letter-spacing: 0.06em; }
.tenmei-local-text-10 { line-height: 2; }
.tenmei-local-text-11 { font-size: 1.09em; line-height: 2; }
.tenmei-local-text-12 { letter-spacing: normal; }
.tenmei-local-text-13 { font-size: 0.8667em; line-height: 2; letter-spacing: normal; }

.tenmei-local-text-15 { font-size: 0.9em; line-height: 2; letter-spacing: normal; }
.tenmei-local-text-16 { font-size: 1em; letter-spacing: normal; }
.tenmei-local-text-17 { font-size: 0.7333em; line-height: 1.75; letter-spacing: 0.12em; }
.tenmei-local-text-18 { font-size: 0.6667em; line-height: 1.75; letter-spacing: 0.4em; }
.tenmei-local-text-19 { letter-spacing: 0.06em; }
.tenmei-local-text-20 { font-size: 0.8667em; }


/* 規格に存在しない余白・透明背景・固有幅。 */
.tenmei-local-mt-1, .tenmei-local-mt-4 { margin-top: 3.2em; }
.tenmei-local-mt-2, .tenmei-local-mt-3 { margin-top: 4em; }
.tenmei-local-p-2 { padding: 2.4em; }
.tenmei-local-p-4 { padding: 2em; }
.tenmei-local-gap-1 { gap: 1.3333em; }
.tenmei-local-width-2 { width: min(100%, 52em); }
.tenmei-local-width-5 { max-width: 51.3333em; }
.tenmei-local-width-6 { max-width: 48em; }
.tenmei-local-width-7 { max-width: 50em; }
.tenmei-local-bg-card { background-color: rgb(255 255 255 / 82%); }
.tenmei-local-bg-gold-soft, .tenmei-term.tenmei-local-bg-gold-soft { background-color: rgb(196 166 77 / 8%); }
.tenmei-local-border-weight { border-width: 0.0667em; }
.tenmei-local-radius-square { border-radius: 0; }
.tenmei-outline-link, .tenmei-text-link { color: var(--tenmei-color-gold-deep); }
.navigation.pagination { width: min(100%, 48em); margin: 4em auto 0; }
.tenmei-content-inner { width: min(100%, 73.3333em); margin-inline: auto; }
/* 旧幅は要素自身の文字サイズを基準とするem。幅をpxで持つ親規格との誤差を要素単位で吸収。 */
.tenmei-entry-content.tenmei-width-1 { max-width: 48em; }
.tenmei-design-content.tenmei-width-2 { max-width: 56em; }
.tenmei-front-wide.tenmei-width-3,
.tenmei-wave-inner.tenmei-width-3,
.tenmei-page-hero-inner.tenmei-width-3,
.tenmei-content-inner.tenmei-width-3 { max-width: 73.3333em; }
.tenmei-copyright.tenmei-width-3 { max-width: 73.3333em; }


html {
	scroll-behavior: smooth;
}

body.tenmei-site {
	-webkit-font-smoothing: antialiased;
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}

.tenmei-site :where(img) {
	display: block;
	max-width: 100%;
	height: auto;
	
}
.img-center{margin:0 auto;
display: block;}

/* A picture wrapper keeps the existing img layout and PC selectors intact. */
.tenmei-responsive-picture { display: contents; }

.tenmei-site :where(a) {
	color: inherit;
}

.tenmei-site :where(button, input, select, textarea) {
	font: inherit;
}


:where(.tenmei-site) :where(p, h1, h2, h3, h4, figure, blockquote, dl, dd) {
    margin: 0;
}

.tenmei-site :where(main) {
	display: block;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
}

.tenmei-site :where(strong) {
	font-weight: 600;
}

.tenmei-skip-link {
	position: fixed;
	top: 0;
	left: 0;
	z-index: 10000;
	padding: 0.6em 1em;
	background: var(--tenmei-color-text);
	color: #fff;
	transform: translateY(-120%);
}

.tenmei-skip-link:focus {
	transform: translateY(0);
}

.tenmei-visually-hidden {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.tenmei-sp-only,
.only-sp,
.br-sp {
	display: none;
}

.br-pc {
	display: inline;
}

.tenmei-motion-ready .tenmei-reveal,
.tenmei-motion-ready .reveal,
.tenmei-motion-ready [data-tenmei-reveal] {
	opacity: 0;
	transform: translateY(1.6em);
	transition: opacity 1s ease, transform 1s ease;
}

.tenmei-motion-ready .tenmei-reveal.in,
.tenmei-motion-ready .reveal.in,
.tenmei-motion-ready [data-tenmei-reveal].in {
	opacity: 1;
	transform: translateY(0);
}
.tenmei-glossary-intro-text{    margin-bottom: 0em;
    letter-spacing: 0.15em;
    font-size: 1.2em;}
/* Shared header */
.tenmei-site-header {
    position: sticky;
    top: 0;
	z-index: 20;
	min-height: 5.6em;
	border-bottom: 0.0667em solid var(--tenmei-color-border);
	background: rgb(255 255 255 / 96%);
}

.tenmei-header-inner {
	display: flex;
	max-width: 90vw;
	align-items: center;
	justify-content: space-between;
	width: min(calc(100% - 8em), 82.6667em);
	min-height: 5.6em;
}

.tenmei-brand {
	display: flex;
	align-items: center;
	gap: 0.9333em;
	text-decoration: none;
}

.tenmei-logo-picture {
	display: contents;
}

.tenmei-brand-emblem {
	width: 2.4em;
}

.tenmei-brand-name {
	white-space: nowrap;
}

.tenmei-brand-name > span {
	color: var(--tenmei-color-red);
}

.tenmei-header-cta,
.tenmei-diagnosis-button,
.tenmei-primary-button {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	border: 0.0667em solid var(--tenmei-button-dark);
	background: linear-gradient(to bottom, var(--tenmei-button), var(--tenmei-button-dark));
	color: #fff;
	text-decoration: none;
	box-shadow: 0 0.4em 0.8em rgb(99 48 13 / 24%);
	cursor: pointer;
	isolation: isolate;
	transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease;
}

.tenmei-header-cta {
	width: 10.6667em;
	min-height: 2.8em;
	padding-inline: 0.9333em;
}

.tenmei-header-cta > span {
	white-space: nowrap;
}
.tenmei-header-cta:hover{color:#fff;}
.tenmei-header-cta::after,
.tenmei-diagnosis-button::after,
.tenmei-primary-button::after {
	content: "";
	position: absolute;
	z-index: -1;
	inset: 0.2em;
	border: 0.0667em solid rgb(241 215 173 / 90%);
	pointer-events: none;
}
.tenmei-front-page .tenmei-front-service-grid article > .tenmei-outline-link:hover,.tenmei-line-cta a:hover, 
.tenmei-header-cta:hover,
.tenmei-header-cta:focus-visible,
.tenmei-diagnosis-button:hover,
.tenmei-diagnosis-button:focus-visible,
.tenmei-primary-button:hover,
.tenmei-primary-button:focus-visible {
	filter: brightness(1.06);
	transform: translateY(-0.1333em);
	box-shadow: 0 0.8em 1.6em rgb(99 48 13 / 28%);
}

/* Shared decorative titles */
.tenmei-diamond-title {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1em;
	width: 100%;
	color: var(--tenmei-color-red);
}

.tenmei-diamond-title::before,
.tenmei-diamond-title::after {
	content: "";
	width: 4.8667em;
	border-top: 0.0667em solid var(--tenmei-color-border);
}

.tenmei-diamond-title i {
	display: block;
	width: 0.4667em;
	aspect-ratio: 1;
	background: var(--tenmei-color-red);
	transform: rotate(45deg);
}

.tenmei-section-heading {
	width: 100%;
	text-align: center;
}

.tenmei-section-heading h2 {
	margin-top: 0.9em;
}
.tenmei-section-heading > p {
	margin-top: 1.35em;
	margin-bottom:2.5em;
}
.tenmei-about-page .tenmei-layout-section .tenmei-section-heading > p {
	margin-top: 2em;
	margin-bottom:0;
	font-size:1.2em;
}

/* Heading ornament variants; legacy headings keep their original markup and rules. */
.tenmei-section-heading--variant .tenmei-heading-row {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1.4em;
	width: 100%;
}

.tenmei-section-heading--variant .tenmei-heading-row > :is(h2, h3, h4, h5, h6) {
	flex: 0 1 auto;
	min-width: 0;
	margin: 0;
}

.tenmei-section-heading--variant .tenmei-heading-side {
	display: flex;
	flex: 1 1 0;
	align-items: center;
	max-width: 9em;
	min-width: 0.6em;
}

.tenmei-section-heading--variant .tenmei-heading-side::before,
.tenmei-section-heading--variant .tenmei-heading-side::after {
	content: "";
	display: block;
}

.tenmei-section-heading--variant .tenmei-heading-side--start::before,
.tenmei-section-heading--variant .tenmei-heading-side--end::after {
	flex: 1 1 auto;
	border-top: 0.0667em solid var(--tenmei-color-border);
}

.tenmei-section-heading--variant .tenmei-heading-side--start::after,
.tenmei-section-heading--variant .tenmei-heading-side--end::before {
	flex: none;
	width: 0.5333em;
	aspect-ratio: 1;
	background: var(--tenmei-color-red);
	transform: rotate(45deg);
}

.tenmei-section-heading--variant .tenmei-heading-side--start::after { margin-left: 1em; }
.tenmei-section-heading--variant .tenmei-heading-side--end::before { margin-right: 1em; }

@media (min-width: 751px) {
	.tenmei-section-heading--pc-diamond .tenmei-heading-side { max-width: none; }
	.tenmei-section-heading--pc-diamond .tenmei-heading-side--start { justify-content: flex-start; }
	.tenmei-section-heading--pc-diamond .tenmei-heading-side--end { justify-content: flex-end; }
	.tenmei-section-heading--pc-diamond .tenmei-heading-side--start::before,
	.tenmei-section-heading--pc-diamond .tenmei-heading-side--end::after { display: none; }
	.tenmei-section-heading--pc-diamond .tenmei-heading-side--start::after { margin-left: 0; }
	.tenmei-section-heading--pc-diamond .tenmei-heading-side--end::before { margin-right: 0; }

	.tenmei-section-heading--pc-diamond-short-line .tenmei-heading-side { max-width: 6em; }

	.tenmei-section-heading--pc-top-bottom-diamond .tenmei-heading-row {
		flex-direction: column;
		gap: 1.4em;
	}
	.tenmei-section-heading--pc-top-bottom-diamond .tenmei-heading-side {
		flex: none;
		width: 0.5333em;
		max-width: none;
	}
	.tenmei-section-heading--pc-top-bottom-diamond .tenmei-heading-side--start::before,
	.tenmei-section-heading--pc-top-bottom-diamond .tenmei-heading-side--end::after { display: none; }
	.tenmei-section-heading--pc-top-bottom-diamond .tenmei-heading-side--start::after { margin-left: 0; }
	.tenmei-section-heading--pc-top-bottom-diamond .tenmei-heading-side--end::before { margin-right: 0; }
}


/* Block-editor H2 pattern kept for optional page additions. */
.tenmei-content-section {
	position: relative;
	padding: 7.3333em 2.6667em;
	background: var(--tenmei-color-white);
	overflow: hidden;
}

.tenmei-content-inner {
	text-align: center;
}

.tenmei-heading-ornament {
	display: flex;
	align-items: flex-end;
	justify-content: center;
	gap: 0.7333em;
	width: 11.3333em;
	min-height: 2em;
}

.tenmei-heading-ornament span {
	flex: 0 0 0.5667em;
	width: 0.5667em;
	aspect-ratio: 1;
	background: var(--tenmei-color-red);
	transform: rotate(45deg);
}

.tenmei-heading-ornament span:nth-child(3n + 1) {
	margin-bottom: 0.45em;
}

.tenmei-heading-ornament span:nth-child(3n) {
	margin-bottom: 0.8em;
}

.tenmei-section-title {
	margin-top: 1em;
	font-size: 2.6667em;
	font-weight: 400;
	letter-spacing: 0.145em;
	line-height: 1.5;
}

.tenmei-section-lead {
	margin-top: 0.25em;
	letter-spacing: 0.1667em;
	line-height: 1.7;
}

.tenmei-section-copy {
	max-width: 43.8em;
	margin: 2.5em auto 0;
}

/* Image slots */
.tenmei-picture {
	display: block;
	overflow: hidden;
}

.tenmei-picture img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.tenmei-picture-placeholder {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: var(--tenmei-placeholder-ratio, 16 / 9);
	border: 0.0667em solid rgb(196 166 77 / 42%);
	background:
		linear-gradient(135deg, transparent 49.7%, rgb(196 166 77 / 16%) 50%, transparent 50.3%),
		linear-gradient(45deg, transparent 49.7%, rgb(196 166 77 / 16%) 50%, transparent 50.3%),
		var(--tenmei-color-panel);
	color: rgb(104 99 94 / 65%);
	font-size: 0.6667em;
	letter-spacing: 0.06em;
	line-height: 1.8;
	text-align: center;
}

/* Shared CTA */
.tenmei-cta-frame {
	width: min(100%, 46.6667em);
	margin: 5.3333em auto 0;
	padding: 3.4em 3.2em;
	background:
		linear-gradient(var(--tenmei-color-gold) 0 0) top left / 0.5333em 0.5333em no-repeat,
		linear-gradient(var(--tenmei-color-gold) 0 0) top right / 0.5333em 0.5333em no-repeat,
		linear-gradient(var(--tenmei-color-gold) 0 0) bottom left / 0.5333em 0.5333em no-repeat,
		linear-gradient(var(--tenmei-color-gold) 0 0) bottom right / 0.5333em 0.5333em no-repeat;
}

.tenmei-primary-button {
	gap: 1.25em;
	width: 100%;
	min-height: 4.4em;
	padding: 0.8em 1.6em;
}

.tenmei-primary-button strong {
	padding-left: 1.25em;
	border-left: 0.0667em solid rgb(241 215 173 / 70%);
	color: #f2e638;
	font-weight: 400;
}

.tenmei-cta-note {
	margin-top: 3em;
	text-align: center;
}

.tenmei-outline-link,
.tenmei-text-link {
	display: inline-block;
	text-decoration: underline;
	text-decoration-thickness: 0.0667em;
	text-underline-offset: 0.45em;
}

.tenmei-hover-card {
	transition: transform 0.35s ease, box-shadow 0.35s ease, background-color 0.3s ease;
}

.tenmei-hover-card:hover,
.tenmei-hover-card:focus-within {
	transform: translateY(-0.2667em);
	box-shadow: 0 1.0667em 2.1333em -0.8em rgb(35 34 38 / 24%);
}

/* Footer */
.tenmei-site-footer {
	padding: 3.2em 2.6667em 1.6em;
	background: #f2f0e7;
}

.tenmei-footer-main {
	display: grid;
	grid-template-columns: 7.8em 1fr;
	gap: 5.9333em;
	align-items: start;
	width: min(100%, 62.2667em);
}

.tenmei-footer-brand {
	display: flex;
	flex-direction: column;
	align-items: center;
	width: 7.8em;
	text-decoration: none;
}

.tenmei-footer-emblem {
	width: 4.5333em;
}

.tenmei-footer-wordmark {
	width: 7.8em;
	margin-top: 0.7333em;
}

.tenmei-footer-nav {
	display: grid;
	grid-template-columns: 8.2667em 8.2667em 12.6em 12.6em;
	gap: 2.1333em;
	align-items: start;
}

.tenmei-footer-nav > div {
	display: flex;
	flex-direction: column;
	gap: 0.8em;
}

.tenmei-footer-nav a {
	text-decoration: none;
	transition: color 0.3s ease;
}

.tenmei-footer-nav a:hover,
.tenmei-footer-nav a:focus-visible {
	color: var(--tenmei-color-red);
	text-decoration: underline;
	text-underline-offset: 0.35em;
}

.tenmei-copyright {
	margin: 1.9333em auto 0;
	padding-top: 1.8667em;
	border-top: 0.0667em solid var(--tenmei-color-gold);
	text-align: center;
}

@media (min-width: 751px) and (max-width: 1100px) {
	.tenmei-header-inner {
		width: calc(100% - 4em);
	}

	.tenmei-footer-main {
		gap: 3em;
	}

	.tenmei-footer-nav {
		gap: 1.4em;
	}
}


@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	.tenmei-motion-ready .tenmei-reveal,
	.tenmei-motion-ready .reveal,
	.tenmei-motion-ready [data-tenmei-reveal] {
		opacity: 1;
		transform: none;
		transition: none;
	}

	.tenmei-hover-card {
		transition: none;
	}

	.tenmei-hover-card:hover,
	.tenmei-hover-card:focus-within {
		transform: none;
	}
}

.tenmei-page {
	min-height: 60vh;
	background: var(--tenmei-color-paper) url("../images/main_bg_pc.webp") center top / 100% auto no-repeat;
}

.tenmei-page-hero {
	position: relative;
	display: grid;
	place-items: center;
	min-height: 31em;
	padding: 0em 2.6667em 2em;
	background: transparent;
	text-align: center;
	  overflow: visible;
    z-index: 2;
}

/* The hero image lives on main; white mist keeps the title legible. */
.tenmei-page-hero::before {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(ellipse 47% 51% at 50% 49%, rgb(255 255 255 / 94%) 0%, rgb(255 255 255 / 68%) 60%, transparent 100%);
	pointer-events: none;
}

.tenmei-page-hero > * {
	position: relative;
	z-index: 1;
}

.tenmei-page-hero > .scrolldown {
	position: absolute;
	bottom: -2em;
	left: 50%;
	display: flex;
	flex-direction: column;
	align-items: center;
	transform: translateX(-50%);
}

.tenmei-page-hero > .scrolldown .line {
	display: block;
	width: 0.0667em;
	height: 5em;
	background: linear-gradient(var(--tenmei-color-gold), transparent);
	animation: tenmei-scroll-down 2.2s ease-in-out infinite;
}
@keyframes tenmei-scroll-down {
  0%,
  100% {
    opacity: 0.15;
    transform: scaleY(0.3);
    transform-origin: top;
  }

  50% {
    opacity: 1;
    transform: scaleY(1);
    transform-origin: top;
  }
}

.tenmei-page-emblem {
	width: 3.2em;
}

.tenmei-page-eyebrow {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1em;
    margin-top: 1.3333em;
    font-family: var(--tenmei-font-serif);
    text-transform: uppercase;
}

.tenmei-page-eyebrow::before,
.tenmei-page-eyebrow::after {
    content: "";
    flex: 0 0 0.5em;
    height: 0.5em;
    background: var(--tenmei-color-gold);
    transform: rotate(45deg);
}

.tenmei-page-hero h1 {
	margin-top: 0.45em;
	font-weight:600;
}

.tenmei-page-title-rule {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 1em;
}

.tenmei-page-title-rule::before,
.tenmei-page-title-rule::after {
	content: "";
	width: 5em;
	border-top: 0.0667em solid var(--tenmei-color-border);
}

.tenmei-page-title-rule i {
	display: block;
	width: 0.4667em;
	aspect-ratio: 1;
	background: var(--tenmei-color-red);
	transform: rotate(45deg);
}

.tenmei-page-lead {
	margin-top: 1.5em;
	    font-size: 1.1875em;
    letter-spacing: 0.3em;
	color: var(--tenmei-color-text);
}

.tenmei-page-section {
	position: relative;
	padding: 6.6667em 2.6667em 8em;
}

/* Soft white transition at the top of the following section. */
.tenmei-page-section::before {
	content: "";
	position: absolute;
	top: -2em;
	right: 0;
	left: 0;
	height: 11em;
	background: linear-gradient(to bottom, rgb(255 255 255 / 70%), rgb(255 255 255 / 95%) 55%, rgb(255 255 255 / 95%));
	filter: blur(1em);
	pointer-events: none;
}

.tenmei-page-section > * {
	position: relative;
}




.tenmei-entry-content > * + * {
	margin-top: 1.75em;
}

.tenmei-entry-content h2 {
	margin-top: 2.75em;
	font-size: 2em;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.6;
}

.tenmei-entry-content h3 {
	font-size: 1.35em;
	font-weight: 500;
	line-height: 1.75;
}

.tenmei-entry-content a {
	color: var(--tenmei-color-red);
	text-decoration: underline;
	text-underline-offset: 0.3em;
}

.tenmei-entry-image {
	margin-bottom: 3em;
}

.tenmei-entry-image img {
	width: 100%;
}

.tenmei-editor-addition {
	margin-top: 6.6667em;
	padding-top: 4em;
	border-top: 0.0667em solid var(--tenmei-color-border);
}

.tenmei-page-intro {
	text-align: center;
}

.tenmei-page-intro h2 {
    font-size: 1.9em;
    font-weight: 400;
    letter-spacing: 0.25em;
    line-height: 1.9;
}
.tenmei-about-page .tenmei-page-intro h2 {
    font-size: 2.2em;
}
.tenmei-page-intro h2 strong {
	color: var(--tenmei-color-red);
}

.tenmei-page-intro h2 + p {
	margin-top: 2em;
}

.tenmei-page-intro p + p {
	margin-top: 1.2em;
}

.tenmei-layout-section {
	margin-top: 6em;
}
.tenmei-reveal .tenmei-layout-section {
	margin-top: 8em;
}
.tenmei-attribute-index-page .tenmei-reveal .tenmei-layout-section {
	margin-top:0em;
}
.tenmei-long-copy{    max-width: 820px;
}
.tenmei-profile-page .tenmei-long-copy{max-width: 900px;
text-align: center;}
.tenmei-long-copy p + p {
	margin-top: 1.6em;
}

.tenmei-center-copy {
	text-align: center;
}

.tenmei-list-intro {
	font-size: 0.9333em;
	letter-spacing: 0.08em;
	line-height: 2;
	text-align: center;
}

/* About */
.tenmei-split-panel {
	display: grid;
	grid-template-columns: 0.4fr 0.6fr;
    background: url(../images/about_panel_bg_pc.webp);
    background-size: cover;
    background-position: bottom right;
    background-repeat: no-repeat;
    padding: 4.2em 3.5em;
		box-shadow: inset 0 0 0 7px #f9f9f9, inset 0 0 0 8px #d9d4a9;
}


.tenmei-split-panel > div + div {
	border-left: 0.0667em solid var(--tenmei-color-border);
}

.tenmei-split-panel h3 {
	font-size: 2.5em;
	font-weight: 500;
	letter-spacing: 0.14em;
	text-align: left;
	    margin-bottom: 0;
}

.tenmei-split-panel h3 + p {
	margin-top: 0.8em;
}

.tenmei-split-panel .tenmei-panel-picture {
	margin-top: 2em;
}

.tenmei-split-panel > div:last-child p {
	    line-height: 2.3;
    letter-spacing: 0.1em;
	padding:0 3.5em;
	    text-shadow: 1px 1px 3px #fff;
}

.tenmei-split-panel > div:last-child p + p {
	margin-top: 1.6em;
}

.tenmei-definition-table {
	background: rgb(255 255 255 / 78%);
	box-shadow: inset 0 0 0 4px #fff, inset 0 0 0 5px #d9d4a9, inset 0 0 0 10px #fff;
	padding: 8px;
}

.tenmei-definition-table > div {
	display: grid;
	grid-template-columns: 9.3333em 1fr;
	align-items: center;
}

.tenmei-definition-table > div + div {
	border-top: 0.0667em solid var(--tenmei-color-border);
}

.tenmei-definition-table > div > :first-child {
	padding: 1.4em 1.6em;

}

.tenmei-definition-table > div > :last-child {
	padding: 1.4em 1.6em;
}

.tenmei-definition-table .tenmei-definition-head {
	font-size: 0.8em;
	letter-spacing: 0.12em;
}

.tenmei-about-wave {
	width: 100%;
}

.tenmei-wave-table {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	margin-top: 2.4em;
}

.tenmei-wave-table > div {
}

.tenmei-wave-table > div + div {
	border-left: 0.0667em solid var(--tenmei-color-border);
}

.tenmei-wave-table strong,
.tenmei-wave-table span {
	display: block;
}

.tenmei-wave-table strong {
	font-size: 1.4em;
	font-weight: 400;
}

.tenmei-wave-table span {
	margin-top: 0.3em;
	font-size: 0.8em;
}

.tenmei-wave-table p {
	margin-top: 0.8em;
	font-size: 0.8em;
	line-height: 1.8;
}

.tenmei-two-card-grid,
.tenmei-principle-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 1100px;
    margin: 3em auto 0;
}
.tenmei-about-page .tenmei-two-card-grid hr{
	width: 4em;
	margin: 0 auto;
	color:var(--tenmei-color-gold);
	border-top: 1px solid var(--tenmei-color-gold);}
.tenmei-small-icon {
	width: 8em;
	margin: 0 auto 1.6em;
}
 .tenmei-principle-grid hr{
	width: 4em;
	margin: 0;
	color:var(--tenmei-color-gold);
    border-top: 1px solid var(--tenmei-color-gold);}

.tenmei-small-icon {
	width: 8em;
	margin: 0 auto 1.6em;
}

.tenmei-two-card-grid p,
.tenmei-principle-grid p {
	margin-top: 1.2em;
}

.tenmei-principle-grid span {
	display: inline-block;
	margin-bottom: 0.9em;
	padding: 0.25em 0.8em;
	background: var(--tenmei-color-gold);
	color: #fff;
	font-family: var(--tenmei-font-sans);
	font-size: 0.6667em;
	letter-spacing: 0.08em;
}

.tenmei-lost-design {
	text-align: center;
}

.tenmei-lost-design > p {
	margin: 3em auto 0;
	line-height: 2.2;
}
.tenmei-lost-design > p:last-child {
	margin-top: 0;

}
body .tenmei-lost-design .tenmei-lost-design-text{
    font-size: 1.8em;
    letter-spacing: 14%;
    line-height: 190%;
    margin-top: 1em;
	    margin-bottom: 1em;
} 
.tenmei-lost-design .tenmei-emphasis {
	font-size: 1.2em;
}

.tenmei-lost-design .tenmei-emphasis strong {
	text-decoration: underline;
	text-decoration-color: var(--tenmei-color-gold);
	text-underline-offset: 0.35em;
}

/* Profile */
.tenmei-profile-intro {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 4em;
	align-items: center;
}
.tenmei-profile-intro-text{letter-spacing: 0.08em;
line-height: 2.3;
    letter-spacing: 0.08em;
    line-height: 2.3;
    padding-left: 4em;}
.tenmei-profile-intro h2 {
	font-size: 2.2em;
	font-weight: 400;
	letter-spacing: 0.14em;
	line-height: 1.8;
}

.tenmei-profile-intro p {
	margin-top: 1.8em;
	line-height: 2.1;
}

.tenmei-profile-main-photo {
	width: 100%;
}

.tenmei-quote-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	margin-top: 4.6667em;
}

.tenmei-quote-grid article {
padding: 2.3em 0em;
    border-block: var(--tenmei-color-gold-deep) solid 1px;
    background: linear-gradient(to bottom, rgb(196 166 77 / 10%), rgb(255 255 255 / 76%));
    color: #232226;
    font-size: 1.7em;
    font-weight: 500;
    letter-spacing: 0.1em;
    text-align: center;
}

.tenmei-quote-grid article:last-child {
 
    background: linear-gradient(to bottom, rgb(215 68 19 / 8%), rgb(255 255 255 / 76%));
    border-block: var(--tenmei-color-red) solid 1px;

}


.tenmei-quote-grid blockquote:last-child strong {
	color: var(--tenmei-color-red);
}

.tenmei-profile-box {
	padding: 3.2em;
	background: rgb(255 255 255 / 72%);
	box-shadow: inset 0 0 0 7px #fff, inset 0 0 0 8px #d9d4a9;
	text-align: center;
}

.tenmei-profile-box h3 {
	font-size: 1.2em;
	font-weight: 400;
	letter-spacing: 0.12em;
}

.tenmei-profile-box p {
	margin-top: 1.4em;
}

/* Contact */
.tenmei-contact-grid.tenmei-local-mt-1 { margin-top: 0; }

.tenmei-contact-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.tenmei-contact-page .tenmei-contact-grid article {
    min-height: 17em;
    padding: 3.7em 3.2em 2em;

}
.tenmei-contact-grid article {
	min-height: 19em;
}
.tenmei-contact-grid h2 {
	position: relative;
	padding-left: 1em;
}

.tenmei-contact-grid h2::before {
	content: "";
	position: absolute;
	top: 0.75em;
	left: 0;
	width: 0.28em;
	aspect-ratio: 1;
	background: var(--tenmei-color-red);
	transform: rotate(45deg);
}

.tenmei-contact-grid h2::after {
	content: "";
	display: block;
	width: 3em;
	margin-top: 0.5em;
	border-bottom: var(--tenmei-border-width) solid var(--tenmei-color-border);
}

.tenmei-contact-grid p {
	margin-top: 1.5em;
}

.tenmei-contact-page .tenmei-contact-cta {
	width: min(100%, var(--tenmei-width-2));
	margin-top: 8em;
	padding: 3.5em 2em 2.5em;
	background-color: rgb(255 255 255 / 82%);
}

.tenmei-contact-cta .tenmei-primary-button,
.tenmei-glossary-page .tenmei-cta-frame .tenmei-primary-button {
	max-width: 670px;
	margin-inline: auto;
}
.tenmei-about-page .tenmei-cta-frame{margin-top:0;}
.tenmei-contact-cta .tenmei-cta-note {
	margin-top: 1.3em;
}

/* Glossary */
.tenmei-glossary-intro {
	max-width: 55em;
	text-align: center;
}


.tenmei-glossary-intro strong {
	font-weight: inherit;
}

.tenmei-glossary-primary {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	align-items: center;
	min-height: 16em;
	margin-top: 7em;
	padding: 2.6667em 4em;
	background-color: rgb(255 255 255 / 84%);
	background-image:
		linear-gradient(var(--tenmei-color-gold) 0 0),
		linear-gradient(var(--tenmei-color-gold) 0 0),
		linear-gradient(var(--tenmei-color-gold) 0 0),
		linear-gradient(var(--tenmei-color-gold) 0 0);
	background-position: top left, top right, bottom left, bottom right;
	background-size: 0.5333em 0.5333em;
	background-repeat: no-repeat;
}

.tenmei-glossary-primary-name {
	padding-right: 2em;
	border-right: var(--tenmei-border-width) solid var(--tenmei-color-border);
}

.tenmei-glossary-primary-name h2 {
	letter-spacing: 0.1em;
}

.tenmei-glossary-reading {
	font-size: 0.8em;
	letter-spacing: 0.16em;
}
.tenmei-glossary-reading-sub{line-height:250%;}
.tenmei-glossary-primary-name .tenmei-glossary-reading {
	margin-top: 0.25em;
}

.tenmei-glossary-primary-definition {
	padding-left: 2.5em;
}

.tenmei-glossary-featured {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	max-width: 60em;
	margin-top: 8em;
	margin-bottom: 6em;
	text-align: center;
}

.tenmei-glossary-h2{font-size: 2.8em;
font-weight: 500;
letter-spacing: 0.16em;}
.tenmei-glossary-h2-b{font-size: 2.4em;
font-weight: 500;
letter-spacing: 0.16em;}
.tenmei-glossary-featured article {
	padding: 0 2.5em;
}

.tenmei-glossary-featured article + article {
	border-left: var(--tenmei-border-width) solid var(--tenmei-color-border);
}

.tenmei-glossary-featured h2 {
	position: relative;
	display: inline-block;
	padding-inline: 0.85em;
}

.tenmei-glossary-featured h2::before,
.tenmei-glossary-featured h2::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 0.18em;
	aspect-ratio: 1;
	background: var(--tenmei-color-red);
	transform: translateY(-50%) rotate(45deg);
}

.tenmei-glossary-featured h2::before { left: 0; }
.tenmei-glossary-featured h2::after { right: 0; }

.tenmei-glossary-featured .tenmei-glossary-reading {
	width: fit-content;
	margin: 0.5em auto 1.5em;
	padding-inline: 1.5em;
	padding-bottom: 0.35em;
	border-bottom: var(--tenmei-border-width) solid var(--tenmei-color-muted);
}

/* The same gold corner treatment is used on glossary cards and contact cards. */
.tenmei-page-card-corners {
	background-color: rgb(255 255 255 / 84%);
	background-image:
		linear-gradient(var(--tenmei-color-gold) 0 0),
		linear-gradient(var(--tenmei-color-gold) 0 0),
		linear-gradient(var(--tenmei-color-gold) 0 0),
		linear-gradient(var(--tenmei-color-gold) 0 0),
		linear-gradient(var(--tenmei-color-gold) 0 0),
		linear-gradient(var(--tenmei-color-gold) 0 0),
		linear-gradient(var(--tenmei-color-gold) 0 0),
		linear-gradient(var(--tenmei-color-gold) 0 0);
	background-position:
		left 0.3333em top 0.3333em, left 0.3333em top 0.3333em,
		right 0.3333em top 0.3333em, right 0.3333em top 0.3333em,
		left 0.3333em bottom 0.3333em, left 0.3333em bottom 0.3333em,
		right 0.3333em bottom 0.3333em, right 0.3333em bottom 0.3333em;
	background-size:
		1em var(--tenmei-border-width), var(--tenmei-border-width) 1em,
		1em var(--tenmei-border-width), var(--tenmei-border-width) 1em,
		1em var(--tenmei-border-width), var(--tenmei-border-width) 1em,
		1em var(--tenmei-border-width), var(--tenmei-border-width) 1em;
	background-repeat: no-repeat;
}

.tenmei-term-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.3333em;
}

.tenmei-term {
    min-height: 21em;
    padding: 3em 2em;
}

.tenmei-term h2,
.tenmei-term-reading {
	text-align: center;
}
.tenmei-term h2{    font-size:2em;
	   margin-bottom: 0;
    letter-spacing: 0.16em;}
.tenmei-term-reading {
	margin-top: 0.3em;
	font-size: 0.8em;
	letter-spacing: 0.14em;
}

.tenmei-term-rule {
	position: relative;
	display: block;
	width: 6em;
	margin: 1em auto 1.5em;
	border-top: var(--tenmei-border-width) solid var(--tenmei-color-border);
}

.tenmei-term-rule::after {
	content: "";
	position: absolute;
	top: -0.22em;
	left: calc(50% - 0.2em);
	width: 0.4em;
	aspect-ratio: 1;
	background: var(--tenmei-color-red);
	transform: rotate(45deg);
}

.tenmei-term-definition {
	text-align: left;
	    line-height: 2;
		margin-bottom: 0;
}

.tenmei-glossary-special-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.3333em;
	margin-top: 4em;
}

.tenmei-glossary-special {
	min-height: 18em;
	padding: 2.8em 2em;
	border-block: var(--tenmei-border-width) solid currentColor;
	background: linear-gradient(to bottom, rgb(196 166 77 / 10%), rgb(255 255 255 / 76%));
	color: var(--tenmei-color-gold-deep);
	text-align: center;
}

.tenmei-glossary-special--red {
	background: linear-gradient(to bottom, rgb(215 68 19 / 8%), rgb(255 255 255 / 76%));
	color: var(--tenmei-color-red);
}

.tenmei-term-symbol {
	position: relative;
	display: block;
	width: 1.15em;
	margin: 0 auto 2em;
	aspect-ratio: 1;
	border: 0.12em solid currentColor;
	transform: rotate(45deg);
}

.tenmei-term-symbol i {
	position: absolute;
	inset: 0.27em;
	background: currentColor;
}

.tenmei-glossary-special .tenmei-glossary-reading {
	margin-top: 0.6em;
	color: var(--tenmei-color-muted);
}

.tenmei-glossary-special > p:last-child {
	margin-top: 1.6em;
	color: var(--tenmei-color-text);
	text-align: left;
}

.tenmei-glossary-closing {
	margin-top: 16em;
	line-height: 2.2;
	text-align: center;
}

.tenmei-glossary-final {
	margin-top: 0.8em;
    font-size: 2.8em;
    letter-spacing: 0.16em;
    font-weight: 500;
    line-height: 160%;

}

.tenmei-glossary-page .tenmei-cta-frame {
	width: min(100%, var(--tenmei-width-2));
	background-color: rgb(255 255 255 / 82%);
}

/* Legal */

.tenmei-legal-table > div {
	display: grid;
	grid-template-columns: 13.3333em 1fr;
}

.tenmei-legal-table > div + div {
	border-top: 0.0667em solid var(--tenmei-color-border);
}

.tenmei-legal-table dt,
.tenmei-legal-table dd {
	padding: 1.7em 1.4em 1.7em 2.5em;
	margin: 0;
}

.tenmei-legal-table dt {
	
	    background: #f3f1e89c;
	font-weight: 500;
}


.tenmei-legal-section > p {
	margin-top: 3em;
	line-height: 2.1;
}
.tenmei-legal-note,
.tenmei-service-note {
	margin-top: 5.8em;
	text-align: center;
}
.tenmei-sixty-page .tenmei-legal-note,
.tenmei-service-note {
	margin-top: 2.4em;
	text-align: center;
}

/* Services */
.tenmei-service-list {
	display: grid;
}

.tenmei-service-item {
	position: relative;
	display: grid;
	grid-template-columns: 15em 1fr;
	min-height: 12.6667em;
	background: rgb(255 255 255 / 86%);
}
.tenmei-service-item a{
    color: var(--tenmei-color-gold);
}
.tenmei-service-item a:hover,
.tenmei-service-item a:active,
.tenmei-service-item a:focus{
    color: var(--tenmei-color-gold);
	opacity: 0.5;
}
.tenmei-service-item:has(> .tenmei-service-card-link) {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
    .tenmei-service-item:has(> .tenmei-service-card-link):hover {
        transform: translateY(-4px);
        box-shadow: 0 8px 20px rgb(0 0 0 / 12%);
    }
}

.tenmei-service-item:has(> .tenmei-service-card-link):focus-within {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgb(0 0 0 / 12%);
}
.tenmei-service-number {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--tenmei-color-border);
    font-size: 4.6em;
    line-height: 1;
    font-weight: 200;
    letter-spacing: 4%;
}

.tenmei-service-number i {
	width: 0.18em;
	aspect-ratio: 1;
	margin-top: 0.45em;
	background: var(--tenmei-color-red);
	transform: rotate(45deg);
}


.tenmei-service-body h2 {
	font-size: 1.9em;
	font-weight: 500;
	letter-spacing: 0.08em;
	line-height: 1.65;
}

.tenmei-service-body h2::after {
	content: "";
	display: block;
	width: 2.6667em;
	margin-top: 0.7em;
	border-top: 0.0667em solid var(--tenmei-color-gold);
}

.tenmei-service-body > p {
	margin-top: 1.25em;
}
.tenmei-services-page .tenmei-service-body .tenmei-outline-link:hover,
.tenmei-services-page .tenmei-service-body .tenmei-outline-link:active,
.tenmei-services-page .tenmei-service-body .tenmei-outline-link:focus{
	color: var(--tenmei-color-red);
	transform: translateY(-0.1333em);
	opacity: 0.7;
}

.tenmei-services-page .tenmei-service-body .tenmei-outline-link {position: relative;
		border: 1px solid var(--tenmei-color-red);
    color: var(--tenmei-color-red);
    text-decoration: none;
    padding: 0.6em 2.1em;
      margin-bottom: 0.5em;
    margin-top: 0.5em;
}

/* Whole-card links; existing links remain independently clickable. */
.tenmei-services-page .tenmei-service-card-link::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}
.tenmei-services-page .tenmei-service-card-link:focus-visible::after {
    outline: 2px solid var(--tenmei-color-gold);
    outline-offset: 3px;
}
.tenmei-services-page .tenmei-service-body a {
    position: relative;
    z-index: 2;
}

/* News and regular posts */
.tenmei-list-intro {
	margin-top: 0;
	margin-bottom: 4em;
}

.tenmei-news-list {
	width: 100%;
}

.tenmei-news-row {
	display: grid;
	grid-template-columns: 8.6667em 5.3333em 1fr 1em;
	align-items: center;
	min-height: 5.3333em;
	padding: 1.2em 1.6em;
	border-block: 0.0667em solid var(--tenmei-color-border);
	background: rgb(255 255 255 / 68%);
}

.tenmei-news-row + .tenmei-news-row {
	border-top: 0;
}

.tenmei-news-row time {
	font-size: 0.8em;
	letter-spacing: 0.08em;
	    padding-left: 0.6em;
}

.tenmei-news-row > span {
	padding: 0.25em 0.7em;
	font-size: 0.6667em;
	letter-spacing: 0.12em;
	text-align: center;
}

.tenmei-news-row h2 {
	font-size: 0.9333em;
	font-weight: 400;
	line-height: 1.75;
	margin-bottom:0;

}
.tenmei-news-page .tenmei-news-row h2 a::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
}

.tenmei-news-page .tenmei-news-row h2 a:focus-visible::after {
    outline: 2px solid var(--tenmei-color-gold);
    outline-offset: -2px;
}
.tenmei-news-row h2 a {
	text-decoration: none;
}

.tenmei-news-row > b {
	font-size: 1.4em;
	font-weight: 400;
}

.tenmei-news-row--empty p {
	font-size: 0.9333em;
}


.nav-links {
	display: flex;
	justify-content: center;
	gap: 0.6em;
}

.page-numbers {
	display: grid;
	place-items: center;
	min-width: 2.8em;
	min-height: 2.8em;
	border: 0.0667em solid var(--tenmei-color-border);
	text-decoration: none;
}

.page-numbers.current {
	background: var(--tenmei-color-gold);
	color: #fff;
}

/* Results */
.tenmei-media-list {
	border-top: 0.0667em solid var(--tenmei-color-border);
}

.tenmei-media-row {
	display: grid;
	grid-template-columns: 180px minmax(0, 1fr) 1em;
	gap: 2em;
	align-items: center;
	padding: 1.3333em;
	border-bottom: 0.0667em solid var(--tenmei-color-border);
	background: rgb(255 255 255 / 62%);
}

.tenmei-media-logo {
	display: grid;
	place-items: center;
	aspect-ratio: 5 / 2;
	background: var(--tenmei-color-panel);
	font-family: var(--tenmei-font-sans);
	font-size: 0.6667em;
	letter-spacing: 0.18em;
}

.tenmei-media-logo img {
	max-height: 5em;
	object-fit: contain;
}

.tenmei-media-row .tenmei-media-meta {
	display: flex;
	gap: 1.2em;
	align-items: center;
	flex-wrap: wrap;
	font-family: var(--tenmei-font-sans);
	font-size: 0.7333em;
}

.tenmei-media-row .tenmei-media-kind {
	padding: 0.2em 0.7em;
	background: var(--tenmei-color-gold);
	color: #fff;
}

.tenmei-media-row .tenmei-media-name,
.tenmei-media-row .tenmei-media-arrow {
	color: var(--tenmei-color-gold-deep);
}

.tenmei-media-row .tenmei-media-arrow {
	text-decoration: none;
}

.tenmei-media-row h3 {
	margin-top: 0.55em;
}

.tenmei-media-row h3 a {
	text-decoration: none;
}

.tenmei-book-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.tenmei-book-card {
	text-align: center;
	padding:0 0 2.5em 0;
	    display: flex;
    flex-direction: column;
}

.tenmei-book-cover {
	display: grid;
	place-items: center;
	width: 80%;
	aspect-ratio: 3 / 4;
	background: var(--tenmei-color-panel);
	font-family: var(--tenmei-font-sans);
	font-size: 0.6667em;
	letter-spacing: 0.14em;
}

.tenmei-book-cover img {
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.tenmei-book-card h3 {
	margin-top: 0em;
	font-size:1.3em;
	letter-spacing: 0.08em;
	font-weight: 800;
	    padding: 0 1em;
}

.tenmei-book-card > p {
	margin-top: 0.6em;
	font-size: 0.85em;

}

.tenmei-book-card > a,
.tenmei-book-button {
    display: inline-block;
        width: 50%;
        margin: 0 auto;
    padding: 0.5em 1.4em;
    border: 0.0667em solid var(--tenmei-color-gold);
    color: var(--tenmei-color-gold);
    font-size: 0.9em;
    text-decoration: none;
    font-weight: 500;
	 margin-top: auto;
}

.tenmei-case-card {
	background: rgb(255 255 255 / 84%);
}

.tenmei-case-no {
	font-size: 0.7333em;
	letter-spacing: 0.22em;
}

.tenmei-case-card > h3 {
	margin-top: 0.7em;
	padding-bottom: 1em;
	border-bottom: 0.0667em solid var(--tenmei-color-border);
	font-size: 1.8em;
	font-weight: 400;
	line-height: 1.75;
}

.tenmei-score-board {
	margin-top: 2em;
}

.tenmei-score-board > p {
	letter-spacing: 0.08em;
}

.tenmei-score-board > div {
	display: grid;
	grid-template-columns: 7em 1fr 2em;
	gap: 1em;
	align-items: center;
	margin-top: 0.75em;

}

.tenmei-score-board i {
	display: block;
	height: 0.6em;
	background: #dfddd6;
}

.tenmei-score-board i b {
	display: block;
	height: 100%;
	background: var(--tenmei-color-red);
}

.tenmei-score-board > div:nth-child(3) i b {
	background: var(--tenmei-color-gold);
}

.tenmei-case-timeline {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 0;
	margin: 2.6667em 0 0;
	padding: 0;
	list-style: none;
}

.tenmei-case-timeline li {
	    position: relative;
    padding: 1.6em 1em 0.5em;
    border-top: 0.0667em solid var(--tenmei-color-gold);
	text-align: center;
}

.tenmei-case-timeline li::before {
	content: "";
	position: absolute;
	border:1px solid #000;
	top: -0.3em;
	left: 50%;
	width: 0.6em;
	aspect-ratio: 1;
	background: var(--tenmei-color-gold);
	transform: translateX(-50%) rotate(45deg);
}

.tenmei-case-timeline b,
.tenmei-case-timeline span {
	display: block;
}
.tenmei-case-timeline li:first-child b{
	color:var(--tenmei-color-red);}
.tenmei-case-timeline b {
	color:var(--tenmei-color-gold);
	font-weight: 500;
}
.tenmei-case-timeline li:first-child::before{    background: var(--tenmei-color-red);}
.tenmei-case-timeline span {
	margin-top: 0.9em;
	font-size: 0.9em;
}

/* Sixty destinies */
.tenmei-time-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

.tenmei-time-grid article {
	padding: 2.5em;
}

.tenmei-time-arc {
	position: relative;
	display: block;
	width: 5em;
	height: 2.5em;
	border: 0.0667em solid var(--tenmei-color-border);
	border-bottom: 0;
	border-radius: 5em 5em 0 0;
}
.tenmei-time-arc::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    width: calc(100% + 0.8em);
    height: 0.0667em;
    background: var(--tenmei-color-border);
    transform: translateX(-50%);
}
.tenmei-time-arc i {
	position: absolute;
	left: var(--tenmei-time-position);
	bottom: -0.3em;
	width: 0.6em;
	aspect-ratio: 1;
	border-radius: 50%;
	background: var(--tenmei-color-gold);
	transform: translateX(-50%);
}

.tenmei-time-grid h3 {
	margin-top: 1em;
	margin-bottom: 0;
font-size: 1.4em;
}
.tenmei-time-grid hr{       color: var(--tenmei-color-gold-deep);
    margin-top: 0.5em;
    margin-bottom: 1em;
    width: 3.5em;}

.tenmei-time-grid small {
	font-size: 0.6667em;
	letter-spacing: 0.08em;
}

.tenmei-time-grid p {
	margin-top: 1em;
}

.tenmei-sixty-scroll {
	overflow-x: auto;
	overscroll-behavior-inline: contain;
}

.tenmei-sixty-grid {
	display: grid;
	grid-template-columns: 5.3333em repeat(10, minmax(5.3333em, 1fr));
	min-width: 59em;
	border-top: 0.0667em solid var(--tenmei-color-border);
	border-left: 0.0667em solid var(--tenmei-color-border);
}

.tenmei-sixty-grid > div {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 4.8em;
	padding: 0.6em;
	border-right: 0.0667em solid var(--tenmei-color-border);
	border-bottom: 0.0667em solid var(--tenmei-color-border);
	background: rgb(255 255 255 / 74%);
	text-align: center;
}

.tenmei-sixty-grid-head {
	background: rgb(196 166 77 / 8%) !important;
}

.tenmei-sixty-grid small {
	font-size: 0.6em;
}

.tenmei-sixty-grid strong {
	font-size: 0.8em;
	font-weight: 500;
}

.tenmei-sixty-cell a {
	text-decoration: none;
}

.tenmei-destiny-example-list {
	border-block: 0.0667em solid var(--tenmei-color-border);
	background:#ffffffc5;
	    max-width: 1100px;
    margin: 0 auto;
}

.tenmei-destiny-example-list article {
	display: grid;
	grid-template-columns: 12em 1fr;
	gap: 2.6667em;
	align-items: center;
	padding: 1.6em 2em;
}

.tenmei-destiny-example-list article + article {
	border-top: 0.0667em solid rgb(233 206 124 / 45%);
}

.tenmei-destiny-example-icon {
	width: 100%;
}

.tenmei-destiny-example-list h3 {
    font-size: 1.8em;
    font-weight: 500;
}

.tenmei-destiny-example-list h3 small {
	font-size: 0.5em;
	letter-spacing: 0.16em;
	    padding-left: 0.5em;
}

.tenmei-destiny-example-list p {
	margin-top: 0.8em;
	font-size: 0.82em;
	line-height: 2;
}

/* Destiny detail */
.tenmei-destiny-identity {
	text-align: center;
}

.tenmei-destiny-main-icon {
	width: 15em;
	margin-inline: auto;
}

.tenmei-destiny-identity h2 {
    margin-top: 0.8em;
    font-size: 3em;
    font-weight: 500;
    letter-spacing: 0.24em;
}

.tenmei-destiny-identity > p {
	margin-top: 0.7em;
	font-size: 1em;
	letter-spacing: 0.4em;
}
.tenmei-compatibility-table span{font-size: 1.1em;}
.tenmei-compatibility-table span:first-child{text-align: center;}
.tenmei-compatibility-table > div {
	display: grid;
	grid-template-columns: 0.15fr 0.3fr 0.6fr;
	align-items: center;
}

.tenmei-compatibility-table > div + div {
	border-top: 0.0667em solid var(--tenmei-color-border);
}

.tenmei-compatibility-table > div > * {
	padding: 0.4em 1.5em;
}



.tenmei-compatibility-head {
	font-size: 0.8em;
}

.tenmei-compatibility-table > div:not(.tenmei-compatibility-head) > strong {
color: var(--tenmei-color-gold);
    font-size: 2.8em;
    font-weight: 400;
    text-align: center;
    line-height: 1;
}

.tenmei-compatibility-table p {
	margin-bottom:0;
}

/* Generic / 404 */
.tenmei-empty-message {
	padding: 3em 1em;
	text-align: center;
}



@media (prefers-reduced-motion: reduce) {
	.tenmei-page-hero > .scrolldown .line {
		animation: none;
	}
}

/* Remaining lower pages: layouts and visual elements taken from the final PC/SP PDF. */
.tenmei-about-page .tenmei-design-content.tenmei-width-2,
.tenmei-profile-page .tenmei-design-content.tenmei-width-2,
.tenmei-results-page .tenmei-design-content.tenmei-width-2,
.tenmei-services-page .tenmei-design-content.tenmei-width-2,
.tenmei-news-page .tenmei-design-content.tenmei-width-2,
.tenmei-legal-page .tenmei-design-content.tenmei-width-2,
.tenmei-sixty-page .tenmei-design-content.tenmei-width-2,
.tenmei-destiny-page .tenmei-design-content.tenmei-width-2 {
	max-width: 73.3333em;
}
.tenmei-page-section {
	background: url("../images/common_lower_bg_pc.webp") center top / 100% auto repeat-y;
}

/* The lower-page square marks use the finished front-page frame's outside offset. */
.tenmei-page .tenmei-cta-frame,
.tenmei-page .tenmei-glossary-primary,
.tenmei-page .tenmei-legal-privacy-frame {
	position: relative;
	background-image: none;
}
.tenmei-page .tenmei-glossary-primary{	  box-shadow:
    inset 0 0 0 7px #fff,
    inset 0 0 0 8px #d9d4a9;}
.tenmei-page .tenmei-cta-frame::before,
.tenmei-page .tenmei-glossary-primary::before,
.tenmei-page .tenmei-legal-privacy-frame::before {
	content: "";
	position: absolute;
	inset: -0.3em;
	pointer-events: none;
	background:
		linear-gradient(var(--tenmei-color-gold) 0 0) top left / 0.5333em 0.5333em no-repeat,
		linear-gradient(var(--tenmei-color-gold) 0 0) top right / 0.5333em 0.5333em no-repeat,
		linear-gradient(var(--tenmei-color-gold) 0 0) bottom left / 0.5333em 0.5333em no-repeat,
		linear-gradient(var(--tenmei-color-gold) 0 0) bottom right / 0.5333em 0.5333em no-repeat;
}
.tenmei-page .tenmei-glossary-primary { border: var(--tenmei-border-width) solid var(--tenmei-color-gold); }
.tenmei-page .tenmei-glossary-primary > *,
.tenmei-page .tenmei-cta-frame > * { position: relative; }

/* About: framed definition and wave tables retain their columns on desktop and mobile. */
.tenmei-about-page .tenmei-split-panel > div:first-child {
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: left;

}
.tenmei-about-page .tenmei-split-panel > div:last-child {  }
.tenmei-about-page .tenmei-definition-head { grid-template-columns: 0.35fr 0.65fr; }
.tenmei-about-page .tenmei-definition-row { grid-template-columns:0.18fr 0.17fr 0.65fr; }
.tenmei-about-page .tenmei-definition-row .tenmei-definition-icon {
    width: 9.1em;
    padding: 0.6em;
    align-items: center;
    margin-inline: auto;
}
.tenmei-about-page .tenmei-definition-row .tenmei-definition-icon img { object-fit: contain; }
.tenmei-about-page .tenmei-definition-row strong {
    padding: 1.2em 0.6em;
    font-size: 1.5em;
    font-weight: 500;
}
.tenmei-about-page .tenmei-definition-row:last-child strong::first-letter  { color: var(--tenmei-color-red); }
.tenmei-about-page .tenmei-definition-row p { line-height: 1.9; }
.tenmei-about-page .tenmei-about-wave img { object-fit: contain; }
.tenmei-about-page .tenmei-wave-table { display: block; background: rgb(255 255 255 / 80%); }
.tenmei-about-page .tenmei-wave-table > div { display: grid; grid-template-columns: 23% 25% 1fr; align-items: center; }
.tenmei-about-page .tenmei-wave-table > div + div { border-top: var(--tenmei-border-width) solid var(--tenmei-color-border); border-left: 0; }
.tenmei-about-page .tenmei-wave-table > div.tenmei-p-3 { padding: 0; }
.tenmei-about-page .tenmei-wave-table > div > * { margin: 0; padding: 1.1em 1.4em; }
.tenmei-about-page .tenmei-wave-table .wave-table-p{padding-left: 3em;}
.tenmei-about-page .tenmei-wave-table > div > span { font-size: 0.9em; }
.tenmei-about-page .tenmei-wave-table > div > p { font-size: 0.9em; }
.tenmei-about-page .tenmei-wave-table-head { color: var(--tenmei-color-gold-deep); font-size: 0.8em; }
.tenmei-about-page .tenmei-two-card-grid article
 { text-align: center; }
 .tenmei-about-page .tenmei-principle-grid article { text-align: left;
    padding: 3em; }
.tenmei-about-page .tenmei-two-card-grid article { padding-block: 2.8em;
	padding-left: 3em;
	padding-right: 3em;

 }
 .tenmei-principle-grid h3{font-size:1.5em;}
.tenmei-about-page .tenmei-two-card-grid article p,
.tenmei-about-page .tenmei-principle-grid article p { text-align: left; }
.tenmei-about-page .tenmei-small-icon { width: 16em; height: 8.5em; }
.tenmei-about-page .tenmei-small-icon img { object-fit: contain; }

/* Profile picture and copy are separate grid items so SP can show the picture first. */
.tenmei-profile-page .tenmei-profile-intro { min-height: 36em; }
.tenmei-profile-page .tenmei-profile-main-photo { align-self: center; overflow: visible; }
.tenmei-profile-page .tenmei-profile-main-photo img { object-fit: contain; }
.tenmei-profile-page .tenmei-profile-intro > div { position: relative; z-index: 1; }
.tenmei-profile-page .tenmei-quote-grid blockquote { display: grid; place-items: center; min-height: 7em; }

/* Results: five documented stages, then the second score panel. */
.tenmei-results-page .tenmei-case-timeline { grid-template-columns: repeat(5,minmax(0,1fr)); }
.tenmei-results-page .tenmei-case-timeline li { text-align: left; }
.tenmei-results-page .tenmei-case-timeline li::before { left: 0; transform: rotate(45deg); }
.tenmei-results-page .tenmei-case-timeline li span { line-height: 1.75; }
.tenmei-results-page .tenmei-score-detail { margin-top: 1.5em; font-size: 0.7333em; }
.tenmei-results-page .tenmei-book-cover { }

/* The PDF keeps the small navigation mark beside both published and empty news rows. */
.tenmei-news-page .tenmei-news-row { position: relative; }
.tenmei-news-page .tenmei-news-row--empty::after {
	content: "›";
	position: absolute;
	top: 50%;
	right: 1.6em;
	color: var(--tenmei-color-gold-deep);
	transform: translateY(-50%);
}

/* Services: the first entry uses the PDF's emphasized outer frame. */
.tenmei-services-page .tenmei-service-item--featured { outline: var(--tenmei-border-width) solid var(--tenmei-color-gold); outline-offset: -0.35em; }
.tenmei-services-page .tenmei-service-number { background: rgb(196 166 77 / 8%); 
margin-bottom:0;}
.tenmei-services-page .tenmei-service-body h2 span { font-size: 0.8em; }

/* The two legal tables use columns on PC and stacked labels on SP. */
.tenmei-legal-page .tenmei-legal-table { 
	  box-shadow:
    inset 0 0 0 4px #fff,
    inset 0 0 0 5px #f5f1d1,
    inset 0 0 0 10px #fff;
	padding: calc(10px + 0px);
	background: rgb(255 255 255 / 82%);
margin-top:2.8em; }
.tenmei-legal-page .tenmei-legal-table > div { grid-template-columns: 20em minmax(0,1fr); }
.tenmei-legal-page .tenmei-legal-privacy-frame {
	padding: 3em 2em;
	background-color: rgb(255 255 255 / 82%);
	text-align: center;
}
.tenmei-legal-page .tenmei-legal-privacy-frame p + p { margin-top: 1em; }

/* Destiny examples: PC rows, SP cards. */
.tenmei-sixty-page .tenmei-sixty-grid-sp { display: none; }
.tenmei-sixty-page .tenmei-time-grid article:nth-child(2) .tenmei-time-arc i { left: 10%; bottom: 45%; }
.tenmei-sixty-page .tenmei-time-grid article:nth-child(3) .tenmei-time-arc i { 
    left: 39%;
    bottom: 85%;
 background: var(--tenmei-color-red); }
.tenmei-sixty-page .tenmei-time-grid article:nth-child(4) .tenmei-time-arc i { left: 80%; bottom: 65%; }
.tenmei-sixty-page .tenmei-time-grid article:nth-child(5) .tenmei-time-arc i { left: 97%; bottom: 20%; }
.tenmei-sixty-page .tenmei-time-grid article:nth-child(6) .tenmei-time-arc i { left: 100%;     bottom: -7%; }
.tenmei-sixty-page .tenmei-destiny-example-icon img { object-fit: contain; }
.tenmei-destiny-page .tenmei-destiny-main-icon img { object-fit: contain; }
.tenmei-destiny-page .tenmei-long-copy p { line-height: 2; }
.tenmei-destiny-page .tenmei-destiny-featured-image img { width: 100%; height: auto; }



/* 六十天命対応表：PDF原寸基準 */
.tenmei-sixty-page .tenmei-sixty-grid {
	--sixty-gold: #c3a04b;
	--sixty-time: #9a7a26;
	--sixty-muted: #626263;
	border-top: 2px solid rgb(195 160 75 / 50%);
	border-left: 2px solid rgb(195 160 75 / 50%);
}
.tenmei-sixty-page .tenmei-sixty-grid > div {
	border-right: 2px solid rgb(195 160 75 / 40%);
	border-bottom: 2px solid rgb(195 160 75 / 40%);
}
.tenmei-sixty-page .tenmei-sixty-grid-head { background: rgb(195 160 75 / 8%) !important; }
.tenmei-sixty-page .tenmei-sixty-grid-pc {

	min-width: 1102px;
}
.tenmei-top-attribute-grid > a.tenmei-attribute-link {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

@media (hover: hover) {
    .tenmei-top-attribute-grid > a.tenmei-attribute-link:hover {
        transform: translateY(-4px);
        box-shadow: 0 6px 16px rgb(0 0 0 / 12%);
    }
}

.tenmei-top-attribute-grid > a.tenmei-attribute-link:focus-visible {
    transform: translateY(-4px);
    box-shadow: 0 6px 16px rgb(0 0 0 / 12%);
}

@media (prefers-reduced-motion: reduce) {
    .tenmei-top-attribute-grid > a.tenmei-attribute-link {
        transition: none;
    }
}
.tenmei-sixty-page .tenmei-sixty-grid-pc > div { min-height: 78px; padding: 8px 4px; }
.tenmei-sixty-page .tenmei-sixty-grid-pc > :nth-child(-n + 11) { min-height: 60px; }
.tenmei-sixty-page .tenmei-sixty-grid-pc .tenmei-sixty-grid-head > strong { font-size: 17px; }
.tenmei-sixty-page .tenmei-sixty-grid-pc .tenmei-sixty-grid-head > small { font-size: 11px; }
.tenmei-sixty-page .tenmei-sixty-grid-pc > .tenmei-sixty-grid-head:nth-child(11n + 12) > strong { font-size: 16px; color: var(--sixty-time); }
.tenmei-sixty-page .tenmei-sixty-grid-pc .tenmei-sixty-cell small { font-size: 11px; color: var(--sixty-muted); }
.tenmei-sixty-page .tenmei-sixty-grid-pc .tenmei-sixty-cell strong { font-size: 15px; }
 
/* 属性色：tenmei_attributes() の並び順（大樹→雫） */
.tenmei-sixty-page .tenmei-attribute-1 > strong, .tenmei-sixty-page .tenmei-attribute-1 .tenmei-sixty-cell strong { color:#3e6a49; }
.tenmei-sixty-page .tenmei-attribute-2 > strong, .tenmei-sixty-page .tenmei-attribute-2 .tenmei-sixty-cell strong { color:#6c9d72; }
.tenmei-sixty-page .tenmei-attribute-3 > strong, .tenmei-sixty-page .tenmei-attribute-3 .tenmei-sixty-cell strong { color:#b3463a; }
.tenmei-sixty-page .tenmei-attribute-4 > strong, .tenmei-sixty-page .tenmei-attribute-4 .tenmei-sixty-cell strong { color:#cb7253; }
.tenmei-sixty-page .tenmei-attribute-5 > strong, .tenmei-sixty-page .tenmei-attribute-5 .tenmei-sixty-cell strong { color:#b29239; }
.tenmei-sixty-page .tenmei-attribute-6 > strong, .tenmei-sixty-page .tenmei-attribute-6 .tenmei-sixty-cell strong { color:#947b3f; }
.tenmei-sixty-page .tenmei-attribute-7 > strong, .tenmei-sixty-page .tenmei-attribute-7 .tenmei-sixty-cell strong { color:#6e6e77; }
.tenmei-sixty-page .tenmei-attribute-8 > strong, .tenmei-sixty-page .tenmei-attribute-8 .tenmei-sixty-cell strong { color:#9880b4; }
.tenmei-sixty-page .tenmei-attribute-9 > strong, .tenmei-sixty-page .tenmei-attribute-9 .tenmei-sixty-cell strong { color:#1f1f27; }
.tenmei-sixty-page .tenmei-attribute-10 > strong, .tenmei-sixty-page .tenmei-attribute-10 .tenmei-sixty-cell strong { color:#3c3c47; }
.tenmei-sixty-page .tenmei-sixty-grid-head[class*="tenmei-attribute-"] > small { color: color-mix(in srgb, currentColor 80%, transparent); }

.tenmei-results-page .tenmei-case-card.tenmei-page-card-corners {
	background-color: rgb(255 255 255 / 84%);
	background-image:
		linear-gradient(var(--tenmei-color-gold) 0 0),
		linear-gradient(var(--tenmei-color-gold) 0 0),
		linear-gradient(var(--tenmei-color-gold) 0 0),
		linear-gradient(var(--tenmei-color-gold) 0 0),
		linear-gradient(var(--tenmei-color-gold) 0 0),
		linear-gradient(var(--tenmei-color-gold) 0 0),
		linear-gradient(var(--tenmei-color-gold) 0 0),
		linear-gradient(var(--tenmei-color-gold) 0 0);
	background-position:
		left 0.3333em top 0.3333em, left 0.3333em top 0.3333em,
		right 0.3333em top 0.3333em, right 0.3333em top 0.3333em,
		left 0.3333em bottom 0.3333em, left 0.3333em bottom 0.3333em,
		right 0.3333em bottom 0.3333em, right 0.3333em bottom 0.3333em;
	background-size:
		1em var(--tenmei-border-width), var(--tenmei-border-width) 1em,
		1em var(--tenmei-border-width), var(--tenmei-border-width) 1em,
		1em var(--tenmei-border-width), var(--tenmei-border-width) 1em,
		1em var(--tenmei-border-width), var(--tenmei-border-width) 1em;
	background-repeat: no-repeat;
}
@media (max-width: 750px) {
 .tenmei-results-page .tenmei-case-card > h3 {
  letter-spacing: 0.017em !important;
  padding-bottom: 4vw !important;
 }
}

@media (max-width:750px) { .tenmei-front-page .tenmei-section-06 .tenmei-top-attribute-tile { box-shadow: inset 0 0 0 1px #c4a64d; } }

.tenmei-front-page .tenmei-section-11 .tenmei-front-wide .tenmei-sub-cta {
 display:flex;
 align-items:center;
 justify-content:center;
 width:min(100%,calc(var(--tenmei-font-size-base) * 36.5));
 height:calc(var(--tenmei-font-size-base) * 3.75);
 box-sizing:border-box;
 padding:0;
 line-height:1.2;
 margin-left:auto;
 margin-right:auto;
 margin-bottom:calc(var(--tenmei-font-size-base) * 2.8125);
}
@media(max-width:750px) {
 .tenmei-front-page .tenmei-section-11 .tenmei-front-wide .tenmei-sub-cta {
  width:100%;
  height:9.177333vw;
  font-size:3.666667vw;
  margin-top:9.6vw;
  margin-bottom:4vw !important;
 }
 .tenmei-front-page .tenmei-section-11 .tenmei-front-wide > p:last-of-type { margin-bottom:0; }
 .tenmei-front-page .tenmei-section-11 #tenmei-diagnosis-bottom { margin-top:8vw; }
}

/* Keep link text color unchanged on hover/focus/active. */
.tenmei-site a:hover,
.tenmei-site a:focus,
.tenmei-site a:active {
	color: var(--tenmei-color-text);
	
}
.tenmei-site .tenmei-color-muted:is(a),
.tenmei-site .tenmei-color-muted a,
.tenmei-site .tenmei-color-muted:is(a):hover,
.tenmei-site .tenmei-color-muted:is(a):focus,
.tenmei-site .tenmei-color-muted:is(a):active,
.tenmei-site .tenmei-color-muted a:hover,
.tenmei-site .tenmei-color-muted a:focus,
.tenmei-site .tenmei-color-muted a:active {
	color: var(--tenmei-color-muted);
	
}
.tenmei-site .tenmei-color-gold:is(a),
.tenmei-site .tenmei-color-gold a,
.tenmei-site .tenmei-color-gold:is(a):hover,
.tenmei-site .tenmei-color-gold:is(a):focus,
.tenmei-site .tenmei-color-gold:is(a):active,
.tenmei-site .tenmei-color-gold a:hover,
.tenmei-site .tenmei-color-gold a:focus,
.tenmei-site .tenmei-color-gold a:active {
	color: var(--tenmei-color-gold);

}
.tenmei-site .tenmei-color-gold-deep:is(a),
.tenmei-site .tenmei-color-gold-deep a,
.tenmei-site .tenmei-color-gold-deep:is(a):hover,
.tenmei-site .tenmei-color-gold-deep:is(a):focus,
.tenmei-site .tenmei-color-gold-deep:is(a):active,
.tenmei-site .tenmei-color-gold-deep a:hover,
.tenmei-site .tenmei-color-gold-deep a:focus,
.tenmei-site .tenmei-color-gold-deep a:active {
	color: var(--tenmei-color-gold-deep);

}
.tenmei-site .tenmei-color-red:is(a),
.tenmei-site .tenmei-color-red a,
.tenmei-site .tenmei-color-red:is(a):hover,
.tenmei-site .tenmei-color-red:is(a):focus,
.tenmei-site .tenmei-color-red:is(a):active,
.tenmei-site .tenmei-color-red a:hover,
.tenmei-site .tenmei-color-red a:focus,
.tenmei-site .tenmei-color-red a:active {
	color: var(--tenmei-color-red);

}
.tenmei-site .tenmei-color-white:is(a),
.tenmei-site .tenmei-color-white a,
.tenmei-site .tenmei-color-white:is(a):hover,
.tenmei-site .tenmei-color-white:is(a):focus,
.tenmei-site .tenmei-color-white:is(a):active,
.tenmei-site .tenmei-color-white a:hover,
.tenmei-site .tenmei-color-white a:focus,
.tenmei-site .tenmei-color-white a:active,
.tenmei-site .tenmei-primary-button,
.tenmei-site .tenmei-primary-button:hover,
.tenmei-site .tenmei-primary-button:focus,
.tenmei-site .tenmei-primary-button:active,
.tenmei-site .tenmei-header-cta,
.tenmei-site .tenmei-header-cta:hover,
.tenmei-site .tenmei-header-cta:focus,
.tenmei-site .tenmei-header-cta:active {
	color: var(--tenmei-color-white);

}

/* Common section immediately before the site footer. */
.tenmei-line-cta a:hover,
.tenmei-line-cta a:focus,
.tenmei-line-cta a:active{color:#fff;
  }

.tenmei-front-section.tenmei-line-cta{
	position: relative;
	padding:  2em 0 4.5em;
	overflow: hidden;
}

.tenmei-line-cta{
	background: var(--tenmei-color-paper);
	text-align: center;
}

.tenmei-line-cta h2{
	font-size: 1.4em;
	letter-spacing: 0.1em;
}

.tenmei-line-cta p{
	margin-top: 1.6em;
}

.tenmei-line-cta a{
    display: block;
    position: relative;
    align-self: stretch;
    width: 13em;
    font-size: 1.7em;
    margin: 0 auto;
    padding: 0.5em 0em;
    border: 0.0667em solid var(--tenmei-button-dark);
    background: linear-gradient(var(--tenmei-button), var(--tenmei-button-dark));
    box-shadow: 0 0.35em 0.55em rgb(99 48 13 / 22%);
    color: #fff;
    text-align: center;
    text-decoration: none;
}

.tenmei-line-cta a:after{
    content: "";
    position: absolute;
    inset: 0.2em;
    border: 1px solid rgb(241 215 173 / 90%);
    pointer-events: none;
}

.tenmei-line-cta small{
	display: block;
	margin-top: 1.6em;
}

.tenmei-official-title{
	display: flex;
	align-items: center;
	justify-content: center;
	    font-size: 1.5em;
	gap: 0.8em;
}

.tenmei-official-icon{
    width: 1.4em;
    height: auto;
    flex-shrink: 0;
}

.tenmei-section-12-box-wrap{
	display: flex;
    width: 1100px;
    max-width: 100%;
    align-content: center;
    margin: 0 auto;
    justify-content: space-evenly;
    flex-wrap: wrap;
}

.tenmei-section-12-box-a, .tenmei-section-12-box-b{width: 50%;
}
.tenmei-section-12-box-a .tenmei-section-12-box-a-img, 
.tenmei-section-12-box-b .tenmei-section-12-box-b-img{
	    display: block;
    margin: 0 auto;}
.tenmei-section-12-box-img{height:61px;
margin:1.6em auto;
    align-content: center;}

.tenmei-section-12-box-b {
    position: relative;
    border-left: none;
}

.tenmei-section-12-box-b::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 1px;
    height: 250px; /* 任意の長さ */
    background: var(--tenmei-color-gold);
}

.tenmei-section-12.tenmei-line-cta .tenmei-section-12-box-a a, .tenmei-section-12.tenmei-line-cta .tenmei-section-12-box-b a{    width: 16em;
    font-size: 1.5em;
    margin: 0 auto;
    padding: 0.6em 0em;}
.tenmei-section-12.tenmei-line-cta .tenmei-section-12-box-a a{    border: 0.0667em solid #00ba03;
    background:linear-gradient(to bottom, #00a700, #008d00)}
.tenmei-section-12.tenmei-line-cta .tenmei-section-12-box-b a{    border: 0.0667em solid #e50000;
    background: linear-gradient(to bottom, #e50000, #c20000)}

