



//content main　ここから
body{
  font-size: 14px;
  line-height: 2.2;
  color:#333;
  letter-spacing: 1px;
  text-align: center;
  margin: 0 auto;
}
.english{
  font-size: 10pt;
  font-weight: bold;
  color:#29150c;
  text-indent: 10px;
}
.title{
  font-size: 16pt;
  font-weight: bold;
  color: #29150c;
  text-indent: 10px;
  margin-top: 0px;
}
p{
}


.top-image{
  background-image: url("../top-image-content_02.jpg");
  background-position: center center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 350px;
}
.title{
  position: relative;
  margin: 0 auto;
}

/*---------------------------------------------------------content----------*/
#content{
  width: 960px;
  margin: 0 auto;
  padding-top: 50px;
}
#introduction{
  width:850px;
  display:flex;
  flex-direction: row;
}
.bar{
  background:#29150c;
  height:10px;
  width:100vw;
}
ul{
    list-style: none;
    display:flex;
}
.floatr{
  font-size: 14px;
  font-weight: lighter;
  position: relative;
  /*float: left;*/
  margin-right: 40px;
  margin-left: 40px;
  width: 500px;
  height: 350px;
  text-align: justify;
  text-justify:inter-ideogragh;
  margin-bottom: 5px;
  line-height: 2.2;
  color:#333;
  letter-spacing: 1px;
  vertical-align: middle;
  display: table-cell;
}
.floatl{
  /*float: right;*/
  width: 450px;
  margin-bottom: 5px;
  background-size:cover;
}
.clear{
  clear: both;
  margin-top: 0;
  margin-bottom: 0;
}
#map{
  text-align: center;
}


.float_case_photo{
  float: left;
  width: 450px;
  height: 300px;
  margin-bottom: 5px;
  margin-left: 30px;
  margin-right: 20px;
}
.floatr_case{
  font-size: 14px;
  float: right;
  margin-right:50px;
  width: 360px;
  height: 300px;
  text-align: justify;
  text-justify:inter-ideogragh;
  margin-bottom: 5px;
  line-height: 2.2;
  color:#333;
  letter-spacing: 1px;
}

.tiku{
  display: flex;
flex-wrap: wrap;
width:900px;
}
.tiku li{
  margin-left:10px;
}

@media screen and (max-width:768px) {

  .top-image{
    height:auto;
  }
  .floatr{
    float:none;
    max-width:100%;
		height:auto;
    margin-left: 80px;
  }
	.floatl{
    display: none;
		/*float:none;
    max-width:100vw;
		height:auto;
    margin-left: 80px;*/
	}
	.clear{
		max-width:100%;
		height:auto;
	}
  img{
    max-width:100%;
    height:auto;
  }
  .line{
    max-width:100%;
    height:auto;
  }
  table th{
    display: -webkit-flex;
		display:flex;
		flex-wrap:wrap;
    width:100%;
    height:auto;
    table-layout: fixed;
  }
  table td{
    width:100%;
    height:auto;
  }
	.table{
		width:80%;
	}
  .table img{
    display:none;
  }
  #content{
    width: 100%;
    margin: 0 auto;
    padding-top: 50px;
  }
}

@media screen and (max-width:768px) {

  .top-image{
    height:auto;
  }
  .floatr{
    float:none;
    max-width:100%;
    height:auto;
    padding-left: 40px;
    padding-right: 40px;

  }
  .floatl{
    float:none;
    max-width:100%;
    height:auto;
    margin-left: 80px;
  }
  .clear{
    max-width:100%;
    height:auto;
  }
  img{
    max-width:100%;
    height:auto;
  }
  .line{
    max-width:100%;
    height:auto;
  }
  table th{
    display: -webkit-flex;
    display:flex;
    flex-wrap:wrap;
    width: 100%;
    height:auto;
    vertical-align: bottom;
  }
  .table{
    width:80%;
  }
  .table img{
    display:none;
  }
  #content{
    width: 100%;
    margin: 0 auto;
    padding-top: 50px;
  }
  #introduction{
    width:100%;
  }
  .floatl{
    margin:0;
  }
  .floatr{
    width:80%;
    margin:0 auto;
  }

  #map ul{
    display:flex;
    margin:0;
    padding:0;
  }
  #map ul li{
    width:1em;
    height:7em;
    font-size:16px;
  }

.float_case_photo{
  float: none;
  width: 100%;
  height: auto;

  margin-left: 0;
  margin-right: 0;
}

.floatr_case{

  float: none;
  margin-right:0;
  width: 100%;
  height: auto;
  padding-right:40px;
  padding-left:40px;
  display: table-cell;
}

}


@media screen and (max-width: 979px) {
 .titleph{display:none;}
 .uraph{background: url( ../images/content_res.png ) no-repeat center top;
        height:140px;
        margin-top:-1px;
             background-size:100%;}

  #title h2{
  background: url( ../images/content_moji.png ) no-repeat center top;
  height:60px;}
}
}

@media screen and (max-width: 300px) {

   #to_top{
    display:none;
  }

   #title h2{
  background: url( ../images/about_moji.png ) no-repeat center top;
  height:60px; width:100%;
  background-size:contain;}
}


--------------------------------------------------------------------------
#visual{
  background-repeat: repeat;
  background-size:10px 10px;
  }

 #to_top {
  position: fixed;
  top:500px;
  bottom:200px;
  right:1px;
  }

  #to_top a {
  display: block;
  width:50px;
  height:50px;
  line-height:50px;
  vertical-align:baseline;
  color:#fff;
  text-align:center;

  }

  #to_top a:hover{ opacity:0.6; }


@media screen and (max-width: 768px){
.tiku {
    margin: 5px;
    padding: 0;
    display: grid;
    width: auto;
}
