@charset "UTF-8";

/* ===================================
	File Name   : top.css
	Description : Top Page CSS
	Editor      : Bface Nakamura
  Last Editor : Bface Nakamura
	
	Update Description :
	[2025/12/05] 新規作成
====================================== */

/*========== Style Contents ==========

	1. Redefinition
  2. Share Elements
  3. Div [top_hero]
  4. Section [top_hurdles]
  5. Section [top_intro]
  6. Section [top_point]
  7. Section [top_occupation]
  8. Section [top_process]
  9. Section [top_timetable]
 10. Section [top_outline]
 11. Section [top_fee]
 12. Section [top_faq]

====================================== */



/*===== 1. Redefinition =====*/
section {
  h3 {
    margin-bottom: 3rem;
    font-weight: bold;
    font-size: 5rem;
    text-align: center;
    > span {
      display: block;
      color: #29B473;
      font-size: 1.6rem;
      font-family: "Roboto", sans-serif;
    }
  }
}

@media (max-width: 768px) {
  section {
    h3 {
      margin-bottom: 1.5rem;
      font-size: 2.4rem;
    }
  }
}



/*=====  2. Share Elements =====*/
.tab_index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 3rem auto;
  span {
    min-width: 30rem;
    padding: 1.5rem;
    border: .3rem solid #ccc;
    background: #ccc;
    font-weight: bold;
    font-size: 1.8rem;
    text-align: center;
    cursor: pointer;
    transition: .25s;
    @media (hover: hover) {
	    &:hover {
		    background: #ebebeb;
        border-color: #ebebeb;
		    transition: .25s;
	    }
    }
    &.active {
      border: .3rem solid var(--DC);
      background: var(--baseC);
    }
  }
} 

@media (max-width: 768px) {
  .tab_index {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 2rem auto;
  span {
    width: 50%;
    min-width: initial;
    padding: 1rem;
    border: .2rem solid #ccc;
    font-size: 1.6rem;
    &.active {
      border: .2rem solid var(--DC);
    }
  }
} 
}



/*===== 3. Div [top_hero]  =====*/
 #top_hero {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  height: 70vh;
  margin: 0 auto;
  background:
    linear-gradient(90deg,
      rgba(0,0,0,.75) 0%,
      rgba(0,0,0,.45) 45%,
      rgba(0,0,0,.15) 75%,
      rgba(0,0,0,0) 100%
    ),
    url(./img/top/img-hero-mv.jpg) center / cover no-repeat;
  > h2 {
    width: 44%;
    min-width: 50rem;
    padding-left: 4rem;
  }
}

@media (max-width: 768px) {
  #top_hero {
    align-items: baseline;
    height: 50vh;
	  padding: 4rem 1rem 1rem;
    background:
    linear-gradient(180deg,
      rgba(0,0,0,.85) 0%,
      rgba(0,0,0,.70) 65%,
      rgba(0,0,0,.35) 85%,
      rgba(0,0,0,0) 100%
    ),
    url(./img/top/img-hero-mv.jpg) center / cover no-repeat;
    > h2 {
      width: 100%;
      min-width: initial;
      padding: 0 2rem;
    }
  }
}



/*===== 4. Section [top_hurdles]  =====*/
#top_hurdles {
  margin: 0;
  position: relative;
  padding: 5rem 8rem 0;
  background: #e2efd9;
  ul {
    display: grid;
    grid-template-columns: repeat(2 ,auto);
    justify-content: space-between;
    gap: 7rem 36rem;
    position: relative;
    max-width: 128rem;
    margin: 0 auto;
    padding: 0 0 6rem;
  }
  li {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    max-width: 36rem;
    padding: 1.5rem 2rem;
    border-radius: 1rem;
    background: var(--baseC);
    font-weight: bold;
    line-height: 1.4;
    font-feature-settings: "palt";
    &::after {
      content: '';
      position: absolute;
      width: 0;
      height: 0;
      border-style: solid;
    }
    &:nth-of-type(1) {
      margin-left: 2rem;
      &::after {
        bottom: -0.9rem;
        right: 2rem;
        border-width: 1rem 0 0 1rem;
        border-color: var(--baseC) transparent transparent transparent;
      }
    }
    &:nth-of-type(2) {
      margin-right: 2rem;
      &::after {
        bottom: -0.9rem;
        left: 2rem;
        border-width: 1rem 1rem 0 0;
        border-color: var(--baseC) transparent transparent transparent;
      }
      
    }
    &:nth-of-type(3) {
      margin-right: 2rem;
      &::after {
        bottom: -0.9rem;
        right: 2rem;
        border-width: 1rem 0 0 1rem;
        border-color: var(--baseC) transparent transparent transparent;
      }
      
    }
    &:nth-of-type(4) {
      margin-left: 2rem;
      &::after {
        bottom: -0.9rem;
        left: 2rem;
        border-width: 1rem 1rem 0 0;
        border-color: var(--baseC) transparent transparent transparent;
      }
    }
  }
  figure {
    position: absolute;
    left: 50%;
    bottom:0;
    transform: translateX(-50%);
    img {
      width: 36rem;
    }
  }
}

