@charset "UTF-8";

/* ============================================
   ぜっとるショート LP — style.css
   MIREAL株式会社
   ============================================ */

/* --- Reset & Base --- */
:root {
  --white: #ffffff;
  --bg: #ffffff;
  --bg2: #f7f7f9;
  --text: #1a1a2e;
  --text2: #4a4a5a;
  --text3: #7a7a8a;
  --border: #e2e4ea;
  --accent: #0066ff;
  --accent2: #6c3cff;
  --accent3: #ff3a6e;
  --g1: linear-gradient(135deg, #0066ff 0%, #6c3cff 100%);
  --g3: linear-gradient(135deg, #0066ff 0%, #6c3cff 50%, #ff3a6e 100%);
}

*, *::before, *::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: 'Zen Kaku Gothic New', 'Noto Sans JP', 'Hiragino Kaku Gothic ProN', 'Meiryo', sans-serif;
  background: var(--bg);
  color: var(--text);
  overflow-x: hidden;
  line-height: 1.8;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* --- Buttons --- */
.btn-p {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 48px;
  background: var(--g1);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  border-radius: 100px;
  text-decoration: none;
  transition: transform 0.25s, box-shadow 0.25s;
  letter-spacing: 0.04em;
  border: none;
  cursor: pointer;
  white-space: nowrap;
}

.btn-p:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 102, 255, 0.25);
}

.btn-s {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 18px 48px;
  background: transparent;
  color: var(--text);
  font-weight: 600;
  font-size: 1.05rem;
  border-radius: 100px;
  text-decoration: none;
  border: 1px solid var(--border);
  transition: border-color 0.25s, background 0.25s;
  white-space: nowrap;
}

.btn-s:hover {
  border-color: var(--accent);
  background: rgba(0, 102, 255, 0.03);
}

.btn-full {
  width: 100%;
  justify-content: center;
  font-size: 0.95rem;
  padding: 14px 24px;
}

/* --- Sections --- */
section {
  padding: 100px 20px;
  position: relative;
}

.si {
  max-width: 1100px;
  margin: 0 auto;
}

.sl {
  font-size: 0.8rem;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: 0.2em;
  font-weight: 700;
  margin-bottom: 12px;
}

.st {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.sd {
  font-size: 1.05rem;
  color: var(--text2);
  max-width: 700px;
  line-height: 1.9;
}

/* --- Split Layout (Photo + Text) --- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-bottom: 48px;
}

.split.rev .split-img { order: 2; }
.split.rev .split-text { order: 1; }

.split-img {
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.08);
}

.split-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4 / 3;
}

/* ===========================
   HERO
   =========================== */
.hero {
  padding: 0;
  background: var(--bg);
}

/* --- Video block: full-width, video as background behind logo --- */
.hero-video-block {
  position: relative;
  width: 100%;
  height: 56vw;
  max-height: 540px;
  min-height: 320px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  z-index: 1;
}

.hero-logo {
  position: relative;
  z-index: 2;
  animation: fadeInUp 0.8s 0.1s ease both;
}

.hero-logo img {
  width: min(460px, 72vw);
  filter:
    drop-shadow(0 2px 12px rgba(0, 0, 0, 0.5))
    drop-shadow(0 0 40px rgba(0, 0, 0, 0.25));
}

/* --- Body: text content below video --- */
.hero-body {
  max-width: 900px;
  margin: 0 auto;
  padding: 56px 20px 80px;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

/* (hero-logo styles are now in the hero-video-block section above) */

.hero-title {
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 12px;
  animation: fadeInUp 0.8s 0.2s ease both;
  letter-spacing: -0.02em;
}

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

.hero-sub {
  font-size: clamp(0.95rem, 1.8vw, 1.25rem);
  color: var(--text2);
  margin-bottom: 40px;
  font-weight: 400;
  animation: fadeInUp 0.8s 0.35s ease both;
}

.hero-stats {
  display: flex;
  gap: 48px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.5s ease both;
  margin-bottom: 48px;
}

.hero-stat {
  text-align: center;
}

.hero-stat-val {
  font-size: 2.8rem;
  font-weight: 900;
  background: var(--g1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.2;
}

.hero-stat-val span {
  font-size: 1.2rem;
}

.hero-stat-lbl {
  font-size: 0.85rem;
  color: var(--text3);
  margin-top: 4px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
  animation: fadeInUp 0.8s 0.65s ease both;
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(30px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===========================
   PAIN
   =========================== */
.pain { background: var(--bg); }

.pain-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pain-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 32px;
  transition: border-color 0.3s, transform 0.3s;
}

.pain-card:hover {
  border-color: rgba(255, 58, 110, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.pain-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--accent3);
}

.pain-card p {
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.8;
}

/* ===========================
   SOLUTION
   =========================== */
.solution { background: var(--bg2); overflow: hidden; }

.solution-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.sol-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 48px 32px 40px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, border-color 0.3s, box-shadow 0.3s;
}

.sol-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0, 102, 255, 0.3);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.sol-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--g1);
  opacity: 0;
  transition: opacity 0.3s;
}

