/* ==========================================================
   株式会社Vingt Six コーポレートサイト
   ========================================================== */
:root {
  --ink: #17181c;
  --ink-2: #2a2c33;
  --muted: #5d6068;
  --paper: #f7f5f0;
  --white: #ffffff;
  --line: #e4e0d6;
  --orange: #e0481f;
  --orange-d: #b93612;
  --teal: #0f7377;
  --teal-d: #0a5659;
  --yellow: #e8b62f;
  --radius: 18px;
  --shadow: 0 10px 30px rgba(23, 24, 28, .08);
  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-en: "Inter", "Noto Sans JP", system-ui, sans-serif;
  --header-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 12px); -webkit-text-size-adjust: 100%; }
body {
  margin: 0; font-family: var(--font-jp); color: var(--ink); background: var(--paper);
  line-height: 1.85; font-size: 16px; font-feature-settings: "palt"; -webkit-font-smoothing: antialiased;
}
img, svg { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
p { margin: 0 0 1em; }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; letter-spacing: .02em; }
ul { margin: 0; padding: 0; list-style: none; }
.container { width: min(1120px, 100% - 48px); margin-inline: auto; }
.narrow { width: min(820px, 100% - 48px); margin-inline: auto; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 16px; border-radius: 8px; z-index: 200; }
.skip-link:focus { left: 8px; }
:focus-visible { outline: 3px solid var(--yellow); outline-offset: 3px; border-radius: 4px; }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 100; height: var(--header-h);
  background: rgba(23, 24, 28, .92); backdrop-filter: blur(10px); color: #fff;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.site-header .container { height: 100%; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand img { height: 34px; width: auto; }
