/* =====================================================
   HAKOREJI LP  —  style.css
   コンセプト: ユビレジ系ポップ × 落ち着き（生成りベース）
   ===================================================== */
:root {
  --main: #3D63DD;
  --main-dark: #2B4BB0;
  --accent: #F0762E;
  --grad: linear-gradient(115deg, #3D63DD 0%, #7C5CE8 62%, #F0762E 100%);
  --ink: #2B2B33;
  --sub: #6E6E7A;
  --cream: #F2F3FA;
  --paper: #FCFCFF;
  --mint: #E4F4EC;
  --peach: #FFE9DC;
  --sky: #E1F0FA;
  --lemon: #FFF3C4;
  --radius: 22px;
  --shadow-sm: 0 4px 16px rgba(43, 43, 51, .07);
  --shadow-md: 0 12px 32px rgba(43, 43, 51, .12);
  --shadow-lg: 0 20px 60px rgba(61, 99, 221, .16);
  --font-head: "M PLUS Rounded 1c", "Noto Sans JP", sans-serif;
  --font-body: "Noto Sans JP", sans-serif;
}

html { scroll-behavior: smooth; overflow-x: clip; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--paper);
  overflow-x: hidden;
}
section[id], div#news { scroll-margin-top: 84px; }
img, svg { max-width: 100%; }
a { text-decoration: none; }

::selection { background: rgba(61, 99, 221, .18); }

