@charset "UTF-8";
:root{
    --booth60:rgba(239, 214, 105, 0.6);
    --decoration60:rgba(180,83,75,0.2);
    --indoor60:rgba(52,92,112,0.2);
    --sympo60:rgba(90,116,68,0.4);
    --stage60:rgba(125,164,174,0.6);
    --themered60:rgba(180,83,75,0.4);
    --booth80:rgba(239, 214, 105, 0.8);
    --decoration80:rgba(180,83,75,0.6);
    --indoor80:rgba(52,92,112,0.6);
    --sympo80:rgba(90,116,68,0.8);
    --stage80:rgba(125,164,174,0.8);
    --themered80:rgba(180,83,75,0.8);
    --150th:#b63c2e;
    --150th80:rgba(182, 60, 46, 0.6);
    --150th60:rgba(182, 60, 46,0.2);
    --stage:#3497ad;

}

/* コース進捗インジケーター */
.course-progress-indicator {
    position: fixed;
    right: 100px;
    bottom:80px;
    transform: translateY(-50%);
    display: flex;
    flex-direction: row;
    gap: 15px;
    z-index: 100;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding:10px;
    background-color:transparent;
    border: 2.5px solid var(--beige40);
    border-radius:9999px;
}

.course-progress-indicator.visible {
    opacity: 1;
}

.course-progress-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--themebeige);
  
    transition: all 0.3s ease;
    cursor: pointer;
}

.course-progress-dot.active {
    transform: scale(1.3);
}

/* タブごとの色 */
.tab_panel_1 .course-progress-dot.active {
    background-color: var(--booth);
    border-color: var(--booth);
}

.tab_panel_2 .course-progress-dot.active {
    background-color: var(--decoration);
    border-color: var(--decoration);
}

.tab_panel_3 .course-progress-dot.active {
    background-color: var(--indoor);
    border-color: var(--indoor);
}

.tab_panel_4 .course-progress-dot.active {
    background-color: var(--sympo);
    border-color: var(--sympo);
}

.tab_panel_5 .course-progress-dot.active {
    background-color: var(--stage);
    border-color: var(--stage);
}

.tab_panel_6 .course-progress-dot.active {
    background-color: var(--themered);
    border-color: var(--themered);
}

 /* スマホのみの改行を制御 */
 .br-sp-only {
    display: inline; /* デフォルトで改行を表示 */
  }
  
  /* PC表示では改行を非表示 */
  @media screen and (min-width: 1024px) {
    .br-sp-only {
      display: none;
    }
    .course-progress-indicator{
        right: 35px;
        bottom: 120px;
        flex-direction:column;
    }
  }
.tab_btn{
    color:var(--themewhite);
    opacity: 0.7;
    opacity: .5;
    text-align: center;
    font-family: "Shippori Mincho", serif;
    font-weight: bold;
    cursor: pointer;
    
    line-height: 1.1;
    display: flex;
    justify-content: center;
    align-items: center;
    height:50px;
}
.tab_btn.active{
   opacity: 1;
}

#academic .tab_btn{
    font-size:11px;
}
/*タブ切り替え*/
.tab_box {
    display: inline-block;
    width: 100%;
    margin:3% 0;
  }
  .btn_area{
    display: flex;
    width: 100%;
    justify-content: center;
    margin-top:40px;
  }
  .btn_area_genre > .tab_btn{
      font-size: .8em;
  }
  
  .tab_btn:hover{
    opacity: 1;
  }
  
  .panel_area {
      width: 100%;
      
  }
  
  .tab_panel{
    display: none;
    
  }
  
  .tab_panel.active{  display: block;
    border-top-width: 3.5px;
    border-top-style: solid;
    padding: 0 7%;
    padding-bottom:30px !important;
  }
 
