body {
  margin: 0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, "Noto Sans JP", sans-serif;
  background: radial-gradient(1200px 600px at 50% -200px, #2b0f1f 0%, #0b0610 55%, #050308 100%);
  color: #fff;
}

.site_header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: linear-gradient(180deg, rgba(20, 6, 16, .96), rgba(5, 3, 8, .86));
  border-bottom: 1px solid rgba(255, 120, 200, .25);
  z-index: 1000;
}

.site_header__inner {
  height: 60px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.site_header__logo {
  color: #fff;
  text-decoration: none;
  font-weight: 800;
  white-space: nowrap;
}

.site_header__nav {
  margin-left: auto;
  display: flex;
  gap: 12px;
}

.site_header__navItem {
  position: relative;
  padding: 10px 14px;
  border-radius: 18px;
  font-weight: 700;
  letter-spacing: .06em;
  transition: all .2s ease;
  text-decoration: none;
  background: rgba(255, 120, 200, .08);
  box-shadow:
    0 0 8px rgba(255, 120, 200, .25);
  color: lightpink;
}

.site_header__navItem:hover {
  color: #fff;
  background: rgba(255, 120, 200, .18);
  box-shadow:
    0 0 8px rgba(255, 120, 200, .50);
}

.site_header__navItem.is-active {
  color: #fff;

  background:
    linear-gradient(180deg,
      rgba(80, 20, 50, .95),
      rgba(20, 5, 15, .95));

  border: 1px solid rgba(255, 120, 200, .65);

  box-shadow:
    0 0 0 1px rgba(255, 120, 200, .25),
    0 0 16px rgba(255, 80, 160, .55),
    inset 0 0 14px rgba(255, 180, 220, .18);

  text-shadow:
    0 0 10px rgba(255, 120, 200, .8);

  transform: translateY(-1px);
}

.site_header__navItem.is-active::before {
  content: "";
  position: absolute;
  inset: -3px;
  border-radius: 20px;
  z-index: -1;

  background: radial-gradient(circle at center,
      rgba(255, 80, 160, .35),
      rgba(255, 80, 160, 0) 70%);

  filter: blur(6px);
}



.site_main {
  padding-top: 60px;
}

.site_container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 16px 30px;
  /*height: 5000px;*/
}

.panel_grid {
  display: grid;
  gap: 16px;
  margin-top: 22px;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.panel_card {
  position: relative;
  display: block;
  border-radius: 16px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  border: 1px solid rgba(255, 120, 200, .22);
  background: linear-gradient(180deg, rgba(255, 255, 255, .07), rgba(255, 255, 255, 0));
  box-shadow: 0 0 0 1px rgba(255, 120, 200, .10), 0 12px 30px rgba(0, 0, 0, .70);
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.panel_card:hover {
  transform: translateY(-5px) scale(1.02);
  border-color: rgba(255, 120, 200, .62);
  box-shadow: 0 0 18px rgba(255, 120, 200, .22), 0 18px 44px rgba(0, 0, 0, .88);
}

.panel_card__img {
  /*aspect-ratio: 3/4; */
  background: #000;
  overflow: hidden;
  position: relative;
}

.panel_card__img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, .82), rgba(0, 0, 0, .25) 55%, rgba(0, 0, 0, 0));
}

.panel_card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.panel_card__name {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: .04em;
  text-shadow: 0 0 10px rgba(255, 120, 200, .52), 0 2px 10px rgba(0, 0, 0, .90);
}

/* ===============================
   Erotic Language Select
=============================== */
.site_header__lang {
  position: relative;
  margin-left: 12px;
}

.site_header__lang select {
  appearance: none;
  -webkit-appearance: none;
  /*height: 36px;*/
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #ffd6ea;
  background:
    linear-gradient(180deg,
      rgba(80, 20, 50, .95),
      rgba(20, 5, 15, .95));

  border-radius: 18px;
  border: 1px solid rgba(255, 120, 200, .45);

  cursor: pointer;

  box-shadow:
    0 0 0 1px rgba(255, 120, 200, .15),
    0 0 12px rgba(255, 80, 160, .25),
    inset 0 0 10px rgba(255, 180, 220, .12);

  transition:
    box-shadow .2s ease,
    border-color .2s ease,
    transform .15s ease;
}

