:root {
  color-scheme: light;
  --color-canvas: #fffefb;
  --color-surface: #faf8f3;
  --color-surface-strong: #f3ede2;
  --color-ink: #171714;
  --color-ink-soft: #4f4d47;
  --color-muted: #6b675f;
  --color-line: #e5dfd4;
  --color-line-dark: #34332f;
  --color-accent: #e9a62a;
  --color-accent-hover: #d89112;
  --color-accent-soft: #fff3d4;
  --color-accent-ink: #704400;
  --color-focus: #8a5500;
  --color-error: #a7251b;
  --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Sans", "Yu Gothic", Meiryo, sans-serif;
  --font-serif: ui-serif, Georgia, "Times New Roman", serif;
  --size-small: 0.8125rem;
  --size-body: clamp(1rem, 0.96rem + 0.18vw, 1.1rem);
  --size-h3: clamp(1.2rem, 1.8vw, 1.5rem);
  --size-h2: clamp(1.85rem, 3.6vw, 3.2rem);
  --size-hero: clamp(2.7rem, 5.8vw, 4.7rem);
  --section-space: clamp(4.75rem, 9vw, 8rem);
  --gutter: clamp(1.25rem, 4vw, 4rem);
  --shell: 82rem;
  --reading: 48rem;
  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;
  --shadow-feature: 0 1.75rem 5rem rgba(23, 23, 20, 0.07);
  --transition-fast: 160ms ease;
  --transition-base: 420ms cubic-bezier(0.22, 1, 0.36, 1);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 6rem;
}

