/* ==========================================
   Blue Beryl EVENT PAGE
   ========================================== */

/* ------------------------------------------
   基本設定
------------------------------------------ */

.events-page {
  --events-blue: #0758f7;
  --events-blue-dark: #061b70;
  --events-blue-light: #eaf4ff;
  --events-yellow: #ffe56b;
  --events-cream: #fffef7;
  --events-text: #071b69;

  background: var(--events-cream);
  color: var(--events-text);
  font-family:
    "Hiragino Kaku Gothic ProN",
    "Hiragino Sans",
    "Noto Sans JP",
    sans-serif;

  overflow: clip;
}

.events-page *,
.events-page *::before,
.events-page *::after {
  box-sizing: border-box;
}

.events-page img {
  display: block;
  max-width: 100%;
}

.events-page a {
  text-decoration: none;
}

.events-page button,
.events-page a {
  -webkit-tap-highlight-color: transparent;
}

.events-page h1,
.events-page h2,
.events-page h3,
.events-page h4,
.events-page p,
.events-page figure {
  margin: 0;
}

.events-page ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.events-container {
  width: min(1120px, calc(100% - 48px));
  margin-inline: auto;
}

.events-section {
  position: relative;
  padding: 44px 0;
}

/* ------------------------------------------
   イベントページ専用ヘッダー
   既存Header.astroをそのまま使用
------------------------------------------ */

.events-page .site-header {
  background: rgba(255, 254, 247, 0.98);
  color: var(--events-blue-dark);
  border-bottom: 1px solid rgba(7, 88, 247, 0.08);
}

.events-page .site-header::before,
.events-page .site-header::after {
  display: none;
}

.events-page .site-header .primary-nav a,
.events-page .site-header .mobile-nav a {
  color: var(--events-blue-dark);
}

.events-page .site-header .primary-nav a:hover,
.events-page .site-header .mobile-nav a:hover {
  color: var(--events-blue);
}

.events-page .site-header .primary-nav a[aria-current="page"],
.events-page .site-header .mobile-nav a[aria-current="page"] {
  color: var(--events-blue);
}

.events-page .site-header .header-location {
  color: var(--events-blue-dark);
}

/* ------------------------------------------
   セクション見出し
------------------------------------------ */

.events-section-label {
  display: flex;
  align-items: center;
  gap: 12px;

  color: var(--events-blue-dark);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
}

.events-section-label::after {
  content: "";
  display: block;
  width: 110px;
  height: 1px;
  background: var(--events-blue);
}

.events-section-heading {
  margin-bottom: 22px;
}

.events-section-heading h2 {
  position: relative;
  display: inline-block;

  margin-top: 7px;

  color: var(--events-blue-dark);
  font-size: clamp(24px, 3vw, 36px);
  font-weight: 900;
  line-height: 1.45;
  letter-spacing: 0.02em;
}

.events-section-heading__row {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
}

.events-section-heading__row > span {
  color: var(--events-blue-dark);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

/* ------------------------------------------
   ボタン
------------------------------------------ */

.events-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  min-height: 52px;
  padding: 14px 30px;

  border-radius: 999px;

  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;

  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background 0.25s ease;
}

.events-button:hover {
  transform: translateY(-3px);
}

.events-button--primary {
  color: #fff;
  background: linear-gradient(
    110deg,
    #0864ff 0%,
    #004ce5 100%
  );

  box-shadow: 0 6px 18px rgba(0, 80, 240, 0.16);
}

.events-button--primary:hover {
  box-shadow: 0 9px 24px rgba(0, 80, 240, 0.25);
}

.events-button--yellow {
  color: var(--events-blue-dark);
  background: var(--events-yellow);

  box-shadow: 0 5px 15px rgba(255, 229, 107, 0.2);
}

/* ------------------------------------------
   キラキラ装飾
------------------------------------------ */

.events-sparkle {
  position: absolute;
  z-index: 2;

  color: var(--events-blue);
  font-size: 32px;
  line-height: 1;

  pointer-events: none;
}

/* ==========================================
   HERO
========================================== */

.events-hero {
  position: relative;

  padding: 36px 0 26px;

   background-image:
    url("/images/decorations/ribbon-top-left.png");
  background-repeat: no-repeat;
  background-position: left top;
  background-size: min(34vw, 420px) auto;
}

.events-hero__inner {
  position: relative;

  display: grid;
  grid-template-columns: 46% 54%;
  align-items: center;

  min-height: 440px;
}

.events-hero__content {
  position: relative;
  z-index: 3;

  padding: 35px 0;
}

.events-hero__badge {
  display: inline-block;

  margin-top: 18px;
  padding: 8px 17px;

  border-radius: 999px;
  background: #fff3a6;

  color: var(--events-blue-dark);
  font-size: 14px;
  font-weight: 800;
}

.events-hero__title {
  position: relative;

  margin-top: 15px !important;

  color: var(--events-blue-dark);
  font-size: clamp(35px, 4.6vw, 60px);
  font-weight: 900;
  line-height: 1.22;
  letter-spacing: -0.035em;
}

.events-hero__title span {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.events-hero__title span::after {
  content: "";

  position: absolute;
  z-index: -1;

  left: -4%;
  right: -3%;
  bottom: 0.04em;

  height: 0.19em;

  border-radius: 999px;
  background: var(--events-yellow);

  transform: rotate(-1deg);
}

.events-hero__description {
  margin-top: 23px !important;

  color: var(--events-blue-dark);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.9;
}

.events-hero__content .events-button {
  margin-top: 24px;
}

.events-hero__visual {
  position: relative;

  width: calc(100% + 30px);
  height: 440px;

  overflow: hidden;

  border-radius: 180px 18px 18px 180px;
}

.events-hero__visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.events-hero__sparkle-01 {
  top: 40px;
  left: 39%;
}

.events-hero__sparkle-02 {
  right: 2%;
  bottom: 20px;
}

.events-hero__sparkle-03 {
  left: 44%;
  bottom: 40px;
  color: #ffc900;
}

/* ==========================================
   BENEFITS
========================================== */

.events-benefits {
  padding: 12px 0 18px;
}

.events-benefits__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);

  padding: 22px 15px;

  border-radius: 16px;
  background: #fff;

  box-shadow: 0 6px 30px rgba(7, 38, 112, 0.04);
}

.events-benefit {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;

  min-height: 90px;
}

.events-benefit:not(:last-child) {
  border-right: 1px solid #ccd8ee;
}

.events-benefit__icon {
  color: var(--events-blue);
  font-size: 48px;
  font-weight: 400;
  line-height: 1;
}

.events-benefit p {
  font-size: 14px;
  font-weight: 800;
}

.events-benefit strong {
  position: relative;
  display: inline-block;

  color: var(--events-blue-dark);
  font-size: 40px;
  font-weight: 900;
  line-height: 1.15;
}

