/* Author URI: https://www.af5.jp/ */

/* ------------------frame style--------------------- */
html, body{
  margin: 0;
  display: flex;
  align-items: center;
  min-height: 100vh;
  flex-direction: column;
}


header{
  display: flex;
  justify-content: space-around;
  width: 100%;
  height: 60px;
  margin-bottom:20px;
}


topic_path{
  display: flex;
  background-color: #f8f8f8;
  margin: auto;
  width: 940px;
  height: 20px;
  margin-bottom:10px; 
  font-size : 80%;
  -webkit-box-shadow: 0 6px 6px -6px #333;
  -moz-box-shadow: 0 6px 6px -6px #333;
  box-shadow: 0 6px 6px -6px #333;
}

container{
  width: 100%;
  flex-grow: 1;
  justify-content:center;
  background: url(./images/chiko3.jpg)  no-repeat fixed bottom right;
}

footer{
  width: 100%;
  background-color:rgba(255,255,255,0.9);
  color : #888;
  text-align : center;
  display: block;
  font-size : 80%;
  font-weight: bold;
  text-decoration: none;
  margin-top: 0px;
}


.head_menu{
  display: flex;
  justify-content: space-around;
  padding: 10px;
  text-align: center;
  width:330px;
}

.main-content {
  margin-bottom: 10px;
}
.side-content {
  font-size:12px;
  background-color:rgba(255,255,255,0.1);
}
.main-content,
.side-content {
  background:rgba(255,255,255,0.9);
  padding: 5px;
  border-radius: 10px
}
 
/* Responsive */
.main-container{
  margin: auto;
  max-width: 960px;
  justify-content:center;
}

@media ( min-width : 940px ){
    .main-container {
      display: -webkit-box;
      display: -ms-flexbox;
      display: flex;
      flex-direction: row;
      flex-wrap: wrap;
    }
  .main-content {
    margin: 5px;
    padding-left: 20px;
    flex-grow:3;
    max-width: 70%;
    min-height:700px;
  }
  .side-content{
    margin-bottom: 5px;
    flex-basis:230px;
  }
}

@media ( max-width : 939px ){
  topic_path{
    max-width: 100%;    
  }
  .main-container {
      max-width: 100%;
    }
  .head_menu{
    display: none;
  }
  .main-content h2{
    margin-left:0px;
  }
  .zerogrid{
    width:100%!important;
  }
}

/* ------------------style--------------------- */
body{
  background:#fff;
  color:#000;
  font-size:14px;
  font-family:'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', sans-serif;
}
#haikei {
  background: url(./images/haikei3.jpg)  no-repeat fixed bottom left!important;
}


button{
  font-family:"Kokoro";
}

a{
  color:#0000CC;
  text-decoration:underline;
}

a:hover{
  color:#DA251D;
  text-decoration:underline;
}

header img{
  height:60px;
}

.head_menu a{
  width : 100px;
  height: 50px;
  color : #888;
  text-align : center;
  display: block;
  font-size : 80%;
  font-weight: bold;
  text-decoration: none;
}

.head_menu a:hover{
  text-decoration: none;
  color : #1495d4;
  background:#f8f8f8 url(./images/itadaku.png) no-repeat center center;
}

footer a, fotter a:hover{
  text-decoration: none;
  color : #888!important;
}

.page-top {
  position: fixed;
  bottom: 60px;
  right: 150px;
  padding: 10px;
  z-index: 5;
}
.page-top:hover {
  color:#fff;text-decoration: none;
}



/* ------------------topic path--------------------- */
topic_path li {
	float: left;
	background: url(./images/icon_topicpath_arrow.gif) 0px 6px no-repeat;
    padding: 0 0 0 6px;
    margin: 0 0 0 6px;
    white-space: nowrap;
}
topic_path li.topic_path_top {
    background: url(./images/icon_topicpath_home.gif) 0px 4px no-repeat;
    padding: 0 0 0 12px;
    margin: 0 0 0 0;
}


