/* -------------------------------------------------------------
  pet salon mofu - Custom Stylesheet
  Theme: Warm & Elegant Beige (DogSalon Repos inspired)
------------------------------------------------------------- */

/* Google Fonts Import */
@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+JP:wght@300;400;500;700&display=swap');

:root {
  --color-bg: #F9F6F0;
  --color-light: #F3EDE2;
  --color-accent: #C5A880;
  --color-dark: #4A3E3D;
  --color-muted: #8C7E7C;
  --color-white-bg: #FAF9F6;
  --color-about-bg: rgba(243, 237, 226, 0.85);
  --color-message-bg: #EAE3D2;
}

/* 全体のコピー選択禁止 ＆ 右クリック禁止（CSS側でも制限） */
html, body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.85;
  letter-spacing: 0.06em;
  background-color: var(--color-bg);
  color: var(--color-dark);
  overflow-x: hidden;
  width: 100%;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* すべての本文のフォントサイズ PC: 16px, SP: 14px */
p, .body-text {
  font-size: 14px !important;
}

@media (min-width: 768px) {
  p, .body-text {
    font-size: 16px !important;
  }
}

/* 余分なマージンをすべて削除し、各セクションのパディングを一律70pxに設定 */
section {
  margin-bottom: 0 !important;
  padding-top: 70px !important;
  padding-bottom: 70px !important;
}

/* SP時左右パディング無効化 ＆ p-8パディング調整 */
@media (max-width: 767px) {
  .p-8 {
    padding: 40px 10px !important;
  }

  section,
  .cta-section {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }

  .max-w-7xl, 
  .px-6, 
  .px-8 {
    padding-left: 0px !important;
    padding-right: 0px !important;
  }

  header .max-w-7xl,
  header .px-6,
  header .px-8 {
    padding-left: 10px !important;
    padding-right: 10px !important;
  }
}

/* スタイリッシュなテキストデザイン見出し (画像タイトルは廃止) */
.stylish-title {
  text-align: center;
  margin-bottom: 45px;
  position: relative;
}

.stylish-title-en {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-accent);
  text-transform: uppercase;
  display: block;
  margin-bottom: 6px;
}

.stylish-title-ja {
  font-size: 1.35rem;
  font-weight: 500;
  color: var(--color-dark);
  letter-spacing: 0.08em;
  position: relative;
  display: inline-block;
  padding-bottom: 12px;
}

.stylish-title-ja::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 35px;
  height: 1px;
  background-color: var(--color-accent);
}

@media (min-width: 768px) {
  .stylish-title-ja {
    font-size: 1.75rem;
  }
  .stylish-title-en {
    font-size: 0.85rem;
  }
}

/* 各セクションの画像に魅力的な異なるデザインスタイルを適用 */

/* TV画像：繊細なホワイト＆ゴールド額縁風 */
.img-style-tv {
  border: 1px solid var(--color-accent);
  padding: 8px;
  background-color: #ffffff;
  display: block;
  width: 100%;
}

/* About画像：ずらし背景付きのブロークングリッド */
.img-style-about-wrap {
  position: relative;
  display: block;
}

.img-style-about-wrap::before {
  content: '';
  position: absolute;
  top: 15px;
  left: -15px;
  width: 100%;
  height: 100%;
  background-color: var(--color-accent);
  opacity: 0.15;
  z-index: 1;
}

.img-style-about {
  position: relative;
  z-index: 2;
  display: block;
  width: 100%;
}

/* Service画像：アウトラインオフセットフレーム */
.img-style-service-01 {
  border: 8px solid var(--color-light);
  display: block;
  width: 100%;
}

.img-style-service-02 {
  outline: 1px solid var(--color-accent);
  outline-offset: 8px;
  display: block;
  width: 100%;
}

.img-style-service-03 {
  border-bottom: 4px solid var(--color-accent);
  display: block;
  width: 100%;
}

/* Recommend画像：ゴールドベース下ライン */
.img-style-recommend {
  border-bottom: 6px solid var(--color-accent);
  display: block;
  width: 100%;
}

/* Price画像：クラシック左縦ライン */
.img-style-price {
  border-left: 6px solid var(--color-accent);
  display: block;
  width: 100%;
}

/* Message画像：上下を挟むデュアルボーダー */
.img-style-message {
  border-top: 2px solid var(--color-accent);
  border-bottom: 2px solid var(--color-accent);
  padding: 6px 0;
  display: block;
  width: 100%;
}


