/* ============================================
   HAKOVAL株式会社 — メインスタイル
   ============================================ */

/* --- Variables --- */
:root {
  --green-dark:  #1a5c34;
  --green-main:  #2a8a50;
  --green-light: #3aaa68;
  --green-pale:  #e8f5ee;
  --amber:       #e8a020;
  --charcoal:    #1a1a2a;
  --gray-dark:   #3a3a4a;
  --gray-mid:    #6a6a7a;
  --gray-light:  #f2f6f2;
  --border:      #ddeedd;
  --white:       #ffffff;
  --font-jp: 'Noto Sans JP', sans-serif;
  --font-en: 'Montserrat', sans-serif;
  --ease: 0.3s ease;
  --shadow: 0 4px 24px rgba(0,0,0,0.08);
  --shadow-hover: 0 8px 40px rgba(0,0,0,0.14);
  --radius: 12px;
  --max-width: 1160px;
}

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-jp);
  color: var(--charcoal);
  background: var(--white);
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a  { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul  { list-style: none; }

/* --- Container --- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 28px;
}

/* --- Buttons --- */
.btn {
  display: inline-flex;
  align-items: center;
  padding: 14px 36px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  transition: all var(--ease);
  border: 2px solid transparent;
  cursor: pointer;
}
.btn-primary {
  background: var(--green-main);
  color: var(--white);
  border-color: var(--green-main);
}
.btn-primary:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42,138,80,.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.55);
}
.btn-outline:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}
.btn-white {
  background: var(--white);
  color: var(--green-dark);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--green-pale);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(0,0,0,.2);
}
.btn-green {
  background: var(--green-main);
  color: var(--white);
  border-color: var(--green-main);
  width: 100%;
  justify-content: center;
  padding: 16px;
  font-size: 1rem;
}
.btn-green:hover {
  background: var(--green-dark);
  border-color: var(--green-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(42,138,80,.4);
}

/* --- Section commons --- */
.section { padding: 100px 0; }
.section-label {
  font-family: var(--font-en);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  text-transform: uppercase;
  color: var(--green-main);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: 20px;
}
.section-desc {
  color: var(--gray-mid);
  font-size: 1rem;
}
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.line-keep { display: inline-block; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  transition: all var(--ease);
}
.header.scrolled {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  box-shadow: 0 2px 20px rgba(0,0,0,.08);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}

/* Logo */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-en);
}
.logo-image {
  width: 50px;
  height: 50px;
  object-fit: contain;
  display: block;
  background: var(--white);
  border-radius: 10px;
  padding: 4px;
}
.logo-word {
  font-size: 1.18rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: .05em;
}
.logo-company {
  font-size: .72rem;
  color: var(--gray-mid);
  font-family: var(--font-jp);
  letter-spacing: .04em;
}
.logo-mark {
  width: 36px; height: 36px;
  background: var(--green-main);
  color: var(--white);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--charcoal);
  letter-spacing: .05em;
}
.logo-sub {
  font-size: .72rem;
  color: var(--gray-mid);
  font-family: var(--font-jp);
  letter-spacing: .04em;
}
/* Header on dark hero */
.header:not(.scrolled) .logo-text,
.header:not(.scrolled) .logo-sub { color: var(--white); }
.header:not(.scrolled) .logo-sub { color: rgba(255,255,255,.6); }
.header:not(.scrolled) .logo-word { color: var(--white); }
.header:not(.scrolled) .logo-company { color: rgba(255,255,255,.6); }
.header:not(.scrolled) .logo-mark {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.4);
}

/* Nav */
.nav-list {
  display: flex;
  align-items: center;
  gap: 18px;
}
.nav-link {
  font-size: .84rem;
  font-weight: 500;
  color: var(--charcoal);
  letter-spacing: .05em;
  transition: color var(--ease);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; left: 0; right: 0;
  height: 2px;
  background: var(--green-main);
  transform: scaleX(0);
  transition: transform var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { transform: scaleX(1); }
.header:not(.scrolled) .nav-link { color: rgba(255,255,255,.88); }
.header:not(.scrolled) .nav-link::after { background: var(--white); }

.nav-link.nav-cta {
  background: var(--green-main);
  color: var(--white) !important;
  padding: 10px 18px;
  border-radius: 4px;
}
.nav-link.nav-cta::after { display: none; }
.nav-link.nav-cta:hover { background: var(--green-dark); }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
  z-index: 1001;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--charcoal);
  transition: all var(--ease);
  border-radius: 2px;
}
.header:not(.scrolled) .hamburger span { background: var(--white); }
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); background: var(--white); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); background: var(--white); }

/* ============================================
   HERO (index)
   ============================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background: #07140f;
}
.hero-bg {
  position: absolute;
  inset: 0;
  overflow: hidden;
  background: #07140f;
}
.hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;
  background-size: cover;
  background-position: center;
  filter: saturate(.92) contrast(1.05);
}
.hero-video {
  position: absolute;
  inset: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #07140f;
  filter: saturate(.9) contrast(1.05) brightness(.78);
}
.hero-slide-field {
  background-image: url("../assets/hero-site-ai-dx-20260619.png");
  background-position: center;
}
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 3;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
  -webkit-mask-image: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.25));
  mask-image: linear-gradient(90deg, rgba(0,0,0,.75), rgba(0,0,0,.25));
}
.hero-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 2;
  background:
    linear-gradient(90deg, rgba(5,16,12,.94) 0%, rgba(7,25,18,.84) 39%, rgba(7,19,17,.42) 74%, rgba(6,16,14,.66) 100%),
    linear-gradient(0deg, rgba(5,15,12,.78) 0%, rgba(5,15,12,0) 36%);
}
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 4;
  background:
    linear-gradient(112deg, transparent 0%, transparent 44%, rgba(255,255,255,.12) 49%, transparent 56%, transparent 100%),
    radial-gradient(circle at 18% 28%, rgba(58,170,104,.32), transparent 26%);
  mix-blend-mode: screen;
  opacity: .55;
  transform: translateX(-22%);
}
.hero-content {
  position: relative;
  z-index: 5;
  max-width: 1080px;
  padding: 140px 0 100px;
}
.hero-label {
  font-family: var(--font-en);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .3em;
  color: #9ee7b9;
  margin-bottom: 24px;
  text-transform: uppercase;
}
.hero-title {
  font-size: clamp(2.55rem, 5vw, 4.1rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.16;
  margin-bottom: 28px;
  max-width: 1080px;
}
.hero-title-line { display: block; }
.title-mobile-break { display: none; }
.hero-highlight { color: #9ee7b9; }
.hero-lead {
  font-size: clamp(1rem, 1.8vw, 1.2rem);
  color: rgba(255,255,255,.82);
  margin-bottom: 28px;
  line-height: 1.85;
  max-width: 760px;
}
.hero-focus {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 0 0 48px;
}
.hero-focus span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 14px;
  border: 1px solid rgba(255,255,255,.24);
  border-radius: 999px;
  background: rgba(255,255,255,.08);
  color: rgba(255,255,255,.9);
  font-size: .82rem;
  font-weight: 700;
  letter-spacing: .04em;
  backdrop-filter: blur(10px);
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-scroll {
  position: absolute;
  bottom: 40px; right: 52px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.45);
  font-family: var(--font-en);
  font-size: .65rem;
  letter-spacing: .2em;
}
.hero-scroll-line {
  width: 1px; height: 52px;
  background: linear-gradient(to bottom, rgba(255,255,255,.45), transparent);
  animation: scrollLine 2.2s ease infinite;
}
@keyframes scrollLine {
  0%   { transform: scaleY(0); transform-origin: top; }
  50%  { transform: scaleY(1); transform-origin: top; }
  51%  { transform: scaleY(1); transform-origin: bottom; }
  100% { transform: scaleY(0); transform-origin: bottom; }
}
/* ============================================
   PAGE HERO (inner pages)
   ============================================ */
