/*
Theme Name: YukiPro Entertainment Theme
Theme URI: https://yukipro.cloudfree.jp/
Author: YukiPro Dev Team
Description: ゆきプロエンターテイメント専用 ライトテーマ（白背景）対応
Version: 2.2.0
*/

:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f8fafc;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-sub: #64748b;
  --accent-pink: #ff2a85;
  --accent-blue: #0284c7;
  --gradient-main: linear-gradient(135deg, #ff2a85 0%, #0284c7 100%);
  --border-light: #e2e8f0;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.08);
  --header-height: 70px;
}

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

body {
  background-color: var(--bg-primary);
  color: var(--text-main);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "BIZ UDPGothic", Meiryo, sans-serif;
  line-height: 1.6;
  overflow-x: hidden;
  padding-top: var(--header-height);
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

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

.container {
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

/* ==========================================================================
   Header & Navigation
   ========================================================================== */
.site-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border-light);
  z-index: 1000;
  display: flex;
  align-items: center;
}

.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.logo {
  font-size: 1.25rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  white-space: nowrap;
}

.nav-menu {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  align-items: center;
}

.nav-menu a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-main);
}

.nav-menu a:hover {
  color: var(--accent-blue);
}

.btn-cta {
  background: var(--gradient-main);
  color: #fff !important;
  padding: 0.5rem 1.25rem;
  border-radius: 9999px;
  font-weight: 700;
  font-size: 0.9rem;
  box-shadow: 0 4px 15px rgba(255, 42, 133, 0.2);
  display: inline-block;
}

.btn-cta:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

/* Hamburger Toggle Button */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 1100;
  position: relative;
}

.hamburger-box {
  width: 26px;
  height: 20px;
  position: relative;
  display: inline-block;
}

.hamburger-line {
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: var(--text-main);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease, top 0.3s ease;
}

.hamburger-line:nth-child(1) { top: 0; }
.hamburger-line:nth-child(2) { top: 9px; }
.hamburger-line:nth-child(3) { top: 18px; }

.hamburger.active .hamburger-line:nth-child(1) {
  top: 9px;
  transform: rotate(45deg);
}
.hamburger.active .hamburger-line:nth-child(2) {
  opacity: 0;
}
.hamburger.active .hamburger-line:nth-child(3) {
  top: 9px;
  transform: rotate(-45deg);
}

/* Mobile Nav Overlay */
.mobile-nav-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1050;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.mobile-nav-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-menu {
  list-style: none;
  text-align: center;
  display: flex;
  flex-direction: column;
  gap: 1.8rem;
}

.mobile-menu a {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text-main);
  display: block;
  padding: 0.5rem 1rem;
}

.mobile-menu a:hover {
  color: var(--accent-blue);
}

@media (max-width: 860px) {
  .nav-desktop { display: none; }
  .hamburger { display: block; }
}

/* ==========================================================================
   Hero Section
   ========================================================================== */
.hero {
  min-height: calc(80vh - var(--header-height));
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  padding: 4rem 0;
  background: radial-gradient(circle at 50% 30%, rgba(255, 42, 133, 0.06), transparent 70%);
}

.hero-title {
  font-size: clamp(2rem, 6vw, 3.6rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 1.5rem;
  color: #0f172a;
}

.hero-subtitle {
  font-size: clamp(0.95rem, 2.5vw, 1.15rem);
  color: var(--text-sub);
  margin-bottom: 2.2rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn-secondary {
  border: 1px solid var(--border-light);
  background: #ffffff;
  color: var(--text-main);
  padding: 0.5rem 1.4rem;
  border-radius: 9999px;
  font-weight: 600;
  font-size: 0.9rem;
  display: inline-block;
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-secondary);
}

/* ==========================================================================
   Sections Common
   ========================================================================== */
.section {
  padding: 5rem 0;
}

.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 4vw, 2.4rem);
  font-weight: 800;
  margin-bottom: 0.3rem;
  letter-spacing: 0.05em;
  color: #0f172a;
}

.section-sub {
  text-align: center;
  color: var(--accent-blue);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  margin-bottom: 3rem;
}

/* ==========================================================================
   Talent Grid
   ========================================================================== */
.talent-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.8rem;
}

