/* =========================================================
   MOエンタープライズ合同会社 コーポレートサイト
   Design: Clean & Minimal / 白基調・余白多め・信頼感
   ========================================================= */

:root {
  --color-bg: #ffffff;
  --color-bg-alt: #f6f8fc;
  --color-text: #1a2233;
  --color-text-muted: #5b6577;
  --color-primary: #1a56c4;
  --color-primary-dark: #123f95;
  --color-accent: #0aa89a;        /* 罫線・背景・大きめの要素向けアクセント */
  --color-accent-ink: #0c7d70;    /* 小さいラベル文字向け（白背景でAAコントラスト確保） */
  --color-border: #e3e8f0;
  --color-white: #ffffff;

  --font-base: "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;

  --maxw: 1080px;
  --radius: 12px;
  --shadow-sm: 0 1px 3px rgba(20, 33, 61, 0.06), 0 1px 2px rgba(20, 33, 61, 0.04);
  --shadow-md: 0 10px 30px rgba(20, 33, 61, 0.08);
  --header-h: 68px;
  --ease: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  font-family: var(--font-base);
  color: var(--color-text);
  background: var(--color-bg);
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
  text-size-adjust: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--color-primary); text-decoration: none; }
a:hover { text-decoration: underline; }

h1, h2, h3, p, dl, dd, figure { margin: 0; }
ul { margin: 0; padding: 0; list-style: none; }

.container {
  width: 100%;
  max-width: var(--maxw);
  margin-inline: auto;
  padding-inline: 24px;
}

.sr-only,
.skip-link {
  position: absolute;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}
.skip-link:focus {
  position: fixed;
  top: 12px; left: 12px;
  width: auto; height: auto;
  padding: 10px 16px;
  clip: auto;
  background: var(--color-primary);
  color: #fff;
  border-radius: 8px;
  z-index: 1000;
}

:focus-visible {
  outline: 3px solid var(--color-accent-ink);
  outline-offset: 2px;
  border-radius: 4px;
}

.pc-only { display: inline; }
@media (max-width: 640px) { .pc-only { display: none; } }

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  line-height: 1;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.15s var(--ease), background-color 0.2s var(--ease),
    box-shadow 0.2s var(--ease);
  text-decoration: none;
}
.btn:hover { text-decoration: none; transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-primary {
  background: var(--color-primary);
  color: #fff;
  box-shadow: var(--shadow-sm);
}
.btn-primary:hover { background: var(--color-primary-dark); }
.btn-ghost {
  background: transparent;
  color: var(--color-primary);
  border-color: var(--color-border);
}
.btn-ghost:hover { border-color: var(--color-primary); background: var(--color-bg-alt); }
.btn-block { width: 100%; }

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: saturate(180%) blur(10px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s var(--ease), box-shadow 0.2s var(--ease);
}
.site-header.is-scrolled {
  border-bottom-color: var(--color-border);
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--header-h);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--color-text);
  font-weight: 700;
}
.brand:hover { text-decoration: none; }
.brand-mark {
  display: inline-grid;
  place-items: center;
  width: 34px; height: 34px;
  border-radius: 9px;
  background: var(--color-primary);
  color: #fff;
  font-size: 0.85rem;
  letter-spacing: 0.02em;
}
.brand-text { font-size: 0.98rem; }
@media (max-width: 480px) { .brand-text { font-size: 0.8rem; } }

.global-nav { display: flex; align-items: center; }
.nav-list {
  display: flex;
  align-items: center;
  gap: 22px;
  font-size: 0.9rem;
  font-weight: 500;
}
.nav-list a { color: var(--color-text-muted); }
.nav-list a:hover { color: var(--color-primary); text-decoration: none; }
.nav-cta {
  padding: 9px 18px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff !important;
}
.nav-cta:hover { background: var(--color-primary-dark); }

