.container{
  padding-top: var(--header-height);
  @media (1024px <= width) {
    padding-top: 12em  /*var(--header-height)*/;
  }
}
.defs{
  display: none;
}

.l-grid2{
  @media (width < 737px) {
    &>*:not(:first-child){
      margin-top: calc(var(--margin-base) * 4.5);
      padding-top: calc(var(--margin-base) * 4.5);
      border-top: var(--color-brand-primary)  1px solid;
    }
  }
  @media (737px <= width) {
    display: flex;
    &>*{
      flex: 0 0 50%;
      box-sizing: border-box;
    }
  }
}

article a.s-button--small{
  padding: 0.25em 1.25em;
  border: var(--color-brand-primary) 3px solid;
  border-radius: 5em;
  display: inline-block;
  color: var(--color-brand-primary);
  background: var(--color-background-default);
  font-weight: 600;
  text-decoration: none;
  transition-property: color, background;
  transition-duration: .3s;
  &:hover{
    color: var(--color-text-on-dark);
    background: var(--color-brand-primary);
  }
}


.lead{
  padding-top: calc(var(--margin-base) * 8);
  padding-bottom: calc(var(--margin-base) * 16);
  background: #fff url(../images/common/bg_type01.png) no-repeat left bottom;
}
.event-outline{
  padding-top: calc(var(--margin-base) * 8);
  padding-bottom: calc(var(--margin-base) * 12);
  background: #fffaf5 url(../images/common/bg_type02.png) no-repeat right bottom;
  .inner{
    margin: auto;
    padding-inline: 1.5em;
    max-width: 1120px;
    box-sizing: content-box;
  }
}
.event-title{
  margin: 0;
  line-height: 1.5;
  h2{
    margin-top: 0.375em;
    margin-bottom: 0;
    padding: 0;
    background: none;
    font-size: 1.5em;
    font-weight: 700;
    text-align: center;
  }
  p{
    margin-top: 0.75em;
    margin-bottom: 0;
    text-align: center;
  }
  .event-number{
    font-size: 1.125em;
    font-weight: 700;
  }
  .event-subtitle{
    color: var(--color-text-secondary);
    font-weight: 600;
    &::before{
      content: "〈";
    }
    &::after{
      content: "〉";
    }
  }
  @media (737px <= width < 1280px) {
    h2{
      font-size: 1.875em;
    }
    .event-number{
      font-size: 1.125em;
    }
      }
  @media (1280px <= width) {
    h2{
      font-size: 2.125em;
    }
    .event-number{
      font-size: 1.375em;
    }
  }
}

.event-summary{
  margin-top: calc(var(--margin-base) * 5);
  @media (737px <= width) {
    margin-top: calc(var(--margin-base) * 8);
  }
  .item{
    p, ul, dl, dt, dd{
      margin: 0;
    }
    .title{
      margin-bottom: 0.25em;
      font-size: 1.125em;
      font-weight: 600;
      span{
        margin-right: 0.5em;
        padding: 0.125em 0.375em;
        color: var(--color-text-on-dark);
        background: var(--color-brand-primary);
        font-size: 0.875em;
      }
    }
    .date{
      font-size: 2em;
      font-family: var(--font-family-number);
      font-weight: 900;
      line-height: 1;
      letter-spacing: 0.05em;
      span{
        font-size: 1.375em;
        vertical-align: -0.0625em;
      }
      small{
        font-size: 0.75em;
        font-weight: 700;
      }
    }
    ul{
      margin-top: calc(var(--margin-base) * 1.5);
    }
    li{
      margin-top: 0.125em;
    }
    dl{
      display: flex;
      line-height: 1.2;
    }
    dt{
      padding: 0.25em;
      flex: 0 0 3em;
      background: var(--color-background-pale);
      text-align: center;
      align-content: center;
    }
    dd{
      margin-left: 0.375em;
      padding: 0.25em;
      svg{
        margin-left: 0.25em;
        width: 1em;
        height: 1em;
        fill: var(--color-brand-primary);
        vertical-align: -0.125em;
      }
      small{
        font-size: 0.75em;
      }
    }
    p.s-caption{
      margin-top: 0.75em;
      font-size: 0.75em;
      &::before{
        content: "※";
        margin-right: 0.5em;
      }
    }
    @media (737px <= width) {
      ul{
        display: flex;
        flex-wrap: wrap;
      }
      li{
        margin-right: 0.75em;
      }
    }
  }
}

