/* UI-03 公開トップ画面（未ログインの「/」）専用。業務画面の app.css とは分け、.lp の中だけに効かせる。
   UI-01 外観デモと同じ配色（青 #0093CB・濃紺 #003042・薄灰 #F4F4F4）と配置（2段ヘッダー・メイン画像・カード・濃紺のフッター）。
   コントラスト：青地の白文字は 19px 太字以上（大きい文字＝3:1）に限る。小さい文字の地は濃い青か濃紺にする。 */

.lp {
  --lp-blue: #0093cb;
  --lp-blue-deep: #006c94;
  --lp-blue-deeper: #005677;
  --lp-blue-pale: #e3f4fb;
  --lp-navy: #003042;
  --lp-gray: #f4f4f4;
  --lp-line: #dddddd;
  --lp-text: #1f2a30;
  --lp-muted: #4f5b62;
  --lp-container: 1130px;
  margin: 0;
  background: #fff;
  color: var(--lp-text);
  font-family: Arial, "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Yu Gothic Medium", "Yu Gothic", Meiryo, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
  word-break: auto-phrase; /* 日本語を文節で折り返す（対応ブラウザ） */
}
.lp *, .lp *::before, .lp *::after { box-sizing: border-box; }
.lp svg { width: 1em; height: 1em; flex: none; }
.lp svg.lp-sprite { position: absolute; width: 0; height: 0; overflow: hidden; }
.lp h1, .lp h2, .lp h3 { margin: 0; line-height: 1.4; }
.lp p { margin: 0; }
.lp a { color: var(--lp-blue-deep); }
.lp-container { width: min(var(--lp-container), calc(100% - 32px)); margin-inline: auto; }
.lp-center { margin-top: 32px !important; text-align: center; }
/* 折り返す位置を句の切れ目に限る（文節での折り返しに対応しないブラウザでも崩れない） */
.lp-nw { display: inline-block; }
.lp h1, .lp h2, .lp h3, .lp-banner, .lp-hero-lead, .lp-section-lead, .lp-step-text { text-wrap: balance; }
.lp-main:focus { outline: none; }

