/* --------------------------------------------
    共通
-------------------------------------------- */
html{
    background-color: #946516;
}

body {
    font-family:'Lucida Sans', 'Lucida Sans Regular', 'Lucida Grande', 'Lucida Sans Unicode', Geneva, Verdana, sans-serif;
    background-color: #eeeeee;
    color: #000000;
    padding-left: 50px;
    padding-right: 50px;
    padding-top: 50px;
    padding-bottom: 50px;
    border-radius: 10px;
}
@media(max-width:767px) {
    body {
        margin: 10px;
    }
}
@media(min-width:768px) {
    body{
        margin: 30px;
    }
}

a {
    text-decoration: none;
    color: #000000;
}

.visible{
    visibility: visible;   
}

.invisible{
    visibility: hidden;   
}

/* --------------------------------------------
    ヘッダー
-------------------------------------------- */
@media(max-width:767px) {
    .main-header {
        position: fixed;
        width: 100%;
        top: 0;
        left: 0;
    }
}
@media(min-width:768px) {
    .main-header {
        display: flex;
        justify-content: space-between;
        margin-top: 40px;
    }
}

.main-header-left{
    font-size: 1.5rem;
    font-weight: bold;
    display: flex;
    align-items: center;
}

@media(max-width:767px) {
    .main-header-left{
        padding-top: 40px;
        padding-left: 30px;
    }

    .main-header-right{
        float: right;
        padding-top:20px;
        padding-right: 20px;
    }
}
@media(min-width:768px) {
    .main-header-left{
    }

    .main-header-right{
        display: flex;
        align-items: center;
    }
}

.nav-item-wrapper {
    display: inline-block;
}
@media(max-width:767px) {
    .nav-item-wrapper{
        margin-left: 5px;
        margin-right: 5px;
    }
}
@media(min-width:768px) {
    .nav-item-wrapper{
        margin-left: 20px;
        margin-right: 20px;
    }
}

.nav-item {
    font-weight: bold;
    border: 4px transparent solid;
}

@media(max-width:767px) {
    .nav-item{
        padding: 5px;
    }
}
@media(min-width:768px) {
    .nav-item{
        padding: 10px;
    }
}

.nav-item.active {
    border: 4px #000000 solid;
    border-radius: 5px;
}

.nav-item:hover {
    border: 4px #000000 solid;
    background-color: #000000;
    color: #eeeeee;
    border-radius: 20px;
    transition: 0.5s;
}

/* --------------------------------------------
    本体
-------------------------------------------- */
@media(max-width:767px) {
    .main-body{
        margin-top: 100px;
    }
}
@media(min-width:768px) {
    .main-body{
        margin-top: 70px;
    }
}

/* ---------------------
    Selected Work
--------------------- */
.img-works-wrapper {
    overflow: hidden;
}

.img-works-area {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
}

.img-works-wrapper {
    height: auto;
    text-align: center;
    border-radius: 10px;
}
@media(max-width:767px) {
    .img-works-wrapper {
        width: 100%;
    }
}
@media(min-width:768px) {
    .img-works-wrapper {
        width: 25%;
    }
}

.img-works-wrapper:hover{
    background-color: rgba(0, 0, 0, 0.2);
    transition: 1.0s;
}

.img-works {
    height: auto;
    object-fit: contain;
    margin-top: 10%;
    margin-bottom: 10%;
    border-radius: 10px;
}
@media(max-width:767px) {
    .img-works {
        width: 90%;
    }
}
@media(min-width:768px) {
    .img-works {
        width: 70%;
    }
}

/* ---------------------
    Information
--------------------- */
.news{
    border-top: 1px solid #000000;
    border-bottom: 1px solid #000000;
    width: fit-content;
}

.newsItem{
    display: flex;
}

.newsItemDate{
    margin-right: 20px;
}

.newsItemText{
    margin-right: 50px;
}

@media(max-width:767px) {
    .news{
        width: 100%;
    }

    .newsItem{
        flex-direction: column;
        font-size: 0.8rem;
    }
    .newsItemText{
        margin-bottom: 10px;
    }
}



.info-body{
    margin: 0 auto;
    font-size: 0.9rem;
    line-height: 2.0rem;
}
@media(max-width:767px) {
    .info-body{
        width: 100%;
    }
}
@media(min-width:768px) {
    .info-body{
        width: 70%;
    }
}


.info-body-title{
    font-weight: bold;
    font-size: 1.1rem;
}

/* --------------------------------------------
    フッター
-------------------------------------------- */
.footer{
    width: 50%;
    margin-top: 100px;
    margin-bottom: 20px;
    margin-left: auto;
    margin-right: auto;
}
@media(max-width:767px) {
    .footer{
        width: 100%;
    }
}

.linkListTitle{
    font-weight: bold;
    text-align: center;
    margin-bottom: 10px;
}

.linkList{
    display: flex;
    justify-content: space-between;
}

.linkItem{
    font-weight: bold;
    background-color: #946516;
    display: block;
    color: #eeeeee;
    padding: 10px 20px;
    border-radius: 10px;
    transition: 0.5s;
}
@media(max-width:767px) {
    .linkItem{
        padding: 5px 10px;
        font-size: 0.8rem;
        margin: 2px;
    }
}

.linkItem:hover{
    opacity: 0.5;
}

.copyright{
    text-align: center;
    font-size: 0.8rem;
    margin-top: 30px;
}

/* --------------------------------------------
    画像ビューワー
-------------------------------------------- */

.img-viewer {
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 333333;
}

.img-viewer-img-wrapper{
    display: flex;
    justify-content: center;
    align-items: center;
}

@media(max-width:767px) {
    .img-viewer-img{
        width: 90vw;
        height: auto;
    }
    .btn-close-wrapper{
        width: 100%;
        height: auto;
        display: flex;
        justify-content: flex-start;
    }
}
@media(min-width:768px) {
    .img-viewer-img{
        width: auto;
        height: 90vh;
    }
    .btn-close-wrapper{
        width: 90%;
        display: flex;
        justify-content: flex-start;
    }
}

.btn-close-img-viewer{
    border-radius: 20px;
    font-size: 1.2em;
    padding: 10px 20px;
    background-color: transparent;
    color: #ffffff;
    border: none;
}
@media(max-width:767px) {
    .btn-close-img-viewer{
        margin-bottom: 5vw;
        margin-right: 5vw;
    }
}

/* --------------------------------------------
    広告
-------------------------------------------- */
.btnClearAd{
    text-align: center;
    display: none;
    position: fixed;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
}

@media(max-width:767px) {
    .btnClearAd {
        display: block;
    }
}

/* --------------------------------------------
    類似サイト
-------------------------------------------- */
.similarLink{
    position: absolute;
    top: 30vh;
    right: 60px;
}

.similarLinkItem{
    border-radius: 5px;
    margin-left: auto;
    margin-bottom: 20px;
    width: 15vw;
    position: relative;
    overflow: hidden;
}

.similarLink a{
    display: block;
    transition: 0.5s;
}

.similarLink a:hover{
    transform: scale(1.3);
}

.similarLink img{
    border-radius: 5px;
    width: 100%;
    height: 5vw;
    filter: brightness(50%);
    object-fit: cover;
}

.similarLinkItemText{
    font-weight: bold;
    color: #ffffff;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

@media(max-width:767px) {
    .similarLink{
        position: static;
        top: auto;
        right: auto;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        margin-bottom: 50px;
    }

    .similarLinkItem{
        margin-bottom: 5px;
        width: 100%;
    }

    .similarLink img{
        height: 10vw;
    }

    .similarLinkItemText{
        font-size: 0.8rem;
    }
}
