/* ============================================
   VENEX × ReHacQ Business Rest LP
   ----------------------------------------------
   prototypes/rehacq-business-rest/lp05.html を W2 移植。
   すべて .p-rehacq-rest スコープ配下に閉じる。
   ============================================ */

/* ============================================
   Reset (scoped)
   ============================================ */
.p-rehacq-rest,
.p-rehacq-rest *,
.p-rehacq-rest *::before,
.p-rehacq-rest *::after { box-sizing: border-box; }

.p-rehacq-rest h1,
.p-rehacq-rest h2,
.p-rehacq-rest h3,
.p-rehacq-rest h4,
.p-rehacq-rest h5,
.p-rehacq-rest h6,
.p-rehacq-rest p,
.p-rehacq-rest figure,
.p-rehacq-rest blockquote,
.p-rehacq-rest dl,
.p-rehacq-rest dd { margin: 0; }

.p-rehacq-rest ul,
.p-rehacq-rest ol { margin: 0; padding: 0; list-style: none; }

.p-rehacq-rest img,
.p-rehacq-rest picture,
.p-rehacq-rest svg,
.p-rehacq-rest video { display: block; max-width: 100%; height: auto; }

.p-rehacq-rest button {
  background: none;
  border: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
  color: inherit;
}

.p-rehacq-rest a {
  color: inherit;
  text-decoration: none;
  transition: opacity var(--rh-dur, 320ms) var(--rh-ease, cubic-bezier(0.22, 0.61, 0.36, 1));
}
.p-rehacq-rest a:hover { opacity: 0.85; }

@media (prefers-reduced-motion: reduce) {
  .p-rehacq-rest,
  .p-rehacq-rest *,
  .p-rehacq-rest *::before,
  .p-rehacq-rest *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ============================================
   Tokens (scoped via .p-rehacq-rest)
   ============================================ */
.p-rehacq-rest {
  /* ブランドカラー */
  --rh-ink:        #0b1018;
  --rh-ink-2:      #141b27;
  --rh-paper:      #f7f5f0;
  --rh-paper-2:    #ece7da;
  --brand-gold:    #c8a86b;
  --brand-gold-2:  #b08a4a;

  /* グレースケール（注記の最低コントラスト用） */
  --rh-gray-200: #e5e7eb;
  --rh-gray-600: #4b5563;
  --rh-gray-700: #374151;

  /* タイポ */
  --rh-font-jp-serif: "Noto Serif JP", "Hiragino Mincho ProN", "Yu Mincho", "YuMincho", "MS PMincho", serif;
  --rh-font-jp-sans:  "Noto Sans JP", -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN",
                      "Hiragino Sans", "Yu Gothic Medium", Meiryo, sans-serif;
  --rh-font-en-serif: "Cormorant Garamond", "Noto Serif JP", "Hiragino Mincho ProN", serif;

  /* レイアウト */
  --rh-container-max: 1000px;
  --rh-radius-sm: 4px;
  --rh-radius:    8px;
  --rh-radius-lg: 16px;
  --rh-radius-full: 9999px;

  /* タイミング */
  --rh-ease: cubic-bezier(0.22, 0.61, 0.36, 1);
  --rh-dur:  320ms;
}

/* ============================================
   Base
   ============================================ */
.p-rehacq-rest {
  font-family: var(--rh-font-jp-sans);
  background: var(--rh-ink);
  color: #d6d2c8;
  line-height: 1.85;
  font-feature-settings: "palt";
  letter-spacing: 0.02em;
}
.p-rehacq-rest ::selection {
  background: var(--brand-gold);
  color: var(--rh-ink);
}

.p-rehacq-rest .container {
  width: 100%;
  max-width: var(--rh-container-max);
  margin-inline: auto;
  padding-inline: 24px;
}
.p-rehacq-rest .section {
  padding-block: 96px;
}
@media (max-width: 768px) {
  .p-rehacq-rest .section { padding-block: 64px; }
}

.p-rehacq-rest h1,
.p-rehacq-rest h2,
.p-rehacq-rest h3 {
  font-family: var(--rh-font-jp-serif);
  color: #f1ece0;
  letter-spacing: 0.04em;
  line-height: 1.5;
  font-weight: 700;
}

.p-rehacq-rest .eyebrow {
  display: inline-block;
  font-family: var(--rh-font-en-serif);
  font-style: italic;
  text-transform: none;
  letter-spacing: 0.18em;
  color: var(--brand-gold);
  font-size: 14px;
  margin-bottom: 16px;
}

/* ============================================
   Scroll-in animation (fade-in)
   ----------------------------------------------
   フェイルセーフ設計:
     - JS が動かない場合に備え、デフォルト時は表示状態
     - main.js が IntersectionObserver 未対応 / DOMContentLoaded 時に
       全要素へ .is-in を付与するフォールバックを持つ
     - prefers-reduced-motion で transition は 0.01ms 化
   ============================================ */
.p-rehacq-rest .fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 600ms var(--rh-ease), transform 600ms var(--rh-ease);
}
.p-rehacq-rest .fade-in.is-in {
  opacity: 1;
  transform: translateY(0);
}
.p-rehacq-rest .fade-in.delay-1 { transition-delay: 100ms; }
.p-rehacq-rest .fade-in.delay-2 { transition-delay: 200ms; }
.p-rehacq-rest .fade-in.delay-3 { transition-delay: 300ms; }
.p-rehacq-rest .fade-in.delay-4 { transition-delay: 400ms; }

