@charset "utf-8";

/* ==========================================================================
   Design Tokens & Base Styles
   ========================================================================== */
:root {
  --color-primary: #f8c3cd;      /* パステルピンク（桜色） */
  --color-primary-dark: #e8a7b5; /* 濃いめのピンク */
  --color-primary-light: #fff0f2;/* 極薄のピンク（背景用） */
  --color-text: #4a3b32;         /* ダークブラウン */
  --color-text-light: #7d6b5e;   /* マイルドブラウン */
  --color-bg-white: #ffffff;
  --color-accent: #e76f51;       /* ボタンなどのアクセント（オレンジ/コーラル系） */
  --font-family: 'Noto Sans JP', sans-serif;
}

html {
  scroll-behavior: smooth;
  /* コピペ防止・テキスト選択禁止 */
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

body {
  font-family: var(--font-family);
  color: var(--color-text);
  background-color: var(--color-bg-white);
  line-height: 1.8;
  letter-spacing: 0.05em;
  font-size: 16px;
  overflow-x: hidden;
}

/* ==========================================================================
   Common Layout & Components
   ========================================================================== */

/* 画像の基本ルール：角丸やシャドウは使用しない、アスペクト比維持 */
img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: cover;
}

/* セクション間の余白：SP 80px / PC 120px */
section {
  margin-bottom: 80px;
}

@media (min-width: 768px) {
  section {
    margin-bottom: 120px;
  }
}

/* セクション見出し用：テキストのみのシンプルなデザイン */
.section-title-container {
  text-align: center;
  margin: 0 auto 40px auto;
}

@media (min-width: 768px) {
  .section-title-container {
    margin-bottom: 60px;
  }
}

.section-title-text {
  display: inline-block;
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--color-text);
  letter-spacing: 0.15em;
  position: relative;
  padding-bottom: 12px;
}

.section-title-text::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: var(--color-primary-dark);
  margin: 12px auto 0 auto;
}

@media (min-width: 768px) {
  .section-title-text {
    font-size: 2.25rem;
  }
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
header {
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* フルスクリーンハンバーガーメニュー */
.hamburger-menu-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-y: auto;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

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

/* ==========================================================================
   FV (First View)
   ========================================================================== */
.fv-swiper {
  width: 100%;
  height: 100vh; /* 画面縦幅いっぱいに表示 */
  position: relative;
}

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

.fv-swiper .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover; /* 左右が切れずに縮小しつつ上下に隙間も出さないための設定 */
}

/* スクロールダウンのあしらい */
.scroll-down {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  color: #ffffff;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-align: center;
  text-transform: uppercase;
}

.scroll-down::after {
  content: "";
  display: block;
  width: 1px;
  height: 60px;
  background-color: #ffffff;
  margin: 10px auto 0 auto;
  animation: scrollLine 2s infinite ease-in-out;
}

@keyframes scrollLine {
  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;
  }
}

/* メインコピー・テキストオーバーレイのスタイル */
.fv-overlay-content {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 20; /* スライド画像より前面に表示 */
  pointer-events: none; /* 下層のSwiper操作を阻害しない */
}

.fv-overlay-content .container-custom {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start; /* 左寄せ配置 */
}

.fv-text-card {
  padding: 20px 0;
  max-width: 540px;
  width: 100%;
  pointer-events: auto; /* ボタン等のクリックを有効化 */
  transform: translateY(0);
  animation: fvFadeInUp 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fvFadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fv-subtitle {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  margin-bottom: 15px;
  position: relative;
  display: inline-block;
  color: #ffffff;
  filter: drop-shadow(2px 3px 5px rgba(0, 0, 0, 0.7));
}

.fv-title {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.5;
  letter-spacing: 0.1em;
  margin-bottom: 25px;
  color: #ffffff;
  filter: drop-shadow(3px 5px 8px rgba(0, 0, 0, 0.7));
}

.fv-buttons {
  display: flex;
  gap: 15px;
}

.fv-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 9999px;
  transition: all 0.3s ease;
  letter-spacing: 0.1em;
  text-decoration: none;
}

.fv-btn-primary {
  background-color: var(--color-primary);
  color: var(--color-text);
}