.events-benefit strong::after {
  content: "";

  position: absolute;
  z-index: 0;

  left: 0;
  right: 0;
  bottom: -2px;

  height: 8px;
  border-radius: 999px;

  background: var(--events-yellow);
  opacity: 0.9;
}

.events-benefit strong span {
  font-size: 19px;
}

/* ==========================================
   EVENT TYPES
========================================== */

.events-types {
  padding-top: 38px;
}

.events-types__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px 18px;
}

.events-type-card {
  overflow: hidden;

  border-radius: 12px;
  background: #fff;

  text-align: center;
}

.events-type-card__image {
  overflow: hidden;
  aspect-ratio: 1.85 / 1;
  border-radius: 10px;
}

.events-type-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;

  transition: transform 0.4s ease;
}

.events-type-card:hover img {
  transform: scale(1.05);
}

.events-type-card h3 {
  margin-top: 10px;

  color: var(--events-blue-dark);
  font-size: 17px;
  font-weight: 900;
  line-height: 1.5;
}

.events-type-card p {
  padding: 3px 10px 13px;

  color: #173a95;
  font-size: 13px;
  font-weight: 600;
  line-height: 1.65;
}

.events-types__note {
  margin-top: 24px;
  padding: 14px 22px;

  border-radius: 12px;
  background: #eaf4ff;

  color: var(--events-blue-dark);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.8;
  text-align: center;
}

.events-types__note span {
  margin: 0 12px;
  color: #ffcc00;
  font-size: 22px;
}

/* ==========================================
   PLANS
========================================== */

.events-plans {
  padding-top: 35px;
}

.events-plans__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 0.72fr;
  gap: 14px;
}

.events-plan-card {
  min-width: 0;
  padding: 23px 20px;

  border: 2px solid var(--events-blue);
  border-radius: 10px;
  background: #fff;
}

.events-plan-card h3 {
  margin-bottom: 17px;

  color: var(--events-blue);
  font-size: clamp(17px, 2vw, 22px);
  font-weight: 900;
}

.events-plan-card ul {
  display: grid;
  gap: 12px;
}

.events-plan-card li {
  position: relative;

  padding-left: 25px;

  color: #173b97;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.6;
}

.events-plan-card li::before {
  content: "✓";

  position: absolute;
  left: 0;
  top: -2px;

  color: var(--events-blue);
  font-size: 20px;
  font-weight: 900;
}

.events-plan-card li strong {
  color: var(--events-blue-dark);
  font-size: 15px;
}

.events-plan-card--drink {
  border: none;

  background: linear-gradient(
    145deg,
    #fff8bf,
    #fff3a5
  );

  text-align: center;
}

.events-plan-card__drink-icon {
  color: var(--events-blue);
  font-size: 40px;
  line-height: 1;
}

.events-plan-card--drink h3 {
  margin: 8px 0;
  color: var(--events-blue-dark);
}

.events-plan-card--drink p {
  font-size: 13px;
  font-weight: 800;
  line-height: 1.7;
}

.events-plan-card--drink p strong {
  color: var(--events-blue-dark);
  font-size: 21px;
}

.events-plan-card--drink small {
  display: block;
  margin-top: 8px;

  font-size: 11px;
  line-height: 1.6;
}

.events-plan-card--drink hr {
  margin: 18px 0;
  border: none;
  border-top: 1px dashed #e2c44d;
}

.events-plan-card__price {
  display: block;

  color: var(--events-blue-dark);
  font-size: 23px;
}

.events-plans__note {
  margin-top: 12px !important;

  color: #173b97;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
}

/* ==========================================
   SPACE
========================================== */

.events-space__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.events-space__item {
  position: relative;

  overflow: hidden;
  border-radius: 13px;

  aspect-ratio: 2.2 / 1;
}

.events-space__item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.events-space__item figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;

  padding: 7px 15px;

  border-radius: 999px;
  background: #fff;

  color: var(--events-blue-dark);
  font-size: 13px;
  font-weight: 800;
}

/* ==========================================
   FLOW
========================================== */

.events-flow .events-container {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 245px;
  column-gap: 24px;
}

.events-flow .events-section-heading {
  grid-column: 1 / -1;
}

.events-flow__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
}

.events-flow__step {
  position: relative;

  min-width: 0;
  padding: 18px 12px 16px;

  border-radius: 10px;
  background: #fff;

  text-align: center;
}

.events-flow__step:not(:last-child)::after {
  content: "›";

  position: absolute;
  z-index: 2;
  right: -13px;
  top: 45%;

  color: var(--events-blue);
  font-size: 30px;
  font-weight: 400;
}

.events-flow__number {
  position: absolute;
  top: -10px;
  left: -7px;

  display: grid;
  place-items: center;

  width: 34px;
  height: 34px;

  border-radius: 50%;
  background: var(--events-blue);

  color: #fff;
  font-size: 12px;
  font-weight: 800;
}

.events-flow__icon {
  margin-bottom: 8px;

  color: var(--events-blue);
  font-size: 37px;
  line-height: 1.2;
}

.events-flow__step h3 {
  margin-bottom: 8px;

  color: var(--events-blue-dark);
  font-size: 15px;
  font-weight: 900;
}

.events-flow__step p {
  color: #3856a2;
  font-size: 11px;
  font-weight: 600;
  line-height: 1.65;
}

.events-flow__hours {
  align-self: center;

  padding: 18px 12px;

  border: 1px solid #8bb8ff;
  border-radius: 10px;
  background: #f8fbff;

  text-align: center;
}

.events-flow__hours h3 {
  margin-bottom: 12px;

  color: var(--events-blue);
  font-size: 13px;
  font-weight: 800;
}

.events-flow__hours p {
  margin-top: 7px;

  color: var(--events-blue-dark);
  font-size: 13px;
  font-weight: 800;
}

/* ==========================================
   SCHEDULE
========================================== */

.events-schedule {
  margin-top: 20px;
  padding: 35px 0;

  background: #fff;
}

.events-schedule__heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  margin-bottom: 10px;
}

.events-schedule__heading h2 {
  position: relative;

  color: var(--events-blue-dark);
  font-size: clamp(25px, 3vw, 35px);
  font-weight: 900;
}

.events-schedule__heading h2::after {
  content: "";

  position: absolute;
  z-index: 0;

  left: 0;
  right: -10px;
  bottom: 1px;

  height: 9px;

  border-radius: 999px;
  background: var(--events-yellow);
}

.events-schedule__heading > span {
  color: var(--events-blue-dark);
  font-size: 18px;
  font-weight: 900;
}

.events-schedule__notice {
  margin-bottom: 18px !important;

  color: #6d80ac;
  font-size: 11px;
  text-align: right;
}

.events-schedule__layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 285px;
  gap: 20px;
}