body {
  margin: 0;
  overflow-x: clip;
  color: var(--color-ink);
  background: var(--color-canvas);
  font-family: var(--font-sans);
  font-size: var(--size-body);
  font-weight: 400;
  line-height: 1.78;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body.menu-open {
  overflow: hidden;
}

::selection {
  color: var(--color-ink);
  background: var(--color-accent-soft);
}

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

figure,
blockquote {
  margin: 0;
}

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

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

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

a:hover {
  text-decoration-thickness: 0.12em;
}

:focus-visible {
  outline: 3px solid #fff;
  outline-offset: 3px;
  box-shadow: 0 0 0 6px var(--color-focus);
}

:where(h1, h2, h3, p, li, dd, dt, a) {
  max-width: 100%;
  overflow-wrap: break-word;
}

:where(h1, h2, h3) {
  margin: 0;
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -0.035em;
  text-wrap: balance;
}

:lang(en) {
  hyphens: auto;
}

p {
  margin: 0;
  text-wrap: pretty;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

.container {
  width: 100%;
  max-width: var(--shell);
  margin-inline: auto;
  padding-inline: var(--gutter);
}

.container--reading {
  max-width: calc(var(--reading) + (var(--gutter) * 2));
}

.section {
  padding-block: var(--section-space);
}

.screen-reader-text {
  position: absolute !important;
  width: 1px;
  height: 1px;
  margin: -1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  white-space: nowrap;
  border: 0;
}

.screen-reader-text:focus {
  top: 0.75rem;
  left: 0.75rem;
  z-index: 10000;
  width: auto;
  height: auto;
  padding: 0.75rem 1rem;
  clip: auto !important;
  clip-path: none;
  color: var(--color-ink);
  background: var(--color-accent);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  height: 4.5rem;
  border-bottom: 1px solid rgba(229, 223, 212, 0.8);
  background: rgba(255, 254, 251, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.admin-bar .site-header {
  top: 32px;
}

.tpl-theme .site-header {
  border-bottom-color: rgba(255, 255, 255, 0.11);
  background: rgba(21, 21, 19, 0.94);
}

.tpl-theme .wordmark,
.tpl-theme .menu-toggle,
.tpl-theme .language-switcher a[aria-current="page"] {
  color: #fff;
}

.tpl-theme .wordmark__mark {
  border-color: #f7f4ec;
}

.tpl-theme .wordmark__mark::before,
.tpl-theme .wordmark__mark::after {
  background: #aaa79f;
}

.tpl-theme .primary-menu a,
.tpl-theme .language-switcher {
  color: #c8c4bb;
}

.tpl-theme .primary-menu a:hover,
.tpl-theme .language-switcher a:hover {
  color: #fff;
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  gap: 1.5rem;
}

.wordmark {
  display: inline-flex;
  min-width: 0;
  align-items: center;
  gap: 0.75rem;
  color: var(--color-ink);
  text-decoration: none;
}

.wordmark__mark {
  position: relative;
  flex: 0 0 auto;
  width: 1.75rem;
  aspect-ratio: 1;
  border: 1px solid var(--color-ink);
  border-radius: 50%;
}

.wordmark__mark::before,
.wordmark__mark::after {
  position: absolute;
  content: "";
  background: var(--color-line-dark);
}

.wordmark__mark::before {
  top: 50%;
  left: 18%;
  width: 64%;
  height: 1px;
}

.wordmark__mark::after {
  top: 18%;
  left: 50%;
  width: 1px;
  height: 64%;
}

.wordmark__mark span {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  width: 0.4rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-accent);
  transform: translate(-50%, -50%);
}

.wordmark__text {
  font-size: 0.98rem;
  font-weight: 680;
  letter-spacing: -0.025em;
  line-height: 1.1;
  white-space: nowrap;
}

.header-panel {
  display: flex;
  align-items: center;
  gap: clamp(1.25rem, 2.6vw, 2.5rem);
}

.primary-menu,
.footer-menu {
  display: flex;
  align-items: center;
  gap: clamp(1rem, 2vw, 1.8rem);
  list-style: none;
}

.primary-menu a {
  position: relative;
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: var(--color-ink-soft);
  font-size: 0.82rem;
  font-weight: 620;
  letter-spacing: 0.02em;
  text-decoration: none;
}

.primary-menu a::after {
  position: absolute;
  right: 0;
  bottom: 0.34rem;
  left: 0;
  height: 2px;
  content: "";
  background: var(--color-accent);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform var(--transition-fast);
}

.primary-menu a:hover::after,
.primary-menu .current-menu-item a::after,
.primary-menu .current_page_item a::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  color: var(--color-muted);
  font-size: 0.75rem;
  font-weight: 680;
  letter-spacing: 0.08em;
}

.language-switcher a {
  display: grid;
  min-width: 2rem;
  min-height: 2.75rem;
  place-items: center;
  text-decoration: none;
}

.language-switcher a[aria-current="page"] {
  color: var(--color-ink);
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
}

.menu-toggle {
  display: none;
  width: 2.75rem;
  height: 2.75rem;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 50%;
  color: var(--color-ink);
  background: transparent;
  cursor: pointer;
}

.menu-toggle__lines {
  display: grid;
  width: 1.25rem;
  gap: 0.36rem;
}

.menu-toggle__lines span {
  display: block;
  width: 100%;
  height: 1.5px;
  background: currentColor;
  transition: transform var(--transition-fast);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:first-child {
  transform: translateY(0.23rem) rotate(45deg);
}

.menu-toggle[aria-expanded="true"] .menu-toggle__lines span:last-child {
  transform: translateY(-0.23rem) rotate(-45deg);
}

.eyebrow,
.section-index,
.status-label {
  color: var(--color-accent-ink);
  font-size: 0.72rem;
  font-weight: 720;
  letter-spacing: 0.14em;
  line-height: 1.4;
  text-transform: uppercase;
}

.hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: calc(100svh - 4.5rem);
  align-items: center;
  overflow: hidden;
  padding-block: clamp(2rem, 3.25vw, 3.25rem) clamp(1.25rem, 2vw, 2rem);
  color: #f7f4ec;
  background-color: #151513;
}

.hero__grid {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: center;
  gap: 0;
}

.hero__content {
  position: relative;
  z-index: 2;
  min-width: 0;
  grid-column: 1 / span 7;
  grid-row: 1;
  padding-right: clamp(1rem, 4vw, 4rem);
}

.hero__topline {
  display: flex;
  max-width: 31rem;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: clamp(1.25rem, 1.8vw, 1.75rem);
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.hero .eyebrow {
  color: #e9b551;
}

.hero h1 {
  max-width: 13ch;
  color: #fff;
  font-size: clamp(3rem, 5.4vw, 5rem);
  font-weight: 600;
  line-height: 1.04;
  letter-spacing: -0.055em;
}

.site-language-ja .hero h1 {
  max-width: 13.5ch;
  font-size: clamp(2.75rem, 4.7vw, 4.35rem);
  font-weight: 590;
  line-height: 1.12;
  letter-spacing: -0.05em;
}

.hero-title__line {
  display: block;
  width: max-content;
  max-width: 100%;
}

.site-language-en .hero h1 {
  max-width: none;
  font-size: clamp(1.9rem, 4vw, 3.65rem);
  font-weight: 600;
  line-height: 1.09;
  letter-spacing: -0.048em;
}

.site-language-en .hero-title__line {
  max-width: none;
  white-space: nowrap;
}

.site-language-en .hero .accent-underline::after {
  bottom: -0.08em;
  height: 0.055em;
  border-radius: 0;
  opacity: 1;
}

.hero-title__line--offset {
  padding-left: clamp(0.45rem, 2.2vw, 2.25rem);
}

.accent-underline {
  position: relative;
  display: inline;
  z-index: 0;
}

.accent-underline::after {
  position: absolute;
  right: 0.02em;
  bottom: 0.06em;
  left: 0.02em;
  z-index: -1;
  height: 0.16em;
  border-radius: var(--radius-pill);
  content: "";
  background: var(--color-accent);
  opacity: 0.9;
}

.hero__subline {
  margin-top: 0.9rem;
  color: #aaa79f;
  font-family: var(--font-serif);
  font-size: clamp(1.15rem, 1.9vw, 1.55rem);
  font-style: italic;
}

.hero__lead {
  max-width: 29rem;
  margin-top: clamp(1.15rem, 2vw, 1.65rem);
  color: #c8c4bb;
  font-size: clamp(0.96rem, 1.2vw, 1.08rem);
}

.hero .button--secondary {
  border-color: rgba(255, 255, 255, 0.24);
  color: #f7f4ec;
}

.hero .button--secondary:hover {
  border-color: #f7f4ec;
  color: #151513;
  background: #f7f4ec;
}

.hero__meta {
  display: flex;
  max-width: 31rem;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 0.75rem 2rem;
  margin-top: clamp(1.25rem, 2vw, 2rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #77746d;
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.button-row,
.store-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

.hero .button-row {
  margin-top: 1.5rem;
}

.store-notice {
  max-width: 42rem;
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: 0.68rem;
  line-height: 1.6;
}

.button {
  display: inline-flex;
  min-height: 3rem;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  font-size: 0.88rem;
  font-weight: 680;
  line-height: 1.2;
  text-decoration: none;
  transition: color var(--transition-fast), background var(--transition-fast), border-color var(--transition-fast), transform var(--transition-fast);
}

.button:hover {
  transform: translateY(-2px);
}

.button--primary {
  color: var(--color-ink);
  background: var(--color-accent);
}

.button--primary:hover {
  background: var(--color-accent-hover);
}

.button--secondary {
  border-color: var(--color-line);
  color: var(--color-ink);
  background: transparent;
}

.button--secondary:hover {
  border-color: var(--color-ink);
  background: #fff;
}

.button--dark {
  color: #fff;
  background: var(--color-ink);
}

.button--dark:hover {
  background: #34332f;
}

.icon-arrow {
  flex: 0 0 auto;
  width: 1.15rem;
  transition: transform var(--transition-fast);
}

a:hover .icon-arrow {
  transform: translateX(0.2rem);
}

.hero-system {
  position: relative;
  z-index: 1;
  width: min(39vw, 29rem);
  max-width: 100%;
  grid-column: 8 / -1;
  grid-row: 1;
  justify-self: end;
  border-inline: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-system__rail,
.hero-system__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  min-height: 2.65rem;
  padding-inline: 0.9rem;
  color: #77746d;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-system__rail {
  border-block: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-system__footer {
  border-bottom: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-system__field {
  position: relative;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background-color: #151513;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.075) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.075) 1px, transparent 1px);
  background-size: 25% 25%;
}

.hero-system__field::after {
  position: absolute;
  top: 50%;
  left: 8%;
  width: 84%;
  height: 1px;
  content: "";
  background: rgba(233, 181, 81, 0.7);
  transform: rotate(-34deg);
  transform-origin: center;
}

.hero-system__axis {
  position: absolute;
  z-index: 1;
  background: rgba(255, 255, 255, 0.16);
}

.hero-system__axis--x {
  top: 62%;
  right: 0;
  left: 0;
  height: 1px;
}

.hero-system__axis--y {
  top: 0;
  bottom: 0;
  left: 58%;
  width: 1px;
}

.hero-system__orbit {
  position: absolute;
  top: 31%;
  left: 36%;
  z-index: 2;
  width: 44%;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 50%;
}

.hero-system__point {
  position: absolute;
  top: calc(62% - 0.31rem);
  left: calc(58% - 0.31rem);
  z-index: 4;
  width: 0.62rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-accent);
  box-shadow: 0 0 0 0.45rem rgba(233, 181, 81, 0.1);
}

.hero-system__label,
.hero-system__note {
  position: absolute;
  z-index: 3;
  color: #85827b;
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.hero-system__label--technology {
  top: 1rem;
  left: 0.85rem;
}

.hero-system__label--language {
  right: 0.85rem;
  bottom: 0.8rem;
  writing-mode: vertical-rl;
}

.hero-system__monogram {
  position: absolute;
  top: 43%;
  left: 50%;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: clamp(0.35rem, 1vw, 0.8rem);
  color: #f7f4ec;
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

.hero-system__monogram b {
  font-family: var(--font-serif);
  font-size: clamp(4.2rem, 8vw, 7.2rem);
  font-weight: 400;
  line-height: 0.85;
}

.hero-system__monogram i {
  color: var(--color-accent);
  font-family: var(--font-sans);
  font-size: clamp(1rem, 1.8vw, 1.45rem);
  font-style: normal;
  font-weight: 500;
}

.hero-system__note {
  bottom: 0.85rem;
  left: 0.85rem;
  max-width: 11rem;
  line-height: 1.7;
}

.hero__footer-line {
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  margin-top: clamp(1rem, 1.6vw, 1.5rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: #66635d;
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.introduction {
  border-block: 1px solid var(--color-line);
}

.introduction__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.12fr) minmax(20rem, 0.88fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.introduction-visual {
  position: relative;
  min-width: 0;
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border: 1px solid var(--color-line);
  background: var(--color-surface);
}

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

.introduction-visual figcaption {
  position: absolute;
  right: 1rem;
  bottom: 1rem;
  padding: 0.48rem 0.7rem;
  color: #f7f4ec;
  background: rgba(23, 23, 20, 0.88);
  font-size: 0.56rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.introduction__copy {
  min-width: 0;
  max-width: 34rem;
  container-type: inline-size;
}

.introduction__copy h2,
.section-heading h2,
.company-profile h2 {
  margin-top: 1rem;
  font-size: var(--size-h2);
}

.site-language-ja .introduction__copy h2,
.site-language-ja .news-preview .section-heading h2,
.site-language-ja .contact-cta--home h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.6rem);
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.introduction-title__line {
  display: block;
  white-space: normal;
}

.introduction__copy .prose--lead {
  margin-top: clamp(1.5rem, 3vw, 2.25rem);
}

.introduction__link {
  margin-top: 2rem;
}

.prose {
  color: var(--color-ink-soft);
}

.prose--lead {
  align-self: end;
  font-size: clamp(1.05rem, 1.65vw, 1.3rem);
  line-height: 1.9;
}

.prose > * + * {
  margin-top: 1.4em;
}

.prose :where(h2, h3, h4) {
  margin-top: 1.7em;
  color: var(--color-ink);
}

.prose h2 {
  font-size: clamp(1.65rem, 3vw, 2.35rem);
}

.prose h3 {
  font-size: var(--size-h3);
}

.prose :where(ul, ol) {
  padding-left: 1.4em;
}

.prose a,
.policy-section a,
.form-privacy-note a {
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
}

.products-section {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  color: #f7f4ec;
  background: #151513;
}

.products-section::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  content: "";
  background:
    linear-gradient(90deg, transparent 49.93%, rgba(255, 255, 255, 0.05) 50%, transparent 50.07%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, 100% 9rem;
}

.products-section .section-index,
.products-section .status-label {
  color: #e9b551;
}

.products-section .section-heading h2,
.products-section .coming-soon h3,
.products-section .product-card h3 {
  color: #fff;
}

.products-section .section-heading > p:last-child,
.products-section .coming-soon__copy > p:last-child,
.products-section .product-card h3 + p {
  color: #aaa79f;
}

.section-heading {
  max-width: 50rem;
  margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.section-heading > p:last-child {
  max-width: 34rem;
  margin-top: 1rem;
  color: var(--color-muted);
}

.section-heading--spread,
.section-heading--inline {
  display: flex;
  max-width: none;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
}

.section-heading--spread > p:last-child {
  margin: 0 0 0.4rem;
}

.coming-soon {
  position: relative;
  display: grid;
  min-height: 28rem;
  grid-template-columns: minmax(0, 1.2fr) minmax(18rem, 0.8fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 5rem);
  padding: clamp(2rem, 6vw, 5rem);
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-lg);
  background: var(--color-canvas);
  box-shadow: var(--shadow-feature);
}

.coming-soon__copy {
  position: relative;
  z-index: 2;
  max-width: 38rem;
}

.coming-soon h2,
.coming-soon h3 {
  margin-top: 1.4rem;
  font-size: clamp(2rem, 4vw, 3.35rem);
}

.coming-soon__copy > p:last-child {
  max-width: 34rem;
  margin-top: 1.4rem;
  color: var(--color-muted);
}

.coming-soon__visual {
  position: relative;
  width: min(100%, 19rem);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid var(--color-line);
  border-radius: 50%;
}

.coming-soon__visual::before,
.coming-soon__visual::after {
  position: absolute;
  content: "";
}

.coming-soon__visual::before {
  inset: 18%;
  border: 1px solid var(--color-ink);
  transform: rotate(45deg);
}

.coming-soon__visual::after {
  inset: 38%;
  border-radius: 50%;
  background: var(--color-accent);
}

.coming-soon__visual span {
  position: absolute;
  z-index: 2;
  width: 0.6rem;
  aspect-ratio: 1;
  border-radius: 50%;
  background: var(--color-canvas);
  box-shadow: 0 0 0 1px var(--color-line);
}

.coming-soon__visual span:nth-child(1) {
  top: 8%;
  left: 48%;
}

.coming-soon__visual span:nth-child(2) {
  right: 9%;
  bottom: 27%;
}

.coming-soon__visual span:nth-child(3) {
  bottom: 17%;
  left: 15%;
}

.products-section .coming-soon {
  min-height: 22rem;
  padding: clamp(2.5rem, 5vw, 4rem) 0;
  border: 0;
  border-block: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.products-section .coming-soon h3 {
  font-size: clamp(1.9rem, 3.3vw, 2.8rem);
}

.site-language-ja .products-section .coming-soon h3 {
  font-size: clamp(1.65rem, 2.8vw, 2.45rem);
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.coming-soon__keep {
  white-space: nowrap;
}

.products-section .coming-soon__visual {
  border-color: rgba(255, 255, 255, 0.2);
  border-radius: 0;
  transform: rotate(45deg);
}

.products-section .coming-soon__visual::before {
  border-color: #aaa79f;
  border-radius: 50%;
}

.products-section .coming-soon__visual::after {
  box-shadow: 0 0 0 1rem rgba(233, 166, 42, 0.08);
}

.products-section .coming-soon__visual span {
  background: #151513;
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.products-section .product-card {
  border-color: rgba(255, 255, 255, 0.16);
  border-radius: 0;
  background: rgba(255, 255, 255, 0.025);
}

.products-section .product-card:hover,
.products-section .product-card:focus-within {
  border-color: rgba(233, 166, 42, 0.75);
  box-shadow: none;
}

.products-section .product-card__media {
  background: #22221f;
}

.products-section .product-card__placeholder {
  border-color: #aaa79f;
}

.products-section .product-card__meta {
  color: #e9b551;
}

.products-section .product-card__action,
.products-section .section-action .text-link {
  color: #f7f4ec;
}

.section-action {
  margin-top: 2rem;
  text-align: right;
}

.text-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  gap: 0.55rem;
  color: var(--color-ink);
  font-size: 0.88rem;
  font-weight: 680;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
}

.text-link--back {
  flex-direction: row;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2.5vw, 2rem);
}

.product-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: var(--color-canvas);
  transition: border-color var(--transition-fast), transform var(--transition-base), box-shadow var(--transition-base);
}

.product-card:hover {
  border-color: #c9c0b2;
  box-shadow: 0 1.1rem 2.5rem rgba(23, 23, 20, 0.07);
  transform: translateY(-0.3rem);
}

.product-card:focus-within {
  border-color: var(--color-ink);
  box-shadow: 0 1.1rem 2.5rem rgba(23, 23, 20, 0.07);
  transform: translateY(-0.2rem);
}

.product-card__link:focus-visible {
  outline: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 3px #fff, inset 0 0 0 6px var(--color-focus);
}

.product-card__link {
  display: block;
  height: 100%;
  text-decoration: none;
}

.product-card__media {
  display: grid;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  place-items: center;
  background: var(--color-surface-strong);
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card__media img {
  transform: scale(1.025);
}

.product-card__placeholder {
  position: relative;
  display: block;
  width: 34%;
  aspect-ratio: 1;
  border: 1px solid var(--color-ink-soft);
  border-radius: 24%;
  transform: rotate(45deg);
}

.product-card__placeholder span {
  position: absolute;
  inset: 37%;
  border-radius: 50%;
  background: var(--color-accent);
}

.product-card__placeholder--large {
  width: 36%;
}

.product-card__content {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.product-card__meta {
  margin-bottom: 0.6rem;
  color: var(--color-accent-ink);
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.product-card h3 {
  font-size: var(--size-h3);
}

.product-card h3 + p {
  margin-top: 0.7rem;
  color: var(--color-muted);
}

.product-card__action {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1.35rem;
  font-size: 0.82rem;
  font-weight: 680;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
  text-underline-offset: 0.22em;
}

.services-preview {
  background: var(--color-canvas);
}

.services-preview__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
  align-items: end;
  gap: clamp(2rem, 7vw, 7rem);
  margin-bottom: clamp(2rem, 4vw, 3.5rem);
}

.services-preview__intro .section-heading {
  margin-bottom: 0;
}

.services-preview__intro .section-heading h2 {
  color: var(--color-ink-soft);
  font-weight: 550;
}

.services-preview__image {
  height: clamp(13rem, 24vw, 21rem);
  margin: 0;
  overflow: hidden;
  background: #292824;
}

.services-preview__image img,
.mission-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.service-grid {
  border-top: 1px solid var(--color-accent);
}

.service-card {
  display: grid;
  min-width: 0;
  grid-template-columns: minmax(15rem, 0.8fr) minmax(0, 1.2fr);
  align-items: start;
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.75rem, 3vw, 2.5rem) 1rem;
  border-bottom: 1px solid var(--color-line);
  transition: background var(--transition-fast), padding-inline var(--transition-fast);
}

.service-card:hover {
  padding-inline: 1.5rem 0.5rem;
  background: var(--color-surface);
}

.service-card h3 {
  min-height: 0;
  margin-top: 0;
  color: var(--color-ink-soft);
  font-size: clamp(1.25rem, 2vw, 1.65rem);
  font-weight: 600;
}

.service-name-ja {
  display: block;
  margin-top: 0.65rem;
  color: var(--color-muted);
  font-size: 0.78rem;
  font-weight: 550;
  letter-spacing: 0.04em;
  line-height: 1.5;
}

.service-card > p:last-child {
  max-width: 40rem;
  margin-top: 0;
  color: var(--color-ink-soft);
  font-size: var(--size-body);
  justify-self: start;
}

.philosophy-preview {
  position: relative;
  overflow: hidden;
  border-block: 1px solid var(--color-line);
  color: var(--color-ink);
  background: var(--color-surface-strong);
}

.philosophy-preview::after {
  position: absolute;
  top: 50%;
  right: clamp(-8rem, -5vw, -3rem);
  width: clamp(14rem, 28vw, 25rem);
  aspect-ratio: 1;
  border: 1px solid rgba(112, 68, 0, 0.12);
  border-radius: 50%;
  content: "";
  transform: translateY(-50%);
  pointer-events: none;
}

.philosophy-preview .section-index {
  color: var(--color-accent-ink);
}

.philosophy-preview__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(19rem, 1.05fr);
  align-items: stretch;
  gap: clamp(3rem, 8vw, 8rem);
}

.philosophy-preview h2 {
  max-width: 15ch;
  margin-top: 1.2rem;
  font-family: var(--font-serif);
  font-size: clamp(2.15rem, 4.2vw, 3.8rem);
  font-weight: 400;
  letter-spacing: -0.045em;
  line-height: 1.05;
}

.translation {
  margin-top: 1rem;
  color: var(--color-muted);
  font-size: 0.96rem;
}

.philosophy-preview .translation {
  color: var(--color-muted);
}

.mission-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(1.5rem, 4vw, 3rem) 0 clamp(1.5rem, 4vw, 3rem) clamp(2rem, 5vw, 5rem);
  border: 0;
  border-left: 1px solid rgba(112, 68, 0, 0.28);
  border-radius: 0;
  background: transparent;
}

.mission-card__image {
  width: 100%;
  height: clamp(10rem, 16vw, 15rem);
  margin: 0 0 clamp(1.5rem, 3vw, 2.5rem);
  overflow: hidden;
  background: #292824;
}

.mission-card__label {
  color: var(--color-accent-ink);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.mission-card > p:nth-of-type(2) {
  margin-top: 1.3rem;
  font-family: var(--font-serif);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  line-height: 1.45;
}

.mission-card .text-link {
  margin-top: 1.5rem;
  color: var(--color-ink);
}

.news-list {
  border-top: 1px solid var(--color-accent);
}

.news-row {
  position: relative;
  display: grid;
  min-width: 0;
  grid-template-columns: 8rem minmax(0, 1fr) 2.75rem;
  align-items: center;
  gap: clamp(1rem, 3vw, 2.5rem);
  min-height: 6rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--color-line);
}

.news-row__meta {
  color: var(--color-muted);
  font-size: 0.8rem;
  letter-spacing: 0.04em;
}

.news-row h2,
.news-row h3 {
  min-width: 0;
  font-size: clamp(1rem, 1.5vw, 1.2rem);
  letter-spacing: -0.015em;
}

.news-row h2 a,
.news-row h3 a {
  text-decoration: none;
}

.news-row:hover h2 a,
.news-row:hover h3 a {
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
  text-decoration-thickness: 2px;
}

.news-row__arrow {
  display: grid;
  width: 2.75rem;
  aspect-ratio: 1;
  place-items: center;
  border: 1px solid var(--color-line);
  border-radius: 0;
  pointer-events: none;
}

.empty-state {
  padding: 2rem 0;
  color: var(--color-muted);
}

.section-action--mobile {
  display: none;
}

.contact-cta {
  position: relative;
  padding-block: clamp(3rem, 6vw, 5rem);
  overflow: hidden;
  border-top: 1px solid var(--color-line);
  background: var(--color-surface-strong);
}

.contact-cta::after {
  position: absolute;
  top: 0;
  right: clamp(1.15rem, 8vw, 8rem);
  width: clamp(4rem, 8vw, 7rem);
  height: 0.25rem;
  content: "";
  background: var(--color-accent);
}

.contact-cta__inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 2rem;
  padding: clamp(2rem, 4vw, 3.25rem) 0;
  border: 0;
  border-block: 1px solid rgba(23, 23, 20, 0.24);
  border-radius: 0;
}

.contact-cta .section-index {
  color: var(--color-accent-ink);
}

.contact-cta h2,
.news-preview .section-heading h2,
.product-archive .section-heading h2,
.product-archive .coming-soon h3 {
  margin-top: 0.8rem;
  font-size: clamp(1.85rem, 3.5vw, 3rem);
}

.contact-cta h2 + p {
  max-width: 43rem;
  margin-top: 1rem;
  color: var(--color-ink-soft);
}

.services-contact .contact-cta {
  border-top: 0;
  color: var(--color-ink);
  background: #fff;
}

.services-contact .contact-cta__inner {
  border-block-color: rgba(23, 23, 20, 0.24);
}

.services-contact .contact-cta .section-index {
  color: var(--color-accent-ink);
}

.services-contact .contact-cta h2 {
  color: var(--color-ink);
}

.services-contact .contact-cta h2 + p {
  color: var(--color-ink-soft);
}

.services-contact .contact-cta .button--dark {
  color: var(--color-ink);
  background: var(--color-accent);
}

.services-contact .contact-cta .button--dark:hover {
  background: var(--color-accent-hover);
}

.site-footer {
  padding-block: clamp(3.5rem, 7vw, 6rem) 2rem;
  color: #f7f4ec;
  background: var(--color-ink);
}

.site-footer__top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 3rem;
  padding-bottom: clamp(3rem, 6vw, 5rem);
}

.wordmark--footer {
  color: #fff;
}

.wordmark--footer .wordmark__mark {
  border-color: #fff;
}

.wordmark--footer .wordmark__mark::before,
.wordmark--footer .wordmark__mark::after {
  background: #bcb8af;
}

.site-footer__statement {
  margin: 1.25rem 0 0 2.5rem;
  color: #aaa79f;
  font-family: var(--font-serif);
  font-style: italic;
}

.footer-navigation {
  display: flex;
  max-width: 34rem;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: flex-end;
  gap: 1rem 1.75rem;
}

.footer-menu {
  flex-wrap: wrap;
  justify-content: flex-end;
}

.footer-menu a,
.footer-privacy-link {
  display: inline-flex;
  min-height: 2.75rem;
  align-items: center;
  color: #d7d3ca;
  font-size: 0.82rem;
  text-decoration: none;
}

.footer-menu a:hover,
.footer-privacy-link:hover {
  color: #fff;
  text-decoration: underline;
  text-decoration-color: var(--color-accent);
}

.site-footer__bottom {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 2rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-line-dark);
  color: #aaa79f;
  font-size: 0.75rem;
}

.site-footer address {
  max-width: 34rem;
  font-style: normal;
}

.page-hero {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(18rem, 32vw, 24rem);
  align-items: end;
  padding-block: clamp(2.5rem, 4vw, 4rem) clamp(1.5rem, 2.5vw, 2.5rem);
  overflow: hidden;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
  color: #f7f4ec;
  background: #151513;
}

.page-hero::before,
.article-header--news::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  content: "";
  background:
    radial-gradient(circle at 78% 38%, rgba(233, 166, 42, 0.13), transparent 19%),
    linear-gradient(90deg, transparent 49.93%, rgba(255, 255, 255, 0.055) 50%, transparent 50.07%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: auto, auto, 100% 7rem;
}

.page-hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  align-items: end;
  gap: 0;
}

.page-hero__grid > div {
  grid-column: 1 / span 6;
}

.page-hero__grid::after,
.article-header__inner::after {
  grid-column: 1 / -1;
  margin-top: clamp(2.5rem, 5vw, 4rem);
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  color: #77746d;
  content: "TINA’S PROGRAMMING LAB / NAGOYA, JAPAN";
  font-size: 0.58rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.page-hero h1,
.page-header h1,
.article-header h1,
.error-page h1 {
  margin-top: 1rem;
  font-size: clamp(2.55rem, 5.2vw, 4.25rem);
  line-height: 1;
  letter-spacing: -0.06em;
}

.page-hero h1 {
  color: #fff;
}

.page-hero .eyebrow {
  color: #e9b551;
}

.page-hero__lead {
  grid-column: 8 / -1;
  max-width: 35rem;
  padding: 1rem 0 0;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
  color: #c8c4bb;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
}

.page-hero--compact {
  min-height: clamp(17rem, 28vw, 22rem);
}

.product-archive {
  min-height: 30rem;
}

.coming-soon--archive {
  margin-top: 0.5rem;
}

.product-archive .coming-soon h3 {
  text-wrap: wrap;
}

.service-detail-list {
  border-top: 1px solid rgba(255, 255, 255, 0.22);
}

.services-detail {
  color: #f7f4ec;
  background: #1b1b19;
}

.service-detail {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
  padding-block: clamp(3rem, 6vw, 5.5rem);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.service-detail:nth-child(even) .service-detail__copy {
  order: 2;
}

.service-detail:nth-child(even) .service-detail__image {
  order: 1;
}

.service-detail__copy {
  max-width: 38rem;
}

.service-detail__title h2 {
  margin-top: 0.35rem;
  color: #fff;
  font-size: clamp(2rem, 3.3vw, 3.1rem);
  line-height: 1.12;
  letter-spacing: -0.045em;
}

.service-detail .service-name-ja {
  color: #aaa79f;
}

.service-detail .prose {
  max-width: 34rem;
  padding-top: clamp(1.5rem, 2.5vw, 2.25rem);
  color: #cec9bf;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  line-height: 1.85;
}

.service-detail__note {
  padding: 0.9rem 1.2rem;
  border-left: 3px solid var(--color-accent);
  color: #eee8dc;
  background: #2a2925;
  font-size: 0.92rem;
}

.service-detail__image {
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  background: #302e28;
}

.service-detail__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.services-visual__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  align-items: center;
  gap: clamp(2.5rem, 8vw, 8rem);
}

.services-visual__copy > p:last-child {
  max-width: 33rem;
  color: var(--color-muted);
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  line-height: 1.85;
}

.services-visual__image {
  margin: 0;
  overflow: hidden;
  background: #292824;
}

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

.services-visual {
  color: var(--color-ink);
  background: var(--color-canvas);
}

.services-visual__image {
  aspect-ratio: 3 / 2;
}

.services-visual__copy .section-index {
  color: var(--color-accent-ink);
}

.services-visual__copy h2 {
  max-width: 13ch;
  margin-block: 1.2rem 1.5rem;
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 3.5rem);
  font-weight: 400;
  line-height: 1.25;
  letter-spacing: -0.04em;
}

.site-language-ja .services-visual__copy h2 {
  max-width: none;
  font-size: clamp(1.5rem, 2.8vw, 2.7rem);
}

.services-visual__copy > p:last-child {
  color: var(--color-muted);
}

.service-detail__title {
  position: relative;
  padding-top: 1.25rem;
}

.service-detail__title::before {
  position: absolute;
  top: 0;
  left: 0;
  width: 2.5rem;
  height: 2px;
  content: "";
  background: var(--color-accent);
}

.quiet-list {
  display: grid;
  gap: 0.75rem;
  list-style: none;
}

.quiet-list li {
  position: relative;
  padding-left: 1.4rem;
}

.quiet-list li::before {
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 0.35rem;
  aspect-ratio: 1;
  border-radius: 50%;
  content: "";
  background: var(--color-accent);
}

.service-detail .quiet-list {
  gap: 0;
}

.service-detail .quiet-list li {
  padding-block: 0.55rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.philosophy-detail {
  background: #fff;
}

.philosophy-detail__grid {
  display: grid;
  gap: clamp(3rem, 5vw, 5rem);
}

.philosophy-detail__intro {
  display: grid;
  grid-template-columns: minmax(0, 1.16fr) minmax(0, 0.84fr);
  align-items: center;
  gap: clamp(2.5rem, 7vw, 7rem);
}

.philosophy-detail__visual {
  width: 100%;
  aspect-ratio: 3 / 2;
  margin: 0;
  overflow: hidden;
  background: #1b1b19;
}

.philosophy-detail__visual img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.philosophy-detail__heading {
  max-width: 32rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--color-accent);
}

.philosophy-detail__intro .section-heading {
  margin-bottom: clamp(1.5rem, 3vw, 2.5rem);
}

.philosophy-detail__intro h2 {
  font-size: clamp(2.15rem, 3.5vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.philosophy-detail__heading > p {
  max-width: 32rem;
  color: var(--color-muted);
  line-height: 1.85;
}

.philosophy-detail__intro .section-index {
  color: var(--color-accent-ink);
}

.principle-list {
  border-top: 1px solid var(--color-ink);
}

.principle {
  display: grid;
  grid-template-columns: minmax(10rem, 0.38fr) minmax(0, 1fr);
  align-items: start;
  gap: clamp(2rem, 6vw, 6rem);
  padding-block: clamp(2.75rem, 5vw, 4.75rem);
  border-bottom: 1px solid var(--color-line);
}

.principle__copy {
  min-width: 0;
}

.principle__label {
  padding-top: 1rem;
  border-top: 2px solid var(--color-accent);
  color: var(--color-accent-ink);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  line-height: 1.5;
  text-transform: uppercase;
}

.principle h3 {
  max-width: 48ch;
  font-family: var(--font-serif);
  font-size: clamp(1.5rem, 2.2vw, 2rem);
  font-weight: 400;
  line-height: 1.27;
  letter-spacing: -0.035em;
}

.principle .translation {
  max-width: 38rem;
  margin-top: 1.5rem;
  color: var(--color-ink-soft);
  font-size: clamp(1rem, 1.25vw, 1.12rem);
  line-height: 1.85;
}

.values-section {
  position: relative;
  color: #f7f4ec;
  background: radial-gradient(ellipse 55% 65% at 104% 52%, rgba(166, 105, 36, 0.11), transparent 76%), #1b1b19;
}

.values-section .section-index {
  color: #e9b551;
}

.values-section .section-heading h2 {
  color: #fff;
}

.values-section .section-heading > p:last-child {
  color: #cec9bf;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid rgba(255, 255, 255, 0.17);
  border-left: 1px solid rgba(255, 255, 255, 0.17);
}

.value-card {
  min-width: 0;
  min-height: 17rem;
  padding: clamp(2rem, 4vw, 4rem);
  border-right: 1px solid rgba(255, 255, 255, 0.17);
  border-bottom: 1px solid rgba(255, 255, 255, 0.17);
}

.value-card h3 {
  color: #fff;
  font-size: clamp(1.8rem, 3vw, 2.65rem);
  line-height: 1.15;
  letter-spacing: -0.04em;
}

.value-card h3 span {
  display: inline-block;
  margin-left: 0.75rem;
  color: #aaa79f;
  font-size: 0.48em;
  font-weight: 500;
  letter-spacing: 0.08em;
  vertical-align: middle;
}

.value-card h3 + p {
  max-width: 25rem;
  margin-top: clamp(1.5rem, 2.5vw, 2.25rem);
  color: #cec9bf;
  line-height: 1.75;
}

.value-card .translation {
  margin-top: 0.6rem;
  color: #aaa79f;
  line-height: 1.7;
}

.company-profile {
  background: #fff;
}

.company-profile__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.8fr) minmax(0, 1.2fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.company-profile__heading {
  max-width: 30rem;
}

.company-profile__heading h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  line-height: 1.15;
  letter-spacing: -0.045em;
}

.company-profile__intro {
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 2px solid var(--color-accent);
  color: var(--color-ink-soft);
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  line-height: 1.85;
}

.site-language-ja .philosophy-detail__intro h2,
.site-language-ja .company-profile__heading h2,
.site-language-ja .products-contact .contact-cta h2,
.site-language-ja .product-archive .section-heading h2,
.site-language-ja .product-archive .coming-soon h3,
.site-language-ja .services-contact .contact-cta h2,
.site-language-ja .about-contact .contact-cta h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.6rem);
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.site-language-ja .philosophy-detail__heading,
.site-language-ja .company-profile__intro {
  border-top-width: 1px;
}

.profile-list {
  margin: 0;
}

.profile-list > div {
  display: grid;
  grid-template-columns: 7rem minmax(0, 1fr);
  gap: 1.5rem;
  padding-block: clamp(1.5rem, 2.5vw, 2.25rem);
  border-bottom: 1px solid var(--color-line);
}

.profile-list dt {
  color: var(--color-accent-ink);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
}

.profile-list dd {
  margin: 0;
  line-height: 1.75;
}

.profile-list ul {
  display: grid;
  gap: 0.55rem;
  list-style: none;
}

.news-archive {
  padding-block: clamp(2.5rem, 4.5vw, 4rem) clamp(3.5rem, 6vw, 5.5rem);
}

.news-list--archive {
  border-top: 2px solid #e9b551;
}

.news-row--archive {
  grid-template-columns: 7rem minmax(0, 1fr) 2.75rem;
  gap: clamp(1.25rem, 2.5vw, 2rem);
  min-height: 7rem;
  padding-block: 1.75rem;
}

.news-row--archive h2 {
  color: var(--color-ink-soft);
  font-size: clamp(1.05rem, 1.4vw, 1.3rem);
  font-weight: 550;
  line-height: 1.6;
}

.news-row--archive .news-row__meta {
  font-variant-numeric: tabular-nums;
}

.news-row--archive .news-row__arrow {
  border: 0;
  color: var(--color-muted);
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.news-row--archive:hover .news-row__arrow {
  color: var(--color-accent-ink);
  transform: translateX(0.2rem);
}

.news-row__content > p {
  margin-top: 0.5rem;
  color: var(--color-muted);
  font-size: 0.9rem;
}

.pagination {
  margin-top: 3rem;
}

.pagination .page-numbers {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  justify-content: center;
  list-style: none;
}

.pagination a,
.pagination span {
  display: grid;
  min-width: 2.75rem;
  min-height: 2.75rem;
  place-items: center;
  padding: 0.4rem 0.75rem;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-pill);
  font-size: 0.82rem;
  text-decoration: none;
}

.pagination .current {
  border-color: var(--color-ink);
  color: #fff;
  background: var(--color-ink);
}

.contact-section {
  background: var(--color-canvas);
}

.contact-layout {
  display: grid;
  grid-template-columns: minmax(16rem, 0.72fr) minmax(0, 1.28fr);
  gap: clamp(3rem, 9vw, 9rem);
}

.contact-aside h2,
.contact-form-heading h2 {
  margin-top: 1rem;
  color: var(--color-ink);
  font-size: clamp(1.85rem, 3.5vw, 3rem);
  font-weight: 620;
  line-height: 1.12;
  letter-spacing: -0.035em;
}

.site-language-ja .contact-aside h2,
.site-language-ja .contact-form-heading h2 {
  font-size: clamp(1.85rem, 2.8vw, 2.6rem);
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -0.02em;
}

.contact-topics {
  margin-top: 2rem;
  border-top: 1px solid var(--color-accent);
  list-style: none;
}

.contact-topics li {
  padding-block: 1rem;
  border-bottom: 1px solid var(--color-line);
  font-size: 0.9rem;
}

.contact-aside__note {
  margin-top: 2rem;
  color: var(--color-muted);
  font-size: 0.84rem;
}

.required-note {
  color: var(--color-accent-ink);
  font-size: 0.78rem;
}

.contact-form-shell,
.contact-fallback {
  margin-top: 2rem;
}

.contact-fallback {
  padding: 1.5rem;
  border-left: 3px solid var(--color-accent);
  background: var(--color-surface);
}

.contact-fallback > * + * {
  margin-top: 0.8rem;
}

.admin-hint {
  color: var(--color-accent-ink);
  font-size: 0.85rem;
  font-weight: 600;
}

.form-privacy-note {
  margin-top: 1.4rem;
  color: var(--color-muted);
  font-size: 0.82rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
}

.form-field {
  min-width: 0;
}

.form-field--full {
  grid-column: 1 / -1;
}

.form-field label,
.contact-form-shell label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--color-ink);
  font-size: 0.84rem;
  font-weight: 650;
}

.form-field .required,
.contact-form-shell .required {
  margin-left: 0.25rem;
  color: var(--color-error);
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7 :where(input[type="text"], input[type="email"], select, textarea) {
  width: 100%;
  min-height: 3.25rem;
  padding: 0.78rem 0.9rem;
  border: 1px solid #bbb4a9;
  border-radius: var(--radius-sm);
  color: var(--color-ink);
  background: #fff;
  font-size: 1rem;
  line-height: 1.4;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
}

.wpcf7 select {
  appearance: auto;
}

.wpcf7 textarea {
  min-height: 12rem;
  resize: vertical;
}

.wpcf7 :where(input[type="text"], input[type="email"], select, textarea):focus {
  border-color: var(--color-focus);
  outline: 3px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px var(--color-focus);
}

.wpcf7-not-valid {
  border-color: var(--color-error) !important;
}

.wpcf7-not-valid-tip {
  display: block;
  margin-top: 0.35rem;
  color: var(--color-error);
  font-size: 0.78rem;
}

.wpcf7-list-item {
  margin: 0;
}

.wpcf7-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-weight: 400;
  line-height: 1.6;
}

.wpcf7-acceptance input[type="checkbox"] {
  flex: 0 0 auto;
  width: 1.25rem;
  height: 1.25rem;
  margin-top: 0.15rem;
  accent-color: var(--color-accent-ink);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1.5rem;
}

.wpcf7 input[type="submit"] {
  min-width: 14rem;
  max-width: 100%;
  min-height: 3rem;
  padding: 0.78rem 3.15rem 0.78rem 1.35rem;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  color: var(--color-ink);
  background-color: var(--color-accent);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23171714' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16M13 5l7 7-7 7'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-size: 1.15rem;
  background-position: calc(50% + 3.35rem) center;
  font-size: 0.88rem;
  font-weight: 680;
  line-height: 1.2;
  cursor: pointer;
  transition: background-color var(--transition-fast), transform var(--transition-fast);
}

.site-language-ja .wpcf7 input[type="submit"] {
  min-width: 12rem;
  background-position: calc(50% + 2.15rem) center;
}

.wpcf7 input[type="submit"]:hover {
  background-color: var(--color-accent-hover);
  transform: translateY(-2px);
}

@media (max-width: 599px) {
  .wpcf7 input[type="submit"] {
    width: 100%;
    min-width: 0;
  }

  .wpcf7 .form-actions {
    flex-wrap: wrap;
  }
}

.wpcf7 form .wpcf7-response-output {
  margin: 1.5rem 0 0;
  padding: 0.9rem 1rem;
  border: 0;
  border-left: 3px solid var(--color-accent-ink);
  background: var(--color-accent-soft);
  font-size: 0.86rem;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output {
  border-left-color: var(--color-error);
  background: #fff0ee;
}

.wpcf7-spinner {
  margin: 0;
}

.policy-intro {
  padding-bottom: clamp(2.5rem, 5vw, 4rem);
  border-bottom: 1px solid var(--color-ink);
  font-size: clamp(1.05rem, 1.5vw, 1.2rem);
}

.policy-date {
  color: var(--color-muted);
  font-size: 0.8rem;
}

.policy-section {
  padding-block: clamp(2rem, 5vw, 3.5rem);
  border-bottom: 1px solid var(--color-line);
}

.policy-section h2 {
  display: grid;
  grid-template-columns: 2.5rem minmax(0, 1fr);
  gap: 0.75rem;
  font-size: clamp(1.25rem, 2vw, 1.6rem);
  letter-spacing: -0.02em;
}

.policy-section h2 span {
  padding-top: 0.25em;
  color: var(--color-accent-ink);
  font-size: 0.48em;
  letter-spacing: 0.1em;
}

.policy-section p {
  margin-top: 1rem;
  color: var(--color-ink-soft);
}

.standard-page .page-header,
.article-header {
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.entry-content {
  font-size: clamp(1rem, 1.3vw, 1.08rem);
}

.entry-content :where(img, iframe) {
  max-width: 100%;
}

.entry-content :where(pre, table) {
  max-width: 100%;
  overflow-x: auto;
}

.entry-content table {
  display: block;
  border-collapse: collapse;
}

.entry-content :where(.alignwide, .alignfull) {
  width: 100%;
  max-width: 100%;
  margin-inline: 0;
}

.entry-content blockquote {
  padding: 1.5rem 0 1.5rem 1.5rem;
  border-left: 3px solid var(--color-accent);
  color: var(--color-ink);
  font-family: var(--font-serif);
  font-size: 1.25em;
}

.article-meta {
  margin-top: 1.5rem;
  color: var(--color-muted);
  font-size: 0.8rem;
}

.article-featured-image {
  margin-bottom: clamp(2.5rem, 6vw, 5rem);
}

.article-featured-image img {
  width: 100%;
  border-radius: var(--radius-md);
}

.article-footer {
  margin-top: clamp(3rem, 7vw, 6rem);
  padding-top: 2rem;
  border-top: 1px solid var(--color-line);
}

.product-hero {
  position: relative;
  overflow: hidden;
  color: #f7f4ec;
  background:
    radial-gradient(circle at 80% 40%, rgba(233, 166, 42, 0.12), transparent 24%),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    #151513;
  background-size: auto, 100% 7rem, auto;
}

.product-hero__grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(16rem, 0.75fr);
  align-items: center;
  gap: clamp(3rem, 9vw, 8rem);
}

.product-hero h1 {
  margin-top: 1rem;
  color: #fff;
  font-size: clamp(2.55rem, 5.2vw, 4.25rem);
}

.product-hero .eyebrow {
  color: #e9b551;
}

.product-hero__tagline {
  max-width: 38rem;
  margin-top: 1.5rem;
  color: #c8c4bb;
  font-size: clamp(1.1rem, 2vw, 1.4rem);
}

.product-hero__icon {
  display: grid;
  width: min(100%, 21rem);
  aspect-ratio: 1;
  place-items: center;
  justify-self: end;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 22%;
  background: #20201d;
  box-shadow: 0 2rem 5rem rgba(0, 0, 0, 0.3);
}

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

.product-story__grid {
  display: grid;
  grid-template-columns: minmax(0, 0.7fr) minmax(0, 1.3fr);
  gap: clamp(3rem, 8vw, 8rem);
}

.product-story h2 {
  margin-top: 1rem;
  font-size: clamp(2rem, 4vw, 3.25rem);
}

.product-facts {
  margin-top: 2.5rem;
  border-top: 1px solid var(--color-line);
}

.product-facts > div {
  display: grid;
  grid-template-columns: 11rem minmax(0, 1fr);
  gap: 1rem;
  padding-block: 1rem;
  border-bottom: 1px solid var(--color-line);
}

.product-facts dt {
  color: var(--color-muted);
  font-size: 0.82rem;
}

.product-facts dd {
  margin: 0;
}

.product-screens {
  background: var(--color-surface);
}

.screenshot-grid {
  display: grid;
  grid-auto-columns: minmax(15rem, 22rem);
  grid-auto-flow: column;
  gap: 1.5rem;
  padding-bottom: 1rem;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  scroll-snap-type: inline mandatory;
}

.screenshot-grid figure {
  min-width: 0;
  scroll-snap-align: start;
}

.screenshot-grid img {
  width: 100%;
  height: auto;
  border: 1px solid var(--color-line);
  border-radius: var(--radius-md);
  background: #fff;
}

.product-footer-links__inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--color-line);
}

.policy-custom-content {
  margin-top: 3rem;
}

.error-page {
  display: grid;
  min-height: 65vh;
  align-items: center;
}

.error-page p:not(.eyebrow) {
  margin-top: 1.5rem;
  color: var(--color-muted);
}

.error-page .button {
  margin-top: 2rem;
}

.has-js .reveal {
  opacity: 0;
  transform: translateY(0.8rem);
  transition: opacity 480ms ease, transform 480ms cubic-bezier(0.22, 1, 0.36, 1);
}

.has-js .reveal.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1100px) {
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 959px) {
  .admin-bar .site-header {
    top: 32px;
  }

  .has-js .menu-toggle {
    display: grid;
  }

  .has-js .header-panel {
    position: absolute;
    top: calc(100% + 1px);
    right: 0;
    left: 0;
    display: grid;
    max-height: calc(100svh - 4.5rem);
    align-content: start;
    gap: 1.5rem;
    padding: 1.5rem var(--gutter) 2rem;
    overflow-y: auto;
    border-bottom: 1px solid var(--color-line);
    background: var(--color-canvas);
    box-shadow: 0 1.5rem 3rem rgba(23, 23, 20, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-0.5rem);
    transition: opacity var(--transition-fast), visibility var(--transition-fast), transform var(--transition-fast);
  }

  .has-js .header-panel.is-open {
    opacity: 1;
    visibility: visible;
    transform: none;
  }

  .has-js .tpl-theme .header-panel {
    border-bottom-color: rgba(255, 255, 255, 0.12);
    background: #151513;
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.28);
  }

  .has-js .primary-menu {
    display: grid;
    gap: 0;
  }

  .has-js .primary-menu a {
    min-height: 3.5rem;
    border-bottom: 1px solid var(--color-line);
    font-size: 1rem;
  }

  .has-js .tpl-theme .primary-menu a {
    border-bottom-color: rgba(255, 255, 255, 0.12);
  }

  .has-js .primary-menu a::after {
    display: none;
  }

  .has-js .language-switcher {
    justify-content: flex-start;
  }

  html:not(.has-js) .site-header {
    position: static;
    height: auto;
  }

  html:not(.has-js) .site-header__inner {
    min-height: 4.5rem;
    flex-wrap: wrap;
    padding-block: 0.6rem 1rem;
  }

  html:not(.has-js) .header-panel {
    display: grid;
    width: 100%;
    gap: 0.75rem;
  }

  html:not(.has-js) .primary-menu {
    flex-wrap: wrap;
    gap: 0 1.25rem;
  }

  .hero__grid,
  .page-hero__grid,
  .product-hero__grid {
    grid-template-columns: 1fr;
  }

  .hero {
    min-height: calc(100svh - 4.5rem);
  }

  .hero__grid {
    gap: 0;
  }

  .hero__content {
    grid-column: 1;
    grid-row: auto;
    padding-right: 0;
  }

  .hero-system {
    display: none;
  }

  .hero__topline,
  .hero__lead,
  .hero__meta {
    max-width: none;
  }

  .introduction__layout {
    grid-template-columns: 1fr;
  }

  .services-visual__grid {
    grid-template-columns: 1fr;
  }

  .services-visual__copy {
    max-width: 42rem;
  }

  .services-visual__image {
    max-height: 35rem;
  }

  .introduction__copy {
    max-width: 44rem;
  }

  .page-hero__grid {
    gap: 2rem;
  }

  .page-hero__grid > div,
  .page-hero__lead,
  .page-hero__grid::after {
    grid-column: 1;
  }

  .page-hero__lead {
    max-width: 42rem;
  }

  .coming-soon {
    grid-template-columns: 1fr;
  }

  .coming-soon__visual {
    position: absolute;
    right: -5rem;
    bottom: -6rem;
    width: 20rem;
    opacity: 0.38;
  }

  .coming-soon__copy {
    max-width: 34rem;
  }

  .service-card:last-child {
    max-width: none;
  }

  .service-detail {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .service-detail:nth-child(even) .service-detail__copy,
  .service-detail:nth-child(even) .service-detail__image {
    order: initial;
  }

  .service-detail__image {
    aspect-ratio: 16 / 10;
  }

  .philosophy-preview__grid {
    grid-template-columns: 1fr;
  }

  .mission-card {
    max-width: 38rem;
  }

  .contact-layout {
    grid-template-columns: minmax(14rem, 0.62fr) minmax(0, 1.38fr);
    gap: 3rem;
  }

  .product-hero__icon {
    width: min(60vw, 18rem);
    justify-self: start;
  }
}

@media (max-width: 782px) {
  .admin-bar .site-header {
    top: 46px;
  }

  .admin-bar .has-js .header-panel {
    max-height: calc(100svh - 4.5rem - 46px);
  }
}

@media (max-width: 767px) {
  :root {
    --section-space: clamp(4rem, 15vw, 6rem);
  }

  .site-header {
    height: 4rem;
  }

  .wordmark__text {
    font-size: 0.9rem;
  }

  .hero {
    padding-top: 2.75rem;
    min-height: calc(100svh - 4rem);
  }

  .page-hero {
    min-height: 19rem;
    padding-block: 2.5rem 1.5rem;
  }

  .page-hero__grid::after {
    margin-top: 0.5rem;
  }

  .hero h1 {
    font-size: clamp(2.3rem, 10vw, 3.3rem);
  }

  .site-language-en .hero h1 {
    font-size: clamp(1.85rem, 7.7vw, 3.1rem);
  }

  .site-language-ja .hero h1 {
    font-size: clamp(2.1rem, 9.3vw, 3rem);
  }

  .hero-title__line--offset {
    padding-left: clamp(0.3rem, 2vw, 0.85rem);
  }

  .service-detail,
  .principle,
  .philosophy-detail__grid,
  .company-profile__grid,
  .product-story__grid,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .services-visual__image {
    aspect-ratio: 4 / 3;
  }

  .services-preview__intro {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .services-preview__image {
    height: auto;
    aspect-ratio: 3 / 2;
  }

  .mission-card__image {
    height: auto;
    aspect-ratio: 16 / 9;
  }

  .section-heading--spread,
  .section-heading--inline {
    display: block;
  }

  .section-heading--spread > p:last-child {
    margin-top: 1rem;
  }

  .text-link--desktop {
    display: none;
  }

  .section-action--mobile {
    display: block;
  }

  .product-grid,
  .service-grid,
  .values-grid {
    grid-template-columns: 1fr;
  }

  .service-card:last-child {
    grid-column: auto;
    max-width: none;
  }

  .service-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 0.75rem 1rem;
    padding-inline: 0;
  }

  .service-card:hover {
    padding-inline: 0;
    background: transparent;
  }

  .service-card > p:last-child {
    grid-column: 1;
    justify-self: start;
  }

  .mission-card {
    max-width: none;
    padding: 2rem 0 0;
    border-top: 1px solid rgba(112, 68, 0, 0.28);
    border-left: 0;
  }

  .coming-soon {
    min-height: 25rem;
    padding: 2rem;
  }

  .news-row {
    grid-template-columns: 1fr 2.75rem;
    gap: 0.4rem 1rem;
    padding-block: 1.25rem;
  }

  .news-row__meta {
    grid-column: 1 / -1;
  }

  .news-row h2,
  .news-row h3,
  .news-row__content {
    grid-column: 1;
  }

  .news-row__arrow {
    grid-column: 2;
    grid-row: 2;
  }

  .contact-cta__inner,
  .site-footer__top {
    grid-template-columns: 1fr;
  }

  .contact-cta__inner .button {
    justify-self: start;
  }

  .footer-navigation,
  .footer-menu {
    justify-content: flex-start;
  }

  .site-footer__bottom {
    display: grid;
    align-items: start;
  }

  .principle {
    gap: 0.75rem;
    min-height: 0;
    padding: 2rem 0;
  }

  .philosophy-detail__intro {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 1.25rem;
    min-height: 0;
  }

  .principle h3 {
    font-size: clamp(1.4rem, 5.4vw, 1.85rem);
  }

  .value-card {
    min-height: 0;
    padding: 2rem 1.5rem;
  }

  .profile-list > div {
    grid-template-columns: 1fr;
    gap: 0.45rem;
  }

  .contact-aside {
    padding-bottom: 2.5rem;
    border-bottom: 1px solid var(--color-line);
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .form-field--full {
    grid-column: auto;
  }

  .product-hero__icon {
    width: min(72vw, 17rem);
  }

  .product-footer-links__inner {
    display: grid;
    justify-content: start;
  }
}

@media (max-width: 480px) {
  :root {
    --gutter: 1.15rem;
  }

  .wordmark {
    gap: 0.55rem;
  }

  .wordmark__mark {
    width: 1.5rem;
  }

  .wordmark__text {
    font-size: 0.79rem;
    letter-spacing: -0.03em;
  }

  .button-row,
.store-links {
    display: grid;
  }

  .button-row .button,
  .store-links .button {
    width: 100%;
  }

  .hero__topline {
    margin-bottom: 1.75rem;
  }

  .hero__meta,
  .hero__footer-line {
    display: grid;
  }

  .introduction-visual {
    aspect-ratio: 4 / 3;
  }

  .coming-soon h2,
  .coming-soon h3 {
    font-size: clamp(1.75rem, 8vw, 2.4rem);
  }

  .coming-soon__visual {
    right: -3.5rem;
    bottom: -3.5rem;
    width: 14rem;
    opacity: 0.2;
  }

  .contact-cta__inner {
    padding: 1.5rem 0;
  }

  .contact-cta__inner .button {
    width: 100%;
  }

  .footer-menu {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 1rem;
  }

  .page-hero h1,
  .page-header h1,
  .article-header h1,
  .error-page h1,
  .product-hero h1 {
    font-size: clamp(2.2rem, 10vw, 3rem);
  }

  .product-card__content {
    padding: 1.25rem;
  }

  .policy-section h2 {
    grid-template-columns: 2rem minmax(0, 1fr);
  }

  .screenshot-grid {
    grid-auto-columns: minmax(13rem, 82vw);
  }
}

@media (max-width: 360px) {
  .wordmark__text {
    font-size: 0.79rem;
  }

  .menu-toggle {
    width: 2.75rem;
    height: 2.75rem;
  }

  .site-language-ja .hero h1 {
    font-size: 2.25rem;
  }
}

@media (max-width: 600px) {
  .admin-bar .site-header {
    top: 0;
  }

  .admin-bar .has-js .header-panel {
    max-height: calc(100svh - 4rem);
  }
}

/* Keep portrait tablet heroes sized to their content. */
@media (min-width: 600px) and (max-width: 1199px) and (orientation: portrait) {
  .site-language-en .hero h1 {
    font-size: clamp(3rem, 6.2vw, 4.5rem);
    hyphens: none;
  }

  .hero {
    min-height: 0;
    grid-template-rows: auto auto;
    align-content: start;
    padding-block: clamp(2.5rem, 4.5vw, 3.5rem) 2rem;
  }

  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__content {
    grid-column: 1;
    grid-row: auto;
    width: 100%;
    max-width: none;
    padding-right: 0;
  }

  .hero-system {
    display: none;
  }

  .hero__topline,
  .hero__meta {
    max-width: none;
  }

  .hero__lead {
    max-width: none;
  }

  .hero__footer-line {
    margin-top: 1.5rem;
  }
}

/* Emphasize the Japanese headline on landscape tablets. */
@media (min-width: 600px) and (max-width: 1199px) and (orientation: landscape) {
  .site-language-en .hero h1 {
    font-size: clamp(2.8rem, 4.8vw, 4rem);
    hyphens: none;
  }

  .site-language-ja .hero h1 {
    font-size: clamp(3.75rem, 6.6vw, 4.8rem);
  }
}

/* Compact portrait phones without changing landscape hero sizing. */
@media (max-width: 599px) and (orientation: portrait) {
  .site-language-en .hero h1 {
    font-size: clamp(2.25rem, 11.4vw, 3.6rem);
    hyphens: none;
  }

  .hero {
    min-height: 0;
    grid-template-rows: auto auto;
    align-content: start;
    padding-block: 2.5rem 1.75rem;
  }

  .site-language-ja .hero h1 {
    font-size: clamp(2.3rem, 10.8vw, 3.35rem);
  }

  .hero__footer-line {
    margin-top: 1.5rem;
  }
}

/* Give service headings a clear hierarchy on phones. */
@media (max-width: 599px) {
  .service-card h3 {
    font-size: clamp(1.6rem, 3.5vw, 2rem);
    line-height: 1.15;
    hyphens: none;
  }

  .service-card .service-name-ja {
    font-size: 0.9rem;
    line-height: 1.5;
  }
}

/* Services detail: compact editorial composition on tablets only. */
@media (min-width: 600px) and (max-width: 960px) {
  .services-detail .service-detail {
    grid-template-columns: minmax(0, 0.72fr) minmax(0, 1.28fr);
    align-items: start;
    gap: clamp(2rem, 4vw, 2.5rem) clamp(1.5rem, 3vw, 2rem);
    padding-block: clamp(2.5rem, 5vw, 3.5rem);
  }

  .services-detail .service-detail__copy {
    display: contents;
  }

  .services-detail .service-detail .service-detail__title {
    grid-column: 1;
    grid-row: 1;
    min-width: 0;
    padding-top: 1.1rem;
  }

  .services-detail .service-detail__title h2 {
    font-size: clamp(1.6rem, 3.4vw, 2rem);
    line-height: 1.18;
    hyphens: none;
    overflow-wrap: normal;
  }

  .services-detail .service-detail .service-name-ja {
    margin-top: 0.9rem;
    font-size: 0.8rem;
    line-height: 1.6;
    letter-spacing: 0.03em;
  }

  .services-detail .service-detail .prose {
    grid-column: 2;
    grid-row: 1;
    min-width: 0;
    max-width: none;
    padding-top: 1.1rem;
    font-size: 0.95rem;
    line-height: 1.8;
  }

  .services-detail .service-detail__note {
    margin-top: 1.25rem;
    padding: 0.5rem 0 0.5rem 1rem;
    border-left-width: 2px;
    background: transparent;
    font-size: 0.85rem;
    line-height: 1.8;
  }

  .services-detail .service-detail .service-detail__image {
    grid-column: 1 / -1;
    grid-row: 2;
    order: initial;
    aspect-ratio: 2 / 1;
  }
}

/* Services introduction: a compact reading column on tablets. */
@media (min-width: 600px) and (max-width: 960px) {
  .page-hero--services ~ .services-visual {
    padding-block: clamp(4rem, 8vw, 5rem);
  }

  .page-hero--services ~ .services-visual .services-visual__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(3.25rem, 6vw, 4rem);
  }

  .page-hero--services ~ .services-visual .services-visual__image {
    aspect-ratio: 2 / 1;
    max-height: none;
  }

  .page-hero--services ~ .services-visual .services-visual__copy {
    display: block;
    width: 100%;
    max-width: 40rem;
    margin-inline: auto;
  }

  .page-hero--services ~ .services-visual .services-visual__copy .section-index {
    margin: 0;
  }

  .page-hero--services ~ .services-visual .services-visual__copy h2 {
    max-width: none;
    margin-block: clamp(2.5rem, 5vw, 3rem) clamp(3.5rem, 7vw, 4.5rem);
    font-size: clamp(1.9rem, 4vw, 2.4rem);
    line-height: 1.4;
  }

  .site-language-ja .page-hero--services ~ .services-visual .services-visual__copy h2 {
    font-size: clamp(1.75rem, 3.6vw, 2.15rem);
  }

  .page-hero--services ~ .services-visual .services-visual__title-line {
    display: block;
    width: fit-content;
    max-width: 100%;
  }

  .page-hero--services ~ .services-visual .services-visual__title-line + br + .services-visual__title-line {
    margin-top: 0.8em;
  }

  .page-hero--services ~ .services-visual .services-visual__title-line:nth-of-type(2) {
    margin-inline: auto;
  }

  .page-hero--services ~ .services-visual .services-visual__title-line:nth-of-type(3) {
    margin-left: auto;
  }

  .page-hero--services ~ .services-visual .services-visual__copy h2 > br {
    display: none;
  }

  .page-hero--services ~ .services-visual .services-visual__copy > p:last-child {
    max-width: none;
    margin: 0;
    font-size: 1rem;
    line-height: 1.85;
  }

  .page-hero--services ~ .services-visual .services-visual__copy > p:last-child br {
    display: none;
  }
}

/* Services introduction: retain the stepped headline on small screens. */
@media (max-width: 599px) {
  .page-hero--services ~ .services-visual {
    padding-block: 3rem 3.5rem;
  }

  .page-hero--services ~ .services-visual .services-visual__grid {
    gap: 2.5rem;
  }

  .page-hero--services ~ .services-visual .services-visual__copy {
    width: 100%;
    max-width: none;
    min-width: 0;
  }

  .page-hero--services ~ .services-visual .services-visual__copy .section-index {
    margin: 0;
  }

  .page-hero--services ~ .services-visual .services-visual__copy h2 {
    margin-block: 2rem 2.75rem;
  }

  .site-language-ja .page-hero--services ~ .services-visual .services-visual__copy h2 {
    max-width: none;
    font-size: clamp(1.2rem, 4.6vw, 1.6rem);
    line-height: 1.45;
  }

  .page-hero--services ~ .services-visual .services-visual__title-line {
    display: block;
    width: fit-content;
    max-width: 100%;
  }

  .page-hero--services ~ .services-visual .services-visual__title-line + br + .services-visual__title-line {
    margin-top: 0.6em;
  }

  .page-hero--services ~ .services-visual .services-visual__title-line:nth-of-type(2) {
    margin-inline: auto;
  }

  .page-hero--services ~ .services-visual .services-visual__title-line:nth-of-type(3) {
    margin-left: auto;
  }

  .page-hero--services ~ .services-visual .services-visual__copy h2 > br {
    display: none;
  }

  .page-hero--services ~ .services-visual .services-visual__copy > p:last-child {
    max-width: none;
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.9;
  }

  .page-hero--services ~ .services-visual .services-visual__copy > p:last-child br {
    display: none;
  }
}

/* Give the stepped Services headline more space on narrow phones. */
@media (max-width: 500px) {
  .page-hero--services ~ .services-visual {
    padding-block: 3.5rem 4rem;
  }

  .page-hero--services ~ .services-visual .services-visual__grid {
    gap: 3rem;
  }

  .page-hero--services ~ .services-visual .services-visual__copy h2 {
    margin-block: 2.5rem 3.5rem;
  }

  .site-language-ja .page-hero--services ~ .services-visual .services-visual__copy h2 {
    font-size: clamp(1.4rem, 5.6vw, 1.75rem);
    line-height: 1.4;
  }

  .page-hero--services ~ .services-visual .services-visual__title-line + br + .services-visual__title-line {
    margin-top: 0.8em;
  }
}

/* About foundation: full-width rule and consistent details at every size. */
.page-hero--about ~ .philosophy-detail .philosophy-detail__heading {
  width: 100%;
  max-width: none;
  min-width: 0;
  padding-top: 0;
  border-top: 0;
}

.page-hero--about ~ .philosophy-detail .philosophy-detail__heading .section-heading {
  margin-bottom: 0;
}

.page-hero--about ~ .philosophy-detail .philosophy-detail__heading > p {
  max-width: none;
  margin-top: clamp(2rem, 4vw, 3rem);
  padding-top: 1.5rem;
  border-top: 1px solid var(--color-accent);
}

.page-hero--about ~ .philosophy-detail .philosophy-detail__heading .section-index {
  color: var(--color-muted);
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: none;
}

/* Retain principle dividers on tablets and computers; hide them on phones. */
.page-hero--about ~ .philosophy-detail .principle {
  border-bottom: 1px solid var(--color-line);
}

@media (max-width: 767px) {
  .page-hero--about ~ .philosophy-detail .principle {
    border-bottom: 0;
  }
}

/* Keep About labels free of the yellow selection highlight. */
.page-hero--about ~ .philosophy-detail .principle__label::selection {
  color: inherit;
  background: transparent;
}

/* Use one deliberate gap between principles instead of accumulated padding. */
.page-hero--about ~ .philosophy-detail .principle-list {
  display: grid;
  gap: clamp(3.5rem, 6vw, 5rem);
  padding-block: 0.75rem 1rem;
}

/* About principles: match the quiet mobile treatment on larger screens. */
@media (min-width: 768px) {
  .page-hero--about ~ .philosophy-detail .principle-list {
    counter-reset: principle;
    width: 100%;
    max-width: 68rem;
    margin-inline: auto;
    border-top: 0;
  }

  .page-hero--about ~ .philosophy-detail .principle {
    counter-increment: principle;
    grid-template-columns: minmax(11rem, 0.27fr) minmax(0, 1fr);
    gap: clamp(2.5rem, 5vw, 4.5rem);
    padding-block: 0;
  }

  .page-hero--about ~ .philosophy-detail .principle__label {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 0.65rem 1rem;
    padding-top: 0;
    border-top: 0;
    color: var(--color-ink-soft);
    background: transparent;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    text-transform: none;
  }

  .page-hero--about ~ .philosophy-detail .principle__label::before {
    grid-column: 1 / -1;
    grid-row: 1;
    content: counter(principle, decimal-leading-zero);
    color: #b4a58b;
    font-family: var(--font-serif);
    font-size: clamp(2.5rem, 3.5vw, 3.25rem);
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .page-hero--about ~ .philosophy-detail .principle__label::after {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    height: 1px;
    margin: 0;
    content: "";
    background: var(--color-accent);
    opacity: 0.65;
  }

  .page-hero--about ~ .philosophy-detail .principle h3 {
    max-width: 48ch;
    color: var(--color-ink-soft);
    font-size: clamp(1.45rem, 1.7vw, 1.8rem);
    line-height: 1.45;
    letter-spacing: -0.02em;
    text-wrap: balance;
    hyphens: none;
  }

  .page-hero--about ~ .philosophy-detail .principle:not(:first-child) h3 {
    font-size: clamp(1.3rem, 1.5vw, 1.6rem);
    line-height: 1.5;
    letter-spacing: -0.015em;
    text-wrap: pretty;
  }

  .page-hero--about ~ .philosophy-detail .principle .translation {
    margin-top: 1.5rem;
    color: var(--color-ink);
    font-size: clamp(1rem, 1.1vw, 1.08rem);
    line-height: 1.9;
  }
}

/* About principles: editorial hierarchy on mobile screens. */
@media (max-width: 767px) {
  .page-hero--about ~ .philosophy-detail .principle-list {
    counter-reset: principle;
    width: 100%;
    max-width: none;
    margin-inline: 0;
    gap: clamp(2.5rem, 6vw, 3rem);
    padding-block: 0.75rem 1.25rem;
    border-top: 0;
  }

  .page-hero--about ~ .philosophy-detail .principle {
    counter-increment: principle;
    grid-template-columns: minmax(0, 1fr);
    gap: clamp(1.25rem, 3.2vw, 1.5rem);
    min-height: 0;
    padding-block: 0;
  }

  .page-hero--about ~ .philosophy-detail .principle__label {
    display: grid;
    grid-template-columns: max-content minmax(0, 1fr);
    align-items: center;
    gap: 0.5rem 1rem;
    padding-top: 0;
    border-top: 0;
    color: var(--color-ink-soft);
    background: transparent;
    font-size: 0.75rem;
    font-weight: 500;
    letter-spacing: 0.025em;
    text-transform: none;
  }

  .page-hero--about ~ .philosophy-detail .principle__label::before {
    grid-column: 1 / -1;
    grid-row: 1;
    content: counter(principle, decimal-leading-zero);
    color: #b4a58b;
    font-family: var(--font-serif);
    font-size: 2.25rem;
    font-weight: 400;
    line-height: 1;
    letter-spacing: -0.04em;
  }

  .page-hero--about ~ .philosophy-detail .principle__label::after {
    grid-column: 2;
    grid-row: 2;
    width: 100%;
    height: 1px;
    margin: 0;
    content: "";
    background: var(--color-accent);
    opacity: 0.65;
  }

  .page-hero--about ~ .philosophy-detail .principle__copy {
    width: 100%;
    max-width: none;
  }

  .page-hero--about ~ .philosophy-detail .principle h3 {
    max-width: none;
    color: var(--color-ink-soft);
    font-size: clamp(1.35rem, 4.4vw, 1.7rem);
    line-height: 1.45;
    letter-spacing: -0.02em;
    text-wrap: balance;
    hyphens: none;
  }

  .page-hero--about ~ .philosophy-detail .principle:not(:first-child) h3 {
    max-width: none;
    font-size: clamp(1.2rem, 3.8vw, 1.5rem);
    line-height: 1.5;
    letter-spacing: -0.015em;
    text-wrap: pretty;
  }

  .page-hero--about ~ .philosophy-detail .principle .translation {
    max-width: none;
    margin-top: 1rem;
    padding-left: 0;
    border-left: 0;
    color: var(--color-ink-soft);
    font-size: 1rem;
    line-height: 1.85;
    line-break: strict;
  }

  .page-hero--about ~ .philosophy-detail .principle .translation br {
    display: none;
  }
}

/* Let the Vision copy wrap naturally at every screen width. */
.page-hero--about ~ .philosophy-detail .principle__vision-line {
  display: inline;
}

.page-hero--about ~ .philosophy-detail .principle:nth-child(2) .translation br {
  display: none;
}

/* Give retained dividers balanced space above and below on larger screens. */
@media (min-width: 768px) {
  .page-hero--about ~ .philosophy-detail .principle-list {
    gap: 0;
    padding-block: 0;
  }

  .page-hero--about ~ .philosophy-detail .principle {
    padding-block: clamp(2.5rem, 4vw, 3.25rem);
  }

  .page-hero--about ~ .philosophy-detail .principle:first-child {
    padding-top: 1.25rem;
  }

  .page-hero--about ~ .philosophy-detail .principle:last-child {
    padding-bottom: clamp(2.5rem, 4vw, 3.25rem);
  }

  .page-hero--about ~ .philosophy-detail .principle__copy {
    padding-top: 0.15rem;
  }

  .page-hero--about ~ .philosophy-detail .principle .translation {
    margin-top: 1.35rem;
    max-width: 35rem;
  }
}

/* Keep About copy in normal document flow without balanced line wrapping. */
.page-hero--about ~ .philosophy-detail .principle h3,
.page-hero--about ~ .philosophy-detail .principle h3 span,
.page-hero--about ~ .philosophy-detail .principle .translation {
  text-wrap: wrap;
  hyphens: none;
}

/* Use the full copy column before wrapping at its right edge. */
.page-hero--about ~ .philosophy-detail .principle h3,
.page-hero--about ~ .philosophy-detail .principle .translation {
  width: 100%;
  max-width: none;
}

.page-hero--about ~ .philosophy-detail .principle__phrase {
  display: inline;
}

/* Home philosophy: a full-width title and balanced Mission layout below 960px. */
@media (max-width: 959px) {
  .philosophy-preview__grid {
    gap: clamp(2rem, 5vw, 3rem);
  }

  .philosophy-preview h2 {
    max-width: none;
    font-size: clamp(0.95rem, 4.3vw, 2.6rem);
    line-height: 1.2;
    white-space: nowrap;
    hyphens: none;
  }

  .philosophy-preview h2 br {
    display: none;
  }

  .philosophy-preview .mission-card {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    column-gap: clamp(1.5rem, 4vw, 2.5rem);
    row-gap: 1rem;
    align-content: start;
    max-width: none;
    width: 100%;
    padding: clamp(1.75rem, 4vw, 2.5rem) 0 0;
    border-left: 0;
    border-top: 1px solid rgba(112, 68, 0, 0.28);
  }

  .philosophy-preview .mission-card__image {
    grid-column: 1;
    grid-row: 1 / 5;
    height: 100%;
    min-height: 0;
    aspect-ratio: 4 / 3;
    margin: 0;
  }

  .philosophy-preview .mission-card > p,
  .philosophy-preview .mission-card .text-link {
    grid-column: 2;
    margin-top: 0;
  }

  .philosophy-preview .mission-card > p:nth-of-type(2) {
    font-size: clamp(1.15rem, 2.3vw, 1.4rem);
  }
}

@media (max-width: 950px) {
  .philosophy-preview .mission-card {
    display: flex;
    gap: 0;
  }

  .philosophy-preview .mission-card__image {
    height: auto;
    aspect-ratio: 16 / 9;
    margin-bottom: 1.5rem;
  }

  .philosophy-preview .mission-card > p:nth-of-type(2),
  .philosophy-preview .mission-card .translation {
    margin-top: 1rem;
  }

  .philosophy-preview .mission-card .text-link {
    margin-top: 1.5rem;
  }
}

/* News articles share the site's dark masthead and quiet reading surface. */
.article-page {
  background: var(--color-canvas);
}

.article-page .article-header--news {
  position: relative;
  isolation: isolate;
  display: grid;
  min-height: clamp(18rem, 32vw, 24rem);
  align-items: end;
  margin: 0;
  padding-block: clamp(2.5rem, 4vw, 4rem) clamp(1.5rem, 2.5vw, 2.5rem);
  overflow: hidden;
  color: #f7f4ec;
  background: #151513;
  border-bottom: 1px solid rgba(255, 255, 255, 0.11);
}

.article-header__inner {
  position: relative;
  z-index: 1;
  max-width: var(--shell);
}

.article-header__inner::after {
  display: block;
}

.article-breadcrumb {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  margin-bottom: 1.75rem;
  color: #aaa79f;
  font-size: 0.75rem;
}

.article-breadcrumb a:hover {
  color: #e9b551;
}

.article-header__meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem 1.5rem;
}

.article-header--news .eyebrow {
  color: #e9b551;
}

.article-header--news .article-meta {
  margin: 0;
  padding: 1rem 0 0;
  border-left: 0;
  color: #c8c4bb;
  font-size: clamp(1rem, 1.55vw, 1.18rem);
  letter-spacing: 0.05em;
}

.article-page .article-header h1 {
  max-width: none;
  margin-top: 1rem;
  color: #f7f4ec;
  font-size: clamp(1.9rem, 3.7vw, 3.4rem);
  font-weight: 550;
  line-height: 1.3;
  letter-spacing: -0.025em;
  overflow-wrap: anywhere;
  hyphens: none;
}

.site-language-ja .article-page .article-header h1 {
  font-size: clamp(1.65rem, 3.2vw, 2.4rem);
  line-height: 1.5;
  letter-spacing: 0;
}

.article-layout {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: start;
  padding-block: clamp(2rem, 4vw, 3rem) clamp(2.5rem, 4vw, 3.5rem);
}

.article-body {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
}

.article-sidebar {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
  align-self: stretch;
}

.article-sidebar__inner {
  position: sticky;
  top: 8rem;
  padding-top: 1.25rem;
  border-top: 2px solid #e9b551;
}

.article-sidebar__label {
  color: var(--color-ink-soft);
  font-size: 1.35rem;
  font-weight: 550;
  line-height: 1.3;
}

.article-sidebar__all {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 1.25rem;
  padding-block: 0.8rem;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-ink-soft);
  font-size: 0.9rem;
  text-decoration: none;
}

