/* ============================================================
   WinkU TOP — style.css
   ============================================================ */

/* ------------------------------------------------------------
   CSS Variables
   ------------------------------------------------------------ */
:root {
  --pink-hot:       #e91e8c;
  --pink-primary:   #f06499;
  --pink-light:     #fde8f2;
  --pink-pale:      #fff6fb;
  --pink-footer:    #FCDDE2;
  --pink-copyright: #F9769F;
  --text-dark:      #333;
  --text-gray:      #888;
  --white:          #fff;
  --max-width:      960px;
  --sp:             767px;
}

/* ------------------------------------------------------------
   Reset & Base
   ------------------------------------------------------------ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  color: var(--text-dark);
  background: #FEF6F8;
  -webkit-font-smoothing: antialiased;

  display: flex;
  flex-direction: column;
  min-height: 100vh;
  height: auto !important;
  margin: 0;
  font-size: 0; /* 全角スペース等の body 直下テキストノードが匿名 flex アイテムとして高さを持つのを防ぐ */
}
body > * {
  font-size: 1rem; /* body の font-size:0 を直接子要素でリセット */
}
.site-main {
  flex: 1;
}

/* GTM noscript / Criteo・Promolayer 等が wp_footer() 経由で body の
   直下 flex 子要素として注入される際の隙間を抑止する */
body > noscript {
  display: none;
}
body > div[style*="height:0"],
body > div[style*="height: 0"] {
  min-height: 0 !important;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}
body > [id^="pl-key-"],
body > #criteo-tags-div {
  min-height: 0 !important;
  height: 0 !important;
  overflow: hidden !important;
}
/* 疑似要素経由の隙間を抑止 */
body::after {
  content: none !important;
  display: none !important;
}
/* フッター以降の全 flex アイテムの高さ寄与を強制ゼロ */
.site-footer ~ * {
  min-height: 0 !important;
  overflow: hidden !important;
  line-height: 0 !important;
  font-size: 0 !important;
}

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

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

ul {
  list-style: none;
}

/* ------------------------------------------------------------
   KV / Hero (単一画像)
   v8.4.15: v8.4.14 のスライダー化を取り消し、単一画像に戻す
   ------------------------------------------------------------ */
.kv-section {
  position: relative;
  width: 100%;
  background: linear-gradient(to bottom, #f8d0e8, #fce8f4);
  line-height: 0;
}

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

/* ------------------------------------------------------------
   Fixed Banner (v8.4.16: ABOUT 下に表示する1枚固定バナー)
   バナースライダーと同じサイズ感
   ------------------------------------------------------------ */
.fixed-banner-section {
  padding: 12px 0 4px;
  background: #FEF6F8;
}
.fixed-banner {
  max-width: 648px;
  margin: 0 auto;
  padding: 0 10px;
}
.fixed-banner-link {
  display: block;
  text-decoration: none;
  color: inherit;
}
.fixed-banner picture,
.fixed-banner-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 4px;
}
@media (max-width: 767px) {
  .fixed-banner-section {
    padding: 8px 0 0;
  }
  /* v8.4.22: SPで .slide (flex 0 0 86%, padding 0 4px) と同じ可視幅にする */
  .fixed-banner {
    width: 86%;
    max-width: none;
    margin: 0 auto;
    padding: 0 2px;
    box-sizing: border-box;
  }
}

/* Header logo (inner pages) */
.header-logo {
  position: absolute;
  top: 16px;
  left: 20px;
  z-index: 50;
  line-height: 0;
}

.header-logo img {
  height: 28px;
  width: auto;
}

@media (min-width: 768px) {
  .header-logo {
    top: 24px;
    left: 40px;
  }
  .header-logo img {
    height: 34px;
  }
}

/* Hamburger button */
.hamburger {
  position: absolute;
  top: 20px;
  right: 20px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 20px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}

.hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: #fe67a2;
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.hamburger.is-open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}
.hamburger.is-open span:nth-child(2) {
  opacity: 0;
}
.hamburger.is-open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}
.pc-br {
  display:none;
}

@media (min-width: 768px) {
  .hamburger {
    top: 28px;
    right: 40px;
    width: 34px;
    height: 24px;
  }
  .pc-br {
    display:block;
  }
}

/* ------------------------------------------------------------
   ABOUT
   ------------------------------------------------------------ */
.about-section {
  background: #FEF6F8;
  text-align: center;
  padding: 40px 20px 15px;
}

.about-heading {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.1;
  margin-bottom: 16px;
}

.about-heading-en {
  font-family: 'minion-variable-concept', 'Minion Variable Concept', serif;
  font-size: 1.76rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #8E7173;
  text-transform: uppercase;
}

