/* ==========================================================================
   EMBER Inc. Corporate Site - Base Stylesheet
   Design concept: White (base) x Charcoal (text) x Ember Orange (accent)
   Visual language: generous whitespace, thin rules and numerals instead of
   boxes/cards, restrained motion. Boxed "card" UI is intentionally avoided.
   ========================================================================== */

:root {
  /* Color palette */
  --color-bg: #ffffff;
  --color-bg-soft: #faf8f6;
  --color-charcoal: #1e1c1b;
  --color-text: #2a2827;
  --color-text-secondary: #6b6764;
  --color-border: #e7e3df;
  --color-ember: #bf5b30;
  --color-ember-dark: #9c4522;
  --color-ember-soft: #f4e3d7;
  --color-ember-tint: #fbf1ea;

  /* Typography */
  --font-serif: "Noto Serif JP", "Shippori Mincho", serif;
  --font-sans: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Yu Gothic", sans-serif;

  /* Layout */
  --container-width: 1160px;
  --header-height: 108px;
  --radius: 2px;
  --transition-base: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* --------------------------------------------------------------------------
   Reset & Base
   -------------------------------------------------------------------------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--color-text);
  background-color: var(--color-bg);
  line-height: 1.9;
  font-size: 16px;
  letter-spacing: 0.01em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

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

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

h1, h2, h3, h4 {
  font-family: var(--font-serif);
  font-weight: 600;
  color: var(--color-charcoal);
  margin: 0;
  line-height: 1.55;
  letter-spacing: 0.02em;
}

p {
  margin: 0;
}

/* Visually hidden but still readable by screen readers (used to keep the
   h1 -> h2 -> h3 heading structure correct without adding visible text) */
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.container {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 24px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* --------------------------------------------------------------------------
   Section Utilities
   -------------------------------------------------------------------------- */
.section {
  padding: 144px 0;
}

.section--soft {
  background-color: var(--color-bg-soft);
}

.section--dark {
  background-color: var(--color-charcoal);
  color: #f2f0ee;
}

.section--dark h2,
.section--dark h3 {
  color: #ffffff;
}

.section-head {
  max-width: 620px;
  margin: 0 auto 84px;
  text-align: center;
}

/* Eyebrow "kicker": a short rule + tracked-out label, used above every
   heading. This replaces boxed badges/pills used elsewhere on the web. */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-sans);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.28em;
  color: var(--color-ember);
  text-transform: uppercase;
  margin-bottom: 22px;
}

.eyebrow::before {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background-color: var(--color-ember);
}

.section-head h2 {
  font-size: clamp(1.7rem, 3vw, 2.3rem);
  letter-spacing: 0.06em;
}

.section-lead {
  margin-top: 22px;
  color: var(--color-text-secondary);
  font-size: 0.98rem;
  line-height: 2;
}

.section--dark .section-lead {
  color: #cfc9c4;
}

/* --------------------------------------------------------------------------
   Buttons &amp; links
   -------------------------------------------------------------------------- */

/* Primary action (reserved for contact / conversion moments only) */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 40px;
  font-size: 13px;
  letter-spacing: 0.18em;
  border-radius: var(--radius);
  border: 1px solid var(--color-charcoal);
  color: var(--color-charcoal);
  background: transparent;
  transition: background-color var(--transition-base), color var(--transition-base), border-color var(--transition-base);
}

.btn:hover {
  background-color: var(--color-ember);
  border-color: var(--color-ember);
  color: #ffffff;
}

.btn--primary {
  background-color: var(--color-ember);
  border-color: var(--color-ember);
  color: #ffffff;
}

.btn--primary:hover {
  background-color: var(--color-ember-dark);
  border-color: var(--color-ember-dark);
}

.btn--ghost-light {
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.btn--ghost-light:hover {
  background-color: var(--color-ember);
  border-color: var(--color-ember);
}

.btn-arrow {
  transition: transform var(--transition-base);
}

.btn:hover .btn-arrow,
.text-link:hover .btn-arrow {
  transform: translateX(4px);
}

/* Secondary / in-page navigation link — quiet underline, no box */
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  letter-spacing: 0.12em;
  color: var(--color-charcoal);
  padding-bottom: 5px;
  border-bottom: 1px solid var(--color-border);
  transition: color var(--transition-base), border-color var(--transition-base);
}

.text-link:hover {
  color: var(--color-ember-dark);
  border-color: var(--color-ember);
}

