@charset "utf-8";


:root {
  --fm-grn: #36ad1b;
  --fm-blue: #0082d7;
  --base-dk-grn: #008132;
  --base-dk-ble: #0076AE;
  --base-yew: #FFF3A1;
  --base-beg: #FAF8E5;
  --base-lt-beg: #fffef2;
  --base-lt-grn: #ebf6f4;
  --base-lt-ble: #ebf4fa;
  --base-wht: #fff;
  --base-blk: #333;
  --col-beg: #fff0cb;
  --col-grn: #d3ecd1;
  --col-lt-ble: #b9e0fb;
}

body {
  overflow-x: hidden;
  margin: 0;
}

/*===============================================
  アニメーション初期状態（チラつき防止）
===============================================*/
#character_famippe .js-fade-h2 span,
#character_famippe .js-fade-up,
#character_famippe .famippe-card,
#character_famippe .profile-intro-img,
#character_famippe .profile-text-wrap,
#character_famippe .profile-slider-ttl,
#character_famippe .goods_list {
  visibility: hidden;
  opacity: 0;
}


/*===============================================
●共通
===============================================*/

/* ============ common =========== */
#character_famippe * {
  min-height: 0vw;
  -webkit-tap-highlight-color: transparent;
  box-sizing: border-box;
}

#character_famippe :is(h1, h2, h3, h4, h5, p, figure) {
  margin: 0;
  padding: 0;
  list-style: none;
  display: block;
}

#character_famippe :is(ul, ol, li, dl, dt, dd) {
  margin: 0;
  list-style: none;
  padding: 0;
}

#character_famippe :is(a:link, a:visited, a:hover, a:active, a:focus) {
  text-decoration: none;
}

#character_famippe img {
  max-width: 100%;
  display: block;
  height: auto;
}

/* ============ text関連 =========== */

#character_famippe .kome {
  font-size: clamp(0.8rem, 0.85vw, 0.88rem);
  text-align: left;
  line-height: 1.6;
  display: block;
  margin: 0.2rem 0 0;
}

#character_famippe .kome::before {
  content: '\203b';
}

#character_famippe .goods-area .kome {
  text-align: right;
}


/*====================== main-area =======================*/

/* div#contents {
  background: linear-gradient(0deg, var(--base-dk-org)30%, var(--base-org)60%, var(--base-lt-org)100%);
  width: 100%;
  min-height: 100vh;
  background-attachment: fixed;
  background-position: center;
  position: relative;
} */

#character_famippe {
  width: 100vw;
  margin: 0 calc(50% - 50vw);
  position: relative;
  min-height: 100%;
  padding: 0;
  position: relative;
  color: var(--base-blk);
  font-family: "Zen Maru Gothic",
    "Hiragino Maru Gothic ProN",
    "Yu Rounded",
    sans-serif;
  font-feature-settings: "palt", "tnum";
  letter-spacing: 0.05em;
}

#character_famippe .section-inner {
  position: relative;
  z-index: 2;
  width: min(90%, 1280px);
  margin: 0 auto;
  padding: 2rem 0 5rem;
  text-align: center;
}

/* ==========================================
  KVエリア全体
=========================================== */
#character_famippe .imgbox {
  width: 100%;
  position: relative;
  overflow: visible;
  z-index: 1;
  background-color: var(--col-grn);
  background-image: radial-gradient(rgba(255, 255, 255, 0.4) 18%, transparent 18%);
  background-size: 20px 20px;
}

#character_famippe .kv {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  align-items: center;
  gap: 5rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 4rem 3rem 0;
  box-sizing: border-box;
  min-height: 550px;
  position: relative;
}


#character_famippe main {
  position: relative;
  z-index: 20;
  margin-top: -50px;
  -webkit-mask-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='48' viewBox='0 0 96 48'%3E%3Cpath d='M0,24 Q24,48 48,24 T96,24 L96,48 L0,48 Z'/%3E%3C/svg%3E"),
    linear-gradient(#000, #000);
  -webkit-mask-size: 96px 48px, 100% calc(100% - 47px);
  -webkit-mask-position: top left, bottom left;
  -webkit-mask-repeat: repeat-x, no-repeat;

  mask-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='96' height='48' viewBox='0 0 96 48'%3E%3Cpath d='M0,24 Q24,48 48,24 T96,24 L96,48 L0,48 Z'/%3E%3C/svg%3E"),
    linear-gradient(#000, #000);
  mask-size: 96px 48px, 100% calc(100% - 47px);
  mask-position: top left, bottom left;
  mask-repeat: repeat-x, no-repeat;
}

/* ------------------------------------------
/左カラム：ファミッペエリア
/------------------------------------------- */

#character_famippe .kv-patterns {
  position: relative;
  width: 100%;
  max-width: min(520px, 70vh);
  aspect-ratio: 1 / 1;
  display: grid;
  align-items: end;
  justify-items: center;
}

