/* ================================================
   NBTech Corporate Site - Modern v5
   White header / Light hero / #116bc0 blue palette
   Square radius / Josefin Sans + Noto Sans JP
   ================================================ */

:root {
  --primary:    #116bc0;
  --primary-dk: #0a4a8a;
  --primary-lt: #3d8fd4;
  --secondary:  #116bc0;
  --accent:     #3d8fd4;
  --accent2:    #116bc0;
  --text-900:   #1a1a2e;
  --text-600:   #4a5568;
  --text-400:   #9ca3af;
  --bg-white:   #ffffff;
  --bg-soft:    #f5f7fa;
  --bg-mid:     #e8f1fb;
  --border:     #e2e8f0;
  --border-blue:#c8daf2;
  --grad:       linear-gradient(135deg, #116bc0 0%, #0a4a8a 100%);
  --grad-r:     linear-gradient(135deg, #0a4a8a 0%, #116bc0 100%);
  --grad-light: linear-gradient(135deg, rgba(17,107,192,.07) 0%, rgba(10,74,138,.07) 100%);
  --shadow-xs:  0 1px 4px rgba(17,107,192,.08);
  --shadow-sm:  0 4px 16px rgba(17,107,192,.10);
  --shadow-md:  0 8px 32px rgba(17,107,192,.16);
  --shadow-lg:  0 20px 60px rgba(17,107,192,.22);
  --r-sm: 0px;
  --r-md: 0px;
  --r-lg: 0px;
  --font:    'Noto Sans JP', 'Hiragino Sans', 'Yu Gothic UI', sans-serif;
  --josefin: 'Josefin Sans', 'Century Gothic', 'Trebuchet MS', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background: var(--bg-white);
  color: var(--text-900);
  font-family: var(--font);
  line-height: 1.7;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--primary); text-decoration: none; transition: color .2s; }
a:hover { color: var(--primary-dk); }

/* ============================
   SCROLL ANIMATIONS
   ============================ */
.reveal {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal.visible { opacity: 1; transform: none; }
.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-left.visible { opacity: 1; transform: none; }
.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity .7s ease, transform .7s ease;
}
.reveal-right.visible { opacity: 1; transform: none; }
.delay-1 { transition-delay: .12s; }
.delay-2 { transition-delay: .24s; }
.delay-3 { transition-delay: .36s; }
.delay-4 { transition-delay: .48s; }

/* ============================
   HEADER — White
   ============================ */
.site-header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1100;
  background: #ffffff;
  backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  height: 70px;
  display: flex;
  align-items: center;
  padding: 0 2.5rem;
  justify-content: space-between;
  box-shadow: none;
  transition: box-shadow .3s;
}
.site-header.scrolled {
  background: #ffffff;
  box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

.site-logo {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-shrink: 0;
}
.site-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
}

.site-nav {
  display: flex;
  gap: 2rem;
  align-items: center;
}
.site-nav a {
  color: var(--text-900);
  font-family: var(--josefin);
  font-size: .875rem;
  font-weight: 500;
  letter-spacing: 0.06em;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
.site-nav a:hover {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.btn-contact {
  padding: 10px 24px;
  background: var(--grad);
  color: #fff !important;
  border-radius: 0;
  font-family: var(--josefin);
  font-size: .875rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  border: none !important;
  box-shadow: 0 4px 14px rgba(17,107,192,.35);
  transition: box-shadow .2s, transform .2s;
}
.btn-contact:hover {
  box-shadow: 0 6px 22px rgba(17,107,192,.5);
  transform: translateY(-1px);
  color: #fff !important;
}

/* ============================
   HAMBURGER MENU
   ============================ */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  z-index: 1001;
  flex-shrink: 0;
}
.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--primary);
  transition: all 0.3s ease;
}
.hamburger.is-active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.is-active span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* ============================
   HAMBURGER MENU OVERLAY
   ============================ */
.hamburger-menu {
  display: none;
}

