@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Noto+Serif+JP:wght@500;700&family=Zen+Maru+Gothic:wght@400;500;700&display=swap");
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body,
h1,
h2,
h3,
p,
ul,
dl,
dd {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input,
textarea,
select {
  font: inherit;
}

html {
  scroll-behavior: smooth;
}

body {
  min-width: 20rem;
  overflow-x: clip;
  color: #4f4540;
  background: #fffdf9;
  font-family: "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
  font-size: clamp(0.9375rem, 0.9rem + 0.15vw, 1rem);
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

h1, h2, h3 {
  color: #563f35;
  line-height: 1.45;
}

.section-eyebrow, time, .site-header__reset, .site-footer small {
  font-family: Montserrat, "Zen Maru Gothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Yu Gothic", YuGothic, Meiryo, sans-serif;
}

button, a {
  -webkit-tap-highlight-color: transparent;
}

:focus-visible {
  outline: 3px solid #bf7a59;
  outline-offset: 3px;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *, *::before, *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}
.l-container {
  width: min(100% - clamp(2rem, 5vw, 5rem), 72rem);
  margin-inline: auto;
}

.c-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 3.25rem;
  padding: 0.75rem 1.45rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.4;
  letter-spacing: 0.05em;
  text-align: center;
  cursor: pointer;
  transition: color 180ms ease, background-color 180ms ease, border-color 180ms ease, transform 180ms ease;
}
.c-button:hover {
  transform: translateY(-2px);
}
.c-button:disabled, .c-button[aria-disabled=true] {
  pointer-events: none;
  opacity: 0.5;
}

.c-button--primary {
  color: #fff;
  background: #a86d5c;
}
.c-button--primary:hover {
  background: #865244;
}

.c-button--secondary {
  color: #865244;
  border-color: #a86d5c;
  background: #fffaf4;
}
.c-button--secondary:hover {
  background: #f4ddd9;
}

.c-button--system {
  color: #fff;
  background: #50655a;
}
.c-button--system:hover {
  background: #35483e;
}

.c-button::after {
  width: 1rem;
  height: 1rem;
  background: currentColor;
  content: "";
  mask: url("../../images/icon.svg") center/contain no-repeat;
}

.site-header {
  position: relative;
  z-index: 10;
  border-bottom: 1px solid rgba(223, 209, 197, 0.8);
  background: rgba(255, 253, 249, 0.97);
}

.site-header__inner {
  display: flex;
  align-items: center;
  min-height: 5.75rem;
  gap: clamp(1rem, 3vw, 2.4rem);
}

.site-logo {
  display: block;
  flex: 0 0 auto;
  width: clamp(10.5rem, 16vw, 14.5rem);
}

.site-header__navigation {
  display: flex;
  flex: 1;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(1rem, 2.4vw, 2rem);
}

.site-header__navigation ul {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: clamp(0.85rem, 1.8vw, 1.45rem);
}

.site-header__navigation li {
  font-size: 0.9375rem;
  font-weight: 700;
  white-space: nowrap;
}

.site-header__navigation li a {
  display: block;
  padding-block: 0.5rem;
  transition: color 180ms ease;
}
.site-header__navigation li a:hover {
  color: #a86d5c;
}

.site-header__reservation {
  flex: 0 0 auto;
  min-height: 2.85rem;
  padding-inline: 1.15rem;
  font-size: 0.9375rem;
}

.site-header__menu-button {
  display: none;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  backdrop-filter: blur(12px);
}

.site-header__actions {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.site-header__reset {
  min-height: 2.85rem;
  padding: 0.5rem 0.8rem;
  color: #865244;
  border: 1px solid #dfd1c5;
  border-radius: 999px;
  background: transparent;
  font-size: 0.8125rem;
  font-weight: 700;
  cursor: pointer;
}
.site-header__reset:hover {
  background: #f4ddd9;
}

.site-header__reset--mobile {
  display: none;
  margin-left: auto;
}

@media (max-width: 959px) {
  .site-header {
    background: #fffdf9;
    backdrop-filter: none;
  }
  .site-header__inner {
    min-height: 5.25rem;
    justify-content: space-between;
  }
  .site-header__menu-button {
    display: inline-flex;
    flex: 0 0 3rem;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 3rem;
    min-height: 3.5rem;
    gap: 0.65rem;
    padding: 0.25rem;
    color: #563f35;
    border: 0;
    background: transparent;
    font-size: 0.6875rem;
    font-weight: 700;
    line-height: 1;
    cursor: pointer;
  }
  .site-header__menu-icon, .site-header__menu-icon::before, .site-header__menu-icon::after {
    display: block;
    width: 1.75rem;
    height: 2px;
    border-radius: 999px;
    background: currentColor;
    content: "";
    transition: transform 180ms ease;
  }
  .site-header__menu-icon {
    position: relative;
  }
  .site-header__menu-icon::before {
    position: absolute;
    top: -0.5rem;
  }
  .site-header__menu-icon::after {
    position: absolute;
    top: 0.5rem;
  }
  .site-header__menu-button[aria-expanded=true] .site-header__menu-icon {
    background: transparent;
  }
  .site-header__menu-button[aria-expanded=true] .site-header__menu-icon::before {
    top: 0;
    transform: rotate(45deg);
  }
  .site-header__menu-button[aria-expanded=true] .site-header__menu-icon::after {
    top: 0;
    transform: rotate(-45deg);
  }
  .site-header__navigation {
    position: fixed;
    z-index: 1;
    top: 0;
    right: auto;
    bottom: 0;
    left: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    align-content: start;
    width: 100vw;
    min-width: 100vw;
    height: 100dvh;
    gap: 1.35rem;
    max-height: none;
    padding: 7rem clamp(1.5rem, 8vw, 4rem) 2rem;
    overflow-y: auto;
    border: 0;
    background: rgba(255, 253, 249, 0.99);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: opacity 220ms ease, visibility 220ms;
  }
  .site-header__navigation.is-open {
    max-height: none;
    border: 0;
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
  }
  .site-header__navigation ul, .site-header__actions {
    width: min(100%, 34rem);
    margin-inline: auto;
  }
  .site-header__navigation ul {
    display: grid;
    justify-content: stretch;
    gap: 0;
  }
  .site-header__navigation li {
    border-bottom: 1px solid rgba(223, 209, 197, 0.75);
    font-size: clamp(1rem, 2.4vw, 1.25rem);
  }
  .site-header__navigation li a {
    padding-block: 0.95rem;
  }
  .site-header__actions {
    flex-wrap: wrap;
  }
  .site-header__inner {
    position: relative;
    z-index: 2;
  }
  .site-header__menu-button, .site-header__actions {
    position: relative;
    z-index: 2;
  }
  .site-header__actions .site-header__reset {
    display: none;
  }
  .site-header__reset--mobile {
    display: block;
  }
  .site-header__reservation {
    width: 100%;
  }
}
body.menu-is-open {
  overflow: hidden;
}

@media (max-width: 480px) {
  .site-header__inner {
    gap: 0.4rem;
  }
  .site-logo {
    width: clamp(8.25rem, 39vw, 10rem);
  }
  .site-header__actions {
    gap: 0.35rem;
  }
  .site-header__reset {
    min-height: 2.45rem;
    padding-inline: 0.6rem;
    font-size: 0.625rem;
  }
  .site-header__reservation {
    min-height: 2.45rem;
    padding-inline: 0.75rem;
    font-size: 0.75rem;
  }
}
.site-footer {
  margin-top: 4rem;
  color: #fffaf5;
  background: #695850;
}

.site-footer__inner {
  display: grid;
  grid-template-columns: minmax(13rem, 1.1fr) minmax(10rem, 0.85fr) minmax(18rem, 1.25fr);
  gap: clamp(2rem, 5vw, 4.5rem);
  padding-block: clamp(3rem, 6vw, 5rem);
}

.site-logo--footer {
  width: min(100%, 15rem);
  filter: brightness(0) invert(1);
}

.site-footer__brand p {
  margin-top: 1.25rem;
  font-size: 0.9375rem;
  line-height: 1.8;
}

.site-footer__navigation ul {
  display: grid;
  gap: 0.45rem;
}

.site-footer__navigation a {
  display: inline-block;
  padding-block: 0.25rem;
}
.site-footer__navigation a:hover {
  text-decoration: underline;
  text-underline-offset: 0.3em;
}

.site-footer__information h2 {
  color: inherit;
  font-size: 1rem;
}

.site-footer__information dl {
  display: grid;
  gap: 0.65rem;
  margin-top: 0.9rem;
  font-size: 0.9375rem;
}

.site-footer__information dl div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.6rem;
}

.site-footer__information dt {
  font-weight: 700;
}

.site-footer__information dd {
  margin: 0;
}

.site-footer__bottom {
  border-top: 1px solid rgba(255, 250, 245, 0.25);
}

.site-footer__bottom .l-container {
  padding-block: 1rem;
}

.site-footer__bottom small {
  font-size: 0.875rem;
}

@media (max-width: 959px) {
  .site-footer__inner {
    grid-template-columns: 1fr 1fr;
  }
  .site-footer__brand {
    grid-column: 1/-1;
  }
}
@media (max-width: 767px) {
  .site-footer {
    margin-top: 2.5rem;
  }
  .site-footer__inner {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .site-footer__brand {
    grid-column: auto;
  }
}
.section {
  padding-block: clamp(4rem, 8vw, 7rem);
}

.section--beige {
  background: #f5eee4;
}

.section--pink {
  background: linear-gradient(135deg, #fff8f5 0%, #f9e8e9 52%, #f6dfe4 100%);
}

.section-eyebrow {
  color: #a86d5c;
  font-size: 0.875rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  line-height: 1.5;
}

.section-heading {
  max-width: 42rem;
  margin-bottom: clamp(2rem, 4vw, 3.25rem);
}

.section-heading h2 {
  margin-top: 0.4rem;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
}

.section-heading h2::after, .split-layout__content h2::after, .clinic-intro h2::after, .news-layout h2::after, .access-layout h2::after, .reservation h2::after {
  display: block;
  width: 3rem;
  height: 2px;
  margin-top: 0.65rem;
  background: #d7ab9d;
  content: "";
}

.section-heading > p:not(.section-eyebrow) {
  margin-top: 0.75rem;
}

.image-frame {
  overflow: hidden;
  border-radius: 1rem;
  background: #f5eee4;
}

.image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reading-width {
  width: min(100% - clamp(2rem, 5vw, 5rem), 46rem);
  margin-inline: auto;
}

body .site-alteration-overlay::after {
  display: none;
}

.hero {
  padding-block: clamp(2rem, 5vw, 4.5rem);
  background: linear-gradient(115deg, #fffdf9 0%, #fffdf9 45%, #f7e8df 100%);
}

.hero__inner {
  display: grid;
  grid-template-columns: minmax(18rem, 0.9fr) minmax(25rem, 1.1fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 5rem);
}

.hero__content h1 {
  margin-top: 0.7rem;
  font-size: clamp(2rem, 3.7vw, 3.5rem);
  letter-spacing: 0.05em;
}

.hero__content > p:not(.section-eyebrow) {
  margin-top: 1.25rem;
}

.hero__content .c-button {
  margin-top: 1.8rem;
}

.hero__image {
  aspect-ratio: 1.3;
  overflow: hidden;
  border-radius: 1.25rem;
}

.hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(18rem, 1fr) minmax(18rem, 1fr);
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.split-layout .image-frame {
  aspect-ratio: 1.16;
}

.split-layout__content h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.75rem, 2.8vw, 2.6rem);
}

.split-layout__content > p:not(.section-eyebrow) {
  margin-top: 1.1rem;
}

.split-layout__content .c-button {
  margin-top: 1.75rem;
}

.split-layout--reverse .image-frame {
  order: 2;
}

.profile-name {
  color: #563f35;
  font-weight: 700;
}

.treatment-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.treatment-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  border-radius: 0.75rem;
  background: #fffdf9;
  box-shadow: 0 0.25rem 1rem rgba(86, 63, 53, 0.06);
}

.treatment-card > img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.treatment-card > div, .treatment-card--plain {
  padding: 1.4rem;
}

.treatment-card h3 {
  font-size: 1.2rem;
}

.treatment-card p {
  margin-top: 0.45rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.treatment-card a, .column-grid article > a {
  display: inline-flex;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1.1rem;
  color: #865244;
  font-size: 0.875rem;
  font-weight: 700;
}

.treatment-card--plain {
  min-height: 100%;
}

.treatment-card__icon {
  display: grid;
  place-items: center;
  width: 3rem;
  aspect-ratio: 1;
  margin-bottom: 1rem;
  color: #fff;
  border-radius: 50%;
  background: #d7ab9d;
  font-size: 1.8rem;
  line-height: 1;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

.feature-grid article {
  padding: 1.5rem;
  border-top: 3px solid #d7ab9d;
  background: #fff;
}

.feature-grid span {
  color: #a86d5c;
  font-size: 0.875rem;
  font-weight: 700;
}

.feature-grid h3 {
  margin-top: 0.65rem;
  font-size: 1.15rem;
}

.feature-grid p {
  margin-top: 0.4rem;
  font-size: 0.9375rem;
  line-height: 1.7;
}

.clinic-intro {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: clamp(2rem, 7vw, 6rem);
}

.clinic-intro h2 {
  margin-top: 0.5rem;
  font-size: clamp(1.75rem, 2.8vw, 2.6rem);
}

.clinic-intro p:not(.section-eyebrow) {
  margin-top: 1rem;
}

.clinic-intro .image-frame {
  aspect-ratio: 1.55;
}

.section-heading--row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  max-width: none;
  gap: 1.5rem;
}

.column-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.column-grid article {
  display: flex;
  flex-direction: column;
  min-height: 13rem;
  padding: 1.4rem;
  border: 1px solid #dfd1c5;
  border-radius: 0.75rem;
  background: #fffdf9;
}

.column-grid p {
  color: #a86d5c;
  font-size: 0.8125rem;
  font-weight: 700;
}

.column-grid h3 {
  margin-top: 0.65rem;
  font-size: 1.1rem;
}

.column-grid h3 a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.news-layout {
  display: grid;
  grid-template-columns: 0.6fr 1.4fr;
  gap: clamp(2rem, 7vw, 6rem);
}

.news-layout h2, .access-layout h2 {
  margin-top: 0.4rem;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
}

.news-list {
  border-top: 1px solid #dfd1c5;
}

.news-list li {
  display: grid;
  grid-template-columns: 7rem 1fr;
  gap: 1rem;
  padding-block: 1.1rem;
  border-bottom: 1px solid #dfd1c5;
}

.news-list time {
  color: #a86d5c;
  font-size: 0.875rem;
}

.news-list a:hover {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.access-layout {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: clamp(2rem, 7vw, 6rem);
}

.access-layout > div > p:not(.section-eyebrow) {
  margin-top: 1rem;
}

.access-layout dl {
  display: grid;
  gap: 0;
}

.access-layout dl div {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid rgba(168, 109, 92, 0.25);
}

.access-layout dt {
  color: #563f35;
  font-weight: 700;
}

.access-layout dd {
  margin: 0;
}

.access-layout small {
  font-size: 0.875rem;
}

.reservation {
  padding-block: clamp(3rem, 6vw, 5rem);
  background: #fffaf4;
}

.reservation__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.reservation h2 {
  margin-top: 0.4rem;
  font-size: clamp(1.6rem, 2.2vw, 2.25rem);
}

.reservation p:not(.section-eyebrow) {
  margin-top: 0.5rem;
}

@media (max-width: 959px) {
  .hero__inner {
    grid-template-columns: 0.85fr 1.15fr;
    gap: 2rem;
  }
  .treatment-grid, .feature-grid, .column-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .treatment-card--plain {
    min-height: 0;
  }
}
@media (max-width: 767px) {
  .hero__inner, .split-layout, .clinic-intro, .news-layout, .access-layout {
    grid-template-columns: 1fr;
  }
  .hero__content {
    order: 2;
  }
  .hero__image {
    order: 1;
  }
  .hero__content h1 br {
    display: none;
  }
  .split-layout--reverse .image-frame {
    order: 0;
  }
  .section-heading--row, .reservation__inner {
    display: grid;
    align-items: start;
  }
  .treatment-grid, .feature-grid, .column-grid {
    grid-template-columns: 1fr;
  }
  .news-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }
}
.hero {
  position: relative;
  display: grid;
  min-height: clamp(32rem, 72vh, 48rem);
  overflow: hidden;
  color: #fff;
  background: #7d675e;
}

.hero__slides {
  position: absolute;
  inset: 0;
}

.hero__slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 1.25s ease;
}

.hero__slide.is-active {
  opacity: 1;
}

.hero__slide::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(49, 35, 29, 0.62), rgba(49, 35, 29, 0.28) 50%, rgba(49, 35, 29, 0.1));
  content: "";
}

