/*
Theme Name: Visual Novel Theme
Theme URI: https://example.com
Description: heart-flip.jp
Version: 1.0
*/

/* Base Styles */
:root {
  --primary-color: #ff90b3;
  /* 明るく可愛いピンク */
  --secondary-color: #ff6495;
  --dark-color: #ff6495;
  --light-color: #ffe4ec;
  --gray-color: #bdbdbd;
  --font-main: 'Yomogi', sans-serif;      
  --font-heading: 'Darumadrop One', cursive; 
}

  .top_info {
    color: #ffffff; /* アイコンのピンク色（仮）。具体的な色コードがあれば変更可能 */
    background-color: #FFA9BA;
    font-size: 20px; /* 文字サイズを適度に大きく、見やすく */
    line-height: 1.2; /* 行間を狭め、高さを抑える */
    margin: 0 0 0 0; /* 上下の余白を小さくしてコンパクトに */
    display: block;
    padding: 5px 0; /* 余白を最小限に */
    font-weight: bold; /* 太字で目立たせる */
    text-align: center; /* 中央揃えで視覚的にバランス良く */
    border: none;
}

html {
  scrollbar-gutter: stable; /* 常にスクロールバー用の余白を確保 */
  overflow-x: hidden; /* 横スクロールを防止 */
}

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

body {
  font-family: var(--font-main);
  color: var(--dark-color);
  line-height: 1.6;
  background-color: #fff;
  overflow-x: hidden; /* 横スクロールを防止 */
  width: 100%;
  max-width: 100vw; /* ビューポート幅を超えないように */
}

.text-center{
  text-align: center;
}
h1,
h2,
h3 {
  margin-bottom: 1em;
}

h1 {
  font-size: 2em;
  border-bottom: 2px solid #ff6495;
  padding-bottom: 0.3em;
}

h2 {
  font-size: 1.5em;
  margin-top: 2em;
}

h3 {
  font-size: 1.2em;
  margin-top: 1.5em;
}

p {
  margin-bottom: 1.2em;
}


a {
  color: var(--primary-color);
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: var(--secondary-color);
}

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

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 50px 15px;
  color: #333;
}

        ul {
            list-style-type: disc;
            margin-left: 20px;
            margin-bottom: 1.2em;
        }

.contact-info {
  background-color: #ecf0f1;
  padding: 15px;
  border-radius: 5px;
  margin-top: 1.5em;
}

.policy-section {
  margin-bottom: 2em;
}

/* Header Styles */
.vn-header {
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  position: fixed;
  width: 100vw;
  top: 0;
  z-index: 1000;
  color: #880e4f;
  padding: 0 5px 0 0;
}

.header-container {
  max-width: 1400px;
  /* 参考サイトの幅に近づける */
  margin: 0 auto;
  padding: 0 20px;
}

.header-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
}

.header-logo img {
  height: 60px;
  /* ロゴサイズを少し大きく */
  width: auto;
}

/* Navigation */
.gnav {
  background-color: transparent;
  /* 背景を透明に */
}

.primary-menu {
  display: flex;
  list-style: none;
  align-items: center;
  margin: 0;
}

.primary-menu li {
  margin-left: 30px;
  /* メニュー間隔を広めに */
  position: relative;
}

.primary-menu a {
  color: var(--dark-color);
  font-weight: 500;
  font-size: 1rem;
  padding: 5px 0;
  position: relative;
  transition: color 0.3s ease;
}

.primary-menu a:hover {
  color: var(--primary-color);
}

.primary-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -2px;
  left: 0;
  background-color: var(--primary-color);
  transition: width 0.3s ease;
}

.primary-menu a:hover::after {
  width: 100%;
  /* ホバー時に下線が伸びる */
}

/* Language Switcher */
.language-switcher {
  margin-left: 40px;
}

.language-switcher a {
  font-size: 0.9rem;
  color: var(--gray-color);
}

.language-switcher .lang-active {
  color: var(--dark-color);
  font-weight: bold;
}

.language-switcher a:hover {
  color: var(--primary-color);
}

/* Menu Toggle (Mobile) */
.menu-toggle {
  display: block;
  background-color: #FFA9BA;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 8px 12px;
  border-radius: 6px;
  width: 48px;   /* ← 固定幅を設定 */
  height: 48px;  /* ← 固定高さ */
  display: flex; /* 中央寄せ用 */
  align-items: center;
  justify-content: center;
}


.gnav[hidden] { display: none; }
.gnav.is-open { display: block; }

@media (min-width: 768px) {
  .menu-toggle { display: none; }
  .gnav { display: block !important; }
}


/* Responsive Styles */
@media (max-width: 768px) {
  .header-top {
    flex-direction: row;
    justify-content: space-between;
  }

  .menu-toggle {
    display: block;
  }

  .gnav {
    display: none;
    width: 100%;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 6px 10px rgba(0,0,0,0.1);
  }

  .gnav.active {
    display: block;
  }

  .primary-menu {
    flex-direction: column;
    padding: 20px 0;
  }

  .primary-menu li {
    margin: 10px 0;
  }

  .language-switcher {
    margin-left: 0;
    margin-top: 20px;
  }
}

