@media screen and (min-width: 751px) {
  .lightbox,
  .lightboxOverlay {
    min-width: var(--site_size);
  }

  /* HOVER */
  .under main #topic_path li a:hover {
    text-decoration: underline;
  }
  .under main .bnn a:hover {
    opacity: 0.7;
  }
  .under main .link:hover {
    color: #93a3fa;
  }
  .under main .list_cat_btn li a:hover {
    background: var(--l_purple);
  }
  .under main .link_hover:hover {
    color: #93a3fa !important;
  }
  .under main .post_list li a:hover {
    box-shadow: 0 0 0 4px var(--purple);
  }
  .under main .tu-hoc-archive__grid .post_item a:hover {
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.12);
  }
  .under main .post_list_shades li a:hover {
    box-shadow: initial;
  }
  .under main .post_list_shades li a:hover .post_ttl {
    color: var(--scolor);
  }

  /* BUTTON OVN DETAIL */
  .under main .btn_list {
    display: flex;
    justify-content: center;
    position: relative;
  }
  .under main .btn_list .is_prev {
    position: absolute;
    top: 0;
    left: 150px;
  }
  .under main .btn_list .is_next {
    position: absolute;
    top: 0;
    right: 150px;
  }
}

@media screen and (max-width: 750px) {
  :root {
    --mfont-size: 14px;
  }
  .under main #content {
    padding: 0 0 80px;
  }
  .under main section {
    padding: 0 0 60px;
  }

  .under main .image_r,
  .under main .image_l {
    float: none;
    display: inline-block;
    width: 100%;
    text-align: center;
    margin: 0 auto 30px !important;
  }

  .under main .sec_list_cate {
    padding-bottom: 0;
  }

  .under main .list_cat_btn {
    margin: 0 auto 20px;
  }
  .under main .list_cat_btn li {
    margin: 0 5px 10px;
  }

  .under main #top_info h2::before {
    max-width: calc(100vw - 30px);
    height: 90px;
  }

  /*==========================================================
                 C U S T O M
==========================================================*/
  /*  TOP INFO  */
  .under main #topic_path {
    margin-bottom: 15px;
  }
  .under main #topic_path li,
  .under main #topic_path li a {
    font-size: 14px;
  }
  .under main #topic_path li:not(:last-child)::after {
    margin: 0 5px 0 7px;
    background: url("../images/topic_path_ic_sp.png") center / cover no-repeat;
    width: 5px;
    height: 11px;
    top: 1px;
  }
  /*============ HEAD TITLE ============ */
  .under main h2 {
    font-size: 26px;
  }
  .under main h3 {
    font-size: 24px;
  }
  .under main h4 {
    font-size: 22px;
  }
  .under main h5 {
    font-size: 20px;
  }
  .under main h6 {
    font-size: 18px;
  }

  /*============ TABLE ============ */
  .under main table {
    margin-bottom: 30px;
  }
  .under main table td,
  .under main table th {
    padding: 15px 10px;
  }
  .under main table.tb_block tr {
    display: flex;
    flex-direction: column;
  }
  .under main table.tb_block tr:not(:last-child) th {
    border-bottom: none;
  }
  .under main table.tb_block td + td {
    border-top: none;
  }
  .under main table.tb_block th,
  .under main table.tb_block td {
    width: 100%;
  }

  /* TABLE SCROLL */
  .under main .tb_scroll {
    overflow: scroll;
  }
  .under main .tb_scroll:not(:last-child) {
    margin-bottom: 30px;
  }
  .under main .tb_scroll table {
    width: 800px;
  }
  .under main .tb_note {
    margin-bottom: 10px;
    color: #999;
  }

  /*============ LIST ============ */