.article-sidebar__recent {
  margin-top: 2.5rem;
}

.article-sidebar__recent h2 {
  color: var(--color-muted);
  font-size: 0.8rem;
  font-weight: 500;
}

.article-sidebar__recent ul {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
}

.article-sidebar__recent a {
  display: grid;
  gap: 0.4rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--color-line);
  color: var(--color-ink-soft);
  font-size: 0.9rem;
  line-height: 1.65;
  text-decoration: none;
}

.article-sidebar__recent time {
  color: var(--color-muted);
  font-size: 0.72rem;
  letter-spacing: 0.04em;
  font-variant-numeric: tabular-nums;
}

.article-sidebar a:hover,
.article-sidebar a[aria-current="page"] {
  color: var(--color-accent-ink);
}

@media (max-width: 1023px) {
  .article-layout {
    grid-template-columns: minmax(0, 1fr);
    max-width: 68rem;
    gap: 3rem;
  }

  .article-body,
  .article-sidebar {
    grid-column: 1;
    grid-row: auto;
  }

  .article-sidebar {
    width: 100%;
    max-width: 44rem;
    margin-inline: auto;
  }

  .article-sidebar__inner {
    position: static;
  }
}

.article-page .article-featured-image {
  margin-bottom: clamp(1.5rem, 3vw, 2.25rem);
}

