/*
Theme Name: TECNES 野球経験者採用LP
Theme URI: https://tecnes-yakyuchara-lp-001.vercel.app/
Author: 株式会社TECNES
Author URI: https://www.tecnes.jp/
Description: 株式会社TECNES「野球経験者採用」ランディングページ専用テーマ（画像スライス方式・1ページ完結）。Canvaデザインを高解像度画像として表示し、公式LINE等のCTAを透明リンクで重ねています。公式LINEのURLは「外観 → カスタマイズ → TECNES LP 設定」から変更できます。
Version: 1.0.0
Requires at least: 5.0
Tested up to: 6.5
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tecnes-recruit-lp
*/

:root { --line-green: #06C755; }
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  background: #0b1f3a;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
               "Noto Sans JP", Meiryo, sans-serif;
  color: #fff;
}

/* ===== 画像コンテナ（イメージマップ） ===== */
.lp {
  position: relative;
  max-width: 1366px;
  margin: 0 auto;
  background: #fff;
  line-height: 0;            /* スライス間の隙間を完全に消す */
  font-size: 0;
}
.lp__img {
  display: block;
  width: 100%;
  height: auto;
}

/* ===== CTAホットスポット（透明リンク） ===== */
.hotspot {
  position: absolute;
  display: block;
  z-index: 5;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
/* ?debug=1 で位置を可視化 */
body.debug .hotspot { background: rgba(255, 0, 0, .35); outline: 2px solid #f00; }

/* ===== 固定CTA（スマホ） ===== */
.fixed-cta {
  position: fixed;
  left: 0; right: 0; bottom: 0;
  z-index: 50;
  display: flex;
  justify-content: center;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  background: linear-gradient(to top, rgba(0,0,0,.28), rgba(0,0,0,0));
  pointer-events: none;
}
.fixed-cta a {
  pointer-events: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  max-width: 520px;
  padding: 15px 20px;
  background: var(--line-green);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  box-shadow: 0 6px 20px rgba(0,0,0,.35);
  letter-spacing: .02em;
}
.fixed-cta a:active { transform: translateY(1px); }
.fixed-cta svg { width: 22px; height: 22px; flex: none; }
@media (min-width: 768px) {
  .fixed-cta { display: none; }   /* PCでは非表示 */
}

/* ===== スクリーンリーダー用テキスト ===== */
.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;
}

/* ===== フッター ===== */
.site-footer {
  max-width: 1366px;
  margin: 0 auto;
  padding: 36px 18px 96px;
  background: #0b1f3a;
  color: #cdd6e6;
  font-size: 13px;
  line-height: 1.8;
}
.site-footer a { color: #7fc8ff; }
.footer-title {
  text-align: center;
  font-size: 18px;
  letter-spacing: .15em;
  margin: 0 0 20px;
  color: #fff;
}
.company-info {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 0;
}
.company-info dt,
.company-info dd {
  margin: 0;
  padding: 11px 14px;
  border-top: 1px solid rgba(255,255,255,.12);
}
.company-info dt {
  font-weight: 700;
  color: #9fb3d1;
  white-space: nowrap;
}
.company-info dd { color: #eaf1fb; }
.company-info dt:last-of-type,
.company-info dd:last-of-type { border-bottom: 1px solid rgba(255,255,255,.12); }
.footer-cta { text-align: center; margin: 26px 0 8px; }
.footer-cta a { font-weight: 700; }
.copyright { text-align: center; color: #8fa0bd; margin: 14px 0 0; }
@media (max-width: 560px) {
  .company-info { grid-template-columns: 1fr; }
  .company-info dt { padding-bottom: 0; border-top: 1px solid rgba(255,255,255,.12); }
  .company-info dd { padding-top: 4px; border-top: 0; }
  .company-info dd:last-of-type { border-bottom: 1px solid rgba(255,255,255,.12); }
}
@media (min-width: 768px) {
  .site-footer { padding-bottom: 40px; }
}