/* ============================
   HERO — Light / White base
   ============================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 7rem 2.5rem 8rem;
  clip-path: polygon(0 0, 100% 0, 100% 92%, 0 100%);
}

@keyframes heroZoom {
  0%   { transform: scale(1); }
  100% { transform: scale(1.1); }
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(135deg, rgba(245,247,250,.83) 0%, rgba(255,255,255,.80) 100%),
    var(--hero-image, url('https://images.unsplash.com/photo-1497366216548-37526070297c?w=1920&q=80'));
  background-size: cover;
  background-position: center;
  z-index: 0;
  animation: heroZoom 8s ease-out forwards;
}

.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(17,107,192,.10) 1px, transparent 1px);
  background-size: 36px 36px;
  pointer-events: none;
  z-index: 0;
}

.hero-content {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 4rem;
  align-items: center;
  max-width: 760px;
  margin: 0 auto;
  width: 100%;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .375rem 1rem;
  background: rgba(17,107,192,.08);
  border: 1px solid rgba(17,107,192,.2);
  border-radius: 0;
  color: var(--primary);
  font-family: var(--josefin);
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  margin-bottom: 1.75rem;
}
.hero-badge-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--primary);
  animation: blink 2s infinite;
}
@keyframes blink {
  0%,100%{opacity:1} 50%{opacity:.3}
}

.hero-title {
  font-size: clamp(2rem, 4.5vw, 3.5rem);
  font-weight: 800;
  line-height: 1.15;
  color: var(--text-900);
  letter-spacing: -.02em;
  margin-bottom: 1.5rem;
  font-family: var(--josefin);
  overflow: visible;
}
.hero-title .text-grad {
  background: linear-gradient(90deg, var(--primary), var(--primary-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  padding-top: 0.1em;
  padding-bottom: 0.1em;
  line-height: 1.4;
  display: inline-block;
}

.hero-sub {
  font-size: 1rem;
  color: var(--text-600);
  line-height: 1.9;
  margin-bottom: 2.5rem;
  max-width: 520px;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2.25rem;
  background: var(--grad);
  color: #fff;
  font-family: var(--josefin);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border-radius: 0;
  box-shadow: 0 6px 20px rgba(17,107,192,.4);
  transition: box-shadow .2s, transform .2s;
}
.btn-primary:hover {
  box-shadow: 0 10px 30px rgba(17,107,192,.55);
  transform: translateY(-2px);
  color: #fff;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2.25rem;
  background: transparent;
  color: var(--text-900);
  font-family: var(--josefin);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border-radius: 0;
  border: 2px solid var(--border-blue);
  transition: border-color .2s, background .2s, color .2s;
}
.btn-outline:hover {
  border-color: var(--primary);
  background: rgba(17,107,192,.05);
  color: var(--primary);
}

.hero-stats {
  display: flex;
  gap: 2.5rem;
  flex-wrap: wrap;
}
.stat-item { display: flex; flex-direction: column; gap: .25rem; }
.stat-value {
  font-size: 2.25rem;
  font-weight: 800;
  background: linear-gradient(90deg, var(--primary), var(--primary-lt));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -.02em;
  line-height: 1.1;
  font-family: var(--josefin);
  text-align: center;
}
.stat-label {
  font-size: .8rem;
  color: var(--text-600);
  font-family: var(--josefin);
  letter-spacing: 0.04em;
}

.scroll-hint {
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .5rem;
  color: var(--text-400);
  font-size: .75rem;
  letter-spacing: .1em;
  font-family: var(--josefin);
  animation: bounce 2s infinite;
}
.scroll-hint svg { width: 18px; height: 18px; }
@keyframes bounce {
  0%,100%{transform:translateX(-50%) translateY(0)}
  50%{transform:translateX(-50%) translateY(6px)}
}

/* ============================
   SECTION COMMONS
   ============================ */
