/*
Theme Name: FOX CHEER CLUB Child
Theme URI: https://foxcheerclub.example.com
Description: Fox Cheer Club ファンサイト用 Cocoon 子テーマ
Author: Fox Cheer Club
Template: cocoon-master
Version: 1.0.0
*/

/* ============================================================
   デザイン変数
   ============================================================ */
:root {
  --sky:       #7DD8F8;
  --sky-light: #C8EDFC;
  --sky-dark:  #3AABE0;
  --mint:      #A8F0DC;
  --pink:      #FFB3D1;
  --pink-soft: #FFE8F2;
  --yellow:    #FFE066;
  --white:     #FFFFFF;
  --soft-bg:   #EEF9FF;
  --text-dark: #2A4A5E;
  --text-mid:  #5A8AA0;
  --shadow:    rgba(100,200,240,0.25);
}

/* ============================================================
   グローバル
   ============================================================ */
body {
  font-family: 'M PLUS Rounded 1c', sans-serif;
  background: var(--soft-bg);
  color: var(--text-dark);
  overflow-x: hidden;
}

/* ============================================================
   Cocoon ヘッダーのカスタマイズ
   ============================================================ */
#header {
  background: linear-gradient(135deg, var(--sky) 0%, #A8DEFF 60%, var(--mint) 100%) !important;
  padding: 0 20px !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 9999 !important;
  box-shadow: 0 4px 20px var(--shadow) !important;
  border: none !important;
}

#header-container,
#header-container-in {
  max-width: 1000px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  min-height: 60px !important;
  background: transparent !important;
  padding: 0 !important;
  box-shadow: none !important;
}

/* サイト名をロゴ風に */
#site-name,
.site-name {
  font-family: 'Pacifico', cursive !important;
  font-size: 18px !important;
  margin: 0 !important;
  padding: 0 !important;
}

.site-name-link,
#site-name a {
  color: white !important;
  text-shadow: 2px 2px 0 rgba(0,100,160,0.25) !important;
  text-decoration: none !important;
}

/* ヘッダーロゴ画像 */
#logo-header img,
.header-logo-image {
  max-height: 40px !important;
  width: auto !important;
}

/* タグライン非表示 */
#tagline,
.tagline { display: none !important; }

/* ナビゲーション背景リセット */
#navi,
.navi {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

#navi-in,
.navi-in { background: transparent !important; }

#navi-in > ul,
.navi-in > ul {
  display: flex !important;
  gap: 2px !important;
  flex-wrap: wrap !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  border: none !important;
}

#navi-in > ul > li,
.navi-in > ul > li {
  background: transparent !important;
  border: none !important;
  padding: 0 !important;
}

#navi-in > ul > li > a,
.navi-in > ul > li > a {
  color: white !important;
  text-decoration: none !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  padding: 5px 10px !important;
  border-radius: 20px !important;
  transition: all 0.2s !important;
  background: transparent !important;
  display: block !important;
  border: none !important;
}

#navi-in > ul > li > a:hover,
.navi-in > ul > li > a:hover {
  background: rgba(255,255,255,0.3) !important;
  color: white !important;
}

/* JOIN ボタン
   WordPress 管理画面 > 外観 > メニュー で
   該当メニュー項目の「CSSクラス」に btn-join を入力すること */
#navi-in > ul > li.btn-join > a,
.navi-in > ul > li.btn-join > a {
  background: var(--yellow) !important;
  color: var(--text-dark) !important;
  box-shadow: 0 3px 0 rgba(180,130,0,0.3) !important;
}

#navi-in > ul > li.btn-join > a:hover,
.navi-in > ul > li.btn-join > a:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 5px 0 rgba(180,130,0,0.3) !important;
  background: var(--yellow) !important;
}

/* ============================================================
   カスタムヘッダー (#foxcc-header)
   ============================================================ */
#foxcc-header {
  background: linear-gradient(135deg, var(--sky) 0%, #A8DEFF 60%, var(--mint) 100%);
  padding: 0 20px;
  position: sticky;
  top: 0;
  z-index: 9999;
  box-shadow: 0 4px 20px var(--shadow);
}

