:root {
  --navy-900: #0b1f3a;
  --navy-800: #132f57;
  --navy-700: #1d457d;
  --slate-100: #f4f7fb;
  --slate-200: #e8eef7;
  --accent: #e3b341;
  --text-main: #1e2a3a;
}

body {
  color: var(--text-main);
  font-family: "Yu Gothic UI", "Hiragino Kaku Gothic ProN", "Meiryo", sans-serif;
  line-height: 1.7;
}

.site-header {
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700));
  box-shadow: 0 6px 20px rgba(4, 15, 34, 0.25);
}

.navbar .nav-link {
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
}

.navbar .nav-link:hover,
.navbar .nav-link:focus {
  color: #ffffff;
}

.btn-accent {
  background: var(--accent);
  color: #172337;
  border: 1px solid #c99724;
  font-weight: 600;
}

.btn-accent:hover,
.btn-accent:focus {
  background: #f2c556;
  color: #142033;
}

.hero {
  background: radial-gradient(circle at 80% 10%, rgba(45, 89, 150, 0.18), transparent 40%),
              linear-gradient(180deg, #ffffff, #f7faff);
}

.py-lg-6 {
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.eyebrow {
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-size: 0.8rem;
  color: #5c6f88;
  font-weight: 700;
}

.hero-card,
.panel,
.service-card,
.work-card,
.stat-item {
  background: #ffffff;
  border: 1px solid var(--slate-200);
  border-radius: 0.75rem;
  box-shadow: 0 8px 24px rgba(18, 38, 66, 0.06);
}

.check {
  display: inline-block;
  min-width: 2.2rem;
  margin-right: 0.25rem;
  color: var(--navy-700);
  font-weight: 700;
}

.top-menu-list li {
  margin-bottom: 0.55rem;
}

.top-menu-list li:last-child {
  margin-bottom: 0;
}

.top-menu-list a {
  color: var(--navy-700);
  text-decoration: none;
  font-weight: 600;
}

.top-menu-list a:hover,
.top-menu-list a:focus {
  text-decoration: underline;
}

.image-placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 220px;
  border: 2px dashed #93a7c4;
  border-radius: 0.75rem;
  background: repeating-linear-gradient(
    -45deg,
    #eef3fb,
    #eef3fb 14px,
    #f7faff 14px,
    #f7faff 28px
  );
  color: #4d6381;
  font-weight: 700;
  text-align: center;
  padding: 1rem;
}

.image-placeholder-sm {
  min-height: 160px;
}

.stats {
  background: #f9fbff;
}

.stat-num {
  margin: 0;
  font-size: 1.9rem;
  font-weight: 700;
  color: var(--navy-700);
}

.stat-label {
  margin: 0;
  color: #607088;
  font-size: 0.92rem;
}

.section-muted {
  background: var(--slate-100);
}

.section-head h2 {
  margin-bottom: 0;
}

.service-card ul,
.panel ul {
  padding-left: 1.2rem;
}

.company-list,
.quality-list {
  padding-left: 1.2rem;
  margin-bottom: 0;
}

.history-list {
  display: grid;
  grid-template-columns: 9rem 1fr;
  gap: 0.35rem 0.75rem;
  margin: 0;
}

.history-list dt {
  margin: 0;
  color: #42556f;
  font-weight: 700;
}

.history-list dd {
  margin: 0;
}

.work-card {
  border-top: 4px solid var(--navy-700);
}

.company-table th {
  width: 9rem;
  color: #42556f;
}

.contact-section {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  color: #ffffff;
}

.contact-section .eyebrow {
  color: #cdd9ec;
}

.contact-panel {
  color: var(--text-main);
}

.site-footer {
  background: #0a1b33;
  color: #d0d9e8;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-tel {
  color: #a8c4e8;
  text-decoration: none;
  font-weight: 600;
}

.footer-tel:hover,
.footer-tel:focus {
  color: #ffffff;
  text-decoration: underline;
}

.contact-tel-link {
  color: #1d457d;
  font-weight: 700;
  text-decoration: none;
}

.contact-tel-link:hover,
.contact-tel-link:focus {
  text-decoration: underline;
}

@media (max-width: 991px) {
  .company-table th {
    width: 7rem;
  }

  .history-list {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .history-list dt {
    margin-top: 0.65rem;
  }

  .history-list dt:first-child {
    margin-top: 0;
  }
}

/* Design refresh */
html {
  scroll-behavior: smooth;
}

body {
  background: #f3f6fb;
  font-size: 16px;
  letter-spacing: 0.01em;
}

.site-header {
  background: linear-gradient(120deg, rgba(11, 31, 58, 0.97), rgba(29, 69, 125, 0.97));
  backdrop-filter: blur(6px);
}

/* ===== スマホ最適化ヘッダー ===== */
.mobile-header {
  display: flex;
  align-items: stretch;
  justify-content: space-between;
  gap: 0.5rem;
  min-height: 4.5rem;
}

.mobile-header-logo {
  flex: 1 1 auto;
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #ffffff;
  text-decoration: none;
  padding: 0.55rem 0;
}

.mobile-header-logo:hover,
.mobile-header-logo:focus {
  color: #ffffff;
}

.mobile-header-logo-mark {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.5rem;
  object-fit: cover;
  flex: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
}

.mobile-header-logo-text {
  font-size: 0.84rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.3;
  color: rgba(255, 255, 255, 0.96);
}

.mobile-header-actions {
  flex: none;
  display: flex;
  align-items: stretch;
  margin: 0.45rem 0;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 0.65rem;
  overflow: hidden;
  background: rgba(6, 19, 37, 0.26);
}

.mobile-header-btn {
  width: 3.5rem;
  min-height: 3.75rem;
  border: 0;
  border-left: 1px solid rgba(255, 255, 255, 0.26);
  background: transparent;
  color: #ffffff;
  text-decoration: none;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.18rem;
  padding: 0.35rem 0.2rem;
}

.mobile-header-btn:first-child {
  border-left: 0;
}

.mobile-header-btn i {
  font-size: 1rem;
  line-height: 1;
}

.mobile-header-btn span {
  font-size: 0.63rem;
  line-height: 1.15;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.mobile-header-btn:hover,
.mobile-header-btn:focus {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

.mobile-header-menu {
  appearance: none;
}

.mobile-global-nav {
  margin-bottom: 0.65rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.7rem;
  background: rgba(6, 18, 34, 0.78);
  backdrop-filter: blur(8px);
}

.mobile-nav-list {
  list-style: none;
  margin: 0;
  padding: 0.45rem;
  display: grid;
  gap: 0.25rem;
}

.mobile-nav-link {
  display: block;
  border-radius: 0.5rem;
  padding: 0.55rem 0.75rem;
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.94rem;
}

.mobile-nav-link:hover,
.mobile-nav-link:focus,
.mobile-nav-link.active {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.14);
}

@media (max-width: 575px) {
  .mobile-header-logo-text {
    font-size: 0.78rem;
  }

  .mobile-header-btn {
    width: 3.25rem;
    min-height: 3.5rem;
  }

  .mobile-header-btn span {
    font-size: 0.6rem;
  }
}

@media (min-width: 992px) {
  .site-header > .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    min-height: 4.25rem;
  }

  .mobile-header {
    flex: none;
    min-height: 4.25rem;
  }

  .mobile-header-logo {
    padding: 0.6rem 0;
  }

  .mobile-header-actions {
    display: none;
  }

  .mobile-global-nav {
    display: block !important;
    margin-bottom: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    backdrop-filter: none;
  }

  .mobile-nav-list {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    padding: 0;
  }

  .mobile-nav-link {
    border-radius: 999px;
    padding: 0.45rem 0.85rem;
    font-size: 0.95rem;
    white-space: nowrap;
    color: rgba(255, 255, 255, 0.9);
  }

  .mobile-nav-link:hover,
  .mobile-nav-link:focus,
  .mobile-nav-link.active {
    background: rgba(255, 255, 255, 0.14);
  }

  .mobile-header-btn {
    width: 3.7rem;
  }

  .mobile-header-logo-text {
    font-size: 0.9rem;
  }
}

.navbar {
  min-height: 4.25rem;
}

.navbar-brand {
  font-size: 1.15rem;
  letter-spacing: 0.03em;
}

.navbar .nav-link {
  border-radius: 999px;
  padding: 0.45rem 0.85rem;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.navbar .nav-link.active,
.navbar .nav-link:hover,
.navbar .nav-link:focus {
  background: rgba(255, 255, 255, 0.14);
}

main section {
  position: relative;
}

.hero {
  overflow: hidden;
  border-bottom: 1px solid #dbe6f4;
}

.hero::after {
  content: "";
  position: absolute;
  right: -120px;
  bottom: -120px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(29, 69, 125, 0.14) 0%, rgba(29, 69, 125, 0) 70%);
  pointer-events: none;
}

.display-5 {
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.lead {
  color: #3a4a61;
}

.btn {
  border-radius: 999px;
  font-weight: 700;
}

.btn-lg {
  padding: 0.75rem 1.35rem;
}

.hero-card,
.panel,
.service-card,
.work-card,
.stat-item {
  border: 1px solid #d9e4f2;
  box-shadow: 0 12px 32px rgba(18, 38, 66, 0.08);
}

.hero-card,
.panel,
.service-card {
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.hero-card:hover,
.panel:hover,
.service-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 34px rgba(18, 38, 66, 0.12);
}

.section-head {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.section-head h1,
.section-head h2 {
  line-height: 1.3;
}

.section-head h1::after,
.section-head h2::after {
  content: "";
  display: block;
  width: 64px;
  height: 4px;
  margin-top: 0.55rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent), #f3cd77);
}

.section-muted {
  background: linear-gradient(180deg, #f7faff, #f2f6fd);
  border-top: 1px solid #dfe8f5;
  border-bottom: 1px solid #dfe8f5;
}

.company-table {
  border-collapse: separate;
  border-spacing: 0;
}

.company-table th,
.company-table td {
  vertical-align: top;
  padding-top: 0.7rem;
  padding-bottom: 0.7rem;
  border-bottom: 1px solid #e6edf8;
}

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

.history-list dt {
  color: #324966;
}

.history-list dd {
  color: #2e425d;
}

.contact-section {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-panel {
  border: 1px solid #d5e2f3;
}

.form-control {
  border: 1px solid #cfdcee;
  border-radius: 0.65rem;
  padding: 0.65rem 0.75rem;
}

.form-control:focus {
  border-color: #8ea9cf;
  box-shadow: 0 0 0 0.2rem rgba(29, 69, 125, 0.12);
}

.image-placeholder {
  border-color: #8ea6c9;
  color: #3f5575;
}

.site-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

@media (max-width: 991px) {
  .navbar .nav-link {
    border-radius: 0.5rem;
  }

  .section-head h1::after,
  .section-head h2::after {
    width: 52px;
    height: 3px;
  }
}

.page-header,
.page-hero {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 19rem;
  padding: 4.5rem 0;
  background-color: #10233f;
  background-image: linear-gradient(135deg, rgba(0, 0, 0, 0.58) 0%, rgba(0, 0, 0, 0.44) 55%, rgba(4, 16, 34, 0.62) 100%), url("./images/page-header-bg.jpg"), url("./images/配線.jpg");
  background-size: cover;
  background-position: center;
  border-bottom: 1px solid rgba(216, 228, 244, 0.24);
}

.page-header::before,
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(7, 17, 34, 0.42), rgba(7, 17, 34, 0.18));
  pointer-events: none;
}

.page-header > .container,
.page-hero > .container {
  position: relative;
  z-index: 1;
  text-align: center;
}

.page-header .fw-bold,
.page-hero .fw-bold {
  color: #ffffff;
  line-height: 1.25;
}

.page-header .eyebrow,
.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.74);
}

.page-header .page-hero-lead,
.page-hero .page-hero-lead {
  color: rgba(255, 255, 255, 0.88);
  max-width: 48rem;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 767px) {
  .page-header,
  .page-hero {
    min-height: 15rem;
    padding: 3.75rem 0;
  }
}

.feature-card {
  background: #ffffff;
  border: 1px solid #d9e5f4;
  border-radius: 0.85rem;
  box-shadow: 0 10px 28px rgba(18, 38, 66, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 14px 30px rgba(18, 38, 66, 0.12);
}

.feature-num {
  margin: 0 0 0.4rem;
  font-size: 0.82rem;
  letter-spacing: 0.08em;
  color: #6a7f9c;
  font-weight: 800;
}

.news-list li {
  display: grid;
  grid-template-columns: 6.8rem 1fr;
  gap: 0.8rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid #e6edf8;
  align-items: start;
}

.news-list li:first-child {
  padding-top: 0;
}

.news-list li:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.news-list span {
  color: #5c7090;
  font-weight: 700;
  font-size: 0.86rem;
}

.news-list a {
  color: #2a4366;
  text-decoration: none;
  font-weight: 600;
}

.news-list a:hover,
.news-list a:focus {
  text-decoration: underline;
}

.quick-links-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.75rem;
}

.quick-link {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3.5rem;
  border-radius: 0.7rem;
  border: 1px solid #d5e2f3;
  background: #ffffff;
  color: #24426b;
  text-decoration: none;
  font-weight: 700;
  box-shadow: 0 6px 16px rgba(18, 38, 66, 0.06);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.quick-link:hover,
.quick-link:focus {
  transform: translateY(-2px);
  box-shadow: 0 10px 18px rgba(18, 38, 66, 0.1);
  border-color: #9eb6d6;
}

@media (max-width: 767px) {
  .news-list li {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .quick-links-grid {
    grid-template-columns: 1fr;
  }
}

/* ── 製品詳細カード ───────────────────────── */
.product-detail-card {
  border-radius: 1rem;
  overflow: hidden;
}

.product-img-wrap {
  background: linear-gradient(160deg, #f0f4fa, #e5ecf7);
  min-height: 380px;
  padding: 2rem;
  border-right: 1px solid #d9e4f2;
}

.product-img {
  max-width: 100%;
  max-height: 480px;
  object-fit: contain;
  border-radius: 0.5rem;
  box-shadow: 0 8px 28px rgba(18, 38, 66, 0.14);
}

.image-placeholder-fill {
  width: 100%;
  min-height: 320px;
  display: flex;
}

.product-lead {
  font-size: 1.05rem;
  color: #2e4366;
  line-height: 1.85;
}

.product-dim-box {
  display: inline-flex;
  flex-direction: column;
  background: #f3f7fd;
  border: 1px solid #cfddf0;
  border-left: 4px solid var(--navy-700);
  border-radius: 0.6rem;
  padding: 0.85rem 1.2rem;
  width: fit-content;
}

.product-dim-label {
  margin: 0 0 0.2rem;
  font-size: 0.78rem;
  letter-spacing: 0.06em;
  color: #5c7090;
  font-weight: 800;
  text-transform: uppercase;
}

.product-dim-value {
  font-size: 1rem;
  font-weight: 700;
  color: #1b3257;
  letter-spacing: 0.03em;
}

.product-spec-head {
  border-bottom: 2px solid var(--navy-700);
  padding-bottom: 0.4rem;
  color: var(--navy-700);
  letter-spacing: 0.04em;
}

.product-spec-table {
  border-top: 1px solid #deeaf8;
}

.product-spec-table th,
.product-spec-table td {
  padding: 0.65rem 0.4rem;
  vertical-align: top;
  border-bottom: 1px solid #e6edf8;
}

.product-spec-table th {
  width: 11rem;
  color: #2f4a6a;
  font-weight: 700;
  white-space: nowrap;
}

.product-spec-table td {
  color: #1e2a3a;
}

.product-note {
  font-size: 0.88rem;
  color: #5c7090;
  background: #f5f8fd;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  border: 1px solid #d6e4f4;
}

.product-note a {
  color: var(--navy-700);
  font-weight: 700;
}

@media (max-width: 991px) {
  .product-img-wrap {
    border-right: none;
    border-bottom: 1px solid #d9e4f2;
    min-height: 280px;
    padding: 1.5rem;
  }

  .product-spec-table th {
    width: 9rem;
  }
}

/* ── 経営理念 ───────────────────────────── */
.philosophy-keyword-card {
  background: linear-gradient(145deg, var(--navy-900), var(--navy-700));
  border-radius: 0.9rem;
  color: #ffffff;
}

.philosophy-keyword-card .eyebrow {
  color: rgba(255, 255, 255, 0.55);
}

.philosophy-keyword {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.9rem);
  font-weight: 900;
  line-height: 1.4;
  letter-spacing: 0.03em;
  color: #ffffff;
}

.philosophy-body {
  font-size: 1rem;
  line-height: 2;
  color: #1e2a3a;
}

/* ── Step UI ───────────────────────────── */
.step-bar {
  background: #ffffff;
  border-bottom: 1px solid #dde8f4;
  padding: 0.85rem 0;
}

.step-indicator {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 0;
  justify-content: center;
}

.step-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #9aadC4;
  font-weight: 700;
  font-size: 0.9rem;
}

.step-item + .step-item::before {
  content: "";
  display: block;
  width: 3rem;
  height: 2px;
  background: #d5e2f3;
  margin: 0 0.75rem;
}

.step-item.active {
  color: var(--navy-700);
}

.step-item.done {
  color: #5b8abf;
}

.step-item.done .step-num {
  background: #5b8abf;
  border-color: #5b8abf;
}

.step-item.done + .step-item::before {
  background: #5b8abf;
}

.step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  border: 2px solid #d5e2f3;
  font-size: 0.82rem;
  font-weight: 800;
  background: #fff;
}

.step-item.active .step-num {
  background: var(--navy-700);
  border-color: var(--navy-700);
  color: #ffffff;
}

/* ── 確認テーブル ────────────────────────── */
.confirm-table {
  border-top: 1px solid #dfe8f4;
}

.confirm-table tr {
  border-bottom: 1px solid #e6edf8;
}

.confirm-th {
  width: 15rem;
  color: #294265;
  font-weight: 700;
  padding: 0.85rem 0.5rem 0.85rem 0;
  vertical-align: top;
}

.confirm-table td {
  padding: 0.85rem 0.5rem;
  color: #1e2a3a;
  white-space: pre-wrap;
  word-break: break-all;
}

/* ── 完了アイコン ────────────────────────── */
.complete-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 50%;
  background: linear-gradient(135deg, #2a6fcb, #1d457d);
  color: #ffffff;
  font-size: 2rem;
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(29, 69, 125, 0.28);
}

/* ── バリデーションエラー ───────────────────── */
.contact-error {
  display: none;
  margin: 0.3rem 0 0;
  font-size: 0.83rem;
  color: #c0392b;
  font-weight: 600;
}

.contact-error.visible {
  display: block;
}

.form-control.is-invalid {
  border-color: #c0392b;
  background-image: none;
}

.form-control.is-invalid:focus {
  border-color: #c0392b;
  box-shadow: 0 0 0 0.2rem rgba(192, 57, 43, 0.15);
}

/* ── 郵便番号入力行 ─────────────────────── */
.zip-row {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.zip-input {
  width: 5.5rem;
  flex: none;
  text-align: center;
}

.zip-hyphen {
  font-weight: 700;
  color: #4d6381;
  flex: none;
}

.zip-btn {
  white-space: nowrap;
  border-radius: 999px;
}

@media (max-width: 575px) {
  .step-indicator {
    font-size: 0.8rem;
  }

  .step-item + .step-item::before {
    width: 1.5rem;
    margin: 0 0.4rem;
  }

  .confirm-th {
    width: 8rem;
  }
}

.contact-section-light {
  background: linear-gradient(180deg, #f4f8fd, #eff5fc);
  color: var(--text-main);
}

.contact-side-card,
.contact-main-card {
  border-radius: 0.9rem;
}

.contact-side-text {
  color: #3d526f;
}

.contact-info-list {
  margin: 0;
  display: grid;
  gap: 0.55rem;
}

.contact-info-list dt {
  margin: 0;
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  color: #60779a;
  font-weight: 700;
}

.contact-info-list dd {
  margin: 0;
  color: #1f3556;
  font-weight: 700;
}

.contact-form-note {
  color: #4c617f;
  margin-bottom: 1.2rem;
}

.required-mark {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.42rem;
  border-radius: 0.35rem;
  background: #d63939;
  color: #ffffff;
  font-size: 0.72rem;
  line-height: 1.3;
  font-weight: 700;
}

.contact-form-grid {
  border-top: 1px solid #dfe8f4;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 15rem 1fr;
  gap: 1.25rem;
  padding: 1rem 0;
  border-bottom: 1px solid #e3ecf8;
  align-items: start;
}

.contact-label {
  margin: 0;
  font-weight: 700;
  color: #294265;
}

.contact-field {
  min-width: 0;
}

.contact-form-agree {
  padding-top: 1rem;
}

.contact-form-agree .form-check-input {
  margin-top: 0.35rem;
}

.contact-submit {
  min-width: 18rem;
}

@media (max-width: 991px) {
  .contact-form-row {
    grid-template-columns: 1fr;
    gap: 0.55rem;
  }
}

@media (max-width: 575px) {
  .contact-submit {
    width: 100%;
    min-width: 0;
  }
}

/* ── 採用情報ページ ──────────────────────── */
.recruit-hero {
  position: relative;
  overflow: hidden;
  min-height: 460px;
  display: flex;
  align-items: center;
}

.recruit-hero-inner {
  position: relative;
  width: 100%;
  min-height: 460px;
  display: flex;
  align-items: center;
}

.recruit-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.recruit-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(8,22,46,0.82) 0%, rgba(15,40,80,0.65) 100%);
  z-index: 1;
}

.recruit-hero-content {
  position: relative;
  z-index: 2;
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.recruit-hero-title {
  font-size: clamp(1.7rem, 4vw, 2.6rem);
  color: #ffffff;
  line-height: 1.3;
  letter-spacing: 0.02em;
}

.recruit-hero-sub {
  color: rgba(255,255,255,0.85);
  font-size: 1.05rem;
  line-height: 1.85;
  max-width: 36rem;
}

.recruit-img-wrap {
  border-radius: 0.85rem;
  overflow: hidden;
}

.recruit-section-img {
  display: block;
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: 0.85rem;
}

.recruit-quote-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #ffffff, #f7faff);
}

.recruit-quote-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--navy-700), var(--accent));
}

