@charset "UTF-8";

/* *{
    outline: 2px red solid;
} */

:root{
    /* 使用カラー -------------- */
        --c-black: #161720;
        --c-white: #F6F6F6;
        --c-blue: #85CED9;
    
    /* フォントサイズ ---------- */
        --fsize-nomal: 16px;
        --fsize-bold: 18px;
        --fsize-hevy: 25px;
    
}

body{
    font-family: 'Noto Sans JP', sans-serif;
    font-size: var(--fsize-nomal);
    color: #161720;
    background-color: var(--c-white);
}
.wrapper{
    margin:0  auto;
    padding-top: 75px;
    width: 80%;
}
h2{
    font-weight: bold;
    font-size: var(--fsize-hevy);
    text-align: center;
    border-bottom: solid 5px var(--c-blue);
    width: 20%;
    margin: 3rem auto;
    padding-bottom: 0.3rem;
}
h3{
    font-weight: bold;
    font-size: var(--fsize-bold);
    margin-bottom: 1rem;
}

/* ヘッダー　------------------------------------- */
/*
header{
    width: 100%;
    height: 60px;
    background: #ffffff;
    display: grid;
    grid-template-columns: 1fr 3fr 1fr;
    column-gap: 1vw;
    padding: 0 3vw;
    line-height: 60px;
    z-index: 100;
    position: fixed;
    border-bottom: 1px solid #e2e3eb;
}
header a{
    text-decoration:none;
    color: var(--c-black);
    font-weight: bold;
    text-align: end;
}
header a:hover{
    color: var(--c-blue);
}
.header_logo{
    height: 30px;
    width: auto;
    display: block;
    margin-top: 7.5px;
}
.header_nav{
    display: flex;
    justify-content: space-around;
}

.input-group{
    width: 100%;
    margin: 10px auto;
    margin-right: auto;
    margin-left: auto;

}
.form-control{
    height: 40px;
    border-radius: 100px;
    padding: 0.8rem 1.5rem ;
}
.btn-outline-success{
    height: 40px;
    border-radius: 100px;
    background-color: #ffffff;

    --bs-btn-color: var(--c-black);
    --bs-btn-border-color: #ced4da;
    --bs-btn-hover-color: var(--c-black); 
    --bs-btn-hover-bg: var(--c-blue); 
    --bs-btn-hover-border-color: #ced4da;
    --bs-btn-focus-shadow-rgb: none;
    --bs-btn-active-color: var(--c-black);
    --bs-btn-active-bg: var(--c-blue);
    --bs-btn-active-border-color: #ced4da;
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: var(--c-blue);
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #ced4da;
    --bs-gradient: none;
}

*/



/* 検索画面　----------------------------------------------------------------------- */

.result_area{
    display: flex;
}
.area2{
    display: flex;
    flex-direction:column;
    justify-content: space-between;
}

.search{
    top: 60px;
    left: 0px;
    bottom: 0;
    height: 100vh;
    width: 20vw;
    padding: 2vw;
    padding-top: 30px ;
    padding-bottom: 100px ;
    background-color: #ffffff;
    border-right: 1px solid #e2e3eb;
    position: fixed;
    overflow-y: scroll;
}
.search::-webkit-scrollbar{
    width: 5px;
}
.search::-webkit-scrollbar-track{
    background-color: #ffffff;
}
.search::-webkit-scrollbar-thumb{
    background-color: #c5c6cc;
}

.gallery,.notfound,.detail{
    padding: 100px 50px 30px 50px;
    /*width: 90vw;*/
    /* margin: 80px 0 0 0; */
    margin: auto;
}
.gallery_content{
    display: grid;
    grid-gap: 2vw;
    grid-template-columns: 1fr 1fr 1fr 1fr;
}
.gallery_items{
    margin-bottom: 2rem;
}
.thumbnail{
    padding: 1rem;
    box-shadow: 0 3px 4px #c5c6cc;
    padding: 0.8rem;
    background-color: #ffffff;
    height: 16vw;
    border-radius: 20px;
    margin-right: 0;
}
.thumbnail img{
    width: 100%;
    height: 100%;
}
.thumbnail_title{
    margin-top: 0.5rem;
}

