/**
 * YOMERU - Paywall & Membership PRO
 * Front-end styles extracted from the WordPress.org Free build.
 *
 * Keep this file only in the separately distributed PRO add-on.
 * It contains subscription, membership, plan-list, My Page PRO,
 * scheduled-price and license-related presentation styles.
 */

.mypage-membership-info-list .mypage-account-btn{
  width: auto;
  padding-inline: 20px;
  height: 40px;
  background-color: #fff;
  margin: 0;
}


.mypage-account-btn.mypage-membership-inline-cancel-btn:hover{
  color: #fff;
  background-color: #000 !important;
}

.mypage-membership-info-list .mypage-account-btn:hover{
  color: #fff;
  background-color: #000 !important;
}

.mypage_free_space{
  margin-bottom: 50px;
  inline-size: calc(
    var(--mypage-free-width-type) * 100% +
    (1 - var(--mypage-free-width-type)) * min(calc(100% - 40px), var(--mypage-free-width))
  );
  margin-inline: auto;
}

@media screen and (max-width: 767px){
.mypage_free_space{
  margin-bottom: 30px;
}


.premium-price .price-unit{
  font-size: 18px !important;
}
}


.premium-countdown{
  padding-block: 40px;
  text-align: center;
  box-shadow: 0 0 20px rgba(0, 0, 0, .15);
  margin-bottom: 30px;
  font-size: 16px;
  line-height: 1.6;
}

@media screen and (max-width: 767px){
.premium-countdown{
  padding: 20px;
  margin-bottom: 20px;
  font-size: 14px;
}
}


.premium-membership-notice{
  margin-top: 40px;
}

.premium-membership-plan-name{
  font-size: 22px;
  line-height: 1.6;
}

.premium-membership-plan-name_contents{
  display: grid;
  gap: 15px;
}

/*
 * Article CTA plan description:
 * Preserve paragraph spacing created from blank lines in the textarea.
 * The Free plugin intentionally trims generic .premium-notice .text <p> margins,
 * so restore readable spacing only for the subscription plan description.
 */
.premium-notice .premium-membership-plan-desc p{
  margin: 0 0 1em !important;
}

.premium-notice .premium-membership-plan-desc p:last-child{
  margin-bottom: 0 !important;
}

.premium-membership-trial{
  display: grid;
  gap: 15px;
  justify-items: center;
  padding: 25px;
  background: repeating-linear-gradient(135deg, #FFFFFF, #FFFFFF 10px, #F5F5F5 10px, #F5F5F5 20px);
}

/*
 * Article CTA: make the free-trial panel fill the notice content box.
 * .premium-notice has its own horizontal padding, so width:100% reaches
 * exactly to those inner padding edges without touching the gray outer edge.
 */
.premium-membership-notice > .premium-membership-trial{
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.premium-membership-trial.is-used{
  background: #F7F7F7;
  border-color: #DDDDDD;
}

.premium-membership-trial-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 4px 14px;
  background: #00A4DE;
  border-radius: 999px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.4;
}

.premium-membership-trial.is-used .premium-membership-trial-badge{
  background: #888888;
}

.premium-membership-trial-main{
  color: #000;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

.premium-membership-trial-note{
  color: #666;
  font-size: 13px;
  line-height: 1.8;
  text-align: center;
}


/* メンバーシップ一覧タブ内のサブタブ切り替えフェード */


.mypage-membership-info-list{
  display: grid;
  gap: 24px;
}

.mypage-membership-info-card{
  background: #F6F6F6;
  padding: 40px;
  display: grid;
  gap: 30px;
}

.mypage-membership-info-card .mypage-membership-info-data{
  font-size: 14px;
}

.mypage-membership-info-card-title{
  font-size: 20px;
  line-height: 1.4;
  font-weight: 500;
  margin-block: calc((1em - 1lh) / 2);
}

.mypage-membership-cancel-note-inline{
  color: #666;
}

.mypage-membership-cancel-note-inline.is-pc-only{
  line-height: 1.4;
  margin-top: 5px;
}

.mypage-membership-cancel-note-inline.is-pc-only.past_due_text{
  padding-left: 0;
}

.mypage-membership-info-price-cell{
  display: flex;
  align-items: center;
  justify-content: space-between;
}


.mypage-membership-info-row{
  display: grid;
  grid-template-columns: 180px 1fr;
  gap: 12px;
  padding: 5px 0;
  align-items: center;
}

.mypage-membership-info-data:not(:has(.mypage-account-btn))
  .mypage-membership-info-row{
  padding: 12.5px 0;
}
.mypage-membership-info-row:first-child{
  border-top: 0;
  padding-top: 0;
}

.mypage-membership-info-row dt{
  font-size: 16px;
}

.mypage-membership-info-row dd{
  margin: 0;
  font-size: 16px;
}

.mypage-membership-cancel-note{
  color: #666;
}

.mypage-membership-cancel-status{
  color: #666;
  font-size: 16px;
}

@media screen and (max-width: 767px){
  .mypage-membership-info-row{
    grid-template-columns: 1fr;
    gap: 6px;
  }

  .mypage-membership-info-card{
    padding: 30px;
    gap:20px;
  }

  .mypage-membership-info-card-title{
    font-size: 16px;
  }

  .mypage-membership-info-row:first-child{
    display: flex;
    justify-content: space-between;
  }

  .mypage-membership-info-row{
    display: flex;
    justify-content: space-between;
    padding: 10px;
    padding-inline: 0;
  }

  .mypage-membership-info-row dt{
    font-size: 14px;
  }

  .mypage-membership-info-row dd{
    font-size: 14px;
  }

  .mypage-membership-info-row:last-child{
    display: flex;
    justify-content: space-between;
  }
}

.premium-price .price-unit{
  font-size: 20px;
  font-weight: 400;
}


@media (max-width: 767px){


  .mypage-membership-block-cancel-btn{
    width: 100%;
    justify-content: center;
    height: 50px;
    font-size: 14px;
  }
}


@media (max-width: 767px){

  .mypage-membership-cancel-form-block{
    margin-top: 0px;
    margin-inline: auto;
  }

  .mypage-membership-block-cancel-btn{
    width: 100%;
    min-height: 50px;
    justify-content: center;
  }

  .mypage-membership-cancel-status-block{
    font-size: 14px;
    line-height: 1.8;
    color: #666;
    text-align: center;
    margin-block: calc((1em - 1lh) / 2);
  }

  .mypage-membership-cancel-note-block{
    font-size: 13px;
    line-height: 1.8;
    color: #666;
  }
}


.js-open-membership-info-subtab{
  color: var(--tcdce-base-link-color) !important;
  cursor: pointer;
}

@media (hover: hover){
.js-open-membership-info-subtab:hover{
  text-decoration: underline;
}
}

.mypage-payment-method-desc{
  font-size: 16px;
  line-height: 2.4;
  text-align: center;
}

.mypage-payment-method-button-wrap{
  margin-top: 40px;
}

@media (max-width: 767px){
.mypage-payment-method-desc{
  font-size: 14px !important;
  line-height: 2;
}

.mypage-payment-method-button-wrap{
  margin-top: 20px;
}
}

.mypage-payment-method-current{
  text-align: center;
  margin-bottom: 40px;
  font-size: 20px;
}

@media (max-width: 767px){
.mypage-payment-method-current{
  font-size: 14px;
  line-height: 2;
}
}

.mypage-membership-info-card{
  position: relative;
}

.mypage-membership-remove-btn{
  position: absolute;
  top: 10px;
  right: 10px;
  width: 28px;
  height: 28px;
  border: none;
  border-radius: 50%;
  font-size: 18px;
  cursor: pointer;
  line-height: 1;
}

.mypage-membership-remove-btn:hover{
  opacity: 0.6;
}

.mypage-membership-info-row_first{
  padding-bottom: 15px;
}


.mypage-membership-inline-actions,
.mypage-membership-block-actions{
  display: flex;
  gap: 12px;
  align-items: center;
}

.mypage-membership-inline-actions form,
.mypage-membership-block-actions form{
  margin: 0;
}


.mypage-membership-block-actions{
  display: none;
}


@media (max-width: 767px){
  .mypage-membership-block-actions{
    display: grid;
    justify-content: center;
    align-items: center;
  }
}

.mypage-membership-change-plan-list{
  display: grid;
  gap: 10px;
}

.mypage-membership-change-plan-list{
  display: grid;
  gap: 10px;
}

.mypage-membership-change-plan-item{
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  text-align: left;
  border: 1px solid #d6dde3;
  padding: 14px 16px;
  line-height: 1.5;
  transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

.mypage-membership-change-plan-item:hover{
  border-color: #b8c6d1;
}

.mypage-membership-change-plan-item.is-current{
  opacity: 0.5;
  pointer-events: none;
}

.mypage-membership-change-plan-item input[type="radio"]{
  -webkit-appearance: none;
  appearance: none;
  margin: 0;
  width: 26px;
  height: 26px;
  flex: 0 0 26px;
  border: 1px solid #b9c5cf;
  border-radius: 2px;
  position: relative;
  cursor: pointer;
}

.mypage-membership-change-plan-item input[type="radio"]:checked{
  background: #0b8fc7;
  border-color: #0b8fc7;
}

.mypage-membership-change-plan-item input[type="radio"]:checked::after{
  content: "";
  position: absolute;
  left: 8px;
  top: 5px;
  width: 6px;
  height: 12px;
  border: solid #fff;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.mypage-membership-change-plan-item span{
  display: block;
  font-size: 16px;
}

.paid-membership-cta-wrap{
  margin-top: 0px;
  padding-block: 0px;
}

.paid-membership-cta-panels{
  position: relative;
}

.paid-membership-cta-panel{
  width: 100%;
}

.paid-membership-cta-wrap .mypage-membership-subtabs-wrap{
  margin: 0 0 30px;
}

.paid-membership-cta-wrap .mypage-membership-subtab{
  padding-block: 15px;
  padding-inline: 20px;
}

.paid-membership-cta-wrap .premium-membership-notice{
  margin-top: 0;
}

.paid-membership-cta-wrap .mypage-membership-subtabs{
  margin-bottom: 30px;
}

@media (max-width: 767px){
.paid-membership-cta-wrap .mypage-membership-subtabs{
  margin-bottom: 0;
  justify-content: center;
}

.paid-membership-cta-wrap .mypage-membership-subtabs-wrap{
  margin-bottom: 20px;
}

.paid-membership-cta-wrap .mypage-membership-subtab{
  padding: 10px;
}

.mypage-membership-change-plan-item span{
  font-size: 14px;
}
}

.mypage-membership-change-breakdown{
  border: 1px solid #fff;
  padding: 15px;
  line-height: 1.8;
}

.mypage-membership-change-note{
  line-height: 1.8;
  font-size: 14px;
}

.mypage-membership-change-payment-label{
  margin-bottom: 0.5em;
}

.mypage-membership-change-breakdown-formula{
  margin-bottom: 0.5em;
}

.mypage-membership-change-summary-row{
  margin-bottom: 0.5em;
  font-size: 16px;
}

.mypage-membership-change-breakdown-toggle{
  transition: opacity 0.3s ease;
}

@media (hover: hover){
.mypage-membership-change-breakdown-toggle:hover{
  opacity: 0.6;
}
}

/* プラン一覧ショートコード */
.tcd-member-plan-list{
  display: grid;
  gap: 24px;
}

.tcd-member-plan-item{
  border: 1px solid #ddd;
  background: #fff;
  color: #000 !important;
}

.tcd-member-plan-item__name a{
  color: #000 !important;
  transition: opacity 0.3s ease;
}

@media (hover: hover){
.tcd-member-plan-item:hover{
  text-decoration: none;
}

.tcd-member-plan-item__name a:hover{
  text-decoration: none;
  opacity: 0.6;
}
}


.tcd-member-plan-item__head{
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 12px;
}

.tcd-member-plan-item__name{
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
}

.tcd-member-plan-item__price{
  font-size: 16px;
  font-weight: 500;
  white-space: nowrap;
}

.tcd-member-plan-item__desc{
  font-size: 16px;
  line-height: 1.8;
}


/* アーカイブページの有料プランのタブ */

.archive-member-plan-tabs-wrap{
}

.archive-member-plan-tabs{
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
  margin-bottom: 0 !important;
}

.archive-member-plan-tab{
  text-decoration: none;
}

@media (max-width: 1000px){
  .archive-member-plan-tabs-wrap{
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
  }

  .archive-member-plan-tabs-wrap::-webkit-scrollbar{
    height: 6px;
  }

  .archive-member-plan-tabs-wrap::-webkit-scrollbar-track{
    background: transparent;
  }

  .archive-member-plan-tabs-wrap::-webkit-scrollbar-thumb{
    background: transparent;
  }

  .archive-member-plan-tabs{
    display: inline-flex;
    min-width: max-content;
    width: max-content;
    justify-content: flex-start;
  }

  .archive-member-plan-tab{
    flex: 0 0 auto;
    white-space: nowrap;
  }
}


#mypage-membership-change-loading{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 16px 0 20px;
}

.mypage-membership-change-loading-spinner{
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: paidArticleSpin 0.8s linear infinite;
}

.mypage-membership-change-loading-text{
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

@keyframes paidArticleSpin {
  to {
    transform: rotate(360deg);
  }
}

.mypage-membership-change-body_inner{
  display: grid;
  gap: 15px;
}

.tcd-legacy-migration-notice{
  margin-bottom: 25px;
  padding: 40px;
  background: #fff;
  border: 1px solid #F6AA00;
  border-radius: 6px;
}

.tcd-legacy-migration-notice__title{
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 20px;
}

.tcd-legacy-migration-notice__text{
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 2.4;
}

.tcd-legacy-migration-notice__current{
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 2;
}

.tcd-legacy-migration-notice__actions{
  margin-top: 10px;
}

.tcd-legacy-migration-notice__actions{
  transition: opacity 0.3s ease;
}

@media (hover: hover){
.tcd-legacy-migration-notice__actions a:hover{
  color: #fff !important;
}

.tcd-legacy-migration-notice__actions:hover{
  opacity: 0.6;
}
}


.mypage-legacy-membership-cleanup-inner_text{
  line-height: 2.4;
  padding: 40px;
  border: 1px solid #F6AA00;
}

.mypage-legacy-membership-cleanup-inner_text_content{
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    display: grid;
    gap: 15px;
}

.legacy-membership-cancel-form{
  display: grid;
  gap: 30px;
}

.legacy-membership-cancel-list{
  display: grid;
  gap: 15px;
}

.mypage-membership-info-list-cancel-reserved{
  margin-top: 25px;
}

.mypage-membership-change-scheduled-note{
  color: #777;
}


.mypage-membership-info-card-inner{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0;
}

.mypage-membership-card-actions{
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px){
  .mypage-membership-info-card-inner{
    display: block;
  }
}

.mypage-membership-info-main{
  display: grid;
  gap: 20px;
}


#mypage-membership-change-overlay.is-transparent-overlay{
  background: transparent !important;
}

/*
body.membership-dialog-open {
  overflow: hidden;
}*/

#mypage-membership-change-overlay,
#mypage-membership-change-charge-overlay,
#mypage-membership-change-success-overlay{
  background: transparent !important;
}

.premium-membership-year-saving{
  font-size: 16px;
  font-weight: 600;
  color: #D90000;
  text-align: center;
}

@media (max-width: 767px){
.premium-membership-year-saving{
  font-size: 14px;
}

.premium-membership-trial{
  padding: 14px 16px;
}

.premium-membership-trial-main{
  font-size: 22px;
}

.premium-membership-trial-note{
  font-size: 12px;
}

.mypage-legacy-membership-cleanup-inner_text{
  padding: 30px;
  font-size: 14px;
} 

.tcd-legacy-migration-notice{
  padding: 30px;
  font-size: 14px;
}

.legacy-membership-cancel-item{
  font-size: 14px !important;
  padding: 8px !important;
}


.tcd-legacy-migration-notice__title{
  line-height: 1.6;
}
}

.premium-membership-price-choice input{
  margin: 0;
}

.premium-membership-price-choices{
  display: flex;
  justify-content: center;
  gap: 30px;
}


.mypage-membership-change-success-message{
  font-size: 14px;
  line-height: 1.8;
}

@media screen and (max-width: 1100px){
.mypage-membership-period-cell{
 display: grid;
}
}


@media screen and (max-width: 767px){
  .mypage-membership-period-cell{
    display: flex;
    flex-direction: column;
    gap: 6px;
  }


  .mypage-membership-period-date{
    text-align: end;
  }

  .mypage-membership-change-summary{
    font-size: 14px !important;
  }
}

.mypage-membership-change-scheduled-note{
  font-size: 16px;
  line-height: 1.6;
  font-weight:600;
  color: #00A32A;
}


@media screen and (max-width: 767px){
.mypage-membership-change-scheduled-note{
  font-size: 14px;
}


}



#paid-article-cta + .paid-membership-cta-wrap .mypage-membership-subtabs-wrap.plan-cta_articles{
  margin-top: 30px;
}


