@charset "UTF-8";
/* ==========================================================================
   SAMVEL Management Partners - Corporate Site Demo
   Common Stylesheet
   ========================================================================== */

:root {
  --navy: #102E4C;
  --navy-deep: #0A2038;
  --blue: #3B82A0;
  --cyan: #67D4EC;
  --mist: #F1F6F9;
  --white: #FFFFFF;
  --bg-sub: #F1F6F9;
  --text: #1F2937;
  --text-sub: #6B7280;
  --border: #E5E7EB;

  --font-jp: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  --font-jp-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", serif;
  --font-en: "Inter", "Noto Sans JP", sans-serif;

  --container-max: 1180px;
  --section-pad-pc: 80px;
  --section-pad-pc-s: 64px;
  --section-pad-sp: 56px;
  --section-pad-sp-s: 44px;

  --radius-s: 6px;
  --radius-m: 10px;
  --shadow-card: 0 2px 10px rgba(16, 46, 76, 0.06);
  --shadow-card-hover: 0 10px 28px rgba(16, 46, 76, 0.12);

  --header-h: 84px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-jp);
  color: var(--text);
  background: var(--white);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  font-feature-settings: "palt";
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
h1, h2, h3, h4, p { margin: 0; }
h1, h2, h3, h4 { font-weight: 700; line-height: 1.5; text-wrap: balance; }
p { text-wrap: pretty; }
input, textarea, select { font-family: inherit; font-size: 1rem; }

:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.001ms !important;
    animation-delay: 0s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}

