@charset "UTF-8";

/* ============================================
   ProfitOpps Custom Overrides
   参考サイトのCSSを上書きし、ProfitOppsのブランドカラーに変更
   ============================================ */

/* レスポンシブ表示切替（参照CSS補強） */
@media (min-width: 768px) {
  .u-view-sp {
    display: none !important;
  }
}
@media (max-width: 767px) {
  .u-view-upper-tb {
    display: none !important;
  }
}

:root {
  /* Primary: ディープネイビー～ブルー系 */
  --color-primary-100: 235, 240, 250;
  --color-primary-200: 200, 215, 240;
  --color-primary-300: 60, 100, 180;
  --color-primary-400: 50, 90, 170;
  --color-primary-500: 40, 80, 160;
  --color-primary-700: 25, 55, 120;
  /* Surface */
  --color-surface-100: 243, 245, 250;
  --color-surface-200: 230, 235, 245;
  /* Accent: エメラルドグリーン */
  --color-accent-500: 16, 185, 129;
}

/* ロゴ画像 */
.l-header-info__logo {
  width: 240px !important;
  padding: 8px 10px !important;
}
.l-footer-info__logo {
  width: 360px !important;
}
.l-header-info__logo-link,
.l-nav__logo-link,
.l-footer-info__logo-link {
  text-decoration: none;
  display: flex;
  align-items: center;
}
.l-header-info__logo-link img,
.l-nav__logo-link img {
  display: block !important;
  height: 50px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
.l-footer-info__logo-link img {
  display: block !important;
  height: 80px;
  width: auto;
  max-width: 100%;
  object-fit: contain;
}
@media (min-width: 768px) {
  .l-header-info__logo {
    width: 280px !important;
  }
  .l-header-info__logo-link img {
    height: 60px;
  }
  .l-footer-info__logo {
    width: 440px !important;
  }
  .l-footer-info__logo-link img {
    height: 100px;
  }
}

/* メインビジュアル オーバーレイ & テキスト強化 */
.l-main-img {
  position: relative;
}
.l-main-img::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, rgba(25, 55, 120, 0.5), rgba(16, 185, 129, 0.3));
  pointer-events: none;
  z-index: 1;
}
.l-main-img__inner {
  position: relative;
  z-index: 2;
}

/* FV 左右レイアウト */
@media (min-width: 768px) {
  .profitops-fv-layout {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding-top: 90px;
    margin-bottom: 0;
    padding-bottom: 0;
  }
  .profitops-fv-layout .l-main-img__area-txt {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: auto !important;
    flex: 0 0 42%;
    max-width: 42%;
  }
  .profitops-fv-product {
    /* 動画サイズをわずかに縮小し、画面幅が狭い場合にも対応しやすく */
    flex: 0 0 45%;
    max-width: 45%;
    min-width: 0; /* prevent flex item expanding */
    display: flex;
    align-items: center;
    justify-content: flex-end;
    /* 上から少し押し下げる */
    margin-top: 30px;
  }
}

