@media screen and (max-width: 736px) {
  html,
  body {
    width: 100%;
    padding: 0;
    margin: 0;
  }

  .inner,
  .inner-1120,
  .inner-1200,
  .inner-1320 {
    box-sizing: border-box;
    width: 100%;
    padding: 0 3% !important;
    margin: 0 auto;
  }
  section {
    margin: 5rem 0;
  }
  .sp_only {
    display: inherit;
  }
  .pc_only {
    display: none;
  }

  footer {
    padding: ;
  }

  footer .inner-1120 > div {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .footer_link ul > li {
    /* margin-bottom: 1.5rem; */
    margin-bottom: 1rem;
  }
  .footer_link ul > li > a {
    font-size: 1.9rem;
  }
  .footer_link > ul:nth-child(3),
  .footer_link > ul:nth-child(4) {
    width: 48%;
  }

  .footer_link ul > li > ul > li > a {
    font-size: 1.5rem;
  }
  .sns-contact-block {
    align-items: center;
  }

  .sns-contact-block img {
    width: 30px;
  }

  header {
    position: fixed;
    padding: 10px 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;

  }
  .hamburger {
    position: absolute;
    right: 50px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 300;
    border: solid 1px #fff;
    width: 40px;
    height: 40px;
    left: unset;
    background: #ffbf77;
    border-radius: 5px;
  }
  .hamburger_border {
    position: absolute;
    right: 7px;
    width: 24px;
    height: 1px;
    background-color: #fff;
    transition: all 0.6s;
    counter-reset: #fff;
  }
  .hamburger_border_top {
    top: 10px;
  }

  .hamburger_border_center {
    top: 19px;
  }
  .hamburger_border_bottom {
    top: 28px;
  }
  .hamburger_border_menue {
    background: none;
    top: 49px;
    text-align: center;
    height: auto;
  }

  .nav-open .hamburger_border_top {
    transform: rotate(45deg);
    top: 19px;
  }
  .nav-open .hamburger_border_bottom {
    transform: rotate(-45deg);
    top: 19px;
  }
  .nav-open .hamburger_border_center,
  .nav-open .hamburger_border_menue {
    opacity: 0;
  }
  nav {
    position: fixed;
    right: -90%; /* 右から出てくる */
    width: 90%; /* スマホに収まるサイズ */
    transition: all 0.6s;
    z-index: 200;
    width: 90%;
    overflow: scroll;
    height: 100%;
  }
  nav .Scroll-inner {
    display: flex;
    flex-direction: column-reverse;
    background: #ffecc0;
    overflow-y: auto; /* メニューが多くなったらスクロールできるように */
    border-radius: 40px 0 0 40px;
    padding: 3rem 2rem;
  }
  nav ul.inner {
    grid-template-columns: 1fr;
    gap: 0rem;
  }
  nav ul.inner > li {
    border-bottom: solid 1px #ffaa35;
    padding: 2rem 0 !important;
  }
  nav ul.inner > li > a {
    border-left: none !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 0 !important;
  }
  ul.inner > li.sp-sub_menu a::after {
    content: "";
    position: relative !important;
    display: block;
    width: 0;
    height: 0;
    top: unset !important;
    right: unset !important;
    border-left: 10px solid #ffaa35;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    transform: unset;
  }
  ul.inner > li.sp-sub_menu > a::after {
    transform: rotate(90deg) !important;
  }

  ul.inner > li.sp-sub_menu.active > a::after {
    transform: rotate(-90deg) !important;
  }
  ul.inner > li a img {
    display: block;
  }
  li.sp-sub_menu {
    transition: all 0.6s;
  }
  li.sp-sub_menu ul {
    background: rgba(255, 255, 255, 0.7);
    padding: 1rem 2.5rem;
    margin-top: 1rem;
    width: 100%;
    position: unset;
  }

  li.sp-sub_menu ul li > a {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 0 !important;
    padding-left: 0px;
    margin-bottom: 8px !important;
    padding-left: 1rem !important;
  }
  li.sp-sub_menu ul li:last-of-type a {
    margin-bottom: 0 !important;
  }
  li.sp-sub_menu:nth-child(1) > ul:nth-child(2) > p {
    border-radius: 10px;
    background: #ffaa35;
    text-align: center;
    color: #fff;
    padding: 4px;
    margin-bottom: 1.5rem;
    width: 100%;
  }
  li.sp-sub_menu ul p:nth-child(3) {
    margin-top: 1.5rem;
  }

  nav .inner-1200 {
    padding: 0;
  }
  nav .inner-1200 > ul {
    gap: 1.5rem;
    gap: 10px;
    flex-direction: unset;
    flex-wrap: wrap;
    padding: 2rem 0 1rem;
    border-bottom: solid 1px #ffaa35;
  }
  nav .inner-1200 > ul li img:nth-child(1) {
    margin-right: 5px;
  }
  .search-container {
    margin-top: 1rem;
  }

  .search-container > form:nth-child(1) > button:nth-child(1) {
    border: none;
    background: no-repeat;
  }
  .search-container > form:nth-child(1) {
    display: grid;
    grid-template-columns: 38px auto;
    empty-cells: ;
    width: 100%;
    gap: 10px;
  }
  .search-container > form:nth-child(1) > input:nth-child(2) {
    border: none;
    padding: 5px 10px;
  }

  /* 表示された時用のCSS */
  .nav-open nav {
    top: 46px;
    right: 0;
  }
  .nav-open nav {
  }

  .nav-open .black_bg {
    opacity: 0.8;
    visibility: visible;
  }

  .nav-open .hamburger_border {
    background: #fff;
  }

  h1 a img {
    width: 150px;
  }

  header.h-education {
    width: 100%;
    width: 90%;
    display: flex;
    justify-content: space-between;
    padding: 0;
  }
  header.h-education > h1 a {
    display: flex;
    align-items: center;
    margin-left: 2rem;
  }
  header.h-education > h1 a img {
    width: 190px;
    display: flex;
    align-items: center;
  }
  .h-education nav {
    display: block;
  }

  .h-education ul {
    display: block;
    background: #fff;
  }
  .h-education nav {
  }

  .h-education nav {
    overflow: unset;
    right: -110%;
    width: 100%;
  }
  .h-education nav .Scroll-inner {
    background: #fff7e9;
    padding: 3rem 0rem;
    grid-template-columns: 1fr;
  }  
  .h-education nav .Scroll-inner h1 a{
    display: block;
    width: 100%;
  
  }  .h-education nav .Scroll-inner h1 a .sp-logo{
    display: block;
    width: 45%;
  margin-bottom: 1rem;

  }
  .logo02{
    display: none !important;
  }
  .h-education nav .Scroll-inner h1 img {
    width: 80%;
    margin-bottom: 1rem;
    margin: auto;
    display: block;
  }

  .h-education ul {
    overflow: unset;
    height: auto;
  }

  .h-education ul li {
    border-left: none;
    border-bottom: solid 1px;
  }

  .h-education ul li a {
    /* padding: 0 2rem; */
    padding: 1.5rem 0;
  }

  .h-education ul li.search02 a {
    padding: 1rem;
  }
  .h-education ul li  button {
    padding: 1rem;
    display: flex;
    margin: auto;

  }
  .h-education .hamburger {
    /* border: solid 1px #fff; */
    background: none;
    border: none;
  }
  .h-education .nav-open .hamburger_border {
    /* background: #fff; */
    background: #000;
  }
  .h-education .hamburger {
    right: 55px;
    width: 60px;
    height: 60px;
    border-left: solid 1px #A2A2A2;
    border-radius: 0;
  }

  .h-education .hamburger_border {
    /* background-color: #fff; */
    background-color: #A2A2A2;
    left: 50%;
    transform: translateX(-50%)translateY(-50%);
    width: 30px;
  }

  .h-education  .hamburger_border_center {
    top: 50%;
    width: 25px;

  }
  .h-education .hamburger_border_top {
    /* top: 11px; */
    top: 35%;
  }
  .h-education .hamburger_border_bottom {
    top: 65%;
    width: 20px;
  }
  .nav-open  .h-education .hamburger_border_top {
    transform: rotate(45deg);
    width: 30px;
    left: 28%;
    top: 50%;
  }
  .nav-open  .h-education .hamburger_border_bottom {
    transform: rotate(-45deg);
    width: 30px;
    left: 28%;
    top: 50%;

  }

  .nav-open .h-education nav {
   right: 0;
    top: 59px;
  }

  .h-education > .search02 {
    padding: 1rem 1.15rem;
    background: #FF8462;
  }

.h-link{
  text-align: center;
  margin: 2rem 0;
}

.h-link p:nth-child(2) > a:nth-child(1) {
  font-size: 2.5rem;
  font-weight: bold;
}

li.search02 {
  border: none;
}
.Scroll-inner > ul:nth-child(2) > li:nth-child(4) {
  border: none;
}

}
