﻿/* Inter (SIL Open Font License) を自己ホスト。日本語はゴシック体でフォールバック。 */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/inter/inter-01.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url(../fonts/inter/inter-02.ttf) format('truetype');
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 900;
  font-display: swap;
  src: url(../fonts/inter/inter-03.ttf) format('truetype');
}

/* Klee One (SIL Open Font License) を自己ホスト。行動指針セクション専用。 */
@font-face {
  font-family: 'Klee One';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url(../fonts/klee-one/KleeOne-Regular.ttf) format('truetype');
}
@font-face {
  font-family: 'Klee One';
  font-style: normal;
  font-weight: 600;
  font-display: swap;
  src: url(../fonts/klee-one/KleeOne-SemiBold.ttf) format('truetype');
}

:root {
  --navy: #292B4F;
  --ink: #0A0C1B;
  --blue: #1D4D83;
  --sky: #2E73B5;
  --blue-light: #E8EEF0;
  --green: #6FA23C;
  --green-bright: #8CC63F;
  --green-light: #EEF4E4;

  --gray-900: #1A1A1A;
  --gray-700: #666666;
  --gray-400: #9CA3AF;
  --gray-200: #E5E7EB;
  --gray-100: #F1F5F6;
  --white: #F7F9FA;

  --font-jp: 'Inter', "Yu Gothic Medium", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  --font-sans: 'Inter', "Yu Gothic Medium", "Yu Gothic", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;

  --ease-out: cubic-bezier(0.16, 0.84, 0.44, 1);
  --header-h: 76px;
}

* { box-sizing: border-box; }

/* ---------- Liquid glass ---------- */
.liquid-glass {
  background: rgba(0, 0, 0, 0.4);
  background-blend-mode: luminosity;
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border: none;
  box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1);
  position: relative;
  overflow: hidden;
}

.liquid-glass::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1.4px;
  background: linear-gradient(180deg,
    rgba(255,255,255,0.3) 0%, rgba(255,255,255,0.1) 20%,
    rgba(255,255,255,0) 40%, rgba(255,255,255,0) 60%,
    rgba(255,255,255,0.1) 80%, rgba(255,255,255,0.3) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

/* ---------- Cinema noise grain (index.html全体の暗色シネマ統一に伴うテクスチャ、body.cinema-pageのみ) ---------- */
body.cinema-page::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 9999;
  pointer-events: none;
  opacity: 0.035;
  mix-blend-mode: overlay;
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='120' height='120'><filter id='n'><feTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/></filter><rect width='100%25' height='100%25' filter='url(%23n)'/></svg>");
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-sans);
  color: var(--gray-900);
  background:
    radial-gradient(circle at 88% 8%, rgba(46, 115, 181, 0.10), transparent 28%),
    radial-gradient(circle at 10% 34%, rgba(111, 162, 60, 0.08), transparent 26%),
    #E8EEF0;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  display: flex;
  align-items: center;
  background: transparent;
  transition: background 0.4s var(--ease-out), box-shadow 0.4s var(--ease-out), height 0.4s var(--ease-out);
}

.site-header.is-scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  box-shadow: 0 2px 24px rgba(41, 43, 79, 0.08);
  height: 64px;
}

.site-header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand img {
  height: 30px;
  width: auto;
}

.brand-text {
  font-size: 0.78rem;
  font-weight: 900;
  color: var(--navy);
  letter-spacing: 0.02em;
}

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

.site-nav a {
  font-size: 0.92rem;
  font-weight: 400;
  color: var(--navy);
  position: relative;
  padding: 6px 0;
}

.site-nav a::after {
  content: "";
  position: absolute;
  left: 0; right: 100%;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--green-bright), var(--sky), var(--navy));
  transition: right 0.35s var(--ease-out);
}

.site-nav a:hover::after,
.site-nav a.is-active::after {
  right: 0;
}

.site-nav a.cta {
  background: var(--blue);
  color: var(--white);
  padding: 10px 22px;
  border-radius: 999px;
  transition: background 0.3s, transform 0.3s;
}

