/* =========================================================
   common.css
   株式会社NTCテクノロジー 共通スタイル
   ========================================================= */


/* =========================================================
   1. 変数・リセット
   ========================================================= */

:root {
  --primary: #1a6ec4;
  --primary-dark: #0b2545;
  --cyan: #06b6d4;
  --orange: #f97316;
  --green: #22c55e;
  --purple: #7c3aed;

  --text: #1e293b;
  --muted: #64748b;
  --line: #dbeafe;
  --light: #f7fbff;

  --shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  --shadow-soft: 0 12px 30px rgba(15, 23, 42, 0.08);

  --radius: 24px;
  --header-h: 78px;

  --font:
    system-ui,
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    "Yu Gothic",
    "Hiragino Kaku Gothic ProN",
    Meiryo,
    sans-serif;
}

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

html {
  scroll-behavior: smooth;
  scroll-padding-top: 96px;
}

body {
  margin: 0;
  overflow-x: hidden;
  color: var(--text);
  background: #fff;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.8;
}

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

img,
svg {
  max-width: 100%;
  vertical-align: middle;
}

img {
  display: block;
}

ul,
ol {
  margin: 0;
  padding: 0;
}

ul {
  list-style: none;
}

h1,
h2,
h3,
h4,
p {
  margin-top: 0;
}


/* =========================================================
   2. 共通レイアウト
   ========================================================= */

.site-wrap {
  width: 100% !important;
  min-height: 100vh;
  max-width: none !important;
  padding-top: var(--header-h);
  overflow: hidden;

  background:
    radial-gradient(circle at 10% 0%, rgba(46, 160, 216, 0.1), transparent 32%),
    radial-gradient(circle at 90% 20%, rgba(249, 115, 22, 0.08), transparent 30%),
    #fff;
}

body.admin-bar .site-wrap {
  padding-top: calc(var(--header-h) + 32px);
}

#content,
main,
.section,
.hero,
.page-hero,
.recruit-page,
.site-header,
.site-footer {
  width: 100% !important;
  max-width: none !important;
}