.foxcc-header-inner {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 60px;
  gap: 12px;
}

.foxcc-logo {
  font-family: 'Pacifico', cursive;
  font-size: 18px;
  color: white;
  text-shadow: 2px 2px 0 rgba(0,100,160,0.25);
  text-decoration: none !important;
  display: flex;
  align-items: center;
  gap: 6px;
  white-space: nowrap;
}

.foxcc-logo-icon {
  font-size: 22px;
  animation: foxcc-bounce 2s ease-in-out infinite;
  display: inline-block;
}

.foxcc-nav {
  display: flex;
  gap: 2px;
  flex-wrap: wrap;
  align-items: center;
}

.foxcc-nav a {
  color: white !important;
  text-decoration: none !important;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 20px;
  transition: all 0.2s;
}

.foxcc-nav a:hover {
  background: rgba(255,255,255,0.3);
  color: white !important;
}

.foxcc-nav-join {
  background: var(--yellow) !important;
  color: var(--text-dark) !important;
  box-shadow: 0 3px 0 rgba(180,130,0,0.3);
}

.foxcc-nav-join:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 0 rgba(180,130,0,0.3) !important;
  background: var(--yellow) !important;
  color: var(--text-dark) !important;
}

/* フロントページでは Cocoon のヘッダーを非表示 */
body.foxcc-front #header,
body.foxcc-front #header-container { display: none !important; }

/* ============================================================
   フロントページ — Cocoon ラッパーのリセット
   ============================================================ */
body.foxcc-front #wrapper {
  overflow-x: hidden;
}

body.foxcc-front #container,
body.foxcc-front #content,
body.foxcc-front #primary {
  width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  background: transparent !important;
}

body.foxcc-front #secondary,
body.foxcc-front .sidebar,
body.foxcc-front #sidebar { display: none !important; }

body.foxcc-front .breadcrumb,
body.foxcc-front #breadcrumb { display: none !important; }

body.foxcc-front .entry-meta,
body.foxcc-front .post-header,
body.foxcc-front .entry-footer,
body.foxcc-front .article-header,
body.foxcc-front .the-content-before,
body.foxcc-front .the-content-after { display: none !important; }

body.foxcc-front .entry-content,
body.foxcc-front .article { padding: 0 !important; margin: 0 !important; }

/* ============================================================
   アニメーション
   ============================================================ */
@keyframes foxcc-pulse {
  0%,100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}

@keyframes foxcc-bounce {
  0%,100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* ============================================================
   HERO
   ============================================================ */
.foxcc-hero {
  background: linear-gradient(160deg, #C8EDFC 0%, #EEF9FF 50%, #D5F5EE 100%);
  padding: 56px 24px 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.foxcc-hero::before {
  content: '🦊';
  position: absolute;
  font-size: 180px;
  opacity: 0.05;
  top: -10px; right: -10px;
  transform: rotate(12deg);
  pointer-events: none;
}

.foxcc-hero::after {
  content: '⚾';
  position: absolute;
  font-size: 130px;
  opacity: 0.05;
  bottom: 0; left: -10px;
  transform: rotate(-18deg);
  pointer-events: none;
}

.foxcc-hero-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--sky), var(--sky-dark));
  color: white;
  font-size: 11px;
  font-weight: 800;
  padding: 5px 18px;
  border-radius: 20px;
  margin-bottom: 18px;
  letter-spacing: 2px;
  box-shadow: 0 4px 14px var(--shadow);
  animation: foxcc-pulse 2.5s ease-in-out infinite;
}

.foxcc-hero h1 {
  font-family: 'Pacifico', cursive !important;
  font-size: clamp(28px, 7vw, 58px) !important;
  color: var(--sky-dark) !important;
  text-shadow: 3px 3px 0 rgba(80,180,230,0.2);
  line-height: 1.2 !important;
  margin-bottom: 10px !important;
  border: none !important;
  padding: 0 !important;
}

.foxcc-hero-sub {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 28px;
  font-weight: 700;
}

.foxcc-hero-buttons {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 24px;
}

/* ============================================================
   ボタン
   ============================================================ */