.site-nav a.cta::after { display: none; }

.site-nav a.cta:hover {
  background: var(--navy);
  transform: translateY(-1px);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 28px;
  cursor: pointer;
  background: none;
  border: none;
  padding: 8px;
}

.nav-toggle span {
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}

/* ---------- Cinematic hero (video/glass redesign, index.html only) ---------- */
.cine-hero {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: #000;
  padding: 0;
}

.cine-hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cine-hero-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(5, 6, 13, 0.15) 0%, rgba(5, 6, 13, 0.2) 45%, rgba(5, 6, 13, 0.68) 100%);
  pointer-events: none;
}

.cine-hero-shell {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.cine-nav-wrap {
  padding: 24px 24px 0;
}

@media (min-width: 768px) {
  .cine-nav-wrap { padding: 24px 48px 0; }
}

@media (min-width: 1024px) {
  .cine-nav-wrap { padding: 24px 64px 0; }
}

.cine-nav {
  border-radius: 14px;
  padding: 8px 16px;
  display: flex;
  align-items: center;
  gap: 16px;
}

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

.cine-logo img {
  height: 28px;
  width: auto;
  display: block;
}

.cine-nav-links {
  display: none;
  align-items: center;
  gap: 32px;
  margin-left: auto;
}

@media (min-width: 768px) {
  .cine-nav-links { display: flex; }
}

.cine-nav-links a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.8);
  transition: color 0.2s;
}

.cine-nav-links a:hover { color: var(--white); }

.cine-nav-cta {
  background: var(--white);
  color: var(--ink);
  padding: 8px 24px;
  border-radius: 10px;
  font-size: 0.875rem;
  font-weight: 900;
  transition: background 0.2s;
}

.cine-nav-cta:hover { background: var(--gray-200); }

.cine-hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 24px 48px;
  gap: 40px;
}

@media (min-width: 768px) {
  .cine-hero-content { padding: 0 48px 56px; }
}

@media (min-width: 1024px) {
  .cine-hero-content {
    padding: 0 64px 32px;
  }
}

.cine-heading {
  position: relative;
  display: grid;
  align-items: end;
  font-family: var(--font-sans);
  font-size: clamp(2.5rem, 5.8vw, 4.4rem);
  font-weight: 400;
  color: var(--white);
  letter-spacing: -0.03em;
  line-height: 1.15;
  margin: 0 0 12px;
}

.cine-heading .ah-line { display: block; }

