/*== 共通パーツ ==*/
/*= webfont =*/
@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100..900&family=Roboto:ital,wdth,wght@0,75..100,100..900;1,75..100,100..900&display=swap');

/*= コースのページ =*/
#container {
  /*background-image: repeating-linear-gradient(10deg, var(--white), #E7F3FE 1px, #E7F3FE 60px, var(--white) 61px, var(--white) 80px);*/
}

/*= コースのページ共通フッター =*/
#course-footer {
  background: var(--white);
}

#section-commoncc {
  background: var(--white);
  padding: .73333333333rem 0;

  @media screen and (min-width:1024px) {
    padding: 2.8125rem 0;
  }

  .commoncc-toggle {
    background: var(--white);
    padding: 0 1.73333333333rem 1.73333333333rem;
    display: block;
    text-align: center;
    margin: 0 auto;
    cursor: pointer;
  }

  .commoncc-catch {
    background: var(--white);
    padding: 1.73333333333rem;
    display: block;
    text-align: center;
    margin: 0 auto;
  }

  .commoncc-main {
    opacity: 0;
    min-height: 0;
    height: 0;
    padding: 0;
    overflow: hidden;
    transition: padding .5s ease, opacity .5s ease, min-height .5s ease;
  }

  .commoncc-main.active {
    background: var(--gray-light);
    min-height: 1rem;
    height: auto;
    opacity: 1;
    padding: 1.6rem 0;
    margin: 1.6rem 0;
  }
}

