*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Noto Sans JP', sans-serif;
  background: #fff;
  color: #0c1c3c;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
img { display: block; max-width: 100%; }

:root {
  --navy:    #0c1c3c;
  --navy-2:  #1e3a6e;
  --navy-3:  #3d5a8e;
  --navy-bg: #edf2f8;
  --coral:   #f05a28;
  --sub:     #5a6a82;
  --muted:   #9aaabb;
  --border:  #dde4ee;
  --surface: #f8fafe;
  --nav-h:   68px;
  --max:     1140px;
}

/* ── COMMON ── */
.container { max-width: var(--max); margin: 0 auto; padding: 0 48px; }
.section    { padding: 100px 0; }
.section--alt { background: var(--surface); }

.section-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: var(--coral);
  letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.section-h2 {
  font-size: clamp(28px, 3.2vw, 42px);
  font-weight: 900; line-height: 1.25;
  letter-spacing: -.02em; color: var(--navy);
  margin-bottom: 16px;
}
.section-sub {
  font-size: 15.5px; color: var(--sub);
  line-height: 1.9;
}
.section-head { margin-bottom: 64px; }

/* ── REVEAL ── */
.reveal {
  opacity: 0; transform: translateY(20px);
  transition: opacity .65s ease, transform .65s ease;
}
.reveal.on { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .12s; }
.reveal-d2 { transition-delay: .24s; }
.reveal-d3 { transition-delay: .36s; }
.reveal-d4 { transition-delay: .48s; }

/* ── NAV ── */
.nav {
  position: fixed; inset: 0 0 auto;
  height: var(--nav-h); z-index: 200;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color .3s, box-shadow .3s;
}
.nav.on {
  border-color: var(--border);
  box-shadow: 0 1px 16px rgba(12,28,60,.06);
}
.nav-inner {
  max-width: var(--max); height: 100%;
  margin: auto; padding: 0 48px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo img { height: 30px; width: auto; }
.nav-links { display: flex; align-items: center; gap: 32px; }
.nav-links a {
  font-size: 13.5px; font-weight: 500;
  color: var(--sub); letter-spacing: .02em;
  transition: color .15s;
}
.nav-links a:hover { color: var(--navy); }
.nav-cta {
  background: var(--navy) !important; color: #fff !important;
  padding: 9px 22px; border-radius: 8px;
  font-size: 13px !important; font-weight: 700 !important;
  letter-spacing: .03em !important; transition: opacity .15s !important;
}
.nav-cta:hover { opacity: .8 !important; }

/* ── BUTTONS ── */
.btn-fill {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--navy); color: #fff;
  padding: 14px 30px; border-radius: 9px;
  font-size: 14.5px; font-weight: 700; letter-spacing: .02em;
  transition: opacity .15s, transform .15s;
}
.btn-fill:hover { opacity: .82; transform: translateY(-2px); }
.btn-ghost-text {
  display: inline-flex; align-items: center; gap: 6px;
  color: var(--sub); font-size: 14px; font-weight: 600;
  padding-bottom: 2px; border-bottom: 1.5px solid var(--border);
  transition: color .15s, border-color .15s;
}
.btn-ghost-text:hover { color: var(--navy); border-color: var(--navy); }
.btn-white {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; color: var(--navy);
  padding: 14px 28px; border-radius: 9px;
  font-size: 14px; font-weight: 700; letter-spacing: .02em;
  transition: opacity .15s, transform .15s;
}
.btn-white:hover { opacity: .88; transform: translateY(-2px); }
.btn-outline {
  display: inline-flex; align-items: center; gap: 8px;
  border: 1.5px solid var(--border); color: var(--navy);
  padding: 12px 24px; border-radius: 9px;
  font-size: 14px; font-weight: 600; letter-spacing: .01em;
  transition: border-color .15s, color .15s;
}
.btn-outline:hover { border-color: var(--navy); }

