/* ============================================================================
 * landing.css — menupaan.com トップLP。
 * paan.co.jp コーポレートサイトの意匠を踏襲し、 色だけブランドレッドに置換。
 * (corporate style.css の navy #1A2E5C → menupaan #9B1C31 系)
 * 完全 self-contained。 アプリ側の mp-design.css には依存しない。
 * ========================================================================== */

/* 画面遷移のちらつき対策(社長指示2026-06-27): cross-document View Transitions opt-in。
   LP↔ログイン/アプリ間も白フラッシュ無しでクロスフェード。 未対応ブラウザは無害に degrade。 */
@view-transition { navigation: auto; }
::view-transition-old(root), ::view-transition-new(root) { animation-duration: .18s; }

:root {
  /* === colour (corporate navy → menupaan burgundy) === */
  --lp-primary:      #9B1C31;
  --lp-primary-deep: #7A1025;
  --lp-primary-soft: #C27680;
  --lp-gold:         #C9A961;

  --lp-bg:     #FFFFFF;
  --lp-card:   #FDF8F9;   /* 極淡い赤寄りの背景 */
  --lp-line:   #F0E4D9;
  --lp-line-2: #EDE3DA;

  --lp-ink:      #3A1420;
  --lp-ink-mid:  #4E3C42;   /* 本文/説明文の二次テキスト。 RESTO-PAAN 比で薄かったため濃く */
  --lp-ink-soft: #B09A98;

  /* 縦余白スケール(2026-06-30 社長指示「全体的に高さを詰める」: xl84→48 等、 全体を圧縮) */
  --lp-space-2xs: 8px;  --lp-space-xs: 10px; --lp-space-sm: 14px;
  --lp-space-md:  22px; --lp-space-lg: 34px; --lp-space-xl: 48px; --lp-space-2xl: 80px;

  /* paan.co.jp と完全一致のフォントスタック(意匠そのもの)。 Noto Serif JP / Noto Sans JP を
     最優先で webfont 読み込みし、 ミッションページと同じ明朝の佇まいに。 システムセリフ
     (ui-serif=Times系)に落ちると「AIっぽい」汎用見た目になるため先頭に置かない。
     非JP言語(ko/zh/th)は下部の :lang() で各言語の適切フォントへ上書き(JAの見た目は不変)。 */
  --lp-serif:   'Noto Serif JP', 'Hiragino Mincho ProN', 'Yu Mincho', serif;
  --lp-sans:    'Noto Sans JP', -apple-system, 'Helvetica Neue', sans-serif;
  --lp-display: 'Marcellus', 'Playfair Display', 'Noto Serif JP', serif;
}

/* 非JP言語のみ各言語の適切なフォントへ(JA/ラテンの paan.co.jp 意匠は :root のまま不変)。
   i18n.js が html[lang] を現ロケールに設定するため :lang() で切替わる。 */
html:lang(ko)    { --lp-serif: 'AppleMyungjo', 'Noto Serif KR', serif; --lp-sans: 'Apple SD Gothic Neo', 'Noto Sans KR', sans-serif; }
html:lang(zh-CN) { --lp-serif: 'Songti SC', 'Noto Serif SC', serif; --lp-sans: 'PingFang SC', 'Noto Sans SC', sans-serif; }
html:lang(zh-TW) { --lp-serif: 'Songti TC', 'Noto Serif TC', serif; --lp-sans: 'PingFang TC', 'Noto Sans TC', sans-serif; }
html:lang(th)    { --lp-serif: 'Noto Serif Thai', 'Thonburi', serif; --lp-sans: 'Noto Sans Thai', 'Thonburi', 'Noto Sans JP', sans-serif; }

* { margin: 0; padding: 0; box-sizing: border-box; }
html { background: #fff; scroll-behavior: smooth; scroll-padding-top: 96px; }
body {
  font-family: var(--lp-sans); background: #fff; color: var(--lp-ink); line-height: 1.8;
  -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; text-rendering: optimizeLegibility;
  padding-top: 72px; font-feature-settings: 'palt' 1;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; height: auto; display: block; }
.brand { font-family: var(--lp-display); letter-spacing: .03em; }

/* ============ HEADER (fixed, translucent) ============ */
.lp-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 14px 28px; background: rgba(255,255,255,.82);
  -webkit-backdrop-filter: saturate(160%) blur(14px); backdrop-filter: saturate(160%) blur(14px);
  border-bottom: 1px solid var(--lp-line);
}
.lp-logo { display: flex; align-items: center; gap: 9px; flex: none; }
.lp-logo .ic { width: 30px; height: 30px; flex: none; }
.lp-logo .wm { font-family: var(--lp-display); font-size: 21px; letter-spacing: .14em; color: var(--lp-primary); white-space: nowrap; }
.lp-headright { display: flex; align-items: center; gap: 14px; flex: none; }
/* ヘッダー nav links(RESTO-PAAN 構造踏襲・社長指示2026-06-26): 言語pillを最右へ移し、 特長/料金リンクを追加 */
.lp-nav { display: flex; align-items: center; gap: 22px; }
.lp-nav a { font-family: var(--lp-sans); font-size: 13px; letter-spacing: .04em; color: var(--lp-ink-mid); text-decoration: none; }
.lp-nav a:hover { color: var(--lp-primary); }
#features, #pricing { scroll-margin-top: 84px; }

/* language switcher */
.lp-locale { position: relative; }
.lp-locale-btn {
  display: inline-flex; align-items: center; gap: 6px; font-family: var(--lp-sans); font-size: 13px;
  color: var(--lp-ink-mid); background: none; border: 1px solid var(--lp-line); border-radius: 999px;
  padding: 7px 13px; cursor: pointer; flex: none; white-space: nowrap; }