.recruit-quote-mark {
  margin: 0 0 -0.9rem;
  font-size: 4.2rem;
  line-height: 1;
  color: rgba(29, 69, 125, 0.14);
  font-weight: 900;
}

.recruit-quote {
  position: relative;
  padding-left: 0.35rem;
  color: #1e2a3a;
  line-height: 2;
  font-size: 1rem;
}

.recruit-quote p {
  margin-bottom: 1rem;
}

.recruit-quote-footer {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  align-items: flex-end;
  text-align: right;
}

.recruit-quote-name {
  color: var(--navy-700);
  font-weight: 800;
  letter-spacing: 0.02em;
}

.recruit-quote-role {
  color: #5c7090;
  font-size: 0.85rem;
}

.recruit-message-text {
  color: #1e2a3a;
  line-height: 2;
  margin-bottom: 1rem;
}

.recruit-interview-card {
  border-radius: 0.9rem;
}

.recruit-interview-header {
  display: flex;
  gap: 1rem;
  align-items: center;
}

.recruit-interview-photo {
  flex: none;
  width: 108px;
  height: 108px;
  border-radius: 0.85rem;
  overflow: hidden;
  border: 2px solid #d5e2f3;
  box-shadow: 0 8px 18px rgba(18, 38, 66, 0.08);
}

