:root{
  --bg: #ffffff;
  --paper: #ffffff;
  --red: #b71c1c;
  --leftCol: #EEDCB4;
  --rightCol: #FAF4E6;
  --footerBg: #F6EAD2;
  --brown: #7b615d;
  --line: #d7d7d7;
  --text: #222;
  --muted: #666;
  --wrap: 1160px;
  --radius: 18px;

  --sideW: 300px;
  --inPad: 26px;
}

*{ box-sizing: border-box; }
html,body{ height: 100%; }

body{
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Hiragino Kaku Gothic ProN", "Noto Sans JP", "Yu Gothic", "Meiryo", sans-serif;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
}

body.site--typeB .header{ padding:0; margin:0; }
body.site--typeB .topbar{ display:none; }

.topBarB{
  height: 12px;
  background: #c91c1c;
  margin-bottom: 12px;
}

.wrap{ width: min(var(--wrap), calc(100% - 48px)); margin-inline: auto; }

/* SP menu button */
.navToggle{
  display: none;
}
.navToggle__bars{
  display: block;
  width: 22px;
  height: 2px;
  background: #333;
  position: relative;
}
.navToggle__bars::before,
.navToggle__bars::after{
  content:"";
  position:absolute;
  left:0;
  width:22px;
  height:2px;
  background:#333;
}
.navToggle__bars::before{ top:-7px; }
.navToggle__bars::after{ top:7px; }

.navToggle__label{
  font-size: 12px;
  letter-spacing: .12em;
  line-height: 1;
}

/* Layout */
.main{
  background: var(--bg);
  padding: 0;
}

.layout{
  position: relative;
  display: grid;
  grid-template-columns: var(--sideW) minmax(0, 1fr);
  gap: 0;
  align-items: start;
}

.layout::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    var(--leftCol) 0,
    var(--leftCol) var(--sideW),
    var(--rightCol) var(--sideW),
    var(--rightCol) 100%
  );
  z-index: 0;
}

.side,
.content{
  position: relative;
  z-index: 1;
}

.side{
  background: transparent;
  padding: 18px 14px 22px;
}

/* Nav */
.nav--pill{
  border-top: none;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  padding: 10px 0;
}

.nav__item{
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: transparent;
  border: none;
  padding: 14px 15px;
  text-decoration: none;
  color: #999;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.3;
  position: relative;
  transition: background-color 0.2s, color 0.2s;
  cursor: default;
}

.nav__item::after{
  content: "";
  position: absolute;
  bottom: 0;
  left: 10px;
  right: 10px;
  height: 1px;
  background-color: #c5b4a0;
}

.nav__item:first-child::before{ display: none !important; }
.nav__item:last-child::after{ display: none; }

.nav__item--live{
  color: #222;
  cursor: pointer;
}
.nav__item--live:hover{
  background-color: #f9f4e8;
  color: var(--red);
}

.nav__item.is-current .nav__text{
  color: var(--red);
  font-weight: 900;
}
.nav__item.is-current{
  color: #222;
  font-weight: 900;
}

.nav__text{
  flex: 1;
  padding-right: 10px;
}

.nav__icon{
  display: flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2b1b1b;
  color: #fff;
  flex-shrink: 0;
  position: relative;
}
.nav__icon::before{
  content: "›";
  font-family: "serif", "Hiragino Mincho ProN";
  font-size: 18px;
  line-height: 1;
  margin-top: -3px;
  margin-left: 1px;
}

.nav__item:not(.nav__item--live) .nav__icon{
  background: #bdbdbd;
}

.nav__item br{
  display: block;
}

/* Poster */
.poster--typeB{
  margin-top: 60px;
  display: block;
  text-align: center;
}
.poster--typeB a{
  display: inline-block;
  text-decoration: none;
  transition: transform 0.3s, opacity 0.3s;
}
.poster--typeB a:hover{
  opacity: 0.8;
  transform: translateY(-3px);
}
.poster--typeB img{
  width: 180px;
  height: auto;
  background: #fff;
  border: 1px solid #dcd0b9;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  display: block;
}

/* Content */
.content{
  background: transparent;
  padding-bottom: 56px;
}

