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

:root {
  --color-primary: #1A1A1A;     /* 黒 */
  --color-secondary: #006699;   /* 濃いめの水色 */
  --color-accent: #F2A900;      /* 黄色 */
  --color-bg-light: #FAFAFA;    /* ベース背景グレー */
  --color-text: #222222;
  --header-height-pc: 96px;
  --header-height-sp: 80px;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
  letter-spacing: 0.05em;
  color: var(--color-text);
  background-color: var(--color-bg-light);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden; /* シェイプのはみ出し防止 */
  user-select: none !important; /* Disable text selection for copy protection */
  -webkit-user-select: none !important;
  -moz-user-select: none !important;
  -ms-user-select: none !important;
}

img {
  border-radius: 0 !important;
  box-shadow: none !important;
  object-fit: cover;
}

h1, h2, h3, h4, h5, h6 {
  font-weight: 500;
  line-height: 1.4;
}

p {
  font-size: 16px;
}
@media (min-width: 768px) {
  p { font-size: 17px; }
}

/* ヘッダー */
header {
  height: var(--header-height-sp);
}
@media (min-width: 768px) {
  header { height: var(--header-height-pc); }
}
/* メインエリア開始位置を下げる (FVの上に被せない) */
main {
  margin-top: var(--header-height-sp);
}
@media (min-width: 768px) {
  main { margin-top: var(--header-height-pc); }
}

/* 共通パディング */
.section-full {
  padding-top: 70px;
  padding-bottom: 70px;
  padding-left: 10px;
  padding-right: 10px;
  margin-bottom: 0;
}
@media (min-width: 768px) {
  .section-full {
    padding-left: 32px;
    padding-right: 32px;
  }
}

/* セクションテキスト見出しデザイン */
.section-text-title {
  font-size: 2rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 3rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: inherit;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.section-text-title::after {
  content: "";
  display: block;
  width: 40px;
  height: 2px;
  background-color: currentColor;
  margin-top: 15px;
}
@media (min-width: 768px) {
  .section-text-title {
    font-size: 2.5rem;
  }
}

/* 非対称・ブロークングリッドレイアウト */
.broken-grid-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}
.broken-img {
  width: 100%;
}
.broken-text {
  width: 100%;
  padding: 2rem 0;
}

@media (min-width: 768px) {
  .broken-grid-container.right-align {
    flex-direction: row;
    justify-content: space-between;
  }
  .broken-grid-container.left-align {
    flex-direction: row-reverse;
    justify-content: space-between;
  }
  .broken-img {
    width: 45%;
    height: 400px;
  }
  .broken-text {
    width: 50%;
    padding: 0 2rem;
  }
  .broken-grid-container.right-align .broken-img { transform: translateY(20px); }
  .broken-grid-container.left-align .broken-img { transform: translateY(-20px); }
}

/* アニメーション (フェードイン) */
.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 1s ease-out, transform 1s ease-out;
  will-change: opacity, transform;
}
.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* FV Swiper */
.fv-swiper {
  width: 100%;
  height: 100%;
  position: relative;
}
.fv-swiper .swiper-slide {
  overflow: hidden;
}
.fv-swiper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1) translateX(0);
  transition: transform 10s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.fv-swiper .swiper-slide-active img {
  transform: scale(1.1) translateX(-2%); /* Ken Burns + Gentle Pan */
}

/* FV 装飾シェイプ - 浮遊アニメーション追加 */
.fv-shape {
  position: absolute;
  pointer-events: none;
  z-index: 5;
  opacity: 0.3;
  animation: floatDrift 15s infinite ease-in-out;
}
@keyframes floatDrift {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  33% { transform: translate(-20px, 10px) rotate(2deg); }
  66% { transform: translate(10px, -15px) rotate(-1deg); }
}

/* FV メインシェイプオーバーレイ (スケッチに基づく) */
.fv-main-shape-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 8;
  background: linear-gradient(135deg, rgba(0, 51, 77, 0.9) 0%, rgba(0, 102, 153, 0.7) 100%);
  clip-path: polygon(0 0, 45% 0, 30% 100%, 0% 100%);
  transition: clip-path 1.5s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}
@media (max-width: 767px) {
  .fv-main-shape-overlay {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
    opacity: 0.6;
    background: linear-gradient(to bottom, rgba(0, 51, 77, 0.9) 0%, rgba(0, 102, 153, 0.4) 100%);
  }
}