/* フォーカスは常に見せる（白地は濃紺、暗い地は白） */
.lp :focus-visible { outline: 3px solid var(--lp-navy); outline-offset: 2px; box-shadow: 0 0 0 5px #fff; }
.lp-header :focus-visible, .lp-hero-band :focus-visible, .lp-footer :focus-visible {
  outline-color: #fff; box-shadow: 0 0 0 5px var(--lp-navy);
}
.lp-skip {
  position: absolute; z-index: 2000; left: 8px; top: 8px; padding: 8px 16px;
  background: #fff; color: var(--lp-navy) !important; font-weight: 700; transform: translateY(-200%);
}
.lp-skip:focus { transform: none; }

/* ---------------------------------------------------------------- ボタン */
.lp-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  min-height: 48px; padding: 0 28px; border: 2px solid transparent; border-radius: 6px;
  font-size: 16px; font-weight: 700; line-height: 1.3; text-decoration: none; white-space: nowrap;
  transition: background-color .15s, color .15s;
}
.lp-btn svg { font-size: 20px; }
.lp-btn--primary { background: var(--lp-blue-deep); color: #fff !important; }
.lp-btn--primary:hover { background: var(--lp-blue-deeper); }
.lp-btn--pill {
  min-width: 240px; min-height: 56px; border-radius: 999px; background: #fff; color: var(--lp-navy) !important;
  font-size: 19px; box-shadow: 0 4px 14px rgba(0, 48, 66, .25);
}
.lp-btn--pill:hover { background: var(--lp-blue-pale); }

/* ---------------------------------------------------------------- ヘッダー（ブランド段＋ナビ段） */
.lp-header { position: sticky; top: 0; z-index: 1030; background: var(--lp-blue); color: #fff; }
.lp-brandbar-inner { display: flex; align-items: center; gap: 14px; height: 60px; }
.lp-logo {
  display: inline-flex; align-items: center; gap: 8px; min-height: 44px; color: #fff !important;
  font-size: 20px; font-weight: 800; letter-spacing: .06em; text-decoration: none; white-space: nowrap;
}
.lp-logo-mark { font-size: 26px; }
.lp-tagline { display: none; font-size: 19px; font-weight: 700; letter-spacing: .04em; white-space: nowrap; }
.lp-headbtn {
  display: inline-flex; align-items: center; gap: 6px; min-height: 44px; margin-left: auto; padding: 0 16px;
  border-radius: 4px; background: #fff; color: var(--lp-navy) !important;
  font-size: 16px; font-weight: 700; text-decoration: none; white-space: nowrap;
}
.lp-headbtn svg { font-size: 19px; }
.lp-headbtn:hover { background: var(--lp-blue-pale); }
.lp-nav { display: none; }
@media (min-width: 768px) {
  .lp-tagline { display: inline; }
}
@media (min-width: 992px) {
  .lp-header { top: -80px; }
  .lp-brandbar-inner { height: 80px; }
  .lp-logo { font-size: 26px; gap: 10px; }
  .lp-logo-mark { font-size: 34px; }
  .lp-headbtn { padding: 0 22px; }
  .lp-nav { display: block; border-top: 1px solid rgba(255, 255, 255, .35); }
  .lp-nav-list { display: flex; justify-content: center; gap: 56px; height: 60px; margin: 0 auto; padding: 0; list-style: none; }
  .lp-nav-list a {
    position: relative; display: flex; align-items: center; height: 60px; padding: 0 10px;
    color: #fff !important; font-size: 19px; font-weight: 700; text-decoration: none; white-space: nowrap;
  }
  .lp-nav-list a::after {
    content: ""; position: absolute; left: 10px; right: 10px; bottom: 0; height: 4px; background: #fff;
    transform: scaleX(0); transition: transform .2s;
  }
  .lp-nav-list a:hover::after { transform: scaleX(1); }
}

/* 注意の帯（SITE_BANNER） */
.lp-banner {
  padding: 6px 16px; background: #fff3cd; color: #5c4300; border-bottom: 1px solid #f0d78c;
  font-size: 15px; font-weight: 700; line-height: 1.5; text-align: center;
}

/* ---------------------------------------------------------------- メイン画像（中央の濃紺の枠＋下のログイン帯） */
.lp-hero { position: relative; display: flex; flex-direction: column; overflow: hidden; background: #dce5ea; }
.lp-hero-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.lp-hero-panel {
  position: relative; z-index: 1; width: min(640px, calc(100% - 32px)); margin: 40px auto;
  padding: 22px 20px; background: rgba(0, 48, 66, .9); color: #fff; text-align: center;
}
.lp-hero-kicker { margin-bottom: 4px !important; color: #7fd3f2; font-size: 16px; font-weight: 700; letter-spacing: .12em; }
.lp-hero-title { margin-bottom: 8px !important; font-size: 28px; font-weight: 700; letter-spacing: .06em; }
.lp-hero-lead { font-size: 16px; text-wrap: balance; }
.lp-hero-band { position: relative; z-index: 1; background: rgba(0, 108, 148, .95); color: #fff; }
.lp-hero-band-inner {
  display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 0 16px; text-align: center;
}
.lp-hero-band-text { font-size: 16px; font-weight: 700; }
@media (min-width: 576px) {
  .lp-hero { min-height: 420px; }
  .lp-hero-panel { margin: auto; }
}
@media (min-width: 768px) {
  .lp-hero { min-height: 480px; }
  .lp-hero-panel { padding: 34px 48px; }
  .lp-hero-title { font-size: 38px; }
  .lp-hero-band-inner { flex-direction: row; justify-content: center; gap: 28px; padding: 20px 0; }
  .lp-hero-band-text { font-size: 19px; }
}
@media (min-width: 992px) {
  .lp-hero { min-height: 550px; }
}

/* ---------------------------------------------------------------- 区画と見出し（青い下線） */
.lp-section { padding: 48px 0; scroll-margin-top: 72px; }
.lp-section--gray { background: var(--lp-gray); }
.lp-heading { position: relative; margin-bottom: 28px !important; padding-bottom: 14px; color: var(--lp-navy); font-size: 24px; font-weight: 700; text-align: center; letter-spacing: .06em; }
.lp-heading::after { content: ""; position: absolute; left: 50%; bottom: 0; width: 56px; height: 4px; margin-left: -28px; background: var(--lp-blue); }
.lp-section-lead { margin: -8px 0 28px !important; color: var(--lp-muted); font-size: 16px; text-align: center; }
@media (min-width: 768px) {
  .lp-section { padding: 72px 0; }
  .lp-heading { font-size: 30px; }
}

/* 使い方の流れ（4枚） */
.lp-steps { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.lp-step {
  display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 28px 20px;
  border: 1px solid var(--lp-line); border-radius: 8px; background: #fff; font-size: 16px; text-align: center;
}
.lp-step-icon {
  display: grid; place-items: center; width: 68px; height: 68px; margin-bottom: 6px; border-radius: 50%;
  background: var(--lp-blue); color: #fff; font-size: 32px;
}
.lp-step-num { padding: 0 12px; border: 1px solid currentColor; border-radius: 999px; color: var(--lp-blue-deep); font-size: 15px; font-weight: 700; }
.lp-step-title { color: var(--lp-navy); font-size: 22px; font-weight: 700; }
.lp-step-text { color: var(--lp-muted); font-size: 16px; }
@media (min-width: 576px) { .lp-steps { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 992px) { .lp-steps { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; } }

/* 特長（濃紺のアイコン枠つきカード） */
.lp-features { display: grid; grid-template-columns: minmax(0, 1fr); gap: 16px; margin: 0; padding: 0; list-style: none; }
.lp-feature {
  display: flex; gap: 18px; padding: 22px 20px; border: 1px solid var(--lp-line); border-radius: 8px;
  background: #fff; font-size: 16px;
}
.lp-feature-icon {
  display: grid; place-items: center; flex: none; width: 56px; height: 56px; border-radius: 8px;
  background: var(--lp-navy); color: #fff; font-size: 28px;
}
.lp-feature-body { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.lp-feature-title { color: var(--lp-blue-deep); font-size: 20px; font-weight: 700; }
.lp-feature-text { color: var(--lp-text); font-size: 16px; }
@media (min-width: 768px) {
  .lp-features { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
  .lp-feature { padding: 28px; }
}

/* ご利用にあたって */
.lp-notice {
  display: flex; flex-direction: column; gap: 12px; max-width: 860px; margin: 0 auto; padding: 22px 20px;
  border: 1px solid var(--lp-line); border-top: 4px solid var(--lp-blue); border-radius: 0 0 8px 8px; background: #fff;
}
.lp-notice-icon { color: var(--lp-navy); font-size: 32px; line-height: 1; }
.lp-notice-list { display: grid; gap: 8px; margin: 0; padding-left: 1.2em; font-size: 16px; }
@media (min-width: 768px) {
  .lp-notice { flex-direction: row; align-items: flex-start; gap: 20px; padding: 28px 32px; }
}

/* ---------------------------------------------------------------- フッター（濃紺） */
.lp-footer { padding: 44px 0 36px; background: var(--lp-navy); color: #fff; }
.lp-footer-inner { display: grid; grid-template-columns: minmax(0, 1fr); gap: 24px; }
.lp-footer-logo { display: flex; align-items: center; gap: 10px; margin-bottom: 6px !important; font-size: 22px; font-weight: 800; letter-spacing: .06em; }
.lp-footer-logo svg { font-size: 30px; }
.lp-footer-lead { margin-bottom: 8px !important; font-size: 16px; font-weight: 700; }
.lp-footer-note { color: #d5e3ea; font-size: 16px; }
.lp-footer-links { display: flex; flex-wrap: wrap; gap: 4px 24px; margin: 0; padding: 0; list-style: none; }
.lp-footer-links a { display: inline-flex; align-items: center; min-width: 44px; min-height: 44px; color: #fff !important; font-size: 16px; text-decoration: none; }
.lp-footer-links a:hover { text-decoration: underline; }
@media (min-width: 768px) {
  .lp-footer-inner { grid-template-columns: 1.4fr 1fr; align-items: start; gap: 32px; }
  .lp-footer-links { flex-direction: column; gap: 0; }
}
