/* ============================================================
 * Support Pack (学苑祭応援パック) - CTA Button & Modal
 * - 周りに調和する和モダンの落ち着いたデザイン
 * - グッズページのテーマ（紫アクセント・金茶ベース）と調和
 * - 誠実さを感じさせる端正な余白と階層
 * ============================================================ */

/* ============================================================
 *  CTA BUTTON (Hero 内に配置)
 * ============================================================ */
.support_pack_cta_wrap {
  margin: 28px auto 0;
  display: flex;
  justify-content: center;
}

.support_pack_cta {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  padding: 14px 22px 14px 18px;
  max-width: 560px;
  width: 100%;
  border: 1px solid rgba(94, 55, 137, .22);
  border-radius: 18px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, .92), rgba(255, 250, 240, .88));
  color: var(--ink, #1a1207);
  text-align: left;
  cursor: pointer;
  box-shadow:
    0 6px 22px rgba(94, 55, 137, .12),
    0 1px 0 rgba(255, 255, 255, .8) inset;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  font-family: "Noto Sans JP", sans-serif;
  transition:
    transform .28s cubic-bezier(.22, 1, .36, 1),
    box-shadow .28s ease,
    border-color .25s ease,
    background .25s ease;
  overflow: hidden;
}

/* 左端の落款風アクセントライン */
.support_pack_cta::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  bottom: 14px;
  width: 3px;
  border-radius: 0 3px 3px 0;
  background: linear-gradient(180deg, #7c4bb0 0%, #5e3789 100%);
  opacity: .85;
}

.support_pack_cta:hover,
.support_pack_cta:focus-visible {
  transform: translateY(-2px);
  border-color: rgba(94, 55, 137, .4);
  box-shadow:
    0 12px 32px rgba(94, 55, 137, .18),
    0 1px 0 rgba(255, 255, 255, .9) inset;
  outline: none;
}

.support_pack_cta:focus-visible {
  outline: 2px solid #7c4bb0;
  outline-offset: 3px;
}

.support_pack_cta_badge {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: #5e3789;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 11px;
  letter-spacing: .08em;
  box-shadow: 0 2px 8px rgba(94, 55, 137, .25);
  white-space: nowrap;
}

.support_pack_cta_body {
  display: flex;
  flex-direction: column;
  gap: 3px;
  flex: 1;
  min-width: 0;
}

.support_pack_cta_label {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .28em;
  text-transform: uppercase;
  color: rgba(26, 18, 7, .5);
}

.support_pack_cta_title {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 16px;
  letter-spacing: .04em;
  color: #1a1207;
  line-height: 1.4;
}

.support_pack_cta_sub {
  font-family: "Shippori Mincho", serif;
  font-size: 12px;
  color: rgba(26, 18, 7, .62);
  letter-spacing: .02em;
  line-height: 1.5;
}

.support_pack_cta_arrow {
  flex-shrink: 0;
  color: #5e3789;
  opacity: .7;
  transition: transform .28s ease, opacity .25s ease;
}

.support_pack_cta:hover .support_pack_cta_arrow {
  transform: translateX(4px);
  opacity: 1;
}

/* ============================================================
 *  MODAL OVERLAY
 * ============================================================ */
.support_pack_modal_overlay {
  position: fixed;
  inset: 0;
  z-index: 10001;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px 16px;
  background: rgba(26, 18, 7, .58);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .3s ease;
}

.support_pack_modal_overlay[hidden] {
  display: none;
}

.support_pack_modal_overlay.active {
  opacity: 1;
  pointer-events: auto;
}

body.support_pack_modal_open {
  overflow: hidden;
}

/* ============================================================
 *  MODAL CARD
 * ============================================================ */
.support_pack_modal {
  position: relative;
  width: min(720px, 100%);
  max-height: 90dvh;
  overflow-y: auto;
  overflow-x: hidden;
  background:
    /* 薄い和紙風テクスチャ */
    radial-gradient(circle at 12% 8%, rgba(218, 181, 132, .14) 0, transparent 40%),
    radial-gradient(circle at 88% 92%, rgba(124, 75, 176, .08) 0, transparent 45%),
    linear-gradient(180deg, #fffaf0 0%, #fbf3e0 100%);
  border: 1px solid rgba(94, 55, 137, .15);
  border-radius: 22px;
  box-shadow:
    0 30px 70px rgba(26, 18, 7, .28),
    0 1px 0 rgba(255, 255, 255, .8) inset;
  transform: translateY(28px) scale(.97);
  transition: transform .35s cubic-bezier(.22, 1, .36, 1);
  -webkit-overflow-scrolling: touch;
  outline: none;
}

.support_pack_modal_overlay.active .support_pack_modal {
  transform: translateY(0) scale(1);
}

.support_pack_modal_close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, .92);
  color: #1a1207;
  cursor: pointer;
  z-index: 5;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .12);
  transition: transform .2s, background .2s;
}