.ntc-container {
  width: min(calc(100% - 44px), 1180px) !important;
  max-width: 1180px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.ntc-header-inner {
  display: flex;
  align-items: center;
  gap: 24px;

  width: min(calc(100% - 36px), 1240px) !important;
  height: var(--header-h);
  max-width: 1240px !important;
  margin-right: auto !important;
  margin-left: auto !important;
}

.wp-site-blocks,
.alignwide,
.alignfull,
.site,
.site-main,
.site-content,
.content-area {
  max-width: none !important;
}


/* =========================================================
   3. ヘッダー
   ========================================================= */

.site-header {
  position: fixed;
  z-index: 1000;
  top: 0;
  left: 0;

  width: 100%;

  border-bottom: 1px solid rgba(219, 234, 254, 0.9);
  background: rgba(255, 255, 255, 0.93);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.05);

  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

/*
  PCプルダウン表示中は、ヘッダーをパネルより手前に出す。
  選択中ヘッダーを「タブ」のように表示するために必要。
*/
.site-header.is-all-dropdown-open {
  z-index: 2100;
}

body.admin-bar .site-header {
  top: 32px;
}

.site-logo,
.footer-logo {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 12px;
}

.site-logo {
  display: inline-flex;
  text-decoration: none;
}

.site-logo-img {
  display: block;
  width: auto;
  height: 72px;
  object-fit: contain;
}

.logo-mark {
  display: block;
  width: 52px;
  height: 52px;
  border-radius: 16px;
  object-fit: cover;
  box-shadow: 0 12px 24px rgba(26, 110, 196, 0.25);
}

.logo-main {
  color: var(--primary-dark);
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 1.2;
  white-space: nowrap;
}

.logo-main_footer {
  color: #fff;
}

.logo-sub {
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  white-space: nowrap;
}


/* =========================================================
   4. PCナビゲーション
   ========================================================= */

.site-nav {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.nav-item {
  position: relative;
  flex: 0 0 auto;
}

.nav-link {
  display: flex;
  flex-direction: column;
  align-items: center;

  padding: 14px 4px;

  border: 1px solid transparent;
  border-radius: 12px;

  color: var(--primary-dark);
  font-size: 0.92rem;
  font-weight: 900;
  line-height: 1.25;

  white-space: nowrap;

  transition:
    transform 0.2s ease,
    color 0.2s ease,
    background 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.nav-link span {
  color: var(--muted);
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.nav-link:hover {
  color: var(--primary);
  background: #f0f8ff;
}

/* HTML内の元プルダウン */
.dropdown {
  position: absolute;
  top: calc(100% - 8px);
  left: 50%;

  width: max-content;
  min-width: 300px;
  max-width: 90vw;
  padding: 10px;

  transform: translateX(-50%) translateY(10px);

  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: var(--shadow);

  opacity: 0;
  visibility: hidden;
  pointer-events: none;

  transition: 0.22s ease;
}

.dropdown a,
.dropdown li {
  white-space: nowrap;
}

.dropdown a {
  display: block;
  padding: 8px 13px;
  border-radius: 12px;
  color: #334155;
  font-size: 0.88rem;
  font-weight: 800;
  line-height: 1.4;
  transition: 0.2s ease;
}

.dropdown a:hover {
  color: var(--primary);
  background: #eff6ff;
}

.nav-item:hover .dropdown {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.header-cta {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;

  min-height: 42px;
  padding: 0 18px;

  border-radius: 999px;

  color: #fff;
  background: linear-gradient(135deg, var(--orange), #fb923c);
  box-shadow: 0 12px 24px rgba(249, 115, 22, 0.25);

  font-weight: 950;
  transition: 0.25s ease;
}

.header-cta:hover {
  transform: translateY(-2px);
}


/* =========================================================
   5. ハンバーガー・モバイルメニュー
   ========================================================= */

.hamburger {
  display: none;
  place-items: center;
  gap: 4px;

  width: 44px;
  height: 44px;
  margin-left: auto;
  padding: 10px;

  border: 0;
  border-radius: 14px;

  background: var(--primary);
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 999px;
  background: #fff;
}

.mobile-menu {
  position: fixed;
  z-index: 999;
  top: var(--header-h);
  right: 0;
  left: 0;

  display: none;

  max-height: calc(100vh - var(--header-h));
  padding: 18px 22px 28px;
  overflow: auto;

  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.98);
  box-shadow: var(--shadow);
}

body.admin-bar .mobile-menu {
  top: calc(var(--header-h) + 32px);
  max-height: calc(100vh - var(--header-h) - 32px);
}

.mobile-menu.is-open {
  display: grid;
  gap: 8px;
}

.mobile-menu a,
.mobile-menu summary {
  display: block;
  padding: 12px 14px;
  border-radius: 14px;

  color: var(--primary-dark);
  background: #f8fbff;

  font-weight: 900;
  cursor: pointer;
}

.mobile-menu summary {
  position: relative;
  padding-right: 48px;
  list-style: none;
}

.mobile-menu summary::-webkit-details-marker {
  display: none;
}

.mobile-menu summary::after {
  content: "＋";

  position: absolute;
  top: 50%;
  right: 16px;

  color: var(--primary);
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;

  transform: translateY(-50%);
}

.mobile-menu details[open] summary {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
}

.mobile-menu details[open] summary::after {
  content: "－";
  color: #fff;
}

.mobile-sub {
  display: grid;
  gap: 6px;
  padding: 8px 0 6px 12px;
}

.mobile-menu .mobile-sub a {
  border: 1px solid var(--line);
  color: #334155;
  background: #fff;
  font-size: 0.88rem;
  font-weight: 700;
}

.mobile-menu .mobile-sub .sub-link {
  padding-left: 24px;
  color: var(--muted);
  font-size: 0.82rem;
}


/* =========================================================
   6. 共通セクション
   ========================================================= */

.section {
  padding: 86px 0;
  background: #fff;
}

.section-padding {
  padding: 78px 0;
}

.section-light {
  background:
    radial-gradient(circle at 8% 8%, rgba(14, 165, 233, 0.08), transparent 32%),
    linear-gradient(180deg, #fff, #f7fbff);
}

.section-blue {
  background:
    radial-gradient(circle at 12% 0%, rgba(125, 211, 252, 0.18), transparent 36%),
    radial-gradient(circle at 88% 20%, rgba(96, 165, 250, 0.15), transparent 34%),
    linear-gradient(180deg, #f3faff, #eaf6ff);
}

.section-head {
  display: flex;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 34px;
}

.sec-label {
  margin-bottom: 6px;
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.sec-title {
  color: var(--primary-dark);
  font-size: clamp(2rem, 4vw, 3.25rem);
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 1.15;
  text-align: left;
}

.sec-divider {
  width: 64px;
  height: 5px;
  margin: 18px 0;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), var(--cyan));
}

.sec-lead {
  max-width: 940px;
  color: var(--muted);
  font-size: 1.02rem;
  font-weight: 700;
}


/* =========================================================
   7. グリッド・カード・ボタン
   ========================================================= */

.grid-2,
.grid-3,
.grid-4 {
  display: grid;
  gap: 24px;
}

.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 20px;
}

.card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.96);
  box-shadow: var(--shadow-soft);
}

.card-body {
  padding: 30px;
}

.card-title {
  margin-bottom: 14px;
  color: var(--primary-dark);
  font-size: clamp(1.32rem, 2.4vw, 1.95rem);
  font-weight: 950;
  line-height: 1.35;
}

.card-text {
  margin-top: 10px;
  color: var(--muted);
  font-weight: 650;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  /* ▼ ここを変更・追加 ▼ */
  padding: 12px 24px;   /* 上下に均等な余白を持たせる */
  line-height: 1.2;     /* 文字の高さを自然にする */
  /* ▲ ここまで ▲ */

  border: 1px solid transparent;
  border-radius: 999px;

  font-weight: 950;
  line-height: 1;

  cursor: pointer;
  transition: 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-main {
  color: #fff;
  background: linear-gradient(135deg, var(--primary), var(--cyan));
  box-shadow: 0 14px 28px rgba(26, 110, 196, 0.22);
}
.btn-orange {
  color: #fff;
  background: linear-gradient(135deg, var(--orange), #fb923c);
  box-shadow: 0 14px 28px rgba(249, 115, 22, 0.22);
}
/* 黄色（単色）ボタン */
/* 黄色ボタン（大きめ・白文字仕様） */
.btn-yellow {
  background: #FFC000;
  color: #ffffff !important;           /* 文字色を白に指定 */
  font-size: 1.6rem;                  /* 文字サイズを大きく（約19px） */
  padding: 12px 36px;                 /* 上下16px、左右42pxの余白でボタン全体を大きく */
  line-height: 1.2;                   /* 上下中央に綺麗に収める */
  font-weight: 950;                   /* 文字をしっかり太くする */
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* 白文字がぼやけないよう、うっすら影をつける */
  box-shadow: 0 14px 28px rgba(255, 192, 0, 0.4);
}

/* マウスを乗せたとき */
.btn-yellow:hover {
  background: #e6ac00;                /* 少し濃い黄色にして反応をわかりやすく */
  color: #ffffff !important;
}
/* --- 追加例1：グリーン（緑） --- */
.btn-green {
  color: #fff;
  background: linear-gradient(135deg, var(--green), #4ade80);
  box-shadow: 0 14px 28px rgba(34, 197, 94, 0.22);
}

/* --- 追加例2：パープル（紫） --- */
.btn-purple {
  color: #fff;
  background: linear-gradient(135deg, var(--purple), #a855f7);
  box-shadow: 0 14px 28px rgba(124, 58, 237, 0.22);
}

/* --- 追加例3：ダークネイビー（濃紺） --- */
.btn-dark {
  color: #fff;
  background: linear-gradient(135deg, var(--primary-dark), #1e3a8a);
  box-shadow: 0 14px 28px rgba(11, 37, 69, 0.25);
}

.btn-sub {
  border-color: #bfdbfe;
  color: var(--primary);
  background: #fff;
}

.btn-sub:hover {
  background: #eff6ff;
}

.btn-row,
.btn-row2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  margin-top: 24px;
}

.hero-btns {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 24px;
}


/* =========================================================
   8. 写真・リンクカード
   ========================================================= */

.summary-photo {
  width: 100%;
  height: clamp(128px, 13vw, 164px);
  margin-bottom: 20px;
  overflow: hidden;

  border: 3px solid #fff;
  border-radius: 20px;

  background: #e2e8f0;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.14);
}

.summary-photo img,
.link-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.summary-photo.is-detail {
  height: clamp(132px, 15vw, 178px);
  margin-bottom: 24px;
}

.link-photo {
  display: block;
  width: 100%;
  height: clamp(112px, 11vw, 142px);
  margin-bottom: 14px;
  overflow: hidden;

  border: 2px solid #fff;
  border-radius: 18px;

  background: #e2e8f0;
  box-shadow: 0 12px 22px rgba(15, 23, 42, 0.12);
}

.home-summary-card {
  height: 100%;
  transition: 0.28s ease;
}

.home-summary-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.link-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.link-card {
  display: block;
  min-height: 220px;
  padding: 22px;

  border: 1px solid var(--line);
  border-radius: 22px;

  background: #fff;
  box-shadow: var(--shadow-soft);

  transition: 0.25s ease;
}

.link-card:hover {
  transform: translateY(-5px);
  border-color: #93c5fd;
  box-shadow: var(--shadow);
}

.link-card strong {
  display: block;
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 1.12rem;
  font-weight: 950;
}

.link-card span:not(.link-photo) {
  color: var(--muted);
  font-size: 0.95rem;
  font-weight: 700;
}


/* =========================================================
   9. TOPページ Hero
   ========================================================= */

body.home .site-wrap,
body.front-page .site-wrap {
  padding-top: 0 !important;
}

body.home .hero,
body.front-page .hero {
  position: relative;
  display: grid;
  align-items: center;

  width: 100% !important;
  height: 100vh !important;
  min-height: 100vh !important;

  height: 100dvh !important;
  min-height: 100dvh !important;

  padding: var(--header-h) 0 0 !important;
  overflow: hidden;

  color: #fff;
  background: #0b2545;
}

body.home .hero-slides,
body.front-page .hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;
}

body.home .hero-slide,
body.front-page .hero-slide {
  position: absolute;
  inset: 0;
  z-index: 0;

  width: 100%;
  height: 100%;

  background-color: #0b2545;
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover !important;

  opacity: 0;
  transition: opacity 0.9s ease-in-out;
}

body.home .hero-slide.is-active,
body.front-page .hero-slide.is-active {
  z-index: 1;
  opacity: 1;
}

body.home .hero > .ntc-container,
body.front-page .hero > .ntc-container {
  position: relative;
  z-index: 2;
}

body.home .hero::before,
body.front-page .hero::before {
  display: none !important;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 850px;
}

.hero-eyebrow {
  display: inline-flex;
  margin-bottom: 24px;
  padding: 9px 15px;

  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.12);

  font-weight: 900;
  letter-spacing: 0.08em;

  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
}

.hero-title {
  color: #fff !important;
  font-size: clamp(32px, 5.5vw, 72px) !important;
  font-weight: 950;
  letter-spacing: 0.02em;
  line-height: 1.25;
  text-align: left;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

.hero-title .line-text {
  display: inline-block;
  white-space: nowrap;
}

.hero-title span {
  color: #fff;
}

.hero-title span span {
  color: #ff0000 !important;
}

.hero-sub {
  margin-top: 18px;
  color: #fff;
  font-size: clamp(1.1rem, 2vw, 1.45rem);
  font-weight: 950;
  letter-spacing: 0.08em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}

.hero-lead {
  max-width: 760px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  font-weight: 700;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
}


/* =========================================================
   10. 下層ページHero
   ========================================================= */

.page-hero {
  padding: 74px 0;
  color: #fff;

  background:
    radial-gradient(circle at 10% 0%, rgba(125, 211, 252, 0.24), transparent 34%),
    linear-gradient(135deg, #0b2545, #1a6ec4);
}

.breadcrumb {
  margin-bottom: 14px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.9rem;
  font-weight: 800;
}

.page-hero .sec-label {
  color: #7dd3fc;
}

.page-hero .sec-title {
  color: #fff;
}

.page-hero .sec-lead {
  color: rgba(255, 255, 255, 0.88);
}


/* =========================================================
   11. テーブル・タイムライン
   ========================================================= */

.company-table {
  width: 100%;
  overflow: hidden;
  border-collapse: collapse;
  border-radius: 18px;
}

.company-table th,
.company-table td {
  padding: 17px 18px;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

.company-table th {
  width: 210px;
  color: var(--primary-dark);
  background: #f1f8ff;
  font-weight: 950;
  text-align: left;
}

.company-table td {
  color: #334155;
  background: #fff;
  font-weight: 700;
}

.timeline {
  display: grid;
  gap: 16px;
  margin-top: 22px;
}

.timeline-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 18px;
  padding: 18px;

  border: 1px solid var(--line);
  border-radius: 18px;

  background: #fff;
}

.timeline-year {
  color: var(--primary);
  font-size: 1.15rem;
  font-weight: 950;
}


/* =========================================================
   12. 先輩社員の声
   ========================================================= */

.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 22px;
}

.staff-card {
  display: flex;
  flex: 0 0 auto;
  flex-direction: column;

  width: 280px;
  overflow: hidden;

  border: 1px solid var(--line);
  border-radius: 18px;

  color: inherit;
  background: #fff;
  box-shadow: var(--shadow-soft);

  text-decoration: none;
  transition: 0.25s ease;
}

.staff-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.staff-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
}

.staff-card-media {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #f4f4f4;
}

.staff-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.staff-card-body {
  padding: 16px;
}

.staff-name {
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
}

.staff-job {
  margin-bottom: 8px;
  color: #666;
  font-size: 14px;
}

.staff-catch {
  color: #333;
  font-size: 14px;
  line-height: 1.7;
}

.staff-marquee {
  position: relative;
  width: 100%;
  padding: 10px 0;
  overflow: hidden;
  --marquee-width: 1200px;
}

.staff-track {
  display: flex;
  width: max-content;
  animation: staffMarquee 36s linear infinite;
  will-change: transform;
}

.staff-group {
  display: flex;
  flex-shrink: 0;
  gap: 22px;
  padding-right: 22px;
}

.staff-group .staff-card {
  flex: 0 0 clamp(260px, 28vw, 320px);
  width: clamp(260px, 28vw, 320px);
}

.staff-marquee:hover .staff-track {
  animation-play-state: paused;
}

@keyframes staffMarquee {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-1 * var(--marquee-width)));
  }
}


/* =========================================================
   13. 採用ページ
   ========================================================= */

.recruit-page {
  background: #fff;
}

.recruit-hero {
  padding: 96px 0;
  color: #fff;

  background:
    linear-gradient(120deg, rgba(11, 37, 69, 0.92), rgba(26, 110, 196, 0.78)),
    url("https://images.unsplash.com/photo-1552664730-d307ca884978?auto=format&fit=crop&w=1800&q=85")
    center / cover no-repeat;
}

.recruit-tag {
  display: inline-flex;
  margin-bottom: 18px;
  padding: 9px 14px;

  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.16);

  font-weight: 950;
  letter-spacing: 0.1em;
}

.recruit-title {
  margin-bottom: 18px;
  font-size: clamp(2.35rem, 6vw, 5rem);
  font-weight: 950;
  line-height: 1.1;
}

.recruit-lead {
  max-width: 760px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.06rem;
  font-weight: 750;
}

.recruit-nav {
  position: sticky;
  z-index: 100;
  top: var(--header-h);

  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.92);

  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

body.admin-bar .recruit-nav {
  top: calc(var(--header-h) + 32px);
}

.recruit-nav ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 0;
}