.hero__slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero__inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  min-height: inherit;
}

.hero__content {
  max-width: 43rem;
  padding: clamp(2rem, 5vw, 4rem);
  border-left: 1px solid rgba(255, 255, 255, 0.65);
  background: rgba(81, 58, 47, 0.18);
  backdrop-filter: blur(3px);
}

.hero__content h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4vw, 4rem);
}

.hero__content h1 span {
  display: block;
  white-space: nowrap;
}

.hero__content .section-eyebrow {
  color: #fff6ed;
}

.column-grid article {
  min-height: 0;
  overflow: hidden;
  padding: 0;
}

.column-grid article > img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
}

.column-grid article > div {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 1.25rem;
}

.column-grid article > div > a {
  display: inline-flex;
  gap: 0.35rem;
  margin-top: auto;
  padding-top: 1.1rem;
  color: #865244;
  font-size: 0.875rem;
  font-weight: 700;
}

.news-list li {
  grid-template-columns: 7rem auto 1fr;
  align-items: center;
}

.news-list__category {
  padding: 0.2rem 0.55rem;
  color: #865244;
  border-radius: 999px;
  background: #f4ddd9;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
}

.access-layout {
  grid-template-columns: 1fr 1fr;
  align-items: center;
}

.access-layout dl {
  margin-top: 1.5rem;
}

