@charset "utf-8";ß

html {
    font-size: 62.5%;
}
.wrapper {
    height: 100%;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    font-family: 'Noto Sans JP', sans-serif;
    font-family: 'Roboto', sans-serif;
}
body {
    background-image: url(../images/background.jpg);
    background-repeat: repeat;
    width: 100%;
    height: auto;
    margin: 0 auto;
}
h1 {
    text-align: center;
    padding: 15px;
    margin-left: 50px;
}
a {
    text-decoration: none;
    color: #333;
}
nav {
    font-size: 1.4rem;
    width: 100%;
    height: 80px;

}
nav ul {
    display: flex;
    justify-content: space-evenly;
    height: 80px;
    align-items: center;
}
header{
    display: flex;
    align-items: center;
    margin: 0 auto;
    width: 100%;
    height: 120px;
}
img {
    display: block;
    margin: 0 auto;
}
main{
    background-color: #fff;
    padding-top: 30px;
    padding-bottom: 30px;
    margin: 0 15px 0;
}
#top img{
    padding: 10px;
    margin: 50px auto;
}
footer {
    text-align: center;
    margin-top: auto;
}
.line {
    border-bottom: #777 solid 1px;
    padding-bottom: 2px;
}
/* News---------------------------- */
h2{
    color: #333;
    margin-left: calc(calc(100% - 600px) / 2);
    font-size: 1.2rem;
    font-family: 'Roboto', sans-serif;
    margin-bottom: 10px;
    font-weight: 400;
}
.link {
    padding-right: 20px;
    background-image: url(../images/icon_blank.png);
    background-repeat: no-repeat;
    background-position: right center;
}
.gray{
    color: #777;
}
article{
    color: #333;
    margin-left: calc(calc(100% - 600px) / 2);
    margin-top: 10px;
}
dl,dt {
    line-height: 2rem;
}
dd{
    line-height: 1.6rem;
}
#mobile{
    display: none;
}
/* Works---------------------------- */
.lb-nav a.lb-next, .lb-nav a.lb-prev{
    opacity: 1;
}
.lb-nav {
    width: 130%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.lb-data .lb-caption {
    font-family: 'Noto Sans JP','Roboto', sans-serif, sans-serif;
}
.lightbox .lb-image {
    border: none;
}
.lb-outerContainer {
    background-color: #0000ff00;
}

/* painting---------------------------- */
.burgermenu ul{
    height: auto;
    padding: 10px;
}
.burgermenu{
    margin-bottom: 20px;
}
#painting a{
    margin: 0 50px 30px;
}
#painting img {
    width: 80%;
    height: auto;
}
#painting {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    justify-items: center;
    align-items: center;

}
/* Bio---------------------------- */
p{
    color: #333;
}
dd span {
    padding-left: 10px;
}
.blank{
    padding-left: 2px;
}
#en ,#ja {
    margin-left: calc(calc(100% - 600px) / 2);
}
#en {
    margin-bottom: 50px;
}
#en dt{
    font-size: 1.2rem;
}
#ja dt{
    font-size: 1rem;
}
/* Contact---------------------------- */
#contact{
    margin-left: calc(calc(100% - 600px) / 2);
}
#contact p {
    margin-left: 38px
}
/* responsive768---------------------------- */
@media screen and (max-width: 768px){
    h1{
        margin-left: 0;
    }
    #top img,#newslink img{
        width: 80%;
        height: auto;
        margin: 0 auto;
    }
    #painting{
        grid-template-columns: 1fr 1fr;
    }
    #en, #ja{
        padding: 10px;
        margin: 0 auto;
    }
    #contact{
        margin: 0 auto;
        overflow: hidden;
    }
    #contact p {
        padding: 10px;
        margin: 0;
    }
    iframe{
        width: 100%;
    }
    dt{
        padding: 10px 0;
    }
    #newslink h2,#newslink article {
        margin: 10px;
    }
}
/* responsive425---------------------------- */
@media screen and (max-width: 425px){
    #mobile{
        display: block;
    }
    #pc {
        display: none;
    }
    h1 {
        margin: 0 auto;
    }
    #mobile nav ul{
        display: block;
        text-align: center;
    }
    #painting{
        grid-template-columns: 1fr;
    }
    .lb-nav a.lb-next, .lb-nav a.lb-prev {
        opacity: 0;
    }
}