/* カラーパレット - パターンD: ラグジュアリーベージュ × モダンゴールド */
:root {
  /* ベース/背景カラー（アイボリー/ベージュ） */
  --color-bg-primary: #ffffff;
  --color-bg-secondary: #fbf8f3;
  --color-bg-tertiary: #f0ebe3;
  --color-bg-light: #f5f0e8;

  /* メインテキストカラー（ディープネイビー/ブラック） */
  --color-text-primary: #1c1c1c;
  --color-text-secondary: #2c3e50;
  --color-text-tertiary: #4a5568;
  --color-text-light: #718096;

  /* アクセントカラー（ローズゴールド） */
  --color-accent-primary: #b76e79;
  --color-accent-hover: #a75e69;
  --color-accent-light: rgba(183, 110, 121, 0.1);
  --color-accent-shadow: rgba(183, 110, 121, 0.3);

  /* セカンダリアクセント（淡いピンク/シャンパンゴールド） */
  --color-gold-primary: #e8ccd0;
  --color-gold-light: #f0dce0;
  --color-gold-dark: #d8bcc0;

  /* ボーダー/枠線 */
  --color-border-primary: #e8e3db;
  --color-border-secondary: #d8d3cb;
  --color-border-light: #f0ebe3;

  /* ボタン/CTA（ローズゴールドグラデーション） */
  --color-btn-primary-start: #b76e79;
  --color-btn-primary-end: #a75e69;
  --color-btn-primary-hover-start: #a75e69;
  --color-btn-primary-hover-end: #974e59;

  /* 状態カラー */
  --color-success: #7fa95c;
  --color-error: #c86b6b;
  --color-warning: #d4a564;
  --color-info: #6b8fb5;

  /* ランキングカラー（ローズゴールド系） */
  --color-rank-1: #b76e79;
  --color-rank-2: #c0c0c0;
  --color-rank-3: #e8ccd0;
}

html {
  width: 100vw;
  overflow-x: hidden;
}

body {
  width: 100%;
  min-width: 100%;
  overflow-x: hidden;
  font-family: "Noto Sans JP", -apple-system, BlinkMacSystemFont, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #fff;
}

/* リセットCSS */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 共通コンテナ */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* サイドナビゲーション */
.side-nav {
  position: absolute;
  left: 40px;
  top: 50%;
  transform: translateY(-50%);
  background: white;
  border-radius: 20px;
  padding: 20px 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  z-index: 100;
  width: 220px;
  max-height: calc(100vh - 200px);
}

/* PC表示でのサイドナビ調整 */
@media (min-width: 1200px) {
  .side-nav {
    left: 50px;
    width: 200px;
    padding: 25px 20px;
    border-radius: 25px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.25);
  }

  .logo {
    font-size: 16px;
    padding: 12px;
  }

  .side-nav a {
    font-size: 16px;
    padding: 12px 18px;
    margin: 12px 0;
  }
}

@media (min-width: 1400px) {
  .side-nav {
    left: 60px;
    width: 240px;
    padding: 30px 25px;
  }

  .logo {
    font-size: 18px;
    padding: 15px;
  }

  .side-nav a {
    font-size: 18px;
    padding: 15px 20px;
    margin: 15px 0;
  }
}

.logo-area {
  text-align: center;
  margin-bottom: 20px;
}

.logo {
  background: linear-gradient(
    135deg,
    var(--color-btn-primary-start),
    var(--color-btn-primary-end)
  );
  color: white;
  padding: 10px;
  display: inline-block;
  font-weight: 900;
  font-size: 14px;
  line-height: 1.2;
}

.logo-text {
  display: block;
}

.nav-menu {
  list-style: none;
  margin: 0 -10px;
}

.nav-menu li {
  margin-bottom: 15px;
}

.nav-menu a {
  text-decoration: none;
  color: var(--color-accent-primary);
  display: block;
  transition: all 0.3s;
  padding: 10px 15px;
  margin: 0 5px;
  border-radius: 5px;
}

.nav-menu a:hover {
  transform: translateX(5px);
  background: var(--color-text-primary);
  color: white;
}

.nav-menu a:hover .nav-subtitle {
  color: rgba(255, 255, 255, 0.8);
}

.nav-title {
  font-weight: 700;
  font-size: 16px;
  display: block;
}

.nav-subtitle {
  font-size: 10px;
  color: #666;
  display: block;
}

/* モバイルメニューボタン */
.mobile-menu-toggle {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 1001;
  background: white;
  border: none;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  display: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.mobile-menu-toggle span {
  display: block;
  width: 25px;
  height: 3px;
  background: #333;
  margin: 5px 0;
  transition: 0.3s;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

/* ヒーローセクション */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: #FFF9F9;
  overflow: hidden;
}

.hero-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(
    circle at 30% 50%,
    rgba(183, 110, 121, 0.1) 0%,
    transparent 50%
  );
}

