/* 人気記事横表示　*/
/* [人気記事]を横並びにするCSS */
#popular_entries-3 .popular-entry-cards  {
  display: flex;
  flex-wrap: wrap;
}

/* [人気記事]のサムネイルの横幅を設定するCSS */

#popular_entries-3 .popular-entry-cards a  {
    width: 32%;
    display: inline-block;
}

/* スマホなど画面サイズが小さい場合は横並びにしない */

@media screen and (min-width: 480px){
#popular_entries-3 .popular-entry-cards a  {
    width: 32%;
    display: inline-block;
  }
}

@media screen and (max-width: 479px) {
#popular_entries-3 .popular-entry-cards a  {
    width: 100%;
    display: inline-block;
  }
}

/* [新着記事]のCSSを設定 */
/* [新着記事]を横並びにするCSS */
#new_entries-2 .new-entry-cards  {
  display: flex;
  flex-wrap: wrap;
}

/* [新着記事]のサムネイルの横幅を設定するCSS */
#new_entries-2 .new-entry-cards a  {
  width: 32%;
  display: inline-block;
}

/* スマホなど画面サイズが小さい場合は横並びにしない */
@media screen and (min-width: 480px){
#new_entries-2 .new-entry-cards a  {
    width: 32%;
    display: inline-block;
  }
}

@media screen and (max-width: 479px) {
#new_entries-2 .new-entry-cards a  {
    width: 100%;
    display: inline-block;
  }
}

/*　会員登録で、氏名の欄を消す　*/
tr.swpm-registration-firstname-row{
    display:none;
}
 
tr.swpm-registration-lastname-row{
    display:none;
}

/* Simple Download Monitor 一覧のダウウンロードボタン　カスタマイズ */
.sdm_fancy2_download_dl_link{
    border: 3px solid #f9e9d7 !important;    
    color: #cd634c !important;
    padding: 5px 10px;
    display: inline-block;
    text-decoration: none !important;
}

.sdm_fancy2_download_dl_link:hover{
    color: #cd634c !important;
    background-color: #f9e9d7 !important;
}

/* サイドバー　文字の色 */
.widget_block ul li a {
    color: #cd634c !important;
}

.widget_categories ul li a {
    color: #cd634c !important;
}

.a-wrap {
		color: #cd634c !important;
}

/* ファイル一覧の表示 */
.sdm_fancy2_wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.sdm_fancy2_download_title {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.sdm_fancy2_download_title::after {
    content: "\A0";  /* 非改行空白文字 */
    white-space: pre;
    display: block;
}


.sdm_fancy2_thumb_image {
    width: 100px;  /* または任意の幅 */
    height:100px;  /* または任意の高さ */
    object-fit: cover;
}

.sdm_fancy2_download_title {
    display: block;
    height: 2em;  /* 1行の高さが1emと仮定 */
    position: relative;
		margin-top:2em;
}
.sdm_fancy2_download_title::after {
    content: "\A0";  /* 非改行空白文字 */
    white-space: pre;
    display: block;
		
}

/* ダウンロードボタン　*/
.sdm_fancy2_download_link{
	margin-top:2em;
}

/* フレキシブルボックスの縦を統一　*/
.sdm_fancy2_item .sdm_fancy2_grid {
 max-height: 100px;	
}