.recruit-nav a {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 38px;
  padding: 0 14px;

  border-radius: 999px;

  color: var(--primary);
  background: #eff6ff;

  font-size: 0.9rem;
  font-weight: 950;
}

.section-title-en {
  color: var(--primary);
  font-size: 0.82rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-align: center;
  text-transform: uppercase;
}

.section-title-jp {
  margin-top: 6px;
  color: var(--primary-dark);
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 950;
  line-height: 1.2;
  text-align: center;
}

.section-lead {
  max-width: 780px;
  margin: 18px auto 34px;
  color: var(--muted);
  font-weight: 750;
  text-align: center;
}

.data-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.data-card {
  padding: 24px;

  border: 1px solid var(--line);
  border-radius: 24px;

  background: #fff;
  box-shadow: var(--shadow-soft);

  text-align: center;
}

.data-num {
  margin-bottom: 10px;
  color: var(--primary);
  font-size: 2.25rem;
  font-weight: 950;
  line-height: 1;
}

.data-label {
  margin-bottom: 8px;
  color: var(--primary-dark);
  font-weight: 950;
}

.data-text {
  color: var(--muted);
  font-size: 0.92rem;
  font-weight: 700;
}


/* =========================================================
   14. フッター
   ========================================================= */

.site-footer {
  padding: 56px 0 24px;
  color: #dbeafe;
  background: #081b33;
}