/* ヒーローコンテンツ */
.hero-content {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh - 100px);
  padding: 0 40px;
  margin-left: 280px;
}

/* タブレット～中サイズPC表示の調整 */
@media (min-width: 769px) {
  /* achievement-bubbleを中央配置 */
  .achievement-bubble {
    position: relative;
    margin: 20px auto;
  }
}

@media (min-width: 1024px) {
  .hero-content {
    margin-left: 200px;
  }
}

/* PC表示の最適化 */
@media (min-width: 1200px) {
  .hero-section {
    min-height: 120vh;
  }

  .hero-content {
    margin-left: 240px;
    padding: 0 60px;
    min-height: calc(100vh - 80px);
  }

  .hero-main {
    flex-direction: column;
    gap: 50px;
    padding-top: 0;
    transform: scale(1.1);
    transform-origin: center;
  }

  .hero-image {
    max-width: 450px;
  }

  .hero-title {
    font-size: 64px;
  }

  .hero-subtitle {
    font-size: 28px;
  }

  .achievement-bubble {
    padding: 30px;
  }

  .achievement-bubble h2 {
    font-size: 36px;
  }

  .achievement-text {
    font-size: 24px;
  }
}

@media (min-width: 1400px) {
  .hero-content {
    margin-left: 280px;
    padding: 0 80px;
  }

  .hero-main {
    flex-direction: column;
    gap: 60px;
    transform: scale(1.2);
  }

  .hero-image {
    max-width: 500px;
  }
}

.hero-main {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 40px;
  max-width: 600px;
  margin: 0 auto;
  padding-top: 50px;
}

.hero-image {
  max-width: 400px;
  width: 100%;
  height: auto;
  object-fit: contain;
  object-position: center;
  filter: drop-shadow(0 20px 40px rgba(0, 0, 0, 0.3));
  transition: transform 0.3s ease;
}

.hero-text {
  color: var(--color-text-primary);
  text-align: center;
  max-width: 500px;
  margin: 0 auto;
}

.tiktok-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: var(--color-text-primary);
  padding: 10px 20px;
  border-radius: 50px;
  margin-bottom: 20px;
}

.tiktok-badge img {
  height: 30px;
}

.live-badge {
  background: #ff0050;
  color: white;
  padding: 5px 15px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 14px;
}

.hero-title {
  margin-bottom: 20px;
}

.name-en {
  font-size: 48px;
  font-weight: 300;
  display: block;
}

.name-jp {
  font-size: 72px;
  font-weight: 900;
  display: block;
  margin-top: -10px;
}

.hero-subtitle {
  font-size: 24px;
  margin-bottom: 40px;
  font-weight: 500;
}

.achievement-bubble {
  background: white;
  color: #333;
  padding: 30px 40px;
  border-radius: 50%;
  width: 250px;
  height: 250px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.achievement-bubble h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

.achievement-text {
  font-size: 28px;
  font-weight: 900;
}

.highlight-yellow {
  color: #ffd700;
  text-shadow: 2px 2px 0 #333;
}

/* メンバースライダー */
.member-slider-container {
  position: absolute;
  bottom: 20px;
  left: 0;
  right: 0;
  overflow: hidden;
  padding: 20px 0;
}

/* PC表示でのメンバースライダー調整 */
@media (min-width: 1200px) {
  .member-slider-container {
    bottom: 40px;
    padding: 30px 0;
  }

  .member-avatar img {
    width: 100px;
    height: 100px;
    border: 4px solid white;
  }

  /* PC表示でのachievement-bubble位置調整 */
  .achievement-bubble {
    position: absolute;
    top: 65%;
    right: -60%;
    z-index: 20;
  }
}

@media (min-width: 1400px) {
  .member-slider-container {
    bottom: 60px;
  }

  .member-avatar img {
    width: 120px;
    height: 120px;
    border: 5px solid white;
  }
}

.member-slider {
  display: flex;
  gap: 20px;
  animation: slideLeft 80s linear infinite;
  -webkit-animation: slideLeft 80s linear infinite;
  width: max-content;
  will-change: transform;
  animation-play-state: running;
}

@keyframes slideLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@-webkit-keyframes slideLeft {
  0% {
    -webkit-transform: translateX(0);
    transform: translateX(0);
  }
  100% {
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
  }
}

.member-avatar {
  flex-shrink: 0;
}

.member-avatar img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 3px solid white;
  object-fit: cover;
}

/* セクション共通 */
section {
  padding: 80px 0;
}

.section-title {
  text-align: center;
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  color: var(--color-text-primary);
}

.section-title i {
  color: var(--color-accent-primary);
}