/* パターン1・2（GSAPで制御するためレイアウトのみ指定） */
#character_famippe .kv-pattern {
  grid-area: 1 / 1;
  width: 100%;
  height: 100%;
  display: grid;
  align-items: end;
  justify-items: center;
  visibility: hidden;
  opacity: 0;
}

#character_famippe .kv-pattern-01 {
  visibility: visible;
  opacity: 1;
}

/* ------------------------------------------
/右カラム：テキスト・ボタン
/------------------------------------------- */

#character_famippe .kv .kv-caption {
  margin-top: -50px;
}

#character_famippe .kv-caption h1 {
  margin-bottom: 2rem;
  font-size: clamp(1.4rem, 2.8vw, 2.2rem);
}

#character_famippe .kv-caption .sub {
  color: var(--fm-blue);
  display: block;
  margin-bottom: 0.3rem;
}

#character_famippe .kv-caption .kv-lead {
  font-size: clamp(1.05rem, 1.8vw, 1.45rem);
  font-weight: 600;
  color: #f6197a;
  margin-bottom: .5rem;
}

#character_famippe .kv-caption .kv-note {
  font-weight: 500;
  font-size: clamp(1rem, 1.8vw, 1.2rem);
}

#character_famippe .kv-caption .kv-note dl {
  display: flex;
}

#character_famippe .kv-caption .kv-lead-wrap {
  padding: 1.5rem 1.5rem 0;
  border-radius: 1rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .3)),
    repeating-linear-gradient(-45deg, var(--base-wht), var(--base-wht) 10px, var(--base-lt-grn) 10px, var(--base-lt-grn) 20px);
}




/* --------------------- 星パーツ ------------------ */
#character_famippe .kv-deco-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

#character_famippe .deco-item {
  position: absolute;
  height: auto;
}

#character_famippe .sparkle-g-lg,
#character_famippe .sparkle-b-lg {
  width: 58px;
}

#character_famippe .sparkle-b-md,
#character_famippe .sparkle-g-md {
  width: 38px;
}

#character_famippe .sparkle-g-sm,
#character_famippe .sparkle-b-sm {
  width: 24px;
}

#character_famippe .pos-top-left {
  top: -3%;
  left: 8%;
}

#character_famippe .pos-top-center {
  top: 10%;
  left: -6%;
}

#character_famippe .pos-top-right {
  top: -2%;
  right: 2%;
}

#character_famippe .pos-mid-left {
  top: 21%;
  left: 3%;
}

#character_famippe .pos-mid-right {
  top: 21%;
  right: 4%;
}

#character_famippe .pos-bottom-left {
  bottom: 55%;
  left: 5%;
}

#character_famippe .pos-bottom-right {
  bottom: 55%;
  right: -7%;
}

#character_famippe .pos-bottom-center {
  bottom: 84%;
  right: -14%;
}

/* --------------------- 看板パーツ ------------------ */

#character_famippe .kv-pattern-01 .kv-character-group {
  position: relative;
  z-index: 3;
}

#character_famippe .kv-pattern-01 .board-container {
  position: absolute;
  top: 0%;
  right: -16%;
  z-index: -1;
  width: 44%;
  transform: rotate(23deg);
}

#character_famippe .kv-pattern-01 .board-text {
  position: absolute;
  top: 15%;
  left: 15%;
  transform: rotate(-6deg);
  font-size: clamp(.9rem, 2.5vw, 1.7rem);
  font-weight: 600;
  will-change: transform;
}

/* ------------------------------------------
  アニメーション停止・再生ボタン（右下固定）
------------------------------------------- */
#character_famippe .kv-motion-toggle {
  position: absolute;
  bottom: 42px;
  right: 24px;
  width: 48px;
  height: 48px;
  background-color: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(0, 90, 170, 0.2);
  border-radius: 50%;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

#character_famippe .kv-motion-toggle:hover {
  background-color: #FFFFFF;
  transform: scale(1.08);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

