/* 11/26 会員向け座談会：物語×親愛。完成済みPDFの余白と罫線を継承。
   面 #FCFBF7 / 墨 #1B2924 / リンク #2F6F64 / 注記 #A84D3A / 罫線 #D6D3C8。
   Zen Old Mincho 600 + Zen Kaku Gothic New 400/700、8px rhythm。 */

[data-member-event][hidden],
[data-member-event-status][hidden] { display: none !important; }

.member-event-status {
  margin: 24px 32px;
  font-size: 16px;
  line-height: 1.85;
  color: #1b2924;
}

.member-event-status a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  margin-left: 12px;
  color: #2f6f64;
  text-underline-offset: 5px;
}

.event-notice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 24px;
  margin: 0 32px;
  padding: 16px 0;
  border-bottom: 1px solid #d6d3c8;
  color: #1b2924;
  font-size: 15px;
  line-height: 1.85;
}

.event-notice p {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0;
}

.event-notice-label { color: #a84d3a; font-weight: 700; }
.event-notice time { font-weight: 700; font-variant-numeric: tabular-nums; }

.event-notice a,
.tea-event-pdf {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: #2f6f64;
  text-decoration: underline;
  text-underline-offset: 6px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.85;
}

.event-notice a:hover,
.tea-event-pdf:hover { color: #1b2924; }

.event-notice a:focus-visible,
.tea-event a:focus-visible,
.member-event-status a:focus-visible {
  outline: 2px solid #2f6f64;
  outline-offset: 5px;
}

.tea-event {
  margin: 64px 32px;
  padding: 48px;
  background: #fcfbf7;
  border-top: 1px solid #d6d3c8;
  border-bottom: 1px solid #d6d3c8;
  color: #1b2924;
  font-family: "Zen Kaku Gothic New", sans-serif;
  scroll-margin-top: 24px;
  line-break: strict;
  overflow-wrap: break-word;
}

.tea-event-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
}

.tea-event .tea-event-kicker {
  margin: 0 0 16px;
  color: #a84d3a;
  font-size: 15px;
  font-weight: 700;
}

.tea-event#next-event h2 {
  margin: 0 0 24px;
  font-family: "Zen Old Mincho", "Yu Mincho", serif;
  font-size: clamp(28px, 3vw, 44px) !important;
  line-height: 1.5;
  font-weight: 600;
  letter-spacing: 0;
  text-wrap: balance;
}

.tea-event .tea-event-summary {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px 16px;
  margin: 0 0 24px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.85;
}