.tab_btn_1{
   background-color: var(--booth);
}
.tab_btn_2{
    background-color: var(--decoration);
 }
 .tab_btn_3{
    background-color: var(--indoor);
 }
 .tab_btn_4{
    background-color: var(--sympo);
 }
 .tab_btn_5{
    background-color: var(--stage);
 }
 .tab_btn_6{
    background-color: var(--themered);
 }

 .tab_panel_1.active{
    border-color: var(--booth);
    color: var(--booth);
    background: linear-gradient(to bottom, #f1ecd7 200px, var(--themewhite) 500px, #f1ecd7 1100px, var(--themewhite) 1900px, #f1ecd7 2500px, var(--themewhite) 3000px, #f1ecd7 3700px, var(--themewhite) 5000px);
 }
 .tab_panel_2.active{
    border-color: var(--decoration);
    color: var(--decoration);
    background: linear-gradient(to bottom, #efd7d3 200px, var(--themewhite) 500px, #efd6d3 1100px, var(--themewhite) 1900px, #efd7d3 2500px, var(--themewhite) 3000px, #efd7d3 3700px, var(--themewhite) 5000px);

 }
 .tab_panel_3.active{
    border-color: var(--indoor);
   color: var(--indoor);
    background: linear-gradient(to bottom, #d6dee2 200px, var(--themewhite) 500px, #d6dee2 1100px, var(--themewhite) 1900px, #d6dee2 2500px, var(--themewhite) 3000px, #d6dee2 3700px, var(--themewhite) 5000px);
 }
 .tab_panel_4.active{
    border-color: var(--sympo);
    color: var(--sympo);
    background: linear-gradient(to bottom, #dee3d9 200px, var(--themewhite) 500px, #dee3d9 1100px, var(--themewhite) 1900px, #dee3d9 2500px, var(--themewhite) 3000px, #dee3d9 3700px, var(--themewhite) 5000px);
 }
 .tab_panel_5.active{
    border-color: var(--stage);
    color: var(--stage);
    background: linear-gradient(to bottom, #e5ecee 200px, var(--themewhite) 500px, #e5ecee 1100px, var(--themewhite) 1900px, #e5ecee 2500px, var(--themewhite) 3000px, #e5ecee 3700px, var(--themewhite) 5000px);
 }
 .tab_panel_6.active{
    border-color: var(--themered);
   color: var(--themered);
    background: linear-gradient(to bottom, #f4e6d9 200px, var(--themewhite) 500px, #f4e6d9 1100px, var(--themewhite) 1900px, #f4e6d9 2500px, var(--themewhite) 3000px, #f4e6d9 3700px, var(--themewhite) 5000px);
 }

 


 .btn a {
    width: 210px;
    white-space: nowrap;
}
.btn_booth a {
    color: var(--booth);
    border: 1px solid var(--booth);
}
.btn_booth span, .btn_booth span::after {
    background: var(--booth);
}
.btn_decoration a {
    color: var(--decoration);
    border: 1px solid var(--decoration);
}
.btn_decoration span, .btn_decoration span::after {
    background: var(--decoration);
}
.btn_indoor a {
    color: var(--indoor);
    border: 1px solid var(--indoor);
}
.btn_indoor span, .btn_indoor span::after {
    background: var(--indoor);
}
.btn_sympo a {
    color: var(--sympo);
    border: 1px solid var(--sympo);
}
.btn_sympo span, .btn_sympo span::after {
    background: var(--sympo);
}
.btn_stage a {
    color: var(--stage);
    border: 1px solid var(--stage);
}
.btn_stage span, .btn_stage span::after {
    background: var(--stage);
}

/* コマの中身 */
.course-wrapper{
    margin-top:40px;
}
.course-koma{
    position:relative;
    display: flex;
    justify-content: center;
    flex-direction: column; 
    margin-top: 60px;
    gap: 10px;
}
.course_number{
    position: absolute;
    font-weight: bold;
    font-size:18px;
    width:40px;
    height:40px;
    top:-40px;
    text-align: center;
}
.course_number::before{
    content: "";
    position: absolute;
    border-radius: 50%;
    border-width: 1px;
    border-style: solid;
    top: -14%;
    left: 46%;
    transform: translateX(-50%);
   
    width:40px;
    height: 40px;
    

}
.course_number::after{
    content: "";
    position: absolute;
    border-radius: 50%;
    border-width: 1px;
    border-style: solid;
   
   
    width:40px;
    height: 40px;
    bottom: 6%;
    left: 54%;
    transform: translateX(-50%);

}
.course_number.course_number_1::before{
    border-color: var(--booth);
}
.course_number.course_number_1::after{
    border-color: var(--booth);
}
.course_number.course_number_1::before,
.course_number.course_number_1::after
{
    border-color: var(--booth);
}

.course_number.course_number_2::before{
    border-color: var(--decoration);
}
.course_number.course_number_2::after{
    border-color: var(--decoration);
}
.course_number.course_number_2::before,
.course_number.course_number_2::after
{
    border-color: var(--decoration);
}

.koma-top{
    position:relative;
    display: flex;
    flex-direction: column;
    width:100%;
    gap:10px;

}
.project{
    font-size: 18px;
    position: relative;
    margin-top: 5px;
    font-weight: bold;
   width:90%;
   
}
.project.project_1{
    text-shadow: 1px 1px 2px rgba(239,214,105,0.8);
}
.project.project_2{
    text-shadow: 1px 1px 2px var(--decoration80);
}
.project.project_3{
    text-shadow: 1px 1px 2px var(--indoor80);
}

.project.project_4{
    text-shadow: 1px 1px 2px var(--sympo80);
}
.project.project_5{
    text-shadow: 1px 1px 2px var(--stage80);
}
.project.project_6{
    text-shadow: 1px 1px 2px var(--themered80);
}
.project.project_7{
 text-shadow: 1px 1px 2px var(--150th80);
 
}

.card_heart{
    position: absolute;
    right: 0;
    top: 10px;
    
    width: 30px;
    height: 27px;
  }


  .card_heart img{
      width: 100%;
      height: 100%;
      cursor: pointer;
    }
    .name {
        position: relative;
        right: 0;
        z-index: 5;
        /* text-align: left; */
        font-size: 15px;
        width: 100%;
        height: 25px;
        margin-bottom: 10px;
    }
    .name span{
        position:absolute;
        z-index:1;
        height:1.5px;
        width: 40%;
        top:50%;
        transform: translateY(-50%);
        left:0;
        


    }
    .name p {
        right: 0;
        display: block;
        align-self: right;
        width: 54%;
        text-align: right;
        position: absolute;
        font-weight:500;
        font-size:13px;
    }
    .name.name_1 span{
        background-color: var(--booth);
    }
    .name.name_2 span{
        background-color: var(--decoration);
    }
.name.name_3 span{
    background-color: var(--indoor);
}

.name.name_4 span{
    background-color: var(--sympo);
}
.name.name_5 span{
    background-color: var(--stage);
}
.name.name_6 span{
    background-color: var(--themered);
}
.name.name_7 span{
    background-color: var(--150th);
}
.name span::before, .name span::after{
    position:absolute;
    /* content:""; */
    width:10px;
    height:10px;
  
    
}

.name span::before{
      right:10px;
    top:-9px;
}
.name span::after{
      right:0;
  
}
.name.name_1 span::before, .name.name_1 span::after{
    background-color: var(--booth);
}
.name.name_2 span::before, .name.name_2 span::after{
    background-color: var(--decoration);
}
.name.name_3 span::before, .name.name_3 span::after{
    background-color: var(--indoor);
}
.name.name_4 span::before, .name.name_4 span::after{
    background-color: var(--sympo);
}
.name.name_5 span::before, .name.name_5 span::after{
    background-color: var(--stage);
}
.name.name_6 span::before, .name.name_6 span::after{
    background-color: var(--themered);

}
.mid_cmp {
    width: 100%;
    display: flex
;
    line-height: 5px;
    margin-top: 10px;
    font-size: 1.1em;
    position: relative;
    gap:5px;
}
.topics {
    height: 25px;
    position: relative;
    width: 25px;
    text-align: center;
}
.topics img {
    height: 20px;
    width: 100%;
}
.topics.schedule img {
    margin-top: 2px;
}


.genre_words {
    width: fit-content;
   
}
.genre_pic.genre_academic img {
    margin-left: 4px;
}
.place_words {
    width: fit-content;
    margin-right:10px;
    
}

.wholedays {
    display: flex
;
    flex-direction: column;
}
.days {
    display: flex
;
  
    align-items: center;
    margin-bottom: 5px;
}
.date {
  
    padding: 3px 5px;
    padding-left:0;
    font-size:13px;
}
.date p {
    
    font-size: 13px;
    white-space: nowrap;
}
.time {
    width: 100px;
}
.time p {
    text-align: center;
}
.koma_explain{
    text-align: justify;
    position: relative;
    margin-bottom: 15px;
    color:var(--themeblack);
    font-size:13px;
    padding:2%;
}
.koma_explain p{
    z-index:100;
    display: block;
    position: relative;
}
/* .koma_explain::before ,.koma_explain::after{
content: "";
position:absolute;
width:1px;
height:60px;

opacity: .6;

} */
.koma_wrapper{
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-top: 30px;
}
/* .koma_explain.koma_explain_1::after , .koma_explain.koma_explain_1::before{
    background-color: var(--booth);
}
.koma_explain.koma_explain_2::after , .koma_explain.koma_explain_2::before{
    background-color: var(--decoration);
}
.koma_explain.koma_explain_3::after , .koma_explain.koma_explain_3::before{
    background-color: var(--indoor);
}
.koma_explain.koma_explain_4::after , .koma_explain.koma_explain_4::before{
    background-color: var(--sympo);
}
.koma_explain.koma_explain_5::after , .koma_explain.koma_explain_5::before{
    background-color: var(--stage);
}
.koma_explain.koma_explain_6::after , .koma_explain.koma_explain_6::before{
    background-color: var(--themered);
}
.koma_explain.koma_explain_7::after , .koma_explain.koma_explain_7::before{
    background-color: var(--150th);
}
.koma_explain::before{
    bottom: -30px;
    right: 0;
    height: 40px;
}
.koma_explain::after{
    transform: rotate(90deg);
    right: 25px;
} */

.koma::before{
    content: url('https://ikkyosai.com/visitor/56/search/pickup/yagasuri.svg');
    position: absolute;
    right: 15px;
    bottom:35px;
    width: 80px;
    height: 30px;
    opacity:0.3;
    z-index: 10;
}

.koma-middle {
    display: flex
;
    flex-direction: column;
    gap: 10px;
}
.koma-middle_img{
    display: flex;
    flex-direction: row;
  
    justify-content: space-between;
    height:215px;
}
.event_pic img{
    width: 120px;
    height: auto;
    transform:translateY(50%);
    aspect-ratio: 1 / 1;
}
/* .event_pic {
    width: 26%;
    max-width: 100px;
} */

.koma {
    position: relative;
   
    padding: 5%;
    padding-bottom: 0;
    text-decoration: none;
    cursor: pointer;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 1px 0 5px 1px var(--beige40);
    transition: box-shadow 0.5s ease;
    display:block;
    
  }
  
  
  
  

  .koma.koma_1 {
    background: linear-gradient(to top, var(--booth60) 50%, var(--themewhite) 90%);
    background-size: 100% 200%;
    background-position: 0% 0%;
    transition: background-position .5s 
ease;
}
.koma.koma_1:hover{
    background-position: 0% 100%;
   
}
.koma.koma_2{
    background: linear-gradient(to top, var(--decoration60) 50%, var(--themewhite) 90%);
    background-size: 100% 200%;
    background-position: 0% 0%;
    transition: background-position .5s 
ease;
}
.koma.koma_2:hover{
    background-position: 0% 100%;
   
}
.koma.koma_3{
    background: linear-gradient(to top, var(--indoor60) 50%, var(--themewhite) 90%);
    background-size: 100% 200%;
    background-position: 0% 0%;
    transition: background-position .5s 
ease;
}
.koma.koma_3:hover{
    background-position: 0% 100%;
   
}
.koma.koma_4{
    background: linear-gradient(to top, var(--sympo60) 50%, var(--themewhite) 90%);
    background-size: 100% 200%;
    background-position: 0% 0%;
    transition: background-position .5s 
ease;
}
.koma.koma_4:hover{
    background-position: 0% 100%;
   
}
  
  .koma.koma_5{
    background: linear-gradient(to top, var(--stage60) 50%, var(--themewhite) 90%);
    background-size: 100% 200%;
    background-position: 0% 0%;
    transition: background-position .5s 
ease;
}
.koma.koma_5:hover{
    background-position: 0% 100%;
   
}   
.koma.koma_6{
    background: linear-gradient(to top, var(--themered60) 50%, var(--themewhite) 90%);
    background-size: 100% 200%;
    background-position: 0% 0%;
    transition: background-position .5s 
ease;
}
.koma.koma_6:hover{
    background-position: 0% 100%;
   
}   
.koma.koma_7{
    background: linear-gradient(to top, var(--150th60) 50%, var(--themewhite) 90%);
    background-size: 100% 200%;
    background-position: 0% 0%;
    transition: background-position .5s 
ease;
}
.koma.koma_7:hover{
    background-position: 0% 100%;
   
}   
  .sp_br{
    display: block;
  }
  .pc_br{
    display: none;
  }



  .btn_wrapper_recommend{
      display:flex;
      flex-direction: column;
      gap:15px;
      margin-top:20px;
      margin-bottom:40px;
    }
    .btn_wrapper_recommend .btn{
      margin:0;
      
    }
    .btn_wrapper_recommend .btn a{
      width:300px;
    }
  
@media screen and (min-width:1024px){
    .name span{
        width:50%;
    }
    .card_heart{
        top:0;
    }
    .koma{
        width: 30%;
        max-width: 400px;
        padding: 2%;
        padding-bottom: 1%;
    }
    /* .koma .topics{
        top:7%;
    } */
    .koma_explain{
        margin-bottom: 10px;
    }
    .koma_explain::before{
       
    right: -5px;
    height: 60px;
    }
    .koma_explain::after{
        right:3%;
    }
    .tab_btn{
        height:55px;
    }
    #academic .tab_btn{
        font-size:17px;
    }
    .sp_br{
        display: none;
      }
      .pc_br{
        display: block;
      }
      .koma_wrapper {
        display: flex
    ;
        flex-direction: row;
        gap: 25px;
        flex-wrap: wrap;
        justify-content: center;
       
    }
    .name p{
        width:50%;
        font-size:15px;
    }
    .mid_cmp{
        font-size:15px;
    }
    .date p{

    }
    .project{
        font-size:16px;



    }
   
}
 /* 一橋祭の歩き方オリジナル */
 .title-part{
    margin-top: 30px;
    display: flex;
    flex-direction: row;
 align-items: center;
    gap: 50px;
    justify-content:space-between;
 }
 .course_title_explain{
 width: 200px;
 display: flex;
 flex-direction: column;
 margin-top:10px;

 }

 .course_title{

    font-size: 18px;
    font-weight: bold;
    width: 220px;
    padding-left: 50px;

    position: relative;
    top: 50%;
   
    height: 51px;
    border-bottom: 1.5px solid var(--booth);

 }
 .course_title_2{
    border-color: var(--decoration);
 }
 .course_title_3{
    border-color: var(--indooor);
 }
 .course_title_4{
    border-color: var(--sympo);
 }
 .course_title_5{
    border-color: var(--stage);
 }
 .course_title_6{
    border-color: var(--themered);
 }

 
 
 .tab_btn_1 .course_title{
    color: var(--booth)!important;
 }
 .tab_btn_2 .course_title{
    color: var(--decoration)!important;
 }
 .course_title::before{
    position:absolute;
    content:"";
    height: 51px;
   
    width:17px;
    left:0;



 }
 .course_title::after{
    position:absolute;
    content:"";
    width: 34px;
    height:17px;
    left:17px;
    top:50%;
transform:translateY(-50%);


   
 }
 .course_title.course_title_1::before{
    background: linear-gradient(to bottom, var(--booth) 33%, transparent 33%, transparent 66%, var(--booth) 66%);

}
.course_title.course_title_1::after{
    background: linear-gradient(to right, rgba(239,214,105,0.8) 50%, transparent 50%);

}

.tab_btn_1 .course_title{
    text-decoration-color: var(--booth);
 }
 .course_title.course_title_2::before{
    background: linear-gradient(to bottom, var(--decoration) 33%, transparent 33%, transparent 66%, var(--decoration) 66%);

}
.course_title.course_title_2::after{
    background: linear-gradient(to right, var(--decoration80) 50%, transparent 50%);

}

.tab_btn_2 .course_title{
    text-decoration-color: var(--decoration);
 }
 .course_title.course_title_3::before{
    background: linear-gradient(to bottom, var(--indoor) 33%, transparent 33%, transparent 66%, var(--indoor) 66%);

}
.course_title.course_title_3::after{
    background: linear-gradient(to right, var(--indoor80) 50%, transparent 50%);

}
.course_title.course_title_4::before{
    background: linear-gradient(to bottom, var(--sympo) 33%, transparent 33%, transparent 66%, var(--sympo) 66%);

}
.course_title.course_title_4::after{
    background: linear-gradient(to right, var(--sympo80) 50%, transparent 50%);

}
.course_title.course_title_5::before{
    background: linear-gradient(to bottom, var(--stage) 33%, transparent 33%, transparent 66%, var(--stage) 66%);

}
.course_title.course_title_5::after{
    background: linear-gradient(to right, var(--stage80) 50%, transparent 50%);

}
.course_title.course_title_6::before{
    background: linear-gradient(to bottom, var(--themered) 33%, transparent 33%, transparent 66%, var(--themered) 66%);

}
.course_title.course_title_6::after{
    background: linear-gradient(to right, var(--themered) 50%, transparent 50%);

}
 .title_explain{
    font-size: 12px;
    line-height: 1.5;
    text-align: justify;
 }

 .title_time{
    display: flex;
    flex-direction: column;
    align-items: center;
    position:relative;
    font-size: 15px;
 }

.title_time::before{
    content: "";
    position:absolute;
    border-radius: 50%;
    border-width: 1px;
    border-style: solid;
    top: -50%;
    left: -24%;
    width: 80px;
    height: 80px;
}
.title_time::after{
    content: "";
    position:absolute;
    border-radius: 50%;
    border-width: 1px;
    border-style: solid;
    bottom: -40%;
    right:-15%;
    width: 80px;
    height: 80px;
}

.title_time.title_time_1::before{
    border-color: var(--booth);
}
.title_time.title_time_1::after{
    border-color: var(--booth);
}
.title_time.title_time_2::before{
    border-color: var(--decoration);
}
.title_time.title_time_2::after{
    border-color: var(--decoration);
}
.title_time_ex_2{
    font-weight: bold;
}

.start{
    font-size:17px;
    position:relative;
    font-weight: bold;
    padding-left:50px;
    text-align: left;
    height:25px;
}
.start::before{
    height: 60px;
    width: 25px;
    display: block;
    position: absolute;
    left: 9px;
}
.start.start_1::before{
    content: url('https://ikkyosai.com/visitor/56/img/icon/genre/flag_1.svg');
}
.start.start_2::before{
    content: url('https://ikkyosai.com/visitor/56/img/icon/genre/flag_2.svg');
}
.start.start_3::before{
    content: url('https://ikkyosai.com/visitor/56/img/icon/genre/flag_3.svg');
}   
.start.start_4::before{
    content: url('https://ikkyosai.com/visitor/56/img/icon/genre/flag_4.svg');
}
.start.start_5::before{
    content: url('https://ikkyosai.com/visitor/56/img/icon/genre/flag_5.svg');
}
.start.start_6::before{
    content: url('https://ikkyosai.com/visitor/56/img/icon/genre/flag_2.svg');
}
.from-to{
 width:1px;
 height:80px;
 border-radius: 9999px;
 margin-top: 10px;
    left: 20px;
    position: relative;
    margin-bottom:10px;
 
}
.from-to_1{
    background-color:var(--booth) ;
}
.from-to_2{
    background-color:var(--decoration) ;
}
.from-to_3{
    background-color:var(--indoor) ;
}
.from-to_4{
    background-color:var(--sympo) ;
}
.from-to_5{
    background-color:var(--stage) ;
}
.from-to_6{
    background-color:var(--themered) ;
}
.from-to_explain{
    width: 100%;
    padding:3%;
    text-align: justify;
}
.from-to_explain_1{
    background-color: rgba(239,214,105,0.6);
}
.from-to_explain_2{
    background-color: var(--decoration80);
}
.from-to_explain_3{
    background-color: var(--indoor80);
}
.from-to_explain_2 p, .from-to_explain_3 p, .from-to_explain_4 p, .from-to_explain_5 p, .from-to_explain_6 p{
    color:var(--themewhite);
}
.from-to_explain_4{
    background-color: var(--sympo60);
}
.from-to_explain_5{
    background-color: var(--stage60);
}
.from-to_explain_6{
    background-color: var(--themered60);
}
.from-to_title{
    margin-bottom:3px;
    padding-left:18px;
    padding-right:18px;
    position:relative;
    width:fit-content
    
}
.from-to_title:after,
.from-to_title::before{
   position:absolute;
    content:"";
    width:13px;
    height:13px;
    
    border-radius:50%;
top:50%;
    transform:translateY(-50%);
    
}

.from-to_title::before{
     left:0;
    /* border:1px solid var(--booth); */
  

}
.from-to_title::after{
    left:2px;
    top:60%;
 
   
}
.from-to_title.from-to_title_1::before{
    background-color:var(--booth60);
}
.from-to_title.from-to_title_1::after{
    border:1px solid var(--booth);
}
.from-to_title.from-to_title_2::before{
    background-color:var(--decoration60);
}
.from-to_title.from-to_title_2::after{
    border:1px solid var(--decoration);
}
.from-to_title.from-to_title_3::before{
    background-color:var(--indoor60);
}
.from-to_title.from-to_title_3::after{
    border:1px solid var(--indoor);
}
.from-to_title.from-to_title_4::before{
    background-color:var(--sympo60);
}
.from-to_title.from-to_title_4::after{
    border:1px solid var(--sympo);
}
.from-to_title.from-to_title_5::before{
    background-color:var(--stage60);
}
.from-to_title.from-to_title_5::after{
    border:1px solid var(--stage);
}
.from-to_title.from-to_title_6::before{
    background-color:var(--themered60);
}
.from-to_title.from-to_title_6::after{
    border:1px solid var(--themered);
}
@media screen and (min-width:1024px){
    .course-wrapper{
        width:80%;
        display: flex;
        flex-direction: column;
        flex-wrap: wrap;
        margin: 0 auto;
        margin-top: 80px;
        align-items:center;
    }
    .course-koma{
        width:380px;
    }
    .koma_explain{
        font-size:15px;  
    }
    .from-to_explain{
       width:100%;
       
        font-size:15px;
       
    }
    .from-to_title{
        margin-left: 30px;
    }
    .from-to-wrapper{
        display:flex;
        flex-direction: column;
       width:100%;
        margin: 0 auto;
        align-items:center;
        gap:5px;
    }
    .from-to-wrapper_left .from-to_second{
        left:500px;
        
    }
    .from-to-wrapper_right .from-to_first{
        left:500px;
        
    }
    .from-to.from-to_center{
        left:50%;
    }

    .title-part{
        margin-top:40px;
        width:80%;
    }
    .course_title{
        width:500px;

    }
    .course_title_explain{
        width:500px;

    }
    .title_explain{
        font-size: 20px;
        margin-top:5px;
    }
    .course_title{
        height:75px;
        padding-left:70px;
        font-size: 28px;
    }
    .course_title::before{
        height:75px;
        width:25px;
    }
    .course_title::after{
        width: 50px;
    height: 25px;
    left: 25px;
    }
.title_time{
    font-size: 25px;
}
.title_time::before, .title_time::after{
    width: 120px;
    height: 120px;
}
.title_time::before{
    top: -40%;
    left: -14%;
}
.title_time::after{
   
    bottom:-30%;
    right:-12%;
}



    .btn_start{
        display: none;
    }
    .start{
        font-size: 21px;
        width:fit-content;
        margin: 0 auto;
        margin-bottom:15px;

    }
    .course-koma_left{
        align-self: flex-end;
    }

}

/* あなたへのおすすめオリジナル */
.text_btn_open{
    text-align: center;
    margin: 20px 0 30px 0;
    position: relative;
}

.test_koma-wrapper{
    display: flex;
    flex-direction: column;
    align-items:center;
    gap:5px;
}
.test_explain{
    max-width:310px;
    color:var(--themered);
    
}
.resultContent{
    padding:5px;
    background-color: var(--themewhite);
    box-shadow: 3px 0 10px 6px var(--themewhite);
}
.resultContent .card_heart{
    top:20px;
}

#modal > div {
    width:310px;
}

.modal-buttons {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

.back-button {
    display: block;
    width: 40%;
    padding: 8px 16px;
    border: 2px solid var(--themered);
    box-shadow: 1px 0 3px 1px var(--themered60);
    background-color: var(--themewhite);
    color: var(--themered);
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Noto Serif JP';
    position: relative;
    margin: 0 auto;
}

.back-button:hover {
    box-shadow: none;
    transform: scale(1.03);
}

.back-button:active {
    background-color: var(--themered60);
    box-shadow: none;
    transform: scale(1.03);
}

.retry-button {
    display: block;
    width: 100%;
    margin: 15px auto;
    padding: 12px 20px;
    border: 2px solid var(--themered);
    box-shadow: 1px 0 3px 1px var(--themered60);
    background-color: var(--themewhite);
    color: var(--themered);
    font-size: .9rem;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.25s ease;
    font-family: 'Noto Serif JP';
    position: relative;
}

.retry-button:hover {
    box-shadow: none;
    transform: scale(1.03);
}

.retry-button:active {
    background-color: var(--themered60);
    box-shadow: none;
    transform: scale(1.03);
}


    .optionButton, #test_btn_open {
        display: block;
        width: 80%;
        margin: 15px auto;
        padding: 12px 20px;
        border: 2px solid var(--themered);
        box-shadow: 1px 0 3px 1px var(--themered60);
        background-color: var(--themewhite);
        color: var(--themered);
        font-size: 1rem;
        font-weight: 600;
        text-align: center;
        cursor: pointer;
        transition: all 0.25s ease;
        font-family: 'Noto Serif JP';
        position:relative;
      }
      #test_btn_open{
        width: 200px;
    margin: 10px auto;
      }
      
      .optionButton:hover, #test_btn_open:hover {
        box-shadow: none;
        
        transform: scale(1.03);
      }
      
      .optionButton:active, #test_btn_open:active {
        background-color: var(--themered60);
         box-shadow: none;
        
        transform: scale(1.03);
      }
.optionButton::before, .optionButton::after, #test_btn_open::before, #test_btn_open::after{
    content:" ";
    position:absolute;
    width:15px;
    height:15px;
    background-color:var(--themered60);
   
}
.optionButton::before{
     top:0;
    left:15px
    
}
.optionButton::after{
    top:15px;
    left:0
    
}
#test_btn_open::before{
    bottom:0;
    right:15px;
}
#test_btn_open::after{
    bottom:15px;
    right:0;
}

      #closeBtn{
          padding:3px 10px;
      }
