﻿
body { margin: 0; padding: 0; font-size : 13px; 
font-family: "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro",Osaka, "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif; 
background-color: #fff7e6; line-height:1;}
.header {
  clear: both;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  margin-top: 20px;
  padding: 0px 0px 0px 0px;
  text-align: left;
}

/* コンテンツ */
.main {
  clear: both;
  width: 100%;
 max-width: 960px;
  margin: 0 auto;
  margin-top: 0px;
  padding: 3em 0em 12.5em 0em;
  background: #D8D8D8;
  text-align: left;
  font-size : 16px;
  line-height : 19px;
}
/* コンテンツ */
.main2 {
padding-left : 2em ;
padding-right : 2em ;
}
/* 背景同色 */
.co-link {background-color: #fff7e6;}
/* 一本線 */
p.line {
   border-bottom: 1px solid #131818; width: auto;
}
/* 均等割り付け */
p.wari{
text-align:center;
}
.wari img {
margin:0px 20px 0px 20px;
}
/* リンク */
a:link { color: #1a1a1a; }
a:visited { color: #1a1a1a; }
a:hover { color: #1a1a1a; }
a:active { color: #1a1a1a; }
a {
text-decoration: none;
}
/* ◆見出し◆ */
  h3.blue{
    margin: 0px 15px 10px;
    padding: 7px;
    border-left: 20px double #5387bb;
    border-bottom: 1px dashed #5387bb;
    font-size: 20px;
    font-weight: bold;
  }
  h3.pink{
    margin: 0px 15px 10px;
    padding: 7px;
    border-left: 20px double #bb5387;
    border-bottom: 1px dashed #bb5387;
    font-size: 20px;
    font-weight: bold;
  }
/*  テーブル */  
#box-left {
 width:48%;
 float:left;
 margin-bottom: 1.3em;
 clear:left; 
}
#box-right {
 width:50%;
 float:right;
 margin-bottom: 1.3em;
  clear:right; 
}

#box-both {
 width:100%;
 clear:both;
}
@media screen and (max-width: 500px){
  #box-left{
    width: 100%;
  }
  #box-right{
    width: 100%;
  }
}
/*  文字多きめ　*/
.intro {
	margin-top: 1em;
	margin-bottom: 2.5em;
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	text-indent:1em;
    width: 80%;
	font-size: 1.2em;
	color: #1b1b1b;
	line-height: 1.3em;
}
/*  画像スマホ用*/
img {
max-width : 99% ;
height : auto ;
}
/* ページ上まで戻る */
#page-top{
  display: block;
  position: fixed;
  z-index: 9999;
  bottom: 10px;
  right: 30px;
  width: 30px;
  padding: 20px;
  background: rgba(0,0,0,.7);
  color: #fff;
  text-align: center;
  text-decoration: none; 
}
#page-top:hover{
  background: rgba(0,0,0,.8);
}


/* メニュー */
#menu{
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
  padding: 0;
}
#menu li{
  display: inline-table;
  float: left;
  width: 11%;
  margin: 0;
  padding: 0; }
#menu li a{
  display: block;
  padding: 12px 0 10px;
  background: #5286ba;
  color: #fff;
  text-align: center;
  text-decoration: none;
}
#menu li a:hover{
  background: #444;
}
#toggle{ 
 display: none;
}
@media only screen and (max-width: 768px) {
    #menu li{
    width: 25%;
    border-bottom: 0px solid #5286ba;
  }
}
@media only screen and (max-width: 480px) {
  #menu{
    display: none;
  }
  #menu li{
    width: 100%;
  }
  #toggle{
    display: block;
    position: relative;
    width: 100%;
    background: #5286ba;
  }
  #toggle a{
    display: block;
    position: relative;
    padding: 12px 0 10px;
    border-bottom: 0px solid #5286ba;
    color: #5286ba;
    text-align: center;
    text-decoration: none;
  }
  #toggle:before{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 20px;
    margin-top: -10px;
    background: #fff;
  }
  #toggle a:before, #toggle a:after{
    display: block;
    content: "";
    position: absolute;
    top: 50%;
    left: 10px;
    width: 20px;
    height: 4px;
    background: #5286ba;
  }
  #toggle a:before{
    margin-top: -6px;
  }
  #toggle a:after{
    margin-top: 2px;
  }
}