.about-heading-logo {
  font-family: 'Cormorant Garamond', serif;
  font-style: italic;
  font-weight: 600;
  font-size: 2.6rem;
  color: var(--pink-hot);
  letter-spacing: 0.05em;
}

.about-text {
  font-size: 0.9rem;
  line-height: 1.9;
  color: #666;
  max-width: 560px;
  margin: 0 auto;
  text-align: left;
}

@media (min-width: 768px) {
  .about-section {
    padding: 52px 20px 48px;
  }
  .about-heading-en {
    font-size: 3.0rem;
  }
  .about-heading-logo {
    font-size: 3.2rem;
  }
  .about-text {
    font-size: 1.0rem;
  }
}

/* ------------------------------------------------------------
   Banner Slider
   ------------------------------------------------------------ */
.slider-section {
  padding: 24px 0 20px;
}

.slider-viewport {
  overflow: hidden;
}

.slider-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.slide {
  flex: 0 0 78%;
  padding: 0 6px;
}

.slide a {
  display: block;
}

.slide picture,
.slide img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

/* Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 16px;
}

/* v8.4.15: SP でもバナースライダーを動作させる (旧: 縦並び固定だったのを撤廃) */
@media (max-width: 767px) {
  .slider-section {
    padding: 16px 0 12px;
  }
  .slide {
    flex: 0 0 86%;
    padding: 0 4px;
  }
  .slider-dots {
    margin-top: 14px;
  }
}

@media (min-width: 768px) {
  .slider-section {
    padding: 32px 0 24px;
  }
  .slide {
    flex: 0 0 648px;
    padding: 0 10px;
  }
}

.dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #D9D9D9;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: background 0.25s, transform 0.25s;
}

.dot.active {
  background: #939393;
  transform: scale(1.3);
}

/* ------------------------------------------------------------
   Shared section styles
   ------------------------------------------------------------ */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.content-section {
  padding: 48px 0;
}

.section-title {
  font-family: 'minion-variable-concept', 'Minion Variable Concept', serif;
  font-size: 3.0rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  color: #8E7173;
}

.section-title .heart {
  display: inline-block;
  width: 0.6em;
  height: 0.6em;
  vertical-align: middle;
  flex-shrink: 0;
}

.section-title::after {
  content: '';
  display: block;
  width: 100px;
  height: 1px;
  background: #EAE2E3;
  flex-shrink: 0;
}

/* Tags */
.tag {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 500;
  padding:0 2px;
  white-space: nowrap;
  letter-spacing: 0.03em;
}