/* チームセクション */
.team-section {
  background: #C0C0C0;
}

/* SVG/PNGフォールバック */
.member-card img,
.member-item img,
.member-avatar img,
.hero-image,
.about-image img,
.support-icon img {
  background-image: url("images/team/fallback.png");
  background-size: cover;
  background-position: center;
}

/* メインメンバーグリッド（大きく表示） */
.main-members-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

.main-member {
  background: #fff;
  border-radius: 20px;
  padding: clamp(20px, 3vw, 40px);
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  display: flex;
  flex-direction: column;
  align-items: center;
  aspect-ratio: 1/1;
  justify-content: flex-start;
}

.main-member:hover {
  transform: translateY(-10px);
}

.main-member img {
  width: 100%;
  height: auto;
  aspect-ratio: 1/1;
  border-radius: 15px;
  object-fit: cover;
  object-position: center;
  margin-bottom: 20px;
  max-width: 100%;
}

.main-member h3 {
  font-size: clamp(20px, 2.5vw, 36px);
  line-height: 1.2;
  margin-bottom: 10px;
  color: #333;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.main-member p {
  color: #666;
  font-size: clamp(14px, 1.5vw, 22px);
  line-height: 1.3;
  white-space: normal;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

/* TEAMセクションのリンクスタイル */
.member-card a,
.member-item a {
  color: var(--color-accent-primary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.member-card a:hover,
.member-item a:hover {
  color: var(--color-accent-hover);
  text-decoration: underline;
}

/* メンバーカードのクリック時のスタイル */
.member-card.clickable:hover,
.member-item.clickable:hover {
  cursor: pointer;
  transform: translateY(-8px);
  box-shadow: 0 12px 30px var(--color-accent-shadow);
  background-color: rgba(255, 255, 255, 0.95);
}

/* サブメンバーグリッド（小さく表示） */
.sub-members-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
  margin-top: 30px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
  transition: opacity 0.3s ease;
}

.sub-member {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
}

.sub-member:hover {
  transform: translateY(-5px);
}

.sub-member img {
  width: 100%;
  aspect-ratio: 3/4; /* モバイル用デフォルト */
  object-fit: cover;
}

/* タブレット・PC: main-memberと同じ正方形 */
@media (min-width: 768px) {
  .sub-member img {
    aspect-ratio: 1/1; /* 正方形に変更 */
  }
}

.sub-member .member-info {
  padding: 20px;
  text-align: center;
}

.sub-member .member-info h4 {
  font-size: 18px;
  margin-bottom: 8px;
  color: #333;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.sub-member .member-info p {
  color: #666;
  font-size: 16px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* More/Lessボタンコンテナ */
.sub-members-toggle-container {
  display: flex;
  justify-content: center;
  margin: 30px 0;
}

/* More/Lessボタン本体 */
.sub-members-toggle-btn {
  background: #fff;
  border: 2px solid #ddd;
  border-radius: 30px;
  padding: 15px 40px;
  font-size: 18px;
  font-weight: 600;
  color: #333;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.sub-members-toggle-btn:hover {
  border-color: #ff6b9d;
  color: #ff6b9d;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 107, 157, 0.2);
}

.sub-members-toggle-btn:active {
  transform: translateY(0);
}

/* ボタンアイコン */
.toggle-icon {
  transition: transform 0.3s ease;
  font-size: 16px;
}

/* 展開時のアイコン回転 */
.sub-members-toggle-btn.expanded .toggle-icon {
  transform: rotate(180deg);
}

/* 非表示クラス */
.hidden {
  display: none;
}

.ranking-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-bottom: 60px;
  max-width: 900px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  padding: 0 20px;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
}

/* 大画面でのPC表示 */
@media (min-width: 1200px) {
  .ranking-grid {
    grid-template-columns: repeat(4, 1fr);
    max-width: 1200px;
  }
}

.member-card {
  background: #fff;
  border-radius: 20px;
  padding: 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  position: relative;
  transition: transform 0.3s;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}

.member-card:hover {
  transform: translateY(-10px);
}

.rank-badge {
  position: absolute;
  top: -20px;
  left: 50%;
  transform: translateX(-50%);
  padding: 12px 30px;
  border-radius: 50px;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  z-index: 10;
}

.rank-1 .rank-badge {
  background: linear-gradient(
    135deg,
    var(--color-rank-1) 0%,
    var(--color-gold-light) 100%
  );
  color: var(--color-text-primary);
  font-size: 20px;
  padding: 14px 35px;
}

/* 1位カード特別スタイル */
.rank-1 {
  background: linear-gradient(135deg, #fff 0%, var(--color-bg-light) 100%);
  border: 2px solid var(--color-rank-1);
  width: 100%;
}

.rank-1:hover {
  transform: translateY(-15px);
  box-shadow: 0 15px 40px rgba(183, 110, 121, 0.4);
}

.rank-2 .rank-badge {
  background: linear-gradient(135deg, var(--color-rank-2) 0%, #e6e6e6 100%);
  color: var(--color-text-primary);
}

/* 2位カード */
.rank-2 {
  width: 100%;
}

.rank-3 .rank-badge {
  background: linear-gradient(135deg, var(--color-rank-3) 0%, #daa520 100%);
}

/* 3位カード */
.rank-3 {
  width: 100%;
}

/* 4位カード */
.rank-4 {
  width: 100%;
}

.member-card img {
  width: 280px; /* 100%ではなく固定 */
  max-width: 280px;
  height: 350px; /* autoを削除して固定値に */
  aspect-ratio: 1/1; /* これは残してもOK（heightが優先される） */
  border-radius: 15px;
  object-fit: cover;
  margin: 0 auto 20px;
  display: block;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.member-card h3 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #333;
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
  min-height: 3em;
}

.member-card p {
  color: #666;
  font-size: 18px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 20px;
  transition: opacity 0.3s ease;
  max-width: 1200px;
  margin: 0 auto;
}

/* タブレット表示 */
@media (max-width: 1024px) {
  .members-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
  }
}

.member-item {
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s;
  width: 100%;
}

.member-item:hover {
  transform: translateY(-5px);
}

.member-item img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
}

.member-info {
  padding: 12px;
  text-align: center;
}

.member-info h4 {
  font-size: 14px;
  margin-bottom: 5px;
  color: #333;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.member-name {
  height: 30px;
  width: auto;
  margin-bottom: 5px;
}

.member-info p {
  color: #888;
  font-size: 12px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

/* RECRUITセクション */
.recruit-section {
  background: #FFF9F9;
  color: var(--color-text-primary);
}

.recruit-content-redesign {
  max-width: 1000px;
  margin: 0 auto;
  text-align: center;
}

.recruit-header {
  margin-bottom: 50px;
}

.recruit-header h3 {
  font-size: 48px;
  font-weight: 900;
  margin-bottom: 20px;
  color: var(--color-text-primary);
  text-shadow: none;
}

.recruit-subtitle {
  font-size: 24px;
  font-weight: 500;
  color: var(--color-text-secondary);
}

.conditions-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 30px;
  margin-bottom: 50px;
}

.condition-card {
  background: white;
  border-radius: 20px;
  padding: 30px 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
  position: relative;
  overflow: hidden;
}

.condition-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.condition-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--color-accent-primary),
    var(--color-gold-primary)
  );
}