.en { font-family: var(--font-en); letter-spacing: 0.02em; }
.pc-only { display: inline; }
.sp-only { display: none; }
@media (max-width: 640px) {
  .pc-only { display: none; }
  .sp-only { display: inline; }
}

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: var(--section-pad-pc) 0; }
.section--s { padding: var(--section-pad-pc-s) 0; }
.section--sub { background: var(--bg-sub); }
.section--navy { background: var(--navy); color: #fff; }

.section-head {
  max-width: 680px;
  margin: 0 0 48px;
}
.section-head.is-center { margin-left: auto; margin-right: auto; text-align: center; }
.eyebrow {
  display: inline-block;
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.14em;
  color: var(--blue);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.section--navy .eyebrow { color: #8FC2D6; }
.section-title {
  font-family: var(--font-jp-serif);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  color: var(--navy);
  letter-spacing: 0.01em;
}
.section--navy .section-title { color: #fff; }
.section-lead {
  margin-top: 16px;
  color: var(--text-sub);
  font-size: 15.5px;
  line-height: 1.9;
}
.section--navy .section-lead { color: #D7E3EC; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 15px 34px;
  border-radius: var(--radius-s);
  font-size: 15.5px;
  font-weight: 700;
  letter-spacing: 0.02em;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease, transform .15s ease;
  border: 1.5px solid transparent;
  white-space: nowrap;
}
.btn:active { transform: translateY(1px); }
.btn-primary { background: var(--blue); color: #fff; }
.btn-primary:hover { background: #336F8B; }
.btn-outline { background: transparent; color: #fff; border-color: rgba(255,255,255,0.7); }
.btn-outline:hover { background: rgba(255,255,255,0.14); border-color: #fff; }
.btn-navy { background: var(--navy); color: #fff; }
.btn-navy:hover { background: var(--navy-deep); }
.btn-ghost { background: #fff; color: var(--navy); border-color: var(--border); }
.btn-ghost:hover { border-color: var(--blue); color: var(--blue); }
.btn-wide { padding: 16px 48px; }
.btn-nav-cta { padding: 10px 22px; font-size: 14px; }

.btn-row { display: flex; gap: 16px; flex-wrap: wrap; }
.btn-row.is-center { justify-content: center; }

/* ==========================================================================
   Header
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  height: var(--header-h);
  display: flex;
  align-items: center;
  background: transparent;
  transition: background-color .3s ease, box-shadow .3s ease, border-color .3s ease;
  border-bottom: 1px solid transparent;
}
.site-header.is-solid {
  background: rgba(255,255,255,0.97);
  border-color: var(--border);
  box-shadow: 0 2px 10px rgba(16,46,76,0.05);
}
.header-inner {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo { display: flex; flex-direction: column; line-height: 1.1; }
.logo-main {
  font-family: var(--font-en);
  font-size: 21px;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--navy);
}
.logo-sub {
  font-family: var(--font-en);
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: var(--blue);
  margin-top: 2px;
}
.site-header.is-home:not(.is-solid) .logo-main { color: #fff; }
.site-header.is-home:not(.is-solid) .logo-sub { color: #CFE6EE; }

.gnav { display: flex; align-items: center; gap: 36px; }
.gnav-list { display: flex; align-items: center; gap: 30px; }
.gnav-list a {
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
  position: relative;
  padding: 6px 0;
}
.gnav-list a::after {
  content: "";
  position: absolute;
  left: 0; right: 0; bottom: 0;
  height: 2px;
  background: var(--blue);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .2s ease;
}
.gnav-list a:hover::after,
.gnav-list a[aria-current="page"]::after { transform: scaleX(1); }
.site-header.is-home:not(.is-solid) .gnav-list a { color: #fff; }

.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  background: transparent;
  border: none;
  padding: 0;
}
.hamburger span {
  width: 24px;
  height: 2px;
  background: var(--navy);
  transition: transform .25s ease, opacity .2s ease, background-color .2s ease;
}
.site-header.is-home:not(.is-solid) .hamburger span { background: #fff; }
.hamburger[aria-expanded="true"] span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.hamburger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
.hamburger[aria-expanded="true"] span { background: var(--navy) !important; }

@media (max-width: 980px) {
  .gnav {
    position: fixed;
    top: var(--header-h);
    left: 0; right: 0;
    bottom: 0;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0;
    background: #fff;
    padding: 28px 28px 40px;
    transform: translateX(100%);
    transition: transform .3s ease;
    overflow-y: auto;
  }
  .gnav.is-open { transform: translateX(0); }
  .gnav-list { flex-direction: column; align-items: flex-start; gap: 0; width: 100%; }
  .gnav-list a { display: block; width: 100%; padding: 16px 2px; border-bottom: 1px solid var(--border); color: var(--text) !important; font-size: 16px; }
  .gnav .btn-nav-cta { margin-top: 24px; width: 100%; padding: 15px; }
  .hamburger { display: flex; }
  .site-header { background: rgba(255,255,255,0.97); border-color: var(--border); }
  .site-header .logo-main { color: var(--navy) !important; }
  .site-header .logo-sub { color: var(--blue) !important; }
  .site-header .hamburger span { background: var(--navy) !important; }
}

/* ==========================================================================
   Hero (TOP page - full cover, Strategic Clarity)
   ========================================================================== */
.hero {
  position: relative;
  min-height: min(88vh, 820px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background-color: var(--navy-deep);
}
.hero-media {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-media picture {
  position: absolute;
  inset: 0;
  display: block;
}
.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 38%;
}
.hero-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(10,32,56,0.26) 0%, rgba(10,32,56,0.08) 40%, rgba(10,32,56,0.28) 100%);
}

/* Geometric transparent layer: concentrated behind the copy only, rest of the photo stays bright */
.hero-geo {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(102deg,
      rgba(10,32,56,0.58) 0%,
      rgba(10,32,56,0.42) 20%,
      rgba(10,32,56,0.20) 36%,
      rgba(10,32,56,0.06) 48%,
      rgba(10,32,56,0) 58%),
    linear-gradient(102deg,
      transparent 44%,
      rgba(103,212,236,0.06) 50%,
      rgba(103,212,236,0.04) 55%,
      transparent 61%);
}

/* HERO top-right / bottom-left decorative labels (PC only, hidden if cramped on mobile) */
.hero-labels {
  position: absolute;
  z-index: 2;
  top: calc(var(--header-h) + 36px);
  right: max(24px, calc((100% - var(--container-max)) / 2 + 24px));
  text-align: right;
}
.hero-labels span {
  display: block;
  font-family: var(--font-en);
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: rgba(255,255,255,0.78);
  line-height: 1.9;
  text-shadow: 0 1px 6px rgba(0,0,0,0.3);
}
.hero-scroll {
  position: absolute;
  z-index: 2;
  left: max(24px, calc((100% - var(--container-max)) / 2 + 24px));
  bottom: 28px;
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-en);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.16em;
  color: rgba(255,255,255,0.7);
}
.hero-scroll::before {
  content: "";
  width: 22px;
  height: 1px;
  background: rgba(255,255,255,0.5);
}

@media (max-width: 980px) {
  .hero-labels { display: none; }
}

/* Growth line: abstract SVG motif, decorative only */
.hero-growth {
  position: absolute;
  z-index: 1;
  right: 4%;
  top: 0;
  height: 100%;
  width: 46%;
  pointer-events: none;
  overflow: visible;
}
.hero-growth path {
  fill: none;
  stroke: var(--cyan);
  stroke-width: 2.4;
  stroke-linecap: round;
  opacity: 0.78;
  filter: drop-shadow(0 0 10px rgba(103,212,236,0.3));
}
.hero-growth circle {
  fill: var(--cyan);
  opacity: 0.85;
}

.hero-inner {
  position: relative;
  z-index: 2;
  width: 100%;
  color: #fff;
  padding: calc(var(--header-h) + 24px) 0 48px;
}
.hero-container { max-width: var(--container-max); }
.hero-copy { max-width: 620px; }
.hero-eyebrow {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--cyan);
  text-transform: uppercase;
  margin-bottom: 20px;
}
.hero-title {
  font-family: var(--font-jp-serif);
  font-weight: 700;
  font-size: clamp(32px, 4.6vw, 56px);
  line-height: 1.42;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 18px rgba(0,0,0,0.25);
}
.hero-lead {
  margin-top: 26px;
  font-size: clamp(15px, 1.5vw, 17px);
  line-height: 2;
  color: #EAF2F5;
}
.hero-actions {
  margin-top: 38px;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
}
.hero-line { display: inline-block; }

/* Catchphrase staggered fade-up (initial load only, ~1.8s total) */
.hero-reveal {
  opacity: 1;
  animation: heroRevealUp 0.6s cubic-bezier(.2,.7,.3,1) both;
}
.hero-reveal-1 { animation-delay: 0s; }
.hero-reveal-2 { animation-delay: 0.4s; }
.hero-reveal-3 { animation-delay: 0.8s; }
.hero-reveal-4 { animation-delay: 1.2s; }
@keyframes heroRevealUp {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 980px) {
  .hero-copy { max-width: 70%; }
  .hero-growth { width: 56%; right: -2%; opacity: 0.8; }
}

@media (max-width: 640px) {
  .hero { min-height: 82svh; }
  .hero-media img { object-position: center 30%; }
  .hero-geo {
    background: linear-gradient(0deg,
      rgba(10,32,56,0.72) 0%,
      rgba(10,32,56,0.54) 42%,
      rgba(10,32,56,0.22) 68%,
      rgba(10,32,56,0.06) 100%);
  }
  .hero-growth { width: 72%; height: 42%; top: 6%; right: 2%; }
  .hero-inner { padding-top: calc(var(--header-h) + 16px); display: flex; align-items: flex-end; min-height: 82svh; }
  .hero-copy { max-width: 100%; }
  .hero-scroll { display: none; }
  .hero-actions { flex-direction: column; width: 100%; }
  .hero-actions .btn { width: 100%; }
}

/* ==========================================================================
   Page Title (subpages)
   ========================================================================== */
.page-title {
  position: relative;
  margin-top: var(--header-h);
  min-height: 280px;
  display: flex;
  align-items: center;
  background: linear-gradient(135deg, var(--navy) 0%, #184468 100%);
  color: #fff;
  overflow: hidden;
}
.page-title::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(100deg, transparent 58%, rgba(103,212,236,0.5) 58.4%, rgba(103,212,236,0.5) 58.9%, transparent 59.3%),
    linear-gradient(100deg, transparent 72%, rgba(255,255,255,0.08) 72.6%, rgba(255,255,255,0.08) 100%);
  pointer-events: none;
}
.page-title::after {
  content: "";
  position: absolute;
  right: -60px; top: -90px;
  width: 300px; height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(103,212,236,0.12) 0%, rgba(103,212,236,0) 70%);
  pointer-events: none;
}
.page-title-inner { position: relative; z-index: 1; padding: 56px 0; }
.page-title-en {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.2em;
  color: #9FCBDB;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.page-title h1 { font-family: var(--font-jp-serif); font-weight: 700; font-size: clamp(26px, 3.4vw, 36px); }
.page-title-lead {
  margin-top: 16px;
  max-width: 620px;
  font-size: 15px;
  color: #D7E3EC;
  line-height: 1.9;
}
.breadcrumb {
  position: relative;
  z-index: 1;
  display: flex;
  gap: 8px;
  font-size: 12.5px;
  color: #BBD2DF;
  margin-bottom: 22px;
}
.breadcrumb a { color: #BBD2DF; }
.breadcrumb a:hover { color: #fff; }

@media (max-width: 640px) {
  .page-title { min-height: 240px; }
  .page-title-inner { padding: 40px 0; }
}

/* ==========================================================================
   OUR SOLUTIONS: flat 4-column layout (TOP page)
   ========================================================================== */
.solutions-flat {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.solutions-item {
  padding: 4px 28px 0;
  border-left: 1px solid var(--border);
}
.solutions-item:first-child { border-left: none; padding-left: 0; }
.solutions-num {
  font-family: var(--font-en);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--text-sub);
  margin-bottom: 14px;
}
.solutions-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--mist);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
}
.solutions-icon svg { width: 22px; height: 22px; }
.solutions-title { font-size: 16.5px; color: var(--navy); font-weight: 700; margin-bottom: 10px; transition: color .2s ease; }
.solutions-text { font-size: 14px; color: var(--text-sub); line-height: 1.85; }
.solutions-item .card-link { margin-top: 16px; }
.solutions-item:hover .solutions-title { color: var(--blue); }
.solutions-item:hover .card-link svg { transform: translateX(3px); }

@media (max-width: 860px) {
  .solutions-flat { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .solutions-item:nth-child(2) { border-left: 1px solid var(--border); }
  .solutions-item:nth-child(3) { border-left: none; padding-left: 0; }
}
@media (max-width: 560px) {
  .solutions-flat { grid-template-columns: 1fr; row-gap: 32px; }
  .solutions-item { border-left: none !important; padding-left: 0; }
}

/* ==========================================================================
   Cards / Grids
   ========================================================================== */
.grid {
  display: grid;
  gap: 28px;
}
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 32px 26px;
  box-shadow: var(--shadow-card);
  transition: box-shadow .25s ease, transform .25s ease, border-color .25s ease;
  height: 100%;
}
.card:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); border-color: #D6E4EC; }
.card-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(16,46,76,0.08) 0%, rgba(103,212,236,0.16) 100%);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px;
  position: relative;
}
.card-icon::after {
  content: "";
  position: absolute;
  left: 10px; right: 10px; bottom: -6px;
  height: 2px;
  background: var(--cyan);
  opacity: 0;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform .25s ease, opacity .25s ease;
}
.card:hover .card-icon::after { opacity: 1; transform: scaleX(1); }
.card-icon svg { width: 26px; height: 26px; }
.card-title { font-size: 17px; color: var(--navy); margin-bottom: 10px; }
.card-text { font-size: 14.5px; color: var(--text-sub); line-height: 1.85; }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  margin-top: 18px;
  font-size: 13.5px; font-weight: 700; color: var(--blue);
}
.card-link svg { width: 14px; height: 14px; transition: transform .2s ease; }
.card:hover .card-link svg { transform: translateX(3px); }

/* Problem cards (02) */
.problem-card { text-align: left; }

/* Values (04) 3-col */
.value-card { text-align: center; }
.value-num {
  font-family: var(--font-en);
  font-size: 13px;
  font-weight: 700;
  color: var(--blue);
  letter-spacing: 0.12em;
  margin-bottom: 14px;
}

/* ---------- Steps (05) ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  counter-reset: step;
}
.step {
  position: relative;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  padding: 30px 20px 24px;
  text-align: center;
}
.step-num {
  width: 36px; height: 36px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
  font-size: 14px;
}
.step-title { font-size: 15px; color: var(--navy); margin-bottom: 8px; font-weight: 700; }
.step-text { font-size: 13px; color: var(--text-sub); line-height: 1.8; }
.step-arrow {
  position: absolute;
  top: 36px; right: -30px;
  width: 20px; color: var(--border);
  display: flex; align-items: center; justify-content: center;
  z-index: 1;
}
.step:last-child .step-arrow { display: none; }

@media (max-width: 980px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .step-arrow { display: none; }
}
@media (max-width: 560px) {
  .steps { grid-template-columns: 1fr; }
}

/* ---------- Our Approach (new, 04) ---------- */
.approach-split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
  margin-bottom: 56px;
}
.approach-media { position: relative; }
.approach-media img {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
}
.approach-media::before {
  content: "";
  position: absolute;
  left: -18px; top: 18px;
  width: 100%; height: 100%;
  border: 2px solid var(--cyan);
  border-radius: var(--radius-m);
  opacity: 0.55;
  z-index: 0;
}
.approach-body p + p { margin-top: 14px; }

.approach-steps {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.approach-steps::before {
  content: "";
  position: absolute;
  top: 28px;
  left: 12.5%;
  width: 75%;
  height: 1px;
  background: var(--border);
  z-index: 0;
}
.approach-step {
  position: relative;
  padding: 0 22px;
  text-align: center;
}
.approach-step-icon {
  position: relative;
  z-index: 1;
  width: 56px; height: 56px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--cyan);
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
}
.approach-step-icon svg { width: 24px; height: 24px; }
.approach-step-en {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--blue);
  margin-bottom: 10px;
}
.approach-step-title { font-size: 17px; color: var(--navy); font-weight: 700; margin-bottom: 8px; }
.approach-step-text { font-size: 13.5px; color: var(--text-sub); line-height: 1.85; }

@media (max-width: 860px) {
  .approach-split { grid-template-columns: 1fr; gap: 28px; }
  .approach-media::before { left: -12px; top: 12px; }
}
@media (max-width: 760px) {
  .approach-steps { grid-template-columns: repeat(2, 1fr); row-gap: 36px; }
  .approach-steps::before { display: none; }
  .approach-step { padding: 0 16px; }
}
@media (max-width: 480px) {
  .approach-steps { grid-template-columns: 1fr; row-gap: 28px; }
}

/* ---------- Case studies: uniform 3-column grid (TOP page) ---------- */
.case-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  align-items: stretch;
}
.case-tile {
  display: flex;
  flex-direction: column;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow: hidden;
  transition: box-shadow .25s ease, transform .25s ease;
}
.case-tile:hover { box-shadow: var(--shadow-card-hover); transform: translateY(-3px); }
.case-tile-media { position: relative; aspect-ratio: 4 / 3; overflow: hidden; }
.case-tile-media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.case-tile-body {
  flex: 1;
  padding: 24px 24px 26px;
  display: flex;
  flex-direction: column;
}
.case-tile-body .case-tag { margin-bottom: 14px; align-self: flex-start; }
.case-tile-body h3 { font-size: 17px; color: var(--navy); margin-bottom: 10px; min-height: 46px; }
.case-tile-body p { flex: 1; font-size: 14px; color: var(--text-sub); line-height: 1.85; }
.case-tile-body .card-link { margin-top: 18px; }