/* アイコンのベース設定（デフォルト：一時停止の縦線2本） */
#character_famippe .toggle-icon {
  position: relative;
  width: 12px;
  height: 14px;
}

#character_famippe .toggle-icon::before,
#character_famippe .toggle-icon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 4px;
  height: 100%;
  background-color: #005AAA;
  border-radius: 2px;
  transition: all 0.2s ease;
}

#character_famippe .toggle-icon::before {
  left: 0;
}

#character_famippe .toggle-icon::after {
  right: 0;
}

/* 💡 停止中（aria-pressed="true"）は「再生マーク（三角形）」に変形 */
#character_famippe .kv-motion-toggle[aria-pressed="true"] .toggle-icon::before {
  opacity: 0;
  /* 左の線を隠す */
}

#character_famippe .kv-motion-toggle[aria-pressed="true"] .toggle-icon::after {
  /* 右の線を三角形に変形 */
  right: -2px;
  width: 0;
  height: 0;
  background-color: transparent;
  border-style: solid;
  border-width: 7px 0 7px 12px;
  border-color: transparent transparent transparent #005AAA;
  border-radius: 0;
}

#character_famippe .line {
  /* background-color: #f6f6f6;
  background-image: radial-gradient(rgba(0, 0, 0, 0.05) 18%, transparent 18%);
  background-size: 25px 25px; */
  background-color: #fffef2;
  background-image: radial-gradient(#faf8e5 18%, transparent 18%);
  background-size: 20px 20px;
}


/* ==========================================
  セクション区切り（なみなみ・背景色自由自在版）
=========================================== */
#character_famippe .line-bg {
  width: 100%;
  height: 48px;
  margin-top: -48px;
  position: relative;
  z-index: 5;
  background-color: var(--col-grn);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cpath fill='%23000' d='M0,12 Q12,0 24,12 T48,12 L48,24 L0,24 Z'/%3E%3C/svg%3E");
  -webkit-mask-repeat: repeat-x;
  -webkit-mask-size: 96px 48px;
  -webkit-mask-position: bottom left;

  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='24' viewBox='0 0 48 24'%3E%3Cpath fill='%23000' d='M0,12 Q12,0 24,12 T48,12 L48,24 L0,24 Z'/%3E%3C/svg%3E");
  mask-repeat: repeat-x;
  mask-size: 96px 48px;
  mask-position: bottom left;
}


/* ================ プロフィールエリア ================ */

#character_famippe .profile-area {
  padding-top: 48px;
  background-color: var(--col-beg);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.0' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
}

#character_famippe .profile-intro-box {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  max-width: 1100px;
  margin: 4rem auto;
}

#character_famippe .profile-intro-img {
  width: 25%;
  min-width: 180px;
}

#character_famippe .profile-area .profile-text-wrap {
  background: var(--base-lt-beg);
  padding: 1.5rem;
  width: 80%;
  margin: 0;
  position: relative;
  border: solid 3px var(--fm-grn);
  border-radius: 16px;
  filter: drop-shadow(4px 4px 0px var(--fm-grn));
}

/* #character_famippe .profile-area .profile-text-wrap::before {
  content: "";
  position: absolute;
  top: 50%;
  left: -14px;
  transform: translateY(-50%);
  border-right: 14px solid var(--fm-grn);
  border-top: 14px solid transparent;
  border-bottom: 14px solid transparent;
} */

#character_famippe .profile-area .profile-text {
  font-size: clamp(1rem, 1.4vw, 1.3rem);
  font-weight: 700;
}

#character_famippe .profile-area .profile-text-wrap span {
  display: block;
  margin-bottom: 1rem;
  color: var(--base-dk-grn);
}

#character_famippe .profile-area .profile-slider-wrap {
  padding: 2rem;
  border-radius: 2rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .3)), repeating-linear-gradient(-45deg,
      var(--base-wht),
      var(--base-wht) 10px,
      var(--base-lt-grn) 10px,
      var(--base-lt-grn) 20px);
}


/* =============== h2 / h3 =============== */

#character_famippe .ttl_h2 {
  display: flex;
  align-items: center;
  text-align: left;
  margin: 2rem auto;
  padding: 0;
  width: 100%;
  will-change: transform;
}

#character_famippe .ttl_h2 span {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  color: var(--base-dk-grn);
  font-size: clamp(1.4rem, 3vw, 1.8rem);
  font-weight: 700;
  padding-right: 5.5rem;
  position: relative;
  white-space: nowrap;
  filter: drop-shadow(2px 4px 0 #fff);
  will-change: transform, opacity;
}

