:root {
  --bg0: #020817;
  --bg1: #031329;
  --bg2: #061b36;
  --line: rgba(147, 198, 255, .40);
  --line-soft: rgba(147, 198, 255, .20);
  --text: #f4f8ff;
  --muted: #c7d7ec;
  --blue: #0b68e8;
  --cyan: #4fc3ff;
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  font-size: 14px;
  line-height: 1.78;
  background:
    linear-gradient(180deg, #000d2d 0px, #000a26 360px, #000519 760px, #020918 1160px, #020918 100%);
  min-width: 320px;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.container { width: calc(100% - 48px); max-width: 1170px; margin: 0 auto; }
.site-shell { position: relative; overflow: hidden; }
.site-shell::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: none;
  z-index: -1;
}
.site-header {
  position: relative;
  z-index: 5;
  padding: 22px 0 10px;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 22px; }
.logo-img { width: 220px; height: auto; }
.site-nav { display: flex; align-items: center; gap: 38px; margin-left: auto; }
.site-nav a { font-weight: 600; font-size: 14px; letter-spacing: .05em; color: rgba(255,255,255,.90); position: relative; padding: 2px 0 14px; }
.site-nav a.is-active::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 2px; background: rgba(255,255,255,.82); }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 18px; min-width: 170px; height: 45px; padding: 0 25px; border: 1px solid rgba(169, 210, 255, .58); color: #fff; background: rgba(5, 22, 49, .40); font-weight: 600; letter-spacing: .04em; transition: border-color .2s, background .2s, transform .2s; }
.btn:hover { border-color: rgba(255,255,255,.9); background: rgba(33, 117, 255, .22); transform: translateY(-1px); }
.btn-primary { background: linear-gradient(90deg, #0758d7, #0a73ff); border-color: transparent; box-shadow: 0 0 20px rgba(0, 113, 255, .25); }
.btn-small { min-width: 124px; height: 42px; padding: 0 22px; }
.arrow { font-size: 21px; line-height: 1; transform: translateY(-1px); }
.hero { position: relative; min-height: 500px; padding: 54px 0 64px; background: linear-gradient(180deg, #000d2d 0%, #000a26 44%, #000519 100%); }
.hero-bg {
  position: absolute;
  z-index: 0;
  top: -16px;
  left: 50%;
  width: min(1040px, 82vw);
  transform: translateX(-43%);
  opacity: .98;
  filter: none;
  pointer-events: none;
}
.hero-bg::before,
.hero-bg::after {
  content:"";
  display:none;
}
.hero-bg::before { background: none; }
.hero-bg::after { background: none; }
.hero-bg img {
  width: 100%;
  -webkit-mask-image: none;
  mask-image: none;
}
.hero-copy { position: relative; z-index: 2; width: 455px; max-width: 47%; }
.hero-title { margin: 0 0 22px; font-family: "Yu Mincho", "Hiragino Mincho ProN", "Times New Roman", serif; font-weight: 400; font-size: clamp(40px, 4.05vw, 54px); line-height: 1.45; letter-spacing: .12em; text-shadow: 0 0 18px rgba(0,0,0,.38); }
.hero-title .title-line { display: inline-block; white-space: nowrap; }
.hero-lead { margin: 0 0 28px; color: #f5f9ff; font-weight: 500; line-height: 2; text-shadow: 0 0 12px rgba(0,0,0,.45); }
.hero-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; }
.hero-points {
  position: absolute;
  z-index: 3;
  right: max(32px, calc((100vw - 1170px) / 2 + 10px));
  top: 72px;
  width: 245px;
  padding-left: 28px;
}
.hero-points::before { content: ""; position: absolute; top: 7px; bottom: auto; height: 304px; left: 10px; border-left: 1px dotted rgba(151, 207, 255, .68); }
.hero-point { position: relative; min-height: 126px; margin: 0; color: #f1f7ff; font-size: 13px; line-height: 1.9; font-weight: 600; letter-spacing: .02em; text-shadow: 0 0 10px rgba(0,0,0,.4); }
.hero-point:first-child { min-height: 178px; }
.hero-point::before { content: ""; position: absolute; width: 10px; height: 10px; border: 1px solid #8fc8ff; border-radius: 50%; left: -23px; top: 2px; background: rgba(4,22,45,.82); box-shadow: 0 0 0 3px rgba(51,150,255,.16); }
.process-section { position: relative; z-index: 4; padding: 1px 0 16px; }
.section-copy { margin: 0 auto 10px; text-align: center; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 24px; letter-spacing: .10em; font-weight: 400; }
.process-bar { width: 89%; margin: 0 auto; min-height: 58px; border: 1px solid var(--line); display: grid; grid-template-columns: 1.45fr .9fr .9fr 1.1fr .9fr; align-items: center; background: rgba(3,17,38,.55); }
.process-item { position: relative; display: flex; align-items: center; gap: 12px; justify-content: center; height: 56px; color: #e8f3ff; font-weight: 600; font-size: 13px; white-space: nowrap; }
.process-item:not(:last-child)::after { content: "›"; position: absolute; right: -4px; top: 50%; transform: translateY(-50%); font-size: 34px; color: rgba(162, 211, 255, .78); font-weight: 200; }
.process-icon { width: 35px; height: 35px; object-fit: contain; filter: drop-shadow(0 0 10px rgba(40,169,255,.45)); }
.services { padding: 32px 0 31px; }
.section-kicker { text-align: center; color: #5dc2ff; letter-spacing: .16em; font-size: 15px; line-height: 1.2; margin: 0 0 7px; }
.section-title { text-align: center; margin: 0 0 15px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-weight: 400; font-size: 22px; letter-spacing: .08em; }
.service-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; }
.service-card { border: 1px solid rgba(126, 177, 234, .34); background: linear-gradient(180deg, rgba(5,27,57,.74), rgba(3,16,36,.72)); min-height: 333px; display: flex; flex-direction: column; box-shadow: inset 0 0 20px rgba(0,115,255,.05); }
.service-image { width: 100%; height: 78px; object-fit: cover; border-bottom: 1px solid rgba(126,177,234,.24); }
.service-body { padding: 16px 12px 10px; display: flex; flex: 1; flex-direction: column; }
.service-body h3 { margin: 0 0 8px; font-size: 16px; line-height: 1.45; letter-spacing: .04em; font-weight: 700; }
.service-body p { margin: 0 0 10px; color: var(--muted); font-size: 11px; line-height: 1.8; }
.service-body ul { list-style: none; padding: 0; margin: 0 0 10px; color: #d8eaff; font-size: 11px; line-height: 1.9; }
.service-body li { position: relative; padding-left: 12px; }
.service-body li::before { content: "•"; position: absolute; left: 0; color: #53c7ff; }
.more-link { display: flex; justify-content: space-between; align-items: center; margin-top: auto; padding-top: 12px; border-top: 1px solid rgba(140, 189, 245, .18); color: #77caff; font-size: 13px; letter-spacing: .04em; }
.infrastructure { position: relative; padding: 5px 0 30px; border-top: 1px solid rgba(121, 176, 239, .08); }
.infra-layout { display: grid; grid-template-columns: 40% 60%; gap: 20px; align-items: center; }
.infra-title { margin: 0 0 12px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-size: 29px; font-weight: 400; line-height: 1.45; letter-spacing: .08em; }
.infra-lead { margin: 0 0 24px; color: #e6f1ff; line-height: 1.9; }
.feature-row { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0; border-top: 1px solid rgba(122,177,239,.12); }
.feature { padding: 17px 14px 0; text-align: center; border-right: 1px solid rgba(122,177,239,.12); }
.feature:last-child { border-right: 0; }
.feature-icon { width: 46px; height: 46px; margin: 0 auto 10px; display: grid; place-items: center; border: 1px solid rgba(100,198,255,.72); color: #7cd0ff; font-size: 26px; border-radius: 12px; box-shadow: 0 0 18px rgba(29,147,255,.15); }
.feature h3 { margin: 0 0 5px; font-size: 14px; line-height: 1.65; letter-spacing: .04em; }
.feature p { margin: 0; color: var(--muted); font-size: 12px; line-height: 1.7; }
.infra-diagram { justify-self: end; width: 100%; max-width: 590px; }
.cta { padding: 0 0 22px; }
.cta-inner { border: 1px solid rgba(121,176,239,.18); background: linear-gradient(90deg, rgba(8,38,84,.65), rgba(2,18,43,.68)); display: grid; grid-template-columns: 180px 1fr auto; gap: 24px; align-items: center; padding: 0 20px 0 0; min-height: 85px; overflow: hidden; }
.cta-image { width: 180px; height: 84px; object-fit: cover; }
.cta h2 { margin: 0 0 2px; font-family: "Yu Mincho", "Hiragino Mincho ProN", serif; font-weight: 400; font-size: 23px; letter-spacing: .10em; }
.cta p { margin: 0; color: #dcecff; font-size: 13px; line-height: 1.7; }
.cta-actions { display: flex; gap: 14px; }
.site-footer { padding: 0 0 24px; color: #c8d7ec; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr 1.15fr; gap: 26px; align-items: start; }
.footer-logo { width: 220px; margin-bottom: 12px; }
.footer-about { font-size: 12px; line-height: 1.75; color: #b8c7dc; }
.footer-col h4 { color: #58c3ff; font-size: 13px; margin: 0 0 5px; font-weight: 500; letter-spacing: .04em; }
.footer-col a { display: block; color: #d4e2f3; font-size: 12px; line-height: 1.65; }
.footer-bottom { margin-top: 24px; display: flex; justify-content: space-between; align-items: center; color: rgba(211,224,242,.62); font-size: 12px; }
.footer-links { display: flex; gap: 26px; }
.footer-links a + a { position: relative; }
.footer-links a + a::before { content:""; position:absolute; left:-14px; top:3px; bottom:3px; width:1px; background:rgba(211,224,242,.35); }
@media (max-width: 1050px) {
  .site-nav { gap: 26px; }
  .hero-bg { width: min(940px, 86vw); transform: translateX(-42%); }
  .hero-points { right: 24px; width: 230px; }
  .service-body { padding-left: 10px; padding-right: 10px; }
}
@media (max-width: 920px) {
  .container { width: calc(100% - 32px); }
  .site-header { padding-top: 16px; }
  .header-inner { align-items: flex-start; }
  .site-nav { display: none; }
  .hero { min-height: auto; padding: 32px 0 42px; }
  .hero-bg { position: relative; inset: auto; width: 100%; transform: none; margin: -10px auto 0; opacity: .86; }
  .hero-copy { width: 100%; max-width: none; }
  .hero-title { font-size: 39px; }
  .hero-points { display: none; }
  .process-bar { width: 100%; grid-template-columns: 1fr; padding: 8px 0; }
  .process-item { height: 50px; }
  .process-item:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -16px; transform: translateX(50%); font-size: 20px; }
  .service-grid { grid-template-columns: repeat(2, 1fr); }
  .service-card { min-height: auto; }
  .service-image { height: 105px; }
  .infra-layout { grid-template-columns: 1fr; }
  .infra-diagram { justify-self: center; }
  .cta-inner { grid-template-columns: 150px 1fr; padding: 0 18px 0 0; }
  .cta-actions { grid-column: 1 / -1; padding: 0 0 18px 18px; flex-wrap: wrap; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 620px) {
  body { font-size: 13px; }
  .container { width: calc(100% - 24px); }
  .logo-img { width: 220px; }
  .btn-small { min-width: 116px; height: 38px; }
  .hero-title { font-size: clamp(28px, 8vw, 33px); line-height: 1.55; letter-spacing: .08em; }
  .hero-actions .btn { width: 100%; }
  .section-copy { font-size: 19px; line-height: 1.7; }
  .service-grid { grid-template-columns: 1fr; }
  .service-image { height: 145px; }
  .infra-title { font-size: 25px; }
  .feature-row { grid-template-columns: 1fr; border-top: 0; }
  .feature { border-right: 0; border-top: 1px solid rgba(122,177,239,.12); }
  .cta-inner { grid-template-columns: 1fr; padding: 0 16px 18px; }
  .cta-image { width: calc(100% + 32px); height: 110px; margin: 0 -16px; }
  .cta-actions { padding: 0; }
  .cta-actions .btn { width: 100%; }
  .footer-grid { grid-template-columns: 1fr; gap: 16px; }
  .footer-bottom { display: block; }
  .footer-links { margin-top: 12px; }
}


/* Service detail common template */
.subpage-main {
  position: relative;
  z-index: 1;
}
.service-detail-page {
  background:
    radial-gradient(circle at 50% 0%, rgba(13, 92, 172, .32), transparent 410px),
    linear-gradient(180deg, #000d2d 0px, #000a26 340px, #000519 760px, #020918 100%);
}
.service-detail-hero {
  position: relative;
  padding: 56px 0 48px;
  border-top: 1px solid rgba(111, 171, 238, .10);
  border-bottom: 1px solid rgba(111, 171, 238, .12);
  overflow: hidden;
}
.service-detail-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 72% 42%, rgba(0, 148, 255, .23), transparent 330px),
    radial-gradient(circle at 15% 10%, rgba(85, 192, 255, .12), transparent 280px);
  pointer-events: none;
}
.detail-hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1.03fr) minmax(360px, .97fr);
  gap: 56px;
  align-items: center;
}
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 22px;
  color: rgba(211, 229, 249, .72);
  font-size: 12px;
  letter-spacing: .04em;
}
.breadcrumb a { color: rgba(125, 203, 255, .90); }
.detail-eyebrow {
  margin: 0 0 8px;
  color: #5dc2ff;
  letter-spacing: .18em;
  font-size: 13px;
}
.detail-title {
  margin: 0 0 18px;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400;
  font-size: clamp(36px, 4.4vw, 56px);
  line-height: 1.32;
  letter-spacing: .08em;
}
.detail-lead {
  margin: 0 0 22px;
  color: #f3f8ff;
  font-size: 17px;
  line-height: 2;
  font-weight: 500;
  text-shadow: 0 0 14px rgba(0,0,0,.30);
}
.detail-summary-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.detail-summary-list li {
  position: relative;
  padding-left: 18px;
  color: #dceeff;
  line-height: 1.75;
}
.detail-summary-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: .78em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4fc3ff;
  box-shadow: 0 0 12px rgba(79,195,255,.72);
}
.detail-visual {
  border: 1px solid rgba(129, 189, 255, .36);
  background: linear-gradient(180deg, rgba(4,28,62,.72), rgba(2,14,33,.70));
  padding: 12px;
  box-shadow: inset 0 0 28px rgba(0, 116, 255, .08), 0 16px 40px rgba(0,0,0,.25);
}
.detail-visual img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}
.detail-section {
  padding: 54px 0;
  border-bottom: 1px solid rgba(121, 176, 239, .08);
}
.detail-section-muted {
  background: linear-gradient(180deg, rgba(8, 34, 74, .20), rgba(4, 18, 41, .08));
}
.detail-two-column {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  gap: 58px;
  align-items: start;
}
.detail-section-head.centered {
  text-align: center;
  margin: 0 auto 28px;
}
.section-title-left {
  margin: 0;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", serif;
  font-weight: 400;
  font-size: 26px;
  line-height: 1.55;
  letter-spacing: .08em;
}
.detail-text {
  margin: 0;
  color: #dceaff;
  font-size: 15px;
  line-height: 2.05;
}
.problem-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 0;
  padding: 0;
  list-style: none;
}
.problem-list li,
.detail-card,
.benefit-item {
  border: 1px solid rgba(126, 177, 234, .32);
  background: linear-gradient(180deg, rgba(5,27,57,.74), rgba(3,16,36,.72));
  box-shadow: inset 0 0 20px rgba(0,115,255,.05);
}
.problem-list li {
  position: relative;
  min-height: 108px;
  padding: 24px 24px 22px 46px;
  color: #f2f7ff;
  font-weight: 600;
  line-height: 1.8;
}
.problem-list li::before {
  content: "";
  position: absolute;
  left: 22px;
  top: 32px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #4fc3ff;
  box-shadow: 0 0 14px rgba(79,195,255,.72);
}
.detail-card-grid,
.benefit-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.detail-card {
  padding: 24px;
  min-height: 178px;
}
.detail-card h3 {
  margin: 0 0 12px;
  font-size: 17px;
  letter-spacing: .04em;
}
.detail-card p,
.benefit-item p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.9;
}
.benefit-item {
  padding: 22px;
}
.benefit-item span {
  display: inline-block;
  color: #5dc2ff;
  letter-spacing: .12em;
  margin-bottom: 8px;
}
.benefit-item strong {
  display: block;
  margin: 0 0 8px;
  font-size: 17px;
}
.scope-timeline {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border: 1px solid rgba(126, 177, 234, .32);
  background: rgba(3,17,38,.48);
}
.scope-timeline li {
  position: relative;
  min-height: 88px;
  padding: 18px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
  text-align: center;
  color: #f3f8ff;
  font-weight: 600;
}
.scope-timeline li:not(:last-child) {
  border-right: 1px solid rgba(126, 177, 234, .22);
}
.scope-timeline li:not(:last-child)::after {
  content: "›";
  position: absolute;
  right: -9px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(162, 211, 255, .78);
  font-size: 30px;
  font-weight: 200;
}
.scope-timeline span {
  color: #5dc2ff;
  font-size: 12px;
  letter-spacing: .12em;
}
.related-services {
  padding-top: 38px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.related-card {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 16px;
  align-items: center;
  border: 1px solid rgba(126, 177, 234, .32);
  background: linear-gradient(90deg, rgba(5,27,57,.72), rgba(3,16,36,.68));
  min-height: 92px;
  overflow: hidden;
}
.related-card img {
  width: 130px;
  height: 92px;
  object-fit: cover;
}
.related-card span {
  font-weight: 700;
  letter-spacing: .04em;
}
.service-cta {
  padding-top: 18px;
}
@media (max-width: 920px) {
  .detail-hero-grid,
  .detail-two-column {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .service-detail-hero { padding: 36px 0 38px; }
  .problem-list,
  .detail-card-grid,
  .benefit-grid,
  .related-grid { grid-template-columns: 1fr; }
  .scope-timeline { grid-template-columns: 1fr; }
  .scope-timeline li:not(:last-child) { border-right: 0; border-bottom: 1px solid rgba(126, 177, 234, .22); }
  .scope-timeline li:not(:last-child)::after { content: "↓"; right: 50%; top: auto; bottom: -19px; transform: translateX(50%); font-size: 20px; }
  .related-card { grid-template-columns: 110px 1fr; }
  .related-card img { width: 110px; }
}
@media (max-width: 620px) {
  .detail-title { font-size: 31px; }
  .detail-lead { font-size: 15px; }
  .detail-section { padding: 40px 0; }
  .section-title-left { font-size: 23px; }
  .problem-list li { padding-left: 40px; }
}
