@charset "utf-8";
@import url("component.css");
@import url("header.css");
@import url("footer.css");

/**********************************************/
/* 気候変動適応情報プラットフォーム（改修）
/* 基本設定
/**********************************************/

* {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
         -o-box-sizing: border-box;
        -ms-box-sizing: border-box;
            box-sizing: border-box;
}


@font-face {
  font-family: 'Glyphicons Halflings';

  src: url('../fonts/glyphicons-halflings-regular.eot');
  src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg');
}


html {

    width: 100%;
    position: relative;   
    height:auto !important;
    height: 100%;
    min-height: 100%;

    -webkit-text-size-adjust: 100%; /*スマホ文字対策*/
    -ms-text-size-adjust: 100%;
}

* html body {
	overflow: hidden;
}

body {
	margin:0;
	padding:0px 0 0 0;
	font-size:90%;
    font-family:'メイリオ',Meiryo,helvetica,sans-serif;
    color:#333;
    -webkit-text-size-adjust: 100%;
    
    line-height: 120%;
}

img { border-width:0; }

a  {
	color: #167DAD;
	text-decoration: none;
}
a:hover {
    color:#000;
    text-decoration: none;
}

a:hover img {
	opacity: 0.8;
	filter: alpha(opacity=60);
	-moz-opacity: 0.6;
}

/*見出し*/
h1,h2,h3,h4,h5,h6 {
    line-height:120%;
}


h1 {
    font-size:30px;
    font-weight: normal;
    margin: 0px 0 20px 0;
	padding-top:10px;
    
}
h1~h1 {
    margin-top:40px;
}
h1 + h2 {
    margin-top:0px;	
}
h2 {
    font-size:22px;
    margin: 40px 0 30px 0;
	padding:12px 5px 11px 15px;
	border-top:3px #ddd solid;
	border-bottom:1px #eee solid;
	
	background: url("../img/h2.gif") no-repeat left center;
	background-color:#f5f5f5;
}
h2~h2 {
    margin-top:40px;   
}


h3 {
	margin: 40px 0 30px 0;
    font-size:18px;
}

h4 {
    font-size:16px;
}

h5 {
    font-size:15px;
}

h6 {
    font-size:1em;
}


form {
    margin:0;
    padding: 0;
}

img {
	border-width: 0;
	-ms-interpolation-mode: bicubic;  /*画像を縮小した時に汚くなるので、綺麗に表示させるためにつけるプロパティ*/
	vertical-align: middle;
	text-align: center;
}

button, input, select, textarea , pre {
   font-family : inherit;
   font-size : 100%;
}
pre {
    margin: 0;
}


p {
	line-height: 160%;
	margin-left: 1em;
	margin-right: 1em;
	/*font-size: 120%;*/
	/*text-indent:1em;*/
}


a[target=_blank][rel=noopener] {
	padding-right: 20px;
    background:url("../img/icon_blank.png") no-repeat right center;
    background-size: 14px;
    margin-right: 5px;
}
a[type$="pdf"] {
   	padding:2px 28px 2px 0;
    background:url("../img/PDF_24.png") no-repeat right center;
    /*margin-left: 5px;*/
}




/**********************/
/*外枠
/**********************/
.outbox {
    padding: 10px 20px 30px;
}



/**********************/
/*コンテンツ
/*左：180px
/*右：880px
/*余白：40px
/**********************/
.container {
    width:100%;
    max-width:1100px;
    margin: 0 auto;
    overflow:auto;
	overflow:hidden;
}



/*左カラム*/
#contents {
    width:100%;
    margin: 0 0 0 -200px;
    float:right;
    overflow: hidden;
}


/*880px*/
.panel {
	margin: 0 0 30px 200px;
	border-left: 1px #ddd solid;
	padding-left: 20px;
	padding-top: 0px;
	padding-right: 0;
	padding-left: 18px;
	padding-bottom: 40px;
}
.panel p {
	font-family: "メイリオ", Meiryo, helvetica, sans-serif;
	font-size: 1.1em;

    /*max-width: 700px;*/
}

.panel li {
    margin-top:10px;
}
.panel li:last-child {
    margin-bottom:0;	
}

/*右カラム*/
/*180px+40px*/
#sidebar {
    width: 180px;
    float: left;   
    margin-top: 0;
	
}
#sidebar h5 {
    margin: 0 0 10px 0;
    padding: 0;
    border-width: 0;
    background-image: none;
    font-size: 16px;
}





/****************************/
/*レスポンシブ
/****************************/
/*large*/
/*  980px 以下 */
@media screen and (max-width: 980px) {

    /*body { color:red; }*/
	p {
	    margin-left:0;
	    margin-right:0;
    }
}


/*normal*/
/*  768px 以下 */
@media screen and (max-width: 768px) {

    body { /*color:green;*/ }

    h1 {
        font-size:24px;    
    }

    h2 {
        font-size:18px;
    }
    h3 {
        font-size:16px;
    }
    h4 {
        font-size:14px;
    }
    h5 {

    }
    

}



/*small*/
/*  624px 以下 */
@media screen and (max-width: 624px) {

    /*body { color:blue; }*/
    
	#contents {
        width:100%;
        margin: 0;
        float: none;
     }
     
    .panel {
        margin: 0;    
        border-width:0;
        padding-left:0px;
    
        border-bottom: 3px #ddd solid;
    }

    .panel p {
        max-width: auto;
    }

    #sidebar {
        margin-bottom: 20px;
        width: 100%;
        float: none;
        margin-top: 30px;
    }


}



/*x-small*/
/*  520px 以下 */
/*
@media screen and (max-width: 520px) {

    body { color:#000; }

}
*/


/*small*/
/*  320px 以下 */
@media screen and (max-width: 320px) {

    body {}


}