/* ------------------main style--------------------- */
.main-content{
  -webkit-box-shadow: 6px 0 6px -6px #333;
  -moz-box-shadow: 6px 0 6px -6px #333;
  box-shadow: 6px 0 6px -6px #333;
  border-left:1px #f8f8f8 solid;
}

.main-content .heading{
  margin:10px 30px 30px 30px;
  border-bottom: dashed 2px #A9A498;
  min-height: 60px;
}

.main-content .heading h1{
  margin:0px auto;
  height:auto;
  line-height:1;
  padding:10px 1px 10px 40px;  
  color:#5a3e2f;
  font-size:32px;  
  font-weight:900;  
  font-family: Georgia, "游明朝体", "YuMincho", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
  vertical-align:center;
  text-align: left;
  position:relative;
}

.main-content .heading h1:before {
  position:absolute;
  left:0;
  content:"";
  display:inline-block;
  width:50px;
  height:40px;
  background:url(./images/ine.png) no-repeat;
  background-size:contain;
}

.main-content h1{
	height:50px;
	font-size:26px;  
	font-weight:500; 
	text-align:center;
	vertical-align: middle;
	margin: 50px auto;
	padding:auto 20px;
	line-height:25px;
	font-family: Georgia, "游明朝体", "YuMincho", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
}