.cine-heading .ah-char {
  display: inline-block;
  opacity: 0;
  transform: translateX(-18px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.cine-heading.is-in .ah-char {
  opacity: 1;
  transform: translateX(0);
}

.cine-heading .ah-primary,
.cine-heading .ah-avengers,
.cine-heading .ah-final {
  grid-area: 1 / 1;
}

.cine-heading .ah-avengers,
.cine-heading .ah-final {
  opacity: 0;
  transform: translateY(14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.cine-heading .ah-avengers {
  text-shadow: 0 0 46px rgba(140, 198, 63, 0.45);
}

.cine-heading.is-stage1 .ah-primary {
  opacity: 0;
  transform: translateY(-14px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.cine-heading.is-stage1 .ah-avengers {
  opacity: 1;
  transform: translateY(0);
}

.cine-heading.is-stage2 .ah-avengers {
  opacity: 0;
  transform: translateY(-14px);
}

.cine-heading.is-stage2 .ah-final {
  opacity: 1;
  transform: translateY(0);
}

.cine-sub {
  font-family: var(--font-sans);
  font-size: 1.05rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.72);
  max-width: 520px;
  margin: 0 0 12px;
}

@media (min-width: 768px) {
  .cine-sub { font-size: 1.15rem; }
}

.cine-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.cine-btn-solid,
.cine-btn-glass {
  padding: 14px 32px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 900;
  transition: background 0.3s, color 0.3s, transform 0.3s;
}

.cine-btn-solid {
  background: var(--white);
  color: var(--ink);
}

.cine-btn-solid:hover { transform: translateY(-2px); }

.cine-btn-glass {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.cine-btn-glass:hover {
  background: var(--white);
  color: var(--ink);
}

/* fade-in utility (subheading / buttons) */
[data-fade-delay] {
  opacity: 0;
  transition: opacity 1s ease;
}

[data-fade-delay].is-in { opacity: 1; }

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  font-weight: 900;
  color: var(--blue);
  letter-spacing: 0.12em;
  margin-bottom: 20px;
}

.eyebrow::before {
  content: "";
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, var(--green-bright), var(--blue));
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 15px 30px;
  border-radius: 999px;
  font-weight: 900;
  font-size: 0.95rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out), background 0.3s;
}

.btn-primary {
  background: var(--blue);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(29, 77, 131, 0.25);
}

.btn-primary:hover {
  background: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(41, 43, 79, 0.3);
}

.btn-ghost {
  border: 1.5px solid var(--gray-200);
  color: var(--navy);
}

.btn-ghost:hover {
  border-color: var(--blue);
  color: var(--blue);
  transform: translateY(-2px);
}

/* ---------- Section generic ---------- */
section {
  padding: 120px 0;
}

.section-head {
  max-width: 640px;
  margin: 0 0 64px;
}

.section-head .eyebrow { margin-bottom: 16px; }

.section-head h2 {
  font-size: clamp(1.8rem, 3.8vw, 2.7rem);
  color: var(--navy);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.section-head p {
  color: var(--gray-700);
  margin: 0;
}

/* ---------- Reveal animation utility ----------
   .reveal / .reveal-scale are pure markers here — js/main.js (GSAP + ScrollTrigger)
   owns the actual opacity/transform tweening, so no CSS transition is defined. */

/* ---------- Mission ---------- */
.mission {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  background: var(--ink);
}

.mission::before {
  content: "";
  position: absolute;
  inset: -10% -10%;
  z-index: 0;
  background-image:
    linear-gradient(rgba(140, 198, 63, 0.14) 1px, transparent 1px),
    linear-gradient(90deg, rgba(140, 198, 63, 0.14) 1px, transparent 1px);
  background-size: 64px 64px;
  animation: grid-drift 16s linear infinite;
}

.mission::after {
  content: "";
  position: absolute;
  z-index: 0;
  width: 560px;
  height: 560px;
  top: -180px;
  right: -140px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46, 115, 181, 0.55), transparent 70%);
  filter: blur(90px);
}

@keyframes grid-drift {
  to { background-position: 64px 64px, 64px 64px; }
}

.mission-inner {
  position: relative;
  z-index: 1;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.mission-inner .eyebrow { justify-content: center; color: var(--green-bright); }
.mission-inner .eyebrow::before { display: none; }

.mission-inner h2 {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  color: var(--white);
  line-height: 1.6;
  margin: 0;
}

/* ---------- Heading typography unification (index.html dark sections) ---------- */
.mission-inner h2,
.pin-section .section-head h2,
.cine-cta h2 {
  font-weight: 900;
  letter-spacing: -0.02em;
}

.hc { display: inline-block; }

.mission-inner h2 em {
  font-style: normal;
  background: linear-gradient(90deg, var(--green-bright), var(--sky) 65%, #7CE0FF);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ---------- Scrollytelling: business pinned section ---------- */
.pin-section {
  position: relative;
  background: var(--ink);
}

.pin-section .eyebrow { color: var(--green-bright); }
.pin-section .eyebrow::before { background: var(--green-bright); }
.pin-section .section-head h2 { color: var(--white); }
.pin-section .section-head p { color: rgba(255, 255, 255, 0.62); }

.pin-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.pin-visual {
  position: sticky;
  top: calc(var(--header-h) + 40px);
  height: 520px;
  border-radius: 20px;
  overflow: hidden;
  background: var(--navy);
}

.pin-visual-frame {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.7s var(--ease-out);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 36px;
  color: var(--white);
}

.pin-visual-frame.is-active { opacity: 1; }

.pin-visual-frame .num {
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  color: var(--green-bright);
  font-weight: 900;
  margin-bottom: 10px;
}

.pin-visual-frame h3 {
  font-size: 1.5rem;
  margin: 0 0 10px;
  font-weight: 900;
}

.pin-visual-frame p {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
  margin: 0;
  max-width: 320px;
}

.pin-visual-bg {
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.9s var(--ease-out);
}

.pin-visual-bg.is-active { opacity: 1; }

.pin-visual-bg.bg-solar,
.pin-visual-bg.bg-battery,
.pin-visual-bg.bg-ai {
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
}

.pin-visual-bg.bg-solar {
  background-image:
    linear-gradient(0deg, rgba(10,12,27,0.75), rgba(10,12,27,0.05) 55%),
    url('../assets/biz-solar.webp');
}

.pin-visual-bg.bg-battery {
  background-image:
    linear-gradient(0deg, rgba(10,12,27,0.75), rgba(10,12,27,0.05) 55%),
    url('../assets/biz-battery.webp');
}

.pin-visual-bg.bg-ai {
  background-image:
    linear-gradient(0deg, rgba(10,12,27,0.75), rgba(10,12,27,0.05) 55%),
    url('../assets/biz-ai.webp');
}

.pin-track {
  display: flex;
  flex-direction: column;
  gap: 200px;
  padding-top: 20px;
  padding-bottom: 40px;
}

.pin-step {
  opacity: 0.28;
  transition: opacity 0.5s var(--ease-out);
}

.pin-step.is-active {
  opacity: 1;
}

.pin-step .tag {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: var(--white);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 18px;
}

.pin-step h3 {
  font-size: 1.5rem;
  color: var(--white);
  font-weight: 900;
  margin: 0 0 16px;
}

.pin-step p {
  color: rgba(255, 255, 255, 0.68);
  margin: 0 0 20px;
}

.pin-step ul li {
  position: relative;
  padding-left: 22px;
  color: rgba(255, 255, 255, 0.68);
  margin-bottom: 8px;
  font-size: 0.94rem;
}

.pin-step ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 9px;
  width: 8px; height: 8px;
  border-radius: 2px;
  background: var(--green);
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  background: linear-gradient(120deg, var(--navy), var(--blue) 60%, var(--sky));
  color: var(--white);
  text-align: center;
  padding: 96px 0;
}

.cta-band .container { position: relative; z-index: 1; }

.cta-glow {
  position: absolute;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.45;
  pointer-events: none;
}

.cta-glow.g1 { background: var(--green-bright); top: -140px; left: -90px; }
.cta-glow.g2 { background: var(--sky); bottom: -160px; right: -70px; }

/* ---------- CTA band: index.html cinematic bookend (hero-bg.mp4 reuse, scoped so other pages' plain cta-band is untouched) ---------- */
.cine-cta { background: var(--ink); }

.cine-cta .cta-bg-video {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
}

.cine-cta .cta-band-scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(5, 6, 13, 0.72);
  pointer-events: none;
}

.cine-cta .cta-glow { z-index: 2; }
.cine-cta .container { z-index: 3; }

.cta-band h2 {
  font-size: clamp(1.7rem, 4vw, 2.5rem);
  font-weight: 900;
  letter-spacing: -0.01em;
  margin: 0 0 16px;
}

.cta-band p {
  color: rgba(255,255,255,0.8);
  margin: 0 0 36px;
}

.cta-band .btn-primary {
  background: var(--white);
  color: var(--navy);
  box-shadow: none;
}

.cta-band .btn-primary:hover {
  background: var(--green-bright);
  color: var(--navy);
}

/* ---------- Footer ---------- */
.site-footer {
  padding: 56px 0 32px;
  background:
    radial-gradient(circle at 90% 8%, rgba(46, 115, 181, 0.12), transparent 34%),
    linear-gradient(135deg, #F2F6F7 0%, #DFEAEC 100%);
  color: #41535F;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 32px;
  padding-bottom: 32px;
  border-bottom: 1px solid rgba(21, 32, 43, 0.14);
  margin-bottom: 24px;
}

.footer-brand img { height: 46px; margin-bottom: 12px; }
.footer-brand p { font-size: 0.82rem; max-width: 320px; color: #41535F; }

.footer-nav {
  display: flex;
  gap: 48px;
}

.footer-nav h4 {
  font-size: 0.78rem;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin: 0 0 14px;
}

.footer-nav a {
  display: block;
  font-size: 0.86rem;
  padding: 5px 0;
  color: #41535F;
  transition: color 0.2s;
}

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

.footer-bottom {
  font-size: 0.78rem;
  color: #667984;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}

/* ---------- Inner page header (company / business / contact) ---------- */
.page-hero {
  padding: 200px 0 80px;
  background: var(--blue-light);
  text-align: left;
}

.page-hero .eyebrow::before { display: none; }

.page-hero h1 {
  font-size: clamp(1.9rem, 4vw, 2.6rem);
  color: var(--navy);
  font-weight: 900;
  margin: 0 0 14px;
}

.page-hero p {
  color: var(--gray-700);
  max-width: 560px;
  margin: 0;
}

/* ---------- Table (company overview) ---------- */
.info-table {
  width: 100%;
  border-collapse: collapse;
}

.info-table tr {
  border-bottom: 1px solid var(--gray-200);
}

.info-table th, .info-table td {
  text-align: left;
  padding: 22px 12px;
  font-size: 0.94rem;
  vertical-align: top;
}

.info-table th {
  width: 200px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.02em;
}

.info-table td {
  color: var(--gray-900);
}

.info-table .placeholder {
  color: var(--gray-400);
  font-style: normal;
}

.note-box {
  background: var(--green-light);
  border-left: 4px solid var(--green);
  padding: 20px 24px;
  border-radius: 8px;
  font-size: 0.88rem;
  color: var(--gray-700);
  margin-top: 40px;
}

/* ---------- Group structure (会社概要: グループ体制) ---------- */
.group-structure {
  margin-top: 72px;
  padding-top: 56px;
  border-top: 1px solid var(--gray-200);
}

.group-structure__h2 {
  font-size: 1.4rem;
  color: var(--navy);
  font-weight: 900;
  margin: 0 0 16px;
}

.group-structure__lead {
  color: var(--gray-700);
  max-width: 720px;
  margin: 0 0 36px;
}

.group-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 40px;
}

.group-flow__node {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: var(--gray-100);
  border-radius: 12px;
  padding: 14px 22px;
  font-weight: 900;
  color: var(--navy);
  font-size: 0.95rem;
  text-align: center;
}

.group-flow__node.is-ies {
  background: var(--blue-light);
  color: var(--blue);
}

.group-flow__node small {
  font-weight: 400;
  font-size: 0.72rem;
  color: var(--gray-700);
}

.group-flow__arrow {
  color: var(--gray-400);
  font-size: 1.2rem;
}

.group-cols {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-bottom: 32px;
}

.group-col {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.group-col:hover {
  border-color: var(--green-bright);
  box-shadow: 0 16px 36px rgba(140, 198, 63, 0.14);
}

.group-col h3 {
  color: var(--navy);
  font-size: 1.05rem;
  margin: 0 0 8px;
}

.group-col__license {
  font-size: 0.8rem;
  color: var(--blue);
  margin: 0 0 16px;
}

.group-col ul {
  display: grid;
  gap: 8px;
}

.group-col li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--gray-700);
}

.group-col li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px;
  height: 7px;
  border-radius: 2px;
  background: var(--green);
}

/* ---------- Code of Conduct (行動指針、Klee Oneフォント適用) ---------- */
.code-of-conduct {
  font-family: 'Klee One', var(--font-jp);
}

.code-of-conduct .section-head {
  font-family: var(--font-sans);
}

/* ---------- Detail row (行動指針など、左ラベル＋右詳細のリスト) ---------- */
.detail-row {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 48px;
  padding: 48px 0;
  border-bottom: 1px solid var(--gray-200);
}

.detail-row:first-of-type { padding-top: 0; }

.detail-row .num {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}

.detail-row h3 {
  font-size: 1.35rem;
  color: var(--navy);
  margin: 0;
}

.principle-quote {
  font-size: clamp(1.2rem, 2.4vw, 1.5rem);
  font-weight: 600;
  line-height: 1.6;
  color: var(--navy);
  margin: 0 0 10px;
}

.principle-action {
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--gray-700);
  margin: 0;
}

/* ---------- Mission statement (経営理念・Mission・Vision・SDGs宣言) ---------- */
.mission-statement {
  max-width: 760px;
  padding: 40px 0 48px;
  border-bottom: 1px solid var(--gray-200);
}

.mission-statement:first-of-type { padding-top: 0; }

.mission-statement h2 {
  font-size: clamp(1.35rem, 3vw, 1.8rem);
  color: var(--navy);
  font-weight: 900;
  line-height: 1.7;
  margin: 0 0 16px;
}

.mission-statement p {
  color: var(--gray-700);
  margin: 0;
}

.mission-statement p + p {
  margin-top: 12px;
}

/* ---------- Philosophy page palette (企業理念ページ専用配色) ---------- */
body.philosophy-page {
  background: #F4F7F5;
  color: #4E5956;
}

body.philosophy-page .philosophy-hero {
  background: #EEF3F1;
}

body.philosophy-page .philosophy-section {
  padding: 56px 0;
}

body.philosophy-page .philosophy-section:nth-of-type(even) {
  background: #EAF0EE;
}

body.philosophy-page h1,
body.philosophy-page h2,
body.philosophy-page h3 {
  color: #172653;
}

body.philosophy-page .cta-band h2 {
  color: var(--white);
}

body.philosophy-page .mission-statement {
  padding: 0;
  border-bottom: none;
}

body.philosophy-page .mission-statement p,
body.philosophy-page .principle-action {
  color: #4E5956;
}

/* ---------- SDGs visual (SDGs宣言) ---------- */
.sdgs-visual {
  display: flex;
  justify-content: center;
  margin: 40px 0;
}

.sdgs-visual img {
  width: 100%;
  max-width: 320px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 16px 36px rgba(21, 32, 43, 0.14);
}

/* ---------- Value / goal card grid (企業理念・SDGs宣言) ---------- */
.value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.value-grid.is-two { grid-template-columns: repeat(2, 1fr); }

.sdgs-goal-grid {
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.value-card {
  background: var(--gray-100);
  border: 1px solid var(--gray-200);
  border-radius: 16px;
  padding: 28px;
  transition: border-color 0.3s var(--ease-out), box-shadow 0.3s var(--ease-out);
}

.value-card:hover {
  border-color: var(--green-bright);
  box-shadow: 0 16px 36px rgba(140, 198, 63, 0.14);
}

.value-card .num {
  font-size: 0.8rem;
  font-weight: 900;
  color: var(--green);
  letter-spacing: 0.1em;
  margin-bottom: 10px;
  display: block;
}

.value-card h3 {
  color: var(--navy);
  font-size: 1.08rem;
  margin: 0 0 10px;
}

.value-card p {
  color: var(--gray-700);
  font-size: 0.9rem;
  margin: 0;
}

/* ---------- Legal content (プライバシーポリシー) ---------- */
.legal-content { max-width: 760px; }

.legal-content h2 {
  font-size: 1.1rem;
  color: var(--navy);
  font-weight: 900;
  margin: 40px 0 12px;
}

.legal-content h2:first-child { margin-top: 0; }

.legal-content p {
  color: var(--gray-700);
  margin: 0 0 12px;
  font-size: 0.92rem;
}

.legal-content ul {
  display: grid;
  gap: 8px;
  margin: 0 0 12px;
  padding-left: 0;
}

.legal-content li {
  position: relative;
  padding-left: 20px;
  font-size: 0.9rem;
  color: var(--gray-700);
  list-style: none;
}

.legal-content li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 7px; height: 7px;
  border-radius: 2px;
  background: var(--blue);
}

.legal-content .legal-date {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-200);
  font-size: 0.85rem;
  color: var(--gray-400);
}

/* ---------- Contact form ---------- */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 56px;
}

