/* =========================
   Top FV (full screen)
   ========================= */
.hero-fv{
  position: relative;
  width: 100%;
  height: 100vh;         /* 基本は画面ぴったり */
  min-height: 520px;     /* 低い画面でも破綻しにくく */
  overflow: hidden;
  color: #fff;
}

/* iOSのアドレスバー対策（対応ブラウザのみ） */
@supports (height: 100svh){
  .hero-fv{ height: 100svh; }
}

.hero-bg{
  position: absolute;
  inset: 0;
  z-index: 0;
}
.hero-bg img{
  width: 100%;
  height: 100%;
  object-fit: cover;           /* 画面いっぱいにフィット */
  object-position: center;     /* 重要部分が下なら下寄せに */
  display: block;
}

/* 文字を見やすくする薄い暗幕 */
.hero-overlay{
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    to bottom,
    rgba(0,0,0,.35) 0%,
    rgba(0,0,0,.25) 45%,
    rgba(0,0,0,.35) 100%
  );
}

/* 上部中央ロゴ */
.hero-top{
  position: relative;
  z-index: 3;
  width: 100%;
  text-align: center;
  padding-top: clamp(18px, 3.2vw, 36px);
  pointer-events: none; /* ここはクリック不要なら */
}
.hero-mark{
  width: 200px;
  height: auto;
  display: inline-block;
}
.hero-org{
  margin-top: 6px;
  font-size: clamp(12px, 1.2vw, 14px);
  letter-spacing: .12em;
  opacity: .95;
}
.hero-name{
  margin-top: 2px;
  font-size: clamp(22px, 2.6vw, 34px);
  letter-spacing: .18em;
  font-weight: 600;
  line-height: 1.2;
}

/* 左右2ブロック */
.hero-panels{
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(18px, 4.5vh, 56px);
  z-index: 3;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: clamp(12px, 2.2vw, 28px);

  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;
}

/* 斜めスラッシュ */
.hero-slash{
  width: 2px;
  height: clamp(40px, 7vh, 80px);
  background: rgba(255,255,255,.75);
  transform: rotate(18deg);
  transform-origin: bottom center;
  filter: drop-shadow(0 2px 10px rgba(0,0,0,.25));
  position: relative;
  bottom: 34%;
}

/* パネル（リンク） */
.hero-panel{
  display: block;
  text-decoration: none;
  color: #fff;
}
.hero-panel__inner{
  position: relative;
  padding: clamp(14px, 2vw, 22px) clamp(14px, 2vw, 22px);
  border-radius: 18px;
  background: rgba(0,0,0,.20);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  box-shadow: 0 10px 30px rgba(0,0,0,.22);
}

.hero-panel__jp{
  font-size: clamp(20px, 2.2vw, 34px);
  letter-spacing: .08em;
  font-weight: 500;
  line-height: 1.2;
  text-shadow: 0 3px 18px rgba(0,0,0,.35);
}
.hero-panel__en{
  margin-top: 4px;
  font-size: clamp(12px, 1.1vw, 14px);
  letter-spacing: .22em;
  opacity: .95;
}
.hero-panel__en--inline{
  margin-left: 10px;
  letter-spacing: .18em;
  opacity: .95;
  font-size: clamp(12px, 1.1vw, 14px);
}
.hero-panel__sub{
  font-size: clamp(11px, 1.0vw, 12px);
  letter-spacing: .18em;
  opacity: .9;
  margin-bottom: 6px;
}

.hero-panel__desc{
  margin-top: clamp(10px, 1.6vw, 16px);
  font-size: clamp(12px, 1.1vw, 14px);
  line-height: 1.9;
  opacity: .95;
  text-shadow: 0 2px 14px rgba(0,0,0,.35);
}

/* 矢印（丸） */
.hero-arrow{
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: clamp(34px, 3.5vw, 48px);
  height: clamp(34px, 3.5vw, 48px);
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: clamp(14px, 1.6vw, 18px);
  color: #fff;
  background: rgba(255,255,255,.28);
  border: 1px solid rgba(255,255,255,.35);
  box-shadow: 0 10px 25px rgba(0,0,0,.18);
}
.hero-arrow--left{ right: -18px; }
.hero-arrow--right{ left: -18px; }

