/* ==========================================
   株式会社SKC様 LP専用カスタムスタイルシート
   ========================================== */

/* Noto Sans JP のフォントファミリーのカスタム定義 */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700;900&display=swap');

:root {
  --color-indigo: #0f172a;
  --color-sunset: #ff6900; /* Primary Vibrant Orange */
  --color-sunset-hover: #d95900;
  --color-red: #e44141; /* Accent Vibrant Red */
  --font-base: 'Noto Sans JP', sans-serif;
}

body {
  font-family: var(--font-base);
  line-height: 1.85; /* 1.8以上でゆとりを持たせる */
  letter-spacing: 0.06em; /* 0.05em以上で上品さを出す */
  color: #334155;
  background-color: #ffffff;
  overflow-x: hidden;
}

/* 本文のフォントサイズ指定 (PC: 16px, SP: 14px) */
p {
  font-size: 14px !important;
}
@media (min-width: 1024px) {
  p {
    font-size: 16px !important;
  }
}

/* コピペ防止用の選択不可 */
.no-select {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

/* コピー可能にしたい見出しや特定のテキスト（選択できるように設定）※現在は無効化 */
.select-all {
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
  user-select: none !important;
}

/* クリエイティブなセクション用画像制限：角丸・シャドウなしは基本とし、各セクションでユニークなフレームを組む */
img.section-img {
  border-radius: 0px !important;
  box-shadow: none !important;
  object-fit: cover;
}

/* セクション間余白の統一ルール (padding-top: 70px, padding-bottom: 70px) */
.section- {
  padding-top: 70px !important;
  padding-bottom: 70px !important;
  margin-bottom: 0px !important;
  margin-top: 0px !important;
}

/* SP時 (幅767px以下) に左右パディングを10pxに統一 */
@media (max-width: 767px) {
  .px-4, .px-6, .px-8, .max-w-7xl, .container, header div {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
  .p-8 {
    padding: 40px 10px !important;
  }
  .price-card.p-6 {
    padding: 1rem !important;
  }
  .flex.flex-col.items-stretch.gap-8 {
    gap: 1rem !important;
  }
  #contact .flex.flex-col {
    gap: 1rem !important;
  }
}

/* プランカードのパディングを全サイズで 1rem に統一 */
.price-card.p-6 {
  padding: 1rem !important;
}

/* パララックス効果（固定背景） */
.parallax-bg {
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

/* Swiper.js FVのアスペクト比維持と隙間防止 */
.swiper-fv {
  width: 100%;
  height: calc(100vh - 80px); /* Full remaining viewport height under the 80px header */
  min-height: 550px;
  overflow: hidden;
}

.swiper-fv .swiper-slide {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.swiper-fv img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 25%; /* Center focus slightly higher */
  transform: scale(1);
  transition: transform 7.5s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ケンバーンズ（Ken Burns）エフェクト：アクティブスライド画像をゆっくり拡大移動 */
.swiper-fv .swiper-slide-active img {
  transform: scale(1.12);
}

/* 自作Lightboxモーダル (完全に上下左右中央配置、バグ修正) */
.lightbox-modal {
  position: fixed !important;
  inset: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background-color: rgba(10, 15, 30, 0.96) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 99999 !important;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.lightbox-modal.active {
  opacity: 1 !important;
  pointer-events: auto !important;
}

.lightbox-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
}

.lightbox-img {
  max-width: 90%;
  max-height: 75vh;
  object-fit: contain;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 0 !important;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5) !important;
}

/* フルスクリーンハンバーガーメニュー */
.fullscreen-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(15, 23, 42, 0.98);
  z-index: 9998;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.fullscreen-menu.active {
  opacity: 1;
  visibility: visible;
}

/* スクロールダウンインジケーター（FV下部） */
.scroll-down {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  color: #ffffff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  display: flex;
  flex-direction: column;
  align-items: center;
  animation: bounce 2s infinite;
}

.scroll-down::after {
  content: '';
  width: 1px;
  height: 50px;
  background-color: #ffffff;
  margin-top: 10px;
  display: block;
  animation: scrollLine 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% {
    transform: translate(-50%, 0);
  }
  40% {
    transform: translate(-50%, -10px);
  }
  60% {
    transform: translate(-50%, -5px);
  }
}

@keyframes scrollLine {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.1% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* ボタンホバーアニメーション */
.btn-hover-effect {
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}
.btn-hover-effect::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
  transition: all 0.6s ease;
}
.btn-hover-effect:hover::after {
  left: 100%;
}

/* ==========================================
   シームレス無限ループマーキーギャラリー
   ========================================== */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 28s linear infinite !important;
}

.marquee-wrapper {
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

/* ==========================================
   スクロールフェードインアニメーション
   (FVおよびカバーは対象外)
   ========================================== */
.fade-in-el {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.85s cubic-bezier(0.16, 1, 0.3, 1), transform 0.85s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.fade-in-el.fade-active {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* ==========================================
   FV用 スライドインアニメーション (左からフェードイン)
   ========================================== */
@keyframes fvSlideInLeft {
  0% {
    opacity: 0;
    transform: translateX(-60px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.fv-animate-left {
  opacity: 0;
  animation: fvSlideInLeft 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

.fv-delay-1 {
  animation-delay: 150ms;
}

.fv-delay-2 {
  animation-delay: 350ms;
}

.fv-delay-3 {
  animation-delay: 550ms;
}

.fv-delay-4 {
  animation-delay: 750ms;
}

/* ==========================================
   FV底部 インフィニット・テキストスライダー
   ========================================== */
@keyframes marqueeText {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-marquee-text {
  display: flex;
  width: max-content;
  animation: marqueeText 24s linear infinite !important;
}

/* ==========================================
   スタッフセクション：デスクトップ時パディング調整
   ========================================== */
@media (min-width: 1024px) {
  #staff .lg\:p-10 {
    padding: 2.5rem 1.5rem;
  }
  .lg\:p-12 {
    padding: 2rem !important;
  }
}

/* ==========================================
   口コミ（Voice）カードの高さ統一
   ========================================== */
.swiper-voice .swiper-slide {
  height: auto !important;
}
.swiper-voice .swiper-slide > div {
  height: 100% !important;
}

/* プランカード内のチェックリスト項目を左揃えに */
p.flex.items-start.gap-1\.5 {
  text-align: left;
}

/* SP時に料金セクションのCTAボタンを強制的に全幅にする */
@media (max-width: 767px) {
  #pricing-cta-btn {
    display: flex !important;
    width: 100% !important;
    justify-content: center !important;
    box-sizing: border-box !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }
}