.events-schedule__cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.events-schedule-card {
  display: flex;
  flex-direction: column;

  min-width: 0;

  overflow: hidden;

  border: 1px solid #e5edff;
  border-radius: 10px;
  background: #fff;
}

.events-schedule-card__image {
  aspect-ratio: 1.5 / 1;
  overflow: hidden;
}

.events-schedule-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.events-schedule-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;

  padding: 13px 10px;
}

.events-schedule-card__date {
  color: var(--events-blue-dark);
  font-size: 14px;
  font-weight: 900;
}

.events-schedule-card__date span {
  color: var(--events-blue);
}

.events-schedule-card__date span.is-sunday {
  color: #f03b3b;
}

.events-schedule-card h3 {
  margin-top: 5px;

  color: var(--events-blue-dark);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.5;
}

.events-schedule-card__status {
  align-self: flex-start;

  margin-top: 8px;
  padding: 5px 13px;

  border-radius: 999px;
  background: var(--events-blue);

  color: #fff;
  font-size: 11px;
  font-weight: 800;
}

.events-schedule-card__link {
  align-self: flex-end;

  margin-top: auto;
  padding-top: 18px;

  color: var(--events-blue);
  font-size: 12px;
  font-weight: 800;
}

/* ------------------------------------------
   CALENDAR
------------------------------------------ */

.events-calendar {
  padding: 15px 12px;

  border-radius: 12px;
  background: #f9fbff;
}

.events-calendar h3 {
  margin-bottom: 12px;

  color: var(--events-blue-dark);
  font-size: 16px;
  font-weight: 900;
  text-align: center;
}

.events-calendar__grid {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));

  border-top: 1px solid #dce6fa;
  border-left: 1px solid #dce6fa;
}

.events-calendar__weekday,
.events-calendar__day {
  display: grid;
  place-items: center;

  min-width: 0;
  min-height: 35px;

  border-right: 1px solid #dce6fa;
  border-bottom: 1px solid #dce6fa;

  background: #fff;

  color: var(--events-blue-dark);
  font-size: 11px;
  font-weight: 700;
}

.events-calendar__weekday {
  min-height: 28px;
  background: #eef5ff;
}

.events-calendar__weekday.is-sunday,
.events-calendar__day.is-sunday {
  color: #e83c3c;
}

.events-calendar__weekday.is-saturday,
.events-calendar__day.is-saturday {
  color: var(--events-blue);
}

.events-calendar__day.has-event {
  position: relative;

  background: #e4efff;
  color: var(--events-blue);
  font-weight: 900;
}

.events-calendar__day.has-event::after {
  content: none;

  position: absolute;
  bottom: 3px;

  width: 4px;
  height: 4px;

  border-radius: 50%;
  background: var(--events-blue);
}

.events-calendar__day.is-empty {
  background: #fafcff;
}

.events-calendar__archive {
  display: flex;
  align-items: center;
  gap: 12px;

  margin-top: 14px;
  padding: 14px 10px;

  border-radius: 10px;
  background: #eaf4ff;
}

.events-calendar__archive > span {
  color: var(--events-blue);
  font-size: 34px;
}

.events-calendar__archive h4 {
  color: var(--events-blue-dark);
  font-size: 12px;
  font-weight: 900;
}

.events-calendar__archive p {
  margin-top: 4px;

  color: #4260a0;
  font-size: 10px;
  line-height: 1.5;
}

.events-calendar__archive-link {
  display: inline-block;

  margin-top: 9px;
  padding: 6px 10px;

  border: 1px solid var(--events-blue);
  border-radius: 999px;

  color: var(--events-blue);
  font-size: 10px;
  font-weight: 800;
}

/* ==========================================
   INFORMATION
========================================== */

.events-info__grid {
  display: grid;
  grid-template-columns: 180px minmax(0, 1fr) 300px;
  align-items: center;
  gap: 20px;
}

.events-info__logo {
  display: flex;
  align-items: center;
  justify-content: center;
}

.events-info__logo img {
  width: 150px;
  height: auto;
}

.events-info__details {
  margin: 0;

  border: 1px solid #dce6f4;
  border-radius: 6px;

  overflow: hidden;
}

.events-info__details > div {
  display: grid;
  grid-template-columns: 105px minmax(0, 1fr);
}

.events-info__details > div:not(:last-child) {
  border-bottom: 1px solid #dce6f4;
}

.events-info__details dt,
.events-info__details dd {
  margin: 0;
  padding: 8px 10px;

  font-size: 12px;
  line-height: 1.5;
}

.events-info__details dt {
  background: #f0f6ff;

  color: #24488d;
  font-weight: 800;
}

.events-info__details dd {
  color: var(--events-blue-dark);
  font-weight: 600;
}

.events-info__image {
  overflow: hidden;

  aspect-ratio: 2 / 1;
  border-radius: 12px;
}

.events-info__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* ==========================================
   GALLERY
========================================== */

.events-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}



.events-gallery__grid figure {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1.2 / 1;
  border-radius: 12px;
}



.events-gallery__grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.events-gallery__grid figcaption {
  position: absolute;
  left: 12px;
  bottom: 12px;

  padding: 7px 15px;

  border-radius: 999px;
  background: #fff;

  color: var(--events-blue-dark);
  font-size: 12px;
  font-weight: 800;
}

.events-gallery__note {
  margin-top: 12px !important;

  color: #657ba6;
  font-size: 11px;
  text-align: right;
}

/* ==========================================
   CONTACT
========================================== */

.events-contact {
  position: relative;

  padding: 38px 0 45px;

  overflow: hidden;

  background:
    radial-gradient(
      circle at 15% 25%,
      rgba(255, 255, 255, 0.18),
      transparent 25%
    ),
    radial-gradient(
      circle at 85% 70%,
      rgba(255, 255, 255, 0.14),
      transparent 25%
    ),
    linear-gradient(
      115deg,
      #0758f7,
      #0044c8
    );

  text-align: center;
}

.events-contact::before,
.events-contact::after {
  content: "";

  position: absolute;

  width: 400px;
  height: 180px;

  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 50%;

  transform: rotate(-20deg);
  pointer-events: none;
}

.events-contact::before {
  left: -160px;
  bottom: -100px;
}

.events-contact::after {
  right: -150px;
  top: -100px;
}

.events-contact .events-container {
  position: relative;
  z-index: 1;
}

.events-contact h2 {
  color: #fff;
  font-size: clamp(20px, 2.7vw, 30px);
  font-weight: 900;
  line-height: 1.5;
}

.events-contact p {
  margin-top: 10px;

  color: #fff;
  font-size: 13px;
  font-weight: 600;
}

.events-contact .events-button {
  margin-top: 20px;
  min-width: 270px;
}

