/* ============================================================
   株式会社眞邑コーポレーション — Style
   信頼×重厚（ネイビー基調）
   ============================================================ */

:root {
  /* Color */
  --navy-900: #06122b;
  --navy-800: #0a1f44;
  --navy-700: #102a5c;
  --navy-600: #1b3b78;
  --steel: #3a5a9c;
  --gold: #c8a45c;
  --gold-soft: #e2c98c;
  --ink: #14203a;
  --paper: #f5f6f8;
  --paper-2: #eceef2;
  --white: #ffffff;
  --muted: #6b7689;
  --line: #d8dce4;

  /* Type */
  --font-base: "Noto Sans JP", system-ui, sans-serif;
  --font-head: "Zen Kaku Gothic New", "Noto Sans JP", sans-serif;

  /* Layout */
  --container: 1120px;
  --radius: 14px;
  --radius-lg: 22px;
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --header-h: 76px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--ink);
  background: var(--paper);
  line-height: 1.85;
  font-weight: 400;
  letter-spacing: 0.02em;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul, dl, dd { margin: 0; padding: 0; list-style: none; }
h1, h2, h3 { font-family: var(--font-head); line-height: 1.35; margin: 0; font-weight: 900; }

.container { width: min(100% - 48px, var(--container)); margin-inline: auto; }
.container--narrow { width: min(100% - 48px, 820px); }
.sp-only { display: none; }
/* 日本語が単語の途中で折れないように、文節ごとに改行させるユーティリティ */
.phrase { display: inline-block; }

/* ---------- Scroll progress ---------- */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px; width: 0%;
  background: linear-gradient(90deg, var(--gold), var(--gold-soft));
  z-index: 1000; transition: width 0.1s linear;
}

/* ---------- Header ---------- */
.header {
  position: fixed; top: 0; left: 0; width: 100%; z-index: 900;
  height: var(--header-h);
  display: flex; align-items: center;
  background: linear-gradient(180deg, rgba(6, 18, 43, 0.55) 0%, rgba(6, 18, 43, 0) 100%);
  transition: background 0.4s var(--ease), box-shadow 0.4s var(--ease), backdrop-filter 0.4s;
}
.header.is-scrolled {
  background: rgba(6, 18, 43, 0.86);
  backdrop-filter: blur(10px);
  box-shadow: 0 6px 30px rgba(0, 0, 0, 0.25);
}
.header--solid {
  position: sticky; background: var(--navy-900);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}
.header__inner {
  width: min(100% - 48px, var(--container));
  margin-inline: auto;
  display: flex; align-items: center; justify-content: space-between;
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand__mark {
  font-family: var(--font-head); font-weight: 900; flex: none;
  display: grid; place-items: center;
  width: 42px; height: 42px; border-radius: 10px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--navy-900); font-size: 17px; letter-spacing: 0.04em;
  box-shadow: 0 4px 14px rgba(200, 164, 92, 0.4);
}
.brand__text { display: flex; flex-direction: column; line-height: 1.2; }
.brand__name { font-family: var(--font-head); font-weight: 700; font-size: 17px; white-space: nowrap; }
.brand__sub { font-size: 10px; letter-spacing: 0.22em; color: var(--gold-soft); }

.nav { display: flex; align-items: center; gap: 6px; }
.nav__link {
  color: rgba(255, 255, 255, 0.86); font-size: 14px; font-weight: 500;
  padding: 8px 14px; border-radius: 8px; position: relative; white-space: nowrap;
  transition: color 0.25s, background 0.25s;
}
.nav__link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 4px;
  height: 1.5px; background: var(--gold); transform: scaleX(0); transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav__link:hover { color: var(--white); }
.nav__link:hover::after { transform: scaleX(1); }
.nav__cta {
  margin-left: 8px; color: var(--navy-900); font-weight: 700; font-size: 14px;
  padding: 10px 20px; border-radius: 999px;
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  transition: transform 0.25s var(--ease), box-shadow 0.25s;
}
.nav__cta:hover { transform: translateY(-2px); box-shadow: 0 8px 20px rgba(200, 164, 92, 0.45); }

