/* ============ Reset & Base ============ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
:root {
  --navy: #1e3a8a;
  --navy-deep: #16306e;
  --navy-light: #4a6cb8;
  --bg: #ffffff;
  --bg-soft: #f5f7fb;
  --bg-mute: #eef2f8;
  --ink: #1a2240;
  --ink-mid: #5a6280;
  --ink-light: #8b93a8;
  --line: #e2e6ee;
  --radius: 14px;
  --radius-lg: 22px;
}
body {
  font-family: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.7;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* ============ Header ============ */
#mainHeader {
  position: fixed; top: 0; left: 0; right: 0;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  z-index: 100;
  transition: box-shadow .3s;
}
#mainHeader nav {
  max-width: 1280px; margin: 0 auto;
  padding: 14px 32px;
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px;
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-img {
  width: 44px; height: 44px; border-radius: 50%;
  object-fit: cover;
}
.logo-name {
  font-size: 1.2rem; font-weight: 700;
  color: var(--navy); letter-spacing: .02em;
  font-family: 'Noto Serif JP', serif;
}
.logo-text { display: flex; flex-direction: column; }
.logo-sub { display: none; }
.nav-links { display: flex; align-items: center; gap: 28px; }
.nav-links a {
  font-size: .9rem; font-weight: 500;
  color: var(--ink); transition: color .2s;
}
.nav-links a:hover, .nav-links a.current { color: var(--navy); }
.nav-cta {
  background: var(--navy);
  color: #fff !important;
  padding: 12px 26px;
  border-radius: 50px;
  display: inline-flex; align-items: center; gap: 8px;
  transition: background .2s, transform .2s;
}
.nav-cta::before { content: '✉'; font-size: .85rem; }
.nav-cta:hover { background: var(--navy-deep); transform: translateY(-2px); }
.hamburger { display: none; cursor: pointer; flex-direction: column; gap: 5px; }
.hamburger span {
  width: 26px; height: 2px; background: var(--navy);
  transition: .2s;
}
.mobile-menu {
  display: none; position: fixed; top: 76px; left: 0; right: 0;
  background: #fff; border-top: 1px solid var(--line);
  flex-direction: column; padding: 16px 24px;
  z-index: 99;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  padding: 14px 0; border-bottom: 1px solid var(--line);
  font-weight: 500;
}

/* ============ Hero ============ */
#hero {
  position: relative;
  min-height: 100vh;
  margin-top: 0;
  padding: 0;
  background: #0a1a3d;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-bg {
  position: absolute;
  inset: 0;
  background-image: url('img/hero-jump.jpg');
  background-size: cover;
  background-position: center;
  z-index: 0;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,26,61,.25) 0%, rgba(10,26,61,.15) 40%, rgba(10,26,61,.7) 100%);
}
.hero-inner {
  position: relative; z-index: 2;
  max-width: 1100px; margin: 0 auto;
  padding: 140px 32px 80px;
  text-align: center;
  color: #fff;
}
.hero-tagline {
  display: inline-block;
  font-size: .85rem; color: #fff;
  font-weight: 500; letter-spacing: .3em;
  margin-bottom: 28px;
  padding: 8px 24px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50px;
  backdrop-filter: blur(10px);
  background: rgba(255,255,255,.08);
}
.hero-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(2rem, 5.5vw, 4.6rem);
  line-height: 1.5; font-weight: 700;
  color: #fff;
  letter-spacing: .06em;
  margin-bottom: 32px;
  text-shadow: 0 2px 30px rgba(0,0,0,.4);
  word-break: keep-all;
  overflow-wrap: break-word;
}
.hero-title .line {
  display: block;
}
.hero-title .em {
  display: inline-block;
  position: relative;
  background: linear-gradient(120deg, #fff 0%, #c9d8ee 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.hero-sub {
  font-size: 1.05rem; color: rgba(255,255,255,.92);
  line-height: 2; margin-bottom: 44px;
  text-shadow: 0 1px 12px rgba(0,0,0,.4);
}
.hero-scroll {
  position: absolute; bottom: 30px; left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: .72rem; letter-spacing: .25em;
  z-index: 2;
  opacity: .85;
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  animation: scrollHint 2s ease-in-out infinite;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: rgba(255,255,255,.6);
}
@keyframes scrollHint {
  0%, 100% { transform: translateX(-50%) translateY(0); opacity: .85; }
  50% { transform: translateX(-50%) translateY(8px); opacity: .5; }
}
#hero .btn-primary {
  background: rgba(255,255,255,.95);
  color: var(--navy);
  font-size: 1rem;
  padding: 18px 44px;
  box-shadow: 0 10px 36px rgba(0,0,0,.25);
}
#hero .btn-primary:hover {
  background: #fff;
  transform: translateY(-3px);
  box-shadow: 0 14px 44px rgba(0,0,0,.35);
}
.hero-btns {
  display: flex; gap: 16px;
  justify-content: center; flex-wrap: wrap;
}
.btn-outline-light {
  background: rgba(255,255,255,.08);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.6);
  backdrop-filter: blur(10px);
  padding: 17px 36px;
  display: inline-flex; align-items: center; gap: 12px;
  border-radius: 50px;
  font-size: .95rem; font-weight: 600;
  transition: all .25s;
}
.btn-outline-light:hover {
  background: rgba(255,255,255,.95);
  color: var(--navy);
  transform: translateY(-3px);
}

