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

ul,ol{list-style: none;}

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

h1{
   text-shadow:
      1px 1px 0 #808080, -1px 1px 0 #808080,
      1px -1px 0 #808080, -1px -1px 0 #808080;
}

.gazo{
	border-width : 1px; border-style : groove; border-color : silver;
}
.gazomawari{
  margin-top : 5px;
  margin-left : 5px;
  margin-right : 5px;
  margin-bottom : 5px;border-width : 1px 1px 1px 1px;border-style : groove groove groove groove;border-color : silver silver silver 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;
}

.view{
  max-width: 800px; margin-left: auto; margin-right: auto;
  background-color: #ffffff;
}

.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{
  padding-top: 20px; line-height: 25px;
}

.honbun p{
  padding-left: 10px; padding-right: 10px;
}

h2{
  padding-left: 10px;
  font-size: 18px; margin-bottom: 5px;
}

.nikoli{
  color: #0000ff;
}

.renmon{
  max-width: 800px;
  margin-top: 10px; margin-bottom: 10px;
  border-top: solid 1px silver; border-bottom: solid 1px silver;
  padding-top: 10px; padding-bottom: 30px;
  overflow: scroll; scrollbar-width: none;
}

.renmon ul{
  width: 750px; margin-left: auto; margin-right: auto;
  display: flex; justify-content: center;
}

.renmon li{
  width: 180px; text-align: center;
  padding-left: 10px; padding-right: 10px;
}

.renmon img{
  border-width : 1px; border-style : groove; border-color : silver;
  margin-top: 5px; margin-bottom: 10px;
}

.pzp{
  font-size: 14px;
  color: #0000ff;
}

.pzp:visited{
  color: #551a8b;
}

.mondailink{
  background-color: #e1ecfb; text-align: center;
  max-width: 800px; margin-left: auto; margin-right: auto;
  padding-top: 10px; padding-bottom: 10px;
}

.mondai{
  color: #0000ff;
  padding-left: 20px; padding-right: 20px;
  margin-left: 5px; margin-right: 5px;
}

.mdframe{
  max-width: 800px; margin-left: auto; margin-right: auto;
  padding-top: 30px; padding-bottom: 30px;
  overflow: scroll; scrollbar-width: none;
}

.mdkomoku{
  width: 800px; display: flex;
}
.namae{
  margin-left: 60px; margin-right: 50px;
}

.bango{
  margin-left: 50px;
}

iframe{
  width: 750px; height: 270px; border: none;
  overflow: hidden; margin-left: 20px; margin-right: 10px;
}

.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;
}

.kabu{
  display: flex; justify-content: center; align-items: center;
  margin-top: 10px; margin-bottom: 5px;
}

.mail{
  width: 80px;
}

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

.kesu {visibility: hidden;}

@media (max-width: 800px){
  .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{
    font-size: 14px;
    padding-top: 20px; line-height: 20px;
    
  }
  
  .mondai{
    padding-left: 10px; padding-right: 10px;
  }
  
  .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;
  }
}