@charset "UTF-8";
/* =========================================================
   えひめスクラムプロジェクト  COLUMN DETAIL PAGE
   - 詳細ページ共通: detail.css
   - ページヘッダー: common.css
   ========================================================= */

/* =========================================================
   GENRE TAGS（記事日付の下のジャンル #〇〇）
   ========================================================= */
.cd-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 10px 0 28px 24px;
}
.cd-tag {
    display: flex;
    align-items: center;
    height: 22px;
    padding: 0 8px;
    border: 1.5px solid #575757;
    border-radius: 11px;
    font-size: 14px;
    font-weight: 700;
    color: #575757;
    letter-spacing: 1px;
    text-indent: 1px;
    text-decoration: none;
    transition: background-color 0.2s, color 0.2s;
}
a.cd-tag:hover {
    background-color: #575757;
    color: #fff;
}
/* 日付の下にジャンルタグが続くため、日付の下余白を詰める */
.detail-main .detail-main__date {
    margin-bottom: 7px;
}

@media screen and (max-width: 1024px) {
    .cd-tags {
        margin-left: 0;
    }
}
@media screen and (max-width: 680px) {
    .cd-tags {
        margin-bottom: 20px;
        gap: 8px;
    }
    .cd-tag {
        font-size: 12px;
    }
}

/* =========================================================
   PAGE HEAD ILLUST（ページ固有）
   ========================================================= */
.head__content .head__illust {
    width: 352px;
    position: relative;
}
.head__content .head__illust img {
    width: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
@media screen and (max-width: 1024px) {
    .head__content .head__illust {
        width: 290px;
    }
    .head__content .head__illust img {
        transform: translate(-50%, calc(-50% + 20px));
    }
}
@media screen and (max-width: 680px) {
    .head__content .head__illust {
        width: 200px;
    }
}
@media screen and (max-width: 500px) {
    .head__content .head__illust {
        width: 120px;
    }
}
