/* ============================================
   CSS変数・リセット
============================================ */
:root {
    --red:   #9b1a1a;
    --red2:  #c0392b;
    --gold:  #c9a333;
    --black: #0a0a0a;
    --dark:  #111;
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    background: var(--black);
    color: #eee;
    font-family: 'Shippori Mincho', serif;
    overflow-x: hidden;
}

/* ============================================
   ナビゲーションバー
============================================ */
.nav-bar {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 200;
    background: rgba(0,0,0,0.88);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(201,163,51,0.25);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 32px;
    height: 60px;
}
.nav-logo {
    text-decoration: none;
    display: flex;
    flex-direction: column;
    gap: 2px;
}
.nav-logo-en {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 10px;
    letter-spacing: 3px;
    color: var(--gold);
    line-height: 1;
}
.nav-logo-ja {
    font-family: 'Noto Serif JP', serif;
    font-size: 15px;
    letter-spacing: 4px;
    color: #fff;
    line-height: 1;
}
.nav-links {
    display: flex;
    gap: 32px;
    list-style: none;
}
.nav-links a {
    font-family: 'Noto Serif JP', serif;
    font-size: 12px;
    letter-spacing: 3px;
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s;
    white-space: nowrap;
}
.nav-links a:hover { color: var(--gold); }

/* ハンバーガー（SP用・PC時は非表示） */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 210;
}
.nav-hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--gold);
    transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ============================================
   ヒーロー＋カルーセル
============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 560px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* カルーセル本体：hero全体を覆うコンテナ */
.carousel {
    position: absolute;
    inset: 0;
    z-index: 0;
}

/* 各スライド */
.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1.4s ease;
    pointer-events: none;
}
.carousel-slide.active {
    opacity: 1;
    pointer-events: auto;
}

/* 背景画像：スライド切り替え時にゆっくりズーム */
.carousel-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center 25%;
    filter: brightness(0.30) saturate(0.70);
    transform: scale(1.08);
    transition: transform 8s ease, opacity 1.4s ease;
}
.carousel-slide.active .carousel-bg {
    transform: scale(1.00);
}

/* 暗幕オーバーレイ */
.carousel-overlay {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(to bottom,
            rgba(0,0,0,0.60) 0%,
            rgba(0,0,0,0.10) 30%,
            rgba(0,0,0,0.10) 60%,
            rgba(0,0,0,0.80) 100%
        ),
        linear-gradient(135deg,
            rgba(100,8,8,0.18) 0%,
            transparent 50%
        );
}

/* 前後ボタン */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 20;
    background: rgba(0,0,0,0.38);
    border: 1px solid rgba(201,163,51,0.35);
    color: var(--gold);
    font-size: 34px;
    width: 50px;
    height: 76px;
    cursor: pointer;
    transition: background 0.3s, border-color 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    padding: 0;
}
.carousel-btn:hover {
    background: rgba(155,26,26,0.55);
    border-color: var(--gold);
}
.carousel-btn.prev { left: 20px; }
.carousel-btn.next { right: 20px; }

/* ドット */
.carousel-dots {
    position: absolute;
    bottom: 88px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    gap: 10px;
    align-items: center;
}
.carousel-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: rgba(255,255,255,0.28);
    border: none;
    cursor: pointer;
    transition: background 0.3s, transform 0.3s;
    padding: 0;
    display: block;
}
.carousel-dot.active {
    background: var(--gold);
    transform: scale(1.5);
}