#character_famippe .ttl_h2 span::before {
  content: "";
  display: inline-block;
  width: clamp(32px, 5vw, 48px);
  aspect-ratio: 1;
  background-image: url('../images/flower.webp');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  transform: rotate(-10deg);
}

#character_famippe .ttl_h2::after {
  content: "";
  display: block;
  flex-grow: 1;
  height: 2px;
  background-color: var(--base-dk-grn);
  /* border-bottom: 4px dotted var(--base-dk-grn); */
  will-change: transform;
}

#character_famippe .ttl_char {
  letter-spacing: -5px !important;
}

#character_famippe .ttl_h3 {
  color: var(--base-wht);
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  margin: 2px auto 2.5rem;
  background: var(--base-dk-grn);
  width: fit-content;
  padding: .5rem 2rem;
  border-radius: 50px;
}

/* ==========================================
  h2お花マーク（ペチュニア）のアニメーション同期
=========================================== */

/* 1. 初期状態：少し小さく＆透明にしておく */
#character_famippe .ttl_h2 span::before,
#character_famippe .ttl_h2 span::after {
  display: inline-block;
  opacity: 0;
  transform: scale(0.6) rotate(-10deg);
  transform-origin: center center;
  transition: opacity 0.4s ease-out, transform 0.4s ease-out;
}

/* 2. 見出しが表示されたら文字に合わせて自然に浮かび上がらせる */
#character_famippe .ttl_h2.is-active span::before,
#character_famippe .ttl_h2.is-active span::after {
  opacity: 1;
  transform: scale(1) rotate(-10deg);
  /* 文字が出始めるタイミングに自然に合わせる */
  transition-delay: 0.15s;
}

/* ==========================================
  h2見出し：横線がスッと伸びるアニメーション
=========================================== */
/* 線の初期状態（幅を0%にして見えなくしておく） */
#character_famippe .ttl_h2::before,
#character_famippe .ttl_h2::after {
  transform: scaleX(0);
  transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
  height: 2px !important;
}

/* 左側の線は「右から左」へ伸びるように起点を設定 */
#character_famippe .ttl_h2::before {
  transform-origin: right center;
}

/* 右側の線は「左から右」へ伸びるように起点を設定 */
#character_famippe .ttl_h2::after {
  transform-origin: left center;
}

/* 🌟 JSで「is-active」クラスが付いたら線を100%に伸ばす！ */
#character_famippe .ttl_h2.is-active::before,
#character_famippe .ttl_h2.is-active::after {
  transform: scaleX(1);
  /* テキストがフワッと出るのに合わせて、少しだけ遅らせて線を伸ばし始める */
  transition-delay: 0.2s;
}

/* ================ LINEエリア ================ */




/* ================ goodsエリア ================ */
#character_famippe .goods-area {
  background-color: var(--col-grn);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='1.2' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.08'/%3E%3C/svg%3E");
}

#character_famippe .goods-area ul {
  max-width: 1280px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  width: 85%;
  margin: 0 auto;
}

#character_famippe .goods-area .note {
  display: block;
}

#character_famippe .goods-area ul .goods_list {
  background: var(--base-wht);
  border-radius: 16px;
  padding: 1.5rem 1.5rem 1.8rem;
  background: linear-gradient(90deg, rgba(255, 255, 255, .3), rgba(255, 255, 255, .3)),
    repeating-linear-gradient(-45deg, var(--base-wht), var(--base-wht) 10px, var(--base-lt-grn) 10px, var(--base-lt-grn) 20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  will-change: transform;
}

#character_famippe .goods_ttl {
  color: var(--base-wht);
  font-size: clamp(1.2rem, 1.7vw, 1.5rem);
  margin: 0 auto 1.5rem;
  background: var(--base-dk-grn);
  width: fit-content;
  padding: .5rem 2rem;
  border-radius: 50px;

}

#character_famippe .goods_name {
  font-weight: 700;
  font-size: clamp(.9rem, 1.3vw, 1.1rem);
  font-weight: 500;
}


/* ======================= tvエリア ======================== */
#character_famippe .famimatv-block {
  background-color: #fffef2;
  background-image: radial-gradient(#faf8e5 18%, transparent 18%);
  background-size: 20px 20px;
}

#character_famippe .famimatv-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 1rem;
}