/* #closeBtn::before,
#closeBtn::after {
  content: "";
  position: absolute;
  bottom:40% ;

  right: -15px;
  width: 13px;
  height: 1px;
  background-color: #333;
  transform-origin: center;
  transition: background-color 0.3s, transform 0.2s;
}

#closeBtn::before {
  transform: translate(-50%, -50%) rotate(45deg);
}

#closeBtn::after {
  transform: translate(-50%, -50%) rotate(-45deg);
}


 */
#closeBtn:active::before,
#closeBtn:active::after {
  transform: translate(-50%, -50%) scale(0.9) rotate(45deg);
}

.questionText{
    font-size:16px;
    font-weight:bold;
    color:var(--themewhite);
    text-align: center;
}


#modal .card{
    transform:scale(0.75, 0.75);
    margin-bottom:0;
    display:block;
    
}

.resultBox p{
    color: var(--themered);
    transform:translateY(20px);
}
      
@media screen and (min-width:1024px){
    #modal > div {
        width:800px;
    }
    .text_explain{
        max-width:50%;
        font-size:13px;

    }
    #test_btn_open{
        margin:30px auto;
    }
    #modal .card{
        transform: scale(1);
    }
    .resultBox p{
        font-size:15px;
        transform:inherit;
    }
    .resultContent{
display:flex;
flex-wrap:wrap;
justify-content:center;
gap:30px;

margin-top:10px;
    }
    .resultContent .card_heart{
        top:0px;
    }
}

