:root {
  --bg: #f7f8f6;
  --paper: #ffffff;
  --ink: #1d252c;
  --muted: #5f6972;
  --line: #dce3df;
  --accent: #096c7f;
  --accent-2: #b84a36;
  --deep: #0d2f3b;
  --soft: #eaf3ef;
  --shadow: 0 22px 70px rgba(20, 45, 55, 0.12);
  font-family: "Hiragino Sans", "Yu Gothic", "Meiryo", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  line-height: 1.75;
}

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

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  min-height: 76px;
  padding: 14px clamp(20px, 5vw, 64px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(220, 227, 223, 0.8);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 280px;
}

.brand-logo {
  width: 72px;
  height: 44px;
  display: block;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 15px;
  line-height: 1.25;
  white-space: nowrap;
}

.brand small {
  color: var(--muted);
  font-size: 11px;
  line-height: 1.3;
  white-space: nowrap;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 22px);
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
}

.site-nav a:hover,
.text-link:hover,
.service-card:hover strong {
  color: var(--accent);
}

.nav-cta {
  padding: 9px 16px;
  border: 1px solid var(--accent);
  border-radius: 8px;
  color: var(--accent);
}

.nav-toggle {
  display: none;
}

.hero {
  position: relative;
  min-height: 560px;
  height: 68vh;
  max-height: 720px;
  overflow: hidden;
  background: var(--deep);
}

.hero-media,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media {
  background-image: url("assets/hero-enterprise-tech.png");
  background-position: center;
  background-size: cover;
  transform: scale(1.01);
}

.hero-overlay {
  background:
    linear-gradient(90deg, rgba(8, 26, 34, 0.88) 0%, rgba(8, 26, 34, 0.66) 42%, rgba(8, 26, 34, 0.25) 100%),
    linear-gradient(0deg, rgba(8, 26, 34, 0.45), rgba(8, 26, 34, 0.05));
}

.hero-content {
  position: relative;
  display: flex;
  min-height: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: clamp(72px, 9vw, 118px) clamp(20px, 5vw, 48px);
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.eyebrow,
.label {
  margin: 0 0 14px;
  color: var(--accent-2);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #92e0df;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

.hero h1 {
  max-width: 780px;
  margin-bottom: 20px;
  font-size: clamp(38px, 4.8vw, 58px);
  line-height: 1.14;
  letter-spacing: 0;
}

.lead {
  max-width: 650px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(16px, 1.6vw, 19px);
}

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

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

.button.primary {
  background: var(--accent);
  color: #fff;
}

.button.secondary {
  background: rgba(255, 255, 255, 0.9);
  border-color: var(--line);
  color: var(--deep);
}

.button.full {
  width: 100%;
}

.section {
  padding: clamp(72px, 10vw, 120px) clamp(20px, 5vw, 64px);
}

.section-inner {
  max-width: 1180px;
  margin: 0 auto;
}

.notice-section {
  padding: 36px clamp(20px, 5vw, 64px);
  background: var(--paper);
}

.notice {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) auto;
  gap: 24px;
  align-items: center;
  padding: 26px 30px;
  border: 1px solid rgba(13, 47, 59, 0.14);
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 14px 44px rgba(20, 45, 55, 0.08);
}

.notice .label {
  margin-bottom: 8px;
}

.notice-meta time {
  color: var(--accent);
  font-weight: 900;
}

.notice h2 {
  margin-bottom: 4px;
  font-size: clamp(22px, 2.5vw, 34px);
  line-height: 1.25;
}

.notice-content p {
  margin-bottom: 0;
  color: var(--muted);
}

.notice-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 10px 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--accent);
  font-weight: 800;
  white-space: nowrap;
}

.notice-link:hover {
  border-color: var(--accent);
}

.section-heading {
  max-width: 760px;
  margin-bottom: 40px;
}

.section-heading h2,
.split h2 {
  margin-bottom: 14px;
  font-size: clamp(32px, 4.6vw, 54px);
  line-height: 1.18;
}

.section-heading p,
.split p {
  color: var(--muted);
}

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

.service-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-height: 300px;
  padding: 26px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
  transform: translateY(-4px);
  border-color: rgba(9, 108, 127, 0.34);
  box-shadow: 0 28px 80px rgba(20, 45, 55, 0.16);
}

.service-card span,
.admin-grid span {
  color: var(--accent-2);
  font-weight: 900;
}

.service-card h3 {
  min-height: 74px;
  margin: 16px 0 14px;
  font-size: 20px;
  line-height: 1.35;
}