/* ヒーローテキスト（カルーセルより前面） */
.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 20px 16px;
    animation: fadeInUp 1s ease 0.4s both;
}
.hero-en {
    font-family: 'Cinzel Decorative', cursive;
    font-size: clamp(9px, 1.8vw, 13px);
    letter-spacing: 8px;
    color: var(--gold);
    margin-bottom: 14px;
}
.hero-title {
    font-family: 'Noto Serif JP', serif;
    font-size: clamp(38px, 9vw, 82px);
    font-weight: 700;
    letter-spacing: 8px;
    color: #fff;
    line-height: 1.25;
    text-shadow: 0 4px 40px rgba(155,26,26,0.55);
    margin-bottom: 16px;
}
.hero-title span { color: var(--red2); }
.hero-sub {
    font-size: clamp(11px, 1.8vw, 14px);
    color: rgba(255,255,255,0.42);
    letter-spacing: 4px;
    margin-bottom: 44px;
}
.hero-cta {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-btn {
    padding: 14px 36px;
    font-family: 'Noto Serif JP', serif;
    font-size: 14px;
    letter-spacing: 3px;
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
    white-space: nowrap;
}
.cta-primary {
    background: var(--red);
    color: #fff;
    border: 1px solid var(--red2);
}
.cta-primary:hover {
    background: var(--red2);
    box-shadow: 0 0 30px rgba(192,57,43,0.4);
}
.cta-secondary {
    background: transparent;
    color: var(--gold);
    border: 1px solid var(--gold);
}
.cta-secondary:hover {
    background: rgba(201,163,51,0.10);
    box-shadow: 0 0 20px rgba(201,163,51,0.2);
}

/* スクロールインジケーター */
.scroll-ind {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    animation: fadeInUp 1s ease 1.6s both;
}
.scroll-ind span {
    font-size: 9px;
    letter-spacing: 4px;
    color: rgba(255,255,255,0.22);
}
.scroll-line {
    width: 1px;
    height: 36px;
    background: linear-gradient(to bottom, var(--gold), transparent);
    animation: scrollAnim 1.6s ease infinite;
}

/* ============================================
   コンテンツセクション共通
============================================ */
.content-section { padding: 100px 20px; }
.section-inner { max-width: 1000px; margin: 0 auto; }

.section-label {
    font-family: 'Cinzel Decorative', cursive;
    font-size: 11px;
    letter-spacing: 6px;
    color: var(--gold);
    margin-bottom: 10px;
}
.section-title {
    text-align: center;
    font-family: 'Cinzel Decorative', cursive;
    color: var(--gold);
    font-size: 2rem;
    margin-bottom: 40px;
    letter-spacing: 4px;
    display: block;
    width: 100%;
    position: relative;
    padding-bottom: 16px;
}
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 1px;
    background: var(--red);
}
.section-text {
    line-height: 2.4;
    color: #bbb;
    font-size: 15px;
    letter-spacing: 1px;
}

/* ============================================
   在籍女性グリッド（修正版）
============================================ */
.girls-section { background: #0d0d0d; }

.girls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 16px;
    margin-bottom: 20px;
}

.girl-card {
    text-decoration: none;
    color: inherit;
    display: flex; /* 縦に並べるため変更 */
    flex-direction: column;
    transition: all 0.3s;
    /* --- 枠の追加設定 --- */
    border: 1px solid #222; /* 通常時の枠線 */
    background: #111;       /* カード背景 */
    border-radius: 8px;     /* カード全体の角丸 */
    padding: 10px;          /* 枠と中身の間の余白 */
    overflow: hidden;
}

.girl-card:hover { 
    transform: translateY(-4px); 
    border-color: var(--gold); /* ホバー時に枠をゴールドに */
    box-shadow: 0 4px 20px rgba(201, 163, 51, 0.2); /* ほのかな光 */
}

.girl-img-wrap {
    position: relative;
    overflow: hidden;
    border-radius: 4px; /* 画像部分の角丸を少し小さく */
    aspect-ratio: 2 / 3;
    background: #1a1a1a;
}