.sol-card:hover::before { opacity: 1; }

.sol-card h3 {
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 8px;
}

.sol-v {
  font-size: 2.4rem;
  font-weight: 900;
  background: var(--g1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  margin-bottom: 16px;
  line-height: 1.2;
}

.sol-v span {
  font-size: 1.2rem;
  -webkit-text-fill-color: inherit;
}

.sol-card p {
  font-size: 0.95rem;
  color: var(--text2);
  line-height: 1.8;
}

/* ===========================
   PRICING
   =========================== */
.pricing { background: var(--bg); }

.pricing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.pc {
  border-radius: 24px;
  padding: 48px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.3s, box-shadow 0.3s;
  background: var(--bg2);
  border: 1px solid var(--border);
}

.pc:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.06);
}

.pc.rec {
  border: 2px solid var(--accent);
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.1);
  background: var(--white);
}

.ribbon {
  position: absolute;
  top: 20px;
  right: -32px;
  background: var(--g1);
  color: var(--white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 44px;
  transform: rotate(45deg);
}

.pn {
  font-size: 0.85rem;
  color: var(--accent);
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-bottom: 16px;
}

.pa {
  font-size: 3.2rem;
  font-weight: 900;
  line-height: 1.1;
  margin-bottom: 4px;
}

.pa span { font-size: 1.1rem; font-weight: 500; }

.pu {
  font-size: 0.9rem;
  color: var(--text3);
  margin-bottom: 28px;
}

.pf { list-style: none; text-align: left; margin-bottom: 32px; }

.pf li {
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
  font-size: 0.93rem;
  color: var(--text2);
  display: flex;
  align-items: center;
  gap: 10px;
}

.pf li::before {
  content: '\2713';
  color: var(--accent);
  font-weight: 700;
  font-size: 1rem;
  flex-shrink: 0;
}

.pf li.off { color: var(--text3); opacity: 0.5; }
.pf li.off::before { content: '\2014'; color: var(--text3); }

/* ===========================
   USE CASES
   =========================== */
.usecases { background: var(--bg2); }

.uc-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.uc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 40px 28px;
  text-align: center;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.uc:hover {
  border-color: rgba(108, 60, 255, 0.3);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.uc h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: 12px; }
.uc p { font-size: 0.9rem; color: var(--text2); line-height: 1.8; }

/* ===========================
   FLOW
   =========================== */
.flow { background: var(--bg); }

.flow-steps {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  position: relative;
}

.flow-steps::before {
  content: '';
  position: absolute;
  top: 44px;
  left: 10%;
  right: 10%;
  height: 2px;
  background: var(--g1);
  opacity: 0.2;
}

.fs { text-align: center; position: relative; z-index: 1; }

.fn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--g1);
  color: var(--white);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.fs h3 { font-size: 1.05rem; font-weight: 700; margin-bottom: 8px; }
.fs p { font-size: 0.85rem; color: var(--text2); line-height: 1.7; padding: 0 8px; }

/* ===========================
   WHY MIREAL
   =========================== */
.why { background: var(--bg2); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.wc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 36px 28px;
  transition: border-color 0.3s, transform 0.3s, box-shadow 0.3s;
}

.wc:hover {
  border-color: rgba(0, 102, 255, 0.2);
  transform: translateY(-4px);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.04);
}

.wc h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 12px; }
.wc p { font-size: 0.9rem; color: var(--text2); line-height: 1.8; }

/* ===========================
   FAQ
   =========================== */
.faq { background: var(--bg); }

.faq-list { max-width: 800px; margin: 48px auto 0; }

.faq-item { border-bottom: 1px solid var(--border); }

.faq-q {
  width: 100%;
  background: none;
  border: none;
  color: var(--text);
  font-size: 1.05rem;
  font-weight: 600;
  padding: 24px 0;
  text-align: left;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: inherit;
  line-height: 1.6;
}

.faq-q::after {
  content: '+';
  font-size: 1.4rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.3s;
}

.faq-item.open .faq-q::after { content: '\2212'; }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s;
}

.faq-item.open .faq-a {
  max-height: 300px;
  padding-bottom: 24px;
}

.faq-a p { font-size: 0.95rem; color: var(--text2); line-height: 1.8; }

/* ===========================
   CTA
   =========================== */
.cta-sec { position: relative; padding: 0; overflow: hidden; }

.cta-bg {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
}

