@charset "UTF-8";
main{ 

}
.nazemono_header{
  background: url(../img/bg.jpg) center;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 1rem;
	text-align: center;
}
.nazemono_header h1 {
  text-align: center;
  margin: 0.5rem auto 1rem;
}
.nazemono_header h1 img{
  width: 98%;
}

.nazemono_info {
  padding: 20px;
}
.info_item {
  margin-bottom: 15px;
}
.info_label {
  display: inline-block;
  background-color: #000;
  color: #fff;
  padding: 5px 10px;
  border: 2px solid #000;
  margin-bottom: 5px;
  border-radius: 6px;
  font-weight: bold;
}
.info_text {
  display: block;
  margin-top: 5px;
  font-size: 1.8rem;
  font-weight: bold;
  color: #000;
  text-shadow:
           1px 1px 0px #fff, -1px -1px 0px #fff,
          -1px 1px 0px #fff,  1px -1px 0px #fff,
           1px 0px 0px #fff, -1px  0px 0px #fff,
           0px 1px 0px #fff,  0px -1px 0px #fff;
}

.nazemono_topimg {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
}
.nazemono_subimg {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.subimg {
  width: 100%; 
  height: auto;
  display: block; 
}

.nazemono_box {
  color: #000;
  font-size: 1.3rem;
  font-weight: 400;
  line-height: 1.5;
  padding: 1.8rem;
  background:#fff;
  max-width: 86rem;
  margin: 1rem auto 2rem;
  border: solid 3px #000;
  text-align: center;
}
.nazemono_header p{
  color: #000;
  text-align: left;
  font-size: 1.2rem;
  line-height: 1.5;
  padding: 2rem 0;
}
.sp{
  display: none;
}




@media screen and (min-width:768px) {
  .nazemono_header {
    background: url(../img/bg_header.jpg) center0 no-repeat;
    background-size: cover;
    text-align: center;
    padding: 2rem 1.5rem 3rem;
  }
  .nazemono_header h1 {
    margin: 0.5rem auto 0 ;
    width: 70rem;
  }
  .nazemono_info {
    display: grid;
    grid-template-columns: auto auto;
    justify-content: center;
    gap: 10px 30px;
  }
  .info_item {
    display: contents;
  }
  .info_label {
    width: 100px;
    text-align: center;
    margin-bottom: 0;
  }
  .info_text {
    margin-top: 0;
    align-self: center;
    font-size: 2.8rem;
    text-align: left;
  }
	
  .nazemono_topimg {
    max-width: none;
	  
  }
  .nazemono_box p{
    font-size: 1.8rem;
    line-height: 2;
    text-align: center;
  }
  .sp{
    display: inline;
}
  
	
	
}