@charset "utf-8";
/*
Theme Name: Mugen school 無限小学校テーマ
Version: 1.0
Theme URI: https://mugen.kuroneko3.com/
Author: 伊吹川
Author URI: https://mugen.kuroneko3.com/
Description: 無限小学校のテーマです。
*/

/* 基本 */
body  {font-family: 'メイリオ', 'Hiragino Kaku Gothic Pro', sans-serif;
  background-color: #FFFFFF;
  background-image: url('https://mugen.kuroneko3.com/wp-content/themes/mugen/image/bg_body.png');
  background-repeat: repeat-x;}
a  {text-decoration: none;
  color: #0c8bcd;}
a img  {border: none;}

/* ヘッダー */
div#header_1  {font-family: 'Trebuchet MS', sans-serif;
  width: 98%;
  max-width: 1050px;
  height: auto;
  background-color: #FFFFFF;
  padding: 3px 8px 10px 8px;
  border-top: 1px solid darkgray;
  border-left: 1px solid darkgray;
  border-right: 1px solid darkgray;
  border-bottom: 0px solid darkgray;
  margin: auto;
  box-shadow: 2px 2px 5px #aabbaa;/* css3用記述 */
  border-radius: 13px 13px 0px 0px / 13px 13px 0px 0px;/* css3用記述 */}
  
/* ヘッダー画像 デフォルト: デスクトップ用画像を表示、モバイル用は非表示 */
.desktop-header {
  display: inline;
}
.mobile-header {
  display: none;
}  

div#header_1 #desc a  {
  display: block;
  font-size: 0.5em;
  font-weight: bold;
  color: #333399;
  float: left;
  margin: -5px 0px 0px;}
div#header_1 #desc a:hover  {
  display: block;
  font-size: 0.5em;
  font-weight: bold;
  color: #3333ff;
  float: left;
  margin: -5px 0px 0px;}
  
/* ヘッダー内の画像をレスポンシブに対応させる */
div#header_1 img {
  max-width: 100%;
  height: auto;
}

/* ナビゲーションバー */
#nav  {
  width: 98%;
  max-width: 1050px;
  height: auto;
  padding: 0px 8px 0px 8px;
 font-size: clamp(10px, 1.1vw, 13px);
  font-weight: bold;
  color: #333;
  height: 30px;
  background:url("https://mugen.kuroneko3.com/wp-content/themes/mugen/image/bg_menu.png")  0 0 repeat-x;
  background-size:contain;
  background-color: #ffffff;
  border-top: 1px solid #aaaaaa;
  border-left: 1px solid #aaaaaa;
  border-right: 1px solid #aaaaaa;
  border-bottom: 1px solid #aaaaaa; 
  box-shadow: 2px 2px 5px #aabbaa;/* css3用記述 */
  margin: auto;}
#nav ul  {margin: 0;
  padding: 0px 0px 0px 0px;
}
#nav li  {list-style-type: none;
  float:left;}
#nav li a  {display: block;
  width: 98%;
  width: 170px;
  line-height: 30px;
  border-right: solid 1px #aaaaaa;
  color: #333;
  text-align: center;}
#nav li a:link {
text-decoration: underline;}
#nav li a:hover  {
  text-decoration: none;
  background:#fff url("https://mugen.kuroneko3.com/wp-content/themes/mugen/image/bg_menu.png") 0px -30px repeat-x;}
#nav ul ul {font-size: 0.80em;
  font-weight: normal;
  background-color: #ffffff;
  display: none;
  position: absolute;
  border-top: 1px solid #aaaaaa;
  border-left: 1px solid #aaaaaa;
  border-right: 1px solid #aaaaaa;
  border-bottom: 1px solid #aaaaaa;
  text-decoration: none;
  -moz-opacity:0.85;
  opacity:0.85;
  z-index: 99999;
  width: 170px;}
#nav ul ul.sub-menu :hover > a {
  background:#eeffff;
  text-decoration: none;
  color: #333}
#nav ul ul li {
  min-width: 170px;}
#nav ul ul a {
  width: 98%;
  width: 170px;
  line-height: 25px;
  border-top: 0px solid #aaaaaa;
  border-left: 0px solid #aaaaaa;
  border-right: 0px solid #aaaaaa;
  border-bottom: 1px solid #aaaaaa;
  color: #333;
  text-align: center;}