.page-hero {
  padding: 160px 0 80px;
  background: linear-gradient(135deg, #0d3b23 0%, #1a5c34 45%, #1e4a5e 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.04) 1px, transparent 1px);
  background-size: 64px 64px;
}
.page-hero .container { position: relative; z-index: 1; }
.page-hero-label {
  font-family: var(--font-en);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .25em;
  color: var(--green-light);
  text-transform: uppercase;
  margin-bottom: 16px;
}
.page-hero-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 16px;
  line-height: 1.25;
}
.page-hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,.72);
  max-width: 560px;
}
.breadcrumb {
  display: flex;
  gap: 8px;
  font-size: .8rem;
  color: rgba(255,255,255,.5);
  margin-bottom: 24px;
}
.breadcrumb a { color: rgba(255,255,255,.6); transition: color var(--ease); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb-sep { color: rgba(255,255,255,.3); }

/* ============================================
   ABOUT (index)
   ============================================ */
.about { background: var(--white); }
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.about-lead {
  color: var(--gray-mid);
  font-size: 1rem;
  line-height: 1.95;
  margin-top: 24px;
}
.about-stats {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.stat-item {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 28px 32px;
  background: var(--gray-light);
  border-radius: var(--radius);
  border-left: 4px solid var(--green-main);
}
.stat-num {
  font-family: var(--font-en);
  font-size: 2.4rem;
  font-weight: 700;
  color: var(--green-main);
  min-width: 80px;
}
.stat-label {
  font-size: .95rem;
  font-weight: 500;
  color: var(--gray-dark);
}

/* ============================================
   ORIGIN
   ============================================ */
.origin-section {
  background: linear-gradient(135deg, #f7faf7 0%, #edf5f0 100%);
}
.origin-inner {
  display: grid;
  grid-template-columns: 1.25fr .75fr;
  gap: 56px;
  align-items: stretch;
}
.origin-copy p {
  color: var(--gray-mid);
  line-height: 1.95;
}
.origin-copy p + p {
  margin-top: 18px;
}
.origin-note {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: var(--green-dark);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.origin-note p {
  font-family: var(--font-en);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(255,255,255,.62);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.origin-note blockquote {
  margin: 0 0 28px;
  font-size: 1.08rem;
  font-weight: 600;
  line-height: 1.9;
}
.origin-note .pillar-link {
  color: rgba(255,255,255,.9);
}

/* ============================================
   CREDIBILITY / AUDIT / DELIVERABLES
   ============================================ */
.cred-strip {
  background: #0f2319;
  color: var(--white);
  padding: 34px 0;
}
.cred-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.12);
}
.cred-item {
  background: #10291d;
  padding: 28px 24px;
  min-height: 170px;
}
.cred-item span,
.package-card span,
.audit-card span {
  display: inline-flex;
  font-family: var(--font-en);
  color: var(--green-light);
  font-weight: 700;
  font-size: .72rem;
  letter-spacing: .14em;
  text-transform: uppercase;
  margin-bottom: 12px;
}
.cred-item strong {
  display: block;
  font-size: 1.02rem;
  line-height: 1.5;
  margin-bottom: 10px;
}
.cred-item p {
  color: rgba(255,255,255,.68);
  font-size: .86rem;
  line-height: 1.75;
}
.audit-section {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, #f7fbf8 0%, #eef6f1 54%, #e8f2ee 100%);
}
.audit-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(42,138,80,.08) 1px, transparent 1px),
    linear-gradient(90deg, rgba(42,138,80,.08) 1px, transparent 1px);
  background-size: 72px 72px;
  opacity: .55;
  pointer-events: none;
}
.audit-section .container {
  position: relative;
  z-index: 1;
}
.audit-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.audit-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff 0%, #f8fbf9 100%);
  border: 1px solid var(--border);
  border-top: 3px solid var(--green-main);
  border-radius: var(--radius);
  padding: 30px 24px;
  min-height: 260px;
  box-shadow: 0 10px 30px rgba(0,0,0,.04);
}
.audit-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(42,138,80,.1), transparent 46%);
  pointer-events: none;
}
.audit-card > * {
  position: relative;
  z-index: 1;
}
.audit-card span {
  color: var(--green-main);
}
.audit-card h3,
.package-card h3 {
  font-size: 1.02rem;
  line-height: 1.55;
  margin-bottom: 12px;
}
.audit-card p,
.package-card p {
  color: var(--gray-mid);
  font-size: .9rem;
  line-height: 1.85;
}
.deliverables-section {
  background: #10251b;
  color: var(--white);
}
.deliverables-inner {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, .82fr);
  gap: 64px;
  align-items: center;
}
.deliverables-copy .section-title {
  color: var(--white);
}
.deliverables-copy .section-desc {
  color: rgba(255,255,255,.68);
}
.deliverables-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: 54px;
  gap: 12px;
  margin-top: 30px;
}
.deliverables-list div {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
  border-radius: 8px;
  padding: 0 16px;
  color: rgba(255,255,255,.86);
  font-size: .84rem;
  line-height: 1.45;
  letter-spacing: 0;
  white-space: nowrap;
}
.capability-showcase {
  position: relative;
  margin: 0;
  border: 1px solid rgba(158,231,185,.28);
  border-radius: var(--radius);
  overflow: hidden;
  min-height: 430px;
  background: #061712;
  box-shadow: 0 30px 80px rgba(0,0,0,.35);
}
.capability-showcase::after {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6,23,18,0) 34%, rgba(6,23,18,.88) 100%),
    linear-gradient(110deg, transparent 0%, transparent 42%, rgba(158,231,185,.2) 50%, transparent 58%, transparent 100%);
  opacity: .72;
  pointer-events: none;
}
.capability-showcase img {
  width: 100%;
  height: 100%;
  min-height: 430px;
  object-fit: cover;
  display: block;
  filter: saturate(.95) contrast(1.03);
}
.capability-showcase figcaption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 2;
  padding: 18px 20px;
  border-radius: 8px;
  background: rgba(7, 25, 18, .78);
  border: 1px solid rgba(255,255,255,.18);
  backdrop-filter: blur(10px);
}
.capability-showcase figcaption span,
.persona-visual figcaption span {
  display: inline-flex;
  margin-bottom: 8px;
  color: var(--green-light);
  font-family: var(--font-en);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .14em;
  text-transform: uppercase;
}
.capability-showcase figcaption strong,
.persona-visual figcaption strong {
  display: block;
  color: var(--white);
  font-size: .98rem;
  line-height: 1.65;
}
.dx-motion {
  position: relative;
  min-height: 430px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.dx-screen {
  position: relative;
  width: min(100%, 420px);
  aspect-ratio: 4 / 3;
  border: 1px solid rgba(158,231,185,.4);
  background:
    linear-gradient(140deg, rgba(255,255,255,.14), rgba(255,255,255,.04)),
    radial-gradient(circle at 82% 18%, rgba(64,210,160,.26), transparent 34%),
    rgba(6,23,18,.92);
  border-radius: 8px;
  box-shadow: 0 30px 80px rgba(0,0,0,.42), inset 0 0 0 1px rgba(255,255,255,.08);
  padding: 28px;
  overflow: hidden;
}
.dx-screen::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(110deg, transparent 0%, transparent 42%, rgba(158,231,185,.22) 50%, transparent 58%, transparent 100%);
  transform: translateX(-120%);
  animation: dxSweep 4.8s ease-in-out infinite;
}
.dx-bar,
.dx-row,
.dx-cards span,
.dx-chart i {
  position: relative;
  z-index: 1;
  border-radius: 999px;
  background: rgba(255,255,255,.16);
}
.dx-bar {
  width: 42%;
  height: 14px;
  margin-bottom: 30px;
  background: var(--green-light);
}
.dx-row {
  width: 78%;
  height: 12px;
  margin-bottom: 14px;
}
.dx-row.wide { width: 92%; }
.dx-row.short { width: 58%; }
.dx-cards {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 34px 0;
}
.dx-cards span {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 70px;
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.86);
  font-weight: 700;
  font-size: .84rem;
}
.dx-chart {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: end;
  gap: 12px;
  height: 74px;
}
.dx-chart i {
  width: 18%;
  background: linear-gradient(180deg, var(--green-light), var(--green-main));
}
.dx-chart i:nth-child(1) { height: 34%; }
.dx-chart i:nth-child(2) { height: 62%; }
.dx-chart i:nth-child(3) { height: 48%; }
.dx-chart i:nth-child(4) { height: 82%; }
.dx-pulse {
  position: absolute;
  width: 220px;
  height: 220px;
  border: 1px solid rgba(158,231,185,.28);
  border-radius: 50%;
  animation: dxPulse 4s ease-in-out infinite;
}
@keyframes dxSweep {
  0%, 22% { transform: translateX(-120%); }
  72%, 100% { transform: translateX(120%); }
}
@keyframes dxPulse {
  0%, 100% { transform: scale(.8); opacity: .3; }
  50% { transform: scale(1.18); opacity: .65; }
}