.article-page .article-featured-image img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.article-page .entry-content {
  width: calc(100% - clamp(1rem, 3vw, 3rem));
  max-width: none;
  margin-inline: auto;
  color: var(--color-ink-soft);
  font-size: clamp(1rem, 1.2vw, 1.1rem);
  line-height: 1.85;
  overflow-wrap: anywhere;
}

.article-page .entry-content > p + p {
  margin-top: 1em;
}

.article-page .entry-content > :first-child {
  margin-top: 0;
}

.article-page .entry-content :where(h2, h3, h4) {
  line-height: 1.5;
  letter-spacing: -0.015em;
  font-weight: 600;
}

.article-page .entry-content h2 {
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--color-line);
  font-size: clamp(1.35rem, 2.5vw, 1.8rem);
}

.article-page .entry-content h3 {
  font-size: clamp(1.15rem, 2vw, 1.4rem);
}

.article-page .entry-content li + li {
  margin-top: 0.45rem;
}

.article-page .entry-content figcaption {
  margin-top: 0.75rem;
  color: var(--color-muted);
  font-size: 0.85rem;
  line-height: 1.6;
}

.article-page .entry-content pre {
  padding: 1.25rem;
  background: var(--color-surface);
  font-size: 0.85em;
  line-height: 1.7;
}

