@charset "utf-8";


  .infographic {
    position: relative;
    width: 100%;
    max-width: 860px;
    background: #fff6d6; /* クリーム色の背景 */
    border-radius: 40px;
    padding: 50px 35px 35px; /* 上はリボン画像が乗る分、広めに確保 */
    margin-bottom: 20px;
  }
.infographic::before {
    content: "";
    position: absolute;
    inset: 15px; /* ← 点線を内側へ移動する距離 */
    border: 2px dashed #2EB0C7;
    border-radius: 30px;
    pointer-events: none;
}

  .title-ribbon {
    position: absolute;
    top: -30px; /* カード上端からはみ出させる */
    left: 50%;
    transform: translateX(-50%);
    width: 81%;
    max-width: 600px;
    background-image: url(/static/fcopen/fanplakit/artist/marcy_EvwL0mAz/feature/marcy_entry_j2RBp5iw/image/annualbenefit-title.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 70px;
    text-align: center;
    background-position: 50%;
  }
  .title-ribbon p{
    font-size: 29px;
    font-weight: bold;
  }

  .section-label {
    display: block;
    width: fit-content;
    margin: 0 auto 10px;
    background: #2EB0C7;
    color: #fffacd;
    font-weight: bold;
    font-size: 20px;
    padding: 1px 25px;
    border-radius: 13px;
    position: absolute;
    top: 60px;
    left: 50%;
    transform: translateX(-50%);
  }

  .notice-box {
    background: #fff;
    border: 1.5px solid #2EB0C7;
    border-radius: 10px;
    text-align: center;
    padding: 10px 20px;
    margin-bottom: 10px;
    color: #2EB0C7;
    font-weight: bold;
    line-height: 1.7;
    margin-top: 40px;
  }
  .notice-box .link {
    font-size: 14px;
    margin-top: 4px;
    width: 104px;
    margin: 0 auto;
    position: relative;
    text-decoration: none;
    color: #2EB0C7;
    display: inline-block;
    padding-bottom: 6px;

  }
.notice-box .link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100px;
    height: 10px;
    border-bottom: 1px solid #2EB0C7;
}
/* 右上に伸びる矢印部分 */
.notice-box .link::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    width: 7px;
    height: 7px;
    border-right: 1px solid #2EB0C7;
    border-bottom: 1px solid #2EB0C7;
    transform: skewX(45deg);
}

.notice-box .link::after {
    transition: width .3s ease;
}

.notice-box .link:hover::after {
    width: 110px;
}

.notice-box .link::before {
    transition: transform .3s ease;
}

