@charset "Shift_JIS";

/************************************/
/*   兵庫県立神戸北高等学校         */
/*   ウェブサイト用スタイルシート   */
/*      container_top.css           */
/*      By Kaz 長澤                 */
/*    平成30年（2018年）5月〜       */
/*    令和01年（2019年）5月14日     */
/************************************/


/* ■要素リセット */

body{
    margin: 0;
    padding: 0;
    text-align: center;
    font-size: 16px !important; /* ★サイト内のフォントの大きさ */
    font-family: 'メイリオ' ,Meiryo, 'ヒラギノ角ゴ Pro W3' , 'Hiragino Kaku Gothic Pro' , 'ＭＳ Ｐゴシック' , 'Osaka' ,sans-serif;
    color: #333333; /* ★標準文字色：元は 666666 */
    min-width: 900px;
}

/* ■ Safari用ハック 文字サイズ調整 */

/* ここから -

html:first-child body{
    font-size: 70%;
}

- ここまで */

img{
    border: 0;
}


/*--------------------------------------------------------
  ●レイアウト設定●
--------------------------------------------------------*/

/* ↓★画面領域全て */
#hpb-container{
    background-image : url(../img/fbg.png);
    background-position: bottom left;
    background-repeat: repeat-x;
    position: relative;
}

#hpb-header{
    width: 1100px; /* ★画面表示幅１／５ */
    margin-left: auto;
    margin-right: auto;
    height: 94px;
}

/* ↓★ナビメニューからフッタの上まで */
#hpb-inner{
    width: 1100px; /* ★画面表示幅２／５ */
    margin-left: auto;
    margin-right: auto;
    position: relative;
    clear: both;
}

.hpb-layoutset-02 #hpb-wrapper{
    width: 800px; /* ★元は 650 */
    padding-top: 53px;
    float: left;
}

.hpb-layoutset-01 #hpb-title{
    height: 260px; /* ★元は 260 */
    margin: 0px;
    padding: 0;
}

.hpb-layoutset-02 #hpb-title{
}

/* ↓★ナビメニュー下の文字列から「RETURN to TOP」まで */
#hpb-main{
    width: 800px; /* ★元は 650 */
    float: left;
    text-align: left;
    font-size: 110%; /* ★長澤が追記 */
}

.hpb-layoutset-01 #hpb-main{
    padding-top: 10px; /* ★元は 20px ナビメニューの下の隙間 */
}

#hpb-aside{
    width: 280px; /* ★元は 220px */
    float: right;
    padding-bottom: 30px; /* ★元は 50px */
}

.hpb-layoutset-02 #hpb-aside{
    margin-top: 39px; /* ★元は 39px */
}

#hpb-footer{
    width: 1100px; /* ★画面表示幅３／５ */
    height: 128px;
    margin-left: auto;
    margin-right: auto;
    clear: both;
    padding-top: 30px; /* ★元は 50px */
}

.hpb-layoutset-01 #hpb-nav{
    width: 1100px; /* ★画面表示幅４／５ */
    height: 38px; /* ★元は 38 */
    overflow: hidden;
    position: absolute;
    top: 220px;
    left: 0px;
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: #CCCCCC;
}

.hpb-layoutset-02 #hpb-nav{
    width: 1100px; /* ★画面表示幅５／５ */
    height: 38px;; /* ★元は 38 */
    overflow: hidden;
    position: absolute;
    top: 0px;
    left: 0px;
    border-left-width: 1px;
    border-left-style: solid;
    border-left-color: #CCCCCC;
}

/* ■ hpb-wrapper は、メイン画像から「RETURN to TOP」まで
   toppage は、main と同じ ■ */


/*--------------------------------------------------------
  ●デザイン設定●
--------------------------------------------------------*/

/* ■背景設定 */

.hpb-layoutset-01{
    background-image : url(../img/bg_01_01.png);
    background-position: top left;
    background-repeat: repeat-x;
}

.hpb-layoutset-02{
    background-image : url(../img/bg_01_02.png);
    background-position: top left;
    background-repeat: repeat-x;
}


/* ■コンテンツ配置領域 */


/* ■ナビゲーション */

#hpb-nav ul{
    margin-top: 0;
    margin-right: 0;
    margin-bottom: 0;
    margin-left: 0;
    padding-top: 0;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 0;
    list-style-type: none;
    text-align: left;
}

#hpb-nav ul::after{
    content: ".";
    display: block;
    height: 0;
    clear: both;
    visibility: hidden;
}

#hpb-nav li{
    float: left;
    display: inline;
    font-size: 16px; /* ★ナビメニューのフォントサイズ */
    line-height: 38px;; /* ★元は 38 */
    height: 38px;; /* ★元は 38 */
    overflow: hidden;
    border-right-width: 1px;
    border-right-style: solid;
    border-right-color: #CCCCCC;
}

* html #hpb-nav li{
    /* ★ ie6用ハック */
    width: 127px;
}

#hpb-nav li a{
    display: block;
    height: 37px; /* ★元は 37 */
    overflow: hidden;
    padding-left: 27px;
    padding-right: 20px;
}

* html #hpb-nav li a{
    /* ★ ie6用ハック */
    padding-left: 5px;
    padding-right: 5px;
    font-size: 12px;
}


