/* =========================================
   FITNEAR GYM PREMIUM STYLES v4
   (スマホ最適化 & 宝石ボタン版 & 店舗案内ページ対応)
   ========================================= */

/* --- RESET & BASE --- */
:root {
  --primary: #ff2d2d;
  --primary-dark: #cc0000;
  --bg-dark: #050505;
  --bg-card: #111;
  --bg-card-light: #1a1a1a;
  --text-main: #fff;
  --text-sub: #aaa;
  --font-jp: "Noto Sans JP", sans-serif;
  --font-en: "Montserrat", sans-serif;
  --ease-out: cubic-bezier(0.215, 0.61, 0.355, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-jp);
  line-height: 1.8;
  overflow-x: hidden;
  position: relative;
  -webkit-text-size-adjust: 100%;
}

/* ノイズテクスチャ (高級感) */
body::before {
  content: "";
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9000;
}

/* カスタムカーソル (PCのみ) */
@media (min-width: 901px) {
  body { cursor: none; }
  a, button, input, select, textarea, label { cursor: none; }
  .cursor-follower {
    position: fixed; top: 0; left: 0; width: 32px; height: 32px;
    background: rgba(255, 45, 45, 0.2);
    border: 1px solid var(--primary); border-radius: 50%;
    pointer-events: none; z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, background 0.3s;
    mix-blend-mode: screen;
    z-index: 9999999;
  }
  .cursor-follower.active {
    width: 60px; height: 60px;
    background: var(--primary); border-color: transparent; opacity: 0.5;
  }
}

