@charset "UTF-8";
/*==========================================================================================

  ワークショップ (/shintoyosu/workshop/, /shiba/workshop/)

  Loaded only by page-workshop-booths.php, after base.css. The client's design (workshop-integration/workshop.css,
  2026-11-04) with its overrides resolved to the values that apply, the classes renamed, without its venue buttons
  (the site's venue tabs link the two venue pages) and without its font-family (the page's own is the same Hiragino
  stack, and a translated page sets its language's fonts). Its :has() rules are plain classes here: every card has a
  booth line followed by 毎日開催 or the 開催日 calendar, so the booth line always takes the 5px gap.

==========================================================================================*/
section#workshop .title h1 {
  background: url(../../images/workshop/title.png) 0 0 no-repeat;
}
.tcm-workshop {
  max-width: 800px;
  margin: 0 auto;
  color: #253f30;
  font-size: 15px;
  line-height: 1.7;
}
.tcm-workshop * {
  box-sizing: border-box;
}
.tcm-workshop [hidden] {
  display: none !important;
}
.tcm-workshop__sr {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip-path: inset(50%);
  white-space: nowrap;
}

/* 「新豊洲会場の / ワークショップ」 between ◆ rules. */
.tcm-workshop__venue {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 28px;
  margin: 40px 0 34px;
  color: #073e2e;
  font-family: "Yu Mincho", "Hiragino Mincho ProN", "Noto Serif JP", serif;
  font-size: 32px;
  font-weight: 800;
  line-height: 1.5;
  text-align: center;
}
.tcm-workshop__venue span {
  min-width: 0;
  font-weight: inherit;
}
.tcm-workshop__nobreak {
  display: inline-block;
  white-space: nowrap;
}
.tcm-workshop__venue::before,
.tcm-workshop__venue::after {
  content: "◆";
  flex: 1 1 30px;
  color: #a58b45;
  font-size: 14px;
  line-height: 1;
  background: linear-gradient(#a58b45, #a58b45) left center / calc(100% - 24px) 1px no-repeat;
  text-align: right;
}
.tcm-workshop__venue::after {
  background-position: right center;
  text-align: left;
}

/* Each booth's workshops: 2 columns, 1 on phones; a new booth starts a new row. */
.tcm-workshop__booth + .tcm-workshop__booth {
  margin-top: 32px;
}
.tcm-workshop__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 26px 24px;
}
.tcm-workshop__card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  padding: 18px;
  background: #fffefa;
  border: 1px solid #bccbbd;
  border-radius: 4px;
}
.tcm-workshop__photo {
  width: 100%;
  margin: 0;
  aspect-ratio: 1;
  background: #fff;
  border-radius: 2px;
  overflow: hidden;
}
.tcm-workshop__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.tcm-workshop__name {
  margin: 12px 0 6px;
  color: #163f2d;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.55;
  overflow-wrap: anywhere;
  line-break: strict;
}
.tcm-workshop__text-wrap {
  margin: 0 0 12px;
}
.tcm-workshop__text {
  margin: 0;
  color: #4c534a;
  font-size: 12px;
  line-height: 1.85;
  white-space: pre-line;
  overflow-wrap: anywhere;
  line-break: strict;
}
/* Two lines until 続きを読む (common/js/workshop.js adds the class and shows the button only when the text is longer). */
.tcm-workshop__text.is-collapsed {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
}
.tcm-workshop__more {
  display: block;
  margin: 6px 0 0;
  padding: 2px 0;
  border: 0;
  background: transparent;
  color: #356246;
  font: inherit;
  font-size: 12px;
  line-height: 1.6;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
}
.tcm-workshop__more:focus-visible {
  outline: 2px solid #b39c63;
  outline-offset: 3px;
}

