@charset "UTF-8";
*, ::before, ::after{
  padding : 0;
  margin : 0;
  box-sizing: border-box;
}

ul,ol{list-style: none;}

a{color: inherit; text-decoration: none; }

.gazo{
  border: 1px groove silver;
}
.gazomawari{
  margin: 5px; border: 1px groove silver;
  float : left;
}

body{
  font-family: sans-serif; font-size: 16px;
  color: #000000; line-height: 1;
  background-color: #f4f4f4;
}

.header{
  background-color:  #e1ecfb;
}
.header-in{max-width: 1000px; height: 80px;
  margin-left : auto; margin-right : auto;
  padding-left: 40px; padding-right: 40px;
  display: flex;
  justify-content: space-between; align-items: center;
}

.m-button{
  display: none;
}

.komoku ul{display: flex;
}

.komoku ul li{margin-left: 20px; margin-right: 20px;
}

.title{display: block; width: 200px;
}

.hajime-title{
  height: 120px; background-image: url(gazou/title_bk.jpg);
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  color: #ffffff;
  display: flex; justify-content: center; align-items: center;
}

.honbun{
  background-color: #ffffff;
  max-width: 800px; margin-left: auto; margin-right: auto;
  padding-top: 40px; padding-left: 20px; padding-bottom: 20px;
  line-height: 25px;
}

.link-banner{
  display: grid; margin-top: 30px;
  grid-template-columns: 100px 600px;
  grid-template-rows: 60px 60px 60px;
}

.footer{background-color: silver; text-align: center;
  margin-left : auto; margin-right : auto;
  padding-top: 20px; padding-bottom: 15px;
}

.f-menu{
  display: flex; justify-content: center;
}

.f-menu li{
  margin-left: 10px; margin-right: 10px;
}

.f-menu li p{
  margin-top: 5px; color: #000000; font-size: 10px;
  text-shadow: 1px 1px 5px #ffffff;
}

.footer p{color: #000000; font-size: 12px;
  margin-top: 10px;
}

.kesu {visibility: hidden;}

@media (max-width: 800px){
  body{
    background-color: #ffffff;
  }
  
  .header{
    position: fixed;
    top: 0; left: 0; right: 0;
    height: 50px;
    z-index: 100;
  }
  
  .header-in{
    padding-left: 20px; padding-right: 20px;
    height: 100%; position: relative;
  }
  
  .m-button{
    display: flex;
    width: 44px; height: 34px;
    color: #000000; font-size: 30px;
    justify-content: center; align-items: flex-end;
    background-color: transparent;
    border: none; border-radius: 0; outline: none;
    position: absolute;
    top: 10px; right: 10px;
  }
  .komoku{
    position: absolute;
    top: 100%; left: 0; right: 0;
    color: #ffffff; background-color: #808080;
    padding-top: 20px; padding-bottom: 30px;
    display: none;
  }
  .komoku.is-show{
    display: block;
  }
  
  .komoku ul{
    display: block;
  }
  
  .komoku li a{
    display: block; width: 120px; text-align: center;
    margin-left : auto; margin-right : auto;
    padding-top: 10px; padding-bottom: 10px;
  }
  
  .main{
    padding-top: 50px;
  }
  
  .hajime-title{
    height: 80px;
  }
  
  .hajime-title h1{
    font-size: 25px;
  }
  
  .honbun{
    max-width: 500px; font-size: 14px;
    padding-top: 20px; line-height: 20px;
  }
  
  .link-banner{
    grid-template-columns: 100px 1fr;
    grid-template-rows: 2fr 1fr 1fr;
    row-gap: 10px;
  }
  
  .f-menu{
    display: grid; grid-template-columns: 100px 100px 100px;
    row-gap: 10px;
  }
  
  .f-menu li p{
    font-size: 8px;
  }
}

@media (max-width: 500px){
  .honbun{
    max-width: 320px;
  }
}