/* ============================================================
   SyUNi Corporate Site 2026 — Editorial / Minimal
   Palette: Ink #1D1D1F / Warm White #FCFBF8 / Line #E4E1D8 / 朱 #A63D2F
   Type: Shippori Mincho (display) / Zen Kaku Gothic New (body) / Inter (en)
   ============================================================ */
:root {
  --ink: #1d1d1f;
  --ink-soft: #4c4c50;
  --ink-mute: #8b8b8e;
  --bg: #fcfbf8;
  --line: #e4e1d8;
  --line-dark: #1d1d1f;
  --accent: #a63d2f;
  --serif: "Shippori Mincho", "Hiragino Mincho ProN", serif;
  --sans: "Zen Kaku Gothic New", "Hiragino Kaku Gothic ProN", sans-serif;
  --en-font: "Inter", sans-serif;
  --maxw: 1080px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 90px; }
body {
  font-family: var(--sans);
  color: var(--ink);
  background: var(--bg);
  line-height: 2;
  font-size: 15px;
  -webkit-font-smoothing: antialiased;
  letter-spacing: .02em;
}
img { max-width: 100%; }
a { color: inherit; text-decoration: none; }
.container { max-width: var(--maxw); margin: 0 auto; padding: 0 28px; }
.en { font-family: var(--en-font); }

/* ---------- Reveal（JS有効時のみ・ごく控えめ） ---------- */
.js-anim .reveal { opacity: 0; transform: translateY(10px); transition: opacity .7s ease, transform .7s ease; }
.js-anim .reveal.is-visible { opacity: 1; transform: none; }
.js-anim .reveal.no-anim { transition: none; }
@media (prefers-reduced-motion: reduce) {
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Text link ---------- */
.text-link {
  display: inline-block;
  font-size: 13.5px; font-weight: 500; letter-spacing: .08em;
  border-bottom: 1px solid var(--ink);
  padding-bottom: 2px;
  transition: color .25s, border-color .25s;
}
.text-link::after { content: "\2192"; margin-left: .6em; font-family: var(--en-font); }
.text-link:hover { color: var(--accent); border-color: var(--accent); }

/* ---------- Header ---------- */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(252,251,248,.92);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}
.header-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 28px;
  height: 68px;
  display: flex; align-items: center; justify-content: space-between;
}
.brand { display: flex; align-items: baseline; gap: 12px; }
.brand-name {
  font-family: var(--en-font); font-weight: 600; font-size: 19px;
  letter-spacing: .04em; color: var(--ink);
}
.brand-sub { font-size: 11px; color: var(--ink-mute); letter-spacing: .14em; }
.gnav { display: flex; align-items: center; gap: 34px; }
.gnav a {
  font-size: 13px; font-weight: 500; letter-spacing: .06em; color: var(--ink-soft);
  padding: 4px 0; position: relative;
}
.gnav a::after {
  content: ""; position: absolute; left: 0; bottom: 0; width: 100%; height: 1px;
  background: var(--ink); transform: scaleX(0); transform-origin: right;
  transition: transform .3s ease;
}
.gnav a:hover { color: var(--ink); }
.gnav a:hover::after { transform: scaleX(1); transform-origin: left; }
.nav-toggle { display: none; }

@media (max-width: 860px) {
  .gnav {
    position: fixed; inset: 0; background: var(--bg);
    flex-direction: column; justify-content: center; gap: 30px;
    opacity: 0; pointer-events: none; visibility: hidden;
  }
  .gnav.can-animate { transition: opacity .3s, visibility .3s; }
  .gnav.is-open { opacity: 1; pointer-events: auto; visibility: visible; }
  .gnav a { font-size: 16px; }
  .nav-toggle {
    display: block; position: relative; z-index: 110;
    width: 44px; height: 44px; background: none; border: none; cursor: pointer;
  }
  .nav-toggle span {
    position: absolute; left: 10px; width: 24px; height: 1px; background: var(--ink);
    transition: transform .3s ease, top .3s ease;
  }
  .nav-toggle span:nth-child(1) { top: 18px; }
  .nav-toggle span:nth-child(2) { top: 26px; }
  .nav-toggle.is-open span:nth-child(1) { top: 22px; transform: rotate(45deg); }
  .nav-toggle.is-open span:nth-child(2) { top: 22px; transform: rotate(-45deg); }
}