.detail_box{
    display: grid;
    grid-template-columns: 2fr 1.3fr;
    column-gap: 3vw;
    margin-bottom: 80px;
    padding: 0 1.5vw;
}
.detail_tag a{
    margin: 0.35rem 0.5rem 0.35rem 0;
    text-decoration: none;
    color: var(--c-blue);
}
.detail_creator{
    display: flex;
    align-items: center;
}
.detail_creator img{
    width: 2rem;
    height: 2rem;
    border-radius: 100px;
    margin-right: 0.5rem;
}
.area1{
    width: 30%;
}
.illustration{
    width: 40vw;
    padding: 2vw;
    background-color: #fff;
    box-shadow: 0 1px 2px #c5c6cc;
    background-color: #ffffff;
}
.illustration img{
    width: 100%;
    max-height: 30vh;
    object-fit: contain;
}
.btn-primary {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--c-blue);
    --bs-btn-border-color: var(--c-blue);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--c-blue);
    --bs-btn-hover-border-color: var(--c-blue);
    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--c-blue);
    --bs-btn-active-border-color: var(--c-blue);
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: var(--c-blue);
    --bs-btn-disabled-border-color: var(--c-blue);
    width: 100%;
    margin: 0.7rem 0;
    padding: 0.7rem;
    font-weight: bold;
    border-radius: 100px;
    box-shadow: 0 3px 4px #c5c6cc;
}
.category_btn p{
    padding: 0.8rem 1rem;
    box-shadow: 0 1px 2px #c5c6cc;
    background-color: #ffffff;
    border-radius: 200px;
    margin-bottom: 1rem;
}
.category_btn {
    text-decoration: none;

}
.readmore{
    display: flex;
    flex-wrap: wrap;
    position: relative;
    box-sizing: border-box;
}
.readmore a{
    margin: 0.5rem;
    color: var(--c-blue);
    text-decoration: none;
    white-space: nowrap;
    line-height:2rem;
}
.readmore-content{
    position: relative;
    overflow: hidden;
    height: 200px;
}
.readmore-content::before {
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    content: "";
    height: 50px;
    background: -webkit-linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.8) 50%, #fff 100%);
    background: linear-gradient(top, rgba(255,255,255,0) 0%, rgba(255,255,255,0.8) 50%, rgba(255,255,255,0.8) 50%, #fff 100%);
}
.readmore-label{
    display: table;
    bottom: 5px;
    position: absolute;
    bottom: 5px;
    left: 50%;
    transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    margin: 0 auto;
    z-index: 2;
    padding: 0 10px;
    background-color: var(--c-white);
    border-radius: 10px;
    color: var(--c-black);
    padding: 0.5rem;
    box-shadow: 0 1px 2px #c5c6cc;
}
.readmore-label:before{
    content: 'さらに表示';
    
}

.readmore-check{
    display: none;
}
/*チェック時にボタンを非表示*/
.readmore-check:checked ~ .readmore-label{
    position: static;
    transform: translateX(0);
    -webkit-transform: translateX(0);
    /* 「続きを読む」を押した後、元に戻す必要がない場合は、上のオプションを消してこの1行だけにする */
    /* display: none; */
}
.readmore-check:checked ~ .readmore-label:before{
    content: '閉じる';
}
/*チェック時に高さを自動に戻す*/
.readmore-check:checked ~ .readmore-content{
    height: auto;
}
/*チェック時グラデーション等を削除*/
.readmore-check:checked ~ .readmore-content::before {
    display: none;
}
.readmore-label:before{
    font-family: FontAwesome;
    content: "\f078  さらに表示";
}
.readmore-check:checked ~ .readmore-label:before{
    font-family: FontAwesome;
    content: "\f077  閉じる";
}