/* SP/Tablet向けFV調整 */
@media (max-width: 900px) {
  .profitops-fv-layout {
    display: block !important;
    padding-top: 40px;
    padding-bottom: 20px;
  }
  .profitops-fv-layout .l-main-img__area-txt {
    position: relative !important;
    top: auto !important;
    left: auto !important;
    transform: none !important;
    width: 100% !important;
    margin: 0 auto;
    text-align: center;
  }
  .profitops-fv-product {
    margin-top: 30px;
    width: 100%;
    max-width: 100%;
    display: block;
  }
  .profitops-fv-product__mockup {
    margin-bottom: 0;
  }
  /* SP版で邪魔になる独立した背景画像の要素を隠す */
  .l-main-img__img.u-view-sp {
    display: none !important;
  }
}
.profitops-fv-product__mockup {
  position: relative;
  width: 100%;
  animation: fvFloat 4s ease-in-out infinite;
  
  /* Browser Mockup Style */
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(0, 0, 0, 0.05);
  padding-top: 36px;
  overflow: hidden;
}
.profitops-fv-product__mockup::before {
  content: '';
  position: absolute;
  top: 13px;
  left: 16px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #ff5f56;
  box-shadow: 18px 0 0 #ffbd2e, 36px 0 0 #27c93f;
  z-index: 10;
}
.profitops-fv-product__mockup::after {
  content: '';
  position: absolute;
  top: 9px;
  left: 80px;
  right: 16px;
  height: 18px;
  background: rgba(0, 0, 0, 0.04);
  border-radius: 4px;
}
.profitops-fv-product__mockup img,
.profitops-fv-product__mockup video {
  display: block;
  width: 100%;
  height: auto;
  border-top: 1px solid rgba(0, 0, 0, 0.05);
}
@keyframes fvFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
/* SP: プロダクトイメージ */
@media (max-width: 767px) {
  .profitops-fv-product {
    margin-top: 20px;
    padding: 0 20px;
  }
  .profitops-fv-product__mockup {
    max-width: 90%;
    margin: 0 auto;
  }
}
.l-main-img__txt {
  color: #fff !important;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.l-main-img__copy {
  color: #fff !important;
  text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
/* FV SCROLL テキスト＆矢印を白に */
.l-main-img__scroll {
  color: #fff !important;
}
.l-main-img__scroll img {
  filter: brightness(0) invert(1);
}
.c-color-accent-500 {
  color: rgb(var(--color-accent-500));
}
.c-color-primary-700 {
  color: rgb(var(--color-primary-700));
}
.l-main-img__txt .c-color-accent-500 {
  color: #4ADE80 !important;
}
/* FV コピー内の「今の粗利」を大きく目立たせる */
.l-main-img__copy .c-color-accent-500 {
  color: #FFD700 !important;
  font-size: 1.3em;
  text-shadow: 0 2px 20px rgba(0,0,0,0.4), 0 0 40px rgba(255, 215, 0, 0.3);
}

/* FVカバー（白オーバーレイ）をスクロール前から表示 */
.l-main-img__cover {
  background: rgba(255, 255, 255, 0.92) !important;
  opacity: 1 !important;
  visibility: visible !important;
}

/* コンテンツ領域に白背景を追加（FV背景が透けないように） */
.l-container1,
.c-cv01,
.l-footer,
.l-footer-page-top {
  position: relative;
  z-index: 1;
}

/* お悩みタグ 無限ループ横スクロール（2段） */
.profitops-pain-ticker {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 3;
  overflow: hidden;
  background: rgba(15, 23, 42, 0.88);
  backdrop-filter: blur(10px);
  padding: 36px 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.profitops-pain-ticker__track {
  display: flex;
  width: max-content;
  animation: tickerScroll 35s linear infinite;
}
.profitops-pain-ticker__track.is-row2 {
  animation: tickerScrollReverse 40s linear infinite;
}
.profitops-pain-ticker__list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 14px;
  flex-shrink: 0;
  padding-right: 14px;
}
.profitops-pain-ticker__item {
  display: inline-flex;
  align-items: center;
  padding: 9px 22px;
  border-radius: 50px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.4rem;
  font-weight: 500;
  white-space: nowrap;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  transition: background 0.3s ease, border-color 0.3s ease;
}
.profitops-pain-ticker__item:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.35);
}
/* アクセントカラー（控えめグラデーション） */
.profitops-pain-ticker__item.is-blue {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.15), rgba(29, 78, 216, 0.06));
  border-color: rgba(96, 165, 250, 0.35);
}
.profitops-pain-ticker__item.is-teal {
  background: linear-gradient(135deg, rgba(20, 184, 166, 0.15), rgba(13, 148, 136, 0.06));
  border-color: rgba(45, 212, 191, 0.35);
}
.profitops-pain-ticker__item.is-purple {
  background: linear-gradient(135deg, rgba(139, 92, 246, 0.15), rgba(109, 40, 217, 0.06));
  border-color: rgba(167, 139, 250, 0.35);
}
.profitops-pain-ticker__item.is-orange {
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.15), rgba(217, 119, 6, 0.06));
  border-color: rgba(251, 191, 36, 0.35);
}
.profitops-pain-ticker__item.is-pink {
  background: linear-gradient(135deg, rgba(236, 72, 153, 0.15), rgba(190, 24, 93, 0.06));
  border-color: rgba(244, 114, 182, 0.35);
}
.profitops-pain-ticker__item.is-green {
  background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(22, 163, 106, 0.06));
  border-color: rgba(74, 222, 128, 0.35);
}
@keyframes tickerScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes tickerScrollReverse {
  0% { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}

.l-container1 {
  background: #fff;
}

/* CTA セクション (c-cv01) グラデーション */
.c-cv01 {
  background: linear-gradient(135deg, rgb(25, 55, 120), rgb(16, 100, 100)) !important;
}

/* CTA ボタン */
.c-cv01__btn-link {
  background: rgb(var(--color-accent-500)) !important;
  height: 66px !important;
  color: #fff !important;
  border-radius: 50px !important;
  padding: 0 50px !important;
  font-weight: 600 !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4) !important;
}
.c-cv01__btn-txt {
  font-size: 1.8rem !important;
}
@media (hover: hover) and (pointer: fine) {
  .c-cv01__btn-link:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 25px rgba(16, 185, 129, 0.5) !important;
  }
}