#paid-article-cta + .paid-membership-cta-wrap:not(:has(.plan-cta_articles)){
  margin-top: 30px;
}

@media (max-width: 1200px){


  .is-transparent-overlay{
    z-index: 99990;
  }


}


/* プラン一覧ショートコード */
.tcd-member-plan-list-wrap{
  position: relative;
  max-width: 100%;
  margin: 0 auto;
}

.tcd-member-plan-list{
  display: block;
  margin: 0;
  background: #fff;
  overflow: hidden;
}


.tcd-member-plan-list{
  border: none;
  background: transparent;
}


.tcd-member-plan-list .swiper-slide{
  border-right: none;
}


.tcd-member-plan-item{
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #000 !important;
  box-sizing: border-box;
  height: 100%;
}


.tcd-member-plan-item__name{
  position: relative;

  display: flex;
  justify-content: center;
  align-items: center;

  height: 60px;

  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;

  z-index: 2;

  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-right: 1px solid #ddd;
}


.tcd-member-plan-item__name.is-color-plan{
  border-color: var(--plan-color);
}


.tcd-member-plan-item__name.is-white-plan{
  border-color: #ddd;
}


.tcd-member-plan-item__body{
  display: flex;
  flex: 1;
  flex-direction: column;

  padding: 40px;
  padding-top: 35px;

  background: color-mix(in srgb, var(--plan-color) 10%, #fff 90%);

  border-left: 1px solid #ddd;
  border-bottom: 1px solid #ddd;
}


.tcd-member-plan-list .swiper-slide:last-child .tcd-member-plan-item__body{
  border-right: 1px solid #ddd;
}


.tcd-member-plan-item:has(.is-color-plan)
+ .tcd-member-plan-item
.tcd-member-plan-item__body{
  border-left-color: #ddd;
}


.tcd-member-plan-list .swiper-slide:last-child .tcd-member-plan-item{
  border-right: 1px solid #ddd;
}


.tcd-member-plan-list.is-single-slide
.tcd-member-plan-item__body{
  border-right: 1px solid #ddd;
}

.tcd-member-plan-list .swiper-wrapper{
  align-items: stretch;
}

.tcd-member-plan-list .swiper-slide{
  height: auto;
  box-sizing: border-box;
}


.tcd-member-plan-list .swiper-slide.is-visible-last{
  border-right: none;
}

.tcd-member-plan-list .swiper-slide{
  box-sizing: border-box;
}


.tcd-member-plan-list .swiper-slide:last-child{
  border-right: none;
}


.tcd-member-plan-list .swiper-wrapper:has(.swiper-slide:only-child){
  justify-content: center;
}


.tcd-member-plan-list .swiper-slide:only-child{
  width: 500px !important;
  max-width: 100%;
  flex-shrink: 0;
}


.tcd-member-plan-list.is-single-slide .swiper-slide{
  border-right: none;
}


.tcd-member-plan-item{
  position: relative;
  display: flex;
  flex-direction: column;
  background: #fff;
  color: #000 !important;
  box-sizing: border-box;
}


.tcd-member-plan-item__name{
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  text-align: center;
  color: #000;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 60px;
  border-bottom: 1px solid #ddd;
}


.tcd-member-plan-item__body{
  display: flex;
  flex: 1;
  flex-direction: column;
  padding:40px;
  padding-top: 30px;
}


.tcd-member-plan-item__body-top{
  display: grid;
  gap: 30px;
  align-content: start;
}


.tcd-member-plan-item__body-bottom{
  display: grid;
  gap: 20px;
  align-content: end;
  margin-top: auto;
  justify-content: center;
  align-items: center;
}

.tcd-member-plan-item__body{
  background: color-mix(in srgb, var(--plan-color) 10%, #fff 90%);
}


.tcd-member-plan-item__desc{
  margin-block: calc((1em - 1lh) / 2);
  font-size: 14px;
  line-height: 2;
  text-align: left;
}

.tcd-member-plan-item__desc::-webkit-scrollbar{
  display: none;
}

.tcd-member-plan-item__body-bottom{
  margin-top: max(40px, auto);
}


.tcd-member-plan-item__desc.fade-mask{
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 30%,
    black 70%,
    transparent 100%
  );

  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 30%,
    black 70%,
    transparent 100%
  );
}

.tcd-member-plan-item__desc.no-fade-top{
  mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 70%,
    transparent 100%
  );

  -webkit-mask-image: linear-gradient(
    to bottom,
    black 0%,
    black 70%,
    transparent 100%
  );
}

.tcd-member-plan-item__desc.no-fade-bottom{
  mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 30%,
    black 100%
  );

  -webkit-mask-image: linear-gradient(
    to bottom,
    transparent 0%,
    black 30%,
    black 100%
  );
}

.tcd-member-plan-item__desc.no-fade{
  mask-image: none;
  -webkit-mask-image: none;
}

.tcd-member-plan-item__price{
  position: relative;
  display: inline-block;
}

.tcd-member-plan-item__price-cycle{
  font-weight: 500;
  font-size: 16px;
}

.tcd-member-plan-item__saving-balloon{
  position: absolute;
  right: -60px;
  bottom: calc(100% - 20px);

  z-index: 2;

  display: inline-block;
  min-width: max-content;

  padding: 6px 10px;
  border-radius: 999px;

  background: #00A4DE;
  color: #fff;

  font-size: 0.5em;
  font-weight: 600;
  line-height: 1.4;

  opacity: 0;
  transform: translate(30%, -6px);
  pointer-events: none;

  transition:
    opacity 0.4s ease,
    transform 0.4s ease;
}

.tcd-member-plan-item__saving-balloon.is-show{
  opacity: 1;
  transform: translate(30%, -12px);
}


.tcd-member-plan-item__count{
  font-size: 14px;
  color: #666;
  text-align: center;
  line-height: 1;
}


.tcd-member-plan-item__price-wrap{
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 15px;
  padding-top: 35px;
}

.tcd-member-plan-item__year-saving{
  position: absolute;
  top: 5px;
  left: 75%;
  z-index: 2;
  transform: translateX(-50%) translateY(4px);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  min-height: 26px;
  padding: 6px 12px;

  background: #00A4DE;
  color: #fff;

  font-size: 12px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;

  opacity: 0;
  pointer-events: none;

  transition: opacity 0.3s ease, transform 0.3s ease;
}

.tcd-member-plan-item__year-saving::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: -4px;
  transform: translateX(-50%);

  width: 0;
  height: 0;

  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-top: 6px solid #00A4DE;
}

.tcd-member-plan-item__year-saving.is-show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.tcd-member-plan-item__price-switch{
  display: flex;
  justify-content: center;
  gap: 20px;
}

.tcd-member-plan-item__price-option{
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  line-height: 1;
}

