:root {
  --bg: #f7f9fb;
  --surface: #ffffff;
  --surface-soft: #eef5f8;
  --surface-deep: #e0eef4;
  --text: #1a1d24;
  --muted: #5c6670;
  --line: #d7e3e8;
  --primary: #5f9eb4;
  --primary-strong: #3e7186;
  --accent: #9cc7d4;
  --accent-strong: #5b97ab;
  --dark: #111318;
  --dark-soft: #232934;
  --success: #1e8a5a;
  --shadow: 0 20px 60px rgba(47, 95, 116, 0.10);
  --shadow-soft: 0 14px 36px rgba(17, 19, 24, 0.07);
  --radius: 24px;
  --container: min(1160px, calc(100% - 40px));
  --header-height: 84px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Hiragino Kaku Gothic ProN", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.8;
  -webkit-text-size-adjust: 100%;
}

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

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

button,
input,
textarea {
  font: inherit;
}

.skip-link {
  position: absolute;
  left: 12px;
  top: -52px;
  z-index: 999;
  padding: 12px 14px;
  border-radius: 12px;
  background: var(--primary-strong);
  color: #fff;
}

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

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  backdrop-filter: blur(12px);
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(215, 227, 232, 0.9);
}

.header-inner {
  width: var(--container);
  min-height: var(--header-height);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  min-width: 0;
}

.brand img {
  width: 180px;
  height: auto;
}

.menu-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  border: 0;
  background: var(--surface-soft);
  color: var(--primary-strong);
  align-items: center;
  justify-content: center;
  padding: 0;
  cursor: pointer;
}

.menu-toggle svg {
  width: 24px;
  height: 24px;
}

.site-nav ul {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 999px;
  color: var(--muted);
  font-weight: 700;
  font-size: 0.94rem;
  transition: background-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: var(--surface-soft);
  color: var(--primary-strong);
  outline: none;
}

.site-nav .is-current a {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: var(--shadow-soft);
}

main {
  display: block;
}

.section,
.page-section {
  padding: 88px 0;
}

.section.alt {
  background: linear-gradient(180deg, rgba(224, 239, 244, 0.55), rgba(247, 249, 251, 0));
}

.section.soft {
  background: linear-gradient(180deg, rgba(240, 247, 250, 0.85), rgba(247, 249, 251, 0.65));
}

.section-inner,
.page-hero-inner,
.hero-grid {
  width: var(--container);
  margin: 0 auto;
}

.section-head {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}

.section-head h2,
.page-hero h1,
.hero-home h1 {
  margin: 0;
  line-height: 1.18;
  letter-spacing: 0.02em;
}

.section-head h2 {
  font-size: clamp(1.8rem, 2.6vw, 2.8rem);
}

.section-head p,
.lead,
.page-hero p,
.muted {
  margin: 0;
  color: var(--muted);
}

.hero-home {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 163, 98, 0.30), transparent 28%),
    radial-gradient(circle at 85% 22%, rgba(255, 74, 35, 0.22), transparent 30%),
    linear-gradient(135deg, #100c0c 0%, #31110b 42%, #8e2a14 100%);
}

.hero-home::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: auto auto -80px -80px;
  width: 240px;
  height: 240px;
  border-radius: 40px;
  transform: rotate(35deg);
  background: linear-gradient(135deg, rgba(156, 199, 212, 0.35), rgba(91, 151, 171, 0.18));
  filter: blur(2px);
}

.hero-home::after,
.page-hero::after {
  content: "";
  position: absolute;
  inset: 80px -60px auto auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.10), rgba(255, 255, 255, 0));
}

.hero-grid {
  position: relative;
  z-index: 1;
  min-height: calc(100vh - var(--header-height));
  padding: 90px 0 120px;
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
  gap: 34px;
  align-items: center;
}

.hero-copy {
  max-width: 700px;
}

.eyebrow,
.kicker {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow::before,
.kicker::before {
  content: "";
  width: 42px;
  height: 2px;
  background: currentColor;
}

.eyebrow {
  color: rgba(255, 236, 229, 0.9);
}

.kicker {
  color: var(--primary-strong);
}

.hero-home h1,
.page-hero h1 {
  font-size: clamp(2.3rem, 4.6vw, 4.4rem);
}

.hero-home .lead {
  margin-top: 22px;
  font-size: clamp(1.02rem, 1.7vw, 1.18rem);
  color: rgba(255, 244, 240, 0.92);
  max-width: 620px;
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  border: 1px solid transparent;
  font-weight: 800;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

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

.button-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 18px 42px rgba(95, 158, 180, 0.28);
}

.button-secondary {
  color: var(--text);
  background: #fff;
  border-color: rgba(215, 227, 232, 0.9);
  box-shadow: var(--shadow-soft);
}

.hero-home .button-secondary {
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  box-shadow: none;
}

.button-outline {
  color: var(--primary-strong);
  background: transparent;
  border-color: rgba(62, 113, 134, 0.22);
}

.hero-card,
.card,
.feature-card,
.service-card,
.project-card,
.quote-card,
.info-block,
.company-table-wrap,
.contact-card,
.contact-panel,
.map-card,
.note-box,
.cta-band,
.policy-panel,
.value-card,
.surface {
  background: var(--surface);
  border: 1px solid rgba(215, 227, 232, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-card {
  padding: 28px;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0.08));
  border-color: rgba(255, 255, 255, 0.16);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.16);
}

.hero-logo {
  width: min(100%, 290px);
  margin-bottom: 22px;
}

.hero-badge-grid,
.grid-2,
.grid-3,
.grid-4,
.service-grid,
.project-grid,
.contact-grid,
.value-grid,
.metric-grid,
.policy-grid,
.flow-grid {
  display: grid;
  gap: 22px;
}

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

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

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

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

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

