/* =========================================================
   ROOTWORTH Inc. — Corporate site
   Color: P1 Obsidian × Ember（企業ロゴ準拠）
   ========================================================= */

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

:root {
  --obsidian: #0C1013;
  --obsidian-2: #151B1F;
  --obsidian-3: #1E262B;
  --paper: #EEF0EF;
  --paper-2: #F7F8F7;
  --white: #FFFFFF;
  --root: #58636A;
  --root-d: #8E999F;
  --line: #D6DBD9;
  --line-d: rgba(238, 240, 239, .14);
  --copper: #C37741;
  --copper-2: #AB6939;
  --copper-d: #EA9453;
  --copper-l: #F7BB86;

  --max: 1200px;
  --pad: clamp(20px, 5vw, 64px);
  --radius: 14px;
  --font-en: "Inter Tight", "Helvetica Neue", Arial, sans-serif;
  --font-ja: "Zen Kaku Gothic New", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", Meiryo, sans-serif;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 96px; }

body {
  margin: 0;
  background: var(--paper);
  color: var(--obsidian);
  font-family: var(--font-ja);
  font-size: 15px;
  line-height: 1.9;
  letter-spacing: .03em;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
h1, h2, h3, h4, p, dl, dd, ul, ol, figure { margin: 0; }
ul, ol { padding: 0; list-style: none; }
button, input, select, textarea { font: inherit; color: inherit; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--pad); }
.en { font-family: var(--font-en); }
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* ---------- Header（浮いたバー） ---------- */
.site-header {
  position: fixed;
  inset: 16px 16px auto;
  z-index: 50;
  pointer-events: none;
}
.site-header .bar {
  pointer-events: auto;
  max-width: calc(var(--max) + 40px);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
  padding: 0 14px 0 28px;
  border-radius: var(--radius);
  background: rgba(12, 16, 19, .82);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  border: 1px solid var(--line-d);
  color: var(--paper);
  transition: background .3s ease;
}
.site-header .logo img { height: 15px; width: auto; }
.gnav ul { display: flex; align-items: center; gap: 6px; }
.gnav a {
  display: block;
  padding: 8px 16px;
  font-family: var(--font-en);
  font-size: 14px;
  letter-spacing: .04em;
  border-radius: 999px;
  color: rgba(238, 240, 239, .78);
  transition: color .2s ease, background .2s ease;
}
.gnav a:hover, .gnav a[aria-current="page"] { color: var(--paper); }
.gnav a:hover { background: rgba(238, 240, 239, .08); }
.gnav .nav-cta a {
  margin-left: 8px;
  padding: 9px 22px;
  color: var(--obsidian);
  background: var(--paper);
}
.gnav .nav-cta a:hover { background: var(--copper-l); color: var(--obsidian); }

.menu-btn {
  display: none;
  width: 44px; height: 44px;
  border: 0; border-radius: 10px;
  background: transparent;
  cursor: pointer;
  position: relative;
}
.menu-btn span {
  position: absolute; left: 12px; right: 12px; height: 1.5px;
  background: var(--paper);
  transition: transform .3s var(--ease), opacity .2s ease;
}
.menu-btn span:nth-child(1) { top: 17px; }
.menu-btn span:nth-child(2) { top: 26px; }
.is-menu-open .menu-btn span:nth-child(1) { transform: translateY(4.5px) rotate(45deg); }
.is-menu-open .menu-btn span:nth-child(2) { transform: translateY(-4.5px) rotate(-45deg); }

/* ---------- Common section ---------- */
.section { padding: clamp(96px, 13vw, 168px) 0; }
.section--dark { background: var(--obsidian); color: var(--paper); }
.section--white { background: var(--paper-2); }

.sec-head { display: grid; gap: 18px; margin-bottom: clamp(48px, 7vw, 88px); }
.sec-head .eyebrow {
  display: inline-flex; align-items: center; gap: 12px;
  font-family: var(--font-en);
  font-size: 12px; letter-spacing: .22em; text-transform: uppercase;
  color: var(--root);
}
.sec-head .eyebrow::before {
  content: ""; width: 9px; height: 9px;
  background: var(--copper);
  transform: rotate(45deg);
}
.section--dark .sec-head .eyebrow { color: var(--root-d); }
.section--dark .sec-head .eyebrow::before { background: var(--copper-d); }
.sec-head h2 {
  font-family: var(--font-en);
  font-weight: 300;
  font-size: clamp(56px, 10vw, 128px);
  line-height: .95;
  letter-spacing: -.02em;
}
.sec-head .lead {
  max-width: 640px;
  font-size: clamp(15px, 1.4vw, 17px);
  color: var(--root);
  line-height: 2;
}
.section--dark .sec-head .lead { color: var(--root-d); }

/* ---------- FV ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--obsidian);
  color: var(--paper);
  isolation: isolate;
}
.hero::after { /* 地表のスリット */
  content: "";
  position: absolute; left: 0; right: 0; bottom: 0;
  height: 1px; background: var(--line-d);
}
.hero-art {
  position: absolute;
  z-index: -1;
  right: -6vw;
  top: 50%;
  width: min(64vw, 860px);
  transform: translateY(-42%);
  max-width: none;
}
.hero-art .v { fill: none; stroke: rgba(238, 240, 239, .16); stroke-miterlimit: 10; }
.hero-art .facet-a { fill: var(--copper-d); }
.hero-art .facet-b { fill: var(--copper); }
.hero-art .slit { stroke: rgba(238, 240, 239, .22); stroke-width: 1; }

@media (prefers-reduced-motion: no-preference) {
  .hero-art .v {
    stroke-dasharray: 1200;
    stroke-dashoffset: 1200;
    animation: draw 2.4s var(--ease) forwards;
  }
  .hero-art .v:nth-of-type(2) { animation-delay: .12s; }
  .hero-art .v:nth-of-type(3) { animation-delay: .24s; }
  .hero-art .v:nth-of-type(4) { animation-delay: .36s; }
  .hero-art .v:nth-of-type(5) { animation-delay: .48s; }
  .hero-art .v:nth-of-type(6) { animation-delay: .60s; }
  .hero-art .facet { opacity: 0; transform: translateY(24px); animation: rise 1.4s .9s var(--ease) forwards; }
  @keyframes draw { to { stroke-dashoffset: 0; } }
  @keyframes rise { to { opacity: 1; transform: none; } }
}

