@charset "utf-8";
/* CSS Document */
        body {
            margin: 0;
            padding: 0;
            background-color: white;
            color: #333;
        }

        .container {
            margin: 0 auto;
            font-size: 16px;
        }

        /* ヘッダーセクション */
        .header-section {
            padding: 20px 40px;

background: url("/img/pages/ai_intro/main.jpg");
background-size: cover;
background-repeat: no-repeat;
height: 450px;
box-sizing: border-box;
        }
.header-top-text {
    font-size: 20px;
    margin-bottom: 20px;
    font-weight: bold;
}
        .header-main {
            display: flex;
            align-items: flex-start;
            justify-content: space-between;
            gap: 20px;
        }
        .header-left {
            flex: 1;
            padding-right: 20px;
        }
        .header-left .logo-group {
        display: inline-block;
        padding: 10px;
        background: #fff;
        border-radius: 5px;
        }
        
        
        .header-left .logo-group img {
            height: 40px; /* ロゴの高さ調整 */
            vertical-align: middle;
            margin-right: 10px;
        }
        .header-left .logo-group span {
            font-size: 20px;
            font-weight: bold;
            vertical-align: middle;
        }
        .header-left h1 {
            font-size: 60px; /* タイトルサイズ調整 */
            font-weight: bold;
            margin: 50px 0 10px 0;
            color: #222;
        }
        .header-left h2 {
            font-size: 28px; /* サブタイトルサイズ調整 */
            font-weight: bold;
            margin-top: 20px;
            color: #444;
        }
        .header-left p {
            font-size: 14px;
            line-height: 1.6;
            margin-bottom: 10px;
        }
        .header-right img {
            width: 350px; /* 画像の幅調整 */
            height: auto;
            margin-top: 10px;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0,0,0,0.1);
        }
        .header-bottom img {
            padding: 20px 40px;
            width: 400px; /* 画像の幅調整 */
            height: auto;
        }

        /* 講座ラインナップセクション */
        .course-lineup-section {
            padding: 0px;
            text-align: left;
        }
        .course-lineup-section h2 {
            font-size: 26px;
            font-weight: bold;
            margin-bottom: 20px;
            color: #222;
            padding-top: 100px;
        }
        .course-lineup-section p {
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 30px;
        }
        .course-lineup-section img {
            width: 100%;
/*            max-width: 800px;*/
            height: auto;
            text-align: center;
        }
        
        /* 各講座詳細セクション */
        .individual-course-section {
/*            padding: 40px;*/
        }
        .individual-course-section h2 {
            font-size: 26px;
            font-weight: bold;
            margin-bottom: 20px;
            color: #222;
            padding-top: 100px;
        }
        .course-item {
            display: flex;
            margin-bottom: 30px;
            align-items: flex-start;
            border: 1px solid #ddd;
            border-radius: 5px;
            padding: 20px;
            background-color: #fcfcfc;
            column-gap: 50px;
        }
        .course-item-left {
            flex: 1;
            text-align: center;
            margin-right: 20px;
        }
        .course-item-left .course-title-box {
            background-color: #FFDE00;
            color: #333;
            padding: 15px 10px;
            font-size: 18px;
            font-weight: bold;
            border-radius: 5px;
            margin-bottom: 10px;
        }
        .course-item.math-stat .course-title-box { background-color: #004D9D; color: white; }
        .course-item.python .course-title-box { background-color: #3876B4; color: white; }
        .course-item.g-kentei .course-title-box { background-color: #004D9D; color: white; }
        .course-item.ml .course-title-box { background-color: #40578F; color: white; }
        .course-item.e-shikaku .course-title-box { background-color: #A20D32; color: white; }

        .course-item-left .course-meta {
            font-size: 12px;
            color: #666;
            margin-top: 5px;
        }

        .course-item-left img {
            margin-top: 10px;
            width: 100%;
            height: auto;
        }


        .course-item-right {
            flex: 2;
        }
        .course-item-right h3 {
            font-size: 20px;
            font-weight: bold;
            margin-top: 0;
            margin-bottom: 10px;
            color: #222;
        }
        .course-item-right strong {
            display: block;
            margin-bottom: 5px;
            font-size: 14px;
        }
        .course-item-right p, .course-item-right ul {
            font-size: 16px;
            line-height: 1.4;
            margin-bottom: 10px;
        }
        .course-item-right b {
            font-size: 20px;
            line-height: 1.4;
            margin-bottom: 10px;
        }
        .course-item-right ul {
            padding-left: 20px;
            list-style-type: disc;
        }

        /* セット講座セクション */
        .set-course-section {
            padding: 40px;
            background-color: #f7f7f7;
            border-top: 1px solid #eee;
            margin-top: 30px;
        }
        .set-course-section h2 {
            font-size: 26px;
            font-weight: bold;
            text-align: center;
            margin-bottom: 30px;
            color: #222;
        }
        .set-course-content {
            display: flex;
            align-items: flex-start;
            gap: 40px;
        }
        .set-course-image {
            flex: 0 0 300px; /* 画像の固定幅 */
            text-align: center;
        }
        .set-course-image img {
            width: 100%;
            height: auto;
            border-radius: 5px;
        }
        .set-course-details {
            flex: 1;
        }
        .set-course-details p {
            font-size: 16px;
            line-height: 1.6;
            margin-bottom: 15px;
        }
        .set-course-details h3 {
            font-size: 20px;
            font-weight: bold;
            margin-top: 20px;
            margin-bottom: 10px;
            color: #222;
        }
        .set-course-details h4,.course-item-right p:nth-of-type(3) b {
            font-size: 18px;
            font-weight: bold;
            margin-top: 20px;
            margin-bottom: 10px;

        }
        .set-course-details ul {
            list-style-type: disc;
            padding-left: 20px;
            font-size: 14px;
            line-height: 1.6;
        }






.flexbox {
display: flex;
justify-content: flex-start;
gap: 20px;
align-items: flex-start;
}

.header-bottom h2 {
text-align: center;
border-bottom: none;
font-size: 26px;
padding-top: 100px;
}


.course-item-right li,.set-course-details li {
list-style: disc;
font-size: 16px;
margin-bottom: 10px;
}


a.course-item-left-btn {
display: inline-block;
padding: 5px 20px;
background: #fcfcfc;
color:#333;
text-decoration: none;
border:1px solid #333;
border-radius: 5px;
margin-top: 10px;
}
.course-item-left {
text-align: right;
}

.set-course-itemname {
font-size: 40px;
text-align: center;
color: darkcyan;
font-weight: bold;
}




































/*nest------------------------------------------------------------------------------*/
.ai_intro-container {
width: 1120px;
font-weight: bold;




/* ヘッダーセクション */
.header-row {
    display: flex;
    background: #5b433c;
    color: #FFF;
    font-size: 20px;
    padding: 13px 40px;
    justify-content: flex-end;
    column-gap: 40px;

}
.header-box {
 padding: 17px;

}

.header-intro {
    background-color: #FFF; /* 入門講座の色 */
    color: #5b433c;
    width: 22%;
    text-align: center;
}

.header-basic {
    background-color: #FFF; /* 基礎講座の色 */
    color: #5b433c;
    width: 460px;
    text-align: center;
}

/* フローチャートセクションの基本設定 */
.flow-row {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.flow-row-top {
padding: 30px;
background: #EBF6F9;
}

.flow-row-bottom {
padding: 30px;
background: #BCDEEB;

}


.skill-box {
font-size: 18px;
color: #FFF;
padding: 30px 10px;
text-align: center;
width: 200px;
flex: none;
}

.skill-business {
    background-color: #46A2D0;
    margin-right: 50px;
}

.skill-developer {
    background-color: #315D76;
    margin-right: 50px;
}



/* 矢印 */
.arrow {
width: 80px;
height: 2px;
background: #4699C3;
position: relative;
}
.arrow::after {
content: "▶";
color:#4699C3;
display: block;
position: absolute;
top: -11px;
right: -2px;
}
/* 上のフローの配置調整 */
.flow-row-top {
    align-items: center;
}
.flow-row-top .course-box {
    border: 2px solid #4699C3;
    color: #4699C3;
    background: #FFF;
        padding: 15px 20px;
    text-align: center;
        font-size: 18px;
            line-height: 1.4;
    font-weight: bold;
    width: 220px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
}

.flow-row-bottom .course-box {
    border: 2px solid #315D76;
    color: #315D76;
    background: #FFF;
        padding: 15px 20px;
    text-align: center;
        font-size: 18px;
            line-height: 1.4;
    font-weight: bold;
    width: 220px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    flex-shrink: 0;
}

.course-group {
display: flex;
gap: 35px;
flex-wrap: wrap;
width: 220px;
}




.developer-courses {
position: relative;
}


.vertical-connector {
position: relative;
width: 80px;
}

.vertical-connector2 {
position: relative;
width: 40px;
}


.line {
background: #315D76;
}

.vertical-line {
height: 115px;
width: 2px;
position: absolute;
top: -58px;
left: 40px;
}

.horizontal-line-top {
height: 2px;
width: 40px;
position: absolute;
top: -58px;
left: 0px;
}
.horizontal-line-bottom {
height: 2px;
width: 40px;
position: absolute;
top: 55px;
left: 0px;
}

.horizontal-line-center {
height: 2px;
width: 40px;
position: absolute;
top: 0px;
left: 40px;
}

.vertical-connector2 .horizontal-line-center {
height: 2px;
width: 40px;
position: absolute;
top: 0px;
left: 0px;
}


.course-machine-learning {
/*
position: absolute;
top: 60px;
left: 50px;
*/

}

.course-engineer {
    background: #7b4f99;
    color: #FFF;
    width: 190px; 
    font-size: 18px;
    padding: 20px 10px;
    text-align: center;
    position: relative;
}


.course-engineer img {
width: 80px;
height: 80px;
border-radius: 100px;
position: absolute;
top: -60px;
right: -20px;

}
a {
text-decoration: none;
}
a:hover .course-box{
 color: #FF8000;
 background:#FFFF99;
}
a:hover .course-engineer{
 color: #FF8000;
 background:#FFFF99;
}
}
/*nest------------------------------------------------------------------------------*/


@media screen and (max-width:767px) {

.ai_intro-container {
width: 100%;


.header-row {
padding: 13px;
        font-size: 18px;
}

.header-intro {
        background-color: #FFF;
        color: #5b433c;
        width: 45%;
        text-align: center;
    }
    .header-basic {
        background-color: #FFF;
        color: #5b433c;
        width: 45%;
        text-align: center;
    }
    .arrow {
        width: 20%;
        height: 2px;
        background: #4699C3;
        position: relative;
    }
.flow-row {
flex-wrap: wrap;
justify-content: center;
}

.skill-box {
width: 100%;
}

.skill-business,.skill-developer {
margin: 0 0 20px 0;
}

a {
width: 40%;
    }

.flow-row-top .course-box {
width: 100%;
flex: 1;
font-size: 16px;
padding: 10px;
}

.course-group {
width: 100%;
}
.flow-row-bottom .course-box {
width: 100%;
font-size: 16px;
padding: 10px;
}

.course-group a {
width: 100%;
}

.developer-courses {
width: 40%;
    }



.vertical-connector {
        position: relative;
        width: 50px;
    }

.vertical-connector2 .horizontal-line-center {
        height: 80px;
        width: 2px;
        position: absolute;
        top: 40px;
        left: -80px;
    }

    
    .vertical-connector2 {
        position: relative;
        width: 2px;
    }
    
    .flow-row-bottom a.ai-last-link {
    width: 50%;
    margin-left: auto;
    }
    
        .course-engineer img {
        width: 60px;
        height: 60px;
        border-radius: 100px;
        position: absolute;
        top: -40px;
        right: -20px;
    }
    
    .header-row {
    justify-content: space-between;
    column-gap: normal;
    }
    
    
    .horizontal-line-top {
        height: 2px;
        width: 20px;
        position: absolute;
        top: -58px;
        left: 0px;
    }
        .horizontal-line-bottom {
        height: 2px;
        width: 20px;
        position: absolute;
        top: 55px;
        left: 0px;
    }
    .vertical-line {
        height: 115px;
        width: 2px;
        position: absolute;
        top: -58px;
        left: 20px;
    }
    .horizontal-line-center {
            height: 2px;
            width: 30px;
            position: absolute;
            top: 0px;
            left: 20px;
        }
        .course-engineer {
        background: #7b4f99;
        color: #FFF;
        width: 100%;
        font-size: 16px;
        padding: 20px 10px;
        text-align: center;
        position: relative;
    }
    
    .course-box > br {
    display: none;
    } 
    
}

}







@media screen and (max-width:767px) {
.header-section {
    padding:0px;
    background: url(/img/pages/ai_intro/main.jpg);
    background-size: cover -50px;
    background-repeat: no-repeat;
    height: 450px;
    box-sizing: border-box;
    background-position: center;
}
.header-left .logo-group img {
    height: 20px;
    vertical-align: middle;
    margin-right: 0px;
}

.header-left .logo-group {
    display: block;
    padding: 10px;
    background: #fff;
    border-radius: 5px;
    text-align: center;
}


    .header-left h1 {
        font-size: 50px;
        font-weight: bold;
        margin: 20px 0 10px 0;
        color: #FFF;
        text-shadow: 0px 0px 3px #000;
    }


.container {
padding: 20px;
}

.header-bottom h2 {
    padding-top: 50px;
}


.flexbox {
    display: block;
}




.course-lineup-section h2 {
    padding-top: 50px;
    text-align: center;
    
}

.individual-course-section h2 {
    padding-top: 50px;
    text-align: center;
}

.course-item {
display: block;
}

.course-item-left {
margin: 0;
}

.course-item-left img {
margin: 0 0 0px 0;
width: 100%;
}

.set-course-content {
    display: block;
}

.set-course-section {
    padding: 20px;
}


.pc_only {
display: none;
}


.pane-topic-path > .container {
padding: 0;
}

.header-left {
    padding-right: 0px;
}
h3.set-course-itemname {
    font-size: 30px;
    text-align: center;
    color: darkcyan;
    font-weight: bold;
    padding: 0;
}

}

