/*
 * home-page.css — トップ / CV-LP 専用UI（hero v2、キャンペーン帯など）
 */

/* --- トップページ: ヒーロー v2（ベースレイアウト） ---
 * LP テンプレートは lp-header 専用（whale-lp.css の body.whale-lp-page）
 */

.hero--home-v2 {
  --hero-v2-dark: #0f172a;
  position: relative;
  display: flex;
  align-items: center;
  min-height: clamp(28rem, 82vh, 42.5rem);
  height: auto;
  padding: clamp(3.5rem, 8vw, 5rem) 0;
  background: var(--hero-v2-dark);
  border-bottom: none;
  overflow: hidden;
}

.hero--home-v2 .hero__blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  opacity: 0.55;
}

.hero--home-v2 .hero__blob--1 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, #4f46e5 0%, transparent 70%);
  top: -200px;
  right: -100px;
}

.hero--home-v2 .hero__blob--2 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, #7c3aed 0%, transparent 70%);
  bottom: -150px;
  right: 200px;
}

.hero--home-v2 .hero__blob--3 {
  width: 400px;
  height: 400px;
  background: radial-gradient(circle, #0ea5e9 0%, transparent 70%);
  top: 50px;
  right: 400px;
  opacity: 0.3;
}

.hero--home-v2 .hero__dots {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
  background-size: 28px 28px;
  pointer-events: none;
}

.hero--home-v2 .hero__photo-v2 {
  position: absolute;
  z-index: 2;
  right: 0;
  top: 0;
  bottom: 0;
  width: 54%;
  overflow: hidden;
  pointer-events: none;
  -webkit-mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 10%,
    rgba(0, 0, 0, 0.92) 20%,
    #000 30%,
    #000 100%
  );
  mask-image: linear-gradient(
    90deg,
    transparent 0%,
    rgba(0, 0, 0, 0.45) 10%,
    rgba(0, 0, 0, 0.92) 20%,
    #000 30%,
    #000 100%
  );
}

.hero--home-v2 .hero__photo-v2::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    90deg,
    rgba(15, 23, 42, 0.9) 0%,
    rgba(15, 23, 42, 0.55) 18%,
    rgba(15, 23, 42, 0.22) 42%,
    rgba(15, 23, 42, 0.06) 68%,
    transparent 100%
  );
}

.hero--home-v2 .hero__photo-v2 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.62;
  filter: saturate(0.78) brightness(0.96);
}

/* ヒーロー右：円形サムネイル（写真グラデの下・テキストの上） */

.hero--home-v2 .hero__work-bubbles {
  position: absolute;
  right: clamp(32%, 40vw, 48%);
  top: auto;
  bottom: clamp(1.75rem, 8vh, 3.5rem);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
  margin: 0;
  padding: 0;
  transform: none;
  pointer-events: none;
}

.hero--home-v2 .hero__work-bubble {
  margin: 0;
  flex-shrink: 0;
  width: clamp(104px, 13vw, 156px);
  height: clamp(104px, 13vw, 156px);
  overflow: hidden;
  border: 4px solid rgba(255, 255, 255, 0.45);
  border-radius: 50%;
  background: #1e293b;
  box-shadow:
    0 6px 20px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(255, 255, 255, 0.08);
}

.hero--home-v2 .hero__work-bubble img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero--home-v2 .hero__work-bubble--1 {
  position: relative;
  z-index: 1;
  margin-right: clamp(0px, 2vw, 16px);
}

.hero--home-v2 .hero__work-bubble--2 {
  position: relative;
  z-index: 2;
  margin-top: calc(-1 * clamp(104px, 13vw, 156px) * 0.05);
  margin-left: clamp(8px, 3vw, 24px);
}

.hero--home-v2 .hero__inner {
  position: relative;
  z-index: 3;
  width: min(1200px, 92%);
  margin: 0 auto;
  padding: 0;
  color: #fff;
  font-weight: 800;
}

