:root {
  --ink: #16324a;
  --navy: #eaf5fb;
  --blue: #2e6f95;
  --cyan: #1aa6b0;
  --orange: #e65c35;
  --paper: #f8fbfc;
  --muted: #607789;
  --line: #d7e5ec;
}

.site-header {
  height: 78px;
  padding-left: 22px;
  background: rgba(255, 255, 255, .96);
  border-bottom-color: #dce8ee;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 5px 20px rgba(33, 81, 108, .08);
}

.brand img {
  width: 152px;
  max-height: 54px;
  object-fit: contain;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 48px);
  margin-left: auto;
  margin-right: clamp(24px, 4vw, 64px);
}

.header-nav a {
  position: relative;
  color: #344f62;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
  text-decoration: none;
  white-space: nowrap;
}

.header-nav a:after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -7px;
  height: 2px;
  background: var(--orange);
  transition: right .2s ease;
}

.header-nav a:hover:after {
  right: 0;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 18px;
}

.header-actions .header-link {
  border-bottom: 0;
  padding-bottom: 0;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .02em;
}

.header-emergency {
  min-width: auto;
  padding: 8px 2px;
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  gap: 9px;
  color: #df4d27;
  background: transparent;
  font-family: var(--font-jp);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: .02em;
  text-decoration: none;
  transition: color .2s ease, transform .2s ease;
}

.header-emergency:hover {
  color: #b93217;
  transform: translateY(-1px);
}

.header-emergency span {
  font-size: 17px;
}