.lp-locale-btn .nm { white-space: nowrap; }
.lp-locale-btn .arr { font-size: 10px; opacity: .6; }
.lp-locale-btn .fl { display: inline-flex; align-items: center; }
.lp-locale-btn .fl svg { width: 16px; height: 16px; display: block; }
.lp-locale-menu {
  position: absolute; top: calc(100% + 8px); right: 0; min-width: 184px; max-height: 60vh; overflow-y: auto;
  background: #fff; border: 1px solid var(--lp-line); border-radius: 12px; box-shadow: 0 14px 40px rgba(58,20,32,.14);
  padding: 6px; display: none; }
.lp-locale-menu.show { display: block; }
.lp-locale-item {
  display: flex; align-items: center; gap: 10px; width: 100%; text-align: left; background: none; border: none;
  font: inherit; font-size: 14px; color: var(--lp-ink); padding: 9px 12px; border-radius: 8px; cursor: pointer; }
.lp-locale-item:hover { background: var(--lp-card); }
.lp-locale-item.active { color: var(--lp-primary); font-weight: 700; }
.lp-locale-item .fl { font-size: 17px; }

.lp-login { font-size: 13px; letter-spacing: .04em; color: var(--lp-ink-mid); padding: 8px 6px; }
.lp-login:hover { color: var(--lp-primary); }

/* CTA buttons (corporate brand-cta, red) */
.lp-cta {
  display: inline-flex; align-items: center; gap: 8px; font-family: var(--lp-sans); font-size: 13px;
  letter-spacing: .08em; color: #fff; background: var(--lp-primary); padding: 12px 26px; border: 1.5px solid var(--lp-primary);
  border-radius: 999px; font-weight: 500; cursor: pointer; transition: all .15s; white-space: nowrap; }