.hero-badge {
  padding: 18px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-badge strong,
.metric-card strong,
.value-card h3,
.project-card h3,
.service-card h3,
.contact-card h3,
.info-block h3,
.card h3,
.policy-panel h3,
.quote-card h3 {
  display: block;
  margin: 0 0 8px;
  line-height: 1.35;
}

.hero-badge strong {
  color: #fff;
  font-size: 1.02rem;
}

.hero-badge span {
  color: rgba(255, 244, 240, 0.85);
  font-size: 0.94rem;
}

.hero-tags {
  margin-top: 24px;
}

.tag-list,
.meta-list,
.check-list,
.policy-list,
.contact-list,
.plain-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tag-list,
.meta-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.tag-list li,
.meta-list li {
  padding: 8px 12px;
  border-radius: 999px;
  font-size: 0.92rem;
  font-weight: 700;
}

.tag-list li {
  background: var(--surface-soft);
  border: 1px solid rgba(215, 227, 232, 0.95);
  color: var(--primary-strong);
}

.hero-tags li {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.16);
  color: rgba(255, 244, 240, 0.95);
}

.meta-list li {
  background: rgba(62, 113, 134, 0.08);
  color: var(--primary-strong);
}

.card,
.feature-card,
.service-card,
.contact-card,
.value-card,
.info-block,
.policy-panel,
.quote-card,
.note-box {
  padding: 28px;
}

.card p,
.feature-card p,
.service-card p,
.contact-card p,
.value-card p,
.info-block p,
.policy-panel p,
.quote-card p,
.note-box p,
.project-card p {
  margin: 0;
  color: var(--muted);
}

.card-icon,
.value-icon,
.service-icon {
  width: 54px;
  height: 54px;
  margin-bottom: 18px;
  border-radius: 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(95, 158, 180, 0.16), rgba(156, 199, 212, 0.18));
  color: var(--primary-strong);
  font-size: 1.15rem;
  font-weight: 900;
}

.metric-card {
  padding: 24px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f2f7f9 100%);
  border: 1px solid rgba(215, 227, 232, 0.95);
  box-shadow: var(--shadow-soft);
}

.metric-card strong {
  color: var(--primary-strong);
  font-size: 1.18rem;
}

.metric-card span {
  color: var(--muted);
  font-size: 0.96rem;
}

.split,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: 28px;
  align-items: start;
}

.visual-frame {
  overflow: hidden;
  border-radius: 30px;
  background: var(--surface);
  border: 1px solid rgba(215, 227, 232, 0.95);
  box-shadow: var(--shadow);
}

.visual-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  min-height: 100%;
}

.visual-caption {
  margin: 0;
  padding: 18px 22px;
  background: linear-gradient(135deg, rgba(17, 19, 24, 0.92), rgba(35, 41, 52, 0.88));
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.94rem;
}

.highlight-text {
  color: var(--primary-strong);
}

.check-list,
.policy-list,
.contact-list,
.plain-list {
  display: grid;
  gap: 14px;
}

.check-list li,
.policy-list li,
.contact-list li,
.plain-list li {
  position: relative;
  padding-left: 30px;
  color: var(--text);
}

.check-list li::before,
.policy-list li::before,
.contact-list li::before,
.plain-list li::before {
  content: "";
  position: absolute;
  top: 0.62em;
  left: 0;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 5px rgba(95, 158, 180, 0.10);
}

.quote-card {
  position: relative;
  background: linear-gradient(135deg, rgba(240, 247, 250, 0.92), rgba(255, 255, 255, 1));
}

.quote-card blockquote {
  margin: 0;
  color: var(--dark);
  font-size: clamp(1.2rem, 2.2vw, 1.6rem);
  font-weight: 800;
  line-height: 1.75;
}

.quote-card p {
  margin-top: 14px;
}

.company-table-wrap {
  overflow: hidden;
}

.company-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--surface);
}

.company-table th,
.company-table td {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  vertical-align: top;
}

.company-table th {
  width: 220px;
  background: rgba(95, 158, 180, 0.08);
  color: var(--primary-strong);
  font-weight: 800;
}

.company-table tr:last-child th,
.company-table tr:last-child td {
  border-bottom: 0;
}

.company-table a,
.footer-meta a,
.contact-value a,
.inline-link {
  color: var(--primary-strong);
  font-weight: 800;
}

.company-table a:hover,
.footer-meta a:hover,
.contact-value a:hover,
.inline-link:hover,
.map-caption a:hover,
.site-footer a:hover {
  text-decoration: underline;
}

.page-hero {
  position: relative;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 80% 18%, rgba(255, 177, 90, 0.22), transparent 26%),
    linear-gradient(135deg, #150f0f 0%, #3b140f 44%, #a02c16 100%);
}

.page-hero-inner {
  position: relative;
  z-index: 1;
  padding: 84px 0 72px;
}

.page-hero p {
  margin-top: 18px;
  max-width: 760px;
  color: rgba(255, 244, 240, 0.9);
}

.project-card {
  overflow: hidden;
}

.project-header {
  padding: 26px 28px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(240, 247, 250, 0.75), rgba(255, 255, 255, 1));
}

.project-header p {
  margin: 0;
}

.project-body {
  padding: 24px 28px 28px;
  display: grid;
  gap: 18px;
}

.project-body h4,
.policy-panel h4,
.info-block h4,
.contact-card h4,
.note-box h4 {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--dark);
}

.project-summary {
  color: var(--text);
  font-weight: 700;
}

.project-card .plain-list li {
  color: var(--muted);
}

.service-card {
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fb 100%);
}

.service-card .tag-list {
  margin-top: 18px;
}


.centered-head {
  text-align: center;
  justify-items: center;
}

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

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

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

.case-card {
  --case-color: var(--primary);
  background: var(--surface);
  border: 1px solid rgba(215, 227, 232, 0.95);
  border-radius: 0 0 var(--radius) var(--radius);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.case-title-bar {
  padding: 15px 18px;
  background: var(--case-color);
  color: #fff;
  text-align: center;
  font-size: 1.08rem;
  font-weight: 900;
  letter-spacing: 0.03em;
}

.case-body {
  padding: 24px 26px 28px;
}

.case-body h3 {
  margin: 0 0 16px;
  font-size: 1.16rem;
  line-height: 1.45;
}

.case-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 12px;
}

.case-list li {
  position: relative;
  padding-left: 24px;
  color: var(--muted);
}

