
#toppage {
 background-color:#FFFFCC;
 }
#newpage5 {
background-color:#FFCC00;
}
body {
background-color:#FFFFCC;
}

h1 {
text-align:left;
font-size:150%;
}

.font_small {
font-size:95%;
}

 /*--資料詳細ページ--*/  
 p.center {
 text-align:center;
 }
 
 

    /*--newpage5.htm--*/  
      /* ロゴの調整 */    
#logo {
display: grid;
grid-template-rows: 70px 25px;
grid-template-columns: 100px 1fr;
}

#logo_left {
  grid-row: 1 / 3;
    grid-column: 1 / 2;

}

#logo_right1{
grid-row: 1 / 2;
    grid-column: 2 / 3;
}

#logo_right2 {
  grid-row: 2 / 3;
    grid-column: 2 / 3;
}

  /*--52-1.htm--*/
    /*フォントの色*/
 span.b_blue {color:#006699; } 
 span.b_red  { color:#990066;} 
 span.b_green  {color:#009900; } 
 span.b_yellow  {color:#cc3300;  } 
span.f_blue {color:#006699; font-size:90%;}
 span.f_red  { color:#990066; font-size:90%;}
 span.f_green  {color:#009900;  font-size:90%;}
 span.f_yellow  {color:#cc3300; font-size:90%; }
 span.f_free   { font-size:90%; } 

 /*--フレームnewpage6--*/  
 .newpage a{
  text-decoration: none ;
	}
.newpage a:hover {
	background-color: #ffff66; 
	color: #ff3300 ;
	}
.newpage a:link {
	color: #0000FF ;
	}
.newpage a:visited {
	color: #993399;
	}
#newpage6 span.text1 {
	letter-spacing: 0.8em ;
}
#newpage6 span.style1 {
       font-size:90%;
       }
#newpage6 span.style2 {
        font-size: 100%;
        }
#newpage6 span.style3 {
        font-size: 80%;
        }

#newpage6 body{
 background-color:#FFFF99;
}

#newpage7 body{
 background-color:#FFFFCC;
 line-height: 145%;
}

 /*--武丸邑正助行状  --*/
.text{line-height:145%}
  
 @media screen and (min-width: 768px) {

div.takemaru  {
     margin-left:auto;    /* 左側マージンを自動的に空ける */
     margin-right:auto;   /* 右側マージンを自動的に空ける */
     text-align:left;     /* 中身を左側表示に戻す */
     width:760px;
    }
    
 /*--トップページフレーム--*/
        #header {
            position: absolute;
            top: 0;
            left: 0;
            height: 100px;
            width: 100%;
          
        }

        #menu {
            position: absolute;
            top: 100px;
            left: 0px;
            width: 241px;
            height: 100%;
            text-align: center;
        }

        #main {
            position: absolute;
            top: 100px;
            right: 0;
            left: 241px;
            height: 100%;
            border-left: 2px solid #ccc;
        }

        iframe {
            border: none;
            height: 100%;
            width: 100%;
        }
        
        #pc {
        display: none !important;
        }
        
        header.l_header { 
        display:none;
        }
        
 /* ハンバーガーメニューを隠す*/
    .hm_wrap {
        display: none;
    }   

  /*--資料詳細ページ--*/  
div.image {
  display: flex;
   flex-direction: row;
   position: relative;
}
div.book_image img {
 position: relative;
 top:70%;
 }
 
 div.book_image2 img {
 position: relative;
 top:20%;
 padding-right:15px;
 }
 
  div.frame {
 padding:0 30px;
 }
        
        
        }
        

 @media screen and (max-width: 767px) {
 /* --タブレット以下表示--*/
 
 /*--index.html--*/  
   /* ロゴの調整 */    
 #header {
            border: none;
            height: 120px;
            width: 100%;
            padding-top:45px;
            }
 #pc {
           height:100%;
}