.foxcc-btn-primary {
  background: linear-gradient(135deg, var(--sky-dark), #2AA8E0) !important;
  color: white !important;
  border: none !important;
  padding: 13px 28px !important;
  border-radius: 30px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  font-family: 'M PLUS Rounded 1c', sans-serif !important;
  cursor: pointer !important;
  box-shadow: 0 6px 18px rgba(50,170,220,0.4) !important;
  transition: all 0.25s !important;
  text-decoration: none !important;
  display: inline-block !important;
}

.foxcc-btn-primary:hover {
  transform: translateY(-3px) !important;
  box-shadow: 0 10px 22px rgba(50,170,220,0.5) !important;
  color: white !important;
}

.foxcc-btn-secondary {
  background: white !important;
  color: var(--sky-dark) !important;
  border: 2.5px solid var(--sky) !important;
  padding: 13px 28px !important;
  border-radius: 30px !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  font-family: 'M PLUS Rounded 1c', sans-serif !important;
  cursor: pointer !important;
  transition: all 0.25s !important;
  text-decoration: none !important;
  display: inline-block !important;
}

.foxcc-btn-secondary:hover {
  background: var(--sky-light) !important;
  transform: translateY(-3px) !important;
  color: var(--sky-dark) !important;
}

/* ============================================================
   ヒーロースライダー
   ============================================================ */
.foxcc-hero-slider {
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 460px;
  margin: 0 auto 16px;
}

.foxcc-slider-track-wrap {
  flex: 1;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 28px var(--shadow);
  aspect-ratio: 3/4;
}

.foxcc-slider-track {
  display: flex;
  width: 100%;
  height: 100%;
  transition: transform 0.4s cubic-bezier(.4,0,.2,1);
}

.foxcc-slide {
  min-width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
}

.foxcc-slide-inner {
  font-size: 96px;
  line-height: 1;
}

.foxcc-slide-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  position: absolute;
  inset: 0;
}

.foxcc-slider-btn {
  background: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  font-size: 16px;
  color: var(--sky-dark);
  cursor: pointer;
  box-shadow: 0 4px 14px var(--shadow);
  flex-shrink: 0;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.foxcc-slider-btn:hover { background: var(--sky-light); transform: scale(1.1); }

.foxcc-slider-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-bottom: 8px;
}

.foxcc-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sky-light);
  cursor: pointer;
  transition: all 0.2s;
}

.foxcc-dot.active {
  background: var(--sky-dark);
  transform: scale(1.3);
}

/* ============================================================
   セクション共通
   ============================================================ */
.foxcc-section { padding: 56px 24px; }

.foxcc-section-inner {
  max-width: 960px;
  margin: 0 auto;
}

.foxcc-section-title {
  text-align: center;
  font-family: 'Pacifico', cursive !important;
  font-size: clamp(20px, 5vw, 30px) !important;
  color: var(--sky-dark) !important;
  margin-bottom: 6px !important;
  border: none !important;
  padding: 0 !important;
}

.foxcc-section-title-en {
  text-align: center;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 3px;
  color: var(--text-mid);
  margin-bottom: 36px;
  text-transform: uppercase;
}

/* ============================================================
   MEMBERS
   ============================================================ */
.foxcc-members-section { background: white; }

.foxcc-members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 20px;
}

.foxcc-member-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 6px 24px var(--shadow);
  transition: transform 0.3s;
  cursor: pointer;
  background: white;
  text-decoration: none !important;
  color: var(--text-dark) !important;
  display: block;
}

.foxcc-member-card:hover { transform: translateY(-8px); }

.foxcc-member-img {
  width: 100%;
  aspect-ratio: 3/4;
  object-fit: cover;
  object-position: top;
  display: block;
}

.foxcc-member-img-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
}

