/* =========================
ナビレイアウト
========================= */
/* 横並びだけにする */
.navi-in > ul{
  display:flex;
  justify-content:center; /* 中央寄せ */
  gap:40px; /* ← メニュー間の余白（ここで調整） */
}

/* liは自然な幅に戻す */
.navi-in > ul > li{
  flex:none;
  width:auto;
  text-align:center;
  position:relative;
}
  text-align:center;
  height:130px; /* ←少し余裕増やす */
  position:relative;
}

/* 中央配置 */
.navi-in > ul > li > a{
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  height:100%;
  line-height:1.4; /* ←行間広げる */
}

/* 2行目 */
.menu-sub{
  font-size:10px;
  margin-top:2px; /* ←ここで微調整 */
}

/* ===== 下線（完全に下に固定） ===== */
.menu-line{
  position:absolute;
  left:50%;
  bottom:12px; /* ←ここだけ触ればOK */
  transform:translateX(-50%) scaleX(0);
  width:80px;
  height:1px;
  background:#333;
  transition:0.3s;
}

/* ホバー */
.navi-in > ul > li:hover .menu-line{
  transform:translateX(-50%) scaleX(1);
}
/* PC：メニュー2行表示 */
.home .navi-in > ul > li > a{
  display:flex !important;
  flex-direction:column !important;
  justify-content:center !important;
  align-items:center !important;
  height:100% !important;
  line-height:1.1 !important;
}

/* 2行目 */
.home .navi-in .menu-sub{
  display:block !important;
  font-size:11px !important;
  line-height:1 !important;
  margin-top:2px !important;
  white-space:nowrap !important;
}