/* Buttons */
.btn {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 15px 32px;
  border-radius: 50px;
  font-size: .92rem; font-weight: 600;
  letter-spacing: .04em;
  transition: all .25s;
  cursor: pointer;
}
.btn-primary {
  background: var(--navy); color: #fff;
  box-shadow: 0 6px 20px rgba(30,58,138,.25);
}
.btn-primary:hover {
  background: var(--navy-deep); transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(30,58,138,.35);
}
.btn-outline {
  background: #fff; color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }
.btn-arrow { transition: transform .25s; }
.btn:hover .btn-arrow { transform: translateX(4px); }

/* ============ Section common ============ */
section { padding: 96px 0; }
.section-head { text-align: center; margin-bottom: 64px; }
.section-title-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 3.2vw, 2.4rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: .04em;
}
.section-title-en {
  font-size: .85rem; font-weight: 500;
  color: var(--ink-light); letter-spacing: .25em;
}

/* ============ Services ============ */
#services { background: #fff; }
.services-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
}
.service-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(30,58,138,.06);
  transition: transform .3s, box-shadow .3s;
  text-align: center;
  position: relative;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 14px 36px rgba(30,58,138,.14);
}
.service-card-img {
  width: 100%; aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
}
.service-card-icon svg {
  width: 28px; height: 28px;
  stroke: #fff; fill: none; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.reason-icon svg {
  width: 44px; height: 44px;
  stroke: var(--navy); fill: none; stroke-width: 1.6;
  stroke-linecap: round; stroke-linejoin: round;
}
.footer-follow-icons a svg {
  width: 20px; height: 20px;
  fill: #fff;
}
.footer-follow-icons a {
  text-decoration: none;
}
.service-card-body { padding: 48px 18px 28px; position: relative; }
.service-card-icon {
  position: absolute; top: -32px; left: 50%;
  transform: translateX(-50%);
  width: 64px; height: 64px;
  background: var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.5rem;
  box-shadow: 0 6px 18px rgba(30,58,138,.3);
}
.service-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}
.service-card p {
  font-size: .8rem; color: var(--ink-mid);
  line-height: 1.85;
}

/* ============ Reasons ============ */
#reasons { background: var(--bg-soft); }
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}
.reason-card { text-align: center; padding: 16px; }
.reason-icon {
  width: 96px; height: 96px;
  margin: 0 auto 24px;
  border: 2px solid var(--navy);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--navy); font-size: 2.2rem;
  background: #fff;
}
.reason-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.1rem; font-weight: 700;
  color: var(--navy);
  margin-bottom: 14px;
}
.reason-card p {
  font-size: .85rem; color: var(--ink-mid);
  line-height: 1.9;
}

/* ============ Works ============ */
#works { background: #fff; }
.works-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-bottom: 48px;
}
.works-wrap {
  position: relative;
  margin-bottom: 48px;
}
.works-wrap::after {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 80px; height: 100%;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.95) 100%);
  pointer-events: none;
  z-index: 2;
}
.works-wrap.scrolled-end::after { opacity: 0; transition: opacity .3s; }
.works-scroll-hint {
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  z-index: 3;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--navy);
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .2em;
  animation: scrollSwipe 1.8s ease-in-out infinite;
}
.works-scroll-hint-circle {
  width: 56px; height: 56px;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 24px rgba(30,58,138,.35);
}
.works-scroll-hint-circle svg {
  width: 24px; height: 24px;
  fill: none; stroke: #fff; stroke-width: 2;
  stroke-linecap: round; stroke-linejoin: round;
}
.works-wrap.scrolled-end .works-scroll-hint { opacity: 0; transition: opacity .3s; }