/* プラン一覧：ラジオボタン */
.tcd-member-plan-item__price-option input[type="radio"]{
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.tcd-member-plan-item__price-option span{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.tcd-member-plan-item__price-option span::before{
  content: "";
  display: block;
  width: 20px;
  height: 20px;
  border: 1px solid #bbb;
  border-radius: 50%;
  background: #fff;
  box-sizing: border-box;
}

.tcd-member-plan-item__price-option span::after{
  content: "";
  position: absolute;
  left: 6px;
  top: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #00A4DE;
  transform: translateY(-50%) scale(0);
  transition: transform 0.2s ease;
}

.tcd-member-plan-item__price-option input[type="radio"]:checked + span::after{
  transform: translateY(-50%) scale(1);
}

.tcd-member-plan-item__price-option input[type="radio"]:checked + span::before{
  border-color: #bbb;
}

.tcd-member-plan-item__price{
  font-size: 22px;
  font-weight: 600;
  line-height: 1.2;
  text-align: center;
  color: #000;
}


.tcd-member-plan-item__button{
  display: grid;
  place-items: center;
  justify-content: center;
  width: 200px;
  min-height: 60px;
  background-color: #fff;

  border-radius: 4px;
  border: 1px solid #000;

  padding: 0 25px;

  font-size: 15px;
  line-height: 1.4;

  color: #000 !important;
  text-decoration: none !important;
  text-align: center;

  transition:
    background-color 0.3s ease,
    color 0.3s ease,
    border-color 0.3s ease;
}

@media (hover: hover){
  .tcd-member-plan-item__button:hover{
    background: #000;
    color: #fff !important;
  }
}


.tcd-member-plan-list-arrow{
  position: absolute;
  top: 50%;
  z-index: 5;

  width: 48px;
  height: 48px;

  border: none;
  background: transparent;

  cursor: pointer;

  transform: translateY(-50%);
}

.tcd-member-plan-list-arrow--prev{
  left: -64px;
}

.tcd-member-plan-list-arrow--next{
  right: -64px;
}

.tcd-member-plan-list-arrow::before{
  content: "";

  display: block;

  width: 14px;
  height: 14px;

  margin: auto;

  border-top: 2px solid #000;
  border-right: 2px solid #000;
}

.tcd-member-plan-list-arrow--prev::before{
  transform: rotate(-135deg);
}

.tcd-member-plan-list-arrow--next::before{
  transform: rotate(45deg);
}

.tcd-member-plan-list-arrow.swiper-button-disabled{
  opacity: 0.25;
  pointer-events: none;
}

@media (hover: hover){
  .tcd-member-plan-list-arrow:hover{
    opacity: 0.6;
  }
}


.tcd-member-plan-list-wrap{
  max-width: 100%;
  margin: 0 auto;
  position: relative;
  margin-bottom: 80px !important;
}

.tcd-member-plan-list-wrap.is-no-post-list{
  margin-bottom: 40px !important;
}

.tcd-member-plan-list{
  overflow: hidden;
}

.tcd-member-plan-list .swiper-slide{
  width: 400px;
  max-width: 400px;
  flex-shrink: 0;
}

.tcd-member-plan-item{
  height: 100%;
}


.tcd-member-plan-list-scrollbar{
  position: relative !important;
  left: auto !important;
  bottom: auto !important;
  width: 100% !important;
  height: 4px !important;
  margin-top: 32px;
  background: #e5e5e5;
  border-radius: 999px;
}

.tcd-member-plan-list-scrollbar .swiper-scrollbar-drag{
  height: 4px;
  background: #000;
  border-radius: 999px;
}

.tcd-member-plan-list-scrollbar .swiper-scrollbar-drag:active{
  cursor: grabbing;
}


.tcd-member-plan-list.is-fit-slides{
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}


.tcd-member-plan-list.is-fit-slides .swiper-wrapper{
  justify-content: flex-start;
}


.tcd-member-plan-list.is-fit-slides + .tcd-member-plan-list-scrollbar{
  display: none;
}


.tcd-member-plan-list.is-fit-slides .swiper-wrapper{
  justify-content: center;
}


.tcd-member-plan-list.is-fit-slides .swiper-slide:last-child{
  border-right: none;
}


.tcd-member-plan-list.is-fit-slides + .tcd-member-plan-list-scrollbar{
  display: none;
}

.tcd-member-plan-list.is-fit-slides .swiper-wrapper{
  justify-content: center;
}

.tcd-member-plan-list.is-fit-slides .swiper-slide:last-child{
  border-right: none;
}

.tcd-member-plan-list.is-fit-slides + .tcd-member-plan-list-scrollbar{
  display: none;
}

.tcd-member-plan-post-list .blog_list .title{
  text-align: left;
  font-size: 16px;
  margin-block: 0;
}

.tcd-member-plan-post-list .blog_list .title a{
  color: #000;
}

.tcd-member-plan-posts{
  display: grid;
  gap: 40px;
}

.tcd-member-plan-posts .mypage-membership-subtab{
  color: #000;
}

@media (hover: hover){
.tcd-member-plan-posts .mypage-membership-subtab:hover{
  text-decoration: none;
}
}


@media screen and (max-width: 767px){
  .tcd-member-plan-list .swiper-slide{
    width: 86vw;
    max-width: 86vw;
  }

  .tcd-member-plan-list-scrollbar{
    margin-top: 24px;
  }
}


.tcd-member-plan-item__year-saving[hidden]{
  display: none;
}


.tcd-member-plan-item__year-saving.is-show{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

.tcd-member-plan-item__year-saving[hidden]{
  display: none;
}


.tcd-member-plan-item__name{
  position: relative;
  border-bottom: 1px solid #ddd;
  z-index: 2;
}


.tcd-member-plan-item__name.is-white-plan{
  margin-top: 0;
  margin-right: 0;
  height: 60px;
  border-bottom-color: #ddd;
}

@media screen and (max-width: 1100px){

  .tcd-member-plan-list-arrow--prev{
    left: 10px;
  }

  .tcd-member-plan-list-arrow--next{
    right: 10px;
  }

}


/* アーカイブページの有料プランのタブ */


.archive-member-plan-tabs{
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  align-items: stretch;
}

.archive-member-plan-tab{
  text-decoration: none;
}

@media (max-width: 1000px){
  .archive-member-plan-tabs-wrap{
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: transparent transparent;
  }

  .archive-member-plan-tabs-wrap::-webkit-scrollbar{
    height: 6px;
  }

  .archive-member-plan-tabs-wrap::-webkit-scrollbar-track{
    background: transparent;
  }

  .archive-member-plan-tabs-wrap::-webkit-scrollbar-thumb{
    background: transparent;
  }

  .archive-member-plan-tabs{
    display: inline-flex;
    min-width: max-content;
    width: max-content;
    justify-content: flex-start;
  }

  .archive-member-plan-tab{
    flex: 0 0 auto;
    white-space: nowrap;
  }
}


#mypage-membership-change-loading{
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  margin: 16px 0 20px;
}

.mypage-membership-change-loading-spinner{
  width: 28px;
  height: 28px;
  border: 3px solid rgba(255,255,255,0.25);
  border-top-color: #fff;
  border-radius: 50%;
  animation: paidArticleSpin 0.8s linear infinite;
}

.mypage-membership-change-loading-text{
  margin: 0;
  font-size: 14px;
  line-height: 1.7;
  text-align: center;
}

@keyframes paidArticleSpin {
  to {
    transform: rotate(360deg);
  }
}

.mypage-membership-change-body_inner{
  display: grid;
  gap: 15px;
}

.tcd-legacy-migration-notice{
  margin-bottom: 25px;
  padding: 40px;
  background: #fff;
  border: 1px solid #F6AA00;
  border-radius: 6px;
}

.tcd-legacy-migration-notice__title{
  font-weight: bold;
  font-size: 16px;
  margin-bottom: 20px;
}

.tcd-legacy-migration-notice__text{
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 2.4;
}

.tcd-legacy-migration-notice__current{
  font-size: 14px;
  margin-bottom: 20px;
  line-height: 2;
}

.tcd-legacy-migration-notice__actions{
  margin-top: 10px;
}

.tcd-legacy-migration-notice__actions{
  transition: opacity 0.3s ease;
}

@media (hover: hover){
.tcd-legacy-migration-notice__actions a:hover{
  color: #fff !important;
}

.tcd-legacy-migration-notice__actions:hover{
  opacity: 0.6;
}
}


.mypage-legacy-membership-cleanup-inner_text{
  line-height: 2.4;
  padding: 40px;
  border: 1px solid #F6AA00;
}

.mypage-legacy-membership-cleanup-inner_text_content{
    margin-top: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #ddd;
    display: grid;
    gap: 15px;
}

.legacy-membership-cancel-form{
  display: grid;
  gap: 30px;
}

.legacy-membership-cancel-list{
  display: grid;
  gap: 15px;
}

.mypage-membership-info-list-cancel-reserved{
  margin-top: 25px;
}

.mypage-membership-change-scheduled-note{
  color: #777;
}


.mypage-membership-info-card-inner{
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 0;
}

.mypage-membership-card-actions{
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
}

@media (max-width: 767px){
  .mypage-membership-info-card-inner{
    display: block;
  }
}

.mypage-membership-info-main{
  display: grid;
  gap: 20px;
}


#mypage-membership-change-overlay.is-transparent-overlay{
  background: transparent !important;
}

body.membership-dialog-open{
  overflow: hidden;
}

#mypage-membership-change-overlay,
#mypage-membership-change-charge-overlay,
#mypage-membership-change-success-overlay{
  background: transparent !important;
}

.premium-membership-year-saving{
  font-size: 16px;
  font-weight: 600;
  color: #D90000;
  text-align: center;
}

@media (max-width: 767px){
.premium-membership-year-saving{
  font-size: 14px;
}

.mypage-legacy-membership-cleanup-inner_text{
  padding: 30px;
  font-size: 14px;
} 

.tcd-legacy-migration-notice{
  padding: 30px;
  font-size: 14px;
}

.legacy-membership-cancel-item{
  font-size: 14px !important;
  padding: 8px !important;
}


.tcd-legacy-migration-notice__title{
  line-height: 1.6;
}
}

.premium-membership-price-choice input{
  margin: 0;
}

.premium-membership-price-choices{
  display: flex;
  justify-content: center;
  gap: 30px;
}


.mypage-membership-change-success-message{
  font-size: 14px;
  line-height: 1.8;
}

@media screen and (max-width: 1100px){
.mypage-membership-period-cell{
 display: grid;
}
}


@media screen and (max-width: 767px){
  .mypage-membership-period-cell{
    display: flex;
    flex-direction: column;
    gap: 6px;
  }


  .mypage-membership-period-date{
    text-align: end;
  }

  .mypage-membership-change-summary{
    font-size: 14px !important;
  }
}

.mypage-membership-change-scheduled-note{
  font-size: 16px;
  line-height: 1.6;
  font-weight:600;
  color: #00A32A;
}

@media screen and (max-width: 767px){
.mypage-membership-change-scheduled-note{
  font-size: 14px;
}
}


.plan-page-subscribe-area{
  display: flex;
  justify-content: center;
  align-items: center; 
  margin-bottom: 70px;
}

.plan-page-load-more-wrap{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 70px;
  margin-bottom: 40px;
}

.tcd-member-plan-post-list .no_post{
  display: flex;
  justify-content: center;
  align-items: center;
}


.tcd-member-plan-post-list{
  opacity: 1;
  transition: opacity 0.25s ease;
}

.tcd-member-plan-post-list.is-fade-out{
  opacity: 0;
}

.tcd-member-plan-post-list.is-fade-in{
  animation: tcdMemberPlanPostsFadeIn 0.45s ease both;
}

@keyframes tcdMemberPlanPostsFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.tcd-member-plan-post-headline{
  text-align: center;
  font-size: 24px;
  line-height: 1.6;
  font-weight: 600;
  margin-block: calc((1em - 1lh) / 2) !important;
}

@media (max-width: 767px){
  .tcd-member-plan-post-headline{
    margin: 45px 0 25px;
    font-size: 20px;
  }
}


.tcd-member-plan-post-list article.item.is-ajax-added{
  opacity: 0;
  transform: translateY(12px);
}

.tcd-member-plan-post-list article.item.is-ajax-added.is-show{
  animation: tcdMemberPlanPostsItemFadeIn 0.45s ease both;
}

@keyframes tcdMemberPlanPostsItemFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}


@media screen and (max-width: 767px){

  .tcd-member-plan-list-wrap{
    width: calc(100% + 40px);
    max-width: none;
    margin-left: -20px;
    margin-right: -20px;
    overflow: hidden;
    margin-bottom: 40px !important;
  }

  .tcd-member-plan-list{
    overflow: visible;
  }


  .tcd-member-plan-list-scrollbar{
    margin-inline: 20px;
    width: calc(100% - 40px) !important;
  }

  .tcd-member-plan-posts{
    gap: 30px;
  }

  .plan-page-load-more-wrap{
  margin-top: 30px;
  margin-bottom: 0px;
}
}

.tcd-member-plan-item__name.is-color-plan{
  position: relative;
}


/* ========================================
   プラン一覧：ラジオボタン hover cursor
======================================== */


.tcd-member-plan-item__price-option{
  cursor: pointer;
}


.tcd-member-plan-item__price-option span{
  cursor: pointer;
}


.tcd-member-plan-item__price-option span::before,
.tcd-member-plan-item__price-option span::after{
  cursor: pointer;
}


.tcd-member-plan-list-wrap{
  cursor: grab;
}

.tcd-member-plan-list-wrap:active{
  cursor: grabbing;
}


.tcd-member-plan-list,
.tcd-member-plan-list .swiper-wrapper,
.tcd-member-plan-list .swiper-slide{
  cursor: inherit;
}


@media (max-width: 767px){

  .archive-member-plan-tabs-wrap{
    margin-inline: -20px;
    padding-inline: 20px;
    text-align: center;
  }


}


.tcd-member-plan-item__name.is-color-plan{
  border-inline: 1px solid var(--plan-color);
}


.tcd-member-plan-item:has(.is-white-plan)
+ .tcd-member-plan-item:has(.is-color-plan)
.tcd-member-plan-item__name.is-color-plan{
  border-left-color: var(--plan-color);
}


.tcd-member-plan-item__name.is-color-plan{
  left: auto !important;
  width: 100% !important;
  margin-left: 0 !important;
  box-sizing: border-box;
  border-inline: 1px solid var(--plan-color);
}


.tcd-member-plan-item:has(.tcd-member-plan-item__name.is-white-plan):has(+ .tcd-member-plan-item .tcd-member-plan-item__name.is-color-plan)
.tcd-member-plan-item__name.is-white-plan{
  border-right-color: transparent;
}


.tcd-member-plan-item__name.is-color-plan{
  border-right-color: var(--plan-color) !important;
}


.tcd-member-plan-item__name.is-color-plan{
  position: relative;
}

.tcd-member-plan-item__name.is-color-plan::after{
  content: "";
  position: absolute;
  top: -1px;
  right: -2px;
  bottom: -1px;
  width: 1px;
  background: var(--plan-color);
  z-index: 3;
  pointer-events: none;
}

.tcd-member-plan-item:has(.tcd-member-plan-item__name.is-color-plan)
+ .tcd-member-plan-item:has(.tcd-member-plan-item__name.is-white-plan)
.tcd-member-plan-item__name.is-white-plan{
  border-left-color: transparent;
}


.tcd-member-plan-list .swiper-slide:has(.tcd-member-plan-item__name.is-color-plan){
  position: relative;
  z-index: 2;
}

.tcd-member-plan-list .swiper-slide:has(.tcd-member-plan-item__name.is-white-plan){
  position: relative;
  z-index: 1;
}

@media (hover: hover){
.tcd-member-plan-posts .blog_list a:hover{
  text-decoration: none;
}

.tcd-member-plan-posts .blog_list .title a:hover{
  opacity: 0.6;
}
}


.tcd-member-plan-item:has(.tcd-member-plan-item__name.is-white-plan):has(+ .tcd-member-plan-item .tcd-member-plan-item__name.is-white-plan)
.tcd-member-plan-item__name.is-white-plan{
  border-right-color: transparent;
}

@media screen and (max-width: 767px){
  .tcd-member-plan-list .swiper-slide:last-child
  .tcd-member-plan-item__name.is-color-plan::after{
    display: none;
  }
}


.tcd-member-plan-load-more{
  position: relative;
}

.tcd-member-plan-load-more.is-loading{
  pointer-events: none;
  color: transparent !important;
  border-color: transparent !important;
  background: transparent !important;
}

.tcd-member-plan-load-more.is-loading::before,
.tcd-member-plan-load-more.is-loading::after,
.tcd-member-plan-load-more.is-loading .tcd-loading-dot-center{
  content: "";
  position: absolute;
  top: 50%;
  display: block;
  width: 14px;
  height: 14px;
  background: #000;
  border-radius: 50%;
  animation: tcd-member-plan-ajax-load-animation 1.8s infinite ease-in-out;
  animation-fill-mode: both;
}

.tcd-member-plan-load-more.is-loading::before{
  left: calc(50% - 32px);
  transform: translateY(-50%);
  animation-delay: -0.32s;
}

.tcd-member-plan-load-more.is-loading .tcd-loading-dot-center{
  left: 50%;
  transform: translate(-50%, -50%);
  animation-delay: -0.16s;
}

.tcd-member-plan-load-more.is-loading::after{
  left: calc(50% + 18px);
  transform: translateY(-50%);
  animation-delay: 0s;
}

@keyframes tcd-member-plan-ajax-load-animation {
  0%,
  80%,
  100% {
    opacity: 0;
    transform: translateY(-50%) scale(0.2);
  }

  40% {
    opacity: 1;
    transform: translateY(-50%) scale(1);
  }
}


.tcd-member-plan-load-more.is-loading .tcd-loading-dot-center{
  animation-name: tcd-member-plan-ajax-load-animation-center;
}

@keyframes tcd-member-plan-ajax-load-animation-center {
  0%,
  80%,
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.2);
  }

  40% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}


@media (min-width: 768px){

  .tcd-member-plan-list-wrap.is-wide-plan-layout{
    width: min(1200px, calc(100vw - 40px));
    max-width: none;
    margin-left: 50%;
    margin-right: 0;
    transform: translateX(-50%);
  }

  .tcd-member-plan-list-wrap.is-wide-plan-layout.is-plan-overflow{
    width: min(1250px, calc(100vw - 40px));
  }

  .tcd-member-plan-list-wrap.is-wide-plan-layout .tcd-member-plan-item{
    width: 500px;
    flex: 0 0 500px;
  }
}