.site_header__lang::after {
  content: "▼";
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%) scale(.75);
  color: #ff9fcd;
  pointer-events: none;
  text-shadow: 0 0 6px rgba(255, 120, 200, .7);
}

.site_header__lang select:hover {
  border-color: rgba(255, 120, 200, .8);
  box-shadow:
    0 0 0 1px rgba(255, 120, 200, .25),
    0 0 18px rgba(255, 80, 160, .45);
  transform: translateY(-1px);
}

.site_header__lang select:focus {
  outline: none;
  border-color: rgba(255, 160, 220, 1);
  box-shadow:
    0 0 0 2px rgba(255, 120, 200, .35),
    0 0 28px rgba(255, 80, 160, .65);
}

.site_header__lang select option {
  background: #140810;
  color: #ffd6ea;
  font-weight: 600;
}

.site_header__lang select option:checked {
  background: #2a0f1e;
  color: #fff;
}

.lang-select-wrap {
  position: relative;
  display: inline-block;
}

#langSelect {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  padding: 10px 20px 10px 10px;
  font-size: 11px;
  border-radius: 30px;
  border: 1px solid #ff2f6d;
  background: linear-gradient(135deg, #1a001f, #3a003a);
  color: #fff;
  cursor: pointer;
  outline: none;
  transition: all 0.3s ease;
  box-shadow: 0 0 15px rgba(255, 0, 90, 0.3);
}

#langSelect:hover {
  box-shadow: 0 0 25px rgba(255, 0, 90, 0.7);
  transform: translateY(-1px);
}

#langSelect:focus {
  border-color: #ff0066;
}

.lang-select-wrap::after {
  content: "▼";
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: #ff2f6d;
  pointer-events: none;
  font-size: 10px;
}

/* 共通（既存があれば不要。最低限の整形だけ） */
.site_header__navItem {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  text-decoration: none;
  line-height: 1;
  transition: transform .18s ease, box-shadow .18s ease, filter .18s ease, opacity .18s ease;
  -webkit-tap-highlight-color: transparent;
}

/* --- menu2: Create Free Account を“勝たせる” --- */
.site_header__navItem--cta {
  position: relative;
  padding: 11px 18px;
  font-weight: 700;
  letter-spacing: .02em;
  color: #fff;
  background: linear-gradient(135deg, #ff2f87, #ff0066 35%, #7b2cff 100%);
  box-shadow:
    0 10px 26px rgba(255, 0, 102, .26),
    0 0 18px rgba(255, 0, 140, .25);
  border: 1px solid rgba(255, 255, 255, .18);
  overflow: hidden;
}

/* うっすら光沢（“濡れ感”っぽい演出） */
.site_header__navItem--cta::before {
  content: "";
  position: absolute;
  inset: -30%;
  background: radial-gradient(circle at 30% 20%, rgba(255, 255, 255, .45), rgba(255, 255, 255, 0) 55%);
  transform: rotate(12deg);
  opacity: .35;
  pointer-events: none;
}

/* ホバーで“誘う” */
.site_header__navItem--cta:hover {
  transform: translateY(-1px) scale(1.02);
  box-shadow:
    0 14px 34px rgba(255, 0, 102, .34),
    0 0 26px rgba(255, 0, 140, .40);
  filter: saturate(1.05);
}

/* 押下（クリック）で気持ちよく沈む */
.site_header__navItem--cta:active {
  transform: translateY(0) scale(.99);
  box-shadow:
    0 10px 22px rgba(255, 0, 102, .28),
    0 0 18px rgba(255, 0, 140, .28);
}

/* アクティブ状態は“さらに勝たせる”（必要なら） */
.site_header__navItem--cta.is-active {
  box-shadow:
    0 16px 40px rgba(255, 0, 102, .40),
    0 0 32px rgba(255, 0, 140, .50);
}

/* --- menu3: Log In は控えめ（でも押しやすい） --- */
.site_header__navItem--sub {
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .08);
  border: 1px solid rgba(255, 255, 255, .14);
  opacity: .92;
}