.condition-number {
  width: 60px;
  height: 60px;
  background: linear-gradient(
    135deg,
    var(--color-btn-primary-start),
    var(--color-btn-primary-end)
  );
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
  color: white;
  margin: 0 auto 20px;
  box-shadow: 0 5px 15px rgba(183, 110, 121, 0.4);
}

.condition-content h4 {
  font-size: 24px;
  font-weight: 700;
  color: #333;
  margin-bottom: 10px;
}

.condition-content p {
  font-size: 16px;
  color: #666;
  line-height: 1.6;
}

.recruit-cta {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 20px;
  padding: 30px;
  backdrop-filter: blur(10px);
  border: 2px solid var(--color-border-primary);
}

.recruit-highlight {
  font-size: 28px;
  font-weight: 700;
  color: var(--color-text-primary);
  margin: 0;
  text-shadow: none;
}

/* ABOUTセクション */
.about-section {
  background: #C0C0C0;
}

.about-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.about-image img {
  width: 100%;
  border-radius: 20px;
}

.about-text h3 {
  font-size: 32px;
  margin-bottom: 30px;
  color: #333;
}

.about-text p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: #555;
}

/* 空のpタグに高さを設定（改行を視覚的に表現） */
.about-text p:empty {
  min-height: 1.8em;
}

.achievements {
  margin-top: 40px;
  padding: 30px;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.achievements h4 {
  font-size: 24px;
  margin-bottom: 20px;
  color: #333;
}

.achievements ul {
  list-style: none;
}

.achievements li {
  font-size: 16px;
  margin-bottom: 10px;
  color: #555;
  padding-left: 20px;
  position: relative;
}

.achievements li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--color-accent-primary);
  font-weight: bold;
}

/* SUPPORTセクション */
.support-section {
  background: #fff;
}

.support-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px;
}

.support-card {
  background: #f8f9fa;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  transition: transform 0.3s;
}

.support-card:hover {
  transform: translateY(-5px);
}

.support-icon {
  margin-bottom: 30px;
}

.support-icon img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.support-icon i {
  font-size: 60px;
  color: var(--color-accent-primary);
}

.support-text h3 {
  font-size: 24px;
  margin-bottom: 15px;
  color: #333;
}

