/* ------------------------------
   #menuList
------------------------------ */
#menuList {
    width: 100%;
    position: relative;
    z-index: 10;
}
#menuList {
	background-color: #e1721b;
    font-size:14px;
}
#menuList ul{
	max-width:960px;
	margin:0 auto;
    display: flex;
    list-style: none;
}
#menuList ul li {
	text-align: center;
    flex-grow: 1;
    height:60px;
    border-right:solid 1px #d85700;
	display: -webkit-flex; /* Safari�p */
	display: flex;
	-webkit-justify-content: center; /* Safari�p */
	justify-content: center;
	-webkit-align-items: center; /* Safari�p */
	align-items: center;
}
#menuList ul li:last-child{
	border:none;
}
#menuList ul li:hover {
	background-color: #f8b016;
}
#menuList ul li a {
    color: white;
    text-decoration: none;
    width: 100%;
    height: 100%;
	display: -webkit-flex; /* Safari�p */
	display: flex;
	-webkit-justify-content: center; /* Safari�p */
	justify-content: center;
	-webkit-align-items: center; /* Safari�p */
	align-items: center;
}
#menuList ul li .s_menu{
    font-size:90%;
}

/* #inHeader_base {
    display: none;
} */

/* ------------------------------
   MEDIAQUERIES LAYOUT
------------------------------ */
@media only screen and (max-width: 960px) {
    #menuList {
        font-size:9px;
        position: fixed;
    }
    #menuList ul {
        width: 100%;
    }

    #menuList ul li {
        width: 20%;
        flex-grow: 1;
    }

    #inHeader_base {
        width: 100%;
        border-bottom: #fff 1px solid;
    }

    #inHeader_base #inHeader_c {
        box-sizing: border-box;
        width: 100%;
        height: 60px;
        background: #fff;
        position: relative;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    #inHeader_base #inHeader_c a:link, #inHeader_base #inHeader_c a:visited{
        color:#fff;
        display: inline-block;
    }

    .header__button {
        position: relative;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 60px;
        height: 60px;
        background-color: #d85700;
        border-radius: 5px;
        margin-left: 10px;
        border: none;
    }
}
@media screen and (min-width: 768px) {
    .header__button {
        display: none;
    }
}

@media screen and (max-width: 767px){

    .header__button span {
        position: relative;
        display: block;
        width: 30px;
        height: 3px;
        border-radius: 1px;
        margin-inline: auto;
        background-color: #fff;
    }
    .header__button span::before,
    .header__button span::after {
        position: absolute;
        left: 0;
        display: block;
        width: 100%;
        height: 3px;
        content: "";
        background-color: inherit;
        transition: all 0.3s ease;
    }
    .header__button span::before {     
        top: -9px;
    }
    .header__button span::after {
        top: 9px;
    }
    #menuList {
        background-color: rgba(255, 255, 255,.9);
        font-size:12px;
        transform: translateX(120%);
        transition: 1s;
    }
    #menuList ul {
        flex-direction: column;
    }
    #menuList ul li {
        width: 100%;
        border: none;
        border-bottom: #333 solid 1px;
    }
    #menuList ul li a {
        display: block;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: #333;
    }

    #contents {
        width: 100%;
    }
 
    #contents p {
        padding: 0 20px 2em 20px;
    }
}

#inHeader_base h1{
	width:40%;
}
#inHeader_base h2{
	width:40%;
}

/* ヘッダーボタンopen付与時 */
body.is-open .header__button {
  z-index: 30;
}
body.is-open .header__button span {
  background-color: transparent;
}
body.is-open .header__button span::before,
body.is-open .header__button span::after {
  top: 0;
  background-color: #fff;
}
body.is-open .header__button span::before {
  transform: rotate(45deg);
}
body.is-open .header__button span::after {
  transform: rotate(-45deg);
  content: "";
}
body.is-open #menuList {
    transform: translateX(0);
}