.contact-info h3 {
  color: var(--navy);
  font-size: 1.1rem;
  margin: 0 0 12px;
}

.contact-info p {
  color: var(--gray-700);
  font-size: 0.92rem;
}

.contact-info .info-row {
  display: flex;
  gap: 14px;
  margin-bottom: 20px;
}

.contact-info .info-row .label {
  color: var(--blue);
  font-weight: 900;
  font-size: 0.85rem;
  width: 90px;
  flex-shrink: 0;
}

form.contact-form {
  display: grid;
  gap: 20px;
}

.form-row {
  display: grid;
  gap: 8px;
}

.form-row label {
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--navy);
}

.form-row input,
.form-row select,
.form-row textarea {
  border: 1px solid var(--gray-200);
  border-radius: 10px;
  padding: 13px 16px;
  font-size: 0.94rem;
  font-family: inherit;
  color: var(--gray-900);
  transition: border-color 0.25s, box-shadow 0.25s;
}

.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 3px var(--blue-light);
}

.form-row textarea {
  resize: vertical;
  min-height: 140px;
}

.form-submit {
  border: none;
  cursor: pointer;
  justify-self: start;
}

.form-note {
  font-size: 0.82rem;
  color: var(--gray-400);
}

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .site-nav {
    position: fixed;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 20px 24px 28px;
    box-shadow: 0 16px 30px rgba(0,0,0,0.08);
    transform: translateY(-12px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, transform 0.3s;
  }

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

  .site-nav a { width: 100%; padding: 12px 0; }

  .nav-toggle { display: flex; }

  .pin-layout { grid-template-columns: 1fr; }
  .pin-visual { position: relative; top: 0; height: 320px; margin-bottom: 40px; }
  .pin-track { gap: 60px; }
  .pin-step { opacity: 1; }


  .detail-row { grid-template-columns: 1fr; gap: 16px; }

  .group-cols { grid-template-columns: 1fr; }

  .value-grid { grid-template-columns: 1fr; }

  .contact-layout { grid-template-columns: 1fr; }

  .footer-top { flex-direction: column; }
}

