/* --------------------------------------------------
       RESET & BASE STYLES
    -------------------------------------------------- */ :root {
  --bg-black: #0a0a0a;
  --bg-card: #141414;
  --pink-primary: #ff007f;
  --pink-light: #ff66b2;
  --text-white: #ffffff;
  --text-gray: #b3b3b3;
  --accent-gray: #222222;
  --font-main: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", MeiRyo, sans-serif;
}
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
body {
  background-color: var(--bg-black);
  color: var(--text-white);
  font-family: var(--font-main);
  line-height: 1.7;
  letter-spacing: 0.05em;
  overflow-x: hidden;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
h3 {
  line-height: 1.4em;
}

/* --------------------------------------------------
       LAYOUT UTILITIES
    -------------------------------------------------- */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 20px;
}
.section-title {
  font-size: 2rem;
  font-weight: 900;
  text-align: center;
  position: relative;
  margin-bottom: 40px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 4px;
  background: var(--pink-primary);
  margin: 15px auto 0;
  transform: skewX(-15deg);
}
.pink-highlight {
  color: var(--pink-primary);
}
/* --------------------------------------------------
       HERO / MAIN VISUAL
    -------------------------------------------------- */
.pageTop {
  padding: 20px!important;
  text-align: left;
}
.pageTop .logo {
  width: 100%;
  display: flex;
  justify-content: space-between;
}
.hero {
  position: relative;
  background: #000;
  /*padding: 60px 0;
      border-bottom: 3px solid var(--pink-primary);*/
}
.hero-container {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 30px;
}

.date {
  font-size: .9em;
  background-color: #c266ff!important;
  font-color: var(--pink-primary);
  /*padding:0em .5rem;*/
}
.date-end {
  font-size: .9em;
  background-color: #c266ff;
  color: var(--accent-gray);
  padding:0em .5rem;
}

@media (min-width: 768px) {
  .hero-container {
      margin-top: 20px;
    flex-direction: row;
    justify-content: center;
  }
}
.hero-image-wrap {
  flex: 1;
  max-width: 380px;
  box-shadow: 0 0 30px rgba(255, 0, 127, 0.3);
  border: 2px solid var(--pink-primary);
  position: relative;
}
.hero-content {
  flex: 1;
  padding: 20px;
}
.catchphrase {
  width: 100%;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--pink-primary);
  background: rgba(255, 0, 127, 0.1);
  display: inline-block;
  padding: 6px 16px;
  border-left: 4px solid var(--pink-primary);
  margin-bottom: 20px;
}
.hero-title {
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 20px;
}
.title-spacer {
  margin: 10px 0px;
}
@media (max-width: 480px) {
  .hero-title {
    margin-bottom: 0px;
    font-size: 1.6rem;
  }
  .hero-image-wrap {
    margin: 0px auto;
    max-width: 280px;
  }
  .catchphrase {
    font-size: 1.0rem;
  }
}
/* --------------------------------------------------
       INTRODUCTION
    -------------------------------------------------- */
.intro {
  padding: 80px 0;
  background: linear-gradient(180deg, #0a0a0a 0%, #141414 100%);
}
.intro-box {
  background: var(--accent-gray);
  border: 1px solid #333;
  padding: 40px;
  border-radius: 8px;
  position: relative;
  overflow: hidden;
}
.intro-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 6px;
  height: 100%;
  background: var(--pink-primary);
}
.intro-text {
  font-size: 1.05rem;
  color: #e0e0e0;
  line-height: 1.9;
}
@media (max-width: 480px) {
  .intro {
    padding: 20px 0;
  }
  .intro-text {
    font-size: .9rem;
    color: #e0e0e0;
    line-height: 1.5;
  }
  .intro-box {
    padding: 20px;
  }
}
/* --------------------------------------------------
       PRODUCT GRID & CARDS
    -------------------------------------------------- */
