

/*** for PC Browser ***/
@media (min-width:401px)
{
#head
{
    background: #FBEF4D;
    width: 1000px;
    margin: 0 auto;
    padding: 10px 0 0;
    display: flex;
    box-sizing: border-box;
    flex-wrap: wrap;
    text-align: center;
}

#head .box_1
{
    text-align: center;
    margin: 0 auto;
    font-weight: bold;
}

#head .box_2
{
    text-align: center;
    margin: 0 auto;
    font-weight: bold;
}

#head .box_3
{
    text-align: center;
    margin: 0 auto;
    font-weight: bold;
}

#head ul
{
    list-style: none;
    margin: 0;
}

#head ul li
{
    margin: 3px 5px;
    line-height: 3em;
}

#head > a
{
    display: block;
    width: 200px;
    text-align: center;
    margin: 20px auto 0;
    font-size: x-large;
    text-decoration: none;
    font-weight: bold;
}

#head ul li a
{
    color: #ffffff;
    padding: 5px 20px;
    border: 2px dashed;
    border-radius: 30px;
    text-decoration: none;
}


#head ul li:nth-child(1) a
{
    background-color: #C46E33;
    text-shadow: 1px 1px 3px #79441F;
}


#head ul li:nth-child(2) a
{
    background-color: #289FB7;
    text-shadow: 1px 1px 3px #165664;
}

#head .box_3 > a
{
    background-color: #C03522;
    text-shadow: 1px 1px 3px #8B2619;
    border: 2px dashed #ffffff;
    border-radius: 50px;
    padding: 10px 20px;
    display: block;
    margin: 30px 0;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}
}


/*** for Smart Phone ***/
@media (max-width:400px)
{
#head
{
    background: #FBEF4D;
    width: 100%;
    margin: 0;
    padding: 10px 0;
    box-sizing: border-box;
    position: relative;
}

#head .box_1
{
    text-align: center;
    margin: 0 10px;
}

#head .box_2
{
    text-align: center;
    margin: 0 10px;
}

#head .box_3
{
    text-align: center;
    margin: 0 10px;
    padding: 0 0 20px;
}

#head ul
{
    list-style: none;
    margin: 0;
}

#head ul li
{
    margin: 3px 5px;
    line-height: 3em;
}

#head > a
{
    display: block;
    width: 100%;
    text-align: center;
    margin: 10px 0;
    font-size: x-large;
    text-decoration: none;
    font-weight: bold;
}

#head ul li a
{
    color: #ffffff;
    padding: 5px 20px;
    border: 2px dashed;
    border-radius: 30px;
    text-decoration: none;
}


#head ul li:nth-child(1) a
{
    background-color: #C46E33;
    text-shadow: 1px 1px 3px #79441F;
}


#head ul li:nth-child(2) a
{
    background-color: #289FB7;
    text-shadow: 1px 1px 3px #165664;
}

#head .box_3 > a
{
    background-color: #C03522;
    text-shadow: 1px 1px 3px #8B2619;
    border: 2px dashed #ffffff;
    border-radius: 50px;
    padding: 10px 20px;
    display: block;
    margin: 30px 0;
    color: #ffffff;
    font-weight: bold;
    text-decoration: none;
}



#tool_menu_btn
{
    font-size: 0;
    display: inline-block;
    width: 50px;
    min-height: 50px;
    box-sizing: border-box;
    padding: 0;
    border: 0px solid transparent;
    border-radius: 5px 5px;
    background-color: #363F72;
    text-align: center;
    color: #ffffff;
    font-weight: bold;
    position: absolute;
    overflow: hidden;
    right: 10px;
    top: 20px;
}

#tool_menu_btn:not(.tool_on):after
{
    content: "MENU";
    display: block;
    font-size: 10px;
    background: url(../../../secure/112870/sp_menu.png) no-repeat center center #363F72;
    background-size: 100%;
    padding: 33px 5px 2px;
}

.tool_on:after
{
    content: "CLOSE";
    display: block;
    font-size: 10px;
    background: url(../../../secure/112870/sp_close.png) no-repeat center center #363F72;
    background-size: 100%;
    padding: 33px 5px 2px;
}

.tool_off
{
    display: none !important;
}
}
