@charset "utf-8";


/*--単独投稿タイトル表示用--*/
h2.title {
display:none;
}
/*----*/


/*中央寄せ*/
.center{
    text-align: center;
    margin: 0 auto;
}


/*ヘッダー*/
.header-room{
    position: relative;
}

.headerbox img {
	width: 100%;
	height: 15em;
    -o-object-fit: cover;
   	   object-fit: cover;
   	object-position: 50% 53%;  /* 左から50%・上から50%が中心 */
}

.header-icon img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background-color: transparent;
    border: solid 2px var(--light-gray);
    position: absolute;
    display: block;
    bottom: -90px;
    left: 10px;
}

/* ▽フリースペースの編集リンク */
.freespaceedit {
	display: inline-block;
    position: absolute;
    bottom: -3em;
    right: 10px;
	margin: 0.3em auto;
	padding: 0.4em 2em;
	text-align: right;
	font-size: 0.75em;
	border-radius: 1.2em;
	background: var(--light-gray);
	color: var(--wh-color);
    text-decoration: none;
}

.freespaceedit:hover{
    color: var(--link-hover);
    background: var(--wh-color);
}


/*ヘッダーテキスト*/

.header-bottom{
    width: calc(100% - 0.5em -150px);
    padding : 1em 0.5em 1em 150px;
}

.header-bottom .header-name{
    font-weight: bold;
    text-decoration: none;
    font-size: 1.5em;
    line-height: 1.7em;
}

.header-text{
    margin: 0.5em 0;
}

.header-bottom .home-icon{
  display: block;
  margin: 0.5em auto 0 0;
  font-weight: bolder;
}



  @media screen and (max-width: 500px) {

    .header-icon img{
        width: 60px;
        height: 60px;
        bottom: -30px;
      }

    .freespaceedit{
        display: none;
    }

    .header-bottom{
        width: calc(100% - 0.5em -90px);
        padding : 1em 0.5em 1em 90px;
    }

  }


/*トップページカテゴリリンクリストボタン*/

.top-category{
  max-width: 800px;
  margin: 1em auto 2em auto;
  padding: 0 2em;
}

.top-category .catbranch{
  display: inline-block;
  border-radius: 1.2em;
  padding: 0.3em 0.8em;
  margin: 0.3em;
  border: 1px solid var(--gray);
  background-color: var(--light-gray);
  color: var(--gray);
  font-size: smaller;
}

.top-category .catbranch a{
  text-decoration: none;
  color: var(--gray);
}

.top-category .catbranch:hover{
  color: var(--link-hover);
  background-color: var(--wh-color);
  border-color: var(--link-hover);
}

.top-category .cattree{
  text-align: center;
  padding-inline-start: 0;
}

.top-category .catbranch .depth2 {
  display:none;  /*２階層以降を非表示*/
}



/*サイドバー自己紹介*/

.icon-img img {
    display: block;
    margin: 0 auto 1em auto;
    max-width: 100%;
    height: 200px;
    border-radius: 50%;
    background-color: transparent;
}

.icon-name{
    text-align: center;
    font-weight: bold;
    font-size: 1.5em;
    color: var(--font-base);
}

.icon-name a{
  text-decoration: none;
}

.freespacebody .home-icon{
  display: block;
  margin: 0 auto;
  text-align: center;
  font-weight: bolder;
}

.home-icon a{
  text-decoration: none;
  color: var(--ac-color);
}

.home-icon a:hover{
  color: var(--link-hover);
}


/*ハッシュタグ丸み*/
.hashtag-area{
    margin: 2em 0 1em 0;
}

.hashtag-area .taglink{
    display: inline-block;
    margin: 0.2em 0.1em;
    padding: 0.2em 0.6em;
    color: var(--wh-color);
    font-size: smaller;
    text-decoration: none;
    background-color: var(--ac-color);
    border: var(--ac-color) solid 2px;
    border-radius: 1.2em;
}



/* タグクラウド */

ul.hashtaglist li{
  font-size: 1.8em;
}

.hashtaglist li.count1{
  font-size: 0.6em;
}

.hashtaglist li.count2,.hashtaglist li.count3,.hashtaglist li.count4{
  font-size: 0.9em;
}

.hashtaglist li.count5,.hashtaglist li.count6,.hashtaglist li.count7,.hashtaglist li.count8,.hashtaglist li.count9{
  font-size: 1.1em;
}

.hashtaglist li.count10,.hashtaglist li.count11,.hashtaglist li.count12,.hashtaglist li.count13,.hashtaglist li.count14,.hashtaglist li.count15{
  font-size: 1.3em;
}




