@charset "utf-8";

/* -------------------------------------------
   沿革・開発実績エリア専用スタイル
   既存サイトに影響を与えないよう .history-wrapper 内に限定
------------------------------------------- */

/* 大枠のフォントや背景色（bodyに指定していたものをラッパーに適用） */
.history-wrapper {
    font-family: 'Helvetica Neue', Arial, 'Hiragino Kaku Gothic ProN', 'Hiragino Sans', Meiryo, sans-serif;
    background-color: #f4f4f4;
    color: #555555;
    /* margin: 0; padding: 0; は既存サイトのレイアウトに従うため削除 */
}


/* セクション間の余白 */
.history-wrapper .history-section {
    margin-bottom: 60px;
}

/* 見出し（「アクセス」のデザインに統一） */
.history-wrapper .history-title {
    font-size: 28px;
    color: #000000;
    font-family: inherit;
    font-weight: 500;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #000000;
    padding-left: 0;
}

/* リストアイテム (Flexbox) */
.history-wrapper .history-item {
    display: flex;
    align-items: flex-start;
    padding: 25px 10px;
    border-bottom: 1px solid #dcdcdc;
    line-height: 1.6;
}

/* 年月カラム */
.history-wrapper .history-date {
    width: 140px;
    font-size: 20px;
    font-weight: bold;
    color: #5a5a5a;
    letter-spacing: 1px;
    flex-shrink: 0;
}

/* 内容カラム */
.history-wrapper .history-content {
    flex: 1;
    font-size: 18px;
    color: #666666;
}

/* 沿革などで複数行ある場合のテキスト間隔 */
.history-wrapper .history-text {
    margin-bottom: 8px;
}
.history-wrapper .history-text:last-child {
    margin-bottom: 0;
}

/* 開発実績用：リリース名などのタイトル（アンダーライン） */
.history-wrapper .history-name {
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 4px;
    color: #5a5a5a;
    display: inline-block;
    margin-bottom: 5px;
}

/* リンク設定がされているタイトルのホバー（マウスオーバー）時の動き */
.history-wrapper a.history-name {
    transition: opacity 0.2s ease;
}
.history-wrapper a.history-name:hover {
    opacity: 0.6;
}

/* 開発実績用：「リリース」などのサブテキスト（アニメ用など） */
.history-wrapper .history-desc {
    font-size: 15px;
    color: #777777;
    margin-top: 8px;
}

/* ----- タグ（バッジ）用スタイル ----- */
.history-wrapper .badge-container {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 10px;
    font-size: 13px;
    color: #666;
}

.history-wrapper .badge-status {
    background-color: #eaeaea;
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: bold;
    color: #555;
}

.history-wrapper .badge-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.history-wrapper .badge-label {
    margin-right: 2px;
}

.history-wrapper .badge-outline {
    border: 1px solid #ccc;
    padding: 2px 12px;
    border-radius: 20px;
    background-color: #fff;
    color: #555;
}

/* ------------------------------------------- */

/* レスポンシブ (スマホ表示時のみ縦並びにする) */
@media (max-width: 600px) {
    .history-wrapper .history-item {
        flex-direction: column;
        padding: 20px 5px;
    }
    .history-wrapper .history-date {
        margin-bottom: 10px;
        font-size: 18px;
    }
    .history-wrapper .history-content {
        font-size: 16px;
    }
    .history-wrapper .history-title {
        font-size: 20px;
    }
    .history-wrapper .badge-container {
        gap: 10px;
    }
}