.site-footer .footer-top {
  display: flex;
  align-items: flex-start;
  gap: 80px;
}

.site-footer .footer-brand {
  flex: 0 0 280px;
}

.site-footer .footer-brand a {
  display: block;
}

.site-footer .footer-brand img {
  display: block;
  width: 100%;
  max-width: 280px;
  height: auto;
  border-radius: 4px;
}

.site-footer .footer-brand p {
  margin-top: 18px;
  color: #b6c9dd;
  font-weight: 700;
}

.site-footer .footer-security {
  flex: 0 1 auto;
  margin-right: auto;
  margin-left: 80px;
}

.site-footer .footer-security h4 {
  margin: 0 0 4px;
  color: #fff;
  font-size: 20px;
  line-height: 1.3;
}

.site-footer .footer-security ul {
  margin: 0;
  padding: 0;
  font-size: 16px;
  line-height: 1.35;
  list-style: none;
}

.site-footer .footer-security li {
  margin: 0 0 2px;
  padding: 0;
  line-height: 1.35;
}

.site-footer .footer-security a {
  display: inline-block;
  padding: 0;
  color: #b6c9dd;
  font-size: 16px;
  line-height: 1.35;
}

.site-footer .footer-security a:hover {
  color: #7dd3fc;
}

.site-footer .footer-pmark {
  flex: 0 0 270px;
  margin-right: 60px;
  padding-top: 4px;
  text-align: right;
}