.support-text p {
  font-size: 16px;
  color: #666;
}

/* FAQセクション */
.faq-section {
  background: #FFF9F9;
}

.faq-list {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 20px;
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.faq-question {
  width: 100%;
  padding: 25px 30px;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #333;
  transition: background 0.3s;
}

.faq-question:hover {
  background: var(--color-accent-light);
}

.faq-question i {
  color: var(--color-accent-primary);
  transition: transform 0.3s;
}

.faq-item.active .faq-question i {
  transform: rotate(45deg);
}

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-answer {
  max-height: 200px;
}

.faq-answer p {
  padding: 0 30px 25px;
  color: #666;
  line-height: 1.8;
}

/* CONTACTセクション */
.contact-section {
  background: #C0C0C0;
  text-align: center;
}

.contact-content p {
  font-size: 24px;
  margin-bottom: 40px;
  color: #333;
}

.social-links {
  display: flex;
  justify-content: center;
}

.line-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: url("/images/line-logo.png") no-repeat center center;
  background-size: contain;
  color: #fff;
  padding: 20px 40px;
  border-radius: 20px;
  text-decoration: none;
  font-size: 20px;
  font-weight: 700;
  transition: transform 0.3s;
  width: 100px;
  height: 100px;
}

.line-link:hover {
  transform: scale(1.05);
}

.line-link i {
  font-size: 40px;
}

/* フッター */
.footer {
  background: #333;
  color: #fff;
  padding: 40px 0;
  text-align: center;
}

