@charset "utf-8";

body{
  margin: 0;
  line-height : 1.5;
  text-decoration : none;
  color: rgba(102, 102, 102, 1.0);
}

.container{
  display: grid;
  grid-template-rows: 130px 120px repeat(2, auto);
  grid-template-columns: 1fr 1fr;
  justify-content: center;
}

.boxA{
  grid-row: 1/ 2;
  grid-column: 1/ 2;
  padding-top: 20px;
  padding-left: 20px;
  background-color:rgba(255, 255, 255, 1.0);
}

.boxB{
  grid-row: 1/ 2;
  grid-column: 2/ 3;
  padding-top: 20px;
  padding-right: 20px;
  text-align : right;
  background-color:rgba(255, 255, 255, 1.0);
}

.boxC{
  grid-row: 2/ 3;
  grid-column: 1/ 3;
  background: linear-gradient(rgba(255, 255, 255, 1.0), rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0));
}

.boxD{
  grid-row: 3/ 4;
  grid-column: 1/ 3;
  text-align : center;
}

.boxE{
  grid-row: 4/ 5;
  grid-column: 1/ 3;
  padding-bottom: 50px;
  text-align : center;
}

.header{
  position: fixed;
  width: 100%;
  height: 250px;
}

.main{
  width: 100%;
  height: 100%;
}

.weight{
  font-weight: bold;
}

p{
  margin: 0;
}

ul{
  margin: 0;
}



@media screen and (max-width: 504px){

body{
  line-height : 1.2;
}

.container{
  display: grid;
  grid-template-rows: 90px 40px repeat(2, auto);
  grid-template-columns: calc(100vw - 155px) 155px;
  justify-content: center;
}

.boxA{
  padding-top: 10px;
  padding-left: 10px;
}

.boxB{
  padding-top: 10px;
  padding-right: 10px;
}

.boxD{
  padding-left: 10px;
  padding-right: 10px;
}

.boxE{
  padding-left: 10px;
  padding-right: 10px;
}

.header{
  height: 130px;
}

.logo{
	max-width: 100%;
       height: auto;
}

.tate{
	max-width: 70%;
       height: auto;
}

.yoko{
	max-width: 100%;
       height: auto;
}

.left{
    text-align: left;
}

}