#hpb-nav li span.en{
    display: none;
}


#hpb-nav a:link{
    background-image : url(../img/mainmenu_01.png);
    background-position: top left;
    background-repeat: no-repeat;
}
#hpb-nav a:visited{
    background-image : url(../img/mainmenu_01.png);
    background-position: top left;
    background-repeat: no-repeat;
}
#hpb-nav a:hover{
    background-image : url(../img/mainmenu_01_on.png);
    background-position: left top;
    background-repeat: repeat-x;
}
#hpb-nav a:active{
    background-image : url(../img/mainmenu_01_on.png);
    background-position: left top;
    background-repeat: repeat-x;
}

* html #hpb-nav li a:link{
    /* ★ ie6用ハック */
    background-image : url(../img/mainmenu_01.png);
    background-position: top right;
    background-repeat: no-repeat;
}
* html #hpb-nav li a:visited{
    /* ★ ie6用ハック */
    background-image : url(../img/mainmenu_01.png);
    background-position: top right;
    background-repeat: no-repeat;
}
* html #hpb-nav li a:hover{
    /* ★ ie6用ハック */
    background-image : url(../img/mainmenu_01_on.png);
    background-position: left right;
    background-repeat: repeat-x;
}
* html #hpb-nav li a:active{
    /* ★ ie6用ハック */
    background-image : url(../img/mainmenu_01_on.png);
    background-position: left right;
    background-repeat: repeat-x;
}


/* =======================================================
  ●●レスポンシブル設定●●
======================================================= */

@media screen and (max-width: 568px) {

	body{
		min-width: 100%;
		font-size: 3.3vw !important; /* ★元は 3.5vw */
	}

	/*--------------------------------------------------------
	  ●レイアウト設定●
	--------------------------------------------------------*/

	#hpb-container{
		background-image : none;
	}
	#hpb-header{
		width: 100%;
		height: auto;
		padding-bottom: 10px;
	}
	#hpb-inner{
		width: 100%;
	}
	.hpb-layoutset-02 #hpb-wrapper{
		width: 100%;
		padding-top: 0;
		float: none;
	}
	.hpb-layoutset-01 #hpb-title{
		height: auto;
	}
	#hpb-main{
		width: 96%;
		float: none;
		margin-left: auto;
		margin-right: auto;
		padding-bottom: 20px;
	}
	.hpb-layoutset-01 #hpb-main{
		padding-top: 0;
	}

	.hpb-layoutset-02 #hpb-main{
		padding-top: 1px; /* ■元は 10px */
	}

	#hpb-aside{
		width: 96%;
		float: none;
		margin-left: auto;
		margin-right: auto;
		padding-bottom: 20px;
	}
	.hpb-layoutset-02 #hpb-aside{
		margin-top: 0;
	}
	#hpb-footer{
		width: 100%;
		height: auto;
		padding-top: 0;
		border-top-width: 1px;
		border-top-color: #3b7901;
		border-top-style: solid;
	}
	.hpb-layoutset-01 #hpb-nav{
		width: 100%;
		height: auto;
		position: relative;
		top: 0;
		left: 0;
		border-left-width: 0;
		border-top-width: 1px;
		border-top-color: #3c7c00;
		border-top-style: solid;
		border-bottom-width: 1px;
		border-bottom-color: #cccccc;
		border-bottom-style: solid;
	}
	.hpb-layoutset-02 #hpb-nav{
		width: 100%;
		height: auto;
		position: relative;
		top: 0;
		left: 0;
		border-left-width: 0;
		border-top-width: 1px;
		border-top-color: #3c7c00;
		border-top-style: solid;
		border-bottom-width: 1px;
		border-bottom-color: #cccccc;
		border-bottom-style: solid;
	}

	/*--------------------------------------------------------
	  ●デザイン設定●
	--------------------------------------------------------*/

	/* ■背景設定 */

	.hpb-layoutset-01{
		background-image : none;
	}
	.hpb-layoutset-02{
		background-image : none;
	}

	/* ■コンテンツ配置領域 */

	/* ■ナビゲーション */

	#hpb-nav ul{
		display: none;
	}
	#hpb-nav ul.toggled-on{
		display: block;
	}
	#hpb-nav li{
		float: none;
		display: block;
		line-height: 1.4;
		height: auto;
		border-right-width: 0;
		border-top-width: 1px;
		border-top-color: #cccccc;
		border-top-style: solid;
	}
	#hpb-nav li a{
		display: block;
		height: auto;
		padding-left: 10px;
		padding-right: 10px;
		padding-top: 10px;
		padding-bottom: 10px;
	}
	#hpb-nav a:link,
	#hpb-nav a:visited,
	#hpb-nav a:hover,
	#hpb-nav a:active{
		background-image : none;
	}
	#hpb-nav li a:hover{
		background-color : #6eae30;
	}


}



/* 画面の大きさ（参考）

iPhone	320 * 480

iPad	768 * 1024

スマホ	横　480, 568
	縦　320, 360

SO-04H	1080 * 1920

ZenPad Z380M	800 * 1280

H30年度自席PC	1366 * 768

　画面の大きさ終わり */