/* レスポンシブ */
@media (max-width: 767px) {
  /* ランキンググリッドのモバイル調整 - 必ず縦1列 */
  .ranking-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    width: 100%;
    padding: 0 15px;
    max-width: 500px;
    margin: 0 auto 60px;
    gap: 25px;
  }

  .member-card {
    max-width: 100%; /* 左右に余白15pxずつ */
    width: 100%;
    margin: 0 auto;
    padding: 20px 15px; /* パディングも小さく */
  }

  .member-card img {
    max-width: 250px;
    height: 250px; /* ← 追加！正方形に */
    border-radius: 10px;
    margin-bottom: 12px;
  }

  /* main-members-gridをモバイルでも2列維持 */
  .main-members-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: clamp(10px, 2.5vw, 15px);
    max-width: 100%;
    padding: 0 10px;
    margin-bottom: 30px;
  }

  .main-member {
    padding: clamp(10px, 3vw, 15px);
    aspect-ratio: 1/2;
    border-radius: 12px;
  }

  .main-member img {
    width: 100%;
    height: auto;
    aspect-ratio: 1/1;
    border-radius: 10px;
    margin-bottom: 12px;
    max-width: 100%;
  }

  .main-member h3 {
    font-size: clamp(12px, 3.5vw, 16px);
    line-height: 1.2;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
  }

  .main-member p {
    font-size: clamp(10px, 2.5vw, 12px);
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
  }

  /* sub-members-gridをモバイルでも2列維持 */
  .sub-members-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    max-width: 100%;
    padding: 0 10px;
    margin-top: 20px;
  }

  .sub-member img {
    height: 150px;
  }

  .sub-member .member-info {
    padding: 12px;
  }

  .sub-member .member-info h4 {
    font-size: 13px;
    margin-bottom: 4px;
  }

  .sub-member .member-info p {
    font-size: 11px;
  }

  /* More/Lessボタンをモバイル用に調整 */
  .sub-members-toggle-btn {
    padding: 12px 30px;
    font-size: 16px;
  }

  .toggle-icon {
    font-size: 14px;
  }

  /* サイドナビをモバイル用に調整 */
  .side-nav {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    position: fixed;
    top: 0;
    left: -100%;
    width: 300px;
    max-width: 85vw;
    height: 100vh;
    transform: none;
    max-height: none;
    padding: 70px 15px 20px 15px;
    transition: left 0.3s ease;
    z-index: 1500;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.8);
    overflow-y: auto;
    overflow-x: visible;
    background: #fff !important;
    border-radius: 0;
    border-right: 8px solid var(--color-accent-primary) !important;
  }

  .side-nav.mobile-active {
    left: 0;
  }

  /* モバイルオーバーレイ */
  .mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1400;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
  }

  .mobile-overlay.active {
    opacity: 1;
    visibility: visible;
  }

  /* モバイルメニューボタンを表示 */
  .mobile-menu-toggle {
    display: block;
    z-index: 1600;
  }

  /* ヒーローコンテンツのマージンを削除 */
  .hero-content {
    margin-left: 0;
    flex-direction: column;
    text-align: center;
    padding: 20px 20px 150px;
    min-height: calc(100vh - 150px);
    justify-content: center;
  }

  /* ヒーローメインを縦並びに調整 */
  .hero-main {
    flex-direction: column;
    gap: 30px;
    padding-top: 20px;
    align-items: center;
  }

  /* ヒーロー画像をモバイル用に調整 */
  .hero-image {
    max-width: 250px;
    order: 1;
  }

  /* ヒーローテキストをモバイル用に調整 */
  .hero-text {
    order: 2;
    width: 100%;
  }

  /* 白い丸（achievement-bubble）をモバイル用に調整 */
  .achievement-bubble {
    width: 200px;
    height: 200px;
    padding: 20px;
    margin: 20px auto 40px;
    position: relative;
    z-index: 10;
  }

  .achievement-bubble h2 {
    font-size: 18px;
  }

  .achievement-text {
    font-size: 20px;
  }

  /* メンバースライダーを左端から開始 */
  .member-slider-container {
    left: 0;
    bottom: 0;
    position: absolute;
    z-index: 5;
  }

  /* モバイルナビのメニュー調整 */
  .side-nav .logo-area {
    margin-bottom: 20px;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    text-align: center;
  }

  .side-nav .logo {
    display: inline-block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin-bottom: 0;
    background: linear-gradient(
      135deg,
      var(--color-btn-primary-start),
      var(--color-btn-primary-end)
    ) !important;
    color: white !important;
    padding: 10px !important;
    font-weight: 900 !important;
    font-size: 14px !important;
    line-height: 1.2 !important;
    border-radius: 0 !important;
    border: none !important;
  }

  .side-nav .logo-text {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    color: white !important;
    font-size: 14px !important;
    font-weight: 900 !important;
    text-shadow: none !important;
  }

  .side-nav .nav-menu {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
  }

  .side-nav .nav-menu li {
    margin-bottom: 15px !important;
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    width: 100% !important;
    height: auto !important;
    overflow: visible !important;
    position: relative !important;
  }

  .side-nav .nav-menu a {
    display: block !important;
    background: var(--color-accent-primary) !important;
    color: white !important;
    padding: 15px 10px !important;
    margin: 10px 0 !important;
    font-size: 16px !important;
    font-weight: bold !important;
    text-decoration: none !important;
    border-radius: 10px !important;
    border: 2px solid var(--color-text-primary) !important;
  }

  .side-nav .nav-menu a:hover {
    background: var(--color-text-primary) !important;
    color: white !important;
    transform: translateX(5px) !important;
  }

  .side-nav .nav-title {
    display: block !important;
    color: white !important;
    font-size: 18px !important;
    font-weight: bold !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .side-nav .nav-subtitle {
    display: block !important;
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 12px !important;
    font-weight: normal !important;
    margin: 2px 0 0 0 !important;
    padding: 0 !important;
  }

  .side-nav .nav-menu a:hover .nav-title {
    color: white !important;
  }

  .side-nav .nav-menu a:hover .nav-subtitle {
    color: rgba(255, 255, 255, 0.8) !important;
  }

  /* ヒーロータイトルをモバイル用に調整 */
  .hero-title {
    margin-bottom: 15px;
  }

  .name-en {
    font-size: 28px;
  }

  .name-jp {
    font-size: 36px;
  }

  .hero-subtitle {
    font-size: 18px;
    margin-bottom: 20px;
  }

  /* TikTokバッジをモバイル用に調整 */
  .tiktok-badge {
    padding: 8px 16px;
    margin-bottom: 15px;
  }

  .tiktok-badge img {
    height: 24px;
  }

  .live-badge {
    padding: 4px 12px;
    font-size: 12px;
  }

  /* コンテナのパディング調整 */
  .container {
    padding: 0 15px;
  }

  /* セクションタイトル */
  .section-title {
    font-size: 32px;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 40px;
  }

  /* セクション全体のパディング調整 */
  section {
    padding: 60px 0;
  }

  .ranking-grid {
    display: flex !important;
    flex-direction: column !important;
    padding: 0 10px;
    max-width: 100%;
    width: 100%;
    grid-template-columns: 1fr !important;
    gap: 20px;
  }

  .member-card {
    max-width: 100%;
    width: 100%;
  }

  .members-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
    padding: 15px;
  }

  .member-item {
    width: 100%;
  }

  .member-item img {
    height: 370px;
  }

  .conditions-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0 10px;
  }

  .condition-card {
    max-width: 100%;
  }

  /* RECRUITセクションのモバイル調整 */
  .recruit-content-redesign {
    padding: 0 10px;
  }

  .recruit-header h3 {
    font-size: 32px;
  }

  .recruit-subtitle {
    font-size: 18px;
  }

  .recruit-highlight {
    font-size: 20px;
  }

  .condition-card {
    padding: 20px 15px;
  }

  .condition-number {
    width: 50px;
    height: 50px;
    font-size: 24px;
  }

  .condition-content h4 {
    font-size: 20px;
  }

  .condition-content p {
    font-size: 14px;
  }

  .about-content {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .support-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* FAQセクションのモバイル調整 */
  .faq-question {
    font-size: 16px;
    padding: 20px 15px;
  }

  .faq-answer p {
    padding: 0 15px 20px;
    font-size: 14px;
  }

  /* CONTACTセクションのモバイル調整 */
  .contact-content p {
    font-size: 20px;
    margin-bottom: 30px;
    padding: 0 10px;
  }

  .line-link {
    padding: 15px 30px;
    font-size: 18px;
    margin: 0 15px;
  }

  .line-link i {
    font-size: 24px;
  }
}