.section {
  padding: 7rem 2.5rem;
  position: relative;
}
.container {
  max-width: 1140px;
  margin: 0 auto;
}
.section-eyebrow {
  display: inline-block;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  background: var(--grad);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: .75rem;
  font-family: var(--josefin);
}
.section-title {
  font-size: clamp(1.875rem, 3.5vw, 2.75rem);
  font-weight: 800;
  color: var(--text-900);
  letter-spacing: -.025em;
  line-height: 1.2;
  margin-bottom: 1rem;
  font-family: var(--josefin);
}
.section-lead {
  font-size: 1.0625rem;
  color: var(--text-600);
  max-width: 560px;
  line-height: 1.85;
  margin-bottom: 3.5rem;
}

/* ============================
   SERVICES
   ============================ */
.section-services {
  background: var(--bg-soft);
  padding-top: 9rem;
  padding-bottom: 9rem;
  margin-top: -5vw;
}
.section-services::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--grad-light);
  pointer-events: none;
}

.services-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 3.5rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.services-header .section-lead { margin-bottom: 0; }

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
}

a.service-card {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}

.service-card {
  background: var(--bg-white);
  border-radius: var(--r-md);
  padding: 2.25rem 2rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-blue);
  transition: box-shadow .3s, transform .25s;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}
.service-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-6px);
}

.service-icon-wrap {
  width: 48px; height: 48px;
  background: none;
  border: none;
  border-radius: 0;
  padding: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
  flex-shrink: 0;
}
.service-icon-wrap svg { width: 48px; height: 48px; }

.service-title {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-900);
  margin-bottom: .75rem;
  line-height: 1.4;
}
.service-desc {
  font-size: .9rem;
  color: var(--text-600);
  line-height: 1.8;
  margin-bottom: 1.5rem;
  flex: 1;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: .375rem;
  font-size: .875rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--josefin);
  transition: gap .2s, color .2s;
  margin-top: auto;
}
.service-link::after { content: '→'; }
.service-card:hover .service-link { gap: .625rem; color: var(--primary-dk); }

/* ============================
   COMPANY
   ============================ */
.section-company {
  background: var(--bg-white);
  clip-path: polygon(0 4%, 100% 0, 100% 96%, 0 100%);
  padding-top: 9rem;
  padding-bottom: 9rem;
}

.company-layout {
  display: grid;
  grid-template-columns: 7fr 5fr;
  gap: 5rem;
  align-items: start;
}

.text-right { text-align: right; }
.divider-right { margin-left: auto; }
.justify-end { justify-content: flex-end; }
.company-intro-block { text-align: right; }

.company-intro-text {
  font-size: 1.0625rem;
  color: var(--text-600);
  line-height: 1.9;
  margin-bottom: 2rem;
}

.cert-list {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  align-items: center;
}
.cert-mark {
  height: 80px;
  width: auto;
  display: inline-block;
}
.cert-badge {
  padding: .3rem .875rem;
  background: var(--grad-light);
  border: 1px solid rgba(17,107,192,.18);
  border-radius: 0;
  font-size: .75rem;
  font-weight: 600;
  color: var(--primary);
  font-family: var(--josefin);
}

.company-table {
  width: 100%;
  border-collapse: collapse;
}
.company-table tr { border-bottom: 1px solid var(--border); }
.company-table tr:last-child { border-bottom: none; }
.company-table th {
  width: 150px;
  padding: 1rem 1rem 1rem 0;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--primary);
  vertical-align: top;
  white-space: nowrap;
  font-family: var(--josefin);
}
.company-table td {
  padding: 1rem 0;
  font-size: .9375rem;
  color: var(--text-600);
  line-height: 1.8;
}

/* ============================
   HISTORY
   ============================ */
.section-history {
  background: var(--bg-soft);
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.history-layout {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 5rem;
  align-items: start;
}
.history-intro { position: sticky; top: 8rem; }

.history-timeline {
  position: relative;
  padding-left: 2rem;
}
.history-timeline::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), rgba(17,107,192,.2));
  border-radius: 2px;
}

