* {
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}


/*body {
	display: grid;
	align-items: center;
	place-items: center;
	height: 40vh;
}*/



body {
	background-color: #FFFFFF;
	/*width: 1000px;*/
	margin: auto;
	text-align: center;
	min-height: 100vh;
    position: relative;/*←相対位置*/
	padding-bottom: 50px;/*←footerの高さ*/
    box-sizing: border-box;/*←全て含めてmin-height:100vhに*/
	
}
@media screen and (max-width: 821px) {
	body{
		width: auto;
	}
}


/*main {
	width: 60%;
	border: 1px solid #035700;
	background: rgb(215, 252, 225);
	padding: 2em;
	display: flex;
	justify-content: center;
}*/

/*検索窓*/
.box-srch{
	width:400px;
	height: 40px;
	padding: 0.2em;
	
}
@media screen and (max-width: 467px) { 
	.box-srch{
		width: 300px;
		height: 30px;
  	}
}
/*検索ボタン*/
.btn-srch{
	width: 60px;
	height: 40px;
	padding: 0.2em;
}
@media screen and (max-width: 467px) { 
	.btn-srch{
		width: 50px;
		height: 30px;
  	}
}


/*h1 {
	padding: 0.5em;
	background: rgb(240, 255, 244);
	box-shadow: 0 0 4px rgba(13, 194, 91, 0.23);
	margin: auto;
	width: 400px;
	
}*/
/*form.php*/
div.form{
	margin: 15px auto;
	text-align: center;
	font-size: 20px;
	width: 400px;
	font-weight: bold;
}

textarea {
	resize: none;
  }

form.input{
	text-align: left;
	width: 400px;
	margin:auto;
}

.box-input{
	text-align:left;
	width: 400px;
	height: 30px;
	padding: 0.5em;
	margin-top:  0px;
	margin-bottom: 5px;

}
.text-input{
	text-align:left;
	width: 400px;
	height: 100px;
	padding: 0.5em;
	margin:  0px auto;

}
.btn-input{
	text-align: center;
	width: 50px;
	height: 30px;
	margin:  5px auto 5px auto;
}
@media screen and (max-width: 420px) { 
	div.form{

		width: 95%;
	}
	form.input{
		width: 95%;
	}
	.box-input{
		width: 95%;
	}
	.text-input{
		width: 95%;
	}
}

form.conf{
	text-align: left;
	width: 400px;
	margin: auto;
}


.btn-conf{
	text-align: center;
	width: 50px;
	height: 30px;
}

/*about.php*/
div.about{
	margin: 15px auto;
	text-align: left;
	font-size: 20px;
	width: 700px;
	font-weight: bold;
	
	
}
@media screen and (max-width: 420px) { 
	div.about{
		width: auto;
		font-size: 13px;
		margin: 15px 4px 5px 4px;
  	}
}

p.about{
	text-align: left;
	font-size: 16px;
	width: 700px;	
	margin: auto;
}
@media screen and (max-width: 420px) { 
	p.about{
		width: auto;
		font-size: 12px;
		margin: 0px 4px 0px 4px;
  	}
}

p.a{/*該当件数*/
	margin: 10px;
}
@media screen and (max-width: 420px) { 
	p.a{
		margin: 5px;
		font-size: 15px;
  	}
}


p.b{/*薬品瓶を開封したけど、～*/
	/*margin: 10px;*/
	margin: 0px 0px 10px 0px;/*上右下左*/
	font-size: 14px;
	}
@media screen and (max-width: 420px) { 
	p.b{
		margin: 0px 0px 5px 0px;
		font-size: 12px;
  	}
}

p.c{/*※の文*/
	font-size: 11px;
	margin: 3px;
	
	}
@media screen and (max-width: 420px) { 
	p.c{
		width: 70%;
		margin: auto;
		/*margin: 5px;*/
		font-size: 10px;
  	}
}


img {
	margin: 10px;
}
@media screen and (max-width: 420px) {
	img {
		width: auto;
	}
}