.fv-shape-1 {
  top: -10%; right: -5%; width: 40vw; height: 40vw;
  background: var(--color-accent);
  clip-path: polygon(25% 0%, 100% 0%, 75% 100%, 0% 100%);
  filter: blur(80px);
}
.fv-shape-2 {
  bottom: -5%; left: 10%; width: 30vw; height: 30vw;
  background: var(--color-secondary);
  border-radius: 50%;
  filter: blur(100px);
}

/* 縦書き装飾 */
.fv-vertical-brand {
  position: absolute;
  left: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  color: rgba(255,255,255,0.4);
  font-size: 14px;
  letter-spacing: 0.8em;
  font-weight: 300;
  pointer-events: none;
  display: none;
}
@media (min-width: 1024px) { .fv-vertical-brand { display: block; } }

/* グラスモーフィズム・テキストエリア */
.fv-glass-card {
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem 10px;
  position: relative;
  overflow: hidden;
}
@media (min-width: 768px) {
  .fv-glass-card { padding: 2.5rem; }
}

/* 右から左へのソフト・リビールアニメーション */
.fv-reveal {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 1.2s cubic-bezier(0.22, 1, 0.36, 1), transform 1.2s cubic-bezier(0.22, 1, 0.36, 1);
}
.is-visible .fv-reveal {
  opacity: 1;
  transform: translateX(0);
}
.delay-1 { transition-delay: 0.2s; }
.delay-2 { transition-delay: 0.4s; }
.delay-3 { transition-delay: 0.6s; }

.fv-glass-card::before {
  content: "";
  position: absolute;
  left: 0; top: 0; width: 4px; height: 0;
  background: var(--color-accent);
  transition: height 1s 0.8s ease-out;
}
.is-visible .fv-glass-card::before { height: 100%; }

/* 改良版スクロールインジケーター */
.fv-scroll-indicator {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}
.fv-scroll-line {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.2);
  position: relative;
  overflow: hidden;
}
.fv-scroll-line::after {
  content: "";
  position: absolute;
  top: -100%; left: 0; width: 100%; height: 100%;
  background: #fff;
  animation: scrollLineAnim 2s infinite ease-in-out;
}
@keyframes scrollLineAnim {
  0% { top: -100%; }
  100% { top: 100%; }
}
.fv-scroll-text {
  color: #fff;
  font-size: 10px;
  letter-spacing: 0.3em;
  text-transform: uppercase;
  opacity: 0.6;
}

/* ハンバーガーメニュー */
.hamburger-btn {
  width: 30px;
  height: 20px;
  position: relative;
  z-index: 2000;
  cursor: pointer;
}
.hamburger-btn span {
  display: block;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  position: absolute;
  transition: all 0.3s ease;
}
.hamburger-btn span:nth-child(1) { top: 0; }
.hamburger-btn span:nth-child(2) { top: 9px; }
.hamburger-btn span:nth-child(3) { bottom: 0; }
.hamburger-btn.is-active span:nth-child(1) { top: 9px; transform: rotate(45deg); background-color: #F2A900; }
.hamburger-btn.is-active span:nth-child(2) { opacity: 0; }
.hamburger-btn.is-active span:nth-child(3) { top: 9px; transform: rotate(-45deg); background-color: #F2A900; }

.sp-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100dvh;
  background-color: rgba(26, 26, 26, 0.98);
  z-index: 9999;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: center;
  padding-top: 100px;
  padding-bottom: 60px;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s ease;
  overflow-y: auto;
}
.sp-menu.is-active {
  visibility: visible;
  opacity: 1;
}
.sp-menu ul {
  list-style: none;
  padding: 0;
  text-align: center;
}
.sp-menu li {
  margin-bottom: 2rem;
}
.sp-menu a {
  color: #fff;
  font-size: 1.25rem;
  text-decoration: none;
  letter-spacing: 0.1em;
}

/* Menuセクション：リスト装飾 */
.menu-list-item {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding-bottom: 0.5rem;
  margin-bottom: 0.5rem;
  border-bottom: 1px dotted rgba(0,0,0,0.1);
}
.menu-list-item:last-child { border-bottom: none; }
.menu-price-tag {
  color: var(--color-primary);
  font-weight: 700;
  font-family: var(--font-fancy);
}

/* メッセージセクション */
.message-quote {
  position: relative;
  font-style: italic;
  font-family: serif;
}
.message-quote::before {
  content: '“';
  position: absolute;
  top: -20px; left: -20px;
  font-size: 60px;
  color: var(--color-accent);
  opacity: 0.3;
}

.text-justify { text-align: justify; }

/* About / Features 新設セクション */
#about-intro {
  overflow: hidden;
}