.products-section {
  padding: 40px 0;
}
.product-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 30px;
}
.wideimg {
  width: 80% !important;
}
@media (min-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
.product-card {
  background: var(--bg-card);
  border: 1px solid #2a2a2a;
  border-radius: 8px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}
.product-card:hover {
  transform: translateY(-5px);
  border-color: var(--pink-primary);
  box-shadow: 0 10px 25px rgba(255, 0, 127, 0.2);
}
.card-badge {
  position: absolute;
  top: 15px;
  left: 15px;
  background: var(--pink-primary);
  color: #fff;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 4px;
  z-index: 2;
}
/* 画像枠（親要素）の修正 */
.product-img-wrap {
  background: #000;
  padding: 20px;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;        /* はみ出し・見切れを強制防止 */
  box-sizing: border-box;
  position: relative;
}

/* 画像（子要素）の修正 */
.product-img-wrap img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;     /* 縦横比を維持して枠内に収める */
  margin: auto;            /* iOS Safariでの中央寄せ補正 */
  display: block;
}


/* ==================================================
   iOS Safari 画像見切れ・中央寄せバグの完全修正
================================================== */
.product-img-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  background: #000000;
  padding: 25px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
}

/* iOS Safariの aspect-ratio + Flexbox 画像計算バグ回避 */
.product-img-wrap img {
  width: 80% !important;
  height: 80% !important;

  object-fit: contain !important;
  margin: auto !important;
  display: block;
}

