/* 目次

1. メインコンテンツ全体のスタイル
2. タブ切り替え全体のスタイル
3. タブのスタイル
4. 内容
5. タイムライン
6. 体験


目次ここまで */


main {
    width: 100%;
    max-width: var(--conten-width);
    margin: var(--margin-5) auto;
    padding: 0 8rem;
}


/*タブ切り替え全体のスタイル*/
#schedule_main .tabs {
    margin-top: 50px;
    }
  
  /*タブのスタイル*/
  #schedule_main .tab_item {
    width: calc(73%/3);
    background-color: #d7edff;
    font-size: var(--font-size-base);
    text-align: center;
    color: var(--accent-color);
    display: inline-block;
    text-align: center;
    font-weight: 500;
    transition: all 0.2s ease;
    border-radius: 2rem;
    cursor: pointer;
    padding: 0.3rem 0;
    position: relative;
  }

#schedule_main .tab_item:after {
    
    transform: translateY(-24%) rotateX(180deg);
}

label.tab_item span {
    color: var(--accent-color);
    font-size: 18px;
    padding: 0 0 0 .5rem;
    position: relative;
    top: 8px;
    transform: rotateX(180deg);
    display: inline-block;
}
label.tab_item span.open {
    transform: rotateX(0);
    top: -5px;
}


  #schedule_main .tab_item:hover {
    opacity: 0.75;
  }
  
  /*ラジオボタンを全て消す*/
  #schedule_main input[name="tab_item"] {
    display: none;
  }
  
  /*タブ切り替えの中身のスタイル*/
  #schedule_main .tab_content {
    display: none;
    clear: both;
    overflow: hidden;
    border: 2.8px solid var(--accent-color);
    position: relative;
    top: 2rem;
    z-index: 5;
    border-radius: .8rem;
  }
  
  
  /*選択されているタブのコンテンツのみを表示*/
  #schedule_main #all:checked ~ #all_content,
  #schedule_main #programming:checked ~ #programming_content,
  #schedule_main #business_trip:checked ~ #business_trip_content,
  #schedule_main #design:checked ~ #design_content {
    display: block;
  }
  
  /*選択されているタブのスタイルを変える*/
  #schedule_main .tabs input:checked + .tab_item {
    border: 1px solid var(--accent-color);
    background-color: #fff;
    color: var(--accent-color);
  }

  /* 内容 */
  .tab_content h3{
    text-align: center;
    padding: 1rem;
    background-color: var(--accent-color);
    color: var(--main-color);
  }
  .tab_content_description > p:first-of-type {
    text-align: left;
    padding: 2rem 4rem;
}
  .tab_content_description {
    padding: 20px 40px 0;
}
  .tab_content_text{
    display: var(--d_f);
    justify-content: space-between;
    padding: 2rem 5rem;
    align-items: flex-end;
  }

  .tab_content_text picture {
    width: 38%;
}
.tab_content_text span{
    color: var(--accent-color);
    font-weight: bold;
    margin-right: var(--margin-1);
    font-size: var(--font-size-teitl20);
    letter-spacing: 2px;
}

    #design_content .tab_content_text {
        align-items: flex-start;        
    }

    .tab_content_description-price{
    margin-bottom: 3rem;
  }

    .tab_content_description-price a{
text-align: center;
    margin: 0 0 0 auto;
    display: block;
    width: 23%;
    background-color: var(--accent-color);
    color: var(--main-color);
    padding: 0.5rem 1rem;
    border-radius: 2rem;
    }

    .c-timeline__desc a {
        display: inline-block;
    }
    p.c-timeline__desc:not(:has(a),.trial_curriculum p) {
    padding-left: 5rem;
    text-indent: -5rem;
}
#business_trip_content .c-timeline__desc {
    padding-left: 4rem;
    text-indent: -4rem;
}
    
    @media (width < 950px) {
    main {
        width: 90%;
        padding: 0;
        margin: var(--margin-2) auto;
    }
    #schedule_main .tab_item:hover {
        opacity: 1;
      }
    #schedule_main .tab_item {
        width: calc(95% / 2);
        font-size: var(--font-size-sub12);
        margin-bottom: 8px;
            padding: 0.5rem 0;
    }
    label.tab_item span {
    font-size: 12px;
}
    .tab_content_description > p:first-of-type {
    padding: 2rem 0;
}
    .tab_content_text {
        padding: 0 0 2rem;
        flex-wrap: wrap;
    }
    /* #schedule_main .tab_content {
        padding: 40px 24px 0;
        top: -2.8px;
    } */
    
    .tab_content_text picture {
        width: 80%;
        margin: 2rem 0 0 auto;
    }
        p.c-timeline__desc:not(:has(a),.trial_curriculum p) {
    text-indent: -5.8rem;
}
.tab_content_description-price a {
    width: 60%;
}
    
}


/* タイムライン */
.c-timeline__item {
    position: relative;
    display: flex;
    gap: 1.5rem;
 }
 
 .c-timeline__item:last-child .c-timeline__content:before {
    display: none;
 }
 
 .c-timeline__content {
    flex: 1;
    position: relative;
    order: 1;
    padding-left: 1.5rem;
    padding-bottom: 1rem;
 }
 
 .c-timeline__content:before {
    content: "";
    position: absolute;
    right: 100%;
    top: 9px;
    height: 100%;
    width: 2px;
    background-color: var(--accent-color);
 }
 
 .c-timeline__content:after {
    content: "";
    position: absolute;
    left: calc(0px - 8px);
    top: 9px;
    width: 13px;
    height: 13px;
    background-color: var(--accent-color);
    z-index: 1;
    border: 2px solid var(--accent-color);
    border-radius: 50%;
 }


 /* 体験 */

.trial_content .trial_teitl{
    font-size: 26px;
    font-weight: bold;
}
.trial_content .trial_teitl span{
    font-size: 28px;
    margin-left: var(--margin-1);
    color: var(--accent-color);
}
.trial_content .trial_teitl span:nth-of-type(2){
  margin-left: var(--margin-1);
    font-size: 24px;
    color: var(--text-accent-color);
}
.trial_curriculum{
 padding: 40px 40px 0;
    clear: both;
    overflow: hidden;
    border: 2.8px solid var(--accent-color);
    position: relative;
    top: -2.5px;
    z-index: 5;
    border-radius:.8rem .8rem;
}


.trial_content .c-timeline__content{
padding-bottom: 2rem;
}
.trial_content .c-timeline__item:last-of-type .c-timeline__content{
  padding-bottom: 0;
}

/* 注意事項 */
.attention_text h3 {
  padding: 0 0 0.3rem;
  background-color: unset;
  color: unset;
  text-align: left;
}

.attention_text {
    padding: 0rem 5rem 3rem;
    font-size: 12px;
}

@media (951px <= width) {
 .trial_content {
    width: 86%;
    margin: 0 auto;
}
.tab_content_text picture{
      width: 46%;
}
#business_trip_content picture {
    width: 40%;
}
}

@media (width < 950px) {
  .trial_content .trial_teitl{
font-size:var(--font-size-teitl20);
  }
  .trial_content .trial_teitl span{
    font-size: var(--font-size-teitl20);
}
  .trial_content .trial_teitl span:nth-of-type(2){
    font-size: var(--font-size-sub14);
}
.trial_curriculum .tab_content_description {
    margin-top: 2rem;
}
/* トリミングタブ　TOK */
 #design_content .c-timeline .c-timeline__item:nth-of-type(4) .c-timeline__content {
    padding-left: 0.8rem;
}

/* 注意事項 sp */
.attention_text {
  padding: 0rem 1rem 3rem;
}



}