/* ============================================
   PERSONA
   ============================================ */
.persona-section {
  background: var(--white);
}
.persona-visual {
  position: relative;
  margin: -20px 0 38px;
  min-height: 380px;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--green-dark);
  box-shadow: var(--shadow);
}
.persona-visual::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(9,29,19,.86) 0%, rgba(9,29,19,.52) 42%, rgba(9,29,19,.08) 100%);
  pointer-events: none;
}
.persona-visual img {
  width: 100%;
  height: 100%;
  min-height: 380px;
  object-fit: cover;
  display: block;
}
.persona-visual figcaption {
  position: absolute;
  left: 34px;
  bottom: 34px;
  z-index: 2;
  max-width: 520px;
}
.persona-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}
.persona-card {
  min-height: 520px;
  padding: 18px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffffff 0%, #f7faf7 100%);
  border: 1px solid #ddeedd;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transition: all var(--ease);
}
.persona-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: var(--green-main);
}
.persona-card-image {
  aspect-ratio: 16 / 10;
  margin-bottom: 22px;
  border-radius: calc(var(--radius) - 6px);
  overflow: hidden;
  background: #edf5f0;
}
.persona-card-image img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.persona-role {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 18px;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: .76rem;
  font-weight: 700;
  letter-spacing: .06em;
}
.persona-card h3 {
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 14px;
}
.persona-card p {
  color: var(--gray-mid);
  font-size: .9rem;
  line-height: 1.85;
  margin-bottom: 20px;
}
.persona-card span {
  margin-top: auto;
  color: var(--green-main);
  font-size: .86rem;
  font-weight: 700;
  line-height: 1.6;
}

/* ============================================
   PILLARS (index)
   ============================================ */
.pillars { background: var(--gray-light); }
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.pillar-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px 34px;
  position: relative;
  box-shadow: var(--shadow);
  transition: all var(--ease);
  overflow: hidden;
}
.pillar-card::before {
  content: attr(data-num);
  position: absolute;
  top: -8px; right: 20px;
  font-family: var(--font-en);
  font-size: 5rem;
  font-weight: 700;
  color: rgba(42,138,80,.06);
  line-height: 1;
  pointer-events: none;
}
.pillar-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-hover); }
.pillar-card.featured {
  background: linear-gradient(140deg, var(--green-dark), var(--green-main));
  color: var(--white);
}
.pillar-card.featured::before { color: rgba(255,255,255,.1); }
.pillar-icon {
  width: 52px; height: 52px;
  margin-bottom: 18px;
  color: var(--green-main);
}
.pillar-card.featured .pillar-icon { color: rgba(255,255,255,.88); }
.pillar-icon svg { width: 100%; height: 100%; }
.pillar-title {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 14px;
  line-height: 1.4;
}
.pillar-text {
  font-size: .9rem;
  line-height: 1.85;
  color: var(--gray-mid);
  margin-bottom: 24px;
}
.pillar-card.featured .pillar-text { color: rgba(255,255,255,.78); }
.pillar-link {
  font-size: .85rem;
  font-weight: 600;
  color: var(--green-main);
  letter-spacing: .04em;
}
.pillar-card.featured .pillar-link { color: rgba(255,255,255,.88); }
.pillar-link:hover { text-decoration: underline; }

/* ============================================
   PACKAGES / TRUST / FAQ / NEWS
   ============================================ */