.notice-box .link:hover::before {
    transform: skewX(45deg) translateX(5px);
}


  .row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
  }
  .top-row {
    margin-bottom: 30px;
  }

  /* カード共通スタイル */
  .card {
    position: relative;
    border-radius: 24px;
    padding: 40px 15px 10px;
    text-align: center;
    overflow: visible; /* リボン・NEWバッジがはみ出せるように */
    border: 1.5px solid #2EB0C7;
  }
  .card-white { background: #ffffff; }
  .card-blue  { background: #d9f7ff; }

  .new-badge {
    position: absolute;
    top: 0;
    right: 0;
    width: 100px;
    height: 100px;
    overflow: hidden;
    border-top-right-radius: 24px;
    pointer-events: none;
    z-index: 1;
  }
  .new-badge::before {
    content: "NEW";
    position: absolute;
    top: 10px;
    right: -40px;
    width: 130px;
    background: #ffd54a;
    color: #fff;
    font-weight: bold;
    font-size: 15px;
    text-align: center;
    transform: rotate(45deg);
    box-shadow: 0 2px 3px rgba(0,0,0,0.15);
  }


  .ribbon {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 86%;
  }
  .ribbon-svg {
    width: 100%;
    height: auto;
    display: block;
    overflow: visible;
  }
  .ribbon-main {
    fill: #3fb6c6; /* リボンの地色(明るいターコイズ) */
  }
  .ribbon-dash {
    fill: none;
    stroke: #fff6d6; /* 内側の点線の色(クリーム色) */
    stroke-width: 3;
    stroke-dasharray: 7 6; /* 線7px・すき間6pxの繰り返しで点線にする */
  }
  .ribbon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #fff6d6; /* 文字色(クリーム色) */
    font-weight: bold;
    font-size: 14px;
    white-space: nowrap;
  }


  /* ---- 丸ピルラベル(継続特典 / Marcy Memorial Pass) ---- */
  .pill-label {
    position: absolute;
    top: -16px;
    left: 50%;
    transform: translateX(-50%);
    background: #2EB0C7;
    color: #fff6d6;
    font-weight: bold;
    font-size: 20px;
    padding: 1px 25px;
    border-radius: 13px;
    white-space: nowrap;
  }


  .img-slot {
    margin: 26px auto 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
  }
  .img-slot img {
    max-width: 100%;
    max-height: 160px;
    display: block;
    object-fit: contain;
  }

  .img-slot.placeholder {
    border: 2px dashed #bbb;
    border-radius: 8px;
    color: #999;
    font-size: 13px;
  }

  /* カード内テキスト */
  .card-title {
    color: #2EB0C7;
    font-weight: bold;
    line-height: 1.6;
  }
  .card-desc {
    color: #2EB0C7;
    font-weight: bold;
    line-height: 1.4;
    margin-bottom: 8px;
  }
  .card-note {
    font-size: .8rem;
    color: #2EB0C7;
    line-height: 1.6;
  }


  .divider-horizontal {
    border-top: 2px dashed #2EB0C7;
    margin: 0 -10px 30px;
  }



    /*入会特典　青カードーーーーーーーーーーーーーー*/
  .card-blue .ribbon-main{
    fill: #fff6d6;
  }

   .card-blue .ribbon-dash {
    stroke: #3fb6c6;
  }

     .card-blue .ribbon-text {
    color: #3fb6c6;
}
/*ルームカード調整*/
.card-blue .img-slot{
  margin: 48px auto 20px;
}
  .card-blue .img-slot img{
    max-width: 60%;
  }
  .card-blue .card-title{
    margin-bottom: 15px;
  }

  /*継続特典ーーーーーーーーーーーーーーーーーーーーーーー*/
  .card-continue .img-slot{
    margin: 0px auto 5px;
  }

   .card-continue .img-slot img{
    max-width: 40%;
  }

/*メモリアルパスーーーーーーーーーーーーーーーーーーーーーーー*/
  .card-memorialpass .img-slot {
margin: 0px auto 5px
  }

  .card-memorialpass .img-slot img{
    max-width: 75%;
  }

  .card-memorialpass .card-title{
    margin-bottom: 10px;
  }


  @media (max-width: 760px) {
    .row { grid-template-columns: 1fr; }
    .bottom-row::before { display: none; } /* 縦積みなので縦線は非表示 */
    .infographic { padding: 20px 20px 20px; }

    .infographic::before {
    inset: 6px;
    border: 1.5px dashed #2EB0C7;
}

.card-title{
  font-size: 0.8rem;
}
.card-desc{
  font-size: 0.7rem;
}
.card-note {
    font-size: .7rem;
}
/*年額コース限定リボン*/
.title-ribbon {
    width: 90%;
}
.title-ribbon p {
    font-size: 19px;
    margin-top: 11px;
}

/*入会特典　ボックステキスト*/
.notice-box {
    border: 1.5px solid #2EB0C7;
    padding: 10px 10px;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 12px;
}

.notice-box .link {
    font-size: 12px;
}
.section-label {
    margin: 0 auto 5px;
    font-size: 15px;
    top: 41px;
    border-radius: 10px;
}

/*NeWバッジ*/
.new-badge::before {
    top: 10px;
    right: -45px;
}

/*カード共通*/
.card {
    padding: 25px 5px 20px;
}
/*入会特典リボン*/
.ribbon {
    width: 93%;
    top: 30px;
}
.ribbon-text {
    font-size: 13px;
}
.row {
    gap: 30px;
}
.top-row {
    margin-bottom: 25px;
}

.img-slot {
    margin: 35px auto 10px;
}

/*キーホルダー*/
.card-white .ribbon{
top: 15px;
}
/*ルームカード調整*/
.card-blue .img-slot{
  margin: 40px auto 0px;
}

 /*継続特典ーーーーーーーーーーーーーーーーーーーーーーー*/
  .card-continue .img-slot{
    margin: 0px auto 0px!important;
  }

  .card-continue {
        padding: 25px 5px 20px;
    }
.pill-label {
    font-size: 15px;
    border-radius: 10px;
}


/*メモリアルパスーーーーーーーーーーーーーーーーーーーーーーー*/
  .card-memorialpass .img-slot {
margin: 0px auto 10px
  }

  .divider-horizontal {
    border-top: 1.5px dashed #2EB0C7;
    margin: 0 auto 30px;
    width: 97%;
}

.card-blue .card-title {
    margin-bottom: 8px;
}
.card-memorialpass{
  padding: 25px 5px 20px;
}
  }

  /*ipad-air〜mini*/
  @media screen and (min-width: 761px) and (max-width: 960px) {
    .ribbon {
    width: 95%;
}
.ribbon-text {
    font-size: 13px;
}
}