/* =====================
   ROOT & RESET
===================== */
:root {
  --gold:        #D4AF37;
  --gold-dim:    rgba(212,175,55,0.15);
  --gold-border: rgba(212,175,55,0.30);
  --text:        #e8e8e8;
  --text-muted:  #d0d0d0;
  --bg:          #050505;
  --card:        rgba(255,255,255,0.04);
  --card-border: rgba(255,255,255,0.09);
  --hh:          72px;
  --r:           14px;
  --font-en:     'Syncopate', sans-serif;
  --font-jp:     'Noto Sans JP', sans-serif;
  --font-mono:   'Space Mono', monospace;
  --ease-out:    cubic-bezier(0.16,1,0.3,1);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 17px; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-jp);
  line-height: 1.75;
  overflow-x: hidden;
  width: 100%;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
button { cursor: pointer; border: none; background: none; }

/* =====================
   BACKGROUND
===================== */
.bg-layer { position: fixed; inset: 0; z-index: 0; pointer-events: none; }
.bg-city {
  position: absolute; inset: 0;
  background: url('../images/bg-city.jpg') center/cover no-repeat;
  opacity: 0.42; /* 0.30 → 0.42 重厚感UP */
}
.bg-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(160deg,rgba(5,5,5,.70) 0%,rgba(5,5,5,.52) 50%,rgba(5,5,5,.85) 100%);
}
.bg-dust {
  position: absolute; inset: 0;
  background: url('../images/bg-dust.jpg') center/cover no-repeat;
  mix-blend-mode: screen; opacity: .08;
}
.bg-light-anim {
  position: absolute; inset: -20%;
  background: url('../images/bg-light.png') center/cover no-repeat;
  mix-blend-mode: color-dodge; opacity: .18;
  will-change: transform;
}
/* =====================
   HEADER
===================== */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 300; height: var(--hh);
  background: rgba(0,0,0,.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,.05);
}
.header-inner {
  display: flex; align-items: center;
  justify-content: space-between; height: 100%;
  max-width: 1200px; margin: 0 auto; padding: 0 28px;
}
.logo { display: flex; align-items: center; flex-shrink: 0; height: 100%; padding: 8px 0; }
.logo-img {
  display: block; height: 100%; max-height: 52px;
  width: auto; object-fit: contain; object-position: left center;
}