@keyframes scrollSwipe {
  0%, 100% { transform: translateY(-50%) translateX(0); }
  50% { transform: translateY(-50%) translateX(-10px); }
}

.works-scroll {
  margin: 0 -24px;
  padding: 4px 24px 24px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: var(--navy) var(--bg-mute);
}
.works-scroll::-webkit-scrollbar { height: 8px; }
.works-scroll::-webkit-scrollbar-track {
  background: var(--bg-mute); border-radius: 10px;
}
.works-scroll::-webkit-scrollbar-thumb {
  background: var(--navy); border-radius: 10px;
}
.works-track {
  display: flex;
  gap: 20px;
}
.works-track .work-card {
  flex: 0 0 220px;
  scroll-snap-align: start;
}
.works-track .work-card h3 {
  font-size: .92rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.work-card { text-align: left; cursor: pointer; }
.work-img {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 3 / 5;
  margin-bottom: 14px;
  transition: transform .3s;
  background: var(--bg-mute);
}
.work-card:hover .work-img { transform: scale(1.02); }
.work-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
}
.work-card h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: .98rem; font-weight: 700;
  color: var(--ink);
  margin-bottom: 6px;
}
.work-card p { font-size: .78rem; color: var(--ink-mid); }
.center { text-align: center; }
.btn-pill {
  display: inline-flex; align-items: center;
  gap: 36px;
  padding: 16px 32px;
  border-radius: 50px;
  border: 1.5px solid var(--navy);
  background: #fff;
  color: var(--navy);
  font-weight: 600; font-size: .92rem;
  transition: all .25s;
}
.btn-pill:hover { background: var(--navy); color: #fff; }

/* ============ Client list ============ */
.client-list-wrap {
  margin-top: 80px;
  padding: 56px 48px;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 4px 24px rgba(30,58,138,.06);
}
.client-list-head {
  text-align: center;
  margin-bottom: 36px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.client-list-head h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: .04em;
}
.client-list-head .en {
  display: block;
  font-size: .72rem; letter-spacing: .3em;
  color: var(--ink-light); font-weight: 600;
  margin-bottom: 14px;
}
.client-list-intro {
  font-size: .85rem;
  color: var(--ink-mid);
  margin-top: 4px;
  line-height: 1.8;
}
.client-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  border-top: 1px solid var(--line);
  border-left: 1px solid var(--line);
}
.client-list li {
  font-size: .9rem;
  color: var(--ink);
  padding: 18px 16px 18px 32px;
  position: relative;
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  background: #fff;
  transition: background .2s, color .2s;
  display: flex;
  align-items: center;
  min-height: 60px;
}
.client-list li:hover {
  background: var(--navy);
  color: #fff;
}
.client-list li::before {
  content: '';
  position: absolute;
  left: 14px; top: 50%;
  transform: translateY(-50%);
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--navy);
  transition: background .2s;
}
.client-list li:hover::before {
  background: #fff;
}
.client-list-note {
  text-align: right;
  font-size: .76rem;
  color: var(--ink-light);
  margin-top: 16px;
  letter-spacing: .04em;
}

/* ============ About hero block ============ */
#about-hero {
  position: relative;
  background: #cfe3f5;
  padding: 0;
  min-height: 600px;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.about-hero-bg {
  position: absolute; inset: 0;
  background-image: url('img/hero-jump.jpg');
  background-size: cover;
  background-position: center top;
}
.about-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(255,255,255,0) 0%, rgba(207,227,245,.4) 70%, rgba(207,227,245,.85) 100%);
}
.about-hero-inner {
  position: relative;
  max-width: 1180px;
  width: 100%;
  margin: 0 auto;
  padding: 80px 24px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
  align-items: center;
}
.about-hero-card {
  background: #fff;
  padding: 48px 52px;
  border-radius: var(--radius-lg);
  box-shadow: 0 16px 48px rgba(30,58,138,.18);
}
.about-hero-eyebrow {
  font-size: .75rem; font-weight: 600;
  color: var(--navy); letter-spacing: .3em;
  margin-bottom: 16px; display: block;
}
.about-hero-card h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  color: var(--navy); font-weight: 700;
  line-height: 1.55; margin-bottom: 22px;
}
.about-hero-card p {
  font-size: .92rem; color: var(--ink-mid);
  line-height: 2; margin-bottom: 28px;
}

