:root {
  --bg: #101210;
  --bg-alt: #171916;
  --panel: #1a1c18;
  --ink: #f2ede1;
  --ink-soft: rgba(242, 237, 225, 0.68);
  --ink-faint: rgba(242, 237, 225, 0.45);
  --accent: #c9974a;
  --pine: #7c9268;
  --line: rgba(242, 237, 225, 0.14);
  --line-strong: rgba(242, 237, 225, 0.28);
  --img-fill: #1e211c;
  --img-line: rgba(242, 237, 225, 0.22);
}

* { box-sizing: border-box; }

.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;
}

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", "Noto Sans JP", system-ui, sans-serif;
  line-height: 1.9;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: "Shippori Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-weight: 500;
  margin: 0;
  text-wrap: balance;
}

.wrap {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- image placeholder ---------- */
.imgph {
  background: var(--img-fill);
  border: 1px dashed var(--img-line);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--ink-faint);
  font-size: 13px;
  text-align: center;
  overflow: hidden;
}
.imgph::before, .imgph::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(to bottom right, transparent calc(50% - 0.5px), var(--img-line) calc(50% - 0.5px), var(--img-line) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}
.imgph::after {
  background: linear-gradient(to top right, transparent calc(50% - 0.5px), var(--img-line) calc(50% - 0.5px), var(--img-line) calc(50% + 0.5px), transparent calc(50% + 0.5px));
}
.imgph span {
  position: relative; z-index: 1;
  background: var(--img-fill);
  padding: 4px 12px;
  border-radius: 2px;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* ---------- header / nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(16, 18, 16, 0.88);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--line);
}
.site-header .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--ink);
}
.logo-mark { width: 32px; height: auto; display: block; }
.logo-word {
  font-family: "Cormorant Garamond", "Shippori Mincho", serif;
  font-style: italic;
  font-size: 23px;
  letter-spacing: 0.02em;
}
.nav-links {
  display: flex;
  gap: 32px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink-soft);
  text-decoration: none;
  font-size: 12px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}
.nav-links a:hover { color: var(--ink); }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  background: var(--ink);
  margin: 5px 0;
}

/* ---------- hero ---------- */
.hero { border-bottom: 1px solid var(--line); }
.hero-photo {
  height: 92vh;
  min-height: 520px;
  border: none;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 0 0 90px;
}
.hero-photo::before {
  background: none;
  background-image:
    linear-gradient(180deg, rgba(10, 10, 8, 0.25) 0%, rgba(10, 10, 8, 0.4) 55%, rgba(10, 10, 8, 0.92) 100%),
    url("assets/hero-ridge.jpg");
  background-size: cover, cover;
  background-position: center, center 65%;
}
.hero-photo::after { content: none; }
.hero-photo > span { display: none; }
.hero-overlay {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 24px;
}
.hero-eyebrow {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.06em;
  color: var(--accent);
  margin: 0 0 18px;
}
.hero-line {
  font-size: clamp(30px, 5vw, 52px);
  line-height: 1.5;
  font-weight: 500;
  color: var(--ink);
  margin: 0;
}
.hero-scroll {
  margin: 34px 0 0;
  font-size: 11px;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  color: var(--ink-faint);
}

/* ---------- collage ---------- */
.collage-section { padding: 64px 0; }
.collage {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2px;
  height: 420px;
  position: relative;
}
.photo-cell { overflow: hidden; }
.photo-cell img { width: 100%; height: 100%; object-fit: cover; display: block; }
.collage-center {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  background: var(--bg); border: 1px solid var(--line-strong);
  padding: 20px 34px; text-align: center; z-index: 2;
}
.collage-center .mark-img { width: 88px; height: auto; display: block; margin: 0 auto 10px; }
.collage-center .mark-word { font-size: 22px; margin-bottom: 4px; font-family: "Cormorant Garamond", serif; font-style: italic; }
.collage-center p { margin: 0; font-size: 12.5px; color: var(--ink-soft); }
.tag-row {
  display: flex; gap: 26px; margin-top: 20px;
  font-size: 11px; color: var(--ink-faint); flex-wrap: wrap;
  letter-spacing: 0.14em; text-transform: uppercase;
  justify-content: center;
}
.tag-row span { display: flex; align-items: center; gap: 8px; }
.tag-row .dot { width: 4px; height: 4px; border-radius: 50%; background: var(--accent); }