.support_pack_modal_close:hover {
  transform: scale(1.08);
  background: #fff;
}

/* ============================================================
 *  MODAL HEADER
 * ============================================================ */
.support_pack_modal_header {
  position: relative;
  padding: 38px 36px 28px;
  text-align: center;
  border-bottom: 1px solid rgba(26, 18, 7, .08);
}

.support_pack_modal_eyebrow {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(94, 55, 137, .7);
  margin-bottom: 12px;
}

.support_pack_modal_title {
  font-family: "Zen Old Mincho", serif;
  font-weight: 900;
  font-size: clamp(22px, 4.2vw, 30px);
  letter-spacing: .08em;
  color: #1a1207;
  line-height: 1.35;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.support_pack_modal_title::after {
  content: "";
  display: block;
  width: 56px;
  height: 2px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, #7c4bb0, transparent);
}

.support_pack_modal_title_sub {
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 13px;
  letter-spacing: .26em;
  color: rgba(94, 55, 137, .85);
}

.support_pack_modal_lead {
  margin-top: 20px;
  font-family: "Shippori Mincho", serif;
  font-size: 14px;
  line-height: 2;
  color: rgba(26, 18, 7, .78);
  text-align: center;
  letter-spacing: .02em;
}

/* ============================================================
 *  SUMMARY (実施概要 - 商品名/価格/販売場所)
 * ============================================================ */
.support_pack_modal_summary {
  padding: 26px 30px 8px;
}

.support_pack_summary_list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.support_pack_summary_item {
  display: grid;
  grid-template-columns: 110px 1fr;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  background: rgba(246, 220, 159, .42);
  border: 1px solid rgba(26, 18, 7, .08);
  border-radius: 14px;
}

.support_pack_summary_item dt {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .14em;
  color: rgba(94, 55, 137, .85);
  display: inline-flex;
  align-items: center;
}

.support_pack_summary_item dt::before {
  content: "";
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: #7c4bb0;
  opacity: .8;
}

.support_pack_summary_item dd {
  font-family: "Noto Sans JP", sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #1a1207;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 12px;
}

.support_pack_price {
  font-family: "Zen Old Mincho", serif;
  font-weight: 900;
  font-size: 22px;
  color: #5e3789;
  letter-spacing: .02em;
  line-height: 1;
}

.support_pack_price small {
  font-size: 13px;
  font-weight: 700;
  margin-left: 3px;
  opacity: .85;
}

.support_pack_price_break {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 500;
  color: rgba(26, 18, 7, .58);
  letter-spacing: .02em;
}

/* ============================================================
 *  SECTIONS (注意事項)
 * ============================================================ */
.support_pack_modal_section {
  padding: 22px 30px 8px;
}

.support_pack_modal_section_title {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin: 14px 0 22px;
  padding-bottom: 14px;
  text-align: center;
}

.support_pack_modal_section_title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 1px;
  background: rgba(94, 55, 137, .35);
}

.support_pack_section_kicker {
  font-family: "Noto Sans JP", sans-serif;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: .32em;
  text-transform: uppercase;
  color: rgba(94, 55, 137, .7);
}

.support_pack_section_jp {
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 17px;
  letter-spacing: .12em;
  color: #1a1207;
}

.support_pack_notes {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.support_pack_note {
  padding: 18px 20px 16px;
  background: rgba(255, 255, 255, .68);
  border: 1px solid rgba(26, 18, 7, .07);
  border-left: 3px solid rgba(124, 75, 176, .55);
  border-radius: 12px;
  box-shadow: 0 4px 14px rgba(26, 18, 7, .04);
}

.support_pack_note_title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: "Zen Old Mincho", serif;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .06em;
  color: #1a1207;
  margin-bottom: 10px;
}

.support_pack_note_num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #5e3789;
  color: #fff;
  font-family: "Noto Sans JP", sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  flex-shrink: 0;
}