.event-info{
  margin-top: calc(var(--margin-base) * 5);
  padding: 1em;
  border: #cf6168 3px solid;
  ul, li, dl, dt, dd{
    margin: 0;
  }
  dl{
    display: flex;
  }
  dt{
    &::before{
      content: "";
      margin-right: 0.25em;
      display: inline-block;
      width: 0.75em;
      height: 0.75em;
      border-radius: 50%;
      background: #cf6168;
    }
    &::after{
      content: "：";
      margin-right: 0.25em;
    }
  }
  small{
    font-size: 0.875em;
    &::before{
      content: "※";
    }
  }
  @media (width < 737px) {
    dt{
      flex: 0 0 5.5em;
    }
  }
  @media (737px <= width) {
    ul{
      display: flex;
      align-items: center;
      justify-content: center;
      &>li{
        margin-right: 1.5em;
      }
    }
  }
}

.button-area{
  margin-block: calc(var(--margin-base) * 5);
  text-align: center;
  @media (737px <= width) {
    margin-block: calc(var(--margin-base) * 8);
  }
}
article a.s-button{
  display: inline-block;
  padding: 0.5em 1.5em;
  border: var(--color-brand-primary) 3px solid;
  border-radius: 5em;
  min-width: 10em;
  color: var(--color-text-on-dark);
  background: var(--color-brand-primary);
  font-size: 1.25em;
  font-weight: bold;
  font-family: var(--font-family-serif);
  text-align: center;
  text-decoration: none;
  transition-property: color, background;
  transition-duration: .3s;
  &:hover{
    color: var(--color-brand-primary);
    background: var(--color-background-default);
  }
}

/**speaker section**/
.speaker section:not(:first-of-type){
  margin-top: calc(var(--margin-base) * 8);
}
.speaker-profile{
  p{
    margin: 0;
  }
  .item__title{
    display: inline-block;
    padding: 0 0.75em;
    color: var(--color-text-on-dark);
    background: var(--color-brand-primary);
    font-weight: 600;
  }
  .item__name{
    margin-top: 0.125em;
    font-size: 1.875em;
    font-family: var(--font-family-serif);
    font-weight: 700;
    line-height: 1.5;
    small{
      margin-left: 0.75em;
      font-size: 0.625em;
      font-weight: 400;
    }
  }
  .item__cert{
    color: var(--color-text-secondary);
    font-size: 0.9375em;
    font-weight: 600;
    font-style: italic;
    line-height: 1.5;
  }
  .item__bio-title{
    margin-top: 1.5em;
    font-weight: 600;
    &::before{
      content: "【";
    }
    &::after{
      content: "】";
    }
  }
  .item__bio{
    dl{
      margin-top: 0.25em;
      display: flex;
      line-height: 1.5;
    }
    dt{
      flex: 0 0 6.25em;
    }
    dd{

    }
  }
  @media (width < 737px) {
    .item__image{
      margin: auto;
      width: 62.5%;
    }
    .item__text{
      margin-top: calc(var(--margin-base) * 5);
    }
  }
  @media (737px <= width) {
    display: flex;
    flex-direction: row-reverse;
    .item__image{
      flex: 0 0 30%;
    }
    .item__text{
      flex: 0 0 70%;
      padding-right: 6.25%;
      box-sizing: border-box;
    }
  }
}
/** access area**/
.access{
  p{
    margin: 0;
    line-height: 1.5;
  }
  .item__number{
    padding: 0.125em 0.5em;
    display: inline-block;
    color: var(--color-text-on-dark);
    background: var(--color-brand-primary);
    font-size: 0.875em;
    font-weight: 600;
  }
  .item__name{
    margin-top: 0.25em;
    font-size: 1.25em;
    font-weight: 700;
  }
  .item__map{
    margin-top: 0.75em;
  }
  .item__map iframe{
    width: 100%;
    aspect-ratio: 9/5;
  }
  .item__address, .item__guide{
    font-size: 0.9375em;
    svg{
      margin-right: 0.25em;
      width: 0.875em;
      height: 0.875em;
      fill: var(--color-brand-primary);
      vertical-align: -0.125em;
    }
  }
  .item__button{
    margin-top: 1em;
    text-align: center;
  }
  @media (737px <= width) {
    .l-grid2{
      justify-content: space-between;
      &>*{
        flex: 0 0 47.5%;
      }
    }
  }
}

.leaflet{
  padding-bottom: calc(var(--margin-base) * 16);
  background: var(--color-background-default) url(../images/common/bg_type03.png) no-repeat right bottom;
  .button{
    text-align: center;
  }
  @media (737px <= width) {
    .l-split{
      display: flex;
      justify-content: space-between;
      flex-direction: row-reverse;
    }
    .item__image{
      flex: 0 0 42.5%;
    }
    .item__text{
      flex: 0 0 50%;
    }
  }
}
section.booking{
  padding-bottom: calc(var(--margin-base) * 16);
  background: #fffaf5;
  p+p{
    margin-top: 0.5em;
  }
  .notice{
    margin-bottom: 0;
    color: var(--color-text-secondary);
    font-size: 0.875em;
    text-align: center;
  }
}