html{
  font-size: 15px;
}
body{
  font-family: 'Noto Sans JP', sans-serif;
}
h2,h3{
  margin-bottom: 2rem;
  font-family: 'Kiwi Maru', serif;
}
.bg-theme{
  background: rgb(243, 170, 182);
}
.apply-hover:hover{
  background: rgba(230,230,230,0.8);
}
.h-1px{
  height: 1px;
}
.h-9px{
  height: 9px;
}
.fs-08{
  font-size: .8rem;
}
.fs-09{
  font-size: .9rem;
}
.fs-10{
  font-size: 1rem;
}

.badge-costom{
  display: inline-block;
  width: 7rem;
  padding: 3px 5px;
  border-radius: 5px;
  color: #fff;
  text-align: center;
  font-size: 0.85rem;
  background-color: rgb(100,100,100);
}

header{
  position: relative;
  background-color: rgb(243, 170, 182);
}
h1{
  margin: 0;
  padding: .3rem 0 .15rem 1rem;
}
h1 img{
  height: 45px;
}
#gnav{
  font-family: 'Kiwi Maru', serif;
  background: rgba(255,255,255,0.6);
}
#gnav ul{
  display: flex;
  margin-bottom: 0;
  padding-left: 0;
  list-style-type: none;
}
#gnav ul a{
  display: inline-block;
  width: 25%;
  padding: 5px 0px;
  border-right: 1px solid rgb(243, 170, 182);
  border-bottom: 1px solid rgb(243, 170, 182);
  color: #3f3f3f;
  text-align: center;
  text-decoration: none;
}
#gnav ul a:nth-of-type(4n-3){
  border-left: 1px solid rgb(243, 170, 182);
}
#gnav a:hover{
  background: rgba(150,150,150,0.1);
}
#gnav a.active{
  font-weight: 500;
  background: rgb(243, 170, 182);
}
#gnav li{
  font-size: 0.8rem;
}
#gnav li::before{
  display: block;
  padding-top: 5px;
  font-family: bootstrap-icons !important;
  font-style: normal;
  font-size: 1.5rem;
  font-weight: normal !important;
  font-variant: normal;
  text-transform: none;
  line-height: 1;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
#gnav ul a:nth-of-type(1) li::before{
  content: "\f425";
}
#gnav ul a:nth-of-type(2) li::before{
  content: "\f701";
}
#gnav ul a:nth-of-type(3) li::before{
  content: "\f194";
}
#gnav ul a:nth-of-type(4) li::before{
  content: "\f194";
}
#gnav ul a:nth-of-type(5) li::before{
  content: "\f194";
}

.showNetaModal{
  position: absolute;
  top: .35rem;
  right: 5px;
  width: auto;
  height: 40px;
  padding: 0px 10px;
}

#netaModal .modal-content{
  border: 5px solid rgb(109, 109, 109);
}
#netaModal .modal-content > *{
  background: rgba(243, 170, 182, 0.3);
}
#netaModal .modal-header{
  border-bottom: none;
}
#netaModal .modal-body{
  padding: 0 1.5rem 1rem 1.5rem;
}
#netaModal .modal-body .alert{
  padding: .5rem;
}
#netaModal_setTable tr th{
  width: 40%;
  padding-top: .5rem;
  font-size: .8rem;
  text-align: center;
}
#netaModal_setTable tr td{
  width: 60%;
  padding-top: .5rem;
}
#netaModal .form-control,#netaModal .input-group-text{
  font-size: .8rem;
}
#netaModal_setTable tr td:nth-of-type(2){
  display: none;
}

main{
  min-height: calc(100vh - 30px);
  background: #fff;
}

section{
  padding: 30px 15px 30px 15px;
}

footer{
  position: relative;
  width: 100%;
  height: 30px;
  color: rgb(220, 220, 220);
  font-size: .5rem;
  text-align: center;
  background: #616161;
}
footer > span{
  position: absolute;
  top: 50%;
  transform: translate(-50%,-50%);
}


@media (min-width:768px){
  html{
    font-size: 18px;
  }
  .fs-md-08{
    font-size: .8rem;
  }
  .fs-md-09{
    font-size: .9rem;
  }
  .fs-md-10{
    font-size: 1rem;
  }
  
  header{
    opacity: 1;
    position: fixed;
    z-index: 4;
    top: 0px;
    left: 0px;
    width: 0px;
  }
  h1{
    padding: 0;
  }
  h1 img{
    padding: 30px 0 0 10px;
    width: 218px;
    height: auto;
  }
  #gnav {
    width: 218px;
    height: 614px;
    padding: 58px 58px 0 0;
    background: url("/img/common/nav_bg.png") no-repeat;
    font-weight: 500;
  }
  #gnav ul{
    display: block;
  }
  #gnav ul a{
    display: block;
    width: auto;
    padding: 0 0 0 15px;
    border: none;
    text-align: left;
  }
  #gnav ul a:nth-of-type(4n-3){
    border: none;
  }
  #gnav a.active{
    color: #4a55be;
    background: rgba(150,150,150,0.1);
  }
  #gnav li{
    font-size: 1rem;
    line-height: 45px;
  }
  #gnav li::before{
    display: inline-block;
    padding-top: 0;
    padding-right: .4rem;
    vertical-align: middle;
    font-family: bootstrap-icons !important;
    font-style: normal;
    font-size: 1rem;
    font-weight: normal !important;
    font-variant: normal;
    text-transform: none;
    line-height: 1;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
  }

  .showNetaModal{
    position: relative;
    width: 160px;
    height: auto;
    margin-left: 20px;
    padding: .375rem .75rem;
  }

  #netaModal .modal-header{
    padding: 1.5rem 1.5rem 1rem 1.5rem;
  }
  #netaModal .modal-body{
    padding: 1rem 1.5rem 1rem 1.5rem;
  }
  #netaModal .modal-body .alert{
    padding: 1rem;
  }
  #netaModal_setTable tr th{
    width: 10rem;
    font-size: 1rem;
  }
  #netaModal_setTable tr td{
    width: 15rem;
  }
  #netaModal .form-control,#netaModal .input-group-text{
    font-size: 1rem;
  }
  #netaModal_setTable tr td:nth-of-type(2){
    display: table-cell;
  }
  
  main{
    min-height: calc(100vh - 50px);
  }

  section{
    padding: 60px 10% 60px 228px;
  }
  
  footer{
    height: 50px;
    font-size: .75rem;
  }
}

@media (min-width:1500px){
  section{
    padding: 60px 300px 60px 300px;
  }
}