.events-contact small {
  display: block;
  margin-top: 10px;

  color: #fff;
  font-size: 11px;
}

.events-contact__star {
  position: absolute;

  color: var(--events-yellow);
  font-size: 35px;
}

.events-contact__star--01 {
  left: 6%;
  top: 10px;
}

.events-contact__star--02 {
  right: 8%;
  bottom: 10px;
}

/* ==========================================
   FOOTER
========================================== */

.events-page .site-footer {
  background: #fffef7;
  color: var(--events-blue-dark);
}

.events-page .site-footer a {
  color: var(--events-blue-dark);
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 1024px) {

  .events-container {
    width: min(100% - 40px, 900px);
  }

  .events-hero__inner {
    grid-template-columns: 48% 52%;
    min-height: 380px;
  }

  .events-hero__visual {
    height: 380px;
  }

  .events-hero__title {
    font-size: clamp(33px, 4.4vw, 48px);
  }

  .events-hero__description {
    font-size: 13px;
  }

  .events-plans__grid {
    grid-template-columns: 1fr 1fr;
  }

  .events-plan-card--drink {
    grid-column: 1 / -1;
  }

  .events-flow .events-container {
    grid-template-columns: 1fr;
  }

  .events-flow__hours {
    width: min(100%, 400px);
    margin: 22px auto 0;
  }

  .events-schedule__layout {
    grid-template-columns: 1fr;
  }

  .events-calendar {
    width: min(100%, 420px);
    margin-inline: auto;
  }

  .events-info__grid {
    grid-template-columns: 140px minmax(0, 1fr);
  }

  .events-info__image {
    grid-column: 1 / -1;
    width: 100%;
    max-height: 260px;
  }
}

/* ==========================================
   MOBILE
========================================== */

@media (max-width: 767px) {

  .events-container {
    width: calc(100% - 32px);
  }

  .events-section {
    padding: 34px 0;
  }

  .events-section-label {
    font-size: 10px;
  }

  .events-section-label::after {
    width: 75px;
  }

  .events-section-heading {
    margin-bottom: 18px;
  }

  .events-section-heading h2 {
    font-size: clamp(22px, 6vw, 29px);
  }

  .events-section-heading__row {
    display: block;
  }

  .events-section-heading__row > span {
    display: block;
    margin-top: 8px;
    font-size: 11px;
  }

  /* HERO */

  .events-hero {
    padding: 18px 0 15px;
  }

  .events-hero__inner {
    display: flex;
    flex-direction: column;
    min-height: auto;
  }

  .events-hero__content {
    width: 100%;
    padding: 18px 0 24px;
  }

  .events-hero__badge {
    margin-top: 12px;
    padding: 7px 12px;
    font-size: 11px;
  }

  .events-hero__title {
    margin-top: 13px !important;
    font-size: clamp(32px, 8vw, 44px);
  }

  .events-hero__description {
    margin-top: 17px !important;
    font-size: 12px;
    line-height: 1.8;
  }

  .events-hero__content .events-button {
    width: 100%;
    margin-top: 20px;
    padding: 13px 12px;
    font-size: 12px;
  }

  .events-hero__visual {
    width: 100%;
    height: auto;
    aspect-ratio: 1.5 / 1;

    border-radius: 100px 15px 15px 100px;
  }

  .events-hero__sparkle-01 {
    top: 30px;
    right: 0;
    left: auto;
  }

  .events-hero__sparkle-02 {
    right: 0;
    bottom: 5px;
  }

  .events-hero__sparkle-03 {
    left: 5px;
    bottom: 35px;
  }

  /* BENEFITS */

  .events-benefits {
    padding: 12px 0;
  }

  .events-benefits__grid {
    gap: 0;
    padding: 14px 5px;
  }

  .events-benefit {
    flex-direction: column;
    gap: 5px;
    min-height: 85px;
    text-align: center;
  }

  .events-benefit__icon {
    font-size: 26px;
  }

  .events-benefit p {
    font-size: 10px;
  }

  .events-benefit strong {
    font-size: 24px;
  }

  .events-benefit strong span {
    font-size: 10px;
  }

  .events-benefit strong::after {
    height: 5px;
  }

  /* EVENT TYPES */

  .events-types__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px 10px;
  }

  .events-type-card__image {
    aspect-ratio: 1.4 / 1;
  }

  .events-type-card h3 {
    margin-top: 8px;
    font-size: 12px;
  }

  .events-type-card p {
    padding: 5px 5px 10px;
    font-size: 10px;
  }

  .events-types__note {
    padding: 12px;
    font-size: 11px;
  }

  .events-types__note span {
    margin: 0 4px;
  }

  /* PLANS */

  .events-plans__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .events-plan-card {
    padding: 20px 18px;
  }

  .events-plan-card h3 {
    font-size: 19px;
  }

  .events-plan-card li {
    font-size: 12px;
  }

  .events-plan-card--drink {
    grid-column: auto;
  }

  /* SPACE */

  .events-space__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .events-space__item {
    aspect-ratio: 1.9 / 1;
  }

  /* FLOW */

  .events-flow__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 12px;
  }

  .events-flow__step {
    padding: 20px 10px 15px;
  }

  .events-flow__step:nth-child(2)::after {
    display: none;
  }

  .events-flow__step h3 {
    font-size: 13px;
  }

  .events-flow__step p {
    font-size: 10px;
  }

  .events-flow__hours {
    margin-top: 25px;
  }

  /* SCHEDULE */

  .events-schedule {
    margin-top: 10px;
  }

  .events-schedule__heading h2 {
    font-size: 25px;
  }

  .events-schedule__heading > span {
    font-size: 13px;
  }

  .events-schedule__notice {
    font-size: 10px;
    text-align: left;
  }

  .events-schedule__cards {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .events-schedule-card {
    display: grid;
    grid-template-columns: 42% 58%;
    align-items: stretch;
  }

  .events-schedule-card__image {
    height: 100%;
    min-height: 145px;
    aspect-ratio: auto;
  }

  .events-schedule-card__body {
    min-width: 0;
    padding: 12px;
  }

  .events-schedule-card__date {
    font-size: 12px;
  }

  .events-schedule-card h3 {
    font-size: 13px;
  }

  .events-schedule-card__link {
    padding-top: 10px;
    font-size: 10px;
  }

  .events-calendar {
    width: 100%;
  }

  /* INFORMATION */

  .events-info__grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }

  .events-info__logo img {
    width: 120px;
  }

  .events-info__details > div {
    grid-template-columns: 90px minmax(0, 1fr);
  }

  .events-info__details dt,
  .events-info__details dd {
    font-size: 11px;
  }

  .events-info__image {
    grid-column: auto;
    max-height: none;
  }

  /* GALLERY */

  .events-gallery__grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .events-gallery__grid figure {
    aspect-ratio: 2 / 1;
  }

  /* CONTACT */

  .events-contact {
    padding: 40px 0;
  }

  .events-contact h2 {
    font-size: 21px;
  }

  .events-contact p {
    font-size: 12px;
    line-height: 1.7;
  }

  .events-contact .events-button {
    width: 100%;
    min-width: 0;
    font-size: 13px;
  }
}

