@charset "UTF-8";

/* ==========================================================================
   MAIN CONTENT CARDS (高級カード化の共通土台)
   ========================================================================== */
.top-content-navigator {
  padding: 60px 0;
  background-color: var(--gem-white, #faf7f2);
}

.content-nav-inner {
  display: flex;
  flex-direction: column;
  gap: 50px; /* カード同士の心地よい間隔 */
}

/* ラグジュアリーなカード型コンテナ */
.main-content-card {
  background: #ffffff;
  border: 1px solid rgba(229, 221, 209, 0.6);
  border-radius: 16px;
  padding: 50px;
  box-shadow: 0 15px 45px rgba(215, 201, 182, 0.15);
  transition: transform 0.3s ease, box-shadow 0.3s ease;

  /* ヘッダーメニューから飛んできたとき、タイトルが被らないように遷移先を気持ち上にずらす */
  scroll-margin-top: 90px;
}

.main-content-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 50px rgba(215, 201, 182, 0.25);
}

/* カード内のヘッダーデザイン */
.card-header-luxury {
  margin-bottom: 25px;
  border-bottom: 1px solid rgba(229, 221, 209, 0.4);
  padding-bottom: 15px;
}

.card-header-luxury span {
  font-size: 0.85rem;
  color: var(--gem-red, #9c2a2a);
  font-family: "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
  font-weight: 700;
  letter-spacing: 0.2em;
  display: block;
  margin-bottom: 5px;
}

.card-header-luxury h2 {
  font-size: 1.8rem;
  color: var(--gem-black, #2b2b2b);
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-weight: 600;
}

.card-lead-text {
  font-size: 1.1rem;
  color: var(--gem-gray, #555555);
  line-height: 1.7;
  margin-bottom: 35px;
}

/* 下部カード用ボタンの共通ラッパー（PC版の配置） */
.card-btn-wrap {
  display: flex;
  justify-content: center;
  margin-top: 35px;
}

/* キミが作った最強に美しい赤茶色の高級ボタン本体スタイル */
.gemaris-luxury-final-btn {
  display: inline-block;
  background: #6a1b1b; /* 上品な赤茶色 */
  color: #ffffff !important;
  font-size: 1.1rem;
  font-weight: 600;
  padding: 16px 50px;
  border-radius: 50px; /* 綺麗な丸み */
  text-decoration: none;
  letter-spacing: 0.1em;
  box-shadow: 0 8px 20px rgba(106, 27, 27, 0.3);
  transition: all 0.3s ease;
}

.gemaris-luxury-final-btn:hover {
  background: #822424; /* ホバー時に少し明るく */
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(106, 27, 27, 0.4);
}


/* ==========================================================================
   🖼️ メインビジュアル内のボタン（透明リンク）の基準座標設定
   ========================================================================== */
/* ==========================================================================
   🖼️ イラスト内ボタン（透明リンクエリア）の共通基準座標設定
   ========================================================================== */
/* 💡 storyセクションや合体セクションでも使い回せるようにコンテナの共通定義にするやで */
.visual-overlay-wrapper,
.apply-banner-wrap,
.comb-banner-wrap {
  position: relative; /* 👑 透明リンクの基準点になる超大事な指定 */
  width: 100%;
  max-width: 560px; /* 画像の本来のサイズ感に合わせる */
  margin: 0 auto;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(215, 201, 182, 0.25);
}

/* 🔥 凶悪な!importantを全排除！！！HTML側の座標指定を殺さないように修正や！ */
.map-replacement-link,
.apply-invisible-link,
.story-invisible-link {
  position: absolute; /* 👑 ％座標で動かすために必須 */
  display: block;
  background: transparent; /* 完全に透明 */
  z-index: 100 !important; /* 👑 固定ヘッダーより前に出すためにここだけ!important残す！ */
  cursor: pointer;
  -webkit-tap-highlight-color: rgba(0,0,0,0); /* スマホのタップ時の色を消す */
}

/* 💻【PC表示時】の透明リンク位置（ここも!important排除） */
.link-apply {
  width: 74%;
  height: 11%;
  left: 13%;
  top: 64%;
}

.link-discord {
  width: 74%;
  height: 11%;
  left: 13%;
  top: 77%;
}


/* ==========================================================================
   WANTED SECTION SPECIFIC (ライバー募集エリアのPCレイアウト)
   ========================================================================== */
.recruit-luxury-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  background: rgba(250, 247, 242, 0.5);
  padding: 35px;
  border-radius: 12px;
  border: 1px dashed rgba(229, 221, 209, 0.8);
}

.recruit-luxury-text {
  flex: 1;
}

.recruit-luxury-badge {
  display: inline-block;
  background: var(--gem-red, #9c2a2a);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 15px;
  letter-spacing: 0.05em;
}

.recruit-luxury-text h3 {
  font-size: 1.5rem;
  color: var(--gem-black, #2b2b2b);
  line-height: 1.5;
  margin-bottom: 15px;
  font-family: "Helvetica Neue", Arial, "Noto Sans JP", sans-serif;
}

.recruit-luxury-desc {
  font-size: 0.95rem;
  color: var(--gem-gray, #555555);
  line-height: 1.8;
}

/* PC時のイラストコンテナ */
.recruit-luxury-image {
  flex-shrink: 0;
  width: 240px;
}

.recruit-luxury-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
}

/* 💡 デフォルトではスマホ専用改行タグを非表示にしておく */
.sp-only {
  display: none;
}


/* ==========================================================================
   📱 RESPONSIVE STYLE (スマホ画面向けの超絶最適化＆改行バスター)
   ========================================================================== */
@media screen and (max-width: 768px) {
  
  /* 1. カード全体のパディングをスマホ用にスリム化 */
  .main-content-card {
    padding: 35px 20px; /* 横余白を狭めてテキスト領域を広く */
    margin: 0 10px;
    scroll-margin-top: 80px;
  }

  .card-header-luxury h2 {
    font-size: 1.35rem;
    line-height: 1.4;
  }

  /* 💡 スマホ時のリード文・本文テキストの改行挙動を劇的に改善 */
  .card-lead-text,
  .main-content-card p,
  .recruit-luxury-desc,
  .faq-luxury-list p {
    font-size: 0.95rem !important;
    line-height: 1.8 !important; /* 行間を少し広げて読みやすく */
    letter-spacing: 0.03em !important;
    /* 💡 句読点や単語の途中で変にブツ切れになるのを防ぎ、綺麗に流す設定 */
    word-break: normal !important;
    overflow-wrap: anywhere !important;
    text-align: justify; /* 左右の端をピシッと揃えて高級感を出す */
  }

  /* 💡 HTML側で <br class="sp-only"> と書いた部分をスマホ時だけ有効化する */
  .sp-only {
    display: inline !important;
  }

  /* WANTEDエリアのレイアウトをスマホ用に縦並び＆中央寄せ */
  .recruit-luxury-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 25px 15px;
    gap: 25px;
  }

  .recruit-luxury-text {
    width: 100% !important;
  }

  .recruit-luxury-text h3 {
    font-size: 1.2rem;
    line-height: 1.5;
    /* 見出しが変な1文字だけで改行されるのを防止 */
    word-break: keep-all !important;
    overflow-wrap: break-word !important;
  }

  /* イラストをスマホ画面の幅に合わせて限界までデカく解放！ */
  .recruit-luxury-image {
    width: 100% !important;
    max-width: 320px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
  }

  .recruit-luxury-image img {
    width: 100% !important;
    height: auto !important;
    object-fit: contain;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(215, 201, 182, 0.25);
  }

  /* スマホ版の赤茶色ボタンサイズ・位置の微調整 */
  .gemaris-luxury-final-btn {
    font-size: 1.0rem;
    padding: 14px 40px;
    width: 90%;
    text-align: center;
  }

  /* WANTEDカード用のボタンラッパーのみ中央寄せ */
  .main-content-card .card-btn-wrap {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    margin-top: 20px !important;
  }

  /* スマホのメインボタンのズレを完璧に封殺する座標 */
  .link-apply {
    width: 61.5% !important;
    height: 7.2% !important;
    left: 19.3% !important;
    top: 79.5% !important;
  }

  .link-discord {
    width: 61.5% !important;
    height: 7.2% !important;
    left: 19.3% !important;
    top: 87.8% !important;
  }
}