#nav ul ul ul {   left: 100%;
  top: 0;}
#nav ul li:hover > ul {display: block;}

/* コンテンツ コンテナ */
div#container  {
  width: 98%;
  max-width: 1050px;
  background-color: #FFFFFF;
  margin: 10px 10px 10px 10px;
  padding: 10px 8px 10px 8px;
  border-top: 1px solid darkgray;
  border-left: 1px solid darkgray;
  border-right: 1px solid darkgray;
  border-bottom: 0px solid darkgray;
  margin: auto;
  box-shadow: 2px 2px 5px #aabbaa;/* css3用記述 */
  border-radius: 0px 0px 13px 13px / 0px 0px 13px 13px/* css3用記述 */}
  
/* フッター */
div#footer  {border-top: solid 1px #aaaaaa;
  padding: 6px 0;
  clear: both}
div#footer p  {font-size: 0.75em;
  text-align: center;
  font-style: normal;
  font-family: Verdana, sans-serif;
  margin: 0}

/* メディアクエリ(画面のサイズなどの条件に応じてスタイルを切り替える) */
/* 767px以下の画面の時 */
@media screen and (max-width: 767px) {
  body {
    background-size: contain;
  }
  div#header_1 {
  width: 98%;
  max-width: 98%;
  height: auto;
  padding: 3px 8px 0px 8px;
  border-top: 1px solid darkgray;
  border-left: 1px solid darkgray;
  border-right: 1px solid darkgray;
  border-bottom: 0px solid darkgray;
  margin: 0px 0px 0px -5px;
  box-shadow: 1px 1px 3px #aabbaa;/* css3用記述 */
  border-radius: 13px 13px 0px 0px / 13px 13px 0px 0px;/* css3用記述 */
  }  
/* 画面幅767px以下: モバイル用画像を表示、デスクトップ用は非表示 */
  .desktop-header {
    display: none;
  }
  .mobile-header {
    display: inline;
    max-width: 100%; /* 横幅にフィット */
    height: auto;    /* 縦横比を維持 */
  }  
  div#header_1 #desc {
    font-size: 0.4em;
    margin: 0;
    float: none;
    display:none;
  }
div#header_1 img {
  max-width: 98%;
  height: auto;
  }
#nav  {
  width: 98%;
  max-width: 98%;
  height: auto;
  padding: 0px 8px 0px 8px;
  height: 30px;
  margin: 0px 0px 0px -5px;}
  
/* コンテンツ コンテナ */
div#container  {
  width: 98%;
  max-width: 98%;
  height: auto;
  padding: 3px 8px 0px 8px;
  background-color: #FFFFFF;
  border-top: 1px solid darkgray;
  border-left: 1px solid darkgray;
  border-right: 1px solid darkgray;
  border-bottom: 0px solid darkgray;
  margin: 0px 0px 0px -5px;
  box-shadow: 2px 2px 5px #aabbaa;/* css3用記述 */
  border-radius: 0px 0px 13px 13px / 0px 0px 13px 13px;/* css3用記述 */}
div#container::after{
	content: "";
	display: block;
	clear: both;}

  }/* メディアクエリ767px以下 記述ここまで */

/* 掲示板　Iframe */
 #dynamicIframe {
  width: 100%;
  border: none;
  overflow: hidden; /* スクロールバーを非表示にする */
}





  
/* 記事 */
div.post  {margin-bottom: 30px;
  overflow: hidden}
div.post h2  {background-image: url(https://mugen.kuroneko3.com/wp-content/themes/mugen/image/chip.png);
  background-repeat: no-repeat;
  background-position: left center;
  border-top: solid 1px #aaaaaa;
  border-bottom: solid 1px #aaaaaa;
  font-size: 0.875em;
  padding: 10px 18px;
  margin: 0}
div.post h2 a  {color: #000099}
div.post h2 a:hover  {background: #f7e29e;
  padding: 2px 7px 2px 0px}
  
  
  
  
  
  
  
  
  
  
/* 中央コンテンツ */
div#content {
  max-width: 740px;
  width: 100%;
  text-align: left;
  float: left;
  margin: 5px 0px 5px 0px;
  overflow: hidden; /* はみ出しを防ぐ */
}
div#content_image {
  max-width: 100%;
  width: 100%;
  float: left;
  margin: 5px 0px 5px 0px;
}







  