/* ビジネスセクション ニーズカード */
.home-business-ex__item {
  background: rgba(var(--color-primary-100), 0.7);
  backdrop-filter: blur(10px);
  border-radius: 16px;
}

/* Feature タブ アクティブ */
.home-feature-tab__item.is-active {
  border-color: rgb(var(--color-primary-500)) !important;
  color: rgb(var(--color-primary-700)) !important;
}

/* スライダーヘッダーナンバリング */
.home-business-slider__num {
  color: rgb(var(--color-accent-500));
}

/* アニメーション強化 */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.js-c-anime-elem[data-anime="fadein-up"].is-active {
  animation: fadeInUp 0.8s ease forwards;
}

/* Onestop セクション */
.home-business-onestop {
  border: 2px solid rgba(var(--color-primary-300), 0.3);
  border-radius: 20px;
}
.home-business-onestop__head {
  line-height: 1.8;
}

/* Message セクション */
.home-message {
  position: relative;
}

/* フッター */
.l-footer {
  background: #ffffff !important;
  color: #333333 !important;
  border-top: 1px solid #eeeeee;
}
.l-footer a {
  color: #555555 !important;
}
@media (hover: hover) and (pointer: fine) {
  .l-footer a:hover {
    color: rgb(var(--color-primary-500)) !important;
  }
}
.l-footer-cr__txt {
  color: #888888 !important;
}
/* フッターロゴは画像で表示 */
.l-footer-info__txt {
  color: #555555 !important;
}

/* 数値ハイライト */
.profitops-stat {
  display: flex;
  align-items: baseline;
  gap: 4px;
}
.profitops-stat__number {
  font-family: "Poppins", sans-serif;
  font-size: 4.8rem;
  font-weight: 700;
  line-height: 1;
  color: rgb(var(--color-primary-700));
}

/* =========================================
   コンバージョンエリア（フォーム & 動画タブ）
   ========================================= */