.hero-inner { position: relative; width: 100%; padding-top: 120px; padding-bottom: 120px; }
.hero .mission {
  font-family: var(--font-en);
  font-size: 12px;
  letter-spacing: .28em;
  color: var(--copper-l);
}
.hero h1 {
  margin-top: 28px;
  font-size: clamp(34px, 5.6vw, 76px);
  font-weight: 700;
  line-height: 1.32;
  letter-spacing: .02em;
}
.hero h1 .dim { color: var(--root-d); }
.hero .sub {
  margin-top: 32px;
  max-width: 560px;
  font-size: clamp(14px, 1.3vw, 16px);
  line-height: 2.1;
  color: rgba(238, 240, 239, .78);
}
.hero .sub strong { color: var(--paper); font-weight: 500; }
.hero-tags { margin-top: 44px; display: flex; flex-wrap: wrap; gap: 10px; }
.hero-tags li {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 8px 16px;
  border: 1px solid var(--line-d);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: 13px;
  letter-spacing: .06em;
  color: rgba(238, 240, 239, .86);
}
.hero-tags li span { color: var(--root-d); font-size: 11px; }
.scroll {
  position: absolute; left: var(--pad); bottom: 32px;
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-en); font-size: 11px; letter-spacing: .24em;
  color: var(--root-d);
}
.scroll::after {
  content: ""; width: 56px; height: 1px; background: currentColor;
  transform-origin: left;
}
@media (prefers-reduced-motion: no-preference) {
  .scroll::after { animation: line 2.4s ease-in-out infinite; }
  @keyframes line { 0% { transform: scaleX(0); } 50% { transform: scaleX(1); } 100% { transform: scaleX(1); opacity: 0; } }
}

/* ---------- Intro（何をする会社か） ---------- */
.intro { padding: clamp(88px, 11vw, 144px) 0; background: var(--paper-2); }
.intro-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 48px clamp(40px, 7vw, 120px);
  align-items: start;
}
.intro h2 {
  font-size: clamp(26px, 3.2vw, 40px);
  font-weight: 700;
  line-height: 1.6;
}
.intro h2 em { font-style: normal; color: var(--copper-2); }
.intro p { color: var(--root); font-size: 16px; line-height: 2.2; }
.intro p + p { margin-top: 1.2em; }
.pillars {
  margin-top: 48px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line);
}
.pillars > div { padding: 24px 24px 0 0; }
.pillars > div + div { padding-left: 24px; border-left: 1px solid var(--line); }
.pillars dt { font-family: var(--font-en); font-size: 12px; letter-spacing: .2em; color: var(--root); }
.pillars dd { margin-top: 8px; font-size: 15px; font-weight: 500; line-height: 1.8; }

/* ---------- Service ---------- */
.service-list { display: grid; gap: 20px; }
.svc {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: 32px clamp(32px, 6vw, 96px);
  padding: clamp(32px, 5vw, 64px);
  border-radius: var(--radius);
  background: var(--obsidian);
  color: var(--paper);
  isolation: isolate;
}
.svc::before { /* V字ラインの透かし */
  content: "";
  position: absolute; z-index: -1;
  right: -60px; bottom: -120px;
  width: 360px; height: 360px;
  background: url("img/v-lines.svg") center / contain no-repeat;
  opacity: .07;
  transition: transform .8s var(--ease), opacity .4s ease;
}
.svc:hover::before { transform: translateY(-16px); opacity: .12; }
.svc-head { display: grid; align-content: start; gap: 14px; }
.svc .num {
  display: flex; align-items: center; gap: 14px;
  font-family: var(--font-en); font-size: 13px; letter-spacing: .14em; color: var(--root-d);
}
.svc .num b { font-weight: 400; color: var(--copper-l); }
.svc h3 { font-size: clamp(22px, 2.4vw, 30px); font-weight: 700; line-height: 1.5; letter-spacing: .04em; }
.svc .catch { font-size: clamp(15px, 1.5vw, 18px); font-weight: 500; color: var(--copper-l); line-height: 1.7; }
.svc-body p { color: rgba(238, 240, 239, .78); line-height: 2.1; }
.svc-body ul {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  border-top: 1px solid var(--line-d);
}
.svc-body li {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 8px 14px 0;
  border-bottom: 1px solid var(--line-d);
  font-size: 14px;
}
.svc-body li::before {
  content: ""; flex: none; width: 6px; height: 6px;
  border: 1px solid var(--copper-d);
  transform: rotate(45deg);
}
.badge {
  display: inline-flex; align-items: center; gap: 8px;
  width: fit-content;
  padding: 4px 12px;
  border-radius: 999px;
  border: 1px solid var(--copper-d);
  color: var(--copper-l);
  font-family: var(--font-en);
  font-size: 11px; letter-spacing: .16em;
}
.svc--soon { background: linear-gradient(135deg, var(--obsidian-3), var(--obsidian) 60%); }

/* ---------- About us ---------- */
.mvv { display: grid; gap: 0; border-top: 1px solid var(--line-d); }
.mvv-row {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 24px 48px;
  padding: clamp(40px, 6vw, 72px) 0;
  border-bottom: 1px solid var(--line-d);
}
.mvv-label { font-family: var(--font-en); font-size: 13px; letter-spacing: .22em; color: var(--root-d); }
.mvv-label small { display: block; margin-top: 4px; font-family: var(--font-ja); font-size: 12px; letter-spacing: .1em; }
.mission-en {
  font-family: var(--font-en);
  font-size: clamp(30px, 5.2vw, 68px);
  font-weight: 300;
  line-height: 1.12;
  letter-spacing: -.01em;
}
.mission-en .w { color: var(--copper-l); font-weight: 400; }
.mission-ja { margin-top: 20px; font-size: clamp(17px, 1.8vw, 22px); font-weight: 700; }
.mvv-text { margin-top: 24px; max-width: 720px; color: rgba(238, 240, 239, .74); line-height: 2.1; }
.vision { font-size: clamp(20px, 2.4vw, 30px); font-weight: 700; line-height: 1.7; }

.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; }
.value {
  padding: 28px 28px 32px;
  border-radius: var(--radius);
  background: var(--obsidian-2);
  border: 1px solid var(--line-d);
}
.value .no { font-family: var(--font-en); font-size: 12px; letter-spacing: .14em; color: var(--copper-l); }
.value h4 { margin-top: 18px; font-family: var(--font-en); font-size: 22px; font-weight: 400; letter-spacing: .01em; }
.value .ja { margin-top: 2px; font-size: 14px; font-weight: 700; color: var(--paper); }
.value p { margin-top: 14px; font-size: 14px; line-height: 2; color: rgba(238, 240, 239, .7); }

/* Company */
.company { margin-top: clamp(88px, 12vw, 144px); }
.company h3 {
  display: flex; align-items: baseline; gap: 20px;
  font-family: var(--font-en); font-weight: 300; font-size: clamp(34px, 4.4vw, 56px); letter-spacing: -.01em;
}
.company h3 small { font-family: var(--font-ja); font-size: 13px; color: var(--root-d); letter-spacing: .12em; }
.company-list { margin-top: 32px; border-top: 1px solid var(--line-d); }
.company-list > div {
  display: grid;
  grid-template-columns: 200px minmax(0, 1fr);
  gap: 6px 48px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line-d);
}
.company-list dt { font-size: 13px; color: var(--root-d); }
.company-list dd { font-size: 15px; }
.company-list dd li + li { margin-top: 4px; }
.company-list dd li::before { content: "・"; color: var(--root-d); }
.company-list a { border-bottom: 1px solid currentColor; }
.company-list a:hover { color: var(--copper-l); }
.todo { padding: 1px 6px; border-radius: 4px; background: rgba(234, 148, 83, .18); color: var(--copper-l); font-size: 13px; }

