@charset "UTF-8";

/* =========================================================
   # TERASEL ファンアートページ用スタイル (.p_fanart)
   ※ベースフォントサイズ: 62.5% (1rem = 10px) 対応
========================================================= */

.p_fanart {
  --fanart-yellow: #fbc933;
  --fanart-dark: #333;
  --fanart-gray: #f9f9f9;
  --fanart-blue: #0B4EA8;
  --fanart-border: #e5e5e5;
  color: var(--fanart-dark);
  font-size: 1.6rem;
}

.p_fanart__img {
  width: 100%;
  height: auto;
  vertical-align: bottom;
}

/* ====================
   Hero Section
==================== */
.p_fanart__hero {
  background-color: var(--fanart-yellow);
  padding: 4.8rem 1.6rem;
  text-align: center;
}

.p_fanart__hero-title {
  font-size: 2.8rem;
  font-weight: bold;
  margin-bottom: 2.4rem;
  line-height: 1.4;
}

.p_fanart__hero-subtitle {
  display: block;
  font-size: 1.4rem;
  font-weight: normal;
  margin-bottom: 0.8rem;
}

.p_fanart__hero-image {
  width: 180px;
  height: 180px;
  background-color: #fff;
  border-radius: 50%;
  margin: 0 auto 2.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.p_fanart__hero-image picture,
.p_fanart__hero-image img {
  width: 85%;
  height: auto;
  max-height: 85%;
  object-fit: contain;
  display: block;
}

.p_fanart__hero-desc {
  font-size: 1.6rem;
  font-weight: bold;
  margin-bottom: 2.4rem;
  line-height: 1.6;
}

.p_fanart__share-btns {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
}

.p_fanart__btn {
  display: inline-block;
  padding: 1.2rem 2.4rem;
  border-radius: 9999px;
  font-weight: bold;
  cursor: pointer;
  border: none;
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
  text-align: center;
  transition: opacity 0.3s;
}

.p_fanart__btn:hover {
  opacity: 0.8;
}

.p_fanart__btn--x {
  background-color: #000;
}

.p_fanart__btn--line {
  background-color: #06C755;
}

.p_fanart__btn--download {
  background-color: var(--fanart-dark);
  padding: 1.6rem 3.2rem;
  font-size: 1.6rem;
}

/* ====================
   General Section Styles
==================== */
.p_fanart__section {
  padding: 6.4rem 1.6rem;
  max-width: 900px;
  margin: 0 auto;
}

.p_fanart__section-header {
  text-align: center;
  margin-bottom: 3.2rem;
}

.p_fanart__section-title {
  font-size: 2.8rem;
  font-weight: bold;
  color: #b8860b;
}

.p_fanart__section-title--dark {
  color: var(--fanart-dark);
}

.p_fanart__section-subtitle {
  font-size: 1.4rem;
  margin-top: 0.4rem;
  letter-spacing: 0.1em;
}

/* ====================
   Grand Prize (X埋め込み用)
==================== */
.p_fanart__award-container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  padding-bottom: 2.4rem;
}

.p_fanart__tweet-wrap {
  display: flex;
  justify-content: center;
  width: 100%;
  min-height: 400px;
  /* 読み込み前のガタつき防止 */
  padding-top: 1.6rem;
}

.p_fanart__tweet-wrap iframe {
  margin: 0 auto !important;
}

.p_fanart__award-comment {
  margin: 0 2.4rem;
  padding: 2.4rem;
  background-color: #fff9db;
  border-radius: 8px;
  /* border-left: 6px solid var(--fanart-yellow); */
  font-size: 1.4rem;
  line-height: 1.8;
}

.p_fanart__comment-heading {
  font-size: 1.8rem;
  font-weight: bold;
  margin-bottom: 1.2rem;
  color: #b8860b;
}

/* ====================
   Message (御礼)
==================== */
.p_fanart__message {
  padding-top: 0;
}

.p_fanart__message-box {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  border: 2px dashed var(--fanart-border);
  border-radius: 12px;
  padding: 3.2rem 2.4rem;
}

.p_fanart__message-title {
  font-size: 2.0rem;
  font-weight: bold;
  margin-bottom: 1.6rem;
  color: var(--fanart-blue);
}

.p_fanart__message-text {
  font-size: 1.5rem;
  line-height: 1.8;
}

/* ====================
   Profile (テラりんのヒミツ)
==================== */
.p_fanart__profile-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3.2rem;
  background: #fff;
  padding: 4.8rem 2.4rem;
  border-radius: 12px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.p_fanart__profile-img-wrap {
  width: 100%;
  max-width: 300px;
}

.p_fanart__profile-dl {
  width: 100%;
}

.p_fanart__profile-dl dt {
  background: var(--fanart-yellow);
  display: inline-block;
  padding: 0.4rem 1.6rem;
  border-radius: 9999px;
  font-weight: bold;
  font-size: 1.4rem;
  margin-bottom: 0.8rem;
}

.p_fanart__profile-dl dd {
  font-size: 1.6rem;
  line-height: 1.6;
  margin-bottom: 2.4rem;
  padding-left: 0.8rem;
}

.p_fanart__profile-dl dd:last-child {
  margin-bottom: 0;
}

@media (min-width: 768px) {
  .p_fanart__profile-content {
    flex-direction: row;
    justify-content: center;
  }

  .p_fanart__profile-info {
    flex: 1;
  }
}