/* カルーセルスタイル */
.time-carousel-container {
    width: 100%;
    margin: 20px 0;
    padding: 20px 0;
}

.time-carousel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 0 10%;
}

.time-carousel-date {
    font-size: 20px;
    font-weight: bold;
    color: var(--themered);
    margin: 0;
    padding: 0;
}

.time-carousel-navigation {
    display: flex;
    align-items: center;
    gap: 15px;
}

.time-nav-btn {
    background-color: var(--themered);
    color: var(--themewhite);
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.time-nav-btn:hover {
    background-color: var(--themered80);
    transform: scale(1.1);
}

.time-nav-btn:active {
    transform: scale(0.95);
}

.time-carousel-current {
    font-size: 16px;
    font-weight: bold;
    color: var(--themeblack);
    min-width: 120px;
    text-align: center;
    position:relative;
    display:block;
}
.time-carousel-current::before{
    width:50px;
    height:1.5px;
    content:"";
    position:absolute;
    background-color:var(--themered);
    top:50%;
    display:block;
    left:-35%;
    
}
.time-carousel-current::after{
    width:10px;
    height:10px;
    border-radius:50%;
    content:"";
    position:absolute;
    background-color:var(--themered);
    top:50%;
    transform:translateY(-50%);
    display:block;
    left:-50%;
    
}

.time-slot-carousel {
    width: 100%;
}

.carousel-wrapper {
    position: relative;
    display: flex;
    align-items: center;
    gap: 10px;
    padding:10px;
    
}

.carousel-track-container {
    overflow-x: auto;
    overflow-y: hidden;
    width: 100%;
    scroll-behavior: smooth;
    cursor: grab;
    -webkit-overflow-scrolling: touch; /* iOSでスムーズなスクロール */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: var(--themered) transparent; /* Firefox */
}

.carousel-track-container:active {
    cursor: grabbing;
}

/* Webkit（Chrome, Safari）のスクロールバースタイル */
.carousel-track-container::-webkit-scrollbar {
    height: 8px;
}

.carousel-track-container::-webkit-scrollbar-track {
    background: transparent;
}

.carousel-track-container::-webkit-scrollbar-thumb {
    background: var(--themered);
    border-radius: 4px;
}

.carousel-track-container::-webkit-scrollbar-thumb:hover {
    background: var(--themered80);
}

.carousel-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
    padding: 10px 0;
    padding-right:20px;
}