/* Hamburger */
.nav-toggle {
  display: none; width: 44px; height: 44px; border: 0; background: transparent;
  cursor: pointer; padding: 10px; z-index: 950;
}
.nav-toggle span {
  display: block; height: 2px; width: 100%; background: var(--white);
  border-radius: 2px; transition: transform 0.35s var(--ease), opacity 0.25s;
}
.nav-toggle span + span { margin-top: 6px; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { opacity: 0; }
.nav-toggle.is-open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; letter-spacing: 0.04em;
  padding: 15px 32px; border-radius: 999px; cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.3s, background 0.3s;
  text-align: center; line-height: 1.3;
}
.btn--primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-soft));
  color: var(--navy-900);
  box-shadow: 0 10px 28px rgba(200, 164, 92, 0.4);
}
.btn--primary:hover { transform: translateY(-3px); box-shadow: 0 16px 36px rgba(200, 164, 92, 0.5); }
.btn--ghost {
  background: transparent; color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.5);
}
.btn--ghost:hover { background: rgba(255, 255, 255, 0.08); border-color: var(--white); transform: translateY(-3px); }
.btn--lg { padding: 18px 38px; }
.btn__small { font-size: 11px; font-weight: 500; opacity: 0.8; letter-spacing: 0.1em; }
.btn__big { font-size: 20px; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; flex-direction: column; justify-content: center;
  color: var(--white); overflow: hidden;
  padding: calc(var(--header-h) + 40px) 0 80px;
  background: radial-gradient(120% 90% at 80% 0%, var(--navy-700) 0%, var(--navy-900) 55%, #030b1c 100%);
}
.hero__bg { position: absolute; inset: 0; z-index: 0; }
.hero__slides { position: absolute; inset: 0; }
.hero__slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center 35%; background-repeat: no-repeat;
  opacity: 0; transform: scale(1.06);
  transition: opacity 1.4s var(--ease);
  will-change: opacity;
}
.hero__slide.is-active {
  opacity: 1;
  animation: heroKenburns 8s ease-out forwards;
}
@keyframes heroKenburns {
  from { transform: scale(1.06); }
  to   { transform: scale(1.12); }
}
.hero__overlay {
  position: absolute; inset: 0;
  background:
    linear-gradient(180deg, rgba(8,22,48,0.34) 0%, rgba(8,22,48,0.5) 58%, rgba(8,20,46,0.82) 100%),
    linear-gradient(105deg, rgba(8,22,48,0.66) 0%, rgba(8,22,48,0.2) 52%, rgba(8,22,48,0) 100%);
}
.hero__grid {
  position: absolute; inset: 0;
  background-image:
    radial-gradient(120% 80% at 70% 18%, rgba(6,18,43,0) 28%, var(--navy-900) 78%),
    linear-gradient(rgba(255,255,255,0.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.045) 1px, transparent 1px);
  background-size: 100% 100%, 64px 64px, 64px 64px;
}
.hero__glow {
  position: absolute; width: 60vw; height: 60vw; max-width: 720px; max-height: 720px;
  right: -10%; top: -15%;
  background: radial-gradient(circle, rgba(200,164,92,0.20), transparent 68%);
}
.hero__inner { position: relative; z-index: 2; width: min(100% - 48px, var(--container)); margin-inline: auto; }