.case-list li::before {
  content: "";
  position: absolute;
  top: 0.75em;
  left: 0;
  width: 10px;
  height: 10px;
  background: var(--case-color);
}

.case-dev { --case-color: #1f56b5; }
.case-data { --case-color: #0f8f8f; }
.case-ai { --case-color: #8b35c9; }
.case-cloud { --case-color: #0f92cf; }
.case-infra { --case-color: #343434; }

.job-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 28px;
}

.job-card {
  background: var(--surface);
  border: 1px solid rgba(215, 227, 232, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  overflow: hidden;
}

.job-card-head {
  padding: 28px;
  background: linear-gradient(180deg, rgba(240, 247, 250, 0.9), rgba(255, 255, 255, 1));
  border-bottom: 1px solid var(--line);
}

.job-label {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--primary-strong);
  background: rgba(62, 113, 134, 0.08);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.job-card h3 {
  margin: 12px 0 8px;
  font-size: 1.5rem;
}

.salary {
  margin: 0;
  color: var(--primary-strong);
  font-size: clamp(1.3rem, 2.4vw, 1.85rem);
  font-weight: 900;
  line-height: 1.35;
}

.salary span {
  display: inline-block;
  margin-left: 8px;
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}

.job-detail-list {
  margin: 0;
  padding: 0 28px 28px;
}

.job-detail-list dt {
  margin-top: 22px;
  color: var(--primary-strong);
  font-weight: 900;
}

.job-detail-list dd {
  margin: 6px 0 0;
  color: var(--text);
}

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

.benefit-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 82px;
  padding: 16px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(215, 227, 232, 0.95);
  box-shadow: var(--shadow-soft);
  text-align: center;
  color: var(--dark);
  font-weight: 900;
}

.benefit-pill span {
  margin-left: 6px;
  color: var(--primary-strong);
  font-size: 0.92rem;
}

.contact-card {
  position: relative;
}

.contact-label {
  display: inline-block;
  margin-bottom: 10px;
  color: var(--primary-strong);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-value {
  display: block;
  margin: 8px 0 12px;
  font-size: clamp(1.08rem, 2.2vw, 1.5rem);
  line-height: 1.45;
  font-weight: 800;
  word-break: break-word;
}

.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}


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

.recruit-table td strong {
  color: var(--dark);
}

.recruit-table td {
  line-height: 1.9;
}

@media (max-width: 1100px) {
  .contact-grid-three {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  .contact-grid-three {
    grid-template-columns: 1fr;
  }
}

.map-card {
  overflow: hidden;
}

.map-frame {
  border-top: 1px solid var(--line);
}

.map-frame iframe {
  width: 100%;
  min-height: 380px;
  border: 0;
  display: block;
}

.map-caption {
  padding: 22px 26px;
}

.flow-grid {
  counter-reset: flow;
}

.flow-card {
  position: relative;
  padding: 26px 24px;
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(215, 227, 232, 0.95);
  box-shadow: var(--shadow-soft);
}

.flow-card::before {
  counter-increment: flow;
  content: "0" counter(flow);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  margin-bottom: 18px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  font-weight: 900;
}

.flow-card h3 {
  margin: 0 0 10px;
  font-size: 1.08rem;
}

.flow-card p {
  margin: 0;
  color: var(--muted);
}

.note-box {
  background: linear-gradient(180deg, #fff 0%, #f5f9fb 100%);
}

.cta-band {
  padding: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, rgba(95, 158, 180, 0.12), rgba(156, 199, 212, 0.08));
}

.cta-band h3 {
  margin: 0 0 8px;
  font-size: 1.35rem;
}

.cta-band p {
  margin: 0;
  color: var(--muted);
}

.notice {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(30, 138, 90, 0.10);
  color: var(--success);
  font-weight: 800;
  font-size: 0.9rem;
}

/* Recruit page */
.recruit-position-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  align-items: stretch;
}

.recruit-position-card {
  display: flex;
  flex-direction: column;
  background: var(--surface);
}

.recruit-card-title {
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(240, 247, 250, 0.9), rgba(255, 255, 255, 1));
}

.recruit-card-title span {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  color: var(--primary-strong);
  background: rgba(62, 113, 134, 0.08);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.78rem;
}

.recruit-card-title h3 {
  margin: 12px 0 0;
  font-size: 1.45rem;
  line-height: 1.35;
}

.salary-highlight {
  color: var(--primary-strong) !important;
  font-size: clamp(1.1rem, 1.8vw, 1.42rem);
  line-height: 1.35;
}

.compact-list {
  gap: 10px;
}

.compact-list li {
  color: var(--muted);
  font-size: 0.95rem;
}

.benefit-card {
  padding: 22px;
  border-radius: 22px;
  background: #fff;
  border: 1px solid rgba(215, 227, 232, 0.95);
  box-shadow: var(--shadow-soft);
}

.benefit-card h3 {
  margin: 0 0 8px;
  color: var(--dark);
  font-size: 1.05rem;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.privacy-consent-panel {
  padding: 30px;
  margin-bottom: 24px;
  background: var(--surface);
  border: 1px solid rgba(215, 227, 232, 0.95);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.privacy-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.privacy-head h3 {
  margin: 0;
  font-size: clamp(1.25rem, 2.2vw, 1.75rem);
  line-height: 1.4;
}

.privacy-head p {
  margin: 0;
  color: var(--muted);
}

.privacy-list {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: 18px;
  overflow: hidden;
  background: #fff;
}

.privacy-item {
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  border-bottom: 1px solid var(--line);
}

.privacy-item:last-child {
  border-bottom: 0;
}

.privacy-item dt,
.privacy-item dd {
  margin: 0;
  padding: 18px 20px;
}

.privacy-item dt {
  color: var(--primary-strong);
  background: rgba(95, 158, 180, 0.08);
  font-weight: 900;
}

.privacy-item dd {
  color: var(--text);
}

.privacy-item dd p {
  margin: 0 0 6px;
}

.privacy-item dd p:last-child {
  margin-bottom: 0;
}

.privacy-item a {
  color: var(--primary-strong);
  font-weight: 800;
}

.consent-box {
  margin-top: 22px;
  padding: 20px;
  border-radius: 18px;
  background: linear-gradient(180deg, rgba(240, 247, 250, 0.85), rgba(255, 255, 255, 1));
  border: 1px solid rgba(215, 227, 232, 0.95);
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  color: var(--dark);
  font-weight: 900;
}

.consent-check input {
  width: 22px;
  height: 22px;
  margin-top: 4px;
  accent-color: var(--primary);
  flex: 0 0 auto;
}

.consent-message {
  margin: 10px 0 0;
  color: var(--muted);
  font-size: 0.94rem;
}

.consent-message.is-ready {
  color: var(--success);
  font-weight: 800;
}

.button.is-disabled,
.button[aria-disabled="true"] {
  cursor: not-allowed;
  opacity: 0.48;
  box-shadow: none;
}

.button.is-disabled:hover,
.button[aria-disabled="true"]:hover {
  transform: none;
}

.application-cta {
  margin-top: 0;
}

.application-note {
  margin-top: 10px !important;
}

.site-footer {
  background: linear-gradient(180deg, #12151b 0%, #0d0f14 100%);
  color: rgba(255, 255, 255, 0.84);
}

.footer-inner {
  width: var(--container);
  margin: 0 auto;
  padding: 36px 0;
  display: grid;
  gap: 20px;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 28px;
}

.footer-brand {
  display: grid;
  gap: 10px;
}

.footer-brand img {
  width: 180px;
}

.footer-meta {
  display: grid;
  gap: 8px;
  color: rgba(255, 255, 255, 0.72);
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 16px;
}

.footer-nav a {
  color: rgba(255, 255, 255, 0.82);
  font-weight: 700;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.60);
  font-size: 0.92rem;
}

.small {
  font-size: 0.94rem;
  color: var(--muted);
}

.nowrap {
  white-space: nowrap;
}

@media (max-width: 1100px) {

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

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

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

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

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

@media (max-width: 920px) {

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

  .hero-grid,
  .split,
  .contact-layout,
  .grid-2,
  .contact-grid,
  .project-grid,
  .metric-grid,
  .policy-grid,
  .grid-3 {
    grid-template-columns: 1fr;
  }

  .hero-grid {
    min-height: auto;
    padding: 72px 0 92px;
  }

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

@media (max-width: 960px) {
  :root {
    --container: min(100% - 24px, 1160px);
    --header-height: 76px;
  }

  .brand img,
  .footer-brand img {
    width: 150px;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    left: 12px;
    right: 12px;
    padding: 14px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid rgba(215, 227, 232, 0.95);
    box-shadow: 0 20px 56px rgba(17, 19, 24, 0.14);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  }

  .site-nav.is-open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
  }

  .site-nav ul {
    flex-direction: column;
    align-items: stretch;
  }

  .site-nav a {
    justify-content: flex-start;
    border-radius: 14px;
    padding-inline: 14px;
  }

  .section,
  .page-section {
    padding: 68px 0;
  }

  .page-hero-inner {
    padding: 72px 0 58px;
  }

  .footer-top,
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 640px) {

  .service-grid-five,
  .case-grid,
  .case-grid-home,
  .benefit-grid,
  .recruit-position-grid {
    grid-template-columns: 1fr;
  }

  .case-body,
  .job-card-head,
  .job-detail-list,
  .privacy-consent-panel {
    padding: 22px;
  }

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

  .privacy-item dt {
    padding-bottom: 8px;
  }

  .privacy-item dd {
    padding-top: 10px;
  }

  .salary span {
    display: block;
    margin-left: 0;
    margin-top: 4px;
  }

  .hero-actions,
  .button-row,
  .contact-actions {
    flex-direction: column;
    align-items: stretch;
  }

  .button {
    width: 100%;
  }

  .grid-4,
  .service-grid,
  .flow-grid,
  .value-grid,
  .hero-badge-grid {
    grid-template-columns: 1fr;
  }

  .hero-home h1,
  .page-hero h1 {
    line-height: 1.24;
  }

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

  .company-table tr {
    border-bottom: 1px solid var(--line);
  }

  .company-table tr:last-child {
    border-bottom: 0;
  }

  .company-table th {
    border-bottom: 0;
    padding-bottom: 6px;
  }

  .company-table td {
    padding-top: 0;
  }

  .card,
  .feature-card,
  .service-card,
  .project-header,
  .project-body,
  .contact-card,
  .contact-panel,
  .quote-card,
  .info-block,
  .policy-panel,
  .value-card,
  .note-box,
  .cta-band,
  .hero-card {
    padding: 22px;
  }

  .map-frame iframe {
    min-height: 320px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* Recruit page updates: three application types and privacy consent */
.recruit-position-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 22px;
  align-items: stretch;
}

.recruit-position-card {
  display: flex;
  flex-direction: column;
  min-height: 100%;
}

.recruit-position-card .company-table {
  height: 100%;
}

.recruit-card-title {
  padding: 24px 24px 18px;
  border-bottom: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(240, 247, 250, 0.95), rgba(255, 255, 255, 1));
}

.recruit-card-title span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 5px 11px;
  border-radius: 999px;
  color: var(--primary-strong);
  background: rgba(62, 113, 134, 0.08);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.76rem;
}

.recruit-card-title h3 {
  margin: 0;
  font-size: 1.34rem;
  line-height: 1.35;
}

.recruit-card-title-freelance {
  background: linear-gradient(180deg, rgba(224, 239, 244, 0.98), rgba(255, 255, 255, 1));
}

.salary-highlight {
  color: var(--primary-strong) !important;
  font-size: 1.15rem;
}

.compact-list {
  gap: 8px;
}

.compact-list li {
  padding-left: 24px;
}

.compact-list li::before {
  width: 10px;
  height: 10px;
  top: 0.72em;
  box-shadow: 0 0 0 4px rgba(95, 158, 180, 0.10);
}

.benefit-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, #ffffff 0%, #f5f9fb 100%);
  border: 1px solid rgba(215, 227, 232, 0.95);
  box-shadow: var(--shadow-soft);
}

.benefit-card h3 {
  margin: 0 0 8px;
  color: var(--dark);
  font-size: 1.06rem;
  line-height: 1.35;
}

.benefit-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.96rem;
}

.privacy-panel {
  padding: 32px;
}

.privacy-lead {
  margin: 0 0 24px;
  color: var(--muted);
  font-weight: 700;
}

.privacy-table-wrap {
  box-shadow: none;
}

.privacy-table th {
  width: 230px;
}

.privacy-table td {
  color: var(--text);
}

.consent-area {
  margin-top: 26px;
  padding: 24px;
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(95, 158, 180, 0.10), rgba(156, 199, 212, 0.06));
  border: 1px solid rgba(215, 227, 232, 0.95);
}

.consent-check {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  color: var(--dark);
  font-weight: 900;
  cursor: pointer;
}

.consent-check input {
  width: 20px;
  height: 20px;
  margin-top: 0.35em;
  accent-color: var(--primary);
  flex: 0 0 auto;
}

.consent-help {
  margin: 12px 0 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.consent-help.is-alert {
  color: var(--primary-strong);
  font-weight: 800;
}

.consent-buttons {
  margin-top: 20px;
}

.button.is-disabled,
.button[aria-disabled="true"] {
  opacity: 0.52;
  box-shadow: none;
  cursor: not-allowed;
  filter: grayscale(0.15);
}

@media (max-width: 720px) {
  .recruit-position-grid {
    grid-template-columns: 1fr;
  }

  .privacy-panel,
  .consent-area {
    padding: 22px;
  }

  .privacy-table th {
    width: 100%;
  }
}


/* Recruit v5 additions */
.recruit-position-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.recruit-position-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.recruit-position-card .company-table {
  flex: 1;
}

.recruit-card-title {
  padding: 24px 24px 0;
}

.recruit-card-title span {
  display: inline-flex;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(62, 113, 134, 0.08);
  color: var(--primary-strong);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.recruit-card-title h3 {
  margin: 10px 0 18px;
  font-size: 1.38rem;
  line-height: 1.35;
}

.salary-highlight {
  color: var(--primary-strong) !important;
  font-size: 1.08rem;
}

.privacy-panel {
  padding: clamp(24px, 4vw, 40px);
  border-radius: var(--radius);
  background: #fff;
  border: 1px solid rgba(215, 227, 232, 0.95);
  box-shadow: var(--shadow);
}

.privacy-panel-head {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
}

.privacy-panel-head h3 {
  margin: 0;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.35;
}

.privacy-panel-head p {
  margin: 0;
  color: var(--muted);
}

.privacy-notice-grid {
  display: grid;
  gap: 14px;
  margin: 0;
}

.privacy-notice-grid > div {
  display: grid;
  grid-template-columns: 220px minmax(0, 1fr);
  gap: 18px;
  padding: 18px 20px;
  border-radius: 16px;
  background: rgba(247, 249, 251, 0.75);
  border: 1px solid rgba(215, 227, 232, 0.88);
}

.privacy-notice-grid dt {
  color: var(--primary-strong);
  font-weight: 900;
}

.privacy-notice-grid dd {
  margin: 0;
  color: var(--text);
}

.privacy-notice-grid a {
  color: var(--primary-strong);
  font-weight: 800;
  word-break: break-word;
}

.consent-box {
  margin-top: 24px;
  padding: 18px 20px;
  border-radius: 18px;
  background: linear-gradient(135deg, rgba(224, 239, 244, 0.72), rgba(255, 255, 255, 0.95));
  border: 1px solid rgba(215, 227, 232, 0.95);
}

.consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-weight: 800;
  line-height: 1.65;
}

.consent-label input {
  width: 22px;
  height: 22px;
  margin-top: 4px;
  accent-color: var(--primary);
  flex: 0 0 auto;
}

.apply-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  margin-top: 22px;
}

.consent-help {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.button.is-disabled,
.button[aria-disabled="true"] {
  opacity: 0.48;
  cursor: not-allowed;
  filter: grayscale(0.2);
}

.case-card.role-dev { --case-color: #1f56b5; }
.case-card.role-data { --case-color: #0f8f8f; }
.case-card.role-ai { --case-color: #8b35c9; }
.case-card.role-cloud { --case-color: #0f92cf; }
.case-card.role-infra { --case-color: #343434; }
.case-card.role-trade { --case-color: #667085; }

@media (max-width: 1100px) {
  .recruit-position-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 760px) {
  .recruit-position-grid {
    grid-template-columns: 1fr;
  }

  .privacy-notice-grid > div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 16px;
  }

  .apply-actions {
    align-items: stretch;
    flex-direction: column;
  }
}


/* Recruit v6: table-based recruitment layout and subpages */
.centered {
  text-align: center;
  align-items: center;
}

.recruit-page-hero .page-hero-inner {
  padding-top: 78px;
  padding-bottom: 68px;
}

.recruit-gateway-section {
  background: linear-gradient(180deg, rgba(247, 249, 251, 1), rgba(240, 247, 250, 0.62));
}

.recruit-tabs {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  max-width: 980px;
  margin: 0 auto 38px;
  border: 2px solid var(--primary);
  background: #fff;
  box-shadow: 0 16px 34px rgba(17, 19, 24, 0.07);
}

.recruit-tab {
  min-height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 14px 18px;
  color: var(--primary-strong);
  font-weight: 900;
  font-size: clamp(1rem, 2vw, 1.22rem);
  text-align: center;
  border-right: 2px solid var(--primary);
  background: #fff;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.recruit-tab:last-child {
  border-right: 0;
}

.recruit-tab:hover,
.recruit-tab:focus-visible,
.recruit-tab.is-active {
  outline: none;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

.recruit-entry-box {
  display: flex;
  justify-content: center;
  margin: 0 0 54px;
}

.recruit-entry-button {
  min-width: min(340px, 100%);
  min-height: 92px;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  padding: 20px 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-strong), var(--accent));
  border: 1px solid rgba(255, 255, 255, 0.3);
  box-shadow: 0 18px 40px rgba(62, 113, 134, 0.22);
  font-weight: 900;
  letter-spacing: 0.03em;
}

.recruit-entry-button strong {
  font-size: 1.1rem;
  letter-spacing: 0.04em;
}

.recruit-detail-stack {
  display: grid;
  gap: 34px;
}

.recruit-detail-card {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(215, 227, 232, 0.95);
  box-shadow: var(--shadow);
}

.recruit-detail-card-single {
  margin-top: 20px;
}

.recruit-detail-head {
  padding: clamp(24px, 4vw, 36px);
  border-bottom: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(240, 247, 250, 0.95), rgba(255, 255, 255, 0.96));
}

.recruit-detail-head h2,
.recruit-detail-head h3 {
  margin: 0;
  font-size: clamp(1.55rem, 2.5vw, 2.05rem);
  line-height: 1.35;
}

.recruit-detail-head p {
  margin: 12px 0 0;
  color: var(--muted);
  font-weight: 700;
}

.recruit-spec-wrap {
  border-radius: 0;
  box-shadow: none;
}

.recruit-spec-table th {
  width: 210px;
  background: rgba(95, 158, 180, 0.08);
  color: var(--primary-strong);
  font-weight: 900;
}

.recruit-spec-table td {
  background: #fff;
  line-height: 1.95;
}

.recruit-spec-table .plain-list,
.recruit-spec-table .compact-list {
  margin: 0;
}

.muted-small {
  color: var(--muted);
  font-size: 0.92rem;
}

.subnote {
  margin-top: 10px !important;
}

.recruit-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  padding: 22px clamp(22px, 4vw, 36px) 28px;
  background: #fff;
}

.recruit-sub-actions {
  justify-content: center;
  padding-top: 28px;
}

@media (max-width: 820px) {
  .recruit-tabs {
    grid-template-columns: 1fr;
    max-width: 560px;
  }

  .recruit-tab {
    min-height: 62px;
    border-right: 0;
    border-bottom: 2px solid var(--primary);
  }

  .recruit-tab:last-child {
    border-bottom: 0;
  }

  .recruit-entry-box {
    margin-bottom: 38px;
  }

  .recruit-card-actions,
  .recruit-sub-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

@media (max-width: 640px) {
  .recruit-spec-table,
  .recruit-spec-table tbody,
  .recruit-spec-table tr,
  .recruit-spec-table th,
  .recruit-spec-table td {
    display: block;
    width: 100%;
  }

  .recruit-spec-table th {
    padding: 14px 18px 8px;
    border-bottom: 0;
  }

  .recruit-spec-table td {
    padding: 8px 18px 18px;
  }

  .recruit-spec-table tr {
    border-bottom: 1px solid var(--line);
  }

  .recruit-spec-table tr:last-child {
    border-bottom: 0;
  }
}


/* Recruit v8: show application email only after privacy consent */
.apply-contact-actions {
  align-items: flex-start;
}

.apply-mail-panel[hidden] {
  display: none !important;
}

.apply-mail-panel {
  margin-top: 20px;
  padding: clamp(22px, 3vw, 30px);
  border-radius: 22px;
  border: 1px solid rgba(215, 227, 232, 0.95);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(240, 247, 250, 0.88));
  box-shadow: var(--shadow-soft);
}

.apply-mail-panel h3 {
  margin: 6px 0 12px;
  font-size: clamp(1.45rem, 2.6vw, 2rem);
  line-height: 1.25;
  word-break: break-word;
}

.apply-mail-panel h3 a {
  color: var(--primary-strong);
  text-decoration: underline;
  text-underline-offset: 5px;
}

.apply-mail-panel p {
  margin: 0 0 8px;
  color: var(--muted);
}

.apply-mail-panel p:last-child {
  margin-bottom: 0;
}


/* v9: subdued corporate tone and reduced red emphasis */
.site-header {
  background: rgba(255, 255, 255, 0.94);
  border-bottom-color: rgba(215, 227, 232, 0.9);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(95, 158, 180, 0.09);
  color: var(--primary-strong);
}

.site-nav .is-current a {
  background: rgba(95, 158, 180, 0.12);
  color: var(--primary-strong);
  border: 1px solid rgba(95, 158, 180, 0.16);
  box-shadow: none;
}

.menu-toggle {
  background: var(--surface-soft);
  color: var(--primary-strong);
}

.hero-home {
  background:
    radial-gradient(circle at 18% 18%, rgba(156, 199, 212, 0.18), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(255, 255, 255, 0.16), transparent 28%),
    linear-gradient(135deg, #2f4b5d 0%, #4f7f93 55%, #84b9c8 100%);
}

.page-hero {
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.18), transparent 26%),
    linear-gradient(135deg, #6aa8bd 0%, #8fc3d3 100%);
}

.hero-home::before,
.page-hero::before {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.18), rgba(95, 158, 180, 0.10));
}

.hero-home::after,
.page-hero::after {
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0));
}

.button-primary,
.recruit-entry-button,
.recruit-tab.is-active,
.recruit-tab:hover,
.recruit-tab:focus-visible,
.flow-card::before {
  background: linear-gradient(135deg, var(--primary-strong), var(--accent-strong));
  color: #fff;
}

.button-primary,
.recruit-entry-button {
  box-shadow: 0 16px 34px rgba(62, 113, 134, 0.18);
}

.recruit-tabs {
  border-color: rgba(95, 158, 180, 0.55);
}

.recruit-tab {
  color: var(--primary-strong);
  border-color: rgba(95, 158, 180, 0.55);
}

.case-card,
.hero-card,
.card,
.feature-card,
.service-card,
.project-card,
.quote-card,
.info-block,
.company-table-wrap,
.contact-card,
.contact-panel,
.map-card,
.note-box,
.cta-band,
.policy-panel,
.value-card,
.surface,
.recruit-detail-card,
.privacy-panel,
.benefit-card {
  border-color: rgba(215, 227, 232, 0.95);
}

.company-table th,
.recruit-spec-table th,
.privacy-notice-grid dt {
  background: rgba(95, 158, 180, 0.08);
  color: var(--primary-strong);
}

.tag-list li,
.meta-list li,
.job-label,
.recruit-card-title span,
.benefit-pill,
.consent-box,
.apply-mail-panel {
  border-color: rgba(215, 227, 232, 0.95);
}

.check-list li::before,
.policy-list li::before,
.contact-list li::before,
.plain-list li::before {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  box-shadow: 0 0 0 5px rgba(95, 158, 180, 0.10);
}

.card-icon,
.value-icon,
.service-icon {
  background: linear-gradient(135deg, rgba(95, 158, 180, 0.14), rgba(156, 199, 212, 0.18));
}

.footer-meta a,
.company-table a,
.contact-value a,
.inline-link,
.privacy-notice-grid a,
.apply-mail-panel h3 a {
  color: var(--primary-strong);
}


/* v10: 公開サイト用の最終調整。赤みを抑えた淡いブルーグレー基調に統一 */
:root {
  --primary: #6f9fb0;
  --primary-strong: #4e7f90;
  --accent: #b7d3dc;
  --accent-strong: #7faebe;
  --surface-soft: #f0f6f8;
  --surface-deep: #e4f0f4;
}

.site-nav .is-current a {
  background: rgba(111, 159, 176, 0.10);
  color: var(--primary-strong);
  border: 1px solid rgba(111, 159, 176, 0.14);
  box-shadow: none;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  background: rgba(111, 159, 176, 0.08);
  color: var(--primary-strong);
}

.hero-home {
  background:
    radial-gradient(circle at 18% 18%, rgba(255, 255, 255, 0.18), transparent 30%),
    radial-gradient(circle at 86% 20%, rgba(183, 211, 220, 0.24), transparent 30%),
    linear-gradient(135deg, #4f7485 0%, #6f9fb0 56%, #a8cbd6 100%);
}

.page-hero {
  color: var(--text);
  background:
    radial-gradient(circle at 82% 18%, rgba(255, 255, 255, 0.65), transparent 28%),
    linear-gradient(135deg, #f6fbfd 0%, #e8f3f7 58%, #d8eaf0 100%);
  border-bottom: 1px solid rgba(215, 227, 232, 0.95);
}

.page-hero .eyebrow {
  color: var(--primary-strong);
}

.page-hero h1 {
  color: var(--text);
}

.page-hero p {
  color: var(--muted);
}

.page-hero::before {
  background: linear-gradient(135deg, rgba(111, 159, 176, 0.12), rgba(183, 211, 220, 0.10));
}

.page-hero::after {
  background: radial-gradient(circle, rgba(111, 159, 176, 0.10), rgba(111, 159, 176, 0));
}

.button-primary,
.recruit-entry-button,
.recruit-tab.is-active,
.recruit-tab:hover,
.recruit-tab:focus-visible,
.flow-card::before {
  background: linear-gradient(135deg, #5f8fa2, #93bdca);
}

.company-table th,
.recruit-spec-table th,
.privacy-notice-grid dt {
  background: rgba(111, 159, 176, 0.08);
  color: var(--primary-strong);
}


/* v11: 事業領域追加・会社概要情報追加に伴う調整 */
.service-grid-six {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

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

.case-card.role-trade { --case-color: #5f7d8b; }

@media (max-width: 980px) {
  .service-grid-six,
  .case-grid-home {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .service-grid-six,
  .case-grid-home {
    grid-template-columns: 1fr;
  }
}


/* v12: ロゴサイズ・ページ上部サイズ調整 */
:root {
  --header-height: 60px;
}

.header-inner {
  min-height: var(--header-height);
  gap: 18px;
}

.brand img {
  width: auto;
  height: 42px;
  max-width: 96px;
  object-fit: contain;
}

.footer-brand img {
  width: auto;
  height: 42px;
  max-width: 96px;
  object-fit: contain;
}

.hero-logo {
  width: auto;
  height: 66px;
  max-width: 82px;
  object-fit: contain;
  margin-bottom: 16px;
}

.hero-card {
  padding: 24px;
}

.site-nav a {
  min-height: 40px;
  padding: 8px 14px;
  font-size: 0.9rem;
}

.page-hero-inner {
  padding: 46px 0 40px;
}

.page-hero h1 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}

.page-hero p {
  margin-top: 12px;
}

.page-section {
  padding-top: 64px;
  padding-bottom: 64px;
}

@media (max-width: 960px) {
  :root {
    --header-height: 58px;
  }

  .brand img,
  .footer-brand img {
    height: 38px;
    max-width: 88px;
  }

  .hero-logo {
    height: 58px;
    max-width: 74px;
  }

  .menu-toggle {
    width: 42px;
    height: 42px;
    border-radius: 14px;
  }

  .page-hero-inner {
    padding: 40px 0 34px;
  }
}

@media (max-width: 640px) {
  .brand img,
  .footer-brand img {
    height: 34px;
    max-width: 78px;
  }

  .hero-logo {
    height: 52px;
    max-width: 68px;
  }

  .page-section {
    padding-top: 54px;
    padding-bottom: 54px;
  }
}

/* v13: トップページのメインビジュアルをコンパクト化・囲み要素削除後の調整 */
.hero-grid {
  min-height: auto;
  padding: 36px 0 44px;
  grid-template-columns: minmax(0, 1.08fr) minmax(280px, 0.82fr);
  gap: 36px;
}

.hero-copy {
  max-width: 760px;
}

.hero-home h1 {
  max-width: 720px;
  font-size: clamp(2.05rem, 3.25vw, 3.15rem);
  line-height: 1.18;
  letter-spacing: 0.035em;
}

.hero-home .lead {
  margin-top: 16px;
  max-width: 700px;
  font-size: clamp(0.95rem, 1.15vw, 1.05rem);
  line-height: 1.85;
}

.hero-actions {
  margin-top: 22px;
}

.hero-tags {
  display: none !important;
}

.hero-card {
  max-width: 440px;
  justify-self: end;
  padding: 18px;
  border-radius: 22px;
}

.hero-logo {
  height: 48px;
  max-width: 64px;
  margin-bottom: 12px;
}

.hero-badge-grid {
  gap: 12px;
}

.hero-badge {
  padding: 12px 14px;
  border-radius: 16px;
}

.hero-badge strong {
  margin-bottom: 4px;
  font-size: 0.92rem;
}

.hero-badge span {
  font-size: 0.82rem;
  line-height: 1.65;
}

@media (max-width: 920px) {
  .hero-grid {
    padding: 38px 0 48px;
    gap: 28px;
  }

  .hero-card {
    justify-self: stretch;
    max-width: none;
  }
}

@media (max-width: 640px) {
  .hero-grid {
    padding: 32px 0 40px;
  }

  .hero-home h1 {
    font-size: clamp(1.9rem, 9vw, 2.55rem);
  }

  .hero-home .lead {
    font-size: 0.95rem;
  }
}

/* v13: 下層ページ上部もさらにコンパクト化 */
.page-hero-inner {
  padding: 32px 0 28px;
}

.page-hero h1 {
  font-size: clamp(1.65rem, 2.55vw, 2.35rem);
}

.page-hero p {
  margin-top: 8px;
  font-size: 0.95rem;
}

@media (max-width: 640px) {
  .page-hero-inner {
    padding: 28px 0 24px;
  }
}


/* v14: スマホ表示崩れ対策（ホーム・会社概要など全ページ共通） */
.hero-title-line {
  display: inline;
}

@media (max-width: 1100px) {
  .hero-grid,
  .split,
  .contact-layout {
    grid-template-columns: 1fr !important;
  }

  .hero-copy {
    max-width: 100%;
  }

  .hero-card {
    justify-self: stretch;
    max-width: 100%;
  }

  .visual-frame {
    width: 100%;
    max-width: 720px;
  }
}

@media (max-width: 960px) {
  :root {
    --container: min(100% - 24px, 1160px);
  }

  body {
    overflow-x: hidden;
  }

  .site-header {
    position: sticky;
  }

  .hero-home {
    overflow: hidden;
  }

  .hero-grid {
    display: grid;
    grid-template-columns: 1fr !important;
    padding: 30px 0 34px !important;
    gap: 22px;
    align-items: start;
  }

  .hero-home h1 {
    max-width: 100%;
    font-size: clamp(1.85rem, 6.8vw, 2.55rem);
    line-height: 1.28;
    letter-spacing: 0.02em;
    word-break: keep-all;
    overflow-wrap: normal;
  }

  .hero-home .lead {
    max-width: 100%;
    margin-top: 14px;
    font-size: 0.95rem;
    line-height: 1.78;
  }

  .hero-actions {
    margin-top: 20px;
  }

  .hero-card {
    padding: 16px;
    border-radius: 20px;
  }

  .hero-badge-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
  }

  .hero-badge {
    padding: 12px;
    border-radius: 16px;
  }

  .hero-badge strong {
    font-size: 0.9rem;
  }

  .hero-badge span {
    font-size: 0.8rem;
    line-height: 1.65;
  }

  .page-hero-inner {
    padding: 24px 0 22px;
  }

  .page-hero h1 {
    font-size: clamp(1.5rem, 5vw, 2rem);
  }

  .page-hero p {
    font-size: 0.9rem;
    line-height: 1.7;
  }

  .section,
  .page-section {
    padding: 54px 0;
  }

  .section-head {
    gap: 8px;
    margin-bottom: 24px;
  }

  .section-head h2 {
    font-size: clamp(1.45rem, 5vw, 2rem);
  }

  .company-table-wrap,
  .map-card,
  .contact-card,
  .privacy-panel,
  .recruit-detail-card {
    border-radius: 18px;
  }

  .map-caption {
    padding: 18px;
  }

  .map-frame iframe {
    min-height: 300px;
  }
}

@media (max-width: 640px) {
  :root {
    --container: calc(100% - 28px);
  }

  .header-inner {
    min-height: 58px;
    gap: 12px;
  }

  .brand img {
    height: 32px;
    max-width: 74px;
  }

  .menu-toggle {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .hero-grid {
    padding: 24px 0 30px !important;
    gap: 18px;
  }

  .hero-title-line {
    display: block;
  }

  .hero-home h1 {
    font-size: clamp(1.58rem, 7.1vw, 2.02rem);
    line-height: 1.34;
  }

  .eyebrow,
  .kicker {
    margin-bottom: 10px;
    font-size: 0.76rem;
    letter-spacing: 0.1em;
  }

  .eyebrow::before,
  .kicker::before {
    width: 30px;
  }

  .hero-home .lead {
    font-size: 0.9rem;
    line-height: 1.75;
  }

  .hero-actions,
  .button-row,
  .contact-actions {
    gap: 10px;
  }

  .button {
    min-height: 42px;
    padding: 0 16px;
  }

  .hero-card {
    padding: 14px;
  }

  .hero-logo {
    height: 40px;
    max-width: 56px;
    margin-bottom: 10px;
  }

  .hero-badge-grid {
    grid-template-columns: 1fr;
  }

  .hero-badge {
    padding: 10px 12px;
  }

  .section,
  .page-section {
    padding: 44px 0;
  }

  .page-hero-inner {
    padding: 22px 0 20px;
  }

  .page-hero h1 {
    font-size: 1.55rem;
  }

  .page-hero p {
    margin-top: 6px;
  }

  .company-table th,
  .company-table td,
  .recruit-spec-table th,
  .recruit-spec-table td {
    padding-left: 16px;
    padding-right: 16px;
  }

  .company-table td,
  .recruit-spec-table td {
    word-break: break-word;
    overflow-wrap: anywhere;
  }

  .card,
  .feature-card,
  .service-card,
  .project-header,
  .project-body,
  .contact-card,
  .contact-panel,
  .quote-card,
  .info-block,
  .policy-panel,
  .value-card,
  .note-box,
  .cta-band,
  .hero-card,
  .privacy-panel,
  .consent-box,
  .apply-mail-panel {
    padding: 18px;
  }

  .visual-frame {
    border-radius: 20px;
  }

  .visual-caption {
    padding: 14px 16px;
    font-size: 0.86rem;
  }

  .map-frame iframe {
    min-height: 260px;
  }

  .footer-inner {
    padding: 28px 0;
  }

  .footer-brand img {
    height: 34px;
    max-width: 78px;
  }
}

@media (max-width: 380px) {
  .hero-home h1 {
    font-size: 1.44rem;
  }

  .hero-home .lead {
    font-size: 0.88rem;
  }
}