.lp-cta:hover { background: var(--lp-primary-deep); border-color: var(--lp-primary-deep); transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(155,28,49,.28); }
.lp-cta .arr { transition: transform .15s; }
.lp-cta:hover .arr { transform: translateX(2px); }
.lp-cta.sm { padding: 9px 18px; font-size: 12.5px; }
.lp-cta.ghost { color: var(--lp-primary); background: #fff; }
.lp-cta.ghost:hover { background: rgba(155,28,49,.06); color: var(--lp-primary-deep); }
.lp-cta.lg { padding: 0 34px; height: 44px; font-size: 16.5px; }  /* 2026-07-15 社長指示: App Storeバッジ(44px)と同じ高さ */
.lp-cta.on-dark { background: #fff; color: var(--lp-primary); border-color: #fff; }
.lp-cta.on-dark:hover { background: rgba(255,255,255,.9); box-shadow: 0 8px 24px rgba(0,0,0,.25); }
/* hero (dark image) 上の二次ボタン: 透明＋白アウトライン */
.lp-cta.outline-dark { background: rgba(255,255,255,.06); color: #fff; border-color: rgba(255,255,255,.72); }
.lp-cta.outline-dark:hover { background: rgba(255,255,255,.16); border-color: #fff; transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,.22); }

/* ============ HERO ============ */
.hero {
  position: relative; margin-top: -72px; padding: 84px 24px 0; min-height: 560px;
  display: flex; flex-direction: column; justify-content: flex-end; text-align: center;
  background-color: #2A0E16; overflow: hidden; }
.hero-bg, .hero-bg-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: center; z-index: 0; }
/* corporate と同じ: opacity は keyframe で fade-in、 transform は scroll パララックス(1.04 zoom)を transition で */
.hero-bg-img { opacity: 0; animation: heroFadeIn .7s ease-out forwards; transform-origin: center center; transition: transform 1.2s ease-out; }
.hero.scrolled .hero-bg-img { transform: scale(1.04); }
@keyframes heroFadeIn { to { opacity: 1; } }
/* 可読性スクリム: 明るい店内写真に白文字が負けるため、 中央〜上部も含め全面を暗く落とす(社長指摘2026-06-26)。
   写真の質感は残しつつ白文字を確実に読ませるため .42〜.52 を基調に、 下部は .88 まで濃く。 */
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: 1; pointer-events: none; opacity: 0;
  background: linear-gradient(180deg, rgba(42,14,22,.52) 0%, rgba(42,14,22,.44) 30%, rgba(42,14,22,.46) 52%, rgba(42,14,22,.66) 74%, rgba(42,14,22,.88) 100%);
  animation: heroFadeIn .6s ease-out .35s forwards; }
.hero-content { position: relative; z-index: 2; flex: 1; display: flex; flex-direction: column; justify-content: flex-end;
  padding-bottom: 44px; max-width: 760px; margin: 0 auto; }
.hero-eyebrow { font-family: var(--lp-display); font-size: 13px; letter-spacing: .28em; text-transform: uppercase;
  color: rgba(255,255,255,.85); margin-bottom: 18px; text-shadow: 0 1px 12px rgba(0,0,0,.55); }
.hero-title { font-family: var(--lp-serif); font-size: 34px; font-weight: 500; color: #fff; letter-spacing: .04em;
  line-height: 1.5; margin: 0 auto 20px; max-width: 680px; text-shadow: 0 2px 24px rgba(0,0,0,.45); }
.hero-sub { font-family: var(--lp-serif); font-size: 16.5px; color: rgba(255,255,255,.93); letter-spacing: .03em;
  line-height: 2; margin: 0 auto 14px; max-width: 600px; word-break: keep-all; overflow-wrap: break-word; text-wrap: pretty;
  text-shadow: 0 1px 16px rgba(0,0,0,.5); }
/* 結びの強調行 (2026-07-09 目立たせ; 2026-07-13 社長指示: 課題行との距離を詰める→上marginを26→8px) */
.hero-punch { font-family: var(--lp-serif); font-size: 19px; font-weight: 500; color: #fff; letter-spacing: .05em;
  line-height: 2; margin: 8px auto 18px; max-width: 640px; word-break: keep-all; overflow-wrap: break-word;
  text-wrap: pretty; text-shadow: 0 2px 20px rgba(0,0,0,.55); }
.hero-tagline { font-family: var(--lp-serif); font-size: 15px; color: rgba(255,255,255,.9); margin-bottom: 32px; }
.hero-tagline .brand { color: #fff; }
.hero-ctas { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }
.hero-cta-sub { font-size: 12px; color: rgba(255,255,255,.72); margin-top: 14px; letter-spacing: .03em; }
.hero-countries { margin-top: 4px; font-weight: 600; color: rgba(255,255,255,.85); }
/* 無料お試し注記をピル枠で括る(社長指示2026-06-26、 RESTO image85準拠) */
.hero-note-pill { align-self: center; display: inline-block; margin-top: 16px; padding: 8px 18px;
  border: 1px solid rgba(255,255,255,.34); border-radius: 999px; font-size: 12px; color: rgba(255,255,255,.85);
  letter-spacing: .03em; }
/* iOS版はこちら ボタン(リリース予定バッジを置換) */
.hero-ios { align-self: center; display: inline-flex; align-items: center; gap: 8px; margin-top: 18px; padding: 9px 20px;
  border: 1px solid rgba(255,255,255,.5); border-radius: 999px; font-size: 13px; color: #fff; text-decoration: none;
  letter-spacing: .04em; transition: background .2s, border-color .2s; }
.hero-ios:hover { background: rgba(255,255,255,.14); border-color: #fff; }
.hero-ios svg { width: 16px; height: 16px; flex: none; }
.hero-badge { display: inline-flex; align-items: center; gap: 7px; margin-top: 22px; padding: 6px 16px;
  border: 1px solid rgba(255,255,255,.34); border-radius: 999px; font-size: 12px; color: rgba(255,255,255,.86);
  letter-spacing: .05em; }
.hero-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: var(--lp-gold); }
/* 創業者クレジット (元外交官 × 飲食の経営者): FEATURES 見出し直下の信頼ライン。
   金色の細線を両脇に添えた一行。 (旧 hero 配置から features へ移設) */
/* sec-title と二重クラスで指定し cascade 順に依らず確実に上書き (旧 .feat-title-credit 単独だと
   後段の .sec-title margin-bottom:xl に負けて余白が残っていた) */
.sec-title.feat-title-credit { margin-bottom: var(--lp-space-sm); }
.feat-credit { display: flex; align-items: center; justify-content: center; gap: 16px; max-width: 560px;
  margin: 0 auto var(--lp-space-xl); font-family: var(--lp-serif); font-size: 16px; letter-spacing: .06em;
  color: var(--lp-primary); }
.feat-credit::before, .feat-credit::after { content: ''; flex: 1; height: 1px; max-width: 64px;
  background: linear-gradient(to right, transparent, var(--lp-gold), transparent); }

/* hero テキストの staggered fade-in (corporate heroTextIn: 画像0.6s→暗幕0.35s→テキスト段階) */
.hero-content > * { opacity: 0; transform: translateY(8px); animation: heroTextIn .9s ease-out forwards; }
.hero-eyebrow { animation-delay: .55s; }
.hero-title   { animation-delay: .68s; }
.hero-sub     { animation-delay: .82s; }
.hero-punch   { animation-delay: .9s; }
.hero-tagline { animation-delay: 1s; }
.hero-ctas    { animation-delay: 1.06s; }
.hero-badge   { animation-delay: 1.2s; }
@keyframes heroTextIn { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: translateY(0); } }
.no-js .hero-content > * { opacity: 1; transform: none; animation: none; }

/* ============ SECTION SCAFFOLD ============ */
.sec { padding: var(--lp-space-xl) 24px; }
.sec-wrap { max-width: 980px; margin: 0 auto; }
.sec-narrow { max-width: 720px; margin: 0 auto; }
.eyebrow { font-family: var(--lp-display); font-size: 13px; letter-spacing: .24em; text-transform: uppercase;
  color: var(--lp-primary-soft); text-align: center; margin-bottom: 14px; }

/* 章割りディバイダ (2026-06-30: 三連◆→単一の上品なゴールド菱形 fleuron + 両側フェード罫) */
.lp-divider { display: flex; align-items: center; justify-content: center; gap: 16px; max-width: 460px;
  margin: 0 auto; padding: 0 24px; }
.lp-divider::before, .lp-divider::after { content: ''; flex: 1; height: 1px;
  background: linear-gradient(to right, transparent, var(--lp-line), transparent); }
.lp-divider .mk { font-size: 10px; color: var(--lp-gold); opacity: .7; font-family: serif; line-height: 1; }
.sec-title { font-family: var(--lp-serif); font-size: 30px; font-weight: 500; letter-spacing: .04em; line-height: 1.5;
  color: var(--lp-ink); text-align: center; margin-bottom: var(--lp-space-xl); }
/* セクション見出し直下のリード(社長指示2026-06-27: FEATURES見出しの下に副題) */
.sec-lead { text-align: center; font-family: var(--lp-serif); font-size: 16px; color: var(--lp-primary);
  letter-spacing: .04em; line-height: 1.7; margin: 0 auto var(--lp-space-lg); }
.sec.alt { background: var(--lp-card); border-top: 1px solid var(--lp-line); border-bottom: 1px solid var(--lp-line); }

/* features grid */
/* RESTO-PAAN 踏襲(社長指示2026-06-26): 個別カード枠を廃し、 1px隙間+container背景=線色で
   ヘアライン区切りのグリッド。 外枠+角丸+overflow:hiddenで一枚板のテーブルに。 番号=primary、 見出し=濃いink。 */
.feat-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1px; background: var(--lp-line);
  border: 1px solid var(--lp-line); border-radius: 16px; overflow: hidden; align-items: stretch; }
.feat { background: #fff; border: none; border-radius: 0; padding: 22px 26px; }
.feat .n { font-family: var(--lp-display); font-size: 18px; color: var(--lp-primary); letter-spacing: .06em; margin-bottom: 10px; }
.feat h3 { font-family: var(--lp-serif); font-size: 18px; font-weight: 500; color: var(--lp-ink); letter-spacing: .02em;
  line-height: 1.5; margin-bottom: 8px; }
.feat p { font-family: var(--lp-serif); font-size: 14px; color: var(--lp-ink-mid); line-height: 1.85; letter-spacing: .02em; }

/* voices (testimonials) */
.voice-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.voice { background: #fff; border: 1px solid var(--lp-line); border-radius: 12px; padding: 24px 24px; display: flex; flex-direction: column; }
.voice .q { font-family: var(--lp-serif); font-size: 14.5px; color: var(--lp-ink); line-height: 1.95; letter-spacing: .02em; flex: 1; }
.voice .who { margin-top: 22px; padding-top: 16px; border-top: 1px solid var(--lp-line); }
.voice .who .p { font-size: 13.5px; color: var(--lp-primary); font-weight: 700; }
.voice .who .l { font-size: 12px; color: var(--lp-ink-soft); margin-top: 2px; }
.voices-note { text-align: center; font-size: 12px; color: var(--lp-ink-soft); margin-top: var(--lp-space-md); letter-spacing: .03em; }

/* ============ FOUNDER STORY / 創業者ストーリー (元外交官・飲食実業家の一人称) ============
   paan.co.jp/mission と同じ editorial 明朝の長文。 中央寄せ・読みやすい行間で物語を打ち出す。 */
.founder-wrap { max-width: 680px; margin: 0 auto; }
.founder-h { font-family: var(--lp-serif); font-size: 26px; font-weight: 500; letter-spacing: .04em; line-height: 1.6;
  color: var(--lp-ink); text-align: center; margin-bottom: var(--lp-space-lg); }
.founder-body { font-family: var(--lp-serif); font-size: 15.5px; color: var(--lp-ink); line-height: 2.05; letter-spacing: .03em;
  word-break: keep-all; overflow-wrap: break-word; }
.founder-body p { margin: 0 0 20px; }
.founder-body p:last-child { margin-bottom: 0; }
.founder-body strong { color: var(--lp-primary); font-weight: 500; font-family: var(--lp-display); letter-spacing: .04em; }
.founder-rule { width: 36px; height: 1px; border: none; background: var(--lp-primary-soft); margin: 30px auto; }
.founder-sig { text-align: right; font-family: var(--lp-serif); font-size: 14px; color: var(--lp-primary-deep);
  letter-spacing: .05em; margin-top: var(--lp-space-md); line-height: 1.7; }
@media (max-width: 720px) {
  .founder-h { font-size: 21px; line-height: 1.55; margin-bottom: var(--lp-space-md); }
  .founder-body { font-size: 14.5px; line-height: 1.95; }
  .founder-sig { text-align: left; }
}

/* hero CTA 下の無料お試し注記(stagger 内に収める) */
.hero-cta-sub { animation-delay: 1.13s; }

/* ============ PLANS / PRICING (無料版 + 3日/1週間 + サブスクなし訴求) ============ */
/* 料金セクションの余白を節約(社長指示2026-06-26): タイトル→リード→カードのギャップを縮小 */
#pricing .sec-title { margin-bottom: var(--lp-space-base); }
.plans-lead { text-align: center; font-family: var(--lp-serif); font-size: 16px; color: var(--lp-primary);
  letter-spacing: .03em; line-height: 1.9; max-width: 620px; margin: 0 auto var(--lp-space-md);
  word-break: keep-all; overflow-wrap: break-word; } /* 旅行特化 等の語中改行を防止 */
/* 早速無料で試す: iOS / ウェブ の2択CTA */
.plans-try-lead { text-align: center; font-family: var(--lp-serif); font-size: 17px; color: var(--lp-ink);
  letter-spacing: .04em; margin: var(--lp-space-md) 0 var(--lp-space-sm); }
.plans-try-row { display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap; }

/* 料金カードをFEATURESと同じヘアライングリッドへ統一(社長指示2026-06-26「ここだけ浮いている」)。
   装飾的なMarcellus数字・ゴールドバッジを廃し、 価格はsans太字、 名前は濃いink、 バッジはアウトラインに。 */
.plan-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1px; background: var(--lp-line);
  border: 1px solid var(--lp-line); border-radius: 16px; overflow: hidden; align-items: stretch; }
.plan-card { background: #fff; border: none; border-radius: 0; padding: 22px 22px;
  text-align: center; display: flex; flex-direction: column; justify-content: center; }
.plan-card.free { background: var(--lp-card); }
.plan-card.featured { background: color-mix(in srgb, var(--lp-primary) 4%, #fff); }
.pc-badge { align-self: center; font-family: var(--lp-sans); font-size: 12px; font-weight: 600; letter-spacing: .08em;
  color: var(--lp-ink-mid); background: none; border: 1px solid var(--lp-line); border-radius: 999px; padding: 4px 14px; margin-bottom: 12px; }
.pc-badge.pro { color: var(--lp-primary); border-color: color-mix(in srgb, var(--lp-primary) 40%, transparent); background: none; }
/* 2026-07-08 社長指示「見出しをもっとはっきり・同ポイント数で」: 20px/600 に(無料/買い切り/旅行 共通)。 */
.pc-name { font-family: var(--lp-serif); font-size: 20px; font-weight: 600; color: var(--lp-ink); letter-spacing: .02em; margin-bottom: 8px; }
.pc-price { font-family: var(--lp-sans); font-weight: 700; font-size: 32px; color: var(--lp-ink); line-height: 1.05; letter-spacing: .01em; }
.pc-scans { font-family: var(--lp-sans); font-size: 13px; color: var(--lp-ink-mid); margin-top: 6px; letter-spacing: .02em; }
/* ローンチ記念セール(2026-06-28)。 表示のみ。 Stripeクーポン結線は別途(index.html の注記参照)。 */
.pc-sale-tag { align-self: center; font-family: var(--lp-sans); font-size: 12px; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase; color: var(--lp-gold); margin-bottom: 6px;
  display: inline-flex; align-items: center; gap: 7px; }
.pc-sale-tag::before, .pc-sale-tag::after { content: ''; width: 12px; height: 1px; background: var(--lp-gold); opacity: .6; }
.pc-was { font-family: var(--lp-sans); font-size: 17px; font-weight: 400; color: var(--lp-ink-soft);
  text-decoration: line-through; text-decoration-thickness: 1px; margin-right: 10px; letter-spacing: .01em; }
.plan-card.sale .pc-price { color: var(--lp-primary); }
/* Lite注記: bold/sansが不自然だったため weight 400 の serif に変更(社長指示2026-06-26)。 */
.pc-lite { margin-top: 9px; font-family: var(--lp-serif); font-size: 12.5px; font-weight: 400; letter-spacing: .02em; line-height: 1.5;
  color: var(--lp-primary); background: color-mix(in srgb, var(--lp-primary) 7%, transparent); border-radius: 8px; padding: 6px 12px; align-self: center; }
.pc-desc { font-family: var(--lp-sans); font-size: 12.5px; color: var(--lp-ink-mid); line-height: 1.65; letter-spacing: .02em; margin-top: 10px; }
/* 2026-07-08 旅行プランを1ボックスに集約(3ティア)。 名前左・価格右のスッキリ行。 1週間を強調背景。 */
.plan-card.trip, .plan-card.pack { justify-content: flex-start; }
.trip-tiers { margin-top: 14px; border-top: 1px solid var(--lp-line); text-align: left; }
.trip-tier { padding: 11px 6px; border-bottom: 1px solid var(--lp-line); }
.trip-tier:last-child { border-bottom: none; }
.trip-tier.featured { background: color-mix(in srgb, var(--lp-primary) 6%, #fff); }
.tt-head { display: flex; align-items: baseline; justify-content: space-between; gap: 10px; }
.tt-name { font-family: var(--lp-serif); font-size: 14.5px; font-weight: 500; color: var(--lp-ink); letter-spacing: .02em; }
.tt-price { font-family: var(--lp-sans); font-weight: 700; font-size: 20px; color: var(--lp-primary); white-space: nowrap; letter-spacing: .01em; }
.tt-price .pc-was { font-size: 12px; font-weight: 400; color: var(--lp-ink-soft); text-decoration: line-through; text-decoration-thickness: 1px; margin-right: 7px; }
.tt-scans { font-family: var(--lp-sans); font-size: 11.5px; color: var(--lp-ink-mid); margin-top: 3px; letter-spacing: .02em; }
.plans-fine { text-align: center; font-size: 12px; color: var(--lp-ink-soft); line-height: 1.7; letter-spacing: .02em; max-width: 640px; margin: 0 auto var(--lp-space-md); }
.plans-note { text-align: center; font-family: var(--lp-serif); font-size: 13px; color: var(--lp-ink-mid);
  line-height: 1.95; letter-spacing: .02em; max-width: 640px; margin: var(--lp-space-lg) auto var(--lp-space-md); }
.plans-note strong { color: var(--lp-primary); font-weight: 500; }
@media (max-width: 860px) { .plan-grid { grid-template-columns: 1fr; gap: 1px; } }

/* name & vision */
.name-sec { text-align: center; }
.name-intro { font-family: var(--lp-serif); font-size: 16px; color: var(--lp-ink-mid); line-height: 2; letter-spacing: .03em;
  max-width: 620px; margin: 0 auto var(--lp-space-xl); }
.name-pans { display: flex; flex-direction: column; gap: 18px; max-width: 560px; margin: 0 auto; }
.name-pan { font-family: var(--lp-serif); font-size: 16px; color: var(--lp-ink); line-height: 1.7; letter-spacing: .03em;
  padding: 20px 26px; background: var(--lp-card); border: 1px solid var(--lp-line); border-radius: 10px;
  border-left: 3px solid var(--lp-primary); }
.name-closing { font-family: var(--lp-serif); font-size: 16px; color: var(--lp-ink-mid); line-height: 2; letter-spacing: .03em;
  max-width: 620px; margin: var(--lp-space-xl) auto 0; }

/* ============ FINAL CTA ============ */
/* 紹介バナー(RESTO-PAAN founder セクション構造準拠・赤帯。 社長指示2026-06-27:
   ブランド/サブタイトル/headline/3項目/50ヵ国・無料 を集約。 hero上部はスッキリ化) */
.founder-banner { background: linear-gradient(158deg, var(--lp-primary) 0%, var(--lp-primary-deep) 100%); color: #fff;
  padding: 30px 24px; }
.founder-banner .fb-wrap { max-width: 600px; margin: 0 auto; text-align: center; }
.founder-banner .fb-rule { display: block; width: 40px; height: 3px; background: rgba(255,255,255,.7); border-radius: 2px; margin: 0 auto 12px; }
.founder-banner .fb-brand { font-family: var(--lp-display); font-size: 13px; letter-spacing: .2em; color: rgba(255,255,255,.85); margin: 0 0 7px; }
.founder-banner .fb-title { font-family: var(--lp-serif); font-size: 26px; font-weight: 600; color: #fff;
  letter-spacing: .03em; line-height: 1.4; margin: 0 0 8px; }
.founder-banner .fb-byline { font-family: var(--lp-serif); font-size: 15px; color: rgba(255,255,255,.88); letter-spacing: .05em;
  margin: 0 auto 18px; display: inline-flex; align-items: center; gap: 12px; }
.founder-banner .fb-byline::before, .founder-banner .fb-byline::after { content: "—"; opacity: .55; }
.founder-banner .fb-points { list-style: none; max-width: 470px; margin: 0 auto; padding: 0; text-align: left; }
.founder-banner .fb-points li { position: relative; padding: 9px 0 9px 26px; font-family: var(--lp-serif); font-size: 15px;
  font-weight: 600; line-height: 1.55; color: #fff; border-bottom: 1px solid rgba(255,255,255,.18); }
.founder-banner .fb-points li:last-child { border-bottom: none; }
.founder-banner .fb-points li::before { content: ""; position: absolute; left: 3px; top: 17px; width: 7px; height: 7px;
  border-radius: 50%; background: rgba(255,255,255,.85); }
.founder-banner .fb-foot { font-size: 14px; font-weight: 600; color: #fff; line-height: 1.7; margin: 16px auto 0; }

.final { background: linear-gradient(160deg, var(--lp-primary) 0%, var(--lp-primary-deep) 100%); color: #fff;
  text-align: center; padding: 32px 24px; }
.final .eyebrow { color: rgba(255,255,255,.7); }
.final-title { font-family: var(--lp-serif); font-size: 28px; font-weight: 500; letter-spacing: .04em; line-height: 1.55;
  margin-bottom: 12px; }
.final-tagline { font-family: var(--lp-serif); font-size: 18px; margin-bottom: 6px; }
.final-tagline .brand { color: #fff; }
.final-sub { font-size: 14px; color: rgba(255,255,255,.85); margin-bottom: 24px; letter-spacing: .03em; }
.final-note { font-size: 12px; color: rgba(255,255,255,.78); margin-top: 14px; letter-spacing: .03em; }

/* ============ FOOTER ============ */
/* フッター(RESTO-PAAN .ft 準拠: ブランド左 / リンク右 / コピーライト下中央。 社長指示2026-06-26) */
.lp-footer { background: #fff; border-top: 1px solid var(--lp-line); padding: 38px 24px 30px; }
.lp-footer .fl-in { max-width: 1040px; margin: 0 auto; display: flex; flex-wrap: wrap; gap: 30px;
  justify-content: space-between; align-items: flex-start; }
.lp-footer .fl-brand { font-family: var(--lp-display); font-size: 21px; letter-spacing: .14em; color: var(--lp-primary); }
.lp-footer .fl-brand .fl-tag { display: block; font-family: var(--lp-serif); font-size: 12.5px; color: var(--lp-ink-soft);
  margin: 8px 0 0; letter-spacing: .04em; }
.fl-links { display: flex; flex-wrap: wrap; gap: 10px 22px; font-size: 13px; }
.fl-links a { color: var(--lp-ink-mid); letter-spacing: .03em; }
.fl-links a:hover { color: var(--lp-primary); }
.fl-links .ext::after { content: ' \2197'; font-size: 10px; opacity: .6; }
/* RESTO-PAAN クロスプロモ(2026-06-28 社長指示)。 大きな兄弟ブランドブロックは「RESTO-PAANのページ」に
   見えるため撤回。 右カラム(legalリンク)の直下に、 プライバシーポリシーの左端に揃えた横一列。
   色は RESTO-PAAN の青(#1A2E5C)、 大きさは左カラムの「メニューの向こう側へ」(12.5px)と揃える。 */
.lp-footer .fl-col { display: flex; flex-direction: column; gap: 16px; align-items: flex-start; }
.lp-footer .fl-resto { display: inline-flex; align-items: baseline; flex-wrap: wrap; gap: 4px 10px;
  color: #1A2E5C; letter-spacing: .04em; padding-bottom: 2px;
  border-bottom: 2px solid rgba(26,46,92,.32); transition: color .15s, border-color .15s; }
.lp-footer .fl-resto-brand { font-family: var(--lp-display); font-size: 12.5px; letter-spacing: .1em; }
.lp-footer .fl-resto-tag { font-family: var(--lp-serif); font-size: 12.5px; }
.lp-footer .fl-resto:hover { color: #0F1F40; border-bottom-color: rgba(15,31,64,.6); }
.fl-copy { width: 100%; text-align: center; margin-top: 34px; font-size: 12px; color: var(--lp-ink-soft); letter-spacing: .04em; }

/* ============ scroll reveal (corporate: 上ほど早く下ほど遅い stagger を JS で付与) ============ */
.anim-reveal { opacity: 0; transform: translateY(16px); transition: opacity .7s ease-out, transform .7s ease-out; will-change: opacity, transform; }
.anim-reveal.revealed { opacity: 1; transform: none; will-change: auto; }
.no-js .anim-reveal { opacity: 1; transform: none; transition: none; }

/* ============ アクセシビリティ: prefers-reduced-motion で全モーション無効 ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-delay: 0ms !important;
    animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .anim-reveal, .hero-content > * { opacity: 1 !important; transform: none !important; }
  .hero.scrolled .hero-bg-img { transform: none !important; }
}

/* ============ responsive ============ */
@media (max-width: 860px) {
  .feat-grid { grid-template-columns: 1fr; gap: 1px; }
  .voice-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  body { padding-top: 62px; }
  html { scroll-padding-top: 74px; }
  .lp-header { padding: 11px 16px; }
  .lp-logo .wm { font-size: 18px; letter-spacing: .1em; }
  .lp-login { display: none; }
  .lp-nav { display: none; }
  /* mobile header = logo(left) + 言語名ピル(right) のみ。 CTA はヘッダーから外し横幅を確保
     (本文に CTA あり)= ロゴ/言語名が折り返さず一直線。 2026-06-26 社長指摘の崩れ修正 */
  .lp-headright .lp-cta { display: none; }
  .lp-headright { gap: 0; }
  /* iPhone等: 固定ヘッダーにタイトルがかぶるのを防ぐため画面いっぱいに(下寄せコンテンツがヘッダー下へ余白を確保) */
  .hero { margin-top: -62px; padding: 62px 18px 24px; min-height: 100vh; min-height: 100svh; }
  .hero-content { padding-bottom: 40px; }
  .hero-title { font-size: 27px; line-height: 1.5; }
  .hero-sub { font-size: 14.5px; line-height: 1.95; }
  .hero-punch { font-size: 17px; margin: 8px auto 14px; }
  .sec { padding: var(--lp-space-lg) 20px; }
  .sec-title { font-size: 22px; margin-bottom: var(--lp-space-base); }
  .final-title { font-size: 21px; }
  /* 2026-06-26 社長指示「スマホで見づらい、 ~2pt 下げ + 箱の高さ詰め」: 特集・各セクションを圧縮 */
  .feat-grid { gap: 1px; }
  .feat { padding: 22px 20px; }
  .feat .n { font-size: 16px; margin-bottom: 8px; }
  .feat h3 { font-size: 16px; margin-bottom: 8px; }
  .feat p { font-size: 13px; line-height: 1.8; }
  .feat-credit { font-size: 14px; margin-bottom: var(--lp-space-lg); }
  .plans-lead { font-size: 14px; }
  .plans-try-lead { font-size: 15px; }
  .voice .q { font-size: 13px; line-height: 1.8; }
  .hero-tagline { font-size: 13.5px; }
  /* 料金カードをスマホで圧縮(2026-06-26 社長指摘「pricing 見づらい」) */
  .plan-card { padding: 20px 18px; }
  .pc-badge { font-size: 12px; padding: 5px 12px; }
  .pc-name { font-size: 16px; margin-bottom: 6px; }
  .pc-price { font-size: 30px; }
  .pc-scans { font-size: 12px; margin-top: 6px; }
  .pc-lite { font-size: 12px; margin-top: 8px; }
  .pc-desc { font-size: 12.5px; line-height: 1.7; margin-top: 10px; }
  .founder-banner { padding: 40px 22px; }
  .founder-banner .fb-title { font-size: 21px; line-height: 1.4; }
  .founder-banner .fb-byline { font-size: 13px; margin-bottom: 20px; }
  .founder-banner .fb-points li { font-size: 14px; padding: 11px 0 11px 24px; }
  .founder-banner .fb-points li::before { top: 18px; }
  .founder-banner .fb-foot { font-size: 13px; }
}
@media (max-width: 560px) {
  /* 2026-07-15 社長指示「今すぐ無料で体験とappleを並べて」: 狭幅も横並び、パディングを絞って1行に収める */
  .hero-ctas .lp-cta.lg, .final-ctas .lp-cta.lg, .plans-try-row .lp-cta.lg { padding: 0 22px; }
}
@media (max-width: 480px) {
  .hero-title { font-size: 24px; }
}
/* 2026-07-22 社長指摘「iPhone で余白が見える」の周辺是正: 320px 幅 (表示拡大 iPhone / SE) で
   言語名が長いロケール (Bahasa Indonesia / Tiếng Việt) の言語ピルがヘッダーからはみ出し、
   右端で枠ごと切れていた。 ロゴは死守し、 言語名だけ省略記号で畳む。 */
@media (max-width: 400px) {
  .lp-headright { flex: 0 1 auto; min-width: 0; }
  .lp-locale { min-width: 0; flex: 0 1 auto; }
  .lp-locale-btn { min-width: 0; max-width: 100%; flex: 0 1 auto; }
  .lp-locale-btn .nm { overflow: hidden; text-overflow: ellipsis; }
}

/* ============ 公開前ゲート モーダル (.js-app-gate 押下で表示。 ローンチ後この節を削除) ============ */
.lp-gate { position: fixed; inset: 0; z-index: 1000; display: flex; align-items: center; justify-content: center;
  padding: 24px; opacity: 0; transition: opacity .26s ease; }
.lp-gate[hidden] { display: none; }  /* class display:flex が hidden 属性を上書きしていた=不可視のまま全画面を覆いクリックを食う不具合の修正 */
.lp-gate.show { opacity: 1; }
.lp-gate-backdrop { position: absolute; inset: 0; background: rgba(58,20,32,.42); backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px); }
.lp-gate-card { position: relative; width: 100%; max-width: 440px; background: var(--lp-card); border: 1px solid var(--lp-line);
  border-radius: 20px; padding: 40px 34px 32px; text-align: center; box-shadow: 0 24px 70px rgba(58,20,32,.28);
  transform: translateY(14px) scale(.98); transition: transform .26s cubic-bezier(.2,.7,.3,1); }
.lp-gate.show .lp-gate-card { transform: translateY(0) scale(1); }
.lp-gate-x { position: absolute; top: 12px; right: 14px; width: 34px; height: 34px; border: none; background: none;
  font-size: 24px; line-height: 1; color: var(--lp-ink-soft); cursor: pointer; border-radius: 50%; transition: all .15s; }
.lp-gate-x:hover { color: var(--lp-ink); background: rgba(155,28,49,.06); }
.lp-gate-mk { color: var(--lp-gold); font-size: 15px; margin-bottom: 14px; letter-spacing: .3em; }
.lp-gate-title { font-family: var(--lp-serif); color: var(--lp-primary); font-size: 22px; font-weight: 500;
  margin: 0 0 14px; letter-spacing: .04em; }  /* 2026-07-16 社長指示「restopaanと同じに」: RESTO ゲートと同じ Noto Serif JP 系 (数字は普通の字形。 旧displayのオールドスタイル数字は廃止のまま) */
.lp-gate-body { font-family: var(--lp-serif); color: var(--lp-ink-mid); font-size: 14.5px; line-height: 2;
  margin: 0 0 26px; }
.lp-gate-body a { color: var(--lp-primary); text-decoration: none; border-bottom: 1px solid var(--lp-primary-soft);
  padding-bottom: 1px; }
.lp-gate-body a:hover { color: var(--lp-primary-deep); border-color: var(--lp-primary-deep); }
.lp-gate-ok { justify-content: center; }
body.lp-gate-open { overflow: hidden; }
@media (prefers-reduced-motion: reduce) {
  .lp-gate, .lp-gate-card { transition: none; }
}

/* ============================================================================
 * 印刷用 (2026-07-11 社長指示「アナログな役所が menupaan.com を印刷する日が来る」)
 * 印刷PDF実測の問題: ①スクロール出現アニメ (.anim-reveal) が初期状態 (opacity:0/薄色)
 * のまま固まり本文が霞む ②hero背景写真が落ちて白文字が消える ③横スクロールギャラリーが
 * 見切れる ④100vh由来の巨大空白で9ページ肥大。全て解消し、コンパクトに要点が刷れる形へ。
 * ==========================================================================*/
@media print {
  @page { margin: 11mm; }
  :root {
    --lp-space-2xs: 4px; --lp-space-xs: 6px; --lp-space-sm: 8px;
    --lp-space-md: 12px; --lp-space-lg: 16px; --lp-space-xl: 20px; --lp-space-2xl: 24px;
  }
  * { animation: none !important; transition: none !important;
      box-shadow: none !important; text-shadow: none !important; }
  .anim-reveal, .hero-content > * { opacity: 1 !important; transform: none !important; }
  html, body { background: #fff !important; }

  /* 操作系UI (ボタン/言語切替/モーダル/締めCTA) は紙に不要 */
  .lp-nav, .lp-login, .lp-cta, .lp-locale, .hero-ctas, .hero-cta-sub,
  .hero-note-pill, .hero-ios, .plans-try-row, .plans-try-lead,
  .mpg-nav, .mpg-arrow, #app-gate, .final { display: none !important; }

  /* ヘッダー = ロゴのみ静置 */
  .lp-header { position: static !important; background: #fff !important;
    backdrop-filter: none !important; padding: 0 0 10px !important;
    border-bottom: 1.5px solid var(--lp-primary) !important; }

  /* ヒーロー: 背景写真・暗幕を捨て、白地に濃色テキスト */
  .hero { min-height: 0 !important; height: auto !important; display: block !important;
    padding: 16px 0 4px !important; background: #fff !important; }
  .hero-bg, .hero::before { display: none !important; }
  .hero-content { padding: 0 !important; }
  .hero-eyebrow { color: var(--lp-primary) !important; }
  .hero-title, .hero-punch, .hero-tagline, .hero-tagline .brand { color: var(--lp-ink) !important; }
  .hero-sub { color: var(--lp-ink-mid) !important; }
  .hero-title { font-size: 25px !important; }

  /* セクション圧縮 */
  .sec, .founder-banner { padding-top: 12px !important; padding-bottom: 12px !important; }
  .sec-title { font-size: 18px !important; }
  .lp-divider { display: none !important; }

  /* 端末スクショギャラリー: 横スクロール → 折返し一覧 (全カードを刷る) */
  #demo-gallery .mpg-scrollwrap::before,
  #demo-gallery .mpg-scrollwrap::after { display: none !important; }
  #demo-gallery .mpg-track { flex-wrap: wrap !important; overflow: visible !important;
    justify-content: center !important; gap: 10px !important; padding: 4px 0 !important; }
  #demo-gallery .mpg-card { width: 112px !important; break-inside: avoid; }
  #demo-gallery .mpg-phone { width: 112px !important; border-radius: 10px !important; }
  #demo-gallery .mpg-title { font-size: 10px !important; }
  #demo-gallery .mpg-sub { font-size: 9px !important; }
  /* カード1の演出ステージ (メニュー紙+端末重ね) は紙面では端末のみに畳む */
  #demo-gallery .mpg-stage { width: 112px !important; aspect-ratio: auto !important; }
  #demo-gallery .mpg-bg { display: none !important; }

  /* 料金グリッド: 背景色の目地がカード改ページ回避時にベージュの空白として刷られるのを防ぐ */
  .plan-grid { background: none !important; gap: 8px !important; }
  .plan-card { border: 1px solid var(--lp-line) !important; border-radius: 10px !important; }

  /* カード類は途中で改ページしない・見出し直後で切らない */
  .plan-card, .feat, .voice, .fb-wrap { break-inside: avoid; }
  h1, h2, h3, .sec-title, .eyebrow { break-after: avoid; }

  /* バッジ/スクショの色は印刷でも保持 */
  img, .pc-badge, .pc-sale-tag { print-color-adjust: exact; -webkit-print-color-adjust: exact; }

  .lp-footer { padding: 10px 0 !important; }
}

/* 2026-07-14 Apple公式App Storeバッジ(hero/pricing)。改変禁止SVGを素で表示、pillにしない。 */
.hero-ios-badge{display:inline-flex;align-items:center;line-height:0;transition:opacity .15s;}
.hero-ios-badge:hover{opacity:.85;}
.final-ctas{display:flex;align-items:center;justify-content:center;gap:14px;flex-wrap:wrap;}

.hero-ios-badge img{display:block;height:44px;width:auto;}
.ios-badge-cta{display:inline-flex;align-items:center;line-height:0;transition:opacity .15s;}
.ios-badge-cta:hover{opacity:.85;}
.ios-badge-cta img{display:block;height:44px;width:auto;}