/*= メインコンテンツ =*/
#body-wrapper {
  font-family: "Zen Maru Gothic", sans-serif;

  /* ページタイトル */
  .course-page-title {
    background-image: repeating-linear-gradient(10deg, var(--white), #E7F3FE 1px, #E7F3FE 60px, var(--white) 61px, var(--white) 80px);
    padding: 4rem 0 2rem;
    font-size: 2rem;
    text-align: center;

    .course-kv {
      width: 100%;
      display: inline-block;
      margin-top: 3.8rem;
      position: relative;
    }

    .course-kv img {
      position: relative;
      z-index: 2;
    }

    .course-kv:after {
      content: "";
      width: calc(100% + 1.6rem * 2);
      height: calc(50% + 2rem);
      background: var(--white);
      position: absolute;
      left: -1.6rem;
      top: 50%;
      z-index: 1;
    }
  }

  .section {
    background: var(--white);
  }

  /* アンカーリンクメニュー */
  .page-index {
    padding: .375rem 0 .375rem 1rem;
    position: relative;
    z-index: 5;

    .page-index_inner {
      display: grid;
      grid-template-columns: auto 1fr;
      align-items: center;
      width: 100%;
      gap: 2px;
      padding: 0;
    }

    .page-index_title {
      color: var(--white);
      font-family: "Zen Maru Gothic", sans-serif;
      font-weight: 500;
      font-size: .875rem;
      padding-right: 1.25rem;
      position: relative;
      display: inline-block;
      line-height: 1.15;
    }

    .page-index_title::before,
    .page-index_title::after {
      content: "";
      width: .3125rem;
      height: .3125rem;
      position: absolute;
      margin: auto;
      top: 0;
      bottom: 0;
      rotate: 45deg;
      border: 1px solid transparent;
      border-right: 1px solid var(--white);
      border-top: 1px solid var(--white);
    }

    .page-index_title::before {
      right: 0;
    }

    .page-index_title::after {
      right: .5rem;
    }

    .page-index_list_wrap {
      position: relative;
      overflow: hidden;
    }

    .page-index_list_wrap:before,
    .page-index_list_wrap:after {
      content: "";
      width: 1rem;
      height: 100%;
      position: absolute;
      pointer-events: none;
      top: 0;
    }

    .page-index_list_wrap:before {
      left: 0;
      z-index: 2;
    }

    .page-index_list_wrap:after {
      right: 0;
      z-index: 2;
    }

    .page-index_list {
      display: flex;
      overflow-x: auto;
      white-space: nowrap;
      -webkit-overflow-scrolling: touch;
      gap: .5rem;
      padding: 0 calc(1rem - 2px);
    }

    .page-index_item {
      background: var(--white);
      border-radius: 9999px;
      ;
    }

    .page-index_btn {
      padding: .4rem 1rem;
      display: inline-block;
      min-width: 3.25rem;
      font-size: .875rem;
    }
  }

  /* ページリード */
  .lead-section {
    overflow: hidden;

    img {
      float: right;
      width: 5rem;
      height: auto;
      display: inline-block;
    }

    b {
      background: linear-gradient(transparent 60%, #ff9ec0 60%);
    }
  }

  /* スケジュール */
  .schedule-section {
    padding: 4.15rem 0 3.666rem;
    text-align: center;

    .section-title {
      padding: .75rem .5rem;
      margin-bottom: 1.1666rem;
      background: var(--main-color);
      color: var(--white);
      border-radius: 9999px;
    }

    .section-title .title_main {
      font-size: 1.666rem;
      font-weight: 900;
      padding-right: .5rem;
      display: inline-block;
    }

    .section-title .title_sub {
      font-size: 1.1666rem;
      display: inline-block;
    }

    .schedule-item {
      padding-bottom: .5rem;
    }

    .btn-zoom {
      text-align: right;
    }

    .btn-zoom img {
      width: 7.1666rem;
    }
  }

  /* カリキュラム */
  .cc-section,.commoncc-main {
    background: var(--gray-light);

    .cc-header {
      background: var(--white);
      overflow: hidden;
      padding-top: 1rem;
    }

    .cc-header-lead {
      border-radius: 5rem 5rem 0 0;
      background: var(--main-color);
    }

    .cc-header-lead .inner_box {
      position: relative;
      padding-bottom: 2rem;
    }

    .cc-header-bg {
      position: absolute;
      left: 0;
      top: 5.33vw;
      width: 25%;

      @media screen and (min-width:768px) {
        top: 1.25rem;
      }
    }

    .cc-header-img {
      position: relative;
      width: 90%;
      left: 16%;
      top: -1rem;
      z-index: 2;
      text-align: center;

      picture {
        display: block;
      }
    }

    .cc-header-txt {
      position: relative;
      color: var(--white);
      z-index: 3;
    }

    .cc-section_inner {
      padding: 1.6rem;

      @media screen and (min-width:1024px) {
        padding: 3.4375rem 2.8rem;
      }
      @media screen and (min-width:1110px) {
        padding: 3.4375rem 0;
      }
    }

    .cc-section-lead {
      padding: 1rem 0;
      display: grid;
      gap: 1rem;
    }

    .contents-title {
      font-size: 1.666rem;
      margin: 1rem 0;
      font-weight: 700;
    }

    .cc-section-desc p {
      line-height: 2.1875;
    }
  }

  /* カリキュラム - メニュー・ボイス */
  .cc-menu,
  .cc-voice {
    padding-top: 1rem;

    .cc-menu-item,
    .voice-item {
      padding-bottom: .666rem;
      cursor: pointer;
    }

    .item-header {
      position: relative;
      border-radius: 9999px;
      display: grid;
      grid-template-columns: 3rem 1fr;
      background: var(--white);
      padding-right: 2.5rem;
      align-items: center;
    }

    .item-num {
      background: var(--main-color);
      color: var(--white);
      border-radius: 9999px 0 0 9999px;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
      padding-left: .25rem;
      margin-bottom: 0;
      transition: background-color .5s ease;

      span {
        font-weight: 700;
      }
    }

    .item-title {
      font-size: 1.175rem;
      font-weight: 700;
      padding: .666rem;
      position: relative;
      letter-spacing: -.015rem;
      margin: 0;
      line-height: 1.4;
      text-align: left;
    }

    .btn-toggle {
      position: absolute;
      width: 1.5rem;
      height: 1.5rem;
      border-radius: 9999px;
      background: #b3b3b3;
      margin: auto;
      top: 0;
      bottom: 0;
      right: 0.55rem;
    }

    .btn-toggle:before,
    .btn-toggle:after {
      content: "";
      width: .8rem;
      height: 2px;
      background: var(--white);
      position: absolute;
      margin: auto;
      top: 0;
      bottom: 0;
      right: 0;
      left: 0;
      transition: rotate .25s ease;
    }

    .btn-toggle:after {
      rotate: 90deg;
    }

    .active .btn-toggle:after {
      rotate: 0deg;
    }

    .item-body {
      font-weight: 700;
      padding: 0 0 0 3.999rem;
      opacity: 0;
      min-height: 0;
      height: 0;
      transition: padding .25s ease, opacity .25s ease, min-height .25s ease;
      pointer-events: none;
    }

    .active .item-body {
      padding: 1rem 0 1.333rem 3.999rem;
      opacity: 1;
      min-height: 1rem;
      height: auto;
    }
  }

  .cc-voice {
    .item-header {
      grid-template-columns: auto 1fr;

      @media screen and (min-width:370px) {
        min-height: 4.8rem;
      }
    }

    .voice-icon {
      height: 4.8rem;
      aspect-ratio: 1 / 1;
      margin: 0;
    }

    .voice-name {
      text-align: right;
    }

    .body-title {
      font-weight: 700;
      line-height: 1.8;
    }
  }
}

@media screen and (min-width:768px) {

  /*= コースのページ =*/
  #body-wrapper {
    .cc-section .cc-header-bg {
      top: 1.25rem;
    }

    .cc-section .cc-header-img {
      top: 0;
      width: 100%;
      left: 0;
    }

    .cc-section-header_wrap {
      display: grid;
      grid-template-columns: 1fr 390px;
      gap: 1.25rem;
    }

    .cc-header-txt p,
    .cc-section_inner .lead-txt p {
      line-height: 2.1875;
    }

    .cc-section_inner .lead-txt p,
    .cc-section_inner .lead-txt b {
      letter-spacing: -.025rem;
    }

    .cc-section_inner .section-title {
      max-width: 365px;
    }
  }
}

