@charset "UTF-8";

@media only screen and (max-width: 1029px) {
  .p_cont01 {
    max-width: 760px;
  }
}

@media only screen and (max-width: 1029px) {
  #page_title {
    padding: 0 calc(50% - (769px / 2));
  }

  .t-2of3 {
    padding-right: 0;
    width: 100%;
  }

  .class-schedule_table table {
    width: 100% !important;
  }

  .class-schedule_table tr {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
  }

  .class-schedule_table th {
    width: 100% !important;
    display: block;
  }

  .class-schedule_table tr td:first-of-type {
    width: 30% !important;
    display: block;
  }

  .class-schedule_table tr td:last-of-type {
    width: 70% !important;
    display: block;
  }

  #page-top {
    bottom: 80px !important;
    right: 15px !important;
  }

  @keyframes UpAnime {
    from { opacity: 0; transform: translateY(180px) !important; }
    to { opacity: 1; transform: translateY(0) !important; }
  }
  @keyframes DownAnime {
    from { opacity: 1; transform: translateY(0) !important; }
    to { opacity: 0; transform: translateY(180px) !important; }
  }
}

@media only screen and (min-width: 768px) {
  .pc-none {
    display: none !important;
  }

  .bnr-list01::after {
    content: "";
    width: 32%;
    height: 0;
  }

  ul#submenu {
    border-top: 0;
  }

  #submenu li.page_item {
    background-image: linear-gradient(to right, rgba(20, 36, 116, 0.5), 1px, transparent 2px, transparent 8px);
    color: #142474;
    border-bottom: 0;
    background-position: left bottom;
    background-size: 5px 1px;
    background-repeat: repeat-x;
  }

  #submenu li.page_item::before {
    top: 15px;
    left: auto;
    right: 0.5em;
    margin: 0;
    opacity: .3;
  }

  #submenu li.page_item a {
    padding: 12px 2em 12px 0.5em;
  }

  #submenu li.current_page_item a {
    background-color: transparent;
    color: blue;
  }

  .sidebanner {
    display: flex;
    flex-direction: column;
    gap: 5px;
  }

  .widget ul li ul {
    margin-top: 0;
    margin-bottom: 0;
  }
}

@media only screen and (max-width: 767px) {
  .sp-none {
    display: none !important;
  }

  .wrap {
    width: calc(100% - 50px);
  }

  #page_title {
    font-size: 1.6em;
    margin-top: 30px;
    padding: 0 25px 10px;
    line-height: 1.4em;
  }

  .p_cont01 {
    width: calc(100% - 50px);
    margin-inline: auto;
  }

  #inner-content .p_cont01 {
    width: 100%;
  }

  #content h1.tc02,
  #inner-content h1.tc02 {
    font-size: 1.4em;
    padding: 5px 0 5px 15px;
  }

  #content h1.tc02::before,
  #inner-content h1.tc02::before {
    top: -5px;
    left: -3px;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
    border-bottom: 8px solid #00408f;
  }

  #content h1.tc02::after,
  #inner-content h1.tc02::after {
    content: none;
  }

  .col {
    gap: 20px;
  }

  .col>div.col2,
  .col>div.col2:first-child,
  .col>div.col2:last-child,
  .col>div.col3,
  .col>div.col3:first-child,
  .col>div.col3:last-child,
  .col>li.col2,
  .col>li.col2:first-child,
  .col>li.col2:last-child,
  .col>li.col3,
  .col>li.col3:first-child,
  .col>li.col3:last-child {
    width: 100%;
  }

  .col>div figure {
    margin-bottom: 0;
  }

  .mw_wp_form dt,
  .mw_wp_form dd {
    padding-bottom: 0.4em;
  }

  .mw_wp_form dd {
    margin-bottom: 1em;
    border-bottom: none;
  }










  h2.exam_subtitle {
    font-size: 16px;
  }

  table.exam-time-table th,
  table.exam_time_table th {
    font-size: 100%;
  }

  .class_table.class_table_mobile table tr td,
  .class_table.class_table_mobile table tr th {
    font-size: 10px;
    letter-spacing: 0.01em;
    font-feature-settings: "palt";
  }

  table.exam-time-table th,
  table.exam-time-table td,
  table.exam_time_table th,
  table.exam_time_table td {
    font-size: 11px;
    line-height: 1.2em;
  }

  .exam_report_list dt {
    float: none;
    margin-bottom: 8px;
    font-weight: bold;
  }

  .exam_report_list dd {
    padding-left: 0;
  }

  #main .title-dec-tworow-box {
    font-size: 1.2em;
  }

  #main .tworow-box .newsList article {
    width: 100%;
  }

  .movie_content .col2 h3 {
    font-size: 1rem;
  }

  .result_table table tr {
    display: flex;
    flex-wrap: wrap;
  }

  .result_table table tr.table_title01 td {
    width: 100%;
  }

  .result_table table tr td,
  .result_table table tr th {
    width: 50%;
    display: block;
  }

  .qanda_accordion {
    font-size: 0.8rem;
    padding: 0;
  }

  .qanda_accordion[open] {
    padding: 0;
    background: transparent;
  }

  .qanda_accordion summary {
    padding: 12px 20px;
  }

  .qanda_accordion summary::before,
  .qanda_accordion summary::after {
    width: 12px;
  }

  .sitemap_box table td a {
    line-height: 1.5em;
    margin: 0.6em 0.7em;
  }

  .sitemap_box table th,
  .sitemap_box table td {
    display: block;
    width: 100%;
  }

  .sitemap_box table td {
    padding-top: 0;
  }

  .glink_box table th,
  .glink_box table td {
    font-size: 0.8rem;
  }

  .col4list li {
    width: 32%;
  }

  .school_wrap .sbox .phone {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .school_wrap .sbox .text h4 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
  }

  .school_wrap .sbox .add {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
  }

  .school_wrap .sbox .phone>span+br {
    display: none;
  }
}

@media only screen and (min-width: 751px) {
  li.current-page {
    border-bottom: 1px solid #00408f;
  }

  li.current-page>span a {
    color: #00408f;
  }
}

@media only screen and (max-width: 500px) {
  .p_cont01 h1 {
    font-size: 1.45em;
  }
}
