main{
    border-bottom: 10px solid #FFF243;
}
/* MV */
.title {
    background: url("img/title_spi.webp") top right / auto 100% no-repeat #171e24 ;
}
.lead{
    margin-top: 70px;
    margin-bottom: 70px;
    position: relative;
}
.ttl{
    margin-bottom: 50px;
    font-size: 5rem;
    }
.ttl span{
    margin-top: 20px;
    margin-bottom: 0 !important;
    font-size: 1.8rem;
}
.container_spi{
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    text-align: left;
}
.container_spi p{
    text-align: justify;
}

/* 題目 */
.container dt{
    color: #001B5C;
    font-size: 2rem;
    font-weight: 700;
    line-height: 40px;
    letter-spacing: 1px;
    border-bottom: 1px solid #D9D9D9;
    margin-bottom: 20px;
    padding-bottom: 15px;
}
.container dd{
    margin-bottom: 40px;
}
ol.parentheses{
    margin-top: 5px;
}
.parentheses li{
    margin-bottom: 5px;
} 

/* 括弧付きリスト */
ol.parentheses {
    list-style-type: none;
    margin-left: 2em; /* 必要に応じて調整 */
  }
  
  ol.parentheses li {
    counter-increment: item;
    position: relative;
  }
  
  ol.parentheses li::before {
    content: "(" counter(item) ")";
    position: absolute;
    left: -2em; /* 必要に応じて調整 */
  }
  .spi_name{
    text-align: right;
    margin-bottom: 90px;
  }
  footer {
    border-top: 50px solid #1e272e;
    }

@media screen and (width < 768px) {
    .title {
    background: url("img/title_spi_sp.webp") center/100% no-repeat #171e24 ;
    }
    .lead{
        margin-top: 38px;
        margin-bottom: 28px;
    }
    .ttl{
        margin-bottom: 30px !important;
        font-size: 40px;
        }
    .ttl span{
        margin-top: 15px;
        margin-bottom: 0 !important;
        font-size: 1.6rem;
    }
    .container_spi p{
        font-size: 1.4rem;
        line-height: 26px;
        letter-spacing: 0;
        margin: 0 auto 24px auto;
    }
    .container dt {
        font-size: 1.9rem;
    }
    .container dd {
        margin-bottom: 30px;
        text-align: justify;
    }
}


@media print {
    main {
        border-bottom: none;
    }
    footer {
        border-top: none;
    }
}