@media (max-width: 768px) {
  #top_hurdles {
    margin: 0rem 0 3rem;
    padding: 3rem 2rem 0;
    ul {
      grid-template-columns: 1fr;
      justify-content: center;
      gap: 3rem ;
      position: relative;
      max-width: 100%;
      margin: 0 auto;
      padding: 0 0 2rem;
    }
    li {
      max-width: 100%;
      padding: 1rem 1.5rem;
      &:nth-of-type(1) {
        margin-left:0;
        margin-right: 2rem;
        &::after {
          left: 2rem;
          border-width: 1rem 0 0 1rem;
        }
      }
      &:nth-of-type(2) {
        margin-right: 0;
        margin-left: 2rem;
        &::after {
          right: 2rem;
          left: initial;
          border-width: 1rem 1rem 0 0;
        } 
      }
      &:nth-of-type(3) {
        margin-left:0;
        &::after {
          left: 2rem;
          border-width: 1rem 0 0 1rem;
        }
      }
      &:nth-of-type(4) {
        margin-right: 0;
        &::after {
          right: 2rem;
          left: initial;
          border-width: 1rem 1rem 0 0;
        } 
      }
    }
    figure {
      display: flex;
      justify-content: center;
      position: initial;
      transform: initial;
      img {
        width: 80%;
      }
    }
  }
}



/*===== 5. Section [top_intro]  =====*/
#top_intro {
  margin: 5rem 0;
  padding: 0 8rem;
  > div {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    width: fit-content;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  #top_intro {
    margin: 4rem 0;
    padding: 0 2rem;
  }
}



/*===== 6. Section [top_point]  =====*/
#top_point {
  background: url("./img/top/img-point-bg.png") no-repeat;
  background-size: cover;
  padding: 5rem 0;
  > div  {
    display: flex;
    justify-content: center;
    gap: 3rem;
    max-width: 136.6rem;
    margin: 0 auto;
    padding: 0 8rem;
  }
  .point_box {
    flex: 1;
    box-shadow: 0 4px 9px hsla(0, 0%, 0%, 0.07);
    padding: 4rem;
    background: var(--baseC);
    > div {
      display: flex;
      align-items: center;
      gap: 0.5rem;
      color: var(--dominantC);
      font-weight: bold;
      font-size: 5rem;
      font-family: "Roboto", sans-serif;
      > span {
        width: fit-content;
        padding-bottom: .5rem;
        font-size: 2rem;
        box-shadow: inset 0 -2px 0 0 var(--dominantC);
      }
    }
    > em {
      display: block;
      margin-top: 2rem;
      font-weight: bold;
      font-size: 2.4rem;
    }
    > p {
      margin-top: 2rem;
      font-size: 1.6rem;
    }
  }
}

@media (max-width: 768px) {
  #top_point {
    padding: 0 2rem 4rem;
    background-position: top right;
    > div {
      flex-direction: column;
      gap: 2rem;
      padding: 0;
    }
    .point_box {
      padding: 3rem;
      box-shadow: 0 4px 9px hsla(0, 0%, 0%, 0.2);
      > div {
        font-size: 4rem;
        > span {
          font-size: 2rem;
        }
      }
      > em {
        margin-top: 1rem;
        font-size: 2rem;
      }
      > p {
        margin-top: 1rem;
      }
    }
  }
}



