/* The 新豊洲 closure notice above the TOP NEWS box (index.php): the client's banner.css of 2026-11-26 as delivered,
   between two answers to the theme. reset.css sets every span to normal weight: here they inherit the link's 700 as
   in the client's file (this rule comes first and is one class strong, so the client's own weights still win). */
.tcm-closure :where(span) { font-weight: inherit; }

/* 日本語版・英語版の共通スタイル。文字サイズを拡大した場合は必要な高さを自動で確保します。 */
a.tcm-closure {
  --notice-red: #93031b;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.1vw, 18px);
  width: calc(100% - 24px);
  max-width: 1100px;
  min-height: 70px;
  margin: 0 auto 18px;
  padding: 9px clamp(10px, 1.2vw, 18px);
  border: 1px solid var(--notice-red);
  border-left-width: 7px;
  background: #fffaf0;
  color: #1c1416;
  font: 700 1rem/1.3 "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
  text-decoration: none;
  text-align: left;
  letter-spacing: normal;
  overflow-wrap: anywhere;
}
.tcm-closure * { box-sizing: border-box; }
.tcm-closure__meta { display: grid; gap: 3px; justify-items: center; flex: 0 1 auto; }
.tcm-closure__flag, .tcm-closure__action {
  color: #fff;
  background: var(--notice-red);
}
.tcm-closure__flag { padding: 4px 7px; font-size: .875rem; text-align: center; }
.tcm-closure__date { color: #382625; font-size: .78rem; font-weight: 600; }
.tcm-closure__heading {
  display: flex;
  flex: 1 1 0%;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 2px .45em;
  min-width: 0;
  font-size: clamp(1.23rem, 2.15vw, 1.85rem);
  font-weight: 800;
  line-height: 1.28;
}
.tcm-closure__venue { color: #1c1416; }
.tcm-closure__message { color: var(--notice-red); }
.tcm-closure__action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55em;
  flex: 0 1 auto;
  padding: 7px 10px;
  font-size: .9rem;
  line-height: 1.3;
}
.tcm-closure__action::after {
  content: "";
  width: .45em;
  height: .45em;
  flex: 0 0 auto;
  border-top: 2px solid currentColor;
  border-right: 2px solid currentColor;
  transform: rotate(45deg);
}
a.tcm-closure:hover .tcm-closure__action { text-decoration: underline; }
a.tcm-closure:focus-visible { outline: 3px solid #2474b6; outline-offset: 3px; }
.tcm-closure:lang(en) .tcm-closure__heading { font-size: clamp(1.15rem, 1.82vw, 1.6rem); }
@media (max-width: 767px) {
  a.tcm-closure {
    display: grid;
    grid-template-columns: minmax(0,1fr);
    gap: 6px;
    width: 100%;
    min-height: 0;
    margin-bottom: 16px;
    padding: 10px 12px;
    border-left-width: 5px;
  }
  .tcm-closure__meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
  .tcm-closure__flag { font-size: .75rem; padding: 2px 6px; }
  .tcm-closure__date { font-size: .73rem; }
  .tcm-closure__heading { display: grid; gap: 2px; font-size: clamp(1.12rem, 5.3vw, 1.48rem); }
  .tcm-closure__action { justify-self: end; padding: 4px 8px; font-size: .75rem; }
  .tcm-closure:lang(en) .tcm-closure__heading { font-size: clamp(1.13rem, 4.6vw, 1.4rem); }
}

/* The client's Japanese font stack would draw Korean and Chinese from fallback fonts: those pages keep the font their
   language gets in i18n.css. */
html:lang(ko) a.tcm-closure, html:lang(zh) a.tcm-closure { font-family: inherit; }