/* ---------- Contact CTA ---------- */
.cta { padding: clamp(80px, 10vw, 128px) 0; background: var(--paper-2); }
.cta-box {
  position: relative; overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: end;
  gap: 32px 48px;
  padding: clamp(36px, 6vw, 80px);
  border-radius: calc(var(--radius) + 6px);
  background: var(--paper);
  border: 1px solid var(--line);
}
.cta-box h2 { font-family: var(--font-en); font-weight: 300; font-size: clamp(56px, 9vw, 112px); line-height: .95; letter-spacing: -.02em; }
.cta-box p { margin-top: 24px; max-width: 560px; color: var(--root); }
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 16px;
  min-height: 60px;
  padding: 0 32px;
  border-radius: 999px;
  border: 0;
  background: var(--obsidian);
  color: var(--paper);
  font-size: 15px; font-weight: 500; letter-spacing: .06em;
  cursor: pointer;
  transition: background .25s ease, transform .25s var(--ease);
}
.btn .arrow { width: 18px; transition: transform .3s var(--ease); }
.btn:hover { background: var(--copper-2); }
.btn:hover .arrow { transform: translateX(4px); }
.btn:disabled { opacity: .5; cursor: not-allowed; }

/* ---------- Footer ---------- */
.site-footer { background: var(--obsidian); color: var(--paper); padding: 72px 0 40px; }
.footer-top {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-start; gap: 40px;
  padding-bottom: 48px; border-bottom: 1px solid var(--line-d);
}
.footer-top .logo img { height: 18px; width: auto; }
.footer-top .tagline { margin-top: 20px; font-family: var(--font-en); font-size: 11px; letter-spacing: .24em; color: var(--root-d); }
.footer-nav { display: flex; gap: clamp(28px, 5vw, 72px); }
.footer-nav ul { display: grid; gap: 10px; }
.footer-nav a { font-family: var(--font-en); font-size: 14px; color: rgba(238, 240, 239, .8); }
.footer-nav .ja a { font-family: var(--font-ja); font-size: 13px; }
.footer-nav a:hover { color: var(--copper-l); }
.footer-bottom { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; padding-top: 28px; font-size: 12px; color: var(--root-d); }
.footer-bottom small { font-family: var(--font-en); font-size: 12px; letter-spacing: .06em; }

/* ---------- Sub pages ---------- */
.page-hero {
  position: relative; overflow: hidden;
  padding: 180px 0 clamp(64px, 8vw, 96px);
  background: var(--obsidian); color: var(--paper);
  isolation: isolate;
}
.page-hero::before {
  content: ""; position: absolute; z-index: -1;
  right: -80px; top: 40px; width: 420px; height: 420px;
  background: url("img/v-lines.svg") center / contain no-repeat;
  opacity: .08;
}
.page-hero .eyebrow { font-family: var(--font-en); font-size: 12px; letter-spacing: .22em; color: var(--root-d); }
.page-hero h1 { margin-top: 14px; font-family: var(--font-en); font-weight: 300; font-size: clamp(52px, 9vw, 112px); line-height: 1; letter-spacing: -.02em; }
.page-hero h1.ja { font-family: var(--font-ja); font-weight: 700; font-size: clamp(32px, 5vw, 56px); letter-spacing: .04em; }
.page-hero p { margin-top: 24px; max-width: 620px; color: rgba(238, 240, 239, .78); }

.page-body { padding: clamp(64px, 9vw, 120px) 0 clamp(96px, 12vw, 160px); }
.narrow { max-width: 860px; }

/* Contact form */
.contact-grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 48px clamp(40px, 6vw, 96px); }
.contact-aside h2 { font-size: 20px; font-weight: 700; line-height: 1.7; }
.contact-aside p { margin-top: 16px; font-size: 14px; color: var(--root); }
.steps { margin-top: 32px; display: grid; gap: 0; border-top: 1px solid var(--line); }
.steps li { display: grid; grid-template-columns: 40px 1fr; padding: 16px 0; border-bottom: 1px solid var(--line); font-size: 14px; }
.steps li span { font-family: var(--font-en); color: var(--copper-2); }