/*===== 7. Section [top_occupation]  =====*/
#top_occupation {
  margin: 5rem 0;
  padding: 0 8rem;
  > ul {
    display: grid;
    grid-template-columns: repeat(2,auto);
    flex-direction: column;
    gap: 2rem 5rem;
    width: fit-content;
    margin: 0 auto;
    list-style: disc;
  }
}

@media (max-width: 768px) {
  #top_occupation {
    margin: 4rem 0;
    padding: 0 2rem;
    > ul {
      grid-template-columns: 1fr;
      gap: 1rem;
      padding-left: 2rem;
    }
  }
}



/*===== 8. Section [top_process]  =====*/
#top_process {
  margin: 5rem 0;
  padding: 0 8rem;
  > p {
    width: fit-content;
    margin: 0 auto;
    &.pre {
      background: #ebebeb;
      padding: 1rem 4rem;
      font-size: 2rem;
      text-align: center;
    }
  }
  h4 {
    margin: 2rem auto;
    font-weight: bold;
    font-size: 3rem;
    text-align: center;
  }
  .tab_contents {
    position: relative;
     -webkit-overflow-scrolling: touch;
    > div {
      > section {
        overflow-x: auto;
        display: flex;
        gap: 1rem;
        &:not(:first-of-type) {
          border-top: 1px dashed var(--DC);
          margin-top: 1rem;
          padding-top: 1rem;
        }
        h5 {
          display: flex;
          flex-direction: column;
          align-items: center;
          justify-content: center;
          position: sticky;
          left: 0;
          z-index: 2;
          padding: 1rem;
          background: #ececec;
          font-weight: bold;      
          > span:first-of-type::after {
            display: block;
            font-family: "Font Awesome 5 Free";
            content: "\f0d7";
            font-weight: 900;
            text-align: center;
          }
        }
      }
    }
    .process_session {
      display: flex;
      flex-direction: column;
      flex: 1;
      min-width: 30rem;
      counter-reset: lecture;
      h6 {
        display: flex;
        align-items: center;
        justify-content: center;
        height: 10rem;
        padding: 1rem;
        background: var(--dominantC);
        color: var(--baseC);
        font-weight: bold;
        line-height: 1.1;
        > span {
          flex-shrink: 0;
          margin-right: 1rem;
          padding: .5rem 1rem;
          border-radius: 50rem;
          background: var(--baseC);
          color: var(--DC);
          font-size: 1.2rem;
        }
      }
      > div {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 2rem;
        height: 24rem;
        margin-top: 1.8rem;
        padding: 0 2rem 2rem;
        background: #e2efd9;
        font-size: 1.4rem;
        counter-increment: lecture;
        > em {
          border-radius: 1rem;
          margin-top: -1.3rem;
          padding: .5rem 2rem;
          background: var(--dominantC);
          color: var(--baseC);
          text-align: center;
          > span {
            display: inline-flex;
            align-items: center;
            &::after {
              display: inline-flex;
              justify-content: center;
              align-items: center;
              width: 1.4rem;
              height: 1.4rem;
              margin-left: 0.4rem;
              border: 1px solid currentColor;
              border-radius: 50%;
              font-size: 1rem;
              content: counter(lecture);
            }
          }
        }
        > p {line-height: 1.4;}
        > figure {
          display: flex;
          align-items: center;
          gap: 1rem;
          img{
            width: 100%;
            max-width: 12rem;
            min-width: 0;
          }
        }
      }
      &.secondary {
        h6 {
          background: #a7891c;
        }
        > div {
          background: #ddcb84;       
          > em {
            background: #a7891c;
          }
        }
      }
    }
    > *:not(.active) { display: none;}
  }
  > ol {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 2rem;
    width: fit-content;
    margin: 5rem auto 2rem;
    > li {
      display: flex;
      gap: 4rem;
      position: relative;
      > div:first-of-type {
        display: flex;
        flex-direction: column;
        align-items: center;
        position: relative;
        span {
          font-weight: bold;
          font-size: 1.8rem;
          margin-bottom: 1rem;
        }
        figure {
          display: flex;
          align-items: center;
          justify-content: center;
          width: 8rem;
          height: 8rem;
          border-radius: 50rem;
          background-color: #ebebeb;
          margin-bottom: 1rem;
          img {
            max-height: 4rem;
          }
        }
        &::before {
          order: 3;
          width: 1px;
          height: 3rem;
          background: var(--DC);
          transform: translateX(50%);
          content: "";
        }
        &::after {
          order: 4;
          width: 10px;
          height: 10px;
          margin-top: -1.1rem;
          border-bottom: 1px solid var(--DC);
          border-right: 1px solid var(--DC);
          transform: rotate(45deg); 
          content: "";
        }          
      }
      > div:last-of-type {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        max-width: 80rem;
        em {
          margin-left: 1rem;
          font-weight: bold;
          font-size: 1.8rem;
        }
        p {
          display: flex;
          flex-direction: column;
          justify-content: center ;
          max-width: 80rem;
          min-height:8rem;
          padding: 1rem 2rem;
          border-radius: 2rem;
          background-color: #ebebeb;
          width: 100%;
          a {
            width: fit-content;
            text-decoration: none;
            &::before {
              padding-right: .5rem;
              font-size: 1.4rem;
              content: "▶︎";
            }
          }
        }
      }
      &:last-of-type {
        > div:first-of-type {
            &::before,&::after{content: none;}
        }
      }
    }
  }
}