.fv-btn-primary:hover {
  background-color: var(--color-primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(232, 167, 181, 0.3);
}

.fv-btn-secondary {
  background-color: var(--color-text);
  color: #ffffff;
}

.fv-btn-secondary:hover {
  background-color: var(--color-text-light);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(74, 59, 50, 0.2);
}

/* レスポンシブ対応 */
@media (min-width: 768px) {
  .fv-text-card {
    padding: 20px 0;
    max-width: 600px;
  }
  .fv-subtitle {
    font-size: 1rem;
    margin-bottom: 20px;
  }
  .fv-title {
    font-size: 2.5rem;
    margin-bottom: 30px;
  }
  .fv-btn {
    font-size: 0.9rem;
    padding: 14px 32px;
  }
}

@media (max-width: 640px) {
  .fv-overlay-content .container-custom {
    justify-content: center; /* モバイル時は中央寄せ */
    padding-left: 1rem;
    padding-right: 1rem;
  }
  .fv-text-card {
    max-width: 100%;
    margin: 0;
    padding: 20px 10px;
    border-left: none;
    border-top: none;
    text-align: center;
    box-shadow: none;
  }
  .fv-buttons {
    justify-content: center;
    flex-direction: column;
    gap: 10px;
    width: 100%;
  }
  .fv-btn {
    width: 100%;
  }
  .fv-title {
    font-size: 1.5rem;
    line-height: 1.4;
  }
}

/* ==========================================================================
   SV (Second View)
   ========================================================================== */
.sv-section {
  margin-bottom: 80px; /* 通常の余白 */
}
@media (min-width: 768px) {
  .sv-section {
    margin-bottom: 120px;
  }
}

/* ==========================================================================
   CTA Section
   ========================================================================== */
.cta-btn {
  transition: transform 0.3s ease, background-color 0.3s ease;
}
.cta-btn:hover {
  transform: translateY(-2px);
}

/* ==========================================================================
   Menu / Recommend (Parallax)
   ========================================================================== */
.recommend-section {
  background-image: url('../img/recommend_bg.jpg');
  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}

.recommend-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.85); /* 背景の上に薄い白レイヤーを被せて読みやすく */
  z-index: 1;
}

.recommend-container {
  position: relative;
  z-index: 2;
}

/* iOSなどの background-attachment: fixed 対策 */
@media (max-width: 1024px) {
  .recommend-section {
    background-attachment: scroll;
  }
}

/* ==========================================================================
   Gallery (Carousel & Lightbox)
   ========================================================================== */
.gallery-swiper {
  width: 100%;
  padding-bottom: 40px !important;
}

.gallery-slide-img {
  cursor: pointer;
  transition: opacity 0.3s ease;
}

.gallery-slide-img:hover {
  opacity: 0.9;
}

/* 自作ライトボックスモーダル */
.lightbox-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.9);
  z-index: 10000;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  max-width: 90%;
  max-height: 80%;
  position: relative;
}

.lightbox-content img {
  max-width: 100%;
  max-height: 80vh;
  object-fit: contain;
}

.lightbox-close {
  position: absolute;
  top: -40px;
  right: 0;
  color: #ffffff;
  font-size: 1.5rem;
  cursor: pointer;
  background: none;
  border: none;
}

/* ==========================================================================
   Utilities & Interactive Elements
   ========================================================================== */

/* トップに戻るボタン */
#pagetop {
  position: fixed;
  bottom: 100px; /* SP時の追従CTAとかぶらないように配置 */
  right: 20px;
  z-index: 999;
  width: 50px;
  height: 50px;
  background-color: var(--color-text);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, background-color 0.3s ease;
}

#pagetop.visible {
  opacity: 1;
  visibility: visible;
}

#pagetop:hover {
  background-color: var(--color-primary-dark);
}

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

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

/* LINE公式ロゴ用スタイル (ガイドライン順拠) */
.line-icon {
  width: 20px;
  height: 20px;
  display: inline-block;
  vertical-align: middle;
  margin-right: 6px;
}

/* PC時のコンテナ最大幅 */
.container-custom {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
