/* =================================================================
スタイルシート (style.css)
このファイルはサイト全体のデザインを定義します。
- 基本リセットとグローバルスタイル
- 色やフォントなどの変数定義
- 各コンポーネント（ボタン、カードなど）のスタイル
- アニメーション効果
- レスポンシブ対応のメディアクエリ
================================================================== */

/* ------------------------------------------------------------------
基本リセット & グローバルスタイル
ブラウザ間の表示差異をなくし、基本的なスタイルを設定します。
------------------------------------------------------------------ */
:root {
  /* カラーパレット: CSS変数として定義し、サイト全体で色を統一的に管理します */
  --g1: #f6e7b8; /* 明るいゴールド */
  --g2: #e2c976; /* 中間のゴールド */
  --g3: #c79b3b; /* プライマリのゴールド */
  --g4: #b8860b; /* 暗いゴールド */
  --g5: #daa520; /* 鮮やかなゴールド */
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth; /* ページ内リンクのスムーズスクロールを有効化 */
}

body {
  background-color: #000000;
  color: #ffffff;
  font-family: "Inter", -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  border: none;
  background: none;
  cursor: pointer;
  font-family: inherit;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

strong {
  font-weight: 600;
}

/* ------------------------------------------------------------------
汎用コンポーネント & スタイル
サイトの複数箇所で使用されるパーツのスタイルです。
------------------------------------------------------------------ */

/* ゴールドのグラデーションテキスト */
.gold-grad {
  background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3));
}
.bg-clip-text {
  -webkit-background-clip: text;
  background-clip: text;
}
.text-transparent {
  color: transparent;
}