.site_header__navItem--sub:hover {
  opacity: 1;
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
}

/* スマホはCTAを少し大きく（CV用） */
@media (max-width: 768px) {
  .site_header__navItem--cta {
    padding: 12px 18px;
  }
}


.site_header__logo {
  /*font-family: 'Great Vibes', cursive;*/
  font-size: 34px;
  font-weight: 400;
  text-decoration: none;
  color: #ff2f87;

  text-shadow:
    0 0 6px #ff2f87,
    0 0 16px #ff0066,
    0 0 26px rgba(255, 0, 120, 0.6);

  transition: all .3s ease;
}

.site_header__logo:hover {
  color: #ffffff;
}

/* ===============================
   FANZA Sub Navigation (Independent)
================================== */
.site_footer {
  background: #000;
  padding: 10px 20px;
  border-top: 1px solid rgba(255, 46, 166, 0.3);
}

.footer_inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 40px;
}

.footer_title {
  color: #ff2ea6;
  margin-bottom: 16px;
  text-shadow: 0 0 8px #ff2ea6;
}

.footer_block ul {
  list-style: none;
  padding: 0;
}

.footer_block li {
  margin-bottom: 10px;
}

.footer_block a {
  color: #ccc;
  text-decoration: none;
  transition: 0.2s;
}

.footer_block a:hover {
  color: #ff2ea6;
  text-shadow: 0 0 6px #ff2ea6;
}

/* Categoryだけ2列 */
.footer_block:nth-child(2) ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 20px;
}


/* ===================================
   📱 MOBILE HEADER (2 rows)
=================================== */
@media (max-width: 768px) {

  /* ヘッダー自体を自動高さに（2段分） */
  .site_header {
    height: auto;
  }

  /* 1段目：ロゴ左／言語右 を固定配置 */
  .site_header__inner {
    height: auto;
    max-width: 1200px;
    margin: 0 auto;
    padding: 10px 12px 8px;
    display: grid;
    grid-template-columns: 1fr auto;
    grid-template-areas:
      "logo lang"
      "nav  nav";
    align-items: center;
    gap: 8px;
  }

  .site_header__logo {
    grid-area: logo;
    font-size: 22px; /* スマホで巨大すぎ防止 */
    line-height: 1.1;
  }

  .site_header__lang {
    grid-area: lang;
    margin-left: 0; /* 既存のmargin打ち消し */
  }

  /* 言語セレクトは右上で押しやすく */
  .site_header__lang select {
    padding: 10px 34px 10px 12px; /* 右の▼分を確保 */
    font-size: 11px;
  }

  /* 2段目：状態メニューをヘッダー内に収める */
  .site_header__nav {
    grid-area: nav;
    margin-left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;           /* ここ重要：折り返さない */
    overflow-x: auto;            /* 入り切らなければ横スクロール */
    -webkit-overflow-scrolling: touch;
    padding: 6px 2px 2px;
  }

  /* 横スクロール時にバーを見せない（任意） */
  .site_header__nav::-webkit-scrollbar {
    height: 0;
  }

  .site_header__navItem {
    flex: 0 0 auto;
    padding: 9px 12px;
    font-size: 12px;
    border-radius: 999px;
    white-space: nowrap;
  }

  /* CTAがある場合は小さめに整える（任意） */
  .site_header__navItem--cta {
    padding: 10px 14px;
  }

  /* ✅ ヘッダーが2段になった分、mainの上余白を増やす */
  .site_main {
    padding-top: 116px; /* だいたい2段分 */
  }

  /* ---- 既に入れているスマホ対応（例） ---- */

  /* キャストグリッド 2列固定 */
  .panel_grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  /* スマホでホバー浮きはOFF */
  .panel_card:hover {
    transform: none;
  }

  /* フッター */
  .footer_inner {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* カテゴリーはスマホ1列 */
  /*
  .footer_block:nth-child(2) ul {
    grid-template-columns: 1fr;
  }
    */
}
