html {overflow-y: scroll}

body {
    background-color:#f1f1f1;
    font-family: "Times New Roman","Hiragino Kaku Gothic Pro", "Meiryo", "MS PGothic", sans-serif;
    font-weight: 200;
    margin: 0;
    min-width: 320px;
    overflow: hidden;
    -webkit-text-size-adjust:100%;
    width: 100%;
    line-height: 2.0;
 }

* {
    box-sizing: border-box}



/*-- header --*/

header {
    width: 100%;
    height: 550px;
    margin:0 0 30px 0;
    background-color: #fff;
}


#header-top {
    width: 1000px;
    margin: 0 auto 30px auto;
}

.HP-title {
    margin: -300px;
}

.HP-title p {
    font-size: 50px;
    text-align: center
}


/*-- close header --*/


nav {
    float: right;
    margin: -60px 0 0 0;    
}

nav ul {
    width: 255px;
    margin: 0;
    padding: 0;
}

nav li {
    list-style: none;
    display: inline-block;
    width: 80px;
    text-align: center;
}


nav a {
    text-decoration: none;
    color: #000;
    font-size: 15px;
    display: block;
}

nav a:hover {
    color: rgb(204,0,10);
    border-bottom: solid 2px rgb(204,0,10);
}

nav a:before {
    content: "\0203A";
    vertical-align:;
    margin-right: 10px
}
/*-- navi --*/


/*-- close navi --*/



/*-- container --*/

#container {
    width: 1000px;
    margin: 0 auto 30px auto;
}

h1 {
    display: block;
    width: 300px;
    font-size: 25px
}

h2 {
    font-size: 18px
}

h3 {
    font-size: 17px;
    font-weight: normal;
    text-align: center
}

h4 {}

h5 {}

h6 {}

/*-- close container --*/




/*-- content --*/

#content {
    width: 700px;
    float: left;
    border-top: solid 2px #000
}

#section1,
#section2 {
    width: 100%;
    height: 280px;
    display: inline-flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin:25px 0 25px 0;
}

#section-top {
}

.box {
    width: 220px;
    height: 280px;
    padding: 0;
    background-color: #fff
}

.photo-box {
    display: block;
    width: 95%;
    height: 120px;
    margin: 10px auto;
    background-color: rgb(42, 42, 42);
    color: #fff;
}

.box p {
    font-size:13px;
    text-align: center;
    margin-top: -13px
    
}

.box-link {
    display: block;
    background-color: rgb(14, 122, 196);
    width: 50px;
    height: 30px;
    float: right;
    margin: -42px 0 0 163px;
    position: absolute
}

.box-link:hover {
    background-color: rgb(34, 176, 103)
}

.box-link a {
    display: block 
}



.box-link img {
    margin: -2px 0 0 10px;
    width: px;
    vertical-align: middle
}


#aboutus {
    margin-bottom: 50px
}





/*---- contact page ------*/

#section3 {
    width: 100%;
    height: auto;
    display: inline-flex;
    -webkit-justify-content: space-between;
    justify-content: space-between;
    margin:25px 0 25px 0;
}


.contact-box {
    width: 320px;
    height: 100px;
    padding: 0;
    background-color: #fff;
    border-radius: 5px
}

.contact-photo-box {
    display: block;
    width: 85px;
    height: 85px;
    margin: 7px 0 7px 5px;
    background-color: rgb(42, 42, 42);
    color: #fff;
}

.contact-box p {
    font-size:17px;
    text-align: center;
    margin: -90px 0 0 110px;
    width: 200px;
    display: block;
    text-align: left
    
}

.contact-box-link {
    display: block;
    background-color: rgb(14, 122, 196);
    width: 50px;
    height: 30px;
    float: right;
    margin:-35px 0 0 260px;
    position: absolute
}

.contact-box-link:hover {
    background-color: rgb(34, 176, 103)
}

.contact-box-link a {
    display: block 
}

.contact-box-link img {
    margin: -2px 0 0 10px;
    width: px;
    vertical-align: middle
}










/*-- close contact page -----*/






.corporation table {
    width: 100%;
     border-spacing: 0;
    border-collapse: collapse;
}

.corporation table tr {
    
}

.corporation table td {
    vertical-align: middle;
    border: solid 1px #aaa;
    padding:10px 0 10px 10px
}

.corporation table td:nth-child(1){
    background-color: #ebebeb;
    font-weight: bld
}

.corporation table td:nth-child(2){
    background-color: #fff;
    font-weight: bld
}

.corporation p {
    font-weight: bold
}


/*-- span color ---*/

.red {
    color: rgb(204,0,10);
}

/*-- close content --*/





/*-- side --*/

#side {
    width: 250px;
    float: right;
    border-top: solid 2px #000
}

.news-box {
    width: 100%;
    height: 300px;
    background-color: #fff;
}

#side p {
    font-size: 20px;
    border-bottom: solid 1px #000;
    padding-left: 10px
}

.news-box ul {
    padding: 0
}

.news-box li {
    list-style-type: none;
    color: rgb(204,0,10);
    font-size: 15px
}



.news-box ul ul {
    padding-left: 10px
}

.news-box ul ul li {
    width: 95%;
    color: #000;
    text-decoration: underline
} 


.sites {
    width: 100%
}

.sites ul li {
    list-style-type: none
}
/*-- close side --*/



/*-- footer --*/

footer {
    clear: both;
    width: 100%;
    background-color: #ebebeb;
}

#footer {
    width: 1000px;
    margin: 0 auto;
    
}

#footer p {
    font-size: 13px;
    text-align: center
}

/*-- close footer --*/


/*--slider--*/

.slider{
    width:1000px;
    height:400px;
    margin:0 auto;
    position:relative;
}
.slider ul{
    margin:0;
    padding:0;
    list-style:none;
}
.slider ul li{
    width:100%;
    height:400px;
    position:absolute;
    top:0;
    left:0;
    animation-iteration-count:infinite;
    animation-duration:24s;
}

.slider ul li:nth-child(1){
    animation-name:slider;
    animation-delay:-3s;
}
.slider ul li:nth-child(2){
    animation-name:slider;
    animation-delay:5s;
    opacity:0;
}
.slider ul li:nth-child(3){
    animation-name:slider;
    animation-delay:13s;
    opacity:0;
}
 
.slider img {
    width: 100%;
    height: 400px
}
@keyframes slider{
    0%{
        opacity:0;
    }
    20.83%{
        opacity:1;
    }
    33.33%{
        opacity:1;
    }
    45.83%{
        opacity:0;
    }
    100%{
        opacity:0;
    }   
}


/*-- close slider --*/