.recruit-interview-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-interview-placeholder {
  min-height: 108px !important;
}

.recruit-interview-qa {
  margin: 0;
  border-top: 1px solid #e6edf8;
  padding-top: 0.75rem;
}

.recruit-interview-qa dt {
  color: var(--navy-700);
  font-weight: 700;
  font-size: 0.9rem;
  margin-top: 0.85rem;
}

.recruit-interview-qa dt:first-child {
  margin-top: 0;
}

.recruit-interview-qa dd {
  margin: 0.2rem 0 0;
  color: #2e3e54;
  line-height: 1.85;
  padding-left: 0.5rem;
  border-left: 3px solid #d5e2f3;
}

.recruit-table th {
  width: 9rem;
  color: #294265;
  font-weight: 700;
  padding: 0.85rem 0.5rem 0.85rem 0;
  vertical-align: top;
}

.recruit-table td {
  padding: 0.85rem 0.5rem;
  color: #1e2a3a;
  vertical-align: top;
}

.recruit-table {
  border-collapse: separate;
  border-spacing: 0 0.75rem;
}

.recruit-table tr th,
.recruit-table tr td {
  background: #ffffff;
  border-top: 1px solid #d8e4f4;
  border-bottom: 1px solid #d8e4f4;
}

.recruit-table tr th {
  border-left: 1px solid #d8e4f4;
  border-radius: 0.75rem 0 0 0.75rem;
}