.tcd-member-plan-list{
  overflow: hidden;
}

.tcd-member-plan-list .splide__track{
  overflow: hidden;
}

.tcd-member-plan-list .splide__list{
  align-items: stretch;
}

.tcd-member-plan-list .splide__slide{
  width: 400px;
  max-width: 400px;
  flex-shrink: 0;
  height: auto;
  box-sizing: border-box;
}

.tcd-member-plan-item{
  height: 100%;
}

.tcd-member-plan-list.is-fit-slides{
  width: fit-content;
  max-width: 100%;
  margin-inline: auto;
}

.tcd-member-plan-list.is-fit-slides .splide__list{
  justify-content: center;
}

.tcd-member-plan-list.is-fit-slides + .tcd-member-plan-list-scrollbar{
  display: none;
}

.tcd-member-plan-list-scrollbar{
  position: relative;
  width: 100%;
  height: 4px;
  margin-top: 32px;
  background: #e5e5e5;
  border-radius: 999px;
  overflow: hidden;
}

.tcd-member-plan-list-scrollbar-drag{
  height: 4px;
  background: #000;
  border-radius: 999px;
}

.tcd-member-plan-list-wrap{
  cursor: grab;
}

.tcd-member-plan-list-wrap:active{
  cursor: grabbing;
}

.tcd-member-plan-list,
.tcd-member-plan-list .splide__track,
.tcd-member-plan-list .splide__list,
.tcd-member-plan-list .splide__slide{
  cursor: inherit;
}

@media screen and (max-width: 767px){
  .tcd-member-plan-list .splide__slide{
    width: 86vw;
    max-width: 86vw;
  }

  .tcd-member-plan-list-scrollbar{
    margin-top: 24px;
  }
}

/* Splide用：プラン一覧 border補正 */
.tcd-member-plan-list .splide__list{
  align-items: stretch;
}

.tcd-member-plan-list .splide__slide{
  box-sizing: border-box;
  height: auto;
}


.tcd-member-plan-list .splide__slide,
.tcd-member-plan-list .tcd-member-plan-item{
  border: none !important;
}


.tcd-member-plan-list .tcd-member-plan-item__name{
  border-top: 1px solid #ddd;
  border-left: 1px solid #ddd;
  border-right: 0;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box;
}


.tcd-member-plan-list .tcd-member-plan-item__body{
  border-left: 1px solid #ddd;
  border-right: 0;
  border-bottom: 1px solid #ddd;
  box-sizing: border-box;
}


.tcd-member-plan-list .splide__slide:last-child .tcd-member-plan-item__name,
.tcd-member-plan-list .splide__slide:last-child .tcd-member-plan-item__body{
  border-right: 1px solid #ddd;
}


.tcd-member-plan-list.is-single-slide .tcd-member-plan-item__name,
.tcd-member-plan-list.is-single-slide .tcd-member-plan-item__body{
  border-right: 1px solid #ddd;
}


.tcd-member-plan-list .tcd-member-plan-item__name.is-color-plan{
  border-color: var(--plan-color);
}


.tcd-member-plan-list .tcd-member-plan-item__name.is-color-plan + .tcd-member-plan-item__body,
.tcd-member-plan-list .tcd-member-plan-item__body{
  border-color: #ddd;
}


.tcd-member-plan-list .tcd-member-plan-item__name.is-white-plan{
  border-color: #ddd;
}

.tcd-member-plan-list-scrollbar{
  cursor: pointer;
}

.tcd-member-plan-list-scrollbar-drag{
  cursor: grab;
}

.tcd-member-plan-list-scrollbar-drag:active{
  cursor: grabbing;
}

.tcd-member-plan-list.is-single-slide .splide__slide{
  max-width: 500px;
  width: 500px;
}


.tcd-member-plan-list.is-no-slider,
.tcd-member-plan-list.is-no-slider *,
.tcd-member-plan-list-wrap:has(.tcd-member-plan-list.is-no-slider){
  cursor: default;
}


.tcd-member-plan-list.is-no-slider button,
.tcd-member-plan-list.is-no-slider label,
.tcd-member-plan-list.is-no-slider input[type="radio"],
.tcd-member-plan-list.is-no-slider .tcd-member-plan-item__price-option,
.tcd-member-plan-list.is-no-slider .tcd-member-plan-item__price-option span{
  cursor: pointer;
}

.tcd-member-plan-list:not(.is-no-slider) .splide__track{
  cursor: grab;
  touch-action: pan-y;
}

.tcd-member-plan-list:not(.is-no-slider) .splide__track:active{
  cursor: grabbing;
}

.tcd-member-plan-list:not(.is-no-slider) .splide__list,
.tcd-member-plan-list:not(.is-no-slider) .splide__slide{
  user-select: none;
  -webkit-user-select: none;
}

.tcd-member-plan-posts.is-lp-single-column .blog_list{
  grid-template-columns: 1fr;
}

.tcd-member-plan-posts.is-lp-two-column .blog_list{
  grid-template-columns: repeat(2, 1fr);
}

@media screen and (max-width: 767px){
  .tcd-member-plan-posts .blog_list{
    grid-template-columns: 1fr !important;
  }
}

@media screen and (max-width: 767px){
  .tcd-member-plan-list.is-single-slide .splide__slide{
    width: 100% !important;
    max-width: 100% !important;
  }

  .tcd-member-plan-list.is-single-slide{
    width: 100%;
    margin-inline: auto;
  }

  .tcd-member-plan-list-wrap:has(.is-single-slide){
    margin-inline: 0;
    width: 100%;
  }
}


@media (hover: hover){
  .tcd-member-plan-post-tabs .mypage-membership-subtab:hover{
    opacity: 1 !important;
  }

  .tcd-member-plan-post-tabs .mypage-membership-subtab:hover > span{
    opacity: 0.5;
  }
}


/* プラン一覧の該当記事一覧：タイトルリンクのクリック範囲をカード全体に広げる */
.tcd-member-plan-post-list .blog_list article.item{
  position: relative;
}

.tcd-member-plan-post-list .blog_list .title a::after{
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}


.tcd-member-plan-post-list .blog_list .mypage-article-category-list,
.tcd-member-plan-post-list .blog_list .mypage-article-category-list a,
.tcd-member-plan-post-list .blog_list .mypage-article-category{
	position: relative;
	z-index: 2;
}

.tcd-member-plan-post-list .blog_list .title{
  position: static;
}


.paid-article-locked-cta-group > .paid-membership-cta-wrap{
	margin-top: 0;
}


/* デフォルトテーマ用のショートコード「プラン一覧」のレイアウト調整 */
.tcd-member-plan-list-wrap{
	max-width: 1200px;
	margin-left: auto;
	margin-right: auto;
}

.tcd-member-plan-list:not(.is-initialized) .splide__list,
.tcd-member-plan-list .splide__list{
	display: flex;
	align-items: stretch;
}

.tcd-member-plan-list-wrap.is-plan-count-2 .tcd-member-plan-item,
.tcd-member-plan-list-wrap.is-plan-count-3 .tcd-member-plan-item{
	width: 50%;
	flex: 0 0 50%;
}

@media (max-width: 767px){
	.tcd-member-plan-list-wrap.is-plan-count-2 .tcd-member-plan-item,
.tcd-member-plan-list-wrap.is-plan-count-3 .tcd-member-plan-item{
		width: 100%;
		flex: 0 0 100%;
	}
}


/* プラン一覧：本文幅を抜けて中央寄せ */
.tcd-member-plan-list-wrap{
	position: relative;
	left: 50%;
	transform: translateX(-50%);
	margin-left: 0;
	margin-right: 0;
	max-width: calc(100vw - 40px);
}

/* ==========================================================
 * プラン一覧：1〜3件の表示制御
 * ========================================================== */


@media screen and (min-width: 768px){


	.tcd-member-plan-list-wrap.is-plan-count-1,
.tcd-member-plan-list-wrap.is-plan-count-2,
.tcd-member-plan-list-wrap.is-plan-count-3{
		position: relative;
		left: 50%;
		transform: translateX(-50%);

		max-width: calc(100vw - 40px);
		margin-left: 0;
		margin-right: 0;
	}


	.tcd-member-plan-list-wrap.is-plan-count-1{
		width: min(500px, calc(100vw - 40px));
	}

	.tcd-member-plan-list-wrap.is-plan-count-1 .splide__track,
.tcd-member-plan-list-wrap.is-plan-count-1 .tcd-member-plan-list{
		width: 100%;
	}

	.tcd-member-plan-list-wrap.is-plan-count-1 .splide__list{
		display: grid !important;
		grid-template-columns: minmax(0, 500px);
		justify-content: center;
		width: 100% !important;
		transform: none !important;
	}


	.tcd-member-plan-list-wrap.is-plan-count-2{
		width: min(800px, calc(100vw - 40px));
	}

	.tcd-member-plan-list-wrap.is-plan-count-2 .splide__track,
.tcd-member-plan-list-wrap.is-plan-count-2 .tcd-member-plan-list{
		width: 100%;
	}

	.tcd-member-plan-list-wrap.is-plan-count-2 .splide__list{
		display: grid !important;
		grid-template-columns: repeat(2, 400px);
		justify-content: center;
		width: 100% !important;
		transform: none !important;
	}


	.tcd-member-plan-list-wrap.is-plan-count-3{
		width: min(1200px, calc(100vw - 40px));
	}

	.tcd-member-plan-list-wrap.is-plan-count-3 .tcd-member-plan-list,
.tcd-member-plan-list-wrap.is-plan-count-3 .splide__track{
		width: 100%;
		max-width: none;
	}

	.tcd-member-plan-list-wrap.is-plan-count-3 .splide__list{
		display: grid !important;
		grid-template-columns: repeat(3, 400px);
		justify-content: center;
		width: 1200px !important;
		max-width: none !important;
		transform: none !important;
	}


	.tcd-member-plan-list-wrap.is-plan-count-1 .splide__slide{
		width: 500px !important;
		max-width: 500px !important;
		min-width: 0;
		flex: none !important;
	}

	.tcd-member-plan-list-wrap.is-plan-count-2 .splide__slide,
.tcd-member-plan-list-wrap.is-plan-count-3 .splide__slide{
		width: 400px !important;
		max-width: 400px !important;
		min-width: 400px !important;
		flex: none !important;
	}


	.tcd-member-plan-list-wrap.is-plan-count-1
	.tcd-member-plan-list-scrollbar,
.tcd-member-plan-list-wrap.is-plan-count-2
	.tcd-member-plan-list-scrollbar,
.tcd-member-plan-list-wrap.is-plan-count-3
	.tcd-member-plan-list-scrollbar{
		display: none !important;
	}
}


@media screen and (max-width: 767px){

	.tcd-member-plan-list-wrap,
.tcd-member-plan-list-wrap.is-plan-count-1,
.tcd-member-plan-list-wrap.is-plan-count-2,
.tcd-member-plan-list-wrap.is-plan-count-3,
.tcd-member-plan-list-wrap.is-plan-overflow{
		width: calc(100% + 40px) !important;
		max-width: none !important;

		left: auto;
		transform: none;

		margin-left: -20px !important;
		margin-right: -20px !important;
	}


	.tcd-member-plan-list-wrap.is-plan-count-1 .splide__list{
		display: flex !important;
		justify-content: center !important;
		width: 100% !important;
		transform: none !important;
	}

	.tcd-member-plan-list-wrap.is-plan-count-1 .splide__slide{
		width: calc(100vw - 40px) !important;
		max-width: calc(100vw - 40px) !important;
		flex: 0 0 calc(100vw - 40px) !important;
	}


	.tcd-member-plan-list-wrap.is-plan-count-2 .splide__list,
.tcd-member-plan-list-wrap.is-plan-count-3 .splide__list{
		display: flex !important;
		flex-flow: row nowrap !important;
		justify-content: flex-start !important;
	}

	.tcd-member-plan-list-wrap.is-plan-count-2 .splide__slide,
.tcd-member-plan-list-wrap.is-plan-count-3 .splide__slide{
		width: calc(100vw - 70px) !important;
		max-width: calc(100vw - 70px) !important;
		min-width: 0 !important;
		flex: 0 0 calc(100vw - 70px) !important;
	}

	.tcd-member-plan-list-wrap.is-plan-count-1
	.tcd-member-plan-list-scrollbar{
		display: none !important;
	}

	.tcd-member-plan-list-wrap.is-plan-count-2
	.tcd-member-plan-list-scrollbar,
.tcd-member-plan-list-wrap.is-plan-count-3
	.tcd-member-plan-list-scrollbar{
		display: block !important;
	}
}


@media (min-width: 768px){

	.tcd-member-plan-list-wrap.is-plan-count-1 .tcd-member-plan-list-scrollbar,
.tcd-member-plan-list-wrap.is-plan-count-2 .tcd-member-plan-list-scrollbar,
.tcd-member-plan-list-wrap.is-plan-count-3 .tcd-member-plan-list-scrollbar{
		display: none !important;
	}
}


@media (max-width: 767px){

	.tcd-member-plan-list-wrap.is-plan-count-1 .tcd-member-plan-list-scrollbar{
		display: none !important;
	}

	.tcd-member-plan-list-wrap.is-plan-count-2 .tcd-member-plan-list-scrollbar,
.tcd-member-plan-list-wrap.is-plan-count-3 .tcd-member-plan-list-scrollbar{
		display: block !important;
	}
}
.is-license-locked{
	opacity: 0.45;
}


/* ==========================================
 * マイページ フリースペース
 * HTML入力時のみ最低限のレイアウトを整える
 * ========================================== */

.mypage_free_space_content--html{
	font-size: 16px;
	line-height: 1.9;
	overflow-wrap: anywhere;
	box-sizing: border-box;
}

.mypage_free_space_content--html > *:first-child{
	margin-top: 0;
}

.mypage_free_space_content--html > *:last-child{
	margin-bottom: 0;
}

.mypage_free_space_content--html img{
	max-width: 100%;
	height: auto;
}

@media screen and (max-width: 767px){
	.mypage_free_space_content--html{
		font-size: 14px;
		line-height: 1.85;
	}
}