/* Stats panel on the right side */
.about-hero-stats {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 8px;
}
.about-hero-stat {
  background: rgba(255,255,255,.85);
  backdrop-filter: blur(10px);
  border-radius: 14px;
  padding: 22px 28px;
  border-left: 3px solid var(--navy);
  box-shadow: 0 6px 20px rgba(30,58,138,.08);
  display: flex;
  align-items: baseline;
  gap: 14px;
}
.about-hero-stat-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--navy);
  line-height: 1;
}
.about-hero-stat-num small {
  font-size: 1rem;
  margin-left: 2px;
}
.about-hero-stat-label {
  font-size: .85rem;
  color: var(--ink);
  font-weight: 500;
}

/* ============ News + Recruit CTA ============ */
#news-section { background: #fff; padding: 80px 0 100px; }
.news-recruit-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.news-block .section-head { text-align: center; margin-bottom: 36px; }
.news-list { border-top: 1px solid var(--line); }
.news-item {
  display: grid;
  grid-template-columns: auto auto 1fr;
  gap: 20px; align-items: center;
  padding: 18px 4px;
  border-bottom: 1px solid var(--line);
  font-size: .9rem;
}
.news-date {
  color: var(--ink-mid);
  font-family: 'DM Sans', sans-serif;
  font-weight: 500;
}
.news-tag {
  font-size: .72rem;
  background: var(--navy);
  color: #fff;
  padding: 4px 12px;
  border-radius: 20px;
  white-space: nowrap;
}
.news-tag.tag-event { background: #d97706; }
.news-tag.tag-work { background: #059669; }
.news-title { color: var(--ink); font-weight: 500; }
.news-more { text-align: center; margin-top: 28px; }

/* B2B CTA standalone section */
#biz-cta-section {
  padding: 80px 0;
  background: linear-gradient(180deg, #fff 0%, var(--bg-soft) 100%);
}
.biz-cta-large {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-deep) 100%);
  border-radius: var(--radius-lg);
  color: #fff;
  padding: 56px 64px;
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 40px;
  align-items: center;
  position: relative;
  overflow: hidden;
  box-shadow: 0 14px 50px rgba(30,58,138,.25);
}
.biz-cta-large::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: rgba(255,255,255,.05);
  pointer-events: none;
}
.biz-cta-large > * { position: relative; z-index: 1; }
.biz-cta-large .biz-cta-eyebrow {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .25em; opacity: .85;
  margin-bottom: 16px; display: block;
}
.biz-cta-large h2 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 2.6vw, 2.2rem);
  font-weight: 700; line-height: 1.5;
  margin-bottom: 20px;
}
.biz-cta-large p {
  font-size: .92rem; line-height: 2;
  opacity: .9;
}
.biz-cta-large-btns {
  display: flex; flex-direction: column;
  gap: 14px; align-items: stretch;
}
.biz-cta-large-btns .btn {
  justify-content: center;
  padding: 17px 32px;
}
.biz-cta-large-btns .btn-primary {
  background: #fff; color: var(--navy);
}
.biz-cta-large-btns .btn-primary:hover {
  background: var(--bg-mute);
}
.biz-cta-large-btns .btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,.6);
  color: #fff;
}
.biz-cta-large-btns .btn-outline:hover {
  background: rgba(255,255,255,.15);
  color: #fff;
}

/* B2B Inquiry CTA (large) */
.biz-cta {
  position: relative;
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  color: #fff;
  overflow: hidden;
  min-height: 340px;
  display: flex; flex-direction: column; justify-content: center;
  background: linear-gradient(135deg, rgba(30,58,138,.92) 0%, rgba(22,48,110,.85) 100%), url('img/service-pr.jpg');
  background-size: cover; background-position: center;
}
.biz-cta-eyebrow {
  font-size: .72rem; font-weight: 600;
  letter-spacing: .25em; opacity: .9;
  margin-bottom: 14px; display: block;
}
.biz-cta h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.3rem, 2.2vw, 1.7rem);
  font-weight: 700; line-height: 1.5;
  margin-bottom: 16px;
}
.biz-cta p {
  font-size: .92rem; line-height: 1.9;
  margin-bottom: 24px; opacity: .95;
}
.biz-cta .btn {
  align-self: flex-start;
  background: #fff;
  color: var(--navy);
}
.biz-cta .btn:hover {
  background: var(--bg-mute);
  transform: translateY(-2px);
}