.history-item {
  position: relative;
  padding: 0 0 2rem 2rem;
  display: grid;
  grid-template-columns: 60px 1fr;
  gap: 1.5rem;
  align-items: baseline;
}
.history-item::before {
  content: '';
  position: absolute;
  left: -5px; top: 7px;
  width: 10px; height: 10px;
  background: var(--bg-soft);
  border: 2px solid var(--primary);
  border-radius: 50%;
}
.history-item.highlight::before { background: var(--primary); }

.history-year {
  font-size: .875rem;
  font-weight: 800;
  color: var(--primary);
  letter-spacing: .05em;
  font-family: var(--josefin);
}
.history-text {
  font-size: .9375rem;
  color: var(--text-600);
  line-height: 1.7;
}

/* ============================
   ACCESS
   ============================ */
.section-access {
  background: var(--bg-white);
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.access-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 3.5rem;
  align-items: start;
}

.access-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}
.access-info p {
  font-size: .9375rem;
  color: var(--text-600);
  line-height: 1.8;
}
.access-tel { color: var(--primary); font-weight: 600; }
.access-train { color: var(--text-400); }

.access-map {
  border-radius: var(--r-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  position: relative;
}
.access-map iframe {
  display: block;
  width: 100%;
  height: 440px;
  border: 0;
}

/* ============================
   FOOTER — 3 column
   ============================ */
.site-footer {
  background: var(--primary-dk);
  padding: 4rem 2.5rem 2rem;
}
.footer-inner {
  max-width: 1140px;
  margin: 0 auto;
}

.footer-main {
  display: grid;
  grid-template-columns: 2.2fr 2fr 1.4fr;
  gap: 3rem;
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255,255,255,.1);
  margin-bottom: 2rem;
}

.footer-logo img {
  height: 32px;
  width: auto;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .85;
  margin-bottom: .5rem;
}
.footer-tagline {
  font-size: .8125rem;
  color: rgba(255,255,255,.5);
  font-family: var(--josefin);
  margin-bottom: .75rem;
}
.footer-address {
  font-size: .8rem;
  color: rgba(255,255,255,.4);
  line-height: 1.7;
  margin-top: .5rem;
}

.footer-col-title {
  font-family: var(--josefin);
  font-size: .7rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: rgba(255,255,255,.45);
  margin-bottom: 1.25rem;
}

.footer-col-nav {
  display: flex;
  flex-direction: column;
  gap: .625rem;
}
.footer-col-nav a {
  font-size: .875rem;
  color: rgba(255,255,255,.6);
  transition: color .2s;
}
.footer-col-nav a:hover { color: #fff; }

.footer-bottom {
  display: flex;
  justify-content: center;
  align-items: center;
}
.footer-copyright {
  font-size: .8125rem;
  color: rgba(255,255,255,.35);
  font-family: var(--josefin);
}

/* ============================
   PRIVACY / KOUKOKU / USAGE PAGE
   ============================ */
.page-header {
  padding: 8rem 2.5rem 4rem;
  background: var(--grad-light);
  border-bottom: 1px solid var(--border);
}
.page-header h1 {
  font-size: clamp(1.5rem, 3vw, 2.5rem);
  font-weight: 800;
  color: var(--text-900);
  letter-spacing: -.02em;
  font-family: var(--josefin);
}
.breadcrumb {
  font-size: .8125rem;
  color: var(--text-400);
  margin-bottom: .75rem;
  font-family: var(--josefin);
}
.breadcrumb a { color: var(--primary); }
.page-content { padding: 5rem 2.5rem 7rem; }
.page-content .container { max-width: 860px; }
.policy-section { margin-bottom: 3.5rem; }
.policy-section h2 {
  font-size: 1.7rem;
  text-align: center;
  margin-bottom: 1rem;
  padding-bottom: .75rem;
}
.policy-section h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-900);
  margin-bottom: 1rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--border);
  font-family: var(--josefin);
}
.policy-section h4 {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary);
  margin: 1.5rem 0 .75rem;
}
.policy-section h5 {
  font-size: .9375rem;
  font-weight: 600;
  color: var(--text-900);
  margin: 1.25rem 0 .5rem;
}
.policy-section p {
  font-size: .9375rem;
  color: var(--text-600);
  line-height: 1.9;
  margin-bottom: 1rem;
}
.policy-section ul, .policy-section ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.policy-section li { font-size: .9375rem; color: var(--text-600); line-height: 1.8; margin-bottom: .25rem; }
.policy-section .date-sig { text-align: right; font-size: .875rem; color: var(--text-400); margin-bottom: 1.25rem; }
.policy-section a { color: var(--primary); }
.placeholder-box {
  padding: 5rem 2rem;
  background: var(--bg-soft);
  border: 2px dashed rgba(17,107,192,.25);
  border-radius: var(--r-md);
  text-align: center;
  color: var(--text-400);
  font-size: 1.125rem;
}
.placeholder-icon { font-size: 3rem; margin-bottom: 1rem; opacity: .4; }