/* --------------------------------------------------------------------------
   Header / Navigation
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background-color: rgba(255, 255, 255, 0.94);
  backdrop-filter: saturate(160%) blur(8px);
  border-bottom: 1px solid transparent;
  z-index: 1000;
  transition: border-color var(--transition-base);
}

.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
}

.header-inner {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: inline-flex;
  align-items: center;
}

.logo-image {
  height: 84px;
  width: auto;
  display: block;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 44px;
}

.nav-link {
  position: relative;
  font-size: 12.5px;
  letter-spacing: 0.16em;
  color: var(--color-text);
  padding: 6px 0;
}

.nav-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background-color: var(--color-ember);
  transition: width var(--transition-base);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 100%;
}

.nav-link.active {
  color: var(--color-ember-dark);
}

/* CONTACT is emphasised with colour + a permanent underline, not a boxed pill */
.nav-link--cta {
  color: var(--color-ember-dark);
  border-bottom: 1px solid var(--color-ember);
  padding-bottom: 6px;
}

.nav-link--cta::after {
  display: none;
}

.nav-link--cta:hover {
  color: var(--color-ember);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  padding: 0;
}

.nav-toggle span {
  display: block;
  width: 100%;
  height: 1px;
  background-color: var(--color-charcoal);
  transition: transform var(--transition-base), opacity var(--transition-base);
}

.nav-toggle[aria-expanded="true"] span:nth-child(1) {
  transform: translateY(6px) rotate(45deg);
}

.nav-toggle[aria-expanded="true"] span:nth-child(2) {
  opacity: 0;
}

.nav-toggle[aria-expanded="true"] span:nth-child(3) {
  transform: translateY(-6px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   Hero
   -------------------------------------------------------------------------- */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: var(--header-height);
  position: relative;
  text-align: center;
  background-color: #ffffff;
}

.hero-inner {
  max-width: 720px;
  padding: 0 24px;
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-size: 11px;
  letter-spacing: 0.32em;
  color: var(--color-ember);
  text-transform: uppercase;
  margin-bottom: 40px;
}

.hero-eyebrow::before,
.hero-eyebrow::after {
  content: "";
  display: block;
  width: 22px;
  height: 1px;
  background-color: var(--color-ember);
}

.hero-logo {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(3.4rem, 11vw, 6.6rem);
  letter-spacing: 0.05em;
  color: var(--color-charcoal);
  margin-bottom: 28px;
}

.hero-logo .dot {
  color: var(--color-ember);
  font-weight: 700;
}

.hero-mark-line {
  display: block;
  width: 34px;
  height: 1px;
  margin: 0 auto 32px;
  background-color: var(--color-ember);
}

.hero-copy {
  font-size: clamp(1.05rem, 1.6vw, 1.26rem);
  font-family: var(--font-serif);
  font-weight: 500;
  color: var(--color-text);
  letter-spacing: 0.05em;
  margin-bottom: 30px;
}

.hero-sub {
  color: var(--color-text-secondary);
  font-size: 0.94rem;
  line-height: 1.95;
  letter-spacing: 0.02em;
  max-width: 460px;
  margin: 0 auto;
}

.hero-scroll {
  position: absolute;
  bottom: 44px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  font-size: 10px;
  letter-spacing: 0.24em;
  color: var(--color-text-secondary);
}

.hero-scroll-line {
  width: 1px;
  height: 38px;
  background-color: var(--color-border);
  position: relative;
  overflow: hidden;
}

.hero-scroll-line::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 12px;
  background-color: var(--color-ember);
  animation: scroll-drop 2.6s ease-in-out infinite;
}

@keyframes scroll-drop {
  0% { transform: translateY(-12px); }
  60% { transform: translateY(38px); }
  100% { transform: translateY(38px); }
}

/* --------------------------------------------------------------------------
   Fade-in-on-scroll
   -------------------------------------------------------------------------- */
.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.9s ease, transform 0.9s ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* --------------------------------------------------------------------------
   About teaser
   -------------------------------------------------------------------------- */
.about-teaser .about-lead {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 2.1;
  color: var(--color-text);
}

.about-teaser .about-lead strong {
  color: var(--color-ember-dark);
  font-weight: 600;
}

.about-link {
  margin-top: 48px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   Service — Core Business "pillars" (large, scroll-paced presentation for
   the 5 core businesses)
   -------------------------------------------------------------------------- */
.pillars {
  border-top: 1px solid var(--color-border);
  max-width: 880px;
  margin: 0 auto;
}

.pillar {
  padding: 100px 0;
  border-bottom: 1px solid var(--color-border);
}

.pillar-num {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.5rem, 2vw, 2rem);
  line-height: 1;
  color: var(--color-ember);
  margin-bottom: 24px;
}