/* ---------- Hero ---------- */
.hero { position: relative; padding: 190px 0 110px; border-bottom: 1px solid var(--line); }
.hero-eyebrow {
  font-size: 12px; letter-spacing: .22em; color: var(--ink-mute);
  display: flex; align-items: center; gap: 18px;
}
.hero-eyebrow .en { letter-spacing: .3em; color: var(--accent); font-weight: 500; font-size: 11px; }
.hero-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(34px, 5.6vw, 62px);
  line-height: 1.6; letter-spacing: .04em;
  margin-top: 36px;
}
.hero-body { margin-top: 40px; max-width: 600px; }
.hero-body p { color: var(--ink-soft); margin-bottom: 28px; }
.hero-facts {
  margin-top: 72px;
  display: grid; grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}
.hero-facts > div {
  padding: 24px 24px 0 0;
}
.hero-facts > div + div { border-left: 1px solid var(--line); padding-left: 24px; }
.hero-facts dd { font-size: 11.5px; color: var(--ink-mute); letter-spacing: .12em; }
.hero-facts dt { font-family: var(--serif); font-size: clamp(18px, 2.4vw, 26px); font-weight: 600; margin-top: 2px; }
.hero-vertical {
  position: absolute; top: 190px; right: 40px;
  writing-mode: vertical-rl;
  font-family: var(--serif); font-size: 13px; letter-spacing: .5em;
  color: var(--ink-mute);
}
@media (max-width: 1240px) { .hero-vertical { display: none; } }

/* ---- Hero work reel ---- */
.hero { padding-bottom: 0; }
.hero-reel {
  max-width: 1240px; margin: 72px auto 0; padding: 0 28px 64px;
}
.hero-reel-label {
  display: flex; align-items: center; gap: 16px;
  font-size: 12px; letter-spacing: .12em; color: var(--ink-mute);
  margin-bottom: 20px;
}
.hero-reel-label .en {
  font-family: var(--en-font); font-size: 11px; font-weight: 600;
  letter-spacing: .28em; color: var(--accent);
}
.hero-reel-label .en::after {
  content: ""; display: inline-block; width: 28px; height: 1px;
  background: var(--line-dark); margin-left: 16px; vertical-align: middle;
}
.hero-reel-track {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
}
.hero-reel-track a { position: relative; overflow: hidden; display: block; }
.hero-reel-track img {
  width: 100%; aspect-ratio: 16 / 9; object-fit: cover; display: block;
  transition: transform .5s var(--ease, ease), opacity .3s;
}
.hero-reel-track a:hover img { transform: scale(1.04); }
@media (max-width: 760px) {
  .hero-reel-track { grid-template-columns: repeat(2, 1fr); }
  .hero-reel { margin-top: 56px; }
}

/* ---- Hero with portrait ---- */
.hero.has-portrait .hero-inner {
  display: grid; grid-template-columns: 1fr 0.6fr; gap: 60px; align-items: center;
}
.hero.has-portrait .hero-title { font-size: clamp(30px, 4vw, 50px); }
.hero.has-portrait .hero-facts { margin-top: 56px; }
.hero-portrait { position: relative; }
.hero-portrait img {
  width: 100%; aspect-ratio: 4 / 5; object-fit: cover; object-position: center 22%;
  display: block; filter: grayscale(100%) contrast(1.03);
}
.hero-portrait figcaption {
  position: absolute; left: 20px; bottom: 20px;
  background: var(--bg); padding: 10px 18px;
  font-family: var(--serif); font-size: 16px; font-weight: 600; letter-spacing: .14em;
}
.hero-portrait figcaption span {
  display: block; font-family: var(--en-font); font-size: 9.5px; font-weight: 500;
  letter-spacing: .24em; color: var(--accent); margin-bottom: 3px;
}
@media (max-width: 900px) {
  .hero.has-portrait .hero-inner { grid-template-columns: 1fr; gap: 48px; }
  .hero-portrait { max-width: 340px; }
}

