:root .yamaha-container {
  --color-main: #48217a;
}

html {
  scroll-behavior: smooth;
}

.yamaha-container {
  color: #333;
  font-size: 16px;
  line-height: 1.75;
  letter-spacing: .03em;
}

.yamaha-container figure {
  text-align: center;
}

.yamaha-container img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.stagepas-about {
    background: #e8e8e8;
    text-align: center;
}

.stagepas-note {
  background:whitesmoke;
  --notespace:30px;
  padding: var(--notespace);
  box-sizing: border-box;
  /* display: grid; */
}

.stagepas-note h3 {
  color:white;
  background: #5b9bd5;
  text-align: center;
  padding: 10px 20px;
  box-sizing: border-box;
  width: calc(100% + var(--notespace)*2);
  margin: calc(-1 * var(--notespace)) 0  var(--notespace) calc(-1 * var(--notespace));
}

.stagepas-note div {
  max-width:700px;
  margin:1em auto 2em;
}

.stagepas-note ul {
  margin: 1em 0 0;
}

.stagepas-note ul li {
  list-style-type: disc;
  margin-left:1.5em;
}

.stagepas-note ul li + li {
  margin-top:1em;
}

.stagepas-lineup ul {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.stagepas-lineup ul li img {
  object-fit:contain;
  max-height: 200px;
}

.stagepas-lineup ul li > div {
  text-align: center;margin-bottom: 1em;
}

.stagepas-lineup ul li h3 {
  font-weight: bold;margin-bottom: .5em;
}

.stagepas-lineup ul li p {
  grid-area: p; 
}

@media screen and (min-width: 801px){
  .yamaha-container a img {
    transition: .3s;
  }
  .yamaha-container a:hover img {
    opacity: .6;
  }
}

.yamaha-container .nowrap {
  white-space: nowrap;
}

.yamaha-container .note {
  font-size: 94%;
}

.yamaha-container .content-head img {
  margin-bottom: 16px;
}

.yamaha-container .block-nav {
  margin: 40px 0 32px;
}

.yamaha-container .list-nav {
  display: flex;
  justify-content: center;
  gap: 16px;
}

.yamaha-container .list-nav li {
  display: flex;
}

.yamaha-container .list-nav a {
  display: flex;
  gap: 8px;
  align-items: center;
  box-sizing: border-box;
  background: #aaa;
  font-size: 16px;
  padding: 10px 12px;
  color: #fff;
  transition: .3s;
  line-height: 1.4;
  word-break: auto-phrase;
}

.yamaha-container .list-nav a::before {
  content: "▼";
}

.yamaha-container .list-nav a:hover {
  background: var(--color-main);
  text-decoration: none;
}

.yamaha-container section {
  margin: 64px auto 0;
}

.yamaha-container .ttl-sec {
  font-size: 23px;
  color: #fff;
  padding: 6px 16px 4px;
  background: var(--color-main);
  background-size: cover;
  margin-bottom: 24px;
  font-weight: bold;
}

.yamaha-container .box-content {
  margin: 32px auto 0;
  max-width: 1080px;
}

/* table */
.yamaha-container .mod-tbl table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  table-layout: fixed;
}

.yamaha-container .mod-tbl th,
.yamaha-container .mod-tbl td {
  padding: 5px 8px;
  border: 1px solid #ccc;
  line-height: 1.4;
  text-align: center;
  vertical-align: middle;
}

.yamaha-container .mod-tbl td {
  width:20%;
  word-break: auto-phrase;
}

.yamaha-container .mod-tbl th {
  background: #eee;
  font-weight: normal;
}

.yamaha-container .mod-tbl th:first-child {
  width: 120px;
}

.yamaha-container .mod-tbl tr:first-child th {
  font-weight: bold;
  text-align: center;
}

.yamaha-container .mod-tbl img {
  max-width: 130px;
  max-height: 100px;
  object-fit: contain;
  width: 100%;
}

/* 関連コンテンツ */
#stagepas-content .box-content {
  margin-bottom: 40px;
}

.yamaha-container .ttl-content {
  font-weight: bold;
  font-size: 20px;
  margin-bottom: .8em;
  border-left: 16px solid var(--color-main);
  padding-left: 16px;
  line-height: 1.3;
}

.yamaha-container .ico-outbound {
  display: inline;
  padding: .5em 0 .5em 1.6em;
  background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="%23444444"><path d="M0 0h24v24H0z" fill="none"/><path d="M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2v7zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3h-7z"/></svg>') no-repeat left center;
  background-size: 1.3em;
  background-position: left center;
  border-radius: 8px;
  color: #444;
  font-weight: bold;
}


/* レビュー */
.yamaha-container .list-review li {
  overflow: hidden;
  padding-bottom: 32px;
}

.yamaha-container .list-review a:hover {
  text-decoration: none;
}

.yamaha-container .list-review a > img {
  float: left;
  margin-right: 16px;
  width: 230px;
}

.yamaha-container .list-review .date {
  font-size: 13px;
  color: #444;
  margin-top: .3em;
}

.yamaha-container .list-review .desc {
  font-size: 14px;
  color: #444;
  margin-top: .3em;
}

.yamaha-container .list-review .logo {
  margin-top: .3em;
}

.yamaha-container .list-review .logo img {
  width: 90px;
}


@media screen and (max-width: 800px){

  .yamaha-container {
    font-size: 14px;
  }

  .yamaha-container .block-nav {
    margin: 16px;
  }

  .yamaha-container .list-nav {
    flex-wrap: wrap;
  }

  .yamaha-container .list-nav li {
    width: 100%;
  }

  .yamaha-container .list-nav a {
    display: block;
    width: 100%;
  }

  .yamaha-container .list-nav a::before {
    margin-right: 4px;
  }

  .yamaha-container section {
    margin: 40px auto 0;
  }

  .yamaha-container .ttl-sec {
    font-size: 18px;
  }

  .yamaha-container .box-content {
    margin: 16px 12px;
  }

  .yamaha-container .mod-tbl {
    overflow-x: auto;
  }

  .yamaha-container .mod-tbl th,
  .yamaha-container .mod-tbl td {
    padding: 4px 8px;
    font-size: 13px;
  }

  #stagepas-content .box-content + .box-content {
    margin-top: 32px;
  }

  .yamaha-container .ttl-content {
    font-size: 16px;
    border-left: 8px solid var(--color-main);
    padding-left: 8px;
  }

  .yamaha-container .list-review li {
    padding-bottom: 24px;
  }

  .yamaha-container .list-review a > img {
    margin-right: 12px;
    width: 115px;
  }

  .yamaha-container .list-review .desc {
    font-size: 13px;
  }

  .yamaha-container .list-review .logo img {
    width: 70px;
  }

  .stagepas-note ul li a {
  color:#795284;
    display:inline;
    text-decoration:underline;
  }

  .stagepas-lineup ul {
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
  }

  .stagepas-lineup ul li a {
      color:#795284;
      text-decoration:underline;
      display:inline;
  }

  .yamaha-container .mod-tbl th:first-child {
      position: sticky;
      width: 80px;
      left: 1px;
  }

  .yamaha-container .mod-tbl tr:nth-last-child(3) th:nth-child(2),
  .yamaha-container .mod-tbl tr:nth-last-child(2) th {
    left: 49px;
    position: sticky;
  }

  .yamaha-container .mod-tbl th, .yamaha-container .mod-tbl td {
      font-size: 10px;
  }

  .yamaha-container .mod-tbl {
      overflow:auto;
  }

  .yamaha-container .mod-tbl table {
      width: 770px;
  }

  .stagepas-note {
    --notespace: 20px;
  }

}