/* ---------- 共通: 見出し・ラベル ---------- */
.sec { padding: 96px 0; position: relative; }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.sec-label {
  display: inline-flex; align-items: baseline; gap: 10px;
  font-family: var(--font-head); font-weight: 700; letter-spacing: .12em;
  color: var(--main); font-size: .8rem; margin-bottom: 14px;
}
.sec-label em {
  font-style: normal; font-size: 1.05rem; font-weight: 800;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.sec-title {
  font-family: var(--font-head); font-weight: 800; font-size: clamp(1.7rem, 3.4vw, 2.4rem);
  margin-bottom: 16px; letter-spacing: .02em;
}
.sec-lead { color: var(--sub); line-height: 1.9; margin: 0; }

.grad-text {
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

/* ---------- 共通: ボタン ---------- */
.btn { border-radius: 100px; font-weight: 700; }
.btn-grad {
  background: var(--grad); color: #fff; border: none;
  box-shadow: 0 8px 24px rgba(61, 99, 221, .32);
  transition: transform .25s, box-shadow .25s, filter .25s;
  display: inline-flex; align-items: center; justify-content: center;
}
.btn-grad:hover, .btn-grad:focus { color: #fff; transform: translateY(-3px); box-shadow: 0 14px 32px rgba(61, 99, 221, .4); filter: brightness(1.05); }
.btn-outline-main {
  border: 2px solid var(--main); color: var(--main); background: transparent;
  transition: all .25s;
}
.btn-outline-main:hover, .btn-outline-main:focus { background: var(--main); color: #fff; }
.btn-outline-white-pill { border: 2px solid rgba(255,255,255,.75); color: #fff; padding: 12px 32px; transition: all .25s; }
.btn-outline-white-pill:hover { background: #fff; color: var(--main); }
.btn-block-pill { display: block; width: 100%; padding: 14px; }
.btn-hero { padding: 16px 34px; font-size: 1.05rem; }
.btn-outline-hero { border: 2px solid var(--main); color: var(--main); background: rgba(255,255,255,.85); }
.btn-outline-hero:hover { background: var(--main); color: #fff; }
.btn-lg-pill { border-radius: 100px; padding: 14px 24px; font-weight: 700; }

/* =====================================================
   HEADER
   ===================================================== */
.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 1030;
  padding: 14px 0; transition: background .3s, box-shadow .3s, padding .3s;
}
.site-header.is-scrolled {
  background: rgba(255, 253, 249, .92); backdrop-filter: blur(10px);
  box-shadow: var(--shadow-sm); padding: 8px 0;
}
.brand-text {
  font-family: var(--font-head); font-weight: 800; font-size: 1.3rem;
  color: var(--ink); line-height: 1; display: flex; flex-direction: column;
}
.brand-text small {
  font-size: .6rem; font-weight: 700; letter-spacing: .32em; color: var(--main); margin-top: 4px;
}
.site-header .nav-link {
  font-weight: 500; color: var(--ink); position: relative; padding: 8px 14px !important;
}
.site-header .nav-link::after {
  content: ""; position: absolute; left: 14px; right: 14px; bottom: 2px; height: 3px;
  border-radius: 3px; background: var(--grad);
  transform: scaleX(0); transform-origin: left; transition: transform .3s;
}
.site-header .nav-link:hover::after { transform: scaleX(1); }
.btn-nav { padding: 10px 20px; font-size: .92rem; }
.btn-nav .small-frac {
  font-size: .62rem; background: #fff; color: var(--main);
  border-radius: 100px; padding: 2px 8px; margin-left: 8px; font-weight: 800;
}
.btn-hamburger {
  width: 46px; height: 46px; border-radius: 14px; border: none;
  background: var(--grad); position: relative; box-shadow: var(--shadow-sm);
  display: inline-flex; flex-direction: column; gap: 5px; align-items: center; justify-content: center;
}
.btn-hamburger span { width: 20px; height: 2.5px; border-radius: 2px; background: #fff; }

.nav-offcanvas { background: var(--cream); }
.nav-flex-column { display: flex; flex-direction: column; gap: 4px; }
.nav-flex-column a {
  display: flex; align-items: center; gap: 14px; padding: 14px 16px;
  border-radius: 16px; color: var(--ink); font-weight: 700; font-family: var(--font-head);
}
.nav-flex-column a:hover { background: #fff; color: var(--main); }
.nav-flex-column a span { font-size: .75rem; color: var(--main); font-weight: 800; }

/* =====================================================
   HERO（NESCO風イラスト背景スライダー）
   ===================================================== */
.hero {
  position: relative; min-height: 100svh; display: flex; align-items: center;
  padding: 150px 0 120px; overflow: hidden;
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.4s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide svg { width: 100%; height: 100%; display: block; }
.hero-slide.is-active svg { animation: bg-pan 9s ease-out forwards; }
@keyframes bg-pan { from { transform: scale(1.02); } to { transform: scale(1); } }
/* 読みやすさのための白ベール */
.hero::before {
  content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(180deg, rgba(255,253,249,.58) 0%, rgba(255,253,249,.3) 45%, rgba(255,253,249,.78) 100%);
}
.hero-eyecatch {
  position: absolute; z-index: 1; left: 50%; top: 56%; transform: translate(-50%, -50%);
  font-family: var(--font-head); font-weight: 900; font-size: clamp(6rem, 22vw, 20rem);
  color: rgba(61, 99, 221, .055); letter-spacing: .04em; white-space: nowrap;
  pointer-events: none; user-select: none;
}
.hero-inner { position: relative; z-index: 2; }
.hero-copy { max-width: 640px; }
.hero-badge {
  display: inline-flex; align-items: center; background: #fff; color: var(--main);
  font-weight: 700; font-size: .85rem; border-radius: 100px; padding: 8px 20px;
  box-shadow: var(--shadow-sm); margin-bottom: 24px; border: 1.5px solid rgba(228,0,95,.14);
}
.hero-title {
  font-family: var(--font-head); font-weight: 900;
  font-size: clamp(2rem, 4.6vw, 3.4rem); line-height: 1.32; letter-spacing: .01em; margin-bottom: 22px;
}
.hero-title .nowrap { white-space: nowrap; }
.hero-sub { color: var(--sub); font-size: 1.02rem; line-height: 2; margin-bottom: 30px; }
.hero-points {
  list-style: none; display: flex; flex-wrap: wrap; gap: 10px 26px;
  margin: 26px 0 0; padding: 0; color: var(--ink); font-weight: 700; font-size: .92rem;
}
.hero-points i { color: var(--main); margin-right: 6px; }

/* --- タブレット風モック --- */
.hero-visual { position: relative; }
.device {
  position: relative; margin: 0 auto; max-width: 460px;
  background: var(--ink); border-radius: 34px; padding: 16px;
  box-shadow: 0 40px 80px rgba(43, 43, 51, .28);
  transform: rotate(1.5deg); transition: transform .5s;
}
.device:hover { transform: rotate(0deg) translateY(-6px); }
.device-cam { position: absolute; top: 6px; left: 50%; transform: translateX(-50%); width: 8px; height: 8px; border-radius: 50%; background: #55555f; }
.pos-app {
  background: #FFFBF4; border-radius: 22px; overflow: hidden;
  border: 3px solid #EDE3D3;
}
.pos-top {
  display: flex; justify-content: space-between; align-items: center;
  padding: 12px 16px; background: #fff; border-bottom: 1px solid #F0E6D6;
  font-size: .8rem; font-weight: 700;
}
.pos-shop i { color: var(--main); }
.pos-icons i { color: #9A9AA5; }
.pos-body { display: flex; gap: 10px; padding: 12px; }
.pos-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; flex: 1.25; }
.pos-item {
  border-radius: 14px; padding: 10px 8px; display: flex; flex-direction: column;
  justify-content: space-between; min-height: 74px; font-size: .7rem; font-weight: 700;
  color: var(--ink); box-shadow: inset 0 0 0 2px rgba(43,43,51,.045);
}
.pos-item b { font-size: .78rem; }
.pos-item.c1 { background: var(--peach); }
.pos-item.c2 { background: var(--mint); }
.pos-item.c3 { background: var(--lemon); }
.pos-item.c4 { background: var(--sky); }
.pos-ticket {
  flex: 1; background: #fff; border-radius: 16px; padding: 12px;
  box-shadow: inset 0 0 0 2px #F0E6D6; display: flex; flex-direction: column; font-size: .72rem;
}
.pos-line { display: flex; justify-content: space-between; color: var(--sub); margin-bottom: 7px; }
.pos-total {
  display: flex; align-items: baseline; gap: 4px; margin-top: auto; padding-top: 8px;
  border-top: 2px dashed #EDE3D3; font-weight: 800; color: var(--ink);
}
.pos-total b { font-size: 1.05rem; color: var(--main); }
.pos-total small { font-weight: 500; color: #9A9AA5; }
.pos-pay {
  margin-top: 10px; border: none; border-radius: 100px; padding: 10px;
  background: var(--grad); color: #fff; font-weight: 800; font-size: .8rem;
  box-shadow: 0 6px 16px rgba(61, 99, 221, .3);
}
/* 浮遊チップ */
.float-chip {
  position: absolute; background: #fff; border-radius: 100px; padding: 10px 18px;
  font-weight: 800; font-size: .82rem; color: var(--ink); box-shadow: var(--shadow-md);
  display: inline-flex; align-items: center; gap: 7px; white-space: nowrap;
  animation: floaty 4.5s ease-in-out infinite;
}
.float-chip i { color: var(--main); font-size: 1rem; }
.chip-a { top: -8px; right: -6px; animation-delay: .2s; }
.chip-b { bottom: 34px; left: -18px; }
.chip-c { bottom: -18px; right: 40px; animation-delay: 1.1s; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

/* ドット・スクロール */
.hero-dots {
  position: absolute; z-index: 3; bottom: 74px; left: 50%; transform: translateX(-50%);
  display: flex; gap: 10px;
}
.hero-dots .dot {
  width: 12px; height: 12px; border-radius: 100px; border: none; padding: 0;
  background: rgba(43, 43, 51, .18); transition: all .35s; cursor: pointer;
}
.hero-dots .dot.is-active { width: 34px; background: var(--main); }
.hero-scroll {
  position: absolute; z-index: 3; right: 28px; bottom: 70px; color: var(--sub);
  writing-mode: vertical-rl; font-size: .68rem; letter-spacing: .3em; font-weight: 700;
  display: flex; align-items: center; gap: 8px;
}
.hero-scroll i { animation: bob 1.6s ease-in-out infinite; font-size: 1rem; }
@keyframes bob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(6px); } }

/* =====================================================
   NEWS BAR
   ===================================================== */
.news-bar { background: var(--paper); position: relative; z-index: 3; margin-top: -40px; padding: 12px 0 30px; }
.news-pill {
  display: flex; align-items: center; gap: 16px; background: #fff;
  border-radius: 100px; box-shadow: var(--shadow-md); padding: 12px 26px;
}
.news-label {
  flex: none; background: var(--grad); color: #fff; font-weight: 800; font-size: .78rem;
  border-radius: 100px; padding: 5px 16px;
}
.news-link {
  color: var(--ink); font-weight: 500; font-size: .92rem; flex: 1;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.news-link:hover { color: var(--main); }
.news-date { flex: none; color: #9A9AA5; font-size: .8rem; }

/* =====================================================
   01 ABOUT
   ===================================================== */
.sec-about { background: var(--paper); }
.plan-card {
  background: #fff; border-radius: var(--radius); overflow: hidden; height: 100%;
  box-shadow: var(--shadow-sm); border: 1.5px solid rgba(43,43,51,.05);
  transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column;
}
.plan-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.plan-thumb { position: relative; }
.plan-thumb svg { display: block; width: 100%; }
.plan-badge {
  position: absolute; top: 16px; left: 16px; background: #fff; color: var(--main);
  font-weight: 800; font-size: .78rem; border-radius: 100px; padding: 6px 16px;
  box-shadow: var(--shadow-sm);
}
.plan-body { padding: 26px 28px 30px; display: flex; flex-direction: column; flex: 1; }
.plan-body h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.25rem; margin-bottom: 10px; }
.plan-body > p { color: var(--sub); font-size: .92rem; line-height: 1.85; margin-bottom: 14px; }
.plan-body ul { list-style: none; margin: 0 0 18px; padding: 0; display: grid; gap: 7px; }
.plan-body li { font-size: .9rem; font-weight: 500; display: flex; align-items: center; gap: 9px; }
.plan-body li::before {
  content: "\F26E"; font-family: "bootstrap-icons"; color: var(--main); font-size: .95rem;
}
.plan-link { margin-top: auto; color: var(--main); font-weight: 800; font-size: .92rem; }
.plan-link:hover { color: var(--main-dark); }
.plan-link i { transition: transform .3s; }
.plan-link:hover i { transform: translateX(5px); }

/* =====================================================
   波ディバイダー
   ===================================================== */
.wave { line-height: 0; margin-top: -1px; }
.wave svg { display: block; width: 100%; height: 60px; }
.wave-over-grad { margin-bottom: -1px; }
/* グラデ帯（CASE）の下端 : 紙色へ沈む波 */
.sec-case { padding-bottom: 40px; }
.wave-case-end { margin-top: -40px; }

/* =====================================================
   02 FEATURE
   ===================================================== */
.sec-feature { background: var(--cream); }
.feature-card {
  position: relative; background: #fff; border-radius: var(--radius);
  padding: 34px 30px 30px; height: 100%;
  border: 1.5px solid rgba(43,43,51,.05); box-shadow: var(--shadow-sm);
  transition: transform .3s, box-shadow .3s;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.feature-num {
  position: absolute; top: 20px; right: 24px;
  font-family: var(--font-head); font-weight: 900; font-size: 2.4rem; line-height: 1;
  background: var(--grad); -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent; opacity: .85;
}
.feature-icon {
  width: 62px; height: 62px; border-radius: 20px; display: grid; place-items: center;
  font-size: 1.6rem; color: #fff; margin-bottom: 18px; box-shadow: var(--shadow-sm);
}
.feature-icon.i1 { background: linear-gradient(135deg, #3D63DD, #7C5CE8); }
.feature-icon.i2 { background: linear-gradient(135deg, #F0762E, #FFB25E); }
.feature-icon.i3 { background: linear-gradient(135deg, #2E8B78, #5BC4A8); }
.feature-icon.i4 { background: linear-gradient(135deg, #3D7BD9, #6FB1F0); }
.feature-icon.i5 { background: linear-gradient(135deg, #8A5CD9, #B48AEF); }
.feature-icon.i6 { background: linear-gradient(135deg, #D9A03D, #F0CE7E); }
.feature-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.12rem; margin-bottom: 10px; }
.feature-card p { color: var(--sub); font-size: .92rem; line-height: 1.85; margin: 0; }

/* =====================================================
   LOGO SLIDER
   ===================================================== */
.sec-logo { background: var(--cream); padding-bottom: 90px; }
.logo-lead { text-align: center; color: var(--sub); font-weight: 500; margin-bottom: 34px; }
.logo-marquee {
  overflow: hidden; position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 12%, #000 88%, transparent);
}
.logo-track {
  display: flex; align-items: center; gap: 70px; width: max-content;
  animation: marquee 36s linear infinite; padding: 4px 0;
}
.logo-marquee:hover .logo-track { animation-play-state: paused; }
.logo-track span {
  font-family: var(--font-head); font-weight: 800; font-size: 1.25rem;
  color: #B9B4AC; white-space: nowrap; letter-spacing: .04em; transition: color .3s;
}
.logo-track span:hover { color: var(--main); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* =====================================================
   03 CASE（グラデ帯 + アーチカード）
   ===================================================== */
.sec-case {
  background: linear-gradient(160deg, #3D63DD 0%, #7C5CE8 60%, #F0762E 100%);
  color: #fff;
}
.sec-case .sec-label { color: rgba(255,255,255,.85); }
.sec-case .sec-lead { color: rgba(255,255,255,.85); }
.sec-case .sec-label em {
  background: #fff; -webkit-background-clip: initial; background-clip: initial;
  -webkit-text-fill-color: #fff; color: #fff;
}
.case-card {
  display: block; background: #fff; border-radius: 26px; padding: 16px 16px 24px;
  color: var(--ink); box-shadow: 0 18px 44px rgba(120, 10, 40, .28);
  transition: transform .3s, box-shadow .3s; height: 100%;
}
.case-card:hover { transform: translateY(-8px); box-shadow: 0 26px 56px rgba(120, 10, 40, .36); color: var(--ink); }
.case-arch {
  border-radius: 200px 200px 18px 18px; overflow: hidden; margin-bottom: 18px;
}
.case-arch svg { display: block; width: 100%; }
.case-tag {
  display: inline-block; background: #E6EBFB; color: var(--main);
  font-weight: 800; font-size: .72rem; border-radius: 100px; padding: 4px 14px; margin-bottom: 10px;
}
.case-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; margin-bottom: 8px; }
.case-result { font-size: .88rem; color: var(--sub); line-height: 1.8; margin-bottom: 10px; }
.case-result b { color: var(--main); font-size: 1.05rem; }
.case-meta { font-size: .74rem; color: #9A9AA5; font-weight: 500; }

/* =====================================================
   STATS
   ===================================================== */
.sec-stats { background: var(--paper); padding-top: 90px; }
.stats-panel {
  background: linear-gradient(150deg, #232A46 0%, #2A2C60 55%, #3E3D8F 100%);
  border-radius: 30px; padding: 56px 40px 42px; color: #fff;
  position: relative; overflow: hidden; box-shadow: var(--shadow-lg);
}
.stats-panel::before {
  content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%;
  background: radial-gradient(circle, rgba(240,118,46,.3), transparent 68%);
  top: -160px; right: -120px; pointer-events: none;
}
.stats-panel::after {
  content: ""; position: absolute; width: 300px; height: 300px; border-radius: 50%;
  background: radial-gradient(circle, rgba(61,99,221,.42), transparent 68%);
  bottom: -140px; left: -80px; pointer-events: none;
}
.stat-num {
  font-family: var(--font-head); font-weight: 900; font-size: clamp(2.2rem, 4.4vw, 3.4rem);
  line-height: 1.1; background: linear-gradient(120deg, #BFD2FF, #F0A878);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat-num i { font-size: 1.6rem; vertical-align: .35rem; }
.stat-num small { font-size: 1rem; margin-left: 6px; -webkit-text-fill-color: rgba(255,255,255,.7); color: rgba(255,255,255,.7); font-weight: 700; }
.stat-cap { color: rgba(255,255,255,.78); font-size: .88rem; margin: 10px 0 0; font-weight: 500; }
.stats-note { color: rgba(255,255,255,.4); font-size: .72rem; text-align: right; margin: 18px 0 0; }

/* =====================================================
   04 PRICE
   ===================================================== */
.sec-price { background: var(--paper); }
.price-card {
  position: relative; background: #fff; border-radius: 26px; padding: 38px 32px;
  border: 1.5px solid rgba(43,43,51,.06); box-shadow: var(--shadow-sm); height: 100%;
  display: flex; flex-direction: column; transition: transform .3s, box-shadow .3s;
}
.price-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.price-card.is-popular {
  border: 3px solid transparent;
  background: linear-gradient(#fff, #fff) padding-box, var(--grad) border-box;
  box-shadow: var(--shadow-lg);
}
.popular-badge {
  position: absolute; top: -17px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-weight: 800; font-size: .78rem;
  border-radius: 100px; padding: 7px 20px; white-space: nowrap; box-shadow: 0 8px 20px rgba(228,0,95,.35);
}
.price-name { font-family: var(--font-head); font-weight: 900; font-size: 1.3rem; }
.price-tagline { color: var(--sub); font-size: .84rem; margin: 6px 0 20px; }
.price-num { display: flex; align-items: baseline; gap: 8px; margin-bottom: 24px; }
.price-num b { font-family: var(--font-head); font-weight: 900; font-size: 2.6rem; line-height: 1; color: var(--main); }
.is-popular .price-num b { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.price-num span { color: var(--sub); font-size: .82rem; }
.price-list { list-style: none; margin: 0 0 26px; padding: 0; display: grid; gap: 11px; flex: 1; }
.price-list li { display: flex; align-items: center; gap: 10px; font-size: .92rem; font-weight: 500; }
.price-list i { color: var(--main); font-size: 1.05rem; }
.price-list li.off { color: #B9B4AC; }
.price-list li.off i { color: #D9D4CC; }

/* 導入の流れ */
.steps-wrap { margin-top: 90px; }
.steps-title {
  font-family: var(--font-head); font-weight: 800; text-align: center;
  font-size: clamp(1.25rem, 2.4vw, 1.6rem); margin-bottom: 44px;
}
.steps { list-style: none; margin: 0; padding: 0; counter-reset: step; }
.steps li { position: relative; background: #fff; border-radius: 22px; padding: 34px 26px 26px; box-shadow: var(--shadow-sm); border: 1.5px solid rgba(43,43,51,.05); height: 100%; }
.step-num {
  position: absolute; top: -18px; left: 24px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--grad); color: #fff; font-family: var(--font-head); font-weight: 900;
  display: grid; place-items: center; font-size: 1.05rem; box-shadow: 0 8px 18px rgba(228,0,95,.32);
}
.steps h4 { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; margin: 8px 0 10px; }
.steps p { color: var(--sub); font-size: .9rem; line-height: 1.85; margin: 0; }
.steps li:not(:last-child)::after {
  content: "\F231"; font-family: "bootstrap-icons"; position: absolute; right: -34px; top: 50%;
  transform: translateY(-50%); color: var(--main); font-size: 1.4rem;
}
@media (min-width: 768px) and (max-width: 991px) { .steps li:not(:last-child)::after { display: none; } }

/* =====================================================
   05 FAQ
   ===================================================== */
.sec-faq { background: var(--cream); }
.container-faq { max-width: 860px; }
.accordion-faq { row-gap: 14px; display: grid; }
.accordion-faq .accordion-item {
  border: none; border-radius: 100px !important; overflow: hidden;
  box-shadow: var(--shadow-sm); background: #fff;
}
.accordion-faq .accordion-button {
  border-radius: 100px !important; padding: 18px 30px; font-weight: 700;
  font-size: .98rem; font-family: var(--font-head); color: var(--ink);
  background: #fff; box-shadow: none;
}
.accordion-faq .accordion-button:not(.collapsed) { color: var(--main); background: #fff; }
.accordion-faq .accordion-button:focus { box-shadow: none; }
.accordion-faq .accordion-button::after {
  background-image: none; content: "+"; font-size: 1.5rem; font-weight: 400;
  color: var(--main); width: auto; height: auto; line-height: 1;
  transition: transform .3s;
}
.accordion-faq .accordion-button:not(.collapsed)::after { transform: rotate(45deg); }
.q-mark {
  flex: none; width: 34px; height: 34px; border-radius: 50%; background: var(--grad);
  color: #fff; display: inline-grid; place-items: center; font-weight: 900;
  font-size: .9rem; margin-right: 16px; font-family: var(--font-head);
}
.accordion-faq .accordion-body { padding: 0 76px 24px 80px; color: var(--sub); line-height: 1.95; font-size: .92rem; }
@media (max-width: 575px) {
  .accordion-faq .accordion-button { padding: 15px 20px; font-size: .88rem; }
  .accordion-faq .accordion-body { padding: 0 26px 20px 30px; }
}

/* =====================================================
   CTA
   ===================================================== */
.sec-cta { background: var(--paper); padding-bottom: 110px; }
.cta-panel {
  position: relative; background: var(--grad); border-radius: 34px;
  padding: 74px 28px 60px; text-align: center; color: #fff; overflow: hidden;
  box-shadow: var(--shadow-lg);
}
.cta-deco { position: absolute; border-radius: 50%; pointer-events: none; }
.cta-deco.a { width: 300px; height: 300px; border: 40px solid rgba(255,255,255,.1); top: -110px; left: -90px; }
.cta-deco.b { width: 210px; height: 210px; border: 30px solid rgba(255,255,255,.08); bottom: -70px; right: -50px; }
.cta-catch { font-family: var(--font-head); font-weight: 700; font-size: .95rem; letter-spacing: .14em; margin-bottom: 12px; }
.cta-title { font-family: var(--font-head); font-weight: 900; font-size: clamp(1.7rem, 3.6vw, 2.6rem); margin-bottom: 14px; }
.cta-sub { color: rgba(255,255,255,.85); margin-bottom: 40px; }
.cta-cards { position: relative; z-index: 1; }
.cta-card {
  display: flex; align-items: center; gap: 18px; background: #fff; border-radius: 22px;
  padding: 20px 24px; color: var(--ink); box-shadow: 0 16px 36px rgba(120,10,40,.25);
  transition: transform .3s, box-shadow .3s; height: 100%;
}
.cta-card:hover { transform: translateY(-5px) scale(1.01); box-shadow: 0 22px 48px rgba(120,10,40,.32); color: var(--ink); }
.cta-ic {
  flex: none; width: 58px; height: 58px; border-radius: 50%; background: var(--grad);
  color: #fff; display: grid; place-items: center; font-size: 1.4rem;
}
.cta-card-body { display: flex; flex-direction: column; text-align: left; }
.cta-card-body b { font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; }
.cta-card-body small { color: var(--sub); font-size: .78rem; margin-top: 4px; }
.cta-trust {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center; gap: 12px 30px;
  margin: 44px 0 0; padding: 0; color: rgba(255,255,255,.9); font-size: .84rem; font-weight: 700;
}
.cta-trust i { margin-right: 6px; }

/* =====================================================
   FOOTER
   ===================================================== */
.site-footer { background: var(--ink); color: #C9C9D1; padding: 70px 0 0; }
.site-footer .brand-text { color: #fff; }
.site-footer .brand-text small { color: #FF9AB8; }
.footer-brand p { font-size: .88rem; line-height: 1.9; margin: 20px 0; }
.footer-sns { display: flex; gap: 10px; }
.footer-sns a {
  width: 40px; height: 40px; border-radius: 50%; background: rgba(255,255,255,.08);
  color: #fff; display: grid; place-items: center; font-size: 1rem; transition: all .3s;
}
.footer-sns a:hover { background: var(--main); transform: translateY(-3px); }
.footer-cols h4 {
  font-family: var(--font-head); color: #fff; font-weight: 800; font-size: .95rem;
  margin-bottom: 18px;
}
.footer-cols ul { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-cols ul a { color: #C9C9D1; font-size: .88rem; transition: color .2s; }
.footer-cols ul a:hover { color: #FF9AB8; }
.footer-bottom {
  margin-top: 54px; padding: 22px 0; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center; gap: 10px;
}
.back-to-top {
  width: 44px; height: 44px; border-radius: 50%; background: var(--grad); color: #fff;
  display: grid; place-items: center; transition: transform .3s;
}
.back-to-top:hover { transform: translateY(-4px); color: #fff; }

/* =====================================================
   モバイル固定CTA
   ===================================================== */
.mobile-cta {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1040;
  display: flex; gap: 10px; padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
  background: rgba(255,253,249,.94); backdrop-filter: blur(10px);
  box-shadow: 0 -6px 24px rgba(43,43,51,.12);
}
.mobile-cta .btn { padding: 12px 10px; font-size: .9rem; }
.btn-mobile-sub { background: #fff; border: 2px solid var(--main); color: var(--main); font-weight: 800; }
@media (max-width: 767.98px) { body { padding-bottom: 76px; } }

/* =====================================================
   リビールアニメーション
   ===================================================== */
.reveal {
  opacity: 0; transform: translateY(28px);
  transition: opacity .8s cubic-bezier(.22,1,.36,1), transform .8s cubic-bezier(.22,1,.36,1);
}
.reveal.is-visible { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  .reveal { opacity: 1; transform: none; transition: none; }
  .hero-slide.is-active svg, .float-chip, .hero-scroll i, .logo-track { animation: none; }
}

/* =====================================================
   レスポンシブ微調整
   ===================================================== */
@media (max-width: 991.98px) {
  .hero { padding-top: 120px; }
  .hero-visual { margin-top: 20px; }
  .chip-b { left: -4px; }
  .hero-scroll { display: none; }
  .sec { padding: 72px 0; }
}
@media (max-width: 575.98px) {
  .hero { padding-bottom: 90px; }
  .hero-dots { bottom: 26px; }
  .news-pill { flex-wrap: wrap; border-radius: 22px; }
  .news-link { white-space: normal; order: 3; width: 100%; flex-basis: 100%; }
  .device { padding: 10px; border-radius: 26px; }
  .pos-body { flex-direction: column; }
  .pos-grid { grid-template-columns: repeat(3, 1fr); }
  .pos-item { min-height: 58px; }
  .float-chip { font-size: .72rem; padding: 8px 14px; }
  .chip-a { top: -14px; right: -4px; }
  .chip-c { bottom: -12px; right: 10px; }
  .stats-panel { padding: 44px 22px 34px; }
  .cta-panel { padding: 54px 18px 46px; }
  .steps li:not(:last-child)::after { display: none; }
}

/* =====================================================
   追加: スクロールプログレス / 一日パララックス帯 / 声 / JSアニメ
   ===================================================== */

/* ---------- 上部プログレスバー ---------- */
.top-progress { position: fixed; top: 0; left: 0; right: 0; height: 4px; z-index: 1060; pointer-events: none; }
.top-progress i { display: block; height: 100%; width: 0%; background: var(--grad); transition: width .08s linear; }

/* ---------- 一日パララックス帯 ---------- */
.day-band { position: relative; overflow: hidden; }
.day-bg { position: absolute; inset: 0; }
.day-sky {
  position: absolute; inset: 0;
  background: linear-gradient(180deg, #FDF3E3 0%, #F3EEE2 34%, #EAF4EF 72%, var(--cream) 100%);
}
.day-layer { position: absolute; left: 0; width: 100%; will-change: transform; }
.day-clouds { top: -3%; height: 58%; }
.day-far { bottom: -4%; height: 52%; }
.day-near { bottom: -8%; height: 48%; }
.day-inner { position: relative; z-index: 2; padding: 120px 0 140px; }

.day-track { position: relative; max-width: 980px; margin: 0 auto; }
.day-line {
  position: absolute; top: 33px; left: 8%; right: 8%; height: 4px;
  background: rgba(43, 43, 51, .1); border-radius: 4px; overflow: hidden; z-index: 0;
}
.day-line i { display: block; height: 100%; width: 0%; background: var(--grad); border-radius: 4px; transition: width .2s linear; }
.day-card {
  position: relative; z-index: 1; background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(6px); border: 1.5px solid rgba(255, 255, 255, .9);
  border-radius: var(--radius); padding: 26px 24px 24px; text-align: center;
  box-shadow: 0 12px 32px rgba(43, 43, 51, .08); height: 100%;
  transition: transform .3s, box-shadow .3s;
}
.day-card:hover { transform: translateY(-6px); box-shadow: 0 20px 44px rgba(43, 43, 51, .13); }
.d-time {
  position: absolute; top: -16px; left: 50%; transform: translateX(-50%);
  background: var(--grad); color: #fff; font-family: var(--font-head);
  font-weight: 800; font-size: .82rem; border-radius: 100px; padding: 5px 18px;
  box-shadow: 0 6px 16px rgba(61, 99, 221, .28); white-space: nowrap;
}
.d-ic {
  width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center;
  margin: 14px auto 16px; color: #fff; font-size: 1.4rem;
}
.d-ic.ic1 { background: linear-gradient(135deg, #F5A623, #FFD066); }
.d-ic.ic2 { background: linear-gradient(135deg, #3D63DD, #7C5CE8); }
.d-ic.ic3 { background: linear-gradient(135deg, #6E6AE8, #A5A1F0); }
.day-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.08rem; margin-bottom: 10px; }
.day-card p { color: var(--sub); font-size: .9rem; line-height: 1.85; margin: 0; }

/* ---------- お店の声 ---------- */
.sec-voices { background: var(--paper); }
.vcard {
  background: #fff; border-radius: var(--radius); padding: 34px 28px 28px;
  border: 1.5px solid rgba(43,43,51,.05); height: 100%;
  box-shadow: var(--shadow-sm); text-align: center;
  transition: transform .3s, box-shadow .3s;
  display: flex; flex-direction: column;
}
.vcard:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.v-ava {
  width: 68px; height: 68px; border-radius: 50%; display: grid; place-items: center;
  margin: 0 auto 18px; color: #fff; font-family: var(--font-head);
  font-weight: 800; font-size: 1.35rem; position: relative;
}
.v-ava::after {
  content: ""; position: absolute; inset: -7px; border-radius: 50%;
  border: 2px dashed rgba(61, 99, 221, .3); animation: v-ring 14s linear infinite;
}
.vcard:hover .v-ava::after { animation-duration: 5s; }
@keyframes v-ring { to { transform: rotate(360deg); } }
.v-ava.va1 { background: linear-gradient(135deg, #F5A623, #FFD066); }
.v-ava.va2 { background: linear-gradient(135deg, #3D63DD, #F0762E); }
.v-ava.va3 { background: linear-gradient(135deg, #2E8B78, #5BC4A8); }
.v-quote { font-size: .94rem; line-height: 2; color: var(--ink); margin: 0 0 20px; flex: 1; }
.v-meta { margin: 0; }
.v-meta b { display: block; font-family: var(--font-head); font-weight: 800; font-size: .95rem; }
.v-meta small { color: var(--sub); font-size: .78rem; }

/* ---------- ヒーロー見出し: 一文字ポップ ---------- */
.hero-title .ch { display: inline-block; opacity: 0; transform: translateY(.55em) rotate(7deg); }
.hero-title .ch.on { animation: ch-pop .68s cubic-bezier(.34,1.56,.64,1) forwards; animation-delay: var(--cd, 0ms); }
.hero-title .grad-text.line-pop { display: inline-block; opacity: 0; transform: translateY(.55em); }
.hero-title .grad-text.line-pop.on { animation: ch-pop .8s cubic-bezier(.34,1.56,.64,1) forwards; animation-delay: 480ms; }
@keyframes ch-pop {
  0% { opacity: 0; transform: translateY(.55em) rotate(7deg); }
  100% { opacity: 1; transform: translateY(0) rotate(0deg); }
}

/* ---------- デバイス3Dチルト ---------- */
.hero-visual { perspective: 900px; }
.device { transform-style: preserve-3d; will-change: transform; }

/* ---------- CTA 浮遊バブル ---------- */
.cta-bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; border-radius: inherit; }
.cta-bubbles .bb {
  position: absolute; bottom: -50px; border-radius: 50%;
  opacity: 0; animation: bb-rise var(--bd, 12s) linear var(--bl, 0s) infinite;
}
@keyframes bb-rise {
  0% { transform: translate(0, 0) scale(.7); opacity: 0; }
  10% { opacity: var(--bo, .5); }
  85% { opacity: var(--bo, .5); }
  100% { transform: translate(var(--bx, 14px), -640px) scale(1.05); opacity: 0; }
}

/* ---------- 遅延対応reveal ---------- */
.reveal { transition-delay: var(--rd, 0s); }

/* ---------- 追加: レスポンシブ ---------- */
@media (max-width: 991.98px) {
  .day-inner { padding: 90px 0 110px; }
  .day-line { display: none; }
}
@media (max-width: 575.98px) {
  .day-inner { padding: 70px 0 90px; }
  .d-ic { width: 50px; height: 50px; font-size: 1.2rem; }
}

/* ---------- 追加: reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .hero-title .ch, .hero-title .grad-text.line-pop { opacity: 1; transform: none; animation: none; }
  .cta-bubbles { display: none; }
  .day-layer { transform: none !important; }
  .v-ava::after { animation: none; }
}

/* =====================================================
   追加: 4つの画面セクション（次世代POS要件対応）
   ===================================================== */
.feature-icon.i7 { background: linear-gradient(135deg, #E8630A, #F5A623); }
.feature-icon.i8 { background: linear-gradient(135deg, #2E8B78, #5BC4A8); }

.sec-screens { background: var(--paper); padding-top: 0; }
.scr-card { background: #fff; border: 1.5px solid rgba(43,43,51,.06); border-radius: var(--radius); padding: 18px 18px 22px; height: 100%; box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.scr-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.scr {
  position: relative; border-radius: 14px; border: 2px solid #2B2B33; background: #FFFDF9;
  padding: 30px 14px 12px; min-height: 190px; overflow: hidden; margin-bottom: 16px;
}
.scr::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 22px; background: #2B2B33; border-radius: 11px 11px 0 0; }
.scr-dot { position: absolute; top: 7px; width: 7px; height: 7px; border-radius: 50%; }
.scr-dot.d1 { left: 12px; background: #FF7A7A; }
.scr-dot.d2 { left: 25px; background: #FFD97A; }
.scr-dot.d3 { left: 38px; background: #8FE0A8; }
.scr-chip {
  position: absolute; top: 30px; left: 12px; font-size: .62rem; font-weight: 800;
  color: #fff; border-radius: 100px; padding: 3px 12px; letter-spacing: .08em;
}
.c-register { background: #3D63DD; }
.c-seat { background: #7C5CE8; }
.c-kitchen { background: #E8810A; }
.c-manager { background: #2E8B78; }
.scr-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 6px; margin-top: 20px; }
.scr-tiles .t {
  font-size: .58rem; font-weight: 700; text-align: center; padding: 8px 2px;
  border-radius: 8px; background: #F1EFE9; color: #9A9AA5;
}
.scr-tiles .t.on { background: #E2E9FB; color: #3D63DD; }
.scr-total { display: flex; justify-content: space-between; align-items: baseline; margin-top: 12px; padding-top: 8px; border-top: 2px dashed #E5E0D4; font-size: .68rem; font-weight: 700; }
.scr-total b { font-size: .92rem; color: #3D63DD; }
.scr-lines { margin-top: 26px; display: grid; gap: 8px; }
.scr-lines span { height: 10px; border-radius: 5px; background: #EFEDF4; }
.scr-lines span:nth-child(2) { width: 78%; }
.scr-lines span.short { width: 52%; background: #E2E9FB; }
.scr-qr {
  margin-top: 14px; display: flex; align-items: center; gap: 10px; justify-content: center;
  border: 2px solid #7C5CE8; border-radius: 10px; padding: 8px 10px;
  color: #7C5CE8; font-size: .68rem; font-weight: 800;
}
.scr-qr i { font-size: 1.3rem; }
.scr-tickets { margin-top: 20px; display: grid; gap: 7px; }
.scr-tickets .tk {
  font-size: .62rem; font-weight: 700; border-radius: 8px; padding: 8px 10px;
  background: #F4EDDD; color: #A8894E; border-left: 4px solid #E8C56A;
}
.scr-tickets .tk.new { background: #FDE8DB; color: #D2571B; border-left-color: #F0862E; }
.scr-bars { margin-top: 24px; height: 84px; display: flex; align-items: flex-end; gap: 6px; padding: 0 4px; }
.scr-bars i { flex: 1; border-radius: 4px 4px 0 0; background: linear-gradient(180deg, #3D63DD, #7C5CE8); opacity: .85; }
.scr-kpi { display: flex; justify-content: space-between; align-items: baseline; margin-top: 10px; font-size: .62rem; font-weight: 700; color: #9A9AA5; }
.scr-kpi b { font-size: .88rem; color: #2E8B78; }
.scr-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.02rem; margin-bottom: 8px; display: flex; align-items: center; gap: 10px; }
.scr-card h3 span { font-size: .68rem; font-weight: 700; color: #fff; background: #2B2B33; border-radius: 100px; padding: 2px 10px; }
.scr-card p { color: var(--sub); font-size: .84rem; line-height: 1.8; margin: 0; }
.screens-note { text-align: center; color: var(--sub); font-size: .84rem; font-weight: 500; margin: 40px 0 0; }
.screens-note i { color: #3D63DD; }
@media (max-width: 575.98px) {
  .sec-screens { padding-top: 0; }
  .scr { min-height: 170px; }
}

/* ---------- 4画面: 役割タグ色 + 客席モック明細 ---------- */
.scr-card h3 span.r-register { background: #3D63DD; }
.scr-card h3 span.r-seat { background: #7C5CE8; }
.scr-card h3 span.r-kitchen { background: #E8810A; }
.scr-card h3 span.r-manager { background: #2E8B78; }
.scr-orders { margin-top: 20px; display: grid; gap: 8px; }
.scr-order { display: flex; justify-content: space-between; align-items: baseline; font-size: .66rem; font-weight: 700; color: #6E6E7A; }
.scr-order b { color: #2B2B33; }

/* =====================================================
   追加: 実機デバイスフレーム + 業種 + スクショショーケース
   ===================================================== */

/* ---------- デバイスフレーム（実画面差し替え用） ---------- */
.dframe {
  position: relative; margin: 0 auto; background: #1A1A20;
  box-shadow: 0 30px 70px rgba(43, 43, 51, .3), inset 0 0 0 2px #3A3A44;
  transition: transform .5s;
}
.dframe .df-screen { overflow: hidden; background: var(--cream); }
.dframe .df-screen img { display: block; width: 100%; height: 100%; object-fit: cover; }
.dframe.ipad {
  max-width: 430px; border-radius: 5.2%; padding: 4.2%;
  aspect-ratio: 768 / 1024; transform: rotate(1.5deg);
}
.dframe.ipad .df-screen { border-radius: 3.4%; }
.dframe.ipad .df-cam {
  position: absolute; top: 1.9%; left: 50%; transform: translateX(-50%);
  width: 5px; height: 5px; border-radius: 50%; background: #3A3A44;
}
.dframe.iphone {
  max-width: 250px; border-radius: 13.5%; padding: 3.4%;
  aspect-ratio: 390 / 844;
}
.dframe.iphone .df-screen { border-radius: 11%; }
.dframe.iphone .df-island {
  position: absolute; top: 2.4%; left: 50%; transform: translateX(-50%);
  width: 26%; height: 5.4%; border-radius: 100px; background: #1A1A20; z-index: 2;
}
.hero-visual .dframe.ipad { transform: rotate(1.5deg); }
.hero-visual:hover .dframe.ipad { transform: rotate(0deg); }

/* ---------- 業種セクション ---------- */
.sec-genres { background: var(--paper); }
.genre-chips {
  list-style: none; display: flex; flex-wrap: wrap; justify-content: center;
  gap: 12px; margin: 0 auto; padding: 0; max-width: 860px;
}
.genre-chips li {
  display: inline-flex; align-items: center; gap: 9px;
  background: #fff; border: 1.5px solid rgba(43, 43, 51, .08);
  border-radius: 100px; padding: 12px 22px; font-weight: 700; font-size: .92rem;
  box-shadow: var(--shadow-sm); transition: transform .25s, border-color .25s, color .25s;
  cursor: default;
}
.genre-chips li i { color: var(--main); font-size: 1.05rem; }
.genre-chips li:hover { transform: translateY(-4px); border-color: var(--main); }
.genre-note { text-align: center; color: var(--sub); font-size: .92rem; font-weight: 500; margin: 34px 0 0; }

/* ---------- スクショショーケース ---------- */
.sec-shots { background: var(--paper); }
.shots-row { align-items: flex-start; }
.shot-card { text-align: center; }
.shot-card .dframe.iphone { transition: transform .5s cubic-bezier(.22,1,.36,1); }
.shot-card:hover .dframe.iphone { transform: translateY(-10px) rotate(-1.2deg); }
.shot-card.is-middle .dframe.iphone { transform: scale(1.06); }
.shot-card.is-middle:hover .dframe.iphone { transform: scale(1.06) translateY(-10px) rotate(0deg); }
.shot-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.08rem; margin: 26px 0 10px; }
.shot-card p { color: var(--sub); font-size: .9rem; line-height: 1.9; margin: 0; }
.shots-note { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; margin-top: 54px; }
.shots-note-chip {
  display: inline-flex; align-items: center; gap: 8px;
  background: #fff; border: 1.5px solid rgba(43, 43, 51, .08);
  border-radius: 100px; padding: 10px 20px; font-size: .84rem; font-weight: 700;
  box-shadow: var(--shadow-sm);
}
.shots-note-chip i { color: var(--main); }
@media (max-width: 767.98px) {
  .shot-card.is-middle .dframe.iphone { transform: none; }
  .shot-card.is-middle:hover .dframe.iphone { transform: translateY(-10px); }
  .shots-note { margin-top: 34px; }
}

/* =====================================================
   追加: 中流CTAバンド / お問い合わせフォーム / 会社概要
   ===================================================== */

/* ---------- 中流CTAバンド ---------- */
.sec-bandcta { padding: 64px 0; }
.cta-band {
  display: flex; align-items: center; justify-content: space-between; gap: 26px;
  background: var(--grad); border-radius: 28px; padding: 44px 46px; color: #fff;
  box-shadow: var(--shadow-lg); position: relative; overflow: hidden;
}
.cta-band::before {
  content: ""; position: absolute; width: 240px; height: 240px; border-radius: 50%;
  border: 30px solid rgba(255,255,255,.08); top: -110px; right: -70px;
}
.cb-en { font-family: var(--font-head); font-weight: 700; font-size: .74rem; letter-spacing: .26em; margin-bottom: 10px; color: rgba(255,255,255,.85); }
.cb-title { font-family: var(--font-head); font-weight: 800; font-size: clamp(1.15rem, 2.2vw, 1.5rem); margin-bottom: 8px; }
.cb-sub { font-size: .88rem; color: rgba(255,255,255,.85); margin: 0; }
.cb-actions { display: flex; flex-wrap: wrap; gap: 12px; flex: none; position: relative; z-index: 1; }
.btn-sun-band { background: #fff; color: var(--main); border: none; font-weight: 800; }
.btn-sun-band:hover { color: var(--main-dark); transform: translateY(-2px); }
.btn-outline-band { border: 2px solid rgba(255,255,255,.8); color: #fff; background: transparent; }
.btn-outline-band:hover { background: #fff; color: var(--main); }
.sec-bandcta .cta-band .btn { padding: 14px 28px; font-size: .95rem; }
.sec-bandcta.alt .cta-band { background: linear-gradient(140deg, #232A46 0%, #2A2C60 60%, #3E3D8F 100%); }
.sec-bandcta.alt .cta-band::after {
  content: ""; position: absolute; width: 200px; height: 200px; border-radius: 50%;
  background: radial-gradient(circle, rgba(0,240,75,.14), transparent 70%); bottom: -80px; left: -50px;
}
.sec-bandcta.alt .btn-sun-band { background: var(--grad); color: #fff; }
.sec-bandcta.alt .btn-sun-band:hover { color: #fff; }

/* ---------- フォーム ---------- */
.sec-form { background: var(--cream); }
.form-lead { color: var(--sub); line-height: 2; margin: 0 0 26px; }
.form-info { list-style: none; margin: 0; padding: 0; display: grid; gap: 12px; color: var(--sub); font-size: .88rem; font-weight: 500; }
.form-info i { color: var(--main); margin-right: 8px; }
.form-card {
  background: #fff; border-radius: var(--radius); padding: 34px 32px 30px;
  border: 1.5px solid rgba(43,43,51,.06); box-shadow: var(--shadow-md);
}
.f-label { display: flex; align-items: center; gap: 8px; font-weight: 700; font-size: .84rem; margin-bottom: 7px; }
.f-req { font-size: .64rem; font-weight: 800; color: #fff; background: var(--main); border-radius: 100px; padding: 2px 10px; }
.f-any { font-size: .64rem; font-weight: 700; color: var(--sub); background: var(--cream); border-radius: 100px; padding: 2px 10px; }
.f-input {
  width: 100%; border: 1.5px solid rgba(43,43,51,.14); border-radius: 14px;
  padding: 13px 16px; font-size: .95rem; font-family: var(--font-body);
  background: var(--paper); transition: border-color .25s, box-shadow .25s;
}
.f-input:focus { outline: none; border-color: var(--main); box-shadow: 0 0 0 4px rgba(61,99,221,.12); }
.f-input.is-invalid { border-color: #E05260; box-shadow: 0 0 0 4px rgba(224,82,96,.1); }
textarea.f-input { resize: vertical; min-height: 120px; }
.f-recaptcha { margin: 20px 0 4px; }
.rc-placeholder {
  display: inline-flex; align-items: center; gap: 10px;
  border: 1.5px dashed rgba(43,43,51,.2); border-radius: 12px; padding: 12px 18px;
  color: var(--sub); font-size: .8rem; font-weight: 500; background: var(--cream);
}
.rc-placeholder i { color: #1E7A4F; font-size: 1.1rem; }
.f-privacy { display: flex; align-items: flex-start; gap: 10px; margin: 14px 0 20px; font-size: .84rem; color: var(--sub); cursor: pointer; }
.f-privacy input { margin-top: 4px; width: 17px; height: 17px; accent-color: var(--main); flex: none; }
.f-privacy a { color: var(--main); font-weight: 700; }
.f-submit { width: 100%; padding: 16px; font-size: 1rem; }
.f-note { color: var(--sub); font-size: .74rem; margin: 14px 0 0; text-align: center; }
.form-done { text-align: center; padding: 60px 20px; }
.form-done i { font-size: 3.4rem; color: #1E7A4F; margin-bottom: 18px; }
.form-done h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.3rem; margin-bottom: 10px; }
.form-done p { color: var(--sub); margin-bottom: 24px; }
.form-alert {
  background: #FDEDEE; color: #B3273A; border: 1.5px solid #F2C7CD; border-radius: 12px;
  padding: 10px 16px; font-size: .82rem; font-weight: 700; margin-bottom: 14px;
}

/* ---------- 会社概要ページ ---------- */
.sub-hero {
  position: relative; overflow: hidden; padding: 170px 0 90px;
  background: linear-gradient(180deg, var(--cream) 0%, var(--paper) 100%);
}
.sub-hero .hero-eyecatch { top: 46%; }
.sub-hero-title { font-family: var(--font-head); font-weight: 900; font-size: clamp(2rem, 4.4vw, 3rem); margin-bottom: 16px; }
.sub-hero-lead { color: var(--sub); line-height: 2; margin: 0; }
.company-table { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1.5px solid rgba(43,43,51,.06); box-shadow: var(--shadow-sm); }
.company-table .ct-row { display: flex; border-bottom: 1px solid rgba(43,43,51,.07); }
.company-table .ct-row:last-child { border-bottom: none; }
.company-table .ct-row:nth-child(odd) { background: var(--paper); }
.ct-dt { flex: none; width: 220px; padding: 20px 26px; font-weight: 800; font-size: .88rem; color: var(--main); background: var(--cream); border-right: 1px solid rgba(43,43,51,.06); }
.ct-dd { padding: 20px 26px; font-size: .92rem; line-height: 1.9; }
.policy-card { background: #fff; border-radius: var(--radius); padding: 34px 30px; height: 100%; border: 1.5px solid rgba(43,43,51,.06); box-shadow: var(--shadow-sm); transition: transform .3s, box-shadow .3s; }
.policy-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.policy-card .p-ic { width: 58px; height: 58px; border-radius: 18px; display: grid; place-items: center; color: #fff; font-size: 1.4rem; margin-bottom: 18px; background: var(--grad); }
.policy-card h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.08rem; margin-bottom: 10px; }
.policy-card p { color: var(--sub); font-size: .92rem; line-height: 1.95; margin: 0; }
.map-card { border-radius: var(--radius); overflow: hidden; border: 1.5px solid rgba(43,43,51,.06); box-shadow: var(--shadow-sm); background: #fff; }
.map-card svg { display: block; width: 100%; }
.map-body { padding: 24px 28px; }
.map-body h3 { font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; margin-bottom: 6px; }
.map-body p { color: var(--sub); font-size: .88rem; line-height: 1.9; margin: 0; }

@media (max-width: 991.98px) {
  .cta-band { flex-direction: column; align-items: flex-start; padding: 36px 30px; }
  .ct-dt { width: 160px; padding: 16px 18px; }
  .ct-dd { padding: 16px 18px; }
}
@media (max-width: 575.98px) {
  .sec-bandcta { padding: 44px 0; }
  .cta-band { padding: 30px 22px; }
  .cb-actions { width: 100%; }
  .cb-actions .btn { flex: 1; justify-content: center; padding: 13px 10px; }
  .form-card { padding: 26px 18px 22px; }
  .company-table .ct-row { flex-direction: column; }
  .ct-dd { border-top: 1px dashed rgba(43,43,51,.1); }
}

/* =====================================================
   追加: 実機フレーム合成（img/sp.png = iPhone / img/tab.png = iPad）
   構造: .devframe > .df-shot-wrap(img=スクショ) + img.df-frame(フレーム)
   スクショ差し替え: img/shot-*.png を同名上書きのみ
   窓位置の微調整: --sx/--sy/--sw/--sh を編集
   ===================================================== */
.devframe { position: relative; display: block; margin: 0 auto; line-height: 0; }
.devframe .df-frame { position: relative; width: 100%; display: block; z-index: 2; pointer-events: none; }
.devframe .df-shot-wrap {
  position: absolute; z-index: 1; overflow: hidden;
  left: var(--sx); top: var(--sy); width: var(--sw); height: var(--sh);
  border-radius: var(--sr, 2.4%);
  background: #F2F3FA;
}
.devframe .df-shot-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: 50% 0%; display: block; }

/* iPhoneフレーム: 透過窓を実測値で指定（2796x5627） */
.devframe.sp { max-width: 260px; }
.devframe.sp { --sx: 5%; --sy: 5.84%; --sw: 90%; --sh: 90.31%; --sr: 2.2%; }

/* iPadフレーム: 窓なしフレームのためベゼル推定値（876x1200）*/
.devframe.tab { max-width: 400px; }
.devframe.tab { --sx: 4.8%; --sy: 6.4%; --sw: 90.4%; --sh: 87.2%; --sr: 4.5%; }
.devframe.tab .df-shot-wrap img { object-position: 50% 50%; }

/* ヒーロー配置（チルト対象） */
.hero-visual .devframe.tab { width: min(100%, 400px); will-change: transform; transition: transform .5s; }
.hero-visual .devframe.tab:hover { transform: rotate(0deg); }

/* ショーケース */
.shot-card .devframe.sp { transition: transform .5s cubic-bezier(.22,1,.36,1); }
.shot-card:hover .devframe.sp { transform: translateY(-10px) rotate(-1.2deg); }
.shot-card.is-middle .devframe.sp { transform: scale(1.05); }
.shot-card.is-middle:hover .devframe.sp { transform: scale(1.05) translateY(-8px) rotate(0deg); }
@media (max-width: 767.98px) {
  .shot-card.is-middle .devframe.sp { transform: none; }
  .shot-card.is-middle:hover .devframe.sp { transform: translateY(-10px); }
  .devframe.sp { max-width: 230px; }
}

/* tab.pngは透過窓がないため、スクショを前面に（sp.pngは窓つきなのでフレーム前面のまま） */
.devframe.tab .df-frame { z-index: 1; }
.devframe.tab .df-shot-wrap { z-index: 2; }

/* 実機フレームサイズに合わせたチップ位置の微調整 */
.hero-visual .chip-a { top: -6px; right: -4px; }
.hero-visual .chip-b { bottom: 60px; left: -34px; }
.hero-visual .chip-c { bottom: -14px; right: 22px; }

/* 見出しの改行制御と可読性 */
.hero-title { font-size: clamp(1.75rem, 4vw, 2.65rem); letter-spacing: 0; }
.hero-title .grad-text { filter: drop-shadow(0 2px 14px rgba(255, 253, 249, .95)) drop-shadow(0 0 4px rgba(255, 253, 249, .8)); }
.hero-visual .chip-c { bottom: -16px; right: -6px; }

/* グラデ見出しの末端を濃くして可読性向上 */
.hero-title .grad-text {
  background: linear-gradient(100deg, #3D63DD 0%, #7C5CE8 55%, #E8551A 100%);
  -webkit-background-clip: text; background-clip: text;
}

/* SP実画面の位置微調整（比率差のクロップ配分） */
.df-shot-wrap img.osp-top { object-position: 50% 0%; }
.df-shot-wrap img.osp-high { object-position: 50% 10%; }
.df-shot-wrap img.osp-bottom { object-position: 50% 100%; }

/* =====================================================
   追加: CTA全画面背景化 / steps横余白 / 一日SP余白 / FAQ展開形状 / to-top
   ===================================================== */

/* ---------- 中流CTA: カード→セクション全画面背景 ---------- */
.sec-bandcta { padding: 76px 0; background: var(--grad); color: #fff; }
.sec-bandcta.alt { background: linear-gradient(140deg, #232A46 0%, #2A2C60 60%, #3E3D8F 100%); }
.sec-bandcta .cta-band {
  background: transparent; box-shadow: none; border-radius: 0; padding: 0;
}
.sec-bandcta .cta-band::before, .sec-bandcta .cta-band::after { display: none; }
.sec-bandcta.alt .cta-band::before, .sec-bandcta.alt .cta-band::after { display: none; }

/* ---------- 導入3ステップ: PCで横方向の余白を追加（li自体がカードのためflex+margin） ---------- */
@media (min-width: 768px) {
  .steps { display: flex; --bs-gutter-x: 0rem; margin-inline: 0; }
  .steps > li { flex: 1 1 0; min-width: 0; margin-inline: 16px; }
}

/* ---------- POSのある一日: SPで左右の余白を確保 ---------- */
@media (max-width: 767.98px) {
  .day-band .container-xl { padding-left: 20px; padding-right: 20px; }
  .day-card { padding: 24px 18px 22px; }
  .day-inner { padding: 70px 0 90px; }
}

/* ---------- FAQ: 展開時は角丸カード形状へ（SPの文字切れ解消） ---------- */
.accordion-faq .accordion-item:has(.collapse.show) { border-radius: 26px !important; }
.accordion-faq .accordion-item:has(.collapse.show) .accordion-button { border-radius: 26px 26px 0 0 !important; }
@media (max-width: 575.98px) {
  .accordion-faq .accordion-button { padding: 16px 52px 16px 20px; }
  .accordion-faq .accordion-body { padding: 2px 22px 22px 22px; }
  .accordion-faq .accordion-item:has(.collapse.show) { border-radius: 22px !important; }
  .accordion-faq .accordion-item:has(.collapse.show) .accordion-button { border-radius: 22px 22px 0 0 !important; }
}

/* ---------- 上に戻るボタン（スクロール検知・両表示） ---------- */
.to-top {
  position: fixed; right: 22px; bottom: 22px; z-index: 1050;
  width: 52px; height: 52px; border-radius: 50%; border: none;
  background: var(--grad); color: #fff; font-size: 1.15rem; cursor: pointer;
  box-shadow: 0 10px 28px rgba(61, 99, 221, .42);
  opacity: 0; visibility: hidden; transform: translateY(16px);
  transition: opacity .35s, transform .35s, visibility .35s;
}
.to-top.is-show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { color: #fff; transform: translateY(-4px); box-shadow: 0 16px 34px rgba(61, 99, 221, .5); }
@media (max-width: 767.98px) {
  .to-top { right: 14px; bottom: calc(86px + env(safe-area-inset-bottom)); width: 48px; height: 48px; font-size: 1.05rem; }
}

/* =====================================================
   追加: steps高さ揃え / FVボタンSP下部固定 / チップはみ出し修正
   ===================================================== */

/* ---------- 導入3ステップ: PCで高さを揃える ---------- */
@media (min-width: 768px) {
  .steps { align-items: stretch; }
  .steps > li { height: auto; display: flex; flex-direction: column; }
}

/* ---------- FV: SPではDL・予約ボタンをセクション下部に配置 ---------- */
/* absoluteの基準が .hero-inner になるため、visualに下余白を確保して重なりを防ぐ */
@media (max-width: 767.98px) {
  .hero { padding-bottom: 48px; }
  .hero-visual { margin-top: 28px; margin-bottom: 180px; }
  .hero-cta-row {
    position: absolute; left: 12px; right: 12px; bottom: 44px; margin: 0;
    flex-direction: column; gap: 10px;
  }
  .hero-cta-row .btn { width: 100%; }
}

/* ---------- タブレット周りのフローティングチップ: はみ出し修正 ---------- */
/* SPでは .hero-visual が画面幅いっぱいになるため、内側オフセットで画面内に収める */
@media (max-width: 767.98px) {
  .float-chip { transform: scale(.88); transform-origin: center; }
  .hero-visual .chip-a { top: -10px; right: 10px; }
  .hero-visual .chip-b { bottom: 64px; left: 10px; }
  .hero-visual .chip-c { bottom: 10px; right: 10px; }
}

/* About: 代表者メッセージ */
.sec-ceo { background: var(--cream); }
.ceo-card { display: flex; gap: 30px; align-items: flex-start; background: #fff; border-radius: var(--radius); padding: 40px 38px; border: 1.5px solid rgba(43,43,51,.06); box-shadow: var(--shadow-sm); max-width: 820px; margin: 0 auto; }
.ceo-ava { flex: none; width: 72px; height: 72px; border-radius: 50%; background: var(--grad); color: #fff; display: grid; place-items: center; font-family: var(--font-head); font-weight: 800; font-size: 1.4rem; }
.ceo-card b { display: block; font-family: var(--font-head); font-weight: 800; font-size: 1.05rem; margin-bottom: 16px; }
.ceo-card p { color: var(--sub); font-size: .92rem; line-height: 2; margin-bottom: 14px; }
.ceo-card p:last-child { margin-bottom: 0; }
@media (max-width: 767.98px) {
  .ceo-card { flex-direction: column; padding: 30px 24px; }
  .ceo-ava { margin-bottom: 14px; }
}

.pp-wrap { max-width: 860px; }
.pp-h { font-size: 1.15rem; font-weight: 800; margin: 2.2rem 0 .7rem; padding-left: .8rem; border-left: 4px solid #3D63DD; }
.pp-p { line-height: 1.95; color: #3b4450; }
.pp-date { margin-top: 2.5rem; color: #6b7280; font-size: .9rem; text-align: right; }

.sec-ai { background: linear-gradient(180deg, #F5F7FF 0%, #FFF8F2 100%); }
.sec-ai .ai-points .feature-card { height: 100%; padding: 1.4rem; }
.sec-ai .ai-points .feature-card h3 { font-size: 1.05rem; }
.sec-ai .ai-points .feature-card p { font-size: .9rem; }
.sec-ai .ai-phone { max-width: 280px; }