.cta-ov {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.85) 0%,
    rgba(240, 242, 255, 0.9) 100%
  );
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
}

.cta-inner { max-width: 700px; }

.cta-inner h2 {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 900;
  margin-bottom: 20px;
  line-height: 1.4;
}

.cta-inner p {
  color: var(--text2);
  font-size: 1.05rem;
  margin-bottom: 40px;
  line-height: 1.8;
}

/* ===========================
   FOOTER
   =========================== */
.footer {
  background: var(--bg2);
  padding: 48px 20px 32px;
  text-align: center;
  border-top: 1px solid var(--border);
}

.footer-logo a { display: inline-block; }
.footer-logo img { width: 120px; height: auto; margin: 0 auto 16px; }
.footer-copy { font-size: 0.8rem; color: var(--text3); }

/* ===========================
   FLOATING CTA
   =========================== */
.float-cta {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.3s, transform 0.3s;
  pointer-events: none;
}

.float-cta.vis {
  opacity: 1;
  transform: translateY(0);
  pointer-events: all;
}

.float-cta a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 32px;
  background: var(--g1);
  color: var(--white);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 100px;
  text-decoration: none;
  box-shadow: 0 8px 32px rgba(0, 102, 255, 0.25);
  transition: transform 0.2s;
  white-space: nowrap;
}

.float-cta a:hover { transform: scale(1.05); }

/* ===========================
   SCROLL REVEAL
   =========================== */
.rv {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.rv.vis {
  opacity: 1;
  transform: translateY(0);
}

/* ===========================
   RESPONSIVE — Tablet
   =========================== */
@media (max-width: 1024px) {
  .pricing-grid { gap: 16px; }
  .pc { padding: 40px 24px; }
  .pa { font-size: 2.6rem; }
  .split { gap: 40px; }
}

@media (max-width: 900px) {
  .split {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .split.rev .split-img,
  .split.rev .split-text { order: unset; }

  .solution-cards,
  .pricing-grid,
  .why-grid,
  .pain-grid {
    grid-template-columns: 1fr;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
  }

  .solution-cards { max-width: none; grid-template-columns: 1fr; }
  .pricing-grid { max-width: 480px; }

  .uc-grid { grid-template-columns: repeat(2, 1fr); }

  .flow-steps {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .flow-steps::before { display: none; }

  .hero-stats { gap: 32px; }
  .hero-stat-val { font-size: 2.2rem; }

  .st { word-break: keep-all; overflow-wrap: break-word; }
}

/* ===========================
   RESPONSIVE — Mobile
   =========================== */
@media (max-width: 600px) {
  section { padding: 72px 16px; }

  .hero-video-block { height: 52vw; min-height: 220px; }
  .hero-logo img { width: min(280px, 68vw); }
  .hero-body { padding: 40px 16px 60px; }
  .hero-title { font-size: 1.8rem; }
  .hero-sub { font-size: 0.95rem; }
  .hero-stats { gap: 20px; margin-bottom: 36px; }
  .hero-stat-val { font-size: 1.8rem; }
  .hero-stat-val span { font-size: 0.9rem; }
  .hero-stat-lbl { font-size: 0.75rem; }

  .hero-cta {
    flex-direction: column;
    align-items: center;
  }

  .btn-p, .btn-s {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    padding: 16px 32px;
    font-size: 0.95rem;
  }

  .st { font-size: 1.5rem; word-break: keep-all; }
  .sd { font-size: 0.95rem; }
  .sl { font-size: 0.7rem; }

  .pain-card { padding: 28px 24px; }
  .pain-card h3 { font-size: 1rem; }
  .pain-card p { font-size: 0.9rem; }

  .sol-card { padding: 36px 24px 32px; }
  .sol-card h3 { font-size: 1.2rem; }
  .sol-v { font-size: 2rem; }

  .pc { padding: 36px 24px; }
  .pa { font-size: 2.8rem; }
  .pf li { font-size: 0.88rem; padding: 8px 0; }

  .uc-grid,
  .flow-steps { grid-template-columns: 1fr; }

  .uc { padding: 32px 24px; }
  .uc h3 { font-size: 1.05rem; }

  .wc { padding: 28px 24px; }

  .split-img { border-radius: 14px; }

  .float-cta {
    bottom: 16px;
    right: 16px;
    left: 16px;
  }
  .float-cta a {
    justify-content: center;
    width: 100%;
  }

  .cta-bg { height: 400px; }
  .cta-inner h2 { font-size: 1.5rem; }
  .cta-inner p { font-size: 0.95rem; }

  .footer-logo img { width: 100px; }
}

/* Prevent awkward line breaks in Japanese */
.st, .hero-title, .hero-sub, .cta-inner h2, .pain-card h3 {
  word-break: keep-all;
  overflow-wrap: break-word;
}