/* ============================
   電子公告 一覧テーブル
   ============================ */

  /*電子公告 2セクション*/
.koukoku-section {
  margin-bottom: 4rem;
}
.koukoku-section h2 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-900);
  margin-bottom: 1.5rem;
  padding-bottom: .75rem;
  border-bottom: 2px solid var(--primary);
  font-family: var(--josefin);
}

.koukoku-list { margin-bottom: 3.5rem; }

.koukoku-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .9375rem;
}
.koukoku-table thead tr {
  border-bottom: 2px solid var(--primary);
}
.koukoku-table th {
  padding: .875rem 1rem;
  text-align: left;
  font-size: .8125rem;
  font-weight: 700;
  color: var(--primary);
  font-family: var(--josefin);
  letter-spacing: .04em;
  white-space: nowrap;
}
.koukoku-table td,
.koukoku-list li {
  padding: 1rem;
  color: var(--text-600);
  line-height: 1.7;
  border-bottom: 1px solid var(--border);
}
.koukoku-list li {
  list-style-type: none;
}
.koukoku-table tbody tr:last-child td,
.koukoku-list li:last-child {
  border-bottom: none;
}
.koukoku-table tbody tr:hover td,
.koukoku-list li:hover {
  background: var(--bg-mid);
}
.koukoku-table a,
.koukoku-list li a {
  color: var(--primary);
}
.koukoku-table a:hover,
.koukoku-list li a:hover {
  color: var(--primary-dk);
  text-decoration: underline;
  text-underline-offset: 3px;
}
.koukoku-list li time {
  padding-right: 1rem;
}

/* ============================
   RESPONSIVE — Tablet (769–990px)
   ============================ */
@media (min-width: 769px) and (max-width: 990px) {
  .site-header {
    padding: 12px 20px;
  }
  .site-logo img {
    height: 28px;
    width: auto;
  }
  .site-nav {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    gap: 16px;
    align-items: center;
  }
  .site-nav a {
    font-size: 0.8rem;
    white-space: nowrap;
  }
  .btn-contact {
    padding: 8px 14px;
    font-size: 0.8rem;
  }
}

/* ============================
   RESPONSIVE — 1024px
   ============================ */
@media (max-width: 1024px) {
  .company-layout { grid-template-columns: 1fr; gap: 3rem; }
  .history-layout { grid-template-columns: 1fr; }
  .history-intro { position: static; }
  .footer-main { grid-template-columns: 1fr 1fr; }
}

/* ============================
   RESPONSIVE — Mobile (≤768px)
   ============================ */