/* カードスタイル */
.jewelry-card {
  background: linear-gradient(145deg, #0f0f0f 0%, #1e1e1e 100%);
  border: 1px solid rgba(199, 155, 59, 0.2);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.jewelry-card:hover {
  border-color: rgba(199, 155, 59, 0.4);
  box-shadow: 0 8px 32px rgba(199, 155, 59, 0.1);
  transform: translateY(-2px);
}
.bg-dark-card {
  background: linear-gradient(145deg, #0f0f0f 0%, #1e1e1e 100%);
  border: 1px solid rgba(199, 155, 59, 0.2);
  padding: 2.5rem; /* 内部の余白を確保 */
}

/* テキストカラー */
.luxury-gold {
  color: var(--g3);
}
.luxury-gold-light {
  color: var(--g2);
}
.luxury-gold-dark {
  color: var(--g4);
}

/* ホバーエフェクト */
.luxury-hover {
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.luxury-hover:hover {
  border-color: rgba(199, 155, 59, 0.4);
  box-shadow: 0 8px 32px rgba(199, 155, 59, 0.1);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------
ナビゲーション
------------------------------------------------------------------ */
.nav-luxury {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 50;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid rgba(199, 155, 59, 0.1);
  transition: all 0.3s ease;
}
.nav-luxury.scrolled {
  background: rgba(0, 0, 0, 0.95);
  border-bottom-color: rgba(199, 155, 59, 0.2);
}
.nav-link {
  transition: color 0.3s ease;
}
.nav-link:hover {
  color: var(--g3);
}

/* SP用ナビゲーション */
.mobile-menu-panel {
  position: fixed;
  top: 0;
  right: -100%; /* 初期状態では画面外に配置 */
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.95);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  z-index: 40;
  transition: right 0.4s cubic-bezier(0.77, 0, 0.175, 1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.mobile-menu-panel.open {
  right: 0; /* openクラスが付与されると表示 */
}
.mobile-nav-link {
  color: #fff;
  font-size: 1.5rem;
  font-weight: 500;
  transition: color 0.3s ease;
}
.mobile-nav-link:hover {
  color: var(--g3);
}

/* ------------------------------------------------------------------
ボタン
------------------------------------------------------------------ */
.btn-gold {
  background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3));
  color: #000000;
  font-weight: 600;
  transition: all 0.3s ease;
  box-shadow: 0 4px 16px rgba(199, 155, 59, 0.2);
  border-radius: 8px;
  cursor: pointer;
  padding: 1.25rem 2rem;
  font-size: 1.125rem;
  display: inline-block;
  text-align: center;
}
.btn-gold:hover {
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 8px 25px rgba(199, 155, 59, 0.3);
}
.btn-outline-gold {
  border: 1px solid var(--g3);
  color: var(--g3);
  background: transparent;
  transition: all 0.3s ease;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
  padding: 0.75rem 1.5rem;
  display: inline-block;
  text-align: center;
}
.btn-outline-gold:hover {
  background: var(--g3);
  color: #000000;
  box-shadow: 0 4px 16px rgba(199, 155, 59, 0.2);
  transform: translateY(-2px);
}

/* ------------------------------------------------------------------
料金プランセクションの特定スタイル
------------------------------------------------------------------ */
.pricing-table-container {
  background: rgba(10, 10, 10, 0.7); /* 半透明の背景 */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(199, 155, 59, 0.2);
  border-radius: 1.5rem;
  padding: 3rem;
}

.popular-badge {
  position: absolute;
  top: -0.7rem;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3));
  color: #000;
  padding: 0.125rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

/* スマホ用の料金カード */
.pricing-card {
  background: rgba(10, 10, 10, 0.7); /* 半透明の背景 */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(199, 155, 59, 0.2);
  border-radius: 1.5rem;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.3s ease;
  padding: 2rem;
}
.pricing-card.popular {
  border-color: var(--g3);
  box-shadow: 0 0 20px rgba(199, 155, 59, 0.3);
}
.lg\:hidden .popular-badge {
  top: -1rem;
}

.assurance-points {
  padding-top: 2rem;
  border-top: 1px solid rgba(199, 155, 59, 0.2);
}

/* ------------------------------------------------------------------
導入事例セクションの特定スタイル
------------------------------------------------------------------ */
.case-study-period {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.25rem 0.75rem;
  background-color: rgba(199, 155, 59, 0.1);
  color: var(--g2);
  border-radius: 9999px;
  font-size: 0.875rem;
}

/* ------------------------------------------------------------------
アコーディオン (FAQで使用)
------------------------------------------------------------------ */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.accordion-content.active {
  max-height: 500px;
}
.accordion-trigger i {
  transition: transform 0.3s ease;
}

/* ------------------------------------------------------------------
アニメーション
スクロールに応じて要素をフェードインさせるためのスタイルです。
------------------------------------------------------------------ */
.slide-in-right,
.slide-in-left,
.fade-in {
  opacity: 0;
  transition: all 0.8s ease-out;
}
.slide-in-right {
  transform: translateX(50px);
}
.slide-in-left {
  transform: translateX(-50px);
}
.fade-in {
  transform: translateY(30px);
}

/* JavaScriptによって .visible クラスが付与されるとアニメーションが実行されます */
.slide-in-right.visible,
.slide-in-left.visible,
.fade-in.visible {
  opacity: 1;
  transform: translateX(0) translateY(0);
}

/* JavaScriptが無効な場合のフォールバック */
.no-js .slide-in-right,
.no-js .slide-in-left,
.no-js .fade-in {
  opacity: 1;
  transform: none;
}

/* ------------------------------------------------------------------
導入プロセスセクションの特定スタイル
------------------------------------------------------------------ */
.step-modern-card {
  background: linear-gradient(
    145deg,
    rgba(15, 15, 15, 0.95) 0%,
    rgba(30, 30, 30, 0.95) 100%
  );
  border: 1px solid rgba(199, 155, 59, 0.3);
  backdrop-filter: blur(10px);
  padding: 2.5rem;
  border-radius: 1.5rem;
  text-align: center;
  width: 100%;
  max-width: 320px;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.step-modern-card:hover {
  border-color: rgba(199, 155, 59, 0.6);
  box-shadow: 0 20px 40px rgba(199, 155, 59, 0.15);
  transform: translateY(-8px);
}
.step-modern-number {
  background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3));
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.5rem;
  color: #000;
  margin: 0 auto 1.5rem;
  box-shadow: 0 8px 24px rgba(199, 155, 59, 0.3);
  flex-shrink: 0;
}
.step-modern-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--g3);
  margin-bottom: 1rem;
}
.step-modern-desc {
  color: #cbd5e1;
  font-size: 1rem;
  line-height: 1.6;
}
.step-arrow {
  display: none; /* スマホでは非表示 */
}

