@charset "UTF-8";

/* ===== About page main ===== */
#about {
  margin: auto;
  max-width: 600px;
}


#about p {
  font-size: 11.4px;
  line-height: 215%;
  letter-spacing: 0.13em;
  font-style: normal;
  padding-top: 38px;
  padding-bottom: 40px;
}

@media (max-width: 480px){
  #about { padding: 0 16px; } 
}

#about {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

#about h1 {
  display: block;
  width: 100%;
  text-align: center;
}

.concert-link {
  color: inherit;
  text-decoration: none;
  display: inline;
}

.concert-link::after {
  content: "↗";
  display: inline-block;
  margin-left: 0.3em;
  font-size: 0.8em;
  opacity: var(--arrow-opacity, 0.6);
  transform: translateX(var(--arrow-shift, -4px));
  transition: transform 0.25s ease, opacity 0.25s ease;
}

@media (hover: hover) {
  .concert-link:hover::after {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (hover: none) {
  .concert-link::after { transition: none; }
}

/* ===== Performance section ===== */
.performance {
  margin: auto;
  max-width: 600px;
  padding-bottom: 20px;
}

.performance p {
  font-family: 'Open Sans', system-ui, -apple-system;
  font-size: 11.4px;
  line-height: 215%;
  letter-spacing: 0.13em;
  font-style: normal;
  padding-top: 38px;
  padding-bottom: 40px;
}

/* 年見出し */
.performance h3 {
  font-family: 'Dosis', sans-serif;
  font-weight: 600;
  font-size: 1.05rem;
  letter-spacing: .02em;
  margin: 1.25em 0 .5em;
}

/* ===== Event list grid ===== */
.events {
  list-style: none;
  padding: 0;
  margin: 0 0 1.2em;
}

.events li {
  display: grid;
  grid-template-columns: 160px 1fr auto;
  grid-template-rows: auto auto;
  align-items: baseline;
  padding: .6rem 0;
  border-bottom: 1px solid #eee;

  font-family: 'Open Sans', system-ui, -apple-system, "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
  font-size: 0.65rem;
  line-height: 1.7;
}

.events .host {
  grid-column: 1;
  grid-row: 1;
  font-weight: 600;
}

.events .title {
  grid-column: 2;
  grid-row: 1;
}

.events .role {
  grid-column: 3;
  grid-row: 1;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

.events .meta {
  grid-column: 1 / span 2;
  grid-row: 2;
  color: #666;
  font-size: .9em;
}

/* ===== Mobile base layout */
@media (max-width: 720px) {
  .events li {
    grid-template-columns: 1fr auto;
    grid-template-rows: auto auto auto; 
  }
  .events .host { grid-column: 1; grid-row: 1; }
  .events .role { grid-column: 2; grid-row: 1; justify-self: end; }
  .events .title { grid-column: 1; grid-row: 2; }
  .events .meta  { grid-column: 1 / -1; grid-row: 3; }
}



.sticky .x-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  color: #000;
  text-decoration: none;
  transition: color .2s ease;
}


.sticky .x-link svg {
  width: 20px !important;
  height: 20px !important;
  max-width: none;
  aspect-ratio: auto;
  display: inline-block;
  fill: currentColor;
  transform-origin: center;
  transition: transform .18s ease, color .18s ease;
}

.sticky .x-link:hover { color: #1DA1F2; }
.sticky .x-link:hover svg { transform: scale(1.18); }

@media (max-width:480px) {
  .sticky .x-link svg { width: 20px !important; height: 20px !important; }
}


.events .title .concert-link { display: inline; color: inherit; text-decoration: none; }


/* トグルボタン */
.toggle-btn{
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: #555;
  font-size: 1rem;
  line-height: 1;
}
.toggle-btn::before{
  content: "▾";
  display: inline-block;
  transition: transform .25s ease;
}
.concert-item.active .toggle-btn::before{ transform: rotate(180deg); }


.concert-detail{
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  transition: max-height .4s ease, opacity .4s ease;
  will-change: max-height, opacity;
  margin-top: .2rem;
}
.concert-item.active .concert-detail{ opacity: 1; }

@media (min-width: 721px) {
  .events .toggle-btn{
    grid-column: 3;
    grid-row: 2;
    justify-self: end;
    margin-top: .15rem;
  }
  .events .concert-detail{
    grid-column: 1 / -1;
    grid-row: 3;
  }
}


@media (max-width: 720px) {
  .events li {
    grid-template-columns: 1fr 1.75em;
    align-items: start;
    column-gap: .6rem;
    row-gap: .35rem;
  }

  .events .title {
    grid-column: 1;
    grid-row: 2;
    overflow-wrap: anywhere;
  }
 
  .events .role {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
    white-space: nowrap;
    line-height: 1.2;
  }

  .events .toggle-btn{
    grid-column: 2;
    grid-row: 2;
    justify-self: end;
    align-self: center;
    margin-top: 0;
  }

  .events .meta{
    grid-column: 1 / -1;
    grid-row: 3;
  }
}