.access-layout__map {
  overflow: hidden;
  border: 0.5rem solid #fff;
  border-radius: 1rem;
  box-shadow: 0 0.5rem 1.5rem rgba(86, 63, 53, 0.12);
}

.access-layout__map img {
  width: 100%;
  aspect-ratio: 1.25;
  object-fit: cover;
}

@media (max-width: 767px) {
  .hero {
    min-height: 36rem;
  }
  .hero__content {
    width: 100%;
    padding: 1.5rem 1.25rem;
  }
  .hero__content h1 {
    font-size: clamp(1.65rem, 8.25vw, 2.2rem);
    letter-spacing: 0.025em;
  }
  .news-list li {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .news-list__category {
    width: fit-content;
  }
  .access-layout {
    grid-template-columns: 1fr;
  }
}
.article-hero {
  padding-block: clamp(3.5rem, 7vw, 6rem);
  background: #f5eee4;
  text-align: center;
}

.article-hero__inner {
  max-width: 50rem;
}

.article-hero__category {
  margin-top: 0.9rem;
  color: #865244;
  font-size: 0.9375rem;
}

.article-hero h1 {
  margin-top: 0.35rem;
  font-size: clamp(2rem, 3.5vw, 3.25rem);
}

.article-hero h1 + p {
  margin-top: 1rem;
}

.article__image {
  margin: clamp(3rem, 6vw, 5rem) 0 0;
  overflow: hidden;
  border-radius: 1rem;
}

.article__image img {
  width: 100%;
  aspect-ratio: 1.6;
  object-fit: cover;
}

.article__body {
  margin-top: clamp(2.5rem, 5vw, 4rem);
}

.article__body > * + * {
  margin-top: 1.25rem;
}

.article__body h2 {
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-bottom: 0.65rem;
  border-bottom: 2px solid #f4ddd9;
  font-size: clamp(1.45rem, 2.2vw, 1.85rem);
}

.tooth-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: start;
  gap: 0.65rem;
  padding: clamp(1.2rem, 3vw, 2rem);
  border-radius: 0.75rem;
  background: #fffaf5;
}