/* ==========================================
   SMALL MOBILE
========================================== */

@media (max-width: 375px) {

  .events-hero__title {
    font-size: 30px;
  }

  .events-benefit strong {
    font-size: 21px;
  }

  .events-benefit strong span {
    font-size: 9px;
  }

  .events-type-card h3 {
    font-size: 11px;
  }

  .events-flow__step p {
    font-size: 9px;
  }

  .events-schedule-card {
    grid-template-columns: 40% 60%;
  }

  .events-schedule-card__body {
    padding: 10px 8px;
  }
}

/* ==========================================
   アニメーション軽減設定
========================================== */

@media (prefers-reduced-motion: reduce) {

  .events-page *,
  .events-page *::before,
  .events-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
  }
}

/* イベント紹介画像をトリミングせず全体表示 */
.events-type-card__image {
  aspect-ratio: auto;
  overflow: hidden;
  background: #eaf4ff;
}

.events-type-card__image img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

/* ==========================================
   イベント紹介カードの画像サイズ統一
========================================== */

.events-type-card__image {
  width: 100%;
  aspect-ratio: 1.5 / 1;
  height: auto;
  overflow: hidden;
  border-radius: 12px;
}

.events-type-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

/* スマホ */
@media (max-width: 767px) {
  .events-type-card__image {
    aspect-ratio: 1.5 / 1;
  }
}

/* ==========================================
   オリジナルアイコン
========================================== */

/* 3つのメリット */
.events-benefit__image {
  display: block;
  width: 90px;
  height: 90px;
  object-fit: contain;
  flex-shrink: 0;
}

/* 利用プランの見出し */
.events-plan-card__heading {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 17px;
}

.events-plan-card__heading h3 {
  margin: 0;
}

/* 1日店長・会場貸切 */
.events-plan-card__icon {
  display: block;
  width: 75px;
  height: 75px;
  object-fit: contain;
  flex-shrink: 0;
}

/* 飲み放題 */
.events-plan-card__drink-image {
  display: block;
  width: 110px;
  height: 110px;
  object-fit: contain;
  margin: 0 auto 10px;
}

/* スマホ */
@media (max-width: 767px) {
  .events-benefit__image {
    width: 55px;
    height: 55px;
  }

  .events-plan-card__icon {
    width: 65px;
    height: 65px;
  }

  .events-plan-card__drink-image {
    width: 95px;
    height: 95px;
  }
}

/* イベント主催者募集バナー */
.events-recruit-banner {
  padding: 35px 0 50px;
  background: #fffef7;
}

.events-recruit-banner__link {
  display: block;
  width: 100%;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 8px 28px rgba(7, 38, 112, 0.12);
  transition: transform 0.3s ease;
}

.events-recruit-banner__link img {
  display: block;
  width: 100%;
  height: auto;
}

@media (hover: hover) {
  .events-recruit-banner__link:hover {
    transform: translateY(-5px);
  }
}

@media (max-width: 767px) {
  .events-recruit-banner {
    padding: 20px 0 35px;
  }

  .events-recruit-banner__link {
    border-radius: 12px;
  }
}

/* ==========================================
   お問い合わせバナー
========================================== */

.events-contact-banner {
  padding: 45px 0 60px;
  background: #fffef7;
}

.events-contact-banner__link {
  display: block;
  width: 100%;
  overflow: hidden;

  border-radius: 16px;

  box-shadow: 0 8px 28px rgba(7, 38, 112, 0.1);

  transition:
    transform 0.3s ease,
    box-shadow 0.3s ease;
}

.events-contact-banner__link img {
  display: block;
  width: 100%;
  height: auto;
}

/* ホバー時 */
@media (hover: hover) {
  .events-contact-banner__link:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(7, 38, 112, 0.18);
  }
}

/* スマホ */
@media (max-width: 767px) {
  .events-contact-banner {
    padding: 30px 0 40px;
  }

  .events-contact-banner__link {
    border-radius: 10px;
  }
}

/* ==========================================
   過去イベント・アーカイブリンク
========================================== */

.events-calendar__archive-link {
  display: inline-flex;
  align-items: center;
  margin-top: 8px;

  color: #0750d5;
  font-weight: 700;
  text-decoration: none;

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

@media (hover: hover) {
  .events-calendar__archive-link:hover {
    color: #00358f;
    transform: translateX(4px);
  }
}

.events-calendar__archive-link:focus-visible {
  outline: 2px solid #0750d5;
  outline-offset: 4px;
  border-radius: 3px;
}

/* ==========================================
   過去イベント一覧ボタン
========================================== */

.events-archive-button {
  display: flex;
  justify-content: center;
  margin-top: 40px;
}

.events-archive-button a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 16px;

  padding: 15px 38px;
  border: 2px solid #1765ed;
  border-radius: 50px;

  background: #fff;
  color: #1765ed;

  font-size: 15px;
  font-weight: 700;
  text-decoration: none;

  transition:
    background 0.3s ease,
    color 0.3s ease,
    transform 0.3s ease;
}

@media (hover: hover) {
  .events-archive-button a:hover {
    background: #1765ed;
    color: #fff;
    transform: translateY(-3px);
  }
}

@media (max-width: 767px) {
  .events-archive-button {
    margin-top: 28px;
  }

  .events-archive-button a {
    width: 100%;
    max-width: 340px;
    padding: 14px 20px;
    font-size: 14px;
  }
}

/* ========================================
   イベント一覧：レスポンシブ調整
======================================== */

/* PC・タブレット：横並び */
@media screen and (min-width: 768px) {

  .events-schedule__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 38%);
    gap: 32px;
    align-items: start;
  }

  .events-schedule__cards {
    min-width: 0;
  }

  .events-calendar {
    width: 100%;
    max-width: none;
    min-width: 0;
    box-sizing: border-box;
  }

  .events-calendar__grid {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
  }

  .events-calendar__weekday,
  .events-calendar__day {
    min-width: 0;
    box-sizing: border-box;
  }
}

.events-calendar__day {
    min-height: 65px;
    font-size: 14px;
    display: block;
  width: 100%;
  padding-top: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  }

/* PC：カレンダーを少し大きめに */
@media screen and (min-width: 1200px) {

  .events-schedule__layout {
    grid-template-columns: minmax(0, 1fr) minmax(420px, 40%);
    gap: 40px;
  }

  .events-calendar__day {
    min-height: 65px;
    font-size: 18px;
    display: block;
  width: 100%;
  padding-top: 8px;
  margin-bottom: 6px;
  font-size: 12px;
  font-weight: 700;
  text-align: center;
  }
}

