.content-container {
    color: #333;
    font-size: 16px;
    line-height: 1.75;
    letter-spacing: .03em;
    --indent: 25px;
    --color-main: #48217a;
}

.content-container img {
    max-width:100%;
    height:auto;
    object-fit:contain;
    vertical-align:bottom;
}

.yamaha-movie {
    border: 1px solid #a7a7a7;
    height: 0;
    padding-top: calc(100/16*9%);
    position: relative;
}

.yamaha-movie iframe {
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    position: absolute;
}

.ttl-sec {
    font-size: 22px;
    color: #fff;
    padding: 2px 16px 5px;
    background: linear-gradient(to top, rgba(72,33,122,1), rgba(72,33,122,.6));
    margin: 40px  calc(0px - var(--indent)) 40px;
    font-weight: bold;
}

.content-container .block-nav {
    margin: 48px 0;
}

.content-container .list-nav {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.content-container .list-nav a {
  display: block;
    background: #aaa;
    font-size: 16px;
    padding: 10px 10px 10px 28px;
    color: #fff;
    transition: .3s;
  line-height: 1.4;
  text-align: center;
  position: relative;
}

.content-container .list-nav a::before {
    content: "▼";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
}

.content-container .list-nav a:hover {
    background: var(--color-main);
    text-decoration: none;
}

.content-sec {
    margin: 25px var(--indent);
}

.content-container h3 {
    margin: 1.5em 0 .5em;
    font-weight: bold;
    line-height: 1.5;
    font-size: 20px;
    color: #444;
}

.content-container h4 {
    margin: 1em 0 0.7em;
    font-weight: bold;
    line-height: 1.5;
    font-size: 18px;
    color: #444;
}

.content-feature p span {
    display: inline-block;
}

.content-tbl table {
    width: 100%;
    border-collapse: collapse;
}

.content-tbl th, .content-tbl td {
    font-size: 14px;
    padding: 3px 6px;
    border: 1px solid #ccc;
    text-align: center;
}

.content-tbl th {
    background: #eee;
    font-weight: normal;
    width: 220px;
}

.content-tbl .head th {
    width: auto;
    font-weight: bold;
    background: rgba(72,33,122,.6);
    color: white;
}

.content-tbl .head th a {
    color: #fff;
    text-decoration: underline;
}

.content-tbl .head th a:hover {
    text-decoration: none;
}

.content-tbl td a {
    text-decoration: underline;
}

.content-tbl td a:hover {
    text-decoration: none;
}

.content-container .itemlink {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin: 70px 0 0;
}

.content-container .itemlink a {
    display: inline-block;
    max-width: 700px;
    padding: 8px 30px;
    font-size: 16px;
    background: #9c74aa;
    color: #fff;
    border-radius: 8px;
    text-align: center;
    transition: .2s;
}

.content-container .itemlink a:hover {
    background: #6a4876;
    text-decoration: none;
}

.yamaha-note ul li {
    list-style-type: disc;
    margin-left: 1.5em;
    @media (max-width: 1200px){
        font-size:14px;
    }
}

.yamaha-note li + li {
    margin-top: .5em;
}

.yamaha-note ol {
    margin: 1.5em 0;
}

.yamaha-note ol li {
    list-style-type: decimal;
    margin-left: 1.5em;
}

.yamaha-note {
    background: whitesmoke;
    padding: 2em;
    box-sizing: border-box;
    margin: 1em 0;
}

.yamaha-note h3:first-child,
.yamaha-note h4:first-child {
    margin-top:0;
}

.yamaha-column2 {
    display: flex;
    gap: 20px;
    margin: 1.5em auto;
}

.yamaha-column2 > div {
    flex: 1;
}

.yamaha-column2 > div > div {
    margin-bottom:.5em;
}

.yamaha-column2 > div img {
    width: 100%;
}

.yamaha-column2 > div p {
    font-size:14px;
    display: flex;
    justify-content: center;
}

.yamaha-overview {
  display: grid;
  grid-template-areas:
    "front text"
    "front  back";
  gap: 10px 16px;
  margin: 2em 0;
}

.mgx-overview {
  grid-area: text;
  padding: 1.5em;
  margin-top: auto;
}

.mgx-overview p span {
    display:inline-block;
}

.mgx-front {
  grid-area: front;
}

.mgx-back {
  grid-area: back;
}

.yamaha-terminal div div:first-child {
    background: url(../img/bg_terminal.jpg);
    aspect-ratio: 2/1;
    justify-content: center;
    align-items: center;
    display: flex;
    padding: 15px;
}

.yamaha-terminal div div:first-child img {
    max-height: 149px;
    max-width: 232px;
}

.img-left {
    display: flex;
    gap: 20px;
    margin: 20px 0;
}

h3 + .img-left {
    margin-top:0px;
}

.img-left > div:first-child {
    max-width: 400px;
    width: 40%;
}

.img-left > div:last-child {
    flex:1;
}

.img-left > div:last-child  h3 {
    margin-top:0;
}

.yamaha-setup .yamaha-note > p:first-child {
    font-weight: bold;
    margin-bottom: .7em;
}

.yamaha-setup .img-left {
    justify-content: center;
    align-items: center;
}




@media (max-width: 650px){
    
    .content-container {
        font-size: 14px;
    }
    
    .content-container h3 {
        font-size: 16px;
        margin: 1.5em 0 1em;
    }
    
    .yamaha-note {
        padding: 1.5em;
        margin-top: 0;
    }
    
    .content-container {
        --indent: 15px;
    }
    
    .ttl-sec {
        font-size: 18px;
        margin: 30px calc(0px - var(--indent)) 20px;
    }
    
    .yamaha-overview {
        margin-top: 0;
        grid-template-areas:
            "text"
            "front"
            "back";
    }
    
    .yamaha-column2 {
        gap: 15px;
        flex-wrap: wrap;
        /* flex-direction: column; */
    }
    
    .yamaha-column2 > div {
        flex: 1 1 40%;
    }
    
    .img-left {
        flex-direction: column;
        position: relative;
    }
    
    .img-left > div:first-child {
        width: 100%;
        margin: auto;
    }

    .img-left h3 {
        position: absolute;
        top: 0;
    }

    
    .content-container h4 {
        font-size: 16px;
    }
    .content-container .list-nav {
        padding: 10px;
        flex-direction: column;
    }
    
    .content-container .list-nav a {
        display: block;
    }
    
    .content-container .block-nav {
        margin: 20px 0;
    }
    .yamaha-column-sp {
    flex-direction: column;
}

.yamaha-terminal div div:first-child {
    aspect-ratio: auto;
}

.content-container .mgx-overview {
    padding:1em;
}

.content-container .mgx-overview h3 {
    margin-top: 0;
}

    .mbx-lineup .img-left {
    padding-top: 2em;
}

.content-tbl th,
.content-tbl td {
    font-size: 10px;
    padding:4px;
}

.img-left > div:last-child h3 a {
    color: #795284;
    text-decoration: underline;
}

}