.girl-img-wrap img {
    width: 100%; height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.girl-card:hover .girl-img-wrap img { transform: scale(1.05); }

.working-badge {
    position: absolute;
    bottom: 8px; left: 8px;
    background: var(--red);
    color: #fff;
    font-size: 10px;
    letter-spacing: 2px;
    padding: 3px 10px;
    border-radius: 2px;
    z-index: 2;
}

.girl-info { 
    padding: 12px 4px 4px; /* 余白を調整 */
    text-align: center; 
}

.girl-name {
    font-size: 13px;
    font-weight: bold;
    color: #eee;
    letter-spacing: 2px;
    margin-bottom: 4px;
}

.girl-time { 
    font-size: 11px; 
    color: var(--gold); 
    font-weight: bold;
}
/* ============================================
   フッター
============================================ */
footer {
    border-top: 1px solid #1e1e1e;
    padding: 48px 20px;
    text-align: center;
    color: #444;
    font-size: 12px;
    letter-spacing: 2px;
    line-height: 2.4;
}
.footer-logo {
    font-family: 'Noto Serif JP', serif;
    font-size: 18px;
    color: var(--gold);
    letter-spacing: 6px;
    margin-bottom: 14px;
}

/* ============================================
   アニメーション
============================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes scrollAnim {
    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; }
}

/* ============================================
   レスポンシブ（PC基準）
============================================ */
/* タブレット */
@media (max-width: 960px) {
    .nav-bar { padding: 0 20px; }
    .content-section { padding: 80px 24px; }
    .girls-grid { grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 12px; }
}

/* SP横〜タブレット小 */
@media (max-width: 700px) {
    /* ハンバーガー表示 */
    .nav-hamburger { display: flex; }
    .nav-links {
        display: none;
        position: absolute;
        top: 60px; left: 0; right: 0;
        background: rgba(5,5,5,0.97);
        border-bottom: 1px solid rgba(201,163,51,0.18);
        flex-direction: column;
        gap: 0;
        padding: 8px 0;
        z-index: 190;
    }
    .nav-links.open { display: flex; }
    .nav-links li a {
        display: block;
        padding: 14px 28px;
        border-bottom: 1px solid #181818;
        font-size: 14px;
        letter-spacing: 4px;
    }
    /* カルーセルボタン小さく */
    .carousel-btn { width: 38px; height: 58px; font-size: 26px; }
    .carousel-btn.prev { left: 6px; }
    .carousel-btn.next { right: 6px; }
    /* ヒーロー文字 */
    .hero-title { letter-spacing: 4px; }
    .hero-cta { flex-direction: column; align-items: center; }
    .cta-btn { width: 230px; text-align: center; }
    .content-section { padding: 64px 16px; }
}

/* SP縦 */
@media (max-width: 420px) {
    .nav-logo-ja { font-size: 13px; letter-spacing: 2px; }
    .girls-grid { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .girl-name { font-size: 11px; }
    .carousel-dots { bottom: 72px; }
}
/* 連絡先リンクの基本スタイル（PCではクリック感を出さない、または装飾を抑える） */
.contact-link {
    color: #fff;
    text-decoration: none;
    pointer-events: none; /* PCではリンクとして機能させない（任意） */
    cursor: default;
}

/* スマホ表示のみリンクを有効化し、色を変えるなどの調整 */
@media (max-width: 600px) {
    .contact-link {
        color: #c9a333; /* ゴールド色にしてタップしやすく */
        pointer-events: auto; /* リンク機能を有効化 */
        cursor: pointer;
        text-decoration: underline;
    }
}
/* ==========================================
   相互リンク（バナー集）専用レイアウト
   ========================================== */

/* リストのレイアウト（デフォルト：スマホ向け） */
.banner-links-list {
  list-style: none;
  padding: 0;
  margin: 30px 0 0 0; /* 見出し（赤い線など）との間の余白 */
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* 既存デザインの並び（左寄せ）に同期 */
  gap: 20px; /* バナー同士の余白 */
}

/* 各リンクアイテム */
.banner-link-item {
  width: calc(50% - 10px); /* スマホ時は横並び2列 */
  max-width: 200px; /* バナーの最大横幅 */
  text-align: center;
}

.banner-link-item a {
  display: block;
  text-decoration: none;
  color: #ccc; /* サイト名の文字色（黒ベースに映える明るいグレー） */
  transition: all 0.3s ease;
}

/* ホバーエフェクト（暗い背景向け） */
.banner-link-item a:hover .banner-img-wrapper {
  border-color: #666;
  opacity: 0.8;
}
.banner-link-item a:hover .banner-site-name {
  color: #fff; /* ホバー時に文字を白に */
}

/* バナー画像の外枠 */
.banner-img-wrapper {
  width: 100%;
  aspect-ratio: 200 / 60; /* 一般的なバナー比率 (横200:縦60) */
  background-color: #222; /* 画像背景を暗めにして白飛び防止 */
  border: 1px solid #444; /* バナーを区切る枠線 */
  box-sizing: border-box;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: all 0.3s ease;
}

.banner-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* 画像が歪まないように収める */
}

/* サイト名テキスト */
.banner-site-name {
  display: block;
  font-size: 0.85rem;
  line-height: 1.4;
  word-break: break-all;
  transition: color 0.3s ease;
}
.link-free-text{
  margin: 12px 0 28px;
  font-size: 13px;
  line-height: 1.9;
  letter-spacing: 1px;
  color: #bbb;
}
/* PC向けのレスポンシブ対応 (画面幅 768px 以上) */
@media (min-width: 768px) {
  .banner-links-list {
    gap: 30px; /* PC時はアイテム間の余白を少し広げる */
  }

  .banner-link-item {
    width: calc(20% - 24px); /* PC時は綺麗に横5列に整列 */
  }
}
/* ボタンの基本スタイル（PC基準） */
.scroll-top-btn {
  position: fixed;
  right: 24px;
  bottom: 24px;
  z-index: 99;
  width: 56px;
  height: 56px;
  background-color: #bd0016; /* ①ベースの赤（深みと力強さのある赤） */
  border: 2px solid #d4af37;  /* ②枠線の金（上品なメタリックゴールド） */
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.5); /* ③影に黒を効かせて立体感を出す */
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  
  /* アニメーション用の初期設定（非表示） */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, visibility 0.3s, transform 0.2s, background-color 0.2s, border-color 0.2s;
}

