@charset "utf-8";

/*--------------------------------------------------------------
  ろんりこくご(Dコース LP)
--------------------------------------------------------------*/

#events-titlearea {
    margin: 0;
    padding: 0;

    width: 100%;
    height: 100vh;

    display: flex;
    flex-direction: column;
    justify-content: end;
    align-items: center;
}

#events-titlearea {
    margin: 0;
    padding: 0;
    width: 100%;
    min-height: 100vh;
    /* ← heightで固定せずmin-heightに */
    display: flex;
    flex-direction: column;
}

#events-titlearea .titlearea {
    flex: 1;
    /* ← これで最低100vh確保しつつ中身に応じて伸長 */
    display: flex;
    flex-direction: column;
}

#events-titlearea .first-area {
    flex: 1;
    /* 余白をすべて吸収して伸長 */
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* 中央寄せ */
    align-items: center;
}

#events-titlearea .menu-container {
    margin-top: auto;
    /* ← 下揃え */
}


#events-titlearea div.titlearea h1,
#events-titlearea div.titlearea h1>* {
    font-size: clamp(2.0rem, 4vw, 4rem);
    line-height: 1.4;
    font-weight: 400;
    letter-spacing: 1.2;
    color: #fff;
    text-shadow: 2px 2px 10px rgb(55 157 0 / 1.0),
        -2px 2px 10px rgb(55 157 0 / 1.0),
        2px -2px 10px rgb(55 157 0 / 1.0),
        -2px -2px 10px rgb(55 157 0 / 1.0);
}

#events-titlearea div.titlearea h3,
#events-titlearea div.titlearea h3>* {
    margin: 1rem 0 0 0;
    padding: 0.6rem 2rem 0.8rem 2rem;
    font-size: clamp(0.7rem, 1.2vw, 2rem);
    line-height: 1;
    font-weight: 400;
    color: #fff;
    background-color: rgb(55 157 0 / 1.0);
    border-radius: 1.5rem;
}


@media (max-width: 767.98px) {

    /* sm 以下の画面サイズの場合のスタイル */
    #events-titlearea div.titlearea h1,
    #events-titlearea div.titlearea h1>* {
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    /* md の画面サイズの場合のスタイル */
    #events-titlearea div.titlearea h1,
    #events-titlearea div.titlearea h1>* {
        text-align: center;
    }
}

@media (min-width: 992px) {
    /* lg 以上の画面サイズの場合のスタイル */
}

/*--------------------------------------------------------------
  概要
--------------------------------------------------------------*/

@media (max-width: 767.98px) {

    /* sm 以下の画面サイズの場合のスタイル */
    #events-titlearea {
        margin: 0;
        padding: 0;
    }

    #events-titlearea .titlearea {
        width: 100%;
        height: 30vh;
        border-radius: 0;
        margin-top: 100px;

        background-position: center 50%;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    /* md の画面サイズの場合のスタイル */
    #events-titlearea {
        margin: 0;
        padding: 0;
    }

    #events-titlearea .titlearea {
        width: 100%;
        height: 30vh;
        border-radius: 0;
        margin-top: 100px;

        background-position: center 50%;
    }
}

@media (min-width: 992px) {
    /* lg 以上の画面サイズの場合のスタイル */
}



/*--------------------------------------------------------------
    イベント概要
  --------------------------------------------------------------*/

#about-d-course {
    width: 100%;
    height: 100%;
}

#about-d-course .two-theme {
    margin: 2rem 0 2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    font-size: clamp(1.2rem, 1.5vw, 1.5rem);
}

#about-d-course p {
    font-size: 1.2rem;
}

#about-d-course .two-theme ul {
    max-width: 90%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: start;
}

#about-d-course .two-theme li {
    display: grid;
    grid-template-columns: 10rem 1fr;
    column-gap: 0;
    row-gap: 1rem;
}

#about-d-course .two-theme li>span:last-child {
    padding: 0.2rem 0 0 0;
}


#about-d-course .about-d-course-grid {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 2rem;
    row-gap: 1rem;
}

#about-d-course .about-d-course-grid>div:first-child {
    order: 1;
    margin: 0;
    padding: 0 !important;

    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items: start;
}

