.member-ticket-list{
  margin: 0 0 10px!important;
  background: #F6F6F6;
  padding: 55px 50px 30px;
  @media (width < 768px) {
    padding: 15px;
  }
}
.member-ticket-list > li{
  float: none !important;
}
.member-ticket-list > li:not(:has(.member-ticket-list__item)){
  display: none;
}
.member-ticket-list__item{
  display: grid;
  grid-template-columns: 121px 1fr;
  gap: 40px;
  float: none !important;
  @media (width < 768px) {
    grid-template-columns: 70px 1fr;
    gap: 15px;
  }
}
.member-ticket-list > li:has(.member-ticket-list__item) + li:has(.member-ticket-list__item),
.member-ticket-list__item + .member-ticket-list__item{
  margin-top: 40px;
  padding-top: 40px;
  border-top: 1px solid #BABABA;
  @media (width < 768px) {
    margin-top: 15px;
    padding-top: 15px;
  }
}
.member-ticket-list__img{
  aspect-ratio: 1/1;
  background: #01B7DF;
}
.member-ticket-list__img img{
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
.member-ticket-list__tag{
  width: max-content;
  padding: 8px 10px;
  font-size: 20px;
  font-weight: bold;
  line-height: 1;
  border-radius: 5px;
  background: #1A1E23;
  color: #fff;
  @media (width < 768px) {
    padding: 6px;
    font-size: 13px;
  }
}
.member-ticket-list__name{
  font-size: 20px;
  font-weight: bold;
  @media (width >= 768px) {
    margin: 10px 0!important;
  }
  @media (width < 768px) {
    margin: 8px 0 5px!important;
    font-size: 14px!important;
    border: none!important;
  }
}
.member-ticket-list__note{
  margin-top: 10px;
  font-size: 14px;
  color: #606060;
  @media (width < 768px) {
    font-size: 10px;
    margin-top: 5px;
  }
}

#main.memberMypage .member_box-ticket_col_txt .use_couponButton,
.use_couponButton {
  width: 250px;
  height: 45px;
  /* background-color: #183D5F; */
  background-color: #852F2F;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100px!important;
  color: white!important;
  font-size: 20px;
  text-decoration: none!important;
  font-weight: bold;
  border: none;
  /* margin-top: 10px; */
  @media (width < 768px) {
    width: 144px;
    height: 30px;
    font-size: 14px;
  }
}

.member-ticket-list--small.member-ticket-list{
  padding: 15px;
}
.member-ticket-list--small .member-ticket-list__item{
  grid-template-columns: 70px 1fr;
  gap: 15px;
}
.member-ticket-list--small .member-ticket-list__item + .member-ticket-list__item,
.member-ticket-list--small > li:has(.member-ticket-list__item) + li:has(.member-ticket-list__item){
  margin-top: 15px;
  padding-top: 15px;
}
.member-ticket-list--small .member-ticket-list__tag{
  padding: 6px;
  font-size: 13px;
}
.member-ticket-list--small .member-ticket-list__name{
  margin: 8px 0 5px;
  font-size: 14px;
}
.member-ticket-list--small .member-ticket-list__note{
  font-size: 10px;
  margin-top: 5px;
}
#main.memberMypage .member_box-ticket_col_txt .use_couponButton,
.member-ticket-list--small .use_couponButton {
  width: 144px;
  height: 30px;
  font-size: 14px;
  margin-top: 10px;
}

/* アコーディオン */
.member-ticket-accordion-head{
  position: relative;
  padding: 20px 30px;
  font-size: 18px;
  font-weight: bold;
  line-height: 1;
  color: #fff;
  background-color: #183D5F;
  @media (width < 768px) {
    padding: 15px 20px;
    font-size: 16px;
  }
}
.member-ticket-accordion-head.js-ticket-accordion-head{
  cursor: pointer;
}
.member-ticket-accordion-head :is(h2){
  font-size: 18px;
  @media (width < 768px) {
    font-size: 16px;
    background: none !important;
    padding: 0 !important;
  }
}
.member-ticket-accordion-icon{
  cursor: pointer;
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  @media (width < 768px) {
    right: 20px;
  }
}
.member-ticket-accordion-icon::before,
.member-ticket-accordion-icon::after{
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 1px;
  background-color: #fff;
}
.member-ticket-accordion-icon::after{
  rotate: 90deg;
}
.member-ticket-accordion-head.is-active .member-ticket-accordion-icon::after{
  display: none;
}
.member-ticket-accordion-body{
  display: none;
}

/* ポップアップ */
.js-ticket-fixed-button{
  cursor: pointer;
  position: fixed;
  bottom: 75px;
  right: 15px;
  width: 56px;
  height: 56px;
  background: linear-gradient(135.93deg, #01B7DF 0%, #005FAD 101.68%);
  border-radius: 50%;
  z-index: 10;
  box-shadow: rgba(255, 255, 255, 0.2) 0px 0px 0px 1px inset, rgba(0, 0, 0, 0.1) 0px 4px 6px, rgba(0, 0, 0, 0.15) 0px 8px 30px;
  @media (width < 768px) {
    bottom: 170px;
    right: 0;
    width: 45px;
    height: 45px;
    z-index: 10;
  }
}
.js-ticket-fixed-button.is-active{
  box-shadow: none;
}
.js-ticket-fixed-button img{
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}
.member-ticket-fixed-body{
  display: none;
  position: fixed;
  width: 92%;
  max-width: 474px;
  bottom: 75px;
  right: 15px;
  z-index: 10;
  box-shadow: rgba(255, 255, 255, 0.2) 0px 0px 0px 1px inset, rgba(0, 0, 0, 0.1) 0px 4px 6px, rgba(0, 0, 0, 0.15) 0px 8px 30px;
  @media (width < 768px) {
    bottom: 170px;
    right: 0px;
  }
}
.member-ticket-fixed-icon{
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  width: 25px;
  height: 25px;
  cursor: pointer;
  @media (width < 768px) {
    right: 20px;
  }
}
.member-ticket-fixed-icon::before,
.member-ticket-fixed-icon::after{
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  width: 100%;
  height: 1px;
  rotate: 45deg;
  background-color: #fff;
}
.member-ticket-fixed-icon::after{
  rotate: 135deg;
}
.member-ticket-list--scroll{
  max-height: calc(100vh - 200px);
  overflow-y: auto;
  @media (width < 768px) {
    max-height: calc(100vh - 400px);
  }
}
.member-ticket-fixed-body .member-ticket-list{
  margin-bottom: 0!important;
}

/* モーダル */
/* .member_sec { */
  .modal.hidden {
    display: none;
  }

  .modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
  }

  .modal-content {
    position: relative;
    background-color: #fff;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    width: 875px;
    height: 345px;
    display: flex;
    justify-content: center;
    flex-direction: column;

    p {}

    span {
      color: red;
    }
  }

  #modal_close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    cursor: pointer;

    .line {
      position: absolute;
      content: '';
      width: 100%;
      height: 2px;
      background: black;
      top: 0;
      bottom: 0;
      margin: auto;

      &:first-child {
        transform: rotate(45deg);
      }

      &:last-child {
        transform: rotate(-45deg);
      }
    }
  }

  .modal-buttons {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
  }

  button {
    padding: 8px 16px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.2s ease;
  }

  #confirm-btn {
    background-color: #4CAF50;
    color: white;
  }

  #confirm-btn:hover {
    background-color: #45a049;
  }

  #cancel-btn {
    background-color: #f44336;
    color: white;
  }

  #cancel-btn:hover {
    background-color: #d32f2f;
  }

  #use_confirmButton {
    width: 250px;
    height: 40px;
    background-color: #183D5F;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 100px;
    font-size: 12px;
    font-weight: bold;
    margin-top: 1em;

    span {
      color: white;
    }
  }
/* } */