h1 {
font-size:110%;
}

  /* 解説のアンカーリンク調整 */  
  .comment {
  padding-top: 120px;
  margin-top: -120px;
  }
  
 
   /* PC表示メニューを隠す */
 #menu, #main {
        display: none;
    }
  

     /* ▽▽ハンバーガーメニュー▽▽
------------------------------------------------------- */
    .hm_menu_check {
        /* チェックボックスを隠す */
        display: none;
    }

    .hm_wrap {
        display: inline-block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        padding: 10px;
       background:#ffff99;
    }

    .hm_title {
        /* ハンバーガーメニューオープン時の見出し */
        position: relative;
        color: #000000;
        display: inline-block;
        float: left;
        font-weight: 100;
        line-height: 30px;
        margin: 0 0 0 15px;
        opacity: 0;
        -webkit-transform: translate3d(0, -15px, 0);
        transform: translate3d(0, -15px, 0);
        -webkit-transition: -webkit-transform 0.6s, opacity 0.5s;
        transition: transform 0.6s, opacity 0.5s;
        z-index: 2;
    }

    /* ▽▽メニューボタン▽▽ */
    .hm_btn {
        position: absolute;
        top: 10px;
        right: 40px;
        width: 30px;
        height: 30px;
        cursor: pointer;
        display: block;
        float: left;
        z-index: 2;
    }

    .hm_btn::before {
        -webkit-box-shadow: #000 0 12px 0;
        box-shadow: #000 0 12px 0;
    }

    .hm_btn::after {
        bottom: 0;
    }

    .hm_btn::before,
    .hm_btn::after {
        width: 30px;
        height: 6px;
        background: #000;
        display: block;
        content: '';
        position: absolute;
        -webkit-transition: -webkit-box-shadow 0.2s linear, -webkit-transform 0.2s 0.2s;
        transition: box-shadow 0.2s linear, transform 0.2s 0.2s;
    }

    /* △△メニューボタン△△ */

    .hm_menu_wrap {
        width: 100%;
        height: 100vh;
        overflow: auto;
         background:#ffff99;
        position: absolute;
        left: -100%;
        top: 0;
        -webkit-transition: left 0.4s;
        transition: left 0.4s;
    }

    /* ▽▽開閉時のアニメーション▽▽ */
    .hm_menu_check:checked ~ .hm_title {
        opacity: 1;
        -webkit-transform: none;
        -ms-transform: none;
        transform: none;
    }

    .hm_menu_check:checked ~ .hm_btn::before {
        -webkit-box-shadow: transparent 0 0 0;
        box-shadow: transparent 0 0 0;
        -webkit-transform: rotate(45deg) translate3d(6px, 11px, 0);
        transform: rotate(45deg) translate3d(6px, 11px, 0);
    }

    .hm_menu_check:checked ~ .hm_btn::after {
        -webkit-transform: rotate(-45deg) translate3d(6px, -11px, 0);
        transform: rotate(-45deg) translate3d(6px, -11px, 0);
    }

    .hm_menu_check:checked ~ .hm_menu_wrap {
        left: 0;
    }

    /* △△開閉時のアニメーション△△ */

    /* ▽▽メニュー内のリストスタイル▽▽ */
    .hm_list {
        list-style-type: none;
        margin: 50px 0 0;
        padding: 0;
    }

    .hm_list li a {
        color: #000000;
        display: block;
        overflow: hidden;
        padding: 8px 22px;
        position: relative;
        text-decoration: none;
        z-index: 1;
    }

    .hm_list li a::before {
        /* aタグマウスオーバー時の背景 */
        background: #cccccc;
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 100%;
        left: 0;
        -webkit-transition: bottom 0.4s;
        transition: bottom 0.4s;
        z-index: -1;
    }

    .hm_list li a:hover::before {
        bottom: 0;
    }

    .hm_list li a:hover::after {
        opacity: 0.5;
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    
       /*--menu.html--*/  
       .hm_list {
       margin-left:5px;
       }
       .category {
       background-color:#cccc00;
       }
       
       
          /*--資料詳細ページ--*/  
 div.frame {
 padding-top:45px;
 }
div.image {
  display: flex;
   flex-direction: column-reverse;
}

 /*--武丸邑正助行状  --*/
 div.takemaru {
 max-width:760px;
 width:100%;
 }
 div.takemaru table tr td img {
 width:100%;
 height:auto;
 }
  }

