/* hemera-legal: トップ（/）の LP 専用。法務ページの style.css とは別（仕様書 §11・見た目の正本は hemera/docs/design/lp-mock-a1-features.html）。
   外部リソースは読み込まない（書体は assets/fonts の同梱ファイル。LP の日英 2 ページに出る文字＋Basic Latin だけのサブセット woff2。
   文言を変えたら作り直す＝hemera の tool/lp_fonts.py）。 */
@font-face {
  font-family: "Shippori Mincho";
  src: url("/assets/fonts/ShipporiMincho-Medium.subset.woff2") format("woff2");
  font-weight: 500 600; /* SemiBold は同梱が無いので Medium で受ける（太字の合成をさせない） */
  font-display: swap;
}
@font-face {
  font-family: "Cormorant Garamond";
  src: url("/assets/fonts/CormorantGaramond-VariableWght.subset.woff2") format("woff2");
  font-weight: 300 700;
  font-display: swap;
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("/assets/fonts/ZenKakuGothicNew-Regular.subset.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}
@font-face {
  font-family: "Zen Kaku Gothic New";
  src: url("/assets/fonts/ZenKakuGothicNew-Medium.subset.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}

:root {
  color-scheme: light;
  --night-in: #232c66; --night-out: #141a3a;
  --gold: #e6c97a; --gold2: #d9bc72; --gold-ink: #7d5f1a;
  --white: #ffffff; --paper: #f7f8fa;
  --ink: #1f2437; --ink2: #4b5266; --line: #e3e5ea;
  --serif-ja: "Shippori Mincho", serif; --serif-en: "Cormorant Garamond", serif;
  --sans: "Zen Kaku Gothic New", sans-serif;
}
/* 英語 LP（/en）: 見出しは Cormorant Garamond、本文はシステムのサンセリフ。日本語の書体は参照しない（＝読み込まれない） */
html[lang="en"] {
  --serif-ja: "Cormorant Garamond", serif;
  --sans: -apple-system, "Helvetica Neue", Arial, sans-serif;
}
* { box-sizing: border-box; }
html, body { margin: 0; background: var(--white); color: var(--ink); font-family: var(--sans); font-size: 16px; line-height: 1.9; }
body { overflow-x: hidden; }
a { color: inherit; }
img, video { display: block; max-width: 100%; }
.wrap { max-width: 1080px; margin: 0 auto; padding: 0 24px; }

/* ---- ヒーロー ---- */
.hero { background: radial-gradient(ellipse at 50% 30%, var(--night-in), var(--night-out) 75%); color: #f3ecd9; position: relative; overflow: hidden; }
.hero .wrap { position: relative; display: grid; grid-template-columns: 1.1fr .9fr; gap: 48px; align-items: center; min-height: 640px; padding-top: 64px; padding-bottom: 64px; }
.brand { font-family: var(--serif-en); font-weight: 600; letter-spacing: .4em; font-size: 15px; color: var(--gold); margin: 0 0 20px; }
.icon { width: 64px; height: 64px; border-radius: 14px; border: 1px solid rgba(230, 201, 122, .5); overflow: hidden; margin-bottom: 22px; }
.icon img { width: 100%; height: 100%; }
.hero h1 { font-family: var(--serif-ja); font-weight: 600; font-size: 40px; line-height: 1.35; margin: 0 0 16px; letter-spacing: .04em; }
.hero h1 { word-break: keep-all; overflow-wrap: anywhere; } /* スマホ幅で「カレン／ダー」と切れないように（折り返しは「Hemera:」の後） */
.rule { width: 64px; height: 1px; background: var(--gold); margin: 18px 0 20px; }
.hero .sub { font-family: var(--serif-ja); font-size: 20px; color: #c9c3b1; margin: 0 0 30px; letter-spacing: .06em; }
/* App Store バッジ: Apple のガイドライン（画面上の高さ 40px 以上・周りの余白はバッジの高さの 1/4 以上） */
.badge { display: inline-block; margin: 0 0 12px; }
.badge img { height: 48px; width: auto; }
.phone { justify-self: center; width: 300px; aspect-ratio: 828 / 1792; background: #1c1c1e; border-radius: 44px; padding: 12px; box-shadow: 0 30px 70px rgba(0, 0, 0, .55); box-sizing: content-box; }
.phone video { width: 100%; height: 100%; border-radius: 34px; object-fit: cover; background: var(--night-out); }
.stars { position: absolute; inset: 0; pointer-events: none; background-image: radial-gradient(1px 1px at 12% 22%, #fff8, transparent), radial-gradient(1px 1px at 33% 61%, #fff6, transparent), radial-gradient(1.5px 1.5px at 71% 18%, #fff9, transparent), radial-gradient(1px 1px at 84% 74%, #fff6, transparent), radial-gradient(1px 1px at 52% 84%, #fff5, transparent), radial-gradient(1px 1px at 91% 40%, #fff7, transparent), radial-gradient(1px 1px at 22% 88%, #fff5, transparent); }

/* 言語の切り替え（ヒーロー右上。日英の相互リンクだけ） */
.langnav { position: absolute; top: 18px; right: 0; left: 0; max-width: 1080px; margin: 0 auto; padding: 0 24px; text-align: right; font-size: 14px; z-index: 1; }
.langnav a { color: #c9c3b1; text-decoration: none; border-bottom: 1px solid rgba(201, 195, 177, .4); }

/* ---- スクショ 7 枚 ---- */
.shots { padding: 72px 0 56px; background: var(--white); }
.shots h2, .price h2 { font-family: var(--serif-ja); font-weight: 600; font-size: 28px; letter-spacing: .06em; margin: 0 0 40px; text-align: center; }
.shots h2 { margin-bottom: 8px; }
.lead { text-align: center; color: var(--ink2); margin: 0 0 40px; }
.shot-row { display: flex; gap: 16px; overflow-x: auto; padding: 8px 4px 20px; scroll-snap-type: x mandatory; }
.shot { flex: 0 0 190px; aspect-ratio: 1242 / 2688; border-radius: 22px; background: #1c1c1e; padding: 7px; scroll-snap-align: start; box-sizing: content-box; }
.shot img { width: 100%; height: 100%; border-radius: 17px; object-fit: cover; }

/* ---- About ---- */
.about { padding: 56px 0 8px; background: var(--white); border-top: 1px solid var(--line); }
.about h2 { font-family: var(--serif-ja); font-weight: 600; font-size: 28px; letter-spacing: .06em; margin: 0 0 20px; text-align: center; }
.about p { max-width: 720px; margin: 0 auto; color: var(--ink2); }

/* ---- 機能の節 ---- */
.features { padding: 8px 0 72px; background: var(--white); }
.grid { display: grid; grid-template-columns: 1fr 1fr; gap: 44px 56px; margin-top: 44px; }
.f h3 { font-family: var(--serif-ja); font-weight: 600; font-size: 22px; letter-spacing: .05em; margin: 0 0 6px; color: var(--ink); }
.f .frule { width: 32px; height: 1px; background: var(--gold2); margin: 0 0 14px; }
.f p { margin: 0 0 6px; color: var(--ink2); }
.f p.small { font-size: 14px; color: #6d7386; }

/* ---- 価格 ---- */
.price { background: var(--paper); padding: 64px 0; border-top: 1px solid var(--line); }
.price h2 { margin-bottom: 8px; }
.price-card { max-width: 640px; margin: 28px auto 0; background: var(--white); border: 1px solid var(--line); border-radius: 16px; padding: 32px 36px; text-align: center; }
.price-card .num { font-family: var(--serif-en); font-size: 44px; font-weight: 600; color: var(--gold-ink); margin: 0; line-height: 1.1; }
.price-card .num span { font-family: var(--serif-ja); font-size: 22px; margin-left: 4px; }
.price-card p { margin: 14px 0 0; color: var(--ink2); }

/* ---- フッター ---- */
footer { background: radial-gradient(ellipse at 50% 100%, var(--night-in), var(--night-out) 75%); color: #c9c3b1; padding: 56px 0 40px; font-size: 14px; }
footer .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 24px; align-items: flex-start; }
footer .fbrand { font-family: var(--serif-en); letter-spacing: .4em; color: var(--gold); font-weight: 600; margin: 0 0 8px; }
footer nav { display: flex; flex-wrap: wrap; gap: 8px 22px; }
footer nav a { text-decoration: none; color: #c9c3b1; border-bottom: 1px solid rgba(201, 195, 177, .4); }
footer .contact { color: #8d89a8; }
footer .contact a { color: inherit; text-decoration: none; }

@media (max-width: 820px) {
  .hero .wrap { grid-template-columns: 1fr; text-align: center; min-height: 0; padding-top: 56px; }
  .icon, .rule { margin-left: auto; margin-right: auto; }
  .hero h1 { font-size: 32px; }
  .phone { width: 240px; margin-top: 8px; }
  .grid { grid-template-columns: 1fr; gap: 36px; }
  .shots h2, .price h2, .about h2 { font-size: 24px; }
}