/* ============================================
   Video embed (YouTube サムネ → iframe 差し替え)
   ============================================ */
.p-rehacq-rest .video-embed {
  position: relative;
}
.p-rehacq-rest .video-embed__btn {
  position: relative;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  border-radius: var(--rh-radius);
  background: #000;
  cursor: pointer;
  padding: 0;
}
.p-rehacq-rest .video-embed__thumb {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 600ms var(--rh-ease), opacity 300ms var(--rh-ease);
}
.p-rehacq-rest .video-embed__btn:hover .video-embed__thumb {
  transform: scale(1.03);
  opacity: 0.85;
}
.p-rehacq-rest .video-embed__play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform var(--rh-dur) var(--rh-ease), background var(--rh-dur) var(--rh-ease);
}
.p-rehacq-rest .video-embed__play::after {
  content: "";
  width: 0;
  height: 0;
  border-left: 22px solid #1a1a1a;
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
  margin-left: 6px;
}
.p-rehacq-rest .video-embed__btn:hover .video-embed__play {
  transform: translate(-50%, -50%) scale(1.06);
  background: #fff;
}
.p-rehacq-rest .video-embed__caption {
  margin-top: 12px;
  font-size: 13px;
  line-height: 1.7;
  color: #8a8474;
  text-align: center;
}
.p-rehacq-rest .video-embed.is-playing .video-embed__btn,
.p-rehacq-rest .video-embed.is-playing .video-embed__play,
.p-rehacq-rest .video-embed.is-playing .video-embed__thumb {
  display: none;
}
.p-rehacq-rest .video-embed.is-playing iframe {
  width: 100%;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: var(--rh-radius);
}

/* ============================================
   LP05-Header (LP 固有 sticky 帯)
   ============================================ */