.nav-toggle {
  display: none;
  width: 44px; height: 44px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  background: #fff;
  position: relative;
  cursor: pointer;
}
.nav-toggle-bar,
.nav-toggle-bar::before,
.nav-toggle-bar::after {
  content: "";
  position: absolute;
  left: 50%;
  width: 20px; height: 2px;
  background: var(--color-text);
  transform: translateX(-50%);
  transition: transform 0.2s var(--ease), opacity 0.2s var(--ease);
}
.nav-toggle-bar { top: 50%; margin-top: -1px; }
.nav-toggle-bar::before { top: -6px; }
.nav-toggle-bar::after { top: 6px; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar { background: transparent; }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::before { transform: translateX(-50%) translateY(6px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] .nav-toggle-bar::after { transform: translateX(-50%) translateY(-6px) rotate(-45deg); }

@media (max-width: 900px) {
  .nav-toggle { display: block; z-index: 2; }
  .nav-list {
    position: fixed;
    inset: var(--header-h) 0 auto 0;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    background: #fff;
    border-bottom: 1px solid var(--color-border);
    box-shadow: var(--shadow-md);
    padding: 8px 0;
    transform: translateY(-12px);
    opacity: 0;
    visibility: hidden;
    transition: transform 0.2s var(--ease), opacity 0.2s var(--ease), visibility 0.2s;
  }
  .nav-list.is-open { transform: translateY(0); opacity: 1; visibility: visible; }
  .nav-list li { border-top: 1px solid var(--color-border); }
  .nav-list li:first-child { border-top: 0; }
  .nav-list a { display: block; padding: 15px 24px; }
  .nav-cta { border-radius: 0; text-align: center; margin: 8px 24px 4px; padding: 13px; }
}

/* ===== Hero ===== */
.hero {
  background:
    radial-gradient(1200px 400px at 15% -10%, rgba(26, 86, 196, 0.10), transparent 60%),
    radial-gradient(900px 380px at 100% 0%, rgba(10, 168, 154, 0.10), transparent 55%),
    var(--color-bg);
  padding: clamp(56px, 10vw, 110px) 0 clamp(48px, 8vw, 88px);
  border-bottom: 1px solid var(--color-border);
}
.hero-eyebrow {
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--color-primary);
  margin-bottom: 20px;
}
.hero-title {
  font-size: clamp(1.9rem, 6vw, 3.1rem);
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.01em;
}
.hero-lead {
  margin-top: 24px;
  font-size: clamp(1rem, 2.4vw, 1.15rem);
  color: var(--color-text-muted);
}
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 36px;
}
.hero-note {
  margin-top: 16px;
  font-size: 0.86rem;
  color: var(--color-text-muted);
}
.hero-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 52px;
  padding-top: 32px;
  border-top: 1px solid var(--color-border);
  font-size: 0.9rem;
  color: var(--color-text-muted);
}
.hero-points-num {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--color-text);
  margin-bottom: 4px;
}
@media (max-width: 640px) {
  .hero-points { grid-template-columns: 1fr; gap: 14px; text-align: left; }
  .hero-points li {
    display: flex; align-items: baseline; gap: 10px;
  }
  .hero-points-num { display: inline; font-size: 1rem; }
}

/* ===== Section base ===== */
.section { padding: clamp(56px, 9vw, 100px) 0; }
.section-alt { background: var(--color-bg-alt); }
.section-head { max-width: 640px; margin-bottom: 44px; }
.section-label {
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-accent-ink);
  margin-bottom: 10px;
}
.section-title {
  font-size: clamp(1.5rem, 4vw, 2rem);
  font-weight: 700;
  line-height: 1.4;
}
.section-desc {
  margin-top: 16px;
  color: var(--color-text-muted);
  font-size: 0.98rem;
}

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: start;
}
.about-text { color: var(--color-text-muted); }
.about-table { display: grid; gap: 0; }
.about-table > div {
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 16px;
  padding: 14px 0;
  border-top: 1px solid var(--color-border);
  font-size: 0.94rem;
}
.about-table > div:last-child { border-bottom: 1px solid var(--color-border); }
.about-table dt { font-weight: 700; color: var(--color-text); }
.about-table dd { color: var(--color-text-muted); }
@media (max-width: 820px) {
  .about-grid { grid-template-columns: 1fr; gap: 28px; }
}
@media (max-width: 480px) {
  .about-table > div { grid-template-columns: 1fr; gap: 4px; }
}

/* ===== Cards grid ===== */
.cards { display: grid; gap: 24px; }
.cards-3 { grid-template-columns: repeat(3, 1fr); }
.cards-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .cards-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 620px) { .cards-3, .cards-2 { grid-template-columns: 1fr; } }