@media (max-width: 576px) {
  .header-logo img {
    height: 50px;
  }

  .header-container {
    padding: 0 15px;
  }
}

/* Main Content */
.main-container {
  margin-top: 100px;
}
.banner-carousel {
  overflow: hidden;
  background: #ffffff;
  padding: 20px 0;
}

.banner-carousel .top_info {
  margin-bottom: 20px;
}

.banner-carousel .carousel-track-wrapper {
  display: flex;
  justify-content: center;
  overflow: hidden;
}

.carousel-track-wrapper {
  overflow: hidden;
}

.carousel-track {
  display: flex;
  width: max-content;
  animation: scroll-left 999999s linear infinite;
}

/* バナー項目 */
.carousel-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 672px;
  margin: 0 18px;
  margin-top: 30px;
}

.carousel-item {
  width: 100%;
  aspect-ratio: 1280 / 720;
  display: block;
}

.carousel-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease, filter 0.4s ease;
  display: block;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  border-radius: 16px;
}

.carousel-item:hover .carousel-img {
  transform: scale(1.08);
  filter: brightness(1.2);
}

/* スクロールアニメーション */
@keyframes scroll-left {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* レスポンシブ対応 */
@media (max-width: 1024px) {
  .carousel-block {
    width: 576px;
  }

  .carousel-item {
    aspect-ratio: 1280 / 720;
  }
}

@media (max-width: 768px) {
  .carousel-block {
    width: 384px;
  }

  .carousel-item {
    aspect-ratio: 1280 / 720;
  }
}

/* Section Styles */
.section-title {
  text-align: center;
  margin: 0 40px 30px 40px;
  font-family: var(--font-heading);
  font-size: 2rem;
  position: relative;
  color: #ff6495;
}

.section-title span {
  background-color: white;
  padding: 0 20px;
  position: relative;
  z-index: 1;
}

.section-title:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #ddd;
  z-index: 0;
}

/* News Section */
.news-section {
  padding: 40px 0;
}

.news-list {
  max-width: 800px;
  margin: 0 auto;
}

.news-item {
  border-bottom: 1px solid #eee;
  padding: 15px 0;
}

.news-item time {
  color: var(--gray-color);
  font-size: 0.9rem;
  margin-right: 15px;
}

.news-title {
  display: inline;
  font-size: 1.1rem;
}

/* Pickup Banners */
.pickup-banners {
  padding: 40px 0;
  background-color: #f5f5f5;
}

.banner-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.banner-item img {
  border-radius: 4px;
  transition: transform 0.3s ease;
}

.banner-item:hover img {
  transform: scale(1.02);
}

/* Game List */
.game-list-section {
  padding: 40px 0 60px;
}

.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 30px;
}

.game-item {
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.game-thumbnail {
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1 / 1;
  margin: 0 auto;
  border-radius: 8px;
}

.game-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
  border-radius: 8px;
}

/* スマホ・タブレット用のスタイル */
@media (max-width: 992px) {
  .game-thumbnail {
    width: calc(100% - 20px);
    margin: 10px;
    border-radius: 8px;
  }

  .game-image {
    border-radius: 8px;
  }
}

.game-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  overflow: hidden;
}

.game-item:hover .game-overlay {
  opacity: 1;
}

.game-item:hover .game-image {
  transform: scale(1.05);
}

.view-detail {
  color: white;
  font-weight: bold;
  border: 2px solid white;
  padding: 8px 20px;
  border-radius: 30px;
}

.game-title {
  margin-top: 15px;
  padding: 0 10px 15px;
  text-align: center;
  font-weight: 500;
}

/* More Link */
.more-link {
  display: inline-block;
  margin-top: 30px;
  padding: 10px 30px;
  background-color: var(--primary-color);
  color: white;
  border-radius: 30px;
  font-weight: bold;
  transition: all 0.3s ease;
}

.more-link:hover {
  background-color: var(--secondary-color);
  color: white;
  transform: translateY(-3px);
}

/* Footer Styles */
.vn-footer {
  background-color: #ff6495;
  /* Deep pink from --secondary-color */
  color: #ffffff;
  padding: 60px 0 40px;
  text-align: center;
  border-top-left-radius: 20px;
  /* Rounded top-left corner */
  border-top-right-radius: 20px;
  /* Rounded top-right corner */
}

.footer-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

.footer-logo {
  margin: -20px 0 30px 0;
}

.footer-logo img {
  height: 60px;
  width: auto;
}

.footer-nav {
  margin-bottom: 20px;
}

.footer-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.footer-menu a {
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 400;
  transition: color 0.3s ease;
}

.footer-menu a:hover {
  color: #ffe4ec;
  /* Lighter pink for hover, matching --light-color */
}

.footer-sns {
  display: flex;
  justify-content: center;
  gap: 25px;
  margin-bottom: 30px;
}