.foxcc-member-card:nth-child(1) .foxcc-member-img-placeholder { background: linear-gradient(160deg,#E8D5F8,#C8EDFC); }
.foxcc-member-card:nth-child(2) .foxcc-member-img-placeholder { background: linear-gradient(160deg,#C8EDFC,#D5F5EE); }
.foxcc-member-card:nth-child(3) .foxcc-member-img-placeholder { background: linear-gradient(160deg,#D5F5EE,#FFF0C8); }
.foxcc-member-card:nth-child(4) .foxcc-member-img-placeholder { background: linear-gradient(160deg,#FFE8F2,#FFF0C8); }

.foxcc-member-info { padding: 16px; }

.foxcc-member-name-ja {
  font-size: 17px;
  font-weight: 900;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.foxcc-member-name-en {
  font-size: 11px;
  color: var(--text-mid);
  font-weight: 600;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.foxcc-member-tags {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.foxcc-member-tag {
  font-size: 11px;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 12px;
  background: var(--sky-light);
  color: var(--sky-dark);
}

.foxcc-member-tag.pink   { background: #FFE8F2; color: #D060A0; }
.foxcc-member-tag.mint   { background: #D5F5EE; color: #20A080; }
.foxcc-member-tag.purple { background: #EDE0FF; color: #8060C0; }

.foxcc-member-profile-btn {
  display: block;
  text-align: center;
  margin-top: 12px;
  padding: 7px;
  border-radius: 14px;
  background: var(--soft-bg);
  color: var(--sky-dark) !important;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none !important;
  transition: background 0.2s;
}

.foxcc-member-profile-btn:hover { background: var(--sky-light); }

/* ============================================================
   NEWS
   ============================================================ */
.foxcc-news-section { background: var(--soft-bg); }

.foxcc-news-list { display: flex; flex-direction: column; gap: 10px; }

.foxcc-news-item {
  background: white;
  border-radius: 16px;
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 14px;
  box-shadow: 0 2px 10px rgba(100,200,240,0.08);
  transition: all 0.2s;
  text-decoration: none !important;
  color: var(--text-dark) !important;
}

.foxcc-news-item:hover {
  transform: translateX(4px);
  box-shadow: 0 4px 18px rgba(100,200,240,0.18);
  color: var(--text-dark) !important;
}

.foxcc-news-date {
  font-size: 11px;
  color: var(--text-mid);
  font-weight: 700;
  white-space: nowrap;
}

.foxcc-news-tag {
  background: var(--sky-light);
  color: var(--sky-dark);
  font-size: 10px;
  font-weight: 800;
  padding: 3px 9px;
  border-radius: 10px;
  white-space: nowrap;
}

.foxcc-news-tag.event  { background: #FFE8F2; color: #D060A0; }
.foxcc-news-tag.media  { background: #D5F5EE; color: #20A080; }
.foxcc-news-tag.member { background: #EDE0FF; color: #8060C0; }

.foxcc-news-title { font-size: 13px; font-weight: 700; flex: 1; }

/* ============================================================
   GALLERY
   ============================================================ */
.foxcc-gallery-section { background: white; }

.foxcc-gallery-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.foxcc-gallery-item {
  border-radius: 14px;
  aspect-ratio: 3/4;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: 0 3px 12px var(--shadow);
  transition: transform 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
}

.foxcc-gallery-item:hover { transform: scale(1.04); }

.foxcc-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  position: absolute;
  inset: 0;
}

.foxcc-gallery-item.locked { filter: blur(3px); }

.foxcc-gallery-item.locked::after {
  content: '🔒';
  position: absolute;
  inset: 0;
  background: rgba(180,230,250,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  backdrop-filter: blur(2px);
  filter: blur(0);
}

.foxcc-gallery-lock-note {
  text-align: center;
  margin-top: 18px;
  font-size: 13px;
  color: var(--text-mid);
  font-weight: 600;
}

/* ============================================================
   PLANS
   ============================================================ */
.foxcc-plans-section { background: var(--soft-bg); }

.foxcc-plans-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 18px;
}

.foxcc-plan-card {
  border-radius: 24px;
  padding: 30px 22px;
  text-align: center;
  position: relative;
  transition: transform 0.25s;
  overflow: hidden;
}

.foxcc-plan-card:hover { transform: translateY(-6px); }

.foxcc-plan-card.standard {
  background: linear-gradient(160deg, var(--sky-light), #E4F8FF);
  border: 2.5px solid var(--sky);
}

.foxcc-plan-card.premium {
  background: linear-gradient(160deg, #FFE8F2, #FFF3C8);
  border: 2.5px solid var(--pink);
}

.foxcc-plan-card.premium::before {
  content: '⭐ おすすめ';
  position: absolute;
  top: 16px; right: -22px;
  background: var(--yellow);
  color: var(--text-dark);
  font-size: 10px;
  font-weight: 900;
  padding: 4px 34px;
  transform: rotate(35deg);
}

/* 個別メンバープランカード */
.foxcc-plan-card.kotone { background: linear-gradient(160deg,#EDE0FF,#D8EEFF); border: 2px solid #C4A8F0; }
.foxcc-plan-card.riria  { background: linear-gradient(160deg,#C8EDFC,#D5F5EE); border: 2px solid var(--sky); }
.foxcc-plan-card.miyu   { background: linear-gradient(160deg,#D5F5EE,#FFF5D0); border: 2px solid var(--mint); }
.foxcc-plan-card.honoka { background: linear-gradient(160deg,#FFE8F2,#FFF3C8); border: 2px solid var(--pink); }

.foxcc-plan-icon { font-size: 36px; margin-bottom: 10px; }

.foxcc-plan-name {
  font-weight: 900;
  font-size: 17px;
  color: var(--text-dark);
  margin-bottom: 6px;
}

.foxcc-plan-name-sub {
  font-size: 10px;
  color: var(--text-mid);
  margin-bottom: 8px;
  font-weight: 600;
}

.foxcc-plan-price {
  font-family: 'Nunito', sans-serif;
  font-size: 34px;
  font-weight: 800;
  color: var(--sky-dark);
  margin-bottom: 4px;
}

.foxcc-plan-price span {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
}

.foxcc-plan-features {
  list-style: none !important;
  margin: 18px 0 22px !important;
  padding: 0 !important;
  text-align: left;
}

.foxcc-plan-features li {
  padding: 5px 0;
  font-size: 12px;
  color: var(--text-mid);
  display: flex;
  align-items: flex-start;
  gap: 7px;
}

.foxcc-plan-features li::before {
  content: '✓';
  color: var(--sky-dark);
  font-weight: 900;
  font-size: 13px;
  flex-shrink: 0;
}

.foxcc-plan-section-label {
  font-size: 13px;
  font-weight: 800;
  color: var(--text-mid);
  letter-spacing: 2px;
  text-align: center;
  margin-bottom: 18px;
}

.foxcc-plan-section-label span {
  font-size: 11px;
  font-weight: 600;
}

.foxcc-coupon-note {
  text-align: center;
  margin: 24px auto 0;
  font-size: 12px;
  color: var(--text-mid);
  background: white;
  border-radius: 12px;
  padding: 12px;
  border: 1.5px dashed var(--sky);
  max-width: 480px;
}

/* ============================================================
   Cocoon フッターのカスタマイズ
   ============================================================ */
#footer {
  background: var(--text-dark) !important;
  color: rgba(255,255,255,0.65) !important;
  padding: 40px 24px 24px !important;
  text-align: center !important;
  border: none !important;
}

#footer a {
  color: rgba(255,255,255,0.5) !important;
  text-decoration: none !important;
  transition: color 0.2s !important;
}

#footer a:hover { color: var(--sky) !important; }

#footer-logo,
.footer-logo-image-wrap {
  font-family: 'Pacifico', cursive !important;
  font-size: 20px !important;
  color: var(--sky) !important;
  margin-bottom: 16px !important;
}

#footer-credit,
.footer-copy {
  font-size: 10px !important;
  color: rgba(255,255,255,0.25) !important;
}

/* ============================================================
   レスポンシブ
   ============================================================ */
@media (max-width: 640px) {
  .foxcc-members-grid { grid-template-columns: repeat(2, 1fr); }
  .foxcc-gallery-grid { grid-template-columns: repeat(2, 1fr); }

  /* モバイルではJOIN以外のナビを非表示 */
  .foxcc-nav a:not(.foxcc-nav-join) { display: none; }
}

@media (min-width: 641px) and (max-width: 900px) {
  .foxcc-gallery-grid { grid-template-columns: repeat(3, 1fr); }
}