/* 各動画カード */
#character_famippe .famimatv-card {
  background: var(--col-grn);
  border-radius: 16px;
  padding: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

#character_famippe .famimatv-video-wrap {
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
}

#character_famippe .famimatv-video-wrap video {
  width: 100%;
  height: auto;
  display: block;
  pointer-events: auto;
  position: relative;
  z-index: 1;
}

#character_famippe .famimatv-card-ttl {
  font-size: clamp(.9rem, 1.3vw, 1.1rem);
  font-weight: bold;
  color: var(--base-blk);
  text-align: center;
  margin-top: 1rem;
  line-height: 1.3;
}


/* ==========================================
/ スライダー共通設定
/=========================================== */
#character_famippe .famippe-slider-container,
#character_famippe .stamp-slider-container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 20px 0 0;
}

#character_famippe .famippe-card {
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  box-sizing: border-box;
}

#character_famippe .profile-slider-container .famippe-card {
  border-radius: 300px 300px 30px 30px;
}

#character_famippe .line .famippe-card {
  background-color: var(--base-wht);
}

#character_famippe .profile-area .famippe-card {
  background-color: var(--base-beg);
}

#character_famippe .swiper-slide {
  height: auto;
}

#character_famippe .famippe-img-wrapper {
  width: 100%;
  aspect-ratio: 1 / 1;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 16px;
}

#character_famippe .famippe-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

#character_famippe .profile-slider-container .famippe-img-wrapper {
  margin-bottom: 16px;
  border-bottom: dotted 4px var(--fm-grn);
}

#character_famippe .stamp-slider-container .famippe-img-wrapper {
  max-width: 180px;
  margin-bottom: 0;
}

#character_famippe .stamp-slider-container .famippe-card {
  padding: 12px;
}

#character_famippe .famippe-text {
  color: var(--base-blk);
  font-size: clamp(1rem, 2vw, 1.05rem);
  font-weight: bold;
  line-height: 1.5;
  margin: 0;
  display: flex;
  height: 50px;
  align-items: center;
}


/* ==========================================
  1. プロフィール用CSS（プログレスバー＋矢印）
=========================================== */
#character_famippe .profile-controls {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 24px;
}

#character_famippe .profile-progressbar.swiper-pagination-progressbar {
  position: relative;
  flex-grow: 1;
  height: 5px;
  background: #E0E0E0;
  border-radius: 999px;
  overflow: hidden;
}

#character_famippe .profile-progressbar .swiper-pagination-progressbar-fill {
  background: var(--fm-grn);
}

#character_famippe .profile-nav-buttons {
  display: flex;
  gap: 8px;
}

#character_famippe .profile-btn-prev,
#character_famippe .profile-btn-next {
  width: 44px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--base-dk-grn);
  background: var(--base-dk-grn);
  color: var(--base-wht);
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  font-size: 14px;
  user-select: none;
  transition: all 0.2s ease;
}


#character_famippe .profile-btn-prev.swiper-button-disabled,
#character_famippe .profile-btn-next.swiper-button-disabled {
  opacity: 0.3;
  cursor: not-allowed;
  border-color: var(--base-dk-grn);
  color: var();
  transform: none;
}


/* ==========================================
  2. LINEスタンプ用CSS（ファミッペ顔ドット）
=========================================== */
#character_famippe .stamp-pagination {
  position: relative !important;
  margin-top: 2rem;
  display: flex;
  justify-content: center;
  gap: .8rem;
  height: auto;
  overflow: visible;
}

#character_famippe .stamp-pagination .swiper-pagination-bullet {
  width: 32px;
  height: 32px;
  background: none;
  opacity: 0.4;
  margin: 0 6px;
  transition: all 0.3s ease;
  cursor: pointer;
  border-radius: 0;
}

#character_famippe .stamp-pagination .swiper-pagination-bullet img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* 親要素（bullet）の変形を解除 */
#character_famippe .stamp-pagination .swiper-pagination-bullet-active {
  opacity: 1;
  transform: none;
  /* 親の変形をリセット */
}

/* 中の画像（img）だけに回転と拡大を効かせる */
#character_famippe .stamp-pagination .swiper-pagination-bullet-active img {
  transform: scale(1.2) rotate(-5deg);
}

#character_famippe .stamp-pagination .swiper-pagination-bullet {
  width: auto;
  height: auto;
}

#character_famippe .stamp-pagination .bullet-text {
  display: block;
  font-size: .7rem;
  font-weight: bold;
  color: #333;
  text-align: center;
  white-space: nowrap;
  margin-top: 4px;
  line-height: 1.2;
}

