@charset "utf-8";

/* bodyのCSS
------------------------------------------------------------*/

/* ヘッダー
------------------------------------------------------------*/


header{
	 
margin : 0px auto;
width : 100%;
  display : block;
  height : 160px;
  padding-left : 1%;
  padding-right : 1%;
  border-bottom-width : 1px;
  border-bottom-style : solid;
}

#logo{
	display: bloc; 
width : 250px;
float : left;
position : relative;
}


h1{
  font-size : 8pt;
  color : gray;
  text-align : left;
  font-weight : normal;
  margin-bottom : 5px;
  margin-top : 10px;
  border-bottom-width : 1px;
  border-bottom-style : dotted;
  border-bottom-color : gray;
}

#header_info{
	float : right;
position : relative;
}


/* 検索ＢＯＸ（ポップアップで検索窓）
------------------------------------------------------------*/

#popup{
  display: none; /* label でコントロールするので input は非表示に */
}

.popup-open{
  cursor: pointer; /* マウスオーバーでカーソルの形状を変えることで、クリックできる要素だとわかりやすいように */

  float : left;
  position : relative;
  margin-left : -90px;
  margin-top : 5px;
}

.popup-open img{
	 /* 虫めがねのマークのサイズ */
  width : 31px;
  height : 31px;
}


.popup-overlay{
  display: none; /* input にチェックが入るまでは非表示に */
}

#popup:checked ~ .popup-overlay{
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top : 20px;
  right : 0px;
}

.popup-window{
  width: 90vw;
  max-width: 210px;
  padding : 0px;
  border-radius: 6px;
  position : relative;
  top : 70px;
  transform: translate(-50%, -50%);
  float : right;
  right : -50px;
  z-index : 1;
}

.popup-text{
  margin: 0;
}

.popup-text:not(:last-of-type){
  margin-bottom: 1em
;
}

.popup-close{
  cursor: pointer;
  position: absolute;
  top: -26px;
  right: 0;
}


/* 検索ＢＯＸ
------------------------------------------------------------*/
#search{
  font-size : 10.5pt;
  font-weight : normal;
  margin-top : 15px;
  width : 210px;
  float : left;
  position : relative;
    padding-bottom : 0px;
  
  z-index : 1;
}

#searchform{
    width : 197px;
    padding : 0px;
    background : none 0% 0% / auto auto repeat scroll padding-box border-box #eeeeee;
    border : 1px none #dddddd;
    border-radius: 5px;
  margin-right : 15px;
  font-size : 9pt;
  margin-top : -10px;
}

#s{
    width : 125px;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    vertical-align: bottom;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    outline: none;
    box-sizing: content-box;
    -webkit-appearance: textfield;
    color: #999;
    background: #eee;
    box-shadow: 0 1px 0 #fff,
        0 -1px 0 #fff,
        -1px 0 0 #fff,
        1px 0 0 #fff,
        0 0 3px #ddd inset;
}
#s:focus{
    color: #333;
}
#searchsubmit{
    width : 50px;
    height: 32px;
    vertical-align: bottom;
    border: 1px solid #ccc;
    border-radius: 0 5px 5px 0;
    margin-left: -5px;
    color: #666;
    background : -moz-linear-gradient(top, #fff, #eee) 0% 0% / auto auto repeat scroll padding-box border-box transparent;
    background: linear-gradient(top, #fff, #eee);
    cursor: pointer;
    box-shadow: 0 1px 0 #fff,
        0 -1px 0 #fff,
        -1px 0 0 #fff,
        1px 0 0 #fff;
}
#searchsubmit:hover{
    background: -webkit-linear-gradient(top, #eee, #fff);
    background: -moz-linear-gradient(top, #eee, #fff);
    background: linear-gradient(top, #eee, #fff);
}
#searchsubmit:active{
    border: 1px solid #aaa;
    border-right-color: #fff;
    border-bottom-color: #fff;
    box-shadow: 0 1px 0 #ddd,
        0 -1px 0 #fff,
        -1px 0 0 #fff,
        1px 0 0 #ddd;
}

#search h2{
  font-size : 9pt;
  color : gray;
  font-weight : normal;
}

/* 看板
------------------------------------------------------------*/
.billboard{
  margin-left : 0px;
  margin-right : 0px;
  margin-bottom : 0px;
  margin-top : 0px;
}

/* メインナビ
------------------------------------------------------------*/

.main_navi{
  font-weight : normal;
  margin-left : auto;
  margin-right : auto;
  padding-left : 15px;
  padding-right : 15px;
  padding-top : 10px;
  padding-bottom : 10px;
  background-color : #fffdfb;
}


/* メイン
------------------------------------------------------------*/

#main{
  font-weight : normal;
  margin-left : auto;
  margin-right : auto;
  padding-left : 15px;
  padding-right : 15px;
  padding-top : 10px;
  padding-bottom : 10px;
}

/* メイン内の画像の上下に余白
------------------------------------------------------------*/
#main img{
  width:100%;
  height:auto;
  margin-top : 1em;
  margin-bottom : 1em;
}

/* メイン（TOPページ）
------------------------------------------------------------*/

#main_top{
  font-weight : normal;
  margin-left : auto;
  margin-right : auto;
  padding-left : 15px;
  padding-right : 15px;
  padding-top : 10px;
  padding-bottom : 10px;
}

/* メイン（TOPページ）内の画像の上下に余白
------------------------------------------------------------*/
#main_top img{
  width:100%;
  height:auto;
  margin-top : 1em;
  margin-bottom : 1em;
}