.site-footer .footer-pmark-image {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 270px;
}

.site-footer .footer-pmark-image img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 6px;
}

.site-footer .footer-pmark-link {
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 10;

  display: block;
  width: 72px;
  height: 56px;

  cursor: pointer;
}

.footer-bottom {
  margin-top: 36px;
  padding-top: 20px;

  border-top: 1px solid rgba(219, 234, 254, 0.15);

  color: #94a3b8;
  font-size: 0.9rem;
  font-weight: 700;
  text-align: center;
}


/* =========================================================
   15. WordPress本文
   ========================================================= */

.entry-content > * + * {
  margin-top: 1em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: var(--primary-dark);
  font-weight: 950;
}

.entry-content ul,
.entry-content ol {
  padding-left: 1.5em;
}

.entry-content ul {
  list-style: disc;
}

.entry-content ol {
  list-style: decimal;
}

.entry-content a {
  color: var(--primary);
  text-decoration: underline;
}


/* =========================================================
   16. JSフェードイン
   ========================================================= */

.js-fade {
  opacity: 0;
  transform: translateY(18px);
  transition: 0.6s ease;
}

.js-fade.is-visible {
  opacity: 1;
  transform: translateY(0);
}


/* =========================================================
   17. PC全プルダウンメニュー
   theme.js が生成する .all-dropdown-panel 用
   ========================================================= */

@media (min-width: 1081px) {

  /*
    HTML内の個別.dropdownはPCでは表示しない。
    JavaScriptで生成する全体プルダウンを使う。
  */
  .site-nav .nav-item:hover > .dropdown {
    transform: translateX(-50%) translateY(10px) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
  }

  /* プルダウン全体 */
  .all-dropdown-panel {
    position: fixed;
    z-index: 2000;
    top: var(--header-h);
    right: 0;
    left: 0;

    display: none;

    max-height: calc(100dvh - var(--header-h));
    padding: 0 0 24px;

    overflow-x: hidden;
    overflow-y: auto;

    background: transparent;
  }

  .all-dropdown-panel.is-open {
    display: block;
  }

  body.admin-bar .all-dropdown-panel {
    top: calc(var(--header-h) + 32px);
    max-height: calc(100dvh - var(--header-h) - 32px);
  }

  /*
    JavaScriptが --dropdown-panel-left を設定する。
    横スクロールはこの領域だけで行う。
  */
  .all-dropdown-panel__inner {
    width: calc(100vw - var(--dropdown-panel-left, 22px) - 22px) !important;
    max-width: calc(100vw - var(--dropdown-panel-left, 22px) - 22px) !important;

    margin-right: 0 !important;
    margin-left: var(--dropdown-panel-left, 22px) !important;
    padding: 0 0 10px !important;

    overflow-x: auto !important;
    overflow-y: hidden !important;

    background: transparent !important;

    scrollbar-gutter: stable;
    scrollbar-width: thin;
    scrollbar-color: var(--primary) rgba(219, 234, 254, 0.7);

    -webkit-overflow-scrolling: touch;
  }

  /*
    全カテゴリを横一列に配置する。
    横幅が足りない場合は横スクロール可能。
  */
  .all-dropdown-panel__grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;

    width: max-content !important;
    min-width: max-content !important;
    max-width: none !important;

    gap: 10px 8px !important;
    margin: 0 !important;
    padding: 18px 20px !important;

    border: 1px solid rgba(255, 255, 255, 0.55);
    border-radius: 0 0 16px 16px;

    background: rgba(255, 255, 255, 0.22);

    -webkit-backdrop-filter: blur(18px) saturate(160%);
    backdrop-filter: blur(18px) saturate(160%);

    box-shadow:
      0 18px 36px rgba(15, 23, 42, 0.18),
      inset 0 1px 0 rgba(255, 255, 255, 0.5);
  }

  /* カテゴリ単位 */
  .all-dropdown-panel__section {
    display: flex;
    flex: 0 0 auto !important;
    flex-direction: column;
    align-items: flex-start;

    width: max-content;
    max-width: 100%;
    gap: 6px !important;

    white-space: nowrap;
  }

  /* カテゴリ見出し */
  .all-dropdown-panel__section-title {
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;

    min-height: 34px !important;
    margin-bottom: 4px !important;
    padding: 5px 12px !important;

    border: 1px solid rgba(255, 255, 255, 0.42) !important;
    border-radius: 7px !important;

    color: #fff !important;
    background: linear-gradient(
      135deg,
      var(--primary-dark),
      #1e3a8a
    ) !important;

    box-shadow: 0 4px 10px rgba(11, 37, 69, 0.15) !important;

    font-size: 0.88rem !important;
    font-weight: 900 !important;
    letter-spacing: 0.04em !important;
    line-height: 1.35 !important;
    text-decoration: none;
    white-space: nowrap;

    transition:
      transform 0.2s ease,
      background 0.2s ease,
      box-shadow 0.2s ease;
  }

  .all-dropdown-panel__section-title:hover,
  .all-dropdown-panel__section-title:focus-visible {
    color: #fff !important;
    background: linear-gradient(
      135deg,
      var(--primary),
      var(--cyan)
    ) !important;

    transform: translateY(-1px);

    box-shadow: 0 7px 14px rgba(26, 110, 196, 0.28) !important;
  }

  /* お問い合わせなど、子メニューなしの項目 */
  .all-dropdown-panel__section.has-no-submenu
  .all-dropdown-panel__section-title {
    background: linear-gradient(
      135deg,
      var(--orange),
      #fb923c
    ) !important;
  }

  /* 子メニューリスト */
  .all-dropdown-panel .dropdown {
    position: static !important;

    display: grid !important;
    grid-template-columns: max-content;
    gap: 6px !important;

    width: max-content !important;
    min-width: 0 !important;
    max-width: calc(100vw - 44px) !important;
    padding: 0 !important;

    transform: none !important;

    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;

    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* 子メニューリンク */
  .all-dropdown-panel .dropdown a {
    display: block;

    width: 100% !important;
    min-height: 34px !important;
    padding: 7px 11px !important;

    overflow-wrap: anywhere;

    border: 1px solid rgba(219, 234, 254, 0.8) !important;
    border-radius: 8px !important;

    color: #334155 !important;
    background: rgba(255, 255, 255, 0.78) !important;

    box-shadow: none !important;

    font-size: 0.86rem !important;
    font-weight: 700 !important;
    letter-spacing: 0.01em !important;
    line-height: 1.4 !important;

    white-space: nowrap !important;

    transform: scale(1);
    transform-origin: center center;

    transition:
      transform 0.22s cubic-bezier(0.34, 1.56, 0.64, 1),
      color 0.2s ease,
      background 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.22s ease;
  }

  /* R-VITO等のリンク内span */
  .all-dropdown-panel .dropdown a span {
    font-size: 0.72rem !important;
  }

  /* 子メニューホバー */
  .all-dropdown-panel .dropdown a:hover,
  .all-dropdown-panel .dropdown a:focus-visible {
    position: relative;
    z-index: 50;

    border-color: rgba(255, 255, 255, 0.9) !important;

    color: #fff !important;
    background: linear-gradient(
      135deg,
      var(--primary-dark),
      var(--primary)
    ) !important;

    box-shadow: 0 8px 18px rgba(11, 37, 69, 0.3) !important;

    font-size: 0.9rem !important;
    font-weight: 900 !important;

    transform: scale(1.06) !important;
  }

  /* クリック中 */
  .all-dropdown-panel .dropdown a:active {
    color: #fff !important;
    background: linear-gradient(
      135deg,
      #ea580c,
      var(--orange)
    ) !important;

    transform: scale(1.03) !important;
  }

  .all-dropdown-panel .dropdown a:focus-visible,
  .all-dropdown-panel__section-title:focus-visible {
    outline: 3px solid var(--orange);
    outline-offset: 3px;
  }

  /* 横スクロールバー：Chrome / Edge / Safari */
  .all-dropdown-panel__inner::-webkit-scrollbar {
    height: 10px;
  }

  .all-dropdown-panel__inner::-webkit-scrollbar-track {
    border-radius: 999px;
    background: rgba(219, 234, 254, 0.7);
  }

  .all-dropdown-panel__inner::-webkit-scrollbar-thumb {
    border: 2px solid rgba(219, 234, 254, 0.7);
    border-radius: 999px;
    background: var(--primary);
  }

  .all-dropdown-panel__inner::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
  }
}


