@charset "UTF-8";

/* 共通部分 */
*  {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "M PLUS Rounded 1c", sans-serif; 
    font-size: 100%;  
}

body {
    width: 100vw;
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
}

/* タイトルバー */
header {
    position: sticky;
    top: 0;
    z-index: 9999;
    height: 6vh;
    width: 100vw;
}

.page-header {
    display: flex;
    align-items: center;
    height: 6vh;
    text-align: center;
    text-decoration: none;
    justify-content: space-around;
    background-color: #af8f4f;
}

.site-title {   /* さんのアトリエの文字 */
    width: 50%;
    color: #5c4d35;
    padding-left: 5vw;
    font-size: 2rem;
    font-weight: lighter;
    font-family: 'Cherry Bomb One';
}

.site-title span {   /* TAMUの文字 */
    color: #765925;
    font-size: 2.3rem;
    font-family: 'Cherry Bomb One';
}


.btn {
    list-style: none;
}

.btn a {
    color: #3d405b;
    font-size: 1.1rem;
    padding: 5px 20px;
    background-color: #a9b4b9;
    border-radius: 5px;
    text-decoration: none;
    font-family: "M PLUS Rounded 1c", sans-serif; 
    margin-left: 1rem;
    box-shadow: 0 3px grey;
    transition: all 0.3s;
}

.btn a:hover {
    background-color:  #9bd2f2;
    transform: scale(1.2);
}

/* ページ全体ののタイトル */
.gallery-title {
    height: 13vh;
    text-align: center;
    margin-top: 0;
}

h2 {
    font-size: 2rem;
    text-align: center;
    color: rgb(72, 82, 131);
    margin-top: 1vh;
}

.gallery-title p {
    text-align: center;
    font-size: 1rem;
    color: rgb(72, 82, 131);
    margin: 1vh 0 1vh;
}

.sp_p {
    display: none;
}

.sp_br {
    display: none;
}

ul {
    display: flex;
    justify-content: space-between;
    border-bottom: 2px #78515f solid;
    padding: 0 30vw 0;
}

li {
    font-size: 1rem;
    list-style: none;
    
}

li a {
    text-decoration: underline;

}

li a:link {
    color: dodgerblue;
}

li a:hover {
    color: rgb(72, 82, 131);
}

/* カテゴリーごとのグループ分け */
.gallery-content {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    flex-wrap: wrap;
    max-width: 1500px;
    height: auto;
} 

h3 {
    text-align: center;
    font-size: 1.5rem;
    padding: 0.5rem .875rem;
    color: #fff;
    background: rgb(72, 82, 131);
}

.wrapper {
    align-items: center;
    max-width: 1500px;
    margin: 1vh auto 0;
    padding: 0 4%;
    }

/* 個々のコンテンツ */

.category-list {
    max-width: 25vw;
    margin-bottom: 1vh;
}

.work-list {
    margin-bottom: 2vh;
}

.work-image {
    width: 25vw;
    max-width: 350px;
    background: #fff;
}

.lum-lightbox.lum-open {
    z-index: 4;
}

.lum-lightbox-inner img {
    max-width: 95vw;
    max-height: 80vh;
}

.work-image a img {
    object-fit: cover;
    width: 100%;
}

.work-title {
    width: 25vw;
    max-width: 350px;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0.5rem 1rem 1rem;
    text-align: center;
}
.work-text {
    width: 25vw;
    max-width: 350px;
    height: 5rem;
    font-size: 0.9rem;
    line-height: 1.6;
}

/* フッター */
footer {
    height: 6vh;
    background-color: #af8f4f;
    text-align: center;
    text-decoration: none;
    padding-top: 1vh;
}

footer p {
    font-size: 1.2rem;
}

.lum-gallery-button {
    display: none;
}

/* メディアクエリー　note-pc */
@media (min-width: 769px) and (max-width: 1200px) {

    .work-title {
        font-size: 1rem;
    }
    .work-text {
        width: 25vw;
        padding-left: 3vw;
        padding-right: 2vw;
        height: 4rem;
        font-size: 0.8rem;
    }
}

/* メディアクエリー　tablet */
@media (min-width: 431px) and (max-width: 768px) {
    .site-title {
        padding-left: 3vw;
        font-size: 1.4rem;
    }
    .site-title span {
        font-size: 1.8rem;
    }
    .btn a {
        font-size: 1rem;
        padding: 3px 12px;
    }
    .gallery-title {
        height: 15vh;
    }
    h2 {
        font-size: 1.5rem;
    }
    .gallery-title p {
        font-size: 0.9rem;
    }
    .sp_br {
        display: block;
    }
    ul {
        padding: 0 15vw 0;
    }
    h3 {
        font-size: 1.1rem;
        padding: 0;
    }
    .work-list {
        margin-bottom: 1vh;
    }
    .work-title {
        width: 25vw;
        font-size: 0.9rem;
        margin: 0.2rem 1rem 0.5rem;
    }
    .work-text {
        width: 25vw;
        height: 4rem;
        font-size: 0.75rem;
        line-height: 1.4;
    }
    footer p {
        font-size: 0.8rem;
    }
}

/* メディアクエリー　mobile */
@media (max-width: 430px) {
    .site-title {
        padding-left: 1vw;
        font-size: 1.1rem;
    }
    .site-title span {
        font-size: 1.3rem;
    }
    .btn a {
        font-size: 0.8rem;
        padding: 2px 10px;
    }
    .gallery-title {
        height: 12vh;
    }
    h2 {
        font-size: 1.2rem;
    }
    .gallery-title p {
        font-size: 0.7rem;
    }
    .pc_p {
        display: none;
    }
    .sp_p {
        display: inline-block;
    }
    .sp_br {
        display: block;
    }
    ul {
        padding: 0 15vw 0;
    }
    li {
        font-size: 0.8rem;
    }
    h3 {
        font-size: 0.8rem;
        padding: 0;
    }
    .work-list {
        margin-bottom: 0;
    }
    .work-title {
        width: 25vw;
        font-size: 0.7rem;
        margin: 0.2rem 0;
    }
    .work-text {
        width: 25vw;
        height: 4rem;
        font-size: 0.3rem;
        line-height: 1.4;
    }
    footer {
        padding: 1vh 0;
    }
    footer p {
        font-size: 0.7rem;
    }
}