.emergency-strip {
  min-height: 42px;
  padding: 8px clamp(20px, 5vw, 76px);
  color: #ffffff;
  background: linear-gradient(90deg, #c93f25, #e65c35 55%, #ef7756);
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  font-family: var(--font-jp);
  font-size: 13px;
  letter-spacing: .02em;
}

.emergency-strip p {
  margin: 0;
  font-weight: 600;
  margin-left: auto;
  margin-right: auto;
}

.emergency-strip a {
  color: #ffffff;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  border-bottom: 1px solid rgba(255, 255, 255, .65);
}

.emergency-live {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  white-space: nowrap;
  font-family: var(--font-jp);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
}

.emergency-live i {
  width: 8px;
  height: 8px;
  background: #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(255, 255, 255, .18);
  animation: emergency-pulse 1.5s ease-in-out infinite;
}

.hero {
  color: var(--ink);
  background: linear-gradient(135deg, #fffaf7 0%, #edf8fc 48%, #e5f4f8 100%);
  border-left: 7px solid var(--orange);
  padding: 0 0 28px;
}

.hero:before {
  display: none;
}

.hero-grid {
  max-width: none;
  min-height: 680px;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  align-items: stretch;
}

.hero-copy {
  align-self: center;
  padding: 82px clamp(42px, 6vw, 110px) 72px clamp(42px, 10vw, 170px);
}

.eyebrow,
.hero-lead {
  color: #58768a;
}

.hero .eyebrow {
  margin-bottom: 25px;
  color: #cf492c;
  font-family: var(--font-jp);
  font-size: clamp(20px, 1.75vw, 28px);
  font-weight: 800;
  letter-spacing: .06em;
}

.hero .eyebrow span {
  width: 50px;
  height: 4px;
  background: #cf492c;
}

.text-link {
  color: var(--ink);
  border-bottom-color: #96adb9;
}

.button-primary {
  position: relative;
  min-width: 260px;
  padding: 18px 26px;
  justify-content: center;
  gap: 0;
  border-radius: 14px;
  box-shadow: 0 12px 28px rgba(214, 72, 36, .22);
}

.button-primary span {
  position: absolute;
  right: 22px;
}

.hero h1 em {
  text-decoration: none;
}

.hero-photo {
  width: 100%;
  height: auto;
  min-height: 680px;
  position: relative;
  overflow: hidden;
  background: #dcecf3;
  box-shadow: none;
}

.hero-photo:after {
  display: none;
}

.hero-photo > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: 52% center;
}

.response-visual {
  border-color: rgba(42, 112, 151, .24);
  background: radial-gradient(circle at 50% 50%, rgba(26, 166, 176, .14), transparent 42%), linear-gradient(rgba(42, 112, 151, .08) 1px, transparent 1px), linear-gradient(90deg, rgba(42, 112, 151, .08) 1px, transparent 1px);
  background-size: auto, 54px 54px, 54px 54px;
}

.response-visual:before,
.response-visual:after {
  border-color: rgba(26, 166, 176, .28);
}

.status-card {
  background: rgba(255, 255, 255, .94);
  border-color: rgba(42, 112, 151, .26);
  box-shadow: 0 18px 50px rgba(33, 81, 108, .12);
}

.status-main p,
.status-sub small,
.coordinate {
  color: #6b8798;
}

.status-main small {
  color: #5d7889;
}

.hero-foot {
  border-top-color: rgba(33, 81, 108, .16);
  color: #688597;
}

.intro {
  background: #ffffff;
}

.intro,
.capability,
.flow,
.cta {
  position: relative;
  overflow: hidden;
}

.intro > *,
.capability > *,
.flow > *,
.cta > * {
  position: relative;
  z-index: 1;
}

.intro:after,
.capability:after,
.flow:after,
.cta:after {
  position: absolute;
  right: -16px;
  bottom: -62px;
  z-index: 0;
  font: 700 clamp(90px, 15vw, 230px) var(--font-en);
  letter-spacing: -.07em;
  line-height: 1;
  pointer-events: none;
}

.intro:after {
  content: "URGENT";
  color: rgba(40, 105, 138, .035);
}

.capability:after {
  content: "OPERATION";
  color: rgba(40, 105, 138, .045);
}

.flow:after {
  content: "RESPONSE";
  color: rgba(40, 105, 138, .035);
}

.cta:after {
  content: "CONTACT";
  color: rgba(207, 73, 44, .035);
}

.sticky-title {
  position: static;
  top: auto;
}

.case-list,
.case-item {
  border-color: #d8e5eb;
}

.capability {
  color: var(--ink);
  background: #eaf6fa;
}

.section-label.light,
.cap-line p {
  color: #627f90;
}

.cap-line {
  gap: 18px;
  border: 0;
}

.cap-line article,
.cap-line article:first-child,
.cap-line article:nth-child(3) {
  min-height: 300px;
  padding: 32px 28px 36px;
  background: #ffffff;
  border: 1px solid #c7dce6;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(44, 91, 116, .07);
}

.cap-line h3 {
  margin-top: 56px;
}

.cap-line article:hover {
  border-color: #8dbacb;
  box-shadow: 0 16px 36px rgba(44, 91, 116, .11);
}

.cap-head {
  justify-content: flex-end;
}

.cap-title {
  width: min(64%, 820px);
}

.cap-title .kicker {
  margin-bottom: 16px;
}

.flow {
  background: #f9fcfd;
}

.section-label,
.flow-steps small,
.prepare .eyebrow,
.footer-top,
.footer-bottom {
  font-family: var(--font-jp);
  letter-spacing: .08em;
}

/* 章見出し：番号を使わず、アクセント線で大きな区切りを示す */
.section-label,
.section-label.light {
  gap: 14px;
  color: #334f61;
  font-size: clamp(16px, 1.45vw, 21px);
  font-weight: 700;
  line-height: 1.5;
}

.section-label::before {
  content: "";
  width: 32px;
  height: 3px;
  flex: 0 0 32px;
  background: var(--orange);
}

/* 項目番号：各セクション内の順番を示す共通スタイル */
.case-item > span,
.cap-line b,
.flow-steps li > span {
  color: var(--orange);
  font: 700 18px/1.2 var(--font-en);
  letter-spacing: .05em;
}

.flow-steps small {
  color: #647d8c;
  font-size: 13px;
  font-weight: 700;
}

.cap-line p,
.flow-steps p {
  font-size: 14px;
  line-height: 1.8;
}

.prepare .eyebrow {
  color: #496a7d;
  font-size: clamp(16px, 1.45vw, 21px);
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: .08em;
  white-space: nowrap;
}

.prepare .eyebrow span {
  width: 32px;
  flex: 0 0 32px;
  height: 3px;
}

.prepare-inner {
  grid-template-columns: minmax(250px, .75fr) 1fr 1fr;
  gap: clamp(42px, 5vw, 80px);
}

.prepare {
  color: var(--ink);
  background: linear-gradient(120deg, #dff2f7, #edf8fb);
}

.prepare-text {
  color: #587487;
}

.prepare:after {
  color: rgba(39, 104, 139, .05);
}

.cta {
  background: #ffffff;
}

.site-footer {
  display: block;
  padding: 0 clamp(24px, 6vw, 92px);
  color: #dce8ed;
  background: #102a3b;
  border-top: 5px solid var(--orange);
  font-size: 12px;
}

.footer-main {
  position: relative;
  display: grid;
  grid-template-columns: minmax(280px, 1.5fr) minmax(220px, .8fr) auto;
  gap: clamp(50px, 8vw, 130px);
  align-items: start;
  padding: 66px 0 58px;
}

.brand-footer img {
  width: 150px;
  filter: brightness(0) invert(1);
}

.footer-service {
  margin: 34px 0 5px;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .08em;
}

.footer-message {
  margin: 0;
  color: #9fb8c5;
  font-size: 13px;
}

.footer-info {
  padding-left: 28px;
  border-left: 1px solid rgba(255, 255, 255, .16);
}

.footer-info p {
  margin: 0 0 14px;
  line-height: 1.8;
}

.footer-info p:first-child {
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.footer-info a,
.footer-top {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
}

.footer-info a span,
.footer-top span {
  margin-left: 8px;
  color: #f27650;
}

.footer-top {
  letter-spacing: .12em;
  white-space: nowrap;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 20px 0 22px;
  color: #7792a0;
  border-top: 1px solid rgba(255, 255, 255, .12);
  font-family: var(--font-en);
  font-size: 10px;
  letter-spacing: .1em;
}

@media (max-width: 720px) {
  .cap-title {
    width: 100%;
  }

  .footer-main {
    grid-template-columns: 1fr;
    gap: 34px;
    padding: 48px 0 40px;
  }

  .footer-info {
    padding: 28px 0 0;
    border-top: 1px solid rgba(255, 255, 255, .16);
    border-left: 0;
  }

  .footer-top {
    position: absolute;
    top: 50px;
    right: 0;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 6px;
  }
}

@keyframes emergency-pulse {
  50% {
    box-shadow: 0 0 0 10px rgba(255, 255, 255, 0);
  }
}

@media (min-width: 760px) and (max-width: 980px) {
  .prepare-inner {
    grid-template-columns: 1fr 1fr;
  }

  .prepare-inner > .eyebrow {
    grid-column: 1 / -1;
  }

  .header-nav {
    gap: 18px;
    margin-right: 26px;
  }

  .header-nav a {
    font-size: 13px;
  }

  .header-actions {
    gap: 12px;
  }

  .header-emergency {
    min-width: auto;
    padding: 8px 0;
  }

  .hero-grid {
    grid-template-columns: minmax(0, .92fr) minmax(390px, 1.08fr);
    gap: 0;
    min-height: 570px;
  }

  .hero-photo {
    min-height: 570px;
  }

  .hero-copy {
    padding: 64px 34px 60px 50px;
  }

  .hero h1 {
    font-size: clamp(38px, 5vw, 52px);
  }

  .hero-lead br {
    display: none;
  }
}

@media (max-width: 640px) {
  .prepare-inner {
    grid-template-columns: 1fr;
  }

  .site-header {
    height: 68px;
  }

  .brand img {
    width: 126px;
  }

  .header-nav {
    display: none;
  }

  .header-actions .header-link {
    display: none;
  }

  .header-emergency {
    min-width: auto;
    padding: 8px 0;
    font-size: 12px;
  }

  .emergency-strip {
    padding: 9px 20px;
  }

  .emergency-strip p {
    display: none;
  }

  .hero-copy {
    padding: 60px 20px 50px;
  }

  .hero-photo {
    height: 390px;
    min-height: 390px;
  }
}