@media screen and (min-width:1024px) {
  #body-wrapper {

    /*= コースのページ =*/
    /* ページタイトル */
    .course-page-title {
      padding: 2.5rem 0;
    }

    .course-page-title .inner_box {
      display: grid;
      grid-template-columns: 1fr 500px;
      gap: 40px;

      .course-kv {
        margin: 0;
      }

      .course-kv:after {
        display: none;
      }
    }

    /* ページリード */
    .lead-section {
      padding-top: 4.375rem;

      .inner_box {
        max-width: 880px;
      }

      p {
        line-height: 2.1875;
        letter-spacing: -0.001rem;
      }

      p:not(:last-child) {
        padding-bottom: 2.5rem;
      }

      b {
        font-size: 1.25rem;
      }
    }

    /* スケジュール */
    .schedule-section {
      padding: 5rem 2.8rem;
    }

    .schedule-list {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      gap: 1.25rem;
    }

    /* カリキュラム */
    .cc-header-lead .inner_box {
      max-width: 940px;
      padding-top: 2rem;
      display: grid;
      grid-template-columns: max-content 490px;
      align-items: center;
      justify-content: center;
    }

    .cc-header-lead p:not(:last-child) {
      margin-bottom: 3.125rem;
    }

    .cc-menu {
      display: grid;
      grid-template-columns: repeat(2, 1fr);
      column-gap: 2.5rem;
      row-gap: .75rem;
    }

    .cc-menu-item {
      padding-bottom: 0;
    }
  }
}
@media screen and (min-width:1110px) {
  .schedule-section {
    padding: 0;
  }
}