.mypage-paid-article .mypage_free_space{
	width: 100%;
	max-width: 1000px;
	min-width: 0;
	margin-left: auto;
	margin-right: auto;
}


@media screen and (max-width: 767px){
	.mypage-paid-article .mypage_free_space{
		width: 100%;
		max-width: none;
	}


}


#mypage-membership-change-charge-confirm
#mypage-membership-change-breakdown{
	display: none;
}

#mypage-membership-change-charge-confirm
#mypage-membership-change-breakdown.is-open:not([hidden]){
	display: block !important;
}





/* ========================================
 * 単品購入CTA＋定期購読CTA
 * 記事本文幅に収める
 * ======================================== */


.paid-article-locked-cta-group > .paid-membership-cta-wrap{
	position: static;

	width: 100%;
	max-width: 100%;
	min-width: 0;

	margin-left: 0;
	margin-right: 0;

	transform: none;
	box-sizing: border-box;
}

/* 定期購読CTAの内側 */
.paid-article-locked-cta-group .paid-membership-cta-panels,
.paid-article-locked-cta-group .paid-membership-cta-panel,
.paid-article-locked-cta-group .premium-membership-notice{
	width: 100%;
	max-width: 100%;
	min-width: 0;

	margin-left: 0;
	margin-right: 0;

	box-sizing: border-box;
}

/*
 * The Free plugin's .premium-notice centers its implicit grid track, which makes
 * the track shrink to the width of its contents.  The trial panel's width:100%
 * therefore used that narrow track instead of the notice content box.  For the
 * article subscription CTA only, make the grid track span the full inner width.
 * The notice's existing horizontal padding is kept, so the trial panel ends at
 * the padding edges rather than at the outer gray background edges.
 */
.paid-article-locked-cta-group .premium-membership-notice{
	justify-content: stretch;
	grid-template-columns: minmax(0, 1fr);
}

.paid-article-locked-cta-group .premium-membership-trial{
	width: 100%;
	max-width: none;
	justify-self: stretch;
	box-sizing: border-box;
}


.paid-article-locked-cta-group .premium-membership-checkout-form{
	width: 100%;
	max-width: 100%;
	margin: 0;
	box-sizing: border-box;
}


@media screen and (max-width: 767px){


  .premium-membership-plan-name{
    font-size: 20px;
  }

  #paid-article-cta + .paid-membership-cta-wrap .mypage-membership-subtabs-wrap.plan-cta_articles{
    margin-top: 0px;
  }
}


@media screen and (max-width: 767px){

	.mypage_free_space--custom,
.mypage_free_space--full{
		width: calc(var(--mypage-viewport-width, 100vw) - 40px) !important;
		max-width: calc(var(--mypage-viewport-width, 100vw) - 40px) !important;
		left: 50% !important;
		transform: translateX(-50%) !important;
		margin-left: 0 !important;
		margin-right: 0 !important;
		box-sizing: border-box;
	}

	.mypage_free_space--custom .mypage_free_space_content,
.mypage_free_space--full .mypage_free_space_content{
		width: 100%;
		max-width: none;
		box-sizing: border-box;
	}

}

.tcd-member-plan-post-card-list{
  display: grid;
  gap: 25px;
  grid-template-columns: 1fr 1fr;
}


/* ==========================================================
 * プラン一覧：SPでは親の左右20px余白を打ち消す
 * ========================================================== */
@media screen and (max-width: 767px){

	.tcd-member-plan-list-wrap{
		width: calc(100% + 40px) !important;
		max-width: none !important;

		margin-left: -20px !important;
		margin-right: -20px !important;
	}

	.tcd-member-plan-list{
		width: 100% !important;
		max-width: none !important;
	}

	.tcd-member-plan-list .splide__track{
		width: 100% !important;
		max-width: none !important;
		overflow: hidden;
	}

	.tcd-member-plan-list .splide__list{
		display: flex !important;
		flex-flow: row nowrap !important;
		justify-content: flex-start !important;
		width: max-content !important;
		min-width: 100%;
	}


	.tcd-member-plan-list .splide__slide{
		flex: 0 0 calc(100vw - 70px) !important;
		width: calc(100vw - 70px) !important;
		max-width: calc(100vw - 70px) !important;
	}
}

@media screen and (max-width: 767px){

	.tcd-member-plan-list .splide__slide:first-child{
		margin-left: 20px !important;
	}

	.tcd-member-plan-list .splide__slide:last-child{
		margin-right: 20px !important;
	}

  .tcd-member-plan-post-card-list{
    grid-template-columns: 1fr;
  }
}

/* ==========================================================
 * プラン一覧：4件以上は最大1250pxのスライダー
 * ========================================================== */

@media screen and (min-width: 768px){

	.tcd-member-plan-list-wrap.is-plan-overflow{
		position: relative;

		width: min(1250px, calc(100vw - 40px)) !important;
		max-width: none !important;

		left: 50% !important;
		transform: translateX(-50%) !important;

		margin-left: 0 !important;
		margin-right: 0 !important;
	}

	.tcd-member-plan-list-wrap.is-plan-overflow
	.tcd-member-plan-list{
		width: 100% !important;
		max-width: none !important;
		overflow: hidden;
	}

	.tcd-member-plan-list-wrap.is-plan-overflow
	.splide__track{
		width: 100% !important;
		max-width: none !important;
		overflow: hidden;
	}


	.tcd-member-plan-list-wrap.is-plan-overflow
	.splide__list{
		display: flex !important;
		flex-flow: row nowrap !important;
		align-items: stretch;
		justify-content: flex-start !important;

		width: auto !important;
		min-width: 0 !important;
		max-width: none !important;
	}


	.tcd-member-plan-list-wrap.is-plan-overflow
	.splide__slide{
		width: 400px !important;
		min-width: 400px !important;
		max-width: 400px !important;

		flex-basis: auto !important;
		flex-grow: 0 !important;
		flex-shrink: 0 !important;

		height: auto;
	}

	.tcd-member-plan-list-wrap.is-plan-overflow
	.tcd-member-plan-list-scrollbar{
		display: block !important;
		width: 100% !important;
	}

}


.tcd-member-plan-post-card{
	position: relative;
}

.tcd-member-plan-post-card .mypage-purchased-article-image-link{
	display: block;
	color: inherit;
	text-decoration: none;
}

.tcd-member-plan-post-card .mypage-purchased-article-image-link img{
	display: block;
	width: 100%;
	height: auto;
}

.tcd-member-plan-post-card .mypage-purchased-article-categories{
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.tcd-member-plan-post-card .mypage-purchased-article-category{
	position: relative;
	z-index: 2;

	display: inline-flex;
	align-items: center;

	color: inherit;
	text-decoration: none;
	cursor: pointer;
}

.tcd-member-plan-post-card .mypage-purchased-article-title-link{
	display: block;
	color: inherit;
	text-decoration: none;
}


.tcd-member-plan-post-card
.mypage-purchased-article-title
.c-line-clamp{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;

	overflow: hidden;
	text-overflow: ellipsis;
	word-break: break-word;
	line-height: 1.7;
}

@media (hover: hover){

	.tcd-member-plan-post-card
	.mypage-purchased-article-image-link:hover,
.tcd-member-plan-post-card
	.mypage-purchased-article-title-link:hover,
.tcd-member-plan-post-card
	.mypage-purchased-article-category:hover{
		opacity: 0.7;
		text-decoration: none;
	}
}

.tcd-member-plan-post-card .mypage-purchased-article-categories .mypage-purchased-article-category{
  position: static;
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding-inline: 8px;
  font-size: 12px;
  background: #f2f2f2;
  color: #333;
}


.premium-auth-entry-buttons--login-only{
	justify-content: center;
	margin-top: 25px;
}

.premium-auth-entry-buttons--login-only
.premium-auth-toggle-login{
	width: min(280px, 100%);
}

@media screen and (max-width: 767px){


  .premium-auth-entry-buttons--login-only
.premium-auth-toggle-login{
	width: min(180px, 100%);
}

}

.premium-countdown-wrap{
	position: relative;
	z-index: 1;
	overflow: visible;
	padding-top: 20px;
}

.premium-countdown-wrap .premium-countdown{
	position: relative;
	z-index: 1;
}


.mypage-membership-change-button,
.mypage-membership-cancel-button{
	cursor: pointer;
}


.premium-membership-sales-stopped .premium-auth-entry-buttons--login-only{
  margin-top: 0px;
}

.premium-single-sales-stopped .premium-auth-entry-buttons--login-only{
  margin-top: 0;
}

.premium-membership-sales-stopped-note{
	max-width: 760px;
	padding: 25px 30px;
	border: 1px solid #e64545;
	box-sizing: border-box;
	text-align: center;
	color: #e64545;
	font-weight: 500;
	font-size: 16px;
	line-height: 1.7;
	background: #fff;
}


.tcd-member-plan-post-card-list{
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 30px;
	width: 100%;
	margin: 0;
	padding: 0;
}


.tcd-member-plan-post-card-list .item{
	display: flex;
	align-items: center;
	gap: 20px;
	width: 100%;
	min-width: 0;
	padding: 20px;
	border: 1px solid #ddd;
  flex-direction: row;
	background: #fff;
	box-sizing: border-box;
}


.tcd-member-plan-post-card-list .item > .image{
	position: relative;
	display: block;
	flex: 0 0 220px;
	width: 220px;
	height: 160px;
	min-width: 180px;
	overflow: hidden;
	background: #f2f2f2;
}


.tcd-member-plan-post-card-list .item > .image img{
	position: absolute;
	inset: 0;
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	object-position: 50% 50%;
}


.tcd-member-plan-post-card-list .item > .content{
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	min-width: 0;
  gap: 15px;
}


.tcd-member-plan-post-card-list .item.no-thumbnail > .content{
	width: 100%;
}


.tcd-member-plan-post-card-list .mypage-article-category-list{
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}


.tcd-member-plan-post-card-list .mypage-article-category{
	position: static;
	display: inline-flex;
	align-items: center;
	width: auto;
	min-width: 0;
	padding: 8px 8px;
	background: #f5f5f5;
	color: #000;
	font-size: 12px;
	line-height: 1.4;
	text-decoration: none;
}


.tcd-member-plan-post-card-list .mypage-article-title{
	width: 100%;
	min-width: 0;
	margin: 0 0 20px;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.6;
}


.tcd-member-plan-post-card-list .mypage-article-title > a{
	display: block;
	min-width: 0;
	overflow: hidden;
	color: inherit;
	text-decoration: none;
	white-space: normal;
}


.tcd-member-plan-post-card-list .mypage-article-title-text{
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: normal;
	overflow-wrap: anywhere;
	word-break: break-word;
	line-height: 1.6;
	max-height: 3.2em;
}


.tcd-member-plan-post-card-list .date{
	display: block;
	color: #888;
	font-size: 14px;
	line-height: 1.5;
}


.tcd-member-plan-post-card-list,
.tcd-member-plan-post-card-list .item{
	visibility: visible;
	opacity: 1;
	transform: none;
}

@media screen and (max-width: 767px){

	.tcd-member-plan-post-card-list{
		gap: 20px;
	}

	.tcd-member-plan-post-card-list .item{
		gap: 15px;
		padding: 15px;
	}

	.tcd-member-plan-post-card-list .item > .image{
		flex-basis: 130px;
		width: 140px;
		height: 130px;
		min-width: 130px;
	}

	.tcd-member-plan-post-card-list .mypage-article-title{
		margin-bottom: 12px;
		font-size: 15px;
	}

	.tcd-member-plan-post-card-list .mypage-article-category-list{
	}

	.tcd-member-plan-post-card-list .mypage-article-category{
		padding: 5px 8px;
		font-size: 12px;
	}

	.tcd-member-plan-post-card-list .date{
		font-size: 12px;
	}

	.tcd-member-plan-post-card-list .item > .content{
		gap: 7px;
	}

	.premium-sales-stopped-text .premium-sales-stopped-desc{
		font-size: 14px !important;
	}
}


.premium-sales-stopped-text{
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0px;
	width: 100%;
	max-width: none;
	margin: 0;
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	line-height: 1.7;
	text-align: center;
	box-sizing: border-box;
}


.premium-sales-stopped-text
.premium-sales-stopped-message{
	display: block;

	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;

	border: 0;
	border-radius: 0;
	background: transparent;

	color: #e64545;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.7;
	text-align: center;
}


.premium-sales-stopped-text
.premium-sales-stopped-desc{
	display: block;

	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;

	color: #222;
	font-size: inherit;
	font-weight: 400;
	line-height: 1.7;
	text-align: center;
}


.premium-membership-sales-stopped
.premium-auth-entry-buttons,
.paid-article-locked-cta-group
.premium-auth-entry-buttons--login-only{
	margin-top: 0;
}


.premium-membership-sales-stopped-note{
	width: auto;
	max-width: none;
	margin: 0;
	padding: 0;

	border: 0;
	border-radius: 0;
	background: transparent;

	color: #e64545;
	font-size: 16px;
	font-weight: 500;
	line-height: 1.7;
	text-align: center;
}

@media screen and (max-width: 767px){

	.premium-sales-stopped-text{
		gap: 0px;
	}

	.premium-sales-stopped-text
	.premium-sales-stopped-message,
.premium-membership-sales-stopped-note{
		font-size: 14px;
		line-height: 1.7;
	}
}

/*
 * YOMERU Pro - paid-article.css additions
 *
 * Free版 assets/css/paid-article.css から分離した、
 * 購読プラン / plan CTA 専用スタイル。
 *
 * 既存の PRO CSS に追記してください。
 */

/* プランページ：パンくず・空状態 */
body.page-template-page__plan-php .c-breadcrumb__list{
  width: 1200px;
}

body.page-template-page__plan-php .no_post{
  display: flex;
  justify-content: center;
  align-items: center;
}

/* プラン用スクロールバーのドラッグ状態 */
body.is-tcd-plan-scrollbar-dragging{
  cursor: grabbing;
}

/* プランCTA内のサブタブ専用hover */
@media (hover: hover){
  .plan-cta_articles .mypage-membership-subtab:hover{
    opacity: 1 !important;
    color: #999;
  }

  .plan-cta_articles .mypage-membership-subtab.is-active:hover{
    color: #000;
  }

  .plan-cta_articles .mypage-membership-subtab::before{
    opacity: 1 !important;
    background: #d9d9d9;
  }
}

/* ==========================================================
 * Single-article sale price notice
 * ----------------------------------------------------------
 * The outer box intentionally reuses .premium-countdown-wrap and
 * .premium-countdown so sale start/end notices have exactly the same
 * spacing, shadow, typography and responsive treatment as the scheduled
 * price revision notice.
 * ========================================================== */
.premium-sale-price-wrap{
  margin-bottom: 0;
}

.premium-sale-price-message{
  margin-top: 0;
}

.premium-sale-price-before,
.premium-sale-price-end,
.premium-sale-price-after{
  display: block;
}

.premium-sale-price-end{
  margin: 6px 0;
  font: inherit;
  font-weight: 700;
}


/* ==========================================================
 * Article-group shortcode
 * ========================================================== */
.yomeru-article-group-shortcode.mypage-paid-article{
  width: 100%;
  max-width: 1000px;
  margin: 30px auto;
  padding: 0;
}

.yomeru-article-group-shortcode .mypage-tab-panel{
  width: 100%;
  margin: 0;
}

.yomeru-article-group-shortcode .blog_list{
  width: 100%;
}

/* ==========================================================
 * Single-article CTA: active sale price
 * ========================================================== */
.premium-price.premium-price--sale{
  display: grid;
  justify-items: center;
  gap: 14px;
  padding-top: 10px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  line-height: 1.2;
}

.premium-price--sale .premium-price-sale-headline{
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  margin: 0;
  color: #000;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.5;
  white-space: nowrap;
}

.premium-price--sale .premium-price-sale-headline-label{
  font-size: inherit;
}

.premium-price--sale .premium-price-sale-headline-tax{
  font-size: 14px;
}

.premium-price-sale-row{
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  column-gap: 15px;
  row-gap: 15px;
  width: 100%;
  min-width: 0;
}

.premium-price-sale-regular{
  justify-self: end;
}

.premium-price-sale-current{
  justify-self: center;
}

.premium-price-sale-badge{
  justify-self: start;
}

.premium-price-sale-regular{
  display: inline-flex;
  align-items: center;
  color: #777;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.2;
  text-decoration-line: line-through;
  text-decoration-color: #000;
  text-decoration-thickness: 2px;
}

.premium-price-sale-current{
  display: inline-flex;
  align-items: baseline;
  color: #000;
  font-weight: 700;
  line-height: 1;
}

.premium-price--sale .premium-price-sale-current .premium-price-value{
  font-size: 30px;
  line-height: 1;
  letter-spacing: .01em;
}

.premium-price--sale .premium-price-sale-current .premium-price_currency{
  padding-left: 4px;
  color: #000;
  font-size: 20px;
  font-weight: 400;
  line-height: 1;
}

.premium-price-sale-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 5px 15px;
  border-radius: 999px;
  background-color: #00A4DE;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  line-height: 1;
  white-space: nowrap;
}