/* ==========================================
  ファミマプリント用Swiper（レイアウト崩れ防止）
=========================================== */

#character_famippe .goods-area>.section-inner>ul {
  max-width: 1280px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 2rem;
  width: 85%;
  margin: 0 auto;
}

#character_famippe .print-slider-container {
  width: 100%;
  position: relative;
  overflow: hidden;
}

#character_famippe .print-swiper .swiper-wrapper {
  display: flex;
  width: 100%;
  height: auto;
  margin: 0;
  padding: 0;
  box-sizing: content-box;
}

#character_famippe .print-swiper .swiper-slide {
  width: 100%;
  flex-shrink: 0;
  box-sizing: border-box;
}

/* ページネーション位置 */
#character_famippe .print-pagination {
  position: relative !important;
  margin-top: 12px;
  bottom: 0 !important;
}

#character_famippe .print-pagination .swiper-pagination-bullet-active {
  background: var(--base-dk-ble);
}


/* ==========================================
/ btn
/=========================================== */

#character_famippe .kv-vote-btn {
  position: relative;
  display: inline-block;
  background: var(--base-dk-ble);
  color: var(--base-wht);
  padding: 1rem 2rem;
  border-radius: 15px;
  font-size: clamp(1rem, 1.3vw, 1.1rem);
  margin: 1.5rem 0 2rem;
  font-weight: 600;
  max-width: 450px;
  text-align: center;
  width: 100%;
  box-shadow: 0px 4px 0px #005A88;
  transition: all 0.2s ease;
}

#character_famippe .kv-vote-btn::after {
  content: "\e905";
  font-family: "icn_font";
  font-weight: normal;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translate(-50%, -50%);
}

#character_famippe .kv-vote-btn.naibu::after {
  content: "\e903";
  font-family: "icn_font";
  font-weight: normal;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translate(-50%, -50%);
}

#character_famippe .goods-area .kv-vote-btn {
  width: 90%;
  margin-bottom: 0;
}

#character_famippe .famimatv-block .kv-vote-btn {
  margin: 3rem 0 0;
}


/* ==========================================
  画像のダウンロード防止
=========================================== */
#character_famippe img {
  /* スマホでの長押しメニュー（保存・共有）を非表示 */
  -webkit-touch-callout: none;
  /* 画像のドラッグ保存を禁止 */
  -webkit-user-drag: none;
  /* 画像の選択を禁止 */
  user-select: none;
  -webkit-user-select: none;
  /* 画像に対するマウス・タップイベントを無効化 */
  pointer-events: none;
}

/* ==========================================
  ファミマプリント用 アロー（矢印）の調整
=========================================== */
#character_famippe .print-slider-container {
  position: relative;
  width: 100%;
  padding: 0;
  overflow: visible;
}

#character_famippe .print-swiper {
  width: 100%;
  overflow: hidden;
}

#character_famippe .print-btn-prev,
#character_famippe .print-btn-next {
  color: var(--base-dk-ble) !important;
  --swiper-navigation-color: var(--base-dk-ble);
  filter: drop-shadow(0px 0px 3px rgba(255, 255, 255, 0.9));
  margin-top: -70px;
  z-index: 10;
}

#character_famippe .print-btn-prev::after,
#character_famippe .print-btn-next::after {
  font-size: 1.5rem !important;
  font-weight: 600;
}

#character_famippe .print-btn-prev {
  left: -12px;
}

#character_famippe .print-btn-next {
  right: -12px;
}

/* ======================= hover ====================== */

@media (hover: hover) {

  #character_famippe .profile-btn-prev:hover,
  #character_famippe .profile-btn-next:hover {
    border-color: var(--base-dk-grn);
    color: var(--base-dk-grn);
    background: var(--base-wht);
    transform: translateY(-1px);
  }

  #character_famippe .kv-vote-btn:hover {
    opacity: 0.9;
  }

  #character_famippe .kv-vote-btn:active {
    transform: translateY(4px);
    box-shadow: 0px 0px 0px #005A88;
  }

}

/*=============== movie ===============*/

#movie_area {
  width: 75%;
  margin: 0 auto;
  background: var(--base-blk);
  padding: 1.2rem;
  border-radius: 1rem;
}

#movie_area .movie {
  position: relative;
  padding-bottom: 56.25%;
  padding-top: 0;
  height: 0;
  overflow: hidden;
  margin: 0 auto;
  border-radius: 0;
}