.nav-list { display: flex; align-items: center; gap: 28px; font-size: 14.5px; font-weight: 500; }
.nav-list a { position: relative; padding: 6px 0; opacity: .86; transition: opacity .2s; }
.nav-list a:hover, .nav-list a[aria-current="page"] { opacity: 1; }
.nav-list a:not(.btn)::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: var(--yellow); transform: scaleX(0); transform-origin: left; transition: transform .25s; }
.nav-list a:not(.btn):hover::after, .nav-list a[aria-current="page"]::after { transform: scaleX(1); }
.nav-toggle { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: #fff; margin: 6px 0; transition: transform .25s, opacity .25s; }
.nav-open .nav-toggle span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle span:nth-child(2) { opacity: 0; }
.nav-open .nav-toggle span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 700; font-size: 15px; letter-spacing: .04em;
  border: 2px solid transparent; cursor: pointer; transition: transform .2s, background .2s, color .2s, box-shadow .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary { background: var(--orange); color: #fff; box-shadow: 0 8px 20px rgba(224, 72, 31, .35); }
.btn-primary:hover { background: var(--orange-d); }
.btn-ghost { border-color: rgba(255,255,255,.5); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--ink); }
.btn-dark { background: var(--ink); color: #fff; }
.btn-dark:hover { background: var(--ink-2); }
.btn-sm { padding: 9px 20px; font-size: 13.5px; }
.btn .arrow { transition: transform .2s; }
.btn:hover .arrow { transform: translateX(4px); }

/* ---------- Hero ---------- */
.hero {
  position: relative; overflow: hidden; color: #fff; background: var(--ink);
  background-image: url("../images/pattern-pitch.svg"); background-size: 900px auto; background-position: center 80%; background-repeat: no-repeat;
}
.hero .container { display: grid; grid-template-columns: 1.1fr .9fr; align-items: center; gap: 24px; padding-block: 88px 96px; min-height: 620px; }
.eyebrow { font-family: var(--font-en); font-weight: 800; font-size: 13px; letter-spacing: .22em; text-transform: uppercase; color: var(--yellow); margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.eyebrow::before { content: ""; width: 36px; height: 3px; background: var(--yellow); border-radius: 2px; }
.hero h1 { font-size: clamp(34px, 5.2vw, 64px); font-weight: 900; line-height: 1.25; letter-spacing: .01em; margin-bottom: 28px; }
.hero h1 em { font-style: normal; color: var(--yellow); }
.hero p.lead { font-size: clamp(16px, 1.6vw, 19px); color: rgba(255,255,255,.82); max-width: 34em; margin-bottom: 36px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; }
.hero-art { position: relative; justify-self: center; width: min(520px, 100%); animation: float 9s ease-in-out infinite; }
@keyframes float { 0%,100% { transform: translateY(0) rotate(0); } 50% { transform: translateY(-12px) rotate(2deg); } }

.trio { background: var(--ink-2); color: #fff; border-top: 1px solid rgba(255,255,255,.08); }
.trio .container { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 36px; padding-block: 22px; font-weight: 700; letter-spacing: .12em; }
.trio .dot { display: inline-block; width: 12px; height: 12px; border-radius: 50%; margin-right: 10px; vertical-align: -1px; }
.trio .x { opacity: .4; font-family: var(--font-en); }

/* ---------- Sections ---------- */
.section { padding-block: 104px; position: relative; }
.section.alt { background: var(--white); }
.section.dark { background: var(--ink); color: #fff; }
.section.dots { background-image: url("../images/pattern-dots.svg"); }
.sec-head { margin-bottom: 56px; max-width: 760px; }
.sec-head.center { margin-inline: auto; text-align: center; }
.sec-label { font-family: var(--font-en); font-weight: 800; font-size: 13px; letter-spacing: .24em; text-transform: uppercase; color: var(--orange); margin-bottom: 14px; }
.dark .sec-label { color: var(--yellow); }
.sec-head h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; margin-bottom: 18px; }
.sec-head p { color: var(--muted); margin: 0; }
.dark .sec-head p { color: rgba(255,255,255,.75); }

.grid { display: grid; gap: 24px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.card { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px 28px; transition: transform .25s, box-shadow .25s; }
.alt .card { background: var(--paper); }
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.card .icon { width: 52px; height: 52px; margin-bottom: 20px; }
.card h3 { font-size: 20px; font-weight: 800; margin-bottom: 12px; }
.card p { color: var(--muted); font-size: 15px; margin: 0; }
.card .tag { display: inline-block; font-family: var(--font-en); font-weight: 800; font-size: 12px; letter-spacing: .16em; margin-bottom: 14px; padding: 4px 12px; border-radius: 999px; color: #fff; }
.tag.t-orange { background: var(--orange); } .tag.t-teal { background: var(--teal); } .tag.t-yellow { background: var(--yellow); color: var(--ink); }
.card.accent-orange { border-top: 5px solid var(--orange); }
.card.accent-teal { border-top: 5px solid var(--teal); }
.card.accent-yellow { border-top: 5px solid var(--yellow); }
.card ul { margin-top: 18px; display: grid; gap: 8px; font-size: 14.5px; }
.card li { position: relative; padding-left: 20px; color: var(--ink-2); }
.card li::before { content: ""; position: absolute; left: 0; top: .72em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.accent-orange li::before { background: var(--orange); } .accent-yellow li::before { background: var(--yellow); }

/* problem cards */
.problem h3 { font-size: 18px; }
.problem .who { font-family: var(--font-en); font-weight: 800; font-size: 12px; letter-spacing: .2em; color: var(--muted); margin-bottom: 10px; }
.problem-bridge { margin-top: 40px; text-align: center; font-size: clamp(17px, 2vw, 22px); font-weight: 800; }
.problem-bridge span { background: linear-gradient(transparent 62%, rgba(232,182,47,.55) 62%); padding: 0 4px; }

/* flow (three-party) */
.flow { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr; align-items: stretch; gap: 14px; }
.flow-node { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: var(--radius); padding: 30px 24px; text-align: center; }
.flow-node .badge { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 18px; display: grid; place-items: center; font-weight: 900; font-size: 22px; color: #fff; }
.flow-node h3 { font-size: 20px; margin-bottom: 10px; }
.flow-node p { font-size: 14.5px; color: rgba(255,255,255,.75); margin: 0; }
.flow-arrow { align-self: center; font-size: 28px; color: var(--yellow); }
.badge.b-orange { background: var(--orange); } .badge.b-teal { background: var(--teal); } .badge.b-yellow { background: var(--yellow); color: var(--ink); }
.flow-core { margin-top: 28px; text-align: center; background: linear-gradient(90deg, rgba(224,72,31,.22), rgba(15,115,119,.28), rgba(232,182,47,.22)); border: 1px dashed rgba(255,255,255,.35); border-radius: var(--radius); padding: 22px; font-weight: 700; }
.flow-core small { display: block; font-weight: 400; opacity: .8; margin-top: 4px; }

/* features */
.feature { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; padding-block: 36px; }
.feature + .feature { border-top: 1px solid var(--line); }
.feature.rev .feature-text { order: 2; }
.feature-text .num { font-family: var(--font-en); font-weight: 900; font-size: 56px; line-height: 1; color: var(--orange); opacity: .9; margin-bottom: 8px; }
.feature-text h3 { font-size: clamp(22px, 2.6vw, 28px); font-weight: 900; margin-bottom: 16px; }
.feature-text p { color: var(--muted); }
.feature-visual { background: var(--ink); border-radius: 24px; padding: 36px; display: grid; place-items: center; min-height: 280px; color: #fff; position: relative; overflow: hidden; }
.feature-visual::after { content: ""; position: absolute; width: 260px; height: 260px; border-radius: 50%; right: -80px; top: -80px; background: var(--teal); opacity: .35; }

/* cheer card mock */
.cheer-card { position: relative; z-index: 1; width: min(300px, 100%); background: #fff; color: var(--ink); border-radius: 20px; padding: 24px 22px; box-shadow: 0 18px 40px rgba(0,0,0,.35); transform: rotate(-3deg); }
.cheer-card .cc-num { font-family: var(--font-en); font-weight: 900; font-size: 56px; line-height: 1; color: var(--orange); }
.cheer-card .cc-num small { font-size: 18px; margin-left: 4px; color: var(--ink); font-family: var(--font-jp); font-weight: 700; }
.cheer-card .cc-title { font-weight: 800; margin: 6px 0 12px; }
.cheer-card .cc-msg { background: var(--paper); border-radius: 12px; padding: 12px 14px; font-size: 13.5px; line-height: 1.6; }
.cheer-card .cc-foot { margin-top: 14px; font-size: 12px; font-weight: 700; color: var(--teal); }
.cheer-card.second { position: absolute; z-index: 0; transform: rotate(6deg) translate(60px, 16px); opacity: .9; width: 240px; }
.pt-meter { position: relative; z-index: 1; width: min(300px, 100%); }
.pt-meter .row { display: flex; justify-content: space-between; font-weight: 700; margin-bottom: 8px; font-size: 14px; }
.pt-bar { height: 16px; background: rgba(255,255,255,.15); border-radius: 999px; overflow: hidden; }
.pt-bar i { display: block; height: 100%; width: 70%; background: linear-gradient(90deg, var(--orange), var(--yellow)); border-radius: 999px; }
.pt-meter .week { display: flex; gap: 8px; margin-top: 22px; }
.pt-meter .week span { flex: 1; text-align: center; font-size: 12px; padding: 8px 0; border-radius: 10px; background: rgba(255,255,255,.1); }
.pt-meter .week span.on { background: var(--yellow); color: var(--ink); font-weight: 800; }
.sns-mock { position: relative; z-index: 1; display: grid; gap: 12px; width: min(320px, 100%); }
.sns-mock .post { background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 14px; padding: 14px 16px; font-size: 13.5px; }
.sns-mock .post b { display: block; font-size: 12px; color: var(--yellow); margin-bottom: 4px; letter-spacing: .1em; font-family: var(--font-en); }
.sns-mock .arrow-down { text-align: center; color: var(--yellow); font-size: 22px; line-height: 1; }
.sns-mock .site { background: #fff; color: var(--ink); border-radius: 14px; padding: 14px 16px; font-size: 13.5px; font-weight: 700; display: flex; align-items: center; gap: 10px; }
.sns-mock .site::before { content: ""; width: 10px; height: 10px; border-radius: 50%; background: var(--teal); box-shadow: 0 0 0 4px rgba(15,115,119,.25); }

/* name story */
.name-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 56px; align-items: center; }
.name-logo { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 56px 40px; display: grid; place-items: center; gap: 18px; }
.name-logo img { width: min(340px, 100%); }
.name-logo small { color: var(--muted); font-size: 13px; text-align: center; }
.name-points { display: grid; gap: 18px; }
.name-points li { background: var(--white); border: 1px solid var(--line); border-left: 6px solid var(--orange); border-radius: 12px; padding: 18px 22px; }
.name-points li:nth-child(2) { border-left-color: var(--teal); } .name-points li:nth-child(3) { border-left-color: var(--yellow); }
.name-points b { display: block; font-size: 17px; margin-bottom: 4px; }
.name-points span { color: var(--muted); font-size: 14.5px; }

/* CTA */
.cta { background: linear-gradient(120deg, var(--orange) 0%, #c93a14 45%, var(--teal) 100%); color: #fff; text-align: center; }
.cta h2 { font-size: clamp(26px, 3.6vw, 40px); font-weight: 900; margin-bottom: 16px; }
.cta p { max-width: 38em; margin: 0 auto 32px; opacity: .92; }
.cta .btn-white { background: #fff; color: var(--ink); }
.cta .btn-white:hover { background: var(--yellow); }
.cta-actions { display: flex; flex-wrap: wrap; gap: 14px; justify-content: center; }

/* news */
.news-list { border-top: 1px solid var(--line); }
.news-list li { display: grid; grid-template-columns: 130px 110px 1fr; gap: 16px; align-items: center; padding: 20px 4px; border-bottom: 1px solid var(--line); }
.news-list time { font-family: var(--font-en); font-weight: 700; color: var(--muted); font-size: 14px; }
.news-cat { font-size: 12px; font-weight: 700; text-align: center; padding: 3px 10px; border-radius: 999px; background: var(--ink); color: #fff; }

/* page hero (sub pages) */
.page-hero { background: var(--ink); color: #fff; background-image: url("../images/pattern-pitch.svg"); background-size: 800px auto; background-position: right center; background-repeat: no-repeat; }
.page-hero .container { padding-block: 72px 64px; }
.page-hero h1 { font-size: clamp(30px, 4.4vw, 48px); font-weight: 900; }
.crumb { font-size: 13px; opacity: .7; margin-bottom: 14px; }
.crumb a:hover { text-decoration: underline; }

/* company table */
.dl { border-top: 2px solid var(--ink); }
.dl .row { display: grid; grid-template-columns: 200px 1fr; gap: 24px; padding: 22px 8px; border-bottom: 1px solid var(--line); }
.dl dt { font-weight: 800; }
.dl dd { margin: 0; color: var(--ink-2); }
.person { display: grid; grid-template-columns: 180px 1fr; gap: 36px; align-items: start; }
.person .avatar { width: 180px; height: 180px; border-radius: 50%; background: linear-gradient(135deg, var(--orange), var(--teal)); display: grid; place-items: center; color: #fff; font-family: var(--font-en); font-weight: 900; font-size: 54px; letter-spacing: .04em; }
.person h3 { font-size: 24px; margin-bottom: 4px; }
.person .role { color: var(--orange); font-weight: 700; font-size: 14px; margin-bottom: 14px; }
.timeline { margin-top: 20px; display: grid; gap: 10px; font-size: 14.5px; }
.timeline li { padding-left: 20px; position: relative; color: var(--ink-2); }
.timeline li::before { content: ""; position: absolute; left: 0; top: .75em; width: 8px; height: 8px; border-radius: 50%; background: var(--teal); }
.map-wrap { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); background: #fff; }
.map-wrap iframe { width: 100%; height: 380px; border: 0; display: block; }
.map-caption { padding: 14px 20px; font-size: 14px; color: var(--muted); display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.map-caption a { color: var(--teal); font-weight: 700; text-decoration: underline; }

/* steps */
.steps { counter-reset: s; display: grid; gap: 16px; }
.steps li { counter-increment: s; background: var(--white); border: 1px solid var(--line); border-radius: 14px; padding: 20px 24px 20px 76px; position: relative; }
.steps li::before { content: counter(s); position: absolute; left: 22px; top: 50%; transform: translateY(-50%); width: 36px; height: 36px; border-radius: 50%; background: var(--orange); color: #fff; font-family: var(--font-en); font-weight: 900; display: grid; place-items: center; }
.steps b { display: block; margin-bottom: 2px; }
.steps span { color: var(--muted); font-size: 14.5px; }

/* form */
.form { display: grid; gap: 22px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); padding: 36px; }
.field label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 14.5px; }
.field .req { color: var(--orange); font-size: 12px; margin-left: 6px; }
.field input, .field select, .field textarea { width: 100%; font: inherit; padding: 13px 16px; border: 1.5px solid var(--line); border-radius: 12px; background: var(--paper); color: var(--ink); transition: border-color .2s, background .2s; }
.field input:focus, .field select:focus, .field textarea:focus { border-color: var(--teal); background: #fff; outline: none; box-shadow: 0 0 0 4px rgba(15,115,119,.15); }
.field textarea { min-height: 180px; resize: vertical; }
.form-note { font-size: 13px; color: var(--muted); }
.form-msg { display: none; padding: 14px 18px; border-radius: 12px; font-size: 14.5px; }
.form-msg.show { display: block; background: #fff4d6; border: 1px solid var(--yellow); }
.hp { position: absolute; left: -9999px; }

/* legal */
.legal h2 { font-size: 20px; font-weight: 800; margin: 40px 0 12px; padding-left: 14px; border-left: 5px solid var(--orange); }
.legal p, .legal li { color: var(--ink-2); font-size: 15px; }
.legal ul { list-style: disc; padding-left: 1.4em; margin-bottom: 1em; }
.notice { background: #fff4d6; border: 1px solid var(--yellow); border-radius: 12px; padding: 14px 18px; font-size: 14px; margin-bottom: 28px; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink); color: rgba(255,255,255,.8); padding-block: 64px 28px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-grid img { height: 36px; width: auto; margin-bottom: 18px; }
.footer-grid address { font-style: normal; font-size: 14px; line-height: 1.9; }
.footer-grid h4 { color: #fff; font-size: 14px; letter-spacing: .12em; margin-bottom: 14px; font-family: var(--font-en); text-transform: uppercase; }
.footer-grid li { margin-bottom: 8px; font-size: 14px; }
.footer-grid a:hover { color: var(--yellow); }
.copyright { padding-top: 24px; font-size: 12.5px; opacity: .6; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.to-top { position: fixed; right: 20px; bottom: 20px; width: 48px; height: 48px; border-radius: 50%; background: var(--orange); color: #fff; border: 0; cursor: pointer; font-size: 20px; box-shadow: 0 8px 20px rgba(0,0,0,.25); opacity: 0; pointer-events: none; transition: opacity .25s, transform .25s; z-index: 90; }
.to-top.show { opacity: 1; pointer-events: auto; }
.to-top:hover { transform: translateY(-3px); }

/* reveal */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }
.no-js .reveal { opacity: 1; transform: none; }

/* ---------- Responsive ---------- */
@media (max-width: 960px) {
  .hero .container { grid-template-columns: 1fr; padding-block: 56px 64px; min-height: 0; }
  .hero-art { width: min(340px, 80%); order: -1; }
  .grid-3, .grid-4 { grid-template-columns: 1fr 1fr; }
  .feature, .name-grid { grid-template-columns: 1fr; gap: 28px; }
  .feature.rev .feature-text { order: 0; }
  .flow { grid-template-columns: 1fr; }
  .flow-arrow { transform: rotate(90deg); justify-self: center; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid > :first-child { grid-column: 1 / -1; }
}
@media (max-width: 860px) {
  .nav-toggle { display: block; }
  .nav { position: fixed; inset: var(--header-h) 0 auto 0; background: var(--ink); max-height: 0; overflow: hidden; transition: max-height .35s ease; }
  .nav-open .nav { max-height: 80vh; border-bottom: 1px solid rgba(255,255,255,.1); }
  .nav-list { flex-direction: column; align-items: stretch; gap: 0; padding: 12px 24px 28px; }
  .nav-list li a:not(.btn) { display: block; padding: 16px 0; border-bottom: 1px solid rgba(255,255,255,.08); }
  .nav-list .btn { margin-top: 16px; width: 100%; }
}
@media (max-width: 640px) {
  body { font-size: 15.5px; }
  .section { padding-block: 72px; }
  .grid-3, .grid-4, .grid-2 { grid-template-columns: 1fr; }
  .news-list li { grid-template-columns: 1fr; gap: 6px; }
  .news-cat { justify-self: start; }
  .dl .row { grid-template-columns: 1fr; gap: 6px; }
  .person { grid-template-columns: 1fr; }
  .person .avatar { width: 120px; height: 120px; font-size: 38px; }
  .form { padding: 24px 20px; }
  .footer-grid { grid-template-columns: 1fr; }
  .cheer-card.second { display: none; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero-art { animation: none; }
  .reveal { opacity: 1; transform: none; transition: none; }
}

@media (max-width: 960px) {
  .flow .flow-arrow:nth-child(4) { transform: rotate(-90deg); }
}