.packages-section {
  background: var(--white);
}
.package-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.package-card {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px 18px 30px;
  background: var(--white);
  box-shadow: 0 12px 32px rgba(0,0,0,.04);
  min-height: 430px;
  display: flex;
  flex-direction: column;
}
.package-media {
  margin: 0 0 22px;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: var(--gray-light);
}
.package-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform var(--ease);
}
.package-card:hover .package-media img {
  transform: scale(1.04);
}
.package-card.featured {
  background: linear-gradient(145deg, #123b29, var(--green-main));
  color: var(--white);
  border-color: transparent;
}
.package-card.featured p {
  color: rgba(255,255,255,.78);
}
.package-card ul {
  margin-top: auto;
  display: grid;
  gap: 10px;
  padding-top: 24px;
}
.package-card li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: var(--gray-dark);
  font-size: .88rem;
  line-height: 1.6;
}
.package-card.featured li {
  color: rgba(255,255,255,.86);
}
.package-card li::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green-main);
  margin-top: 8px;
  flex-shrink: 0;
}
.package-card.featured li::before {
  background: var(--white);
}
.trust-section {
  background: linear-gradient(135deg, #f6faf6 0%, #edf5f0 100%);
}
.trust-inner {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 64px;
  align-items: start;
}
.trust-visual {
  margin-top: 28px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  box-shadow: var(--shadow);
}
.trust-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.trust-list {
  display: grid;
  gap: 14px;
}
.trust-item {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: start;
  padding: 22px 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
}
.trust-item strong {
  color: var(--green-dark);
  font-size: .98rem;
}
.trust-item span {
  color: var(--gray-mid);
  font-size: .9rem;
  line-height: 1.8;
}
.faq-section {
  background: var(--gray-light);
}
.faq-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 0;
  overflow: hidden;
  box-shadow: 0 10px 24px rgba(0,0,0,.035);
}
.faq-item summary {
  cursor: pointer;
  padding: 22px 24px;
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1.6;
}
.faq-item p {
  padding: 0 24px 24px;
  color: var(--gray-mid);
  font-size: .9rem;
  line-height: 1.85;
}
.news-section {
  background: var(--white);
}
.news-inner {
  display: grid;
  grid-template-columns: .72fr 1.28fr;
  gap: 56px;
  align-items: start;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 42px 0;
}
.news-visual {
  margin-top: 24px;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16 / 10;
  background: #edf5f0;
}
.news-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.news-list {
  display: grid;
  gap: 0;
}
.news-row {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 22px;
  padding: 18px 0;
  border-bottom: 1px solid #e3eee6;
}
.news-row:last-child {
  border-bottom: none;
}
.news-row time {
  color: var(--green-main);
  font-family: var(--font-en);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: .82rem;
}
.news-row span {
  color: var(--gray-dark);
  line-height: 1.8;
  font-size: .92rem;
}

/* ============================================
   STRENGTHS (index)
   ============================================ */
.strengths { background: var(--white); }
.strengths-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}
.flow-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}
.flow-grid .strength-item {
  padding: 34px 22px;
}
.strength-item {
  padding: 40px;
  border: 1px solid #ddeedd;
  border-radius: var(--radius);
  transition: all var(--ease);
  overflow: hidden;
}
.strength-item:hover {
  border-color: var(--green-main);
  box-shadow: var(--shadow);
}
.strength-num {
  font-family: var(--font-en);
  font-size: .75rem;
  font-weight: 700;
  color: var(--green-main);
  letter-spacing: .12em;
  margin-bottom: 12px;
}
.strength-item h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 12px; line-height: 1.5; }
.strength-item p  { font-size: .9rem; color: var(--gray-mid); line-height: 1.85; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, var(--green-dark), var(--green-main));
  text-align: center;
}
.cta-inner { max-width: 720px; margin: 0 auto; }
.cta-sub {
  font-family: var(--font-en);
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .22em;
  color: rgba(255,255,255,.65);
  margin-bottom: 16px;
  text-transform: uppercase;
}
.cta-title {
  font-size: clamp(1.6rem, 3vw, 2.3rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 40px;
  line-height: 1.45;
}

/* ============================================
   SERVICE PAGE
   ============================================ */
.service-intro {
  background: var(--white);
}
.service-intro-text {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  color: var(--gray-mid);
  font-size: 1rem;
  line-height: 1.9;
}
.service-block {
  padding: 100px 0;
}
.service-block:nth-child(even) { background: var(--gray-light); }
.service-block:nth-child(odd)  { background: var(--white); }
.service-block-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: center;
}
.service-block-inner.reverse { direction: rtl; }
.service-block-inner.reverse > * { direction: ltr; }
.service-tag {
  display: inline-block;
  background: var(--green-pale);
  color: var(--green-dark);
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 16px;
  text-transform: uppercase;
  font-family: var(--font-en);
}
.service-block-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 20px;
  line-height: 1.35;
}
.service-block-lead {
  color: var(--gray-mid);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 32px;
}
.service-points {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-point {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: .92rem;
  color: var(--gray-dark);
}
.service-point::before {
  content: '';
  display: block;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--green-main);
  flex-shrink: 0;
  margin-top: 3px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='white'%3E%3Cpath fill-rule='evenodd' d='M16.707 5.293a1 1 0 010 1.414l-8 8a1 1 0 01-1.414 0l-4-4a1 1 0 011.414-1.414L8 12.586l7.293-7.293a1 1 0 011.414 0z' clip-rule='evenodd'/%3E%3C/svg%3E");
  background-size: 12px;
  background-repeat: no-repeat;
  background-position: center;
}
.service-visual {
  background: var(--gray-light);
  border-radius: var(--radius);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.service-block:nth-child(even) .service-visual { background: var(--white); }
.service-visual-photo {
  aspect-ratio: 16 / 9;
  background: var(--gray-dark);
}
.service-visual-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(3, 23, 18, 0) 48%, rgba(3, 23, 18, .46) 100%);
  pointer-events: none;
}
.service-visual-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}
.service-visual-icon {
  width: 120px; height: 120px;
  opacity: .12;
  color: var(--green-main);
}
.service-visual-icon svg { width: 100%; height: 100%; }
.service-visual-badge {
  position: absolute;
  bottom: 28px; right: 28px;
  background: var(--green-main);
  color: var(--white);
  padding: 10px 20px;
  border-radius: 40px;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  z-index: 1;
}

/* HAKOVAL Idea Lab teaser sections */
.idea-lab-section {
  background: var(--white);
}
.idea-lab-section.alt {
  background: var(--gray-light);
}
.idea-lab-grid {
  display: grid;
  grid-template-columns: minmax(320px, .92fr) 1fr;
  gap: 56px;
  align-items: center;
}
.idea-lab-grid.reverse {
  grid-template-columns: 1fr minmax(320px, .92fr);
}
.idea-lab-grid.reverse .idea-lab-media { order: 2; }
.idea-lab-media {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius);
  aspect-ratio: 16 / 10;
  background: var(--gray-light);
  box-shadow: var(--shadow);
}
.idea-lab-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.idea-lab-badge {
  position: absolute;
  left: 22px;
  bottom: 22px;
  background: rgba(9, 29, 19, .82);
  color: var(--white);
  border-radius: 999px;
  padding: 9px 16px;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.idea-lab-copy .section-label { margin-bottom: 10px; }
.idea-lab-copy .section-title {
  margin-bottom: 18px;
  text-wrap: balance;
}
.idea-lab-copy > p {
  color: var(--gray-mid);
  line-height: 1.95;
  margin-bottom: 28px;
}
.idea-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.idea-lab-copy .idea-card-grid,
.idea-lab-copy .consult-grid {
  grid-template-columns: 1fr;
}
.idea-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 20px;
  min-width: 0;
}
.idea-lab-section:not(.alt) .idea-card {
  background: var(--gray-light);
}
.idea-card span {
  display: inline-block;
  color: var(--green-main);
  font-family: var(--font-en);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 10px;
  text-transform: uppercase;
}
.idea-card h3 {
  font-size: .98rem;
  line-height: 1.55;
  margin-bottom: 10px;
}
.idea-card p {
  color: var(--gray-mid);
  font-size: .86rem;
  line-height: 1.85;
}
.before-after {
  display: grid;
  gap: 8px;
}
.before-after p {
  margin: 0;
}
.before-after strong {
  color: var(--green-dark);
}
.consult-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 30px;
}
.consult-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px 22px;
  box-shadow: 0 8px 24px rgba(0,0,0,.035);
  overflow: hidden;
}
.consult-card h3 {
  font-size: 1rem;
  line-height: 1.55;
  margin-bottom: 10px;
}
.consult-card p {
  color: var(--gray-mid);
  font-size: .88rem;
  line-height: 1.85;
}