/* sec1 プロフィール（共通 .u_txt_12 の PC 1.8em / SP 1.6em が大きいため、このページのみ上書き） */
.p_fanart .sec1 .profile_ttl.u_txt_12,
.p_fanart .sec1 .profile_txt.u_txt_12 {
  font-size: 16px;
  line-height: 1.5;
}

@media screen and (max-width: 768px) {
  .p_fanart .sec1 .profile_ttl.u_txt_12,
  .p_fanart .sec1 .profile_txt.u_txt_12 {
    font-size: 14px;
    line-height: 1.45;
  }
}

/* ====================
   Gift (プレゼント)
==================== */
.p_fanart__gift {
  background-color: var(--fanart-gray);
  max-width: 100%;
}

.p_fanart__gift-inner {
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

.p_fanart__gift-title {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 1.6rem;
  color: #ff6b6b;
}

.p_fanart__gift-prizes {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.2rem;
  margin-top: 1.6rem;
}

.p_fanart__gift-prize {
  width: 100%;
  max-width: 420px;
  background: #fff;
  border-radius: 12px;
  padding: 1.2rem 1.6rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08);
}

.p_fanart__gift-prize-label {
  font-weight: bold;
  margin-bottom: 0.8rem;
}

.p_fanart__gift-prize-figure {
  margin: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.p_fanart__gift-prize-img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.p_fanart__gift-prize-img--pay {
  max-width: 260px;
}

.p_fanart__gift-prize-img--goods {
  max-width: 320px;
}

.p_fanart__gift-prize-text {
  margin-top: 0.8rem;
  font-weight: bold;
}

.p_fanart__gift-plus {
  font-size: 2.4rem;
  font-weight: bold;
  color: var(--fanart-dark);
  line-height: 1;
}

@media (min-width: 768px) {
  .p_fanart__gift-prizes {
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
  }

  .p_fanart__gift-plus {
    align-self: center;
  }
}

/* ====================
   Accordion (概要)
==================== */
.p_fanart__campaign {
  max-width: 700px;
}

.p_fanart__accordion {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.1);
}

.p_fanart__accordion-title {
  padding: 1.6rem;
  font-weight: bold;
  font-size: 1.6rem;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.p_fanart__accordion-title::-webkit-details-marker {
  display: none;
}

.p_fanart__accordion-title::after {
  content: "▼";
  position: absolute;
  right: 1.6rem;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.2rem;
}

details[open] .p_fanart__accordion-title::after {
  content: "▲";
}

.p_fanart__accordion-content {
  padding: 1.6rem;
  border-top: 1px solid var(--fanart-border);
  font-size: 1.4rem;
  line-height: 1.6;
}

.p_fanart__campaign-list {
  margin: 0.8rem 0 0;
  padding-left: 1.2em;
}

.p_fanart__campaign-list li + li {
  margin-top: 0.4rem;
}

.p_fanart__campaign-note {
  margin-top: 0.8rem;
  font-weight: bold;
}

/* ====================
   Service Intro
==================== */
.p_fanart__service {
  text-align: center;
  border-top: 4px solid var(--fanart-yellow);
  background-color: #fff;
  max-width: 100%;
}

.p_fanart__service-title {
  font-size: 2.4rem;
  font-weight: bold;
  margin-bottom: 1.6rem;
  line-height: 1.4;
}

.p_fanart__service-desc {
  margin-bottom: 2.4rem;
  font-size: 1.6rem;
}

.p_fanart__btn-simulation {
  display: inline-block;
  background-color: var(--fanart-yellow);
  color: var(--fanart-dark);
  font-weight: bold;
  text-decoration: none;
  padding: 1.6rem 3.2rem;
  border-radius: 9999px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s;
  width: 100%;
  max-width: 400px;
}

.p_fanart__btn-simulation span {
  font-size: 2.0rem;
  display: block;
  margin-top: 0.4rem;
}

.p_fanart__btn-simulation:hover {
  transform: scale(1.05);
}

/* ====================
   SNS Follow
==================== */
.p_fanart__sns {
  background-color: var(--fanart-gray);
  text-align: center;
  max-width: 100%;
}

.p_fanart__sns-title {
  font-weight: bold;
  font-size: 1.6rem;
  margin-bottom: 1.2rem;
}

.p_fanart__sns-desc {
  font-size: 1.4rem;
  line-height: 1.6;
  margin-bottom: 2.0rem;
}

.p_fanart__sns-icons {
  display: flex;
  justify-content: center;
  gap: 1.6rem;
}

.p_fanart__icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 1.6rem;
}

.p_fanart__icon--x {
  background-color: #000;
}

.p_fanart__icon--ig {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
}

/* ====================
   Mobile FAB (追従ボタン)
==================== */
.p_fanart__fab {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(4px);
  border-top: 1px solid var(--fanart-border);
  display: flex;
  padding: 0.8rem;
  gap: 0.8rem;
  z-index: 100;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.05);
}

.p_fanart__fab-btn {
  flex: 1;
  padding: 1.2rem;
  border-radius: 8px;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  font-size: 1.4rem;
  border: none;
  cursor: pointer;
}

.p_fanart__fab-btn--share {
  background-color: var(--fanart-gray);
  color: var(--fanart-dark);
}

.p_fanart__fab-btn--sim {
  background-color: var(--fanart-yellow);
  color: var(--fanart-dark);
}

@media (min-width: 768px) {
  .p_fanart__fab {
    display: none;
  }
}
