body{
    margin: 0;
}

#body-background{
    padding: 25px 40px;
    background-color: skyblue;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}

#particles-js{
    width: 100%;
    height: 140px;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    z-index: -1;
    background-color: white;
}

#main{

    width: 55%;

}


/*----------------------------------------------------------------------
header setting
----------------------------------------------------------------------*/


.title-logo{
    text-align: center;
    padding: 10px 0;
}

.title-logo a{
    font-family: 'aamonoline' ;
    font-weight: bold;
    font-size: 2.5em;
    text-decoration: none;
    color: black;
    margin: 0;
    padding: 0;
    vertical-align: baseline;
}

/*----------------------------------------------------------------------
nav settings
----------------------------------------------------------------------*/

.top-menu{
    width: 100%;
    height: 50px;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch; 
}

.top-menu ul{
    margin: 0 auto;
    padding: 0;
    line-height: 0;
    display: flex;
    justify-content: space-between;
    width: 80%;
}

.top-menu li{
    list-style: none;
    width: 25%;
    box-sizing: border-box;
}

.top-menu a{
    text-decoration-line: none;
    color: black;
    font-size: 1.3em;
    opacity: 1;
    padding: 8px 30px;
    display: inline;
    position: relative;
}
  
.top-menu a::after {
    border-bottom: 2px solid black;
    content: '';
    position: absolute;
    transition: all .3s ease;
    width: 0;
    bottom: 0;
    left: 0;
}

.top-menu a:hover::after {
    width: 100%;
    border-bottom: 2px solid black;
}

.preparation{
    margin-top: 0;
}

#top-menu-change{
    background: white;
    display: flex;
    justify-content: space-between;
    position: fixed;
    top: -155px;
    transition: .5s;
    width: 100%;
    height: 50px;
}

#top-menu-change.show{
    top: 0;
}

#top-menu-change .title-logo{
    width: 30%;
    left: 0;
    margin: 0;
    text-align: center;
    height: 50px;
}

#top-menu-change .title-logo a{
    font-size: 1.5em;
    padding: 7px 0;
}

#top-menu-change nav{
    width: 50%;
    right: 0;
}

#top-menu-change .top-menu a{
    padding: 8px 10px;
}

/*----------------------------------------------------------------------
sidebar setting
----------------------------------------------------------------------*/

#left-sidebar{
    width: 20%;
    background-color: yellowgreen;
    order: -1;
}

#right-sidebar{
    width: 20%;
    background-color: yellowgreen;
}

/*----------------------------------------------------------------------
footer setting
----------------------------------------------------------------------*/

footer{
    margin-bottom: 50px;
    clear: both;
}

#notice{
    float: right;
}

#notice a{
    margin: 0 50px;
    padding: 0;
    text-align: center;
    text-decoration: none;
    color: black;
}

#notice a:hover{
    border-bottom: 2px solid black;
}

.copyright{
    clear: right;
    position: relative;
    margin: 0 auto;
    text-align: center;
}

/*----------------------------------------------------------------------
privacypolicy page
----------------------------------------------------------------------*/
#privacycontent{
    padding-left: 20px;
    padding-right: 20px;
}

/*----------------------------------------------------------------------
contact form
----------------------------------------------------------------------*/
#contact{
    text-align: center;
}


#contact input, #contact select, #contact textarea{
    border-radius: 5px;
    box-shadow: none;
}

#contact input:focus, #contact select:focus, #contact textarea:focus{
    box-shadow: 0 0 15px 5px #17afeb;
}

#btn_comfirm, #btn_back, #btn_submit{
    font-size: 20px;
    color: orange;
    background-color: white;
    border: solid 2px orange;
    border-radius: 3px;
    transition: .4s;
}

#btn_comfirm:hover, #btn_back:hover, #btn_submit:hover{
    background: orange;
    color: white;
}

#comfirm{
    text-align: center;
}

#hidden_submit{
    display: flex;
    justify-content: space-between;
}




#hotnews{
    list-style: none;
}




#mywebsite{
    width: 80%;
    display: flex;
    justify-content: space-between;
    margin-left: auto;
    margin-right: auto;
}

.mywebsite{
    width: 100px;
    height: 100px;
    border: 2px dotted black;
}

/*----------------------------------------------------------------------
add font
----------------------------------------------------------------------*/

@font-face{
    font-family: 'aamonoline' ;
    src: url( '/fonts/Aamonolinelite.woff' ) format( 'woff' ),
    url( '/fonts/Aamonolinelite.eot' ) format( 'eot' );
    font-variant: small-caps;
}

/*----------------------------------------------------------------------
モバイル最適
----------------------------------------------------------------------*/

@media screen and (max-width: 640px){
    #body-background{
        padding: 20px;
        background-color: skyblue;
    }
}