.sns-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  /* Larger circle for white background */
  height: 80px;
  background-color: #ffffff;
  /* White circular background */
  border-radius: 50%;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.sns-icon img {
  width: 48px;
}

.sns-icon:hover {
  transform: scale(1.1);
  opacity: 0.8;
}

.footer-bottom {
  font-size: 0.85rem;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  /* Slightly lighter border for contrast */
}

.copyright {
  margin: 10px 0 0 0;
}

.footer-policies {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.footer-policies a {
  color: #ffffff;
  font-size: 0.85rem;
  transition: color 0.3s ease;
}

.footer-policies a:hover {
  color: #ffe4ec;
}


/* Responsive Styles */
@media (max-width: 768px) {



  .vn-footer {
    padding: 40px 0 30px;
    border-top-left-radius: 15px;
    /* Slightly smaller radius on mobile */
    border-top-right-radius: 15px;
  }

  .footer-logo img {
    height: 40px;
  }

  .footer-menu {
    flex-direction: column;
    gap: 15px;
  }

  .footer-sns {
    gap: 10px;
  }

  .sns-icon {
    width: 36px;
    height: 36px;
  }

  .sns-icon svg {
    width: 20px;
    height: 20px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
  }

  .footer-policies {
    flex-direction: column;
    gap: 10px;
  }
  .vn-footer {
    padding: 30px 0 20px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
  }

  .footer-logo img {
    height: 48px;
    margin: 20px 0 0 0;
  }

  .footer-menu a,
  .footer-policies a {
    font-size: 0.8rem;
  }

  .sns-icon {
    width: 64px;
    height: 64px;
  }

  .sns-icon img{
    width: 42px;
  }

  .sns-icon svg {
    width: 32px;
    height: 32px;
  }
}

/* Sidebar Styles */
.vn-sidebar {
  width: 300px;
  padding-left: 30px;
}

.widget {
  margin-bottom: 40px;
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--primary-color);
}

.widget-search form {
  display: flex;
}

.widget-search input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 4px 0 0 4px;
}

.widget-search button {
  background-color: var(--primary-color);
  color: white;
  border: none;
  padding: 0 15px;
  border-radius: 0 4px 4px 0;
  cursor: pointer;
}

.widget-categories ul {
  list-style: none;
}

.widget-categories li {
  margin-bottom: 8px;
}

.widget-categories .count {
  color: var(--gray-color);
  font-size: 0.8rem;
}

.popular-games-list {
  display: grid;
  gap: 20px;
}

.popular-game {
  position: relative;
}

.popular-game-thumb {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 4px;
}

.popular-game-title {
  margin-top: 8px;
  font-size: 0.9rem;
}

.tag-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.tag-link {
  display: inline-block;
  background-color: #f5f5f5;
  padding: 4px 12px;
  border-radius: 4px;
  font-size: 0.8rem;
}

.tag-link:hover {
  background-color: var(--primary-color);
  color: white;
}

/* Archive Page Styles */
.archive-header {
  text-align: center;
  margin-bottom: 50px;
}

.archive-title {
  font-family: var(--font-main);
  font-size: 2rem;
  margin-bottom: 15px;
}

.archive-description {
  max-width: 700px;
  margin: 0 auto;
  color: var(--gray-color);
}

.pagination {
  margin-top: 50px;
  text-align: center;
}