/* ------------------------------------------------------------------
モーダルウィンドウ（ポップアップ）
------------------------------------------------------------------ */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}
.modal-content {
  background: linear-gradient(145deg, #0f0f0f 0%, #1e1e1e 100%);
  border: 1px solid rgba(199, 155, 59, 0.3);
  padding: 2rem;
  border-radius: 1rem;
  max-width: 500px;
  width: 90%;
  max-height: 90vh;
  overflow-y: auto;
  transform: scale(0.9) translateY(50px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}
.modal-overlay.active .modal-content {
  transform: scale(1) translateY(0);
}
.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}
.modal-title {
  color: var(--g3);
  font-size: 1.5rem;
  font-weight: 700;
}
.modal-close {
  background: none;
  border: none;
  color: #cbd5e1;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.5rem;
  transition: all 0.2s ease;
  line-height: 1;
}
.modal-close:hover {
  background: rgba(199, 155, 59, 0.1);
  color: var(--g3);
}

/* プライバシーポリシーモーダル用の追加スタイル */
.privacy-policy-content {
  text-align: left;
  max-height: 60vh;
  overflow-y: auto;
  padding-right: 1rem; /* スクロールバーのスペース */
}
.privacy-policy-content::-webkit-scrollbar {
  width: 6px;
}
.privacy-policy-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
}
.privacy-policy-content::-webkit-scrollbar-thumb {
  background: var(--g3);
  border-radius: 3px;
}

/* ------------------------------------------------------------------
フォーム
------------------------------------------------------------------ */
.form-group {
  margin-bottom: 1.5rem;
}
.form-label {
  display: block;
  margin-bottom: 0.5rem;
  color: #cbd5e1;
  font-weight: 500;
  text-align: left;
}
.form-input,
.form-textarea,
.form-select-wrapper select {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(199, 155, 59, 0.3);
  border-radius: 0.5rem;
  color: #ffffff;
  font-size: 1rem;
  transition: all 0.2s ease;
  font-family: inherit;
}
.form-input:focus,
.form-textarea:focus,
.form-select-wrapper select:focus {
  outline: none;
  border-color: var(--g3);
  box-shadow: 0 0 0 2px rgba(199, 155, 59, 0.2);
}
.form-textarea {
  min-height: 100px;
  resize: vertical;
}
.form-select-wrapper {
  position: relative;
}
.form-select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 3rem;
}
.form-select-wrapper::after {
  content: "\ea6e";
  font-family: "remixicon" !important;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  color: var(--g3);
  pointer-events: none;
}
.checkbox-group {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-top: 1rem;
}
.checkbox-input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.2rem;
  flex-shrink: 0;
}
.checkbox-label {
  color: #cbd5e1;
  font-size: 0.875rem;
  line-height: 1.4;
  cursor: pointer;
  text-align: left;
}
.form-buttons {
  display: flex;
  gap: 1rem;
  margin-top: 2rem;
}
.btn-submit {
  flex: 1;
  padding: 0.75rem 1.5rem;
  background: linear-gradient(135deg, var(--g1), var(--g2) 55%, var(--g3));
  color: #000000;
  border: none;
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9375rem;
}
.btn-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 25px rgba(199, 155, 59, 0.3);
}
.btn-cancel {
  padding: 0.75rem 1.5rem;
  background: transparent;
  color: #cbd5e1;
  border: 1px solid rgba(199, 155, 59, 0.3);
  border-radius: 0.5rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9375rem;
}
.btn-cancel:hover {
  border-color: var(--g3);
  color: var(--g3);
}
.success-message {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: rgb(34, 197, 94);
  padding: 1rem;
  border-radius: 0.5rem;
  margin-bottom: 1rem;
  display: none;
  align-items: center;
}
.success-message.show {
  display: flex;
}