#about-d-course .about-d-course-grid>div:last-child {
    order: 2;
    width: 100%;
    min-height: 50vh;
}

#about-d-course .about-d-course-grid h3 {
    margin: 0 0 0.5rem 0;
    padding: 0;

    font-size: 1.5rem;
    color: rgb(var(--main-color) / 1);
}

#about-d-course h2 {
    margin: 3rem 0 3rem 0;
    padding: 0;
}

#about-d-course h5 {
    margin: 3rem 0 0.5rem 0;
    padding: 0;
}

#about-d-course .about-d-course-grid ul {
    margin: 0 1rem 3rem 1rem;
}


@media (max-width: 767.98px) {

    /* sm 以下の画面サイズの場合のスタイル */
    #about-d-course .about-d-course-grid {
        grid-template-columns: 1fr
    }

    #about-d-course .about-d-course-grid>div:first-child {
        order: 2;
    }

    #about-d-course .about-d-course-grid>div:last-child {
        order: 1;
    }

    #about-d-course .two-theme li {
        grid-template-columns: 8rem 1fr;
    }

    #about-d-course .two-theme li>span:last-child {
        padding: 0.8rem 0 0 0;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {

    /* md の画面サイズの場合のスタイル */
    #about-d-course .about-d-course-grid {
        grid-template-columns: 1fr
    }

    #about-d-course .about-d-course-grid>div:first-child {
        order: 2;
    }

    #about-d-course .about-d-course-grid>div:last-child {
        order: 1;
    }
}

@media (min-width: 992px) {
    /* lg 以上の画面サイズの場合のスタイル */
}

/*--------------------------------------------------------------
    Dコース特徴
  --------------------------------------------------------------*/

.features-d-course {
    margin: 2rem 0 2rem 0;
    padding: 1rem;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: taransparent;
}

.features-d-course>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.features-d-course>div ul {
    font-size: clamp(1.1rem, 1.8vw, 2.7rem);
    list-style: none;
}

.features-d-course>div ul>li {
    margin: 0.3rem 0;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    color: #3e4339;
    background-color: #fcffef;
    filter: drop-shadow(2px 2px 2px rgb(0 0 0 / 0.2));
}

.features-d-course>div ul>li:nth-child(2n+1) {
    background-color: #faffc2;
}

.features-d-course h3 {
    margin: 2rem 0 2rem 0;
}


/*--------------------------------------------------------------
    Dコース身に付く力
  --------------------------------------------------------------*/

.acquired-skills-d-course {
    margin: 2rem 0 2rem 0;
    padding: 2rem 1rem 2rem 1rem;
    width: 100%;

    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

    background-color: #fcffef;
    border-radius: 1rem;
}

.acquired-skills-d-course>div {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.acquired-skills-d-course>div ul {
    font-size: 1.4rem
}

.acquired-skills-d-course>div h3 {
    margin: 2rem 0 2rem 0;
    color: #425042;
}

/*--------------------------------------------------------------
    Dコースタイプ
  --------------------------------------------------------------*/

#type-d-course {
    width: 100%;
    height: 100%;
}

#type-d-course .type-d-course-grid {
    width: 100%;

    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
    column-gap: 2rem;
    row-gap: 1rem;
}



#type-d-course .type-d-course-grid h3 {
    margin: 1rem 0 2rem 0;
    padding: 0;

    font-size: 1.5rem;
    color: rgb(0 183 131 / 1);
}

#type-d-course h2 {
    margin: 3rem 0 3rem 0;
    padding: 0;
}

#type-d-course h5 {
    margin: 3rem 0 0.5rem 0;
    padding: 0;
}

#type-d-course .type-d-course-grid ul {
    margin: 0 1rem 3rem 1rem;
}

#type-d-course .sample-d-course {
    margin: 1rem 0 1rem 0;
    padding: 0;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    column-gap: 1rem;
    row-gap: 1rem;
}

#type-d-course .sample-d-course-2dev {
    margin: 1rem 0 1rem 0;
    padding: 0;

    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 1rem;
    row-gap: 1rem;
}

#type-d-course .sample-d-course-6dev {
    margin: 1rem 0 1rem 0;
    padding: 0;

    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
    column-gap: 1rem;
    row-gap: 1rem;
}

