/* ======================================================================
  Side Event — Single（詳細）
====================================================================== */

:root {
  /*--se-blue: #006ab0;
  --se-blue-dark: #004a7c;
  --se-coral: #f15a29;
  --se-pink: #e854a4;*/
  --se-text: #006AB0;
  /*--se-muted: #5a7a94;
  --se-border: #d5e3ee;*/
}

.sideevent-single {
  background-color: #cafef7;
  padding-bottom: 65px;
}

.sideevent-single__hero {
  position: relative;
  /*min-height: 320px;*/
  height: 400px;
  /*display: flex;
  align-items: center;*/
  color: #fff;
  background: var(--sideevent-hero-img) center / cover no-repeat;
  /*background-color: var(--se-blue-dark);*/
  /*background-image: var(--sideevent-hero-img);
  background-size: cover;
  background-position: center;*/
}

.sideevent-single__hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}

.sideevent-single__hero-inner {
  width: 100%;
  max-width: 1150px;
  height: 100%;
  z-index: 1;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding-bottom: 85px;
}

.sideevent-single__hero-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-top: auto;
  position: relative;
}

/* バッジは絶対配置。有無でタイトル位置が変わらない */
.sideevent-single__badges {
  position: absolute;
  top: -50px;
  left: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.sideevent-single__badge {
  width: auto;
  height: 32px;
  padding: 0 18px;
  background-color: #c82800;
  border-radius: 40px;
  font-size: 14px;
  font-weight: 700;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  box-sizing: border-box;
}

.sideevent-single__badge--restricted {
  background-color: #fff;
  color: #006AB0;
  border: 1px solid #006AB0;
}

.sideevent-single__title {
  font-size: 34px;
  font-weight: 700;
  line-height: 1.7;
  letter-spacing: 0.05em;
  margin-right: 1em;
}

/*.sideevent-single__hero-cta {
  flex-shrink: 0;
}*/

.sideevent-btn {
  width: 252px;
  height: 56px;
  background-color: #D62A01;
  border: 1px solid #f3f7fb;
  border-radius: 30px;
  font-size: 17px;
  font-weight: 600;
  padding-right: 0.5em;
}

.sideevent-btn--sm {
  min-height: 40px;
  padding: 8px 20px;
  font-size: 13px;
}

.sideevent-single__main {
  margin-top:100px;
  position: relative;
  z-index: 2;
}

.sideevent-single__container {
  width: min(1200px, 92%);
  margin: 0 auto;
  background: #fff;
  color: var(--se-text);
  padding: 100px;
}

.sideevent-single__container--ended {
  padding-top: 44px;
}

.sideevent-single__main-image img {
  width: 100%;
  height: auto;
  display: block;
}

.sideevent-single__ended-note {
  margin: 0 0 16px;
  padding: 7px 16px 10px;
  background: #d9d9d9;
  color: #000;
  font-size: 36px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
}

.sideevent-section {
  margin-top: 100px;
}

.sideevent-section__title {
  display: flex;
  align-items: center;
  margin-bottom: 45px;
}

.sideevent-section__title .en {
  font-size: 60px;
  font-weight: 700;
  line-height: 1;
}

.sideevent-section__title .ja {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 0.1em;
  margin-left: 15px;
}

.sideevent-section__body {
  font-size: 16px;
  line-height: 2;
  color: #000;
}

.sideevent-section__body p + p {
  margin-top: 1em;
}

/* Speakers */
.sideevent-speakers {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 30px;
  list-style: none;
  margin: 0;
  padding: 0;
}

.sideevent-speakers__photo {
  aspect-ratio: 1;
  overflow: hidden;
  background: #e8f0f6;
  margin-bottom: 12px;
}

.sideevent-speakers__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.sideevent-speakers__affiliation {
  font-size: 13px;
  font-weight: 500;
  line-height: 1.46;
  margin-top: 10px;
}

.sideevent-speakers__name {
  font-size: 18px;
  font-weight: 700;
  margin-top: 5px;
}

/* Outline */
.sideevent-outline {
  /*margin: 0;*/
  width: 808px;
  font-size: 16px;
  line-height: 2;
  margin: 0 auto;

  .sideevent-btn--sm{
    width: 200px;
    height: 45px;
    font-size: 13px;
    font-weight: 500;
    border: none;
    background: #D62A02 url(../img/common/arrow1_w.svg) no-repeat right 15px center / 16px;
    padding: 0 0.5em 0 0;
  }
}

.sideevent-outline__item {
  display: flex;
  align-items: flex-start;
  gap: 0 17px;
}

.sideevent-outline__item + .sideevent-outline__item {
  margin-top: 23px;
  text-align: justify;
}

.en .sideevent-outline__item + .sideevent-outline__item,
.en .sideevent-outline__value {
  text-align: left;
  word-break: keep-all;
}

.sideevent-outline__label {
  width: 172px;
  height: 38px;
  border: 1px solid var(--se-text);
  font-weight: 500;
  letter-spacing: 0.05em;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  
}

.sideevent-outline__value {
  font-weight: 500;
  color: #000;
  padding-top: 2px;
}

.sideevent-outline__participation,
.sideevent-outline__venue {
  display: flex;
  flex-direction: column;
  gap: 16px;
}


.sideevent-outline__venue-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
}

