/* =========================================================
   LP 共通スタイル（女優LP） v1.0
   - すべてのLPで共通利用
   - 色/余白/影は :root で統一管理
   ========================================================= */

:root {
  /* Colors */
  --lp-color-text: #222;
  --lp-color-muted: #666;
  --lp-color-bg-soft: #f9f9f9;
  --lp-color-card-bg: #fff;
  --lp-color-line: #eee;

  --lp-color-primary: #e63946;
  --lp-color-primary-hover: #c72f3b;

  --lp-color-accent: #d81b60;      /* 見出し・強調に使用 */
  --lp-color-accent-2: #e53935;    /* CTA大型ボタン */
  --lp-color-accent-2-hover: #c62828;

  --lp-color-tag: #f44336;
  --lp-color-highlight-bg: #fff0f5;
  --lp-color-cta-grad-1: #ffe0e0;
  --lp-color-cta-grad-2: #fff5f5;

  --lp-color-attn: #ffeb3b; /* 文中ハイライト */

  /* Radius / Shadow / Spacing */
  --lp-radius-s: 4px;
  --lp-radius-m: 6px;
  --lp-radius-l: 8px;
  --lp-radius-xl: 12px;

  --lp-shadow-s: 0 2px 6px rgba(0,0,0,0.1);
  --lp-shadow-m: 0 4px 12px rgba(0,0,0,0.1);
  --lp-shadow-cta: 0 0 10px rgba(255, 100, 100, 0.2);
}

/* Utilities */
.sp-only { display: none; }
.pc-only { display: block; }
@media (max-width: 768px) {
  .sp-only { display: inline; }
  .pc-only { display: none; }
}

/* ---------------------------------------------------------
   Hero
   --------------------------------------------------------- */
.hero-section h1 {
  text-align: center;
  font-size: clamp(10pt, 2vw, 20.5pt); /* 既存踏襲 */
  line-height: 1.3;
  font-weight: bold;
  color: var(--lp-color-text);
  margin-bottom: 1em;
  padding: 0 0.5rem;
  white-space: nowrap; /* 修正: word-break → white-space */
}

.hero-thumbnail img.full-width-image {
  width: 100%;
  height: auto; /* NBSP除去済み */
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: var(--lp-radius-l);
  box-shadow: var(--lp-shadow-m);
  display: block;
}

.hero-thumbnail.with-overlay { position: relative; }
.hero-thumbnail.with-overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: var(--lp-radius-l);
  background: linear-gradient(to bottom, rgba(0,0,0,0.25), rgba(0,0,0,0.55));
}
.hero-thumbnail .overlay-text {
  position: absolute;
  bottom: 16px;
  left: 16px;
  color: #fff;
  font-size: clamp(1.2rem, 3.5vw, 2rem);
  font-weight: bold;
  text-shadow: 0 0 6px rgba(0,0,0,0.6);
}

/* ---------------------------------------------------------
   Section headings
   --------------------------------------------------------- */
.section-title-with-icon {
  font-size: 1.6em;
  font-weight: bold;
  text-align: center;
  color: var(--lp-color-accent);
  margin: 0;
}

.works-section h2 {
  text-align: center;
  font-weight: bold;
  margin: 0 0 0.75em;
}

/* ---------------------------------------------------------
   Note / Highlights
   --------------------------------------------------------- */
.note-highlight {
  font-style: italic;
  background: var(--lp-color-bg-soft);
  border-left: 5px solid #ff4081;
  padding: 1em;
  margin: 1em 0;
}

.highlight {
  background: var(--lp-color-highlight-bg);
  border-left: 5px solid var(--lp-color-accent);
  padding: 1em;
  border-radius: var(--lp-radius-m);
  font-size: 1.05em;
  line-height: 1.6;
  text-decoration: none!important;
}

/* ---------------------------------------------------------
   Profile
   --------------------------------------------------------- */
.profile-header-flex {
  display: flex;
  align-items: center;
  gap: 1em;
  margin-bottom: 1.5em;
}

.profile-thumbnail-circle img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: var(--lp-shadow-s);
}

.profile-heading-with-icon {
  font-size: 1.6em;
  font-weight: bold;
  display: flex;
  align-items: center;
  gap: 0.5em;
  margin: 0;
  color: var(--lp-color-text);
}

.profile-table-wrapper {
  overflow-x: auto;
  margin-top: 1em;
}

.profile-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--lp-color-card-bg);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  border-radius: var(--lp-radius-l);
  overflow: hidden;
}

.profile-table th,
.profile-table td {
  padding: 1em;
  text-align: left;
  border-bottom: 1px solid var(--lp-color-line);
}

