@charset "UTF-8";

/* ==========================================================================
   📦 株式会社スカイツール - DXシリーズ記事専用 共通CSS
   ========================================================================== */

/* 🛠️ 基本デザイン（全体デザイン style.css を完全継承・崩し厳禁） */
.post-container {
    max-width: 900px;
    margin: 60px auto;
    padding: 0 5%;
    line-height: 1.8;
    color: #2d3748;
}

.post-title {
    font-size: 2.2rem;
    color: var(--main-color);
    margin-bottom: 10px;
    font-weight: bold;
}

.post-meta {
    color: #718096;
    margin-bottom: 40px;
    font-size: 0.95rem;
}

.post-content h3 {
    font-size: 1.6rem;
    color: var(--main-color);
    border-left: 6px solid var(--accent-color);
    padding-left: 15px;
    margin: 45px 0 20px 0;
    font-weight: bold;
}

.post-content p {
    margin-bottom: 25px;
    font-size: 1.05rem;
}

/* 👥 登場人物紹介エリア（4名構成・完全継承） */
.intro-team {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    padding: 30px;
    border-radius: 8px;
    margin: 30px 0;
}

.intro-team h4 {
    font-weight: bold;
    color: var(--main-color);
    margin-bottom: 25px;
    font-size: 1.3rem;
    border-bottom: 2px solid #e2e8f0;
    padding-bottom: 5px;
}

.member-profile {
    display: flex;
    align-items: flex-start;
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #edf2f7;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.member-profile:last-child {
    margin-bottom: 0;
}

.profile-img {
    width: 250px;
    height: 250px;
    border-radius: 8px;
    border: 3px solid #e2e8f0;
    margin-right: 25px;
    flex-shrink: 0;
    object-fit: cover;
}

.profile-text {
    flex-grow: 1;
    padding-top: 5px;
}

.member-name {
    font-weight: bold;
    color: var(--accent-color);
    font-size: 1.2rem;
    display: block;
    margin-bottom: 10px;
    border-bottom: 1px dashed #cbd5e0;
    padding-bottom: 5px;
}

.profile-text p {
    font-size: 1rem;
    color: #4a5568;
    line-height: 1.7;
    margin: 0;
}

/* 💬 対面型チャットボックス（社長＆ヴェル＝左、ジェミ＆メイ＆GPT＝右） */
.chat-box {
    background: #f0f7ff;
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
    border-left: 5px solid #63b3ed;
}