.tooth-flow__step {
  display: grid;
  justify-items: center;
  gap: 0.5rem;
  padding: 1rem 0.7rem;
  border: 1px solid #dfd1c5;
  border-radius: 0.5rem;
  background: #fff;
  text-align: center;
}

.tooth-flow__step span {
  display: grid;
  place-items: center;
  width: 1.65rem;
  aspect-ratio: 1;
  color: #fff;
  border-radius: 50%;
  background: #a86d5c;
  font-size: 0.75rem;
}

.tooth-flow__branch {
  display: grid;
  gap: 0.35rem;
  text-align: center;
}

.tooth-flow__branch p {
  color: #756b66;
  font-size: 0.8125rem;
  line-height: 1.5;
}

.article__back {
  margin-top: clamp(3rem, 6vw, 5rem);
  text-align: center;
}

.tooth-flow--phase1[hidden] {
  display: none;
}

.tooth-flow__restricted {
  min-height: 3.5rem;
  border: 1px solid #dfd1c5;
  border-radius: 0.5rem;
  background: #e6ddd6;
  color: #5d514a;
  font: inherit;
  font-weight: 700;
}

.tooth-flow__restricted[data-phase1-mosaic] {
  position: relative;
  overflow: hidden;
  color: #f5f3ef;
  border-color: #2c2725;
  background: #171414;
  cursor: pointer;
  box-shadow: inset 0 0 1.2rem rgba(0, 0, 0, 0.9), 0 0 0.8rem rgba(77, 23, 23, 0.25);
}

.tooth-flow__restricted[data-phase1-mosaic]::before {
  position: absolute;
  inset: -20%;
  background: repeating-conic-gradient(from 12deg, #080707 0 3deg, #514746 3deg 7deg, #211c1c 7deg 11deg, #756967 11deg 13deg);
  background-size: 1.15rem 1rem;
  content: "";
  filter: contrast(1.8) blur(0.35px);
  transform: rotate(-2deg);
}

.tooth-flow__restricted[data-phase1-mosaic]::after {
  position: absolute;
  inset: 0.3rem;
  border: 1px solid rgba(143, 113, 110, 0.42);
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.08) 4px, transparent 5px 7px);
  content: "";
  pointer-events: none;
}

.tooth-flow__restricted[data-phase1-mosaic]:hover::before, .tooth-flow__restricted[data-phase1-mosaic]:focus-visible::before {
  filter: contrast(2.5) blur(0.7px);
  transform: rotate(1deg) scale(1.04);
}

.tooth-flow__restricted[data-phase1-mosaic]:disabled {
  color: #563f35;
  border-color: #a86d5c;
  background: #fff;
  cursor: default;
  letter-spacing: 0.04em;
  box-shadow: none;
}

.tooth-flow__restricted[data-phase1-mosaic]:disabled::before, .tooth-flow__restricted[data-phase1-mosaic]:disabled::after {
  display: none;
}

.phase1-record-link {
  margin-top: 1.5rem;
  text-align: center;
}

.site-alteration-overlay__message p {
  font-family: "Noto Serif JP", "Yu Mincho", YuMincho, serif;
}

@media (max-width: 959px) {
  .tooth-flow {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  .tooth-flow {
    grid-template-columns: 1fr;
    gap: 0.65rem;
  }
  .article-hero {
    text-align: left;
  }
}
.records-page {
  min-height: 100vh;
  color: #27373b;
  background: #edf1f1;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.025em;
}

.records-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1rem clamp(1.25rem, 4vw, 4rem);
  color: #e9f1ef;
  background: #30484b;
}

.records-header strong, .records-header span {
  display: block;
}

.records-header strong {
  font-size: clamp(0.95rem, 2vw, 1.25rem);
  letter-spacing: 0.08em;
}

.records-header span, .records-header small {
  color: #b8d0cc;
  font-size: 0.875rem;
}