/*h5{
	margin: 5px;
}
@media screen and (max-width: 420px) { 
	h5{
		margin: 5px;
		font-size: 11px;
  	}
}*/

table{
	width:900px;
	text-align: center;
	margin: auto;
	border-collapse: collapse;
	border-spacing: 0;
	font-size: 14px;
}
@media screen and (max-width: 1000px) { 
	table{
		width: 90%;
  	}
}
@media screen and (max-width: 420px) { 
	table{
		width: 95%;
		font-size: small;
  	}
}

tr {
	background: #9dedad;
}

th {
	padding: 10px 2px;
	background: #2fbe6b;
	border: solid 1px #ffffff;
	color: #ffffff;
}
@media screen and (max-width: 420px) { 
	th{
		padding: 2px;
		font-size: 10px;
  	}
}

td {
	padding: 5px;
	border: solid 1px #ffffff; 
}
@media screen and (max-width: 420px) { 
	td{
		padding: 2px;
		font-size: 10px;
  	}
}

/*.wrapper{
    min-height: 100vh;
    position: relative;/*←相対位置
	padding-bottom: 120px;/*←footerの高さ
    box-sizing: border-box;/*←全て含めてmin-height:100vhに
}*/

footer{
	width:100%;
	
	position: absolute;
	bottom: 0;
	
	font-size: small;
	/*width: 100%;
	margin:auto;*/
	
	/*text-align: center;*/
}
/*@media screen and (max-width: 821px) {
	footer{
		width: auto;
	}
}*/
@media screen and (max-width: 420px) { 
	footer{
		/*width: 420px;*/
		/*width: 100%;*/
		font-size: x-small;
  	}
}


/*ハンバーガー　チェックボックスを非表示*/
  /*ヘッダー*/
  header {
	  /*position: relative;*/
	  padding: 0px;
	  background-color: #fff;
  }

  /*ハンバーガーアイコン*/
  .btn-icon {
	  cursor: pointer;
	  display: block;
	  width: 50px;
	  height: 60px;
	  position: absolute;
	  top: 5px;
	  right: 5px;
  }
  
  /*ハンバーガーアイコンを作る三本線*/
  .icon, .icon:before, .icon:after {
	  position: absolute;
	  top: 0;
	  right: 0;
	  left: 0;
	  bottom: 0;
	  height: 2px; 
	  width: 25px; 
	  background-color: #444;
	  border-radius: 2px;
	  display: block;
	  content: '';
	  cursor: pointer;
	  margin: auto;
  }
  
  /*三本線の間隔*/
  .icon:before {
	top: 10px;
  }
  .icon:after {
	top: -20px;
  }
  
  /*チェックボックス非表示*/
  .ham-menu {
	  display: none;
  }
  
  /*アイコンをクリックしたら*/
  .ham-menu:checked ~ .btn-icon .icon {
	  background: transparent;
  }
  .ham-menu:checked ~ .btn-icon .icon:before {
	  transform: rotate(-45deg);
	  top: 0;
  }
  .ham-menu:checked ~ .btn-icon .icon:after {
	  transform: rotate(45deg);
	  top: 0;
  }
 
  
  /*中身*/
  .nav {
	  background-color: #ffffff;
	  
  }
  .navi-list a {
	  display: block;
	  text-decoration: none;
	  color: rgb(0, 0, 0);
  }
  
  .navi-list {
	  list-style: none;
	  display: none;
	  margin: 0;
	  padding-left: 20px;
  }
  
  .navi-list li {
	  margin: 0;
	  padding: 5px;
  }
  
  .ham-menu:checked ~ .nav .navi-list {
	  display: block;
  }
  
  @media screen and (min-width: 821px) {
  .btn-icon {
	  display: none;
  }
  header {
	  padding: 10px;
  }
  .ham-menu:checked ~ .nav .navi-list {
	  display: none;
  }
  .nav {
	  height: 20px;
	  text-align: center;
  }
  .navi-list {
	  display: flex;
	  justify-content: center;
	  height: 20px;
	  align-items: center;
  }
  .navi-list li:not(:last-child) {
	  border-right: 1px solid #fff;
  }
}