/* 固定背景（パララックス）効果のオーバーレイ */
.parallax-section {
  position: relative;
  background-attachment: scroll;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

@media (min-width: 1024px) {
  .parallax-section {
    background-attachment: fixed;
  }
}


/* FV Swiper 調整：ナビバーの下に配置 */
.fv-container {
  margin-top: 76px; /* ナビバーの高さ分のマージン */
  height: calc(100vh - 76px);
  min-height: 600px;
  width: 100%;
  position: relative;
}

@media (max-width: 1023px) {
  .fv-container {
    height: auto;
    min-height: auto;
  }
}

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

.fv-swiper .swiper-slide {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.fv-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  vertical-align: bottom;
}

/* スクロールダウンあしらい */
.scroll-indicator {
  position: absolute;
  bottom: 25px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: none;
}

.scroll-line {
  width: 1px;
  height: 50px;
  background: linear-gradient(to bottom, var(--color-accent), transparent);
  animation: scrollLineAnim 2s infinite ease-in-out;
}

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


/* ギャラリー：無限スクロール（マーキースタイル） */
.marquee-container {
  overflow: hidden;
  width: 100%;
  position: relative;
  display: flex;
}

.marquee-track {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-item {
  flex-shrink: 0;
  width: 260px;
  padding: 0 10px;
}

@media (min-width: 768px) {
  .marquee-item {
    width: 380px;
    padding: 0 15px;
  }
}

.marquee-img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  cursor: pointer;
  transition: opacity 0.3s ease;
}

@media (min-width: 768px) {
  .marquee-img {
    height: 300px;
  }
}

.marquee-img:hover {
  opacity: 0.85;
}


/* 右下トップ戻るボタン */
#totop-btn {
  position: fixed;
  bottom: 100px; /* SP追従CTAの上 */
  right: 20px;
  z-index: 99;
  background-color: var(--color-accent);
  color: #ffffff;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.4s ease;
  border: none;
}

#totop-btn.show {
  opacity: 1;
  visibility: visible;
}

@media (min-width: 768px) {
  #totop-btn {
    bottom: 30px;
    right: 30px;
  }
}

/* ホバーマイクロアニメーション */
.hover-scale {
  transition: transform 0.3s ease;
}
.hover-scale:hover {
  transform: scale(1.02);
}

.hover-line {
  position: relative;
}
.hover-line::after {
  content: '';
  position: absolute;
  width: 100%;
  transform: scaleX(0);
  height: 1px;
  bottom: -4px;
  left: 0;
  background-color: var(--color-accent);
  transform-origin: bottom right;
  transition: transform 0.3s ease-out;
}
.hover-line:hover::after {
  transform: scaleX(1);
  transform-origin: bottom left;
}

/* SP時追従CTA */
.sp-fixed-cta {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  z-index: 98;
  box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.05);
}


/* プロフェッショナルな自作モーダル（中央整列・Prev/Next・xボタンのみ） */
.modal {
  display: none;
  position: fixed;
  z-index: 1000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  align-items: center;
  justify-content: center;
}

.modal-wrapper {
  position: relative;
  max-width: 90%;
  max-height: 80%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
  animation: modalZoom 0.3s ease-out;
}

@keyframes modalZoom {
  from {
    transform: scale(0.95);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  color: #ffffff;
  font-size: 36px;
  font-weight: 300;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s;
  user-select: none;
}

.modal-close:hover {
  color: var(--color-accent);
}

.modal-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  color: #ffffff;
  font-size: 28px;
  font-weight: 300;
  cursor: pointer;
  background: rgba(0, 0, 0, 0.3);
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  user-select: none;
  z-index: 1010;
}

.modal-btn:hover {
  background: rgba(0, 0, 0, 0.6);
  color: var(--color-accent);
}

.modal-prev {
  left: -65px;
}

.modal-next {
  right: -65px;
}

@media (max-width: 768px) {
  .modal-wrapper {
    max-width: 95%;
  }
  .modal-prev {
    left: 5px;
  }
  .modal-next {
    right: 5px;
  }
  .modal-close {
    top: -50px;
    right: 10px;
    font-size: 40px;
  }
}


/* アニメーション用クラス定義 (多様な動きを各セクションへブレンド) */
.fade-in-el {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in-el.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-in-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in-left.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.fade-in-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fade-in-right.is-visible {
  opacity: 1;
  transform: translateX(0);
}

.zoom-in-el {
  opacity: 0;
  transform: scale(0.92);
  transition: opacity 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94), transform 0.9s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.zoom-in-el.is-visible {
  opacity: 1;
  transform: scale(1);
}


/* Swiper ナビゲーションカスタム */
.swiper-button-next,
.swiper-button-prev {
  color: var(--color-accent) !important;
}

.swiper-pagination-bullet-active {
  background: var(--color-accent) !important;
}

/* ビデオモーダル専用 */
#video-modal {
  z-index: 2000 !important;
}

#video-modal video {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.1);
  outline: none;
}

/* ユーザー指定背景半透明・極上グラスモーフィズムルール */
.border-mofu-light {
  background-color: rgb(255 255 255 / 70%) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}