/* Title */
.pageTitleB{
  margin: 0 0 12px;
  padding: 0 var(--inPad);
}
.pageTitleB__eyebrow{
  margin: 0 0 6px;
  display: flex;
  align-items: baseline;
  gap: 12px;
  line-height: 1.15;
}
.pageTitleB__jpCount{
  font-size: 30px;
  font-weight: 900;
  color: #1a1a1a;
  letter-spacing: .02em;
}
.pageTitleB__en{
  font-size: 15px;
  font-weight: 500;
  color: #2b2b2b;
}
.pageTitleB__title{
  margin: 0;
  text-align: left;
  font-size: 46px;
  font-weight: 900;
  line-height: 1.08;
  color: #2b1b1b;
  letter-spacing: .01em;
}
.pageTitleB__sub{
  font-size: .78em;
  font-weight: 900;
  margin-left: 14px;
  color: #2b1b1b;
}

/* Hero */
.heroB{
  border-radius: 10px;
  padding: 18px var(--inPad) 20px;
}
.heroB__head{ margin-bottom: 12px; }
.heroB__catch{
  margin: 0 0 4px;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 900;
  color: #0e6aa8;
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "游明朝",
    "Noto Serif JP",
    "MS PMincho",
    serif;
}
.heroB__sub{
  font-size: 20px;
  margin: 0 0 6px;
  font-weight: 700;
  font-family:
    "Hiragino Mincho ProN",
    "Yu Mincho",
    "游明朝",
    "Noto Serif JP",
    "MS PMincho",
    serif;
}
.heroB__catch,
.heroB__sub{
  font-weight: 900;
}
.heroB__en{
  margin: 0;
  font-size: 11px;
  color: #333;
  letter-spacing: -0.04em;
}

.heroB__image{
  background: transparent;
  border: 0;
  padding: 0;
  margin-bottom: 10px;
}
.heroB__image img{
  display: block;
  width: 100%;
  height: auto;
}
.heroB__copyright{
  text-align: right;
  margin: 5px 0 0;
  color: #333;
  font-size: 12px;
  font-family: sans-serif;
  letter-spacing: 0.02em;
}

/* Firefox: page title and catch copy */
@-moz-document url-prefix() {
  .pageTitleB__jpCount,
  .pageTitleB__title,
  .heroB__catch,
  .heroB__sub {
    font-weight: 600;
  }
}

/* Facts */
.factsB{
  margin-top: 14px;
  display: grid;
  gap: 14px;
  padding: 0 var(--inPad);
}
.factsB__item{
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  column-gap: 20px;
  align-items: flex-start;
}
.factsB__item--date{
  align-items: center;
}
.factsB__tag{
  display: grid;
  place-items: center;
  background: var(--red);
  color: #fff;
  font-weight: 900;
  letter-spacing: .06em;
  width: 72px;
  height: 40px;
  font-size: 18px;
}

.dateB{
  display: grid;
  gap: 6px;
}

/* 会期の最新サイズ調整を反映 */
.dateB__main{
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 6px;
  font-weight: 900;
  line-height: 1;
  color: #222;
}

.dateB__year{
  font-size: 28px;
  line-height: 1;
  margin-right: 8px;
}

.dateB__month{
  display: inline-flex;
  align-items: baseline;
  gap: 0;
  font-size: 28px;
  line-height: 1;
}
.dateB__monthNum{
  font-size: 1.75em;
  font-weight: 900;
}
.dateB__monthUnit{
  font-size: 26px;
}

.dateB__day{
  font-size: calc(28px * 1.75);
  color: #0e6aa8;
  letter-spacing: .02em;
}
.dateB__unit{
  font-size: 26px;
  margin-left: -2px;
}
.dateB__sep{
  font-size: 38px;
  margin: 0 4px;
}

.dateB__dow{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #1f1414;
  color: #fff;
  font-size: 20px;
  margin-left: 4px;
  vertical-align: baseline;
  position: relative;
  top: -4px;
}

.placeB__name,
.chairB__name{
  font-weight: 900;
  font-size: 34px;
  line-height: 1.15;
}

.placeB__addr,
.chairB__aff{
  margin-top: 6px;
  font-weight: 700;
  font-size: 16px;
  line-height: 1.35;
}