.article-page .entry-content :where(th, td) {
  padding: 0.75rem 1rem;
  border: 1px solid var(--color-line);
}

.article-page .entry-content th {
  background: var(--color-surface);
}

.article-page .article-footer {
  width: calc(100% - clamp(1rem, 3vw, 3rem));
  max-width: none;
  margin-inline: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.25rem 2rem;
  margin-top: clamp(2rem, 3vw, 2.5rem);
  padding-top: 1.1rem;
}

.article-footer__brand {
  color: var(--color-muted);
  font-size: 0.75rem;
  letter-spacing: 0.02em;
}

.article-page .post-pages {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
}

@media (max-width: 599px) {
  .article-breadcrumb {
    margin-bottom: 2rem;
  }

  .article-header--news .article-meta {
    padding-left: 0;
  }

  .article-page .article-header h1 {
    margin-top: 1.1rem;
  }

  .article-page .article-footer {
    align-items: flex-start;
    flex-direction: column;
  }
}


@media (max-width: 767px) {
  .news-archive .news-row--archive {
    grid-template-columns: minmax(0, 1fr) 2.25rem;
    gap: 0.6rem 1rem;
    min-height: 0;
    padding-block: 1.5rem;
  }

  .news-row--archive .news-row__meta {
    grid-column: 1;
  }

  .news-row--archive .news-row__arrow {
    width: 2.25rem;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: center;
  }
}