.service-card p,
.news-list h3,
.admin-grid p {
  color: var(--muted);
}

.service-card strong {
  margin-top: auto;
  padding-top: 22px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 900;
}

.service-card strong::after {
  content: " ->";
  color: var(--accent);
}

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

.split,
.cms-panel {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(32px, 6vw, 80px);
  align-items: start;
}

.split.reverse {
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
}

.about-layout,
.recruit-layout {
  align-items: center;
}

.about-copy {
  position: relative;
  padding-left: 28px;
}

.about-copy::before {
  position: absolute;
  top: 6px;
  bottom: 8px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  content: "";
}

.value-strip,
.skill-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.value-strip span,
.skill-tags span {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(9, 108, 127, 0.08);
  color: var(--deep);
  font-size: 13px;
  font-weight: 800;
}

.company-list,
.recruit-panel,
.admin-grid article,
.admin-hero,
.news-detail-card {
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.company-list {
  margin: 0;
  padding: 14px 30px;
  border-color: rgba(9, 108, 127, 0.16);
}

.company-list-link,
.recruit-panel-link {
  display: block;
  color: inherit;
  transition:
    transform 0.2s ease,
    filter 0.2s ease;
}

.company-list-link:hover,
.recruit-panel-link:hover {
  filter: saturate(1.05);
  transform: translateY(-2px);
}

.company-list-link:hover .company-list,
.recruit-panel-link:hover {
  border-color: rgba(9, 108, 127, 0.34);
}

.company-list dt,
.recruit-panel dt {
  color: var(--deep);
}

.company-list div,
.recruit-panel dl div {
  display: grid;
  grid-template-columns: 130px 1fr;
  gap: 18px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.company-list div:last-child,
.recruit-panel dl div:last-child {
  border-bottom: 0;
}

.about-more {
  align-self: flex-start;
}

.company-page-hero {
  background:
    linear-gradient(90deg, rgba(8, 26, 34, 0.9), rgba(8, 26, 34, 0.64)),
    url("assets/hero-enterprise-tech.png") center / cover;
  color: #fff;
}

.company-page-hero .label {
  color: #92e0df;
}

.company-page-hero p {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.86);
}

.company-detail-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: start;
}

.company-message {
  position: sticky;
  top: 112px;
  padding-left: 28px;
}

.company-message::before {
  position: absolute;
  top: 6px;
  bottom: 8px;
  left: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  content: "";
}

.company-message h2 {
  margin-bottom: 16px;
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.2;
}

.company-list-large {
  padding: 18px 34px;
}

.company-list-large div {
  grid-template-columns: 150px 1fr;
  padding: 22px 0;
}

.company-policy-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.company-policy-grid article {
  min-height: 220px;
  padding: 26px;
  border: 1px solid rgba(9, 108, 127, 0.16);
  border-radius: 8px;
  background: var(--paper);
  box-shadow: var(--shadow);
}

.company-policy-grid h3 {
  margin-bottom: 12px;
  color: var(--deep);
  font-size: 20px;
}

.company-policy-grid p {
  color: var(--muted);
}

dt {
  color: var(--muted);
  font-weight: 800;
}

dd {
  margin: 0;
}

.recruit-panel {
  position: relative;
  overflow: hidden;
  padding: 30px;
  border-color: rgba(9, 108, 127, 0.16);
}

.recruit-panel::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  content: "";
}

.recruit-panel dl {
  margin: 0;
}

.skill-tags {
  max-width: 680px;
  margin-bottom: 8px;
}

.skill-tags span {
  background: #fff;
  border: 1px solid rgba(9, 108, 127, 0.16);
  color: var(--accent);
}

.text-link {
  display: inline-flex;
  margin-top: 12px;
  color: var(--accent);
  font-weight: 800;
}

.compact {
  margin-bottom: 20px;
}

.news-list {
  display: grid;
  gap: 0;
}

.news-list article {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-top: 1px solid rgba(13, 47, 59, 0.16);
}

.news-list time {
  color: var(--accent);
  font-weight: 800;
}

.news-list h3 {
  margin: 0;
  font-size: 18px;
}

.news-list h3 a:hover {
  color: var(--accent);
}

.news-list p {
  margin: 8px 0 0;
  color: var(--muted);
}

.news-category {
  display: inline-flex;
  margin: 0 0 6px;
  padding: 3px 9px;
  border: 1px solid rgba(9, 108, 127, 0.22);
  border-radius: 999px;
  color: var(--accent);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.5;
}

