@charset "utf-8";
/* CSS Document */
header {
    width: 100%;
    padding: 30px 4% 10px;
    background-color: #fff;
    top: 0;
	display: flex;
    align-items: center;
}
h1 {
    margin: 0; padding: 0;
    font-size: 20px;
}

a {	
   text-decoration: none;
   color: #4b4b4b;
}


/* top */
.main {
  width: 100%; 
 display: flex;
 justify-content: center;
	list-style: none;
	margin: 10px;
}	


.main img{
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 20px;
  color: #333333;
  background-color: #dddddd;
  font-size: 30px;
  width: 450px;
  height: 350px;
  border-radius: 3px;
  box-shadow: 0px 3px 7px 0px rgba(0, 0, 0, 0.1);
} 

.text-box-01 {
    margin: auto;
	width: 80%;
    border: 3px double #ddd;
    padding: 50px 100px;
}
.text-box-01 img{
width:100%;
	object-fit:contain;	
}
.sub {
  width: 100%; 
}
.sub img{
  display: flex;
	margin: auto;
	margin-bottom: 10px;
  color: #333333;
  background-color: #dddddd;
  font-size: 30px;
  width: 70%;
  border-radius: 3px;
}

.linktext {
	color:rgba(0,5,255,1.00);
	font-weight:bold;
}
/* */
@media screen and (max-width: 640px) {
	
.main {
	margin: 0 auto;
   display: flex;
   flex-direction: column;
   align-items: center;
}
		
h2 {
   line-height: 1.6;
   text-align: center;
}
.text-box-01 {
    margin: auto;
	width: 100%;
    padding: 20px;
}
	
.sub img {
	width: 100vw;
    height: auto;
	margin-bottom: 10px;
	}	

}