.talent-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.talent-card:hover {
  transform: translateY(-6px);
  border-color: var(--accent-pink);
  box-shadow: var(--shadow-md);
}

.talent-thumb-wrap {
  width: 100%;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
}

.talent-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.talent-card:hover .talent-thumb {
  transform: scale(1.05);
}

.talent-no-image {
  color: #94a3b8;
  font-weight: 700;
  font-size: 0.9rem;
}

.talent-info {
  padding: 1.25rem 1rem;
  text-align: center;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.talent-name {
  font-size: 1.2rem;
  font-weight: 700;
  margin-bottom: 0.3rem;
  color: #0f172a;
}

.talent-role {
  font-size: 0.85rem;
  color: var(--text-sub);
}

/* ==========================================================================
   Topics / News List
   ========================================================================== */
.news-list {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  max-width: 860px;
  margin: 0 auto;
}

.news-item {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.4rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.news-item:hover {
  border-color: var(--accent-blue);
  transform: translateX(4px);
}

.news-date {
  font-size: 0.85rem;
  color: var(--text-sub);
  white-space: nowrap;
}

.news-tag {
  background: rgba(2, 132, 199, 0.1);
  color: var(--accent-blue);
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.news-title {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--text-main);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (max-width: 600px) {
  .news-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.4rem;
  }
  .news-meta {
    display: flex;
    gap: 0.8rem;
    align-items: center;
  }
  .news-title {
    white-space: normal;
  }
}

/* ==========================================================================
   Group Companies
   ========================================================================== */
.group-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.8rem;
}

.group-card {
  padding: 2.2rem 1.8rem;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: 16px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.group-card:hover {
  transform: translateY(-4px);
  border-color: #cbd5e1;
  box-shadow: var(--shadow-md);
}

.group-icon {
  font-size: 2.2rem;
  margin-bottom: 1.2rem;
}

.group-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.6rem;
  color: #0f172a;
}

.group-card p {
  color: var(--text-sub);
  font-size: 0.9rem;
  line-height: 1.7;
}

/* ==========================================================================
   Content Area & Article Layout
   ========================================================================== */
.content-area {
  padding: 4rem 0;
  min-height: 60vh;
  background-color: var(--bg-secondary);
}

.article-container {
  max-width: 800px;
  margin: 0 auto;
  background: #ffffff;
  padding: 2.5rem;
  border-radius: 16px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.article-title {
  font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  margin-bottom: 1.5rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-light);
  color: #0f172a;
}

.article-body {
  font-size: 1rem;
  line-height: 1.8;
  color: #334155;
}

.article-body p {
  margin-bottom: 1.4rem;
}

@media (max-width: 600px) {
  .article-container {
    padding: 1.5rem 1rem;
  }
}

/* ==========================================================================
   Form & Input Styles
   ========================================================================== */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="number"],
textarea,
select {
  width: 100%;
  padding: 0.85rem 1rem;
  background-color: #ffffff;
  color: #1e293b;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-size: 0.95rem;
  font-family: inherit;
  line-height: 1.5;
  box-sizing: border-box;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input::placeholder,
textarea::placeholder {
  color: #94a3b8;
}

input:focus,
textarea:focus,
select:focus {
  border-color: var(--accent-blue);
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.15);
}

textarea {
  min-height: 140px;
  resize: vertical;
}

label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: #334155;
  margin-bottom: 0.4rem;
}

input[type="submit"],
button[type="submit"],
.wpcf7-submit {
  width: 100%;
  max-width: 260px;
  margin: 1.5rem auto 0;
  display: block;
  padding: 0.85rem 2rem;
  background: var(--gradient-main);
  color: #ffffff;
  font-size: 1rem;
  font-weight: 700;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(255, 42, 133, 0.25);
  transition: transform 0.2s ease, opacity 0.2s ease;
}

input[type="submit"]:hover,
button[type="submit"]:hover,
.wpcf7-submit:hover {
  opacity: 0.92;
  transform: translateY(-2px);
}

.wpcf7 form p,
.form-group {
  margin-bottom: 1.25rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: #f8fafc;
  border-top: 1px solid var(--border-light);
  padding: 3.5rem 0 2rem;
  text-align: center;
  color: var(--text-sub);
  font-size: 0.85rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}

.footer-nav a:hover {
  color: var(--accent-blue);
}