@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-width : 1px 1px 1px 1px;border-style : groove groove groove groove;border-color : silver silver silver silver;
}

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

.tabisaki{
  display: none;
}

.m-button{
  display: none;
}

.komoku ul{
  display: flex;
}

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

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

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

.view{
  max-width: 800px; margin-left: auto; margin-right: auto;
  background-color: #ffffff;
  display: flex; flex-direction: row-reverse;
  justify-content: space-between;
}

.navi{
  width: 160px; height: Calc(100vh - 200px); background-color : #e8fdff;
  padding-bottom: 20px;
  position: sticky;
  top: 0; right: 0;
  overflow-y: scroll;
  scrollbar-width: none; -ms-overflow-style: none;
}

.navi li{
  font-size: 14px; margin-top: 20px; padding-left: 10px;
}

.mojihaba{
  display: inline-block;
  transform: scale(0.8, 1);
  transform-origin: left;
  margin-right: -18px;
}

.honbun{
  background-color: #ffffff; padding-bottom: 20px;
  padding-top: 20px; line-height: 1.5;
}

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

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

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

.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;
  }
  
  .title{
    width: 160px;
  }
  
  .tabisaki{
    display: block; background-color: #ffffff; font-size: 14px;
    border: none; border-radius: 5px; outline: none;
    width:80px; height: 30px;
    position: absolute; right: 80px;
  }
  
  .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;
  }
  
  .top-title{
    height: 80px;
  }
  
  .kansaihaku-title h1{
    font-size: 25px;
  }
  
  .view{
    max-width: 500px; font-size: 14px;
    line-height: 20px;
  }
  
  .navi{
    position: fixed; top: 50px; right: 0;
    width: 0; height: Calc(100vh - 50px);
    overflow-y: scroll;
    transition: 0.5s;
  }
  
  .navi.open-list{
    width: 160px;
  }
  
  .f-menu li p{
    font-size: 8px;
  }
}

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