#type-d-course .sample-d-course a>img,
#type-d-course .sample-d-course-2dev a>img,
#type-d-course .sample-d-course-6dev a>img {
    width: 100%;
    border: 4px solid #ccc;
}



@media (max-width: 767.98px) {

    /* sm 以下の画面サイズの場合のスタイル */
    #type-d-course .type-d-course-grid,
    #type-d-course .sample-d-course-2dev {
        grid-template-columns: 1fr
    }

    #type-d-course .sample-d-course {
        grid-template-columns: 1fr;
    }

    #type-d-course .sample-d-course-2dev {
        margin: 1rem 0 1rem 0;
        padding: 0;

        display: grid;
        grid-template-columns: 1fr;
        column-gap: 1rem;
        row-gap: 1rem;
    }

    #type-d-course .sample-d-course-6dev {
        margin: 1rem 0 1rem 0;
        padding: 0;

        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1rem;
        row-gap: 1rem;
    }

}

@media (min-width: 768px) and (max-width: 991.98px) {

    /* md の画面サイズの場合のスタイル */
    #type-d-course .type-d-course-grid,
    #type-d-course .sample-d-course-2dev {
        grid-template-columns: 1fr
    }

    #type-d-course .sample-d-course {
        grid-template-columns: 1fr;
    }

    #type-d-course .sample-d-course-2dev {
        margin: 1rem 0 1rem 0;
        padding: 0;

        display: grid;
        grid-template-columns: 1fr;
        column-gap: 1rem;
        row-gap: 1rem;
    }

    #type-d-course .sample-d-course-6dev {
        margin: 1rem 0 1rem 0;
        padding: 0;

        display: grid;
        grid-template-columns: 1fr 1fr;
        column-gap: 1rem;
        row-gap: 1rem;
    }

}

@media (min-width: 992px) {
    /* lg 以上の画面サイズの場合のスタイル */
}

/*--------------------------------------------------------------
    詳細
  --------------------------------------------------------------*/

#detail-d-course {
    width: 100%;
    height: 100%;
}

/*--------------------------------------------------------------
    受講にあたり
  --------------------------------------------------------------*/

#enrollment-d-course {
    width: 100%;
    height: 100%;
}

#enrollment-d-course .detail-d-course-grid {
    width: 100%;

    display: flex;
    flex-direction: column;
}

#enrollment-d-course h3 {
    margin: 2rem 0 2rem 0;
    padding: 0;
    text-align: center;
}

/*--------------------------------------------------------------
    論理文章能力検定のご案内
  --------------------------------------------------------------*/


#certification-exam {
    margin: 0;
    padding: 0;
}

#certification-exam h3 {
    margin: 2rem 0 2rem 0;
}


/*--------------------------------------------------------------
    申し込み
  --------------------------------------------------------------*/


#application {
    display: none;
    margin: 0;
    padding: 0;
}

#application h2 {
    margin: 3rem 0 3rem 0;
    padding: 0;
}



/*--------------------------------------------------------------
    gridリスト処理
  --------------------------------------------------------------*/
ul.grid-list {
    width: 100%;
    margin: 0.5rem 0 0.5rem 0 !important;
    list-style-type: none;
    padding-left: 0;
    font-size: 1.2rem;
    line-height: 1.5;
}

ul.grid-list li {
    margin: 0.5rem 0 0.5rem 0;
    display: grid;
    grid-template-columns: 5rem 1fr;
    column-gap: 1rem;
}

ul.grid-list li>*:first-child {
    text-align: end;
}

/*--------------------------------------------------------------
    gridリスト処理
  --------------------------------------------------------------*/
ul.grid-list-mini {
    width: 100%;
    margin: 0.5rem 0 0.5rem 0 !important;
    list-style-type: none;
    padding-left: 0;
    font-size: 1.2rem;
    line-height: 1.5;
}

ul.grid-list-mini li {
    margin: 0.5rem 0 0.5rem 0;
    display: grid;
    grid-template-columns: 4rem 1fr;
    column-gap: 1rem;
}

ul.grid-list-mini li>*:first-child {
    text-align: end;
}