/* SVGマークのスタイル */
.scroll-top-icon {
  width: 26px;
  height: 26px;
  fill: #d4af37; /* マークの金 */
  transition: fill 0.2s;
}

/* ホバー時の演出（PCのみ） */
@media (hover: hover) {
  .scroll-top-btn:hover {
    transform: translateY(-4px);
    background-color: #111111; /* ホバー時に黒ベースへ変化 */
    border-color: #ffda6b;     /* 金色を少し明るくして輝かせる */
  }
  .scroll-top-btn:hover .scroll-top-icon {
    fill: #ffda6b;             /* マークの金も連動して明るく */
  }
}

/* JSでこのクラスがついたら表示 */
.scroll-top-btn.is-show {
  opacity: 1;
  visibility: visible;
}

/* スマホ用のレスポンシブ対応（画面幅768px以下） */
@media (max-width: 768px) {
  .scroll-top-btn {
    right: 16px;
    bottom: 16px;
    width: 48px;
    height: 48px;
    border-width: 1.5px; /* スマホ用に枠線を少し細く */
  }
  .scroll-top-icon {
    width: 22px;
    height: 22px;
  }
}
/* ==========================================
   電話リンク（PCでは完全に非表示）
   ========================================== */
.nav-tel {
  display: none;
}

/* ==========================================
   スマホ環境（画面幅768px以下）のみ表示
   ========================================== */
@media (max-width: 768px) {
  .nav-tel {
    display: list-item; /* スマホのみリストとして表示 */
  }
  
  .nav-tel a {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #d4af37 !important; /* 文字色：金 */
    font-weight: bold;
    padding: 12px 0; /* タップしやすいように上下に少しゆとりを持たせる */
  }

  .nav-tel .tel-icon {
    width: 18px;
    height: 18px;
    fill: #d4af37; /* マークの色：金 */
  }
}
/* ナビゲーション内のXリンクスタイル */
.nav-x {
    margin-top: 15px;
    list-style: none;
}

.nav-x a {
    display: flex;
    align-items: center;
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    padding: 10px;
    border: 1px solid var(--fc-gold); /* サイトのゴールドカラーで枠線 */
    border-radius: 5px;
    justify-content: center;
}

.x-icon {
    width: 20px;
    height: 20px;
    fill: #fff; /* アイコンを白に */
    margin-right: 10px;
}
/* PCサイズ（768px以上）では非表示にする */
@media screen and (min-width: 769px) {
    .nav-x {
        display: none !important;
    }
}

/* スマホサイズ（768px以下）での表示設定 */
@media screen and (max-width: 768px) {
    .nav-x {
        display: block; /* もしくは flex など、メニューの構成に合わせて指定 */
        margin-top: 15px;
    }
}/* スマホサイズ（768px以下）では非表示 */
@media screen and (max-width: 768px) {
    .target-element {
        display: none !important;
    }
}

/* PCサイズ（769px以上）では表示 */
@media screen and (min-width: 769px) {
    .target-element {
        display: block; /* もしくは flex など */
    }
}
/* Xフォローボタン用のラッパー設定 */
.x-column-section {
    padding: 40px 20px;
    text-align: center;
    background-color: #1a1a1a; /* サイトの背景に合わせて調整 */
}

.x-column-wrapper .x-link {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border: 2px solid #c9a333; /* ゴールド枠 */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    border-radius: 8px;
    transition: background 0.3s;
}

.x-column-wrapper .x-link:hover {
    background-color: #c9a333;
    color: #000;
}

.x-column-wrapper .x-icon {
    width: 24px;
    height: 24px;
    fill: currentColor;
    margin-right: 12px;
}

/* スマホ時のみ微調整が必要な場合 */
@media screen and (max-width: 768px) {
    .x-column-section {
        padding: 30px 15px;
    }
}/* セクション全体の余白 */
#x-timeline {
    padding: 60px 0;
    text-align: center;
}

/* タイトルのスタイル（既存のものに合わせる） */
.section-title {
    margin-bottom: 30px;
    font-size: 1.5rem;
    color: #c9a333;
}

/* 中央寄せと幅の制限 */
.x-timeline-wrapper {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 15px;
    display: flex;
    justify-content: center;
}