/* タブレット：横並びを維持 */
@media screen and (min-width: 768px) and (max-width: 1199px) {

  .events-schedule__layout {
    grid-template-columns: minmax(0, 1fr) minmax(280px, 42%);
    gap: 20px;
  }


  .events-calendar__weekday {
    font-size: 13px;
  }
}

/* スマホ：上下に配置 */
@media screen and (max-width: 767px) {

  .events-schedule__layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 32px;
  }

  .events-calendar {
    width: 100%;
    max-width: 100%;
  }

  
}

/* ========================================
   EVENT PAGE フォント統一
======================================== */

/* イベントページ全体 */
.events-page {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", sans-serif;
  font-weight: 400;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* 大見出し・中見出し・イベント名 */
.events-page h1,
.events-page h2,
.events-page h3,
.events-type-card h3,
.events-plan-card h3,
.events-flow__step h3,
.events-schedule-card h3 {
  font-family: "Noto Serif JP", "Yu Mincho",
    "Hiragino Mincho ProN", serif;
  font-weight: 600;
  line-height: 1.6;
  letter-spacing: 0.06em;
}

/* 英語の小見出し */
.events-page .events-section-label {
  font-family: Georgia, serif;
  font-weight: 600;
  letter-spacing: 0.2em;
}

/* 説明文・料金表・店舗情報 */
.events-page p,
.events-page li,
.events-page dt,
.events-page dd,
.events-page figcaption,
.events-page small {
  font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", sans-serif;
  line-height: 1.8;
  letter-spacing: 0.04em;
}

/* ボタン */
.events-page a.events-button,
.events-page .events-archive-button a {
  font-family: "Noto Serif JP", "Yu Mincho",
    "Hiragino Mincho ProN", serif;
  font-weight: 600;
  letter-spacing: 0.05em;
}

/* カレンダー */
.events-calendar {
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
}

/* スマホ */
@media (max-width: 700px) {
  .events-page h1,
  .events-page h2,
  .events-page h3 {
    letter-spacing: 0.03em;
  }
}

/* ========================================
   店舗情報：フォントのみ統一
======================================== */

/* 項目名：店名・所在地・設備・お支払い */
.events-info__details dt {
  font-family: "Noto Serif JP", "Yu Mincho", serif;
  font-size: 18px;
  font-weight: 600;
  letter-spacing: 0.05em;
  line-height: 1.7;
}

/* 内容：Blue Beryl・住所など */
.events-info__details dd {
  font-family: "Noto Sans JP", "Yu Gothic", sans-serif;
  font-size: 18px;
  font-weight: 400;
  letter-spacing: 0.03em;
  line-height: 1.8;
}

@media (max-width: 700px) {
  .events-info__details dt,
  .events-info__details dd {
    font-size: 16px;
  }
}


/* カレンダーの日付 */
.events-calendar__date {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin-bottom: 4px;
}

/* カレンダーのイベント名 */
.events-calendar__event {
  display: block;
  width: 100%;
  padding: 4px 2px;
  border-radius: 5px;
  background: #eaf3ff;
  color: #0752c5;
  font-size: 10px;
  font-weight: 600;
  line-height: 1.4;
  text-align: center;
  text-decoration: none;
  overflow-wrap: anywhere;
}

.events-calendar__event + .events-calendar__event {
  margin-top: 4px;
}

.events-calendar__event:hover {
  background: #d7e9ff;
}

.events-calendar__event:focus-visible {
  outline: 2px solid #0752c5;
  outline-offset: 2px;
}


/* 店舗情報の右側にGoogleマップを配置 */
.events-info__image.events-info__map {
  width: 100%;
  height: 100%;
  min-height: 240px;
  margin-top: 0;
  padding: 0;
  overflow: hidden;
  border-radius: 16px;
}

.events-info__map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 240px;
  border: 0;
}

/* スマホ表示 */
@media (max-width: 767px) {
  .events-info__image.events-info__map {
    height: 280px;
    min-height: 0;
    border-radius: 12px;
  }

  .events-info__map iframe {
    height: 100%;
    min-height: 0;
  }
}


/* スマホ：ギャラリー写真の高さを増やす */
@media (max-width: 767px) {
  .events-gallery__grid figure {
    aspect-ratio: 1.2 / 1;
  }

  .events-gallery__grid img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
  }
}


/* EVENTページ固定CTA */
.event-fixed-cta {
  position: fixed;
  left: 50%;
  bottom: -50px;
  transform: translateX(-50%);
  z-index: 1000;

  display: block;
  width: min(760px, calc(100% - 32px));
  text-decoration: none;

  transition:
    transform 0.35s ease,
    opacity 0.35s ease,
    visibility 0.35s ease;
}

.event-fixed-cta img {
  display: block;
  width: 100%;
  height: auto;
}

/* ページ最下部で折りたたむ */
.event-fixed-cta.is-collapsed {
  transform: translate(-50%, 100%);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

/* ホバー */
@media (hover: hover) {
  .event-fixed-cta:not(.is-collapsed):hover {
    filter: brightness(1.08);
  }
}

/* スマホ */
@media (max-width: 767px) {
  .event-fixed-cta {
    bottom: -20px;
    width: calc(100% - 20px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .event-fixed-cta {
    transition: none;
  }
}

/* EVENTページ：セクションナビ */
.section-nav {
  background: #fffef7;
  /* border-top: 1px solid #e5e5e5; */
  /* border-bottom: 1px solid #e5e5e5; */
}

.section-nav__inner a {
  color: #061b70;
  font-family: "Helvetica Neue", "Hiragino Kaku Gothic ProN",
    "Noto Sans JP", sans-serif;
  font-size: 13px;
  font-weight: 400;
  letter-spacing: 0.12em;
}

.section-nav__inner a:hover {
  color: #0758f7;
}

.section-nav__inner a::after {
  background: #0758f7;
}

.events-ribbon-divider {
  width: 100%;
  height: clamp(100px, 15vw, 200px);

  background-image: url("/images/decorations/ribbon-wave.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;

  pointer-events: none;
}

@media (max-width: 767px) {
  .events-ribbon-divider {
    height: 90px;
    background-size: 140% 100%;
  }
}

/* 開催風景：右上リボン */
.events-ribbon-right {
  position: absolute;
  top: 0;
  right: 0;
  width: min(32vw, 420px);
  aspect-ratio: 1 / 1;

  background: url("/images/decorations/ribbon-top-right.png")
    top right / contain no-repeat;

  pointer-events: none;
  z-index: 0;
}

/* リボンを配置するセクション */
#gallery {
  position: relative;
  isolation: isolate;
}

#gallery .events-ribbon-right {
  opacity: 0.75;
}

@media (max-width: 767px) {
  .events-ribbon-right {
    width: 180px;
    opacity: 0.4;
  }
}

.events-ribbon-bottom {
  position: absolute;
  left: 0;
  bottom: -85px;

  width: 100%;
  height: 150px;

  background-image: url("/images/decorations/ribbon-bottom.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;

  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

@media (max-width: 767px) {
  .events-ribbon-bottom {
    bottom: -40px;
    height: 80px;
    background-size: 140% 100%;
  }
}

/* ⑤ 下側のリボン装飾 */
.events-ribbon-bottom-second {
  width: 100%;
  height: 110px;
  margin-top: 20px;

  background-image: url("/images/decorations/ribbon-bottom.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;

  opacity: 0.65;
  pointer-events: none;
}

@media (max-width: 767px) {
  .events-ribbon-bottom-second {
    height: 65px;
    margin-top: 12px;
  }
}

/* 店舗情報・アクセス */
#events-info {
  position: relative;
  isolation: isolate;
}

/* 店舗情報の右上リボン */
#events-info {
  position: relative;
  isolation: isolate;
}

#events-info .ribbon-top-right {
  position: absolute;
  top: 0;
  right: 0;

  width: 420px;
  height: 420px;

  background-image: url("/images/decorations/ribbon-top-right.png");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;

  opacity: 0.85;
  pointer-events: none;
  z-index: 1;
}

/* 店舗情報の文字や表を前面に */
#events-info .events-container {
  position: relative;
  z-index: 2;
}

@media (max-width: 767px) {
  #events-info .ribbon-top-right {
    width: 200px;
    height: 200px;
    opacity: 0.5;
  }
}