/* ---- Hero split: full-height photo bleeding to the right edge ---- */
.hero-split { padding: 0; border-bottom: 1px solid var(--line); }
.hero-split .hero-inner {
  max-width: none; margin: 0; padding: 0;
  grid-template-columns: 1.08fr 0.92fr; gap: 0; align-items: stretch;
  min-height: 100svh;
}
.hero-split .hero-main {
  align-self: center;
  padding: 150px max(48px, 6vw) 90px max(28px, calc((100vw - var(--maxw)) / 2 + 28px));
}
.hero-split .hero-title { font-size: clamp(32px, 4.4vw, 54px); }
.hero-split .hero-facts dt { font-size: clamp(16px, 2vw, 22px); white-space: nowrap; }
.hero-split .hero-portrait {
  position: relative; max-width: none; min-height: 100svh;
  border-left: 1px solid var(--line);
}
.hero-split .hero-portrait img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; aspect-ratio: auto;
  object-fit: cover; object-position: center 20%;
}
.hero-split .hero-portrait figcaption {
  left: auto; right: 24px; bottom: 24px;
}
@media (max-width: 900px) {
  .hero-split .hero-inner { grid-template-columns: 1fr; min-height: 0; }
  .hero-split .hero-main { padding: 130px 28px 56px; }
  .hero-split .hero-portrait { height: 62vh; border-left: none; border-top: 1px solid var(--line); }
  .hero-split .hero-portrait img { position: relative; }
}

@media (max-width: 640px) {
  .hero { padding: 140px 0 80px; }
  .hero-facts { grid-template-columns: 1fr; border-top: none; }
  .hero-facts > div { border-top: 1px solid var(--line); padding: 16px 0 16px; display: flex; align-items: baseline; justify-content: space-between; }
  .hero-facts > div + div { border-left: none; padding-left: 0; }
}

/* ---------- Section common ---------- */
.section { padding: 110px 0; }
.sec-line { border-top: 1px solid var(--line); }
.sec-head { margin-bottom: 64px; }
.sec-en {
  font-family: var(--en-font); font-size: 11px; font-weight: 500;
  letter-spacing: .3em; color: var(--accent);
}
.sec-title {
  font-family: var(--serif); font-weight: 600;
  font-size: clamp(24px, 3.2vw, 34px); line-height: 1.7; letter-spacing: .04em;
  margin-top: 14px;
}
.sec-lead { margin-top: 18px; color: var(--ink-soft); max-width: 640px; font-size: 14.5px; }

/* ---------- About ---------- */
.about-grid {
  display: grid; grid-template-columns: 0.72fr 1fr 0.9fr; gap: 56px;
  align-items: start;
}
@media (max-width: 1000px) { .about-grid { grid-template-columns: 0.8fr 1fr; gap: 44px; } .about-principles { grid-column: 1 / -1; } }
@media (max-width: 640px) { .about-grid { grid-template-columns: 1fr; gap: 40px; } }
.about-photo { position: relative; }
.about-photo img {
  width: 100%; aspect-ratio: 3 / 4; object-fit: cover; object-position: center top;
  display: block; filter: grayscale(100%) contrast(1.02);
  transition: filter .6s ease;
}
.about-photo:hover img { filter: grayscale(0%); }
.about-photo figcaption {
  margin-top: 16px; font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: .1em;
}
.about-photo figcaption span {
  display: block; font-family: var(--sans); font-size: 11px; font-weight: 500;
  letter-spacing: .16em; color: var(--ink-mute); margin-bottom: 4px;
}
.about-photo figcaption em {
  display: block; font-family: var(--en-font); font-style: normal;
  font-size: 11px; letter-spacing: .1em; color: var(--ink-mute); margin-top: 4px;
}
.about-text p { color: var(--ink-soft); margin-bottom: 24px; }
.about-sign {
  margin-top: 40px; font-size: 13px; color: var(--ink-mute);
}
.about-sign strong {
  display: block; font-family: var(--serif); font-size: 22px; font-weight: 600;
  color: var(--ink); letter-spacing: .16em; margin-top: 4px;
}
.about-principles { list-style: none; counter-reset: pr; }
.about-principles li {
  counter-increment: pr;
  border-top: 1px solid var(--line);
  padding: 26px 0 26px 58px;
  position: relative;
}
.about-principles li:last-child { border-bottom: 1px solid var(--line); }
.about-principles li::before {
  content: "0" counter(pr);
  position: absolute; left: 0; top: 30px;
  font-family: var(--en-font); font-size: 13px; color: var(--accent); letter-spacing: .08em;
}
.about-principles h3 { font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: .08em; }
.about-principles p { font-size: 13.5px; color: var(--ink-soft); margin-top: 8px; line-height: 1.9; }