.hero--home-v2 .hero__headline {
  margin: 0 0 14px;
  color: #fff;
  font-size: clamp(2rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.035em;
}

.hero--home-v2 .hero__sub {
  max-width: 540px;
  margin: 0 0 22px;
  color: #fff;
  font-size: clamp(0.9375rem, 1.9vw, 1.125rem);
  font-weight: 800;
  line-height: 1.75;
}

.hero--home-v2 .hero__pricing {
  margin: 0 0 28px;
}

.hero__pricing-image {
  max-width: 600px;
  width: 100%;
  height: auto;
}

.hero-below-lead {
  margin: 0;
  padding: 0 5%clamp(1.25rem, 3vw, 1.75rem);
  background: #fff;
  text-align: center;
  font-size: clamp(0.8125rem, 1.1vw + 0.55rem, 0.9375rem);
  line-height: 1.7;
  color: #334155;
}

.hero-below-image {
  text-align: center;
  background: #fff;
}

.hero-below-image__img {
  max-width: 650px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}


.hero--home-v2 .hero__ctas {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  max-width: 540px;
  margin: clamp(1.25rem, 3.5vw, 2rem) 0 0;
}

.hero--home-v2 .hero__ctas .btn-block {
  width: 100%;
  min-width: 0;
  padding: 15px 20px;
  font-size: 1.125rem;
  line-height: 1.2;
}

/* キャンペーン帯（ヒーロー上・料金後）。.whale-lp 内は whale-lp.css でコンパクト上書き */

.hero-campaign--top .hero-campaign__inner {
  padding: 0.75rem 1rem;
}

.hero-campaign {
  background: linear-gradient(180deg, #fff8f0 0%, #fff 100%);
}

.hero-campaign__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.625rem;
  padding: clamp(1.5rem, 3vw, 2.25rem) 1rem;
  text-align: center;
}

.hero-campaign__obi {
  margin: 0;
  width: 100%;
  max-width: 52rem;
}

.hero-campaign__obi-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.2em 0.6em;
  width: 100%;
  padding: 0.75rem clamp(1rem, 3vw, 1.75rem);
  color: #111;
  font-size: clamp(0.9375rem, 2.1vw, 1.25rem);
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  text-decoration: none;
}

.hero-campaign__obi-inner::after {
  content: "›";
  flex-shrink: 0;
  margin-left: 0.2em;
  font-size: 1.35em;
  font-weight: 400;
  line-height: 1;
  transition: transform 0.2s ease;
}

.hero-campaign__obi-inner:hover,
.hero-campaign__obi-inner:focus-visible {
  color: #111;
}

.hero-campaign__obi-inner:hover::after,
.hero-campaign__obi-inner:focus-visible::after {
  transform: translateX(2px);
}

.hero-campaign__obi-sep {
  opacity: 0.45;
  font-weight: 400;
}

.hero-campaign__obi-em {
  color: #c2410c;
  font-size: 1.05em;
  font-weight: 800;
}

.hero-campaign--after-pricing {
  padding-bottom: clamp(2rem, 4.5vw, 3.5rem);
}

.campaign-banner__link {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.campaign-banner__link:hover,
.campaign-banner__link:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.14);
}

.campaign-banner__link--embedded {
  width: 100%;
  max-width: 720px;
  margin: 0 auto;
  box-shadow: 0 6px 20px rgba(15, 23, 42, 0.12);
}

.campaign-banner__image {
  display: block;
  width: 100%;
  height: auto;
}

@media (max-width: 1100px) {
.hero--home-v2 .hero__work-bubbles {
    right: 28%;
  }

.hero--home-v2 .hero__work-bubble {
    width: clamp(88px, 11vw, 120px);
    height: clamp(88px, 11vw, 120px);
    border-width: 3px;
  }

.hero--home-v2 .hero__work-bubble--2 {
    margin-top: calc(-1 * clamp(88px, 11vw, 120px) * 0.05);
  }
}

@media (max-width: 960px) {
.hero--home-v2 .hero__work-bubbles {
    display: none;
  }
}

@media (max-width: 768px) {
.hero--home-v2 {
    min-height: 0;
    padding: 60px 0;
  }

.hero--home-v2 .hero__photo-v2 {
    width: 100%;
    opacity: 1;
    -webkit-mask-image: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.55) 16%,
      #000 38%,
      #000 70%,
      rgba(0, 0, 0, 0.5) 90%,
      transparent 100%
    );
    mask-image: linear-gradient(
      180deg,
      transparent 0%,
      rgba(0, 0, 0, 0.55) 16%,
      #000 38%,
      #000 70%,
      rgba(0, 0, 0, 0.5) 90%,
      transparent 100%
    );
  }

.hero--home-v2 .hero__photo-v2::before {
    background: linear-gradient(
      180deg,
      rgba(15, 23, 42, 0.75) 0%,
      rgba(15, 23, 42, 0.5) 28%,
      rgba(15, 23, 42, 0.28) 55%,
      rgba(15, 23, 42, 0.12) 78%,
      transparent 100%
    );
  }

.hero--home-v2 .hero__photo-v2 img {
    opacity: 0.5;
    filter: saturate(0.75) brightness(0.94);
  }

.hero--home-v2 .hero__headline {
    margin: 0 0 12px;
  }

.hero--home-v2 .hero__sub {
    margin-bottom: 18px;
    font-size: 0.875rem;
    line-height: 1.7;
  }

.hero--home-v2 .hero__inner {
    width: min(1200px, 100%);
    padding: 0 20px;
  }

.hero--home-v2 .hero__pricing {
    margin-bottom: 1.75rem;
  }

.hero--home-v2 .hero__ctas {
    grid-template-columns: 1fr;
    max-width: none;
  }

.hero-campaign__obi-inner {
    padding: 0;
  }
}

