@charset "UTF-8";
/* =========================================================
   えひめスクラムプロジェクト  詳細ページ共通
   （event_detail / column_detail で共有）
   - ページヘッダー: common.css
   - PAGE HEAD ILLUST やページ固有要素: 各ページCSS
   ========================================================= */

/* 本文セクション見出し（Date / Answer / Instructor / Pick Up）はドットと英字の間隔を広めに */
.detail .sec-head__en,
.pickup .sec-head__en {
    gap: 40px;
}

/* =========================================================
   DETAIL CONTENT / MAIN VISUAL
   ========================================================= */
.detail {
    padding: 65px 0 70px;
    background-color: #fff;
}
.detail-main {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 24px;
}
.detail-main__tag {
    margin: 0 10px 18px 24px;
}
.detail-main__tag + .detail-main__tag {
    margin-left: 0;
}
.detail-main__title {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 1px;
    text-indent: 1px;
    margin: 0 auto 8px;
    width: calc(100% - 48px);
}
.detail-main hr {
    border-top: 1.5px dashed #d9d9d9;
    margin-bottom: 5px;
}
.detail-main__date {
    display: block;
    font-size: 16px;
    line-height: 2;
    font-weight: 500;
    color: #575757;
    letter-spacing: 1px;
    text-indent: 1px;
    margin-bottom: 28px;
    margin-left: 24px;
}
.detail-main__visual {
    width: 100%;
    max-width: 1000px;
    aspect-ratio: 16 / 9;
    border-radius: 12px;
    margin: 0 auto;
}

/* =========================================================
   SUMMARY / ANSWER
   ========================================================= */
.detail-summary {
    margin: 0 auto;
    padding: 80px 24px;
    background-color: #fff9ee;
}
.detail-summary__inner {
    max-width: 1200px;
    margin: 0 auto;
}
.detail-summary__head {
    margin-bottom: 28px;
}
.detail-summary__body {
    max-width: 1000px;
    margin: 0 auto;
    font-size: 15px;
    line-height: 2;
    letter-spacing: 1px;
    text-indent: 1px;
    font-weight: 500;
}
.detail-summary__body img {
    max-width: 100%;
    width: auto;
    display: block;
    margin: 30px 0;
}
.detail-summary__body .ev-img--full img {
    width: 100%;
    max-width: 1000px;
}
.detail-summary__body p {
    margin-bottom: 6px;
}
.detail-summary__body p:last-child {
    margin-bottom: 0;
}

.detail-summary__body a {
    text-decoration: underline;
}

/* 画像ブロック（リッチエディターのカスタムブロック）
   - 表示サイズ：横幅100%（--full）/ 実寸（--actual）
   - 実寸時の配置：左（--left）/ 中央（--center）/ 右（--right） */
.detail-summary__body .ev-img {
    margin-top: 10px;
}
.detail-summary__body .ev-img img {
    margin: 0;
}
.detail-summary__body .ev-img--actual img {
    width: auto;
    max-width: 100%;
}
.detail-summary__body .ev-img--left img {
    margin-right: auto;
}
.detail-summary__body .ev-img--center img {
    margin-left: auto;
    margin-right: auto;
}
.detail-summary__body .ev-img--right img {
    margin-left: auto;
}

/* =========================================================
   FREE版（リッチエディター本文 / ev_free_body）
   - フォーマット版を使わず、本文を自由記述したイベント詳細
   - .detail-summary のベーススタイルを継承しつつ、
     見出し・リストなどリッチテキスト要素を補う
   ========================================================= */
.detail-summary--free {
    padding-top: 0;
    background-color: #fff;
}
/* フリー版の講師紹介（pickup の上）。クリーム背景に白カードを載せる */
.detail-summary--lecturer .lecturer {
    margin-top: 0;
}
.detail-free h2 {
    font-size: 22px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 1px;
    text-indent: 1px;
    margin: 40px 0 5px;
}
.detail-free h3 {
    font-size: 18px;
    font-weight: 700;
    line-height: 1.6;
    letter-spacing: 1px;
    text-indent: 1px;
    margin: 25px 0 10px;
}
.detail-free h2:first-child,
.detail-free h3:first-child {
    margin-top: 0;
}
.detail-free ul,
.detail-free ol {
    margin: 0 0 16px;
    padding-left: 1.6em;
}
.detail-free ul {
    list-style: disc;
}
.detail-free ol {
    list-style: decimal;
}
.detail-free li {
    margin-bottom: 6px;
}
.detail-free li:last-child {
    margin-bottom: 0;
}
.detail-free strong,
.detail-free b {
    font-weight: 700;
}
.detail-free em {
    font-style: italic;
}
.detail-free u {
    text-decoration: underline;
}