.records-header__actions {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.records-header__actions a {
  padding: 0.45rem 0.75rem;
  color: #fff;
  border: 1px solid #7f252a;
  text-decoration: none;
}

.records-header__actions a:hover {
  background: #7f252a;
}

.records-main {
  width: min(100% - 2.5rem, 75rem);
  margin: 0 auto;
  padding: clamp(2rem, 5vw, 4rem) 0;
}

.records-denied {
  max-width: 36rem;
  margin: 5rem auto;
  padding: 2rem;
  border: 1px solid #9aaeb0;
  background: #fff;
  text-align: center;
}

.records-denied a {
  color: #315e63;
}

.records-title {
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  border-left: 0.35rem solid #48757a;
  background: #f9fbfb;
}

.records-title p {
  margin: 0;
  color: #527177;
  font-size: 0.875rem;
}

.records-title h1 {
  margin: 0.25rem 0 0.75rem;
  color: #2d4145;
  font-size: clamp(1.55rem, 3vw, 2.3rem);
}

.specimen-layout {
  display: grid;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(22rem, 1.2fr);
  gap: 1.25rem;
}

.specimen-list {
  display: grid;
  gap: 0.7rem;
}

.specimen-list button {
  display: grid;
  grid-template-columns: 4.6rem 1fr;
  align-items: center;
  gap: 0.8rem;
  width: 100%;
  padding: 0.45rem;
  color: #31464a;
  border: 1px solid #b8c8c8;
  background: #f9fbfb;
  font: inherit;
  font-size: 1rem;
  text-align: left;
  cursor: pointer;
}

.specimen-list button.is-selected {
  border-color: #477b80;
  background: #dbe9e8;
  box-shadow: inset 0.25rem 0 #477b80;
}

.specimen-list img {
  width: 4.6rem;
  height: 3.35rem;
  object-fit: cover;
  filter: saturate(0.7);
}

.specimen-detail {
  display: grid;
  grid-template-columns: minmax(12rem, 1fr) minmax(13rem, 1fr);
  gap: 1.25rem;
  min-height: 25rem;
  padding: 1.25rem;
  border: 1px solid #b8c8c8;
  background: #fff;
}

.specimen-detail > img {
  width: 100%;
  height: 100%;
  min-height: 14rem;
  object-fit: cover;
}

.specimen-detail p {
  margin: 0 0 1rem;
}

.specimen-detail dl, .earliest-record dl {
  display: grid;
  gap: 0;
  margin: 0;
}

.specimen-detail dl div, .earliest-record dl div {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid #d5dfdf;
}

.specimen-detail dt, .earliest-record dt {
  color: #527177;
}

.specimen-detail dd, .earliest-record dd {
  margin: 0;
}

.system-button, .record-action button {
  display: block;
  width: 100%;
  margin-top: 1.5rem;
  padding: 0.85rem 1rem;
  color: #f2f7f6;
  border: 0;
  background: #3d6d72;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.specimen-detail > img[data-open-life] {
  cursor: pointer;
  transition: filter 0.2s, box-shadow 0.2s;
}

.specimen-detail > img[data-open-life]:hover, .specimen-detail > img[data-open-life]:focus-visible {
  filter: saturate(0.45) brightness(0.62) contrast(1.2);
  box-shadow: 0 0 0 2px #bd2931, 0 0 1.25rem rgba(202, 34, 44, 0.45);
}

.life-record {
  margin-top: clamp(3rem, 7vw, 5rem);
  padding-top: 1.5rem;
  border-top: 2px solid #718e91;
}

.life-record > header p {
  margin: 0;
  color: #527177;
  font-size: 0.875rem;
}

.life-record h2 {
  margin: 0.25rem 0 1.25rem;
  color: #2d4145;
  font-size: clamp(1.5rem, 3vw, 2rem);
}

.life-layout {
  display: grid;
  grid-template-columns: minmax(20rem, 1.2fr) minmax(17rem, 0.8fr);
  gap: 1.25rem;
}

.record-map {
  position: relative;
  min-height: 27rem;
  overflow: hidden;
  border: 1px solid #aabfc0;
  background: #d7e0df;
}

.record-map > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.55) contrast(0.93);
}

.map-label, .map-pin-label {
  position: absolute;
  z-index: 2;
  padding: 0.2rem 0.35rem;
  color: #253b3e;
  background: rgba(248, 252, 251, 0.88);
  font-size: 0.875rem;
}

.home {
  top: 17%;
  left: 13%;
}

.school {
  top: 35%;
  left: 28%;
}

.junior {
  top: 62%;
  left: 23%;
}

.clinic {
  top: 28%;
  right: 11%;
}

.factory {
  bottom: 19%;
  right: 15%;
}

.dental {
  bottom: 9%;
  left: 42%;
}

.map-pin {
  position: absolute;
  z-index: 3;
  width: 0.7rem;
  height: 0.7rem;
  border: 2px solid #eef8f5;
  border-radius: 50%;
  background: #276e70;
  transform: translate(-50%, -50%);
  box-shadow: 0 0 0 0.2rem rgba(39, 110, 112, 0.3);
}

.map-pin-label {
  z-index: 4;
  transform: translate(0.6rem, -115%);
  color: #175356;
  font-weight: 700;
}

.record-map i {
  position: absolute;
  z-index: 2;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(20, 87, 89, 0.62);
}

.life-detail {
  padding: 1.25rem;
  border: 1px solid #b8c8c8;
  background: #fff;
}

.life-detail h3 {
  margin: 0 0 0.4rem;
  color: #3d696e;
  font-size: 0.875rem;
}

.life-detail h3:not(:first-child) {
  margin-top: 1.5rem;
}

.life-detail p {
  margin: 0;
}