/* =====================
   PC NAV
===================== */
.pc-nav { display: flex; align-items: center; gap: 24px; }
.pc-nav a {
  font-family: var(--font-en); font-size: .68rem; letter-spacing: .12em;
  color: rgba(255,255,255,.7); transition: color .2s; white-space: nowrap;
}
.pc-nav a:hover { color: #fff; }
.nav-cta {
  padding: 10px 20px; background: var(--gold); color: #000 !important;
  font-weight: 700; border-radius: 50px; font-size: .68rem !important;
  transition: background .2s, transform .2s;
}
.nav-cta:hover { background: #e8c84a; transform: translateY(-1px); }

/* =====================
   HAMBURGER
===================== */
.hamburger {
  display: none; flex-direction: column; justify-content: center;
  gap: 6px; width: 44px; height: 44px; padding: 8px; flex-shrink: 0;
}
.hamburger span {
  display: block; width: 100%; height: 2px;
  background: #fff; border-radius: 2px;
  transition: transform .3s, opacity .3s;
}
.hamburger.active span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* =====================
   MOBILE MENU
===================== */
.mobile-menu {
  position: fixed; top: var(--hh); left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,.97); backdrop-filter: blur(20px);
  z-index: 299; display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity .3s;
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 32px; }
.mm-link {
  font-family: var(--font-en); font-size: 1rem; letter-spacing: .18em;
  color: rgba(255,255,255,.8); transition: color .2s;
}
.mm-link:hover { color: var(--gold); }
.mm-cta {
  margin-top: 8px; padding: 16px 48px;
  background: var(--gold); color: #000 !important;
  font-weight: 700; border-radius: 50px;
}


/* =====================
   FLOATING CTA（PC）
===================== */
.float-cta {
  position: fixed; bottom: 36px; left: 32px;
  z-index: 9999; width: 280px; border-radius: 20px;
  overflow: hidden; border: 1px solid rgba(212,175,55,.4);
  box-shadow: 0 12px 56px rgba(0,0,0,.75), inset 0 1px 0 rgba(255,255,255,.07);
  background: rgba(8,8,8,.95); backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  opacity: 0; pointer-events: none; transform: translateY(16px);
  transition: opacity .45s, transform .45s var(--ease-out);
}
.float-cta.visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.float-cta:hover { transform: translateY(-4px) !important; }
.float-cta-status {
  display: flex; align-items: center; gap: 10px; padding: 12px 20px;
  background: rgba(212,175,55,.07); border-bottom: 1px solid rgba(212,175,55,.14);
}
.float-pulse { position: relative; width: 10px; height: 10px; flex-shrink: 0; }
.float-pulse::before,
.float-pulse::after { content: ''; position: absolute; inset: 0; border-radius: 50%; }
.float-pulse::before { background: #2ecc71; z-index: 1; }
.float-pulse::after { background: rgba(46,204,113,.4); animation: pulse-ring 1.8s ease-out infinite; }
.float-status-text { font-family: var(--font-jp); font-size: .75rem; color: #2ecc71; font-weight: 600; }
.float-cta-body { padding: 18px 20px 14px; border-bottom: 1px solid rgba(255,255,255,.06); }
.float-cta-label {
  font-family: var(--font-en); font-size: .55rem; letter-spacing: .24em;
  color: var(--gold); display: block; margin-bottom: 8px;
}
.float-cta-title { font-family: var(--font-jp); font-size: 1.05rem; font-weight: 700; color: #fff; line-height: 1.55; }
.float-cta-title em { font-style: normal; color: var(--gold); }
.float-badges {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 8px; padding: 14px 20px;
  border-bottom: 1px solid rgba(255,255,255,.06);
}
.float-badge {
  display: flex; align-items: center; gap: 6px;
  font-family: var(--font-jp); font-size: .75rem; font-weight: 600;
  color: rgba(255,255,255,.85);
  background: rgba(46,204,113,.06);
  border: 1px solid rgba(46,204,113,.2);
  border-radius: 6px; padding: 6px 10px;
}
.float-badge svg { flex-shrink: 0; }
.float-cta-btns { display: flex; flex-direction: column; }
.float-btn-line {
  display: flex; align-items: center; justify-content: center; gap: 10px;
  padding: 16px 20px; background: #06c755; color: #fff;
  font-family: var(--font-jp); font-weight: 700; font-size: .95rem;
  text-decoration: none; border-bottom: 1px solid rgba(255,255,255,.07);
  transition: background .2s;
}
.float-btn-line:hover { background: #05b34c; }
.float-btn-line svg { flex-shrink: 0; }
.float-btn-scroll {
  display: flex; align-items: center; justify-content: center;
  padding: 13px 20px; background: transparent; color: var(--gold);
  font-family: var(--font-jp); font-size: .84rem; font-weight: 500;
  width: 100%; cursor: pointer; transition: background .2s; border: none;
}
.float-btn-scroll:hover { background: rgba(212,175,55,.09); }

@media (max-width: 768px) {
  .float-cta { display: none !important; }
}


/* =====================
   LAYOUT
===================== */
.container { max-width: 1100px; margin: 0 auto; padding: 0 28px; }
.section { padding: 100px 0; }
.section-head { text-align: center; margin-bottom: 56px; }
.section-label {
  display: block; font-family: var(--font-en);
  font-size: .65rem; letter-spacing: .3em; color: var(--gold); margin-bottom: 14px;
}
.section-title {
  font-family: var(--font-en); font-size: clamp(1.8rem,3.5vw,2.8rem);
  font-weight: 700; letter-spacing: .04em; line-height: 1.25; color: #fff;
}
.section-title span { color: var(--gold); }
.section-sub { margin-top: 14px; font-size: 1rem; color: var(--text-muted); }

/* =====================
   HERO
===================== */
.hero-section {
  padding-top: var(--hh);
  background: var(--bg);
  width: 100%;
  overflow: hidden;
  position: relative;
}

.hero-inner {
  display: flex;
  width: 100%;
  min-height: calc(100vh - var(--hh));
  align-items: stretch;
  position: relative;
}

/* PC：左65% 画像エリア */
.hero-visual {
  flex: 0 0 65%;
  width: 65%;
  position: relative;
  overflow: hidden;
  display: block; /* PCでは必ず表示 */
}

.hero-banner-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: left center;
  background: var(--bg);
  display: block;
}

.hero-visual-fade {
  position: absolute; top: 0; right: 0;
  width: 160px; height: 100%;
  background: linear-gradient(to right, transparent, var(--bg));
  pointer-events: none;
}

/* PC：右35% テキストエリア */
.hero-copy {
  flex: 0 0 35%;
  width: 35%;
  background: var(--bg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 20px;
  padding: 48px 44px 48px 32px;
  overflow-y: auto;
  position: relative;
  z-index: 2; /* 必ずテキストを前面に */
}

/* SP動画：PCでは完全非表示 */
.hero-sp-video {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  z-index: -999 !important;
}

.hero-sp-overlay {
  display: none !important;
  visibility: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
  position: absolute !important;
  z-index: -999 !important;
}

/* ─── eyebrow ─── */
.hero-eyebrow {
  font-family: var(--font-en);
  font-size: .62rem;
  letter-spacing: .28em;
  color: var(--gold);
}

/* ─── title ─── */
.hero-title {
  font-family: var(--font-en);
  font-size: clamp(1.8rem, 2.5vw, 3rem);
  font-weight: 700;
  line-height: 1.08;
  letter-spacing: .04em;
  color: #fff;
}
.hero-title span {
  color: var(--gold);
  text-shadow: 0 0 36px rgba(212,175,55,.55);
}

/* ─── マイクロコピー ─── */
.hero-social-proof {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 14px;
  padding: 10px 14px;
  background: rgba(212,175,55,.07);
  border: 1px solid rgba(212,175,55,.22);
  border-radius: 8px;
}
.hsp-item {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: .78rem;
  color: rgba(255,255,255,.75);
}
.hsp-item em {
  font-style: normal;
  color: var(--gold);
  font-weight: 700;
}
.hsp-divider {
  color: rgba(255,255,255,.2);
  font-size: .8rem;
}

/* ─── HERO TAGS ─── */
.hero-tags {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.htag {
  display: flex;
  flex-direction: column;
  gap: 5px;
  padding: 12px 14px;
  background: rgba(212,175,55,.08);
  border: 1px solid rgba(212,175,55,.28);
  border-radius: 10px;
  transition: background .25s, border-color .25s;
}
.htag:hover {
  background: rgba(212,175,55,.15);
  border-color: rgba(212,175,55,.5);
}
.htag-icon {
  display: flex;
  align-items: center;
  gap: 6px;
}
.htag-icon svg {
  flex-shrink: 0;
  color: var(--gold);
  width: 16px;
  height: 16px;
}
.htag-label {
  font-size: .62rem;
  font-weight: 500;
  color: rgba(255,255,255,.5);
}
.htag-value {
  font-family: var(--font-en);
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.htag-value em {
  font-style: normal;
  color: var(--gold);
  font-size: 1.2rem;
  text-shadow: 0 0 18px rgba(212,175,55,.5);
}

/* ─── HERO SUB ─── */
.hero-sub {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.hero-sub-main {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.75;
}
.hero-sub-main em {
  font-style: normal;
  color: var(--gold);
  font-size: 1.2rem;
  border-bottom: 1px solid rgba(212,175,55,.4);
  padding-bottom: 1px;
}
.hero-sub-note {
  font-size: .86rem;
  color: rgba(255,255,255,.5);
  line-height: 1.75;
  padding-left: 12px;
  border-left: 2px solid var(--gold-border);
}

/* ─── CTA ─── */
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: 100%;
  padding: 20px 24px;
  background: var(--gold);
  color: #000;
  font-family: var(--font-jp);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 12px;
  letter-spacing: .04em;
  box-shadow: 0 6px 32px rgba(212,175,55,.45);
  transition: background .2s, transform .2s, box-shadow .2s;
  text-decoration: none;
}
.cta-btn:hover {
  background: #e8c84a;
  transform: translateY(-2px);
  box-shadow: 0 10px 44px rgba(212,175,55,.6);
}
.cta-btn svg { flex-shrink: 0; }

/* =====================
   TABLET（769px〜1024px）のHERO
===================== */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-visual { flex: 0 0 58%; width: 58%; }
  .hero-copy   { flex: 0 0 42%; width: 42%; padding: 36px 28px 36px 20px; }
}

/* =====================
   MOBILE（〜768px）のHERO
===================== */
@media (max-width: 768px) {
  .hero-inner {
    position: relative;
    flex-direction: column;
    min-height: 100svh;
    min-height: 100vh;
  }

  /* PC画像エリアを完全非表示 */
  .hero-visual {
    display: none !important;
  }

  /* SP動画を表示 */
  .hero-sp-video {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    position: absolute !important;
    inset: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    z-index: 0 !important;
  }

  .hero-sp-overlay {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: none !important;
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    background: linear-gradient(
      to bottom,
      rgba(0,0,0,.25) 0%,
      rgba(0,0,0,.15) 40%,
      rgba(0,0,0,.65) 75%,
      rgba(5,5,5,.95) 100%
    ) !important;
  }

  /* テキストエリアをSPに最適化 */
  .hero-copy {
    position: relative !important;
    z-index: 2 !important;
    flex: none !important;
    width: 100% !important;
    background: transparent !important;
    padding: 0 20px 40px !important;
    gap: 16px !important;
    overflow-y: visible !important;
    margin-top: auto !important;
  }

  .htag {
    background: rgba(0,0,0,.45);
    border-color: rgba(212,175,55,.35);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .htag:hover { background: rgba(212,175,55,.2); }

  .hero-social-proof {
    background: rgba(0,0,0,.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
  }
  .hsp-divider { display: none; }

  .hero-sub-note {
    border-left-color: rgba(212,175,55,.5);
    background: rgba(0,0,0,.3);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 10px 12px;
    border-radius: 0 6px 6px 0;
  }

  .hero-title { font-size: clamp(1.7rem,8vw,2.4rem); }
  .hero-tags  { grid-template-columns: 1fr 1fr; gap: 7px; }
  .htag { padding: 10px; }
  .htag-label { font-size: .6rem; }
  .htag-value { font-size: .9rem; }
  .htag-value em { font-size: 1rem; }
  .hero-sub-main { font-size: .98rem; }
  .hero-sub-main em { font-size: 1.1rem; }
  .cta-btn { font-size: .95rem; padding: 17px 20px; border-radius: 10px; }
}


/* =====================
   HERO SP VIDEO
===================== */
.hero-sp-video { display: none; }
.hero-sp-overlay { display: none; }

/* =====================
   ABOUT
===================== */
.about-flow { display: flex; align-items: stretch; justify-content: center; }
.about-step {
  flex: 1; max-width: 300px;
  display: flex; flex-direction: column; align-items: center; text-align: center;
  gap: 16px; padding: 40px 24px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--r);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .3s, transform .25s, box-shadow .3s;
}
.about-step:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  background: rgba(255,255,255,0.18);
}
.step-num {
  font-family: var(--font-en); font-size: clamp(2.8rem,4.5vw,4.2rem);
  font-weight: 700; color: var(--gold); line-height: 1;
}
.step-icon-wrap {
  width: 64px; height: 64px;
  background: rgba(212,175,55,0.15);
  border: 1px solid var(--gold-border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
}
.about-step h3 { font-size: 1.1rem; font-weight: 700; color: #ffffff; }
.about-step p { font-size: .95rem; color: rgba(255,255,255,0.85); line-height: 1.8; }
.about-arrow {
  display: flex; align-items: center; justify-content: center;
  padding: 0 16px; align-self: center; flex-shrink: 0;
}


/* =====================
   BENEFITS
===================== */
.bento-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 14px; }
.bento-item {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--r); padding: 28px 22px;
  display: flex; flex-direction: column; gap: 12px;
  position: relative; overflow: hidden;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .3s, transform .25s, box-shadow .3s;
  --mx: 50%; --my: 50%;
}
.bento-item::before {
  display: none;
}
.bento-item:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  background: rgba(255,255,255,0.18);
}
.bento-icon {
  width: 48px; height: 48px;
  background: rgba(212,175,55,0.15);
  border: 1px solid var(--gold-border); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.bento-item h3 { font-size: 1rem; font-weight: 700; color: #ffffff; }
.bento-item p { font-size: .92rem; color: rgba(255,255,255,0.85); line-height: 1.75; }
.bento-dots { display: none; }

/* =====================
   CASES
===================== */
.cases-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; }
.receipt-card {
  background: rgba(10,10,10,.92); border: 1px solid rgba(255,255,255,.10);
  border-radius: var(--r); overflow: hidden;
  font-family: var(--font-mono); display: flex; flex-direction: column; gap: 0;
  box-shadow: 0 4px 40px rgba(0,0,0,.5); transition: transform .3s, box-shadow .3s;
}
.receipt-card:hover { transform: translateY(-4px); box-shadow: 0 12px 56px rgba(0,0,0,.7); }

/* 画像エリア */
.receipt-img-wrap {
  width: 100%;
  height: 220px;
  overflow: hidden;
  position: relative;
  flex-shrink: 0;
}
.receipt-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  transition: transform .4s ease;
}
.receipt-card:hover .receipt-img {
  transform: scale(1.05);
}

/* 画像の下にグラデーション */
.receipt-img-wrap::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to bottom, transparent, rgba(10,10,10,.92));
  pointer-events: none;
}

/* 情報エリア */
.receipt-card > *:not(.receipt-img-wrap) {
  padding-left: 24px;
  padding-right: 24px;
}
.receipt-top {
  display: flex; justify-content: space-between; align-items: center;
  padding-top: 20px; padding-bottom: 0;
}
.receipt-brand { font-size: .72rem; letter-spacing: .2em; color: var(--gold); }
.receipt-no { font-size: .72rem; color: #888; }
.receipt-divider {
  border-top: 1px dashed rgba(255,255,255,.15);
  margin: 12px 24px;
}
.receipt-row {
  display: flex; justify-content: space-between; align-items: baseline; gap: 10px;
  padding-top: 4px; padding-bottom: 4px;
}
.r-label { font-size: .72rem; color: #888; flex-shrink: 0; }
.r-val { font-size: .82rem; color: #e0e0e0; text-align: right; }
.r-price { font-size: 1.25rem; font-weight: 700; color: var(--gold); }
.receipt-bottom {
  display: flex; justify-content: space-between; align-items: center;
  padding-bottom: 20px; padding-top: 4px;
}
.r-date { font-size: .68rem; color: #666; }
.cash-stamp {
  font-family: var(--font-en); font-size: .68rem; letter-spacing: .2em;
  border: 1.5px solid var(--gold); color: var(--gold);
  padding: 3px 10px; border-radius: 4px;
}

/* SP スライダー */
@media (max-width: 768px) {
  .cases-section .container { padding-right: 0; }
  .cases-grid {
    display: flex !important; flex-wrap: nowrap !important;
    overflow-x: scroll; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; gap: 10px;
    padding: 4px 28px 12px 28px; grid-template-columns: unset;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .cases-grid::-webkit-scrollbar { display: none; }
  .receipt-card {
    flex: 0 0 80vw !important; min-width: 80vw !important;
    scroll-snap-align: start; transform: none !important;
  }
  .receipt-img-wrap { height: 140px; }
}


/* =====================
   FLOW
===================== */
.flow-list {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0;
}

.flow-card {
  display: flex;
  align-items: center;
  gap: 28px;
  padding: 32px 36px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--r);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .3s, transform .25s, box-shadow .3s;
}
.flow-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  background: rgba(255,255,255,0.18);
}

.flow-card-left {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
}

.flow-step-badge {
  font-family: var(--font-en);
  font-size: .6rem;
  letter-spacing: .2em;
  color: var(--bg);
  background: var(--gold);
  padding: 5px 12px;
  border-radius: 50px;
  white-space: nowrap;
  font-weight: 700;
}

.flow-icon-wrap {
  width: 72px;
  height: 72px;
  background: rgba(212,175,55,0.15);
  border: 1px solid var(--gold-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.flow-card-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.flow-card-body h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: #ffffff;
}
.flow-card-body p {
  font-size: .95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.85;
}

/* ステップ間の矢印 */
.flow-arrow-wrap {
  display: flex;
  justify-content: center;
  padding: 8px 0;
  opacity: 0.6;
}

/* =====================
   FLOW MOBILE
===================== */
@media (max-width: 768px) {
  .flow-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
    padding: 24px 20px;
  }
  .flow-card-left {
    flex-direction: row;
    align-items: center;
    gap: 14px;
  }
  .flow-icon-wrap {
    width: 56px;
    height: 56px;
  }
  .flow-card-body h3 { font-size: 1.05rem; }
  .flow-card-body p  { font-size: .88rem; }
}


/* =====================
   FAQ
===================== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 12px;
  border-radius: var(--r);
  overflow: hidden;
  border: 1px solid rgba(255,255,255,0.15);
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .3s, box-shadow .3s;
}
.faq-item:hover {
  border-color: rgba(255,255,255,0.25);
}
.faq-item.open {
  border-color: var(--gold);
  box-shadow: 0 4px 24px rgba(212,175,55,.15);
}

.faq-q {
  width: 100%;
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px;
  padding: 22px 28px;
  font-size: 1rem; font-weight: 600;
  color: #ffffff;
  text-align: left;
  transition: background .2s;
  background: transparent;
}
.faq-q:hover {
  background: rgba(255,255,255,0.05);
}
.faq-item.open .faq-q {
  background: rgba(212,175,55,0.08);
  color: #ffffff;
  border-bottom: 1px solid rgba(212,175,55,0.2);
}
.faq-q span { flex: 1; line-height: 1.6; }
.faq-arrow {
  flex-shrink: 0;
  transition: transform .3s var(--ease-out);
  color: var(--gold);
}
.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .4s var(--ease-out);
}
.faq-item.open .faq-a { max-height: 400px; }

.faq-a p {
  padding: 20px 28px 24px;
  font-size: .95rem;
  color: rgba(255,255,255,0.85);
  line-height: 1.9;
  border-left: 3px solid var(--gold);
  margin: 0 28px 20px;
  background: rgba(212,175,55,0.04);
  border-radius: 0 6px 6px 0;
}

/* SP */
@media (max-width: 768px) {
  .faq-q { padding: 18px 20px; font-size: .95rem; }
  .faq-a p { margin: 0 16px 16px; padding: 16px 20px; font-size: .88rem; }
}



/* =====================
   REVIEWS
===================== */
.reviews-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: 20px; }
.review-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--r); padding: 28px 24px;
  display: flex; flex-direction: column; gap: 16px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: border-color .3s, transform .25s, box-shadow .3s;
}
.review-card:hover {
  border-color: var(--gold);
  transform: translateY(-3px);
  box-shadow: 0 8px 32px rgba(0,0,0,.4);
  background: rgba(255,255,255,0.18);
}
.review-header { display: flex; align-items: center; gap: 14px; }

/* イニシャルアバター */
.review-avatar-icon {
  width: 52px; height: 52px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-en); font-size: 1.2rem; font-weight: 700;
  color: #000; flex-shrink: 0;
  border: 2px solid transparent;
}
.review-avatar-icon[data-color="1"],
.review-avatar-icon:not([data-color]) {
  background: linear-gradient(135deg, #D4AF37, #f0d060);
  border-color: rgba(212,175,55,.6);
}
.review-avatar-icon[data-color="2"] {
  background: linear-gradient(135deg, #3498db, #5dade2);
  border-color: rgba(52,152,219,.6); color: #fff;
}
.review-avatar-icon[data-color="3"] {
  background: linear-gradient(135deg, #2ecc71, #58d68d);
  border-color: rgba(46,204,113,.6);
}
.review-avatar-icon[data-color="4"] {
  background: linear-gradient(135deg, #e74c3c, #f1948a);
  border-color: rgba(231,76,60,.6); color: #fff;
}

.review-meta { display: flex; flex-direction: column; gap: 3px; flex: 1; }
.review-name { font-size: 1rem; font-weight: 700; color: #ffffff; }
.review-attr { font-size: .8rem; color: rgba(255,255,255,.5); }
.review-stars { display: flex; gap: 3px; }
.review-text { font-size: .95rem; color: rgba(255,255,255,.85); line-height: 1.85; }
.review-item {
  font-family: var(--font-mono); font-size: .72rem; color: var(--gold);
  padding: 5px 12px; background: rgba(212,175,55,.1);
  border: 1px solid var(--gold-border); border-radius: 50px; align-self: flex-start;
}

/* SP スライダー */
@media (max-width: 768px) {
  .reviews-section .container { padding-right: 0; }
  .reviews-grid {
    display: flex !important; flex-wrap: nowrap !important;
    overflow-x: scroll; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; gap: 10px;
    padding: 4px 28px 12px 28px; grid-template-columns: unset;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .review-card {
    flex: 0 0 84vw !important; min-width: 84vw !important;
    scroll-snap-align: start; transform: none !important;
  }
}


/* =====================
   CONTACT
===================== */
.contact-section { padding: 100px 0; position: relative; overflow: hidden; }
.contact-section::before {
  content: ''; position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%); width: 600px; height: 600px;
  background: radial-gradient(circle,rgba(212,175,55,.055) 0%,transparent 70%);
  pointer-events: none;
}
.contact-inner {
  display: flex; flex-direction: column;
  align-items: center; text-align: center; gap: 24px; position: relative;
}
.contact-title {
  font-family: var(--font-en); font-size: clamp(1.7rem,3.5vw,3rem);
  font-weight: 700; letter-spacing: .04em; color: #fff; line-height: 1.2;
}
.contact-sub { font-size: 1rem; color: #c0c0c0; line-height: 1.9; }
.contact-btns { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.btn-line {
  display: inline-flex; align-items: center; gap: 12px;
  padding: 18px 40px; background: #06c755; color: #fff;
  font-weight: 700; font-size: 1.05rem; border-radius: var(--r);
  box-shadow: 0 4px 28px rgba(6,199,85,.28); transition: background .2s, transform .2s;
  text-decoration: none;
}
.btn-line:hover { background: #05b34c; transform: translateY(-2px); }

/* フォームラッパー */
.contact-form-wrap {
  width: 100%; max-width: 640px; margin-top: 8px;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.20);
  border-radius: var(--r); padding: 40px 36px;
  text-align: left;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.form-label-head {
  font-size: 1.05rem; font-weight: 700; color: #fff;
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(212,175,55,0.25);
  display: flex; align-items: center; gap: 10px;
}
.form-label-head::before {
  content: '';
  display: block;
  width: 4px; height: 20px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.form-group label {
  font-size: .82rem; font-weight: 600;
  color: rgba(255,255,255,.7);
  letter-spacing: .04em;
}

/* 必須バッジ */
.form-group label.required::after {
  content: '必須';
  font-size: .65rem;
  background: var(--gold);
  color: #000;
  padding: 2px 6px;
  border-radius: 3px;
  margin-left: 8px;
  font-weight: 700;
  vertical-align: middle;
}

.form-group input,
.form-group textarea {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 8px; padding: 14px 16px; color: #fff;
  font-family: var(--font-jp); font-size: .95rem;
  outline: none; transition: border-color .2s, background .2s, box-shadow .2s;
  resize: vertical;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: rgba(255,255,255,.25); }
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  background: rgba(255,255,255,0.12);
  box-shadow: 0 0 0 3px rgba(212,175,55,.15);
}

.form-submit {
  display: inline-flex; align-items: center; gap: 10px;
  padding: 16px 40px; background: var(--gold); color: #000;
  font-family: var(--font-jp); font-weight: 700; font-size: 1rem;
  border-radius: 50px; cursor: pointer;
  box-shadow: 0 4px 24px rgba(212,175,55,.35);
  transition: background .2s, transform .2s, box-shadow .2s;
  margin-top: 8px; width: 100%; justify-content: center;
}
.form-submit:hover {
  background: #e8c84a; transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(212,175,55,.5);
}

/* SP */
@media (max-width: 768px) {
  .contact-title { font-size: clamp(1.4rem,6vw,2rem); }
  .contact-form-wrap { padding: 24px 18px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .btn-line { width: 100%; justify-content: center; }
}

/* =====================
   FOOTER
===================== */
.site-footer {
  border-top: 1px solid rgba(255,255,255,.05);
  padding: 48px 0 28px; background: rgba(0,0,0,.7);
}
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 18px; text-align: center; }
.footer-top { display: flex; flex-direction: column; align-items: center; gap: 18px; }
.footer-logo-img { height: 32px; width: auto; opacity: .7; }
.footer-nav { display: flex; gap: 28px; flex-wrap: wrap; justify-content: center; }
.footer-nav a { font-size: .8rem; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-nav a:hover { color: var(--gold); }
.footer-info p { font-size: .8rem; color: #555; line-height: 1.8; }
.footer-copy { font-size: .72rem; color: rgba(255,255,255,.18); margin-top: 4px; }

/* =====================
   TABLET（769px〜1024px）
===================== */
@media (max-width: 1024px) and (min-width: 769px) {
  .hero-visual { flex: 0 0 58%; width: 58%; }
  .hero-copy   { flex: 0 0 42%; width: 42%; padding: 36px 28px 36px 20px; }
  .bento-grid  { grid-template-columns: repeat(2,1fr); }
  .cases-grid  { grid-template-columns: repeat(2,1fr); }
}

/* =====================
   MOBILE（〜768px）
===================== */
@media (max-width: 768px) {
  :root { --hh: 60px; }
  html { font-size: 15px; }

  .float-cta { display: none !important; }

  .hamburger { display: flex; }
  .pc-nav    { display: none; }

  .hero-inner {
    position: relative; flex-direction: column;
    min-height: 100svh; min-height: 100vh;
  }
  .hero-visual { display: none; }
.hero-sp-video {
  display: none !important;
}
.hero-sp-overlay {
  display: none !important;
}

@media (max-width: 768px) {

  .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    position: relative !important;
    width: 100% !important;
    min-height: 100svh !important;
    min-height: 100vh !important;
  }

  /* PC画像非表示 */
  .hero-visual {
    display: none !important;
  }

  /* 動画を上半分に表示（重ねない） */
.hero-sp-video {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  position: relative !important;
  width: 100% !important;
  height: 90vh !important; /* 画面の60%＝上半分強 */
  object-fit: cover !important;
  object-position: center top !important;
  z-index: 1 !important;
  flex-shrink: 0 !important;
}

  /* オーバーレイは不要なので非表示 */
  .hero-sp-overlay {
    display: none !important;
  }



  /* テキストエリアは動画の下に縦並び */
  .hero-copy {
    display: flex !important;
    position: relative !important;
    z-index: 2 !important;
    width: 100% !important;
    flex-direction: column !important;
    justify-content: flex-start !important;
    padding: 28px 20px 40px !important;
    gap: 16px !important;
    background: var(--bg) !important;
  }

  .htag {
    background: rgba(212,175,55,.08) !important;
    border-color: rgba(212,175,55,.28) !important;
  }
  .hsp-divider { display: none; }

  .hero-title { font-size: clamp(1.7rem,8vw,2.4rem) !important; }
  .hero-tags  { grid-template-columns: 1fr 1fr !important; gap: 7px !important; }
  .htag { padding: 10px !important; }
  .htag-label { font-size: .6rem !important; }
  .htag-value { font-size: .9rem !important; }
  .htag-value em { font-size: 1rem !important; }
  .hero-sub-main { font-size: .98rem !important; }
  .cta-btn { font-size: .95rem !important; padding: 17px 20px !important; }
}


  /* ABOUT */
  .about-flow { flex-direction: column; align-items: stretch; }
  .about-step { max-width: 100%; }
  .about-arrow { transform: rotate(90deg); padding: 8px 0; align-self: center; }

  /* BENEFITS スライダー */
  .benefits-section .container { padding-right: 0; overflow: hidden; }
  .bento-grid {
    display: flex !important; flex-wrap: nowrap !important;
    overflow-x: scroll; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; gap: 10px;
    padding: 4px 20px 16px 28px; grid-template-columns: unset;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .bento-grid::-webkit-scrollbar { display: none; }
  .bento-item {
    flex: 0 0 76vw !important; width: 76vw !important;
    min-width: 76vw !important; scroll-snap-align: start; transform: none !important;
  }
  .bento-dots {
    display: flex; justify-content: center;
    gap: 6px; margin-top: 14px; padding-right: 0;
  }
  .bento-dot {
    width: 6px; height: 6px; border-radius: 50px;
    background: rgba(255,255,255,.2); transition: background .3s, width .3s; cursor: pointer;
  }
  .bento-dot.active { background: var(--gold); width: 20px; }

  /* CASES スライダー */
  .cases-section .container { padding-right: 0; }
  .cases-grid {
    display: flex !important; flex-wrap: nowrap !important;
    overflow-x: scroll; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; gap: 10px;
    padding: 4px 28px 12px 28px; grid-template-columns: unset;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .cases-grid::-webkit-scrollbar { display: none; }
  .receipt-card {
    flex: 0 0 80vw !important; min-width: 80vw !important;
    scroll-snap-align: start; transform: none !important;
  }

  /* FLOW */
  .flow-icon-box { width: 60px; height: 60px; }
  .flow-icon { width: 36px; height: 36px; }
  .flow-body h3 { font-size: 1.1rem; }
  .flow-body p { font-size: .9rem; }
  .flow-item { gap: 16px; }
  .flow-body { padding: 4px 0 36px; }

  /* REVIEWS スライダー */
  .reviews-section .container { padding-right: 0; }
  .reviews-grid {
    display: flex !important; flex-wrap: nowrap !important;
    overflow-x: scroll; -webkit-overflow-scrolling: touch;
    scroll-snap-type: x mandatory; gap: 10px;
    padding: 4px 28px 12px 28px; grid-template-columns: unset;
    scrollbar-width: none; -ms-overflow-style: none;
  }
  .reviews-grid::-webkit-scrollbar { display: none; }
  .review-card {
    flex: 0 0 84vw !important; min-width: 84vw !important;
    scroll-snap-align: start; transform: none !important;
  }

  /* CONTACT */
  .contact-title { font-size: clamp(1.4rem,6vw,2rem); }
  .contact-form-wrap { padding: 22px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 0; }
  .btn-line { width: 100%; justify-content: center; }
  .form-submit { width: 100%; justify-content: center; }

  .footer-nav { gap: 14px; }
  .section { padding: 64px 0; }
  .section-head { margin-bottom: 36px; }

  /* 文字折り返し */
  .section-title, .contact-title { word-break: keep-all; overflow-wrap: break-word; line-height: 1.45; }
  .hero-sub-main, .hero-sub-note { word-break: keep-all; overflow-wrap: break-word; }
  .about-step p, .flow-body h3, .flow-body p,
  .faq-a p, .review-text, .contact-sub { word-break: keep-all; overflow-wrap: break-word; }
  .bento-item h3 { word-break: keep-all; overflow-wrap: break-word; font-size: .95rem; }
  .bento-item p { word-break: keep-all; overflow-wrap: break-word; }
  .faq-q span { word-break: keep-all; overflow-wrap: break-word; line-height: 1.6; }
  .r-val { word-break: break-all; text-align: right; font-size: .78rem; }

  /* SP CTAバー（底面余白確保） */
  main { padding-bottom: 100px; }
}


/* =====================
   SP固定バナーCTA（デザイン定義）
===================== */
.sp-cta-bar {
  display: none !important; 
}

/* スマホ（768px以下）でのみ表示設定を上書き */
@media (max-width: 768px) {
  .sp-cta-bar {
    display: block !important; /* スマホではブロック要素として復活 */
    position: fixed;
    bottom: 0; left: 0; right: 0;
    z-index: 9999;
    background: rgba(10,10,10,0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid rgba(212,175,55,0.3);
    padding: 12px 16px 20px;
    box-shadow: 0 -4px 24px rgba(0,0,0,0.6);
    /* JSでクラス付与される前は画面外へ隠しておく */
    transform: translateY(120%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  }

  /* JSで .visible クラスがついた時だけ画面内へ */
  .sp-cta-bar.visible {
    transform: translateY(0) !important;
  }
}


.sp-cta-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.sp-cta-status {
  display: flex; align-items: center; gap: 8px;
}
.sp-pulse {
  width: 8px; height: 8px; background: #2ecc71;
  border-radius: 50%; box-shadow: 0 0 0 2px rgba(46,204,113,0.3);
  animation: pulse-ring 2s infinite;
}
.sp-status-text {
  font-size: 0.7rem; color: #2ecc71; font-weight: 700;
}
.sp-cta-tagline {
  font-size: 0.75rem; color: #fff; font-weight: 500;
}
.sp-cta-tagline em {
  font-style: normal; color: #D4AF37; font-weight: 700; font-size: 0.9rem;
}

/* ボタンエリア */
.sp-cta-btns {
  display: flex; gap: 10px;
}

/* LINEボタン */
.sp-btn-line {
  flex: 1;
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: #06c755; color: #fff;
  font-weight: 700; font-size: 0.95rem;
  padding: 12px; border-radius: 8px;
  text-decoration: none;
  box-shadow: 0 4px 12px rgba(6,199,85,0.3);
}

/* メール相談ボタン */
.sp-btn-mail {
  flex: 0 0 auto;
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 2px;
  background: rgba(255,255,255,0.1);
  color: #fff; border: 1px solid rgba(255,255,255,0.2);
  border-radius: 8px; padding: 0 14px;
  font-size: 0.65rem; line-height: 1.1; font-weight: 500;
  cursor: pointer;
}
.sp-btn-mail svg {
  width: 18px; height: 18px; color: #D4AF37; margin-bottom: 2px;
}

/* スマホ表示時のみ有効化 */
@media (max-width: 768px) {
  .sp-cta-bar { display: block; }
}

/* パルスアニメーション定義（もし無ければ） */
@keyframes pulse-ring {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(46, 204, 113, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

/* =====================
   フッター修正（背景色と余白の確保）
===================== */
.site-footer {
  /* 背景を半透明(rgba)ではなく、完全な「黒」で塗りつぶす */
  background: #050505 !important; 
  opacity: 1 !important;
  
  /* ボーダーを少しはっきりさせて境界線を見やすく */
  border-top: 1px solid rgba(212,175,55,0.2) !important;
  
  /* 背景画像などが透けないように前面に配置 */
  position: relative;
  z-index: 50; 
}

/* スマホ表示時：追尾バー（CTA）がある分、下に余白を作る */
@media (max-width: 768px) {
  .site-footer {
    /* これがないと「copyright」がバーの下に隠れてしまいます */
    padding-bottom: 120px !important; 
  }
}

/* =====================
   スマホ表示時の文字はみ出し防止修正
===================== */
@media (max-width: 768px) {
  /* ABOUT、FLOW、FAQ、Reviewなどの説明文 */
  .about-step p, 
  .flow-card-body p, 
  .faq-a p, 
  .review-text,
  .bento-item p {
    /* 強制的に改行を許可する */
    word-break: break-all !important;      /* 単語の途中でも改行 */
    overflow-wrap: anywhere !important;    /* どんなに長い単語でも改行 */
    white-space: normal !important;        /* 折り返しを有効化 */
    
    /* 文字サイズを少し調整して読みやすく */
    font-size: 0.85rem !important;
    line-height: 1.6 !important;
  }
}