/* ---------- concept ---------- */
.concept { padding: 100px 0 90px; text-align: center; }
.concept h2 { font-size: clamp(24px, 3.4vw, 36px); margin-bottom: 22px; font-weight: 500; }
.concept p { max-width: 52ch; margin: 0 auto; color: var(--ink-soft); font-size: 15px; }

/* ---------- section head ---------- */
.section-head { text-align: center; margin-bottom: 52px; }
.eyebrow {
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 15px;
  letter-spacing: 0.08em;
  color: var(--accent); font-weight: 500; margin-bottom: 12px;
}
.eyebrow.center { display: block; }
.section-head h2 { font-size: clamp(22px, 3vw, 30px); margin-bottom: 12px; font-weight: 500; }
.section-head p { color: var(--ink-soft); font-size: 14px; margin: 0; }
.section-note { font-size: 12px; color: var(--ink-faint); }
.section-logo { width: 132px; height: auto; display: block; margin: 6px auto 18px; mix-blend-mode: screen; }

/* ---------- long message ---------- */
.message {
  background: var(--bg-alt);
  color: var(--ink);
  padding: 90px 0;
  text-align: center;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.message .wrap { max-width: 620px; }
.message p { font-size: 15px; margin: 0 0 20px; color: var(--ink-soft); }
.message p:last-child { margin-bottom: 0; }
.message p.emph {
  color: var(--ink); font-family: "Shippori Mincho", serif; font-weight: 500;
  font-size: clamp(19px, 2.4vw, 24px); line-height: 1.7; margin: 32px 0;
}

/* ---------- business pillars ---------- */
.business { padding: 90px 0; }
.pillar-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.pillar { background: var(--bg); padding: 30px 24px; }
.pillar-icon { width: 34px; height: 34px; color: var(--accent); display: block; margin-bottom: 18px; }
.pillar-no { font-family: "Cormorant Garamond", serif; font-style: italic; color: var(--ink-faint); font-size: 15px; display: block; margin-bottom: 4px; }
.pillar h3 { font-family: "Cormorant Garamond", serif; font-size: 17px; font-weight: 500; margin: 10px 0 6px; letter-spacing: 0.02em; }
.pillar-sub { font-size: 13px; color: var(--ink-soft); margin: 0 0 16px; }
.pillar ul { margin: 0; padding: 0; list-style: none; font-size: 12.5px; color: var(--ink-soft); }
.pillar li { margin-bottom: 7px; padding-left: 14px; position: relative; }
.pillar li::before { content: "—"; position: absolute; left: 0; color: var(--line-strong); }
.pillar-note { font-size: 11px; color: var(--ink-faint); margin: 14px 0 0; }

/* ---------- works ---------- */
.works { padding: 30px 0 90px; }
.works-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.work-card { background: var(--bg); padding: 30px 28px; }
.work-card.wide { grid-column: 1 / -1; }
.work-card h3 { font-family: "Cormorant Garamond", serif; font-size: 18px; font-weight: 500; margin-bottom: 10px; }
.work-card p { font-size: 13px; color: var(--ink-soft); margin: 0; }

/* ---------- timelines (fireworks / frescoball) ---------- */
.timeline-section { padding: 90px 0; }
.timeline-section.alt { background: var(--bg-alt); border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lead-text { max-width: 62ch; margin: -16px auto 44px; text-align: center; color: var(--ink-soft); font-size: 14px; }
.timeline { display: flex; flex-direction: column; gap: 0; }
.tl-item {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 28px;
  padding: 26px 0;
  border-top: 1px solid var(--line);
}
.tl-item:last-child { border-bottom: 1px solid var(--line); }
.tl-year { font-family: "Cormorant Garamond", serif; font-style: italic; font-size: 26px; color: var(--accent); }
.tl-body h3 { font-family: "Shippori Mincho", serif; font-size: 15.5px; font-weight: 500; margin-bottom: 8px; }
.tl-body p { font-size: 13px; color: var(--ink-soft); margin: 0; }
.story-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 12px;
  font-family: "Cormorant Garamond", serif;
  font-style: italic;
  font-size: 13px;
  letter-spacing: 0.04em;
  color: var(--accent);
  text-decoration: none;
  border-bottom: 1px solid var(--accent);
  padding-bottom: 1px;
}
.story-link:hover { opacity: 0.75; }

/* ---------- story video ---------- */
.story-video { margin-top: 64px; text-align: center; }
.story-video-title { font-size: 18px; font-weight: 500; margin: 0 0 28px; }
.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: var(--panel);
  border: 1px solid var(--line);
  overflow: hidden;
}
.video-frame iframe {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: none;
}