.life-detail ol {
  display: grid;
  gap: 0.7rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.life-detail li {
  display: grid;
  grid-template-columns: 4.2rem 1fr;
  gap: 0.75rem;
  padding-left: 0.75rem;
  border-left: 2px solid #87a9a9;
  font-size: 0.875rem;
}

.life-detail li strong {
  color: #3e6e72;
}

.record-action {
  width: min(100%, 28rem);
  margin: 1.5rem auto;
}

.other-subjects, .resident-summary, .earliest-record {
  margin-top: 1.5rem;
  padding: 1.25rem;
  border: 1px solid #b8c8c8;
  background: #f9fbfb;
}

.other-subjects h3 {
  margin: 0 0 1rem;
  font-size: 1rem;
}

.other-subjects div {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.other-subjects button {
  padding: 0.6rem 0.8rem;
  color: #31464a;
  border: 1px solid #8eabad;
  background: #fff;
  font: inherit;
  cursor: pointer;
}

.resident-summary dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  margin: 0;
}

.resident-summary div {
  padding: 0 1rem;
  border-left: 1px solid #c5d3d2;
}

.resident-summary div:first-child {
  border: 0;
}

.resident-summary dt {
  color: #527177;
  font-size: 0.875rem;
}

.resident-summary dd {
  margin: 0.25rem 0 0;
  font-size: 1.4rem;
  font-weight: 700;
}

.earliest-record > p, .archive-detected > p {
  color: #527177;
  font-size: 0.875rem;
}

.earliest-record h2 {
  margin: 0.25rem 0 1rem;
  font-size: 1.35rem;
}

.archive-detected {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #b8c8c8;
}

.archive-detected strong {
  display: block;
  color: #2f6267;
  font-size: 1.25rem;
}

.archive-detected a {
  display: inline-block;
  margin-top: 1rem;
  color: #fff;
  background: #3d6d72;
  padding: 0.75rem 1rem;
  text-decoration: none;
}

@media (max-width: 767px) {
  .records-main {
    width: min(100% - 2rem, 75rem);
  }
  .specimen-layout, .life-layout {
    grid-template-columns: 1fr;
  }
  .specimen-detail {
    grid-template-columns: 1fr;
    min-height: 0;
  }
  .specimen-detail > img {
    height: 15rem;
  }
  .record-map {
    min-height: 22rem;
  }
  .resident-summary dl {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }
  .resident-summary div {
    padding: 0;
    border: 0;
  }
  .records-header {
    align-items: flex-start;
    flex-direction: column;
  }
}
.records-page {
  color: #e8e8e8;
  background: #070809;
}

.records-header {
  color: #fff;
  border-bottom: 1px solid #4b0f12;
  background: #0c0d0e;
}

.records-header span, .records-header small {
  color: #c44a50;
}

.records-title, .specimen-list button, .specimen-detail, .life-detail, .other-subjects, .resident-summary, .earliest-record {
  color: #e8e8e8;
  border-color: #343638;
  background: #111315;
}

.records-title {
  border-left-color: #a91f27;
}

.records-title h1, .life-record h2 {
  color: #f3f3f3;
}

.records-title p, .life-record > header p, .specimen-detail dt, .earliest-record dt, .resident-summary dt, .earliest-record > p, .archive-detected > p {
  color: #c94349;
}

.specimen-list button {
  color: #dedede;
}

.specimen-list button:hover {
  border-color: #7c2429;
}

.specimen-list button.is-selected {
  color: #fff;
  border-color: #a92a31;
  background: #211315;
  box-shadow: inset 0.25rem 0 #c22d35;
}

.specimen-list img, .specimen-detail > img {
  filter: saturate(0.55) brightness(0.72) contrast(1.1);
}

.specimen-detail dl div, .earliest-record dl div, .archive-detected {
  border-color: #353638;
}

.system-button, .record-action button, .archive-detected a {
  color: #fff;
  background: #9f2028;
}

.system-button:hover, .record-action button:hover, .archive-detected a:hover {
  background: #c02a33;
}

.life-record {
  border-color: #7d2025;
}

.record-map {
  border-color: #3c3e40;
  background: #080909;
}

.record-map > img {
  filter: grayscale(0.7) brightness(0.46) contrast(1.2);
}

.map-label, .map-pin-label {
  color: #f1f1f1;
  border: 1px solid rgba(160, 34, 41, 0.45);
  background: rgba(8, 9, 10, 0.86);
}

.map-pin {
  border-color: #fff;
  background: #b6242c;
  box-shadow: 0 0 0 0.22rem rgba(182, 36, 44, 0.3), 0 0 0.8rem rgba(225, 39, 49, 0.8);
}

.life-detail h3, .life-detail li strong, .archive-detected strong {
  color: #d4444b;
}

.life-detail li {
  border-color: #84252a;
}

.other-subjects button {
  color: #e7e7e7;
  border-color: #5b3335;
  background: #191a1b;
}

.other-subjects button:hover {
  border-color: #bf3037;
  color: #fff;
}

.resident-summary div {
  border-color: #3c3e40;
}

.record-map.has-residents > img {
  filter: grayscale(0.85) brightness(0.32) contrast(1.35);
}

.record-map.has-residents i {
  width: 4px;
  height: 4px;
  background: #e12d36;
  box-shadow: 0 0 0.3rem #ff3540, 0 0 0.65rem rgba(255, 30, 42, 0.9);
  animation: resident-location-pulse 1.8s ease-in-out infinite alternate;
}

.record-map.has-residents .map-pin, .record-map.has-residents .map-pin-label {
  color: #ff4b53;
  border-color: #b8252d;
  box-shadow: 0 0 0.5rem rgba(255, 31, 43, 0.85);
}

.records-denied {
  color: #eee;
  border-color: #4c2628;
  background: #111;
}

.records-denied a {
  color: #d4474d;
}

@keyframes resident-location-pulse {
  from {
    opacity: 0.45;
    transform: scale(0.7);
  }
  to {
    opacity: 1;
    transform: scale(1.35);
  }
}
@media (prefers-reduced-motion: reduce) {
  .record-map.has-residents i {
    animation: none;
  }
}
.record-gate {
  position: fixed;
  z-index: 9000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 1.25rem;
  background: rgba(0, 0, 0, 0.88);
}

.record-gate[hidden] {
  display: none;
}

.record-gate__panel {
  width: min(100%, 34rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  color: #eee;
  border: 1px solid #7f2026;
  background: #0d0e0f;
  box-shadow: 0 0 3rem rgba(173, 20, 30, 0.22);
  text-align: center;
}

.record-gate__panel > p:first-child {
  margin: 0;
  color: #c72c34;
  font-size: 0.875rem;
  letter-spacing: 0.12em;
}

.record-gate__panel h2 {
  margin: 0.5rem 0 1rem;
  color: #fff;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: clamp(1.5rem, 4vw, 2.25rem);
}

.record-gate__panel button {
  width: 100%;
  margin-top: 1.25rem;
  padding: 0.85rem 1rem;
  color: #fff;
  border: 1px solid #ad2930;
  background: #76191f;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.record-gate__panel button:hover {
  background: #a5222a;
}

.record-gate-is-open {
  overflow: hidden;
}

.plan-related {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid #353638;
}

.plan-related[hidden] {
  display: none;
}

.plan-related > header {
  margin-bottom: 0.8rem;
}

.plan-related > header p {
  margin: 0;
  color: #c94349;
  font-size: 0.78rem;
  letter-spacing: 0.1em;
}

.plan-related h3 {
  margin: 0.35rem 0;
  color: #eee;
  font: 600 clamp(1.15rem, 2.5vw, 1.6rem)/1.4 "Noto Serif JP", "Yu Mincho", serif;
}

.plan-related h3 span {
  font-size: 0.75em;
  font-weight: 500;
}

.plan-related > header small {
  color: #aaa;
}

.plan-sheet {
  position: relative;
  width: 100%;
  overflow: hidden;
  border: 1px solid #4b4640;
  background: #171513;
}

.plan-sheet > img {
  display: block;
  width: 100%;
  height: auto;
  filter: sepia(0.08) brightness(0.78) contrast(1.06);
}

.plan-purpose-hotspot {
  position: absolute;
  z-index: 2;
  left: 8.2%;
  bottom: 7.5%;
  width: 11%;
  min-width: 4.5rem;
  height: 5.5%;
  min-height: 2.75rem;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  transition: filter 0.2s;
}

.plan-purpose-hotspot::after {
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(0deg, transparent 0 3px, rgba(255, 255, 255, 0.035) 4px, transparent 5px);
  content: "";
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}

.plan-purpose-hotspot:hover, .plan-purpose-hotspot:focus-visible {
  filter: brightness(1.12);
}

.plan-purpose-hotspot:hover::after, .plan-purpose-hotspot:focus-visible::after {
  opacity: 1;
}

.plan-purpose-hotspot:focus-visible {
  outline: 2px solid rgba(83, 54, 35, 0.62);
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .plan-related {
    margin-right: -0.55rem;
    margin-left: -0.55rem;
  }
  .plan-related > header {
    padding: 0 0.55rem;
  }
  .plan-related h3 span {
    display: block;
  }
  .plan-purpose-hotspot {
    left: 6.5%;
    bottom: 4%;
    width: 20%;
    height: 16%;
    min-width: 4.5rem;
    min-height: 2.75rem;
  }
}
@media (prefers-reduced-motion: reduce) {
  .plan-purpose-hotspot, .plan-purpose-hotspot::after {
    transition: none;
  }
}
.truth-page {
  min-height: 100vh;
  color: #d8ddda;
  background: #080c0e;
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: max(0.9375rem, 14px);
  letter-spacing: 0.035em;
}

.truth-page h1, .truth-page h2, .truth-page h3 {
  color: #f0f1ec;
}

.truth-header {
  position: sticky;
  z-index: 20;
  top: 0;
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem clamp(1rem, 4vw, 3rem);
  color: #a7373b;
  border-bottom: 1px solid #273235;
  background: rgba(8, 12, 14, 0.95);
  font: 700 0.75rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
  backdrop-filter: blur(8px);
}

.truth-header a {
  color: #bfc8c4;
  text-decoration: none;
}

.truth-container {
  width: min(100% - clamp(2rem, 7vw, 7rem), 68rem);
  margin-inline: auto;
}

.truth-section {
  padding-block: clamp(4rem, 9vw, 8rem);
  border-bottom: 1px solid #202a2d;
}

.truth-section--muted {
  background: #0c1214;
}

.truth-intro {
  display: grid;
  align-items: center;
  min-height: 78vh;
  background: url("../../images/shiramine-map-phase.jpg") center/cover no-repeat;
}

.truth-intro .truth-container {
  padding: clamp(1.5rem, 4vw, 3rem);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.7);
}

.truth-index, .truth-heading > p, .share-section > .truth-container > p {
  margin: 0;
  color: #8e9e97;
  font: 700 0.8rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.14em;
}

.truth-intro h1 {
  margin: 1rem 0;
  font: 700 clamp(3rem, 10vw, 7.5rem)/0.93 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: -0.04em;
}

.truth-intro h1 + p {
  color: #a7373b;
  font: 700 0.8rem/1.6 ui-monospace, SFMono-Regular, Menlo, monospace;
  letter-spacing: 0.12em;
}

.truth-heading {
  margin-bottom: clamp(2rem, 5vw, 3.5rem);
}

.truth-heading h2 {
  margin: 0.65rem 0 0;
  font-size: clamp(1.75rem, 4vw, 3rem);
}

.truth-split {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
}

.truth-split--reverse figure {
  order: 2;
}

.truth-split figure {
  margin: 0;
}

.truth-split img {
  width: 100%;
  aspect-ratio: 1.35;
  object-fit: cover;
  filter: saturate(0.55) contrast(1.08) brightness(0.8);
}

.truth-split figcaption {
  margin-top: 0.5rem;
  color: #7f928a;
  font: 700 0.75rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.truth-split p + p {
  margin-top: 1rem;
}

.value-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  margin-top: 3rem;
  background: #34413e;
}

.value-compare div {
  display: grid;
  padding: 1.5rem;
  background: #11191b;
}

.value-compare span, .truth-stats span {
  color: #859991;
  font: 0.75rem/1.5 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.value-compare strong {
  color: #cbd7d0;
  font: 700 clamp(2.5rem, 7vw, 5rem)/1 ui-monospace, SFMono-Regular, Menlo, monospace;
}

.value-compare div:last-child strong {
  color: #789f8f;
}

.value-compare small {
  color: #aab4b0;
}

.truth-flow {
  display: grid;
  grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr;
  align-items: center;
  gap: 0.7rem;
  margin-top: 1px;
  padding: 1rem;
  background: #11191b;
  font: 700 0.75rem/1.4 ui-monospace, SFMono-Regular, Menlo, monospace;
  text-align: center;
}

.truth-flow i {
  color: #718c81;
  font-style: normal;
}

.observation-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(2rem, 7vw, 6rem);
}

.observation-grid ol {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.observation-grid li {
  display: grid;
  grid-template-columns: 5rem 1fr;
  gap: 1rem;
  padding: 1rem;
  border-top: 1px solid #31403d;
}

.observation-grid b {
  color: #719687;
  font-family: ui-monospace, monospace;
}

.truth-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: #34413e;
}

.truth-stats div {
  padding: clamp(1.25rem, 4vw, 2.5rem);
  background: #0d1416;
}

.truth-stats strong {
  display: block;
  margin-top: 0.5rem;
  color: #d8e0dc;
  font: 700 clamp(2rem, 6vw, 4rem)/1 ui-monospace, monospace;
}

.truth-lead {
  max-width: 54rem;
  margin: 2rem auto 0;
}

.truth-split blockquote {
  margin: 2rem 0 0;
  padding: 1.25rem;
  color: #d8dfda;
  border-left: 3px solid #758f83;
  background: #11191b;
  font-size: 1.05rem;
}

.project-flow {
  display: grid;
  gap: 0;
}

.project-flow article {
  display: grid;
  grid-template-columns: 7rem 12rem 1fr;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border: 1px solid #35413e;
  background: #0e1517;
}

.project-flow article span {
  color: #729184;
  font: 700 0.75rem/1.4 ui-monospace, monospace;
}

.project-flow article h3, .project-flow article p {
  margin: 0;
}

.project-flow > i {
  padding: 0.3rem 0 0.3rem 3rem;
  color: #6e877c;
  font-style: normal;
}

.project-truth {
  margin-top: clamp(3rem, 7vw, 5rem);
  padding: clamp(1.5rem, 5vw, 3rem);
  border: 1px solid #687d74;
  background: #141c1e;
  text-align: center;
}

.project-truth strong {
  display: block;
  color: #f0f1ec;
  font-size: clamp(1.25rem, 3vw, 2rem);
}

.project-section aside {
  margin-top: 2rem;
  padding: 1.5rem;
  border-left: 3px solid #6e897d;
  background: #0c1214;
}

.hidden-reason {
  display: grid;
  grid-template-columns: 1fr 0.8fr 1fr;
  gap: 2rem;
  align-items: start;
}

.hidden-reason ul {
  margin: 0;
  padding: 1.25rem 1.25rem 1.25rem 2.5rem;
  border: 1px solid #5d282b;
  background: #151012;
}

.ending-section {
  min-height: 90vh;
}

.status-list {
  display: grid;
  gap: 0.75rem;
}

.status-list div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem;
  border: 1px solid #303b39;
  background: #0d1416;
  opacity: 0.15;
  transform: translateY(0.5rem);
}