/* Compact recruit banner */
.recruit-mini {
  max-width: 520px;
  margin: 56px auto 0;
  background: #fff;
  border: 1.5px solid var(--line);
  border-radius: 50px;
  padding: 12px 12px 12px 22px;
  display: flex; align-items: center; gap: 14px;
  transition: border-color .2s, box-shadow .2s;
}
.recruit-mini:hover {
  border-color: var(--navy);
  box-shadow: 0 6px 20px rgba(30,58,138,.1);
}
.recruit-mini-img {
  width: 44px; height: 44px;
  border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  background: var(--bg-mute);
}
.recruit-mini-img img { width: 100%; height: 100%; object-fit: cover; }
.recruit-mini-text { flex: 1; min-width: 0; }
.recruit-mini-text h4 {
  font-family: 'Noto Serif JP', serif;
  color: var(--navy); font-size: .95rem;
  font-weight: 700; margin-bottom: 2px;
  line-height: 1.4;
}
.recruit-mini-text p {
  font-size: .76rem; color: var(--ink-mid);
  line-height: 1.5;
}
.recruit-mini .btn {
  padding: 9px 20px;
  font-size: .78rem;
  flex-shrink: 0;
}

/* ============ Footer ============ */
footer {
  background: var(--navy-deep);
  color: #fff;
  padding: 60px 0 30px;
}
.footer-inner { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.footer-top {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr 1fr;
  gap: 36px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
.footer-brand {
  display: flex; align-items: center; gap: 12px;
  margin-bottom: 20px;
}
.footer-logo-img {
  width: 48px; height: 48px; border-radius: 50%;
  object-fit: cover;
}
.footer-logo-text {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.3rem; font-weight: 700;
}
.footer-info {
  font-size: .82rem; line-height: 1.9;
  opacity: .85;
}
.footer-col-title {
  font-size: .78rem; font-weight: 600;
  letter-spacing: .15em;
  margin-bottom: 16px; display: block;
  opacity: .9;
}
.footer-nav li { margin-bottom: 10px; }
.footer-nav a {
  font-size: .82rem; opacity: .85;
  transition: opacity .2s;
}
.footer-nav a:hover { opacity: 1; }
.footer-follow-icons {
  display: flex; gap: 12px;
  margin-top: 12px;
}
.footer-follow-icons a {
  width: 40px; height: 40px;
  background: rgba(255,255,255,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  transition: background .2s;
}
.footer-follow-icons a:hover { background: rgba(255,255,255,.25); }
.footer-bottom {
  padding-top: 24px;
  text-align: center;
  font-size: .78rem;
  opacity: .7;
}

/* ============ Page hero (sub pages) ============ */
.page-hero {
  padding: 140px 0 60px;
  background: linear-gradient(180deg, #f0f4fa 0%, #fff 100%);
  text-align: center;
}
.page-hero h1 {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.8rem, 3.6vw, 2.6rem);
  color: var(--navy); font-weight: 700;
  margin-bottom: 14px;
}
.page-hero p {
  color: var(--ink-mid); font-size: .95rem;
  line-height: 2;
}
.breadcrumbs {
  margin-top: 20px; font-size: .8rem;
  color: var(--ink-light);
}
.breadcrumbs a { color: var(--navy); }

/* ============ About page ============ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 64px; align-items: center;
}
.about-photo { border-radius: var(--radius-lg); overflow: hidden; }
.about-photo img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; }
.about-title {
  font-family: 'Noto Serif JP', serif;
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--navy); font-weight: 700;
  margin-bottom: 24px; line-height: 1.55;
}
.about-text {
  font-size: .95rem; color: var(--ink-mid);
  line-height: 2; margin-bottom: 16px;
}
.about-tags {
  display: flex; flex-wrap: wrap; gap: 10px;
  margin-top: 20px;
}
.about-tag {
  background: var(--bg-mute);
  color: var(--navy);
  padding: 6px 14px; border-radius: 20px;
  font-size: .8rem; font-weight: 500;
}

/* ============ Team ============ */
#team { background: var(--bg-soft); }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.team-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 32px 24px;
  text-align: center;
  box-shadow: 0 4px 16px rgba(30,58,138,.06);
}
.team-photo {
  width: 120px; height: 120px;
  border-radius: 50%;
  margin: 0 auto 18px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 2.4rem; font-family: 'Noto Serif JP', serif;
}
.team-photo img { width: 100%; height: 100%; object-fit: cover; }
.team-role {
  font-size: .75rem; letter-spacing: .15em;
  color: var(--navy); font-weight: 600; margin-bottom: 8px;
}
.team-name-jp {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.15rem; font-weight: 700;
  color: var(--ink); margin-bottom: 4px;
}
.team-name-en {
  font-size: .78rem; color: var(--ink-light);
  margin-bottom: 16px;
}
.team-bio {
  font-size: .85rem; color: var(--ink-mid);
  line-height: 1.9; text-align: left;
}

/* ============ Company table ============ */
#company-info { background: #fff; }
.company-table {
  max-width: 880px; margin: 0 auto;
  border-top: 1px solid var(--line);
}
.company-table dl > div {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 22px 8px;
  border-bottom: 1px solid var(--line);
}
.company-table dt {
  font-weight: 600; color: var(--navy);
  font-size: .9rem;
}
.company-table dd {
  font-size: .9rem; color: var(--ink-mid);
  line-height: 1.9;
}
.company-table a { color: var(--navy); text-decoration: underline; }

/* ============ Inquiry Form ============ */
.inquiry-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px 20px;
  margin: 32px 0 28px;
}
.inquiry-form .full { grid-column: 1 / -1; }
.field-label {
  display: block;
  font-size: .78rem; font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: .04em;
}
.field-label .req {
  color: #d44;
  margin-left: 6px;
  font-size: .7rem;
}
.field-input, .field-select, .field-textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #fff;
  font-size: .92rem;
  font-family: inherit;
  color: var(--ink);
  transition: border-color .2s, box-shadow .2s;
}
.field-input:focus, .field-select:focus, .field-textarea:focus {
  outline: none;
  border-color: var(--navy);
  box-shadow: 0 0 0 3px rgba(30,58,138,.1);
}
.field-textarea { min-height: 140px; resize: vertical; }
.field-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8' fill='none' stroke='%231e3a8a' stroke-width='1.5'%3E%3Cpath d='M1 1l5 5 5-5'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; background-size: 12px; padding-right: 36px; }
.inquiry-submit {
  grid-column: 1 / -1;
  display: flex; justify-content: center;
  margin-top: 12px;
}
.inquiry-submit button {
  border: none;
  font-family: inherit;
}
.inquiry-note {
  grid-column: 1 / -1;
  font-size: .78rem;
  color: var(--ink-light);
  text-align: center;
  margin-top: 8px;
}