/* --- LOADER --- */
#loader-overlay {
  position: fixed; inset: 0; background: #000; z-index: 10000;
  display: flex; justify-content: center; align-items: center;
  transition: transform 0.8s cubic-bezier(0.8, 0, 0.2, 1);
}
.loader-content { text-align: center; }
.loader-logo {
  font-family: var(--font-en); font-size: 3rem; letter-spacing: 4px;
  background: linear-gradient(45deg, #fff, #888);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  margin: 10px 0;
}
.loader-sub { font-size: 0.8rem; color: var(--primary); letter-spacing: 3px; }
.loader-line {
  width: 0; height: 2px; background: var(--primary);
  margin: 10px auto 0; animation: loadLine 1.5s ease-out forwards;
}
.loader-hidden { transform: translateY(-100%); }
@keyframes loadLine { to { width: 100px; } }


/* --- TYPOGRAPHY & UTILS --- */
h1, h2, h3 { font-weight: 700; line-height: 1.4; }
.text-accent { color: var(--primary); }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.section { padding: 100px 0; position: relative; z-index: 1; }
.dark-bg { background: #0a0a0a; }
.section-header { margin-bottom: 60px; }
.section-sub {
  font-family: var(--font-en); color: var(--primary);
  font-size: 0.9rem; letter-spacing: 2px; display: block;
  margin-bottom: 10px; font-weight: 600;
}
.section h2 { font-size: 2.5rem; }
.text-center { text-align: center; }
.divider { width: 60px; height: 3px; background: var(--primary); margin: 20px auto 0; }

/* --- BUTTONS (宝石のような高級感) --- */
.btn-primary, .btn-outline, .btn-line, .btn-tel {
  display: inline-flex; justify-content: center; align-items: center;
  padding: 16px 40px;
  font-size: 1rem; font-weight: 700;
  text-decoration: none;
  border-radius: 100px; /* 完全な丸み */
  transition: all 0.3s ease;
  position: relative; overflow: hidden; letter-spacing: 0.05em;
  border: none; cursor: pointer;
}

/* メインボタン：リッチなグラデーションと立体的な影 */
.btn-primary {
  background: linear-gradient(135deg, #ff5f5f, #c90000);
  color: #fff;
  /* 上部のハイライト + 全体の影 + 内部の光 */
  box-shadow: 
    0 4px 15px rgba(255, 45, 45, 0.5), 
    inset 0 1px 0 rgba(255,255,255,0.4),
    inset 0 -1px 0 rgba(0,0,0,0.2);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 
    0 8px 25px rgba(255, 45, 45, 0.7),
    inset 0 1px 0 rgba(255,255,255,0.4);
  filter: brightness(1.1);
}
.btn-primary:active { transform: translateY(1px); }

/* 光沢アニメーション */
.btn-shine {
  position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
  background: linear-gradient(to right, transparent, rgba(255,255,255,0.6), transparent);
  transform: skewX(-20deg); transition: 0.5s; pointer-events: none;
}
.btn-primary:hover .btn-shine { left: 150%; transition: 0.7s; }

.btn-outline {
  background: rgba(255,255,255,0.05);
  color: #fff; border: 1px solid rgba(255,255,255,0.4);
  backdrop-filter: blur(4px);
}
.btn-outline:hover {
  background: #fff; color: #000; border-color: #fff;
}

.btn-line { background: #06C755; color: #fff; box-shadow: 0 4px 10px rgba(6, 199, 85, 0.3); }
.btn-tel { background: #fff; color: #000; box-shadow: 0 4px 10px rgba(255, 255, 255, 0.2); }
.btn-line i, .btn-tel i { margin-right: 10px; font-size: 1.2rem; }


/* --- HEADER --- */
.header {
  position: fixed; top: 0; width: 100%; padding: 15px 40px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 1000; background: rgba(5, 5, 5, 0.8);
  backdrop-filter: blur(10px); border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s;
}
.header.scrolled { padding: 10px 40px; background: rgba(5, 5, 5, 0.95); }
.logo-img { width: 160px; height: auto; display: block; }
#nav { display: flex; gap: 25px; align-items: center; }
.nav-link {
  color: #fff; text-decoration: none; font-size: 0.95rem; font-weight: 500;
  position: relative; padding: 5px 0;
}
.nav-link::after {
  content: ''; position: absolute; bottom: 0; left: 0;
  width: 0; height: 2px; background: var(--primary); transition: 0.3s;
}
.nav-link:hover::after { width: 100%; }
.nav-cta {
  padding: 10px 25px; background: #fff; color: #000;
  border-radius: 30px; font-size: 0.9rem; font-weight: 700;
  text-decoration: none; transition: 0.3s;
}
.nav-cta:hover { background: var(--primary); color: #fff; }
/* Hamburger */
.hamburger { display: none; cursor: pointer; width: 30px; height: 20px; position: relative; }
.hamburger span {
  position: absolute; width: 100%; height: 2px; background: #fff; transition: 0.3s;
}
.hamburger span:nth-child(1) { top: 0; }
.hamburger span:nth-child(2) { top: 9px; }
.hamburger span:nth-child(3) { bottom: 0; }


/* --- HERO --- */
.hero-slider {
  position: relative; height: 100vh; width: 100%; min-height: 600px;
  overflow: hidden; display: flex; align-items: center; padding-left: 10%;
}
.slide {
  position: absolute; inset: 0;
  background-size: cover; background-position: center;
  opacity: 0; transition: opacity 1.5s ease, transform 6s linear;
  transform: scale(1.1);
}
.slide.active { opacity: 1; transform: scale(1); z-index: -2; }
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to right, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.5) 60%, rgba(0,0,0,0.2) 100%);
  z-index: -1;
}
.hero-content { max-width: 600px; z-index: 2; width: 100%; }
.hero-sub { font-weight: 700; letter-spacing: 2px; margin-bottom: 15px; color: var(--primary); text-transform: uppercase; font-size: 0.9rem; }
.hero-content h1 { font-size: 4rem; line-height: 1.15; margin-bottom: 25px; letter-spacing: 0.02em; }
.hero-desc { font-size: 1.1rem; margin-bottom: 40px; color: #ddd; line-height: 1.8; }
.hero-buttons { display: flex; gap: 20px; flex-wrap: wrap; }

/* Scroll Indicator */
.scroll-indicator {
  position: absolute; bottom: 40px; right: 40px;
  writing-mode: vertical-rl; font-family: var(--font-en);
  font-size: 0.8rem; letter-spacing: 3px; color: rgba(255,255,255,0.6);
  display: flex; align-items: center; gap: 10px;
}
.scroll-indicator .line {
  height: 60px; width: 1px; background: rgba(255,255,255,0.3);
  position: relative; overflow: hidden;
}
.scroll-indicator .line::after {
  content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 50%;
  background: var(--primary); animation: scrollDown 2s infinite;
}
@keyframes scrollDown { 0% { top: -100%; } 100% { top: 100%; } }


/* --- ANIMATIONS --- */
.js-reveal-text {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
  will-change: transform, opacity;
}
.js-reveal-text.is-visible { opacity: 1; transform: translateY(0); }
.js-reveal-card {
  opacity: 0; transform: translateY(40px);
  transition: 0.8s var(--ease-out);
}
.js-reveal-card.is-visible { opacity: 1; transform: translateY(0); }
@media (scripting: none) {
  .js-reveal-text, .js-reveal-card { opacity: 1 !important; transform: none !important; }
}


/* --- CONCEPT --- */
.concept-wrapper {
  display: flex; align-items: center; gap: 60px; margin-top: 60px;
}
.concept-text { flex: 1; }
.concept-text p { font-size: 1.05rem; color: #ccc; }
.concept-text strong { color: #fff; font-size: 1.2rem; border-bottom: 1px solid var(--primary); }
.concept-image-box { flex: 1; position: relative; }
.concept-img {
  width: 100%; height: auto; border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.6);
  position: relative; z-index: 1;
  border: 1px solid #333;
}


/* --- REASON --- */
.reason-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px;
}
.reason-card {
  background: var(--bg-card); border: 1px solid #222;
  position: relative; overflow: hidden; transition: 0.4s; border-radius: 8px;
}
.reason-card:hover { border-color: var(--primary); transform: translateY(-5px); }
.card-num {
  position: absolute; top: 0; right: 0;
  font-size: 4rem; font-weight: 800; color: rgba(255,255,255,0.05);
  line-height: 1; padding: 10px; font-family: var(--font-en);
}
.card-img { height: 220px; overflow: hidden; position: relative; }
.parallax-img {
  width: 100%; height: 120%; object-fit: cover; transition: transform 0.1s linear;
}
.card-body { padding: 30px; }
.card-body h3 {
  font-size: 1.3rem; margin-bottom: 15px;
  background: linear-gradient(90deg, #fff, #aaa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.card-body p { font-size: 0.95rem; color: var(--text-sub); line-height: 1.7; }


/* --- VOICE (スマホ最適化: CSSスナップ) --- */
.voice-slider-wrapper {
  position: relative; max-width: 1000px; margin: 0 auto;
  display: flex; align-items: center;
}
/* コンテナ：スクロール可能領域 */
.voice-track {
  display: flex;
  gap: 20px;
  width: 100%;
  /* スマホ向け：CSSスナップスクロール */
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  padding: 10px 5px 30px 5px; /* 下部に影用の余白 */
}
.voice-track::-webkit-scrollbar { display: none; } /* バーを隠す */

/* カードスタイル */
.voice-card.rich-card {
  /* スマホ：画面幅の88%にして次が見えるように */
  flex: 0 0 88%;
  scroll-snap-align: center; /* 真ん中に止まる */
  background: var(--bg-card-light);
  padding: 30px; border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  border: 1px solid #333;
}

/* PC幅での調整 */
@media (min-width: 769px) {
  .voice-track {
    overflow-x: hidden; /* PCはボタン操作メインなのでバーを隠す */
  }
  .voice-card.rich-card {
    flex: 0 0 48%; /* 2つ並び */
    min-width: 400px;
  }
}

.voice-header { display: flex; align-items: center; gap: 20px; margin-bottom: 20px; }
.voice-user-img {
  width: 70px; height: 70px; border-radius: 50%; object-fit: cover;
  border: 2px solid var(--primary);
}
.voice-user-info h4 { font-size: 1.1rem; margin-bottom: 3px; }
.voice-course { font-size: 0.85rem; color: #999; display: block; margin-bottom: 5px; }
.voice-rating { color: #FFD700; font-size: 0.9rem; }
.voice-comment { font-size: 1rem; line-height: 1.8; color: #ddd; }

/* PC用矢印ボタン */
.voice-arrow {
  background: rgba(255,255,255,0.1); color: #fff;
  border: none; width: 45px; height: 45px; border-radius: 50%;
  font-size: 1.2rem; cursor: pointer; transition: 0.3s; z-index: 2;
  flex-shrink: 0;
}
.voice-arrow:hover { background: var(--primary); }
.prev-btn { margin-right: 15px; }
.next-btn { margin-left: 15px; }

/* スワイプヒント（スマホのみ） */
.swipe-hint {
  text-align: center; color: #666; font-size: 0.8rem;
  display: none; margin-top: -10px;
}
@media (max-width: 768px) {
  .swipe-hint { display: block; }
  .voice-arrow { display: none; } /* スマホでは矢印を消す */
}


/* --- PRICE --- */
.price-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; align-items: center; }
.price-card {
  background: var(--bg-card); padding: 40px 30px; text-align: center;
  border: 1px solid #333; border-radius: 10px; transition: 0.3s;
}
.price-card h3 { font-size: 1.4rem; margin-bottom: 10px; }
.price { font-size: 2.5rem; font-weight: 700; color: #fff; font-family: var(--font-en); margin: 20px 0; }
.price .unit { font-size: 1rem; font-weight: 400; color: #888; }
.price-features { list-style: none; margin-bottom: 30px; text-align: left; padding-left: 10px; }
.price-features li { margin-bottom: 10px; color: #ccc; padding-left: 20px; position: relative; }
.price-features li::before { content: '✔'; position: absolute; left: 0; color: var(--primary); }
.price-card.popular {
  border-color: var(--primary); background: linear-gradient(160deg, #1a0000, #050505);
  transform: scale(1.05); position: relative; box-shadow: 0 10px 40px rgba(255, 45, 45, 0.1);
}
.recommend-badge {
  position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
  background: var(--primary); color: #fff; padding: 5px 15px;
  font-weight: bold; font-size: 0.8rem; border-radius: 20px;
}


/* --- SERVICE --- */
.facility-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.facility-card { position: relative; overflow: hidden; border-radius: 8px; group: hover; }
.img-box { height: 250px; overflow: hidden; }
.img-box img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s; }
.facility-card:hover .img-box img { transform: scale(1.1); }
.text-box {
  position: absolute; bottom: 0; left: 0; width: 100%; padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}


/* --- CONTACT --- */
.contact-section { background: #0f0f0f; padding: 80px 0; }
.contact-wrapper {
  display: flex; flex-wrap: wrap; gap: 50px;
  background: var(--bg-card-light); padding: 50px; border-radius: 20px;
  border: 1px solid #333; box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}
.contact-info { flex: 1; min-width: 300px; }
.contact-lead { font-size: 1rem; margin-bottom: 30px; color: #ddd; }
.contact-btns { display: flex; flex-direction: column; gap: 15px; margin-bottom: 20px; }
.contact-btns .btn-line, .contact-btns .btn-tel { width: 100%; text-align: center; justify-content: center; }
.contact-note { font-size: 0.85rem; color: #888; }

.contact-form-area { flex: 1.5; min-width: 300px; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 8px; font-weight: 700; font-size: 0.9rem; }
.required {
  background: var(--primary); color: #fff; font-size: 0.7rem;
  padding: 2px 6px; border-radius: 4px; margin-left: 8px; vertical-align: middle;
}
input, select, textarea {
  width: 100%; padding: 14px;
  background: #000; border: 1px solid #333; color: #fff;
  border-radius: 6px; font-size: 1rem; transition: 0.3s;
  appearance: none; /* iOSデフォルトスタイル解除 */
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary); outline: none; background: #080808;
}
.form-privacy { font-size: 0.8rem; color: #888; margin-top: 15px; text-align: center; line-height: 1.5; }
.form-privacy a { color: #aaa; text-decoration: underline; }

/* --- FOOTER --- */
.footer { background: #000; border-top: 1px solid #222; padding: 60px 0 20px; }
.footer-content { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; }
.footer-logo h2 { color: var(--primary); font-family: var(--font-en); margin-bottom: 5px; }
.footer-links a { display: block; color: #888; text-decoration: none; margin-bottom: 10px; transition: 0.3s; }
.footer-links a:hover { color: #fff; padding-left: 5px; }
.footer-bottom { border-top: 1px solid #222; padding-top: 20px; text-align: center; color: #555; font-size: 0.8rem; }

/* --- MOBILE OPTIMIZATIONS (スマホ特化) --- */
.floating-cta { display: none; }
.text-center-sp { text-align: left; }

@media (max-width: 900px) {
  .section { padding: 70px 0; }
  .section h2 { font-size: 2rem; }
  .text-center-sp { text-align: center; }
  
  /* Header & Nav */
  .header { padding: 15px 20px; }
  .logo-img { width: 140px; }
  .hamburger { display: block; z-index: 1001; }
  #nav {
    position: fixed; top: 0; right: -100%; width: 85%; height: 100vh;
    background: #111; flex-direction: column; justify-content: center;
    transition: 0.4s cubic-bezier(0.77,0,0.175,1); padding: 40px;
    box-shadow: -10px 0 30px rgba(0,0,0,0.5);
  }
  #nav.active { right: 0; }
  .nav-link { font-size: 1.2rem; margin-bottom: 15px; }
  
  /* Hero */
  .hero-slider { padding-left: 20px; padding-right: 20px; justify-content: center; text-align: center; }
  .hero-content { padding-top: 60px; }
  .hero-content h1 { font-size: 2.5rem; margin-bottom: 20px; }
  .hero-desc { font-size: 1rem; margin-bottom: 30px; text-align: left; }
  .hero-buttons { justify-content: center; flex-direction: column; gap: 20px; }
  .btn-primary, .btn-outline { width: 100%; max-width: 350px; margin: 0 auto; }

  /* Layout Fixes */
  .concept-wrapper { flex-direction: column; gap: 40px; margin-top: 40px; }
  .concept-image-box { width: 100%; }
  .facility-grid { grid-template-columns: 1fr; }
  .contact-wrapper { padding: 30px 20px; flex-direction: column; gap: 40px; }
  .footer-content { flex-direction: column; gap: 30px; }
  
  /* Floating CTA (ぷるぷるアニメーション) */
  .floating-cta {
    display: block; position: fixed; bottom: 20px; right: 20px; width: 75px; height: 75px;
    background: var(--primary); color: #fff; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-weight: 700; font-size: 0.75rem; text-align: center; line-height: 1.2;
    box-shadow: 0 5px 15px rgba(255,45,45,0.5); z-index: 900;
    text-decoration: none; border: 2px solid #fff;
    animation: floatPulse 2s infinite;
  }
  @keyframes floatPulse {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 45, 45, 0.7); }
    70% { transform: scale(1.05); box-shadow: 0 0 0 10px rgba(255, 45, 45, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 45, 45, 0); }
  }
}


/* ↓↓↓ ここから下を追加 (ABOUT PAGE STYLES) ↓↓↓ */

/* =========================================
   ABOUT PAGE STYLES (店舗案内用)
   ========================================= */

/* --- SUB HERO (下層ページ用ヘッダー) --- */
.sub-hero {
  position: relative;
  height: 50vh;
  min-height: 400px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
  margin-top: 0; /* header is fixed */
}
.sub-hero::before {
  content: ''; position: absolute; inset: 0;
  background: rgba(0,0,0,0.6);
}
.sub-hero-content {
  position: relative; z-index: 2; text-align: center;
}
.sub-hero-title {
  font-family: var(--font-en);
  font-size: 3.5rem;
  color: #fff;
  letter-spacing: 5px;
  margin-bottom: 10px;
}
.sub-hero-subtitle {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 700;
  letter-spacing: 2px;
}

/* --- GALLERY GRID (雑誌のようなレイアウト) --- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: repeat(2, 250px);
  gap: 15px;
}
.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid #333;
}
.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover img {
  transform: scale(1.1);
}
.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  color: #fff;
  font-family: var(--font-en);
  font-size: 0.9rem;
  font-weight: 500;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* グリッドの配置設定 */
.gallery-item.main-item {
  grid-column: 1 / 3; /* 2列分 */
  grid-row: 1 / 3;    /* 2行分 (大きく表示) */
}
/* 残りのアイテムは自動配置 */

/* スマホ対応 */
@media (max-width: 768px) {
  .sub-hero-title { font-size: 2.5rem; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item.main-item {
    grid-column: 1 / -1; /* 横幅いっぱい */
    grid-row: auto;
    aspect-ratio: 16/9;
  }
  .gallery-item {
    aspect-ratio: 1/1; /* 正方形 */
  }
}


/* --- INFO TABLE (ホットペッパー風) --- */
.salon-info-wrapper {
  max-width: 900px;
  margin: 0 auto;
  background: #fff;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}
.info-list {
  width: 100%;
}
.info-row {
  display: flex;
  border-bottom: 1px solid #eee;
}
.info-row:last-child {
  border-bottom: none;
}
.info-row dt {
  width: 30%;
  background: #f9f9f9;
  padding: 20px;
  font-weight: 700;
  color: #333;
  display: flex;
  align-items: center;
  border-right: 1px solid #eee;
}
.info-row dd {
  width: 70%;
  padding: 20px;
  color: #333;
  font-size: 0.95rem;
  line-height: 1.8;
}

/* こだわり条件タグ */
.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.tags span {
  background: #ffebeb;
  color: var(--primary-dark);
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid #ffcccc;
}

.small-text { font-size: 0.8rem; color: #888; }
.map-link-text {
  display: inline-block;
  margin-left: 10px;
  color: var(--primary);
  text-decoration: underline;
  font-size: 0.9rem;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .info-row {
    flex-direction: column;
  }
  .info-row dt {
    width: 100%;
    background: #f0f0f0;
    padding: 10px 15px;
    border-right: none;
    border-bottom: 1px solid #e0e0e0;
    font-size: 0.9rem;
  }
  .info-row dd {
    width: 100%;
    padding: 15px;
  }
}


/* --- ACCESS MAP --- */
.map-wrapper {
  max-width: 1000px;
  margin: 0 auto;
  border: 1px solid #333;
  background: var(--bg-card);
  padding: 10px;
  border-radius: 10px;
}
.access-text {
  margin-top: 20px;
  padding: 20px;
  border-top: 1px dashed #444;
}
.access-text h3 {
  color: #fff;
  font-size: 1.2rem;
  margin-bottom: 10px;
  border-left: 4px solid var(--primary);
  padding-left: 15px;
}
.access-text p {
  color: #ccc;
  font-size: 0.95rem;
}


/* --- CTA SECTION (Simple) --- */
.cta-section {
  padding: 80px 0;
  border-top: 1px solid #222;
}



/* =========================================
   TIMELINE STYLES (ご利用の流れ用)
   ========================================= */
.timeline {
  position: relative;
  max-width: 900px;
  margin: 0 auto;
  padding: 40px 0;
}

/* タイムラインの主線（縦線） */
.timeline::after {
  content: '';
  position: absolute;
  width: 3px;
  background: #111; /* 暗めの線 */
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -1.5px;
  z-index: -1;
}

/* タイムラインアイテム */
.timeline-item {
  padding: 10px 40px;
  position: relative;
  background: inherit;
  width: 50%;
}

/* 左寄せのアイテム */
.timeline-item:nth-child(odd) {
  left: 0;
}

/* 右寄せのアイテム */
.timeline-item:nth-child(even) {
  left: 50%;
}

/* 各ステップのコンテンツボックス */
.timeline-content {
  padding: 30px;
  background: var(--bg-card-light);
  position: relative;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.5);
  border: 1px solid #333;
}
.timeline-content h3 {
  color: var(--primary);
  margin-bottom: 10px;
  font-size: 1.1rem;
}
.timeline-content h3 i {
  margin-right: 8px;
}
.timeline-content p {
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.6;
}
.timeline-btn {
  margin-top: 15px;
  font-size: 0.9rem;
  padding: 8px 20px;
  border-radius: 30px;
}

/* タイムラインの丸いステップ番号 */
.timeline-step {
  position: absolute;
  width: 50px;
  height: 50px;
  background-color: var(--primary);
  border: 2px solid #fff;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  line-height: 46px;
  z-index: 999999 !important;
  font-size: 0.6rem;
  font-weight: 700;
  font-family: var(--font-en);
}

/* 左側のステップの位置 */
.timeline-item:nth-child(odd) .timeline-step {
  right: -25px; /* 主線の真上に配置 */
}

/* 右側のステップの位置 */
.timeline-item:nth-child(even) .timeline-step {
  left: -25px; /* 主線の真上に配置 */
}

/* 吹き出しの三角形 (左寄せアイテム) */
.timeline-item:nth-child(odd) .timeline-content::after {
  content: " ";
  position: absolute;
  top: 25px;
  right: -15px; /* 吹き出しの先端を主線に合わせる */
  border-width: 8px;
  border-style: solid;
  border-color: transparent transparent transparent #333; /* 枠線色 */
}

/* 吹き出しの三角形 (右寄せアイテム) */
.timeline-item:nth-child(even) .timeline-content::after {
  content: " ";
  position: absolute;
  top: 25px;
  left: -15px;
  border-width: 8px;
  border-style: solid;
  border-color: transparent #333 transparent transparent; /* 枠線色 */
}

/* スマホ対応: タイムラインを縦一列に */
@media (max-width: 768px) {
  .timeline::after {
    left: 20px; /* 左側に寄せる */
  }
  .timeline-item {
    width: 100%;
    padding-left: 60px; /* ステップ番号の分空ける */
    padding-right: 10px;
    left: 0; /* すべて左寄せ */
  }
  .timeline-item:nth-child(even) {
    left: 0;
  }
  .timeline-step {
    left: 5px; /* 主線の近くに配置 */
  }
  .timeline-item:nth-child(odd) .timeline-step,
  .timeline-item:nth-child(even) .timeline-step {
    right: auto;
    left: 5px;
  }

  /* 吹き出しの三角形をすべて左側へ */
  .timeline-item:nth-child(odd) .timeline-content::after,
  .timeline-item:nth-child(even) .timeline-content::after {
    left: -15px;
    right: auto;
    border-color: transparent #333 transparent transparent;
  }
}


.privacy-main {
    padding-top: 80px; /* ヘッダーの高さ分調整 */
}

/* プライバシーポリシーのヒーローセクション */
.policy-header {
    background: url('https://placehold.co/1200x400/111/ff2d2d?text=Privacy+Policy+Background') no-repeat center center;
    background-size: cover;
    padding: 100px 40px;
    margin-bottom: 0;
    text-align: center;
    border-bottom: 5px solid #ff2d2d;
}

.policy-hero-content {
    background: rgba(0, 0, 0, 0.7);
    padding: 30px;
    border-radius: 12px;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 0 30px rgba(255, 45, 45, 0.3);
}

.policy-hero-content h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.2;
    text-shadow: 0 0 10px #ff2d2d;
}

.policy-hero-content h1 .text-montserrat {
    font-family: 'Montserrat', sans-serif;
    display: block;
    font-size: 1.5rem;
    color: #ff2d2d;
}

.policy-hero-content p {
    font-size: 1.1rem;
    color: #ccc;
    margin-bottom: 20px;
}

.update-info p {
    font-size: 0.9rem;
    color: #777;
    margin: 5px 0 0 0;
}


/* プライバシーポリシーのコンテンツセクション */
.policy-content {
    background: #000;
    padding-top: 50px;
}

.policy-article {
    background: #111;
    border-left: 5px solid #ff2d2d;
    padding: 30px;
    margin-bottom: 40px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s;
}

.policy-article:hover {
    transform: translateY(-5px);
}

.policy-article h2 {
    font-size: 1.8rem;
    color: #fff;
    font-weight: 700;
    margin-bottom: 15px;
    text-align: left;
    position: relative;
    padding-left: 15px;
    border-bottom: 2px dashed rgba(255, 45, 45, 0.5);
    padding-bottom: 10px;
}

.policy-article h2::before {
    content: "■";
    color: #ff2d2d;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.policy-article p,
.policy-article ul {
    text-align: left;
    color: #ccc;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 15px;
    padding-left: 0;
}

.policy-article ul {
    list-style: none;
    padding-left: 20px;
}

.policy-article ul li {
    position: relative;
    margin-bottom: 8px;
}

.policy-article ul li::before {
    content: "●";
    color: #ff2d2d;
    font-size: 0.8rem;
    position: absolute;
    left: -15px;
    top: 5px;
}

/* テーブルスタイル */
.table-container {
    overflow-x: auto;
    margin: 20px 0;
    border: 1px solid rgba(255, 45, 45, 0.3);
    border-radius: 6px;
}

.policy-article table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px;
}

.policy-article th,
.policy-article td {
    padding: 15px;
    text-align: left;
    border: 1px solid rgba(255, 45, 45, 0.2);
    color: #fff;
}

.policy-article th {
    background-color: #ff2d2d;
    color: #000;
    font-weight: 700;
    border-color: #ff2d2d;
}

.policy-article td {
    background-color: #0d0d0d;
}

/* 連絡先アドレス */
.policy-article address p {
    margin-bottom: 5px;
    text-align: left;
    color: #ddd;
    font-style: normal;
    padding-left: 20px;
}

.policy-article address .contact-link {
    color: #ff2d2d;
    text-decoration: none;
    transition: color 0.3s;
}

.policy-article address .contact-link:hover {
    color: #fff;
    text-decoration: underline;
}

/* ====== MEDIA QUERIES (モバイル対応の追加・既存のものを維持) ====== */

/* 768px以下のモバイルデバイス向け調整 */
@media (max-width: 768px) {
  /* ... (既存のモバイルCSSを維持) ... */
  
  /* プライバシーポリシーの調整 */
  .header {
      padding: 15px 20px;
  }
  
  .privacy-main {
      padding-top: 60px;
  }

  .policy-header {
      padding: 60px 20px;
  }

  .policy-hero-content h1 {
      font-size: 2.2rem;
  }
  
  .policy-hero-content h1 .text-montserrat {
      font-size: 1.2rem;
  }

  .policy-hero-content p {
      font-size: 0.9rem;
  }

  .section {
      padding: 50px 20px;
  }

  .policy-article {
      padding: 20px;
  }

  .policy-article h2 {
      font-size: 1.5rem;
  }

  .policy-article table {
      min-width: 100%; /* モバイルでは幅を調整 */
  }

  .policy-article th,
  .policy-article td {
      padding: 10px;
      font-size: 0.9rem;
  }
  
  .policy-article address p {
      font-size: 0.9rem;
  }
}