.hero__eyebrow {
  display: inline-block; font-size: 13px; letter-spacing: 0.2em; font-weight: 700;
  color: var(--gold-soft); margin: 0 0 22px;
  padding: 7px 16px; border: 1px solid rgba(200,164,92,0.4); border-radius: 999px;
}
.hero__title {
  font-size: clamp(2.1rem, 6vw, 4rem); font-weight: 900; letter-spacing: 0.01em;
  margin: 0 0 26px; text-shadow: 0 4px 30px rgba(0,0,0,0.4);
}
.hero__accent {
  background: linear-gradient(120deg, var(--gold), var(--gold-soft));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead {
  font-size: clamp(0.95rem, 1.8vw, 1.18rem); color: rgba(255,255,255,0.82);
  max-width: 640px; margin: 0 0 40px; font-weight: 400;
}
.hero__actions { display: flex; flex-wrap: wrap; gap: 16px; margin-bottom: 64px; }

.hero__stats {
  display: flex; flex-wrap: wrap; gap: 40px 56px; max-width: 640px;
  padding-top: 36px; border-top: 1px solid rgba(255,255,255,0.14);
}
.hero__num {
  display: block; font-family: var(--font-head); font-weight: 900;
  font-size: clamp(2rem, 4vw, 2.9rem); color: var(--white);
  line-height: 1; letter-spacing: 0.02em;
}
.hero__num--text { font-size: clamp(1.5rem, 3vw, 2.1rem); color: var(--gold-soft); }
.hero__num-label { display: block; font-size: 13px; color: rgba(255,255,255,0.6); margin-top: 8px; }

.hero__dots {
  position: absolute; bottom: 30px; right: clamp(24px, 5vw, 64px); z-index: 4;
  display: flex; gap: 10px;
}
.hero__dots button {
  width: 30px; height: 4px; border: 0; padding: 0; border-radius: 999px; cursor: pointer;
  background: rgba(255, 255, 255, 0.35); transition: background 0.3s, transform 0.3s var(--ease);
}
.hero__dots button:hover { background: rgba(255, 255, 255, 0.6); }
.hero__dots button.is-active { background: linear-gradient(90deg, var(--gold), var(--gold-soft)); transform: scaleY(1.5); }

.hero__scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  z-index: 3; width: 26px; height: 42px; border: 2px solid rgba(255,255,255,0.4);
  border-radius: 999px; display: grid; place-items: start center; padding-top: 8px;
}
.hero__scroll span {
  width: 4px; height: 8px; border-radius: 999px; background: var(--gold-soft);
  animation: scrollDot 1.7s var(--ease) infinite;
}
@keyframes scrollDot {
  0% { opacity: 0; transform: translateY(0); }
  40% { opacity: 1; }
  80% { opacity: 0; transform: translateY(14px); }
  100% { opacity: 0; }
}

/* ---------- Section base ---------- */
.section { padding: clamp(72px, 11vw, 140px) 0; position: relative; }
.section__head { margin-bottom: 56px; max-width: 760px; }
.section__label {
  display: inline-block; font-family: var(--font-head); font-weight: 700;
  font-size: 12px; letter-spacing: 0.28em; color: var(--gold);
  text-transform: uppercase; margin-bottom: 16px;
  position: relative; padding-left: 38px;
}
.section__label::before {
  content: ""; position: absolute; left: 0; top: 50%; width: 28px; height: 2px;
  background: var(--gold); transform: translateY(-50%);
}
.section__title { font-size: clamp(1.6rem, 3.6vw, 2.5rem); color: var(--navy-800); letter-spacing: 0.01em; }
.section__desc { margin: 18px 0 0; color: var(--muted); font-size: 15px; }
.section__note { margin: 24px 0 0; color: var(--muted); font-size: 12.5px; text-align: right; }

/* ---------- About ---------- */
.about { background: var(--white); }
.about__body { max-width: 820px; }
.about__lead {
  font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.15rem, 2.4vw, 1.6rem); color: var(--navy-700);
  line-height: 1.7; margin: 0 0 24px;
}
.about__body p { color: #3a4660; margin: 0; }

/* ---------- Business cards ---------- */
.business { background: var(--paper); }
.cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 22px; }
.card {
  position: relative; background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(10, 31, 68, 0.18); border-color: transparent; }

