@charset "UTF-8";

/*リセットCSS----------------------------*/
* {
    margin: 0;
    padding: 0;
    list-style: none;
    text-decoration: none;
}

/*--------------------------------------*/
body {
    background-image: url("images/haikei.jpg");
    background-size: cover;
}

#wrap {
    margin: 0 auto;
}

img {
    width: 100%;
}

#imgSet {
    display: grid;
    max-width: 95%;
    margin: auto;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    padding: 60px 0;
}

#ImgSet li {
    margin-right: 10px;
}

#ImgSet li:last-of-type {
    margin-right: 0;
}

#imgSet li {
    padding: 0 5px 5px;
    box-sizing: border-box;
    width: 55.55%;
}

#gallery {
    display: grid;
    max-width: 1000px;
    margin: auto;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
}

.img-item {
    opacity: 0;
    filter: blur(10px);
    width: 100%;
}

.img-item img {
    width: 100%;
    height: auto;
}

.img-item p {
    text-align: center;
}

header {
    background: #ffb2b2;
    color: #ffffff;
    padding: 20px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.main-menu {
    background: #ff9494;
    position: absolute;
    top: 20px;
    right: 20px;
}

.main-menu ul {
    display: flex;
    justify-content: end;
}

.main-menu ul li a {
    color: #FFF;
    display: block;
    padding: 10px 20px;
}

.main-menu ul li a:hover {
    background: #a55757;
}

main {
    height: 1200px;
}

section {
    flex: 3;
    padding: 20px;
}

article {
    background: #ffffff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 15px;
}

h2 {
    margin: 0 0 1%;
}

.sub-menu {
    background: #bddbfb;
}

.sub-menu ul li a {
    color: #FFF;
    display: block;
    padding: 10px 20px;
}

.sub-menu ul li a:hover {
    background: #ffc881;
}

footer {
    color: #FFF;
    padding: 20px;
    text-align: center;
}

a.pagetop {
    display: block;
    width: 50px;
    height: 50px;
    text-align: center;
    box-sizing: border-box;
    padding-top: 12px;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: #333;
    color: #FFF;
    position: fixed;
    bottom: 0;
    right: 20px;
}

html {
    scroll-behavior: smooth;
}