/* ------------------------------------------------------------------
ユーティリティクラス
Tailwind CSSのクラスを再現するための補助的なクラス群です。
レイアウト、タイポグラフィ、スペーシングなどを手軽に適用できます。
------------------------------------------------------------------ */

/* レイアウト */
.container {
  max-width: 80rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}
.section-padding {
  padding-top: 6rem;
  padding-bottom: 6rem;
}
.section-padding-large {
  padding-top: 8rem;
  padding-bottom: 8rem;
}
.text-center {
  text-align: center;
}
.text-right {
  text-align: right;
}
.relative {
  position: relative;
}
.absolute {
  position: absolute;
}
.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}
.z-10 {
  z-index: 10;
}
.col-span-1 {
  grid-column: span 1 / span 1;
}
.col-span-3 {
  grid-column: span 3 / span 3;
}

/* Flexbox & Grid */
.flex {
  display: flex;
}
.grid {
  display: grid;
}
.flex-col {
  flex-direction: column;
}
.justify-center {
  justify-content: center;
}
.justify-between {
  justify-content: space-between;
}
.items-center {
  align-items: center;
}
.items-start {
  align-items: flex-start;
}
.items-stretch {
  align-items: stretch;
}
.gap-6 {
  gap: 1.5rem;
}
.gap-8 {
  gap: 2rem;
}
.gap-12 {
  gap: 3rem;
}
.gap-16 {
  gap: 4rem;
}
.gap-20 {
  gap: 5rem;
}
.flex-shrink-0 {
  flex-shrink: 0;
}
.mt-auto {
  margin-top: auto;
}
.space-x-10 > * + * {
  margin-left: 2.5rem;
}
.space-y-4 > * + * {
  margin-top: 1rem;
}
.space-y-6 > * + * {
  margin-top: 1.5rem;
}
.space-y-8 > * + * {
  margin-top: 2rem;
}
.space-y-12 > * + * {
  margin-top: 3rem;
}
.suitability-list-item {
  display: flex;
  align-items: flex-start;
}
.suitability-list-item i {
  margin-top: 0.25rem;
}

/* タイポグラフィ */
h1,
h2,
h3,
h4 {
  color: #ffffff;
  font-weight: 700;
}
.section-title {
  font-family: "Noto Serif JP", serif;
  font-size: 3rem;
  margin-bottom: 2rem;
}
@media (max-width: 768px) {
  .section-title {
    font-size: 2.5rem;
  }
}

.hero-section {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  background-color: #050505;
  overflow: hidden;
}
.text-sm {
  font-size: 0.875rem;
}
.text-lg {
  font-size: 1.125rem;
}
.text-xl {
  font-size: 1.25rem;
}
.text-2xl {
  font-size: 1.5rem;
}
.text-3xl {
  font-size: 1.875rem;
}
.text-4xl {
  font-size: 2.25rem;
}
.text-5xl {
  font-size: 3rem;
}
.text-6xl {
  font-size: 3.75rem;
}
.font-light {
  font-weight: 300;
}
.font-medium {
  font-weight: 500;
}
.font-semibold {
  font-weight: 600;
}
.font-bold {
  font-weight: 700;
}
.leading-none {
  line-height: 1;
}
.leading-relaxed {
  line-height: 1.625;
}
.text-white {
  color: #ffffff;
}
.text-platinum {
  color: #f8fafc;
}
.text-silver {
  color: #cbd5e1;
}
.text-gray-300 {
  color: #d1d5db;
}
.text-gray-400 {
  color: #9ca3af;
}
.text-gray-500 {
  color: #6b7280;
}
.text-green-400 {
  color: #4ade80;
}
.text-red-400 {
  color: #f87171;
}
.bg-green-600 {
  background-color: #16a34a;
}
.bg-red-600 {
  background-color: #dc2626;
}
.bg-primary {
  background-color: var(--g3);
}