.recruit-table tr td {
  border-right: 1px solid #d8e4f4;
  border-radius: 0 0.75rem 0.75rem 0;
}

.recruit-table tr:nth-child(odd) th,
.recruit-table tr:nth-child(odd) td {
  background: #f8fbff;
}

.recruit-entry-section {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
}

.recruit-entry-lead {
  color: rgba(255,255,255,0.82);
  font-size: 1.05rem;
  line-height: 1.9;
}

@media (max-width: 991px) {
  .recruit-table th {
    width: 7rem;
  }

  .recruit-section-img {
    height: 300px;
  }

  .recruit-interview-photo {
    width: 96px;
    height: 96px;
  }
}

@media (max-width: 767px) {
  .recruit-hero {
    min-height: 340px;
  }

  .recruit-hero-inner {
    min-height: 340px;
  }

  .recruit-hero-title {
    font-size: 1.55rem;
  }

  .recruit-section-img {
    height: 220px;
  }

  .recruit-quote-footer {
    align-items: flex-start;
    text-align: left;
  }

  .recruit-table th,
  .recruit-table td {
    display: block;
    width: 100%;
    border-left: 1px solid #d8e4f4;
    border-right: 1px solid #d8e4f4;
  }

  .recruit-table th {
    border-radius: 0.75rem 0.75rem 0 0;
    padding-bottom: 0.2rem;
  }

  .recruit-table td {
    border-radius: 0 0 0.75rem 0.75rem;
    padding-top: 0.2rem;
    margin-bottom: 0.3rem;
  }
}