.card__media { position: relative; aspect-ratio: 16 / 10; overflow: hidden; }
.card__media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform 0.6s var(--ease); filter: saturate(0.95);
}
.card:hover .card__media img { transform: scale(1.07); }
.card__media::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(6,18,43,0) 40%, rgba(6,18,43,0.55) 100%);
}
.card__no {
  position: absolute; left: 18px; bottom: 12px; z-index: 2;
  font-family: var(--font-head); font-weight: 900; font-size: 34px;
  color: var(--white); line-height: 1; letter-spacing: 0.02em;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}
.card__body { padding: 26px 28px 28px; display: flex; flex-direction: column; flex: 1; }
.card__title { font-size: 1.3rem; color: var(--navy-800); margin-bottom: 12px; }
.card__text { font-size: 14.5px; color: #4a5670; margin: 0 0 20px; }
.card__tag {
  display: inline-block; align-self: flex-start; margin-top: auto;
  font-size: 11px; font-weight: 700; letter-spacing: 0.08em;
  color: var(--steel); background: rgba(58,90,156,0.1); padding: 5px 12px; border-radius: 999px;
}
.card--accent { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); border-color: transparent; }
.card--accent .card__title { color: var(--white); }
.card--accent .card__text { color: rgba(255,255,255,0.78); }
.card--accent .card__tag { color: var(--gold-soft); background: rgba(200,164,92,0.16); }
.card--accent .card__no { color: var(--gold-soft); }