.search_category,.readmore,.gallery_content{
    margin-bottom: 3rem;
}
.pagenation_area {
    position: relative;
}
.pagenation_area ul{
    position:absolute;
    top:50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.pagenation_area li{
    margin: 0.5rem;
}

.page-link{
    background-color: var(--c-white);
    border: none;
    transition: none;
    color: var(--c-black);

}
.pagination{
    --bs-pagination-hover-bg: var(--c-white);
    --bs-pagination-hover-border-color: none;
    --bs-pagination-hover-color: var(--c-blue);
    --bs-pagination-focus-color: var(--c-blue);
    --bs-pagination-focus-bg: var(--c-white);
    --bs-pagination-focus-box-shadow: none;
    margin-bottom: 0.5rem;
}
.detail_category{
    margin-bottom: 0.3rem;
}
.detail_title{
    color: var(--c-bla);
    border-left: 0.7rem solid #161720;
    padding-left: 0.7rem;
    font-size: 22px;
    margin-bottom: 1.5rem;
    font-weight: bold;
}
.notfound{
    width: 80%;
    height: 500px;
    margin: 130px 5vw 5vw 25vw;
    padding: 3rem;
    box-shadow: 0 3px 4px #c5c6cc;
    background-color: #ffffff;
    border-radius: 20px;
}
.notfound p{
    margin-bottom: 1rem;
    line-height:1.7rem;
    padding-left: 2em;
    text-indent: -1em;
}
.notfound_box{
    margin-top: 4rem;
    margin-left: 1rem;
}
.notfound_subtitle{
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
h5{
    font-size: 18px;
    margin-bottom: 0;
    margin-left: 0.5rem;
}
span{
    color: #989899;
}
.search_creator img{
    width: 2rem;
    height: 2rem; 
    margin-right: 0.3rem;
    border-radius: 100rem;
}
.btn-light {
    --bs-btn-color: #000;
    --bs-btn-bg: #ffffff;
    --bs-btn-border-color: #f8f9fa;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #d3d4d5;
    --bs-btn-hover-border-color: #c6c7c8;
    --bs-btn-focus-shadow-rgb: 211, 212, 213;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #c6c7c8;
    --bs-btn-active-border-color: #babbbc;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #f8f9fa;
    --bs-btn-disabled-border-color: #f8f9fa;
    border-radius: 100px;
    box-shadow: 0 1px 2px #c5c6cc;
    margin: 3px 0;
}
.btn_download img{
    width: 1.5rem;
    height: 1.5rem;
    margin-right: 0.5rem;
}
.center{
    text-align: center;
}
.back{
    color: var(--c-blue);
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
.arrow3{
    width: 1rem;
    height: 1rem;
    border: 2px solid;
    border-color:  transparent transparent #85CED9 #85CED9;
    transform: rotate(45deg);
}


/* 検索画面ここまで　----------------------------------------------------------------------- */

/* クリエイター一覧　----------------------------------------------------------------------- */
h4{
    color: #ffffff;
    text-align: center;
    font-size: var(--fsize-hevy);
}
.card_area{
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2vw;
}
.title{
    background-color: var(--c-blue);
    border-radius: 0;
    padding: 2rem;
    display: grid;
}
.title img{
    width: 100%;
}
.sub_title{
    font-weight: bold;
    color: #ffffff;
    margin: 0;
}

.card_area{
    margin-bottom: 150px;
}
.card{
    box-shadow: 0 3px 4px #c5c6cc;
    border: none;
    border-radius: 0;
}
.card p{
    text-align: center;
    margin: 0.7rem;
}
.card a{
    text-decoration: none;
    color: #85CED9;
    text-align: right;
    margin: 0 0.7rem 0.7rem 0.7rem;
}
/* クリエイター一覧ここまで　---------------------------------------------------------------- */

/* 利用規約　----------------------------------------------------------------------- */

.article{
    background: #ffffff;
    padding: 1.5rem 3rem;
    box-shadow: 0 3px 4px #c5c6cc;
    margin-bottom: 3rem;
}
p{
    margin: 0;
}

/* 利用規約ここまで　---------------------------------------------------------------- */
footer{
    width: 100%;
    height: 50px;
    text-align: center;
    line-height: 50px;
    background-color: #ffffff;
}


@media screen and (max-width:990px){
    h3 {
        margin-top: 5vh;
    }
    .detail_box {
        grid-template-columns: 1fr;
    }
    .area1 {
        width: auto;
    }
    .illustration {
        width: auto;
    }
    .gallery, .notfound, .detail {
         width: 100vw;
    }
    .gallery, .notfound, .detail {
         width: auto;
	 padding: 10px;
         margin-top: 10vh;
    } 
    .gallery_content {
         grid-template-columns: 1fr;
    }
    .thumbnail {
         height: 30vh;
    }
}