/* ===== Problem cards ===== */
.problem-card { display: flex; flex-direction: column; gap: 12px; }
.problem-q {
  font-weight: 700;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--color-text);
  padding-left: 20px;
  position: relative;
}
.problem-q::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
}
.problem-a {
  font-size: 0.92rem;
  color: var(--color-text-muted);
  padding-left: 20px;
  border-left: 2px solid var(--color-accent);
}

.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
  transition: transform 0.2s var(--ease), box-shadow 0.2s var(--ease), border-color 0.2s var(--ease);
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: #cdd8ea; }
.card-title { font-size: 1.12rem; font-weight: 700; margin-bottom: 12px; }
.card-text { font-size: 0.92rem; color: var(--color-text-muted); }
.service-card { display: flex; flex-direction: column; }

.service-tag {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--color-primary);
  background: rgba(26, 86, 196, 0.08);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.services-note {
  margin-top: 24px;
  font-size: 0.85rem;
  color: var(--color-text-muted);
}

/* ===== Works ===== */
.work-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.work-thumb {
  aspect-ratio: 16 / 10;
  display: grid;
  place-items: center;
  color: #fff;
  font-weight: 700;
  letter-spacing: 0.14em;
  font-size: 0.9rem;
}
.work-thumb-shop { background: linear-gradient(135deg, #1a56c4, #4b8bf5); }
.work-thumb-corp { background: linear-gradient(135deg, #0aa89a, #3ec8b9); }
.work-thumb-gas  { background: linear-gradient(135deg, #2b3a67, #536390); }
.work-body { padding: 24px 26px 28px; display: flex; flex-direction: column; flex: 1; }
.work-kind {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--color-accent-ink);
  margin-bottom: 8px;
}
.work-link {
  margin-top: auto;
  padding-top: 16px;
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.work-link span { transition: transform 0.15s var(--ease); }
.work-link:hover { text-decoration: none; }
.work-link:hover span { transform: translateX(4px); }

/* ===== Skills ===== */
.skill-list { display: grid; gap: 12px; }
.skill-item {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 16px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
}
.skill-name { font-weight: 700; font-size: 1rem; }
.skill-note { font-size: 0.85rem; color: var(--color-text-muted); }
.skill-accent {
  border-color: var(--color-accent);
  background: rgba(10, 168, 154, 0.06);
  position: relative;
}
.skill-accent .skill-name { color: var(--color-accent-ink); }
.skill-accent::before {
  content: "MAIN";
  position: absolute;
  top: -10px; left: 20px;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #fff;
  background: var(--color-accent-ink);
  padding: 2px 8px;
  border-radius: 999px;
}
.skills-scope { margin-top: 22px; font-size: 0.9rem; color: var(--color-text-muted); }
.skills-out { margin-top: 8px; font-size: 0.82rem; color: var(--color-text-muted); }

/* ===== Price ===== */
.table-wrap { overflow-x: auto; }

.price-cards {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}
@media (max-width: 720px) { .price-cards { grid-template-columns: 1fr; } }
.price-card {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 26px;
}
.price-card-name { font-size: 1.05rem; font-weight: 700; }
.price-card-fig {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-primary);
  margin-top: 6px;
}
.price-card-term {
  font-size: 0.82rem;
  color: var(--color-text-muted);
  margin-top: 2px;
}
.price-card-list {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  display: grid;
  gap: 8px;
}
.price-card-list li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  padding-left: 18px;
  position: relative;
}
.price-card-list li::before {
  content: "";
  position: absolute;
  left: 2px;
  top: 0.6em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--color-accent);
}
.price-note { margin-top: 20px; font-size: 0.85rem; color: var(--color-text-muted); }

/* ===== Works callout ===== */
.works-callout {
  margin-top: 24px;
  padding: 20px 24px;
  background: rgba(10, 168, 154, 0.07);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  font-size: 0.92rem;
}
.works-callout strong { color: var(--color-accent-ink); }

/* ===== Scope grid (対応/対象外) ===== */
.scope-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 20px;
}
@media (max-width: 720px) { .scope-grid { grid-template-columns: 1fr; } }
.scope-col {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 24px 26px;
}
.scope-heading {
  font-size: 0.95rem;
  font-weight: 700;
  padding-bottom: 12px;
  margin-bottom: 12px;
  border-bottom: 1px solid var(--color-border);
}
.scope-yes .scope-heading { color: var(--color-accent-ink); }
.scope-no .scope-heading { color: var(--color-text-muted); }
.scope-col ul { display: grid; gap: 9px; }
.scope-col li {
  font-size: 0.9rem;
  color: var(--color-text-muted);
  padding-left: 22px;
  position: relative;
}
.scope-yes li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  color: var(--color-accent-ink);
  font-weight: 700;
}
.scope-no li::before {
  content: "\2013";
  position: absolute;
  left: 2px;
  color: var(--color-text-muted);
  font-weight: 700;
}
.section-alt .scope-col { background: var(--color-bg); }

.section-alt .card,
.section-alt .skill-item,
.section-alt .flow-item,
.section-alt .faq-item { background: #fff; }

/* ===== Flow ===== */
.flow-list {
  display: grid;
  gap: 14px;
  counter-reset: none;
}
.flow-item {
  position: relative;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 22px 24px 22px 118px;
}
.flow-item + .flow-item::after {
  content: "";
  position: absolute;
  left: 58px;
  top: -14px;
  width: 2px;
  height: 14px;
  background: var(--color-border);
}
.flow-step {
  position: absolute;
  left: 24px;
  top: 22px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #fff;
  background: var(--color-primary);
  padding: 5px 10px;
  border-radius: 999px;
}
.flow-title { font-size: 1.05rem; font-weight: 700; margin-bottom: 6px; }
.flow-text { font-size: 0.92rem; color: var(--color-text-muted); }
.flow-callout {
  margin-top: 24px;
  padding: 22px 26px;
  background: rgba(10, 168, 154, 0.07);
  border: 1px solid var(--color-accent);
  border-radius: var(--radius);
  font-size: 0.95rem;
}
.flow-callout strong { color: var(--color-accent-ink); }
@media (max-width: 560px) {
  .flow-item { padding: 52px 22px 22px; }
  .flow-item + .flow-item::after { left: 50%; }
}

/* ===== AI-Driven Development table ===== */
.aidd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.92rem;
  min-width: 520px;
}
.aidd-table th, .aidd-table td {
  text-align: left;
  padding: 16px 18px;
  border-bottom: 1px solid var(--color-border);
  vertical-align: top;
}
.aidd-table thead th {
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: var(--color-text-muted);
  background: var(--color-bg-alt);
  border-bottom: 2px solid var(--color-border);
}
.aidd-table tbody th {
  font-weight: 700;
  white-space: nowrap;
  width: 8em;
}
.aidd-table tbody td { color: var(--color-text-muted); }
.aidd-table tbody td:last-child { color: var(--color-text); }
.aidd-note {
  margin-top: 20px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  font-size: 0.92rem;
  color: var(--color-text-muted);
}
.aidd-note strong { color: var(--color-text); }
.section-alt .aidd-note { background: var(--color-bg); }

/* ===== FAQ ===== */
.faq-list { display: grid; gap: 12px; }
.faq-item {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  overflow: hidden;
}
.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 18px 52px 18px 22px;
  font-weight: 700;
  font-size: 0.96rem;
  position: relative;
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: "";
  position: absolute;
  right: 22px;
  top: 50%;
  width: 10px;
  height: 10px;
  border-right: 2px solid var(--color-text-muted);
  border-bottom: 2px solid var(--color-text-muted);
  transform: translateY(-70%) rotate(45deg);
  transition: transform 0.2s var(--ease);
}
.faq-item[open] summary::after { transform: translateY(-30%) rotate(225deg); }
.faq-item summary:hover { color: var(--color-primary); }
.faq-a {
  padding: 0 22px 20px;
  font-size: 0.92rem;
  color: var(--color-text-muted);
  line-height: 1.9;
}