.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin: 0 5px;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.page-numbers.current {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

.page-numbers:hover:not(.current) {
  background-color: #f5f5f5;
}

/* Page Styles */
.page-title {
  font-family: var(--font-main);
  font-size: 2rem;
  margin-bottom: 30px;
  text-align: center;
}

.page-text {
  max-width: 800px;
  margin: 0 auto;
  font-weight: bold;
  word-wrap: break-word; /* 長い単語を折り返し */
  overflow-wrap: break-word; /* 長い単語を折り返し */
}

/* 記事ページの横スクロール防止 */
.vn-page .container,
.vn-page .page-content,
.vn-page .page-text {
  max-width: 100%;
  overflow-x: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.vn-page img {
  max-width: 100%;
  height: auto;
}

.vn-page pre,
.vn-page code {
  max-width: 100%;
  overflow-x: auto;
  word-wrap: break-word;
}

.vn-page table {
  max-width: 100%;
  overflow-x: auto;
  display: block;
}

.page-links {
  margin: 30px 0;
  font-weight: bold;
}

/* 404 Page Styles */
.error-404 {
  text-align: center;
  padding: 60px 0;
}

.error-404 .page-title {
  font-size: 3rem;
  color: var(--secondary-color);
  margin-bottom: 30px;
}

.error-404 .page-content {
  max-width: 700px;
  margin: 0 auto;
}

.error-404 .search-form {
  margin: 40px 0;
}

.error-404 .popular-games {
  margin-top: 50px;
}

.error-404 .game-grid {
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

/* Responsive Adjustments */
@media (max-width: 992px) {

  .vn-single .container,
  .vn-page .container {
    flex-direction: column;
  }

  .vn-sidebar {
    width: 100%;
    padding-left: 0;
    margin-top: 50px;
  }
}

@media (max-width: 576px) {
.banner-carousel {
  padding: 10px 0 20px 0;
}

.top_info{  
    font-size: 14px; /* 文字サイズを適度に大きく、見やすく */
}
  .archive-title,
  .page-title {
    font-size: 1.8rem;
  }

  .error-404 .page-title {
    font-size: 2.5rem;
  }
}

/* Contact Form 7の全体的なスタイル */
.wpcf7 {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border-radius: 8px;
    font-family: 'Arial', 'Helvetica', sans-serif;
    color: #333;
}

/* フォームの見出し */
.wpcf7 h2,
.wpcf7 h3 {
    color: #2c3e50;
    font-size: 1.5em;
    margin-bottom: 1em;
    border-bottom: 2px solid #3498db;
    padding-bottom: 0.3em;
}

/* フォームフィールド */
.wpcf7-form p {
    margin-bottom: 1.2em;
}

.wpcf7-form label {
    display: block;
    font-weight: bold;
    color: #2c3e50;
    margin-bottom: 0.5em;
}

.wpcf7-text,
.wpcf7-textarea,
.wpcf7-select {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    color: #333;
    background-color: #fff;
    box-sizing: border-box;
    transition: border-color 0.3s ease;
}

.wpcf7-text:focus,
.wpcf7-textarea:focus,
.wpcf7-select:focus {
    border-color: #ff6495;
    outline: none;
    box-shadow: 0 0 5px rgba(52, 152, 219, 0.3);
}

/* テキストエリアの高さ */
.wpcf7-textarea {
    height: 150px;
    resize: vertical;
}

/* 送信ボタン */
.wpcf7-submit {
    background-color: #ff6495;
    color: #fff;
    padding: 16px 48px;
    border: none;
    border-radius: 5px;
    font-size: 1.5em;
    cursor: pointer;
    transition: background-color 0.3s ease;
    width: 100%;
}

.wpcf7-submit:hover {
    background-color: #ffabc5;
}

/* エラーメッセージ */
.wpcf7-not-valid-tip {
    color: #e74c3c;
    font-size: 0.9em;
    margin-top: 0.3em;
}

.wpcf7-response-output {
    margin-top: 1em;
    padding: 10px;
    border-radius: 5px;
    font-size: 0.9em;
}

.wpcf7-validation-errors,
.wpcf7-mail-sent-ng {
    border: 1px solid #e74c3c;
    background-color: #f8d7da;
    color: #721c24;
}

.wpcf7-mail-sent-ok {
    border: 1px solid #2ecc71;
    background-color: #d4edda;
    color: #155724;
}

/* 必須項目のマーク */
.wpcf7-form .wpcf7-list-item-label::after,
.wpcf7-form .required::after {
    content: " *";
    color: #e74c3c;
}

/* レスポンシブ対応 */
@media (max-width: 600px) {
    .wpcf7 {
        padding: 15px;
    }

    .wpcf7 h2,
    .wpcf7 h3 {
        font-size: 1.3em;
    }

    .wpcf7-text,
    .wpcf7-textarea,
    .wpcf7-select {
        font-size: 0.9em;
    }

    .wpcf7-submit {
        width: 100%;
        padding: 12px;
    }
}

/* ========================================
   Age Gate プラグイン - SP最適化（2倍サイズ）
   ======================================== */

/* 基本スタイル */
.age-gate__headline {
  color: red;
}

/* SP向け最適化（2倍サイズ） */
@media (max-width: 768px) {
  /* メインコンテナ */
  .age-gate {
    padding: 48px 32px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
  }

  /* フォーム全体 */
  .age-gate__form {
    width: 100% !important;
    padding: 0 !important;
  }

  /* 見出しコンテナ */
  .age-gate__heading {
    margin-bottom: 40px !important;
  }

  /* ロゴ */
  .age-gate__heading-title--logo {
    max-width: 80% !important;
    margin: 0 auto 40px !important;
    width: auto !important;
    height: auto !important;
  }

  /* 見出し（h2） */
  .age-gate__headline {
    font-size: 30px !important;
    line-height: 1.4 !important;
    margin-bottom: 40px !important;
    font-weight: 700 !important;
    color: red !important;
  }

  /* サブ見出し */
  .age-gate__subheadline {
    font-size: clamp(36px, 9vw, 44px) !important;
    line-height: 1.5 !important;
    margin-bottom: 32px !important;
  }

  /* チャレンジテキスト（重要：実際に使われているクラス） */
  .age-gate__challenge {
    font-size: clamp(32px, 8vw, 36px) !important;
    line-height: 1.8 !important;
    margin-bottom: 40px !important;
    text-align: center !important;
  }

  .age-gate__challenge br {
    display: block !important;
    margin: 8px 0 !important;
  }

  /* フィールドセット */
  .age-gate__fields {
    margin-bottom: 48px !important;
    width: 100% !important;
  }

  /* ボタンコンテナ */
  .age-gate__buttons {
    flex-direction: column !important;
    gap: 24px !important;
    width: 100% !important;
    margin: 40px 0 !important;
  }

  /* ボタン（実際のクラス名に合わせる） */
  button.age-gate__button,
  button.age-gate__submit,
  button.age-gate__submit--yes,
  button.age-gate__submit--no,
  .age-gate__submit--yes,
  .age-gate__submit--no {
    font-size: clamp(36px, 9vw, 40px) !important;
    padding: 32px 64px !important;
    min-height: 112px !important;
    min-width: 240px !important;
    font-weight: 600 !important;
    border-radius: 16px !important;
    margin: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  /* Remember チェックボックス */
  .age-gate__remember-wrapper {
    margin: 40px 0 !important;
  }

  .age-gate__remember {
    margin-bottom: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }

  .age-gate__remember-text {
    font-size: clamp(30px, 7.5vw, 34px) !important;
    line-height: 1.5 !important;
    margin-left: 12px !important;
  }

  .age-gate__remember-field {
    width: 32px !important;
    height: 32px !important;
    margin: 0 !important;
  }

  /* 入力フィールド */
  .age-gate input[type="text"].age-gate__input,
  .age-gate select.age-gate__select,
  .age-gate select.age-gate__region {
    font-size: clamp(32px, 8vw, 36px) !important;
    padding: 28px 32px !important;
    min-height: 104px !important;
    border-radius: 16px !important;
  }

  /* ラベル */
  .age-gate__label {
    font-size: clamp(32px, 8vw, 36px) !important;
    margin-bottom: 16px !important;
    font-weight: 600 !important;
  }

  /* 追加情報テキスト */
  .age-gate__additional-information {
    font-size: clamp(28px, 7vw, 32px) !important;
    line-height: 1.6 !important;
    margin-bottom: 32px !important;
  }

  /* エラーメッセージ */
  .age-gate__error,
  .age-gate__errors {
    font-size: clamp(28px, 7vw, 32px) !important;
    padding: 24px !important;
    margin-bottom: 32px !important;
  }

  /* テキスト全体の調整 */
  .age-gate {
    font-size: clamp(32px, 8vw, 36px) !important;
    line-height: 1.6 !important;
  }

  .age-gate p {
    font-size: clamp(30px, 7.5vw, 34px) !important;
    line-height: 1.6 !important;
    margin-bottom: 32px !important;
  }
}

/* より小さい画面（480px以下）向けの追加調整（2倍サイズ） */
@media (max-width: 480px) {
  .age-gate {
    padding: 40px 24px !important;
  }

  .age-gate__headline {
    font-size: 44px !important;
    margin-bottom: 32px !important;
  }

  .age-gate__challenge {
    font-size: 28px !important;
    margin-bottom: 32px !important;
  }

  button.age-gate__button,
  button.age-gate__submit,
  button.age-gate__submit--yes,
  button.age-gate__submit--no,
  .age-gate__submit--yes,
  .age-gate__submit--no {
    padding: 28px 48px !important;
    min-height: 104px !important;
    font-size: 34px !important;
  }

  .age-gate__remember-text {
    font-size: 28px !important;
  }
}

/* ========================================
   クリエイター紹介ページスタイル
   ======================================== */

/* クリエイター紹介ページ専用のカラーパレット */
.creators-page {
  --creators-pink-50: #fff1f5;
  --creators-pink-100: #ffd6e7;
  --creators-pink-200: #ffb3cf;
  --creators-pink-300: #ff8ab4;
  --creators-pink-400: #ff6aa2;
  --creators-pink-500: #ff4d91;
  --creators-pink-600: #e6367e;
  --creators-pink-700: #c02661;
  --creators-pink-800: #9d1d4e;
  --creators-pink-900: #7a173e;
  --creators-white: #ffffff;
  --creators-text-dark: #2b2230;
  --creators-text-muted: #6b5b68;
  --creators-shadow-sm: 0 2px 8px rgba(255, 77, 145, 0.1);
  --creators-shadow-md: 0 8px 24px rgba(255, 77, 145, 0.15);
  --creators-shadow-lg: 0 16px 48px rgba(255, 77, 145, 0.2);
}

/* 基本レイアウト */
.creators-page {
  position: relative;
  min-height: 100vh;
  background: linear-gradient(180deg, var(--creators-white) 0%, var(--creators-pink-50) 100%);
}

/* 左側固定タブ */
.creators-page .sticky-tabs {
  position: fixed;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 100;
  padding: 0 8px;
  opacity: 1;
  transition: opacity 0.5s ease;
}

.creators-page .sticky-tabs.fade-out {
  opacity: 0.2;
}

.creators-page .tabs-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.creators-page .tab-link {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 16px 20px 16px 12px;
  background: var(--creators-white);
  border-radius: 0 24px 24px 0;
  text-decoration: none;
  color: var(--creators-text-dark);
  font-weight: 600;
  font-size: 14px;
  box-shadow: var(--creators-shadow-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.creators-page .tab-link::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: var(--creators-pink-500);
  transform: scaleY(0);
  transition: transform 0.3s ease;
}

.creators-page .tab-link.active {
  background: linear-gradient(135deg, var(--creators-pink-500), var(--creators-pink-400));
  color: var(--creators-white);
  transform: translateX(8px);
}

.creators-page .tab-link.active::before {
  transform: scaleY(1);
}

.creators-page .tab-link:hover:not(.active) {
  transform: translateX(4px);
  box-shadow: var(--creators-shadow-lg);
}

.creators-page .tab-icon {
  font-size: 20px;
  line-height: 1;
}

.creators-page .tab-text {
  white-space: nowrap;
}

/* ヒーローセクション */
.creators-page .page-hero {
  position: relative;
  padding: clamp(80px, 12vw, 160px) 16px clamp(60px, 8vw, 100px);
  text-align: center;
  background: linear-gradient(135deg, var(--creators-pink-100) 0%, var(--creators-pink-200) 50%, var(--creators-pink-100) 100%);
  overflow: hidden;
}

.creators-page .hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  margin: 0 auto;
}

.creators-page .hero-title {
  font-size: clamp(36px, 6vw, 64px);
  font-weight: 800;
  margin: 0 0 24px;
  line-height: 1.2;
}

.creators-page .title-line {
  display: block;
  color: var(--creators-pink-900);
  letter-spacing: 0.05em;
}

.creators-page .title-sub {
  display: block;
  font-size: 0.6em;
  color: var(--creators-pink-600);
  font-weight: 400;
  letter-spacing: 0.2em;
  margin-top: 8px;
}

.creators-page .hero-lead {
  font-size: clamp(16px, 2.5vw, 20px);
  color: var(--creators-text-dark);
  line-height: 1.8;
  opacity: 0.9;
}

.creators-page .hero-decoration {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.creators-page .decoration-circle {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  animation: creators-float 6s ease-in-out infinite;
}

.creators-page .circle-1 {
  width: 120px;
  height: 120px;
  top: 10%;
  left: 10%;
  animation-delay: 0s;
}

.creators-page .circle-2 {
  width: 80px;
  height: 80px;
  top: 60%;
  right: 15%;
  animation-delay: 2s;
}

.creators-page .circle-3 {
  width: 60px;
  height: 60px;
  bottom: 20%;
  left: 20%;
  animation-delay: 4s;
}

@keyframes creators-float {
  0%, 100% {
    transform: translateY(0) rotate(0deg);
  }
  50% {
    transform: translateY(-20px) rotate(180deg);
  }
}

/* セクション共通 */
.creators-page .creators-section {
  padding: clamp(60px, 8vw, 100px) 16px;
  position: relative;
}

.creators-page .illustrators-section {
  background: var(--creators-white);
}

.creators-page .voice-actors-section {
  background: var(--creators-pink-50);
}

.creators-page .section-header {
  text-align: center;
  margin-bottom: clamp(40px, 6vw, 60px);
}

.creators-page .section-title {
  display: inline-block;
  font-size: clamp(28px, 4vw, 40px);
  font-weight: 700;
  color: var(--creators-pink-900);
  margin: 0 0 16px;
  background: transparent !important;
}

.creators-page .section-title .title-text {
  background: transparent !important;
  padding: 0 !important;
}

.creators-page .creators-section .section-title::after {
  display: none;
}

.creators-page .section-description {
  font-size: clamp(14px, 2vw, 18px);
  color: var(--creators-text-muted);
  margin: 0;
}

/* グリッドレイアウト */
.creators-page .creators-grid {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: clamp(32px, 5vw, 48px);
  align-items: stretch;
}

@media (min-width: 768px) {
  .creators-page .creators-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    align-items: stretch;
  }

  .creators-page .creator-card {
    max-width: calc((1200px - 48px) / 2);
    width: 100%;
    justify-self: center;
  }

  .creators-page .creator-card.grid-placeholder {
    display: none;
  }

  .creators-page .creators-grid:has(.creator-card:only-child) {
    grid-template-columns: 1fr;
    max-width: calc((1200px - 48px) / 2);
  }

  .creators-page .card-thumbnail {
    width: 100%;
    max-width: 100%;
    aspect-ratio: 1280 / 720;
  }

  .creators-page .card-thumbnail img {
    width: 100%;
    height: 100%;
    max-width: 100%;
    max-height: 100%;
    object-fit: cover;
  }
}

/* カード */
.creators-page .creator-card {
  background: var(--creators-white);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--creators-shadow-md);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  transform: translateY(30px);
  display: flex;
  flex-direction: column;
  height: 100%;
  max-width: 100%;
  width: 100%;
}

.creators-page .creator-card.grid-placeholder {
  display: none;
}

.creators-page .creator-card.in-view {
  opacity: 1;
  transform: translateY(0);
}

.creators-page .creator-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--creators-shadow-lg);
}

/* サムネイル */
.creators-page .card-thumbnail {
  position: relative;
  aspect-ratio: 1280 / 720;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: var(--creators-pink-100);
  flex-shrink: 0;
}

.creators-page .thumbnail-image {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.creators-page .card-thumbnail img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
  object-position: center;
}

.creators-page .creator-card:hover .thumbnail-image {
  transform: scale(1.1);
  filter: brightness(1.15);
}

.creators-page .thumbnail-shine {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.creators-page .creator-card:hover .thumbnail-shine {
  opacity: 1;
}

/* カードコンテンツ */
.creators-page .card-content {
  padding: clamp(20px, 3vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
  min-height: 0;
}

.creators-page .card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
}

.creators-page .creator-name {
  font-size: clamp(20px, 3vw, 24px);
  font-weight: 700;
  color: var(--creators-text-dark);
  margin: 0;
  flex: 1;
}

.creators-page .creator-badge {
  padding: 4px 12px;
  background: linear-gradient(135deg, var(--creators-pink-500), var(--creators-pink-400));
  color: var(--creators-white);
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  white-space: nowrap;
}

.creators-page .voice-badge {
  background: linear-gradient(135deg, var(--creators-pink-600), var(--creators-pink-500));
}

.creators-page .card-body {
  flex: 1;
}

.creators-page .creator-intro {
  font-size: 14px;
  color: var(--creators-text-muted);
  line-height: 1.7;
  margin: 0 0 16px;
}

.creators-page .creator-works {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.creators-page .creator-works li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: var(--creators-text-dark);
  line-height: 1.6;
}

.creators-page .work-bullet {
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
  color: var(--creators-pink-600);
  font-weight: 700;
}

/* リンクボタン */
.creators-page .card-footer {
  margin-top: auto;
  padding-top: 8px;
}

.creators-page .card-buttons {
  display: flex;
  gap: 12px;
}

.creators-page .creator-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex: 1;
  padding: 12px 20px;
  background: linear-gradient(135deg, var(--creators-pink-500), var(--creators-pink-400));
  color: var(--creators-white);
  border-radius: 16px;
  text-decoration: none;
  font-weight: 600;
  font-size: 13px;
  box-shadow: 0 4px 16px rgba(255, 77, 145, 0.3);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.creators-page .creator-link-btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0.3) 0%, transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  pointer-events: none;
}