/* 末尾にスクロール用の余白を確保（右端のドット反応改善） */
.carousel-track::after {
    content: "";
    flex: 0 0 20px; /* gapと同じ余白 */
}

.carousel-nav {
    background-color: var(--themered);
    color: var(--themewhite);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    font-size: 28px;
    cursor: pointer;
    font-family: "Noto Serif JP", serif;
    padding-bottom:8px;
    transition: all 0.3s ease;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    z-index: 10;
}

.carousel-nav:hover {
    background-color: var(--themered80);
    transform: scale(1.1);
}

.carousel-nav:active {
    transform: scale(0.95);
}

.carousel-nav:disabled {
    background-color: #ccc;
    cursor: not-allowed;
    opacity: 0.5;
}

/* 無限ループのため、ナビゲーションボタンは常に有効 */
.carousel-nav {
    background-color: var(--themered) !important;
    opacity: 1 !important;
    cursor: pointer !important;
}

.carousel-card {
    min-width: 180px;
    max-width: 180px;
    background-color: var(--themewhite);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 1px 0 5px 1px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    flex-shrink: 0;
}

.carousel-card:hover {
    box-shadow: 1px 0 10px 3px rgba(0,0,0,0.15);
    transform: translateY(-5px);
}

.carousel-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.carousel-card-img {
    width: 100%;
    height: 180px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.carousel-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-card-content {
    padding: 15px;
    position: relative;
}

.carousel-card-genre {
    position: absolute;
    top: -25px;
    right: 15px;
    width: 40px;
    height: 40px;
    background-color: var(--themewhite);
    border-radius: 50%;
    padding: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.carousel-card-genre img {
    width: 100%;
    height: 100%;
}

.carousel-card-title {
    font-size: 16px;
    font-weight: bold;
    color: var(--themeblack);
    margin: 0 0 8px 0;
    line-height: 1.4;
    height: 44px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-family: "Shippori Mincho", serif;
}

.carousel-card-circle {
    font-size: 13px;
    color: var(--themeblack);
    margin: 0 0 10px 0;
    line-height: 1.2;
    height: 32px;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    font-family: "Shippori Mincho", serif;
    white-space: nowrap;
}

.carousel-card-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.carousel-card-time {
    display: inline-block;
    padding: 5px 12px;
    background: var(--beige40);
    border-radius: 15px;
    font-size: 12px;
    color: var(--themered);
    font-weight: 600;
}

.carousel-card .card_heart {
    position: absolute;
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    z-index: 20;
    cursor: pointer;
}

.carousel-card .card_heart img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    padding: 3px;
    background-color: var(--themewhite);
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
}

/* 1024px以上の画面ではドットを非表示 */
@media screen and (min-width: 1024px) {
    .carousel-dots {
        display: none;
    }
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active {
    background-color: var(--themered);
    width: 12px;
    height: 12px;
}

.no-events-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 16px;
}

@media screen and (min-width:768px){
    .carousel-card {
        min-width: 280px;
        max-width: 280px;
    }
    
    .carousel-card-img {
        height: 200px;
    }
    
    .time-carousel-date {
        font-size: 24px;
    }
    
    .time-carousel-current {
        font-size: 18px;
        min-width: 140px;
    }
}

@media screen and (min-width:1024px){
    .carousel-card {
        min-width: 250px;
        max-width: 250px;
    }
    
    .carousel-card-img {
        height: 250px;
    }
    
    .carousel-track-container {
        width: calc(100% - 120px); /* ナビゲーションボタンのスペースを確保 */
        margin: 0 auto;
        max-width: 1000px; /* 最大幅を制限して3つずつ表示を保証 */
    }
    
    .carousel-wrapper {
        justify-content: center;
        align-items: center;
        width:80%;
        margin:0 auto;
    }
    
    .time-carousel-header {
        padding: 0;
        margin:10px auto;
        width:70%;
    }
    
    .time-carousel-date {
        font-size: 32px;
    }
    
    .time-carousel-current {
        font-size: 20px;
        min-width: 160px;
    }
    .time-carousel-current::before{
        width:100px;
        left:-55%;
    }
    .time-carousel-current::after{
        left:-70%;
    }
    
    .time-nav-btn {
        width: 40px;
        height: 40px;
        font-size: 28px;
    }
    
    .carousel-nav {
        width: 50px;
        height: 50px;
        font-size: 32px;
    }
    
    .carousel-dots {
        margin-top: 30px;
    }
    
    .carousel-dot {
        width: 12px;
        height: 12px;
        margin: 0 5px;
    }
    
    .carousel-dot.active {
        width: 14px;
        height: 14px;
    }
}

/* 大きな画面でも3つずつ表示を保証 */
@media screen and (min-width:1550px){
    .carousel-track-container {
        max-width: 1000px; /* 3つのカード（300px + 20px gap）* 3 = 960px + 余白 */
    }
    
    .carousel-card {
        min-width: 300px;
        max-width: 300px;
    }
}

/* ===========================================
   診断モーダル専用CSS
   =========================================== */

/* 診断モーダル初期状態は非表示 */
.hidden { 
  display: none !important; 
}

/* 診断モーダルオーバーレイ */
.diagnosis-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 診断モーダルコンテンツ */
.diagnosis-modal-content { 
  background: linear-gradient(to bottom, var(--themered) 100px, white 200px); 
  padding: 30px; 
  border-radius: 8px; 
  position: relative;
  max-width: 90%;
  max-height: 70vh;
  overflow-y: auto;
  z-index: 10000;
}

/* 診断モーダル閉じるボタン */
.diagnosis-modal-close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background-color: transparent;
  border: none;
  font-size: 32px;
  line-height: 1;
  color: var(--themewhite);
  cursor: pointer;
  padding: 5px 10px;
  z-index: 10000;
  transition: opacity 0.3s;
}