@media (max-width: 599px) {
  .article-header--news {
    min-height: 19rem;
    padding-block: 2.5rem 1.5rem;
  }

  .article-header__inner::after {
    margin-top: 2rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  .has-js .reveal {
    opacity: 1;
    transform: none;
  }
}

@media print {
  .site-header,
  .site-footer,
  .contact-cta,
  .menu-toggle,
  .button-row {
    display: none !important;
  }

  body {
    color: #000;
    background: #fff;
    font-size: 11pt;
  }

  .section,
  .page-hero {
    padding-block: 1.5rem;
  }

  a {
    text-decoration: underline;
  }
}

/* Give introduction copy enough room on landscape tablets and small laptops. */
@media (min-width: 960px) and (max-width: 1199px) {
  .introduction__layout {
    grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
    gap: clamp(2rem, 4.5vw, 3.25rem);
  }

  .introduction__copy .prose--lead {
    margin-top: 1.5rem;
    font-size: 1.05rem;
    line-height: 1.85;
  }

  .introduction__link {
    margin-top: 1.5rem;
  }
}

/* Keep the mobile philosophy heading at the same scale as other section titles. */
@media (max-width: 767px) {
  .philosophy-preview h2 {
    font-size: var(--size-h2);
    white-space: normal;
    text-wrap: wrap;
  }

  .philosophy-preview h2 br {
    display: initial;
  }
}

/* Keep homepage section headings just above the contact title in scale. */
.site-home {
  --home-section-title-size: calc(clamp(1.85rem, 3.5vw, 3rem) + 2px);
}

.site-home.site-language-ja {
  --home-section-title-size: calc(clamp(1.85rem, 2.8vw, 2.6rem) + 2px);
}

.site-home .services-preview .section-heading h2,
.site-home .news-preview .section-heading h2 {
  font-size: var(--home-section-title-size);
}

.site-home .philosophy-preview h2 {
  font-size: var(--size-h2);
  white-space: normal;
}

/* English Services: readable type and line breaks suited to the available width. */
.site-language-en .page-hero--services ~ .services-visual .services-visual__copy {
  min-width: 0;
}

.site-language-en .page-hero--services ~ .services-visual .services-visual__copy h2 {
  max-width: none;
  font-size: clamp(1.875rem, 3.5vw, 3.125rem);
  line-height: 1.3;
  text-wrap: wrap;
  hyphens: none;
  overflow-wrap: normal;
}

.site-language-en .services-visual__english-line {
  display: block;
  white-space: normal;
}

@media (min-width: 601px) and (max-width: 960px) {
  .site-language-en .services-visual__english-line {
    display: inline;
  }
}

@media (min-width: 961px) {
  .site-language-en .page-hero--services ~ .services-visual .services-visual__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2.5rem, 5vw, 4.5rem);
  }

  .site-language-en .page-hero--services ~ .services-visual .services-visual__image {
    aspect-ratio: 8 / 5;
  }

  .site-language-en .page-hero--services ~ .services-visual .services-visual__copy {
    width: 100%;
    max-width: none;
  }

  .site-language-en .page-hero--services ~ .services-visual .services-visual__copy > p:last-child {
    max-width: 30rem;
  }
}