#movie_area .movie iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/*======== AEM ========*/
.others {
  background: var(--base-wht);
  padding: 1rem 2rem;
}

.others .inner {
  width: min(100%, 1200px);
  margin: 0 auto;

}

.ly-contents-area {
  padding: 10px 0 0;
}

.cs {
  padding: 14px 40px 14px 40px !important;
  text-align: center;
  margin: 15px 0 0;
  background: #dcdcdc;
  border-radius: 50px;
}


/*===============================================

●pc.css 画面の横幅が737px以上

===============================================*/
@media screen and (min-width: 737px) {

  /*===== common ======*/
  #character_famippe .pc-none {
    display: none;
  }


}

/*===============================================

●sp.css  画面の横幅が736pxまで

===============================================*/
@media screen and (max-width: 736px) {

  /*===== common ======*/
  #character_famippe .sp-none {
    display: none;
  }

  #character_famippe {
    max-width: 100%;
    width: 100%;
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
  }

  #character_famippe .section-inner {
    padding: 1rem 0 2.5rem;
  }

  /* ==========================================
    📱 KVエリア：スマホ用レイアウト（ファミッペ上・フェードアウト）
  ========================================== */
  #character_famippe .kv {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1rem 3.5rem;
    min-height: auto;
  }

  #character_famippe .kv-patterns {
    max-width: 80%;
    margin: 0 auto;
  }

  /* #character_famippe .famippe-img {
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
  } */



  #character_famippe .kv-caption {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  #character_famippe .kv .kv-caption {
    margin-top: -10px;
  }

  #character_famippe .kv-caption h1 {
    margin-bottom: 1.5rem;
    width: 83%;
  }

  #character_famippe .kv-caption .kv-note dl {
    justify-content: center;
  }

  #character_famippe .kv-caption .kv-lead-wrap {
    padding: 1rem .8rem 1.5rem;
  }

  #character_famippe .kv-caption .kv-note,
  #character_famippe .kv-caption .kv-lead {
    letter-spacing: 0em;
  }

  #character_famippe .kv-caption .kv-btn-wrap .kv-vote-btn {
    margin-bottom: 0;
  }

  /* ==========================================
    📱 なみなみ（波型マスク）をスマホサイズに縮小
  ========================================== */
  #character_famippe main {
    margin-top: -30px;
    -webkit-mask-size: 48px 24px, 100% calc(100% - 23px);
    mask-size: 48px 24px, 100% calc(100% - 23px);
  }

  #character_famippe .line-bg {
    height: 24px;
    margin-top: -24px;
    -webkit-mask-size: 48px 24px;
    mask-size: 48px 24px;
  }

  #character_famippe .kv-motion-toggle {
    bottom: 38%;
    right: 16px;
    width: 40px;
    height: 40px;
  }

  #character_famippe .profile-intro-box {
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3.5rem;
    margin-top: 2rem;
  }

  #character_famippe .profile-intro-img {
    width: 50%;
  }

  #character_famippe .profile-area .profile-text-wrap {
    width: 100%;
  }

  #character_famippe .profile-area .profile-text-wrap::before {
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    border-bottom: 12px solid var(--fm-grn);
    border-right: 12px solid transparent;
    border-left: 12px solid transparent;
    border-top: none;
  }

  /* ==========================================
    📱 看板のはみ出し防止
  ========================================== */

  #character_famippe .sparkle-g-lg,
  #character_famippe .sparkle-b-lg {
    width: 40px;
  }

  #character_famippe .sparkle-b-md,
  #character_famippe .sparkle-g-md {
    width: 28px;
  }

  #character_famippe .sparkle-g-sm,
  #character_famippe .sparkle-b-sm {
    width: 20px;
  }

  #character_famippe .pos-top-left {
    top: -5%;
    left: 0%;
  }

  #character_famippe .pos-top-center {
    top: 10%;
    left: -13%;
  }

  #character_famippe .pos-top-right {
    top: -6%;
    right: 2%;
  }

  #character_famippe .pos-mid-left {
    top: 16%;
    left: 1%;
  }

  #character_famippe .pos-mid-right {
    top: 21%;
    right: 5%;
  }

  #character_famippe .pos-bottom-left {
    bottom: 55%;
    left: -7%;
  }

  #character_famippe .pos-bottom-right {
    bottom: 55%;
    right: -11%;
  }

  #character_famippe .pos-bottom-center {
    bottom: 80%;
    right: -12%;
  }

  #character_famippe .kv-pattern-01 .board-container {
    top: -5%;
    right: -11%;
    width: 40%;
  }

  /* 💡 看板が小さくなった分、中の文字サイズと位置も微調整 */
  #character_famippe .kv-pattern-01 .board-text {
    font-size: clamp(0.9rem, 3.7vw, 1.1rem);
    left: 3vw;
    top: 5vw;
  }

  #character_famippe .profile-area {
    padding-top: 15px;
  }

  #character_famippe .profile-area .profile-text-wrap::before {
    top: -15px;
    transform: translateX(-50%);
    border-bottom: 15px solid var(--fm-grn);
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
  }

  #character_famippe .profile-area .profile-slider-container {
    width: 80%;
    margin: 0 auto;
  }

  #character_famippe .profile-area .profile-slider-wrap {
    padding: 1.5rem 1rem;
    border-radius: 3.5rem;
    margin: 0 -2rem 1rem;
  }

  #character_famippe .profile-area .profile-text-wrap {
    padding: 1rem;
  }

  #character_famippe .goods-area ul {
    grid-template-columns: 1fr;
    width: 100%;
  }

  #character_famippe .goods-area ul .goods_list {
    padding: 1rem 1rem 1.4rem;
  }

  #character_famippe .ttl_h2 {
    justify-content: center;
    margin: 1rem auto 2rem;
  }

  #character_famippe .ttl_h2 span {
    padding-right: 0;
  }

  #character_famippe .ttl_h2::after {
    content: none;
  }

  #character_famippe .ttl_h2 span::after {
    content: "";
    width: clamp(32px, 5vw, 48px);
    aspect-ratio: 1;
    background-image: url(../images/flower.webp);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin-left: 9px;
    margin-top: 7px;
  }

  #character_famippe .ttl_h3 {
    margin: 2px auto 1.5rem;
  }

  #character_famippe .stamp-pagination {
    display: block;
    text-align: center;
  }

  #character_famippe .stamp-pagination .swiper-pagination-bullet {
    margin: 0 4px !important;
  }

  #character_famippe .kv-vote-btn {
    width: 300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #character_famippe .goods-area .kv-vote-btn {
    width: 100% !important;
  }

  #character_famippe .kv-vote-btn::after {
    right: 5px;
  }

  #character_famippe .ttl_char {
    display: inline-block !important;
    letter-spacing: -6px !important;
  }

  #character_famippe .stamp-pagination .swiper-pagination-bullet img {
    width: 28px;
    height: 28px;
  }

  #character_famippe .stamp-pagination .bullet-text {
    font-size: .6rem;
    margin-top: 4px;
  }

  #character_famippe .goods-area>.section-inner>ul {
    grid-template-columns: 1fr;
    width: 100%;
  }

  #character_famippe .goods_list {
    min-width: 0;
  }

  #character_famippe .print-slider-container,
  #character_famippe .print-swiper {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    overflow: hidden;
  }

  #character_famippe .print-swiper .swiper-slide {
    width: 100% !important;
    max-width: 100%;
    box-sizing: border-box;
  }

  #character_famippe .print-swiper .pic,
  #character_famippe .print-swiper .pic p,
  #character_famippe .print-swiper .pic img {
    width: 100%;
    max-width: 100%;
    height: auto;
    display: block;
  }

  #character_famippe .print-btn-prev::after,
  #character_famippe .print-btn-next::after {
    font-size: 1rem !important;
  }

  #character_famippe .print-btn-prev {
    left: -3px !important;
  }

  #character_famippe .print-btn-next {
    right: -3px !important;
  }

  #character_famippe .famimatv-grid {
    gap: 1.5rem;
    padding: 0;
  }

  #character_famippe .famimatv-card {
    padding: .5rem;
    border-radius: 10px;
  }

  #character_famippe .famimatv-card-ttl {
    margin-top: 10px;
  }

  #character_famippe .famimatv-block .kv-vote-btn {
    margin: 2rem 0 0;
  }


  /* ============ AEM ========== */
  .others {
    padding: 0.8rem;
  }

  /*===== animation-area ======*/

}

/*===============================================
●tablet.css  画面の横幅が737px～
===============================================*/
@media screen and (min-width: 1024px) and (max-width: 1200px) {}

@media screen and (min-width: 737px) and (max-width: 1023px) {}