/* ── 工程ページ ─────────────────────────── */
.process-timeline-row {
  position: relative;
  margin-left: 1.1rem;
}

.process-timeline-row::before {
  content: "";
  position: absolute;
  top: 0.25rem;
  bottom: 0.25rem;
  left: 0.85rem;
  width: 2px;
  background: linear-gradient(180deg, #88a8ce, #426a9b);
}

.process-timeline-row > .col-12 {
  position: relative;
  padding-left: 2.3rem;
}

.process-timeline-row > .col-12::before {
  content: "";
  position: absolute;
  left: 0.35rem;
  top: 2.15rem;
  width: 1rem;
  height: 1rem;
  border-radius: 50%;
  border: 2px solid #5f86b4;
  background: #ffffff;
  box-shadow: 0 0 0 4px #eef4fc;
}

.process-card {
  position: relative;
  overflow: hidden;
  border-radius: 0.85rem;
}

.process-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--navy-700), #6f94c4);
}

.process-timeline-row > .col-12:nth-child(odd) .process-card {
  background: linear-gradient(180deg, #ffffff, #f7faff);
}

.process-timeline-row > .col-12:nth-child(even) .process-card {
  background: linear-gradient(180deg, #f5f8fd, #edf3fb);
}

.process-head {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
}

.process-icon {
  display: inline-flex;
  width: 2.2rem;
  height: 2.2rem;
  min-width: 2.2rem;
  border-radius: 0.55rem;
  align-items: center;
  justify-content: center;
  background: #eaf1fb;
  color: #315a8c;
  border: 1px solid #cddcf0;
}

.process-icon svg {
  width: 1.2rem;
  height: 1.2rem;
}

.process-hero-images .col-6,
.process-hero-images .col-lg-3 {
  position: relative;
}

.process-hero-img {
  display: block;
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 0.7rem;
  border: 1px solid #d6e3f4;
  box-shadow: 0 6px 18px rgba(18, 38, 66, 0.09);
}

.process-media {
  margin: 0.3rem 0 0.95rem;
}

.process-step-img {
  display: block;
  width: 100%;
  max-height: 210px;
  object-fit: cover;
  border-radius: 0.65rem;
  border: 1px solid #d5e2f3;
}

.process-media .image-placeholder {
  min-height: 150px;
}

.process-en {
  display: inline-block;
  margin: 0;
  padding: 0.2rem 0.6rem;
  border-radius: 999px;
  background: #edf3fc;
  color: #365983;
  font-size: 0.72rem;
  letter-spacing: 0.09em;
  font-weight: 800;
}

.process-title {
  margin: 0;
  color: #1b3257;
  line-height: 1.35;
}

.process-title::before {
  content: "";
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--accent);
  margin-right: 0.45rem;
  vertical-align: middle;
}

.process-catch {
  margin-top: 0.55rem;
  margin-bottom: 0.65rem;
  padding-left: 0.15rem;
  color: #27456c;
  font-size: 1rem;
  line-height: 1.6;
}

.process-body {
  margin: 0;
  color: #334964;
  line-height: 1.9;
}

@media (max-width: 767px) {
  .process-timeline-row {
    margin-left: 0;
  }

  .process-hero-img {
    height: 120px;
  }

  .process-timeline-row::before {
    display: none;
  }

  .process-timeline-row > .col-12 {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
  }

  .process-timeline-row > .col-12::before {
    display: none;
  }

  .process-catch {
    font-size: 0.96rem;
  }

   .process-body {
     font-size: 0.95rem;
   }
}

/* Recruit (採用情報) ページ */

.recruit-hero {
  position: relative;
  overflow: hidden;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
}

.recruit-hero-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.recruit-hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.recruit-hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(11, 31, 58, 0.8) 0%, rgba(19, 47, 87, 0.6) 100%);
}