/* ---------- challenges ---------- */
.challenges { padding: 90px 0; }
.challenge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1px;
  background: var(--line);
  border: 1px solid var(--line);
}
.challenge-card { background: var(--bg); padding: 28px 28px 26px; }
.challenge-card h3 { font-family: "Cormorant Garamond", serif; font-size: 18px; font-weight: 500; margin-bottom: 16px; }
.checklist { list-style: none; margin: 0; padding: 0; }
.checklist li {
  position: relative;
  padding-left: 22px;
  font-size: 13px;
  color: var(--ink-soft);
  margin-bottom: 10px;
}
.checklist li::before {
  content: "";
  position: absolute; left: 0; top: 7px;
  width: 6px; height: 1px;
  background: var(--accent);
}

.service-cta { text-align: center; margin: 36px 0 0; }

/* ---------- service guidance (top page) ---------- */
.hero-service {
  display: inline-block;
  margin-top: 26px;
  padding: 10px 22px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  font-size: 13px;
  letter-spacing: 0.08em;
  background: rgba(16, 18, 16, 0.35);
}
.hero-service:hover { background: var(--accent); color: var(--bg); }
.service-band {
  padding: 70px 0;
  text-align: center;
  background: var(--bg-alt);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.service-band h2 { font-size: clamp(21px, 3vw, 28px); margin-bottom: 14px; }
.service-band p { color: var(--ink-soft); font-size: 14px; max-width: 46ch; margin: 0 auto 26px; }
.cta-btn {
  display: inline-block;
  padding: 14px 34px;
  border: 1px solid var(--accent);
  color: var(--accent);
  text-decoration: none;
  letter-spacing: 0.08em;
  font-size: 14px;
  transition: background 0.2s, color 0.2s;
}
.cta-btn:hover { background: var(--accent); color: var(--bg); }

/* ---------- profile ---------- */
.profile { padding: 90px 0; }
.profile-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 48px;
  align-items: start;
}
.profile-photo { aspect-ratio: 1; overflow: hidden; border: 1px solid var(--line); }
.profile-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center 20%; display: block; filter: grayscale(1) contrast(1.05); }
.profile-body h3 { font-size: 22px; margin-bottom: 6px; font-weight: 500; }
.profile-role { font-size: 13px; color: var(--accent); margin: 0 0 2px; font-weight: 500; letter-spacing: 0.04em; }
.profile-sub { font-size: 12.5px; color: var(--ink-faint); margin: 0 0 18px; }
.profile-body p { font-size: 13.5px; color: var(--ink-soft); }
.profile-hobby { font-size: 12px; color: var(--ink-faint); margin-top: 16px; letter-spacing: 0.04em; }
.profile-sns { margin-top: 10px; }
.profile-sns a { font-size: 12px; letter-spacing: 0.04em; color: var(--accent); border-bottom: 1px solid var(--line-strong); padding-bottom: 2px; transition: opacity 0.2s; }
.profile-sns a:hover { opacity: 0.75; }

/* ---------- company info table ---------- */
.company-info { padding: 30px 0 100px; }
.info-table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
.info-table tr { border-top: 1px solid var(--line); }
.info-table tr:last-child { border-bottom: 1px solid var(--line); }
.info-table th, .info-table td { text-align: left; padding: 16px 12px; vertical-align: top; }
.info-table th { width: 160px; color: var(--ink-faint); font-weight: 500; white-space: nowrap; letter-spacing: 0.04em; }
.info-table td { color: var(--ink-soft); }

/* ---------- contact ---------- */
.contact-lead { font-size: 13.5px; color: var(--ink-soft); max-width: 46ch; margin: 0 auto 10px; }