/*= 短大コース =*/
.juniorcollege #body-wrapper,
.commoncc-main {
  .page-index {
    background: #85d4ff;
  }

  .page-index_list_wrap:before {
    background: linear-gradient(to left, rgba(255, 255, 255, 0), #85d4ff);
  }

  .page-index_list_wrap:after {
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #85d4ff);
  }

  .page-index_btn {
    color: #13acff;
  }

  .lead-section {
    img {
      max-width: 155px;
      margin: 0 -.8rem 0 1rem;

      @media screen and (min-width:768px) {
        width: 20%;
      }

      @media screen and (min-width:1024px) {
        width: 136px;
        margin-left: 0;
      }
    }

    b {
      background: linear-gradient(transparent 60%, #ff9ec0 60%);
    }
  }

  .schedule-section .section-title {
    background: #e53666;
  }

  .cc-header-lead {
    background: #13acff;
  }

  #cc-feature .cc-menu {
    .item-num {
      background: #f9b4cc;
    }

    .active .item-num {
      background: #e53666;
    }

    .item-title {
      color: #e53666;
    }
  }

  #cc-brushup {
    .item-num {
      background: #bedaf3;
    }

    .active .item-num {
      background: #2685d6;
    }

    .item-title {
      color: #2685d6;
    }
  }

  #cc-communication {
    .item-num {
      background: #86e4b6;
    }

    .active .item-num {
      background: #02c766;
    }

    .item-title {
      color: #02c766;
    }
  }

  #cc-internship {

    .contents-title,
    .item-title {
      color: #ff931e;
    }
  }

  #cc-malaysia {

    .contents-title,
    .item-title {
      color: #bb77b9;
    }
  }

  @media screen and (min-width:1024px) {

      & .lead-section {
        p:not(:last-child) {
          padding-bottom: .2rem;
        }
      }
    }
  }

/*= ハワイ留学コース =*/
.studyabroad_hawaii #body-wrapper {
  .course-page-title {
    padding-top: 1.5rem;
  }

  .course-page-title .course-kv:after {
    height: calc(100% + 4rem);
    top: -2rem;
  }

  .page-index {
    background: #00b4b7;
  }

  .page-index_list_wrap:before {
    background: linear-gradient(to left, rgba(255, 255, 255, 0), #00b4b7);
  }

  .page-index_list_wrap:after {
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #00b4b7);
  }

  .page-index_btn {
    color: #00b4b7;
  }

  .lead-section {
    overflow: hidden;

    img {
      width: 25%;
      max-width: 190px;
      margin-left: 3%;
      padding: 0 3%;
      box-sizing: content-box;
    }
  }

  .schedule-section .section-title {
    background: #00b4b7;
  }

  .cc-header-lead {
    background: #ee7a9a;
  }

  @media screen and (min-width:1024px) {
    .cc-header-lead .inner_box {
      justify-content: space-around;
    }
  }

  .cc-section_inner {
    .section-title {
      margin-bottom: 1rem;

      @media screen and (min-width:1024px) {
        margin-bottom: 1.5625rem;
      }
    }

    .cc-card {
      display: grid;
      gap: 2.66666666667rem;

      /* 20px */
      @media screen and (min-width:1024px) {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    .card-item {
      display: flex;
      flex-direction: column;
      gap: 1rem;
    }

    .card-thumb img {
      width: 100%;
    }
  }

  #cc-section1 {
    padding-top: 3.333rem;

    /* 50px */
    @media screen and (min-width:1024px) {
      padding-top: 7.1875rem;
      /* 115px */
    }

    .card-thumb {
      @media screen and (min-width:1024px) {
        margin-top: auto;
      }
    }

    .card-title img {
      height: 40px;
    }

    .card-title_row2 img {
      height: 80px;

      @media screen and (min-width:768px) {
        height: 40px;
      }
    }
  }

  #cc-section2 .cc-section-header_wrap {
    @media screen and (min-width:768px) {
      grid-template-columns: 1fr 480px;
    }
  }

  #cc-section3 {
    .item-title {
      color: #f26697;
    }

    .cc-card {
      padding-top: 2.66666666667rem;

      @media screen and (min-width:1024px) {
        padding-top: 6.875rem;
      }
    }

    .card-title {
      font-size: 1.6rem;
      color: #f26697;
      font-weight: 700;
    }
  }

  #cc-section4 {
    .cc-section-header {
      @media screen and (min-width:1024px) {
        display: grid;
        grid-template-columns: 1fr 390px;
        gap: 1rem;
        grid-template-areas:
          "g1 g2"
          "g3 g2";
      }

      .g1 {
        grid-area: g1;
      }

      .g2 {
        grid-area: g2;
      }

      .g3 {
        grid-area: g3;
      }

      .lead-img img {
        width: 100%;
      }
    }

    .cc-voice {
      @media screen and (min-width:1024px) {
        padding-top: 7rem;
      }
    }

    .item-title {
      color: #f26697;
    }
  }
}