/* hover（PCだけ） */
@media (min-width: 1025px){
  .hero-panel:hover .hero-panel__inner{
    background: rgba(0,0,0,.28);
    transition: .25s ease;
  }
}

/* =========================
   SP調整：縦並びにする
   ========================= */
@media (max-width: 767px){
  .hero-panels{
    grid-template-columns: 1fr;
    gap: 10px;
    bottom: 16px;
    width: calc(100% - 24px);
  }

  .hero-slash{
    display: none;
  }

  .hero-panel__inner{
    border-radius: 14px;
  }
}

/* =========================
   FV: 全幅（親がinnerでも画面いっぱいにする）
   ========================= */
.hero-fv{
  width: 100vw;
  margin-left: calc(50% - 50vw); /* 親が中央寄せでも全幅に突き抜ける */
  margin-right: calc(50% - 50vw);
  max-width: none;

  /* 100vhの“微スクロール”対策（優先順） */
  height: 100dvh;
  min-height: 520px;
  overflow: hidden;
}

/* d vh が未対応の環境用 */
@supports not (height: 100dvh){
  .hero-fv{ height: 100vh; }
}

/* WordPress 管理バーがある時の微スクロール対策（管理ログイン時） */
body.admin-bar .hero-fv{
  height: calc(100dvh - 32px);
}
@media (max-width: 782px){
  body.admin-bar .hero-fv{
    height: calc(100dvh - 46px);
  }
}

/* 背景画像は絶対配置で全面フィット */
.hero-bg{ position:absolute; inset:0; z-index:0; }
.hero-bg img{
  width:100%;
  height:100%;
  object-fit:cover;
  object-position:center; /* 道路を見せたいなら center bottom に */
  display:block;
}

/* 上部ロゴを“絶対配置”に（レイアウトに影響させない） */
.hero-top{
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: clamp(14px, 3vh, 34px);
  z-index: 3;
  pointer-events: none;
}

/* =========================
   左右ブロック：左右に寄せる
   ========================= */
.hero-panels{
  position: absolute;
  left: 0;
  right: 0;
  bottom: clamp(120px, 20vh, 200px);
  z-index: 3;

  width: min(1200px, calc(100% - 48px));
  margin: 0 auto;

  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: end;
  gap: clamp(12px, 2.2vw, 28px);
}

.hero-panel--left  { justify-self: start; text-align: left; }
.hero-panel--right { justify-self: end;   text-align: left; } /* 文は左寄せのままでOK */

/* パネルの横幅を確保（中央に寄らないように） */
.hero-panel{
  width: 100%;
  max-width: 520px;
}

/* 矢印（丸）が中央に食い込む場合の調整 */
.hero-arrow--left  { right: -22px; }
.hero-arrow--right { left:  -22px; }

/* 右側パネルの矢印を右外側へ */
.hero-panel--right .hero-arrow{
  left: auto;
  right: -22px;   /* 数値を大きくすると、さらに外へ */
}

/* SPは縦積み */
@media (max-width: 767px){
  .hero-panels{
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
    gap: 10px;
  }
  .hero-slash{ display:none; }
  .hero-panel{ max-width: none; }
  .hero-arrow--left {
	  right: 12px;
  }
  .hero-panel--right .hero-arrow {
	  right: 12px;
  }
  .hero-arrow {
	  background: none;
  }
  .hero-mark {
	  width: 130px;
  }
}

/* hero-panel 内の文字を明朝体に */
/*
.hero-panel{
  font-family:
    "游明朝体",
    "游明朝",
    "YuMincho",
    "Yu Mincho",
    "Hiragino Mincho ProN",
    "ヒラギノ明朝 ProN",
    "HGS明朝E",
    "ＭＳ Ｐ明朝",
    serif;
}
*/

.hero-panel{
  letter-spacing: .06em;
}

.hero-panel__jp{
  font-weight: 500;
}

.hero-panel__desc{
  font-weight: 400;
  line-height: 2.0;
}