@media (max-width: 768px) {
  /* ヘッダー */
  .site-header {
    padding: 12px 16px;
    height: 60px;
  }
  .site-logo img,
  .site-logo svg {
    height: 24px;
    max-width: 250px;
    width: auto;
  }

  /* ハンバーガー表示 */
  .hamburger {
    display: flex;
  }

  /* ナビ: モバイルでは非表示（hamburger-menuに移動） */
  .site-nav {
    display: none;
  }

  /* ハンバーガーメニュー オーバーレイ */
  .hamburger-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #fff;
    z-index: 1000;
    overflow-y: auto;
    padding: 0 20px 20px;
  }
  .hamburger-menu.is-open {
    display: block;
  }

  .hamburger-logo {
    text-align: center;
    padding-top: 150px;
    margin-bottom: 30px;
  }
  .hamburger-logo img {
    max-width: 150px;
    margin: 0 auto;
  }

  .nav-menu {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .nav-menu a {
    font-size: 1.2rem;
    color: var(--primary);
    font-family: var(--josefin);
    font-weight: 500;
    letter-spacing: 0.06em;
    border-bottom: none;
  }
  .nav-menu a:hover {
    color: var(--primary-dk);
    border-bottom: none;
  }
  .nav-menu .btn-contact {
    padding: 12px 28px;
    font-size: 1rem;
    color: #fff !important;
    margin-top: 10px;
    border: none !important;
  }

  /* セクション */
  .section { padding: 5rem 1.5rem; }
  .section-services { padding: 7rem 1.5rem; }
  .section-company { padding: 7rem 1.5rem; }
  .hero { padding: 7rem 1.5rem 6rem; clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%); }
  .services-grid { grid-template-columns: 1fr; }
  .services-header { flex-direction: column; }
  .access-grid { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .company-table th { width: 110px; }
  .history-item { grid-template-columns: 50px 1fr; gap: 1rem; }
  .footer-main { grid-template-columns: 1fr; gap: 2rem; }

  /* 会社概要: タイトルをコンテンツより前に表示 */
  .company-layout {
    display: flex;
    flex-direction: column;
  }
  .company-intro-block {
    order: -1;
    text-align: left;
  }
  .company-intro-block .text-right,
  .company-intro-block .section-eyebrow,
  .company-intro-block .section-title {
    text-align: left;
  }
  .cert-list.justify-end {
    justify-content: flex-start;
  }

  /* 認証マーク */
  .cert-mark {
    height: 60px;
  }

  /* 電子公告テーブル */
  .koukoku-table th,
  .koukoku-table td {
    padding: .625rem .5rem;
    font-size: .8125rem;
  }

  /* ページヘッダー */
  .page-header { padding: 6rem 1.5rem 3rem; }
  .page-content { padding: 3rem 1.5rem 5rem; }

  /* 404ページ */
  .error-number { font-size: 96px; }
}


/* ============================
   404 エラーページ
   ============================ */
.error-page {
  min-height: calc(100vh - 70px - 200px);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem;
}
.error-number {
  font-size: 150px;
  font-weight: 300;
  color: var(--primary);
  font-family: var(--josefin);
  line-height: 1;
  letter-spacing: -.03em;
  animation: errorFadeIn .8s ease-out forwards;
  opacity: 0;
}
@keyframes errorFadeIn {
  0%   { opacity: 0; transform: translateY(-20px); }
  100% { opacity: 1; transform: translateY(0); }
}
.error-page h1 {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-900);
  margin: 1.5rem 0 .75rem;
  font-family: var(--josefin);
}
.error-page p {
  font-size: 1rem;
  color: var(--text-600);
  line-height: 1.8;
  margin-bottom: 2.5rem;
}
.btn-top {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .875rem 2.5rem;
  background: var(--grad);
  color: #fff;
  font-family: var(--josefin);
  font-weight: 700;
  font-size: 1rem;
  letter-spacing: 0.04em;
  border-radius: 0;
  box-shadow: 0 6px 20px rgba(17,107,192,.4);
  transition: box-shadow .2s, transform .2s;
}
.btn-top:hover {
  box-shadow: 0 10px 30px rgba(17,107,192,.55);
  transform: translateY(-2px);
  color: #fff;
}



/* PDFアイコンを自動付与 */
a[href$=".pdf"]::after {
  content: "";
  display: inline-block;
  width: 16px;
  height: 16px;
  margin-left: 5px;
  vertical-align: middle;
  background: url("/assets/img/icon_pdf.png") no-repeat center / contain;
}
