@charset "UTF-8";

html { 
    font-size: 62.5%;
}

body {
    font-family: "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Arial", "Yu Gothic", "Meiryo", sans-serif, "Helvetica Neue", "Helvetica";
    color: #333;
    font-size: 1.6rem;
    line-height: 2rem;
    text-align: center;
    padding-top: 50px;
    background: #a5b7bb url("../img/bg.png");
    background-repeat: repeat;
}

a:link {
    color: #333;
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-color: #eee;
}

a:visited {
    color: #333;
    text-decoration-line: underline;
    text-decoration-style: wavy;
    text-decoration-color: #eee;
}

h1 {
    display: block;
    font-size: 3.2rem;
    line-height: 1.3em;
    font-weight: bold;
    margin: 20px;
}

h2{
    display: block;
    font-size: 2.4rem;
    font-weight: bold;
    color: #fff;
    margin: 50px 0 12px;
}

p{
    margin-bottom: 1.0rem;
}

small{
    font-size: 0.6em;
    line-height: 1.2em;
}

strong{
    font-weight: bold;
}

.cb{
    clear: both;
}

.thumb-container {
    width: 75%;
    margin: 0 auto;
    grid-column: auto;
    margin-top: 50px;
}

.thumb {
    display:inline-block;
    margin: 0 5px 15px;
    position: relative;
}

.thumb img {
    border: solid 1px #fff;
    width: 200px;
    height: 200px;
    padding: 10px;
    object-fit: cover;
}

.new img {
    border: solid 1px #980c24;
}

.off img {
    border: solid 11px #bbb;
    padding: 0px;
}

/* label */
.label::before {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    border-top: 3em solid transparent;
    border-right: 3em solid #eee;
}

.label.link-int::after {
    content: "\f061";
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    bottom: 4px;
    right: 7px;
    color: #a5b7bb;
    font-weight: bold;
}

.label.link-ext::after {
    content: "\f08e";
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    bottom: 4px;
    right: 7px;
    color: #777;
    font-weight: bold;
}

.label.zoom::before {
    bottom: 10px;
    right: 10px;
}

.label.zoom::after {
    content: "\f00e";
    font-family: 'Font Awesome 5 Free';
    position: absolute;
    bottom: 15px;
    right: 16px;
    color: #a5b7bb;
    font-weight: bold;
}

#credit {
    font-size: 1.2rem;
    line-height: 1.6rem;
    color: #eee;
    margin: 80px 0 30px;
}

/* mobile */
@media only screen and (max-width:820px) {
    h1 {
        font-size: 2.9rem;
    }

    h2{
        font-size: 2.1rem;
        margin: 50px 0 10px;
    }
    
    .thumb-container {
        width: 85%;
        margin: 0 auto;
        grid-column: auto;
    }
        
    .thumb {
        display:inline-block;
        margin: 0 5px 15px;
        position: relative;
    }

    .thumb img {
        width: 120px;
        height: 120px;
        padding: 7px;
        object-fit: cover;
    }

    .label.zoom::before{
        bottom: 7px;
        right: 6px;
    }
    
    .label.zoom::after {
        bottom: 12px;
        right: 12px;
    }
    
}

/* PC */
@media only screen and (min-width:820px)  {
    .sp { 
        display:none; 
    }
}

/* popup */
#modal-container {
    display: none;
    position: fixed;
    background: rgba(0, 0, 0, 0.6);
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 99;
}

#modal-container > div {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    height: 100vh;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

#modal-container > div > img {
    max-width: calc(100vw - 30px);
    max-height: calc(100vh - 30px);
}

img.popup {
    border: none;
    cursor: pointer;
}

/* returntotop */
#pagetop {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 14px;
    line-height: 1;
    z-index: 99;
  }
  #pagetop a {
    background: #777;
    text-decoration: none;
    color: #fff;
    width: 60px;
    padding: 18px 2px;
    text-align: center;
    display: block;
    border-radius: 90px;
    opacity: 0.7;
    transition: all .3s ease;
  }
  #pagetop a:hover {
    text-decoration: none;
    opacity: 0.4;
  }