.status-list b {
  color: #769687;
  font: 700 0.8rem/1.5 ui-monospace, monospace;
}

.ending-section.is-running .status-list div {
  animation: status-reveal 0.55s ease forwards;
}

.ending-section.is-running .status-list div:nth-child(2) {
  animation-delay: 0.55s;
}

.ending-section.is-running .status-list div:nth-child(3) {
  animation-delay: 1.1s;
}

.ending-section.is-running .status-list div:nth-child(4) {
  animation-delay: 1.65s;
}

.ending-section.is-running .status-list div:nth-child(5) {
  animation-delay: 2.2s;
}

.ending-message {
  margin-top: 3rem;
  color: #dce2de;
  font-size: clamp(1.25rem, 3vw, 2rem);
  text-align: center;
  animation: quiet-reveal 1s ease both;
}

.share-section {
  text-align: center;
}

.share-section h2 {
  margin: 0.7rem 0 2rem;
}

.share-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
}

.truth-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.25rem;
  padding: 0.75rem 1.4rem;
  color: #eef1ef;
  border: 1px solid #718c80;
  background: #263d36;
  font-weight: 700;
  text-decoration: none;
}

.truth-button--secondary {
  color: #c1cbc6;
  background: transparent;
}

.truth-footer {
  padding: 2rem;
  color: #67766f;
  background: #060809;
  font: 0.75rem/1.5 ui-monospace, monospace;
  text-align: center;
}