.pillar-num::before {
  content: "";
  display: block;
  width: 28px;
  height: 1px;
  background-color: var(--color-ember);
}

.pillar-label {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.75rem, 4.5vw, 3.25rem);
  line-height: 1.24;
  letter-spacing: 0.03em;
  color: var(--color-charcoal);
  text-transform: uppercase;
  max-width: 780px;
  margin-bottom: 24px;
}

.pillar-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.2rem, 2vw, 1.55rem);
  letter-spacing: 0.03em;
  color: var(--color-charcoal);
  margin-bottom: 32px;
}

.pillar-text {
  font-size: 1rem;
  line-height: 2;
  color: var(--color-text-secondary);
  max-width: 640px;
  margin-bottom: 22px;
}

.pillar-tags {
  font-size: 12px;
  letter-spacing: 0.06em;
  color: var(--color-ember-dark);
  max-width: 640px;
}

/* "対応領域" scope list (01 / 02 only) */
.pillar-scope {
  margin-top: 22px;
}

.pillar-scope-label {
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  color: var(--color-text-secondary);
  margin-bottom: 8px;
}

/* 03-05: same visual language as 01/02, deliberately one tier quieter */
.pillar--minor .pillar-label {
  font-size: clamp(1.3rem, 3vw, 2rem);
}

.pillar--minor .pillar-title {
  font-size: clamp(1.05rem, 1.6vw, 1.25rem);
  margin-bottom: 22px;
}

.pillar--minor .pillar-text {
  font-size: 0.93rem;
  line-height: 1.9;
}

@media (max-width: 768px) {
  .pillar {
    padding: 64px 0;
  }

  .pillar-num {
    margin-bottom: 18px;
  }

  .pillar-label {
    font-size: clamp(1.5rem, 7vw, 2rem);
    line-height: 1.3;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
  }

  .pillar-title {
    font-size: 1.1rem;
    margin-bottom: 22px;
  }

  .pillar-text {
    margin-bottom: 18px;
  }

  .pillar--minor {
    padding: 48px 0;
  }

  .pillar--minor .pillar-label {
    font-size: clamp(1.3rem, 6vw, 1.6rem);
  }

  .pillar--minor .pillar-title {
    font-size: 1rem;
    margin-bottom: 16px;
  }
}

/* --------------------------------------------------------------------------
   Service — page-intro / closing statements (large centred serif line,
   reused for the page-hero intro and the "Our Approach" closing section)
   -------------------------------------------------------------------------- */
.service-statement {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.35rem, 2.8vw, 1.75rem);
  line-height: 1.6;
  letter-spacing: 0.02em;
  color: var(--color-charcoal);
  text-align: center;
  max-width: 640px;
  margin: 24px auto 0;
}

.page-hero .service-statement {
  margin-top: 28px;
}

#approach .service-statement {
  margin-top: 0;
  margin-bottom: 36px;
}

.service-steps {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: center;
  gap: 10px 16px;
  max-width: 760px;
  margin: 0 auto 36px;
  font-family: var(--font-serif);
  font-size: clamp(0.95rem, 1.6vw, 1.1rem);
  color: var(--color-charcoal);
}

.service-steps-arrow {
  color: var(--color-ember);
  font-size: 0.9em;
}

@media (max-width: 768px) {
  .service-statement {
    font-size: clamp(1.2rem, 5.5vw, 1.5rem);
    line-height: 1.55;
  }

  .service-steps {
    font-size: 0.95rem;
    gap: 8px 12px;
    margin-bottom: 28px;
  }
}

.service-link {
  margin-top: 56px;
  text-align: center;
}

/* --------------------------------------------------------------------------
   TOP — Service preview (condensed echo of the SERVICE page's pillars:
   number + large English label + Japanese title only, no body copy.
   Scoped to the TOP page only — does not touch the SERVICE page's
   .pillar-* rules.)
   -------------------------------------------------------------------------- */
.service-preview {
  border-top: 1px solid var(--color-border);
  max-width: 760px;
  margin: 0 auto;
}

.service-preview-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 24px;
  align-items: baseline;
  padding: 32px 0;
  border-bottom: 1px solid var(--color-border);
}

.service-preview-num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.15rem;
  color: var(--color-ember);
  line-height: 1;
}

