/* =========================
   Reset & Base Styles
========================= */
:root {
  --primary: #1B3A6B;
  --primary-foreground: #ffffff;
  --secondary: #00ffcc;
  --secondary-foreground: #1B3A6B;
  --accent: #ff3366;
  --background: #ffffff;
  --text-color: #333333;
  --gray-light: #f9fafb;
  --gray-border: #e5e7eb;

  /* FAN */
  --chart-1: #50c3ad;

  /* YELL */
  --chart-2: #f68484;

  /* SUPPORTER */
  --chart-3: #dfb84d;

  --font-sans: "Noto Sans JP", sans-serif;
  --font-heading: "Oswald", sans-serif;
  --font-display: "Teko", sans-serif;
}

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

body {
  font-family: var(--font-sans);
  color: var(--text-color);
  background-color: var(--background);
  line-height: 1.6;
  overflow-x: hidden;
}

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.max-w-4xl {
  max-width: 896px;
}

/* =========================
   Typography
========================= */
h1,
h2,
h3 {
  line-height: 1.2;
}

.text-gradient {
  background: linear-gradient(to right, #ffffff, #9ca3af);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* =========================
   Buttons
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 2rem;
  font-weight: 700;
  font-size: 1.125rem;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  outline: none;
}

.btn-primary {
  background-color: var(--accent);
  color: white;
}

.btn-primary:hover {
  background-color: #e62e5c;
  transform: scale(1.05);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid white;
  color: white;
}

.btn-outline:hover {
  background-color: white;
  color: var(--primary);
}

.skew-btn {
  transform: skewX(-12deg);
}

.btn-inner {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transform: skewX(12deg);
}

.btn-block {
  display: block;
  width: 100%;
  text-align: center;
  padding: 1rem;
}

.btn-gray {
  background-color: var(--chart-1);
  color: white;
}
.btn-gray:hover {
  background-color: #3b82f6;
}

.btn-blue {
  background-color: var(--chart-2);
  color: white;
}
.btn-blue:hover {
  background-color: #2563eb;
}

.btn-yellow {
  background-color: var(--chart-3);
  color: white;
}
.btn-yellow:hover {
  background-color: #ca8a04;
}

.btn-lg {
  padding: 1rem 2rem;
  font-size: 1.25rem;
}

.btn-glow {
  box-shadow: 0 0 30px rgba(255, 50, 100, 0.4);
  animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 30px rgba(255, 50, 100, 0.4);
  }
  50% {
    box-shadow: 0 0 40px rgba(255, 50, 100, 0.7);
  }
}

/* =========================
   Hero Section
========================= */
.hero {
  position: relative;
  height: 100vh;
  min-height: 600px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-overlay-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(27, 58, 107, 0.9),
    rgba(27, 58, 107, 0.6),
    transparent
  );
  mix-blend-mode: multiply;
}

.hero-overlay-dark {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
}

.hero-content {
  position: relative;
  z-index: 10;
  color: white;
  padding-top: 5rem;
}

.hero-text-box {
  max-width: 48rem;
}

.badge-skew {
  display: inline-block;
  margin-bottom: 1rem;
  padding: 0.25rem 1rem;
  background-color: var(--secondary);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transform: skewX(-12deg);
}

.badge-text {
  display: block;
  transform: skewX(12deg);
}

.hero-title {
  font-family: var(--font-display);
  font-size: 3.75rem;
  font-weight: 700;
  line-height: 1;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  font-style: italic;
}

@media (min-width: 768px) {
  .hero-title {
    font-size: 6rem;
  }
}

.hero-desc {
  font-size: 1.25rem;
  font-weight: 500;
  margin-bottom: 2rem;
  max-width: 42rem;
  color: #e5e7eb;
}

@media (min-width: 768px) {
  .hero-desc {
    font-size: 1.5rem;
  }
}

.hero-buttons {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 3rem;
}

@media (min-width: 640px) {
  .hero-buttons {
    flex-direction: row;
  }
}

.hero-decoration {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 50%;
  height: 8rem;
  background-color: rgba(0, 255, 204, 0.2);
  transform: skewY(-3deg) translateY(4rem);
  filter: blur(40px);
}