/* ---------- FAQ（details/summaryのネイティブ開閉、JS不要） ---------- */
.faq-list {
  display: grid;
  gap: 12px;
  margin-top: 48px;
}

.faq-item {
  border: 1px solid var(--gray-200);
  border-radius: 12px;
  padding: 4px 24px;
  background: var(--gray-100);
}

.faq-item summary {
  cursor: pointer;
  padding: 20px 0;
  font-weight: 700;
  color: var(--navy);
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker { display: none; }

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 0;
  top: 14px;
  font-size: 1.3rem;
  color: var(--blue);
  transition: transform 0.3s var(--ease-out);
}

.faq-item[open] summary::after { transform: rotate(45deg); }

.faq-item p {
  color: var(--gray-700);
  font-size: 0.92rem;
  padding: 0 0 20px;
  margin: 0;
}

/* ---------- モバイル追従CTA ---------- */
.mobile-sticky-cta { display: none; }

@media (max-width: 860px) {
  body { padding-bottom: 76px; }

  .mobile-sticky-cta {
    display: flex;
    position: fixed;
    left: 0; right: 0; bottom: 0;
    z-index: 900;
    padding: 12px 16px calc(12px + env(safe-area-inset-bottom, 0px));
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 -4px 20px rgba(41, 43, 79, 0.12);
  }

  .mobile-sticky-cta .btn {
    flex: 1;
    justify-content: center;
  }
}

/* ---------- CAPABILITY（トップページ限定の見出し幅・図形サイズ調整） ---------- */
.capability .section-head { max-width: 780px; }

.capability .group-flow { gap: 21px; }

.capability .group-flow__node {
  padding: 21px 33px;
  font-size: 1.43rem;
  border-radius: 18px;
}

.capability .group-flow__node small {
  font-size: 1.08rem;
}

.capability .group-flow__arrow {
  font-size: 1.8rem;
}