@media (max-width: 860px) {
  .case-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px) {
  .case-grid { grid-template-columns: 1fr; }
}

/* ---------- Case studies (06) ---------- */
.case-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-m);
  overflow: hidden;
  box-shadow: var(--shadow-card);
}
.case-card-head {
  padding: 26px 28px;
  background: var(--bg-sub);
  border-bottom: 1px solid var(--border);
}
.case-tag {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--blue);
  background: #E4F0F3;
  padding: 5px 12px;
  border-radius: 100px;
  margin-bottom: 12px;
}
.case-card-head h3 { font-size: 18px; color: var(--navy); }
.case-card-body { padding: 26px 28px; }
.case-row { padding: 14px 0; border-bottom: 1px dashed var(--border); }
.case-row:last-child { border-bottom: none; }
.case-row-label { font-size: 12.5px; font-weight: 700; color: var(--blue); margin-bottom: 6px; letter-spacing: 0.04em; }
.case-row-text { font-size: 14px; color: var(--text); line-height: 1.85; }
.case-note {
  margin-top: 28px;
  font-size: 12.5px;
  color: var(--text-sub);
  background: var(--bg-sub);
  border: 1px solid var(--border);
  border-radius: var(--radius-s);
  padding: 14px 18px;
  line-height: 1.8;
}