.recruit-hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: #ffffff;
  padding: 2rem;
}

.recruit-hero-title {
  font-size: 2.5rem;
  line-height: 1.3;
  margin-bottom: 1rem;
  letter-spacing: 0.025em;
}

.recruit-hero-sub {
  font-size: 1.15rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 0;
}

/* 社長顔写真 */
.recruit-president-img-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 0.75rem;
  box-shadow: 0 12px 32px rgba(18, 38, 66, 0.15);
}

.recruit-president-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0.75rem;
}

/* 代表メッセージカード */
.recruit-quote-card {
  background: #ffffff;
  position: relative;
  border-radius: 0.75rem;
}

.recruit-quote-mark {
  position: absolute;
  top: -0.5rem;
  left: 1.5rem;
  font-size: 4rem;
  color: var(--accent);
  opacity: 0.2;
  font-family: Georgia, serif;
  line-height: 1;
  margin: 0;
}

.recruit-quote {
  position: relative;
  z-index: 1;
  padding-left: 1rem;
  border-left: 3px solid var(--navy-700);
}

.recruit-quote p {
  margin-bottom: 1rem;
  line-height: 1.8;
  color: #334964;
}

.recruit-quote p:last-child {
  margin-bottom: 0;
}

.recruit-quote-footer {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  padding-left: 1rem;
}

.recruit-quote-name {
  color: var(--navy-700);
  font-weight: 700;
  font-size: 0.95rem;
}

.recruit-quote-role {
  color: #607088;
  font-size: 0.85rem;
  font-weight: 500;
}

/* インタビューカード */
.recruit-interview-card {
  border-top: 4px solid var(--navy-700);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.recruit-interview-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(18, 38, 66, 0.12);
}

