@charset"utf-8";
body {
    font-family: sans-serif;
    padding: 0px 100px;
    width: 1000px;
    max-width: 1500px;
    margin-left: auto;
    margin-right: auto; 
}
a{text-decoration: none}

header {
    width:1000px
}
.container {
     display: flex; 
     flex-flow: row;
    padding:  0 16px 0 16px;
    width: 1000px
}
   .maintitle {
      flex: 1 1 auto; width: 500px;
      display: flex;
      flex-flow: row;
}
.maintitle a{color:#666600; }
.maintitle a:hover{text-decoration: none;}
.logo{max-width:80px;
      max-height: 60px;
      margin: 15px 10px;
}
   h1 {
       font-family: ; font-size: 40px; line-height: 0.6; color: #666600;
}
   .entitle {
       font-size: 18px; margin-top: 0; color:  #663300;
}

  .inquiryblock {
      flex: 1 1 auto; width: 250px
}
   .headerinquiry{
       font-size: 24px; line-height: 0; margin-bottom:1; 
}
   .headertelnum{
       font-size: 30px; line-height: 0.2; margin-top: 0; margin-bottom: 0
}
   .headerfaxnum{margin:5px 0 0 0;}
   .headeraddressnum{
       font-size: 14px;
       line-height: 0.3;
       margin: 0;
}
  .navcontainer{
    width: 1000px
}
   .navbar {
       margin: 0; 
       padding: 0; 
       list-style-type: none;
       display: flex; 
       background: #666600;
       justify-content: space-around;
}
   .navbar li a{
    display: block;
    padding:  10px 8px;
    color: white;
    text-decoration: none;
}
.institusionblock{width: 800px;
    border: solid #666600;
    border-radius: 30px;
    margin: 20px 50px;
}
.contents{margin: 50px;}

h2{margin: 20px;
}
.contentstitle{background: linear-gradient(transparent 70%, #FFD700 30%);
}
.institusionblock p {margin: 0 20px;
    text-indent: 1em;
    text-align:;
    font-size:16px;
}
.institushionphoto{margin: 0 20px;
text-align: center;
}
h3{margin: 20px 0 10px 0;}

.hootcontainer{background:#666600; 
    text-align: center;
    font-size: 12px;
    color: white
}








@media screen and (max-width:768px){
    body {
    padding: 0;
    width:auto;
    margin-left: auto;
    margin-right: auto; 
}
    header {
    width:auto;
}
    .container {
     display: flex; 
     flex-flow: column;
     padding: 0;
     width: auto;   
}
     .maintitle {
     width: auto;
     text-align: center;
     margin: auto;
}
    .logo{max-width: 50px;
        max-height: 40px;
        margin: 10px 5px 15px;
}
    h1 {
       font-size: 24px;
}
   .entitle {
       font-size: 14px;
}

  .inquiryblock {
      width: auto;
      margin-bottom: 5px;
      text-align: center;
}
   .headerinquiry{
       font-size: 16px;
       margin-top: 5px;
}
   .headertelnum{
       font-size: 20px;
}
   .headeraddressnum{
       font-size: 12px;
}
  .navcontainer{
    width: auto;
}
   .navbar {
       margin: 0; 
       padding: 0; 
       list-style-type: none;
       background: #666600;
       justify-content: space-around;
       font-size: 12px;
       display:table;
       table-layout: fixed;
       width: 100%;
}
    .navbar li{
       float:left;
       width: 25%;
       text-align: center;
       overflow: hidden;
       box-sizing: border-box;
       display: table-cell;
       border: 1px solid white;
    }
   .navbar li a{
    display: block;
    padding:  10px 8px;
    color: white;
    text-decoration: none;
    line-height: 10px;
}
    
.institusionblock{width: auto;
    border: solid #666600;
    margin: 0;
}
.contents{margin:0;}

h2{margin: 20px;
    text-align: center;
}
.contentstitle{background: linear-gradient(transparent 70%, #FFD700 30%);
}
img{max-width: 300px;}
.institusionblock p {margin: 0 20px;
    text-indent:0;
    text-align:left;
    font-size:16px;
}