/* ---------- Services ---------- */
.svc-group { margin-top: 72px; }
.svc-group:first-of-type { margin-top: 0; }
.svc-cat {
  font-family: var(--serif); font-size: 20px; font-weight: 600; letter-spacing: .08em;
  display: flex; align-items: baseline; gap: 18px;
  padding-bottom: 16px; border-bottom: 1px solid var(--line-dark);
}
.svc-cat .en { font-size: 12px; color: var(--accent); letter-spacing: .12em; }
.svc {
  display: grid; grid-template-columns: 300px 1fr; gap: 40px;
  padding: 44px 0; border-bottom: 1px solid var(--line);
}
@media (max-width: 860px) { .svc { grid-template-columns: 1fr; gap: 16px; padding: 36px 0; } }
.svc-name h4 {
  font-family: var(--serif); font-size: 22px; font-weight: 600; letter-spacing: .06em;
  line-height: 1.5;
}
.svc-name p { font-size: 12px; color: var(--ink-mute); letter-spacing: .14em; margin-top: 6px; }
.svc-soon .svc-name p { color: var(--accent); }
.svc-copy { font-family: var(--serif); font-size: 16px; font-weight: 600; letter-spacing: .05em; margin-bottom: 14px; }
.svc-body > p:not(.svc-copy) { font-size: 14px; color: var(--ink-soft); line-height: 2.1; }
.svc-facts { list-style: none; margin-top: 18px; }
.svc-facts li {
  font-size: 13px; color: var(--ink-soft);
  padding-left: 16px; position: relative;
}
.svc-facts li::before {
  content: ""; position: absolute; left: 0; top: .95em;
  width: 6px; height: 1px; background: var(--ink);
}
.svc-body .text-link { margin-top: 20px; }

/* ---------- Works ---------- */
.works-grid {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 28px;
}
@media (max-width: 1000px) { .works-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .works-grid { grid-template-columns: 1fr; } }
.works-grid figure {
  aspect-ratio: 16 / 9; overflow: hidden; background: var(--line);
}
.works-grid img {
  width: 100%; height: 100%; object-fit: cover; display: block;
  transition: opacity .3s;
}
.works-grid a:hover img { opacity: .82; }
.works-grid p {
  font-size: 12.5px; line-height: 1.8; color: var(--ink-soft);
  margin-top: 12px;
  transition: color .25s;
}
.works-grid a:hover p { color: var(--ink); }
.works-more { margin-top: 44px; }

/* ---------- Media coverage ---------- */
.media { margin-top: 88px; padding-top: 56px; border-top: 1px solid var(--line); }
.media-head {
  font-family: var(--serif); font-size: 18px; font-weight: 600; letter-spacing: .08em;
  margin-bottom: 8px;
}
.media-list { list-style: none; }
.media-list li { border-bottom: 1px solid var(--line); }
.media-list a {
  display: grid; grid-template-columns: 130px 1fr auto; gap: 24px; align-items: baseline;
  padding: 22px 4px;
  transition: color .25s;
}
.media-list a:hover .media-title { color: var(--accent); }
.media-outlet {
  font-family: var(--en-font); font-size: 12px; letter-spacing: .06em; color: var(--ink);
  border: 1px solid var(--line-dark); padding: 3px 0; text-align: center;
}
.media-title { font-size: 14px; line-height: 1.7; transition: color .25s; }
.media-list time { font-family: var(--en-font); font-size: 12.5px; color: var(--ink-mute); }
.media-note { margin-top: 20px; font-size: 12.5px; color: var(--ink-mute); }
@media (max-width: 640px) {
  .media-list a { grid-template-columns: 1fr; gap: 8px; }
  .media-outlet { justify-self: start; padding: 3px 14px; }
  .media-list time { order: 3; }
}