/* ===== Profile ===== */
.profile-card {
  display: flex;
  gap: 32px;
  align-items: flex-start;
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 36px;
  box-shadow: var(--shadow-sm);
}
.profile-mono {
  flex-shrink: 0;
  width: 92px; height: 92px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--color-primary), var(--color-accent-ink));
  color: #fff;
  font-size: 2.6rem;
  font-weight: 700;
  letter-spacing: 0.02em;
}
.profile-name { font-size: 1.4rem; font-weight: 700; }
.profile-role { font-size: 0.88rem; color: var(--color-accent-ink); font-weight: 700; margin-top: 4px; }
.profile-text { margin-top: 16px; font-size: 0.93rem; color: var(--color-text-muted); }
.profile-facts {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid var(--color-border);
  display: grid;
  gap: 10px;
}
.profile-facts li {
  font-size: 0.88rem;
  color: var(--color-text-muted);
  display: grid;
  grid-template-columns: 5.5em 1fr;
  gap: 12px;
}
.profile-facts li span {
  font-weight: 700;
  color: var(--color-text);
}
@media (max-width: 560px) {
  .profile-card { flex-direction: column; gap: 20px; padding: 26px; align-items: center; text-align: center; }
  .profile-facts li { grid-template-columns: 1fr; gap: 2px; text-align: left; }
}