@media screen and (max-width: 767px){
  .premium-price.premium-price--sale{
    gap: 15px;
    padding-top: 0;
  }

  .premium-notice_top_content {
    gap: 15px;
  }

  .premium-price--sale .premium-price-sale-headline{
    font-size: 18px !important;
  }

  .premium-price-sale-row{
    column-gap: 15px;
    row-gap: 10px;
  }

  .premium-price--sale .premium-price-sale-headline-tax{
    font-size: 14px !important;
  }

  .premium-price-sale-regular{
    font-size: 18px;
  }

  .premium-price--sale .premium-price-sale-current .premium-price-value{
    font-size: 30px;
  }

  .premium-price--sale .premium-price-sale-current .premium-price_currency{
    font-size: 20px;
  }

  .premium-price-sale-badge{
    min-height: 30px;
    padding: 6px 13px;
    font-size: 14px;
  }
}

/* ==========================================================
 * Article-group shortcode: parent-width responsive columns
 * ========================================================== */
.yomeru-article-group-shortcode.is-parent-width-narrow .blog_list{
  grid-template-columns: minmax(0, 1fr) !important;
}

/* ==========================================================
 * Article-group shortcode: card text alignment
 * ========================================================== */

/* 記事グループのカード本文は常に左揃えにする。 */
.yomeru-article-group-shortcode .blog_list .item > .content{
  display: flex;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  min-width: 0;
  text-align: left !important;
}

/* 画像なしカードでは本文領域を横いっぱい使い、中央寄せを無効化する。 */
.yomeru-article-group-shortcode .blog_list .item.no-thumbnail > .content{
  width: 100%;
  margin-left: 0 !important;
  margin-right: 0 !important;
  align-items: flex-start !important;
  text-align: left !important;
}

/* カテゴリー・タイトル・日付も記事グループ内だけ左揃えに固定する。 */
.yomeru-article-group-shortcode .mypage-article-category-list,
.yomeru-article-group-shortcode .mypage-article-title,
.yomeru-article-group-shortcode .mypage-article-title > a,
.yomeru-article-group-shortcode .mypage-article-title-text,
.yomeru-article-group-shortcode .date{
  width: 100%;
  text-align: left !important;
  margin-left: 0 !important;
  margin-right: auto !important;
}

/* カテゴリー自体は内容幅のまま。 */
.yomeru-article-group-shortcode .mypage-article-category{
  width: auto;
}

/* 1カラムへ切り替わった場合も同じ左揃えを維持する。 */
.yomeru-article-group-shortcode.is-parent-width-narrow .blog_list .item > .content,
.yomeru-article-group-shortcode.is-parent-width-narrow .blog_list .item.no-thumbnail > .content,
.yomeru-article-group-shortcode.is-parent-width-narrow .mypage-article-title,
.yomeru-article-group-shortcode.is-parent-width-narrow .mypage-article-title > a,
.yomeru-article-group-shortcode.is-parent-width-narrow .mypage-article-title-text,
.yomeru-article-group-shortcode.is-parent-width-narrow .date{
  text-align: left !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

/* ==========================================================
 * Free trial presentation
 * ========================================================== */
.tcd-member-plan-item__trial{
  display: grid;
  justify-items: center;
  gap: 10px;
  border-radius: 10px;
  text-align: center;
}

.tcd-member-plan-item__trial-badge{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 12px;
  border-radius: 999px;
  background: #00a4de;
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.4;
}

.tcd-member-plan-item__trial-main{
  color: #000;
  font-size: 22px;
  line-height: 1.4;
}

/* ==========================================================
 * Free-trial plan-change restriction
 * ========================================================== */
.premium-membership-trial-change-disabled,
.mypage-membership-trial-change-disabled{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 6px;
  background: #f6f7f7;
  color: #646970;
  font-size: 13px;
  line-height: 1.6;
  text-align: center;
}

/* Free-trial status on My Page. */
.mypage-membership-status.is-trialing{
  color: #00a32a;
}

/* ==========================================================
 * Subscription digest notification preferences
 * ========================================================== */
.yomeru-digest-registration-consent{
  margin: 20px 0;
  font-size: 14px;
  line-height: 1.7;
  display: grid;
  gap: 15px;
}

.yomeru-digest-registration-consent__label,
.yomeru-digest-preference-check{
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
  justify-content: center;
}

.yomeru-digest-registration-consent__label,
.yomeru-digest-preference-check{
  align-items: center;
}

.yomeru-digest-registration-consent__label input[type="checkbox"],
.yomeru-digest-preference-check input[type="checkbox"]{
  -webkit-appearance: none !important;
  appearance: none !important;
  width: 22px !important;
  height: 22px !important;
  min-width: 22px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 1px solid #d7d7d7 !important;
  border-radius: 0 !important;
  background-color: #fff !important;
  background-image: none !important;
  box-shadow: none !important;
  flex: 0 0 22px;
  cursor: pointer;
  vertical-align: middle;
}

.yomeru-digest-registration-consent__label input[type="checkbox"]:checked,
.yomeru-digest-preference-check input[type="checkbox"]:checked{
  border-color: #000 !important;
  background-color: #000 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Cpath d='M3 8.2l3.1 3.1L13 4.5' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='square' stroke-linejoin='miter'/%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: center !important;
  background-size: 16px 16px !important;
}

.yomeru-digest-registration-consent__label input[type="checkbox"]:focus-visible,
.yomeru-digest-preference-check input[type="checkbox"]:focus-visible{
  outline: 2px solid #000;
  outline-offset: 2px;
}

.yomeru-digest-registration-consent__label_check_txt {
  line-height: 1;
}

.yomeru-digest-preference-check span{
  line-height: 1.5;
}

.yomeru-digest-registration-consent__note,
.yomeru-digest-preference-desc{
  color: #666;
  font-size: 12px;
  line-height: 1.8;
}

/* My Page > Mail notifications: keep the action button close to the description. */
.mypage-account-form.yomeru-digest-preference-form > .mypage-account-form-actions{
  margin-top: 0 !important;
  margin-block-start: 0 !important;
}

/* ==========================================================
 * PRO: locked-heading source for table-of-contents plugins
 * ========================================================== */
.yomeru-pro-toc-heading-source{
  display: none !important;
}

.paid_article_toc{
  margin-bottom: var(--tcdce-base-margin-bottom-pc, 30px);
}

/* ==========================================================
 * Article-group bundle purchase CTA
 * ========================================================== */
.yomeru-article-group-bundle-cta{
  width:100%;
  max-width:1000px;
  margin:0 auto 30px;
  box-sizing:border-box;
}

.yomeru-article-group-bundle-cta__notice{
  margin:0 0 16px;
  padding:12px 16px;
  border:1px solid #dcdcde;
  background:#fff;
  font-size:14px;
  line-height:1.7;
  text-align:center;
}

.yomeru-article-group-bundle-cta__notice.is-success{
  border-color:#b8d6bf;
  background:#f2faf4;
}

.yomeru-article-group-bundle-cta__notice.is-error{
  border-color:#e0b5b5;
  background:#fff5f5;
}

.yomeru-article-group-bundle-cta__inner{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:16px;
  padding:42px 34px;
  background:#f5f5f5;
  text-align:center;
  box-sizing:border-box;
}

.yomeru-article-group-bundle-cta__label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:5px 13px;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-size:12px;
  font-weight:600;
  line-height:1;
}

.yomeru-article-group-bundle-cta__title{
  margin:0;
  color:#111;
  font-size:22px;
  font-weight:600;
  line-height:1.55;
}

.yomeru-article-group-bundle-cta__price-block{
  display:grid;
  justify-items:center;
  gap:10px;
}

.yomeru-article-group-bundle-cta__regular-row,
.yomeru-article-group-bundle-cta__bundle-row{
  display:flex;
  flex-wrap:wrap;
  align-items:baseline;
  justify-content:center;
  gap:8px 12px;
  margin:0;
}

.yomeru-article-group-bundle-cta__regular-row{
  color:#777;
  font-size:14px;
}

.yomeru-article-group-bundle-cta__regular-row del{
  text-decoration-thickness:1px;
}

.yomeru-article-group-bundle-cta__bundle-row > span:first-child{
  font-size:15px;
  font-weight:500;
}

.yomeru-article-group-bundle-cta__bundle-row strong{
  color:#111;
  font-size:30px;
  font-weight:700;
  line-height:1.2;
}

.yomeru-article-group-bundle-cta__saving{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:5px 12px;
  border-radius:999px;
  background:#00a4de;
  color:#fff;
  font-size:13px;
  font-weight:600;
  line-height:1;
}

.yomeru-article-group-bundle-cta__meta,
.yomeru-article-group-bundle-cta__note,
.yomeru-article-group-bundle-cta__auth-note,
.yomeru-article-group-bundle-cta__owned{
  margin:0;
}

.yomeru-article-group-bundle-cta__auth-note {
  margin-bottom: 10px !important;
}

.yomeru-article-group-bundle-cta__meta{
  color:#555;
  font-size:13px;
}

.yomeru-article-group-bundle-cta__note{
  max-width:680px;
  color:#777;
  font-size:12px;
  line-height:1.7;
}

.yomeru-article-group-bundle-cta__owned{
  font-weight:600;
}

.yomeru-article-group-bundle-cta__button{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-width:240px;
  min-height:52px;
  padding:12px 28px;
  border:1px solid #111;
  background:#111;
  color:#fff !important;
  font-size:15px;
  line-height:1.4;
  text-decoration:none !important;
  transition:opacity .25s ease;
  box-sizing:border-box;
}

.yomeru-article-group-bundle-cta__button:hover{
  opacity:.7;
}

.yomeru-article-group-bundle-cta__auth-buttons{
  margin-top:0;
}

@media screen and (max-width:767px){
  .yomeru-article-group-bundle-cta{
    margin-top:0;
    margin-bottom:24px;
  }

  .yomeru-article-group-bundle-cta__inner{
    gap:14px;
    padding:30px 20px;
  }

  .yomeru-article-group-bundle-cta__title{
    font-size:19px;
  }

  .yomeru-article-group-bundle-cta__bundle-row strong{
    font-size:26px;
  }

  .yomeru-article-group-bundle-cta__button{
    width:100%;
    min-width:0;
  }

  .yomeru-article-group-bundle-cta__auth-buttons{
    width:100%;
  }
}

/* ==========================================================
 * Article-group bundle purchase CTA: sale-price style refresh
 * ========================================================== */
.yomeru-article-group-bundle-cta__inner{
  gap:12px;
  padding:40px 34px;
}

.yomeru-article-group-bundle-cta__price.premium-price.premium-price--sale{
  width:min(100%, 520px);
  padding-top:2px;
}

.yomeru-article-group-bundle-cta__price .premium-price-sale-regular.is-empty,
.yomeru-article-group-bundle-cta__price .premium-price-sale-badge.is-empty{
  visibility:hidden;
}

.yomeru-article-group-bundle-cta__saving-amount{
  margin:-3px 0 0;
  color:#00A4DE;
  font-size:16px;
  font-weight:700;
  line-height:1.5;
  margin-bottom: 0 !important;
}

.yomeru-article-group-bundle-cta__saving-amount.is-no-saving{
  color:#777;
  font-size:13px;
  font-weight:500;
}

