@charset "utf-8";
/* ------ 共通設定 ------ */
body {
    background-color: #fbfbfc;
    color: #ffffff;
    font-size: 15px;
    line-height: 2;
    font-family: "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    margin-left: 50px;
}


h1 {
    font-size: 30px;
    margin: 10px 0 10px;
}

h2 {
    font-size: 18px;
    margin: 20px 0 10px;
}

a {
    color: #ff9891;
    text-decoration: none;
}

a:visited {
    color: #635846;
}

a:hover {
    text-decoration: underline;
}

/* ------ ヘッダー部分 ------ */
header {
    width: 960px;
    height: 170px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ------ ナビ部分 ------ */


nav{
    border-bottom: 1px solid #ccc;
    width: 960px;
    margin: 15px auto;
    }
    nav ul{
    display: table;
    margin: 5px auto;
    padding: 0;
    width: 960px;
    text-align: center;
    }
    nav ul li{
    display: table-cell;
    min-width: 50px;
    border-right: 1px solid #ccc;
    }
    nav ul li:first-child{
    border-left: 1px solid #ccc;
    }
    nav ul li a{
    display: block;
    width: 100%;
    padding: 10px 0;
    text-decoration: none;
    color: #aaa;
    }
    nav ul li a:hover{
    background-color:#F8E750;
    border-bottom: auto solid #F8E750;
    }
    nav ul li.current{
    font-weight: bold;
    }
    nav ul li.current a{
    border-bottom: 5px solid #00B0F0;
    color: #00B0F0;
    }

/* ------ メイン部分 ------ */
.main {
    
    width: 960px;
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    height: auto;
}

.contents-area, .side-area {
    background-color: #00608b;
    padding: 20px 40px;
    border-radius: 10px;
    box-sizing: border-box;
    line-height: 2;
}

.contents-area {
    width: 700px;
    height: auto;
}

.side-area {
    width: 246px;
    padding: 20px 20px;
    font-size: small;
}

.textbox{
    margin: 10px auto;
}


.prevention{
    background-color: #00608b;
    padding: 20px 40px;
    border-radius: 10px;
    box-sizing: border-box;
    line-height: 2;
    margin: 0 auto;
    width: 960px;

    border-bottom: solid 30px #00608b;
   
}

.prevention2{
    background-color: #00608b;
    padding: 10px 40px 20px 40px;
    border-radius: 10px;
    box-sizing: border-box;
    line-height: 2;
    margin: 10px 20px 10px 0px;
    height: 250px;
}

.prevention3{
    background-color: #00608b;
    padding: 20px 40px;
    border-radius: 10px;
    box-sizing: border-box;
    line-height: 2;
    margin: 10px 0px 10px 20px;
    height: 246px;
}

.imgsize{
    width: 100%;
    margin: 10px 0px 10px 0px;
    height: 100%;
}

.img{
    
    padding: 20px 40px;
    margin: 10px 20px 10px 0px;
    height: auto;
}


.textbox{
    color: #6B6B6B;
    background-color: #ffffff;
    width: 200px;
    height: auto;
    border-radius: 10px;
    display:  inline-block;
    box-sizing:  border-box; 
    margin-bottom: 5px;   
    padding:  20px;             
}

.sidetexy{
    text-align: center;
    color: #6B6B6B;
    background-color: #ffffff;
    width: 200px;
    height:auto;
    border-radius: 10px;
    display:  inline-block;
    box-sizing:  border-box; 
    margin-bottom: 5px;   
    padding:  10px;   
}

p .textbox-color{
    color: #ffffff;
}

p .textbox-color:hover{
    color: blue;
    font-weight: bold;
}

h1.title_h1{
    color: #6B6B6B;
    text-align: center;
}

image.main{
    text-align:center ;
}

.top{
    background-color: #00608b;
    padding: 20px 40px;
    border-radius: 10px;
    box-sizing: border-box;
    line-height: 2;
    margin: 0 auto;
    width: 960px;

    border-bottom: solid 30px #00608b;  
}

.top h1,.top p{
    text-align: center;
}

img{
    border-radius: 10px;
}

/* ------ フッター部分 ------ */
footer {
    width: 960px;
    margin: 15px auto;
    text-align: center;
    background-color:#00608b;
    color: #ffffff;
    padding: 20px 0;
    border-radius: 10px;
}

footer small {
    font-size: 12px;
}