#features {
  position: relative;
  padding-top: 100px;
  padding-bottom: 100px;
}

.features-bg {
  background-attachment: scroll;
  background-size: cover;
  background-position: center;
  position: relative;
}

@media (min-width: 768px) {
  .features-bg {
    background-attachment: fixed;
    padding-top: 150px;
    padding-bottom: 150px;
  }
}

.features-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.2); /* 背景を見えやすくするため薄く設定 */
  z-index: 1;
}

#features .flex-shrink-0 svg {
  stroke-width: 3;
}

#features p {
  line-height: 1.6;
}

#features .bg-white {
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

#features .bg-white:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px rgba(0,0,0,0.05);
}

/* Infinity Marquee Gallery */
.marquee-container {
  overflow: hidden;
  white-space: nowrap;
  width: 100%;
  padding: 20px 0;
}
.marquee-content {
  display: inline-flex;
  gap: 20px;
  animation: marquee 30s linear infinite;
  /* ホバーやフォーカスで止まらない */
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.marquee-item {
  width: 320px;
  height: 240px;
  flex-shrink: 0;
  cursor: pointer;
}
@media (min-width: 768px) {
  .marquee-item { width: 480px; height: 320px; }
}
.marquee-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ギャラリーモーダル (Lightbox) */
.gallery-modal {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background: rgba(0,0,0,0.9);
  z-index: 20000;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  visibility: hidden;
  opacity: 0;
  transition: visibility 0.3s, opacity 0.3s ease;
}
.gallery-modal.is-active {
  visibility: visible;
  opacity: 1;
}
.gallery-modal-content {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}
.gallery-modal img {
  max-width: 80%;
  max-height: 80vh;
  object-fit: contain;
  user-select: none;
}
.modal-close, .modal-prev, .modal-next {
  position: absolute;
  color: #fff;
  font-size: 30px;
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 10px;
  z-index: 20010;
  transition: opacity 0.3s;
}
.modal-close:hover, .modal-prev:hover, .modal-next:hover { opacity: 0.6; }
.modal-close { top: 20px; right: 20px; font-size: 40px; line-height: 1; }
.modal-prev { left: 5%; top: 50%; transform: translateY(-50%); }
.modal-next { right: 5%; top: 50%; transform: translateY(-50%); }

/* Voice Swiper */
.voice-swiper {
  padding-bottom: 40px;
}
.voice-swiper .swiper-wrapper {
  display: flex;
}
.voice-swiper .swiper-slide {
  height: auto;
  display: flex;
}
.voice-card {
  background: #fff;
  padding: 1.5rem;
  border-radius: 0;
  width: 100%;
  display: flex;
  flex-direction: column;
}
.voice-stars { color: var(--color-accent); }

/* パララックス背景 */
.parallax-bg {
  background-attachment: scroll;
  background-size: cover;
  background-position: center;
  position: relative;
}
.parallax-bg::before {
  content: "";
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.5); /* 全体がカバーされる */
}
@media (min-width: 768px) {
  .parallax-bg { background-attachment: fixed; }
}
.parallax-content {
  position: relative;
  z-index: 10;
}

/* SP追従CTA */
.fixed-cta {
  position: fixed;
  bottom: 0; left: 0; width: 100%;
  z-index: 900;
  display: flex;
}
@media (min-width: 768px) {
  .fixed-cta { display: none; }
}

/* TOPへ戻るボタン */
.totop-btn {
  position: fixed;
  bottom: 80px; right: 20px;
  width: 50px; height: 50px;
  background-color: var(--color-primary);
  color: #fff;
  display: flex; justify-content: center; align-items: center;
  cursor: pointer;
  z-index: 800;
  opacity: 0; visibility: hidden;
  transition: all 0.3s;
}
@media (min-width: 768px) {
  .totop-btn { bottom: 30px; right: 30px; }
}
.totop-btn.is-show { opacity: 1; visibility: visible; }

/* PC横並びCTA */
.cta-banner {
  display: flex;
  flex-direction: column;
}
@media(min-width: 768px) { .cta-banner { flex-direction: row; } }
.cta-banner > a {
  flex: 1; text-align: center; padding: 1.5rem; transition: opacity 0.3s;
}
.cta-banner > a:hover { opacity: 0.8; }
.cta-item-call { background: var(--color-accent); color: #fff; }
.cta-item-reserve { background: var(--color-secondary); color: #fff; }
.cta-item-insta { background: transparent; border: 1px solid rgba(255,255,255,0.2); }
