@charset "utf-8";
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Hirago Kaku Gothic pro','Meiryo','sans-serif'; 
    font-size: 16px;
    margin: 0 auto;
    width: 1200px;
}
main {
    display: grid;
    grid-template :
    "item     gallery " 260px
    "gallery2 gallery2" 525px
    /350px 850px;
}
.item {
    grid-area: item;
    text-align: center;
    position: relative;
    background-color: #737c7f;

    /*background-color: #9ba6aa;*/
}
.item h3 {
    position: absolute;
    padding-top: 113px;
    padding-left: 205px;
    font-size: 16px;
    font-weight: bold;
    color: #f8e055;
}

.Message {
    position: absolute;
    margin-top: 5px;
    margin-left: 25px;
    font-size: 11px;
    color:#fff;
}
.item img {
    padding-top: 110px;
}
fieldset {
    position: absolute;
    margin-top: 55px;
    margin-left: 80px;
    padding-top: 5px;
    padding-left: 5px;
    font-size: 11px;
    color: #fff;
}
legend {
    font-size: 12px;
}
fieldset span {
    font-size: 12px;
}
.gallery {
    grid-area: gallery;
    background-color: #737c7f;
    padding-top: 20px;
    padding-left: 5px;
}
.gallery img{
    width: 160px;
    padding: 2px;
    filter: grayscale(100%);
    transition: 1s;
    cursor: pointer;
}
.gallery img:hover {
    filter: grayscale(0);
    transform: scale(1.1);
}
.gallery2 {
    text-align: center;
    grid-area: gallery2;
    justify-content: center;
    align-items: center;
    padding-top: 15px;
    background-color: #737c7f;
    /*--background-color: rgb(179, 149, 149);--*/
} 
.gallery2 img {
    width: 110px;
    gap: 10px;
    filter: grayscale(100%);
    transition: 1s;
    cursor: pointer;
}
.gallery2 img:hover {
    filter: grayscale(0);
    transform: scale(1.1);
}
.gallery2_area2 {
    margin-top: 10px;
}
.gallery2_area3 {
    margin-top: 10px;
}
/*---
h1 {

    font-size: 50px;
    margin: 10px 0;
    color: lightseagreen;
    font-weight: 500;
} --*/


footer {
    height: 50px;
    /*background-color: #3a3a3a;
    background-color: #898989; */
}