.service-preview-label {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.05rem, 2.6vw, 1.6rem);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: var(--color-charcoal);
  margin-bottom: 8px;
}

.service-preview-title {
  font-family: var(--font-sans);
  font-size: 0.9rem;
  color: var(--color-text-secondary);
}

@media (max-width: 480px) {
  .service-preview-item {
    grid-template-columns: 32px 1fr;
    gap: 16px;
  }
}

/* --------------------------------------------------------------------------
   Company teaser
   -------------------------------------------------------------------------- */
.company-teaser-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}

.company-teaser-text .eyebrow {
  margin-bottom: 22px;
}

.company-teaser-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  margin-bottom: 26px;
}

.company-teaser-text p:not(.eyebrow) {
  color: var(--color-text-secondary);
  line-height: 2;
  margin-bottom: 36px;
}

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

.company-fact-list div {
  display: flex;
  gap: 24px;
  padding: 26px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.9rem;
}

.company-fact-list dt {
  width: 120px;
  flex-shrink: 0;
  color: var(--color-text-secondary);
  letter-spacing: 0.1em;
  font-size: 0.78rem;
  padding-top: 2px;
}

.company-fact-list dd {
  margin: 0;
  color: var(--color-text);
  line-height: 1.9;
}

/* --------------------------------------------------------------------------
   Company page — intro statement
   (scoped to company.html only; does not affect the shared .company-fact-list
   or the TOP-page company teaser that also uses that class)
   -------------------------------------------------------------------------- */
.company-statement {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.15rem, 2.4vw, 1.45rem);
  line-height: 1.6;
  color: var(--color-charcoal);
  text-align: center;
  max-width: 560px;
  margin: 24px auto 0;
}

/* --------------------------------------------------------------------------
   Company page hero — narrow-phone line-break fix
   (scoped to body.company-page only; does not touch .hero-sub-br,
   .company-statement or .lead-text on any other page)

   Below 480px, the statement and lead paragraph use fixed, hand-placed
   line breaks instead of relying on the browser to auto-wrap. Auto-wrap
   (with or without text-wrap: balance) depends on exactly which font is
   painting the text at layout time — the intended web font (Noto Sans
   JP) once it has loaded, or a fallback (Hiragino Sans, Yu Gothic, the
   platform's default CJK font, etc.) while it is still loading, or on a
   browser that doesn't support text-wrap: balance at all — and
   different fonts measure Japanese characters slightly differently, so
   the exact same CSS can land its automatic line break mid-word on one
   phone/browser and not on another. This was confirmed directly: swapping
   in Hiragino Sans / Hiragino Kaku Gothic ProN / generic sans-serif
   reproduced the original mid-word splits even with the previous
   fine-tuned max-width in place.

   Fixed <br> tags remove that dependency entirely — the line breaks are
   identical no matter which font actually renders. .hero-sub-br (the
   PC/tablet forced breaks) is hidden here as before; .company-mobile-br
   marks the additional break points used only below 480px. Both are
   plain presentational <br> elements in the markup — the sentence text
   itself is unchanged.

   max-width is intentionally left unset here (the base rule's 560px /
   720px is already far wider than any phone viewport), and text-wrap:
   balance is dropped — both were only needed to influence where the
   browser's *automatic* wrapping fell, which fixed <br> no longer needs.
   Each fixed line was measured to stay well under the narrowest target
   container (~327px at 375px) across Noto Sans JP and its fallbacks, so
   none of them wraps again on its own.
   -------------------------------------------------------------------------- */
.company-mobile-br {
  display: none;
}

@media (max-width: 480px) {
  .company-page .page-hero .hero-sub-br {
    display: none;
  }

  .company-page .page-hero .company-mobile-br {
    display: inline;
  }

  .company-page .company-statement {
    font-size: clamp(1.05rem, 5.6vw, 1.3rem);
    line-height: 1.65;
    letter-spacing: 0.015em;
    word-break: normal;
    overflow-wrap: normal;
    line-break: strict;
  }

  .company-page .page-hero .lead-text {
    font-size: 0.95rem;
    line-height: 1.9;
    letter-spacing: 0.01em;
    word-break: normal;
    overflow-wrap: normal;
    line-break: strict;
  }
}

/* --------------------------------------------------------------------------
   Contact teaser
   -------------------------------------------------------------------------- */
.contact-teaser {
  text-align: center;
}

.contact-teaser .eyebrow {
  color: #e2926a;
}

.contact-teaser .eyebrow::before {
  background-color: #e2926a;
}

.contact-teaser h2 {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  margin-bottom: 26px;
}