/* =========================================================
   18. PCヘッダーメニュー：ブラウザタブ風の選択状態
   theme.js が .is-dropdown-active を付与する
   ========================================================= */

@media (min-width: 1081px) {

  .site-nav .nav-item {
    position: relative;
  }

  .site-nav .nav-item > .nav-link {
    position: relative;
    z-index: 2;
    border-radius: 14px 14px 0 0;
  }

  /*
    現在プルダウンを開いているヘッダーメニュー。
    ブラウザの選択中タブのように表示する。
  */
  .site-nav .nav-item.is-dropdown-active > .nav-link {
    z-index: 2200;

    transform: translateY(9px);

    padding: 14px 12px 17px;

    border-color: #bfdbfe;
    border-bottom-color: #fff;
    border-radius: 14px 14px 0 0;

    color: var(--primary) !important;
    background: #fff !important;

    box-shadow:
      0 -4px 12px rgba(15, 23, 42, 0.08),
      0 0 0 1px rgba(255, 255, 255, 0.7);
  }

  /* News / Business / Recruit / Company */
  .site-nav .nav-item.is-dropdown-active > .nav-link span {
    color: var(--primary) !important;
  }

  /*
    タブ下部とプルダウンをつなげる白い部分。
    下側のボーダーが見えないようにする。
  */
  .site-nav .nav-item.is-dropdown-active > .nav-link::after {
    content: "";

    position: absolute;
    right: -1px;
    bottom: -4px;
    left: -1px;
    z-index: 2300;

    height: 7px;
    background: #fff;
  }

  /* 選択中はホバーしても白いタブのまま維持 */
  .site-nav .nav-item.is-dropdown-active > .nav-link:hover {
    color: var(--primary) !important;
    background: #fff !important;
  }
}


/* =========================================================
   19. スマホ・タブレット
   ========================================================= */

@media (max-width: 1080px) {
  .site-nav,
  .header-cta {
    display: none;
  }

  .hamburger {
    display: grid;
  }

  .all-dropdown-panel {
    display: none !important;
  }

  .grid-3,
  .grid-4,
  .link-grid,
  .staff-grid,
  .data-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 782px) {
  body.admin-bar .site-header {
    top: 46px;
  }

  body.admin-bar .mobile-menu {
    top: calc(var(--header-h) + 46px);
    max-height: calc(100vh - var(--header-h) - 46px);
  }

  body.admin-bar .recruit-nav {
    top: calc(var(--header-h) + 46px);
  }

  body.admin-bar .all-dropdown-panel {
    top: calc(var(--header-h) + 46px);
    max-height: calc(100dvh - var(--header-h) - 46px);
  }
}