.yomeru-article-group-bundle-cta__saving-amount + .yomeru-article-group-bundle-cta__meta{
  margin-top:-2px;
  margin-bottom: 0;
}

.yomeru-article-group-bundle-cta__meta + .yomeru-article-group-bundle-cta__button,
.yomeru-article-group-bundle-cta__meta + .yomeru-article-group-bundle-cta__auth-note,
.yomeru-article-group-bundle-cta__note + .yomeru-article-group-bundle-cta__button,
.yomeru-article-group-bundle-cta__note + .yomeru-article-group-bundle-cta__auth-note{
  margin-top:2px;
}

@media screen and (max-width:767px){
  .yomeru-article-group-bundle-cta__inner{
    gap:11px;
    padding:30px 18px;
  }

  .yomeru-article-group-bundle-cta__price.premium-price.premium-price--sale{
    width:100%;
  }

  .yomeru-article-group-bundle-cta__saving-amount{
    font-size:15px;
  }
}

/* ==========================================================
 * Article-group set sales: compact shortcode + post CTA
 * ========================================================== */
.yomeru-bundle-card,
.yomeru-bundle-card *{
  box-sizing:border-box;
}

.yomeru-bundle-card{
  --yomeru-bundle-accent:#1777c7;
  --yomeru-bundle-text:#1a1a1a;
  --yomeru-bundle-muted:#666;
  --yomeru-bundle-line:#e5e5e5;
  width:100%;
  color:var(--yomeru-bundle-text);
}

.yomeru-bundle-card__inner{
  width:100%;
  margin:0 auto;
}

.yomeru-bundle-card__header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:20px;
  margin-bottom:16px;
}

.yomeru-bundle-card__title{
  min-width:0;
  margin:0 !important;
  color:var(--yomeru-bundle-text);
  font-size:18px;
  font-weight:500;
  line-height:1.5;
  text-align:center;
}

.yomeru-bundle-card__header .yomeru-bundle-card__title{
  text-align:left;
}

.yomeru-bundle-card__count{
  flex:0 0 auto;
  color:#777;
  font-size:13px;
  line-height:1.5;
  white-space:nowrap;
}

.yomeru-bundle-card__price-row{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:6px;
  min-height:46px;
  margin-top:8px;
  white-space:nowrap;
}

.yomeru-bundle-card__price{
  color:#111;
  font-size:34px;
  font-weight:500;
  line-height:1.2;
  letter-spacing:.01em;
}

.yomeru-bundle-card__currency{
  color:#111;
  font-size:14px;
  font-weight:400;
  line-height:1.2;
}

.yomeru-bundle-card__base-price{
  margin-left:14px;
  color:#999;
  font-size:15px;
  font-weight:400;
  line-height:1.2;
  text-decoration-color:#999;
  text-decoration-thickness:1px;
}

.yomeru-bundle-card__meta{
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:center;
  gap:0 8px;
  margin:10px 0 0 !important;
  color:var(--yomeru-bundle-muted);
  font-size:14px;
  font-weight:400;
  line-height:1.6;
  text-align:center;
}

.yomeru-bundle-card__saving{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:30px;
  padding:5px 15px;
  border-radius:999px;
  background:#00A4DE;
  color:#fff;
  font-size:14px;
  font-weight:500;
  line-height:1;
  white-space:nowrap;
}

.yomeru-bundle-card__articles{
  width:min(100%, 520px);
  margin-left:auto;
  margin-right:auto;
  border-top:1px solid var(--yomeru-bundle-line);
  background:#fff;
}

.yomeru-bundle-card__articles[hidden]{
  display:none !important;
}

/* Smooth open/close animation for the article list in the post CTA.
 * JS supplies the concrete max-height so the transition follows the actual
 * number of rows instead of relying on a fixed animation height. */
.yomeru-bundle-card__articles--collapsible{
  overflow:hidden;
  opacity:0;
  max-height:0;
  transition:max-height .34s cubic-bezier(.4,0,.2,1), opacity .22s ease;
  will-change:max-height, opacity;
}

.yomeru-bundle-card__articles--collapsible.is-open{
  opacity:1;
}

.yomeru-bundle-card__articles.is-scrollable{
  max-height:268px; /* about 6.4 rows */
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
}

.yomeru-bundle-card__article{
  display:grid;
  grid-template-columns:20px minmax(0, 1fr) auto;
  align-items:center;
  gap:8px;
  min-height:41.5px;
  padding:0 14px;
  border-bottom:1px solid var(--yomeru-bundle-line);
  background:#fff;
}

.yomeru-bundle-card__article-status{
  display:inline-flex;
  width:18px;
  height:18px;
  align-items:center;
  justify-content:center;
  border:1px solid #d6d6d6;
  border-radius:50%;
  color:var(--yomeru-bundle-accent);
  font-size:14px;
  font-weight:600;
  line-height:1;
}

.yomeru-bundle-card__article.is-owned .yomeru-bundle-card__article-status{
  border-color:transparent;
}

.yomeru-bundle-card__article-title{
  display:block;
  min-width:0;
  max-width:100%;
  overflow:hidden;
  color:#1a1a1a !important;
  font-size:14px;
  font-weight:500;
  line-height:1.5;
  text-align:left;
  text-decoration:none !important;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.yomeru-bundle-card__article.is-owned .yomeru-bundle-card__article-title{
  color:#999 !important;
}

.yomeru-bundle-card__article-labels{
  display:flex;
  align-items:center;
  gap:5px;
  min-width:0;
}

.yomeru-bundle-card__article-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:22px;
  padding:3px 9px;
  border-radius:999px;
  font-size:11px;
  font-weight:500;
  line-height:1;
  white-space:nowrap;
}

.yomeru-bundle-card__article-label.is-owned{
  background:#f2f2f2;
  color:#999;
}

.yomeru-bundle-card__article-label.is-current{
  background:#edf6ff;
  color:var(--yomeru-bundle-accent);
}

.yomeru-bundle-card__article-label.is-new{
  background:#111;
  color:#fff;
  font-size:10px;
  font-weight:700;
  letter-spacing:.04em;
}

.yomeru-bundle-card__purchase{
  display:flex !important;
  width:260px;
  max-width:100%;
  min-height:48px;
  margin:20px auto 0 !important;
  padding:10px 22px !important;
  align-items:center;
  justify-content:center;
  border:0 !important;
  border-radius:8px !important;
  background:#191919 !important;
  color:#fff !important;
  font-family:inherit;
  font-size:16px !important;
  font-weight:600 !important;
  line-height:1.4 !important;
  text-align:center;
  text-decoration:none !important;
  cursor:pointer;
  appearance:none;
  transition:opacity .2s ease;
}

.yomeru-bundle-card__purchase:hover{
  opacity:.75;
}

/* Logged-in purchase actions render as anchors while guest actions render as
 * buttons. Keep both states visually identical and prevent theme link-hover
 * colors from leaking into these CTA controls. */
.premium-notice.yomeru-bundle-card--post a.yomeru-bundle-card__purchase:hover,
.premium-notice.yomeru-bundle-card--post a.yomeru-bundle-card__purchase:focus,
.premium-notice.yomeru-bundle-card--post button.yomeru-bundle-card__purchase:hover,
.premium-notice.yomeru-bundle-card--post button.yomeru-bundle-card__purchase:focus{
  background:#191919 !important;
  color:#fff !important;
  text-decoration:none !important;
  opacity:.78;
}

.yomeru-bundle-card__purchase.is-disabled{
  opacity:.45;
  cursor:default;
}

/* LP / fixed-page shortcode */
.yomeru-article-group-shortcode.yomeru-bundle-card--shortcode{
  width:100%;
  max-width:760px;
  margin:30px auto;
  padding:0;
}

.yomeru-bundle-card--shortcode .yomeru-bundle-card__inner{
  padding:30px 34px 32px;
  background:#f5f5f5;
}

.yomeru-bundle-card--shortcode .yomeru-bundle-card__price-row{
  margin-top:0;
}

.yomeru-bundle-card--shortcode .yomeru-bundle-card__articles{
  width:100%;
  margin-top:20px;
}

/* Narrow shortcode design follows the actual parent width, not viewport only. */
.yomeru-bundle-card--shortcode.is-parent-width-narrow .yomeru-bundle-card__inner{
  padding:26px 22px 28px;
}

.yomeru-bundle-card--shortcode.is-parent-width-narrow .yomeru-bundle-card__header{
  gap:12px;
}

/* Article-bottom CTA: existing CTA proportions take priority over annotations. */
.premium-notice.yomeru-bundle-card--post{
  width:100%;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  border-radius:0 !important;
  background:#f5f5f5 !important;
  box-shadow:none !important;
  overflow:visible !important;
}

.yomeru-bundle-card--post .yomeru-bundle-card__inner{
  padding:36px 32px 32px;
  background:#f5f5f5;
  text-align:center;
}

.yomeru-bundle-card--post .yomeru-bundle-card__title{
  margin-bottom:10px !important;
}

.yomeru-bundle-card--post .yomeru-bundle-card__price-row{
  margin-top:0;
}

/* Match the ordinary paid-article CTA price typography by reusing the same
 * premium-price element classes. Keep only bundle-specific alignment here. */
.yomeru-bundle-card--post .yomeru-bundle-card__price-row.premium-price{
  display:flex;
  align-items:baseline;
  justify-content:center;
  gap:0;
  min-height:0;
  white-space:nowrap;
}

.yomeru-bundle-card--post .yomeru-bundle-card__price-row .yomeru-bundle-card__base-price{
  margin-left:15px;
}

/* When a paid article belongs to a priced group, this block replaces only the
 * ordinary single-article purchase CTA. Subscription CTAs rendered by YOMERU
 * remain separate below it. */
.yomeru-bundle-card--post .yomeru-bundle-card__meta{
  min-height:24px;
}

.yomeru-bundle-card__toggle{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:8px;
  margin:20px auto 0;
  padding:0;
  border:0;
  background:transparent;
  color:#666;
  font-family:inherit;
  font-size:14px;
  font-weight:500;
  line-height:1.5;
  cursor:pointer;
  appearance:none;
}

.yomeru-bundle-card__toggle-icon{
  width:0;
  height:0;
  border-left:5px solid transparent;
  border-right:5px solid transparent;
  border-top:6px solid #777;
  transition:transform .2s ease;
}

.yomeru-bundle-card__toggle[aria-expanded="true"] .yomeru-bundle-card__toggle-icon{
  transform:rotate(180deg);
}

.yomeru-bundle-card--post .yomeru-bundle-card__articles{
  width:min(100%, 420px);
  margin-top:14px;
  border-top:0;
}

/* Article-bottom CTA: ordinary rows are informational, not selectable.
 * Replace the radio-like empty circle with a simple middle dot while keeping
 * the check mark for already-purchased articles. */
.yomeru-bundle-card--post .yomeru-bundle-card__article-status{
  border:0;
  border-radius:0;
  color:#999;
  font-size:16px;
  font-weight:400;
}

.yomeru-bundle-card--post .yomeru-bundle-card__article-status:empty::before{
  content:"・";
}

.yomeru-bundle-card--post .yomeru-bundle-card__article.is-owned .yomeru-bundle-card__article-status{
  color:var(--yomeru-bundle-accent);
  font-size:14px;
  font-weight:600;
}

/* The expanded article list uses only internal separators. The outer top and
 * bottom rules are intentionally hidden to match the CTA design. */
.yomeru-bundle-card--post .yomeru-bundle-card__article:last-child{
  border-bottom:0;
}

.yomeru-bundle-card--post .yomeru-bundle-card__purchase{
  margin-top:20px !important;
}

.yomeru-bundle-card__single-link-wrap{
  margin-top:14px;
  text-align:center;
}

.yomeru-bundle-card__single-link{
  display:inline !important;
  margin:0 !important;
  padding:0 !important;
  border:0 !important;
  background:transparent !important;
  color:#666 !important;
  font-family:inherit;
  font-size:14px !important;
  font-weight:400 !important;
  line-height:1.5 !important;
  text-decoration:underline !important;
  text-underline-offset:3px;
  cursor:pointer;
  appearance:none;
  transition:opacity .2s ease;
}

.premium-notice.yomeru-bundle-card--post a.yomeru-bundle-card__single-link:hover,
.premium-notice.yomeru-bundle-card--post a.yomeru-bundle-card__single-link:focus,
.premium-notice.yomeru-bundle-card--post button.yomeru-bundle-card__single-link:hover,
.premium-notice.yomeru-bundle-card--post button.yomeru-bundle-card__single-link:focus{
  background:transparent !important;
  color:#666 !important;
  text-decoration:underline !important;
  opacity:.72;
}

.premium-price_headline {
  font-size: 16px !important;
}

@media screen and (max-width:767px){
  .yomeru-bundle-card--shortcode .yomeru-bundle-card__inner,
  .yomeru-bundle-card--post .yomeru-bundle-card__inner{
    padding:28px 20px 26px;
  }

  .yomeru-bundle-card__header{
    align-items:flex-start;
  }

  .yomeru-bundle-card__title{
    font-size:18px;
  }

  .yomeru-bundle-card__price{
    font-size:30px;
  }

  .yomeru-bundle-card__base-price{
    margin-left:8px;
    font-size:13px;
  }

  .yomeru-bundle-card__meta{
    font-size:14px;
  }

  .yomeru-bundle-card__article{
    grid-template-columns:18px minmax(0, 1fr) auto;
    gap:7px;
    padding:0 10px;
  }

  .yomeru-bundle-card__article-title{
    font-size:14px;
  }

  .yomeru-bundle-card__article-label{
    padding:3px 7px;
    font-size:10px;
  }

  .yomeru-bundle-card__purchase{
    width:100%;
  }

  .premium-price_headline {
    font-size: 16px !important;
  }
}


/* ==========================================================
 * Article-group shortcode: LP set-sales block (v1.0.5)
 * Matches the kijiset-shortcode / kijiset-shortcode-semai spec.
 * The article-bottom CTA keeps the existing yomeru-bundle-card styles.
 * ========================================================== */