/* =========================
   Animations
========================= */
.fade-in-up {
  animation: fadeInUp 0.8s ease-out forwards;
  opacity: 0;
  transform: translateX(-50px);
}

@keyframes fadeInUp {
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* =========================
   About Section
========================= */
.about {
  padding: 6rem 0;
  background-color: white;
  position: relative;
  z-index: 20;
  margin-top: -5rem;
  padding-top: 8rem;
  clip-path: polygon(0 5%, 100% 0, 100% 100%, 0 100%);
}

.about-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .about-grid {
    flex-direction: row;
  }
}

.about-text {
  flex: 1;
}

.about-image {
  flex: 1;
  position: relative;
}

.section-header-left {
  position: relative;
  margin-bottom: 1.5rem;
}

.decoration-circle {
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 6rem;
  height: 6rem;
  background-color: rgba(0, 255, 204, 0.2);
  border-radius: 50%;
  filter: blur(20px);
}

.section-title-left {
  font-family: var(--font-heading);
  font-size: 30px; /* User specified */
  font-weight: 700;
  color: var(--primary);
  position: relative;
  z-index: 10;
}

.text-body {
  font-size: 1.125rem;
  color: #4b5563;
  margin-bottom: 1.5rem;
}

.image-backdrop {
  position: absolute;
  inset: 0;
  background-color: var(--accent);
  transform: translate(1rem, 1rem);
  z-index: -1;
  border-radius: 0.5rem;
}

.about-image img {
  width: 100%;
  border-radius: 0.5rem;
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
  filter: grayscale(100%);
  transition: filter 0.5s;
}

.about-image img:hover {
  filter: grayscale(0%);
}

/* =========================
   Benefits Section
========================= */
.benefits {
  padding: 6rem 0;
  background-color: var(--gray-light);
}

.section-header-center {
  text-align: center;
  margin-bottom: 4rem;
}

.badge-pill {
  display: inline-block;
  background-color: var(--primary);
  color: white;
  padding: 0.25rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title {
    font-size: 3rem;
  }
}

.section-desc {
  color: #6b7280;
  max-width: 42rem;
  margin: 0 auto;
}

.benefits-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 1024px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.card {
  background-color: white;
  border-radius: 0.5rem;
  overflow: hidden;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  transition: box-shadow 0.3s;
}

.card:hover {
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
}

.benefit-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card-image {
  height: 12rem;
  position: relative;
  overflow: hidden;
}

.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}

.benefit-card:hover .card-image img {
  transform: scale(1.1);
}

.image-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(27, 58, 107, 0.8);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s;
  z-index: 10;
  color: white;
}

.benefit-card:hover .image-overlay {
  opacity: 1;
}

.card-header {
  padding: 1.5rem 1.5rem 0.5rem;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
}