.sideevent-outline__venue-address {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

/* Map */
.sideevent-section.map{
  position: relative;

  .sideevent-map__link{
    position: absolute;
    top: 15px;
    right: 0;
  }
  
}
.sideevent-map {
  position: relative;
  width: 100%;
  aspect-ratio: 25 / 11;
  overflow: hidden;
}

.sideevent-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sideevent-map__link a {
  font-weight: 500;
  font-size: 14px;
  color: var(--se-text);
  display: flex;
  align-items: center;
  text-decoration: none;
  border-bottom: 1px solid var(--se-text);
  padding-bottom: 4px;

  &::after {
    content: '';
    width: 14px;
    height: 11px;
    background: url(../img/sideevent/arrow_rb.svg) no-repeat center / contain;
    margin-left: 1em;
  }
}

.sideevent-map__link a:hover {
  opacity: 0.8;
}

@media all and (max-width: 680px) {
  .sideevent-single__main {
    margin-top: 40px;
}

  .sideevent-speakers__name {
    margin-top: 4px;
    line-height: 1.25;
    letter-spacing: 0;
  }
}

/* ----------------------------------------------------------------------
  Responsive
---------------------------------------------------------------------- */

/*@media all and (max-width: 900px) {
  .sideevent-speakers {
    grid-template-columns: repeat(2, 1fr);
  }
}*/

@media all and (max-width: 680px) {
  .sideevent-single__hero {
    min-height: 310px;
  }

  .sideevent-single__hero-inner {
    /*padding: 56px 0 48px;*/
    padding-left: 5%;
    padding-right: 5%;
    padding-bottom: 30px;
  }

  .sideevent-single__badges {
    top: -45px;
  }

  .sideevent-single__hero-row {
    display: block;
    /*flex-direction: column;
    align-items: flex-start;
    gap: 20px 0;*/
  }

  .sideevent-single__title {
    font-size: 22px;
    margin-right: 0;
  }

  .sideevent-btn {
    width: 211px;
    height: 51px;
    /*background-color: #D62A01;
    border: 1px solid #f3f7fb;
    border-radius: 30px;*/
    font-size: 15px;
    margin: 20px auto 0;
  }



  .sideevent-single__container {
    padding: 30px;
  }

  .sideevent-single__container--ended {
    padding-top: 12px;
  }

  .sideevent-single__ended-note {
    font-size: 24px;
    margin-bottom: 14px;
    padding: 6px 12px 9px;
  }

  .sideevent-section {
    margin-top: 40px;
  }
  .sideevent-section__title{
    margin-bottom: 30px;
  }

  .sideevent-section__title--summary {
    margin-bottom: 13px;
  }

  .sideevent-section__title .en {
    font-size: 35px;
  }
  .sideevent-section__title .ja {
    font-size: 18px;
    margin-left: 10px;
  }
  .sideevent-section__body{
    font-size: 15px;
  }


  /* Speakers */
.sideevent-speakers {
  /*display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0 30px;
  list-style: none;
  margin: 0;
  padding: 0;*/
  display: block;
}

.sideevent-speakers__item{
  display: flex;
  align-items: flex-end;
}
.sideevent-speakers__item + .sideevent-speakers__item{
  margin-top: 17px;
}

.sideevent-speakers__photo {
  width: 113px;
  margin-bottom: 0;
  flex-shrink: 0;
}

/*.sideevent-speakers__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
*/

.sideevent-speakers__txt{
  margin-left: 13px;
}
.sideevent-speakers__affiliation {
  /*font-size: 13px;
  font-weight: 500;
  line-height: 1.46;*/
  margin-top: 0;
}

/*.sideevent-speakers__name {
  font-size: 18px;
  font-weight: 700;
  margin-top: 5px;
}*/

/* Outline */
.sideevent-outline {
  width: 100%;
  /*font-size: 16px;*/
  line-height: 1.7;
  /*margin: 0 auto;*/

  .sideevent-btn--sm {
    width: 211px;
    height: 51px;
    font-size: 15px;
    font-weight: 500;
    border: none;
    background: #D62A02 url(../img/common/arrow1_w.svg) no-repeat right 15px center / 15px;
    padding: 0 0.5em 0 0;
    margin-top: 0;
    margin-bottom: 10px;
  }
}

  .sideevent-outline__item {
    /*display: flex;
    align-items: flex-start;
    gap: 0 17px;*/
    display: block;
  }

  .sideevent-outline__item + .sideevent-outline__item {
    margin-top: 20px;
  }

  .sideevent-outline__label {
    width: 100%;
    height: 26px;
    /*border: 1px solid var(--se-text);
    font-weight: 500;
    letter-spacing: 0.05em;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;*/
    font-size: 14px;
  }

  .sideevent-outline__value {
    /*font-weight: 500;
    color: #000;*/
    padding-top: 8px;
  }

.sideevent-outline__participation,
.sideevent-outline__venue {
  display: flex;
  flex-direction: column;
  gap: 16px;
}


.sideevent-outline__venue-name {
  font-size: 16px;
  font-weight: 500;
  line-height: 2;
}

.sideevent-outline__venue-address {
  margin: 6px 0 0;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
}

/* Map */
.sideevent-section.map{
  position: relative;

  .sideevent-map__link {
    position: relative;
    top: auto;
    width: fit-content;
    margin-top: 15px;
  }
  
}
.sideevent-map {
  position: relative;
  width: 100%;
  aspect-ratio: 275 / 250;
  overflow: hidden;
}

.sideevent-map iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.sideevent-map__link a {
  font-weight: 500;
  font-size: 14px;
  color: var(--se-text);
  display: flex;
  align-items: center;
  text-decoration: none;
  border-bottom: 1px solid var(--se-text);
  padding-bottom: 4px;

  &::after {
    content: '';
    width: 14px;
    height: 11px;
    background: url(../img/sideevent/arrow_rb.svg) no-repeat center / contain;
    margin-left: 1em;
  }
}

.sideevent-map__link a:hover {
  opacity: 0.8;
}




/*  .sideevent-speakers {
    grid-template-columns: 1fr;
    max-width: 280px;
  }*/

/*  .sideevent-outline__item {
    flex-direction: column;
    gap: 8px;
  }*/

  /*.sideevent-outline__label {
    flex: none;
    width: 100%;
  }*/

  /*.sideevent-outline__value {
    padding-top: 0;
  }*/
}