.contact-teaser p:not(.eyebrow) {
  color: #cfc9c4;
  line-height: 2;
  max-width: 480px;
  margin: 0 auto 44px;
}

/* --------------------------------------------------------------------------
   Page header (for sub pages) — plain white, separated by a thin rule
   -------------------------------------------------------------------------- */
.page-hero {
  padding: calc(var(--header-height) + 108px) 0 100px;
  text-align: center;
  background-color: #ffffff;
  border-bottom: 1px solid var(--color-border);
}

.page-hero .eyebrow {
  margin-bottom: 24px;
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.7rem);
  font-weight: 500;
  letter-spacing: 0.08em;
}

.page-hero .lead-text {
  margin-top: 32px;
}

/* Generic centered lead paragraph (used on sub pages) */
.lead-text {
  max-width: 720px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.03rem;
  line-height: 2.05;
  color: var(--color-text);
}

.lead-text strong {
  color: var(--color-ember-dark);
  font-weight: 600;
}

/* Numbered business-purpose list (Company page) */
.business-purpose-list {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 780px;
  margin: 0 auto;
  border-top: 1px solid var(--color-border);
}

.business-purpose-list li {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 20px;
  align-items: baseline;
  padding: 26px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.94rem;
  color: var(--color-text);
  line-height: 1.9;
}

.business-purpose-list .num {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.25rem;
  color: var(--color-ember);
}

/* --------------------------------------------------------------------------
   About — statement sections (Philosophy / Mission / Why Ember / Message)
   Centred, quote-like typography. Scoped entirely to about.html.
   -------------------------------------------------------------------------- */
.about-page .section {
  padding: 112px 0;
}

.about-statement-section .section-head {
  margin-bottom: 44px;
}

.about-statement {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.6rem, 4vw, 2.5rem);
  line-height: 1.5;
  letter-spacing: 0.02em;
  color: var(--color-charcoal);
  text-align: center;
  max-width: 720px;
  margin: 0 auto 50px;
}

.about-body {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}

.about-body p {
  font-size: 1rem;
  line-height: 1.9;
  color: var(--color-text-secondary);
  margin-bottom: 25px;
}

.about-body p:last-child {
  margin-bottom: 0;
}

.section--dark .about-statement {
  color: #ffffff;
}

.section--dark .about-body p {
  color: #cfc9c4;
}

/* --------------------------------------------------------------------------
   About — Values (numbered list, same visual language as the SERVICE
   pillars: thin line + number + heading, without inventing English labels
   that were never provided)
   -------------------------------------------------------------------------- */
.value-list {
  border-top: 1px solid var(--color-border);
  max-width: 780px;
  margin: 0 auto;
}

.value-item {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 32px;
  padding: 38px 0;
  border-bottom: 1px solid var(--color-border);
}

.value-num {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: 1.3rem;
  color: var(--color-ember);
  line-height: 1;
}

.value-num::before {
  content: "";
  display: block;
  width: 20px;
  height: 1px;
  background-color: var(--color-ember);
}

.value-title {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: clamp(1.15rem, 2.2vw, 1.4rem);
  letter-spacing: 0.02em;
  color: var(--color-charcoal);
  margin-bottom: 14px;
}

.value-text {
  font-size: 0.95rem;
  line-height: 1.9;
  color: var(--color-text-secondary);
}

/* --------------------------------------------------------------------------
   About — representative signature (clearly separated from body copy)
   -------------------------------------------------------------------------- */
.about-signature {
  text-align: center;
  margin-top: 44px;
  padding-top: 25px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.about-signature-company {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  color: #cfc9c4;
  margin-bottom: 10px;
}

.about-signature-name {
  font-family: var(--font-serif);
  font-weight: 600;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   Contact — page intro subheading &amp; notice (scoped to contact.html only)
   No inquiry form is published on this site: EMBER is run as a corporate
   site, and enquiries are handled individually rather than collected at
   scale, so the page states that plainly instead of offering a form.
   -------------------------------------------------------------------------- */

/* Tighten the gap between the intro copy and the notice below (both the
   page-hero's own bottom padding and the notice section's top padding
   contribute to it — overridden here by ID/scoped selectors so no shared
   rule is touched). */
.contact-page .page-hero {
  padding-bottom: 55px;
}

#contact-notice-section {
  padding-top: 80px;
}

@media (max-width: 768px) {
  .contact-page .page-hero {
    padding-bottom: 44px;
  }

  #contact-notice-section {
    padding-top: 56px;
  }
}