/* ============ Contact ============ */
#contact { background: var(--bg-soft); }
.contact-card {
  max-width: 920px; margin: 0 auto;
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  box-shadow: 0 10px 40px rgba(30,58,138,.08);
}
.contact-title {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.4rem; font-weight: 700;
  color: var(--navy); margin-bottom: 18px;
  line-height: 1.6; text-align: center;
}
.contact-text {
  font-size: .9rem; color: var(--ink-mid);
  line-height: 2; text-align: center;
  margin-bottom: 36px;
}
.contact-info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
  margin-bottom: 32px;
}
.contact-info-item {
  background: var(--bg-soft);
  padding: 16px 20px; border-radius: var(--radius);
}
.contact-info-label {
  font-size: .72rem; font-weight: 600;
  color: var(--ink-light); letter-spacing: .15em;
  display: block; margin-bottom: 6px;
}
.contact-info-val {
  font-size: .9rem; color: var(--ink); font-weight: 500;
}
.contact-info-val a { color: var(--navy); }

/* ============ Services page additional ============ */
.service-detail {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 48px;
  margin-bottom: 64px;
  align-items: start;
}
.service-detail.reverse {
  grid-template-columns: 1fr 280px;
}
.service-detail.reverse .service-detail-img { order: 2; }
.service-detail-img { border-radius: var(--radius); overflow: hidden; }
.service-detail-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  object-position: center;
}
.service-detail ul {
  list-style: none;
  margin-top: 14px;
}
.service-detail ul li {
  font-size: .88rem;
  color: var(--ink-mid);
  line-height: 1.9;
  padding-left: 18px;
  position: relative;
}
.service-detail ul li::before {
  content: '';
  position: absolute;
  left: 0; top: 12px;
  width: 8px; height: 2px;
  background: var(--navy);
}
.service-detail-num {
  font-family: 'DM Sans', sans-serif;
  font-size: 3rem; font-weight: 700;
  color: var(--navy); opacity: .2; line-height: 1;
}
.service-detail h3 {
  font-family: 'Noto Serif JP', serif;
  font-size: 1.6rem; color: var(--navy);
  font-weight: 700; margin: 8px 0 16px;
}
.service-detail p {
  font-size: .95rem; color: var(--ink-mid);
  line-height: 2; margin-bottom: 14px;
}