/*サムネイル表示*/

   .card {
    padding: 0;
    margin: 0;
    font-family: Helvetica, "Yu Gothic", sans-serif;
    display: -webkit-box;
    display: flex;
    flex-wrap: wrap;
    -webkit-box-pack: start;
            justify-content: flex-start;
    list-style-type: none;
  }
  
  .card li {
    width: 19%;
    padding: 0;
    margin: 0 0 20px 0;
  }
  
  .card li:not(:nth-of-type(5n-4)) {
    margin-left: calc(5% / 4);
  }
  
  .card li a {
    width: 100%;
    display: block;
    text-decoration: none;
    line-height: 1em;
  }
  
  .card li a:hover {
    color: var(--link-hover);
    -webkit-transition: 0.3s;
    transition: 0.3s;
  }
  
  .card li a img {
    width: 100%;
    aspect-ratio: 1;
    -o-object-fit: cover;
       object-fit: cover;
    object-position: 50% 50%;
    border-radius: 4px;
  }
  
  .card li a:hover img {
    filter: contrast(150%) grayscale(80%);
    opacity: 0.7;
  }

  .card li.card__img a img{
    object-position: 50% 0%;
  }

  .gallery-img-box {
    position: relative;
		overflow: hidden;	/* ぼかし領域がfigureのボックスからはみ出ないようにする */
    border-radius: 4px; /*ぼかし後対策*/
  }

  .pict-count-character{
    position: absolute;
    left: 0;
    bottom: 0.3em;
    background-color: rgba(0,0,0,0.4);
    color: var(--wh-color);
    border-radius: 5px;
    padding: 0.3em;
    margin: 0 0.25em;
    font-size: small;
  }

  .pict-count-character::before{
    font-family: 'remixicon';
    content: "\EB87";
    color: var(--wh-color);
    vertical-align: middle;
    margin-right: 2px;
  }


  .card li a .text p {
    font-size: 60%;
    letter-spacing: 1px;
    color: var(--font-base);
  }

  .card li a .text p.cap {
    font-weight: bold;
    font-size: 1em;
    line-height: 1.2em;
    margin: 0.1em auto 1em auto;
  }

  
  @media screen and (max-width: 767px) {
    .card li {
      width: 49%;
    }
    .card li li a img {
      height: 240px;
    }
    .card li:not(:nth-of-type(5n-4)) {
      margin-left: 0;
    }
    .card li:nth-of-type(odd) {
      margin-right: 2%;
    }
  }

.fixed::before{
    font-family: 'remixicon';
    content: "\F038";
    color: var(--font-base);
    vertical-align: middle;
    margin-right: 0;
    font-size: 1.5em;
}


/*鍵付き投稿*/

.logstatus-lock .gallery-img-box::after{
  content: "";
  background-color: var(--light-gray);
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='rgba(51,51,51,1)'%3E%3Cpath d='M18 8H20C20.5523 8 21 8.44772 21 9V21C21 21.5523 20.5523 22 20 22H4C3.44772 22 3 21.5523 3 21V9C3 8.44772 3.44772 8 4 8H6V7C6 3.68629 8.68629 1 12 1C15.3137 1 18 3.68629 18 7V8ZM11 15.7324V18H13V15.7324C13.5978 15.3866 14 14.7403 14 14C14 12.8954 13.1046 12 12 12C10.8954 12 10 12.8954 10 14C10 14.7403 10.4022 15.3866 11 15.7324ZM16 8V7C16 4.79086 14.2091 3 12 3C9.79086 3 8 4.79086 8 7V8H16Z'%3E%3C/path%3E%3C/svg%3E");
  background-position: 50% 50%;
  background-size: 30%;
  background-repeat: no-repeat;
  position: absolute;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
  top: 0;
  left: 0;
}


/*複数画像を畳む機能*/

.decorationH{
    display: flex;  /*中央寄せのため*/
    justify-content: center;  /*中央寄せのため*/
}

a.readmorebutton{
    margin: 0.2em 0.1em 1em 0.1em;
    padding: 0.2em 0.6em;
    color: var(--wh-color);
    text-decoration: none;
    background-color: var(--font-base);
    border: var(--font-base) solid 2px;
    border-radius: 1.2em;
}

a.readmorebutton:hover{
    color: var(--font-base);
    background-color: var(--wh-color);
}

a.readmoreclose{
    margin: 0 40%;  /*中央寄せのためのやばい解決策*/
}


/*折り畳み機能*/
summary {
  display: inline-block;
  background-color: var(--light-gray);
  border: 1px solid var(--gray);
  color: var(--gray);
  border-radius: 1.5em;
  padding: 2px 2em 2px 2em;
  cursor: pointer;
}

summary:hover {
  background-color: var(--wh-color);
}


/*リアクションボタンエリア*/
.button_area{
  text-align: right;
  margin: -20px 0 0.5em auto;  /*いいねボタンを設置しない場合は  0.5em 0.25em 0.5em auto にする*/}

.button_area a ,.button_area a:hover {
  color: var(--font-base);
  text-decoration: none;
}

#copy-link{
  display: inline-block;
  margin: 0;
  cursor: pointer;
}