/* ---------- Strength ---------- */
.strength { background: linear-gradient(180deg, #f7f9fc 0%, #eef2f8 100%); }
.strength__list { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 24px; }
.strength__item {
  padding: 36px 30px; border-radius: var(--radius-lg);
  background: var(--white); border: 1px solid var(--line);
  box-shadow: 0 8px 24px rgba(10, 31, 68, 0.05);
  transition: transform 0.4s var(--ease), box-shadow 0.4s;
}
.strength__item:hover { transform: translateY(-6px); box-shadow: 0 20px 40px rgba(10, 31, 68, 0.12); }
.strength__icon {
  display: grid; place-items: center; width: 54px; height: 54px; border-radius: 14px;
  background: linear-gradient(135deg, var(--navy-700), var(--steel)); color: var(--gold-soft);
  font-size: 24px; font-weight: 900; margin-bottom: 22px;
  box-shadow: 0 6px 16px rgba(16, 42, 92, 0.25);
}
.strength__item h3 { font-size: 1.2rem; color: var(--navy-800); margin-bottom: 12px; }
.strength__item p { font-size: 14.5px; color: #4a5670; margin: 0; }

/* ---------- Service Area ---------- */
.area { background: var(--white); }
.area__card {
  display: grid; grid-template-columns: 1.1fr 0.9fr; gap: clamp(28px, 4vw, 56px);
  align-items: center;
  background: linear-gradient(150deg, var(--navy-800), var(--navy-700));
  border-radius: var(--radius-lg); padding: clamp(36px, 5vw, 64px);
  position: relative; overflow: hidden;
}
.area__card::before {
  content: ""; position: absolute; right: -8%; top: -20%;
  width: 50%; height: 140%;
  background: radial-gradient(circle, rgba(200,164,92,0.18), transparent 65%);
}
.area__text { position: relative; }
.area__text .section__label { color: var(--gold); }
.area__title { font-size: clamp(1.5rem, 3.4vw, 2.3rem); color: var(--white); margin: 6px 0 16px; }
.area__lead { color: rgba(255,255,255,0.78); font-size: 15px; margin: 0 0 28px; }
.area__list {
  position: relative; display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px;
}
.area__list li {
  display: flex; align-items: center; gap: 10px;
  padding: 14px 18px; border-radius: var(--radius);
  background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.1);
  color: var(--white); font-weight: 700; font-size: 14.5px;
  font-family: var(--font-head); transition: background 0.3s, transform 0.3s var(--ease);
}
.area__list li::before {
  content: ""; width: 8px; height: 8px; border-radius: 999px;
  background: var(--gold-soft); flex: none;
}
.area__list li:hover { background: rgba(255,255,255,0.1); transform: translateY(-3px); }

/* ---------- Recruit & Partner ---------- */
.recruit { background: var(--paper); }
.recruit__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); gap: 22px; }
.recruit__card {
  display: flex; flex-direction: column;
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: 36px 32px; position: relative; overflow: hidden;
  transition: transform 0.4s var(--ease), box-shadow 0.4s, border-color 0.4s;
}
.recruit__card::before {
  content: ""; position: absolute; left: 0; top: 0; width: 4px; height: 100%;
  background: linear-gradient(180deg, var(--navy-600), var(--steel));
  transform: scaleY(0); transform-origin: top; transition: transform 0.5s var(--ease);
}
.recruit__card:hover { transform: translateY(-8px); box-shadow: 0 24px 50px rgba(10, 31, 68, 0.16); border-color: transparent; }
.recruit__card:hover::before { transform: scaleY(1); }
.recruit__tag {
  display: inline-block; align-self: flex-start;
  font-size: 11.5px; font-weight: 700; letter-spacing: 0.06em;
  color: var(--steel); background: rgba(58,90,156,0.1);
  padding: 6px 14px; border-radius: 999px; margin-bottom: 18px;
}
.recruit__title { font-size: 1.35rem; color: var(--navy-800); margin-bottom: 14px; }
.recruit__text { font-size: 14.5px; color: #4a5670; margin: 0 0 24px; }
.recruit__link {
  margin-top: auto; align-self: flex-start;
  font-family: var(--font-head); font-weight: 700; font-size: 14px; color: var(--navy-700);
  display: inline-flex; align-items: center; gap: 8px;
}
.recruit__link::after { content: "→"; transition: transform 0.3s var(--ease); }
.recruit__link:hover { color: var(--steel); }
.recruit__link:hover::after { transform: translateX(5px); }
.recruit__card--accent { background: linear-gradient(160deg, var(--navy-800), var(--navy-700)); border-color: transparent; }
.recruit__card--accent::before { background: linear-gradient(180deg, var(--gold), var(--gold-soft)); }
.recruit__card--accent .recruit__tag { color: var(--gold-soft); background: rgba(200,164,92,0.16); }
.recruit__card--accent .recruit__title { color: var(--white); }
.recruit__card--accent .recruit__text { color: rgba(255,255,255,0.78); }
.recruit__card--accent .recruit__link { color: var(--gold-soft); }
.recruit__card--accent .recruit__link:hover { color: var(--white); }

/* ---------- Legal / Subpage ---------- */
.legal-hero {
  background: radial-gradient(120% 100% at 80% 0%, var(--navy-700), var(--navy-900) 60%);
  color: var(--white); padding: clamp(48px, 8vw, 88px) 0 clamp(36px, 5vw, 56px);
}
.legal-hero__eyebrow {
  font-family: var(--font-head); font-weight: 700; font-size: 12px;
  letter-spacing: 0.28em; color: var(--gold); text-transform: uppercase; margin: 0 0 12px;
}
.legal-hero__title { font-size: clamp(1.7rem, 4vw, 2.6rem); color: var(--white); margin: 0; }

.legal { background: var(--white); }
.legal__intro { color: #3a4660; margin: 0 0 40px; font-size: 15px; }
.legal__block { margin-bottom: 38px; }
.legal__block h2 {
  font-size: 1.2rem; color: var(--navy-800); margin: 0 0 14px;
  padding-bottom: 12px; border-bottom: 2px solid var(--paper-2);
}
.legal__block p { color: #3a4660; margin: 0 0 12px; font-size: 14.5px; }
.legal__block ul { padding-left: 1.3em; margin: 0; }
.legal__block li { color: #3a4660; font-size: 14.5px; margin-bottom: 8px; list-style: disc; }
.legal__company {
  background: var(--paper); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 26px; margin-top: 16px;
}
.legal__company p { margin: 0 0 6px; }
.legal__company a { color: var(--steel); text-decoration: underline; text-underline-offset: 2px; }
.legal__date { color: var(--muted); font-size: 13px; margin: 0 0 40px; }
.legal__back { margin: 0; }

/* ---------- Company info ---------- */
.company { background: var(--paper); }
.info {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--line); overflow: hidden; max-width: 880px;
}
.info__row { display: grid; grid-template-columns: 220px 1fr; }
.info__row + .info__row { border-top: 1px solid var(--line); }
.info dt {
  font-family: var(--font-head); font-weight: 700; font-size: 14px;
  color: var(--navy-800); background: var(--paper);
  padding: 18px 26px; display: flex; align-items: center;
}
.info dd { padding: 18px 26px; font-size: 14.5px; color: #3a4660; }

/* ---------- Contact ---------- */
.contact { background: linear-gradient(180deg, #ffffff 0%, #f3f6fb 100%); }
.contact__grid {
  display: grid; grid-template-columns: 0.85fr 1.15fr; gap: 28px; align-items: stretch;
}

/* 連絡先サイド */
.contact__side {
  position: relative; overflow: hidden;
  background: radial-gradient(130% 120% at 90% 0%, var(--navy-700), var(--navy-900) 65%);
  color: var(--white); border-radius: var(--radius-lg);
  padding: clamp(32px, 4vw, 44px);
  display: flex; flex-direction: column;
}
.contact__side::before {
  content: ""; position: absolute; right: -10%; top: -10%;
  width: 60%; height: 60%;
  background: radial-gradient(circle, rgba(200,164,92,0.2), transparent 65%);
}
.contact__side-lead {
  position: relative; font-family: var(--font-head); font-weight: 700;
  font-size: clamp(1.2rem, 2.2vw, 1.5rem); line-height: 1.5; margin: 0 0 28px;
}
.contact__line {
  position: relative; display: flex; flex-direction: column; gap: 2px;
  padding: 16px 0; border-top: 1px solid rgba(255,255,255,0.14);
  transition: color 0.25s;
}
.contact__line:last-of-type { border-bottom: 1px solid rgba(255,255,255,0.14); }
.contact__line-label { font-size: 11px; letter-spacing: 0.2em; color: var(--gold-soft); font-weight: 700; }
.contact__line-val { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.15rem, 2vw, 1.45rem); }
.contact__line:hover .contact__line-val { color: var(--gold-soft); }
.contact__meta { position: relative; margin-top: auto; padding-top: 26px; display: grid; gap: 10px; }
.contact__meta p { margin: 0; font-size: 12.5px; color: rgba(255,255,255,0.72); line-height: 1.6; }
.contact__meta span { display: block; font-size: 10.5px; letter-spacing: 0.12em; color: var(--gold-soft); font-weight: 700; }

/* フォーム */
.contact__form {
  background: var(--white); border: 1px solid var(--line); border-radius: var(--radius-lg);
  padding: clamp(28px, 4vw, 44px); box-shadow: 0 16px 40px rgba(10, 31, 68, 0.08);
}
.form__note { margin: 0 0 24px; font-size: 13px; color: var(--muted); }
.req-mark { color: #d8584f; font-weight: 700; }
.form__row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form__field { display: flex; flex-direction: column; gap: 8px; margin-bottom: 18px; }
.form__label { font-family: var(--font-head); font-weight: 700; font-size: 13.5px; color: var(--navy-800); }
.contact__form input,
.contact__form select,
.contact__form textarea {
  width: 100%; font-family: var(--font-base); font-size: 15px; color: var(--ink);
  padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px;
  background: #fbfcfe; transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
}
.contact__form textarea { resize: vertical; min-height: 130px; line-height: 1.7; }
.contact__form input:focus,
.contact__form select:focus,
.contact__form textarea:focus {
  outline: none; border-color: var(--steel); background: var(--white);
  box-shadow: 0 0 0 3px rgba(58, 90, 156, 0.15);
}
.contact__form input::placeholder,
.contact__form textarea::placeholder { color: #aab2c0; }
.form__selectwrap { position: relative; display: block; }
.form__selectwrap::after {
  content: ""; position: absolute; right: 16px; top: 50%; width: 9px; height: 9px;
  border-right: 2px solid var(--steel); border-bottom: 2px solid var(--steel);
  transform: translateY(-65%) rotate(45deg); pointer-events: none;
}
.contact__form select { appearance: none; -webkit-appearance: none; cursor: pointer; padding-right: 40px; }
.form__field.is-invalid input,
.form__field.is-invalid textarea { border-color: #d8584f; background: #fdf5f4; }
.form__error { font-size: 12px; color: #d8584f; min-height: 0; display: none; }
.form__field.is-invalid .form__error { display: block; }
.form__consent { margin-bottom: 22px; }
.form__consent-label {
  display: flex; align-items: flex-start; gap: 11px; cursor: pointer;
  font-size: 13.5px; color: #3a4660; line-height: 1.7;
}
.form__consent-label input { width: 20px; height: 20px; margin-top: 2px; flex: none; accent-color: var(--navy-700); cursor: pointer; }
.form__consent-label a { color: var(--steel); text-decoration: underline; text-underline-offset: 2px; }
.form__consent-label a:hover { color: var(--navy-700); }
.form__consent.is-invalid .form__consent-label { color: #d8584f; }

.form__submit { display: flex; flex-wrap: wrap; align-items: center; gap: 18px; margin-top: 8px; }
.form__submit .btn { min-width: 180px; }
.btn[disabled] { opacity: 0.6; cursor: progress; transform: none !important; box-shadow: none; }
.form__status { margin: 0; font-size: 13.5px; font-weight: 700; }
.form__status.is-ok { color: #2e8b6f; }
.form__status.is-error { color: #d8584f; }

/* ---------- Footer ---------- */
.footer { background: var(--navy-900); color: rgba(255,255,255,0.7); padding: 56px 0 30px; }
.footer__inner { display: grid; gap: 30px; }
.footer__brand { display: flex; align-items: center; gap: 16px; }
.footer__name { font-family: var(--font-head); font-weight: 700; color: var(--white); margin: 0; font-size: 16px; }
.footer__addr { margin: 4px 0 0; font-size: 13px; color: rgba(255,255,255,0.55); }
.footer__nav { display: flex; flex-wrap: wrap; gap: 8px 24px; }
.footer__nav a { font-size: 13.5px; color: rgba(255,255,255,0.7); transition: color 0.25s; }
.footer__nav a:hover { color: var(--gold-soft); }
.footer__copy {
  margin: 0; font-size: 12px; color: rgba(255,255,255,0.4);
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,0.1);
}

/* ---------- Mascot（建設犬マスコット） ---------- */
.mascot {
  background: url("../assets/img/mascot.png") center / contain no-repeat;
  pointer-events: none; flex: none;
}
/* ヒーロー左下のお出迎え */
.hero__mascot {
  position: absolute; z-index: 3;
  left: auto; right: clamp(12px, 4vw, 52px); bottom: clamp(70px, 10vh, 104px);
  width: clamp(96px, 11vw, 148px); aspect-ratio: 1;
  filter: drop-shadow(0 10px 20px rgba(0,0,0,0.4));
  animation: mascotBob 3.2s ease-in-out infinite;
}
@keyframes mascotBob { 0%,100%{ transform: translateY(0); } 50%{ transform: translateY(-7px); } }

/* セクション見出し横（募集など） */
.section__head { position: relative; }
.head__mascot {
  position: absolute; right: 0; top: 50%; transform: translateY(-50%);
  width: clamp(72px, 9vw, 116px); aspect-ratio: 1;
  filter: drop-shadow(0 8px 16px rgba(10,31,68,0.18));
}

/* お問い合わせ・連絡先カード内 */
.contact__mascot {
  position: absolute; right: 14px; bottom: 12px;
  width: 96px; aspect-ratio: 1; z-index: 2; opacity: 0.96;
  filter: drop-shadow(0 6px 14px rgba(0,0,0,0.3));
}

/* フッターのブランド横（PNGの図柄がやや下寄りなので光学的に微上げ） */
.footer__mascot { width: 46px; height: 46px; transform: translateY(-3px); }

/* トップへ戻る（フローティング） */
.totop {
  position: fixed; right: 20px; bottom: 22px; z-index: 800;
  width: 60px; height: 60px; border: 0; border-radius: 50%;
  background: var(--white); box-shadow: 0 8px 24px rgba(10,31,68,0.25);
  cursor: pointer; display: grid; place-items: center;
  opacity: 0; visibility: hidden; transform: translateY(14px) scale(0.9);
  transition: opacity 0.35s var(--ease), transform 0.35s var(--ease), visibility 0.35s;
  border: 2px solid var(--gold-soft);
}
.totop.is-shown { opacity: 1; visibility: visible; transform: none; }
.totop:hover { transform: translateY(-3px); box-shadow: 0 12px 30px rgba(10,31,68,0.32); }
.totop .mascot { width: 46px; height: 46px; }
.totop::after {
  content: "TOP"; position: absolute; bottom: -16px; left: 50%; transform: translateX(-50%);
  font-family: var(--font-head); font-size: 9px; font-weight: 700; letter-spacing: 0.1em;
  color: var(--navy-700);
}

@media (max-width: 860px) {
  /* スマホでは統計の数字とマスコットが重なるため、ヒーローの犬は非表示
     （犬は募集・お問い合わせ・フッター・TOPボタンにも登場するため寂しくならない） */
  .hero__mascot { display: none; }
}
@media (max-width: 640px) {
  .head__mascot { width: 64px; }
  .totop { width: 52px; height: 52px; right: 14px; bottom: 16px; }
  /* 会社名が折り返しても、ロゴ（犬・眞邑マーク）が社名の行に揃うよう上揃え */
  .footer__brand { align-items: flex-start; }
  .footer__mascot { transform: translateY(0); }
}

/* ---------- Reveal animation ---------- */
[data-reveal] {
  opacity: 0; transform: translateY(28px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
  will-change: opacity, transform;
}
[data-reveal].is-visible { opacity: 1; transform: none; }
[data-reveal]:nth-child(2) { transition-delay: 0.08s; }
[data-reveal]:nth-child(3) { transition-delay: 0.16s; }
[data-reveal]:nth-child(4) { transition-delay: 0.24s; }

/* ---------- Responsive ---------- */
@media (max-width: 860px) {
  .sp-only { display: inline; }
  .nav-toggle { display: block; }
  .nav {
    position: fixed; inset: 0; flex-direction: column; justify-content: center; gap: 8px;
    background: rgba(6,18,43,0.97); backdrop-filter: blur(12px);
    transform: translateX(100%); transition: transform 0.45s var(--ease);
  }
  .nav.is-open { transform: translateX(0); }
  .nav__link { font-size: 19px; padding: 14px 24px; }
  .nav__link::after { display: none; }
  .nav__cta { margin: 16px 0 0; font-size: 17px; padding: 14px 36px; }

  .info__row { grid-template-columns: 1fr; }
  .info dt { background: var(--paper); padding-bottom: 6px; }
  .info dd { padding-top: 6px; }
  .info__row + .info__row { border-top: 1px solid var(--line); }

  .hero__stats { gap: 28px 40px; }
  .btn--lg .btn__big { font-size: 17px; }

  .area__card { grid-template-columns: 1fr; }
  .contact__grid { grid-template-columns: 1fr; }
  .form__row { grid-template-columns: 1fr; gap: 0; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation-duration: 0.001ms !important; transition-duration: 0.001ms !important; }
  [data-reveal] { opacity: 1; transform: none; }
}