/* ── FOOTER ── */
.footer {
  background: var(--surface);
  border-top: 1px solid var(--border);
  padding: 48px 0 36px;
}
.footer-inner { max-width: var(--max); margin: auto; padding: 0 48px; }
.footer-top {
  display: flex; justify-content: space-between; align-items: center;
  margin-bottom: 36px; padding-bottom: 36px;
  border-bottom: 1px solid var(--border);
}
.footer-logo img { height: 26px; }
.footer-nav { display: flex; gap: 32px; flex-wrap: wrap; }
.footer-nav a {
  font-size: 13px; font-weight: 500; color: var(--sub);
  letter-spacing: .02em; transition: color .15s;
}
.footer-nav a:hover { color: var(--navy); }
.footer-bottom {
  display: flex; justify-content: space-between; align-items: center;
}
.footer-copy { font-size: 12px; color: var(--muted); letter-spacing: .02em; }
.footer-policy { font-size: 12px; color: var(--muted); transition: color .15s; }
.footer-policy:hover { color: var(--navy); }

/* ── PAGE HEADER ── */
.page-header {
  padding: calc(var(--nav-h) + 72px) 0 72px;
  background: linear-gradient(160deg, var(--surface) 0%, #fff 100%);
  border-bottom: 1px solid var(--border);
}
.page-header-inner { max-width: var(--max); margin: auto; padding: 0 48px; }
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 12.5px; color: var(--muted); margin-bottom: 28px;
}
.breadcrumb a { color: var(--muted); transition: color .15s; }
.breadcrumb a:hover { color: var(--navy); }
.breadcrumb-sep { font-size: 10px; opacity: .5; }
.page-tag {
  display: inline-block;
  font-size: 11px; font-weight: 700;
  color: var(--coral); letter-spacing: .12em; text-transform: uppercase;
  margin-bottom: 14px;
}
.page-title {
  font-size: clamp(28px, 3.5vw, 48px);
  font-weight: 900; line-height: 1.2;
  letter-spacing: -.02em; color: var(--navy);
  margin-bottom: 16px;
}
.page-lead {
  font-size: 16px; color: var(--sub); line-height: 1.9;
}

