/* ==============================
  プライバシーポリシーページ
============================== */
.page-privacy .privacy-content {
  max-width: 800px;
  margin: 0 auto;
  line-height: 1.8;
}
.privacy-intro {
  background: #f8f9fa;
  padding: 24px;
  border-radius: 8px;
  margin-bottom: 32px;
  border-left: 4px solid var(--blue);
}
.privacy-intro-text {
  margin: 0;
  font-size: 16px;
  color: #333;
}
.privacy-section {
  margin-bottom: 32px;
  padding-bottom: 24px;
  border-bottom: 1px solid #e9ecef;
}
.privacy-section:last-of-type {
  border-bottom: none;
}
.privacy-section-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 16px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--blue);
}
.privacy-text {
  margin-bottom: 16px;
  color: #333;
}
.privacy-list {
  margin: 16px 0;
  padding-left: 20px;
}
.privacy-list li {
  margin-bottom: 8px;
  color: #555;
}
.privacy-contact {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  margin-top: 16px;
}
.privacy-contact h3 {
  margin: 0 0 12px 0;
  color: var(--blue);
  font-size: 18px;
}
.privacy-contact p {
  margin: 0;
  line-height: 1.6;
}
.privacy-footer {
  margin-top: 40px;
  padding-top: 24px;
  border-top: 2px solid #e9ecef;
  text-align: center;
}
.privacy-date {
  margin: 0;
  color: #666;
  font-size: 14px;
}
.privacy-link {
  color: var(--blue);
  text-decoration: underline;
  font-weight: 500;
}
.privacy-link:hover {
  color: #1a5f8a;
  text-decoration: none;
}
/* ==============================
  スキップリンク
============================== */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: var(--blue);
  color: #fff;
  padding: 8px 16px;
  text-decoration: none;
  border-radius: 4px;
  font-weight: 500;
  z-index: 1000;
  transition: top 0.3s ease;
}
.skip-link:focus {
  top: 6px;
  outline: 2px solid #fff;
  outline-offset: 2px;
}
/* フォーカス管理 */
*:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
}
/* ボタンのフォーカス強化 */
button:focus,
.hamburger:focus,
.dot:focus {
  outline: 3px solid var(--blue);
  outline-offset: 2px;
  box-shadow: 0 0 0 1px #fff;
}
/* リンクのフォーカス強化 */
a:focus {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  background-color: rgba(46, 134, 193, 0.1);
}
/* カードのフォーカス強化 */
.card:focus-within {
  outline: 2px solid var(--blue);
  outline-offset: 2px;
  box-shadow: 0 4px 12px rgba(46, 134, 193, 0.2);
}
/* 高コントラストモード対応 */
.high-contrast * {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #fff !important;
}
.high-contrast .card {
  border: 2px solid #fff !important;
}
.high-contrast .hamburger span {
  background-color: #fff !important;
}
/* アニメーション減速対応 */
.reduced-motion *,
.reduced-motion *::before,
.reduced-motion *::after {
  animation-duration: 0.01ms !important;
  animation-iteration-count: 1 !important;
  transition-duration: 0.01ms !important;
  scroll-behavior: auto !important;
}
/* ==============================
  基本設定（共通）
============================== */
:root{
  --blue:#2E86C1;     /* メインカラー */
  --accent:#8dc63f;   /* サブアクセント */
  --ink:#222;
  --bg:#f4f4f4;
  --card:#fff;
  --max:1200px;
}
*{ box-sizing:border-box; }
html,body{ height:100%; }
body{
  margin:0;
  font-family:'Noto Sans JP',system-ui,-apple-system,'Hiragino Kaku Gothic ProN',Meiryo,sans-serif;
  color:var(--ink);
  background:var(--bg);
  line-height:1.9;
  letter-spacing:.02em;
  display:flex; flex-direction:column;
}
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; height:auto; vertical-align:middle; }
.container{ width:min(100%,var(--max)); margin-inline:auto; padding-inline:24px; }
main{ flex:1; }
.visually-hidden{
  position:absolute!important;
  width:1px!important;
  height:1px!important;
  padding:0!important;
  margin:-1px!important;
  overflow:hidden!important;
  clip:rect(0,0,0,0)!important;
  white-space:nowrap!important;
  border:0!important;
  clip-path:inset(50%)!important;
  /* 追加の非表示対策 */
  left:-10000px!important;
  top:auto!important;
  opacity:0!important;
  visibility:hidden!important;
}
/* 上部ライン */
.topbar{ height:6px; background:var(--blue); }
/* ==============================
  ヘッダー
============================== */
.header-right{
  display: flex;
  align-items: center;
  gap: 16px;
}
.site-label{
  font-size: 14px;
  color: #666;
  white-space: nowrap;
}
.header-sitemap{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f2f6fb;
  color: var(--blue);
  text-decoration: none;
  transition: all 0.2s ease;
  border: 1px solid #e0e9f6;
}
.header-sitemap:hover{
  background: var(--blue);
  color: #fff;
  transform: scale(1.05);
  box-shadow: 0 4px 12px rgba(46, 134, 193, 0.3);
}
.header-sitemap i{
  font-size: 16px;
}
.header{
  display:flex; align-items:center; justify-content:space-between;
  padding:18px 24px; background:#fff; border-bottom:1px solid #eee;
  position:sticky; top:0; z-index:1000;
}
.brand{ display:flex; align-items:center; gap:12px; }
.logo-img{ height:44px; width:auto; display:block; }
.header-right{ display:flex; align-items:center; gap:24px; }
.site-label{ font-size:14px; color:#666; white-space:nowrap; }
/* コーポレートサイトリンク（ヘッダ右のロゴ横） */
.corp-link{
  margin-left:12px; font-weight:700; font-size:14px;
  padding:6px 10px; border-radius:999px; background:#edf4fb; color:var(--blue);
  border:1px solid #d9e7f7;
}
.corp-link:hover{ opacity:.9; }
.hamburger{
  width:36px; height:28px; display:grid; grid-template-rows:repeat(3,1fr); gap:6px;
  border:none; background:none; cursor:pointer; z-index:1100;
}
.hamburger span{
  display:block; width:100%; height:3px; background:var(--blue); border-radius:3px; transition:.3s;
}
.hamburger.is-active span:nth-child(1){ transform:rotate(45deg) translate(5px,5px); }
.hamburger.is-active span:nth-child(2){ opacity:0; }
.hamburger.is-active span:nth-child(3){ transform:rotate(-45deg) translate(6px,-6px); }
.drawer{
  position:fixed; top:0; right:-300px; width:300px; height:100%;
  background:#fff; box-shadow:-2px 0 8px rgba(0,0,0,.15);
  padding:60px 20px; transition:right .3s ease; z-index:1050;
}
.drawer.open{ right:0; }
.drawer ul{ list-style:none; padding:0; margin:0; }
.drawer li{ margin-bottom:20px; }
.drawer a{ font-weight:700; color:var(--blue); font-size:18px; }
.drawer-close{
  position:absolute; top:14px; right:14px; width:36px; height:36px; line-height:34px;
  border:none; border-radius:999px; background:#f3f6fa; color:#333; font-size:22px; font-weight:700; cursor:pointer;
}
.overlay{
  position:fixed; inset:0; background:rgba(0,0,0,.4);
  opacity:0; visibility:hidden; transition:.3s; z-index:1040;
}
.overlay.show{ opacity:1; visibility:visible; }
/* ==============================
  Hero
============================== */
.hero{ background:#fff; box-shadow:inset 0 0 0 1px rgba(0,0,0,.04); }
.hero .container{ display:grid; place-items:center; padding-block:64px; }
.lead-kicker{ font-size:14px; color:#888; letter-spacing:.3em; margin:0 0 8px; }
.lead-title{ font-size:clamp(28px,5vw,48px); font-weight:900; color:var(--blue); text-align:center; }
.lead{ font-size:16px; color:#555; text-align:center; margin:0 0 24px; }
/* ==============================
  ホーム（page-home）
============================== */
.page-home .hero-slider{
  position:relative; width:100%; max-width:960px; aspect-ratio:16/9;
  border-radius:16px; overflow:hidden; box-shadow:0 6px 20px rgba(0,0,0,.08);
}
.page-home .slide{
  position:absolute; inset:0; object-fit:cover; width:100%; height:100%;
  opacity:0; transition:opacity .5s ease;
}
.page-home .slide.is-active{ opacity:1; }
/* スライダー内・新着情報バッジ */
.page-home .news-box{
  position:absolute; right:14px; bottom:14px;
  background:rgba(255,255,255,.85); backdrop-filter: blur(4px);
  border:1px solid rgba(0,0,0,.06);
  color:#123; border-radius:10px; padding:10px 12px;
  box-shadow:0 4px 12px rgba(0,0,0,.10);
}
.page-home .news-box .news-text{ font-weight:700; }
.page-home .dots{ display:flex; gap:10px; justify-content:center; margin-top:12px; }
.page-home .dots .dot{
  appearance:none; -webkit-appearance:none; padding:0; margin:0;
  width:12px; height:12px; aspect-ratio:1/1; border:2px solid var(--blue);
  background:#fff; border-radius:50%; display:inline-block; cursor:pointer;
}
.page-home .dots .dot.is-active{ background:var(--blue); }
/* モバイル用のdotsサイズ調整 */
@media screen and (max-width: 768px) {
  .page-home .dots{ 
    gap:8px !important; 
    margin-top:10px !important; 
  }
  .page-home .dots .dot{
    width:10px !important; 
    height:10px !important; 
    border-width:2px !important;
    min-width:10px !important;
    min-height:10px !important;
    max-width:10px !important;
    max-height:10px !important;
    aspect-ratio:unset !important;
  }
  /* スマホでコーポレートサイトリンクをアイコンのみに */
  .corp-link {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    background: #f8f9fa !important;
    border: 1px solid #e9ecef !important;
    border-radius: 50% !important;
    color: var(--blue) !important;
    font-size: 16px !important;
    text-decoration: none !important;
    transition: all 0.2s ease !important;
  }
  .corp-link:hover {
    background: var(--blue) !important;
    color: #fff !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 4px 8px rgba(46, 134, 193, 0.2) !important;
  }
  .corp-link::before {
    content: "\f0ac" !important;
    font-family: "Font Awesome 6 Free" !important;
    font-weight: 900 !important;
  }
  .corp-link {
    font-size: 0 !important;
    line-height: 0 !important;
  }
  .corp-link * {
    display: none !important;
  }
  .corp-link::before {
    display: block !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }
  /* ツールチップのスタイル */
  .corp-link::after {
    content: "コーポレートサイト" !important;
    position: absolute !important;
    bottom: -35px !important;
    left: 50% !important;
    transform: translateX(-50%) !important;
    background: rgba(0, 0, 0, 0.8) !important;
    color: #fff !important;
    padding: 6px 10px !important;
    border-radius: 4px !important;
    font-size: 12px !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.3s ease !important;
    z-index: 1000 !important;
    pointer-events: none !important;
  }
  .corp-link:hover::after,
  .corp-link:focus::after,
  .corp-link:active::after,
  .corp-link.touch-active::after {
    opacity: 1 !important;
    visibility: visible !important;
  }
  /* ヘッダーの右側の余白を調整 */
  .header-right {
    gap: 8px !important;
  }
}
@media screen and (max-width: 480px) {
  .page-home .dots{ 
    gap:6px !important; 
    margin-top:8px !important; 
  }
  .page-home .dots .dot{
    width:8px !important; 
    height:8px !important; 
    border-width:1px !important;
    min-width:8px !important;
    min-height:8px !important;
    max-width:8px !important;
    max-height:8px !important;
    aspect-ratio:unset !important;
  }
}
.grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; padding:20px 0; }
.numbers-grid{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
.card{
  background:var(--card); border-radius:12px; box-shadow:0 2px 6px rgba(0,0,0,.06);
  padding:24px; min-height:220px; text-align:center;
  display:flex; align-items:center; justify-content:center; position:relative;
  transition:transform .2s ease, box-shadow .2s ease, background-color .15s ease;
}
.card:hover{ transform:translateY(-2px); box-shadow:0 10px 20px rgba(0,0,0,.08); }
.card:active{ background:rgba(46,134,193,.12); }
.card--outline{ background:var(--blue); }
.card--entry{ font-size:32px; font-weight:800; color:#fff; letter-spacing:.18em; }
.card--clickable{ cursor:pointer; }
.card--clickable > .stretched-link{ position:absolute; inset:0; z-index:10; display:block; }
.card--clickable > *{ position:relative; z-index:2; }
.pill{ display:inline-block; background:#F39C12; color:#fff; border-radius:999px; padding:4px 10px; font-size:12px; letter-spacing:.1em; }
.card-link-text{ margin-top:16px; color:var(--blue); font-weight:700; }
/* 数字で見る S-PAX（横長カード） */
.grid--feature{ grid-template-columns:2fr 1fr; }
.card--wide{ text-align:left; align-items:flex-start; }
.card--numbers .kpi-value{ font-size:32px; font-weight:900; margin-right:2px; }
/* SNS リンク（フッター前） */
.social-links{ background:#fff; border-top:1px solid #eee; }
.social-links .container{ display:flex; gap:18px; justify-content:center; padding:20px 24px; }
.social-links a{ display:inline-grid; place-items:center; width:40px; height:40px; border-radius:50%; background:#f2f6fb; color:#1b3f66; border:1px solid #e0e9f6; }
.social-links a:hover{ transform:translateY(-1px); box-shadow:0 8px 16px rgba(0,0,0,.08); }
/* ==============================
  募集要項（page-recruit）
============================== */
.page-recruit .tabs{ display:flex; gap:8px; border-bottom:1px solid #ddd; margin-top:16px; flex-wrap:wrap; }
.page-recruit .tab{
  padding:10px 18px; background:#cfcfcf; border-radius:8px 8px 0 0; cursor:pointer;
  border:none; font:inherit;
}
.page-recruit .tab.is-active{ background:var(--blue); color:#fff; }
.page-recruit .tab-box{
  background:#fff; border:1px solid #ddd; border-radius:0 8px 8px 8px; padding:20px;
}
.page-recruit .tab-panel{ display:none; }
.page-recruit .tab-panel.is-active{ display:block; }
.page-recruit .job-table{ width:100%; border-collapse:collapse; background:#fff; }
.page-recruit .job-table th,
.page-recruit .job-table td{ border:1px solid #e5e5e5; padding:12px 14px; vertical-align:top; }
.page-recruit .job-table th{ width:32%; background:#f9fbff; color:#123; font-weight:700; }
.page-recruit .job-table tr:nth-child(even) td{ background:#fcfcfc; }
.page-recruit .contact-link{ color:var(--blue); font-weight:800; }
/* ==============================
  インタビュー（page-interviews）
============================== */
.page-interviews .ivw{ background:#fff; border:1px solid #eee; border-radius:12px; padding:24px; margin-bottom:32px; }
.page-interviews .ivw-head{ display:flex; gap:20px; align-items:center; }
.page-interviews .ivw--reverse .ivw-head{ flex-direction:row-reverse; }
.page-interviews .ivw-photo{
  width:180px; height:180px; object-fit:cover; border-radius:12px; flex:0 0 auto;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
}
.page-interviews .ivw-meta{ flex:1; margin:0; }
.page-interviews .ivw-dept{ margin-bottom:8px; display:inline-block; }
.page-interviews .ivw-name{ font-size:22px; margin:6px 0 4px; font-weight:900; }
.page-interviews .ivw-name small{ font-size:.8em; color:#666; font-weight:700; margin-left:.25em; }
.page-interviews .ivw-copy{ margin:8px 0 0; color:#333; }
.page-interviews .ivw-body{ margin-top:18px; }
.page-interviews .ivw-main .ivw-sec{ font-size:18px; margin:18px 0 6px; color:var(--blue); }
.page-interviews .ivw-divider{ border:0; height:1px; background:linear-gradient(90deg,#0000,#e5e5e5,#0000); margin:32px 0; }
/* インタビューページだけ pill を強調 */
.page-interviews .ivw-dept.pill{
  background:var(--blue); color:#fff; font-weight:700;
  font-size:14px; padding:6px 14px; border-radius:999px; letter-spacing:.05em;
}
/* 佐藤花子さんだけ寄せる */
.page-interviews .ivw-hanako .ivw-head{
  display:flex;
  flex-direction:row-reverse;
  align-items:center;
  justify-content:flex-start;
  gap:8px;
}
.page-interviews .ivw-hanako .ivw-meta{
  margin:0;
  padding:0;
  flex:0 1 auto;
}
.page-interviews .ivw-hanako .ivw-photo{
  width:180px;
  height:180px;
  object-fit:cover;
}
/* FAQ ボックス（インタビュー専用デザイン） */
.page-interviews .ivw-faq {
  background:#f7f7f7; border-radius:12px; padding:14px 18px;
  border:1px solid #e0e0e0; margin-top:18px;
}
.page-interviews .ivw-faq summary{ font-weight:700; color:#333; cursor:pointer; list-style:none; }
.page-interviews .ivw-faq summary::before{ content:"・"; color:var(--blue); font-weight:bold; } 
.page-interviews .ivw-faq[open] summary::before{ content:"▼ "; }
/* ==============================
  D&I（page-diversity）
============================== */
.page-diversity .ivw{
  background:#fff; border:1px solid #eee; border-radius:12px; padding:24px; margin:24px 0;
}
.page-diversity .ivw-head{ display:flex; align-items:center; gap:16px; }
.page-diversity .ivw-photo{
  width:140px; height:140px; border-radius:12px;
  box-shadow:0 2px 10px rgba(0,0,0,.06); flex:0 0 auto;
}
.page-diversity .ivw-meta{ flex:1; margin:0; }
.page-diversity .ivw-dept.pill{
  background:var(--blue); color:#fff; font-weight:700;
  font-size:14px; padding:6px 14px; border-radius:999px; letter-spacing:.05em;
}
.page-diversity .ivw-body{
  display:grid; grid-template-columns:2fr 1fr; gap:24px; margin-top:18px;
}
.page-diversity .ivw-main .ivw-sec{ font-size:18px; margin:18px 0 6px; color:var(--blue); }
.page-diversity .ivw-side{
  border-left:1px solid #eaeaea; padding-left:24px;
}
.page-diversity .ivw-facts{ display:grid; gap:10px; }
.page-diversity .ivw-facts dt{ font-weight:700; color:#333; }
.page-diversity .ivw-facts dd{ margin:4px 0 0; color:#555; }
/* FAQ ボックス */
.page-diversity .ivw-faq{
  background:#f7f7f7; border-radius:12px; padding:14px 18px;
  border:1px solid #e0e0e0; margin-top:18px;
}
.page-diversity .ivw-faq summary{ font-weight:700; color:#333; cursor:pointer; list-style:none; }
.page-diversity .ivw-faq summary::before{ content:"・"; color:var(--blue); font-weight:bold; } 
.page-diversity .ivw-faq[open] summary::before{ content:"▼ "; }
/* 外部認定・掲載情報の装飾 */
.page-diversity .ext-title{
  font-size:20px; font-weight:900; margin:0 0 8px; color:#163;
}
.page-diversity .ext-note{
  color:#555; margin:0 0 12px;
}
.page-diversity .ext-links{
  display:grid; gap:12px; grid-template-columns:repeat(2,minmax(0,1fr)); margin-top:8px;
}
.page-diversity .ext-btn{
  display:inline-block; background:var(--blue); color:#fff;
  padding:12px 14px; border-radius:8px; font-weight:700; text-align:center;
  transition:transform .12s ease, opacity .12s ease, box-shadow .12s ease;
  box-shadow:0 2px 8px rgba(0,0,0,.06);
}
.page-diversity .ext-btn:hover{
  opacity:.92; transform:translateY(-1px);
  box-shadow:0 8px 16px rgba(0,0,0,.08);
}
.page-diversity .ext-icon{ margin-left:6px; }
.page-diversity .ext-source{
  display:block; font-size:12px; color:#666; margin-top:10px;
}
/* ==============================
  About（page-about）
============================== */
.page-about .message { margin-bottom: 40px; }
.page-about .company-table{
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 16px;
}
.page-about .company-table th,
.page-about .company-table td{
  padding: 12px 14px;
  border-bottom: 1px solid #eef2f7;
  vertical-align: top;
}
.page-about .company-table th{
  width: 28%;
  background: #f5f9ff;
  color: #123;
  font-weight: 700;
}
.page-about .company-table tr:last-child th,
.page-about .company-table tr:last-child td{ border-bottom: none; }
/* タイムライン（統合版） */
.page-about .timeline{
  position: relative;
  margin: 0;
  padding-left: 28px;
  border-left: 3px solid #2E86C1;
}
.page-about .timeline::before{
  content: none !important;
  display: none !important;
  width: 0 !important;
  height: 0 !important;
  background: none !important;
}
.page-about .timeline dt{
  position: relative;
  margin: 18px 0 4px;
  font-weight: 900;
  color: #2E86C1;
  line-height: 1.6;
}
.page-about .timeline dt::before{
  content: "";
  position: absolute;
  left: -15px;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 10px;
  background: #2E86C1;
  border-radius: 50%;
  box-shadow: 0 0 0 4px #f2f8fd;
  z-index: 1;
}
.page-about .timeline dd{
  margin: 0 0 14px;
  color: #333;
}
/* details（すべて表示） - 統合版 */
.page-about .history-more{
  margin-top: 14px;
}
.page-about .history-more summary{
  list-style: none;
  cursor: pointer;
  user-select: none;
  font-weight: 800;
  color: var(--blue);
  background: #eef6fd;
  padding: 10px 12px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.page-about .history-more[open] summary{
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}
.page-about .history-more summary:hover{
  background: #dff0ff;
}
.page-about .history-more summary::-webkit-details-marker{
  display: none;
}
.page-about .history-more summary::before{
  content: "・";
  font-size: 12px;
  transform: translateY(1px);
}
.page-about .history-more[open] summary::before{
  content: "▼";
}
.page-about .history-more > div{
  border: 1px solid #e5eff7;
  border-top: none;
  padding: 12px;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  background: #fff;
}
/* ==============================
  HR（page-hr）
============================== */
.page-hr .hr-figure{ margin:0; }
.page-hr .hr-photo{ width:220px; height:auto; border-radius:12px; object-fit:cover; box-shadow:0 2px 10px rgba(0,0,0,.06); }
.page-hr .hr-content{ flex:1; }
.page-hr .hr-title{ margin:0 0 8px; color:var(--blue); font-size:22px; font-weight:900; }
.page-hr .hr-lead{ margin:0 0 12px; font-weight:500; }
.page-hr .hr-signplate{ margin-top:10px; text-align:right; font-weight:900; }
.page-hr .hr-sec-title{ font-size:20px; font-weight:900; margin:24px 0 12px; }
.page-hr .hr-cta-card,
.page-faq .hr-cta-card{ background:#f7fbff; border:1px solid #e2eef8; border-radius:12px; padding:24px; text-align:center; }
.page-hr .hr-cta-buttons,
.page-faq .hr-cta-buttons{ display:flex; gap:16px; justify-content:center; margin:20px 0; }
.page-hr .btn-accent,
.page-faq .btn-accent{ display:inline-block; padding:12px 24px; border-radius:10px; background:var(--blue); color:#fff; font-weight:800; text-decoration:none; transition:opacity .2s ease; }
.page-hr .btn-accent:hover,
.page-faq .btn-accent:hover{ opacity:.9; }
.page-hr .btn-secondary,
.page-faq .btn-secondary{ display:inline-block; padding:12px 24px; border-radius:10px; background:#fff; color:var(--blue); font-weight:800; text-decoration:none; border:2px solid var(--blue); transition:all .2s ease; }
.page-hr .btn-secondary:hover,
.page-faq .btn-secondary:hover{ background:var(--blue); color:#fff; }
.page-hr .hr-cta-note,
.page-faq .hr-cta-note{ font-size:14px; color:#666; margin:16px 0 0; line-height:1.6; }
/* 人事担当者の想いセクション */
.page-hr .hr-thoughts{
  background:#fff; border:1px solid #e8edf3; border-radius:12px; padding:24px; margin:24px 0;
}
.page-hr .hr-thoughts-content p{
  margin:0 0 16px; line-height:1.8; color:#333;
}
.page-hr .hr-thoughts-content p:last-child{ margin-bottom:0; }
/* 採用の特徴セクション */
.page-hr .hr-features{
  background:#fff; border:1px solid #e8edf3; border-radius:12px; padding:24px; margin:24px 0;
}
.page-hr .hr-features-grid{
  display:grid; grid-template-columns:repeat(3,1fr); gap:20px; margin-top:16px;
}
.page-hr .hr-feature-item{
  text-align:center; padding:16px; border-radius:10px; background:#f9fbff;
  border:1px solid #e2eef8; transition:transform .2s ease, box-shadow .2s ease;
}
.page-hr .hr-feature-item:hover{
  transform:translateY(-2px); box-shadow:0 6px 16px rgba(0,0,0,.08);
}
.page-hr .hr-feature-icon{
  font-size:32px; margin-bottom:8px; display:block;
}
.page-hr .hr-feature-item h3{
  font-size:16px; font-weight:800; color:var(--blue); margin:8px 0 6px;
}
.page-hr .hr-feature-item p{
  font-size:14px; color:#555; margin:0; line-height:1.6;
}
/* ==============================
  お問い合わせ（page-contact）
============================== */
.page-contact .contact-wrap{ display:grid; grid-template-columns:2fr 1fr; gap:24px; }
.page-contact .contact-card{ background:#fff; padding:24px; border:1px solid #eee; border-radius:12px; }
.page-contact .contact-title{ font-size:20px; font-weight:900; margin:0 0 12px; }
.page-contact .contact-side .side-card{ background:#fff; border:1px solid #eee; border-radius:12px; padding:16px; margin-bottom:16px; }
.page-contact .side-title{ font-weight:900; margin:0 0 6px; }
.page-contact .btn-accent{ display:inline-block; padding:10px 16px; border-radius:10px; background:var(--blue); color:#fff; font-weight:800; }
/* フォーム通知エリアのスタイル */
.page-contact .form-notice {
  margin-top: 24px;
  padding: 20px;
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  margin-bottom: 20px;
}
.page-contact .notice-box {
  background: #fff;
  padding: 16px;
  border-radius: 6px;
  border-left: 4px solid #ffc107;
}
/* プライバシーボタンのスタイル */
.page-contact .privacy-link-section .btn-privacy {
  display: inline-flex !important;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: #f8f9ff !important;
  color: #2563eb !important;
  text-decoration: none !important;
  border-radius: 8px;
  font-weight: 600;
  font-size: 14px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
  border: 2px solid #2563eb !important;
  cursor: pointer;
}
.page-contact .privacy-link-section .btn-privacy:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(37, 99, 235, 0.3);
  background: #2563eb !important;
  color: #fff !important;
}
.page-contact .privacy-link-section .btn-privacy:active {
  transform: translateY(0);
  box-shadow: 0 2px 4px rgba(37, 99, 235, 0.2);
}
.page-contact .privacy-link-section .btn-privacy i {
  font-size: 16px;
}
.page-contact .privacy-link-section .btn-privacy i:last-child {
  font-size: 12px;
  margin-left: 4px;
}
/* ==============================
  ニュースページ（page-news）
============================== */
/* フィルタータブのコンテナ */
.news-filters {
  margin-bottom: 20px;
}
.filter-tabs {
  display: flex !important;
  width: 100% !important;
  overflow-x: auto !important;
  -webkit-overflow-scrolling: touch !important;
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.filter-tabs::-webkit-scrollbar {
  display: none !important;
}
/* フィルタータブのスタイルを全デバイスで統一 */
.filter-tab {
  padding: 10px 12px !important;
  border: none !important;
  border-radius: 0 !important;
  background: #fff !important;
  color: #666 !important;
  font-size: 14px !important;
  font-weight: 500 !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  outline: none !important;
  position: relative !important;
  flex: 1 !important;
  min-width: 0 !important;
  text-align: center !important;
  border-right: 1px solid #e9ecef !important;
  white-space: nowrap !important;
}
.filter-tab:last-child {
  border-right: none !important;
}
.filter-tab:hover {
  background: #f8f9fa !important;
  color: #333 !important;
}
.filter-tab.active {
  z-index: 1 !important;
}
/* カテゴリー別のアクティブタブスタイル */
.filter-tab.active[data-category=""] {
  background: #666 !important;
  color: #fff !important;
}
.filter-tab.active[data-category="news"] {
  background: #20B2AA !important;
  color: #fff !important;
}
.filter-tab.active[data-category="recruit"] {
  background: #8B5A96 !important;
  color: #fff !important;
}
.filter-tab.active[data-category="important"] {
  background: #FF8C00 !important;
  color: #fff !important;
}
/* ニュースセクションのスタイル */
.news-section {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  width: 100% !important;
}
/* ニュースリストのスタイルを全デバイスで統一 */
.news-list {
  list-style: none !important;
  padding: 0 !important;
  margin: 0 auto !important;
  background: #fff !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1) !important;
  max-width: 1000px !important;
  width: 100% !important;
}
/* ニュースアイテムの表示制御 */
.news-item[style*="display: none"] {
  display: none !important;
}
/* ニュースコンテンツのスタイル */
.news-content {
  margin-top: 12px !important;
  padding: 16px !important;
  background: #f8f9fa !important;
  border-radius: 6px !important;
  border-left: 4px solid #20B2AA !important;
}
.news-content p {
  margin: 0 0 12px 0 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  color: #333 !important;
}
.news-content p:last-child {
  margin-bottom: 0 !important;
}
/* ユーザビリティ改善（レイアウト保持型） */
/* フォーカス表示の改善 */
*:focus {
  outline: 2px solid #2563eb;
  outline-offset: 2px;
}
/* キーボードナビゲーションの改善 */
.skip-link {
  position: absolute;
  top: -40px;
  left: 6px;
  background: #2563eb;
  color: white;
  padding: 8px;
  text-decoration: none;
  border-radius: 4px;
  z-index: 1000;
  transition: top 0.3s;
}
.skip-link:focus {
  top: 6px;
}
/* ボタンのアクセシビリティ改善（既存スタイルを拡張） */
button:disabled, .btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}
/* フォーム要素のアクセシビリティ改善 */
input, textarea, select {
  font-size: 16px; /* ズーム時の問題を防ぐ */
  min-height: 44px;
}
input:focus, textarea:focus, select:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
/* 読み上げ用のスクリーンリーダー専用テキスト */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* 高コントラストモード対応 */
@media (prefers-contrast: high) {
  * {
    border-color: currentColor;
  }
}
/* アニメーション軽減設定 */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
/* 言語切り替え */
.language-switcher {
  display: flex;
  align-items: center;
  margin-right: 8px;
  border: 1px solid rgba(107, 114, 128, 0.2);
  border-radius: 20px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.1);
}
.lang-btn {
  background: transparent;
  border: none;
  color: #6b7280;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  min-width: 40px;
  text-align: center;
}
.lang-btn:hover {
  background: rgba(32, 178, 170, 0.1);
  color: #20B2AA;
}
.lang-btn.active {
  background: #20B2AA;
  color: white;
}
.lang-btn:first-child {
  border-radius: 20px 0 0 20px;
}
.lang-btn:last-child {
  border-radius: 0 20px 20px 0;
}
/* ヘッダーのブラウザブックマークボタン */
.bookmark-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: #6b7280;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 50%;
  background: transparent;
  margin-right: 8px;
  border: 1px solid rgba(107, 114, 128, 0.2);
}
.bookmark-btn:hover {
  background: rgba(32, 178, 170, 0.1);
  color: #20B2AA;
  border-color: rgba(32, 178, 170, 0.3);
  transform: scale(1.05);
}
.bookmark-btn i {
  font-size: 14px;
}
.bookmark-btn:active {
  transform: scale(0.95);
}
.bookmark-btn.bookmarked {
  color: #20B2AA;
  background: rgba(32, 178, 170, 0.1);
  border-color: rgba(32, 178, 170, 0.3);
}
.bookmark-btn.bookmarked i {
  font-weight: 900;
}
/* ブックマークモーダル */
.bookmark-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.bookmark-modal.show {
  opacity: 1;
}
.bookmark-modal.hide {
  opacity: 0;
}
.bookmark-modal-content {
  background: white;
  border-radius: 12px;
  padding: 0;
  max-width: 500px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
  transform: scale(0.9);
  transition: transform 0.3s ease;
}
.bookmark-modal.show .bookmark-modal-content {
  transform: scale(1);
}
.bookmark-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 24px;
  border-bottom: 1px solid #e9ecef;
  background: #f8f9fa;
  border-radius: 12px 12px 0 0;
}
.bookmark-modal-header h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
  color: #2c3e50;
}
.bookmark-modal-close {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #6c757d;
  padding: 4px;
  border-radius: 4px;
  transition: all 0.2s ease;
}
.bookmark-modal-close:hover {
  color: #495057;
  background: #e9ecef;
}
.bookmark-modal-body {
  padding: 24px;
}
.bookmark-instructions {
  margin: 20px 0;
}
.bookmark-method {
  margin-bottom: 20px;
  padding: 16px;
  background: #f8f9fa;
  border-radius: 8px;
  border-left: 4px solid #20B2AA;
}
.bookmark-method strong {
  display: block;
  margin-bottom: 8px;
  color: #2c3e50;
  font-size: 14px;
}
.bookmark-method p {
  margin: 0;
  color: #666;
  font-size: 13px;
  line-height: 1.5;
}
.shortcut-key {
  display: inline-block;
  background: #20B2AA;
  color: white;
  padding: 4px 8px;
  border-radius: 4px;
  font-family: monospace;
  font-size: 12px;
  font-weight: bold;
  margin-top: 8px;
}
.bookmark-info {
  margin-top: 20px;
  padding: 16px;
  background: #e3f2fd;
  border-radius: 8px;
  border: 1px solid #bbdefb;
}
.bookmark-info p {
  margin: 0 0 8px 0;
  font-size: 13px;
  color: #1565c0;
}
.bookmark-info p:last-child {
  margin-bottom: 0;
}
.bookmark-info code {
  background: rgba(21, 101, 192, 0.1);
  padding: 2px 4px;
  border-radius: 3px;
  font-size: 11px;
  word-break: break-all;
}
/* レスポンシブ対応 */
@media (max-width: 640px) {
  .bookmark-modal-content {
    margin: 20px;
    padding: 0;
    max-height: 70vh;
  }
  .bookmark-modal-header {
    padding: 16px 20px;
  }
  .bookmark-modal-body {
    padding: 20px;
  }
  .bookmark-method {
    padding: 12px;
  }
  .bookmark-info {
    padding: 12px;
  }
}
/* Cookie同意バナー */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
  color: white;
  padding: 20px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.3);
  z-index: 10000;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
  border-top: 3px solid #20B2AA;
}
.cookie-banner.show {
  transform: translateY(0);
}
.cookie-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  gap: 20px;
}
.cookie-icon {
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  background: rgba(32, 178, 170, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #20B2AA;
}
.cookie-icon i {
  font-size: 24px;
  color: #20B2AA;
}
.cookie-text {
  flex: 1;
  min-width: 0;
}
.cookie-text h4 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}
.cookie-text p {
  margin: 0 0 8px 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
}
.cookie-text p:last-child {
  margin-bottom: 0;
}
.cookie-link {
  color: #20B2AA;
  text-decoration: underline;
  font-weight: 600;
  transition: color 0.2s ease;
}
.cookie-link:hover {
  color: #1a9b96;
}
.cookie-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.cookie-accept {
  background: #20B2AA;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 2px 8px rgba(32, 178, 170, 0.3);
}
.cookie-accept:hover {
  background: #1a9b96;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(32, 178, 170, 0.4);
}
.cookie-accept:active {
  transform: translateY(0);
}
.cookie-close {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 8px 16px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  white-space: nowrap;
}
.cookie-close:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
  .cookie-banner {
    padding: 16px;
  }
  .cookie-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
  .cookie-icon {
    width: 40px;
    height: 40px;
  }
  .cookie-icon i {
    font-size: 20px;
  }
  .cookie-text h4 {
    font-size: 16px;
  }
  .cookie-text p {
    font-size: 13px;
  }
  .cookie-actions {
    width: 100%;
    justify-content: center;
  }
  .cookie-accept {
    padding: 10px 20px;
    font-size: 13px;
  }
}
@media (max-width: 480px) {
  .cookie-banner {
    padding: 12px;
  }
  .cookie-content {
    gap: 12px;
  }
  .cookie-icon {
    width: 36px;
    height: 36px;
  }
  .cookie-icon i {
    font-size: 18px;
  }
  .cookie-text h4 {
    font-size: 15px;
  }
  .cookie-text p {
    font-size: 12px;
  }
  .cookie-accept {
    padding: 8px 16px;
    font-size: 12px;
  }
  .cookie-close {
    padding: 6px 12px;
    font-size: 14px;
  }
  .cookie-close-text {
    display: none; /* モバイルではテキストを非表示 */
  }
}
/* 画像最適化のスタイル */
picture {
  display: block;
  width: 100%;
  height: 100%;
}
picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity 0.3s ease;
}
/* picture要素にクラスが適用されている場合の調整 */
picture.ivw-photo {
  width: 180px;
  height: 180px;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  flex: 0 0 auto;
  display: block;
  overflow: hidden;
}
picture.hr-photo {
  width: 220px;
  height: auto;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0,0,0,.06);
  display: block;
  overflow: hidden;
}
/* デバッグ用: 画像が読み込まれない場合の表示 */
picture img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
/* 画像読み込みエラー時のフォールバック */
picture img:not([src]) {
  background: #f0f0f0;
  border: 2px dashed #ccc;
}
picture img[src=""] {
  background: #f0f0f0;
  border: 2px dashed #ccc;
}
/* 画像の遅延読み込み対応 */
img[loading="lazy"] {
  opacity: 0;
  transition: opacity 0.3s ease;
}
img[loading="lazy"].loaded {
  opacity: 1;
}
/* 通常の画像は常に表示 */
img:not([loading="lazy"]) {
  opacity: 1;
}
/* 画像の最適化 */
img {
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}
/* ニュース詳細ページのスタイル */
.news-detail {
  max-width: 800px !important;
  margin: 0 auto !important;
  background: #fff !important;
  border-radius: 12px !important;
  padding: 40px !important;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
}
.news-meta {
  display: flex !important;
  align-items: center !important;
  gap: 16px !important;
  margin-bottom: 24px !important;
  padding-bottom: 16px !important;
  border-bottom: 1px solid #e9ecef !important;
}
.news-detail-title {
  font-size: 32px !important;
  font-weight: 900 !important;
  color: #2c3e50 !important;
  margin: 0 0 32px 0 !important;
  line-height: 1.3 !important;
  position: relative !important;
  padding-bottom: 16px !important;
  border-bottom: 3px solid #20B2AA !important;
  background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
}
.news-detail-content {
  margin-bottom: 40px !important;
}
.news-detail-content p {
  font-size: 16px !important;
  line-height: 1.8 !important;
  color: #555 !important;
  margin: 0 0 20px 0 !important;
}
.news-detail-content p:last-child {
  margin-bottom: 0 !important;
}
.news-detail-footer {
  text-align: center !important;
  padding-top: 24px !important;
  border-top: 1px solid #e9ecef !important;
}
.news-detail-footer .btn {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 12px 24px !important;
  background: #f8f9fa !important;
  color: #666 !important;
  text-decoration: none !important;
  border-radius: 8px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  border: 1px solid #e9ecef !important;
}
.news-detail-footer .btn:hover {
  background: #e9ecef !important;
  color: #333 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1) !important;
}
/* モバイル用の調整 */
@media (max-width: 640px) {
  .news-detail {
    padding: 24px !important;
    margin: 0 16px !important;
  }
  .news-detail-title {
    font-size: 26px !important;
    padding-bottom: 12px !important;
    border-bottom: 2px solid #20B2AA !important;
  }
  .news-detail-content p {
    font-size: 15px !important;
  }
  .news-meta {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
  }
}
/* ニュースアイテムのスタイルを全デバイスで統一 */
body.page-news .news-item, 
body.page-news li.news-item, 
.page-news .news-item {
  border-bottom: 1px solid #e9ecef !important;
  padding: 20px 0 !important;
  transition: background-color 0.2s ease !important;
  display: block !important;
  background: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  height: auto !important;
  flex-direction: unset !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  list-style: none !important;
  text-align: left !important;
}

/* フィルターで非表示にするためのクラス */
body.page-news .news-item.hidden,
body.page-news li.news-item.hidden,
.page-news .news-item.hidden {
  display: none !important;
}
/* ニュースカテゴリーのスタイルを全デバイスで統一 */
body.page-news .news-cat {
  font-size: 12px !important;
  font-weight: 600 !important;
  padding: 4px 8px !important;
  border-radius: 4px !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  display: inline !important;
  margin-right: 12px !important;
}
/* ニュースカテゴリーの色分けを全デバイスで統一 */
.news-cat--news {
  background: #20B2AA !important;
  color: #fff !important;
}
.news-cat--recruit {
  background: #8B5A96 !important;
  color: #fff !important;
}
.news-cat--important {
  background: #FF8C00 !important;
  color: #fff !important;
}
/* デスクトップ用の改善スタイル */
@media (min-width: 769px) {
  /* フィルタータブの改善 */
  .news-filters {
    margin-bottom: 30px !important;
  }
  .filter-tabs {
    max-width: 500px !important;
    margin: 0 auto !important;
  }
  .filter-tab {
    padding: 12px 20px !important;
    font-size: 15px !important;
  }
  /* ニュースリストの改善 */
  .news-list {
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
  }
  /* ニュースアイテムの改善 */
  .page-news .news-item {
    padding: 20px 24px !important;
  }
  .page-news .news-item:hover {
    background: #f8f9fa !important;
  }
  .page-news .news-link {
    display: flex !important;
    align-items: center !important;
    gap: 16px !important;
  }
  .page-news .news-date {
    min-width: 100px !important;
    flex-shrink: 0 !important;
    margin-left: 20px;
  }
  .page-news .news-cat {
    flex-shrink: 0 !important;
    margin-right: 0 !important;
  }
  .page-news .news-title {
    font-size: 16px !important;
    flex: 1 !important;
  }
  .page-news .news-title:hover {
    color: #20B2AA !important;
  }
  /* 空の状態の改善 */
  .news-empty {
    padding: 60px 20px !important;
    border-radius: 12px !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1) !important;
  }
  .news-empty i {
    font-size: 48px !important;
    margin-bottom: 20px !important;
  }
  /* ページネーションの改善 */
  .pagination {
    margin-top: 40px !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 16px !important;
  }
}
/* モバイル用の追加スタイル */
@media (max-width: 640px) {
  .filter-tabs {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch !important;
  }
  .filter-tab {
    padding: 8px 8px !important;
    font-size: 11px !important;
    min-width: 0 !important;
    flex-shrink: 0 !important;
    white-space: nowrap !important;
    line-height: 1.2 !important;
  }
}
/* ==============================
  サイトマップ
============================== */
.page-sitemap .hero{
  background: linear-gradient(135deg, #f8fbff 0%, #e8f4fd 100%);
  padding: 60px 0;
  text-align: center;
}
.page-sitemap .hero-title{
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  color: var(--blue);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}
.page-sitemap .hero-subtitle{
  font-size: 18px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}
.page-sitemap .sitemap-section{
  margin: 48px 0;
}
.page-sitemap .sitemap-title{
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 24px;
  font-weight: 800;
  color: var(--blue);
  margin: 0 0 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid #e8f4fd;
}
.page-sitemap .sitemap-title i{
  font-size: 20px;
  color: var(--blue);
}
.page-sitemap .sitemap-grid{
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 32px;
}
.page-sitemap .sitemap-item{
  background: #fff;
  border: 1px solid #e8f4fd;
  border-radius: 12px;
  padding: 24px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(46, 134, 193, 0.08);
}
.page-sitemap .sitemap-item:hover{
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(46, 134, 193, 0.15);
  border-color: var(--blue);
}
.page-sitemap .sitemap-item--external{
  background: #fafbfc;
  border-color: #e1e8ed;
}
.page-sitemap .sitemap-item--social{
  background: linear-gradient(135deg, #fff 0%, #fff 100%);
  border-color: #fce4e8;
}
.page-sitemap .sitemap-link{
  display: block;
  text-decoration: none;
  color: inherit;
}
.page-sitemap .sitemap-link h3{
  font-size: 18px;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 8px;
  line-height: 1.4;
}
.page-sitemap .sitemap-link p{
  font-size: 14px;
  color: #666;
  margin: 0;
  line-height: 1.6;
}
.page-sitemap .sitemap-external-icon{
  font-size: 14px;
  color: #999;
  margin-left: 8px;
}
.page-sitemap .sitemap-item--social .sitemap-link{
  pointer-events: none; /* 親リンクのクリックを無効化 */
}
.page-sitemap .sitemap-social-links{
  display: flex;
  gap: 12px;
  margin-top: 12px;
}
.page-sitemap .sitemap-social-link{
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 8px 12px;
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  color: #495057;
  text-decoration: none;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s ease;
  pointer-events: auto; /* 子リンクは有効化 */
}
.page-sitemap .sitemap-social-link:hover{
  background: var(--blue);
  color: #fff;
  border-color: var(--blue);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(46, 134, 193, 0.2);
}
.page-sitemap .sitemap-social-link i{
  font-size: 14px;
}
.page-sitemap .sitemap-cta{
  margin: 48px 0 32px;
}
.page-sitemap .sitemap-cta-card{
  background: #f7fbff;
  border: 1px solid #e2eef8;
  border-radius: 12px;
  padding: 24px;
  text-align: center;
}
.page-sitemap .sitemap-cta-card h3{
  font-size: 20px;
  font-weight: 700;
  color: var(--blue);
  margin: 0 0 12px;
}
.page-sitemap .sitemap-cta-card p{
  font-size: 14px;
  color: #666;
  margin: 0 0 20px;
  line-height: 1.6;
}
.page-sitemap .btn-accent{
  display: inline-block;
  padding: 12px 24px;
  border-radius: 10px;
  background: var(--blue);
  color: #fff;
  font-weight: 800;
  text-decoration: none;
  transition: opacity 0.2s ease;
}
.page-sitemap .btn-accent:hover{
  opacity: 0.9;
}
/* レスポンシブ */
@media (max-width: 640px){
  .page-sitemap .sitemap-grid{
    grid-template-columns: 1fr;
  }
  .page-sitemap .sitemap-item{
    padding: 16px;
  }
  .page-sitemap .sitemap-link h3{
    font-size: 16px;
  }
  .page-sitemap .sitemap-link p{
    font-size: 13px;
  }
  .page-sitemap .sitemap-social-links{
    flex-direction: column;
    gap: 8px;
  }
  .page-sitemap .sitemap-social-link{
    justify-content: center;
  }
}
/* ==============================
  フッター
============================== */
.footer{
  background: #fff;
  border-top: 1px solid #eee;
  margin-top: 40px;
}
.footer-content{
  max-width: var(--max);
  margin: 0 auto;
  padding: 32px 24px;
}
.footer-links{
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.footer-links a{
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
  font-size: 14px;
  transition: opacity 0.2s ease;
}
.footer-links a:hover{
  opacity: 0.8;
}
.footer-copyright{
  text-align: center;
  color: #888;
  font-size: 14px;
  margin: 0;
}
/* レスポンシブ */
@media (max-width: 640px){
  .footer-content{
    padding: 24px 16px;
  }
  .footer-links{
    gap: 16px;
  }
  .footer-links a{
    font-size: 13px;
  }
}
/* ===== ABOUT（トップメッセージ）修正 ===== */
.page-about .message--pro{
  background:#f7f9fb;
  border-radius:12px;
  padding:16px 0;
  margin:24px 0;
}
.page-about .message-head{
  margin:0 0 12px;
}
.page-about .message-title{
  margin:0;
  font-weight:900;
  color:#2E86C1;
  font-size:clamp(18px,2.4vw,26px);
  letter-spacing:.02em;
}
.page-about .message-kicker{
  display:inline-block;
  font-size:12px;
  letter-spacing:.18em;
  color:#6d8fb0;
  margin-right:8px;
}
/* 本体カード：左=写真 / 右=テキスト */
.page-about .message-card{
  display:grid;
  grid-template-columns:320px 1fr;   /* 画像幅に合わせる */
  gap:24px;
  align-items:start;
  background:#fff;
  border:1px solid #e6eef5;
  border-radius:12px;
  padding:24px;
  margin:0;
}
.page-about .message-figure{margin:0;}
.page-about .message-photo-xl{
  width:100%;
  height:auto;
  border-radius:10px;
  display:block;
  box-shadow:0 2px 10px rgba(0,0,0,.05);
}
/* 冒頭の引用を“吹き出し”に */
.page-about .message-quote{
  position:relative;
  background:#f3f8fe;                /* 淡いブルー */
  border:1px solid #d9e8f7;
  padding:18px 20px 18px 44px;        /* 左に余白→飾り引用符 */
  border-radius:12px;
  line-height:1.9;
  color:#123;
  margin:0 0 14px;
}
.page-about .message-quote::before{
  content:"“";
  position:absolute; left:12px; top:6px;
  font-size:40px; line-height:1; font-weight:900;
  color:#2E86C1; opacity:.8;
}
.page-about .message-quote::after{
  content:"”";
  position:absolute; right:12px; bottom:-10px;
  font-size:40px; font-weight:900;
  color:#2E86C1; opacity:.15;
}
/* 署名位置 */
.page-about .message-signplate{
  text-align:right;
  margin-top:18px;
  font-weight:900;
  color:#2b3a44;
}
.page-about .message-namejp{margin-right:8px; color:#666;}
.page-about .message-name{font-weight:900;}
/* ==============================
   ABOUT ・沿革タイムライン修正・
============================== */
.page-about .history { margin-top: 28px; }
/* ==============================
  レスポンシブ
============================== */
@media (max-width: 960px){
  .grid{ grid-template-columns:1fr 1fr; }
  .grid--feature{ grid-template-columns:1fr; }
  .page-contact .contact-wrap{ grid-template-columns:1fr; }
  .page-contact .tayori-form{
    min-height: 1400px !important;
  }
  .page-contact .embed-wrap{
    min-height: 1400px;
  }
 .page-about .message-card{
    grid-template-columns:1fr;        /* 縦並び */
  }
  .page-about .message-photo-xl{
    max-width:420px;
    margin-inline:auto;
}
}
@media (max-width: 640px){
  .grid{ grid-template-columns:1fr; }
  .site-label{ display:none; }
  .hero .container{ padding-block:48px; }
  .page-interviews .ivw-head{ align-items:flex-start; }
  .page-interviews .ivw-photo{ width:120px; height:120px; }
  .page-interviews .ivw-name{ font-size:20px; }
  .page-diversity .ivw-body{ grid-template-columns:1fr; }
  .page-diversity .ivw-side{
    border-left:0; border-top:1px solid #eaeaea;
    padding-left:0; padding-top:16px; margin-top:8px;
  }
  .page-diversity .ivw-photo{ width:120px; height:120px; }
  .page-about .timeline{ padding-left: 24px; }
  .page-about .timeline dt{ margin: 16px 0 2px; }
  .page-about .timeline dd{ margin-bottom: 12px; }
  /* トップメッセージのマージン調整（スマホ） */
  .page-about .message-card{
    padding:16px;
  }
  /* お問い合わせフォーム（スマホ） */
  .page-contact .tayori-form{
    min-height: 1600px !important;
  }
  .page-contact .embed-wrap{
    min-height: 1600px;
  }
}
/* 数字で見る S-PAX：カード内3列配置（PC） */
.kpi-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap:16px;
  margin-top:16px;
}
.kpi-item{
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
  gap:6px;
}
.kpi-icon{ font-size:32px; color:var(--blue); }
.kpi-value{ font-size:28px; font-weight:900; color:var(--blue); }
.kpi-unit{ margin-left:2px; font-weight:700; }
.kpi-label{ font-size:14px; color:#555; }
/* === Feature grid alignment === */
.grid--feature{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.grid--feature .card--numbers{
  grid-column: 1 / span 2; /* 左端から2列ぶち抜き */
}
.grid--feature > .card:not(.card--numbers){
  grid-column: 3; /* 右端に固定 */
}
.card{ width:100%; }
/* === Numbers card stacking fix: force horizontal writing & vertical stack === */
.card--numbers{
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
.card--numbers *{
  writing-mode: horizontal-tb; /* 念のため縦書きを無効化 */
}
.card--numbers .kpi-icon{ margin-bottom: 8px; }
.card--numbers h3{ margin: 6px 0 8px; }
.card--numbers p{ margin: 0; }
.card--numbers p + .desc{ margin-top: 12px; }
/* === Numbers card: クリック誘導の矢印（PC/SP両対応） === */
.page-home .grid.grid--feature .card--numbers{
  position: relative;
  transition: transform .2s ease, box-shadow .2s ease, background-color .15s ease;
}
.page-home .grid.grid--feature .card--numbers:hover{
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.12);
  background: #fff;
}
.page-home .grid.grid--feature .card--numbers::after{
  content: "\f061"; /* fa-arrow-right */
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-style: normal;
  position: absolute;
  right: 16px;
  bottom: 14px;
  font-size: 16px;
  color: var(--blue);
  opacity: .9;
  z-index: 11;
  pointer-events: none;
  transition: transform .2s ease, opacity .15s ease;
}
.page-home .grid.grid--feature .card--numbers:hover::after,
.page-home .grid.grid--feature .card--numbers:focus-within::after{
  transform: translateX(4px);
  opacity: 1;
}
/* === Mobile responsive overrides === */
@media (max-width: 640px) {
  .grid.grid--feature {
    grid-template-columns: 1fr;
  }
  .grid.grid--feature .card,
  .grid.grid--feature .card--numbers,
  .grid.grid--feature > .card:not(.card--numbers) {
    grid-column: 1 / -1;
  }
  .page-home .kpi-grid {
    grid-template-columns: 1fr;
  }
  .grid { 
    grid-template-columns: 1fr;
  }
}
/* ==============================
  FAQ（page-faq）
  - 既存のカード/グリッド/ヒーローと統一
============================== */
.page-faq .faq-list{
  background:#fff; border:1px solid #e8edf3; border-radius:12px;
  padding:18px; margin-top:8px;
}
.page-faq .faq-cat{
  font-size:18px; font-weight:900; color:var(--blue);
  margin:16px 0 8px;
}
.page-faq .faq-item{
  border:1px solid #eaeaea; border-radius:10px; padding:10px 12px; margin:10px 0;
  background:#f9fbff;
}
.page-faq .faq-item summary{
  cursor:pointer; font-weight:800; color:#333; list-style:none;
}
.page-faq .faq-item[open]{ box-shadow:0 6px 18px rgba(0,0,0,.05); }
.page-faq .faq-item summary::-webkit-details-marker{ display:none; }
.page-faq .faq-item summary::before{
  content:"・"; color:var(--blue); font-weight:900; margin-right:.25em;
}
.page-faq .faq-item[open] summary::before{ content:"▼ "; }
.page-faq .faq-content{ margin-top:8px; color:#234; }
.page-faq .faq-link{ color:var(--blue); font-weight:800; }
.page-faq .hr-cta-card{ background:#f7fbff; border:1px solid #e2eef8; border-radius:12px; padding:20px; text-align:center; }
/* グリッドは既存の仕組みを使用（PC複数列→SP 1列） */
@media (max-width: 960px){
  .page-faq .grid{ grid-template-columns:1fr 1fr; } /* 2列 */
}
@media (max-width: 640px){
  .page-faq .grid{ grid-template-columns:1fr; } /* スマホは1列 */
}
/* ==============================
  HR メッセージカード（テキスト主体）
============================== */
.page-hr .hr-card{
  display: grid;
  grid-template-columns: 220px 1fr; /* 写真をコンパクトに */
  gap: 24px;
  align-items: start;
  background: #fff;
  border: 1px solid #e8edf3;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.06);
  padding: 24px;
}
.page-hr .hr-figure{
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0,0,0,.08);
}
.page-hr .hr-photo{
  display: block;
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  max-height: 280px; /* 高さ制限 */
}
.page-hr .hr-content{ padding: 4px 4px 4px 0; }
.page-hr .hr-title{
  font-size: clamp(20px, 2.4vw, 28px);
  line-height: 1.4;
  font-weight: 900;
  color: #122233;
  margin: 0 0 10px;
  position: relative;
}
.page-hr .hr-title::before{
  content: "“";
  position: absolute;
  left: -18px;
  top: -6px;
  font-size: 36px;
  line-height: 1;
  color: rgba(46,134,193,.25);
}
.page-hr .hr-lead{
  font-size: clamp(15px, 1.6vw, 17px);
  color: #234;
  background: #f7fbff;
  border: 1px solid #e2eef8;
  border-radius: 10px;
  padding: 12px 14px;
  margin: 8px 0 12px;
}
.page-hr .hr-signplate{
  display: inline-flex;
  gap: 10px;
  align-items: baseline;
  background: #fff;
  border: 1px dashed #d8e6f4;
  border-radius: 999px;
  padding: 6px 12px;
  margin-top: 10px;
  color: #345;
}
.page-hr .hr-signplate span{ font-size: 13px; opacity: .85; }
.page-hr .hr-signplate strong{ font-size: 16px; letter-spacing: .05em; }
/* レスポンシブ */
@media (max-width: 960px){
  .page-hr .hr-card{ grid-template-columns: 180px 1fr; gap: 16px; }
}
@media (max-width: 640px){
  .page-hr .hr-card{ grid-template-columns: 1fr; padding: 18px; }
  .page-hr .hr-photo{ max-height: 220px; }
  picture.hr-photo {
    max-height: 220px;
  }
  .page-hr .hr-title::before{ left: -10px; top: -8px; }
  .page-hr .hr-features-grid{ grid-template-columns: 1fr; gap: 16px; }
  .page-hr .hr-feature-item{ padding: 14px; }
  .page-hr .hr-cta-buttons,
  .page-faq .hr-cta-buttons{ display: flex; flex-direction: column; gap: 12px; }
  .page-hr .btn-secondary,
  .page-faq .btn-secondary{ margin-left: 0; }
}
/* === Cursor hint bubble ====================================== */
.cursor-hint{
  position: fixed;
  left: 0; top: 0;
  transform: translate(-100px, -100px);
  padding: 6px 10px;
  font-size: 12px;
  line-height: 1;
  font-weight: 800;
  color: #fff;
  background: #F39C12;
  border-radius: 9999px;
  box-shadow: 0 6px 16px rgba(0,0,0,.18);
  pointer-events: none;
  user-select: none;
  z-index: 2147483647;
  opacity: 0;
  transition: opacity .12s ease;
  will-change: transform, opacity;
}
.cursor-hint.is-visible{ opacity: 1; }
/* タッチデバイス用の改善 */
@media (hover: none) and (pointer: coarse) {
  .cursor-hint{
    background:rgba(46,134,193,0.9); 
    padding:6px 12px; 
    font-size:14px;
    border-radius:8px;
    box-shadow:0 2px 8px rgba(0,0,0,0.2);
  }
  /* タッチターゲットの最小サイズ確保 */
  .stretched-link, a, button{
    min-height:44px;
    min-width:44px;
  }
  /* dotsは除外 */
  .page-home .dots .dot{
    min-height:unset !important;
    min-width:unset !important;
  }
  /* カードのタッチエリア拡大 */
  .card--clickable{
    padding:16px;
  }
  /* ドロワーメニューのタッチ改善 */
  .drawer ul li a{
    padding:16px 20px;
    font-size:16px;
  }
  /* ヘッダーボタンのタッチ改善 */
  .hamburger{
    padding:12px;
    min-width:48px;
    min-height:48px;
  }
  .header-sitemap{
    padding:12px;
    min-width:48px;
    min-height:48px;
  }
}
/* ==============================
   Interviews: Mobile polish (≤640px)
   - 文字読みやすく
   - 余白整理
   - 反転レイアウトの素直化
============================== */
@media (max-width: 640px){
  .page-interviews .ivw{
    padding: 16px;
    border-radius: 12px;
  }
  /* 上部ヘッダ：写真＋メタの詰め方を最適化 */
  .page-interviews .ivw-head{
    flex-direction: row;           /* 逆転をやめて読み順に */
    align-items: flex-start;
    gap: 12px;
  }
  .page-interviews .ivw--reverse .ivw-head{
    flex-direction: row;           /* SPは常に同じ並び */
  }
  /* 写真はやや小さめ＆角丸を強調 */
  .page-interviews .ivw-photo{
    width: 108px;
    height: 108px;
    border-radius: 12px;
    object-fit: cover;
  }
  /* 部署ピル・名前・コピーのタイポ調整 */
  .page-interviews .ivw-dept.pill{
    font-size: 12px;
    padding: 5px 10px;
    margin-bottom: 6px;
  }
  .page-interviews .ivw-name{
    font-size: 18px;
    line-height: 1.3;
    margin: 4px 0 2px;
  }
  .page-interviews .ivw-name small{
    font-size: .85em;
  }
  .page-interviews .ivw-copy{
    margin-top: 6px;
    font-size: 14px;
    color: #345;
    line-height: 1.6;
  }
  /* 本文側：見出しと段落の余白をスマホ向けに */
  .page-interviews .ivw-body{ margin-top: 12px; }
  .page-interviews .ivw-main .ivw-sec{
    font-size: 16px;
    margin: 16px 0 6px;
  }
  /* FAQボックス：タップしやすく */
  .page-interviews .ivw-faq{
    padding: 12px 14px;
  }
  .page-interviews .ivw-faq summary{
    font-size: 15px;
  }
  /* 区切り線の間隔を少し詰める */
  .page-interviews .ivw-divider{
    margin: 24px 0;
  }
}
/* Interviews: 上東さん 1日の流れをカード風に */
.page-interviews .schedule-list{
  background:#fff;
  border:1px solid #e8edf3;
  border-radius:12px;
  padding:12px 16px;
  margin:12px 0;
}
.page-interviews .schedule-list li{
  display:flex;
  align-items:flex-start;
  gap:12px;
  padding:10px 0;
  border-bottom:1px solid #f0f0f0;
}
.page-interviews .schedule-list li:last-child{
  border-bottom:none;
}
.page-interviews .schedule-list li::before{
  content:"⏰";
  color:var(--blue);
  margin-right:4px;
  flex-shrink:0;
}
.page-interviews .schedule-list li time{
  font-weight:900;
  color:#123;
  width:60px;   /* 時刻幅を揃える */
  flex-shrink:0;
}
.page-interviews .schedule-list li span{
  flex:1;
  color:#333;
}
/* SNSリンクごとのホバー色分け */
.social-links a[aria-label="Instagram"]:hover{
  background: radial-gradient(circle at 30% 30%, #feda75, #fa7e1e, #d62976, #962fbf, #4f5bd5);
  color: #fff;
  border-color: transparent;
}
.social-links a[aria-label="Facebook"]:hover{
  background: #1877f2; /* Facebook公式ブルー */
  color: #fff;
  border-color: transparent;
}
@media (max-width: 640px){
  .header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 2000; /* 他要素より前に出す */
  }
  body {
    padding-top: 70px; /* ヘッダー高さ分だけ下げて重なり防止 */
  }
}
@media (max-width: 640px) {
  .corp-link {
    font-size: 12px;     /* ←小さめに調整 */
    padding: 4px 8px;    /* ←余白も減らす */
  }
}
/* === Mobile drawer: 上部の欠け防止（ヘッダー高＋ノッチ分を反映） === */
@media (max-width: 640px){
  .drawer{
    /* ヘッダー実測値（--header-h）＋ ノッチの安全領域を上余白に加算 */
    padding-top: calc(var(--header-h, 60px) + env(safe-area-inset-top));
    overflow-y: auto;                 /* メニューが長くてもスクロール可能に */
    -webkit-overflow-scrolling: touch;
    width: 280px;  /* モバイルでも適切な幅を確保 */
    right: -280px;  /* 幅に合わせて調整 */
  }
  /* 閉じるボタンもノッチ分だけ下げる */
  .drawer-close{
    top: calc(8px + env(safe-area-inset-top));
  }
}
/* 現在地リンクの見た目を強調 */
.drawer a[aria-current="page"] {
  position: relative;
  display: block;             /* ← 横幅いっぱいにする */
  width: 100%;                /* ← 念のため幅指定 */
  background: #edf4fb;
  color: var(--blue);
  border: 1px solid #d9e7f7;
  border-radius: 8px;
  padding: 4px 10px 4px 26px; /* 左余白は維持 */
}
/* 左側の三角 */
.drawer a[aria-current="page"]::before {
  content: "▶";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7em;
  color: var(--blue);
}
.drawer a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: inherit;
  white-space: normal;  /* ← 改行を許可 */
  word-wrap: break-word;  /* ← 長い単語を適切に改行 */
  line-height: 1.4;  /* ← 行間を調整 */
}
/* Recruit タブ（SP） */
@media (max-width:640px){
  .page-recruit .tabs{
    overflow-x:auto;
    white-space:nowrap;
    gap:6px;
    padding-bottom:4px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .page-recruit .tabs::-webkit-scrollbar{ display:none; }
  .page-recruit .tab{
    display:inline-flex;
    align-items:center;
    font-size:14px;
    padding:10px 14px;
  }
  .page-recruit .tab-box{ padding:16px; }
}
/* Recruit テーブル（SPはブロック化） */
@media (max-width:640px){
  .page-recruit .job-table{ border:0; }
  .page-recruit .job-table tr{
    display:block;
    border:1px solid #e5e5e5;
    border-radius:10px;
    margin:12px 0;
    overflow:hidden;
    background:#fff;
  }
  .page-recruit .job-table th,
  .page-recruit .job-table td{
    display:block;
    width:auto;
    border:none;
    padding:10px 12px;
  }
  .page-recruit .job-table th{
    background:#f0f6ff;
    color:#123;
    font-weight:800;
    border-bottom:1px solid #e5e5e5;
  }
/* === Recruit スマホ最適化 === */
@media (max-width:640px){
  /* タブを横スクロール化 */
  .page-recruit .tabs{
    overflow-x:auto;
    white-space:nowrap;
    gap:6px;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
  }
  .page-recruit .tabs::-webkit-scrollbar{ display:none; }
  .page-recruit .tab{
    display:inline-flex;
    align-items:center;
    font-size:14px;
    padding:10px 14px;
  }
  /* テーブルをカード風に縦並び */
  .page-recruit .job-table{ border:0; }
  .page-recruit .job-table tr{
    display:block;
    border:1px solid #e5e5e5;
    border-radius:10px;
    margin:12px 0;
    background:#fff;
    overflow:hidden;
  }
  .page-recruit .job-table th,
  .page-recruit .job-table td{
    display:block;
    width:auto;
    border:none;
    padding:10px 12px;
  }
  .page-recruit .job-table th{
    background:#f0f6ff;
    font-weight:800;
    border-bottom:1px solid #e5e5e5;
  }
  .page-recruit .job-table tr:nth-child(even) td{ background:#fff; } /* 交互色無効 */
  /* 連絡先リンクをボタン風に */
  .page-recruit .contact-link{
    display:block;
    margin:12px 0;
    padding:14px;
    text-align:center;
    border:1px solid #d9e7f7;
    border-radius:10px;
    background:#eef6fd;
    font-weight:800;
  }
}
/* Interviewsページ 花子さん写真のPC専用スタイル */
@media (min-width: 641px){
  .page-interviews .ivw-hanako .ivw-photo{
    width:180px;
    height:180px;
    object-fit:cover;
  }
}
/* 既存モバイル用はそのまま残してください */
@media (max-width: 640px){
  .page-interviews .ivw-photo{
    width:108px;
    height:108px;
    border-radius:12px;
    object-fit:cover;
  }
  picture.ivw-photo {
    width: 108px;
    height: 108px;
    border-radius: 12px;
  }
}
@media (max-width: 640px){
  .page-interviews .ivw-hanako .ivw-photo{
    width:108px;
    height:108px;
  }
}
/* ============================
   Diversity スマホ最適化
   他ページ影響なし（.page-diversity 限定）
   ============================ */
@media (max-width: 640px){
  /* 1) ヒーロー文字の圧縮（改行しやすく、詰まり感を軽減） */
  .page-diversity .hero .lead-kicker{ font-size: 12px; letter-spacing: .06em; }
  .page-diversity .hero .lead-title{
    font-size: 22px;
    line-height: 1.3;
    word-break: keep-all;
  }
  /* 2) 冒頭イントロの余白・文字サイズを調整 */
  .page-diversity .intro p{
    font-size: 14px;
    line-height: 1.9;
  }
  /* 3) 取り組みカード：1列化 & 触りやすいカードに */
  .page-diversity .grid{
    display: block; /* 強制1カラム */
  }
  .page-diversity .grid .card{
    padding: 14px;
    border-radius: 12px;
    margin: 12px 0;
  }
  .page-diversity .grid .card h3{
    font-size: 16px;
    margin: 6px 0 4px;
  }
  .page-diversity .grid .card p{
    font-size: 14px;
    line-height: 1.8;
  }
  /* 4) “社員の声”ブロック：縦積み & 写真サイズ統一 */
  .page-diversity .ivw-head{
    display: flex;
    align-items: center;
    gap: 12px;
  }
  .page-diversity .ivw-photo{
    width: 96px;
    height: 96px;
    border-radius: 12px;
    flex: 0 0 auto;
  }
  .page-diversity .ivw-meta .ivw-name{
    font-size: 18px;
    line-height: 1.3;
  }
  .page-diversity .ivw-meta .ivw-name small{
    display: block;
    font-size: 12px;
    opacity: .8;
  }
  .page-diversity .ivw-meta .ivw-copy{ font-size: 14px; line-height: 1.7; }
  /* 5) 本文とサイド情報を縦並びに（読みやすい順番） */
  .page-diversity .ivw-body{
    display: block;
    margin-top: 12px;
  }
  .page-diversity .ivw-main{ margin-bottom: 12px; }
  .page-diversity .ivw-sec{ font-size: 16px; margin: 14px 0 6px; }
  /* 6) “Facts”（定義リスト）をカード風に */
  .page-diversity .ivw-facts > div{
    display: block;
    border: 1px solid #e6eef7;
    border-radius: 10px;
    padding: 10px 12px;
    margin: 10px 0;
    background: #fff;
  }
  .page-diversity .ivw-facts dt{
    font-weight: 800;
    margin-bottom: 4px;
    color: #234;
  }
  .page-diversity .ivw-facts dd{
    margin: 0;
    line-height: 1.7;
  }
  /* 7) 外部リンクボタン：フル幅 & タップしやすく */
  .page-diversity .ext-links{
    display: grid;
    gap: 10px;
  }
  .page-diversity .ext-btn{
    display: block;
    width: 100%;
    text-align: center;
    padding: 14px 12px;
    border: 1px solid #d9e7f7;
    border-radius: 10px;
    background: #2e86c1;
    font-weight: 800;
    line-height: 1.4;
  }
  /* 8) コンテナ左右の余白を少し広げる（窮屈さ解消） */
  .page-diversity .container{ padding-inline: 16px; }
}
/* === Numbers page styles (統合) === */
.page-numbers .numbers-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:24px;
}
.page-numbers .card--numbers{
  display:flex !important;
  flex-direction:column !important;
  align-items:center;
  text-align:center;
  background:#fff;
  border:1px solid #e8edf3;
  border-radius:14px;
  padding:26px 22px;
  box-shadow:0 4px 16px rgba(0,0,0,.04);
  transition:transform .18s ease, box-shadow .18s ease;
}
.page-numbers .card--numbers:hover{
  transform:translateY(-2px);
  box-shadow:0 10px 24px rgba(0,0,0,.08);
}
.page-numbers .card--numbers .kpi-icon{
  font-size:28px;
  width:56px; height:56px;
  display:grid; place-items:center;
  border-radius:999px;
  background:#edf4fb;
  color:var(--blue);
  border:1px solid #d9e7f7;
  margin-bottom:12px;
}
.page-numbers .card--numbers h3{
  font-size:18px;
  margin:8px 0 6px;
  color:#223;
  font-weight:900;
}
.page-numbers .card--numbers > p:not(.desc){
  margin:0;
  color:#123;
}
.page-numbers .card--numbers > p:not(.desc) strong{
  font-size:clamp(28px,4vw,40px);
  font-weight:900;
  color:var(--blue);
}
.page-numbers .card--numbers > p:not(.desc) .kpi-unit{
  font-size:16px;
  font-weight:700;
  color:#234;
  margin-left:2px;
}
.page-numbers .card--numbers .desc{
  order:3;
  margin-top:12px;
  background:#f7f9fc;
  border:1px solid #e6eef5;
  color:#234;
  border-radius:10px;
  padding:10px 12px;
  line-height:1.8;
}
/* 並び順を強制（PC含む全幅で適用）*/
.page-numbers .card--numbers .kpi-icon{ order:0; }
.page-numbers .card--numbers h3{ order:1; }
.page-numbers .card--numbers > p:not(.desc){ order:2; }
/* Numbers page responsive */
@media (max-width: 960px){
  .page-numbers .numbers-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }
}
@media (max-width: 640px){
  .page-numbers .numbers-grid{
    grid-template-columns:1fr;
  }
  .page-numbers .card--numbers{
    padding:22px 18px;
  }
  .page-numbers .card--numbers .kpi-icon{ width:52px; height:52px; font-size:26px; }
}
/* 福利厚生詳細化のスタイル */
.page-recruit table td h4{
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin: 16px 0 8px 0;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 4px;
}
.page-recruit table td h4:first-child{
  margin-top: 0;
}
.page-recruit table td ul{
  margin: 8px 0;
  padding-left: 20px;
}
.page-recruit table td li{
  margin: 4px 0;
  line-height: 1.6;
}
/* FAQ詳細化のスタイル */
.page-faq .faq-content h4{
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin: 16px 0 8px 0;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 4px;
}
.page-faq .faq-content h4:first-child{
  margin-top: 0;
}
.page-faq .faq-content ul,
.page-faq .faq-content ol{
  margin: 8px 0;
  padding-left: 20px;
}
.page-faq .faq-content li{
  margin: 4px 0;
  line-height: 1.6;
}
.page-faq .faq-content ol li{
  margin: 8px 0;
}
.page-faq .faq-content strong{
  color: var(--blue);
  font-weight: 700;
}
/* フォーム使いやすさ改善のスタイル */
.page-contact .form-description{
  background: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 24px;
}
.page-contact .form-requirements h3{
  font-size: 16px;
  font-weight: 700;
  color: var(--blue);
  margin: 16px 0 8px 0;
  border-bottom: 1px solid #e9ecef;
  padding-bottom: 4px;
}
.page-contact .form-requirements ul{
  margin: 8px 0;
  padding-left: 20px;
}
.page-contact .form-requirements li{
  margin: 4px 0;
  line-height: 1.6;
}
.page-contact .form-requirements strong{
  color: var(--blue);
  font-weight: 700;
}
.page-contact .embed-wrap{
  position: relative;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  overflow: visible;
  min-height: 1200px;
}
.page-contact .tayori-form{
  display: block !important;
  border: none;
  min-height: 1200px;
  width: 100%;
  background: white;
  visibility: visible !important;
}
.page-contact .form-fallback{
  background: #fff3cd;
  border: 1px solid #ffeaa7;
  border-radius: 8px;
  padding: 20px;
  text-align: center;
}
.page-contact .contact-info p{
  margin: 8px 0;
}
.page-contact .contact-info a{
  color: var(--blue);
  text-decoration: underline;
}
.page-contact .contact-info a:hover{
  color: #1e5f8a;
}
.page-contact .contact-note{
  font-size: 14px;
  color: #666;
  margin: 4px 0 8px 0;
}
.page-contact .privacy-note{
  font-size: 14px;
  color: #666;
  margin: 8px 0 0 0;
}
.page-contact .privacy-note a{
  color: var(--blue);
  text-decoration: underline;
}
.page-contact .troubleshooting-list{
  margin: 8px 0;
  padding-left: 20px;
}
.page-contact .troubleshooting-list li{
  margin: 4px 0;
  font-size: 14px;
  line-height: 1.5;
}
/* ★この行を、上の block 指定より後ろに置く */
body.page-news .news-item[style*="display: none"] { 
  display: none !important; 
}
/* プライバシーポリシーレイアウト改善 */
.privacy-toc {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.privacy-toc-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.privacy-toc-title::before {
  content: "📋";
  font-size: 1.1em;
}
.privacy-toc-nav {
  margin-top: 16px;
}
.privacy-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 8px;
}
.privacy-toc-list li {
  margin: 0;
}
.privacy-toc-list a {
  display: block;
  padding: 12px 16px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  color: #475569;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
  position: relative;
}
.privacy-toc-list a:hover {
  background: #20B2AA;
  color: white;
  border-color: #20B2AA;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(32, 178, 170, 0.2);
}
.privacy-toc-list a::before {
  content: "→";
  margin-right: 8px;
  opacity: 0.6;
  transition: all 0.2s ease;
}
.privacy-toc-list a:hover::before {
  opacity: 1;
  transform: translateX(2px);
}
.privacy-intro {
  margin-bottom: 40px;
}
.privacy-intro-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  display: flex;
  align-items: flex-start;
  gap: 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.05);
  position: relative;
  overflow: hidden;
}
.privacy-intro-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #20B2AA, #3b82f6, #8b5cf6);
}
.privacy-intro-icon {
  flex-shrink: 0;
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, #20B2AA, #17a2b8);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.5rem;
  box-shadow: 0 4px 12px rgba(32, 178, 170, 0.3);
}
.privacy-intro-content {
  flex: 1;
}
.privacy-intro-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 12px;
  line-height: 1.3;
}
.privacy-intro-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin: 0;
}
.privacy-section {
  margin-bottom: 40px;
  padding: 32px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  position: relative;
  transition: all 0.3s ease;
}
.privacy-section:hover {
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
  transform: translateY(-2px);
}
.privacy-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, #20B2AA, #17a2b8);
  border-radius: 0 2px 2px 0;
}
.privacy-section-title {
  font-size: 1.4rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid #f1f5f9;
  position: relative;
}
.privacy-section-title::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: #20B2AA;
}
.privacy-text {
  font-size: 1rem;
  line-height: 1.7;
  color: #475569;
  margin-bottom: 16px;
}
.privacy-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.privacy-list li {
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  position: relative;
  padding-left: 24px;
  font-size: 0.95rem;
  line-height: 1.6;
  color: #475569;
}
.privacy-list li:last-child {
  border-bottom: none;
}
.privacy-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  top: 12px;
  color: #20B2AA;
  font-weight: bold;
  font-size: 0.9rem;
}
.privacy-contact {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 24px;
  margin-top: 20px;
}
.privacy-contact h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.privacy-contact h3::before {
  content: "📞";
  font-size: 1.1em;
}
.privacy-contact p {
  margin: 0;
  line-height: 1.6;
  color: #475569;
}
.privacy-contact strong {
  color: #1e293b;
  font-weight: 600;
}
.privacy-footer {
  text-align: center;
  margin-top: 40px;
  padding: 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}
.privacy-date {
  font-size: 0.9rem;
  color: #64748b;
  margin: 0;
  font-weight: 500;
}
/* レスポンシブ対応 */
@media (max-width: 768px) {
  .privacy-toc-list {
    grid-template-columns: 1fr;
  }
  .privacy-intro-card {
    flex-direction: column;
    text-align: center;
  }
  .privacy-intro-icon {
    align-self: center;
  }
  .privacy-section {
    padding: 24px 20px;
  }
  .privacy-toc {
    padding: 20px;
  }
}
/* 冒頭の引用を"吹き出し"に */
.page-about .message-quote{
  position:relative;
  background:#f3f8fe;                /* 淡いブルー */
  border:1px solid #d9e8f7;
  padding:18px 20px 18px 44px;        /* 左に余白→飾り引用符 */
  border-radius:12px;
  line-height:1.9;
  color:#123;
  margin:0 0 14px;
}
.page-about .message-quote::before{
  content:""";
  position:absolute; left:12px; top:6px;
  font-size:40px; line-height:1; font-weight:900;
  color:#2E86C1; opacity:.8;
}
.page-about .message-quote::after{
  content:""";
  position:absolute; right:12px; bottom:-10px;
  font-size:40px; font-weight:900;
  color:#2E86C1; opacity:.15;
}
/* 署名位置 */
.page-about .message-signplate{
  text-align:right;
  margin-top:18px;
  font-weight:900;
  color:#2b3a44;
}
.page-about .message-namejp{margin-right:8px; color:#666;}
.page-about .message-name{font-weight:900;}
