.course-section {
  margin: 0 15vw;
}
@media (max-width: 768px) {
  .course-section {
    margin: 0 10vw;
  }
}




/* ***アイコン***/
.icon-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    display: flex;
    justify-content: center;
    gap: 25px;
    align-items: center;
}
.icon-container img:hover{
    opacity: 1;
    transform: scale(1.1);
}    
.course-icon-item .course-icon {
    width: 40px;
    height: 40px;
}
.icon-set {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .icon-container{
        gap: 5px;
    }
    .icon-container img{
        width: 80px;
        padding-top: 50px;
    }
}    

/* 1. ラジオボタンを完全に非表示にする */
.course-switcher-container input[type="radio"] {
    display: none;
}
/* 2. 全てのコンテンツをデフォルトで非表示にする */
.course-content {
    display: none;
}
/* 3. アイコンを横並びにする部分 */
.course-switcher-container {
    display: flex;
    flex-wrap: wrap;
    /* レスポンシブ対応のため折り返しを許可 */
    gap: 20px;
}
/* 4. 【重要】コンテンツ切り替えのロジック */
/* id="tab-a"のラジオボタンがチェックされたら、
   そのラジオボタンより後にあるid="content-a"を表示する */
#tab-a:checked~.content-wrapper #content-a {
    display: block;
}
/* id="tab-b"のラジオボタンがチェックされたら、
   そのラジオボタンより後にあるid="content-b"を表示する */
#tab-b:checked~.content-wrapper #content-b {
    display: block;
}
/* ****************** */


/* ***コンテンツ*** */
/* ****************** */
.content-wrapper {
    width: 100%;
    margin-top: 30px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    z-index: 5;    
    max-width: 1200px;
    margin: 0 auto;
    padding: 0;
    min-height: 680px;
    padding-top: 100px;
    position: relative;
}

@media (max-width: 1300px) {
    .content-wrapper {
        display: block;         
        padding-top: 80px;
        text-align: center;
    }
}




/* 左側コンテンツ */
.left-content {
    flex-grow: 0;
    flex-shrink: 0;
    text-align: left;
    position: relative;
    padding-top: 30vh;
    padding-left: 2vw;
    /* padding-right: 10vw; */
    max-width: 500px;
    width: 45%;
    z-index: 5;
}
.detail-block{
    line-height: 1.6;
    color: #555;
}
.detail-block h2{
    font-size: 2.3em;
    padding-bottom: 4vh;
}
.detail-block p{
    font-size: 1.4em;
    padding-bottom: 5vh;
}

.links-and-buttons_com {
    display: flex;
    align-items: flex-end;
    gap: 20px;
    position: relative;
    z-index: 5;
    margin-top: 10px;
}
@media (max-width: 1300px) {
    .links-and-buttons_com{
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-top: 30px;
    }
    .detail-block h2{
    font-size: 2em;
    padding-bottom: 4vh;
}
.detail-block p{
    font-size: 1.3em;
    padding-bottom: 5vh;
}
}

.course-list-links h3{
    font-size: 1.3em;
    color: #333;
    border-bottom: 1px solid #555;
    display: inline-block;
    padding-bottom: 5px;
}
.course-list-links ul {
    list-style-type: disc;
    padding-left: 20px;
}
.course-list-links li {
    margin-bottom: 2px;
    font-size: 1.3em;
}

@media (max-width: 1300px){
    .left-content {
        width: 100%;
        max-width: 600px;        
        margin: 0 auto;          
        padding: 120px 20px 40px;
        }    
    .sub-title {
        font-size: 1.6em;
        margin-bottom: 15px;
        color: #4A69B5;
    }
    .description-text {
        font-size: 0.9em;
        line-height: 1.5;
    }
    .links-and-buttons {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
        margin-top: 30px;
    }
    .course-list-links h3 {
        font-size: 0.9em;
        margin-bottom: 5px;
    }
    .course-list-links li {
    margin-bottom: 2px;
    font-size: 1.1em;
}

}

.sp_button {
    border: solid 2px #ffa500;
}
@media (min-width: 1300px){
    .sp_button {
        display: none;
    }
}




/* 右側コンテンツ */
.right-illustration {
    position: relative;
    top: 100px;
    right: 0;
    z-index: 1;
    overflow: hidden;
    display: flex;
    justify-content: flex-end;    
    align-items: flex-end;
    width: 100%;
    height: auto;
}
.right-illustration .main-image {
    position: static;
    top: 0;
    right: 0px;
    max-width: 600px;
    width: auto;
    height: auto;
    object-fit: contain;
    align-items: right;
    vertical-align: bottom;
}
.design-illustration{
    margin-right: -6vw;
    margin-top: -5vh;
}
.sound-illustration{
    margin-top: -4vh;
}

@media (max-width: 1300px){
    .right-illustration{
        display: none;
    }

}
/* ****************** */

.ib {
    margin-top: 5vh;
}


.com-text{
    color: #155599;
}
.game-text {
    color: #2a7444;
}
.design-text {
    color: #ec9f3a;
}
.sound-text {
    color: #cf3d3d;
}