/* ============================================
   COMPANY PAGE
   ============================================ */
.message-section { background: var(--white); }
.message-inner {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 80px;
  align-items: start;
}
.message-photo {
  background: var(--white);
  border-radius: var(--radius);
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 28px;
  border: 1px solid var(--border);
}
.message-photo.is-visual {
  aspect-ratio: 4 / 5;
  padding: 0;
  background: #f7faf8;
}
.message-photo.is-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}
.message-photo.is-visual .representative-photo {
  object-position: center center;
}
.message-logo-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.message-photo-placeholder {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: #d0e8d8;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--green-main);
}
.message-photo-placeholder svg { width: 48px; height: 48px; }
.message-body .section-label { margin-bottom: 8px; }
.message-title {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 28px;
  line-height: 1.4;
}
.message-text {
  color: var(--gray-mid);
  font-size: .97rem;
  line-height: 2;
}
.message-text p + p { margin-top: 20px; }
.message-sig {
  margin-top: 36px;
  font-size: .9rem;
  color: var(--gray-dark);
}
.message-sig strong { font-size: 1.1rem; display: block; margin-top: 4px; }

.overview-section { background: var(--gray-light); }
.overview-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.overview-table th,
.overview-table td {
  padding: 20px 32px;
  text-align: left;
  border-bottom: 1px solid #eef2ee;
  font-size: .95rem;
}
.overview-table th {
  width: 200px;
  font-weight: 600;
  color: var(--green-dark);
  background: #f6faf6;
  white-space: nowrap;
}
.overview-table td { color: var(--gray-dark); }
.overview-table tr:last-child th,
.overview-table tr:last-child td { border-bottom: none; }

.vision-section { background: var(--white); }
.vision-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.seb-value-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.vision-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 36px 28px;
  border-top: 3px solid var(--green-main);
  overflow: hidden;
}
.vision-card-num {
  font-family: var(--font-en);
  font-size: 2rem;
  font-weight: 700;
  color: var(--green-main);
  margin-bottom: 12px;
  line-height: 1;
}
.vision-card h3 { font-size: 1rem; font-weight: 700; margin-bottom: 12px; }
.vision-card p  { font-size: .88rem; color: var(--gray-mid); line-height: 1.85; }

.origin-detail-section { background: var(--gray-light); }
.origin-detail-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.origin-detail-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 34px 28px;
  box-shadow: var(--shadow);
  border-top: 4px solid var(--green-main);
  overflow: hidden;
}
.card-visual {
  aspect-ratio: 16 / 10;
  margin: -16px -10px 22px;
  border-radius: 10px;
  overflow: hidden;
  background: #edf5f0;
}
.audit-card .card-visual,
.pillar-card .card-visual,
.strength-item .card-visual,
.consult-card .card-visual,
.nav-card .card-visual {
  margin: -12px -8px 22px;
}
.pillar-card.featured .card-visual {
  background: rgba(255,255,255,.14);
}
.card-visual img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform var(--ease);
}
.origin-detail-card:hover .card-visual img,
.vision-card:hover .card-visual img,
.audit-card:hover .card-visual img,
.pillar-card:hover .card-visual img,
.nav-card:hover .card-visual img,
.consult-card:hover .card-visual img,
.strength-item:hover .card-visual img {
  transform: scale(1.035);
}
.origin-detail-card span {
  display: block;
  font-family: var(--font-en);
  font-size: 2.1rem;
  font-weight: 700;
  color: rgba(42,138,80,.2);
  margin-bottom: 16px;
}
.origin-detail-card h3 {
  font-size: 1.05rem;
  line-height: 1.55;
  margin-bottom: 14px;
}
.origin-detail-card p {
  font-size: .9rem;
  color: var(--gray-mid);
  line-height: 1.9;
}
.origin-note-media {
  margin: 0 0 24px;
  border-radius: 10px;
  overflow: hidden;
  aspect-ratio: 16 / 10;
}
.origin-note-media img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.origin-note-media .representative-photo {
  object-position: center center;
}
.origin-note-media.representative-note-media {
  aspect-ratio: 4 / 5;
  background: rgba(255,255,255,.96);
}
.origin-note-media.representative-note-media img {
  object-fit: contain;
}

/* ============================================
   CONTACT PAGE
   ============================================ */
.contact-section { background: var(--white); }
.contact-inner {
  display: grid;
  grid-template-columns: 5fr 7fr;
  gap: 80px;
  align-items: start;
}
.contact-info-title {
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 20px;
}
.contact-info-lead {
  color: var(--gray-mid);
  font-size: .95rem;
  line-height: 1.9;
  margin-bottom: 40px;
}
.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}
.contact-item-icon {
  width: 44px; height: 44px;
  background: var(--green-pale);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--green-main);
}
.contact-item-icon svg { width: 20px; height: 20px; }
.contact-item-body { font-size: .92rem; }
.contact-item-label { font-weight: 600; margin-bottom: 2px; }
.contact-item-val { color: var(--gray-mid); }

/* Form */
.contact-form-card {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 48px 40px;
}
.form-group { margin-bottom: 24px; }
.form-label {
  display: block;
  font-size: .88rem;
  font-weight: 600;
  margin-bottom: 8px;
  color: var(--gray-dark);
}
.form-label .required {
  color: #e04040;
  font-size: .75rem;
  margin-left: 6px;
}
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid #d4e4d4;
  border-radius: 6px;
  font-family: var(--font-jp);
  font-size: .95rem;
  color: var(--charcoal);
  background: var(--white);
  transition: border-color var(--ease), box-shadow var(--ease);
  -webkit-appearance: none;
}
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(42,138,80,.12);
}
.form-textarea {
  resize: vertical;
  min-height: 140px;
}
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.form-note {
  font-size: .8rem;
  color: var(--gray-mid);
  margin-top: 12px;
  line-height: 1.7;
}
.form-privacy {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: .85rem;
  color: var(--gray-dark);
  margin-bottom: 24px;
  cursor: pointer;
}
.form-privacy input[type="checkbox"] { margin-top: 3px; accent-color: var(--green-main); }
.form-privacy a { color: var(--green-main); text-decoration: underline; }
.form-success {
  display: none;
  background: #eef9f3;
  border: 1px solid #a8d8b8;
  border-radius: 8px;
  padding: 20px;
  color: var(--green-dark);
  font-size: .95rem;
  margin-top: 16px;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--charcoal);
  padding: 64px 0 0;
}
.footer-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,.08);
  flex-wrap: wrap;
  gap: 48px;
}
.footer-brand .logo-text { color: var(--white); }
.footer-brand .logo-sub  { color: rgba(255,255,255,.45); }
.footer-brand .logo-mark { background: var(--green-main); border: none; }
.footer-logo-image {
  width: 92px;
  height: 92px;
  object-fit: contain;
  display: block;
  background: var(--white);
  border-radius: 10px;
  padding: 8px;
}
.footer-logo-text {
  font-family: var(--font-en);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: .05em;
}
.footer-tagline {
  margin-top: 16px;
  font-size: .88rem;
  color: rgba(255,255,255,.45);
}
.footer-nav ul {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.footer-nav a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color var(--ease);
}
.footer-nav a:hover { color: var(--white); }
.footer-bottom {
  padding: 24px 0;
  text-align: center;
  font-size: .78rem;
  color: rgba(255,255,255,.3);
}