.creators-page .creator-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 77, 145, 0.4);
  color: var(--creators-white);
}

.creators-page .creator-link-btn:hover::before {
  opacity: 1;
}

.creators-page .creator-link-btn.works-btn {
  background: linear-gradient(135deg, #4a90e2, #357abd);
  box-shadow: 0 4px 16px rgba(74, 144, 226, 0.3);
}

.creators-page .creator-link-btn.works-btn:hover {
  box-shadow: 0 8px 24px rgba(74, 144, 226, 0.4);
  color: var(--creators-white);
}

.creators-page .btn-icon {
  font-size: 16px;
  transition: transform 0.3s ease;
}

.creators-page .creator-link-btn:hover .btn-icon {
  transform: translateX(4px);
}

/* レスポンシブ */
@media (max-width: 768px) {
  .creators-page .sticky-tabs {
    position: fixed;
    left: 50%;
    top: auto;
    bottom: 20px;
    transform: translateX(-50%);
    padding: 0;
  }

  .creators-page .tabs-list {
    flex-direction: row;
    justify-content: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 8px;
    border-radius: 24px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
  }

  .creators-page .tab-link {
    border-radius: 16px;
    padding: 10px 16px;
    font-size: 13px;
  }

  .creators-page .tab-link.active {
    transform: none;
  }

  .creators-page .tab-link:hover:not(.active) {
    transform: none;
  }

  .creators-page .sp-only {
    display: block;
  }

  .creators-page {
    padding-bottom: 100px;
  }
}

@media (min-width: 769px) {
  .creators-page .sp-only {
    display: none;
  }

  .creators-page {
    padding-left: 120px;
  }
}

/* ========================================
   トップへ戻るボタン
   ======================================== */
.scroll-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #ff4d91, #ff6aa2);
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 16px rgba(255, 77, 145, 0.3);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 999;
}