.form { display: grid; gap: 28px; }
.field { display: grid; gap: 10px; }
.field label, .field legend { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 700; padding: 0; }
.req, .opt { padding: 1px 8px; border-radius: 4px; font-size: 11px; font-weight: 500; letter-spacing: .06em; }
.req { background: var(--obsidian); color: var(--paper); }
.opt { background: var(--line); color: var(--root); }
.field input, .field select, .field textarea {
  width: 100%;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  font-size: 16px;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.field textarea { min-height: 200px; resize: vertical; line-height: 1.8; }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--obsidian); box-shadow: 0 0 0 3px rgba(195, 119, 65, .22);
}
.field select {
  appearance: none; -webkit-appearance: none;
  background-image: linear-gradient(45deg, transparent 50%, var(--root) 50%), linear-gradient(135deg, var(--root) 50%, transparent 50%);
  background-position: calc(100% - 24px) 50%, calc(100% - 18px) 50%;
  background-size: 6px 6px; background-repeat: no-repeat;
}
.field .hint { font-size: 12px; color: var(--root); }
fieldset.field { border: 0; margin: 0; padding: 0; min-width: 0; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chips label { position: relative; font-weight: 400; }
.chips input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.chips span {
  display: inline-block; padding: 10px 18px;
  border: 1px solid var(--line); border-radius: 999px; background: var(--white);
  font-size: 14px; cursor: pointer; transition: all .2s ease;
}
.chips input:checked + span { background: var(--obsidian); color: var(--paper); border-color: var(--obsidian); }
.chips input:focus-visible + span { box-shadow: 0 0 0 3px rgba(195, 119, 65, .35); }
.agree { display: flex; align-items: flex-start; gap: 12px; font-size: 14px; }
.agree input { margin-top: 6px; width: 18px; height: 18px; accent-color: var(--obsidian); }
.agree a { border-bottom: 1px solid currentColor; }
.hp { position: absolute; left: -9999px; }
.form-error { color: #B3261E; font-size: 14px; }
.form-done {
  padding: clamp(32px, 5vw, 56px);
  border-radius: var(--radius);
  background: var(--white);
  border: 1px solid var(--line);
}
.form-done h2 { font-size: 22px; font-weight: 700; }
.form-done p { margin-top: 16px; color: var(--root); }

/* Prose (privacy / notice) */
.prose h2 { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--line); font-size: 18px; font-weight: 700; }
.prose h2:first-child { margin-top: 0; border-top: 0; padding-top: 0; }
.prose p, .prose li { color: #2B3439; }
.prose p { margin-top: 16px; }
.prose ul { margin-top: 12px; display: grid; gap: 6px; }
.prose ul li { padding-left: 1.2em; text-indent: -1.2em; }
.prose ul li::before { content: "・"; }
.prose .sign { margin-top: 56px; text-align: right; }

.notices { margin-top: 48px; border-top: 1px solid var(--obsidian); }
.notices .empty { padding: 32px 0; border-bottom: 1px solid var(--line); }
.notices li { display: grid; grid-template-columns: 120px minmax(0, 1fr) auto; gap: 8px 24px; align-items: baseline; padding: 24px 0; border-bottom: 1px solid var(--line); }
.notices time { font-size: 13px; color: var(--root); }
.notices .pdf { font-size: 12px; letter-spacing: .08em; border-bottom: 1px solid currentColor; }
.note { margin-top: 40px; font-size: 13px; color: var(--root); line-height: 2; }

/* ---------- Reveal ---------- */
@media (prefers-reduced-motion: no-preference) {
  .js .reveal { opacity: 0; transform: translateY(28px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
  .js .reveal.is-in { opacity: 1; transform: none; }
}

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .intro-grid, .svc, .contact-grid { grid-template-columns: minmax(0, 1fr); }
  .values { grid-template-columns: minmax(0, 1fr); }
  .mvv-row, .company-list > div { grid-template-columns: minmax(0, 1fr); gap: 12px; }
  .company-list > div { gap: 4px; }
  .cta-box { grid-template-columns: minmax(0, 1fr); align-items: start; }
}

@media (max-width: 760px) {
  .site-header { inset: 10px 10px auto; }
  .site-header .bar { height: 58px; padding: 0 8px 0 20px; }
  .menu-btn { display: block; }
  .gnav {
    position: fixed; inset: 76px 10px auto;
    padding: 12px;
    border-radius: var(--radius);
    background: var(--obsidian);
    border: 1px solid var(--line-d);
    opacity: 0; visibility: hidden; transform: translateY(-8px);
    transition: opacity .25s ease, transform .25s var(--ease), visibility .25s;
  }
  .is-menu-open .gnav { opacity: 1; visibility: visible; transform: none; }
  .gnav ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .gnav a { padding: 14px 16px; font-size: 16px; border-radius: 10px; }
  .gnav .nav-cta a { margin: 8px 0 0; text-align: center; }

  .hero-art { right: -38vw; width: 118vw; top: auto; bottom: -150px; transform: none; opacity: .6; }
  .hero h1 { font-size: 30px; }
  .hero-inner { padding-top: 110px; padding-bottom: 110px; }
  .hero h1 br.pc { display: none; }
  .pillars { grid-template-columns: minmax(0, 1fr); }
  .pillars > div + div { padding-left: 0; border-left: 0; border-top: 1px solid var(--line); margin-top: 24px; }
  .svc-body ul { grid-template-columns: minmax(0, 1fr); }
  .notices li { grid-template-columns: minmax(0, 1fr); gap: 4px; }
  .footer-nav { flex-direction: column; gap: 28px; }
  .btn { width: 100%; }
  .prose .sign { text-align: left; }
}

/* =========================================================
   v2: Mission / Vision・Service カード
   ========================================================= */
.hero h1 { font-size: clamp(36px, 6.4vw, 92px); }

/* Mission / Vision（Strato Rise 型：見出し＋本文の縦積み） */
.philosophy { padding: clamp(96px, 13vw, 176px) 0; background: var(--paper); }
.ph-block {
  display: grid;
  grid-template-columns: 240px minmax(0, 1fr);
  gap: 24px 48px;
  padding: clamp(48px, 7vw, 88px) 0;
  border-top: 1px solid var(--line);
}
.ph-block:first-of-type { padding-top: 0; border-top: 0; }
.ph-label { display: grid; align-content: start; gap: 6px; font-size: 13px; color: var(--root); letter-spacing: .12em; }
.ph-label .en {
  display: flex; align-items: center; gap: 12px;
  font-size: clamp(28px, 3vw, 40px); font-weight: 300; letter-spacing: -.01em; color: var(--obsidian);
}
.ph-label .en::after { content: ""; width: 10px; height: 10px; background: var(--copper); transform: rotate(45deg); }
.ph-en {
  font-family: var(--font-en);
  font-size: clamp(32px, 5.4vw, 72px);
  font-weight: 300;
  line-height: 1.1;
  letter-spacing: -.015em;
}
.ph-en .w { color: var(--copper-2); font-weight: 400; }
.ph-ja { margin-top: 24px; font-size: clamp(18px, 2vw, 24px); font-weight: 700; }
.ph-text { margin-top: 24px; max-width: 680px; color: var(--root); line-height: 2.1; }
.ph-vision { font-size: clamp(20px, 2.6vw, 32px); font-weight: 700; line-height: 1.75; }

/* Service（SUPER STUDIO 型：カテゴリ名・キャッチ・説明のカード） */
.svc-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: clamp(20px, 3vw, 32px); }
.svc-card {
  display: flex; flex-direction: column;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  transition: transform .5s var(--ease), box-shadow .5s var(--ease);
}
.svc-card:hover { transform: translateY(-4px); box-shadow: 0 24px 48px -28px rgba(12, 16, 19, .35); }
.svc-visual {
  position: relative; overflow: hidden;
  aspect-ratio: 16 / 7;
  display: flex; flex-direction: column; justify-content: space-between;
  padding: 24px 28px;
  background: var(--obsidian);
  color: var(--paper);
  isolation: isolate;
}
.svc-visual::before {
  content: ""; position: absolute; z-index: -1;
  right: -40px; top: -30px; width: 300px; height: 300px;
  background: url("img/v-lines.svg") center / contain no-repeat;
  opacity: .14;
  transition: transform .8s var(--ease);
}
.svc-card:hover .svc-visual::before { transform: translateY(14px); }
.svc-visual .no { font-family: var(--font-en); font-size: clamp(48px, 5vw, 72px); font-weight: 300; line-height: 1; color: var(--copper-l); }
.svc-visual .en { font-family: var(--font-en); font-size: 13px; letter-spacing: .2em; text-transform: uppercase; color: rgba(238, 240, 239, .8); }
.svc-visual .badge { position: absolute; top: 24px; right: 28px; }
.svc-visual.is-soon { background: linear-gradient(135deg, var(--obsidian-3), var(--obsidian) 65%); }
.svc-content { display: flex; flex-direction: column; flex: 1; padding: clamp(28px, 3.2vw, 40px); }
.svc-cat {
  display: flex; align-items: center; gap: 10px;
  font-size: 13px; font-weight: 700; letter-spacing: .08em; color: var(--root);
}
.svc-cat::before { content: ""; width: 7px; height: 7px; background: var(--copper); transform: rotate(45deg); }
.svc-card h3 { margin-top: 16px; font-size: clamp(20px, 2vw, 25px); font-weight: 700; line-height: 1.6; }
.svc-content > p:not(.svc-cat) { margin-top: 18px; font-size: 14px; color: #3A454B; line-height: 2.05; }
.svc-tags { margin-top: auto; padding-top: 24px; display: flex; flex-wrap: wrap; gap: 8px; }
.svc-tags li { padding: 5px 12px; border-radius: 999px; background: var(--paper); font-size: 12px; color: var(--root); }

#about .company-list { margin-top: 0; }

@media (max-width: 960px) {
  .ph-block { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 760px) {
  .hero h1 { font-size: 32px; }
  .svc-grid { grid-template-columns: minmax(0, 1fr); }
  .svc-visual { aspect-ratio: 16 / 8; }
}
br.sp { display: none; }
@media (max-width: 760px) { br.sp { display: inline; } }
.contact-form-wrap { max-width: 760px; }

/* =========================================================
   v3: FV（ロゴ＋コピー）・マークのアニメーション
   ========================================================= */
.hero { align-items: stretch; }
.hero-inner {
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 64px;
  padding-top: clamp(140px, 18vh, 200px);
  padding-bottom: clamp(96px, 14vh, 140px);
}
.hero-logo img { width: min(50vw, 720px); height: auto; }
.hero h1 { font-size: clamp(32px, 4.6vw, 66px); margin-top: 22px; }
.hero-art { top: 56%; transform: translateY(-38%); width: min(58vw, 800px); right: -4vw; }

.hero-art .facet { transform-box: fill-box; transform-origin: 50% 100%; }
.hero-art .slit-glow { stroke: var(--copper-l); stroke-width: 1.4; stroke-dasharray: 90 1400; stroke-dashoffset: 1490; opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero-logo img { opacity: 0; transform: translateY(16px); animation: rise 1.2s .2s var(--ease) forwards; }
  .hero-copy { opacity: 0; transform: translateY(16px); animation: rise 1.2s .5s var(--ease) forwards; }

  /* 1) 下（ROOT）から線が描かれる → 2) 価値の光が根から上へ昇り続ける */
  .hero-art .v {
    animation:
      draw 2.4s var(--ease) forwards,
      root-pulse 5.2s ease-in-out infinite;
  }
  .hero-art .v:nth-of-type(1) { animation-delay: 0s,   2.6s; }
  .hero-art .v:nth-of-type(2) { animation-delay: .12s, 2.75s; }
  .hero-art .v:nth-of-type(3) { animation-delay: .24s, 2.9s; }
  .hero-art .v:nth-of-type(4) { animation-delay: .36s, 3.05s; }
  .hero-art .v:nth-of-type(5) { animation-delay: .48s, 3.2s; }
  .hero-art .v:nth-of-type(6) { animation-delay: .60s, 3.35s; }
  @keyframes root-pulse {
    0%, 30%, 100% { stroke: rgba(238, 240, 239, .16); }
    12% { stroke: rgba(247, 187, 134, .8); }
  }

  /* 3) 光が地表（スリット）を走り、宝石（WORTH）が輝く */
  .hero-art .slit-glow { animation: slit-sweep 5.2s cubic-bezier(.5, 0, .3, 1) 3.4s infinite; }
  @keyframes slit-sweep {
    0% { stroke-dashoffset: 1490; opacity: 0; }
    6% { opacity: 1; }
    30% { stroke-dashoffset: 0; opacity: 0; }
    100% { stroke-dashoffset: 0; opacity: 0; }
  }
  .hero-art .facet {
    animation:
      rise 1.4s .9s var(--ease) forwards,
      gem-float 7s ease-in-out 2.4s infinite;
  }
  @keyframes gem-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
  .hero-art .facet-a { animation: glint-a 5.2s ease-in-out 3.55s infinite; }
  .hero-art .facet-b { animation: glint-b 5.2s ease-in-out 3.55s infinite; }
  @keyframes glint-a { 0%, 32%, 100% { fill: var(--copper-d); } 12% { fill: var(--copper-l); } }
  @keyframes glint-b { 0%, 32%, 100% { fill: var(--copper); } 18% { fill: var(--copper-d); } }
}

@media (max-width: 760px) {
  .hero-inner { gap: 40px; padding-top: 120px; padding-bottom: 96px; }
  .hero-logo img { width: 100%; }
  .hero h1 { font-size: 30px; }
  .hero-art { right: -38vw; width: 118vw; top: auto; bottom: -150px; transform: none; }
}
@media (max-width: 760px) {
  .hero-art { left: 50%; right: auto; top: 45%; bottom: auto; width: 96vw; transform: translate(-50%, -50%); opacity: 1; }
}

/* =========================================================
   v4: FV をグリッド配置に（ロゴ・コピー・マークが重ならない）
   ========================================================= */
.hero-inner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, .8fr);
  grid-template-rows: auto 1fr auto;
  grid-template-areas:
    "logo art"
    ".    art"
    "copy art";
  column-gap: clamp(32px, 5vw, 80px);
  row-gap: 40px;
  align-items: start;
}
.hero-logo { grid-area: logo; }
.hero-copy { grid-area: copy; }
.hero-art {
  grid-area: art;
  align-self: center;
  position: static;
  z-index: auto;
  width: 100%;
  max-width: 560px;
  justify-self: end;
  top: auto; right: auto; bottom: auto; left: auto;
  transform: none;
  opacity: 1;
  overflow: hidden;
}
.hero-logo img { width: min(100%, 680px); }
.hero h1 { font-size: clamp(30px, 4.2vw, 64px); }

@media (max-width: 960px) {
  .hero-inner {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: auto 1fr auto;
    grid-template-areas: "logo" "art" "copy";
    row-gap: 32px;
    padding-top: 112px;
    padding-bottom: 96px;
  }
  .hero-logo img { width: 82%; max-width: 560px; }
  .hero-art {
    justify-self: center;
    width: min(76vw, 40svh, 460px);
    max-width: none;
  }
}
@media (max-width: 760px) {
  .hero-art { left: auto; top: auto; transform: none; width: min(78vw, 38svh); }
  .hero h1 { font-size: clamp(22px, 7.6vw, 32px); }
}
@media (min-width: 961px) {
  .hero-inner { grid-template-columns: minmax(0, 1.35fr) minmax(0, .65fr); }
  .hero h1 { font-size: clamp(30px, 3.8vw, 58px); }
  .hero-art { max-width: 480px; }
}

/* =========================================================
   v5: マークをロゴと同じ比率に・PCは右側に大きく・宝石のアニメーション
   ========================================================= */
.hero-art .slit { stroke: rgba(238, 240, 239, .22); stroke-width: .18; }
.hero-art .slit-glow { stroke-width: .3; stroke-dasharray: 18 300; stroke-dashoffset: 318; }
.hero-art .v { stroke-dasharray: 200; stroke-dashoffset: 200; }
.hero-art .shine { opacity: 0; }

@media (min-width: 961px) {
  .hero-inner { grid-template-columns: minmax(0, 1.25fr) minmax(0, .75fr); }
  .hero-art {
    --bleed: calc(var(--pad) + max(0px, (100vw - var(--max)) / 2) + 2vw);
    width: calc(100% + var(--bleed));
    max-width: none;
    margin-right: calc(-1 * var(--bleed));
    justify-self: stretch;
    align-self: center;
    margin-top: 6vh;
  }
}
@media (max-width: 960px) {
  .hero-art { width: min(64vw, 36svh, 420px); }
}
@media (max-width: 760px) {
  .hero-art { width: min(62vw, 34svh); }
}

@media (prefers-reduced-motion: no-preference) {
  .hero-art .v { stroke-dasharray: 200; stroke-dashoffset: 200; }
  @keyframes draw { to { stroke-dashoffset: 0; } }

  /* 宝石：地表から立ち上がる → 光が昇ってきたら面が輝き、表面を光が走る */
  .hero-art .facet {
    transform-box: fill-box;
    transform-origin: 50% 100%;
    animation: gem-emerge 1.3s 1.4s var(--ease) both;
  }
  @keyframes gem-emerge {
    from { opacity: 0; transform: translateY(10%) scaleY(.15); }
    to { opacity: 1; transform: none; }
  }
  .hero-art .slit-glow { animation: slit-sweep 5.2s cubic-bezier(.5, 0, .3, 1) 3.2s infinite; }
  @keyframes slit-sweep {
    0% { stroke-dashoffset: 318; opacity: 0; }
    6% { opacity: 1; }
    30% { stroke-dashoffset: 0; opacity: 0; }
    100% { stroke-dashoffset: 0; opacity: 0; }
  }
  .hero-art .facet-a { animation: glint-a 5.2s ease-in-out 3.35s infinite; }
  .hero-art .facet-b { animation: glint-b 5.2s ease-in-out 3.35s infinite; }
  .hero-art .shine { animation: gem-shine 5.2s cubic-bezier(.45, 0, .25, 1) 3.45s infinite; }
  @keyframes gem-shine {
    0% { transform: translateX(0); opacity: 0; }
    4% { opacity: 1; }
    26% { transform: translateX(150px); opacity: 1; }
    30%, 100% { transform: translateX(150px); opacity: 0; }
  }
}

/* =========================================================
   v6: マークは薄く、テキストの背景に
   ========================================================= */
.hero-inner {
  grid-template-columns: minmax(0, 1fr) !important;
  grid-template-rows: auto 1fr auto;
  grid-template-areas: "logo" "." "copy" !important;
}
.hero-logo img { width: min(60%, 720px); max-width: none; }
.hero-art {
  position: absolute !important;
  z-index: -1;
  grid-area: auto;
  margin: 0 !important;
  max-width: none !important;
  opacity: .16 !important;
  pointer-events: none;
  /* PC：右寄りに大きく、テキストの背後へ */
  width: min(64vw, 900px) !important;
  right: -6vw !important; left: auto !important;
  top: 52% !important; bottom: auto !important;
  transform: translateY(-50%) !important;
}
@media (max-width: 960px) {
  .hero-logo img { width: 82%; max-width: 560px; }
  .hero-art {
    width: min(110vw, 640px) !important;
    right: auto !important; left: 50% !important;
    top: 58% !important;
    transform: translate(-50%, -50%) !important;
  }
}
/* 背景用の濃さ：宝石の面とV字ラインのバランスを揃える */
.hero-art { opacity: 1 !important; }
.hero-art .facet-a, .hero-art .facet-b { fill-opacity: .16; }
.hero-art .facet g { opacity: .3; }
.hero-art .v { stroke: rgba(238, 240, 239, .13); }
.hero-art .slit { stroke: rgba(238, 240, 239, .12); }
.hero-art .slit-glow { stroke-opacity: .45; }
@keyframes root-pulse {
  0%, 30%, 100% { stroke: rgba(238, 240, 239, .13); }
  12% { stroke: rgba(247, 187, 134, .42); }
}

/* =========================================================
   v7: FV背景 ― マークを「そのまま」置かず、ROOT（V字）の構造だけを
   画面スケールのラインとして敷く（トーン・オン・トーン＋マスク）
   ========================================================= */
.hero-bg {
  position: absolute; inset: 0; z-index: -1;
  width: 100%; height: 100%; max-width: none;
  pointer-events: none;
  -webkit-mask-image: radial-gradient(120% 95% at 78% 78%, #000 30%, rgba(0,0,0,.55) 55%, transparent 82%);
          mask-image: radial-gradient(120% 95% at 78% 78%, #000 30%, rgba(0,0,0,.55) 55%, transparent 82%);
}
.hero-bg .horizon { stroke: rgba(238, 240, 239, .10); stroke-width: 1; vector-effect: non-scaling-stroke; }
.hero-bg .v {
  fill: none;
  stroke: rgba(238, 240, 239, .075);
  stroke-width: 1;
  vector-effect: non-scaling-stroke;
}
.hero-bg .flare { fill: none; stroke: var(--copper-l); stroke-width: 1.2; vector-effect: non-scaling-stroke; stroke-dasharray: 90 4000; opacity: 0; }
.hero-bg .spark { fill: var(--copper-l); opacity: 0; }

@media (prefers-reduced-motion: no-preference) {
  .hero-bg .v {
    stroke-dasharray: 2600;
    stroke-dashoffset: 2600;
    animation:
      bg-draw 2.6s var(--ease) forwards,
      bg-pulse 6s ease-in-out infinite;
    animation-delay: calc(var(--i) * .07s), calc(2.8s + var(--i) * .11s);
  }
  @keyframes bg-draw { to { stroke-dashoffset: 0; } }
  @keyframes bg-pulse {
    0%, 26%, 100% { stroke: rgba(238, 240, 239, .075); }
    9% { stroke: rgba(234, 148, 83, .5); }
  }
  /* 光が根から昇りきったら、地表で小さく灯り、左右へ走る */
  .hero-bg .spark { animation: bg-spark 6s ease-out 4.1s infinite; transform-box: fill-box; transform-origin: center; }
  @keyframes bg-spark {
    0% { opacity: 0; transform: scale(.4); }
    5% { opacity: .9; transform: scale(1.6); }
    22%, 100% { opacity: 0; transform: scale(1); }
  }
  .hero-bg .flare { animation: bg-flare 6s cubic-bezier(.3, 0, .2, 1) 4.15s infinite; }
  @keyframes bg-flare {
    0% { stroke-dashoffset: 0; opacity: 0; }
    3% { opacity: .9; }
    30% { stroke-dashoffset: -1300; opacity: 0; }
    100% { stroke-dashoffset: -1300; opacity: 0; }
  }
}

@media (max-width: 760px) {
  .hero-bg {
    -webkit-mask-image: linear-gradient(to bottom, transparent 18%, #000 45%, #000 62%, rgba(0,0,0,.35) 80%, rgba(0,0,0,.2) 100%);
            mask-image: linear-gradient(to bottom, transparent 18%, #000 45%, #000 62%, rgba(0,0,0,.35) 80%, rgba(0,0,0,.2) 100%);
  }
}
.hero-bg .v { stroke: rgba(238, 240, 239, .095); }
@keyframes bg-pulse {
  0%, 26%, 100% { stroke: rgba(238, 240, 239, .095); }
  9% { stroke: rgba(234, 148, 83, .5); }
}
@media (max-width: 960px) {
  /* 縦長画面では切り抜かず、V字の頂点が画面のやや右に来るよう配置 */
  .hero-bg { width: 160svh; height: 100%; left: 62%; right: auto; transform: translateX(-73.75%); }
}

/* =========================================================
   v8: アニメーション周期を短く（6s → 4s）・初回の光を早める
   ========================================================= */
@media (prefers-reduced-motion: no-preference) {
  .hero-bg .v {
    animation:
      bg-draw 2.2s var(--ease) forwards,
      bg-pulse4 4s ease-in-out infinite;
    animation-delay: calc(var(--i) * .06s), calc(1.6s + var(--i) * .08s);
  }
  @keyframes bg-pulse4 {
    0%, 34%, 100% { stroke: rgba(238, 240, 239, .095); }
    12% { stroke: rgba(234, 148, 83, .55); }
  }
  .hero-bg .spark { animation: bg-spark4 4s ease-out 2.55s infinite; }
  @keyframes bg-spark4 {
    0% { opacity: 0; transform: scale(.4); }
    7% { opacity: .95; transform: scale(1.7); }
    30%, 100% { opacity: 0; transform: scale(1); }
  }
  .hero-bg .flare { animation: bg-flare4 4s cubic-bezier(.3, 0, .2, 1) 2.6s infinite; }
  @keyframes bg-flare4 {
    0% { stroke-dashoffset: 0; opacity: 0; }
    4% { opacity: .95; }
    40% { stroke-dashoffset: -1300; opacity: 0; }
    100% { stroke-dashoffset: -1300; opacity: 0; }
  }
}

/* =========================================================
   v8: モバイル・タブレットのFV
   会社名とコピーを1つのまとまりにし（近接）、
   「地表」の上に置く。根（V字）は地表の下に広がる。
   ========================================================= */
@media (max-width: 960px) {
  .hero-inner {
    grid-template-rows: auto auto 1fr;
    grid-template-areas: "logo" "copy" "." !important;
    row-gap: clamp(28px, 5svh, 44px);
    padding-top: clamp(104px, 15svh, 140px);
  }
  .hero h1 { margin-top: 16px; }
  .hero-bg {
    top: auto; bottom: 0;
    height: 62%;
    -webkit-mask-image: linear-gradient(to bottom, #000 55%, rgba(0,0,0,.4) 85%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 55%, rgba(0,0,0,.4) 85%, transparent 100%);
  }
}
@media (max-width: 960px) {
  /* 地表（SVG内で高さの56%の位置）を、コピーのすぐ下（--horizon）に合わせる */
  .hero-bg {
    height: 100%;
    top: calc(var(--horizon, 50%) - 56%);
    bottom: auto;
    -webkit-mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
            mask-image: linear-gradient(to bottom, #000 80%, transparent 100%);
  }
}

/* v9: コピー変更（1行が最大14文字）・英語はコピーの下 */
.hero h1 { margin-top: 0 !important; }
.hero .mission { margin-top: clamp(18px, 2vw, 28px); }
@media (max-width: 760px) {
  .hero h1 { font-size: min(30px, calc((100vw - 40px) / 14.6)) !important; }
}
.ph-label .en::after { content: none; }
/* ミッション：ロゴと同じ明度の対比（WORTH＝本物の価値は濃く、ROOT＝隠れた需要は沈んだグレー） */
.ph-en .w { color: var(--obsidian); font-weight: 400; }
.ph-en .r { color: var(--root); }

/* =========================================================
   v10: Service ― 事業名 ＞ キャッチ ＞ 本文 の階層に
   （SUPER STUDIO の事業一覧を参考：左にビジュアル、右に事業名・キャッチ・説明）
   ========================================================= */
.svc-grid { grid-template-columns: minmax(0, 1fr); gap: clamp(56px, 7vw, 88px); }
.svc-card {
  display: grid;
  grid-template-columns: minmax(0, 11fr) minmax(0, 13fr);
  gap: clamp(28px, 4vw, 56px);
  align-items: center;
  border: 0; border-radius: 0; overflow: visible;
  background: transparent;
}
.svc-card:hover { transform: none; box-shadow: none; }
.svc-visual { border-radius: var(--radius); aspect-ratio: 16 / 10; padding: clamp(24px, 3vw, 36px); }
.svc-visual .no { font-size: clamp(56px, 6vw, 88px); }
.svc-content { padding: 0; }
.svc-card .svc-name {
  margin: 0;
  font-size: clamp(22px, 2.2vw, 28px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .04em;
  color: var(--obsidian);
}
.svc-card .svc-catch {
  margin-top: 14px;
  font-size: clamp(15px, 1.35vw, 17px);
  font-weight: 700;
  line-height: 1.75;
  color: var(--root);
}
.svc-content > p:not(.svc-catch) { margin-top: 20px; font-size: 15px; color: #2B3439; line-height: 2; }

@media (max-width: 860px) {
  .svc-card { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .svc-visual { aspect-ratio: 16 / 8; }
}

/* v11: Service のイメージ画像（Unsplash） */
.svc-visual { background: var(--obsidian); }
.svc-visual::before { display: none; }
.svc-visual img {
  position: absolute; inset: 0; z-index: -2;
  width: 100%; height: 100%; max-width: none;
  object-fit: cover;
  filter: saturate(.85);
  transition: transform 1.2s var(--ease);
}
.svc-visual::after { /* 番号・英語名を読みやすくし、4枚のトーンを揃える */
  content: ""; position: absolute; inset: 0; z-index: -1;
  background:
    linear-gradient(to top, rgba(12, 16, 19, .78) 0%, rgba(12, 16, 19, .15) 55%, rgba(12, 16, 19, .35) 100%);
}
.svc-card:hover .svc-visual img { transform: scale(1.04); }
.svc-visual.is-soon { background: var(--obsidian); }

/* v12: 04 D2C ― 準備中であることを明確に */
.svc-visual.is-soon img { filter: grayscale(1) brightness(.55); }
.svc-visual.is-soon::after { background: rgba(12, 16, 19, .55); }
.soon-mark {
  position: absolute; inset: 0;
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px;
  text-align: center; pointer-events: none;
}
.soon-mark .soon-en {
  padding: 10px 22px;
  border: 1px solid var(--copper-l);
  border-radius: 999px;
  font-family: var(--font-en);
  font-size: clamp(14px, 1.5vw, 18px);
  letter-spacing: .28em;
  color: var(--copper-l);
  background: rgba(12, 16, 19, .45);
}
.soon-mark .soon-ja { font-size: 13px; letter-spacing: .2em; color: rgba(238, 240, 239, .85); }
.soon-tag {
  display: inline-block;
  margin-left: 12px;
  padding: 3px 10px;
  vertical-align: .25em;
  border-radius: 4px;
  background: var(--copper-2);
  color: var(--white);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1.5;
}
@media (prefers-reduced-motion: no-preference) {
  .soon-mark .soon-en { animation: soon-breathe 2.8s ease-in-out infinite; }
  @keyframes soon-breathe { 0%, 100% { box-shadow: 0 0 0 0 rgba(247, 187, 134, 0); } 50% { box-shadow: 0 0 0 6px rgba(247, 187, 134, .12); } }
}
/* 番号と重ならないよう、英語名の位置（左下）に COMING SOON を置く */
.svc-visual.is-soon .en { display: none; }
.soon-mark {
  inset: auto auto clamp(20px, 3vw, 36px) clamp(24px, 3vw, 36px);
  flex-direction: row; align-items: center; justify-content: flex-start; gap: 14px;
  text-align: left;
}
.soon-mark .soon-en { padding: 8px 18px; font-size: clamp(13px, 1.3vw, 16px); }
@media (max-width: 420px) {
  .soon-mark { flex-direction: column; align-items: flex-start; gap: 8px; }
}
@media (max-width: 420px) {
  .soon-mark { flex-direction: row; align-items: center; gap: 10px; }
  .soon-mark .soon-en { padding: 6px 14px; font-size: 12px; letter-spacing: .22em; }
  .soon-mark .soon-ja { font-size: 12px; letter-spacing: .12em; }
}

/* =========================================================
   v13: Contact ― Creative&N の構成を踏襲
   トップ：左に大きな「Contact」・説明・ボタン、右にグラフィック（枠なし）
   ページ：暗い帯に「Contact」のみ → 明るい面に中央寄せのフォーム
   ========================================================= */
.cta { background: var(--paper-2); padding: clamp(88px, 11vw, 144px) 0; border-top: 1px solid var(--line); }
.cta-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: 48px clamp(40px, 6vw, 96px);
  align-items: center;
}
.cta-text h2 {
  font-family: var(--font-en);
  font-weight: 400;
  font-size: clamp(56px, 7vw, 92px);
  line-height: 1;
  letter-spacing: -.01em;
  color: var(--obsidian);
}
.cta-text p { margin-top: 32px; font-size: clamp(15px, 1.3vw, 17px); font-weight: 500; line-height: 2; color: var(--obsidian); }
.cta-actions { margin-top: 40px; display: flex; flex-wrap: wrap; gap: 16px; }
.btn-solid {
  display: inline-flex; align-items: center; justify-content: center;
  width: 300px; max-width: 100%;
  height: 68px;
  border-radius: 4px;
  background: var(--obsidian);
  color: var(--paper);
  font-size: 15px; font-weight: 700; letter-spacing: .08em;
  transition: background .25s ease;
}
.btn-solid:hover { background: var(--copper-2); }
.cta-art { width: 100%; max-width: 560px; justify-self: end; }
.cta-art .horizon { stroke: var(--line); stroke-width: 1.5; }
.cta-art .gem-a { fill: var(--copper); }
.cta-art .gem-b { fill: var(--copper-2); }
.cta-art .roots path { fill: none; stroke: rgba(12, 16, 19, .22); stroke-width: 1.5; }
@media (prefers-reduced-motion: no-preference) {
  .cta-art .roots path { animation: cta-pulse 4s ease-in-out infinite; }
  .cta-art .roots path:nth-child(1) { animation-delay: 0s; }
  .cta-art .roots path:nth-child(2) { animation-delay: .08s; }
  .cta-art .roots path:nth-child(3) { animation-delay: .16s; }
  .cta-art .roots path:nth-child(4) { animation-delay: .24s; }
  .cta-art .roots path:nth-child(5) { animation-delay: .32s; }
  .cta-art .roots path:nth-child(6) { animation-delay: .40s; }
  .cta-art .roots path:nth-child(7) { animation-delay: .48s; }
  @keyframes cta-pulse { 0%, 34%, 100% { stroke: rgba(12, 16, 19, .22); } 12% { stroke: var(--copper); } }
}
@media (max-width: 860px) {
  .cta-grid { grid-template-columns: minmax(0, 1fr); }
  .cta-art { justify-self: center; max-width: 420px; }
  .btn-solid { width: 100%; }
  br.pc { display: none; }
}

/* お問い合わせページ */
.page-hero { padding: 168px 0 clamp(56px, 7vw, 80px); }
.page-hero h1 { margin-top: 0; font-weight: 400; }
.page-body { background: var(--paper); }
.contact-form-wrap { max-width: 640px; margin: 0 auto; }
.form-head h2 { font-size: clamp(26px, 3vw, 36px); font-weight: 700; letter-spacing: .04em; }
.form-head p { margin-top: 16px; font-size: 15px; font-weight: 500; }
.form-head { margin-bottom: 48px; }
.form { gap: 32px; }
.req, .opt { padding: 2px 10px; border-radius: 999px; font-size: 11px; font-weight: 500; }
.opt { background: #8F969A; color: var(--white); }
.field input, .field textarea { border: 1px solid #E3E6E5; border-radius: 4px; padding: 15px 16px; }
.field input { height: 54px; }
.field input::placeholder, .field textarea::placeholder { color: #B5BBBE; }
.field .hint { margin-top: 2px; font-size: 13px; font-weight: 500; color: var(--obsidian); line-height: 1.7; }
.contact-form-wrap .btn {
  width: 100%; min-height: 56px; border-radius: 4px;
  font-weight: 700;
}
.contact-form-wrap .btn .arrow { display: none; }
.cta-art .spark { fill: var(--copper); opacity: .25; }
@media (prefers-reduced-motion: no-preference) {
  .cta-art .spark { animation: cta-spark 4s ease-out .9s infinite; transform-box: fill-box; transform-origin: center; }
  @keyframes cta-spark { 0% { opacity: .25; transform: scale(1); } 8% { opacity: 1; transform: scale(1.8); } 30%, 100% { opacity: .25; transform: scale(1); } }
}
@media (max-width: 860px) { .cta-art { display: none; } }
/* 根のマークを削除：トップのContact（右側）とサブページ上部の透かし */
.cta-grid { grid-template-columns: minmax(0, 1fr); }
.page-hero::before { display: none; }
.footer-bottom { justify-content: flex-start; }
/* フッター：会社名の下にメニューを横並び */
.footer-top { flex-direction: column; align-items: flex-start; gap: 28px; }
.footer-nav { flex-direction: row !important; gap: 0; }
.footer-nav ul { display: flex; flex-wrap: wrap; gap: 12px 32px; }
@media (max-width: 760px) { .footer-nav ul { flex-direction: column; gap: 14px; } }
/* FVの英語：全端末で1行 */
.hero .mission { white-space: nowrap; }
@media (max-width: 760px) {
  .hero .mission { letter-spacing: .14em; font-size: min(12px, calc((100vw - 40px) / 27.5)); }
}

/* v14: 根の光は、サイトを開いた瞬間から（描画アニメーションを外し、すぐに光を昇らせる） */
@media (prefers-reduced-motion: no-preference) {
  .hero-bg .v {
    stroke-dasharray: none;
    stroke-dashoffset: 0;
    animation: bg-pulse4 4s ease-in-out infinite;
    animation-delay: calc(var(--i) * .08s);
  }
  .hero-bg .spark { animation-delay: .95s; }
  .hero-bg .flare { animation-delay: 1s; }
}
[hidden] { display: none !important; }
/* フッター：プライバシーポリシーをメニューの右（スマホは下）に */
.footer-nav { flex-wrap: wrap; gap: 12px 32px; }
@media (max-width: 760px) { .footer-nav { flex-direction: column !important; gap: 14px; } }