.diagnosis-modal-close-btn:hover {
  opacity: 0.7;
}

/* 診断モーダルタイトル */
#diagnosisModal h2{
  padding-left:0;
  color:var(--themewhite);
  border-bottom:solid 3px var(--themewhite);
  text-align:center;
}

#diagnosisModal h2::before{
  background: linear-gradient(90deg, var(--themewhite), transparent);
  z-index: 0;
}

/* 診断ボタン */
.diagnosis-optionButton, #test_btn_open {
  display: block;
  width: 80%;
  margin: 15px auto;
  padding: 12px 20px;
  border: 2px solid var(--themered);
  box-shadow: 1px 0 3px 1px var(--themered60);
  background-color: var(--themewhite);
  color: var(--themered);
  font-size: 1rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Noto Serif JP';
  position:relative;
  white-space: nowrap;
}

#test_btn_open{
  width: 200px;
  margin: 10px auto;
}

.diagnosis-optionButton:hover, #test_btn_open:hover {
  box-shadow: none;
  transform: scale(1.03);
}

.diagnosis-optionButton:active, #test_btn_open:active {
  background-color: var(--themered60);
  box-shadow: none;
  transform: scale(1.03);
}

.diagnosis-optionButton::before, .diagnosis-optionButton::after, #test_btn_open::before, #test_btn_open::after{
  content:" ";
  position:absolute;
  width:15px;
  height:15px;
  background-color:var(--themered60);
}

