/* ============================================================
   communication.css — コミュニケーション講座ページ固有スタイル（v2）
   common.css + column-v2.css の後に読み込む
   ============================================================ */

/* --- Billboard offset fix (service page: 5.7) --- */
@media (min-width: 1200px) {
    .article-header__inner {
        margin-left: auto;
        margin-right: auto;
    }
}

/* --- S2: チェックリスト幅制約（.article__body外に配置のため） --- */
.article__checklist {
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

/* --- S2: チェックサマリー --- */
.comm-check-summary {
    max-width: 780px;
    margin: 32px auto 0;
    font-size: 15px;
    line-height: 2;
}
.comm-check-summary p {
    margin-bottom: 1em;
}
.comm-check-summary p:last-child {
    margin-bottom: 0;
}

@media (min-width: 1024px) {
    .comm-check-summary {
        font-size: 16px;
    }
}

/* --- S3: オセロ式ステップカード（縦1列） --- */
.comm-step-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.comm-step-card {
    background: var(--color-white, #fff);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s, box-shadow 0.2s;
}

.comm-step-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.12);
}

.comm-step-card__thumb img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    display: block;
}

.comm-step-card__body {
    padding: 20px;
}

.comm-step-card__number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    background: var(--color-vivid-blue, #2563EB);
    color: white;
    border-radius: 50%;
    font-size: 14px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    margin-bottom: 10px;
}

.comm-step-card__title {
    font-size: 17px;
    font-weight: 700;
    color: var(--color-navy, #0F2440);
    margin-bottom: 8px;
}

.comm-step-card__text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-medium-gray, #6B7280);
}

@media (min-width: 768px) {
    .comm-step-card {
        display: grid;
        grid-template-columns: 280px 1fr;
    }
    .comm-step-card__thumb img {
        aspect-ratio: 4 / 3;
        height: 100%;
    }
    .comm-step-grid {
        max-width: 780px;
    }
}

/* --- S4: 受講者の変化（横型アイコンカード） --- */
.comm-results-intro {
    max-width: 780px;
    margin: 0 auto 24px;
    font-size: 15px;
    line-height: 1.8;
}

@media (min-width: 1024px) {
    .comm-results-intro {
        font-size: 16px;
    }
}

.comm-result-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.comm-result-card {
    display: grid;
    grid-template-columns: 48px 1fr;
    grid-template-rows: auto 1fr;
    column-gap: 16px;
    background: var(--color-white, #fff);
    border-radius: 12px;
    padding: 20px 24px;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}

.comm-result-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.10);
}

.comm-result-card__title {
    grid-column: 1 / -1;
    font-size: 16px;
    font-weight: 700;
    color: var(--color-navy, #0F2440);
    margin-bottom: 4px;
}

.comm-result-card__icon {
    grid-column: 1;
    grid-row: 2;
    align-self: start;
    margin-top: 6px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #EEF2FF 0%, #DBEAFE 100%);
    border-radius: 12px;
    overflow: hidden;
}

.comm-result-card__icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.comm-result-card__body {
    grid-column: 2;
    grid-row: 2;
    min-width: 0;
}

.comm-result-card__body p {
    font-size: 14px;
    line-height: 1.7;
    color: var(--color-medium-gray, #6B7280);
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .comm-result-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* --- S5 & S6: テーブル共通ラッパー --- */
.comm-table-wrapper {
    max-width: 780px;
    margin: 0 auto;
}

.comm-table-wrapper .styled-table {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.comm-table-note {
    text-align: center;
    font-size: 14px;
    color: var(--color-medium-gray, #6B7280);
    margin-top: 16px;
}

/* --- S5: 申し込みボタン --- */
.comm-apply-buttons {
    max-width: 780px;
    margin: 32px auto 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

@media (min-width: 768px) {
    .comm-apply-buttons {
        flex-direction: row;
        justify-content: center;
    }
}

/* 再受講ボタン（セカンダリ） */
.btn--secondary {
    background: var(--color-vivid-blue, #2563EB);
    color: white;
    border: none;
}

/* --- S7: 参加者の声（引用カード） --- */
.comm-voice-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
    max-width: 780px;
    margin-left: auto;
    margin-right: auto;
}

.comm-voice-card {
    background: #fff;
    border-radius: 12px;
    padding: 24px;
    position: relative;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.06);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.comm-voice-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
}

.comm-voice-card::before {
    content: '\201C';
    position: absolute;
    top: 12px;
    left: 16px;
    font-size: 3rem;
    font-family: 'Inter', serif;
    color: var(--color-vivid-blue, #2563EB);
    opacity: 0.15;
    line-height: 1;
}

.comm-voice-card__text {
    font-size: 14px;
    line-height: 1.8;
    color: var(--color-text, #1F2937);
    padding-top: 8px;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .comm-voice-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