.yomeru-article-group-shortcode.yomeru-bundle-shortcode{
  width:min(100%, 1000px);
  max-width:1000px;
  margin:40px auto;
  padding:0;
  overflow:hidden;
  background:#f5f5f5;
  color:#1a1a1a;
}

.yomeru-bundle-shortcode__header{
  position:relative;
  display:flex;
  height:60px;
  padding:0 82px;
  align-items:center;
  justify-content:center;
  background:#000;
  color:#fff;
}

.yomeru-bundle-shortcode__title{
  max-width:100%;
  margin:0 !important;
  overflow:hidden;
  color:#fff !important;
  font-size:22px !important;
  font-weight:500;
  line-height:1.35;
  text-align:center !important;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.yomeru-bundle-shortcode__count{
  position:absolute;
  right:20px;
  top:50%;
  transform:translateY(-50%);
  color:#fff;
  font-size:14px;
  font-weight:400;
  line-height:1.5;
  white-space:nowrap;
}

.yomeru-bundle-shortcode__body{
  padding:26px 30px 0;
  background:#f5f5f5;
}

/* Keep a bottom inset when the set price is 0 and no purchase footer is rendered. */
.yomeru-bundle-shortcode__body.is-price-hidden{
  padding-bottom:30px;
}

.yomeru-bundle-shortcode__description-wrap{
  width:100%;
  margin:0 auto 24px;
}

.yomeru-bundle-shortcode__description-wrap.is-custom-width{
  width:min(100%, var(--yomeru-bundle-description-width, 600px));
}

.yomeru-bundle-shortcode__description-wrap.is-full-width{
  width:100%;
}

.yomeru-bundle-shortcode__description{
  color:#50575e;
  font-size:16px;
  font-weight:400;
  line-height:1.85;
  text-align:left;
  overflow-wrap:anywhere;
  word-break:break-word;
}

.yomeru-bundle-shortcode__description > :first-child{
  margin-top:0 !important;
}

.yomeru-bundle-shortcode__description > :last-child{
  margin-bottom:0 !important;
}

.yomeru-bundle-shortcode__description p{
  margin:0 0 .65em;
}

.yomeru-bundle-shortcode__description a{
  color:inherit;
  text-decoration:underline;
  text-underline-offset:2px;
}

.yomeru-bundle-shortcode__description strong,
.yomeru-bundle-shortcode__description b{
  font-weight:700;
}

.yomeru-bundle-shortcode__articles{
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  grid-auto-rows:141px;
  column-gap:12px;
  row-gap:12px;
  width:100%;
  margin:0;
  padding:0;
  align-content:start;
}

.yomeru-bundle-shortcode__articles.is-scrollable{
  max-height:480px;
  padding-right:7px;
  overflow-y:auto;
  overscroll-behavior:contain;
  scrollbar-width:thin;
  scrollbar-color:#c8c8c8 transparent;
}

.yomeru-bundle-shortcode__articles.is-scrollable::-webkit-scrollbar{
  width:5px;
}

.yomeru-bundle-shortcode__articles.is-scrollable::-webkit-scrollbar-track{
  background:transparent;
}

.yomeru-bundle-shortcode__articles.is-scrollable::-webkit-scrollbar-thumb{
  border-radius:999px;
  background:#c8c8c8;
}

.yomeru-bundle-shortcode__article{
  display:grid;
  grid-template-columns:150px minmax(0, 1fr);
  gap:14px;
  min-width:0;
  height:141px;
  padding:12px;
  align-items:center;
  border:1px solid #dedede;
  background:#fff;
  color:#1a1a1a !important;
  text-decoration:none !important;
  transition:opacity .2s ease;
}

.yomeru-bundle-shortcode__article:hover{
  opacity:.78;
}

.yomeru-bundle-shortcode__thumb{
  display:block;
  width:150px;
  height:117px;
  overflow:hidden;
  background:#eee;
}

.yomeru-bundle-shortcode__thumb-image{
  display:block;
  width:100% !important;
  height:100% !important;
  margin:0 !important;
  object-fit:cover;
}

.yomeru-bundle-shortcode__thumb.is-empty{
  display:flex;
  align-items:center;
  justify-content:center;
  background:#ededed;
}

.yomeru-bundle-shortcode__thumb-noimage{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#9a9a9a;
  font-size:11px;
  font-weight:500;
  line-height:1;
  letter-spacing:.08em;
  text-align:center;
  white-space:nowrap;
}

.yomeru-bundle-shortcode__article-title{
  display:-webkit-box;
  min-width:0;
  overflow:hidden;
  color:#1a1a1a;
  font-size:16px;
  font-weight:500;
  line-height:1.55;
  text-align:left;
  text-overflow:ellipsis;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:2;
}

.yomeru-bundle-shortcode__footer{
  display:flex;
  min-height:86px;
  margin-top:20px;
  padding:16px 0 20px;
  align-items:center;
  justify-content:space-between;
  gap:24px;
  border-top:1px solid #dedede;
}

.yomeru-bundle-shortcode__price-block{
  display:flex;
  min-width:0;
  align-items:center;
  flex-wrap:wrap;
  gap:9px 12px;
}

.yomeru-bundle-shortcode__price-line{
  display:flex;
  align-items:baseline;
  gap:5px;
  white-space:nowrap;
}

.yomeru-bundle-shortcode__price-label{
  color:#555;
  font-size:14px;
  font-weight:400;
  line-height:1.5;
}

.yomeru-bundle-shortcode__price{
  color:#111;
  font-size:28px;
  font-weight:600;
  line-height:1;
  letter-spacing:.01em;
}

.yomeru-bundle-shortcode__price-yen{
  margin-left:1px;
  font-size:.62em;
  font-weight:500;
}

.yomeru-bundle-shortcode__tax{
  color:#555;
  font-size:14px;
  font-weight:400;
  line-height:1.5;
}

.yomeru-bundle-shortcode__saving-group{
  display:inline-flex;
  align-items:center;
  min-width:0;
  white-space:nowrap;
}

/* Keep the whole comparison copy inside the same blue rounded badge used by the article CTA. */
.yomeru-bundle-shortcode__saving-amount.yomeru-bundle-card__saving{
  display:inline-flex;
  flex:0 0 auto;
  gap:5px;
  margin:0;
  padding-left:13px;
  padding-right:13px;
}

.yomeru-bundle-shortcode__saving-prefix,
.yomeru-bundle-shortcode__saving-value{
  color:inherit;
  font:inherit;
  line-height:inherit;
  white-space:nowrap;
}

.yomeru-bundle-shortcode__purchase{
  display:flex !important;
  flex:0 0 auto;
  width:200px;
  min-width:200px;
  height:46px;
  min-height:46px;
  margin:0 !important;
  padding:8px 18px !important;
  align-items:center;
  justify-content:center;
  border:0 !important;
  border-radius:4px !important;
  background:#191919 !important;
  color:#fff !important;
  font-family:inherit;
  font-size:14px !important;
  font-weight:600 !important;
  line-height:1.4 !important;
  text-align:center;
  text-decoration:none !important;
  cursor:pointer;
  appearance:none;
  transition:opacity .2s ease;
}

.yomeru-bundle-shortcode__purchase:hover{
  opacity:.75;
}

.yomeru-bundle-shortcode__purchase.is-disabled{
  opacity:.45;
  cursor:default;
}

/* Narrow parent: the same shortcode becomes kijiset-shortcode-semai. */
.yomeru-bundle-shortcode.is-parent-width-narrow .yomeru-bundle-shortcode__header{
  padding:0 18px;
  justify-content:flex-start;
}

.yomeru-bundle-shortcode.is-parent-width-narrow .yomeru-bundle-shortcode__title{
  max-width:calc(100% - 78px);
  font-size:20px;
  text-align:left;
}

.yomeru-bundle-shortcode.is-parent-width-narrow .yomeru-bundle-shortcode__count{
  right:18px;
  font-size:13px;
}

.yomeru-bundle-shortcode.is-parent-width-narrow .yomeru-bundle-shortcode__body{
  padding:22px 20px 0;
}

.yomeru-bundle-shortcode.is-parent-width-narrow .yomeru-bundle-shortcode__body.is-price-hidden{
  padding-bottom:22px;
}

.yomeru-bundle-shortcode.is-parent-width-narrow .yomeru-bundle-shortcode__description-wrap{
  margin-bottom:20px;
}

.yomeru-bundle-shortcode.is-parent-width-narrow .yomeru-bundle-shortcode__description{
  font-size:15px;
  line-height:1.8;
}

.yomeru-bundle-shortcode.is-parent-width-narrow .yomeru-bundle-shortcode__articles{
  grid-template-columns:minmax(0, 1fr);
  grid-auto-rows:112px;
}

.yomeru-bundle-shortcode.is-parent-width-narrow .yomeru-bundle-shortcode__articles.is-scrollable{
  max-height:480px;
}

.yomeru-bundle-shortcode.is-parent-width-narrow .yomeru-bundle-shortcode__article{
  grid-template-columns:120px minmax(0, 1fr);
  height:112px;
  padding:10px;
}

.yomeru-bundle-shortcode.is-parent-width-narrow .yomeru-bundle-shortcode__thumb{
  width:120px;
  height:90px;
}

.yomeru-bundle-shortcode.is-parent-width-narrow .yomeru-bundle-shortcode__article-title{
  font-size:15px;
}

.yomeru-bundle-shortcode.is-parent-width-narrow .yomeru-bundle-shortcode__footer{
  padding-bottom:24px;
  flex-direction:column;
  gap:16px;
  text-align:center;
}

.yomeru-bundle-shortcode.is-parent-width-narrow .yomeru-bundle-shortcode__price-block{
  justify-content:center;
}

.yomeru-bundle-shortcode.is-parent-width-narrow .yomeru-bundle-shortcode__purchase{
  width:min(100%, 280px);
  min-width:0;
}

/* On mobile, reveal half of the fourth article to indicate that the
 * shortcode list is vertically scrollable: 3.5 x 112px rows + 3 x 12px gaps. */
@media screen and (max-width: 767px){
  .yomeru-bundle-shortcode.is-parent-width-narrow .yomeru-bundle-shortcode__articles.is-scrollable{
    max-height:428px;
  }
}

@media screen and (max-width: 480px){
  .yomeru-article-group-shortcode.yomeru-bundle-shortcode{
    margin:30px auto;
  }

  .yomeru-bundle-shortcode__header{
    height:56px;
  }

  .yomeru-bundle-shortcode__title{
    font-size:18px !important;
  }

  .yomeru-bundle-shortcode__body{
    padding-left:16px !important;
    padding-right:16px !important;
  }

  .yomeru-bundle-shortcode__article{
    grid-template-columns:100px minmax(0, 1fr) !important;
  }

  .yomeru-bundle-shortcode__thumb{
    width:100px !important;
  }

  .yomeru-bundle-shortcode__saving-group{
    justify-content:center;
    white-space:normal;
  }

  .yomeru-bundle-shortcode__saving-amount.yomeru-bundle-card__saving{
    white-space:nowrap;
  }
}

/* Registration bot-protection honeypot. Kept off-screen rather than display:none. */
.yomeru-pro-registration-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}

/* Registration verification: pending-registration dialog. */
.yomeru-pro-registration-pending-overlay {
  position: fixed;
  inset: 0;
  z-index: 999998;
  background: rgba(0, 0, 0, .58);
  opacity: 0;
  visibility: hidden;
  transition: opacity .2s ease, visibility .2s ease;
}

.yomeru-pro-registration-pending-overlay.is-open {
  opacity: 1;
  visibility: visible;
}

.yomeru-pro-registration-pending-dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  z-index: 999999;
  width: min(432px, calc(100vw - 40px));
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  box-sizing: border-box;
  color: #fff;
  background: #000;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .32);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, -48%);
  transition: opacity .2s ease, visibility .2s ease, transform .2s ease;
}

.yomeru-pro-registration-pending-dialog.is-open {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, -50%);
}

.yomeru-pro-registration-pending-dialog__inner {
  position: relative;
  padding: 38px 40px 40px;
  text-align: center;
}

.yomeru-pro-registration-pending-dialog__close {
  position: absolute;
  top: 10px;
  right: 14px;
  width: 30px;
  height: 30px;
  padding: 0;
  border: 0;
  color: #fff;
  background: transparent;
  font-size: 24px;
  line-height: 30px;
  text-align: center;
  cursor: pointer;
  opacity: .9;
  transition: opacity .2s ease;
}

.yomeru-pro-registration-pending-dialog__close:hover,
.yomeru-pro-registration-pending-dialog__close:focus {
  color: #fff;
  opacity: .65;
  outline: none;
}

.yomeru-pro-registration-pending-dialog__headline {
  margin: 0 22px 18px;
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.6;
}

.yomeru-pro-registration-pending-dialog.is-verified .yomeru-pro-registration-pending-dialog__headline {
  margin-bottom: 0;
}

.yomeru-pro-registration-pending-dialog__description {
  color: #fff;
  font-size: 13px;
  line-height: 1.8;
}

.yomeru-pro-registration-pending-dialog__description p {
  margin: 0;
}

.yomeru-pro-registration-pending-dialog__description p + p {
  margin-top: 14px;
}

@media (max-width: 767px) {
  .yomeru-pro-registration-pending-dialog {
    width: calc(100vw - 32px);
    max-height: calc(100dvh - 32px);
  }

  .yomeru-pro-registration-pending-dialog__inner {
    padding: 36px 24px 28px;
  }

  .yomeru-pro-registration-pending-dialog__headline {
    font-size: 16px;
  }

  .yomeru-pro-registration-pending-dialog__description {
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .yomeru-pro-registration-pending-overlay,
  .yomeru-pro-registration-pending-dialog,
  .yomeru-pro-registration-pending-dialog__close {
    transition: none !important;
  }
}


/* Pre-user double opt-in registration inline validation. */
.yomeru-pro-registration-inline-error {
  margin: 0 0 16px;
  padding: 10px 12px;
  border: 1px solid #d63638;
  color: #d63638;
  background: rgba(214, 54, 56, .06);
  font-size: 12px;
  line-height: 1.6;
  text-align: left;
}

.premium-price_tax {
  font-size: 16px;
  font-weight: 400;
}