/* ---------- News ---------- */
.news-list { list-style: none; border-top: 1px solid var(--line); }
.news-list li {
  display: flex; align-items: baseline; gap: 28px;
  padding: 26px 4px; border-bottom: 1px solid var(--line);
}
.news-list time { font-family: var(--en-font); font-size: 13px; color: var(--ink-mute); flex-shrink: 0; letter-spacing: .06em; }
.news-tag {
  flex-shrink: 0; font-size: 11px; color: var(--ink-mute); letter-spacing: .1em;
  border: 1px solid var(--line); padding: 1px 12px;
}
.news-list p { font-size: 14px; }
@media (max-width: 640px) {
  .news-list li { flex-wrap: wrap; gap: 10px 16px; }
  .news-list p { width: 100%; }
}

/* ---------- Company ---------- */
.company-table { border-top: 1px solid var(--line-dark); }
.company-table > div {
  display: grid; grid-template-columns: 220px 1fr; gap: 16px;
  padding: 24px 4px; border-bottom: 1px solid var(--line);
}
.company-table dt { font-size: 13px; font-weight: 500; color: var(--ink-mute); letter-spacing: .1em; }
.company-table dd { font-size: 14.5px; }
.company-table a { border-bottom: 1px solid var(--ink); transition: color .25s, border-color .25s; }
.company-table a:hover { color: var(--accent); border-color: var(--accent); }
@media (max-width: 640px) {
  .company-table > div { grid-template-columns: 1fr; gap: 2px; padding: 18px 0; }
}

/* ---------- Contact ---------- */
.contact-form { max-width: 680px; display: grid; gap: 30px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.contact-form label {
  display: block; font-size: 12.5px; font-weight: 500; letter-spacing: .1em; color: var(--ink-soft);
}
.contact-form i {
  font-style: normal; font-size: 10px; color: var(--accent); margin-left: 10px; letter-spacing: .1em;
}
.contact-form input, .contact-form select, .contact-form textarea {
  display: block; width: 100%; margin-top: 10px;
  background: transparent;
  border: none; border-bottom: 1px solid var(--ink);
  border-radius: 0;
  padding: 10px 2px;
  font-family: var(--sans); font-size: 15px; color: var(--ink);
  transition: border-color .25s;
}
.contact-form textarea { border: 1px solid var(--ink); padding: 14px; margin-top: 14px; resize: vertical; }
.contact-form select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%231d1d1f' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 6px center;
  cursor: pointer;
}
.contact-form input:focus, .contact-form select:focus, .contact-form textarea:focus {
  outline: none; border-color: var(--accent);
}
.btn-submit {
  justify-self: start;
  font-family: var(--sans); font-size: 14px; font-weight: 500; letter-spacing: .14em;
  color: var(--bg); background: var(--ink);
  border: 1px solid var(--ink);
  padding: 16px 64px;
  cursor: pointer;
  transition: background .25s, color .25s;
}
.btn-submit:hover { background: var(--bg); color: var(--ink); }
.form-note { font-size: 12px; color: var(--ink-mute); line-height: 1.9; }
.form-note a { border-bottom: 1px solid var(--ink-mute); }

/* ---------- Footer ---------- */
.footer { border-top: 1px solid var(--line-dark); padding: 56px 0 32px; }
.footer-inner {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 32px; flex-wrap: wrap;
}
.footer-brand .brand-name { font-size: 18px; }
.footer-tagline { font-family: var(--serif); font-size: 12.5px; color: var(--ink-mute); letter-spacing: .18em; margin-top: 8px; }
.footer-nav { display: flex; flex-wrap: wrap; gap: 10px 28px; }
.footer-nav a { font-size: 12.5px; color: var(--ink-soft); letter-spacing: .06em; transition: color .25s; }
.footer-nav a:hover { color: var(--accent); }
.copyright {
  margin-top: 48px;
  font-family: var(--en-font); font-size: 11px; color: var(--ink-mute); letter-spacing: .12em;
}