.icon-circle {
  background-color: rgba(0, 255, 204, 0.2);
  color: var(--secondary-foreground);
  padding: 0.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-yellow {
  background-color: rgba(234, 179, 8, 0.2);
  color: #ca8a04;
}

.card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.card-body p {
  color: #4b5563;
  margin-bottom: 1rem;
}

.card-description {
  font-size: 0.82rem;
  color: #4b5563;
  line-height: 1.6;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem;
}

.tag {
  font-size: 0.75rem;
  padding: 0.25rem 0.5rem;
  border-radius: 9999px;
  font-weight: 600;
}

/* FAN */
.tag-gray {
  background-color: #50c3ad;
  color: #ffffff; /* 文字色は白が見やすいので推奨 */
}

/* YELL */
.tag-blue {
  background-color: #f68484;
  color: #ffffff;
}

/* SUPPORTER */
.tag-yellow {
  background-color: #dfb84d;
  color: #ffffff;
}

.supporter-card {
  border: 2px solid var(--chart-3);
  background: linear-gradient(to bottom right, #ffffff, #fefce8);
}

.supporter-badge {
  position: absolute;
  top: 0;
  right: 0;
  background-color: var(--chart-3);
  color: white;
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  z-index: 20;
}

/* =========================
   Plans Section
========================= */
.plans {
  padding: 6rem 0;
  background-color: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.plans-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(#ffffff 1px, transparent 1px);
  background-size: 20px 20px;
  opacity: 0.1;
}

.section-title-large {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  text-transform: uppercase;
  font-style: italic;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

@media (min-width: 768px) {
  .section-title-large {
    font-size: 3.75rem;
  }
}

.section-desc-large {
  font-size: 1.25rem;
  color: #d1d5db;
}

.plans-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 72rem;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .plans-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.plan-card {
  background-color: white;
  color: var(--primary);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s;
}

.plan-card:hover {
  transform: translateY(-0.5rem);
}

.plan-featured {
  transform: scale(1.05);
  z-index: 10;
  border: 4px solid var(--chart-2);
  position: relative;
}

.plan-featured:hover {
  transform: scale(1.05) translateY(-0.5rem);
}

.plan-badge {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--chart-2);
  color: white;
  text-align: center;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.25rem;
  letter-spacing: 0.1em;
}

.plan-header {
  padding: 1.5rem;
  text-align: center;
  color: white;
}

.plan-featured .plan-header {
  margin-top: 1.5rem;
}

.bg-gray {
  background-color: var(--chart-1);
}
.bg-blue {
  background-color: var(--chart-2);
}
.bg-yellow {
  background-color: var(--chart-3);
}

.plan-header h3 {
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.plan-header p {
  font-size: 0.875rem;
  opacity: 0.9;
}

.plan-body {
  padding: 2rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.plan-price {
  text-align: center;
  margin-bottom: 2rem;
}

.price-label {
  color: #374151; /* 濃くする（gray-700） */
  font-size: 1.2rem; /* 少し大きく */
  font-weight: 700; /* 太く */
  margin-right: 0.25rem;
}

.price-value {
  font-size: 2.25rem;
  font-weight: 700;
  font-family: var(--font-display);
}

.price-desc {
  color: #4b5563;
  font-size: 0.875rem;
  margin-top: 1rem;
}

.plan-features {
  margin-bottom: 2rem;
  flex-grow: 1;
}

.plan-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

.check-icon {
  font-weight: bold;
}

.check-gray {
  color: var(--chart-1);
}
.check-blue {
  color: var(--chart-2);
}
.check-yellow {
  color: var(--chart-3);
}

.feature-highlight {
  font-weight: 700;
}

.text-blue {
  color: var(--chart-2);
}
.text-yellow {
  color: var(--chart-3);
}

/* =========================
   Voice Section
========================= */
.voice {
  padding: 6rem 0;
  background-color: white;
}

.voice-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .voice-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.voice-card {
  background-color: var(--gray-light);
  border: none;
  padding: 2rem;
}

.voice-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.voice-avatar {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  overflow: hidden;
}

.voice-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.voice-name {
  font-weight: 700;
  color: var(--primary);
}

.voice-badge {
  font-size: 0.75rem;
  padding: 0.125rem 0.5rem;
  border-radius: 9999px;
  border: 1px solid;
}

.badge-blue {
  border-color: var(--chart-2);
  color: var(--chart-2);
}
.badge-yellow {
  border-color: var(--chart-3);
  color: var(--chart-3);
}
.badge-gray {
  border-color: var(--chart-1);
  color: var(--chart-1);
}

.voice-text {
  color: #4b5563;
  font-style: italic;
}

/* =========================
   FAQ Section
========================= */
.faq {
  padding: 6rem 0;
  background-color: var(--gray-light);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.accordion-item {
  background-color: white;
  border-radius: 0.5rem;
  border: 1px solid var(--gray-border);
  box-shadow: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
}

.accordion-trigger {
  width: 100%;
  text-align: left;
  padding: 1.5rem;
  background: none;
  border: none;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.accordion-icon {
  font-size: 1.5rem;
  transition: transform 0.3s;
}

.accordion-trigger.active .accordion-icon {
  transform: rotate(45deg);
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.accordion-inner {
  padding: 0 1.5rem 1.5rem;
  color: #4b5563;
}

/* =========================
   Join Section
========================= */
.join {
  padding: 6rem 0;
  background-color: var(--primary);
  color: white;
  position: relative;
  overflow: hidden;
}

.join-bg {
  position: absolute;
  inset: 0;
  background-image: url("assets/images/hero_bg.jpg");
  background-size: cover;
  background-position: center;
  opacity: 0.1;
  mix-blend-mode: overlay;
  pointer-events: none;
}

.join .container {
    position: relative;
    z-index: 1;
}

.join-grid {
  display: flex;
  flex-direction: column;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 768px) {
  .join-grid {
    flex-direction: row;
    justify-content: space-between;
  }
}

.join-text {
  flex: 1;
}

.join-desc {
  font-size: 1.25rem;
  color: #d1d5db;
  margin-bottom: 2rem;
}

.steps {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
}

.step-number {
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--accent);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1.25rem;
  flex-shrink: 0;
}

.step-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}

.step-desc {
  color: #d1d5db;
}

.join-action {
  flex: 1;
  display: flex;
  justify-content: center;
  width: 100%;
}

.join-card {
  width: 100%;
  max-width: 28rem;
  background-color: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0.5rem;
  padding: 2rem;
  text-align: center;
}

.join-note {
  font-size: 0.875rem;
  color: #9ca3af;
  margin-top: 1rem;
}

/* =========================
   Footer
========================= */
.footer {
  background-color: black;
  color: white;
  padding: 3rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  text-align: center;
}

@media (min-width: 768px) {
  .footer-content {
    flex-direction: row;
    justify-content: space-between;
    text-align: left;
  }
}

.footer-brand h2 {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.footer-brand p {
  color: #6b7280;
  font-size: 0.875rem;
}

.footer-links {
  display: flex;
  gap: 1.5rem;
}

.footer-links a {
  color: #9ca3af;
  transition: color 0.3s;
}

.footer-links a:hover {
  color: white;
}

.footer-copy {
  color: #4b5563;
  font-size: 0.875rem;
}

/* =========================
   Additions
========================= */

/* FANプラン・SUPPORTERプランが反応しなかったのでコード追加 */
/* Plans Section の背景は必ずクリック透過 */
.plans-bg-pattern {
  pointer-events: none;
  z-index: 0;
}

/* プラン本体を背景より前面に固定 */
.plans .container {
  position: relative;
  z-index: 1;
}

.plans-grid {
  position: relative;
  z-index: 1;
}

.plan-card {
  position: relative;
  z-index: 1;
}

/* RECOMMENDED（中央）だけはさらに前面 */
.plan-featured {
  z-index: 2;
}

/* 入会ボタンをボタンっぽくするためにコード追加 */
/* プラン入会ボタン共通 */
.plans .btn-block {
  border-radius: 9999px; /* 両端を完全に丸く */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
  font-weight: 700;
  letter-spacing: 0.05em;
  transition: transform 0.25s ease, box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.plans .btn-block:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.25);
}

.plans .btn-block:active {
  transform: translateY(0);
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}

.btn-gray {
  box-shadow: 0 10px 25px rgba(80, 195, 173, 0.45);
}

.btn-blue {
  box-shadow: 0 10px 25px rgba(246, 132, 132, 0.45);
}

.btn-yellow {
  box-shadow: 0 10px 25px rgba(223, 184, 77, 0.45);
}

/* ===== プラン入会ボタン hover 色を統一 ===== */
.plans .btn-block:hover {
  background-color: #2563eb !important; /* 青に統一 */
  color: #ffffff;
}

/* 特典カード用 小見出し */
.card-subtitle {
  font-size: 0.95rem; /* タイトルと本文の中間 */
  font-weight: 700; /* 太字 */
  color: var(--primary); /* タイトルと同系色で統一 */
  margin-bottom: 0.5rem;
  line-height: 1.4;
}

/* HEROタイトルの右端欠け対策（最優先で上書き） */
.hero-title,
.hero-title .text-gradient {
  display: inline-block;
  padding-right: 0.35em !important; /* ここでKのハネ分を確保 */
  overflow: visible !important;
}

.step-link {
  color: #2563eb;           /* 青文字 */
  text-decoration: underline;
  font-weight: 700;
}

.step-link:hover {
  opacity: 0.85;
}