/* Gradually reduce contact field height as the viewport narrows. */
.contact-section .wpcf7 :where(input[type="text"], input[type="email"], select) {
  height: clamp(2.75rem, calc(2.5rem + 1vw), 3.25rem);
  min-height: 2.75rem;
  padding-block: clamp(0.6rem, calc(0.4rem + 0.5vw), 0.78rem);
  padding-inline: 0.9rem;
}

.contact-section .wpcf7 textarea {
  padding-block: clamp(0.6rem, calc(0.4rem + 0.5vw), 0.78rem);
}


/* Keep the inquiry guide in view while the longer form moves with the page. */
@media (min-width: 768px) {
  .contact-layout {
    align-items: start;
    gap: clamp(2.5rem, 6vw, 6rem);
  }

  .contact-layout .contact-aside {
    position: sticky;
    top: 6.5rem;
    align-self: start;
  }

  .admin-bar .contact-layout .contact-aside {
    top: calc(6.5rem + 32px);
  }

  .contact-form-column {
    min-width: 0;
  }

  .contact-aside .contact-topics li {
    padding-block: 0.85rem;
  }

  .contact-aside .contact-aside__note {
    margin-top: 1.5rem;
    line-height: 1.8;
  }
}

@media (min-width: 768px) and (max-width: 782px) {
  .admin-bar .contact-layout .contact-aside {
    top: calc(6.5rem + 46px);
  }
}