.p-rehacq-rest .lp05-header {
  position: sticky;
  top: 0;
  z-index: 80;
  background: rgba(11, 16, 24, 0.84);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(200, 168, 107, 0.18);
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.p-rehacq-rest .lp05-header__brand {
  font-family: var(--rh-font-en-serif);
  font-style: italic;
  font-size: 18px;
  letter-spacing: 0.16em;
  color: var(--brand-gold);
}
.p-rehacq-rest .lp05-header__meta {
  font-size: 11px;
  letter-spacing: 0.2em;
  color: #9a9484;
  text-transform: uppercase;
}

/* ============================================
   HERO
   ============================================ */
.p-rehacq-rest .lp05-hero {
  position: relative;
  min-height: 88vh;
  padding: 120px 24px 80px;
  display: flex;
  align-items: center;
  background:
    linear-gradient(180deg, rgba(11, 16, 24, 0.5), rgba(11, 16, 24, 0.9) 80%, var(--rh-ink)),
    radial-gradient(circle at 70% 30%, rgba(200, 168, 107, 0.22), transparent 60%),
    linear-gradient(135deg, #060912, #1a2f50);
  overflow: hidden;
}
.p-rehacq-rest .lp05-hero__bg { position: absolute; inset: 0; z-index: 0; }
.p-rehacq-rest .lp05-hero__bg img {
  width: 100%; height: 100%;
  object-fit: cover; opacity: 0.18;
}
.p-rehacq-rest .lp05-hero__inner {
  position: relative; z-index: 1;
  max-width: 900px; margin: 0 auto;
}
.p-rehacq-rest .lp05-hero__title {
  font-family: var(--rh-font-jp-serif);
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.4;
  color: #fbf6e8;
  margin-bottom: 28px;
}
.p-rehacq-rest .lp05-hero__title em {
  font-style: normal;
  color: var(--brand-gold);
}
.p-rehacq-rest .lp05-hero__sub {
  font-size: clamp(15px, 1.6vw, 17px);
  line-height: 2.0;
  color: rgba(241, 236, 224, 0.86);
  margin-bottom: 36px;
  max-width: 48ch;
}
.p-rehacq-rest .lp05-hero__ctas {
  display: flex; flex-wrap: wrap; gap: 14px;
}

/* ============================================
   Buttons (LP05 共通)
   ============================================ */
.p-rehacq-rest .lp05-btn {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 32px;
  border: 1px solid var(--brand-gold);
  background: transparent;
  color: var(--brand-gold);
  font-size: 14px; font-weight: 700; letter-spacing: 0.1em;
  border-radius: 2px;
  text-decoration: none;
  transition: background var(--rh-dur) var(--rh-ease), color var(--rh-dur) var(--rh-ease);
}
.p-rehacq-rest .lp05-btn:link,
.p-rehacq-rest .lp05-btn:visited {
  color: var(--brand-gold);
}
.p-rehacq-rest .lp05-btn::after { content: "→"; }
.p-rehacq-rest .lp05-btn:hover {
  background: var(--brand-gold); color: var(--rh-ink);
  opacity: 1;
}
.p-rehacq-rest .lp05-btn--filled {
  background: var(--brand-gold);
  color: var(--rh-ink);
}
.p-rehacq-rest .lp05-btn--filled:link,
.p-rehacq-rest .lp05-btn--filled:visited {
  color: var(--rh-ink);
}
.p-rehacq-rest .lp05-btn--filled:hover { background: #d4b774; }

/* ============================================
   Concept (compact)
   ============================================ */
.p-rehacq-rest .lp05-concept {
  background: var(--rh-ink);
  border-top: 1px solid rgba(200, 168, 107, 0.12);
  text-align: center;
}
.p-rehacq-rest .lp05-concept__lead {
  font-family: var(--rh-font-jp-serif);
  font-size: clamp(22px, 3vw, 30px);
  line-height: 1.85;
  color: #f1ece0;
  max-width: 24ch;
  margin: 0 auto 32px;
}
.p-rehacq-rest .lp05-concept__lead em {
  font-style: normal;
  color: var(--brand-gold);
}
.p-rehacq-rest .lp05-concept__body {
  max-width: 56ch; margin: 0 auto;
  font-size: 15px; color: #c8c2b4;
  line-height: 2.0;
}

/* ============================================
   Video (compact, smaller)
   ============================================ */
.p-rehacq-rest .lp05-video {
  background: #08101e;
}
.p-rehacq-rest .lp05-video__inner {
  max-width: 800px; margin: 0 auto;
  padding-inline: 24px;
  text-align: center;
}
.p-rehacq-rest .lp05-video__head {
  margin-bottom: 32px;
}
.p-rehacq-rest .lp05-video__title {
  font-size: clamp(22px, 2.8vw, 28px);
  color: #f1ece0;
}
.p-rehacq-rest .lp05-video__sub {
  margin-top: 8px;
  font-size: 13px; color: #8a8474;
}

/* ============================================
   Product (single hero card)
   ============================================ */
.p-rehacq-rest .lp05-product {
  background:
    linear-gradient(180deg, #08101e, var(--rh-ink) 100%);
}
.p-rehacq-rest .lp05-product__card {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 48px;
  align-items: center;
  padding: 48px;
  border: 1px solid rgba(200, 168, 107, 0.2);
  background: rgba(255, 255, 255, 0.02);
}
@media (max-width: 820px) {
  .p-rehacq-rest .lp05-product__card {
    grid-template-columns: 1fr;
    gap: 28px; padding: 28px;
  }
}
.p-rehacq-rest .lp05-product__img {
  width: 100%; aspect-ratio: 4/5;
  object-fit: cover; background: #1a1a1a;
}
.p-rehacq-rest .lp05-product__name {
  font-family: var(--rh-font-jp-serif);
  font-size: clamp(24px, 3vw, 30px);
  color: #f1ece0;
  margin-bottom: 12px;
}
.p-rehacq-rest .lp05-product__lead {
  font-size: 14.5px; color: #c8c2b4;
  line-height: 2.0; margin-bottom: 24px;
}
.p-rehacq-rest .lp05-product__features {
  display: flex; flex-direction: column; gap: 8px;
  padding: 16px 0; margin-bottom: 24px;
  border-top: 1px solid rgba(200, 168, 107, 0.15);
  border-bottom: 1px solid rgba(200, 168, 107, 0.15);
}
.p-rehacq-rest .lp05-product__features li {
  font-size: 13.5px; color: #c8c2b4;
  padding-left: 1.4em; position: relative;
}
.p-rehacq-rest .lp05-product__features li::before {
  content: "—"; position: absolute; left: 0;
  color: var(--brand-gold);
}
.p-rehacq-rest .lp05-product__ctas {
  display: flex; gap: 10px; flex-wrap: wrap;
}

/* ============================================
   CTA Final + Disclaimer
   ============================================ */
.p-rehacq-rest .lp05-final {
  background:
    radial-gradient(circle at 50% 0%, rgba(200, 168, 107, 0.16), transparent 60%),
    var(--rh-ink);
  text-align: center;
  border-top: 1px solid rgba(200, 168, 107, 0.18);
}
.p-rehacq-rest .lp05-final__title {
  font-family: var(--rh-font-jp-serif);
  font-size: clamp(26px, 4vw, 38px);
  color: #f1ece0;
  margin-bottom: 20px;
}
.p-rehacq-rest .lp05-final__title em {
  font-style: normal; color: var(--brand-gold);
}
.p-rehacq-rest .lp05-final__lead {
  font-size: 14px; color: #c8c2b4;
  margin-bottom: 36px;
}
.p-rehacq-rest .lp05-final__cta { margin-bottom: 48px; }
.p-rehacq-rest .lp05-disclaimer {
  max-width: 760px; margin: 0 auto;
  text-align: left;
  font-size: 13px; line-height: 1.9; color: #9a9484;
  padding-top: 28px;
  border-top: 1px solid rgba(200, 168, 107, 0.12);
}
.p-rehacq-rest .lp05-disclaimer ul { display: flex; flex-direction: column; gap: 6px; }
.p-rehacq-rest .lp05-disclaimer li {
  padding-left: 1.6em; position: relative;
}
.p-rehacq-rest .lp05-disclaimer li::before {
  content: "※"; position: absolute; left: 0; color: var(--brand-gold);
}

/* ============================================
   Floating CTA
   ============================================ */
.p-rehacq-rest .floating-cta {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 100;
  padding: 12px 16px;
  background: rgba(11, 16, 24, 0.96);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border-top: 1px solid var(--brand-gold);
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.3);
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateY(110%);
  transition: transform 400ms var(--rh-ease);
}
.p-rehacq-rest .floating-cta.is-visible {
  transform: translateY(0);
}
.p-rehacq-rest .floating-cta__text {
  flex: 1;
  font-size: 12px;
  line-height: 1.4;
  color: #c8c2b4;
}
.p-rehacq-rest .floating-cta__text strong {
  display: block;
  font-size: 14px;
  color: var(--brand-gold);
  font-weight: 700;
}
.p-rehacq-rest .floating-cta .lp05-btn--filled {
  padding: 12px 22px;
  font-size: 12px;
}
@media (max-width: 768px) {
  .p-rehacq-rest .floating-cta__text { font-size: 11px; }
  .p-rehacq-rest .floating-cta__text strong { font-size: 13px; }
  .p-rehacq-rest .floating-cta .lp05-btn--filled {
    padding: 10px 16px;
    font-size: 12px;
  }
}