/* ── NEWS LIST ── */
.news-list {
  border-top: 1px solid var(--border);
  margin-bottom: 48px;
}
.news-item {
  display: flex; align-items: center; gap: 20px;
  padding: 20px 8px;
  border-bottom: 1px solid var(--border);
  color: var(--navy); transition: background .15s;
  border-radius: 4px;
}
.news-item:hover { background: var(--surface); }
.news-meta {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0; width: 230px;
}
.news-date {
  font-size: 13px; color: var(--muted);
  letter-spacing: .04em; font-weight: 500; white-space: nowrap;
}
.news-cat {
  font-size: 11px; font-weight: 700; letter-spacing: .06em;
  padding: 3px 10px; border-radius: 20px; white-space: nowrap;
  background: var(--navy-bg); color: var(--navy-3);
}
.news-cat--press   { background: #fef3eb; color: #b84418; }
.news-cat--recruit { background: #e8f4fd; color: #1a6aa3; }
.news-cat--event   { background: #f0f7ee; color: #2a7a3b; }
.news-title {
  flex: 1; font-size: 14.5px; font-weight: 500; color: var(--navy);
  line-height: 1.6; transition: color .15s;
}
.news-item:hover .news-title { color: var(--coral); }
.news-arrow { flex-shrink: 0; color: var(--muted); transition: transform .15s; }
.news-item:hover .news-arrow { transform: translateX(3px); }
.news-more { text-align: right; }

/* ── ARTICLE ── */
.article-wrap { max-width: var(--max); margin: auto; padding: 0 48px; }
.article { padding: 80px 0 100px; }
.article-meta { display: flex; align-items: center; gap: 12px; margin-bottom: 24px; }
.article-date { font-size: 13.5px; color: var(--muted); font-weight: 500; letter-spacing: .04em; }
.article-title {
  font-size: clamp(22px, 2.8vw, 34px); font-weight: 900;
  line-height: 1.3; letter-spacing: -.02em; color: var(--navy);
  margin-bottom: 48px; padding-bottom: 32px;
  border-bottom: 1px solid var(--border);
}
.article-body { font-size: 15.5px; color: #334155; line-height: 2; }
.article-body p { margin-bottom: 24px; }
.article-body p:last-child { margin-bottom: 0; }
.article-body h2 {
  font-size: 19px; font-weight: 700; color: var(--navy);
  margin: 48px 0 16px; padding-left: 14px;
  border-left: 3px solid var(--coral);
}
.article-body ul { list-style: disc; padding-left: 24px; margin-bottom: 24px; }
.article-body ul li { margin-bottom: 8px; }
.article-body img { max-width: 100%; height: auto; border-radius: 8px; margin: 32px 0; display: block; }
.article-back { margin-top: 64px; padding-top: 40px; border-top: 1px solid var(--border); }

/* ── SERVICE DETAIL ── */
.svc-section { padding: 80px 0; }
.svc-section + .svc-section { border-top: 1px solid var(--border); }
.svc-section-head { margin-bottom: 48px; }
.svc-section-title {
  font-size: clamp(20px, 2.4vw, 28px); font-weight: 900;
  color: var(--navy); letter-spacing: -.02em; line-height: 1.3;
  margin-bottom: 12px;
}
.svc-section-sub { font-size: 15px; color: var(--sub); line-height: 1.9; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feature-card {
  background: #fff; border-radius: 16px;
  border: 1px solid var(--border); padding: 28px 24px;
  transition: box-shadow .2s, transform .2s;
}
.feature-card:hover {
  box-shadow: 0 8px 32px rgba(12,28,60,.08);
  transform: translateY(-3px);
}
.feature-num {
  font-size: 11px; font-weight: 700; color: var(--muted);
  letter-spacing: .1em; margin-bottom: 12px;
}
.feature-icon {
  width: 44px; height: 44px; background: var(--navy-bg);
  border-radius: 10px; display: grid; place-items: center;
  color: var(--navy); margin-bottom: 16px;
}
.feature-title { font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.feature-body  { font-size: 13.5px; color: var(--sub); line-height: 1.9; }

.flow-list { display: flex; flex-direction: column; }
.flow-item {
  display: flex; gap: 28px; align-items: flex-start;
  padding: 28px 0; border-bottom: 1px solid var(--border);
}
.flow-item:first-child { border-top: 1px solid var(--border); }
.flow-num {
  font-size: 32px; font-weight: 900; color: var(--navy-bg);
  letter-spacing: -.03em; flex-shrink: 0; width: 52px; line-height: 1;
  padding-top: 2px;
}
.flow-title { font-size: 16px; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.flow-body  { font-size: 13.5px; color: var(--sub); line-height: 1.85; }

.stack-section { }
.stack-label {
  font-size: 11px; font-weight: 700; color: var(--muted);
  letter-spacing: .1em; text-transform: uppercase;
  margin-bottom: 12px;
}
.stack-group { margin-bottom: 28px; }
.stack-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.stack-tag {
  font-size: 13px; font-weight: 700; color: var(--navy-2);
  background: var(--navy-bg); border-radius: 8px;
  padding: 6px 14px; letter-spacing: .02em;
}

.svc-cta-section {
  background: var(--navy); padding: 80px 0; text-align: center;
}
.svc-cta-inner { max-width: 540px; margin: auto; padding: 0 48px; }
.svc-cta-title {
  font-size: clamp(20px, 2.6vw, 30px); font-weight: 900;
  color: #fff; margin-bottom: 14px; line-height: 1.3; letter-spacing: -.02em;
}
.svc-cta-sub {
  font-size: 15px; color: rgba(255,255,255,.6);
  line-height: 1.85; margin-bottom: 36px;
}

/* ── KEYFRAMES ── */
@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── HAMBURGER ── */
.nav-hamburger {
  display: none;
  flex-direction: column; justify-content: center; align-items: center; gap: 5px;
  width: 40px; height: 40px; padding: 0;
  background: none; border: none; cursor: pointer; flex-shrink: 0;
}
.nav-hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--navy); border-radius: 2px;
  transition: transform .25s, opacity .2s;
}
.nav.open .nav-hamburger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav.open .nav-hamburger span:nth-child(2) { opacity: 0; }
.nav.open .nav-hamburger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ── RESPONSIVE ── */
@media (max-width: 960px) {
  .container, .nav-inner, .footer-inner,
  .page-header-inner, .article-wrap, .svc-cta-inner { padding-left: 32px; padding-right: 32px; }
  .footer-top { flex-direction: column; align-items: flex-start; gap: 24px; }
  .footer-bottom { flex-direction: column; gap: 10px; }
  .news-meta { width: 190px; }
  .feature-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .container, .nav-inner, .footer-inner,
  .page-header-inner, .article-wrap, .svc-cta-inner { padding-left: 20px; padding-right: 20px; }
  .section { padding: 72px 0; }
  .svc-section { padding: 56px 0; }
  .news-meta { flex-direction: column; align-items: flex-start; gap: 4px; width: auto; }
  .news-item { flex-wrap: wrap; gap: 12px; }
  .news-arrow { display: none; }
  .feature-grid { grid-template-columns: 1fr; }

  .nav-inner { justify-content: flex-start; }
  .nav-inner > nav { margin-left: auto; margin-right: 8px; }
  .nav-hamburger { display: flex; }
  .nav-links li:not(:last-child) { display: none; }
  .nav.open .nav-links {
    position: fixed; top: var(--nav-h); left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(255,255,255,.98);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(12,28,60,.08);
    padding: 8px 0 16px;
  }
  .nav.open .nav-links li { display: block !important; }
  .nav.open .nav-links a {
    display: block; padding: 13px 24px;
    font-size: 15px;
  }
  .nav.open .nav-links .nav-cta {
    margin: 8px 20px 0;
    padding: 12px 20px !important;
    text-align: center; border-radius: 8px;
  }
}

/* ── CASES BANNER (shared by index/service/service-dev-server) ── */
.cases-banner {
  background: var(--navy-bg); border-radius: 16px;
  border: 1px solid var(--border);
  padding: 36px 44px;
  display: flex; align-items: center; justify-content: space-between; gap: 32px;
}
.cases-banner-label {
  font-size: 11px; font-weight: 700; color: var(--coral);
  letter-spacing: .12em; text-transform: uppercase; margin-bottom: 8px;
}
.cases-banner-title {
  font-size: 20px; font-weight: 900; color: var(--navy);
  letter-spacing: -.01em; margin-bottom: 8px;
}
.cases-banner-body {
  font-size: 13.5px; color: var(--sub); line-height: 1.7;
}

/* ── CHALLENGE GRID (shared by service-dev-server/oci-migration) ── */
.challenge-grid {
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px;
}
.challenge-item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px;
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  font-size: 14px; color: var(--navy); line-height: 1.6;
  transition: box-shadow .2s, transform .2s;
}
.challenge-item:hover {
  box-shadow: 0 8px 32px rgba(12,28,60,.08);
  transform: translateY(-3px);
}
.challenge-icon {
  width: 22px; height: 22px; flex-shrink: 0;
  background: #fff; border: 1.5px solid var(--coral); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}

/* ── STRENGTH DL (shared by service-dev-server/development) ── */
.strength-dl { display: flex; flex-direction: column; gap: 0; }
.strength-item {
  display: grid; grid-template-columns: 240px 1fr; gap: 0;
  padding: 28px 0; border-bottom: 1px solid var(--border);
}
.strength-item:first-child { border-top: 1px solid var(--border); }
.strength-dt {
  font-size: 14px; font-weight: 700; color: var(--navy);
  padding-right: 32px; padding-top: 2px;
  display: flex; align-items: flex-start; gap: 10px;
}
.strength-dt::before {
  content: ''; display: block; width: 4px; height: 4px;
  background: var(--coral); border-radius: 50%;
  margin-top: 7px; flex-shrink: 0;
}
.strength-dd { font-size: 14px; color: var(--sub); line-height: 1.9; }

@media (max-width: 960px) {
  .cases-banner { flex-direction: column; align-items: flex-start; padding: 28px 28px; gap: 20px; }
}
@media (max-width: 760px) {
  .strength-item { grid-template-columns: 1fr; gap: 8px; }
  .challenge-grid { grid-template-columns: 1fr; }
}
