@media screen and (max-width: 767.999px) {
  html {
    font-size: 10px;
  }
  .pc {
    display: none;
  }
  body {
    letter-spacing: 0.04em;
  }
  #header_menu_button {
    width: 60px;
    height: 60px;
    font-size: 1.2rem;
    padding-top: 34px;
    position: fixed;
    top: 0;
    right: 0;
    z-index: 30;
  }
  #header_menu_button .line {
    height: 1px;
    position: absolute;
    top: 27px;
    left: 50%;
    transform: translateX(-50%);
    width: 22px;
  }
  #header_menu_button .line::before {
    top: -8px;
  }
  #header_menu_button .line::after {
    top: 8px;
  }
  #header_menu_button[aria-expanded="true"] span {
    background-color: transparent;
  }
  #header_menu_button[aria-expanded="true"] span::before {
    top: 0;
    transform: rotate(45deg);
  }
  #header_menu_button[aria-expanded="true"] span::after {
    top: 0;
    transform: rotate(-45deg);
  }
  #header {
    height: 0;
  }
  #header #header_navi_wrapper {
    overflow-y: scroll;
    padding-top: 60px;
    height: 100vh;
  }
  #header #header_site_link {
    padding: 36px 26px 0;
  }
  #header #header_site_link .top_contents_link {
    padding: 0 0 0 5px;
  }
  #header #header_site_link .top_contents_link > li {
    padding-left: 18px;
    margin-top: 16px;
  }
  #header #header_site_link .top_contents_link > li:nth-of-type(1) {
    margin: 0;
  }
  #header #header_site_link .top_contents_link > li::before {
    width: 5px;
    height: 5px;
    left: 0;
    top: 10px;
  }
  #header #header_site_link .top_contents_link > li > a {
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
  }
  #header #header_site_link .top_contents_link > li > a::after {
    font-size: 1.2rem;
    font-weight: 400;
    padding-left: 11px;
  }
  #header #header_site_link .cta_link {
    margin-top: 45px;
  }
  #header #header_site_link .cta_link > a {
    display: flex;
    align-items: center;
    border-radius: 6px;
  }
  #header #header_site_link .cta_link > a .image {
    flex-shrink: 0;
    width: 125px;
  }
  #header #header_site_link .cta_link > a .txt {
    font-size: 1.6rem;
    font-weight: 600;
    line-height: 1.625;
    padding-left: 30px;
    padding-bottom: 5px;
    letter-spacing: 0.08em;
  }
  #header #header_site_link .cta_link > a .txt::before {
    font-size: 1.1rem;
    margin-bottom: 4px;
    font-weight: 400;
    letter-spacing: 0.04em;
  }
  #header #header_site_link .cta_link > a .txt::after {
    width: 8px;
    height: 8px;
    right: -19px;
    bottom: 12px;
  }
  #header #hader_obj1 {
    position: absolute;
    top: 30px;
    left: 24px;
  }
  #header #hader_obj1 img {
    width: 21px;
    height: auto;
  }
  #header #hader_obj2 {
    position: absolute;
    top: 220px;
    right: 32px;
  }
  #header #hader_obj2 img {
    width: 20px;
    height: auto;
  }
  #header #hader_obj3 {
    position: absolute;
    top: 252px;
    right: 58px;
  }
  #header #hader_obj3 img {
    width: 28px;
    height: auto;
  }
  #header #hader_obj4 {
    position: absolute;
    top: 423px;
    left: 7px;
  }
  #header #hader_obj4 img {
    width: 31px;
    height: auto;
  }
  #header #hader_obj5 {
    position: absolute;
    top: 438px;
    left: 50px;
  }
  #header #hader_obj5 img {
    width: 24px;
    height: auto;
  }
  #header #header_school_link {
    margin-top: 70px;
    padding: 23px 25px 98px;
  }
  #header #header_school_link dt {
    font-size: 1.6rem;
    font-weight: 600;
  }
  #header #header_school_link dd {
    margin-top: 17px;
  }
  #header #header_school_link dd > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }
  #header #header_school_link dd > ul > li {
    display: contents;
  }
  #header #header_school_link dd > ul > li a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: calc(50% - 4px);
    padding: 11px 5px 10px 0px;
    border-radius: 40px;
  }
  #header #header_school_link dd > ul > li a::after {
    right: 20px;
    width: 5px;
    height: 5px;
  }
  #header.header_open {
    z-index: 25;
  }
  #header.header_open #header_wrapper {
    background: #FFFFFF url(../images/common/bg_graph-paper_sp.png) repeat;
    background-size: 15px 15px;
  }
  #footer {
    padding-bottom: 20px;
  }
  #footer #footer_cta {
    align-content: center;
    background: url(../images/common/cta_new_sp.jpg) no-repeat;
    background-size: 100% 100%;
    padding: 90px 26px 100px;
  }
  #footer #footer_cta > dl {
    margin: 0 auto;
    padding: 55px 0 60px;
    border-radius: 4px;
  }
  #footer #footer_cta > dl > dt {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    line-height: 1.44;
  }
  #footer #footer_cta > dl > dd {
    margin-top: 29px;
    padding: 0px 37px 0;
  }
  #footer #footer_cta > dl > dd > ul > li {
    margin-top: 12px;
  }
  #footer #footer_cta > dl > dd > ul > li:nth-of-type(1) {
    margin-top: 0;
  }
  #footer #footer_cta > dl > dd > ul > li a {
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 58px;
  }
  #footer #footer_cta > dl > dd > ul > li a::after {
    width: 7px;
    height: 7px;
    top: 50%;
    right: 21px;
  }
  #footer #footer_cta > dl > dd > ul > li a.kids .image {
    width: 85px;
  }
  #footer #footer_cta > dl > dd > ul > li a.primary .image {
    width: 82px;
  }
  #footer #footer_cta > dl > dd > ul > li a.junior .image {
    width: 75px;
  }
  #footer #footer_cta > dl > dd > ul > li a.high .image {
    width: 72px;
  }
  #footer #footer_cta > dl > dd > ul > li a.personal .image {
    width: 75px;
  }
  #footer #footer_navi {
    padding: 35px 26px 0;
  }
  #footer #footer_navi > ul {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 27px;
  }
  #footer #footer_navi > ul > li {
    display: contents;
  }
  #footer #footer_navi > ul > li > a {
    font-size: 1.3rem;
    min-height: 11px;
  }
  #footer #footer_navi > ul > li > a:not([target="_blank"]) {
    padding-right: 15px;
  }
  #footer #footer_navi > ul > li > a:not([target="_blank"])::after {
    width: 5px;
    height: 5px;
    border-width: 1px;
    right: 0;
  }
  #footer #footer_navi > ul > li > a[target="_blank"] {
    padding-right: 22px;
    background: url(../images/common/ico_opentab_sp.png) no-repeat;
    background-size: 11px 11px;
    background-position: center right;
  }
  #footer #footer_copyright {
    margin-top: 43px;
    font-size: 1.2rem;
    padding: 0 26px;
  }
}