@media (max-width: 599px) {
  .site-language-ja .wpcf7 input[type="submit"] {
    min-width: 0;
  }
}

/* Align the mobile submit button with the full width of the form fields. */
@media (max-width: 767px) {
  .contact-section .wpcf7 .form-actions {
    flex-wrap: wrap;
    width: 100%;
  }

  .contact-section .wpcf7 .form-actions > p,
  .contact-section .wpcf7 p:has(> input[type="submit"]) {
    flex: 0 0 100%;
    width: 100%;
  }

  .contact-section .wpcf7 input[type="submit"] {
    display: block;
    width: 100%;
    min-width: 0;
    text-align: center;
  }

  .contact-section .wpcf7 .wpcf7-spinner {
    display: block;
    margin: 0.75rem auto 0;
  }
}

/* Keep the mobile footer compact and aligned to one clear left edge. */
@media (max-width: 767px) {
  .site-footer {
    padding-block: 2.75rem 1.75rem;
  }

  .site-footer__top {
    gap: 2rem;
    padding-bottom: 2rem;
  }

  .site-footer__statement {
    margin: 0.75rem 0 0;
    font-size: 0.95rem;
    line-height: 1.5;
  }

  .footer-navigation {
    display: grid;
    width: 100%;
    max-width: none;
    gap: 1rem;
    justify-content: stretch;
  }

  .site-footer .footer-menu {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.25rem 1.5rem;
  }

  .site-footer .footer-menu a {
    min-height: 2.75rem;
    font-size: 0.875rem;
  }

  .site-footer__bottom {
    gap: 0.75rem;
    padding-top: 1.5rem;
  }
}

