﻿:root {
  --bg: #e6eaec;
  --surface: #f4f7f8;
  --white: #ffffff;
  --text: #0e2237;
  --muted: #577087;
  --brand: #0096bf;
  --brand-deep: #007ca0;
  --line: #00a4d4;
  --accent: #ff972f;
  --label-font: "Roboto Mono", monospace;
  --base-font: "Noto Sans JP", sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font-family: var(--base-font);
  line-height: 1.7;
}

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

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

.container {
  width: min(1240px, 100% - clamp(24px, 6vw, 80px));
  margin-inline: auto;
}

.section-label {
  display: inline-block;
  margin: 0 0 10px;
  padding: 2px 8px;
  border: 1px solid rgba(14, 34, 55, 0.35);
  color: #4f6477;
  letter-spacing: 0.08em;
  font: 500 12px/1.2 var(--label-font);
}

h2 {
  margin: 0;
  color: var(--brand-deep);
  font-size: clamp(30px, 2.7vw, 48px);
  line-height: 1.35;
  letter-spacing: 0.02em;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 30;
  padding: 16px 0;
  background: color-mix(in srgb, var(--bg), white 45%);
  backdrop-filter: blur(8px);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand-mark {
  width: 28px;
  aspect-ratio: 1;
  border-radius: 50%;
  background-image: url("asset/images/logo1.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.brand-text {
  color: #18759a;
  font-weight: 700;
  letter-spacing: 0.01em;
}

.brand-text span {
  margin-left: 8px;
  color: #8592a0;
  font-size: 11px;
  font-weight: 500;
}

.nav-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 2px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.nav-list a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 82px;
  height: 36px;
  padding: 0 12px;
  border: 1px solid #d8dde2;
  background: #f5f8f9;
  color: #273f55;
  font: 500 12px/1 var(--label-font);
}

.nav-list .contact-link {
  border-color: transparent;
  background: linear-gradient(135deg, #06a8d0, #00799d);
  color: #fff;
}

.menu-toggle {
  display: none;
  width: 44px;
  height: 44px;
  padding: 10px;
  border: 1px solid #d8dde2;
  background: #f5f8f9;
  align-items: center;
  justify-content: center;
  gap: 5px;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  width: 20px;
  height: 2px;
  background: #1e3d56;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.hero {
  min-height: 100svh;
  padding: 28px 0;
  display: flex;
  align-items: center;
  background-image: url("asset/images/line1.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.hero-content {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  gap: 36px;
}

.hero-copy h1 {
  margin: 0 0 14px;
  color: var(--brand-deep);
  font-size: clamp(42px, 5.1vw, 78px);
  line-height: 1.18;
  letter-spacing: 0.03em;
}

@media (min-width: 761px) {
  .hero-copy h1 {
    white-space: nowrap;
  }
}

.hero-copy p {
  display: inline;
  margin: 0;
  padding: 5px 8px;
  background: var(--brand-deep);
  color: #fff;
  font-size: 17px;
  line-height: 1.4;
}

.hero-visuals {
  position: relative;
  min-height: 0;
  padding-bottom: 70px;
}

.hero-main-image {
  width: min(780px, 100%);
  margin-left: auto;
  border-top-left-radius: 42px;
  object-fit: cover;
}

.hero-sub-image {
  position: absolute;
  left: 6%;
  bottom: 0;
  width: clamp(220px, 45%, 360px);
  min-width: 0;
  box-shadow: 0 20px 34px rgba(20, 48, 72, 0.16);
}

@media (min-width: 1101px) {
  .hero-main-image {
    width: min(860px, 100%);
  }

  .hero-sub-image {
    width: clamp(260px, 48%, 420px);
  }
}

.mission {
  min-height: 100svh;
  padding: 72px 0 120px;
  display: flex;
  align-items: center;
  background-image: url("asset/images/line2.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
}

.mission p {
  margin: 24px 0 0;
  max-width: 1000px;
  color: #31485c;
  font-size: 15px;
}

.services {
  padding: 26px 0 90px;
}

.services h2 {
  margin-bottom: 34px;
}

.service-item {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 0;
  background: #eef1f2;
  margin-bottom: 22px;
}

.service-copy {
  padding: 30px 30px 30px 36px;
}

.service-id {
  margin: 0 0 12px;
  color: #48728a;
  font: 500 13px/1 var(--label-font);
}

.service-copy h3 {
  display: inline-block;
  margin: 0 0 14px;
  padding: 3px 8px;
  background: var(--brand-deep);
  color: #fff;
  font-size: 24px;
  line-height: 1.2;
}

.service-copy p {
  margin: 0 0 12px;
  color: #334b62;
  font-size: 16px;
}

.service-copy ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.service-copy li {
  color: #264d66;
  font-size: 15px;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.service-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.strengths {
  padding: 56px 0 92px;
}

.strengths h2 {
  margin-bottom: 28px;
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.strength-card {
  min-height: 0;
  padding: 22px 20px;
}

.text-card {
  background: #06a2bf;
  color: #fff;
}

.strength-id {
  margin: 0 0 10px;
  color: #d7f8ff;
  font: 500 13px/1 var(--label-font);
}

.strength-card h3 {
  margin: 0 0 14px;
  font-size: clamp(26px, 2.2vw, 34px);
  line-height: 1.3;
}

.strength-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
}

.strength-image {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.case-study {
  padding: 62px 0 96px;
}

.case-study h2 {
  margin-bottom: 24px;
}

.case-layout {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 28px;
  align-items: start;
}

.case-layout img {
  width: 100%;
  min-height: 0;
  object-fit: cover;
}

.case-table-wrap h3 {
  margin: 8px 0 10px;
  color: #0f3855;
  font-size: 36px;
}

.case-table-wrap table {
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}

.case-table-wrap th,
.case-table-wrap td {
  padding: 8px 10px;
  border-bottom: 1px solid #d7e2ea;
  text-align: left;
  font-size: 13px;
}

.case-table-wrap th {
  width: 26%;
  color: #0887ab;
  font-weight: 700;
  white-space: nowrap;
}

.case-table-wrap td {
  word-break: break-word;
}

.contact-cta {
  padding: 0 0 72px;
}

.contact-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: stretch;
  overflow: hidden;
  background: linear-gradient(120deg, #047ea5 0%, #0ca5c6 54%, #2ea9cf 100%);
}

.contact-copy {
  padding: 38px 46px;
  color: #fff;
}

.contact-label {
  border-color: rgba(255, 255, 255, 0.7);
  color: #f1fbff;
}

.contact-copy h2 {
  margin-bottom: 10px;
  color: #fff;
  font-size: clamp(38px, 4vw, 56px);
}

.contact-copy p {
  margin: 0 0 24px;
  font-size: 15px;
}

.cta-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 30px;
  border-radius: 999px;
  background: var(--accent);
  color: #fff;
  font-size: 14px;
  font-weight: 700;
}

.contact-panel img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.site-footer {
  padding: 28px 0 34px;
  border-top: 1px solid rgba(14, 34, 55, 0.12);
}

.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer-nav a {
  color: #2c4d65;
  font: 500 12px/1 var(--label-font);
}

@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .hero-main-image {
    width: 100%;
  }

  .hero-sub-image {
    left: 24px;
    width: 40%;
  }

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

  .strengths-grid {
    grid-template-columns: 1fr 1fr;
  }

  .case-layout {
    grid-template-columns: 1fr;
  }

  .contact-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .site-header {
    position: static;
  }

  .header-inner {
    flex-wrap: wrap;
    align-items: center;
  }

  .menu-toggle {
    display: inline-flex;
    margin-left: auto;
  }

  .site-nav {
    display: none;
    width: 100%;
    margin-top: 12px;
  }

  .site-header.is-open .site-nav {
    display: block;
  }

  .site-header.is-open .menu-toggle span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
  }

  .site-header.is-open .menu-toggle span:nth-child(2) {
    opacity: 0;
  }

  .site-header.is-open .menu-toggle span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
  }

  .nav-list {
    width: 100%;
    justify-content: flex-start;
    gap: 6px;
    flex-direction: column;
    align-items: stretch;
  }

  .nav-list li {
    width: 100%;
  }

  .nav-list a {
    width: 100%;
    justify-content: flex-start;
    padding-inline: 14px;
  }

  .hero {
    min-height: 100svh;
    padding: 16px 0;
  }

  .hero-copy h1 {
    font-size: clamp(38px, 12vw, 56px);
  }

  .hero-copy p {
    font-size: 14px;
  }

  .hero-visuals {
    padding-bottom: 0;
  }

  .hero-sub-image {
    position: static;
    width: 100%;
    min-width: 0;
    margin-top: 12px;
  }

  .mission,
  .services,
  .strengths,
  .case-study {
    padding-block: 54px;
  }

  .mission {
    min-height: 100svh;
    align-items: flex-start;
  }

  .service-copy {
    padding: 20px;
  }

  .service-copy h3 {
    font-size: 20px;
  }

  .strengths-grid {
    grid-template-columns: 1fr;
  }

  .strength-card,
  .strength-image {
    min-height: 0;
  }

  .strength-card h3 {
    font-size: 28px;
  }

  .case-table-wrap h3 {
    font-size: 30px;
  }

  .case-table-wrap table,
  .case-table-wrap tbody,
  .case-table-wrap tr,
  .case-table-wrap th,
  .case-table-wrap td {
    display: block;
    width: 100%;
  }

  .case-table-wrap tr {
    padding: 8px 0;
    border-bottom: 1px solid #d7e2ea;
  }

  .case-table-wrap th,
  .case-table-wrap td {
    border-bottom: 0;
    padding: 4px 0;
  }

  .contact-copy {
    padding: 30px 24px;
  }

  .footer-inner {
    flex-direction: column;
    align-items: flex-start;
  }

  .footer-nav {
    gap: 12px 18px;
  }
}