@media (max-width: 720px) {
  body {
    font-size: 14px;
  }

  h1 {
    font-size: 24px;
  }

  h2 {
    font-size: 20px;
  }

  h3 {
    font-size: 18px;
  }

  .ntc-container {
    width: min(calc(100% - 28px), 1180px) !important;
  }

  .ntc-header-inner {
    width: min(calc(100% - 24px), 1240px) !important;
  }

  .site-logo-img {
    height: 60px;
  }

  .logo-mark {
    width: 46px;
    height: 46px;
    border-radius: 14px;
  }

  .logo-main {
    font-size: 0.92rem;
  }

  .logo-sub {
    display: none;
  }

  .section,
  .section-padding {
    padding: 64px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .link-grid,
  .staff-grid,
  .data-grid,
  .case-meta {
    grid-template-columns: 1fr;
  }

  .card-body {
    padding: 22px;
  }

  .summary-photo {
    height: 138px;
    border-radius: 18px;
  }

  .summary-photo.is-detail {
    height: 146px;
  }

  .link-photo {
    height: 128px;
  }

  .company-table th,
  .company-table td {
    display: block;
    width: 100%;
  }

  .timeline-item {
    grid-template-columns: 1fr;
  }

  .recruit-nav {
    position: static;
  }

  .site-footer .footer-top {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }

  .site-footer .footer-brand,
  .site-footer .footer-security,
  .site-footer .footer-pmark {
    width: 100%;
    margin: 0;
  }

  .site-footer .footer-brand,
  .site-footer .footer-pmark {
    flex: none;
  }

  .site-footer .footer-pmark {
    padding-top: 0;
    text-align: left;
  }

  .staff-group {
    gap: 16px;
    padding-right: 16px;
  }

  .staff-group .staff-card {
    flex-basis: 82vw;
    width: 82vw;
  }

  /* TOP Hero：スマホ */
  body.home .hero,
  body.front-page .hero {
    height: 78svh !important;
    min-height: 480px !important;

    height: 78dvh !important;
    min-height: 480px !important;

    padding: calc(var(--header-h) + 12px) 0 22px !important;
    background: #0b2545 !important;
  }

  body.home .hero-slide,
  body.front-page .hero-slide {
    background-size: cover !important;
    background-position: center center !important;
  }

  body.home .hero-inner,
  body.front-page .hero-inner {
    max-width: 100%;
  }

  body.home .hero-title,
  body.front-page .hero-title {
    font-size: clamp(22px, 6vw, 30px) !important;
    letter-spacing: 0.01em;
    line-height: 1.25;
  }

  body.home .hero-title .line-text,
  body.front-page .hero-title .line-text {
    display: inline !important;
    white-space: normal !important;
  }

  body.home .hero-sub,
  body.front-page .hero-sub {
    margin-top: 8px;
    font-size: 0.82rem;
    line-height: 1.5;
  }

  body.home .hero-lead,
  body.front-page .hero-lead {
    margin-top: 8px;
    font-size: 0.75rem;
    line-height: 1.6;
  }

  body.home .hero-eyebrow,
  body.front-page .hero-eyebrow {
    margin-bottom: 10px;
    padding: 5px 10px;
    font-size: 0.68rem;
    line-height: 1.4;
  }

  body.home .hero-btns,
  body.front-page .hero-btns {
    gap: 8px;
    margin-top: 12px;
  }

  body.home .hero-btns .btn,
  body.front-page .hero-btns .btn {
    min-height: 36px;
    padding: 0 14px;
    font-size: 0.75rem;
  }
}

@media (max-width: 782px) {
  body.admin-bar.home .hero,
  body.admin-bar.front-page .hero {
    padding-top: calc(var(--header-h) + 46px + 12px) !important;
  }
}


/* =========================================================
   20. ヘッダーとページHeroの隙間をなくす
   ========================================================= */

#content,
main,
.site-main,
.content-area,
.entry-content {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

.page-hero {
  margin-top: 0 !important;
}

#content > p:empty,
.site-main > p:empty,
#content > br,
.site-main > br {
  display: none !important;
}


/* =========================================================
   21. モーション軽減設定
   ========================================================= */

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .staff-track {
    animation: none;
  }

  .js-fade,
  .hero-slide {
    transition: none;
  }
}


/* =========================================================
   22. PCヘッダーメニュー & プルダウン：
   選択中タブ・継ぎ目・パネル背景・強調列の配色を統一し、
   はみ出しを解消した最終調整
   （以前の複数の追加ブロックはすべてこの1つに統合済み）
   ========================================================= */

@media (min-width: 1081px) {

  :root {
    /* タブ・継ぎ目・プルダウン全体で共有する配色 */
    --dropdown-seam-color: #dff3ff;
    --dropdown-panel-bg-start: #eef8ff;
    --dropdown-panel-bg-end: #c9f3f7;

    --dropdown-active-bg-start: #e0f2fe;
    --dropdown-active-bg-end: #cffafe;
  }

  /* ---------------------------------------------
     選択中のヘッダーメニュー（タブ）
     --------------------------------------------- */
  .site-nav .nav-item.is-dropdown-active > .nav-link {
    z-index: 2200;

    transform: translateY(9px);

    padding: 14px 12px 17px !important;

    color: #0b5cab !important;
    background: linear-gradient(
      135deg,
      var(--dropdown-panel-bg-start),
      var(--dropdown-seam-color),
      var(--dropdown-panel-bg-end)
    ) !important;

    border-color: #93c5fd !important;
    border-bottom-color: var(--dropdown-seam-color) !important;
    border-radius: 14px 14px 0 0 !important;

    box-shadow:
      0 -3px 10px rgba(26, 110, 196, 0.12),
      0 8px 18px rgba(26, 110, 196, 0.16),
      0 0 0 2px rgba(125, 211, 252, 0.18) !important;

    font-weight: 950;
  }

  .site-nav .nav-item.is-dropdown-active > .nav-link span {
    color: #2877bb !important;
    font-weight: 900 !important;
  }

  /*
    タブ下部とプルダウンをつなぐ帯。
    プルダウン背景の最上部の色と完全に一致させる。
  */
  .site-nav .nav-item.is-dropdown-active > .nav-link::after {
    content: "";

    position: absolute;
    right: -1px;
    bottom: -5px;
    left: -1px;
    z-index: 2300;

    height: 8px;

    background: var(--dropdown-seam-color) !important;
  }

  .site-nav .nav-item.is-dropdown-active > .nav-link:hover {
    color: #0b5cab !important;
    background: linear-gradient(
      135deg,
      var(--dropdown-panel-bg-start),
      var(--dropdown-seam-color),
      var(--dropdown-panel-bg-end)
    ) !important;
  }

  /* ---------------------------------------------
     プルダウン全体の背景
     縦方向(180deg)のグラデーションにすることで、
     横スクロールしても「一番上の色」が
     常に継ぎ目と同じ色になるようにする。
     --------------------------------------------- */
  .all-dropdown-panel__grid {
    border-color: rgba(147, 197, 253, 0.7) !important;

    background: linear-gradient(
      180deg,
      var(--dropdown-seam-color) 0%,
      var(--dropdown-panel-bg-start) 45%,
      var(--dropdown-panel-bg-end) 100%
    ) !important;

    -webkit-backdrop-filter: blur(18px) !important;
    backdrop-filter: blur(18px) !important;

    box-shadow:
      0 14px 30px rgba(26, 110, 196, 0.16) !important;
  }

  /* ---------------------------------------------
     通常のプルダウン項目
     --------------------------------------------- */
  .all-dropdown-panel .dropdown a {
    color: #294866 !important;

    border-color: rgba(147, 197, 253, 0.55) !important;
    background: rgba(255, 255, 255, 0.72) !important;

    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  }

  .all-dropdown-panel .dropdown a:hover,
  .all-dropdown-panel .dropdown a:focus-visible {
    color: #075985 !important;

    background: linear-gradient(
      135deg,
      #e0f2fe,
      #c9f3f7
    ) !important;

    border-color: #7dd3fc !important;

    box-shadow:
      0 7px 15px rgba(26, 110, 196, 0.16),
      inset 0 1px 0 rgba(255, 255, 255, 0.8) !important;
  }

  /* ---------------------------------------------
     カテゴリ列（共通）
     --------------------------------------------- */
  .all-dropdown-panel__section {
    position: relative;
    padding: 6px;

    border: 1px solid transparent;
    border-radius: 12px;

    transition:
      background 0.2s ease,
      border-color 0.2s ease,
      box-shadow 0.2s ease,
      padding 0.2s ease,
      transform 0.2s ease;
  }

  /*
    選択中ヘッダーに対応するプルダウン列（強調表示）。

    ※ transform: scale() は使わない。
       scale()は見た目だけが拡大され、
       パネル枠からはみ出す原因になるため、
       padding / font-size で「強調」を表現する。
  */
  .all-dropdown-panel__section.is-active-section {
    z-index: 10;

    /* ほんの少しだけ余白を増やして強調する */
    padding: 10px 12px;

    border-color: rgba(96, 165, 250, 0.65) !important;

    background: linear-gradient(
      135deg,
      var(--dropdown-active-bg-start),
      var(--dropdown-active-bg-end)
    ) !important;

    box-shadow:
      0 8px 18px rgba(26, 110, 196, 0.14),
      inset 0 1px 0 rgba(255, 255, 255, 0.85) !important;

    /* ごくわずかに浮かせるだけにして、はみ出しを防ぐ */
    transform: translateY(-2px);
  }

  /* 選択中カテゴリ内の各リンクを少し大きく・見やすくする */
  .all-dropdown-panel__section.is-active-section .dropdown a {
    color: #075985 !important;

    border-color: rgba(96, 165, 250, 0.55) !important;
    background: rgba(255, 255, 255, 0.85) !important;

    font-size: 0.92rem !important;
    padding: 9px 13px !important;
  }

  .all-dropdown-panel__section.is-active-section .dropdown a:hover,
  .all-dropdown-panel__section.is-active-section .dropdown a:focus-visible {
    color: #075985 !important;

    background: linear-gradient(
      135deg,
      #bae6fd,
      #a5f3fc
    ) !important;

    border-color: #38bdf8 !important;

    box-shadow:
      0 7px 15px rgba(14, 165, 233, 0.2) !important;

    /* リンク単体への軽い拡大なら、はみ出しの影響はごく小さい */
    transform: scale(1.04) !important;
  }

  /* 子メニューがない「お問い合わせ」等の見出しにも対応 */
  .all-dropdown-panel__section.is-active-section
  .all-dropdown-panel__section-title {
    color: #075985 !important;

    border-color: #93c5fd !important;

    background: linear-gradient(
      135deg,
      #e0f2fe,
      #cffafe
    ) !important;

    box-shadow:
      0 4px 10px rgba(26, 110, 196, 0.12) !important;
  }

  /* ---------------------------------------------
     わずかな浮き上がり・強調表示が
     パネル枠内で見切れないようにする
     --------------------------------------------- */
  .all-dropdown-panel__inner {
    overflow-y: visible !important;
  }
}