@charset "utf-8";

/* Game Info CSS */
/* kochi-fd.com  */
.game_detail.is-hidden{
  display: none !important;
}
.gameMonthNav{
  --gm-active-bg: #BC9F57;
  --gm-inactive-bg: #F5F1E6;
  --gm-text: #333333;
  --gm-active-text: #FFFFFF;
  --gm-radius: 4px;
  --gm-gap: 6px;
}
.gameMonthNav__list a,
.gameMonthNav__list a:link,
.gameMonthNav__list a:visited{
  color: var(--gm-text) !important;
  text-decoration: none !important;
}
.gameMonthNav__list a:hover,
.gameMonthNav__list a:active,
.gameMonthNav__list a:focus{
  text-decoration: none !important;
}

/* PC View */
@media print, screen and (min-width:650px){
  .gameMonthNav__toggle{ display:none; }

  .gameMonthNav__list{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: var(--gm-gap);
    list-style: none;
    padding: 0;
    margin: 0 0 18px;
  }
  .gameMonthNav__list li{ margin: 0; }

  .gameMonthNav__list a{
    display: block;
    background: var(--gm-inactive-bg);
    text-align: center;
    font-weight: 700;
    padding: 12px 10px;
    border-radius: var(--gm-radius);
    line-height: 1.2;
    transition: filter .12s ease;
  }
  .gameMonthNav__list a:hover{
    filter: brightness(0.98);
  }
  .gameMonthNav__list a.is-active{
    background: var(--gm-active-bg);
    color: var(--gm-active-text) !important;
  }
}

/* Smart Phone View */
@media screen and (max-width:649px){
  .gameMonthNav{
    position: relative;
    --gm-dd-border: rgba(0,0,0,.18);
    --gm-dd-shadow: rgba(0,0,0,.12);
    --gm-dd-radius: 8px;
  }

  .gameMonthNav__toggle{
    width: 100%;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 14px 14px;
    border: 1px solid var(--gm-dd-border);
    border-radius: var(--gm-dd-radius);
    background: #fff;
    font-weight: 700;
    line-height: 1.2;
  }

  .gameMonthNav__toggle::after{
    content:"";
    width: 8px;
    height: 8px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    opacity: .7;
    margin-left: 10px;
    flex: 0 0 auto;
    transition: transform .12s ease, opacity .12s ease;
  }

  .gameMonthNav.is-open .gameMonthNav__toggle{
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
  }
  .gameMonthNav.is-open .gameMonthNav__toggle::after{
    transform: rotate(-135deg);
    opacity: .9;
  }

  .gameMonthNav__list{
    display:none;
    list-style:none;
    padding: 0;
    margin: 0;

    position: absolute;
    left: 0;
    right: 0;
    top: calc(100% - 1px);
    z-index: 50;

    background: #fff;
    border: 1px solid var(--gm-dd-border);
    border-top: 0;
    border-bottom-left-radius: var(--gm-dd-radius);
    border-bottom-right-radius: var(--gm-dd-radius);
    box-shadow: 0 14px 26px var(--gm-dd-shadow);
    overflow: hidden;

    max-height: 60vh;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .gameMonthNav.is-open .gameMonthNav__list{
    display:block;
  }

  .gameMonthNav__list a{
    display:block;
    padding: 12px 14px;
    font-weight: 600;
    background: #fff;
  }
  .gameMonthNav__list li + li a{
    border-top: 1px solid rgba(0,0,0,.10);
  }

  .gameMonthNav__list a:active{
    filter: brightness(.97);
  }

  .gameMonthNav__list a.is-active{
    background: var(--gm-active-bg);
    color: var(--gm-active-text) !important;
    font-weight: 800;
  }

  .gameMonthNav__toggle:focus-visible,
  .gameMonthNav__list a:focus-visible{
    outline: 2px solid rgba(0,0,0,.35);
    outline-offset: 2px;
  }
}