.scroll-to-top.show {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 24px rgba(255, 77, 145, 0.4);
}

.scroll-to-top:active {
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .scroll-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
        font-size: 20px;
    }
}

/* ========================================
   年齢確認ページ（PHP制御）
   ======================================== */

/* 年齢確認ページ用のスタイル */
body.age-verification-page-body {
  overflow: hidden !important;
  position: fixed !important;
  width: 100% !important;
  height: 100% !important;
}

body.age-verification-page-body .vn-header,
body.age-verification-page-body .vn-footer,
body.age-verification-page-body .main-container > *:not(.age-verification-page) {
  display: none !important;
}

.age-verification-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 99999;
  background: rgba(0, 0, 0, 0.95);
}

.age-verification-page .vn-header {
  display: none !important;
}

.age-verification-page .main-container {
  margin-top: 0;
}

/* フォームコンテナを前面に */
.age-verification-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

/* ========================================
   年齢確認モーダル（自前実装 - 未使用）
   ======================================== */

/* ページ読み込み中はサイトを隠す */
body.age-verification-pending {
  overflow: hidden !important;
}

body.age-verification-pending::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 99998;
  pointer-events: none;
}

/* オーバーレイ */
.age-verification-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 99999;
  display: flex !important;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: auto;
}

/* フォームコンテナ */
.age-verification-form {
  background: #fff;
  border-radius: 16px;
  padding: 40px 30px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
  text-align: center;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  z-index: 2;
}