/* SCHEDULE tags */
.tag--media     { background: #DABFFF; color: #986AD6; border: 1px solid #DABFFF; }
.tag--live      { background: #FFB7C5; color: #9F7079; border: 1px solid #FFB7C5; }
.tag--handshake { background: #B2E2F2; color: #71909A; border: 1px solid #B2E2F2; }
.tag--release   { background: #FFE385; color: #B09D73; border: 1px solid #FFE385; }
.tag--birthday  { background: #F9769F; color: #FFFFFF; border: 1px solid #F9769F; }
.tag--other     { background: #9B9B9B; color: #FFFFFF; border: 1px solid #9B9B9B; }

/* NEWS tags */
.tag--news      { background: #B2E2F2; color: #71909A; border: 1px solid #B2E2F2; }
.tag--goods     { background: #FEE5AF; color: #8a6e3a; border: 1px solid #FEE5AF; }
.news-section .tag--media { background: #D1F2D1; color: #3a6b3a; border-color: #D1F2D1; }

/* NEW label */
.label-new {
  font-weight: 700;
  color: var(--pink-hot);
}

/* View more link */
.view-more {
  display: block;
  text-align: right;
  font-size: 1.0rem;
  color: var(--text-dark);
  margin-top: 20px;
  letter-spacing: 0.06em;
  transition: color 0.2s;
}

.view-more:hover {
  color: var(--pink-hot);
}

.arrow {
  display: inline-block;
  margin-left: 8px;
  vertical-align: middle;
}

@media (min-width: 768px) {
  .section-title::after{
    width:300px;
  }
}

/* ------------------------------------------------------------
   NEWS
   ------------------------------------------------------------ */
.news-list {
  display: flex;
  flex-direction: column;
}

.news-item {
  border-bottom: 1px solid #f0dcea;
}
/*
.news-item:first-child {
  border-top: 1px solid #f0dcea;
}
*/

.news-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  transition: opacity 0.2s;
}

.news-link:hover {
  opacity: 0.72;
}

.news-thumb {
  flex: 0 0 72px;
  width: 72px;
  height: 72px;
  overflow: hidden;
  background: #f5e0ea;
}

.news-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.news-body {
  flex: 1;
  min-width: 0;
}

.news-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}

.news-date {
  font-size: 1.0rem;
  color: #999293;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.news-title {
  font-size: 0.88rem;
  line-height: 1.55;
  color: var(--text-dark);
}

@media (min-width: 768px) {
  .news-thumb {
    flex: 0 0 90px;
    width: 90px;
    height: 90px;
  }
  .news-link {
    gap: 20px;
  }
  .news-title {
    font-size: 0.93rem;
  }
}

/* ------------------------------------------------------------
   SCHEDULE
   ------------------------------------------------------------ */
.schedule-section {
  background: #FEF6F8;
}

.schedule-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.schedule-item {
  display: flex;
  align-items: stretch;
  gap: 20px;
}

.schedule-date {
  flex: 0 0 72px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 4px;
}

.schedule-date time {
  display: block;
  font-size: 1.4rem;
  font-weight: 500;
  color: #343434;
  letter-spacing: 0.03em;
  line-height: 1.1;
}

.schedule-day {
  display: block;
  font-size: 0.65rem;
  color: var(--text-gray);
  letter-spacing: 0.08em;
  margin-top: 4px;
}

.schedule-body {
  flex: 1;
  min-width: 0;
  background: #FFF0F5;
  border: 1px solid #f0dcea;
  padding: 14px 18px;
  transition: opacity 0.2s;
}

.schedule-body:hover {
  opacity: 0.72;
}

.schedule-body:has(.tag--media)     { border-color: #DABFFF; }
.schedule-body:has(.tag--live)      { border-color: #FFB7C5; }
.schedule-body:has(.tag--handshake) { border-color: #B2E2F2; }
.schedule-body:has(.tag--release)   { border-color: #FFE385; }
.schedule-body:has(.tag--birthday)  { border-color: #F9769F; }
.schedule-body:has(.tag--other)     { border-color: #9B9B9B; }

.schedule-body .tag {
  display: inline-block;
  margin-bottom: 8px;
}

.schedule-title {
  font-size: 0.88rem;
  line-height: 1.6;
  color: var(--text-dark);
}

.schedule-section .schedule-date {
  justify-content: flex-start;
  padding-top: 0;
}

@media (min-width: 768px) {
  .schedule-date {
    flex: 0 0 88px;
  }
  .schedule-date time {
    font-size: 1.6rem;
  }
  .schedule-title {
    font-size: 1.0rem;
  }
}

/* ------------------------------------------------------------
   MOVIE carousel
   ------------------------------------------------------------ */
.movie-carousel {
  position: relative;
  margin-bottom: 12px;
}

.movie-viewport {
  overflow: hidden;
  border-radius: 8px;
  max-width: 890px;
  margin: 0 auto;
}

.movie-track {
  display: flex;
  transition: transform 0.5s ease;
  will-change: transform;
}

.movie-slide {
  flex: 0 0 100%;
}

.movie-link {
  display: block;
}

.movie-thumb-wrap {
  position: relative;
  padding-bottom: 56.25%;
  background: #111;
  overflow: hidden;
}

.movie-thumb-wrap img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.movie-play-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 56px;
  height: 56px;
  background: rgba(255, 255, 255, 0.88);
  border-radius: 50%;
  pointer-events: none;
}

.movie-play-icon::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 54%;
  transform: translate(-50%, -50%);
  border-style: solid;
  border-width: 10px 0 10px 18px;
  border-color: transparent transparent transparent #FAB6BB;
}

.movie-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
  margin-top: 16px;
}

.movie-prev,
.movie-next {
  background: none;
  border: none;
  cursor: pointer;
  color: #aaa;
  padding: 0 4px;
  display: flex;
  align-items: center;
  transition: color 0.2s;
}

.movie-prev:hover,
.movie-next:hover {
  color: var(--pink-hot);
}

.movie-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.youtube-link {
  display: block;
  text-align: right;
  font-size: 1.0rem;
  color: var(--text-dark);
  margin-top: 10px;
  transition: color 0.2s;
}

.youtube-link:hover {
  color: var(--pink-hot);
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
  background: var(--pink-footer);
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 24px 20px 24px;
  text-align: center;
}

/* SNS icons */
.footer-sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.sns-link {
  color: #F9769F;
  display: inline-flex;
  align-items: center;
  transition: opacity 0.2s, transform 0.2s;
}

.sns-link svg {
  width: 40px;
  height: 40px;
}

.sns-link:hover {
  opacity: 0.7;
  transform: translateY(-2px);
}

/* Footer buttons */
.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.footer-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-width: 240px;
  padding: 18px 0;
  font-size: 1.0rem;
  line-height: 1.4;
  border: 1.5px solid #F9769F;
  background: var(--white);
  color: #F9769F;
  transition: background 0.2s, color 0.2s;
}

.footer-btn:hover {
  background: #F9769F;
  color: var(--white);
}

/* v8.4.15: Footer 出演依頼ボタン (復活) */
.footer-action {
  display: flex;
  justify-content: center;
  margin: 24px 20px 18px;
}

/* v8.4.21: draftn/top.php の .footer-btn 仕様に合わせて四角化
   border-radius 0 / border 1.5px / padding 18px 0 / min-width 240px */
.footer-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 240px;
  padding: 18px 0;
  text-align: center;
  border: 1.5px solid #F9769F;
  background: var(--white);
  color: #F9769F;
  font-size: 1.0rem;
  line-height: 1.4;
  letter-spacing: 0.06em;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

.footer-action-btn:hover {
  background: #F9769F;
  color: var(--white);
}

@media (max-width: 767px) {
  .footer-action-btn {
    width: 100%;
    max-width: 220px;
  }
}

/* Footer nav links */
.footer-nav {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px 28px;
}

.footer-nav a {
  font-size: 1.0rem;
  color: #F9769F;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: var(--pink-hot);
}

/* Copyright bar */
.footer-copyright {
  background: var(--pink-copyright);
  padding: 10px 20px;
  text-align: right;
}

.footer-copyright p {
  font-size: 0.68rem;
  color: var(--white);
  max-width: var(--max-width);
  margin: 0 auto;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.sprix-logo {
  height: 16px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  filter: brightness(0) invert(1);
}

/* ------------------------------------------------------------
   Drawer Menu
   ------------------------------------------------------------ */

/* Backdrop */
.drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.25);
  z-index: 150;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s ease;
}

.drawer-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

/* Drawer panel */
.drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  max-width: 420px;
  height: 100%;
  background: #FCDDE2;
  z-index: 200;
  transform: translateX(100%);
  transition: transform 0.38s cubic-bezier(0.4, 0, 0.2, 1);
  overflow-y: auto;
  display: flex;
  flex-direction: column;
}

.drawer.is-open {
  transform: translateX(0);
}

/* Close button */
.drawer-close {
  position: absolute;
  top: 10px;
  right: 11px;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fe67a2;
  cursor: pointer;
  padding: 4px 8px;
  transition: opacity 0.2s;
}

.drawer-close:hover {
  opacity: 0.7;
}

@media (min-width: 768px) {
  .drawer-close {
    top: 20px;
    right: 31px;
  }
}

/* Nav grid */
.drawer-nav {
  display: flex;
  gap: 0;
  padding: 64px 28px 32px;
  flex: 0 0 auto;
}

.drawer-nav-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.drawer-nav-link {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--pink-primary);
  padding: 14px 0;
  border-bottom: 1px solid #fce8f2;
  transition: opacity 0.2s;
}

.drawer-nav-col:first-child .drawer-nav-link {
  padding-right: 12px;
}

.drawer-nav-link:hover {
  opacity: 0.65;
}

/* SNS icons in drawer */
.drawer-sns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  padding: 28px 20px 24px;
  flex: 0 0 auto;
}

/* Action button */
.drawer-action {
  padding: 14px 28px 84px;
  flex: 0 0 auto;
}

.drawer-action-btn {
  display: block;
  text-align: center;
  padding: 14px 20px;
  border: 1.5px solid var(--pink-primary);
  font-size: 0.9rem;
  color: var(--pink-primary);
  background: var(--white);
  transition: background 0.2s, color 0.2s;
}

.drawer-action-btn:hover {
  background: var(--pink-primary);
  color: var(--white);
}

/* FANCLUB section */
.drawer-fanclub {
  background: #FFC4CD;
  padding: 20px 28px 28px;
  flex: 1 0 auto;
}

.drawer-fanclub-label {
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: var(--pink-hot);
  margin-bottom: 12px;
}

.drawer-fanclub-links {
  display: flex;
  gap: 40px;
}

.drawer-fanclub-link {
  font-size: 0.9rem;
  color: var(--pink-primary);
  transition: opacity 0.2s;
}

.drawer-fanclub-link:hover {
  opacity: 0.7;
}

/* body scroll lock when drawer is open */
body.drawer-open {
  overflow: hidden;
}

/* ------------------------------------------------------------
   Responsive adjustments (SP)
   ------------------------------------------------------------ */
@media (max-width: 767px) {
  .content-section {
    padding: 36px 0;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .footer-buttons {
    flex-direction: column;
    align-items: center;
  }

  .footer-btn {
    width: 100%;
    max-width:220px;
  }

  .footer-nav {
    gap: 10px 20px;
  }

  .footer-inner {
    padding: 20px 16px 20px;
  }

  .movie-prev svg,
  .movie-next svg {
    width: 12px;
    height: 16px;
  }

  .view-more,
  .youtube-link {
    font-size: 0.8rem;
  }
}
