@charset "utf-8";
/* CSS Document */

.block-top-ranking {
  box-sizing: border-box;
  
  .block-top-ranking--head {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    margin-bottom: 20px;
    
    h2 {
      border-bottom: solid 4px #ffea00;
      font-weight: bold;
      font-size: 29px;
      margin: 0 20px 0 0;
      padding: 0;
    }
    
    .block-top-ranking--tabnav {
      display: flex;
      justify-content: flex-start;
      
      button {
        appearance: none;
        -webkit-appearance: none;
        border: none;
        outline: none;
        background-color: #1c48ce;
        box-shadow: none;
        border-radius: 5px;
        padding: 2px 10px;
        margin: 0 10px 0 0;
        font-size: 16px;
        font-weight: bold;
        color: #FFF;
        cursor: pointer;
        display: flex;
        justify-content: center;
        
        &.is-active {
          background-color: #e3e3e5;
          color: #75757f;
        }
      }
    }
    
  }
}
@media (max-width: 440px) {
  .block-top-ranking {
  
    .block-top-ranking--head {
      justify-content: center;
      margin-bottom: 15px;

      h2 {
        font-weight: bold;
        font-size: 20px;
        margin: 0 0 10px 0;
      }

      .block-top-ranking--tabnav {
        column-gap: 10px;
        display: flex;
        justify-content: center;

        button {
          font-size: 14px;
          margin: 0;
        }
      }

    }
  }
}