html {
  scroll-behavior: smooth;
  scroll-padding-top: 68px; 
}

.BOX-gry {
  position: relative;
    padding: 30px 30px 10px 30px;
    background: #DCDEE4;
    border-radius: 20px;
}

/*.marginMokuji {
    padding: 30px 17%;
}*/

.nav-local__list{
  display:flex;
  flex-wrap:wrap;
  overflow: hidden;
  list-style:none;
  background: #DCDEE4;
}

/* リンク */
.nav-local__list__item a{
  text-decoration:none;
  color:#323B54;
  font-weight:700;
  font-size: 14px;
}

/* PC表示 */
.nav-local__list__item{
  border-left: 1px solid #323B54;
  margin-left: -1px;
  margin-bottom: 20px;
  padding: 0 15px;
  line-height: 1.2;
}

.title {
    display: block;
    pointer-events: none;
    padding: 20px;
    background: #B4B7BF;
    border-radius: 10px;
    font-weight: bold;
    color: #323B54;
}

/*.menuTxt {
    display: flex;
    align-items: center;
    justify-content: space-between;
}*/

.inputNone {
    display: none;
}

.fc_bottom-txt {
    margin-bottom:15px;
    font-weight:700;
    font-size: 24px;
    text-align: center;
    color:#243358
}

@media screen and (max-width: 501px) {
    .toggle {
        max-width: 500px;
        width: 100%;
}

}

@media screen and (max-width: 500px){
.fc_bottom-txt {
    margin-bottom:5px;
    font-size: 16px;
}

.BOX-gry{
    padding: 0;
    margin-top: 0;
    border-radius: 10px;
}

  .nav-local__list{
    display:block;
    border-radius: 10px;
  }

.nav-local__list__item:not(:first-child)::before{
    content:none;
}

.nav-local__list__item{
    display: block; /* 横並び flex を解除 */
    width: 100%;    /* 親の幅いっぱいに広げる */
    position: relative;
    padding-left: 18px; /* 左の縦線スペース */
  margin-bottom: 0;
  border-left:none;
}

/*SP用縦線
.nav-local__list__item::before{
    content:"";
    position:absolute;
    left:4px;
    top:50%;
    transform:translateY(-50%);
    width:1px;
    height:0.9em;
    background:#323B54;
  }*/

  .nav-local__list__item a{
    display:block;
    margin: .3em 0;
    font-weight:700;
    text-decoration:none;
    color:#323B54;
    position:relative;
}

.nav-local__list a::after{
    content:"";
    position:absolute;
    right:4px;
    top:50%;
    width:7px;
    height:7px;
    transform:translateY(-50%) rotate(45deg);
    border-top:2px solid #323B54;
    border-right:2px solid #323B54;
}

/* .menuTxt::before {
    content: "";
    padding-left: 14px;
    border-left: 1px solid #323B54;
} */

#rotate-image {
right:20px;
margin-top: 10px;
position: absolute;
transition: transform 0.3s ease; /* なめらかな回転～ */
}

input:checked + label #rotate-image {
transform: translateY(-50%) rotate(180deg);
}

    input:checked + .title{
    border-radius: 10px 10px 0px 0px;
	}

	.title{
		pointer-events: all;
	}
	
	.toggle{
		display: none;
		height: 0;
		padding: 0 8px;
		transition: .2s;
	}
	
	input:checked + label + .toggle{
        display: flex;
		height: auto;
		padding: 12px 15px 12px 18px;
	}
	
	.toggle li{
		padding: 0 8px;
		line-height: 0;
		visibility: hidden;
		opacity: 0;
		transition: 
			padding .2s,
			line-height .2s,
			visibility .1s,
			opacity .1s;
	}
	
	input:checked + label + .toggle li{
		padding: 2px 0;
		line-height: 1.5;
		visibility: visible;
		opacity: 1;
	}


}