/* ==========================================
   EVENT DETAIL
========================================== */

.event-detail-page {
  min-height: 100vh;
  background-color: #fffef8;

  background-image:
    url("/images/decorations/ribbon-corners.png"),
    radial-gradient(
      ellipse at 90% 75%,
      rgba(126, 188, 255, 0.14),
      transparent 55%
    ),
    radial-gradient(
      ellipse at 10% 90%,
      rgba(255, 229, 107, 0.15),
      transparent 50%
    );

  background-size:
    100% auto,
    100% 100%,
    100% 100%;

  background-repeat: no-repeat;
  background-position: center top;
}

.event-detail-section {
  min-height: 60vh;
  padding: 55px 0 100px;
}

/* イベント情報全体 */
#event-detail {
  max-width: 900px;
  margin: 0 auto;
}

/* タイトルカード */
.event-detail-heading {
  position: relative;
  margin-bottom: 32px;
  padding: 32px 38px;

  border: 1px solid #d8e8ff;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.94);

  box-shadow: 0 10px 30px rgba(29, 98, 207, 0.07);
}

.event-detail-label {
  margin-bottom: 14px !important;
  color: #0758f7;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.15em;
}

/* 日付 */
#event-detail-date {
  color: #0758f7;
  font-size: 16px;
  font-weight: 700;
}

/* イベント名 */
#event-detail-title {
  margin: 12px 0 20px;
  color: #061b70;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 900;
  line-height: 1.4;
}

/* 開催状況 */
#event-detail-status {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 9px 24px;
  border-radius: 999px;

  background: #6c7f9f;
  color: #fff;

  font-size: 14px;
  font-weight: 800;
}

/* メイン画像 */
#event-detail-image-wrapper {
  margin-bottom: 36px;
  padding: 16px;

  border: 1px solid #e0ebff;
  border-radius: 22px;
  background: #fff;

  box-shadow: 0 8px 25px rgba(29, 98, 207, 0.06);
}

#event-detail-image {
  width: 100%;
  border-radius: 14px;
}

/* 詳細説明 */
#event-detail-sections > section {
  padding: 28px 32px;
  border: 1px solid #e0ebff;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);

  box-shadow: 0 6px 20px rgba(29, 98, 207, 0.04);
}

#event-detail-sections h2 {
  color: #061b70;
  font-size: 22px;
  font-weight: 800;
}

#event-detail-sections p {
  color: #173b79;
  font-size: 15px;
  line-height: 1.9;
}

/* スマホ */
@media (max-width: 767px) {
  .event-detail-page {
    background-size:
      150% auto,
      100% 100%,
      100% 100%;
  }

  .event-detail-section {
    padding: 32px 0 70px;
  }

  .event-detail-heading {
    padding: 24px 20px;
  }

  #event-detail-image-wrapper {
    padding: 8px;
  }

  #event-detail-sections > section {
    padding: 22px 18px;
  }
}

.event-detail-heading {
  padding-bottom: 20px;
}

#event-detail-image-wrapper {
  padding: 0 24px 28px;
}

@media (max-width: 767px) {
  #event-detail-image-wrapper {
    padding: 0 12px 20px;
  }
}

/* イベント詳細：タイトルと写真を一体化 */
.event-detail-heading {
  margin-bottom: 0;

  border-radius: 22px 22px 0 0;
  border-bottom: none;

  box-shadow: none;
}

/* 写真エリアをタイトルカードにつなげる */
#event-detail-image-wrapper {
  margin-top: 0;
  margin-bottom: 36px;

  border-radius: 0 0 22px 22px;
  border-top: none;

  box-shadow: 0 10px 30px rgba(29, 98, 207, 0.07);
}

/* イベント詳細：一覧へ戻るボタン */
.event-detail-back {
  margin-top: 48px;
  text-align: center;
}

.event-detail-back__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 30px;
  border: 2px solid #0758f7;
  border-radius: 999px;

  background: #ffffff;
  color: #0758f7;

  font-size: 15px;
  font-weight: 700;
  text-decoration: none;

  transition: all 0.25s ease;
}

.event-detail-back__button:hover {
  background: #0758f7;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(7, 88, 247, 0.15);
}

/* スマホ */
@media (max-width: 767px) {
  .event-detail-back {
    margin-top: 36px;
  }

  .event-detail-back__button {
    padding: 12px 24px;
    font-size: 14px;
  }
}

/* ==========================================
   EVENT スクロールアニメーション
========================================== */

/* アニメーション対象の初期状態 */
/* 下からふわっと登場 */
.events-page .event-reveal {
  opacity: 0;
  transform: translateY(45px);
  filter: blur(3px);

  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1),
    filter 1s ease;
}

.events-page .event-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
  filter: blur(0);
}

/* 順番に表示するための遅延 */
.events-page .event-reveal:nth-child(2) {
  transition-delay: 0.12s;
}

.events-page .event-reveal:nth-child(3) {
  transition-delay: 0.24s;
}

.events-page .event-reveal:nth-child(4) {
  transition-delay: 0.36s;
}