.hero__ending-message {
  padding-top: 0.9rem;
  color: #fff8ef;
  font-weight: 700;
}

@keyframes status-reveal {
  to {
    opacity: 1;
    transform: none;
  }
}
@keyframes quiet-reveal {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
@media (max-width: 767px) {
  .truth-split, .observation-grid, .hidden-reason {
    grid-template-columns: 1fr;
  }
  .truth-split--reverse figure {
    order: 0;
  }
  .value-compare, .truth-stats {
    grid-template-columns: 1fr;
  }
  .truth-flow {
    grid-template-columns: 1fr;
  }
  .truth-flow i {
    transform: rotate(90deg);
  }
  .project-flow article {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }
  .status-list div {
    align-items: flex-start;
    flex-direction: column;
  }
  .truth-header {
    font-size: 0.6875rem;
  }
  .truth-intro {
    min-height: 68vh;
  }
}
@media (prefers-reduced-motion: reduce) {
  .ending-section.is-running .status-list div, .ending-message {
    animation: none;
    opacity: 1;
    transform: none;
  }
}
.truth-header, .truth-index, .truth-heading > p, .share-section > .truth-container > p, .truth-intro h1 + p, .truth-split figcaption, .value-compare span, .truth-stats span, .truth-flow, .project-flow article span, .status-list b, .truth-footer {
  font-size: 0.875rem;
}

.skip-link {
  position: fixed;
  z-index: 100;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.7rem 1rem;
  color: #fff;
  background: #563f35;
  transform: translateY(-200%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}