/* Firefoxで開催概要だけ太く見える件の補正 */
@-moz-document url-prefix() {
  .factsB__tag,
  .dateB__main,
  .dateB__year,
  .dateB__month,
  .dateB__monthNum,
  .dateB__day,
  .dateB__unit,
  .dateB__monthUnit,
  .dateB__dow,
  .dateB__sep,
  .placeB__name,
  .placeB__addr,
  .chairB__name,
  .chairB__aff {
    font-family: "Yu Gothic", "Yu Gothic UI", "Meiryo", sans-serif;
    font-synthesis: none;
  }

  .factsB__tag,
  .dateB__main,
  .placeB__name,
  .chairB__name {
    font-weight: 700 !important;
  }

  .dateB__year,
  .dateB__month,
  .dateB__monthNum,
  .dateB__day,
  .dateB__unit,
  .dateB__monthUnit,
  .dateB__dow,
  .dateB__sep,
  .placeB__addr,
  .chairB__aff {
    font-weight: 500 !important;
  }
}

/* News */
.panelB{
  margin: 18px auto 0;
  background: var(--brown);
  border-radius: var(--radius);
  padding: 18px;
  width: 100%;
  max-width: 770px;
}
.panelB__title{
  margin: 0 0 15px 1em;
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1.4;
}
.panelB__body{
  background: #fff;
  border-radius: 0;
  padding: 10px 14px;
}
.news{
  list-style: none;
  padding: 0;
  margin: 0;
}
.news__item{
  display: grid;
  grid-template-columns: 110px minmax(0, 1fr);
  gap: 14px;
  padding: 12px 0;
  border-bottom: 1px solid #d3d3d3;
  font-size: 16px;
  line-height: 1.5;
}
.news__item:last-child{ border-bottom: 0; }
.news__date{
  font-weight: 900;
  color: #333;
  white-space: nowrap;
}
.news__text{
  color: #222;
  min-width: 0;
  word-break: break-word;
}

/* Sub page heading */
.subPageHeadingB{
  margin: 14px 0 0;
  font-weight: 900;
  font-size: 28px;
  color: #2b1b1b;
}

/* Frame */
.frameB{
  width: 100%;
  max-width: 760px;
  margin: 40px auto 0;
  background: var(--brown);
  border-radius: var(--radius);
  padding: 18px;
}
.frameB__title{
  color: #fff;
  font-weight: 900;
  font-size: 32px;
  line-height: 1.25;
  margin: 0 0 16px;
  padding: 18px 0;
  text-align: center;
}
.frameB__inner{
  background: #fff;
  border-radius: 0;
  padding: 14px 16px;
}