.contact-subheading {
  font-family: var(--font-serif);
  font-weight: 500;
  font-size: clamp(1.3rem, 2.6vw, 1.75rem);
  color: var(--color-charcoal);
  margin-top: 24px;
  margin-bottom: 20px;
}

.contact-notice {
  max-width: 620px;
  margin: 0 auto;
  text-align: center;
  font-size: 1.05rem;
  line-height: 2.2;
  color: var(--color-text);
}

/* --------------------------------------------------------------------------
   Footer
   -------------------------------------------------------------------------- */
.site-footer {
  background-color: var(--color-charcoal);
  color: #cfc9c4;
  padding-top: 88px;
  position: relative;
}

.site-footer::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: var(--color-ember);
  opacity: 0.6;
}

.footer-inner {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 32px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo {
  font-family: var(--font-serif);
  font-size: 1.4rem;
  color: #ffffff;
  letter-spacing: 0.14em;
  margin-bottom: 14px;
}

.footer-tagline {
  font-size: 0.85rem;
  color: #a39d97;
}

.footer-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}

.footer-nav a {
  font-size: 12.5px;
  letter-spacing: 0.12em;
  color: #cfc9c4;
  transition: color var(--transition-base);
}

.footer-nav a:hover {
  color: var(--color-ember);
}

.footer-bottom {
  padding: 26px 0;
  font-size: 12px;
  color: #8a847e;
  text-align: center;
  letter-spacing: 0.04em;
}

/* --------------------------------------------------------------------------
   Responsive
   -------------------------------------------------------------------------- */
@media (max-width: 900px) {
  .company-teaser-inner {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  :root {
    --header-height: 92px;
  }

  .section {
    padding: 88px 0;
  }

  .site-nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    transform: translateY(-8px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity var(--transition-base), transform var(--transition-base), visibility var(--transition-base);
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    gap: 32px;
  }

  .nav-link {
    font-size: 15px;
  }

  .nav-toggle {
    display: flex;
  }

  .logo-image {
    height: 70px;
  }

  .company-fact-list div {
    flex-direction: column;
    gap: 6px;
  }

  .company-fact-list dt {
    width: auto;
  }

  .about-page .section {
    padding: 72px 0;
  }

  .about-statement-section .section-head {
    margin-bottom: 34px;
  }

  .about-statement {
    font-size: clamp(1.4rem, 7vw, 1.9rem);
    line-height: 1.5;
    margin-bottom: 36px;
  }

  .about-body {
    max-width: 100%;
  }

  .about-body p {
    font-size: 0.95rem;
    line-height: 1.85;
    margin-bottom: 22px;
  }

  .value-item {
    grid-template-columns: 1fr;
    gap: 14px;
    padding: 30px 0;
  }

  .about-signature {
    margin-top: 36px;
    padding-top: 22px;
  }
}

@media (max-width: 480px) {
  .btn {
    padding: 14px 28px;
    font-size: 12px;
  }

  .hero-eyebrow {
    letter-spacing: 0.2em;
  }
}

/* --------------------------------------------------------------------------
   Privacy Policy page — hero title
   (scoped to privacy.html only; "プライバシーポリシー" is longer than the
   other page titles and wraps to an orphaned single character at narrow
   widths at the shared .page-hero h1 size, so it is sized down slightly
   here rather than changing the shared rule used by every other page)
   -------------------------------------------------------------------------- */
@media (max-width: 480px) {
  .privacy-page .page-hero h1 {
    font-size: 1.65rem;
  }
}

/* --------------------------------------------------------------------------
   Photo accent band
   A single full-bleed image used as a quiet visual pause between sections —
   not a hero, not a card. Desaturated toward the site's white/charcoal/grey
   palette so it never competes with the ember accent colour. Used once on
   about.html and once on service.html.
   -------------------------------------------------------------------------- */
.photo-band {
  position: relative;
  width: 100%;
  height: 50vh;
  min-height: 320px;
  max-height: 520px;
  overflow: hidden;
  background-color: var(--color-charcoal);
}

.photo-band img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: grayscale(35%) contrast(1.05) brightness(1.02);
}

.photo-band::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(30, 28, 27, 0.12) 0%, rgba(30, 28, 27, 0) 32%);
  pointer-events: none;
}

.photo-band::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 64px;
  height: 2px;
  background-color: var(--color-ember);
}

@media (max-width: 768px) {
  .photo-band {
    height: 38vh;
    min-height: 220px;
    max-height: 360px;
  }
}