/* iPhone・Android対応 */
@media (max-width: 480px) {
  /* 5-8位メンバーの表示調整 */
  .members-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .member-item {
    width: 100%;
  }

  .member-item img {
    height: 100px;
  }

  .member-info {
    padding: 8px;
  }

  .member-info h4 {
    font-size: 11px;
  }

  .member-info p {
    font-size: 10px;
  }
  /* ランキングカード調整 - 必ず縦1列 */
  .ranking-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 20px;
    padding: 0 15px;
    max-width: 100%;
  }

  .member-card {
    padding: 20px 15px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .member-card img {
    width: 200px; /* 固定 */
    height: 220px; /* ← 180pxではなく固定値に！ */
    object-fit: cover;
  }

  .member-card h3 {
    font-size: 13px;
  }

  .member-card p {
    font-size: 12px;
  }

  .rank-badge {
    font-size: 16px;
    padding: 10px 25px;
  }

  .rank-1 .rank-badge {
    font-size: 18px;
    padding: 12px 30px;
  }
  /* より小さい画面用の調整 */
  .container {
    padding: 0 15px;
    max-width: 100%;
    overflow-x: hidden;
    width: 100%;
  }

  section {
    padding: 40px 0;
    overflow-x: hidden;
    width: 100%;
  }

  /* ヒーローセクションの追加調整 */
  .hero-content {
    padding: 10px 15px 120px;
    width: 100%;
    min-height: calc(100vh - 120px);
    overflow-x: hidden;
  }

  .hero-main {
    gap: 20px;
    padding-top: 10px;
    width: 100%;
    max-width: 100%;
  }

  .hero-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .achievement-bubble {
    width: 160px;
    height: 160px;
    padding: 12px;
    margin: 10px auto 25px;
    z-index: 10;
  }

  .achievement-bubble h2 {
    font-size: 14px;
    margin-bottom: 5px;
  }

  .achievement-text {
    font-size: 16px;
  }

  .name-en {
    font-size: 20px;
  }

  .name-jp {
    font-size: 28px;
  }

  .hero-subtitle {
    font-size: 14px;
    margin-bottom: 15px;
  }

  /* TikTokバッジをスマホ用に調整 */
  .tiktok-badge {
    padding: 6px 12px;
    margin-bottom: 12px;
  }

  .tiktok-badge img {
    height: 20px;
  }

  /* セクションタイトル */
  .section-title {
    font-size: 24px;
    margin-bottom: 25px;
    gap: 8px;
  }

  /* チームセクション */
  .member-card {
    padding: 20px 15px;
  }

  .member-item img {
    height: 150px;
  }

  .member-info {
    padding: 15px;
  }

  .member-info h4 {
    font-size: 16px;
  }

  /* RECRUITセクション */
  .recruit-header h3 {
    font-size: 24px;
  }

  .recruit-subtitle {
    font-size: 14px;
  }

  .condition-card {
    padding: 15px 10px;
  }

  .condition-number {
    width: 40px;
    height: 40px;
    font-size: 20px;
    margin-bottom: 15px;
  }

  .condition-content h4 {
    font-size: 18px;
  }

  .condition-content p {
    font-size: 13px;
  }

  .recruit-highlight {
    font-size: 18px;
  }

  /* ABOUTセクション */
  .about-text h3 {
    font-size: 24px;
  }

  .about-text p {
    font-size: 14px;
  }

  /* SUPPORTセクション */
  .support-card {
    padding: 25px 15px;
  }

  .support-icon img {
    width: 60px;
    height: 60px;
  }

  .support-text h3 {
    font-size: 20px;
  }

  /* FAQセクション */
  .faq-question {
    font-size: 14px;
    padding: 15px 12px;
  }

  .faq-answer p {
    padding: 0 12px 15px;
    font-size: 13px;
  }

  /* CONTACTセクション */
  .contact-content p {
    font-size: 16px;
    margin-bottom: 25px;
    padding: 0 5px;
  }

  .line-link {
    padding: 10px 20px;
    font-size: 14px;
    margin: 0 5px;
  }

  .line-link i {
    font-size: 20px;
  }

  /* メンバースライダー */
  .member-slider-container {
    bottom: 5px;
    padding: 10px 0;
  }

  .member-slider {
    gap: 15px;
  }

  .member-avatar img {
    width: 60px;
    height: 60px;
    border: 2px solid white;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  }
}