@media (max-width: 768px) {
  #top_process {
    margin: 4rem 0;
    padding: 0 2rem;
    > p {
      &.pre {
      font-size: 1.6rem;
      }
    }
    h4 {
      font-size: 2rem;
    }
    > ol {
      > li {
        gap: 2rem;
        & > div:first-of-type {
          &::before {
            height: 9rem;
          }
          &::after {
            margin-top: -11px;
          }
          & figure {
            width: 6rem;
            height: 6rem;
            img {
              max-height: 3rem;
            }
          }
        }
      }
    }
  }
}



/*===== 9. Section [top_timetable]  =====*/
#top_timetable {
  margin: 5rem 0;
  padding: 0 8rem;
  > p {
    width: fit-content;
    margin: 0 auto;
    &.pre {
      background: #ebebeb;
      margin-top: 2rem;
      padding: 1rem 4rem;
      font-size: 2rem;
      text-align: center;
    }
  }
  .tab_contents {
    > div > section {
      &:last-of-type {margin-top: 2rem;}
      h4 {
        margin: 0 auto 2rem;
        font-weight: bold;
        font-size: 3rem;
        text-align: center;
      }
      > div {
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        .timetable_wrap {
          display: grid;
          grid-auto-flow: column;
          grid-auto-columns: 6rem 1fr 1fr 1fr 1fr;
          gap: 1rem;
          align-items: start;
          width: fit-content;
          margin-bottom: -6rem;
        }
      }
    }
    .timetable_time {
      flex-shrink: 0;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      gap: 28.5rem;
      position: sticky;
      left: 0;
      z-index: 2;
      width: 5rem;
      height: 100%;
      padding-top: 7rem;
      background: var(--baseC);
      transform: translateY(-7rem);
      font-feature-settings: "palt";
    }
    .timetable_session {
      display: grid;
      grid-template-columns: 1fr;
      flex-direction: column;
      gap: 1rem;
      position: relative;
      min-width: 30rem;
      scroll-snap-align: start;
      > div {
        padding: 1rem;
        background: #ebebeb;
        font-weight: bold;
        display: flex;
        flex-direction: column;
        span {
          display: block;
          font-size: 1.2rem;
        }
        p {
          margin-top: 1rem;
          line-height: 1.4;
        }
        figure {
          display: flex;
          align-items: center;
          gap: 1rem;
          margin: 2rem auto 0;
          img {
            width: 100%;
            max-width: 12rem;
            min-width: 0;
          }
        }
        &:nth-child(2) {
          min-height: 22rem;
        }
        &:nth-child(5) {
          min-height: 22rem;
        }
        &:nth-child(7) {
          min-height: 16rem;
        }
      }
    }
    .timetable_wrap > .timetable_session:nth-of-type(2)::before {
      content: "";
      position: absolute;
      left: 0;
      top: 0;
      bottom: 0;
      width: 1px;
      margin-right: 2rem;
      background: var(--DC);
      transform: translateX(-1rem);
    }
    .timetable_title {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-left: 7rem;
      margin-bottom: 1rem;
      h5 {
        display: flex;
        align-items: center;
        width: 100%;
        min-width: 30rem;
        height: 6rem;
        padding: 1rem;
        background: #ebebeb;
        font-weight: bold;
        line-height: 1.1;
        > span {
          flex-shrink: 0;
          height: fit-content;
          margin-right: 1rem;
          padding: .5rem 1rem;
          border-radius: 50rem;
          background: var(--baseC);
          color: var(--DC);
          font-size: 1.2rem;
        }
      }
    }
    > *:not(.active) {
      display: none;
    }
  }
}