/* ==================================================
   スマートフォン表示最適化 (@media screen and (max-width: 767px))
================================================== */
@media screen and (max-width: 767px) {
  /* 1. 画面はみ出し防止・余白調整 */
  html, body {
    overflow-x: hidden;
  }
  
  .container {
    padding: 0 16px;
  }

  /* 2. ヒーロー（メインビジュアル）エリア */
  .hero {
    padding: 00px 0;
  }
  
  .hero-container {
    flex-direction: column;
    gap: 20px;
  }

  .hero-image-wrap {
    max-width: 100%;
  }

  .catchphrase {
    font-size: 0.9rem;
    padding: 8px 12px;
    line-height: 1.5;
    display: block;
    width: 100%;
    box-sizing: border-box;
  }

  .hero-title {
    font-size: 1.35rem;
    line-height: 1.4;
  }

  /* 3. 各セクション・見出しの縮小 */
  .intro,
  .products-section,
  .movie-section,
  .profile-section {
    padding: 45px 0;
  }

  .section-title {
    font-size: 1.4rem;
    margin-bottom: 25px;
  }

  .intro-box {
    padding: 20px 16px;
  }

  .intro-text {
    font-size: 0.9rem;
    line-height: 1.8;
  }

  /* 4. 商品カード（1列表示） */
  .product-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .product-info {
    padding: 20px 16px;
  }

  .product-title {
    font-size: 1.15rem;
  }

  .product-catch {
    font-size: 0.88rem;
  }

  .product-desc {
    font-size: 0.85rem;
    line-height: 1.7;
  }

  /* 5. タップ領域・ボタン最適化（全幅表示） */
  .btn-buy,
  .btn-official,
  .btn-official-x {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 48px; /* スマホで押しやすい高さ */
    padding: 12px 16px;
    font-size: 0.95rem;
    box-sizing: border-box;
  }

  /* SNSシェアボタン（X / Threads） */
  .share-buttons-container {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  .sns-share-button {
    width: 100%;
    min-height: 48px;
    box-sizing: border-box;
  }

  /* 映画情報ボタンエリア */
  .movie-btn-group {
    flex-direction: column;
    width: 100%;
    gap: 12px;
  }

  /* 6. プロフィールカード */
  .profile-card {
    padding: 20px 16px;
    flex-direction: column;
  }

  .profile-img-wrap {
    max-width: 100%;
  }

  .profile-desc {
    font-size: 0.88rem;
  }
}

.product-info {
  padding: 0px 20px 10px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.product-title {
  font-size: 1.3rem;
  font-weight: bold;
  margin-bottom: 10px;
  color: var(--text-white);
}
.product-catch {
  font-size: 0.95rem;
  color: var(--pink-light);
  font-weight: bold;
  margin-bottom: 15px;
  line-height: 1.4em;
}
.product-desc {
  font-size: 0.9rem;
  color: var(--text-gray);
  margin-bottom: 20px;
  flex-grow: 1;
}
.product-meta {
  border-top: 1px dashed #333;
  padding-top: 15px;
  margin-bottom: 20px;
  font-size: 0.85rem;
  color: #aaa;
}
.product-price {
  font-size: 1.0rem;
  font-weight: bold;
  color: var(--text-white);
  margin-top: 5px;
}
.btn-buy {
  display: block;
  text-align: center;
  background: var(--pink-primary);
  color: #fff;
  font-weight: bold;
  padding: 12px 20px;
  border-radius: 4px;
  transition: background 0.3s ease, transform 0.2s ease;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 10px;
}
.btn-buy:hover {
  background: #e60073;
  transform: scale(1.02);
}
.date {
  font-size: .9em;
  background-color: #b3b3b3;
  color: var(--bg-black);
  padding: 0em 1em;
}




/* --------------------------------------------------
       MOVIE SECTION
    -------------------------------------------------- */
.movie-section {
  background: #111;
  padding: 80px 0;
  border-top: 1px solid #222;
  border-bottom: 1px solid #222;
}
.movie-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
}
@media (min-width: 768px) {
  .movie-container {
    flex-direction: row;
    align-items: center;
  }
}
.movie-info-box {
  flex: 1;
}
.movie-date {
  font-size: 1.4rem;
  font-weight: bold;
  color: var(--pink-primary);
  margin-bottom: 15px;
}
.movie-credits {
  margin-top: 20px;
  font-size: 0.95rem;
  color: #ccc;
  line-height: 1.8;
}
.btn-official {
  /*display: inline-block;*/
  margin-top: 15px;
  padding: 16px 24px;
  border: 2px solid var(--pink-primary);
  color: var(--pink-primary);
  font-weight: bold;
  border-radius: 4px;
  transition: all 0.3s ease;
}
.btn-official:hover {
  background: var(--pink-primary);
  color: #fff;
}
.date {
  font-size: .9em;
  background-color: #b3b3b3;
  color: var(--bg-black);
  padding: 0em .5em;
}
/* --------------------------------------------------
       PROFILE SECTION
    -------------------------------------------------- */
.profile-section {
  padding: 80px 0 0px;
}
.profile-card {
  background: var(--bg-card);
  border: 1px solid #222;
  border-radius: 8px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 30px;
}
@media (min-width: 768px) {
  .profile-card {
    flex-direction: row;
  }
}
.profile-img-wrap {
  flex-shrink: 0;
  width: 100%;
  max-width: 300px;
  margin: 0 auto;
}
.profile-img-wrap img {
  border-radius: 4px;
  filter: grayscale(30%);
}
.profile-body {
  flex-grow: 1;
}
.profile-name {
  font-size: 1.5rem;
  font-weight: bold;
  color: var(--pink-primary);
  margin-bottom: 5px;
}
.profile-sub {
  font-size: 0.9rem;
  color: #888;
  margin-bottom: 20px;
}
.profile-desc {
  font-size: 0.95rem;
  color: #ddd;
  line-height: 1.8;
}
/* --------------------------------------------------
       FOOTER
    -------------------------------------------------- */
footer {
  background: #000;
  padding: 20px 0;
  text-align: center;
  border-top: 1px solid #222;
  font-size: 0.85rem;
  color: #666;
}
/* Xポストボタンのスタイル */
.x-share-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 28px;
  border: 3px solid #ffffff; /* 3pxの白罫線 */
  border-radius: 30px; /* 丸みのあるボタン */
  background-color: #000000;
  color: #ffffff;
  font-weight: bold;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.3s ease;
}
.x-share-button .x-logo {
  fill: #ffffff;
  transition: fill 0.3s ease;
}
/* ホバー時の演出（LPのピンク色に合わせる場合） */
.x-share-button:hover {
  background-color: #ff007f;
  border-color: #ff007f;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
}
/* 映画公式Xボタンのスタイル */
.btn-official-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border: 2px solid #ffffff;
  border-radius: 4px;
  background-color: transparent;
  color: #ffffff;
  font-weight: bold;
  text-decoration: none;
  transition: all 0.3s ease;
  margin: 10px 0px;
}
.btn-official-x svg {
  fill: #ffffff;
  transition: fill 0.3s ease;
}
/* ホバー時のピンク変化 */
.btn-official-x:hover {
  background-color: var(--pink-primary, #ff007f);
  border-color: var(--pink-primary, #ff007f);
  color: #ffffff;
  /*transform: translateY(-2px);*/
  box-shadow: 0 4px 15px rgba(255, 0, 127, 0.4);
}