/* ---------- About image block ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  align-items: center;
}
.split-media { position: relative; }
.split-media img { position: relative; z-index: 1; border-radius: var(--radius-m); box-shadow: var(--shadow-card); }
.split-media::after {
  content: "";
  position: absolute;
  right: -16px; bottom: -16px;
  width: 120px; height: 120px;
  border-right: 2px solid var(--navy);
  border-bottom: 2px solid var(--navy);
  opacity: 0.35;
  z-index: 0;
}
.split-body h2 { margin-bottom: 18px; }
.split-body p + p { margin-top: 14px; }
.split.is-reverse .split-media { order: 2; }

@media (max-width: 860px) {
  .split { grid-template-columns: 1fr; gap: 28px; }
  .split.is-reverse .split-media { order: 0; }
}

/* ---------- Final CTA ---------- */
.cta-final {
  position: relative;
  text-align: center;
  padding: 88px 0;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy-deep) 0%, var(--navy) 60%, #184468 100%);
}
.cta-final-geo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.cta-final .container { position: relative; z-index: 1; }
.cta-final h2 { font-family: var(--font-jp-serif); font-weight: 700; color: #fff; font-size: clamp(24px, 3.2vw, 34px); }
.cta-final p { margin-top: 16px; color: #D7E3EC; font-size: 15px; }
.cta-final .btn-row { margin-top: 34px; }

/* ---------- In-page CTA band (subpages) ---------- */
.inpage-cta {
  margin-top: var(--section-pad-pc);
  background: var(--bg-sub);
  border-top: 1px solid var(--border);
  padding: 56px 0;
  text-align: center;
}
.inpage-cta h2 { font-family: var(--font-jp-serif); font-weight: 700; font-size: 22px; color: var(--navy); }
.inpage-cta p { margin-top: 10px; color: var(--text-sub); font-size: 14.5px; }
.inpage-cta .btn-row { margin-top: 26px; justify-content: center; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer { background: var(--navy-deep); color: #C9D6DF; }
.footer-top {
  padding: 56px 0 40px;
  display: grid;
  grid-template-columns: 1.2fr 2fr;
  gap: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-brand .logo-main { color: #fff; font-size: 19px; }
.footer-brand .logo-sub { color: #8FC2D6; }
.footer-company { margin-top: 16px; font-size: 13.5px; color: #C9D6DF; }
.footer-address { margin-top: 4px; font-size: 13px; color: #8E9FAC; }
.footer-nav { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.footer-nav-title { font-size: 12.5px; font-weight: 700; color: #8FC2D6; letter-spacing: 0.06em; margin-bottom: 14px; }
.footer-nav ul li { margin-bottom: 10px; }
.footer-nav ul a { font-size: 13.5px; color: #C9D6DF; }
.footer-nav ul a:hover { color: #fff; }
.footer-bottom {
  padding: 22px 0 30px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.footer-demo-note { font-size: 11.5px; color: #7C8E9B; line-height: 1.9; }
.copyright { font-size: 11.5px; color: #65798A; font-family: var(--font-en); letter-spacing: 0.03em; }

@media (max-width: 860px) {
  .footer-top { grid-template-columns: 1fr; }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Content page generic (service detail etc.)
   ========================================================================== */
.content-block + .content-block { margin-top: 56px; }
.content-block h2 {
  font-size: 22px;
  color: var(--navy);
  padding-bottom: 14px;
  border-bottom: 2px solid var(--border);
  margin-bottom: 24px;
}
.content-block h3 { font-size: 16px; color: var(--navy); margin-bottom: 8px; }
.content-block p { color: var(--text); font-size: 15px; line-height: 1.9; }
.content-block .section-lead { margin-top: 0; }

.flow-list { display: grid; gap: 16px; }
.flow-item {
  display: grid;
  grid-template-columns: 56px 1fr;
  gap: 18px;
  align-items: flex-start;
  padding: 22px;
  background: var(--bg-sub);
  border-radius: var(--radius-m);
  border: 1px solid var(--border);
}
.flow-num {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en);
  font-weight: 700;
}
.flow-item h3 { margin-bottom: 6px; }
.flow-item p { font-size: 14px; color: var(--text-sub); }

.notice-box {
  margin-top: 28px;
  background: #FFF8EE;
  border: 1px solid #F0DDB8;
  border-radius: var(--radius-s);
  padding: 20px 22px;
  font-size: 13.5px;
  color: #7A5A1E;
  line-height: 1.9;
}

/* ---------- Company table ---------- */
.info-table { width: 100%; border-collapse: collapse; }
.info-table th, .info-table td {
  text-align: left;
  padding: 18px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 14.5px;
  vertical-align: top;
}
.info-table th {
  width: 180px;
  color: var(--text-sub);
  font-weight: 600;
  background: var(--bg-sub);
}

/* ---------- Form (contact) ---------- */
.demo-banner {
  background: #FFF4E5;
  border: 1px solid #F3D9A6;
  color: #8A5A10;
  border-radius: var(--radius-s);
  padding: 16px 20px;
  font-size: 13.5px;
  line-height: 1.85;
  margin-bottom: 36px;
}
.form-row { margin-bottom: 24px; }
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
}
.required-tag {
  display: inline-block;
  font-size: 10.5px;
  font-weight: 700;
  color: #fff;
  background: var(--blue);
  padding: 2px 7px;
  border-radius: 3px;
  margin-left: 8px;
  vertical-align: middle;
}
.form-row input[type="text"],
.form-row input[type="email"],
.form-row select,
.form-row textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-s);
  background: #fff;
  color: var(--text);
  transition: border-color .2s ease;
}
.form-row input:focus,
.form-row select:focus,
.form-row textarea:focus { border-color: var(--blue); }
.form-row textarea { resize: vertical; min-height: 140px; }
.form-foot { margin-top: 36px; text-align: center; }
.form-foot .btn { min-width: 240px; }
.form-privacy { margin-top: 16px; font-size: 12.5px; color: var(--text-sub); }

.form-success {
  display: none;
  text-align: center;
  padding: 60px 24px;
}
.form-success.is-shown { display: block; }
.form-success-icon {
  width: 64px; height: 64px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: #E4F0F3;
  color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.form-success h2 { font-size: 20px; color: var(--navy); }
.form-success p { margin-top: 12px; color: var(--text-sub); font-size: 14px; }

/* ==========================================================================
   Responsive: tablet / mobile
   ========================================================================== */
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-nav { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 640px) {
  :root { --header-h: 68px; }
  .section { padding: var(--section-pad-sp) 0; }
  .section--s { padding: var(--section-pad-sp-s) 0; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .section-head { margin-bottom: 32px; }
  .hero-actions .btn { width: 100%; }
  .case-card-head, .case-card-body { padding: 22px; }
  .inpage-cta { padding: 44px 0; }
  .btn-row:not(.is-center) { flex-direction: column; }
  .btn-row:not(.is-center) .btn { width: 100%; }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--navy);
  color: #fff;
  padding: 12px 20px;
  z-index: 1000;
  border-radius: 0 0 6px 0;
}
.skip-link:focus { left: 0; }