.c-conversion {
  background: #f8fafc;
  padding: 80px 0;
  position: relative;
  z-index: 5;
}
.c-conversion__cols {
  display: flex;
  flex-direction: column;
  gap: 60px;
}
@media (min-width: 992px) {
  .c-conversion__cols {
    flex-direction: row;
    align-items: stretch; /* フォームと動画カードの下を揃える */
    gap: 40px;
  }
}
.c-conversion__col--left {
  flex: 0 0 calc(55% - 20px);
  max-width: calc(55% - 20px);
}
.c-conversion__col--right {
  flex: 0 0 calc(45% - 20px);
  max-width: calc(45% - 20px);
}
@media (max-width: 991px) {
  .c-conversion__col--left,
  .c-conversion__col--right {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

.c-conversion__badge {
  display: inline-block;
  background: #edf2fb;
  color: #3b82f6;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 1.2rem;
  letter-spacing: 0.1em;
  margin-bottom: 20px;
}
.c-conversion__title {
  font-size: 3.2rem;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 24px;
  color: #1e293b;
}
.c-conversion__title .c-color-primary-300 {
  color: #3b82f6;
}
.c-conversion__desc {
  font-size: 1.5rem;
  color: #64748b;
  margin-bottom: 30px;
  line-height: 1.6;
}

/* 動画タブ */
.c-cv-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  list-style: none;
  padding: 0;
  margin: 0 0 30px;
}
.c-cv-tabs__item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  padding: 10px 16px;
  font-size: 1.4rem;
  color: #475569;
  cursor: pointer;
  transition: all 0.2s ease;
  font-weight: 500;
}
.c-cv-tabs__item:hover {
  border-color: #cbd5e1;
  background: #f1f5f9;
}
.c-cv-tabs__item.is-active {
  background: #3b82f6;
  color: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

/* 動画モックアップ追加調整 */
.is-cv-mockup {
  animation: none;
  box-shadow: 0 20px 40px -10px rgba(0,0,0,0.15), 0 0 0 1px rgba(0,0,0,0.05);
  margin-top: 10px;
  width: 100%;
}

/* フォームカード */
.c-form-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 32px; /* 40pxから縮めて高さを抑える */
  box-shadow: 0 20px 50px -12px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.c-cv-form {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.c-cv-form__row {
  margin-bottom: 16px; /* 24pxから詰めて縦幅を減らす */
}
.c-cv-form__label {
  display: flex;
  font-size: 1.3rem; /* 1.4->1.3 */
  font-weight: 700;
  margin-bottom: 6px; /* 少し詰める */
  color: #1e293b;
}
.c-cv-form__req {
  color: #ef4444;
  margin-left: 6px;
}
.c-cv-form__input,
.c-cv-form__select {
  width: 100%;
  padding: 12px 16px; /* パディングを削減して高さを抑える */
  font-size: 1.5rem;
  font-weight: 500;
  border: 2px solid #e2e8f0;
  border-radius: 8px; /* 丸みも少し抑え気味に */
  background: #f8fafc;
  color: #0f172a;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: inherit;
  box-sizing: border-box;
}
.c-cv-form__input::placeholder {
  color: #94a3b8;
  font-weight: 400;
}
.c-cv-form__input:hover,
.c-cv-form__select:hover {
  background: #ffffff;
  border-color: #cbd5e1;
}
.c-cv-form__input:focus,
.c-cv-form__select:focus {
  outline: none;
  background: #ffffff;
  border-color: #3b82f6;
  box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.15);
}
.c-cv-form__privacy {
  text-align: center;
  margin: auto 0 20px; /* Autoでレイアウト下端に押し込みつつ余白を少し縮小 */
}
.c-cv-form__checkbox-label {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  gap: 8px;
}
.c-cv-form__checkbox {
  width: 16px;
  height: 16px;
  cursor: pointer;
  accent-color: #3b82f6;
  margin: 0;
}
.c-cv-form__checkbox-text {
  font-size: 1.3rem; /* サイズ調整 */
  color: #475569;
}
.c-cv-form__checkbox-text a {
  color: #3b82f6;
  text-decoration: underline;
}
.c-cv-form__submit {
  width: 100%;
  background: #4f46e5;
  color: #ffffff;
  font-size: 1.6rem;
  font-weight: 700;
  padding: 16px 0;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(79, 70, 229, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
}
.c-cv-form__submit:hover {
  background: #4338ca;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(79, 70, 229, 0.4);
}

.profitops-stat__unit {
  font-size: 1.6rem;
  color: rgb(var(--color-grayscale-500));
}

/* カスタムマーカー */
.is-marker {
  background: linear-gradient(transparent 60%, rgba(var(--color-accent-500), 0.2) 60%);
}

/* Nav Contact Button */
.l-nav-contact__btn-link {
  background: rgb(var(--color-primary-700)) !important;
}

/* Case Tab Accent */
.home-case-tab__ico {
  background-color: rgb(var(--color-primary-500));
}

/* Responsive fixes */
@media (max-width: 767px) {
  .l-header-info__logo-link::before {
    font-size: 1.8rem;
  }
  .profitops-stat__number {
    font-size: 3.6rem;
  }
}