.tea-event-summary time { font-variant-numeric: tabular-nums; }
.tea-event-summary strong { color: #a84d3a; }

.tea-event .tea-event-lead,
.tea-event-invitation {
  max-width: 38em;
  margin: 0;
  font-size: 16px;
  line-height: 1.85;
}

.tea-event .tea-event-subtitle {
  margin: 24px 0 0;
  color: #2f6f64;
  font-size: 16px;
  font-weight: 700;
  line-height: 1.85;
}

.tea-event-illustration { margin: 0; }
.tea-event-illustration img { display: block; width: 100%; height: auto; }
.tea-event-illustration figcaption {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.85;
  text-align: center;
}

.tea-event-schedule {
  display: grid;
  grid-template-columns: minmax(0, .8fr) minmax(0, 1.2fr);
  align-items: center;
  gap: 40px;
  margin: 40px 0;
  padding: 32px 0;
  border-top: 1px solid #d6d3c8;
  border-bottom: 1px solid #d6d3c8;
}

.tea-event .tea-event-date { margin: 0; }
.tea-event-date > span { display: block; color: #a84d3a; font-size: 15px; }
.tea-event-date time {
  display: block;
  margin: 4px 0 8px;
  font-family: "Zen Old Mincho", "Yu Mincho", serif;
  font-size: clamp(28px, 2.7vw, 38px);
  font-weight: 600;
  line-height: 1.6;
}
.tea-event-date small {
  display: inline-block;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 16px;
  font-weight: 400;
}
.tea-event-date > strong { font-size: 24px; font-weight: 700; font-variant-numeric: tabular-nums; }

.tea-event-facts { margin: 0; }
.tea-event-facts > div {
  display: grid;
  grid-template-columns: 3em minmax(0, 1fr);
  gap: 16px;
  margin-bottom: 16px;
  font-size: 16px;
  line-height: 1.85;
}
.tea-event-facts > div:last-child { margin-bottom: 0; }
.tea-event-facts dt { font-weight: 700; white-space: nowrap; }
.tea-event-facts dd { margin: 0; }
.tea-event-facts strong { color: #a84d3a; }
.tea-event-facts small { display: block; margin-top: 4px; font-size: 14px; line-height: 1.85; }

.tea-event#next-event h3 {
  margin: 0 0 24px;
  font-family: "Zen Old Mincho", "Yu Mincho", serif;
  font-size: 24px !important;
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0;
}

.tea-event#next-event h3 .tea-event-phrase { display: inline-block; }

.tea-event-themes {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 32px;
  margin: 0;
}
.tea-event-themes dt {
  margin-bottom: 12px;
  color: #2f6f64;
  font-family: "Zen Old Mincho", "Yu Mincho", serif;
  font-size: 21px;
  font-weight: 600;
}
.tea-event-themes dt span {
  display: block;
  margin-bottom: 12px;
  color: #a84d3a;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-size: 13px;
  font-weight: 400;
}
.tea-event-themes dd { margin: 0; font-size: 16px; line-height: 1.85; }

.tea-event-booking {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 1fr);
  align-items: center;
  gap: 40px;
  margin-top: 40px;
  padding-top: 32px;
  border-top: 1px solid #d6d3c8;
}
.tea-event#next-event .tea-event-booking h3 { margin-bottom: 16px; }
.tea-event-actions { display: flex; flex-direction: column; align-items: flex-start; justify-self: end; gap: 8px; }
.tea-event-apply {
  display: inline-flex;
  align-items: center;
  min-height: 48px;
  padding: 8px 0;
  border-bottom: 1px solid #2f6f64;
  background: transparent;
  color: #2f6f64;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.85;
  text-decoration: none;
}
.tea-event-apply:hover { color: #1b2924; border-bottom-color: #1b2924; }
.tea-event-apply:active { transform: translateY(1px); }

.dashboard-page .event-notice-member { margin: 0 0 32px; padding-top: 0; }
.dashboard-page .tea-event-member { margin-top: 16px; }

@media (max-width: 960px) {
  .tea-event { padding: 40px 32px; }
  .tea-event-intro { grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; }
  .tea-event#next-event h2 { font-size: 32px !important; }
  .tea-event-schedule,
  .tea-event-booking { gap: 32px; }
  .tea-event-themes { gap: 24px; }
}

@media (max-width: 720px) {
  .event-notice { margin-inline: 20px; padding-block: 16px; }
  .event-notice p { gap: 4px 12px; }
  .event-notice p > span:last-child { flex-basis: 100%; }
  .event-notice a { font-size: 15px; }
  .tea-event { margin: 40px 20px; padding: 32px 0; }
  .tea-event-intro,
  .tea-event-schedule,
  .tea-event-booking { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tea-event#next-event h2 { font-size: clamp(28px, 5.6vw, 36px) !important; line-height: 1.5; }
  .tea-event-desktop-break { display: none; }
  .tea-event#next-event h3 { font-size: 24px !important; }
  .tea-event .tea-event-kicker { font-size: 14px; }
  .tea-event-illustration { width: 100%; max-width: 360px; margin-inline: auto; }
  .tea-event-illustration img { max-height: 216px; object-fit: contain; }
  .tea-event-illustration figcaption { margin-top: 0; text-align: left; }
  .tea-event-schedule { margin-block: 32px; padding-block: 24px; }
  .tea-event-date time { font-size: 32px; }
  .tea-event-facts > div { gap: 12px; }
  .tea-event-themes { grid-template-columns: minmax(0, 1fr); gap: 24px; }
  .tea-event-themes dt { margin-bottom: 8px; }
  .tea-event-themes dt span { display: inline-block; margin: 0 16px 0 0; vertical-align: middle; }
  .tea-event-booking { margin-top: 32px; padding-top: 24px; }
  .tea-event-actions { justify-self: start; }
  .member-event-status { margin-inline: 20px; }
}

@media (max-width: 380px) {
  .tea-event { margin-inline: 20px; }
  .tea-event-apply { font-size: 17px; }
}

@media (prefers-reduced-motion: reduce) {
  .event-notice a,
  .tea-event a { transition: none; }
}