/* ============================================
   ANIMATIONS
   ============================================ */
.fade-in {
  opacity: 1;
  transform: translateY(0);
  transition: opacity .7s ease, transform .7s ease;
}
.js-fade .fade-in {
  opacity: 0;
  transform: translateY(28px);
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-in:nth-child(2) { transition-delay: .12s; }
.fade-in:nth-child(3) { transition-delay: .24s; }
.fade-in:nth-child(4) { transition-delay: .36s; }

/* ============================================
   READABILITY LIFT (v1.4.29)
   本文・説明文を一段大きく。clamp()でスマホ／PCそれぞれ最適サイズに。
   スマホで見る社長が読みやすいことを最優先（下限を大きめに）。
   ============================================ */
.section-desc      { font-size: clamp(1.04rem, 1.15vw, 1.2rem); line-height: 1.85; }
.about-lead        { font-size: clamp(1.06rem, 1.2vw, 1.2rem); line-height: 1.95; }
.page-hero-desc    { font-size: clamp(1.04rem, 1.15vw, 1.18rem); }
.service-block-lead,
.message-text      { font-size: clamp(1.05rem, 1.15vw, 1.18rem); }

.pillar-text,
.persona-card p,
.strength-item p,
.consult-card p,
.vision-card p,
.idea-card p,
.origin-detail-card p,
.audit-card p,
.package-card p,
.faq-item p,
.case-body > p,
.deliverables-copy .section-desc { font-size: clamp(1.02rem, 1.05vw, 1.1rem); line-height: 1.85; }

.cred-item strong  { font-size: clamp(1.18rem, 1.5vw, 1.32rem); }
.cred-item p       { font-size: clamp(1rem, 1.1vw, 1.08rem); color: rgba(255,255,255,.8); }
.cred-item span,
.audit-card span,
.package-card span,
.section-label     { font-size: clamp(.78rem, .9vw, .84rem); }

.persona-card h3,
.pillar-title,
.strength-item h3,
.vision-card h3,
.consult-card h3,
.origin-detail-card h3 { font-size: clamp(1.16rem, 1.5vw, 1.34rem); line-height: 1.5; }

.hero-focus span   { font-size: clamp(.82rem, 1vw, .92rem); }
.case-voice p      { font-size: clamp(1.02rem, 1.1vw, 1.12rem); }

/* --- Value statement band（差別化の核） --- */
.value-band {
  background: linear-gradient(135deg, #0d3b23 0%, #14512f 60%, #1a5c34 100%);
  color: #fff;
  padding: clamp(56px, 8vw, 92px) 0;
  text-align: center;
}
.value-band-label {
  font-family: var(--font-en);
  font-size: clamp(.76rem, 1vw, .86rem);
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--green-light);
  font-weight: 700;
  margin-bottom: 22px;
}
.value-band-quote {
  font-size: clamp(1.42rem, 3vw, 2.15rem);
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .01em;
  max-width: 1040px;
  margin: 0 auto;
}
.value-mark {
  color: #ffd98a;
  border-bottom: 3px solid rgba(255,217,138,.4);
  padding-bottom: 2px;
  white-space: nowrap;
}
.value-band-sub {
  font-size: clamp(1rem, 1.3vw, 1.15rem);
  color: rgba(255,255,255,.82);
  margin-top: 28px;
  line-height: 1.85;
}
.pc-break { display: inline; }

/* --- Hero hook（実物アプリへ誘導する掴み） --- */
.hero-hook {
  margin: 4px 0 30px;
  padding: 18px 22px;
  max-width: 640px;
  background: rgba(255,255,255,.07);
  border: 1px solid rgba(255,255,255,.16);
  border-left: 4px solid var(--green-light);
  border-radius: 12px;
}
.hero-hook-tag {
  display: inline-block;
  font-size: clamp(.74rem, .95vw, .84rem);
  font-weight: 700;
  letter-spacing: .06em;
  color: #ffd98a;
  margin-bottom: 8px;
}
.hero-hook p {
  font-size: clamp(1rem, 1.2vw, 1.14rem);
  line-height: 1.75;
  color: #fff;
  font-weight: 500;
}
.btn-hero {
  padding: 17px 40px;
  font-size: clamp(1rem, 1.15vw, 1.1rem);
  box-shadow: 0 10px 28px rgba(42,138,80,.5);
}

/* --- Closing message（代表からの締め・最後のひと押し） --- */
.closing-message {
  background: linear-gradient(180deg, #f5faf6 0%, #e7f3ec 100%);
  padding: clamp(60px, 8vw, 100px) 0;
  border-top: 1px solid var(--border);
}
.closing-inner {
  display: grid;
  grid-template-columns: 300px 1fr;
  gap: clamp(32px, 5vw, 60px);
  align-items: center;
  max-width: 1000px;
  margin: 0 auto;
}
.closing-photo { text-align: center; }
.closing-photo img {
  width: 100%;
  border-radius: 18px;
  box-shadow: 0 20px 46px rgba(26,92,52,.2);
}
.closing-photo figcaption {
  margin-top: 15px;
  font-weight: 700;
  color: var(--green-dark);
  font-size: clamp(.96rem, 1.1vw, 1.06rem);
  letter-spacing: .02em;
}
.closing-label {
  color: var(--green-main);
  font-weight: 700;
  letter-spacing: .08em;
  font-size: clamp(.82rem, 1vw, .92rem);
  margin-bottom: 12px;
}
.closing-title {
  font-size: clamp(1.5rem, 2.5vw, 2.1rem);
  font-weight: 700;
  line-height: 1.5;
  color: var(--charcoal);
  margin-bottom: 24px;
}
.closing-text p {
  font-size: clamp(1.02rem, 1.15vw, 1.14rem);
  line-height: 1.95;
  color: #33443a;
  margin-bottom: 16px;
}
.closing-text strong {
  color: var(--green-dark);
  border-bottom: 2px solid rgba(42,138,80,.35);
  padding-bottom: 1px;
}
.closing-em {
  font-weight: 600;
  color: var(--charcoal) !important;
}
.closing-message .btn-hero { margin-top: 14px; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 960px) {
  .nav { display: none; }
  .hamburger { display: flex; }
  .nav.open {
    display: flex;
    position: fixed;
    inset: 0;
    background: rgba(13,30,20,.97);
    z-index: 1000;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .nav.open .nav-list { flex-direction: column; gap: 36px; }
  .nav.open .nav-link { font-size: 1.3rem; color: var(--white) !important; }
  .nav.open .nav-link.nav-cta { font-size: 1rem; padding: 14px 36px; }

  .about-inner        { grid-template-columns: 1fr; gap: 48px; }
  .origin-inner       { grid-template-columns: 1fr; gap: 32px; }
  .cred-grid,
  .audit-grid,
  .package-grid,
  .faq-grid           { grid-template-columns: 1fr; }
  .deliverables-inner,
  .trust-inner,
  .news-inner         { grid-template-columns: 1fr; gap: 36px; }
  .deliverables-list  { grid-template-columns: 1fr; grid-auto-rows: auto; }
  .deliverables-list div { min-height: 52px; white-space: normal; }
  .persona-visual     { margin-top: 0; }
  .pillars-grid       { grid-template-columns: 1fr; }
  .persona-grid       { grid-template-columns: repeat(2, 1fr); }
  .strengths-grid     { grid-template-columns: 1fr; }
  .flow-grid,
  .seb-value-grid     { grid-template-columns: 1fr; }
  .idea-lab-grid,
  .idea-lab-grid.reverse {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .idea-lab-grid.reverse .idea-lab-media { order: 0; }
  .idea-card-grid,
  .consult-grid       { grid-template-columns: 1fr; }
  .service-block-inner { grid-template-columns: 1fr; gap: 40px; direction: ltr !important; }
  .message-inner      { grid-template-columns: 1fr; gap: 40px; }
  .message-photo      { max-width: 240px; }
  .contact-inner      { grid-template-columns: 1fr; gap: 48px; }
  .vision-cards       { grid-template-columns: 1fr; }
  .origin-detail-grid { grid-template-columns: 1fr; }
  .overview-table th  { width: 140px; }
}

@media (max-width: 600px) {
  html                { font-size: 16px; }
  .container          { padding: 0 18px; }
  .pc-break           { display: none; }
  .value-mark         { white-space: normal; }
  .value-band-quote   { line-height: 1.65; }
  .hero-hook          { padding: 15px 17px; margin-bottom: 24px; }
  .hero-hook p        { font-size: 1rem; line-height: 1.7; }
  .closing-inner      { grid-template-columns: 1fr; gap: 28px; }
  .closing-photo      { max-width: 220px; margin: 0 auto; }
  .closing-title      { font-size: 1.5rem; }
  .section            { padding: 60px 0; }
  .section-header     { margin-bottom: 34px; }
  .section-title      { font-size: 1.72rem; line-height: 1.42; }
  .section-desc       { font-size: 1.06rem; line-height: 1.85; }

  .header-inner       { height: 64px; }
  .logo               { gap: 8px; min-width: 0; }
  .logo img,
  .logo-mark          { width: 32px !important; height: 32px !important; }
  .logo-text          { font-size: 1rem; }
  .logo-sub           { display: none; }

  .nav.open .nav-list { gap: 28px; }
  .nav.open .nav-link { font-size: 1.1rem; }

  .hero {
    --hero-mobile-header-h: 64px;
    --hero-mobile-media-h: clamp(230px, 64vw, 292px);
    min-height: auto;
    align-items: flex-start;
    background: #07140f;
  }
  .hero-bg {
    inset: 0;
    background: #07140f;
  }
  .hero-bg::before {
    background:
      linear-gradient(180deg,
        rgba(5,16,12,0) 0,
        rgba(5,16,12,0) calc(var(--hero-mobile-header-h) + var(--hero-mobile-media-h) + 4px),
        rgba(5,16,12,.88) calc(var(--hero-mobile-header-h) + var(--hero-mobile-media-h) + 56px),
        rgba(5,16,12,.98) 100%);
  }
  .hero-bg::after { opacity: .06; }
  .hero-slide {
    top: calc(var(--hero-mobile-header-h) + var(--hero-mobile-media-h));
    right: 0;
    bottom: 0;
    left: 0;
    opacity: .22;
    background-position: center;
  }
  .hero-grid { display: none; }
  .hero-video {
    top: calc(var(--hero-mobile-header-h) + 14px);
    left: 50%;
    right: auto;
    bottom: auto;
    width: min(calc(100% - 34px), 430px);
    height: auto;
    aspect-ratio: 16 / 9;
    object-fit: contain;
    object-position: center center;
    opacity: 1;
    filter: none;
    background: #f7f7f4;
    border-radius: 8px;
    box-shadow: 0 16px 42px rgba(0,0,0,.22);
    transform: translateX(-50%);
  }
  .hero-content       { max-width: 100%; padding: calc(var(--hero-mobile-header-h) + var(--hero-mobile-media-h) + 44px) 0 72px; }
  .hero-label         { font-size: .72rem; letter-spacing: .18em; margin-bottom: 18px; }
  .hero-title         { font-size: clamp(1.8rem, 8.2vw, 2.15rem); line-height: 1.32; margin-bottom: 20px; }
  .hero-title-line:last-child { white-space: normal; }
  .title-mobile-break { display: block; }
  .hero-lead          { font-size: 1.06rem; line-height: 1.85; margin-bottom: 24px; }
  .hero-lead br       { display: none; }
  .hero-focus         { gap: 8px; margin-bottom: 32px; }
  .hero-focus span    { min-height: 32px; padding: 7px 13px; font-size: .86rem; }
  .hero-actions       { flex-direction: column; gap: 12px; }
  .hero-scroll        { display: none; }

  .btn                { width: 100%; justify-content: center; padding: 15px 18px; font-size: 1rem; }

  .page-hero          { padding: 112px 0 56px; }
  .page-hero-title    { font-size: 2.05rem; }
  .page-hero-desc     { font-size: 1.05rem; }
  .breadcrumb         { flex-wrap: wrap; row-gap: 4px; }

  .about-inner,
  .origin-inner,
  .service-block-inner,
  .contact-inner      { gap: 32px; }
  .about-lead,
  .service-block-lead,
  .message-text       { font-size: 1.06rem; line-height: 1.9; }
  .stat-item          { align-items: flex-start; flex-direction: column; gap: 8px; padding: 22px; }
  .stat-num           { min-width: 0; font-size: 1.7rem; }
  .origin-note        { padding: 28px 22px; }

  .cred-strip         { padding: 0; }
  .cred-grid          { border-left: none; border-right: none; }
  .cred-item          { min-height: auto; padding: 22px; }
  .audit-card,
  .package-card       { min-height: auto; padding: 26px 22px; }
  .capability-showcase,
  .capability-showcase img,
  .dx-motion          { min-height: 320px; }
  .capability-showcase figcaption {
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 15px 16px;
  }
  .dx-screen          { width: 100%; padding: 20px; }
  .persona-visual,
  .persona-visual img { min-height: 330px; }
  .persona-visual::after {
    background: linear-gradient(180deg, rgba(9,29,19,.28) 0%, rgba(9,29,19,.9) 100%);
  }
  .persona-visual figcaption {
    left: 20px;
    right: 20px;
    bottom: 20px;
    max-width: none;
  }
  .package-media      { margin: -8px -4px 20px; }
  .trust-item,
  .news-row           { grid-template-columns: 1fr; gap: 8px; }
  .faq-item summary   { padding: 18px 20px; }
  .faq-item p         { padding: 0 20px 20px; }

  .persona-grid       { grid-template-columns: 1fr; }
  .persona-card,
  .pillar-card,
  .strength-item,
  .vision-card,
  .origin-detail-card { padding: 26px 22px; }
  .persona-card       { min-height: auto; }
  .persona-card-image { margin: -4px -4px 20px; }
  .card-visual        { margin: -8px -4px 20px; }
  .pillar-card::before { font-size: 4rem; right: 14px; }

  .service-block      { padding: 64px 0; }
  .service-visual     { aspect-ratio: 16 / 11; }
  .service-visual-photo { aspect-ratio: 16 / 9; }
  .idea-lab-media     { aspect-ratio: 16 / 11; }
  .idea-lab-badge {
    left: 14px;
    right: 14px;
    bottom: 14px;
    text-align: center;
  }
  .idea-card,
  .consult-card       { padding: 22px 18px; }
  .service-visual-badge {
    right: 14px;
    bottom: 14px;
    max-width: calc(100% - 28px);
    text-align: center;
  }

  .contact-form-card  { padding: 30px 20px; }
  .contact-item       { gap: 12px; }
  .form-grid          { grid-template-columns: 1fr; }
  .overview-table th,
  .overview-table td  { padding: 16px 18px; }
  .overview-table th  { display: block; width: 100%; border-bottom: none; }
  .overview-table td  { display: block; width: 100%; }

  .footer             { padding-top: 48px; }
  .footer-inner       { gap: 28px; padding-bottom: 36px; }
}

@media (max-width: 380px) {
  .container          { padding: 0 15px; }
  .hero-title         { font-size: 1.92rem; }
  .section-title      { font-size: 1.56rem; }
}

/* Page navigation cards and case examples */
.nav-card-section { background: var(--white); }
.nav-card-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.nav-card {
  display: block;
  background: var(--gray-light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 18px;
  min-height: 220px;
  overflow: hidden;
  transition: transform var(--ease), box-shadow var(--ease), border-color var(--ease);
}
.nav-card:hover {
  transform: translateY(-4px);
  border-color: rgba(36, 157, 95, .35);
  box-shadow: var(--shadow);
}
.nav-card span {
  display: inline-flex;
  color: var(--green-main);
  font-family: var(--font-en);
  font-weight: 700;
  font-size: .78rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.nav-card h3 {
  font-size: 1.06rem;
  font-weight: 700;
  line-height: 1.55;
  margin-bottom: 12px;
  color: var(--charcoal);
}
.nav-card p {
  font-size: .9rem;
  color: var(--gray-mid);
  line-height: 1.85;
}
.case-list {
  display: grid;
  gap: 22px;
}
.case-row {
  display: grid;
  grid-template-columns: 80px 1fr;
  gap: 26px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px;
  box-shadow: 0 8px 24px rgba(0,0,0,.04);
}
.case-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--green-pale);
  color: var(--green-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
}
.case-row h2 {
  font-size: 1.18rem;
  line-height: 1.6;
  margin-bottom: 10px;
}
.case-row p {
  color: var(--gray-mid);
  line-height: 1.9;
  font-size: .94rem;
}
.case-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 16px;
}
.case-tags span {
  background: var(--green-pale);
  color: var(--green-dark);
  border-radius: 999px;
  padding: 6px 12px;
  font-size: .78rem;
  font-weight: 700;
}
.case-story-section {
  background:
    linear-gradient(180deg, rgba(237,248,242,.42), rgba(255,255,255,0) 240px),
    var(--white);
}
.case-story-section .section-title,
.case-story h2,
.case-voice p {
  text-wrap: balance;
}
.case-story-section .section-title {
  font-size: clamp(1.75rem, 2.55vw, 2.28rem);
}
.case-story-section .section-desc {
  max-width: 960px;
  margin-inline: auto;
}
.case-story h2 {
  font-size: clamp(1.14rem, 1.5vw, 1.36rem);
  line-height: 1.48;
}
.case-story {
  grid-template-columns: minmax(320px, .9fr) 1fr;
  gap: 0;
  padding: 0;
  overflow: hidden;
  align-items: stretch;
  min-width: 0;
}
.case-story > *,
.case-body,
.case-voice {
  min-width: 0;
}
.case-story:nth-child(even) {
  grid-template-columns: 1fr minmax(320px, .9fr);
}
.case-story:nth-child(even) .case-media { order: 2; }
.case-media {
  margin: 0;
  min-height: 330px;
  background: var(--gray-light);
}
.case-media img {
  width: 100%;
  max-width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.case-body {
  padding: 34px 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.case-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}
.case-persona {
  color: var(--green-dark);
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .08em;
}
.case-voice {
  border-left: 3px solid var(--green-main);
  padding-left: 16px;
  margin: 0 0 16px;
}
.case-voice span {
  display: block;
  color: var(--green-main);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .12em;
  margin-bottom: 6px;
}
.case-voice p {
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1.85;
}
.case-story-section .section-desc,
.case-story h2,
.case-voice p,
.case-body > p {
  overflow-wrap: anywhere;
}
@media (max-width: 1024px) {
  .nav-card-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 860px) {
  .case-story,
  .case-story:nth-child(even) {
    grid-template-columns: 1fr;
  }
  .case-story:nth-child(even) .case-media { order: 0; }
  .case-media {
    aspect-ratio: 16 / 10;
    min-height: 0;
  }
}
@media (max-width: 640px) {
  .nav-card-grid { grid-template-columns: 1fr; }
  .case-row { grid-template-columns: 1fr; gap: 18px; padding: 24px; }
  .case-story { gap: 0; padding: 0; }
  .case-body { padding: 24px; }
  .case-head { margin-bottom: 16px; }
  .case-voice { padding-left: 13px; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-bg::after,
  .capability-showcase::after,
  .dx-screen::after,
  .dx-pulse,
  .hero-scroll-line,
  .fade-in {
    animation: none !important;
    transition: none !important;
  }
  .hero-slide-field {
    opacity: 1;
    transform: none;
  }
}

/* ===== v1.4.24: Why HAKOVAL / 自社開発アプリ ===== */
.why-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}
.apps-teaser-visual {
  position: relative;
}
.apps-teaser-visual::after {
  content: "画面の一部のみ公開";
  position: absolute;
  right: 10px;
  bottom: 10px;
  background: rgba(13, 59, 35, 0.85);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  letter-spacing: 0.05em;
}
.apps-lock-wrap {
  max-width: 560px;
  width: 100%;
  margin: 0 auto;
}
.apps-lock-input {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #cfdcd3;
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  margin: 18px 0 8px;
  background: #fff;
}
.apps-lock-input:focus {
  outline: none;
  border-color: var(--green-main);
  box-shadow: 0 0 0 3px rgba(26, 92, 52, 0.15);
}
.apps-lock-error {
  color: #b3261e;
  font-weight: 700;
  font-size: 0.88rem;
  margin: 6px 0 10px;
}
.apps-lock-wrap form .btn {
  margin-top: 10px;
}
.apps-note {
  font-size: 0.85rem;
  color: #66756c;
  margin-top: 14px;
  line-height: 1.7;
}
@media (max-width: 960px) {
  .why-grid { grid-template-columns: 1fr; }
}