@media (max-width: 768px) {
  #top_timetable {
    > p {
      &.pre {
      margin-top: 1rem;
      font-size: 1.6rem;
      }
    } 
    margin: 4rem 0;
    padding: 0 2rem;
    .tab_contents {
      > div > section {
        h4 {
          font-size: 2rem;
        }
      }
    }
  }
}



/*===== 10. Section [top_outline]  =====*/
#top_outline {
  margin: 5rem 0;
  padding: 0 8rem;
  > div {
    display: flex;
    justify-content: center;
    gap: 5rem;
    table {
      tr {
        display: flex;
        align-items: center;
        position: relative;
        height: 7rem;
        &::before {
          position: absolute;
          top:0;
          left: 0;
          width: 100%;
          height: 1px;
          background: #F1F5F9;
          content: "";
        }
        &:last-child::after {
          position: absolute;
          bottom:0;
          left: 0;
          width: 100%;
          height: 1px;
          background: #F1F5F9;
          content: "";
        }
      }
      th,
      td {
        padding: 2rem 4rem;
        line-height: 1.4;
      }
      th {
        white-space: nowrap;
        text-align: center;
      }
      td {
        a {
          margin-top: 0.5rem;
          img {
            height: 2.8rem;
            width: auto;
          }
          &:hover {
            opacity: 0.7;
          }
        }
      }
    }
  }
  iframe.video {
    width: 100%;
    height: 100%;
    max-width: 40%;
    aspect-ratio: 16 / 9;
  }
}


@media (max-width: 768px) {
  #top_outline {
    margin: 4rem 0;
    padding: 0 2rem;
    flex-direction: column;
    > div {
      flex-direction: column;
      gap: 1rem;
      margin: 0;
      table {
        th,
        td {
          padding: 2rem 1rem;
        }
      }
    }
    iframe.video {
    max-width: initial;
  }
  }
}



/*===== 11. Section [top_fee]  =====*/
#top_fee {
  margin: 5rem 0;
  padding: 0 8rem;
  > h4 {
    margin: 0 auto 1rem;
    font-weight: bold;
    font-size: 3rem;
    text-align: center;
    &:not(:first-of-type) {margin-top: 2rem;}
  }
  > p {
    margin-bottom: 1rem;
    text-align: center;
  }
  dl {
    width: 60rem;
    margin: 0 auto;
    font-weight: bold;
    text-align: center;
    dt {
      padding: 2rem 1rem;
      background: #548CB9;
      color: var(--baseC);
      font-size: 2rem;
    }
    dd {
      background: #EDF3F8;
      padding: 4rem 1rem;
      font-size: 3rem;
    }
  }
}

@media (max-width: 768px) {
  #top_fee {
    margin: 4rem 0;
    padding: 0 2rem;
    > h4 {
      font-size: 2rem;
    }
    dl {
      width: 100%;
      dt {
        padding: 1rem ;
        font-size: 1.6rem;
      }
      dd {
        padding: 2rem 1rem;
        font-size: 2rem;
      }
    }
  }
}



/*===== 12. Section [top_faq]  =====*/
#top_faq {
  margin: 5rem 0;
  padding: 0 8rem;
  .qa {
    width: fit-content;
    margin: 0 auto;
    line-height: 1.8;
    dt {
      display: flex;
      align-items: center;
      gap: 1rem;
      margin-bottom: 1rem;
      font-size: 2rem;
      &::before {
        color: var(--dominantC);
        font-size: 3rem;
        content: 'Q. ';
       }
    }
    dd {
      margin-left: 4rem;
      margin-bottom: 2rem;
      font-size: 1.8rem;
    }
  }
}

@media (max-width: 768px) {
  #top_faq {
    margin: 4rem 0;
    padding: 0 2rem;
    .qa {
      line-height: 1.6;
      dt {
        align-items: baseline;
        font-size: 1.8rem;
        &::before {
          font-size: 2rem;
        }
      }
      dd {
        margin-left: 3rem;
        font-size: 1.6rem;
      }
    }    
  }
}