/* =========================================================
   LECTURER（白い角丸カード / Frame 76）
   ========================================================= */
.lecturer {
    display: flex;
    align-items: center;
    gap: 40px;
    max-width: 1000px;
    margin: 50px auto 0;
    background-color: #ffffff;
    border-radius: 16px;
    padding: 40px 56px;
}
.lecturer__icon {
    width: 217px;
    height: 217px;
    background-color: #fff9ee;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.lecturer__icon img {
    width: 100%;
    height: auto;
}
.lecturer__body {
    flex: 1;
}
.lecturer__head {
    margin-bottom: 25px;
}
.lecturer__head .sec-head__ja {
    margin-top: 12px;
}
.lecturer__name {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-indent: 1px;
    color: #333333;
    margin-bottom: 10px;
}
.lecturer__hr {
    border: 0;
    border-top: dashed 1.5px #e3e3e3;
    margin: 0 0 14px;
}
.lecturer__text {
    font-size: 16px;
    line-height: 1.5;
    letter-spacing: 1px;
    text-indent: 1px;
    font-weight: 500;
}

/* =========================================================
   PICKUP（あわせてチェックしたい〜）
   ========================================================= */
.pickup {
    padding: 64px 0;
    background-color: #fff;
}
.pickup__head {
    margin-bottom: 20px;
}
.pickup .cat-filter {
    margin-top: 0;
    margin-bottom: 30px;
}
.pickup .btn-all {
    margin-top: 44px;
}

/* =========================================================
   RESPONSIVE  -- Tablet
   ========================================================= */
@media screen and (max-width: 1024px) {
    .detail {
        padding: 24px 0 50px;
    }

    .detail-main {
        margin-bottom: 40px;
    }
    .detail-main__tag {
        margin: 0 0 18px;
    }
    .detail-main__title {
        font-size: 22px;
        margin-bottom: 8px;
        width: 100%;
    }
    .detail-main__date {
        margin-left: 0;
    }

    .detail-summary__body p {
        font-size: 14px;
    }
    .detail-free h2 {
        font-size: 20px;
    }
    .detail-free h3 {
        font-size: 17px;
    }

    .lecturer {
        gap: 32px;
        padding: 32px 36px;
    }
    .lecturer__icon {
        width: 160px;
        height: 160px;
    }

    .pickup {
        padding: 50px 0 70px;
    }
}

/* =========================================================
   RESPONSIVE  -- Mobile
   ========================================================= */
@media screen and (max-width: 680px) {
    .detail {
        padding: 16px 0 40px;
    }

    .detail-main {
        margin-bottom: 32px;
        padding: 0 16px;
    }
    .detail-main__tag {
        margin-bottom: 12px;
    }
    .detail-main__title {
        font-size: 18px;
        line-height: 1.6;
        margin-bottom: 6px;
    }
    .detail-main__date {
        margin-bottom: 20px;
    }
    .detail-main__visual {
        border-radius: 8px;
    }

    .detail-summary {
        padding: 45px 16px;
    }
    .detail-summary__head {
        margin-bottom: 18px;
    }
    .detail-summary__body p {
        font-size: 13px;
        line-height: 1.9;
    }
    .detail-summary--free {
        padding-top: 0;
    }
    .detail-free h2 {
        font-size: 17px;
        margin: 28px 0 12px;
    }
    .detail-free h3 {
        font-size: 15px;
        margin: 22px 0 10px;
    }

    .lecturer {
        flex-direction: column;
        align-items: center;
        gap: 16px;
        margin-top: 30px;
        padding: 28px 20px;
    }
    .lecturer__icon {
        width: 120px;
        height: 120px;
    }
    .lecturer__body {
        width: 100%;
    }
    .lecturer__head {
        margin-bottom: 8px;
    }
    .lecturer__head .sec-head__ja {
        margin-top: 8px;
    }
    .lecturer__name {
        font-size: 15px;
        margin-bottom: 8px;
    }
    .lecturer__hr {
        margin-bottom: 10px;
    }
    .lecturer__text {
        font-size: 13px;
    }

    .pickup {
        padding: 36px 0 50px;
    }
    .pickup__head {
        margin-bottom: 16px;
    }
    .pickup .cat-filter {
        margin-bottom: 22px;
    }
    .pickup .btn-all {
        margin-top: 30px;
    }
}
