@media screen and (max-width: 1024px) {
  #n2-ss-2item1 {
    max-width: 500px !important;
    width: 80%;
  }

  .n2-ss-slide-backgrounds {
    height: 70vw !important;
  }

  .width90 {
    width: 100%;
    padding: 0 15px;
  }

  .ttl01-wrap {
    position: relative;
    margin-bottom: 40px;
  }

  .ttl01-en {
    font-size: 1.8rem;
    margin-bottom: 7px;
  }

  .ttl01 {
    font-size: 2.4rem;
  }

  .ttl02 {
    font-size: 1.8rem;
  }

  .btn01 {
    max-width: 280px;
    padding: 10px 42px 10px 42px;
    font-size: 1.5rem;
    letter-spacing: 0.05em;
    background-size: 12px auto;
    background-position: top 50% right 15px;
  }

  .btn02 {
    padding-left: 22px;
    background-size: 18px auto;
    font-size: 1.4rem;
    margin-top: 20px;
  }

  .y-box01 {
    padding: 20px;
  }

  .head01 {
    background-size: 20px auto;
    background-position: left top 4px;
    font-size: 1.6rem;
    padding-left: 26px;
  }

  .head02 {
    font-size: 1.8rem;
    letter-spacing: 0.05em;
  }

  .head02::before {
    width: 25px;
    height: 42px;
    left: -30px;
    bottom: -20px;
  }

  .head02::after {
    width: 25px;
    height: 42px;
    right: -27px;
    bottom: -20px;
  }

  .title02 {
    font-size: 1.7rem;
    max-width: 400px;
    margin-bottom: 35px;
  }

  .list01 li {
    padding-left: 27px;
    background-size: 20px auto;
    font-size: 1.4rem;
  }

  .w-box01 {
    padding: 20px;
  }

  .open-btn-wrap,
  .pc-side-menu {
    display: none !important;
  }

  .side-nav-wrap {
    display: none;
  }

  .tablepress tbody td {
    font-size: 1.3rem;
    padding: 10px;
  }

  .tablepress tbody td a {
    font-size: 1.3rem;
  }

  .tablepress tbody td span {
    font-size: 1.3rem;
  }

  .news-box {
    padding: 30px 20px;
  }

  .inner01 {
    border-radius: 20px;
    padding: 40px 15px;
  }

  .greeting-box p {
    font-size: 1.4rem;
  }

  .greeting-box {
    padding: 30px 20px;
    border-radius: 20px;
  }

  .office-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }

  .office-ttl {
    font-size: 1.5rem;
  }

  .office-section01 {
    background-position: top 10% right 5%, bottom 0 left 10%;
    background-size: 20% auto, 70px auto;
    padding-bottom: 100px;
  }

  .office-section02 {
    background-size: 150px auto;
  }

  .feature-img,
  .feature-content {
    width: 100%;
  }

  .feature-img img {
    max-width: 400px;
    margin: 0 auto 20px;
  }

  .office-table dt,
  .office-table dd {
    padding: 10px;
    font-size: 1.2rem;
  }

  .office-box {
    width: 100%;
    margin-bottom: 60px;
  }

  .flow-section {
    padding-bottom: 20px;
  }

  .flow-list .flow-step {
    width: 100%;
  }

  .step {
    padding: 5px 20px;
    font-size: 1.4rem;
  }

  .flow-block01 {
    margin-bottom: 60px;
  }

  .flow-icon {
    max-width: 50px;
    margin: 0 auto 15px;
  }

  .flow-txt {
    font-size: 1.3rem;
  }

  .flow-list .flow-arrow {
    width: 100%;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    margin: 10px 0;
  }

  .flow-list .flow-arrow img {
    max-width: 20px;
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
  }

  .flow-head {
    font-size: 1.8rem;
  }

  .fee-pdf li {
    width: 47%;
    margin: 0 1.5% 20px;
  }

  .gmap {
    padding-bottom: 40%;
  }

  .overview-block01 {
    margin-bottom: 50px;
  }

  .access-ttl {
    font-size: 4rem;
    background-size: 60px auto;
    padding: 0 60px;
  }

  .recruit-section {
    background-size: 60px auto, 500px auto;
    padding-top: 60px;
    padding-bottom: 60px;
  }

  .recruit-img,
  .recruit-content {
    width: 100%;
  }

  .recruit-img img {
    max-width: 300px;
    margin: 0 auto 20px;
  }
}

@media screen and (max-width: 820px) {
  .overview-block {
    grid-template-columns: repeat(1, 1fr);
  }

  .overview-img {
    max-width: 400px;
    margin: 0 auto 25px;
  }
}

@media screen and (max-width: 600px) {
  .spnone600 {
    display: none;
  }

  .item01 {
    width: 15%;
    bottom: -19vw;
  }

  .news-section {
    padding-bottom: 25vw;
  }

  .about-section {
    padding-bottom: 40px;
  }

  .feature-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 30px;
  }

  .feature-img {
    max-width: 300px;
    margin: 0 auto 20px;
  }

  .intro-section {
    padding-bottom: 22vw;
  }
}

@media screen and (max-width: 450px) {
  .office-list {
    grid-template-columns: repeat(1, 1fr);
    gap: 40px;
  }

  .office-ttl {
    margin-bottom: 20px;
  }

  .fee-pdf li {
    width: 100%;
    margin: 0 0 20px;
  }

  .gmap {
    padding-bottom: 67.25%;
  }
}