.diagnosis-optionButton::before{
   top:0;
  left:15px
}

.diagnosis-optionButton::after{
  top:15px;
  left:0
}

/* 診断モーダルボタン */
.diagnosis-modal-buttons {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 20px;
  gap: 10px;
}

.diagnosis-back-button {
  display: block;
  width: 40%;
  padding: 8px 16px;
  border: 2px solid var(--themered);
  box-shadow: 1px 0 3px 1px var(--themered60);
  background-color: var(--themewhite);
  color: var(--themered);
  font-size: 0.9rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Noto Serif JP';
  position: relative;
  margin: 0 auto;
}

.diagnosis-back-button:hover {
  box-shadow: none;
  transform: scale(1.03);
}

.diagnosis-back-button:active {
  background-color: var(--themered60);
  box-shadow: none;
  transform: scale(1.03);
}

.diagnosis-retry-button {
  display: block;
  width: 70%;
  margin: 15px auto;
  padding: 12px 20px;
  border: 2px solid var(--themered);
  box-shadow: 1px 0 3px 1px var(--themered60);
  background-color: var(--themewhite);
  color: var(--themered);
  font-size: .9rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: 'Noto Serif JP';
  position: relative;
}

.diagnosis-retry-button:hover {
  box-shadow: none;
  transform: scale(1.03);
}