.news-more {
  margin-top: 18px;
}

#news {
  padding-top: clamp(54px, 7vw, 82px);
  padding-bottom: clamp(58px, 7vw, 88px);
}

.contact-section {
  padding-top: clamp(42px, 5vw, 66px);
  padding-bottom: clamp(44px, 5vw, 70px);
  background: linear-gradient(180deg, var(--paper), var(--soft));
}

.contact-panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: clamp(24px, 4vw, 42px);
  align-items: center;
  padding: clamp(30px, 5vw, 46px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.contact-panel h2 {
  margin-bottom: 10px;
  font-size: clamp(28px, 3.4vw, 42px);
  line-height: 1.22;
}

.contact-panel p {
  max-width: 760px;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 16px;
}

.contact-note {
  margin-bottom: 0;
  font-size: 14px;
}

.contact-button {
  min-width: 250px;
  min-height: 52px;
  padding: 13px 22px;
  font-size: 15px;
}

.page-hero {
  padding: clamp(72px, 11vw, 126px) clamp(20px, 5vw, 64px);
  background: var(--deep);
  color: #fff;
}

.page-hero h1 {
  margin-bottom: 14px;
  font-size: clamp(42px, 7vw, 76px);
  line-height: 1.08;
}

.page-hero p:last-child {
  max-width: 680px;
  color: rgba(255, 255, 255, 0.76);
}

.service-page-hero {
  padding-bottom: clamp(58px, 8vw, 96px);
}

.service-nav-band {
  position: sticky;
  top: 76px;
  z-index: 10;
  background: rgba(247, 248, 246, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.service-jump {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding-top: 14px;
  padding-bottom: 14px;
}

.service-jump a {
  flex: 0 0 auto;
  padding: 9px 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--muted);
  font-size: 13px;
  font-weight: 800;
}

.service-jump a:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.service-detail-section {
  padding-top: clamp(52px, 7vw, 88px);
}

.service-detail-list {
  display: grid;
  gap: 22px;
}

.service-detail {
  scroll-margin-top: 150px;
  display: grid;
  grid-template-columns: minmax(280px, 0.82fr) minmax(0, 1.18fr);
  gap: clamp(24px, 5vw, 64px);
  padding: clamp(28px, 5vw, 54px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.service-detail-head > span {
  display: inline-flex;
  margin-bottom: 20px;
  color: var(--accent-2);
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
}

.service-detail-head h2 {
  margin: 8px 0 18px;
  font-size: clamp(28px, 4.2vw, 48px);
  line-height: 1.18;
}

.service-detail-head p:last-child {
  color: var(--muted);
}

.service-detail-body {
  display: grid;
  gap: 16px;
}

.service-detail-body div {
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
}

.service-detail-body div:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.service-detail-body h3 {
  margin-bottom: 6px;
  color: var(--deep);
  font-size: 17px;
}

.service-detail-body p,
.service-detail-body ul {
  margin: 0;
  color: var(--muted);
}

.service-detail-body ul {
  padding-left: 1.2em;
}

.recruit-page-hero {
  background:
    linear-gradient(90deg, rgba(8, 26, 34, 0.94), rgba(9, 108, 127, 0.76)),
    var(--deep);
}

.recruit-detail-section {
  background: var(--soft);
}

.recruit-detail-grid {
  display: grid;
  grid-template-columns: minmax(260px, 0.38fr) minmax(0, 0.62fr);
  gap: clamp(24px, 5vw, 62px);
  align-items: start;
}

.recruit-summary {
  position: sticky;
  top: 104px;
  overflow: hidden;
  padding: 30px;
  background: var(--paper);
  border: 1px solid rgba(9, 108, 127, 0.16);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.recruit-summary::before {
  position: absolute;
  inset: 0 auto 0 0;
  width: 6px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  content: "";
}

.recruit-summary dl {
  margin: 0;
}

.recruit-summary dl div {
  display: grid;
  gap: 6px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}

.recruit-summary dl div:last-child {
  border-bottom: 0;
}

.recruit-summary dt {
  color: var(--deep);
}

.recruit-detail-main {
  display: grid;
  gap: 18px;
}

.recruit-block,
.recruit-cta {
  padding: clamp(26px, 4vw, 42px);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.recruit-block h2,
.recruit-cta h2 {
  margin: 8px 0 14px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1.2;
}

.recruit-block p,
.recruit-cta p {
  color: var(--muted);
}

.recruit-work-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.recruit-work-grid article {
  padding: 20px;
  border: 1px solid rgba(9, 108, 127, 0.16);
  border-radius: 8px;
  background: rgba(234, 243, 239, 0.55);
}

.recruit-work-grid h3 {
  margin-bottom: 8px;
  color: var(--deep);
  font-size: 17px;
}

.recruit-points {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 1.2em;
  color: var(--muted);
}

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

.news-list-page article {
  align-items: start;
  padding: 26px 0;
}

.news-detail-card {
  max-width: 860px;
  margin-bottom: 36px;
  padding: clamp(28px, 6vw, 56px);
}

.news-detail-card time {
  display: inline-flex;
  margin: 10px 0 18px;
  color: var(--accent);
  font-weight: 800;
}

.news-detail-card h2 {
  margin-bottom: 26px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.2;
}

.news-body {
  color: var(--muted);
  font-size: 17px;
}

.news-error {
  color: var(--accent-2);
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding: 34px clamp(20px, 5vw, 64px);
  background: #081a22;
  color: rgba(255, 255, 255, 0.8);
}

.site-footer strong {
  color: #fff;
}

.site-footer p {
  margin: 6px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  align-items: center;
}

.footer-admin-link {
  display: inline-flex;
  width: 18px;
  height: 18px;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.28);
  font-size: 16px;
  line-height: 1;
}

.footer-admin-link:hover {
  color: rgba(255, 255, 255, 0.72);
}

.simple-page,
.admin-page {
  min-height: 100vh;
  background: var(--soft);
}

.simple-card {
  max-width: 720px;
  margin: 12vh auto;
  padding: 44px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.simple-card h1 {
  font-size: clamp(32px, 5vw, 48px);
  line-height: 1.2;
}

.admin-header {
  padding: 24px clamp(20px, 5vw, 64px);
}

.admin-main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 40px clamp(20px, 5vw, 64px) 90px;
}

.admin-hero {
  padding: clamp(28px, 6vw, 54px);
}

.admin-hero h1 {
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.12;
}

.admin-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 20px;
}

.admin-grid article {
  padding: 24px;
}

.admin-grid h2 {
  margin: 12px 0 8px;
  font-size: 21px;
}

@media (max-width: 980px) {
  .nav-toggle {
    display: grid;
    gap: 6px;
    width: 44px;
    height: 44px;
    place-content: center;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
  }

  .nav-toggle span {
    display: block;
    width: 18px;
    height: 2px;
    background: var(--ink);
  }

  .site-nav {
    position: absolute;
    top: 76px;
    right: 20px;
    left: 20px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 8px;
    box-shadow: var(--shadow);
  }

  .site-nav.open {
    display: flex;
  }

  .site-nav a {
    padding: 12px;
  }

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

  .split,
  .split.reverse,
  .cms-panel,
  .notice,
  .service-detail,
  .company-detail-grid,
  .company-policy-grid,
  .recruit-detail-grid,
  .recruit-work-grid {
    grid-template-columns: 1fr;
  }

  .service-nav-band {
    top: 68px;
  }

  .recruit-summary {
    position: relative;
    top: auto;
  }

  .company-message {
    position: relative;
    top: auto;
  }

  .recruit-cta {
    align-items: flex-start;
    flex-direction: column;
  }

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

@media (max-width: 680px) {
  .site-header {
    min-height: 68px;
  }

  .site-nav {
    top: 68px;
  }

  .brand {
    min-width: 0;
  }

  .brand-logo {
    width: 60px;
    height: 40px;
  }

  .brand strong {
    font-size: 13px;
  }

  .hero,
  .hero-content {
    min-height: 560px;
  }

  .hero-overlay {
    background:
      linear-gradient(90deg, rgba(8, 26, 34, 0.88), rgba(8, 26, 34, 0.58)),
      linear-gradient(0deg, rgba(8, 26, 34, 0.5), rgba(8, 26, 34, 0.08));
  }

  .hero h1 {
    font-size: 38px;
  }

  .service-grid,
  .admin-grid,
  .news-list article,
  .company-list div,
  .company-list-large div,
  .recruit-panel dl div {
    grid-template-columns: 1fr;
  }

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

  .service-card h3 {
    min-height: 0;
  }

  .service-detail {
    scroll-margin-top: 130px;
    padding: 24px;
  }

  .service-detail-head > span {
    margin-bottom: 14px;
    font-size: 28px;
  }

  .site-footer {
    flex-direction: column;
  }

  .contact-button {
    width: 100%;
    min-width: 0;
  }
}
