:root {
  --brand: #2b7bbf;
  --text: #111;
  --muted: #666;
  --line: #c0c0c0;
  --card: #fff;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  padding: 0;
}

body {
  font-family:
    system-ui,
    -apple-system,
    "Segoe UI",
    Roboto,
    "Noto Sans JP",
    sans-serif;
  color: var(--text);
  background: #fff;
}

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

.container {
  width: min(962px, calc(100% - 32px));
  margin: 0 auto;
}

/* 見出し・本文 */
.h2 {
  font-size: 22px;
  margin: 0 0 12px;
  letter-spacing: 0.02em;
  padding-bottom: 5px;
}

.lead {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  width: 100%;
}

/* ふわっと表示 */
.reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1.2s ease,
    transform 1.2s ease;
  will-change: opacity, transform;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.reveal.delay-1 {
  transition-delay: 0.15s;
}

.reveal.delay-2 {
  transition-delay: 0.35s;
}

/* Header */
.site-header {
  background: #fff;
  border-bottom: 1px solid var(--line);
}

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

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

.logo {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.brand-text {
  font-size: 18px;
  color: #222;
}

.nav {
  display: flex;
  align-items: center;
  gap: 40px;
  font-size: 14px;
}

/* Hero */
.hero {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  opacity: 0;
  transition: opacity 4.5s ease;
  will-change: opacity;
}

.hero-bg--a {
  opacity: 1;
}

.hero-diagonal {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(140, 190, 205, 0.55) 0%,
    rgba(140, 190, 205, 0.25) 60%,
    rgba(140, 190, 205, 0) 100%
  );
  clip-path: polygon(0 0, 58% 0, 42% 100%, 0 100%);
}

.hero-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
}

.hero-kicker {
  margin: 0;
  font-size: 30px;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

.hero-title {
  margin: 8px 0 0;
  font-size: 40px;
  letter-spacing: 0.03em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.35);
}

/* Sections */
.section {
  padding: 28px 0;
}

.grid-2 {
  display: grid;
  grid-template-columns: 0.9fr 0.9fr;
  gap: 22px;
  align-items: center;
  height: auto;
}

.card {
  height: 270px;
  background: var(--card);
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 40px 30px;
  box-shadow:
    6px 6px 10px rgba(0, 0, 0, 0.1),
    17px 17px 33px rgba(0, 0, 0, 0.14);
}

/* News */
.news {
  list-style: none;
  padding: 0;
  margin: 0;
  max-height: 130px;
  overflow-y: auto;
}

.news-item {
  display: grid;
  grid-template-columns: 110px 1fr;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f0f0f0;
  font-size: 14px;
}

.news-item time {
  color: #444;
}

/* 事業内容 */
.band {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.band-bg {
  position: absolute;
  inset: 0;
  background: url("img/jigyouBI.png") center/cover no-repeat;
  transform: scale(1.02);
}

.band-overlay {
  position: absolute;
  inset: 0;
}

.band-inner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
}

.band-panel {
  width: 100%;
}

.band-lead-desctop {
  margin: 0;
  color: var(--muted);
  line-height: 1.85;
  width: 100%;
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

.band-lead-mobile {
  display: none;
}

/* 会社概要 */
.dl {
  border-top: 1px solid var(--line);
  margin-bottom: 0;
}

.dl-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 12px;
  padding: 12px 0;
}

dt {
  color: var(--muted);
}

dd {
  margin: 0;
  line-height: 1.8;
}

.mobile{
  display: none;
}

/* Recruit */
.recruit {
  position: relative;
  height: 450px;
  overflow: hidden;
}

.recruit-bg {
  position: absolute;
  inset: 0;
  background: url("/img/saiyou.jpg") center/cover no-repeat;
  transform: scale(1.02);
}

.recruit-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.25) 55%,
    rgba(0, 0, 0, 0.12) 100%
  );
}

.recruit-inner {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.h2-light {
  color: #fff;
}

.lead-light {
  color: rgba(255, 255, 255, 0.9);
  border-top: 1px solid var(--line);
  padding-top: 12px;
}

/* Contact */
.contact {
  padding: 40px 0;
}

.formmailer-embed {
  width: 100%;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 18px 0;
  color: #666;
  font-size: 14px;
}

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

.footer-title {
  font-weight: 600;
  color: #333;
}

.footer-sub {
  margin-top: 4px;
}

/* Responsive */
@media (max-width: 860px) {
  .card {
    height: auto;
  }

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

  .brand-text {
    display: none;
  }

  .nav {
    gap: 12px;
    font-size: 13px;
  }

  .hero-title {
    font-size: 30px;
  }

  .dl-row {
    grid-template-columns: 120px 1fr;
  }

  .band {
    height: auto;
  }

  .recruit {
    height: 320.44px;
  }

  .band-inner {
    padding: 22px 0;
  }

  .news {
    max-height: 130px;
    overflow-y: auto;
  }

  .band-lead-desctop {
    display: none;
  }

  .band-lead-mobile {
    display: block;
    margin: 0;
    color: var(--muted);
    line-height: 1.85;
    width: 100%;
    border-top: 1px solid var(--line);
    padding-top: 12px;
  }

  .desctop{
    display: none;
  }

  dd.mobile{
    display: block;
  }
}