.under main .post_detail_content ul:not([class^="ez-toc"]) li, .under main .list01 li{
    padding-left: 15px;
}
.under main .post_detail_content ul:not([class^="ez-toc"]) li::before, .under main .list01 li::before{
    width: 6px;
    height: 6px;
    top: 10px;
  }

  /*FAQ*/
  .under main .qa_ttl {
    font-size: 24px;
    padding-top: 1px;
    margin-right: 10px;
  }
  .under main .faq_box01 dl dt {
    padding: 15px 40px 15px 15px;
  }
  .under main .faq_box01 dl dd {
    padding: 15px 15px 15px 15px;
  }
  .under main .faq_box01 dl > dt::before {
    height: 20px;
    right: 25px;
    top: calc(50% - 10px);
  }
  .under main .faq_box01 dl > dt::after {
    width: 20px;
  }
  .under main dl dt p {
    font-size: 16px;
  }

  /* STEP LIST */
  .under main dl.list_step {
    margin-bottom: 60px;
  }
  .under main dl.list_step::before {
    border-width: 20px 40px 0 40px;
    left: calc(50% - 40px);
    bottom: -40px;
  }
  .under main dl.list_step dt p {
    font-size: 16px;
  }
  .under main dl.list_step dt .step_num {
    font-size: 18px;
    padding: 10px;
  }
  .under main dl.list_step dt {
    align-items: initial;
  }
  .under main dl.list_step dd {
    overflow: hidden;
  }
  .under main dl.list_step dt p {
    display: flex;
    align-items: center;
  }

  /*============ FRAME ============ */
  .under main .frame01 {
    padding: 30px 15px;
  }

  .under main .frame02 {
    padding: 30px 15px;
  }

  .under main .frame_pick {
    padding: 30px 15px;
  }

  /*============ ORTHER ============ */
  .under main .box_map {
    height: 250px;
  }
  .under main .post_ttl {
    height: auto;
    max-height: 50px;
  }

  /*============ KIJIKAKU ============ */
  .under main .kiji_detail_ct img {
    max-width: 100%;
    max-height: 300px;
  }

  /*============ OVERNOTES ============ */
  .under main ul.ovn_list {
    grid-template-columns: repeat(1, 1fr);
  }
  .under main ul.ovn_list li {
    max-width: 390px;
    margin: 0 auto 30px;
    width: 100%;
  }
  .under main .img_ovn img {
    max-height: 300px;
  }
  .under main .img_ovn_col {
    height: 250px;
    margin-bottom: 5px;
  }
  .under main .img_ovn_col img {
    max-height: 100%;
  }
  .under main ul.ovn_list li .title {
    font-size: 16px;
  }
  .under main .img_txt {
    font-size: 16px;
  }
  .under main .frame_ovn_2col {
    margin-bottom: 20px;
  }
  .under main .btn_box {
    flex-wrap: wrap;
  }
  .under main .btn_box .btn {
    margin: 0 5px 10px;
  }

  /*list post*/
  .under main .post_list {
    grid-template-columns: repeat(2, 1fr);
    grid-gap: 10px;
  }
  .under main .sec_r__tuhoc {
    position: static;
  }
  .under main .sec_r__tuhoc__single {
    display: none;
  }
  .under main .sec_l__tuhoc__single {
   margin-bottom: 0;
  }
  .under main .tu-hoc-archive__featured-img {
    min-height: 180px;
    max-height: 260px;
  }
  .under main .tu-hoc-archive__grid .post_item a {
    gap: 16px;
    padding: 18px 0;
    margin: 0;
  }
  .under main .tu-hoc-archive__grid .post_img {
    flex-basis: 120px;
    width: 120px;
    max-width: 36%;
  }
  .under main .tu-hoc-archive__grid .post_img img {
    height: 84px;
    max-height: 84px;
  }
  .under main .tu-hoc-archive__grid .post_ttl {
    font-size: 16px;
    margin-bottom: 8px;
  }
  .under main .tu-hoc-archive__grid .post_des {
    font-size: 13px;
    -webkit-line-clamp: 3;
    line-clamp: 3;
  }
  .under main .tu-hoc-archive__grid .post_date {
    margin-top: 10px;
    font-size: 11px;
  }
  .under main .exercise-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .under main .exercise-single__hero,
  .under main .exercise-section-card,
  .under main .exercise-card__body,
  .under main .exercise-set-card {
    padding: 16px;
  }
  .under main .exercise-card__footer {
    padding: 0 16px 16px;
  }
  .under main .exercise-submit-bar {
    position: static;
    flex-direction: column;
    align-items: stretch;
  }
  .under .exercise-result-modal__stats {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .under .exercise-result-modal__dialog{
    max-height: calc(100vh - 100px);
    margin-top: 80px;
  }
  .under main .post_img {
    height: 200px;
  }
  .under main .post_img img {
    max-height: 200px;
  }

  div#ez-toc-container .ez-toc-title{
    font-size: 16px;
  }
}

/* IPHONE 14 */
@media screen and (max-width: 440px) {
  /*============ ORTHER ============ */
  .under main .post_list {
    grid-template-columns: repeat(1, 1fr);
  }

  .under main .exercise-grid {
    grid-template-columns: repeat(1, 1fr);
  }

  .under main .exercise-card__footer,
  .under main .exercise-set-card__head {
    flex-direction: column;
    align-items: flex-start;
  }
  .under .exercise-result-modal__dialog {
    padding: 18px;
  }
  .under .exercise-result-modal__stats {
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }

  /*============ KIJIKAKU ============ */
  .under .kiji_list dl {
    flex-wrap: wrap;
  }
  .under .kiji_list dd {
    width: 100%;
    margin-top: 10px;
  }
  .under .kiji_list dt img {
    top: inherit;
  }
}

/* IPHONE 6 */
@media screen and (max-width: 360px) {
}
