.cardContainer {
    display: flex;
    flex-wrap: wrap;
    gap: 20px; 
    max-width: 1200px; 
    margin: 0 auto 120px; 
  }

  .cardItem {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    flex: 1 1 calc(33.333% - 20px * 2 / 3); 
    margin-bottom: 100px;
  }

  .cardItem .cardImageWrapper img {
    width: 100%;
  }

  .cardItem .cardContent {
    margin-top: 18px;
  }

  .cardItem .cardStatusLabel {
    font-size: 14px;
    font-weight: bold;
    line-height: 180%;
    padding: 0 10px;
    display: inline-block;
  }

  .cardItem .cardStatusLabel.cardStatusLabel--archiveAvailable {
    background: #FFA07A;
  }

  .cardItem .cardStatusLabel.cardStatusLabel--ended {
    background: #CCCCCC;

  }

  .cardItem .cardStatusLabel.cardStatusLabel--seminarActive {
    background: #EB5757;
    color: white;

  }

  .cardItem a {
    text-decoration: none;
  }

  .cardContent {
    min-height: 100px;
  }

  .cardContent p.cardDescription {
    font-size: 16px;
    line-height: 1.6;
    max-width: 100%;
    min-height: 88px;
    line-height: 1.8;
    text-decoration: none;
    margin-top: 18px;
    margin-left: 0;
    margin-right: 0;
    margin-bottom: 21px;
  }

  .cardActions {
    display: block; /* 幅100%にするため */
    width: 195px;
    margin-left: auto;
    margin-right: auto;
    font-size: 16px; /* フォントサイズは固定 */
    text-decoration: none;
    text-align: center;
    border:solid 1px #310304;
    border-radius: 4px; /* 角丸調整 */
    background: white;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
    box-sizing: border-box;
  }

  .cardItem .cardActions span {
    color: #310304;
    font-weight: bold;
    text-decoration: none;
    line-height: 1.8;
    padding: 10px 40px;
    display: inline-block;
  }

  .cardActions a:hover {
    opacity: .6;
    text-decoration: none;
  }

  #content .container.containerSeminar {
    padding-bottom: 0px;
  }

  .cardContainer:last-of-type
 {
    margin-bottom: 0;
}


        /* メールマガジンセクション全体 */
        .magazineSignupSection {
            background-color: #eaeaea; /* デザインの背景色 (微調整) */
            padding: 84px 143px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        }

        /* 上部のコンテンツラッパー (タイトルと特徴リスト) */
        .contentTop {
            display: flex;
            justify-content: space-between;
            align-items: flex-end;
            margin-bottom: 35px;
            flex-wrap: wrap; /* レスポンシブ対応で折り返し */
        }

        /* 左側のメイン情報ブロック */
        .mainInfo {
            padding-right: 20px; /* 右ブロックとの間のスペース */
        }

        .mainInfoSubTitle {
            font-size: 14px;
            line-height: 140%;
            margin-bottom: 0px;
            font-weight: normal;
            color: black;
        }

        .mainInfoTitle {
            font-size: 30px;
            color: #222;
            font-weight: bold;
            line-height: 1.2;
            margin-bottom: 3px;
        }

        /* 右側の特徴リストブロック */
        .features {
            flex: 1.2; /* 少し広めに取る */
            min-width: 300px; /* 折り返し時の最小幅 */
            padding-top: 5px; /* 上部のテキストとのバランス調整 */
        }

        .featureList {
            list-style: none;
            display: flex;
            flex-wrap: wrap; /* 特徴リストも折り返し可能に */
            gap: 10px 20px; /* 行間・アイテム間 */
        }

        .featureItem {
            font-size: 14px;
            display: flex;
            align-items: center;
            color: black;
        }

        .featureItem .iconCheck {
            margin-right: 4px;
            display: flex;
        }

        .featureCatchphrase {
            font-size: 14px;
            margin: 0;
            color: black;
        }

        /* アクションボタンのラッパー */
        .actions {
            text-align: center;
        }

        .actions .btns .btnB .txtAC.vAM {
            line-height: 60px;
        }

         .subContent .actions .btns {
            margin-bottom:0;
         }


        .btns .iconMail {
            margin-right: 10px;
            font-size: 18px; /* アイコンサイズ調整 */
        }

        .btns .iconMail img {
            vertical-align: text-top;
        }

        .hide {
            display: none;
        }


        /* 簡単なレスポンシブ対応 */
        @media (max-width: 768px) {

            .seminar .bgVideo.typeB {
                background-color: rgba(0, 0, 0, 0.292);
            }

            .seminar .bgVideo.typeB .container {
                background: url(/seminar/images/img-top-bg.png) center center no-repeat;
                background-size: cover;
            }

            .cardItem {
                flex: none;
                width: 100%;
                margin-bottom: 0;
            }

            .cardContainer {
                padding: 0 20px;
                gap : 50px;
            
            }

            .cardContent p.cardDescription {
                min-height: unset;
            }

            .contentTop {
                flex-direction: column; 
                align-items: flex-start;
                text-align: left;
                margin-bottom: 20px;
            }
            .mainInfo {
                padding-right: 0;
                margin-bottom: 4px;
            }

            .magazineSignupSection {
                margin: 0 16px;
            }

            .mainInfoSubTitle {
                font-size: 12px;
                margin-left: 0;
            }
            .mainInfoTitle {
                font-size: 25px;
                margin-bottom: 0;
                 margin-left: 0;
            }
            .features {
                align-items: center;
                text-align: left; /* 特徴リストとキャッチフレーズも中央揃え */
            }
            .featureList {
                gap: 8px 10px;
            }

            .featureList li {
                font-size: 11px;
            }

            .magazineSignupSection {
                padding: 30px 20px;
            }
            .mainInfoTitle {
                font-size: 30px;
            }

            .iconMail {
                display: inline-block;
                width: 24px;
            }

            .subContent .actions .btns {
                width: 100%;
                margin: 0
            }


        }