/* The card's foot: booth, 毎日開催 / 開催日, 所要時間 | 料金, then the ticket button or 当日、会場で受付. */
.tcm-workshop__bottom {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid #d0d8cc;
}
.tcm-workshop__organizer {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: baseline;
  margin: 0 0 5px;
  color: #72796d;
  font-size: 12px;
  line-height: 1.65;
  overflow-wrap: anywhere;
}
.tcm-workshop__organizer-label {
  padding: 0 9px 0 0;
  border-right: 1px solid #cec7b2;
  color: #5f6255;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.3;
  white-space: nowrap;
}
.tcm-workshop__organizer-details {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}
.tcm-workshop__booth-no {
  display: inline-flex;
  flex: none;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 4px;
  background: #c6ad72;
  color: #164934;
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.tcm-workshop__organizer-name {
  color: #354a3c;
  font-size: 13px;
  font-weight: 600;
}
.tcm-workshop__star {
  display: inline-block;
  flex: none;
  color: #99804c;
  font-size: 12px;
  line-height: 1;
}
.tcm-workshop__daily {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 28px;
  margin: 0 0 14px;
  padding: 2px 0;
  color: #596456;
  font-size: 13px;
  font-weight: 400;
  line-height: 1.5;
}

/* 開催日を見る: one calendar per month, the held days in circles. */
.tcm-workshop__days {
  margin: 0 0 14px;
  color: #293e31;
  font-size: 13px;
}
.tcm-workshop__days summary {
  display: flex;
  align-items: center;
  gap: 6px;
  width: fit-content;
  max-width: 100%;
  min-height: 28px;
  padding: 2px 0;
  list-style: none;
  cursor: pointer;
}
.tcm-workshop__days summary::-webkit-details-marker {
  display: none;
}
.tcm-workshop__days summary:focus-visible {
  outline: 2px solid #a58b45;
  outline-offset: 3px;
}
.tcm-workshop__date-toggle {
  display: inline-flex;
  align-items: center;
  gap: .55em;
  color: #164934;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.5;
}
/* Normal weight, as in the approved preview (its page shell's reset.css sets spans to normal there too). */
.tcm-workshop__date-toggle > span {
  font-weight: normal;
  text-decoration: underline;
  text-decoration-color: #6e917c;
  text-underline-offset: 3px;
}
.tcm-workshop__date-toggle::after {
  content: "";
  width: .45em;
  height: .45em;
  border: solid currentColor;
  border-width: 0 1.5px 1.5px 0;
  transform: translateY(-.1em) rotate(45deg);
}
.tcm-workshop__days[open] .tcm-workshop__date-toggle::after {
  transform: translateY(.1em) rotate(225deg);
}
.tcm-workshop__days summary:hover .tcm-workshop__date-toggle > span {
  text-decoration-color: currentColor;
}
.tcm-workshop__hide,
.tcm-workshop__days[open] .tcm-workshop__show {
  display: none;
}
.tcm-workshop__days[open] .tcm-workshop__hide {
  display: inline;
}
.tcm-workshop__calendar {
  margin-top: 4px;
  padding: 9px 8px 6px;
  background: #f8f7f2;
}
.tcm-workshop__calendar table {
  width: 100%;
  table-layout: fixed;
  border-collapse: collapse;
  font-size: 13px;
  font-variant-numeric: tabular-nums;
}
/* Dates over two months: one table under the other. */
.tcm-workshop__calendar table + table {
  margin-top: 8px;
}
.tcm-workshop__calendar caption {
  padding: 0 0 5px;
  color: #164934;
  font-weight: 700;
  text-align: center;
}
.tcm-workshop__calendar th,
.tcm-workshop__calendar td {
  height: 27px;
  padding: 0;
  color: #565d56;
  line-height: 1;
  text-align: center;
  vertical-align: middle;
}
.tcm-workshop__calendar th {
  font-size: 11px;
  font-weight: 600;
}
.tcm-workshop__held {
  display: inline-grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid #164934;
  border-radius: 50%;
  background: #164934;
  color: #fffefa;
  font-weight: 700;
}
.tcm-workshop__legend {
  margin: 4px 0 0;
  color: #164934;
  font-size: 11px;
  text-align: right;
}

/* 所要時間 | 料金: each label beside its value; a narrow card wraps whole pairs. */
.tcm-workshop__facts {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 4px 10px;
  margin: 0 0 10px;
  padding: 5px 8px;
  background: #f8f7f2;
}
.tcm-workshop__facts > div {
  display: flex;
  align-items: baseline;
  gap: 5px;
  min-width: 0;
  max-width: 100%;
}
.tcm-workshop__facts > div + div {
  padding-left: 10px;
  border-left: 1px solid #d7dacd;
}
.tcm-workshop__facts dt {
  margin: 0;
  color: #4e5e51;
  font-size: 12px;
  font-weight: 500;
  line-height: 1.55;
  white-space: nowrap;
}
.tcm-workshop__facts dd {
  min-width: 0;
  margin: 0;
  color: #163f2d;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.45;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}
.tcm-workshop__rate-prefix,
.tcm-workshop__rate-note {
  color: #4b5746;
  font-size: 12px;
  font-weight: 400;
}
.tcm-workshop__rate-prefix {
  display: inline-block;
  margin-right: 3px;
}
.tcm-workshop__amount {
  font: inherit;
  white-space: nowrap;
}
.tcm-workshop__rate-note {
  display: block;
  line-height: 1.5;
  white-space: normal;
  overflow-wrap: anywhere;
}
.tcm-workshop__buy,
.tcm-workshop__onsite {
  width: 100%;
  margin: 0;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  letter-spacing: .03em;
  text-align: center;
}
.tcm-workshop__buy {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 10px 14px;
  border: 1px solid #9d1421;
  background: #9d1421;
  color: #fff;
  text-decoration: none !important;
  transition: background .15s;
}
.tcm-workshop__buy:hover {
  border-color: #84111c;
  background: #84111c;
  color: #fff;
}
.tcm-workshop__buy:focus-visible {
  outline: 3px solid #b39c63;
  outline-offset: 4px;
}
.tcm-workshop__onsite {
  display: block;
  padding: 8px 10px;
  background: #f1f4ed;
  color: #254a37;
}

@media (prefers-reduced-motion: reduce) {
  .tcm-workshop__buy {
    transition: none;
  }
}

@media (max-width: 980px) {
  .tcm-workshop__venue {
    gap: 18px;
    font-size: 26px;
  }
}

@media (max-width: 767px) {
  .tcm-workshop {
    max-width: 440px;
  }
  .tcm-workshop__venue {
    gap: 12px;
    margin: 30px 0 26px;
    font-size: clamp(15px, 4.5vw, 21px);
  }
  .tcm-workshop__venue-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 3px;
  }
  .tcm-workshop__venue::before,
  .tcm-workshop__venue::after {
    flex-basis: 20px;
    font-size: 10px;
    background-size: calc(100% - 15px) 1px;
  }
  .tcm-workshop__booth + .tcm-workshop__booth {
    margin-top: 26px;
  }
  .tcm-workshop__grid {
    grid-template-columns: minmax(0, 1fr);
    gap: 22px;
  }
  .tcm-workshop__card {
    padding: 16px;
  }
  .tcm-workshop__text {
    font-size: 13px;
  }
}

@media (max-width: 480px) {
  .tcm-workshop__facts {
    column-gap: 6px;
  }
  .tcm-workshop__facts > div {
    column-gap: 4px;
  }
  .tcm-workshop__facts > div + div {
    padding-left: 6px;
  }
}

/* The client's design keeps a card within one screen by the window's height: on a medium-height window the photo
   shrinks, on a short one it goes beside the name and the 紹介文. */
@media (min-width: 768px) and (min-height: 701px) and (max-height: 840px),
  (max-width: 767px) and (min-height: 611px) and (max-height: 740px) {
  .tcm-workshop__photo {
    width: min(100%, max(220px, calc(100vh - 375px)));
    width: min(100%, max(220px, calc(100svh - 375px)));
    margin-inline: auto;
  }
}
@media (min-width: 768px) and (max-height: 700px),
  (max-width: 767px) and (max-height: 610px) {
  .tcm-workshop__card {
    display: grid;
    grid-template:
      "photo title" auto
      "photo intro" 1fr
      "facts facts" auto
      / minmax(0, min(54%, calc(100% - 132px))) minmax(0, 1fr);
    column-gap: 12px;
  }
  .tcm-workshop__photo {
    grid-area: photo;
    align-self: start;
    height: auto;
  }
  .tcm-workshop__name {
    grid-area: title;
    margin: 0 0 6px;
  }
  .tcm-workshop__text-wrap {
    grid-area: intro;
    min-width: 0;
    margin: 0;
  }
  .tcm-workshop__bottom {
    grid-area: facts;
    min-width: 0;
    margin: 12px 0 0;
  }
}