.profile-table th {
  background-color: #f0f4f8;
  font-weight: bold;
  width: 30%;
  white-space: nowrap;
}

.profile-table td a.sns-link {
  color: #0073aa;
  font-weight: bold;
  text-decoration: none;
}
.profile-table td a.sns-link:hover {
  text-decoration: underline;
}

/* ---------------------------------------------------------
   Genre tag
   --------------------------------------------------------- */
.genre-tag {
  display: inline-block;
  background-color: var(--lp-color-tag);
  color: #fff;
  padding: 0.2em 0.6em;
  border-radius: var(--lp-radius-s);
  font-size: 0.9em;
  margin-right: 0.5em;
}

/* ---------------------------------------------------------
   CTA
   --------------------------------------------------------- */
.cta-button-lp {
  background: var(--lp-color-primary);
  color: #fff;
  padding: 10px 20px;
  border-radius: var(--lp-radius-s);
  text-decoration: none !important;
  font-weight: bold;
  transition: background 0.25s ease, transform 0.1s ease;
  text-align: center;
  display: inline-block;
}
.cta-button-lp:hover { background: var(--lp-color-primary-hover); }
.cta-button-lp:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(230,57,70,0.35);
}
.cta-button-lp:active { transform: translateY(1px); }

.enhanced-cta {
  background: linear-gradient(135deg, var(--lp-color-cta-grad-1), var(--lp-color-cta-grad-2));
  text-align: center;
  padding: 3em 1em;
  border-radius: var(--lp-radius-xl);
  box-shadow: var(--lp-shadow-cta);
}

.cta-title {
  font-size: 1.8em;
  font-weight: bold;
  margin-bottom: 1em;
  color: #d32f2f;
}

.cta-description {
  font-size: 1.1em;
  margin-bottom: 2em;
  line-height: 1.6;
}
.cta-description .highlight {
  background-color: var(--lp-color-attn);
  padding: 0.2em 0.4em;
  border-radius: var(--lp-radius-s);
}

.cta-button-lp.large.with-icon {
  font-size: 1.2em;
  padding: 0.8em 1.6em;
  background-color: var(--lp-color-accent-2);
  border-radius: var(--lp-radius-l);
  transition: background-color 0.25s ease, transform 0.1s ease;
}
.cta-button-lp.large.with-icon:hover { background-color: var(--lp-color-accent-2-hover); }
.cta-button-lp.large.with-icon i { margin-right: 0.5em; }

/* ---------------------------------------------------------
   FAQ
   --------------------------------------------------------- */
.faq-section {
  background: var(--lp-color-bg-soft);
  border-radius: var(--lp-radius-l);
  padding: 1.5em;
  margin-top: 2em;
}
.faq-item { margin-bottom: 1em; }
.faq-item h3 {
  font-weight: bold;
  margin-bottom: 0.5em;
}

/* ---------------------------------------------------------
   Responsive tweaks
   --------------------------------------------------------- */
@media (max-width: 768px) {
  .hero-section h1 {
    white-space: normal; /* 小さい画面で改行を許可 */
  }
  .profile-header-flex {
    gap: 0.75em;
  }
  .cta-title { font-size: 1.6em; }
  .cta-description { font-size: 1em; }
  .cta-button-lp.large.with-icon { font-size: 1.1em; }
}
/* ---------------------------------------------------------
   Fan voices / SNS
   --------------------------------------------------------- */
.fan-voice-section {
  background: var(--lp-color-bg-soft);
  padding: 1.5em;
  border-radius: var(--lp-radius-l);
  margin-top: 2em;
}

.fan-voice-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-top: 1em;
}

.fan-voice-card {
  background: var(--lp-color-card-bg);
  border-radius: var(--lp-radius-m);
  box-shadow: var(--lp-shadow-s);
  padding: 1em;
}

.fan-meta {
  display: flex;
  align-items: center;
  gap: 0.75em;
}

.fan-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  box-shadow: var(--lp-shadow-s);
  flex: 0 0 auto;
  object-fit: cover;
}

.fan-id { display: grid; gap: 2px; }
.fan-name { font-weight: bold; color: var(--lp-color-text); }

.sns-handle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--lp-color-primary);
  text-decoration: none;
  font-weight: bold;
}
.sns-handle:hover { text-decoration: underline; }

.sns-icon {
  width: 18px; height: 18px;
  display: inline-block;
  fill: currentColor;
}

.fan-comment {
  margin: 0.75em 0 0;
  padding: 0.75em 0.9em;
  background: #fff8fb;
  border-left: 4px solid var(--lp-color-accent);
  border-radius: var(--lp-radius-s);
  color: var(--lp-color-text);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .fan-voice-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .fan-voice-grid { grid-template-columns: 1fr; }
}