/* フッタ
------------------------------------------------------------*/

footer{
	  
  margin-top : 20px;
  background-color : #f2f2f2;
  padding-top : 15px;
  padding-bottom : 15px;
  padding-left : 15px;
  padding-right : 15px;
  margin-bottom : 50px;
  height : auto;
}

#copyright{
  margin : 0px 0px;
  font-size : 9pt;
  text-align : right;
}

/*お知らせ
------------------------------------------------------------*/
.news{
  background-color : white
;
  font-size : 10.5pt;
  font-weight : normal;
  text-align : left;
  line-height : 1.5em;
border-width : 1px;border-style : solid;border-color : silver gray gray;
  padding-top : 5px;
  padding-left : 5px;
  padding-right : 5px;
  padding-bottom : 5px;
  margin-top : 5px;
}

.news h2{
  font-weight : bold;
  margin-top : 0px;
  color : white;
  font-size : 13pt;
  background-color : #000000;
  padding-top : 5px;
  padding-left : 10px;
  padding-bottom : 5px;
}

.news_box{
  width : 96%;
  overflow : scroll;
  overflow-x:hidden;
  height :250px;
  padding-left : 2%;
  padding-right : 2%;
}

.news_box h3{
  font-weight : bold;


  text-align : left;
  font-size : 11.5pt;
  margin-top : 7px;
  margin-bottom : 5px;
}

.news_box h3 a{
  font-size : 11pt;
  color : #3a3a3a;
  margin-top : 5px;
}

.news h3 a:hover{
  color : #cc0000;
}

.p_news_time{
  font-size : 9pt;
  font-weight : normal;
  color : gray;
  text-align : left;
  margin-top : 15px;
  margin-left : 0px;
  margin-right : 0px;
  margin-bottom : 0px;
  padding-top : 5px;
  border-bottom-width : 1px;
  border-bottom-style : dotted;
  border-bottom-color : silver;
}

/* 固定バー
------------------------------------------------------------*/

#fixed{
  position:fixed;
  bottom: 0;
  text-align : center;
  width : 100%;
  height : 60px;
  
  background-color : white;
  border-top-width : 1px;
  border-top-style : solid;
  border-top-color : #004080;
}

#fixed img{
  text-align : center;
  height : 50px;
  width : auto;
}

/* YouTube動画を画面いっぱいに
------------------------------------------------------------*/
.youtube-container{
  width: 100%;
  aspect-ratio: 16 / 9;
  margin-top : 20px;
  margin-bottom : 10px;
  right : auto;
  left : auto;
}
.youtube-container iframe{
  width: 100% !important;
  height: 100% !important;
}


/* ＰＣ
------------------------------------------------------------*/
@media all and (min-width: 1020px) {


/* ヘッダーのCSS
------------------------------------------------------------*/
header{
  height : 80px;
  
  
    border-bottom-style : none;
  
    width : 1020px;
  }


h1{
  font-size : 8pt;
  color : gray;
  text-align : left;
  font-weight : normal;
  margin-bottom : 5px;
    }

#search{
  font-size : 10.5pt;
  font-weight : normal;
  margin-top : 15px;
  width : 270px;
  float : right;
  position : relative;
    padding-bottom : 0px;
  }


/* 検索ＢＯＸ
------------------------------------------------------------*/
#searchform{
    width : 257px;
    padding : 0px;
    background : none 0% 0% / auto auto repeat scroll padding-box border-box #eeeeee;
    border : 1px none #dddddd;
    border-radius: 5px;
  margin-right : 15px;
}
#s{
    width : 175px;
    height: 30px;
    line-height: 30px;
    padding: 0 10px;
    vertical-align: bottom;
    border: 1px solid #ccc;
    border-radius: 5px 0 0 5px;
    outline: none;
    box-sizing: content-box;
    -webkit-appearance: textfield;
    color: #999;
    background: #eee;
    box-shadow: 0 1px 0 #fff,
        0 -1px 0 #fff,
        -1px 0 0 #fff,
        1px 0 0 #fff,
        0 0 3px #ddd inset;
}
#s:focus{
    color: #333;
}
#searchsubmit{
    width: 60px;
    height: 32px;
    vertical-align: bottom;
    border: 1px solid #ccc;
    border-radius: 0 5px 5px 0;
    margin-left: -5px;
    color: #666;
    background: -webkit-linear-gradient(top, #fff, #eee);
    background: -moz-linear-gradient(top, #fff, #eee);
    background: linear-gradient(top, #fff, #eee);
    cursor: pointer;
    box-shadow: 0 1px 0 #fff,
        0 -1px 0 #fff,
        -1px 0 0 #fff,
        1px 0 0 #fff;
}
#searchsubmit:hover{
    background: -webkit-linear-gradient(top, #eee, #fff);
    background: -moz-linear-gradient(top, #eee, #fff);
    background: linear-gradient(top, #eee, #fff);
}
#searchsubmit:active{
    border: 1px solid #aaa;
    border-right-color: #fff;
    border-bottom-color: #fff;
    box-shadow: 0 1px 0 #ddd,
        0 -1px 0 #fff,
        -1px 0 0 #fff,
        1px 0 0 #ddd;
}
#search h2{
  font-size : 9pt;
  color : gray;
  font-weight : normal;
}

/* コンテンツ
------------------------------------------------------------*/
#contents{
      display: bloc;
      border-spacing: 0em 0px ;
      margin : 0px auto;
      width : 1020px;
}

  }