.age-verification-form-element {
  margin: 0;
}

/* ロゴ */
.age-verification-logo {
  margin-bottom: 30px;
}

.age-verification-logo-img {
  max-width: 200px;
  height: auto;
  display: block;
  margin: 0 auto;
}

/* 見出し */
.age-verification-headline {
  font-size: 1.5rem;
  font-weight: 700;
  color: #333;
  margin: 0 0 20px 0;
  line-height: 1.4;
}

/* チャレンジテキスト */
.age-verification-challenge {
  font-size: 1rem;
  color: #666;
  line-height: 1.8;
  margin: 0 0 30px 0;
}

.age-verification-challenge br {
  display: block;
  margin: 8px 0;
}

/* ボタンコンテナ */
.age-verification-buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-bottom: 25px;
  flex-wrap: wrap;
}

/* ボタン */
.age-verification-button {
  flex: 1;
  min-width: 120px;
  padding: 12px 24px;
  font-size: 1rem;
  font-weight: 600;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  min-height: 48px;
}

.age-verification-button--yes {
  background: linear-gradient(135deg, #ff4d91, #ff6aa2);
  color: #fff;
  box-shadow: 0 4px 16px rgba(255, 77, 145, 0.3);
}

.age-verification-button--yes:hover {
  background: linear-gradient(135deg, #e6367e, #ff4d91);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 77, 145, 0.4);
}

.age-verification-button--no {
  background: #666;
  color: #fff;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

.age-verification-button--no:hover {
  background: #555;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

/* Remember チェックボックス */
.age-verification-remember-wrapper {
  margin-top: 20px;
}

.age-verification-remember {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 0.9rem;
  color: #666;
}

.age-verification-remember-field {
  width: 18px;
  height: 18px;
  margin-right: 8px;
  cursor: pointer;
}

.age-verification-remember-text {
  user-select: none;
}

/* 年齢確認ページ用のスタイル */
body.age-verification-page-body {
  overflow: hidden !important;
  position: fixed;
  width: 100%;
  height: 100%;
}

.age-verification-page {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  z-index: 99999;
}

.age-verification-page .vn-header {
  display: none !important;
}

.age-verification-page .main-container {
  margin-top: 0;
}

/* 背景オーバーレイ（黒） */
.age-verification-page::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.95);
  z-index: 1;
  pointer-events: none;
}

/* フォームコンテナを前面に */
.age-verification-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}

/* SP向け最適化（半分サイズ） */
@media (max-width: 768px) {
  .age-verification-page {
    padding: 16px;
  }

  .age-verification-container {
    width: 100%;
    max-width: 100%;
  }

  .age-verification-form {
    padding: 32px 24px;
    border-radius: 16px;
  }

  .age-verification-logo {
    margin-bottom: 24px;
  }

  .age-verification-logo-img {
    max-width: 50%;
  }

  .age-verification-headline {
    font-size: clamp(24px, 6vw, 32px) !important;
    margin-bottom: 20px !important;
    line-height: 1.4 !important;
  }

  .age-verification-challenge {
    font-size: clamp(16px, 4vw, 18px) !important;
    line-height: 1.8 !important;
    margin-bottom: 24px !important;
  }

  .age-verification-buttons {
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
  }

  .age-verification-button {
    width: 100%;
    font-size: clamp(18px, 4.5vw, 20px) !important;
    padding: 16px 32px !important;
    min-height: 56px !important;
    border-radius: 8px !important;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    box-sizing: border-box;
  }

  .age-verification-remember-wrapper {
    margin-top: 20px;
  }

  .age-verification-remember {
    font-size: clamp(15px, 3.75vw, 17px) !important;
  }

  .age-verification-remember-field {
    width: 18px !important;
    height: 18px !important;
    margin-right: 8px !important;
  }
}

/* より小さい画面（480px以下） */
@media (max-width: 480px) {
  .age-verification-form {
    padding: 24px 20px;
  }

  .age-verification-headline {
    font-size: 22px !important;
    margin-bottom: 16px !important;
  }

  .age-verification-challenge {
    font-size: 16px !important;
    margin-bottom: 20px !important;
  }

  .age-verification-button {
    padding: 14px 24px !important;
    min-height: 52px !important;
    font-size: 17px !important;
  }

  .age-verification-remember {
    font-size: 14px !important;
  }
}