/* 動きを減らす設定への対応 */
/* 動きを減らす設定 */
@media (prefers-reduced-motion: reduce) {
  .events-page .event-reveal {
    opacity: 1;
    transform: none;
    filter: none;
    transition: none;
  }
}

/* メインビジュアルの文字を順番に表示 */
.events-hero__badge.event-reveal {
  transition-delay: 0.1s;
}

.events-hero__title.event-reveal {
  transition-delay: 0.25s;
}

.events-hero__description.event-reveal {
  transition-delay: 0.4s;
}

.events-hero__content .events-button.event-reveal {
  transition-delay: 0.55s;
}

/* メイン写真は右から */
.events-hero__visual.event-reveal {
  transform: translateX(55px);
}

.events-hero__visual.event-reveal.is-visible {
  transform: translateX(0);
}

/* 動きを減らす設定への対応 */
@media (prefers-reduced-motion: reduce) {
  .events-hero__visual.event-reveal {
    transform: none;
  }
}

/* メインビジュアルの登場順 */
.events-hero__badge.event-reveal {
  transition-delay: 0.1s;
}

.events-hero__title.event-reveal {
  transition-delay: 0.25s;
}

.events-hero__description.event-reveal {
  transition-delay: 0.4s;
}

.events-hero__content .events-button.event-reveal {
  transition-delay: 0.55s;
}

/* イベント詳細ページのふわっと登場 */
.events-page .archive-reveal {
  opacity: 0;
  transform: translateY(40px);
  transition:
    opacity 1s ease,
    transform 1s cubic-bezier(0.22, 1, 0.36, 1);
}

.events-page .archive-reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  .events-page .archive-reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* 開催までの流れ：画像アイコン */
.events-flow__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100px;
  margin: 0 auto 12px;
}

.events-flow__icon img {
  display: block;
  width: 100px;
  height: 100px;
  object-fit: contain;
}

@media (max-width: 767px) {
  .events-flow__icon {
    height: 85px;
  }

  .events-flow__icon img {
    width: 85px;
    height: 85px;
  }
}

/* プラン内のチェック項目を読みやすくする */
.events-plan-card li {
  line-height: 1.9;
  letter-spacing: 0.04em;
  margin-bottom: 24px;
}

.events-plan-card li:last-child {
  margin-bottom: 0;
}

/* スマホ */
@media (max-width: 767px) {
  .events-plan-card li {
    line-height: 1.8;
    letter-spacing: 0.02em;
    margin-bottom: 18px;
  }
}

/* スマホ：飲み放題カードをコンパクトに */
@media (max-width: 767px) {
  .events-drink-card {
    padding: 24px 20px;
  }
}

/* スマホ：飲み放題カードをコンパクトに */
@media (max-width: 767px) {
  .events-plan-card--drink {
    padding: 14px 18px;
  }

  .events-plan-card--drink h3 {
    margin: 4px 0;
  }

  .events-plan-card--drink small {
    margin-top: 4px;
  }

  .events-plan-card--drink hr {
    margin: 12px 0;
  }
}

.events-plan-card--drink {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #fffdf0 40%,
    #fff4c4 100%
  );
}

/* 開催可能時間：淡い青のグラデーション */
.events-page .events-flow__hours {
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #f0f8ff 45%,
    #dceeff 100%
  );
}

/* タブレット：開催可能時間のボックスを広げる */

/* EVENTページ：ページ内リンクの位置調整 */
@media (min-width: 768px) {
  .events-page section[id] {
    scroll-margin-top: 80px;
  }
}

@media (max-width: 767px) {
  .events-page section[id] {
    scroll-margin-top: 100px;
  }
}

/* 注目イベントへのスクロール位置調整 */
#current-event-month {
  scroll-margin-top: 100px;
}

/* 注目イベントのスクロール位置調整 */

/* PC・タブレット */
@media (min-width: 768px) {
  #current-event-month {
    scroll-margin-top: 120px;
  }
}

/* スマホ */
@media (max-width: 767px) {
  #current-event-month {
    scroll-margin-top: 170px;
  }
}

/* =========================
   カレンダー 月送り
========================= */

.events-calendar__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.events-calendar__header h3 {
  margin: 0;
  text-align: center;
  flex: 1;
}

.events-calendar__nav {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  flex-shrink: 0;
  border: 1px solid #d8c9a0;
  border-radius: 50%;
  background: #fff;
  color: #584827;
  font-size: 26px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}

.events-calendar__nav:hover {
  background: #f6edcf;
}

.events-calendar__today {
  display: block;
  margin: 0 auto 16px;
  padding: 5px 14px;
  border: 1px solid #d8c9a0;
  border-radius: 20px;
  background: #fff;
  color: #584827;
  font-size: 12px;
  cursor: pointer;
}

.events-calendar__today[hidden] {
  display: none;
}

@media (max-width: 767px) {
  .events-calendar__nav {
    width: 32px;
    height: 32px;
    font-size: 24px;
  }

  .events-calendar__header {
    gap: 8px;
  }
}

/* ==========================================
   ギャラリー画像の拡大表示
========================================== */

.gallery-image-button {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: transparent;
  cursor: zoom-in;
}

.gallery-image-button img {
  display: block;
  width: 100%;
  transition: transform 0.25s ease;
}

@media (hover: hover) {
  .gallery-image-button:hover img {
    transform: scale(1.025);
  }
}

.gallery-image-button:focus-visible {
  outline: 3px solid #6e88c9;
  outline-offset: 4px;
  border-radius: 10px;
}

.gallery-lightbox[hidden],
.gallery-lightbox__arrow[hidden] {
  display: none !important;
}

.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 99999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(4, 9, 28, 0.94);
  padding: 60px 70px;
  box-sizing: border-box;
}

.gallery-lightbox > img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  border-radius: 6px;
}

.gallery-lightbox__close {
  position: absolute;
  top: 15px;
  right: 20px;
  z-index: 2;
  border: none;
  background: transparent;
  color: #fff;
  font-size: 42px;
  cursor: pointer;
}

.gallery-lightbox__arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: rgba(255, 255, 255, 0.12);
  color: #fff;
  width: 46px;
  height: 56px;
  border-radius: 10px;
  font-size: 36px;
  cursor: pointer;
}

.gallery-lightbox__arrow--prev {
  left: 12px;
}

.gallery-lightbox__arrow--next {
  right: 12px;
}

.gallery-lightbox__count {
  position: absolute;
  bottom: 18px;
  left: 50%;
  transform: translateX(-50%);
  color: #fff;
  font-size: 14px;
}

@media (max-width: 767px) {
  .gallery-lightbox {
    padding: 70px 48px;
  }

  .gallery-lightbox__arrow {
    width: 36px;
    height: 46px;
    font-size: 28px;
  }

  .gallery-lightbox__arrow--prev {
    left: 5px;
  }

  .gallery-lightbox__arrow--next {
    right: 5px;
  }
}