.diagnosis-retry-button:active {
  background-color: var(--themered60);
  box-shadow: none;
  transform: scale(1.03);
}

.diagnosis-retry-button::before, .diagnosis-retry-button::after {
  content: " ";
  position: absolute;
  width: 15px;
  height: 15px;
  background-color: var(--themered60);
}

.diagnosis-retry-button::before {
  bottom: 0;
  right: 15px;
}

.diagnosis-retry-button::after {
  top: 15px;
  right: 0;
}

/* 診断質問テキスト */
.diagnosis-questionText{
  font-size:16px;
  font-weight:bold;
  color:var(--themewhite);
  text-align: center;
}

/* 診断結果表示 */
.diagnosis-test_koma-wrapper{
  display: flex;
  flex-direction: column;
  align-items:center;
  gap:5px;
}

.diagnosis-test_explain{
  max-width:310px;
  color:var(--themered);
}

.diagnosis-resultContent{
  padding:5px;
  background-color: var(--themewhite);
  box-shadow: 3px 0 10px 6px var(--themewhite);
}

.diagnosis-resultContent .card_heart{
  top:20px;
}

.diagnosis-resultBox p{
  color: var(--themered);
  transform:translateY(20px);
}

/* 診断モーダルサイズ */
#diagnosisModal > div {
  width:310px;
}

#diagnosisCloseBtn{
  padding:3px 10px;
}

#diagnosisCloseBtn:active::before,
#diagnosisCloseBtn:active::after {
  transform: translate(-50%, -50%) scale(0.9) rotate(45deg);
}

/* 診断モーダル内のカード */
#diagnosisModal .card{
  transform:scale(0.75, 0.75);
  margin-bottom:0;
  display:block;
}

/* レスポンシブ対応 */
@media screen and (min-width:1024px){
  #diagnosisModal > div {
    width:800px;
  }
  
  .diagnosis-text_explain{
    max-width:50%;
    font-size:13px;
  }
  
  #test_btn_open{
    margin:30px auto;
  }
  
  #diagnosisModal .card{
    transform: scale(1);
  }
  
  .diagnosis-resultBox p{
    font-size:15px;
    transform:inherit;
  }
  .diagnosis-test_koma-wrapper{
    align-items:flex-start;
    
  }
  
  .diagnosis-resultContent{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:30px;
    margin-top:10px;
    align-items:center;
  }
  
  .diagnosis-resultContent .card_heart{
    top:0px;
  }
  .diagnosis-retry-button{
    width:40%;}
  }