/* ============ Fade-in ============ */
.fi { opacity: 0; transform: translateY(20px); transition: opacity .8s, transform .8s; }
.fi.vis { opacity: 1; transform: translateY(0); }
.fd1 { transition-delay: .1s; }
.fd2 { transition-delay: .25s; }
.fd3 { transition-delay: .4s; }
.fd4 { transition-delay: .55s; }

/* ============ Mobile Accordion ============ */
@media (max-width: 960px) {
  section.acc { padding: 0; border-bottom: 1px solid var(--line); background: #fff; }
  section.acc + section.acc { margin-top: 0; }
  section.acc > .wrap { padding: 0 24px; }
  section.acc .section-head {
    cursor: pointer;
    margin: 0;
    padding: 22px 44px 22px 4px;
    position: relative;
    text-align: left;
  }
  section.acc .section-head .section-title-jp {
    margin-bottom: 2px;
    font-size: 1.15rem;
  }
  section.acc .section-head .section-title-en {
    font-size: .7rem;
  }
  section.acc .section-head::after {
    content: '+';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    width: 32px; height: 32px;
    border: 1.5px solid var(--navy);
    border-radius: 50%;
    color: var(--navy);
    font-size: 1.3rem;
    font-weight: 300;
    line-height: 28px;
    text-align: center;
    transition: transform .3s, background .3s, color .3s;
  }
  section.acc.open .section-head::after {
    content: '−';
    background: var(--navy);
    color: #fff;
  }
  section.acc > .wrap > *:not(.section-head) {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height .4s ease, opacity .3s, padding .3s, margin .3s;
    padding-top: 0; padding-bottom: 0;
    margin-top: 0; margin-bottom: 0;
  }
  section.acc.open > .wrap > *:not(.section-head) {
    max-height: 8000px;
    opacity: 1;
    padding-bottom: 28px;
  }
  section#reasons.acc, section#works.acc, section#service-details.acc {
    background: #fff;
  }
}

/* ============ Responsive ============ */
@media (max-width: 960px) {
  .nav-links { display: none; }
  .hamburger { display: flex; }
  .hero-inner { grid-template-columns: 1fr; gap: 32px; padding: 40px 24px 60px; }
  section { padding: 64px 0; }
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 36px 16px; }
  .reasons-grid { grid-template-columns: repeat(2, 1fr); gap: 36px; }
  .works-grid { grid-template-columns: repeat(2, 1fr); }
  .biz-cta-large { grid-template-columns: 1fr; padding: 36px 28px; gap: 24px; }
  .news-recruit-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .team-grid { grid-template-columns: 1fr; }
  .service-detail { grid-template-columns: 1fr; gap: 24px; }
  .service-detail.reverse .service-detail-img { order: 0; }
  .client-list { grid-template-columns: repeat(2, 1fr); }
  .client-list-wrap { padding: 36px 24px; }
  .company-table dl > div { grid-template-columns: 1fr; gap: 6px; }
  .contact-card { padding: 32px 24px; }
  .contact-info-grid { grid-template-columns: 1fr; }
  .about-hero-card { padding: 32px 24px; }
  .about-hero-inner { grid-template-columns: 1fr; gap: 24px; padding: 60px 24px; }
  .about-hero-stats { flex-direction: row; flex-wrap: wrap; }
  .about-hero-stat { flex: 1 1 calc(50% - 8px); padding: 16px 20px; }
  .about-hero-stat-num { font-size: 1.5rem; }
  #about-hero { min-height: auto; }
}
@media (max-width: 600px) {
  .services-grid { grid-template-columns: 1fr; }
  .works-grid { grid-template-columns: 1fr 1fr; gap: 14px; }
  .reasons-grid { grid-template-columns: 1fr 1fr; gap: 24px; }
  .client-list { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
  .hero-title { font-size: 2rem; }
  .news-item { grid-template-columns: 1fr; gap: 6px; padding: 14px 4px; }
}