.support_pack_note p,
.support_pack_note_list li {
  font-family: "Shippori Mincho", serif;
  font-size: 13.5px;
  line-height: 1.95;
  color: rgba(26, 18, 7, .8);
  letter-spacing: .02em;
}

.support_pack_note p+p {
  margin-top: 6px;
}

.support_pack_note_emphasis {
  display: inline-block;
  margin-top: 8px !important;
  padding: 6px 14px;
  border-radius: 8px;
  background: rgba(94, 55, 137, .1);
  color: #5e3789 !important;
  font-family: "Noto Sans JP", sans-serif !important;
  font-weight: 700 !important;
  font-size: 13px !important;
  letter-spacing: .04em;
}

.support_pack_note_list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.support_pack_note_list li {
  position: relative;
  padding-left: 16px;
}

.support_pack_note_list li::before {
  content: "・";
  position: absolute;
  left: 0;
  top: 0;
  color: rgba(94, 55, 137, .65);
  font-weight: 700;
}

.support_pack_note_list li strong {
  font-weight: 700;
  color: #5e3789;
  background: linear-gradient(transparent 65%, rgba(124, 75, 176, .18) 65%);
  padding: 0 2px;
}

/* ============================================================
 *  RESERVATION PAGE LINK BUTTON
 * ============================================================ */
.pack_res_link_btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 28px;
  font-family: "Shippori Mincho", serif;
  font-weight: 600;
  font-size: 15px;
  color: #1a1207;
  text-decoration: none;
  border: 1.5px solid rgba(0, 0, 0, 0.25);
  border-radius: 50px;
  transition: background 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.pack_res_link_btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}


/* ============================================================
 *  FOOTER
 * ============================================================ */
.support_pack_modal_footer {
  padding: 18px 30px 30px;
  text-align: center;
}

.support_pack_modal_outro {
  font-family: "Shippori Mincho", serif;
  font-size: 13px;
  line-height: 2;
  color: rgba(26, 18, 7, .65);
  letter-spacing: .02em;
}

/* ============================================================
 *  RESPONSIVE
 * ============================================================ */
@media (max-width: 640px) {
  .support_pack_cta_wrap {
    margin-top: 22px;
  }

  .support_pack_cta {
    padding: 12px 16px 12px 16px;
    gap: 12px;
    border-radius: 14px;
  }

  .support_pack_cta::before {
    top: 12px;
    bottom: 12px;
  }

  .support_pack_cta_badge {
    padding: 4px 9px;
    font-size: 10px;
  }

  .support_pack_cta_title {
    font-size: 14px;
  }

  .support_pack_cta_sub {
    font-size: 11px;
  }

  .support_pack_cta_label {
    font-size: 9px;
    letter-spacing: .22em;
  }

  .support_pack_modal_overlay {
    padding: 12px 10px;
  }

  .support_pack_modal {
    max-height: 92dvh;
    border-radius: 18px;
  }

  .support_pack_modal_header {
    padding: 30px 22px 22px;
  }

  .support_pack_modal_summary,
  .support_pack_modal_section,
  .support_pack_modal_footer {
    padding-left: 18px;
    padding-right: 18px;
  }

  .support_pack_summary_item {
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 14px;
  }

  .support_pack_summary_item dt {
    font-size: 10px;
  }

  .support_pack_summary_item dd {
    font-size: 14px;
  }

  .support_pack_price {
    font-size: 20px;
  }

  .support_pack_note {
    padding: 14px 16px 12px;
  }

  .support_pack_note_title {
    font-size: 14px;
  }

  .support_pack_note p,
  .support_pack_note_list li {
    font-size: 12.5px;
    line-height: 1.9;
  }

  .support_pack_modal_lead {
    font-size: 12.5px;
    line-height: 1.95;
  }
}

@media (max-width: 380px) {
  .support_pack_cta {
    flex-wrap: wrap;
  }

  .support_pack_cta_arrow {
    display: none;
  }
}

/* ============================================================
 *  REDUCED MOTION
 * ============================================================ */
@media (prefers-reduced-motion: reduce) {

  .support_pack_modal,
  .support_pack_modal_overlay,
  .support_pack_cta,
  .support_pack_cta_arrow {
    transition: none !important;
  }

  .support_pack_modal {
    transform: none !important;
  }
}