/* ===== Contact ===== */
.contact-aux {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 700;
}
.contact-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 40px;
  align-items: start;
}
@media (max-width: 860px) { .contact-grid { grid-template-columns: 1fr; gap: 28px; } }

.contact-direct {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 28px;
}
.contact-direct-item { padding: 16px 0; border-top: 1px solid var(--color-border); }
.contact-direct-item:first-child { border-top: 0; padding-top: 0; }
.contact-direct-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--color-text-muted);
}
.contact-direct-value {
  display: block;
  font-size: 1.15rem;
  font-weight: 700;
  margin: 6px 0 2px;
  word-break: break-all;
}
.contact-direct-sub { font-size: 0.8rem; color: var(--color-text-muted); }

.contact-form {
  background: #fff;
  border: 1px solid var(--color-border);
  border-radius: var(--radius);
  padding: 30px;
}
.form-row { margin-bottom: 20px; }
.form-row label {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 8px;
}
.req {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  color: #c0392b;
  background: rgba(192, 57, 43, 0.08);
  padding: 2px 7px;
  border-radius: 4px;
  margin-left: 6px;
  vertical-align: middle;
}
/* ハニーポット（人には見せない・スクリーンリーダーからも隠す） */
.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 8px;
  font: inherit;
  color: var(--color-text);
  background: #fff;
  transition: border-color 0.15s var(--ease), box-shadow 0.15s var(--ease);
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(26, 86, 196, 0.14);
}
.contact-form textarea { resize: vertical; }
.form-check {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
}
.form-check input { width: 18px; height: 18px; flex-shrink: 0; }
.form-check label { margin-bottom: 0; font-weight: 500; font-size: 0.9rem; }
.form-error {
  min-height: 0;
  font-size: 0.8rem;
  color: #c0392b;
  margin-top: 6px;
}
.form-error:empty { margin-top: 0; }
.form-row.has-error input,
.form-row.has-error textarea,
.form-row.has-error select {
  border-color: #c0392b;
}
.form-status {
  margin-top: 14px;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}
.form-status.is-ok { color: var(--color-accent-ink); }
.form-status.is-ng { color: #c0392b; }
.form-fallback {
  margin-top: 16px;
  font-size: 0.8rem;
  color: var(--color-text-muted);
  text-align: center;
}

/* ===== Footer ===== */
.site-footer {
  background: #10182b;
  color: #c8d0e0;
  padding: 52px 0 28px;
}
.footer-inner {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 32px;
  align-items: start;
}
.footer-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: #fff;
}
.footer-address {
  font-style: normal;
  font-size: 0.86rem;
  line-height: 1.9;
}
.footer-address a { color: #c8d0e0; }
.footer-nav { display: flex; flex-direction: column; gap: 10px; font-size: 0.86rem; }
.footer-nav a { color: #c8d0e0; }
.footer-nav a:hover { color: #fff; }
.footer-copy {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  text-align: center;
  font-size: 0.78rem;
  color: #8b95ab;
}
@media (max-width: 720px) {
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
}

/* ===== Scroll reveal =====
   JS が動いているとき（html.js-anim）だけ初期状態を隠す。
   JS 無効・読み込み失敗時は常に表示されるため、コンテンツが消えることはない。 */
.js-anim .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s var(--ease), transform 0.6s var(--ease);
}
.js-anim .reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .js-anim .reveal { opacity: 1; transform: none; transition: none; }
  .btn:hover, .card:hover { transform: none; }
}
