/*--------------------------------------
著者一覧ページ
--------------------------------------*/

/* 著者一覧ページのタイトル追加*/
.p-postList__title-author {
  font-size: 1.5em;
  font-weight: bold;
	margin-bottom:15px;
  color: #000;
}

/* 著者一覧 */
.writers {
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: calc(100% - 20px);
}

.writer-profile {
    position: relative;
    width: calc(20% - 20px);
    min-height: 400px; 
    margin: 10px; 
    padding: 10px; 
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
    text-align: center;
    box-sizing: border-box;
}

.writer-profile .eyecatch {
     position: relative;
    width: 100%;
    padding-bottom: 100%;
    overflow: hidden;
    border-radius: 50%;
}

.writer-profile .eyecatch img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.writer-profile .name {
    font-weight: bold;
    margin-top: 10px;
    margin-bottom: 20px;
}

.writer-profile .description {
    font-size: 0.8em;
    margin-bottom: 20px;
}

.writer-profile .button a {
    font-size: 0.6em;
    background-color: #000;
    color: #fff;
    padding: 10px 10px;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.writer-profile .button a:hover {
    background-color: #333;
}

.writer-profile .button a:after {
    content: ' >';
}

@media screen and (max-width: 768px) {
    .writer-profile {
        width: calc(50% - 20px); 
    }
}