/* スペーシング & サイズ */
.w-full {
  width: 100%;
}
.h-full {
  height: 100%;
}
.mx-auto {
  margin-left: auto;
  margin-right: auto;
}
.mb-4 {
  margin-bottom: 1rem;
}
.mb-6 {
  margin-bottom: 1.5rem;
}
.mb-8 {
  margin-bottom: 2rem;
}
.mb-10 {
  margin-bottom: 2.5rem;
}
.mb-16 {
  margin-bottom: 4rem;
}
.mb-20 {
  margin-bottom: 5rem;
}
.mt-1 {
  margin-top: 0.25rem;
}
.mt-4 {
  margin-top: 1rem;
}
.mt-12 {
  margin-top: 3rem;
}
.mr-4 {
  margin-right: 1rem;
}
.mr-6 {
  margin-right: 1.5rem;
}
.p-2 {
  padding: 0.5rem;
}
.p-8 {
  padding: 2rem;
}
.p-10 {
  padding: 2.5rem;
}
.px-4 {
  padding-left: 1rem;
  padding-right: 1rem;
}
.px-8 {
  padding-left: 2rem;
  padding-right: 2rem;
}
.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}
.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}
.py-6 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.pt-4 {
  padding-top: 1rem;
}
.w-16,
.h-16 {
  width: 4rem;
  height: 4rem;
}
.w-20,
.h-20 {
  width: 5rem;
  height: 5rem;
}
.w-24,
.h-24 {
  width: 6rem;
  height: 6rem;
}
.w-1\/3 {
  width: 33.333333%;
}
.max-w-2xl {
  max-width: 42rem;
}
.max-w-3xl {
  max-width: 48rem;
}
.max-w-4xl {
  max-width: 56rem;
}
.rounded-full {
  border-radius: 9999px;
}
.rounded-2xl {
  border-radius: 1rem;
}
.rounded-3xl {
  border-radius: 1.5rem;
}
.border-b {
  border-bottom-width: 1px;
}
.border-t {
  border-top-width: 1px;
}
.border-gray-700 {
  border-color: #374151;
}
.border-gray-800 {
  border-color: #1f2937;
}

/* その他 */
.object-cover {
  object-fit: cover;
}
.opacity-15 {
  opacity: 0.15;
}
.overflow-hidden {
  overflow: hidden;
}

/* ------------------------------------------------------------------
レスポンシブデザイン
特定の画面幅でスタイルを切り替えるためのメディアクエリです。
------------------------------------------------------------------ */
.hidden {
  display: none;
}
.sm-hidden {
  display: none;
} /* デフォルトでは非表示 */

@media (max-width: 640px) {
  .sm-hidden {
    display: block;
  } /* 640px以下で表示 */
}

@media (min-width: 640px) {
  .sm\:flex-row {
    flex-direction: row;
  }
}

@media (min-width: 768px) {
  .md\:grid-cols-1 {
    grid-template-columns: repeat(1, 1fr);
  }
  .md\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .md\:grid-cols-4 {
    grid-template-columns: repeat(4, 1fr);
  }
  .md\:flex-row {
    flex-direction: row;
  }
  .md\:space-y-0 > * + * {
    margin-top: 0;
  }
  .md\:space-x-8 > * + * {
    margin-left: 2rem;
  }
  .step-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 1 auto;
    margin: 0 1rem;
  }
}

@media (min-width: 1024px) {
  .lg\:block {
    display: block;
  }
  .lg\:hidden {
    display: none;
  }
  .lg\:flex {
    display: flex;
  }
  .lg\:grid-cols-2 {
    grid-template-columns: repeat(2, 1fr);
  }
  .lg\:grid-cols-3 {
    grid-template-columns: repeat(3, 1fr);
  }
  .lg\:text-6xl {
    font-size: 3.75rem;
  }
  .lg\:text-8xl {
    font-size: 6rem;
  }
  .lg\:flex-row {
    flex-direction: row;
  }
  .lg\:space-y-0 > * + * {
    margin-top: 0;
  }
  .lg\:space-x-8 > * + * {
    margin-left: 2rem;
  }
}