/* 基本は左並び（社長・ヴェル用） */
.chat-line {
    display: flex;
    align-items: flex-start;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

.chat-line:last-child {
    margin-bottom: 0;
}

/* ジェミ・ポンコツジェミ・メイ・GPT側は右並びに反転 */
.chat-line.gemini,
.chat-line.jemi,
.chat-line.jemi-ponkotsu,
.chat-line.mei,
.chat-line.gpt-error {
    flex-direction: row-reverse;
    text-align: right;
}

/* 社長・ヴェルは左側に固定 */
.chat-line.president,
.chat-line.vale {
    flex-direction: row;
    text-align: left;
}

/* 55px丸型アイコン */
.icon-img {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    border: 2px solid #dd6b20;
    flex-shrink: 0;
}

.chat-line .icon-img {
    margin: 0 15px;
}

.text-area {
    flex-grow: 1;
}

.speaker-boss {
    font-weight: bold;
    color: #1a365d;
    display: block;
    margin-bottom: 2px;
    text-align: left;
}

.speaker-dev {
    font-weight: bold;
    color: #2b6cb0;
    display: block;
    margin-bottom: 2px;
    text-align: right;
}

.speaker-mei {
    font-weight: bold;
    color: #b83280;
    display: block;
    margin-bottom: 2px;
    text-align: right;
}

.speaker-gpt {
    font-weight: bold;
    color: #10a37f;
    display: block;
    margin-bottom: 2px;
    text-align: right;
}

.speaker-vale {
    font-weight: bold;
    color: #3182ce;
    display: block;
    margin-bottom: 2px;
    text-align: left;
}

/* セリフ内テキストは左揃え */
.chat-line.gemini .text-content,
.chat-line.jemi .text-content,
.chat-line.jemi-ponkotsu .text-content,
.chat-line.mei .text-content,
.chat-line.gpt-error .text-content {
    display: inline-block;
    text-align: left;
}

/* ⚠️ 警告・エラー演出用のスタイル（完全死守） */
.error-msg {
    background: #fff5f5;
    border: 1px solid #feb2b2;
    color: #c53030;
    padding: 15px;
    border-radius: 6px;
    font-family: monospace;
    font-size: 0.95rem;
    margin: 20px 0;
    text-align: left;
}

/* ⚠️ 注意事項用スタイル（教訓・備忘録エリア） */
.notice-box {
    background: #fffaf0;
    border: 2px solid #fbd38d;
    padding: 30px;
    border-radius: 8px;
    margin: 40px 0;
}

.notice-box h4 {
    color: #dd6b20;
    font-weight: bold;
    font-size: 1.2rem;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.notice-list {
    margin: 0;
    padding-left: 20px;
}

.notice-list li {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #4a5568;
}

.notice-list li strong {
    color: #2d3748;
}

/* ==========================================================================
   🚨 近日公開・開発ステータスページ用
   news_kinjitsu.html から共通CSSへ移設
   ========================================================================== */

.error-banner {
    background: #fff5f5;
    border: 2px solid #feb2b2;
    padding: 30px;
    border-radius: 12px;
    margin-bottom: 40px;
    text-align: center;
}

.error-code {
    font-size: 3rem;
    font-weight: bold;
    color: #e53e3e;
    margin: 0;
    line-height: 1;
}

.error-status {
    font-size: 1.3rem;
    font-weight: bold;
    color: #c53030;
    margin: 10px 0 0 0;
}

.error-banner-note {
    margin: 10px 0 0 0;
    color: #4a5568;
    font-size: 0.95rem;
}

.status-board {
    background: #f7fafc;
    border: 1px solid #e2e8f0;
    padding: 30px;
    border-radius: 12px;
    margin: 30px 0;
}

.status-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.status-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #edf2f7;
}

.status-list li:last-child {
    border-bottom: none;
}

.story-title {
    font-weight: bold;
    color: #2d3748;
}

.badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    color: #fff;
}

.badge.open {
    background: #38a169;
}

.badge.working {
    background: #dd6b20;
}

.badge.lock {
    background: #a0aec0;
}

.badge.future {
    background: #4299e1;
}

.chat-preview {
    background: #fffaf0;
    border: 2px solid #f6ad55;
    padding: 25px;
    border-radius: 12px;
    margin: 30px 0;
}

.chat-preview-text {
    font-style: italic;
    color: #4a5568;
    margin: 0;
    line-height: 1.6;
}

/* ==========================================================================
   🔗 下部リンク・ナビゲーションボタン
   ========================================================================== */

.article-btn-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    margin: 40px 0 20px 0;
}

.article-btn-wrap .btn-more {
    margin: 0;
    min-width: 240px;
    text-align: center;
}

.btn-more {
    display: inline-block;
    padding: 12px 25px;
    background: var(--main-color);
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* news_kinjitsu.html 用：既存のインライン指定をクラス化 */
.article-btn-wrap.kinjitsu-btn-wrap {
    gap: 15px;
}

.btn-more.btn-back-news {
    background: #718096;
    min-width: 220px;
}

.btn-more.btn-services {
    background: var(--accent-color);
    color: #fff;
    min-width: 220px;
}

.roadmap-btn-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    margin-top: 25px;
}