/* 超小型端末対応（iPhone SE等） */
@media (max-width: 375px) {
  /* 全体的な余白調整 */
  body {
    overflow-x: hidden;
  }

  .ranking-grid {
    padding: 0 10px;
  }

  .member-card {
    padding: 15px 10px;
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
  }

  .member-card img {
    width: 180px;
    height: 180px;
  }

  .members-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    padding: 0 10px;
  }

  .member-item {
    width: 100%;
  }

  .member-item img {
    height: 80px;
  }

  .member-info {
    padding: 6px;
  }

  .member-info h4 {
    font-size: 10px;
    margin-bottom: 2px;
  }

  .member-info p {
    font-size: 9px;
  }
  .hero-image {
    max-width: 180px;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
  }

  .achievement-bubble {
    width: 140px;
    height: 140px;
    padding: 10px;
  }

  .achievement-bubble h2 {
    font-size: 12px;
  }

  .achievement-text {
    font-size: 14px;
  }

  .name-en {
    font-size: 18px;
  }

  .name-jp {
    font-size: 24px;
  }

  .condition-number {
    width: 35px;
    height: 35px;
    font-size: 18px;
  }

  .condition-content h4 {
    font-size: 16px;
  }

  .member-avatar img {
    width: 50px;
    height: 50px;
  }

  .member-card h3 {
    font-size: 12px; /* さらに小さく */
  }

  .member-card p {
    font-size: 11px;
  }
}

/* タッチデバイス対応 */
@media (pointer: coarse) {
  /* タッチしやすいボタンサイズ */
  .mobile-menu-toggle {
    padding: 12px;
    min-width: 44px;
    min-height: 44px;
  }

  .faq-question {
    min-height: 44px;
  }

  .line-link {
    min-height: 44px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* ナビゲーションメニューのタッチ対応 */
  .side-nav a {
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 12px !important;
  }
}

/* 横向き表示対応 */
@media (max-width: 768px) and (orientation: landscape) {
  /* ランキンググリッドを縦1列に固定 */
  .ranking-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
  }

  .member-card {
    max-width: 350px;
    width: 90%;
  }
  .hero-content {
    padding: 10px 10px 80px;
    min-height: calc(100vh - 80px);
  }

  .hero-main {
    flex-direction: column;
    gap: 30px;
    align-items: center;
  }

  .hero-image {
    max-width: 200px;
    width: 100%;
    height: auto;
    object-fit: contain;
    object-position: center;
    order: 1;
  }

  .hero-text {
    order: 2;
    flex: 1;
  }

  .achievement-bubble {
    width: 120px;
    height: 120px;
    margin: 10px 0;
  }

  .member-slider-container {
    bottom: 10px;
  }
}

/* より小さい画面用 */
@media (max-width: 430px) {
  .member-card {
    padding: 15px 10px;
    max-width: 100%;
  }
}

@media (min-width: 481px) and (max-width: 1024px) {
  .main-members-grid {
    max-width: 100%; /* 900pxの制限を解除 */
    padding: 0 30px; /* 左右に余白 */
    gap: 30px;
  }

  .container {
    max-width: 100%; /* こちらも */
    padding: 0 30px;
  }

  .member-card h3 {
    font-size: 30px; /* 大きく */
    line-height: 1.4;              /* 追加 */
    min-height: 2.8em;             /* 1.4 × 2行 = 2.8em */

    white-space: normal; /* nowrap → normal に変更 */
    display: -webkit-box;
    -webkit-line-clamp: 2; /* 最大2行まで */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .member-card p {
    font-size: 30px; /* 大きく */
  }

  .sub-member .member-info h4 {
    font-size: 20px;
  }

  .sub-member .member-info p {
    font-size: 18px;
  }
}

/* タブレット用（768px〜1024px） */
@media (min-width: 768px) and (max-width: 1024px) {
  /* グリッドコンテナ */
  .main-members-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    max-width: 100%;
    padding: 0 20px;
    gap: 20px;
  }

  /* カード自体 */
  .member-card {
    min-width: 0;
    width: 100%;
  }

  /* カード内の画像 - 固定幅を解除 */
  .member-card img {
    width: 100%; /* 280px → 100% に変更 */
    max-width: 100%; /* 280px → 100% に変更 */
    height: auto; /* 350px → auto に変更 */
    aspect-ratio: 4 / 5; /* 縦横比を維持 */
  }

  .member-card p {
    font-size: 28px; /* 大きく */
  }
}