/*= 留学コース =*/
.studyabroad #body-wrapper {
  .page-index {
    background: #9b7cb7;
  }

  .page-index_list_wrap:before {
    background: linear-gradient(to left, rgba(255, 255, 255, 0), #9b7cb7);
  }

  .page-index_list_wrap:after {
    background: linear-gradient(to right, rgba(255, 255, 255, 0), #9b7cb7);
  }

  .page-index_btn {
    color: #9b7cb7;
  }

  .schedule-section .section-title {
    background: #9b7cb7;
  }

  .lead-section {
    img {
      width: 40%;
      max-width: 273px;
      margin: 0 0 1rem .5rem;

      @media screen and (min-width:768px) {
        width: 25%;
      }

      @media screen and (min-width:1024px) {
        width: auto;
        max-width: 220px;
        margin-left: 0;
      }
    }

    .inner_box {
      max-width: 920px;
    }
  }

  .cc-header-lead {
    background: #39b54a;
  }

  .cc-header-img {
    left: 11%;
  }

  @media screen and (min-width:1024px) {
    .cc-header-lead .inner_box {
      gap: 2rem;
    }

    .cc-header-img {
      left: 0;
    }
  }

  .cc-program {
    .program-item:not(:last-child) {
      padding-bottom: 2rem;
    }

    .item-title {
      padding-top: 1rem;
    }

    .item-desc {
      padding: 1rem 0;
    }

    @media screen and (min-width:768px) {
      .program-item {
        display: grid;
        grid-template-columns: 1fr 390px;
        gap: 2rem;
      }
    }
  }

  #cc-section2 {
    .grid-area-wrapper {
      @media screen and (min-width:1024px) {
        display: grid;
        grid-template-areas:
          "g1 g2"
          "g3 g3";
      }
    }

    .cc-section-header {
      grid-area: g1;
    }

    .cc-section-lead-img {
      grid-area: g2;
      text-align: right;
    }

    .cc-card {
      grid-area: g3;
      margin: 1rem 0;

      @media screen and (min-width:1024px) {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
      }
    }

    .card-item {
      @media screen and (min-width:1024px) {
        padding: 1.875rem 2rem;
        background: var(--white);
        border: 1px solid #ff931e;
        border-radius: 5px;
      }
    }

    table {
      width: 100%;
    }

    th,
    td {
      text-align: left;
      padding: .25rem 0;
      letter-spacing: -0.001rem;
      line-height: 1.4;

      @media screen and (min-width:1024px) {
        padding: .625rem;
      }
    }

    th {
      font-weight: 500;
    }

    .table-name {
      @media screen and (min-width:1024px) {
        color: #ff931e;
        padding-top: 0;
      }
    }

    .weekdays tr:nth-child(odd) td {
      @media screen and (min-width:1024px) {
        background: #f2f2f2;
      }
    }

    .weekdays .table-name {
      @media screen and (min-width:1024px) {
        padding-bottom: 0;
      }
    }

    .friday tr:nth-child(even) td {
      @media screen and (min-width:1024px) {
        background: #f2f2f2;
      }
    }

    .cc-voice .item-title {
      color: #ff931e;
    }
  }

  #cc-section3,
  #cc-section4 {
    .section-lead {
      padding: 1rem 0;
    }
  }
}

#cc-section4 .sp_only img{
  padding-top: 1rem;
}