:root {
  --ink: #18211f;
  --text: #4c5753;
  --muted: #f5f8f7;
  --line: #dce5e1;
  --teal: #007a68;
  --red: #c52d42;
  --green: #5c8f22;
  --white: #ffffff;
  --shadow: 0 18px 40px rgba(24, 33, 31, 0.12);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--white);
  color: var(--text);
  font-family: "Malgun Gothic", "Apple SD Gothic Neo", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  letter-spacing: 0;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
dl,
dd,
ul,
figure {
  margin: 0;
}

ul {
  padding: 0;
  list-style: none;
}

.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 10;
  padding: 10px 14px;
  background: var(--ink);
  color: var(--white);
  border-radius: 6px;
}

.skip-link:focus {
  top: 16px;
}

.container {
  width: calc(100% - 40px);
  max-width: 1120px;
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 5;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(12px);
}

.header-inner {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-height: 50px;
  color: var(--ink);
  font-size: 1.35rem;
  font-weight: 900;
  flex: 0 0 auto;
}

.brand small {
  margin-left: 8px;
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 800;
  vertical-align: middle;
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  flex-wrap: wrap;
}

.main-nav a {
  display: inline-flex;
  min-height: 40px;
  align-items: center;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--ink);
  font-weight: 700;
}

.main-nav a:hover,
.main-nav a:focus {
  background: var(--muted);
  color: var(--teal);
}

.hero {
  position: relative;
  isolation: isolate;
  min-height: 370px;
  display: flex;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: #17221f;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: url("image/solution_flash.gif");
  background-size: cover;
  background-position: center;
  opacity: 0.58;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: rgba(12, 22, 19, 0.54);
}

.hero-content {
  padding: 86px 0 78px;
}

.eyebrow {
  margin-bottom: 12px;
  color: var(--teal);
  font-size: 0.88rem;
  font-weight: 800;
}

.hero .eyebrow {
  color: #8ff0dc;
}

h1,
h2,
h3 {
  color: var(--ink);
  line-height: 1.28;
  font-weight: 800;
}

h1 {
  max-width: 760px;
  color: var(--white);
  font-size: 2.75rem;
}

h2 {
  font-size: 2rem;
}

h3 {
  font-size: 1.25rem;
}

.hero-copy {
  max-width: 700px;
  margin-top: 24px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.08rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
}

.button.primary {
  background: var(--red);
  color: var(--white);
}

.button.secondary {
  border-color: rgba(255, 255, 255, 0.58);
  color: var(--white);
}

.button:hover,
.button:focus {
  transform: translateY(-1px);
}

.section {
  padding: 86px 0;
  scroll-margin-top: 92px;
}

.section-muted {
  background: var(--muted);
}

.intro-grid,
.solution-layout,
.contact-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.85fr);
  gap: 56px;
  align-items: start;
}

.intro-grid p,
.section-head p,
.solution-layout p,
.vision-inner p,
.contact-grid p {
  max-width: 720px;
  margin-top: 18px;
}

.fact-list {
  display: grid;
  gap: 12px;
}

.fact-list div {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.fact-list dt {
  margin-bottom: 6px;
  color: var(--green);
  font-size: 0.9rem;
  font-weight: 800;
}

.fact-list dd {
  color: var(--ink);
  font-weight: 700;
}

.section-head {
  max-width: 820px;
  margin-bottom: 34px;
}

.service-grid,
.project-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.service-card,
.project-card {
  min-height: 260px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.service-card {
  box-shadow: var(--shadow);
}

.card-kicker {
  display: inline-flex;
  margin-bottom: 18px;
  color: var(--red);
  font-size: 0.9rem;
  font-weight: 800;
}

.service-card p {
  margin-top: 16px;
}

.solution-list {
  display: grid;
  gap: 12px;
  margin-top: 30px;
}

.solution-list li {
  display: grid;
  grid-template-columns: 140px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  min-height: 58px;
  padding: 14px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.solution-list strong {
  color: var(--ink);
}

.solution-list span {
  color: var(--text);
}

.solution-visual {
  align-self: center;
}

.solution-visual img {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
}

.solution-visual figcaption {
  margin-top: 12px;
  color: var(--text);
  font-size: 0.94rem;
}

.project-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.project-card ul {
  display: grid;
  gap: 12px;
  margin-top: 20px;
}

.project-card li {
  position: relative;
  padding-left: 18px;
}

.project-card li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.72em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}

.vision-band {
  background: var(--ink);
  color: rgba(255, 255, 255, 0.82);
}

.vision-inner {
  max-width: 820px;
}

.vision-inner h2 {
  color: var(--white);
}

.vision-inner .eyebrow {
  color: #8ff0dc;
}

.contact-section {
  background: var(--white);
}

.contact-panel {
  display: grid;
  gap: 14px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--muted);
  font-style: normal;
}

.contact-panel a,
.contact-panel span {
  display: flex;
  min-height: 48px;
  align-items: center;
  padding: 12px 14px;
  border-radius: 8px;
  background: var(--white);
  color: var(--ink);
  font-weight: 800;
}

.contact-panel a:hover,
.contact-panel a:focus {
  color: var(--teal);
}

.site-footer {
  padding: 28px 0;
  border-top: 1px solid var(--line);
  background: #f8faf9;
}

.footer-inner {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
  color: #5a6763;
  font-size: 0.94rem;
}

@media (max-width: 980px) {
  .header-inner {
    align-items: flex-start;
    flex-direction: column;
    padding: 14px 0;
    gap: 10px;
  }

  .main-nav {
    justify-content: flex-start;
    width: 100%;
  }

  .hero {
    min-height: 430px;
  }

  h1 {
    font-size: 2.25rem;
  }

  h2 {
    font-size: 1.75rem;
  }

  .intro-grid,
  .solution-layout,
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  body {
    font-size: 15px;
  }

  .container {
    width: calc(100% - 28px);
  }

  .site-header {
    position: static;
  }

  .header-inner {
    min-height: auto;
    padding: 12px 0 14px;
  }

  .brand {
    min-height: 38px;
    font-size: 1.2rem;
    line-height: 1.25;
  }

  .brand small {
    display: block;
    margin-left: 0;
    margin-top: 2px;
  }

  .main-nav {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 6px;
  }

  .main-nav a {
    justify-content: center;
    min-height: 38px;
    padding: 7px 6px;
    font-size: 0.88rem;
    white-space: nowrap;
  }

  .hero {
    min-height: 390px;
  }

  .hero-content {
    padding: 64px 0 58px;
  }

  h1 {
    font-size: 1.88rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .section {
    padding: 64px 0;
    scroll-margin-top: 20px;
  }

  .service-grid,
  .project-grid {
    grid-template-columns: 1fr;
  }

  .service-card,
  .project-card {
    min-height: auto;
  }

  .solution-list li {
    grid-template-columns: 1fr;
    gap: 4px;
  }

  .contact-panel {
    padding: 18px;
  }

  .footer-inner {
    display: grid;
    gap: 6px;
  }
}

@media (max-width: 420px) {
  .container {
    width: calc(100% - 24px);
  }

  h1 {
    font-size: 1.62rem;
  }

  h2 {
    font-size: 1.34rem;
  }

  .hero {
    min-height: auto;
  }

  .hero-content {
    padding: 52px 0 46px;
  }

  .hero-copy {
    font-size: 1rem;
  }

  .hero-actions,
  .button {
    width: 100%;
  }

  .button {
    min-height: 46px;
  }

  .service-card,
  .project-card {
    padding: 20px;
  }

  .main-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