.main-content h2 {
background: #EAE9F0;  
background: -moz-linear-gradient(left, #EAE9F0 0%, #fff 100%);  
background: -webkit-gradient(linear, left top, right top, color-stop(0%,#EAE9F0), color-stop(100%,#fff));  
background:-webkit-linear-gradient(left, #EAE9F0 0%,#fff 100%);  
background:-o-linear-gradient(left, #EAE9F0 0%,#fff 100%);  
background:-ms-linear-gradient(left, #EAE9F0 0%,#fff 100%);  
background:linear-gradient(left, #EAE9F0 0%,#fff 100%);  
margin:50px 0 30px -20px;  
padding:10px 1px 10px 40px;  
color:#333;  
font-size:23px;  
font-weight:900;
font-family: Georgia, "游明朝体", "YuMincho", "游明朝", "Yu Mincho", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN W3", HiraMinProN-W3, "ヒラギノ明朝 ProN", "Hiragino Mincho ProN", "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "HGS明朝E", "ＭＳ Ｐ明朝", "MS PMincho", serif;
position:relative;
	line-height:25px;
	display: block;
}

.main-content h2 span{border-left:5px #E60214 solid; padding-left:10px;}

.main-content h3{font-size:16px; line-height:25px; font-weight: bold; margin-top: 0px;margin-bottom:30px; padding-top: 30px;padding-left: 10px; border-bottom:3px solid #696969;}

.main-content h3 {
	font-size:16px; line-height:25px; font-weight: bold; margin-top: 0px;margin-bottom:30px;padding-left: 10px; 
	position: relative;
	border-bottom: 4px solid #EAE9F0;
}

.main-content h3::after {
	position: absolute;
	bottom: -4px;
	left: 0;
	z-index: 2;
	content: '';
	width: 20%;
	height: 4px;
	background-color: #1C95D4;
}

.main-content h4{font-size:16px; line-height:25px; position: relative;
	padding: .75em 1em .75em 2em;}

.main-content h4::after {
	position: absolute;
	top: 1em;
	left: .6em;
	z-index: 2;
	content: '';
	width: 10px;
	height: 10px;
	border: 3px solid #284c7e;
	border-radius: 100%
}


.main-content ul{list-style-type:disc; margin-left:20px;}
.main-content ul li{padding:5px;}

.main-content ol{list-style-type:decimal; margin-left:20px;}
.main-content ol li{padding:5px;}

.main-content a:link {color: #0000CC; text-decoration: underline;}
.main-content a:visited {color: #0000FF; text-decoration: underline;}
.main-content a:hover {color: #FF0000; text-decoration: underline;}
.main-content a:active {color: #047EC8; text-decoration: none;}


/* ------------------side style--------------------- */
.side-content {
  font-size:12px!important;
  border-right:1px #f8f8f8 solid;
}

.side-content .box{
  border:0px solid #b3b3b3;
}

.side-content .content{
  margin:5px;
  padding:0px;
  border:1px solid #b3b3b3;
  background:#fff;
  -webkit-box-shadow: 0 6px 6px -6px #333;
  -moz-box-shadow: 0 6px 6px -6px #333;
  box-shadow: 0 6px 6px -6px #333;
}

.side-content .content .heading{
  padding: 0px; 
  margin:0px; 
  text-decoration: none; 
  background: #1C95D4; 
  color: #fff; 
  border-bottom:0px solid #b3b3b3;
  border-top:1px #bcbcbc solid;
}

.side-content .content .heading h2{
  font-size:14px;
  font-weight:bold; 
  border-left:3px #f8f8f8 solid; 
  margin-left:5px;
  padding: 0 10px;
  font-family: "Kokoro";
}

.side-content .content ul{
  margin-bottom: 10px;
  list-style-type: none;
  margin-left: 0px;
}

.side-content .content ul li{
  vertical-align: middle; 
  border-left: 2px solid #f6f6f6; 
  background: -moz-linear-gradient(top, #f3f3f5, #fff); 
  background: -webkit-gradient(linear, left top, left bottom, from(#f3f3f5), to(#fff)); 
  border-bottom:1px #bcbcbc solid;
  line-height: 20px;
  clear:both;
  padding: 5px;
}

.side-content .content ul li:first-child{
  border-top:1px #bcbcbc solid;
}

.side-content .content ul li:hover{
  background: #f6f6f6; 
  border-left: 2px solid #D82231; 
  cursor:pointer; 
  color: #DA251D;
}

.side-content .content ul li a{
  color: #474747; 
  text-decoration: none; 
  font-size:12px;
}

.side-content .content ul li.topic{
  list-style-type:none;
  font-weight:bold; 
  margin-left:4px;
}

.side-content .content ul li.topic:hover{
  background: url(./images/menu_bg.gif) top left; 
  cursor:auto;
}

.topic2{
  padding:0px;
  margin:0px;
  font-family: "Kokoro";
}
.topic2:before {
  content: " ● ";
}

.topic2hide {
  margin-bottom: 10px;
}

.henkou:before {
  content: url(images/icon-edit.png) " ";
}
.mail:before {
  content: url(images/icon-mail.png) " ";
}
.out:before {
  content: url(images/icon-closed.png) " ";
}



/* ------------------footer style--------------------- */
.copyhr {
  background: repeating-linear-gradient(120deg, #ccc, #ccc 1px, #ffffff 2px, #ffffff 7px); 
  height: 1px;
}



/* ------------------login--------------------- */

.zerogrid{
  width:620px;
}
#main-content article h2{
  display: none;
}

.btn-primary{
  display: inline-block;
  max-width: 180px;
  text-align: left;
  background-color: #1C95D4;
  font-size: 14px;
  color: #FFF;
  text-decoration: none;
  padding: 8px 16px 8px 16px;
  border-radius: 4px;
  position: relative;
  background-image: linear-gradient(to bottom, #1C95D4, #1C95D4);
}

.btn-primary:hover {
  opacity: 0.8;
  background-color: #1C95D4;
  background-image: linear-gradient(to bottom, #1C95D4, #1C95D4);
}



/* ------------------imegas & contents--------------------- */
.clearfix:after {
  content: "";
  clear: both;
  display: block;
}
.boxbox{
  float: left;
  width: 45%;
}
@media(max-width: 420px) {
  .boxbox{
    float: none;
    width: 98%;
  }
}

img.photo {
    border: 1px solid #ccc;
    padding: 10px;
    margin: 10px;
    max-width: 90%;
}

img.photo2 {
    border: 1px solid #ccc;
    padding: 5px;
    margin: 5px;
    max-width: 96%;
}