.roadmap-btn-container .btn-nav {
    min-width: 260px;
    padding: 14px 25px;
    font-weight: bold;
    border-radius: 5px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

/* ==========================================================================
   🔁 前後記事ナビゲーション next_story_area.html 用
   ========================================================================== */

.next-story-area {
    background: #fffdf5;
    border: 2px dashed #fbd38d;
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    margin: 40px 0;
    box-sizing: border-box;
    width: 100%;
}

.next-story-heading {
    color: #c05621;
    font-weight: bold;
    font-size: 1.2rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.next-story-intro {
    font-size: 1.05rem;
    color: #718096;
    line-height: 1.6;
    max-width: 600px;
    margin: 15px auto 25px auto;
    font-style: italic;
    min-height: 50px;
}

.next-story-btn-wrap {
    display: flex !important;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 20px;
}

.next-story-btn {
    display: none;
    padding: 14px 20px;
    color: #fff;
    font-weight: bold;
    border-radius: 999px;
    text-decoration: none;
    min-width: 260px;
    box-sizing: border-box;
}

.next-story-btn.is-prev {
    background: #718096;
}

.next-story-btn.is-next {
    background: #dd6b20;
    box-shadow: 0 4px 10px rgba(221,107,32,0.3);
}

.next-story-btn i:first-child {
    margin-right: 8px;
}

.next-story-btn i:last-child {
    margin-left: 8px;
}

.next-story-data {
    display: none;
}

@media (max-width: 600px) {
    .next-story-area {
        padding: 22px 16px;
    }

    .next-story-btn {
        width: 100%;
        min-width: 0;
    }

    .next-story-intro {
        min-height: auto;
    }
}

/* ==========================================================================
   📷 オフショットページ専用の追加装飾
   ========================================================================== */

.os-blog-section {
    padding: 20px 10px;
    background: #ffffff;
    border-radius: 8px;
    margin-bottom: 30px;
}

.blog-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #333333;
    margin-bottom: 15px;
}

.main-photo-area {
    text-align: center;
    margin: 25px 0;
}

.os-main-img {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.blog-text-footer {
    font-size: 1.2rem;
    font-weight: bold;
    color: #2c3e50;
    text-align: center;
    margin-top: 20px;
}

.os-section-divider {
    border: 0;
    height: 2px;
    background-image: linear-gradient(
        to right,
        rgba(0, 0, 0, 0),
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0)
    );
    margin: 40px 0;
}

/* ==========================================================================
   👥 DXキャラ別パーツ化
   ========================================================================== */

/* 登場人物紹介：キャラ別カラー */
.chara-profile.president {
    border-left: 4px solid var(--accent-color);
}

.chara-profile.jemi {
    border-left: 4px solid #2b6cb0;
}

.chara-profile.jemi-ponkotsu {
    border-left: 4px solid #f6ad55;
}

.chara-profile.mei {
    border-left: 4px solid #b83280;
}

.chara-profile.vale {
    border-left: 4px solid #4299e1;
}

.chara-profile.president .member-name {
    color: var(--accent-color);
}

.chara-profile.jemi .member-name {
    color: #2b6cb0;
}

.chara-profile.jemi-ponkotsu .member-name {
    color: #dd6b20;
}

.chara-profile.mei .member-name {
    color: #b83280;
}

.chara-profile.vale .member-name {
    color: #3182ce;
}


/* 掛け合いチャット：共通speaker */
.chara-chat .speaker {
    font-weight: bold;
    display: block;
    margin-bottom: 2px;
}

/* 社長・ヴェルは左側 */
.chara-chat.president,
.chara-chat.vale {
    flex-direction: row;
    text-align: left;
}

.chara-chat.president .speaker {
    color: #1a365d;
    text-align: left;
}

.chara-chat.vale .speaker {
    color: #3182ce;
    text-align: left;
}

/* ジェミ・ポンコツジェミ・メイ・GPT側は右側 */
.chara-chat.jemi,
.chara-chat.jemi-ponkotsu,
.chara-chat.mei,
.chara-chat.gpt-error {
    flex-direction: row-reverse;
    text-align: right;
}

.chara-chat.jemi .speaker {
    color: #2b6cb0;
    text-align: right;
}

.chara-chat.jemi-ponkotsu .speaker {
    color: #dd6b20;
    text-align: right;
}

.chara-chat.mei .speaker {
    color: #b83280;
    text-align: right;
}

.chara-chat.gpt-error .speaker {
    color: #4a5568;
    text-align: right;
}

/* 右側キャラでもセリフ本文は左揃え */
.chara-chat.jemi .text-content,
.chara-chat.jemi-ponkotsu .text-content,
.chara-chat.mei .text-content,
.chara-chat.gpt-error .text-content {
    display: inline-block;
    text-align: left;
}

/* ==========================================================================
   📱 スマホ対応レイアウト（レスポンシブ）
   ========================================================================== */

@media (max-width: 600px) {
    .member-profile {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .profile-img {
        margin-right: 0;
        margin-bottom: 15px;
        width: 100%;
        max-width: 250px;
        height: 250px;
    }

    .member-name,
    .profile-text p {
        text-align: left;
    }

    .status-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .error-code {
        font-size: 2.4rem;
    }

    .error-status {
        font-size: 1.1rem;
    }
}

/* ==========================================================================
   🗺️ ロードマップフッター roadmap_footer.html 用
   ========================================================================== */

.roadmap-container {
    background: #f7fafc;
    border: 2px dashed #cbd5e0;
    border-radius: 8px;
    padding: 30px;
    margin: 50px auto 30px auto;
    max-width: 100%;
    box-sizing: border-box;
}

.roadmap-heading {
    margin-top: 0;
    margin-bottom: 20px;
    color: #2d3748;
    font-size: 1.3rem;
    border-bottom: 2px solid #cbd5e0;
    padding-bottom: 8px;
}

.roadmap-heading i {
    color: #4a5568;
    margin-right: 8px;
}

.roadmap-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.roadmap-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px dashed #edf2f7;
    transition: background 0.3s ease;
}

.roadmap-list li:last-child {
    border-bottom: none;
}

.roadmap-list li:nth-child(even) {
    background-color: #ffffff;
}

.roadmap-list li:hover {
    background-color: #edf2f7;
    cursor: pointer;
}

.roadmap-info {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding-right: 15px;
}

.roadmap-info a {
    display: block;
    color: #2d3748;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: color 0.2s ease;
}

.roadmap-info a:hover {
    color: #3182ce;
    text-decoration: underline;
}

.roadmap-date {
    font-size: 0.8rem;
    color: #a0aec0;
    font-weight: bold;
}

.roadmap-subtitle {
    font-size: 0.85rem;
    color: #718096;
    line-height: 1.4;
}

.roadmap-category-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 2px 6px;
    margin-right: 8px;
    font-size: 0.7rem;
    font-weight: bold;
    border-radius: 4px;
    white-space: nowrap;
}

.roadmap-category-badge.is-dx {
    background: var(--cat-dx-bg);
    color: var(--cat-dx-text);
}

.roadmap-category-badge.is-offshot {
    background: var(--cat-offshot-bg);
    color: var(--cat-offshot-text);
}

.roadmap-category-badge.is-info {
    background: var(--cat-info-bg);
    color: var(--cat-info-text);
}

.roadmap-category-badge.is-default {
    background: var(--cat-default-bg);
    color: var(--cat-default-text);
}

.roadmap-status-badge {
    font-size: 0.75rem;
    padding: 1px 4px;
    border-radius: 3px;
    margin-left: 5px;
    color: #2d3748;
}

.roadmap-status-badge.is-open {
    background: #c6f6d5;
}

.roadmap-status-badge.is-working {
    background: #fbd38d;
}

.roadmap-status-badge.is-lock {
    background: #feb2b2;
}

.roadmap-status-badge.is-future {
    background: #bee3f8;
}

.roadmap-status-badge.is-default {
    background: #e2e8f0;
}

@media (max-width: 480px) {
    .roadmap-list li {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
}