.recruit-interview-header {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.recruit-interview-header-text {
  flex: 1;
}

.recruit-qa-heading {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(227, 179, 65, 0.1);
  display: inline-block;
  padding: 0.35rem 0.65rem;
  border-radius: 0.3rem;
  margin-bottom: 0.5rem;
}

.recruit-interview-photo {
  flex: 0 0 auto;
  width: 80px;
  height: 80px;
  border-radius: 0.5rem;
  overflow: hidden;
  background: var(--slate-200);
  box-shadow: 0 4px 12px rgba(18, 38, 66, 0.1);
}

.recruit-interview-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.recruit-interview-placeholder {
  min-height: 80px;
}

.recruit-interview-qa {
  margin: 0;
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.5rem 1rem;
}

.recruit-interview-qa dt {
  font-weight: 700;
  color: var(--navy-700);
  font-size: 0.9rem;
  line-height: 1.5;
}

.recruit-interview-qa dd {
  margin: 0;
  color: #334964;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* 募集要項テーブル */
.recruit-table-card {
  background: #ffffff;
  border-top: 4px solid var(--navy-700);
}

.recruit-table {
  margin: 0;
}

.recruit-table tbody tr {
  border-bottom: 1px solid var(--slate-200);
}

.recruit-table tbody tr:last-child {
  border-bottom: none;
}

.recruit-table th {
  width: 12rem;
  color: var(--navy-700);
  font-weight: 700;
  padding: 1.25rem 1rem;
  background: var(--slate-100);
  vertical-align: top;
}

.recruit-table td {
  color: #334964;
  padding: 1.25rem 1rem;
  line-height: 1.7;
}

.recruit-table ul {
  margin: 0;
  padding-left: 1.2rem;
}

.recruit-table li {
  margin-bottom: 0.35rem;
}

/* エントリーセクション */
.recruit-entry-section {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.recruit-entry-section::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(227, 179, 65, 0.08) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
}

.recruit-entry-lead {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.1rem;
  line-height: 1.8;
}

/* モバイル対応 */
@media (max-width: 767px) {
  .recruit-hero {
    min-height: 350px;
  }

  .recruit-hero-title {
    font-size: 1.8rem;
  }

  .recruit-hero-sub {
    font-size: 0.95rem;
  }

  .recruit-interview-header {
    flex-direction: column;
    gap: 0.75rem;
  }

  .recruit-interview-photo {
    width: 70px;
    height: 70px;
  }

  .recruit-table th {
    width: 10rem;
    padding: 1rem;
    font-size: 0.9rem;
  }

  .recruit-table td {
    padding: 1rem;
    font-size: 0.9rem;
  }

  .recruit-quote-mark {
    font-size: 3rem;
    left: 1rem;
  }
}

/* ===== プライバシーポリシーページ ===== */

.privacy-section-title {
  position: relative;
  padding-left: 0.85rem;
  color: var(--navy-800);
}

.privacy-section-title::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.2em;
  bottom: 0.2em;
  width: 3px;
  background: var(--navy-700);
  border-radius: 2px;
}

.privacy-list {
  padding-left: 1.4rem;
  margin-bottom: 0;
}

.privacy-list li {
  margin-bottom: 0.4rem;
  color: #334964;
}

.privacy-list li:last-child {
  margin-bottom: 0;
}

.privacy-ext-link {
  color: var(--navy-700);
  font-weight: 600;
  text-underline-offset: 2px;
}

.privacy-ext-link:hover,
.privacy-ext-link:focus {
  color: var(--navy-900);
}

/* reCAPTCHA 強調カード */
.privacy-highlight-card {
  border-left: 4px solid var(--accent);
  background: #fffdf5;
}

/* 問い合わせ窓口カード */
.privacy-contact-card {
  background: var(--slate-100);
}

.privacy-contact-dl {
  display: grid;
  grid-template-columns: 6rem 1fr;
  gap: 0.5rem 1rem;
  margin: 0;
}

.privacy-contact-dl dt {
  font-weight: 700;
  color: var(--navy-700);
}

.privacy-contact-dl dd {
  margin: 0;
  color: #334964;
}

/* reCAPTCHA フォーム下注記 */
.recaptcha-notice {
  font-size: 0.78rem;
  color: #607088;
  line-height: 1.6;
  margin-bottom: 0;
}

.recaptcha-notice a {
  color: var(--navy-700);
  text-underline-offset: 2px;
}

.recaptcha-notice a:hover,
.recaptcha-notice a:focus {
  color: var(--navy-900);
}

/* フッター プライバシーリンク */
.footer-privacy-link {
  color: #8fa9cc;
  text-decoration: none;
  font-size: 0.85rem;
}

.footer-privacy-link:hover,
.footer-privacy-link:focus {
  color: #ffffff;
  text-decoration: underline;
}

@media (max-width: 767px) {
  .privacy-contact-dl {
    grid-template-columns: 1fr;
    gap: 0.2rem;
  }

  .privacy-contact-dl dt {
    margin-top: 0.5rem;
  }

  .privacy-contact-dl dt:first-child {
    margin-top: 0;
  }
}

/* ===== TOPヒーロー：動画 / スマホ背景画像 ===== */

.hero.hero-media {
  min-height: calc(100vh - 4.25rem);
  display: flex;
  align-items: center;
  background: #09162a;
  border-bottom: none;
}

.hero.hero-media::after {
  display: none;
}

.hero-video,
.hero-fallback-bg,
.hero-mobile-bg,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-fallback-bg {
  z-index: 0;
  background: url("./images/配線.jpg") center center / cover no-repeat;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
}

.hero-mobile-bg {
  display: none;
  z-index: 1;
  background-image: url("./images/hero-sp.jpg"), url("./images/配線.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
}

.hero-overlay {
  background: linear-gradient(135deg, rgba(5, 15, 30, 0.72) 0%, rgba(7, 22, 45, 0.58) 45%, rgba(10, 26, 47, 0.7) 100%);
  z-index: 2;
}

.hero-content-wrap {
  position: relative;
  z-index: 3;
  padding-top: 5rem;
  padding-bottom: 5rem;
}

.hero-row {
  min-height: min(42rem, calc(100vh - 4.25rem - 2rem));
}

.hero-copy {
  max-width: 42rem;
}

.hero-eyebrow {
  color: rgba(255, 255, 255, 0.72);
}

.hero-title {
  color: #ffffff;
  text-shadow: 0 10px 24px rgba(0, 0, 0, 0.2);
}

.hero-lead {
  color: rgba(255, 255, 255, 0.9);
  text-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

.hero-outline-btn {
  border-color: rgba(255, 255, 255, 0.78);
  color: #ffffff;
}

.hero-outline-btn:hover,
.hero-outline-btn:focus {
  background: rgba(255, 255, 255, 0.12);
  border-color: #ffffff;
  color: #ffffff;
}

.hero-menu-card {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  box-shadow: 0 18px 40px rgba(4, 14, 28, 0.22);
  backdrop-filter: blur(8px);
}

.hero-menu-card h2 {
  color: #ffffff;
}

.hero-menu-list a {
  color: rgba(255, 255, 255, 0.9);
}

.hero-menu-list a:hover,
.hero-menu-list a:focus {
  color: #ffffff;
  text-decoration: underline;
}

.hero-scroll-indicator {
  position: absolute;
  left: 50%;
  bottom: 1.25rem;
  transform: translateX(-50%);
  z-index: 3;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  letter-spacing: 0.18em;
  font-size: 0.68rem;
  font-weight: 700;
}

.hero-scroll-label {
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.22);
}

.hero-scroll-arrow {
  display: block;
  width: 1rem;
  height: 1rem;
  border-right: 2px solid rgba(255, 255, 255, 0.92);
  border-bottom: 2px solid rgba(255, 255, 255, 0.92);
  transform: rotate(45deg);
  animation: heroScrollBounce 1.8s ease-in-out infinite;
}

.hero-media.is-video-fallback .hero-video {
  opacity: 0;
  visibility: hidden;
}

@keyframes heroScrollBounce {
  0%,
  100% {
    transform: rotate(45deg) translate(0, 0);
    opacity: 0.72;
  }
  50% {
    transform: rotate(45deg) translate(6px, 6px);
    opacity: 1;
  }
}

@media (max-width: 767px) {
  .hero.hero-media {
    min-height: 34rem;
  }

  .hero-video {
    display: none;
  }

  .hero-mobile-bg {
    display: block;
  }

  .hero-content-wrap {
    padding-top: 5.5rem;
    padding-bottom: 4.75rem;
  }

  .hero-row {
    min-height: 25rem;
    align-items: flex-end !important;
  }

  .hero-copy {
    max-width: 100%;
    padding-right: 0.25rem;
  }

  .hero-title {
    font-size: 1.95rem;
    line-height: 1.35;
  }

  .hero-lead {
    font-size: 1rem;
    line-height: 1.8;
  }

  .hero-menu-card {
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.14);
  }

  .hero-scroll-indicator {
    bottom: 0.9rem;
  }
}

/* ===== 採用ページ：顔写真NG用アイコン ===== */

.recruit-avatar-panel {
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: linear-gradient(180deg, #f7f9fc, #eef3f8);
  border: 1px solid #d7e1ec;
}

.recruit-person-icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: #e9eef4;
  color: #66778b;
}

.recruit-person-icon-circle-lg {
  width: min(250px, 100%);
  height: min(250px, 100%);
  box-shadow: inset 0 0 0 1px rgba(111, 127, 147, 0.12);
}

.recruit-person-icon {
  width: 58%;
  height: 58%;
  display: block;
}

.recruit-interview-photo {
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
  box-shadow: none;
  overflow: visible;
}

.recruit-interview-photo .recruit-person-icon-circle {
  width: 80px;
  height: 80px;
  box-shadow: inset 0 0 0 1px rgba(111, 127, 147, 0.14), 0 4px 12px rgba(18, 38, 66, 0.08);
}

@media (max-width: 991px) {
  .recruit-avatar-panel {
    min-height: 300px;
  }

  .recruit-person-icon-circle-lg {
    width: min(220px, 100%);
    height: min(220px, 100%);
  }
}

@media (max-width: 767px) {
  .recruit-avatar-panel {
    min-height: 240px;
    padding: 1.5rem;
  }

  .recruit-person-icon-circle-lg {
    width: min(180px, 100%);
    height: min(180px, 100%);
  }

  .recruit-interview-photo .recruit-person-icon-circle {
    width: 70px;
    height: 70px;
  }
}

/* ── Google Map (レスポンシブ) ───────────────── */
.map-wrapper {
  width: 100%;
  max-width: 100%;
  border-radius: 0.9rem;
  overflow: hidden;
  background: #e6edf8;
  border: 1px solid #d7e3f3;
  box-shadow: 0 12px 30px rgba(18, 38, 66, 0.12);
}

.map-wrapper iframe {
  display: block;
  width: 100%;
  border: 0;
  aspect-ratio: 16 / 9;
  height: min(56.25vw, 450px);
  min-height: 260px;
}

@media (max-width: 767px) {
  .map-wrapper iframe {
    min-height: 220px;
  }
}

/* aspect-ratio非対応ブラウザ用フォールバック */
@supports not (aspect-ratio: 16 / 9) {
  .map-wrapper {
    position: relative;
    padding-top: 56.25%;
  }

  .map-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 0;
  }
}