/* ---------- footer / contact ---------- */
.site-footer {
  background: var(--bg);
  padding: 30px 0 60px;
  text-align: center;
  border-top: 1px solid var(--line);
}
.site-footer .footer-mark { width: 76px; height: auto; margin: 28px auto 18px; display: block; }
.site-footer .line { font-size: 13px; color: var(--ink-soft); margin: 4px 0; }
.site-footer .social-eyebrow { margin: 32px 0 14px; font-size: 13px; }
.site-footer .social {
  display: flex; gap: 22px; flex-wrap: wrap; justify-content: center;
  font-size: 11px; letter-spacing: 0.1em; text-transform: uppercase;
}
.site-footer .social a { color: var(--ink-soft); border-bottom: 1px solid var(--line-strong); padding-bottom: 3px; transition: color 0.2s, opacity 0.2s; }
.site-footer .social a:hover { color: var(--accent); opacity: 0.9; }
.site-footer .social .social-soon { color: var(--ink-faint); }

/* ---------- responsive ---------- */
.br-sp { display: none; }
html, body { overflow-x: hidden; }
@media (max-width: 860px) {
  .site-header .wrap { position: relative; }
  .nav-links {
    display: none;
    position: absolute;
    top: 76px;
    left: 0;
    right: 0;
    flex-direction: column;
    gap: 0;
    padding: 6px 24px 18px;
    background: rgba(16, 18, 16, 0.97);
    border-bottom: 1px solid var(--line);
  }
  .nav-links li a {
    display: block;
    padding: 13px 0;
    font-size: 13px;
    border-bottom: 1px solid var(--line);
  }
  .nav-links .lang-switch { margin-top: 14px; }
  .nav-links .lang-switch a { display: inline-block; padding: 4px 14px; border-bottom: 1px solid var(--line-strong); }
  .nav-toggle { display: block; }
  .collage { grid-template-columns: 1fr; grid-template-rows: repeat(2, 220px); height: auto; }
  .collage-center { position: static; transform: none; margin: 14px 0; }
  .pillar-grid { grid-template-columns: 1fr 1fr; }
  .works-grid { grid-template-columns: 1fr; }
  .work-card.wide { grid-column: auto; }
  .challenge-grid { grid-template-columns: 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
  .profile-photo { max-width: 220px; }
  .info-table th { width: 110px; }
  .hero-photo { height: 78vh; padding-bottom: 60px; }
}
@media (max-width: 560px) {
  .pillar-grid { grid-template-columns: 1fr; }
  .tl-item { grid-template-columns: 60px 1fr; gap: 14px; }
  .info-table th, .info-table td { display: block; width: auto; padding: 4px 0; }
  .info-table tr { display: block; padding: 12px 0; }
  .hero-line { font-size: 26px; }
  .br-sp { display: inline; }
  .section-head h2.tight-sp { font-size: 19px; white-space: nowrap; }
}

/* ---------- language switch ---------- */
.nav-links .lang-switch a {
  border: 1px solid var(--line-strong);
  padding: 4px 11px;
  border-radius: 999px;
  font-size: 11px;
  letter-spacing: 0.1em;
}
.nav-links .lang-switch a:hover { border-color: var(--accent); color: var(--accent); }

/* ---------- English version (html[lang="en"]) ---------- */
html[lang="en"] h1,
html[lang="en"] h2,
html[lang="en"] h3,
html[lang="en"] .message p.emph,
html[lang="en"] .tl-body h3 { font-family: "Cormorant Garamond", "Shippori Mincho", serif; }
html[lang="en"] body { line-height: 1.8; }
html[lang="en"] .hero-line { font-size: clamp(36px, 5.8vw, 64px); line-height: 1.2; font-weight: 400; }
html[lang="en"] .concept h2 { font-size: clamp(28px, 3.9vw, 42px); font-weight: 400; line-height: 1.3; }
html[lang="en"] .section-head h2 { font-size: clamp(27px, 3.4vw, 38px); font-weight: 400; }
html[lang="en"] .message p.emph { font-size: clamp(22px, 2.8vw, 28px); font-weight: 400; }
html[lang="en"] .tl-body h3 { font-size: 19px; font-weight: 500; }
html[lang="en"] .profile-body h3 { font-size: 28px; font-weight: 400; }
html[lang="en"] .story-video-title { font-weight: 400; }
html[lang="en"] .pillar h3,
html[lang="en"] .work-card h3,
html[lang="en"] .challenge-card h3 { font-size: 19px; }
html[lang="en"] .nav-links { gap: 26px; }
@media (max-width: 560px) {
  html[lang="en"] .hero-line { font-size: 34px; }
  html[lang="en"] .section-head h2 { font-size: 28px; }
}