/* Greeting */
.greetingB__inner{
  padding: 34px 36px 44px;
}
.greetingB__top{
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 26px;
  margin-bottom: 34px;
}
.greetingB__meta{
  flex: 1;
  text-align: right;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.greetingB__kicker{
  margin: 0 0 8px;
  font-size: 12px;
  font-weight: 700;
  color: #333;
}
.greetingB__role{
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 900;
  color: #111;
  letter-spacing: .02em;
}
.greetingB__aff{
  margin: 0;
  font-size: 12px;
  font-weight: 700;
  color: #333;
}
.greetingB__photo{
  flex: 0 0 auto;
  margin: 0;
}
.greetingB__photo img{
  width: 160px;
  height: auto;
  display: block;
  background: #fff;
  padding: 6px;
  border: 1px solid #d8d8d8;
  box-shadow: 0 2px 6px rgba(0,0,0,.06);
}
.greetingB__body p{
  margin: 0 0 22px;
  font-size: 15px;
  line-height: 2;
  color: #222;
  text-align: justify;
  text-justify: inter-ideograph;
}
.greetingB__body p:last-child{ margin-bottom: 0; }

.greetingB__kicker,
.greetingB__role,
.greetingB__aff{
  text-align: right;
}


/* Link page */
.linkPageB__inner{
  padding: 34px 36px 38px;
}

.linkListB{
  list-style: none;
  margin: 0;
  padding: 0;
  border-top: 1px solid #cfcfcf;
}

.linkListB__item{
  border-bottom: 1px solid #d9d9d9;
}

.linkListB__link{
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 28px 18px 0;
  color: #004a97;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.7;
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.linkListB__link::before{
  content: "›";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #004a97;
  color: #fff;
  font-family: serif;
  font-size: 20px;
  line-height: 1;
  text-decoration: none;
  flex: 0 0 24px;
  box-sizing: border-box;
  padding-bottom: 2px;
}

.linkListB__link::after{
  content: "↗";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  font-size: 14px;
  color: #777;
  text-decoration: none;
}

.linkListB__link:hover{
  color: #0f6db5;
}

.linkListB__label{
  display: inline-block;
}
/* Info table */
.infoTable{
  width: 100%;
  border-collapse: collapse;
  table-layout: fixed;
}
.infoTable th,
.infoTable td{
  padding: 14px 12px;
  border-bottom: 1px solid #e2e2e2;
  vertical-align: top;
}
.infoTable tr:last-child th,
.infoTable tr:last-child td{
  border-bottom: 0;
}
.infoTable th{
  width: 160px;
  font-weight: 900;
  color: #222;
  background: #f7f2e6;
}
.infoTable td{
  color: #222;
  line-height: 1.6;
}
.infoTable td small{
  color: #444;
  font-size: 12px;
}
.infoTable a[href^="mailto:"]:hover{
  color: #f3981d;
}

/* Footer */
.footer{
  margin-top: 0;
  background: var(--footerBg);
}
.footer__inner{
  display: flex;
  justify-content: center;
  gap: 180px;
  padding: 50px 0 50px;
  max-width: 1200px;
  margin-inline: auto;
}
.footer__box{
  text-align: left;
  flex: 0 1 auto;
}
.footer__title{
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
  color: #222;
}
.footer__text{
  margin: 0;
  font-size: 14px;
  line-height: 1.8;
  color: #111;
  font-weight: 500;
}
.footer__text a{
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.footer__text a:hover{
  color: #f3981d;
  text-decoration-thickness: 2px;
}
.copyright{
  background: var(--red);
  color: #fff;
  text-align: center;
  font-size: 11px;
  padding: 8px 12px;
  letter-spacing: 0.02em;
}

/* Responsive */
@media (max-width: 980px){
  .layout{
    grid-template-columns: 1fr;
  }

  .layout::before{
    display: none;
  }

  .main{
    background: var(--rightCol);
  }

  .side{
    display: none;
  }

  .side.is-open{
    display: block;
    background: var(--leftCol);
    padding-top: 88px;
  }

  .panelB{
    width: 100%;
    max-width: 770px;
    margin: 18px auto 0;
  }

  .factsB{
    padding: 0 14px;
  }

  .factsB__item{
    column-gap: 14px;
  }

  .placeB__name,
  .chairB__name{
    font-size: 30px;
  }

  .navToggle{
    position: fixed;
    right: 14px;
    top: 22px;
    width: 56px;
    height: 56px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border: 1px solid var(--line);
    background: var(--paper);
    border-radius: 8px;
    cursor: pointer;
    z-index: 1000;
  }
}

@media (max-width: 900px){
  .footer__inner{
    gap: 60px;
  }
}

@media (max-width: 768px){
  .footer__inner{
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 40px 20px;
  }
  .footer__box{
    text-align: center;
  }
}

@media (max-width: 560px){
  .wrap{
    width: min(var(--wrap), calc(100% - 28px));
  }

  .pageTitleB{
    padding: 0 4px;
    margin-bottom: 20px;
  }
  .pageTitleB__eyebrow{
    flex-direction: column;
    gap: 4px;
    align-items: flex-start;
  }
  .pageTitleB__jpCount{
    font-size: 20px;
  }
  .pageTitleB__en{
    font-size: 11px;
    line-height: 1.4;
    padding-right: 72px;
    box-sizing: border-box;
  }

  .pageTitleB__title{
    font-size: 28px;
    line-height: 1.2;
    margin-top: 8px;
  }
  .pageTitleB__sub{
    font-size: 0.6em;
    margin-left: 6px;
    display: inline-block;
  }

  .factsB{
    padding: 0 4px;
    gap: 12px;
  }
  .factsB__item{
    grid-template-columns: 1fr;
    row-gap: 8px;
  }
  .factsB__tag{
    width: auto;
    height: 34px;
    font-size: 16px;
    border-radius: 6px;
    justify-self: start;
    padding: 0 14px;
  }

  .heroB{
    padding-left: 4px;
    padding-right: 4px;
  }

  .dateB__main{
    justify-content: flex-start;
    gap: 4px;
  }

  .dateB__year{
    font-size: 18px;
    width: 100%;
    margin-right: 0;
    margin-bottom: 4px;
  }

  .dateB__month{
    font-size: 20px;
  }

  .dateB__monthUnit{
    font-size: 18px;
  }

  .dateB__day{
    font-size: 42px;
  }

  .dateB__unit{
    font-size: 18px;
  }

  .dateB__sep{
    font-size: 24px;
    margin: 0 2px;
  }

  .dateB__dow{
    width: 34px;
    height: 34px;
    font-size: 18px;
    top: -2px;
    margin-left: 2px;
  }

  .panelB{
    padding: 14px;
    border-radius: 16px;
  }

  .panelB__title{
    margin: 0 0 12px;
    font-size: 18px;
  }

  .panelB__body{
    padding: 8px 12px;
  }

  .news__item{
    grid-template-columns: 1fr;
    gap: 6px;
    padding: 12px 0;
    font-size: 14px;
  }

  .heroB__image{
    border-radius: 0;
    overflow: visible;
  }
  .heroB__image img{
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    max-height: 60vh;
    display: block;
  }
  .heroB__copyright{
    font-size: 10px;
    margin-top: 6px;
    text-align: right;
  }

  .news__date{
    font-size: 12px;
    color: #444;
  }

  .news__text{
    font-size: 14px;
  }

  .placeB__name,
  .chairB__name{
    font-size: 24px;
    line-height: 1.2;
  }

  .placeB__addr,
  .chairB__aff{
    font-size: 14px;
    line-height: 1.5;
  }

  .subPageHeadingB{
    font-size: 22px;
  }

  .frameB{
    margin: 32px auto 0;
    padding: 14px;
  }

  .frameB__title{
    font-size: 24px;
    padding: 14px 0;
  }
  .frameB__inner{
    padding: 12px;
    border-radius: 0;
  }

  .infoTable,
  .infoTable tbody,
  .infoTable tr,
  .infoTable th,
  .infoTable td{
    display: block;
    width: 100%;
  }

  .infoTable th{
    width: auto;
    border-bottom: 0;
    padding: 12px 10px 6px;
    border-radius: 8px 8px 0 0;
  }

  .infoTable td{
    padding: 0 10px 12px;
    border-bottom: 1px solid #e2e2e2;
  }

  .infoTable tr:last-child td{
    border-bottom: 0;
  }


  .linkPageB__inner{
    padding: 18px 16px 22px;
  }

  .linkListB__link{
    gap: 10px;
    padding: 14px 22px 14px 0;
    font-size: 15px;
    line-height: 1.65;
  }

  .linkListB__link::before{
    width: 22px;
    height: 22px;
    font-size: 18px;
    flex-basis: 22px;
  }

  .linkListB__link::after{
    font-size: 13px;
  }

  .footer__inner{
    grid-template-columns: 1fr;
    gap: 18px;
  }
}

@media (max-width: 560px){
  .greetingB__inner{
    padding: 18px 16px 26px;
  }
  .greetingB__top{
    flex-direction: column;
    align-items: center;
    margin-bottom: 18px;
  }
  .greetingB__photo img{
    width: 140px;
  }
  .greetingB__body p{
    font-size: 14px;
    line-height: 1.9;
  }
}


/* Access page */
.accessPageB__inner{
  padding: 34px 36px 38px;
}

.accessPageB__lead{
  margin-bottom: 20px;
}

.accessPageB__name{
  margin: 0;
  font-size: 30px;
  font-weight: 900;
  line-height: 1.35;
  color: #2b1b1b;
}

.accessInfoTable th{
  width: 140px;
}

.accessInfoTable td a{
  color: #004a97;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.accessInfoTable td a:hover{
  color: #0f6db5;
}

.accessPageB__link{
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.accessPageB__link::after{
  content: "↗";
  font-size: 14px;
  color: #777;
}

@media (max-width: 560px){
  .accessPageB__inner{
    padding: 18px 16px 22px;
  }

  .accessPageB__name{
    font-size: 22px;
    line-height: 1.45;
  }

  .accessInfoTable th{
    width: auto;
  }
}

/* Google Map */
.accessMap{
  margin-top: 24px;
  border-radius: 10px;
  overflow: hidden;
}

.accessMap iframe{
  display: block;
}
