@charset "utf-8";


/* ==========================================================================
   フェーズ全体のレイアウト（共通・PCベース）
   ========================================================================== */
.s-list-contents-3-wrap {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    width: 100%;
}

.phase-section {
    display: flex;
    flex-direction: column;
    flex: 1;
    margin: 0;
}

/* ==========================================================================
   フェーズのヘッダータイトル（矢印デザイン）
   ========================================================================== */
.phase-title__first {
    color: #fff;
    line-height: 140%;
    font-size: 110%;
    font-weight: bold;
    -webkit-clip-path: polygon(0% 0%, 93% 0%, 100% 50%, 93% 100%, 0% 100%);
    clip-path: polygon(0% 0%, 93% 0%, 100% 50%, 93% 100%, 0% 100%);
    background-color: #3b74b4; /* 画像のブルーに合わせた色味 */
    position: relative;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
}

.phase-title {
    color: #fff;
    line-height: 140%;
    font-size: 110%;
    font-weight: bold;
    -webkit-clip-path: polygon(0% 0%, 93% 0%, 100% 50%, 93% 100%, 0% 100%, 7% 50%);
    clip-path: polygon(0% 0%, 93% 0%, 100% 50%, 93% 100%, 0% 100%, 7% 50%);
    background-color: #3b74b4; /* 画像のブルーに合わせた色味 */
    position: relative;
    height: 70px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    margin: 0;
}

/* ==========================================================================
   フェーズのコンテンツ本体（白い外枠）
   ========================================================================== */
.phase-body-box {
    border: 1px solid #707070;
    padding: 20px 15px;
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    box-sizing: border-box;
    height: 100%;
    margin: 0;
}

.phase-content-group {
    width: 100%;
}

.content-heading {
    font-weight: bold;
    font-size: 105%;
    color: #000;
    margin: 0 0 6px 0;
    padding: 0;
    line-height: 1.4;
}

.content-heading:not(:first-child) {
    margin-top: 18px;
}

.content-text {
    font-size: 95%;
    color: #333;
    line-height: 1.5;
    margin: 0 0 10px 0;
}

/* ==========================================================================
   箇条書きリストの設定（標準マークを無効化し、擬似要素で「・」を自作）
   ========================================================================== */
.phase-task-list, .role-list {
    margin: 8px 0 12px 0;
    padding: 0;
    list-style: none !important;
    text-align: left;
}

.phase-task-list li, .role-list li {
    position: relative;
    padding-left: 14px;
    margin-bottom: 4px;
    line-height: 1.4;
    font-size: 95%;
    color: #333;
    display: block !important;
}

/* どんな環境でも確実に「・」を表示させる設定 */
.phase-task-list li::before, .role-list li::before {
    content: "•";
    position: absolute;
    left: 2px;
    top: 0;
    color: #333;
    font-size: 12px;
}

/* ==========================================================================
   下部の強調エリア（ユーザー独自のボックス：例「〇〇の役割」など）
   ========================================================================== */
.role-box {
    background-color: #fdf3d6;
    border: 1px solid #b8b8b8;
    padding: 15px;
    margin-top: auto;
    min-height: 95px;
    box-sizing: border-box;
}

.role-title {
    font-weight: bold;
    font-size: 110%;
    margin: 0 0 10px 0;
    padding: 0;
    color: #000;
}

.role-list li {
    margin-bottom: 4px;
}
.role-list li:last-child {
    margin-bottom: 0;
}

/* ==========================================================================
   スマホ用表示（画面横幅 769px 以下）
   ========================================================================== */
@media screen and (max-width: 769px) {
    .s-list-contents-3-wrap {
        flex-direction: column;
        gap: 25px;
    }

    .phase-section {
        width: 100%;
        flex: none;
    }

    .phase-title__first,
    .phase-title {
        font-size: 100%;
        height: auto;
        padding: 15px 10px;
        -webkit-clip-path: none;
        clip-path: none;
    }

    .phase-task-list {
        min-height: 0;
        margin-bottom: 15px;
    }

    .role-box {
        min-height: 0;
    }
}