@media screen and (max-width: 1250px) {
  main {
    padding-top: 54px;
  }
  header .left {
    max-width: 250px;
  }
  header .btn-box {
    margin-left: 20px;
  }
  header .btn-box a {
    padding: 11px 4px 8px 11px;
    width: 180px;
  }
  header .btn-box a .icon {
    height: 30px;
    width: 30px;
    margin: 0 8px 0 0;
    padding-top: 6px;
  }
  header .btn-box a .text {
    font-size: 1.3rem;
  }
  header .btn-box a:nth-child(2) {
    background-color: var(--main-color);
    width: 160px;
  }
  header .btn-box a:nth-child(2) .icon {
    padding-top: 8px;
  }
  header .btn-box a::after {
    margin-left: 12px;
  }

  footer .footer-top .container .wrapper {
    flex-direction: column;
  }
  footer .footer-top .left {
    margin-bottom: 35px;
    max-width: 100%;
  }
  footer .footer-top .right .btn-box a {
    width: calc(100% / 2 - 10px);
  }

  footer .footer-middle .inbox1,
  footer .footer-middle .inbox2 {
    grid-template-columns: 50% 50%;
    row-gap: 50px;
  }

  .sub2-swiper {
    padding: 0 20px;
  }
  #about .img-sec img:first-child {
    left: -32px;
    max-width: 45%;
  }
  #about .img-sec img:nth-child(2) {
    right: -45px;
    max-width: 54%;
  }
  #about .img-sec img:nth-child(3) {
    margin-top: 50px;
    max-width: 40%;
  }

  #about .img-sec img:nth-child(4) {
    position: absolute;
    top: 88%;
    transform: translateY(-50%);
    right: -21px;
    max-width: 45%;
  }

  #policy .text-sec p {
    line-height: 1.65em;
  }
  #greetings .text-sec h3 {
    font-size: 2.5vw;
  }
}
@media screen and (min-width: 1051px) {
  header .modalbtn,
  header #modal {
    display: none !important;
  }
}
@media screen and (max-width: 1050px) {
  main {
    padding-top: 45px;
  }
  header .left {
    max-width: 213px;
  }
  header .pc {
    display: none !important;
  }
  #top .site-contents ul li {
    width: calc(100% / 2 - 15px);
  }
  #top .recruit ul li {
    width: calc(100% / 2 - 6px);
  }
  .other ul li {
    width: calc(100% / 2 - 6px);
  }
  #workplace-detail .text-sec .right {
    max-width: 35%;
  }
  #education .sec5 ul {
    gap: 45px;
  }
  #education .sec5 ul li {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 0 25px;
  }
  #education .sec5 ul li p {
    font-size: 1.5rem;
  }
  #education .sec5 ul li .num {
    font-size: 2.2rem;
    height: 40px;
    width: 40px;
  }
  #internship .sec1 .back .flex,
  #jobfair .sec1 .back .flex {
    flex-direction: column;
    align-items: flex-start;
  }
  #support .sec2 ul li {
    width: calc(100% / 2 - 20px);
    max-width: 100%;
  }
  #support_detail .sec1 .right {
    max-width: 35%;
  }
  #support_detail .sec5 .flex .left {
    max-width: 25%;
  }
  #support_detail .sec5 .flex .left img {
    max-width: 100%;
  }
  #greetings .text-sec .flex .right {
    max-width: 40%;
  }
}
@media screen and (max-width: 920px) {
  #specialist .sec1 ul {
    gap: 20px;
  }
  #specialist .sec1 ul li {
    width: 100%;
    max-width: 475px;
    margin: 0 auto;
  }
  #specialist .sec1 ul li:nth-child(3) div.text {
    padding: 25px 10px 25px;
  }
}
@media screen and (min-width: 821px) {
}
@media screen and (max-width: 820px) {
  footer .footer-top .container .wrapper {
    padding: 37px 15px 36.6px;
  }
  footer .footer-top .left {
    margin-bottom: 34px;
  }
  footer .footer-top .left .ttl span {
    padding-bottom: 12px;
    font-size: 4.6rem;
    line-height: 1.21em;
  }
  footer .footer-top .left .ttl span:nth-child(2) {
    margin-top: 12px;
  }
  footer .footer-top .left p {
    line-height: 1.95em;
    margin-top: 19px;
  }
  footer .footer-top .right .btn-box {
    gap: 10px;
    flex-direction: column;
  }
  footer .footer-top .right .btn-box a {
    width: 100%;
    padding: 21px 25px 25px 12px;
    display: flex;
    align-items: center;
    position: relative;
    text-align: left;
  }
  footer .footer-top .right .btn-box a:nth-child(2) {
    background-color: #fff;
  }
  footer .footer-top .right .btn-box a .icon {
    height: 68px;
    width: 68px;
    padding-top: 18px;
    margin: 0 7px 0 0;
    flex-shrink: 0;
  }
  footer .footer-top .right .btn-box a .icon img {
    width: 31px;
  }
  footer .footer-top .right .btn-box a:nth-child(2) .icon img {
    width: 23px;
  }
  footer .footer-top .right .btn-box a .ttl {
    font-size: 1.6rem;
    margin: 0 0 5px;
    line-height: 1.5em;
  }
  footer .footer-top .right .btn-box a p {
    font-size: 1.2rem;
    letter-spacing: -0.076em;
    line-height: 1.58em;
  }
  footer .footer-top .right .btn-box a .arrow {
    position: absolute;
    right: 11px;
    bottom: 10px;
    width: 4.7px;
  }

  footer .footer-middle .grid {
    grid-template-columns: 100%;
  }
  footer .footer-middle .grid .box-title.open::before {
    transform: rotate(180deg);
    transition: 0;
  }
  footer .footer-middle .grid .box:not(:first-child) {
    border-top: 1px solid #e4e4e5;
  }
  footer .footer-middle {
    border: 0;
    padding: 0 0 56px;
  }
  footer .footer-middle ul {
    row-gap: 0;
  }
  footer .footer-middle .inbox {
    grid-template-columns: 100%;
    row-gap: 0;
  }
  footer .footer-middle .inbox2 {
    margin: 0;
  }
  footer .footer-middle ul .nav-list {
    width: 100%;
  }
  footer .footer-middle ul .nav-list a {
    border-top: 1px solid #e4e4e5;
  }
  footer .footer-middle .box-title a {
    background: var(--beige-color);
    padding-left: 14px;
  }
  footer .footer-middle ul .nav-list a,
  footer .footer-middle .box-title a {
    width: 100%;
    display: block;
    padding: 19.5px 0 18.5px;
    padding-left: 15px;
    position: relative;
  }
  footer .footer-middle .box-title a {
    font-weight: 500;
    color: var(--main-color);
    font-size: 1.4rem;
    line-height: 1.42em;
  }
  footer .footer-middle ul .nav-list a::before
  /*footer .footer-middle .box-title::before */ {
    content: url(/s-kango/assets/images/common/nav-arrow_sp.svg);
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    margin: 0;
  }
  /*
  footer .footer-middle .box-title::before {
    content: url(/s-kango/assets/images/common/nav-arrow2_sp.svg);
  }*/
  footer .footer-middle .btn-box .foot a {
    font-size: 1.3rem;
    padding-left: 15px;
    width: calc(50% - 5.5px);
    height: 50px;
  }
  footer .footer-middle .btn-box {
    margin-top: 0px;
    padding-top: 50px;
    border-top: 1px solid #e4e4e5;
  }
  footer .footer-foot {
    padding: 0 0 100px;
    position: relative;
  }
  footer .footer-foot > .flex,
  footer .footer-foot .left {
    flex-direction: column;
  }
  footer .footer-foot .left {
    margin-bottom: 22px;
  }
  footer .footer-foot .left .icon-box > a {
    font-size: 1.3rem;
    padding-left: 15px;
    width: calc(50% - 5.5px);
    height: 50px;
    border-radius: 5px;
    border: 1px solid #e2e2e2;
    display: flex;
    align-items: center;
    position: relative;
    gap: 10px;
    font-weight: 500;
  }
  footer .footer-foot .left .icon-box > a::after {
    content: url(/s-kango/assets/images/common/blank.svg);
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translate(0, -50%);
  }
  footer .footer-foot .left .icon-box > * img {
    max-width: 25px;
  }
  footer .footer-foot .flex footer .footer-foot .right {
    position: relative;
    margin-top: 15px;
  }
  footer .footer-foot .right .text .address,
  footer .footer-foot .right .text .tell {
    font-size: 1.2rem;
    text-align: left;
  }
  footer .footer-foot .right .text .address {
    margin-bottom: 4px;
  }
  footer .footer-foot .right .text small {
    margin-top: 43px;
    display: block;
  }
  footer .page-top {
    height: 0;
  }
  footer .page-top a {
    position: absolute;
    right: 15px;
    bottom: 85px;
    margin: 0;
    width: 50px;
    height: 50px;
    font-size: 1rem;
  }

  #top .fv .fv-swiper ul li {
    width: 100%;
    background: url(/s-kango/assets/images/top/fv1_sp.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    object-fit: cover;
    padding: 19px 0 39px;
    position: relative;
    height: 515px;
    min-height: auto;
  }
  #top .fv .fv-swiper ul li.slide2 {
    background: url(/s-kango/assets/images/top/fv2_sp.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    padding: 18px 0 40px;
  }
  #top .fv .fv-swiper ul li.slide3 {
    background: url(/s-kango/assets/images/top/fv3_sp.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    padding: 19px 0 40px;
  }
  #top .fv .fv-swiper ul li.slide4 {
    background: url(/s-kango/assets/images/top/fv4_sp.jpg) no-repeat;
    background-size: cover;
    background-position: center;
    padding: 19px 0 39px;
  }
  #top .fv h2 {
    max-width: 121px;
    margin-bottom: 73px;
  }
  #top .fv .fv-swiper ul li.slide2 h2 {
    margin-bottom: 82px;
  }
  #top .fv .fv-swiper ul li.slide3 h2 {
    margin-bottom: 29px;
  }
  #top .fv .fv-swiper ul li.slide4 h2 {
    margin-bottom: 39px;
  }
  #top .fv h3 span {
    padding: 4px 10px 6px;
    font-size: 1.2rem;
    line-height: 1.34em;
  }
  #top .fv h3 span {
    margin-bottom: 8px;
  }
  .fixed-btn {
    width: 100%;
    border-radius: 0;
    position: fixed;
    z-index: 100;
  }
  .fixed-btn a {
    align-items: center;
  }
  .fixed-btn a,
  .fixed-btn a:nth-child(2) {
    width: 100%;
  }
  .fixed-btn a .text .ttl span {
    margin-bottom: 0px;
    font-size: 1.3rem;
    letter-spacing: -0.04px;
  }
  .fixed-btn a .icon {
    align-items: start;
    height: 31px;
    width: 31px;
    padding-top: 7px;
    margin: 0 10px 0 0;
  }
  .fixed-btn a .icon img {
    width: 14px;
  }
  .fixed-btn a:nth-child(2) .icon img {
    width: 12px;
  }
  #top .news {
    margin: 60px 0 107px;
  }
  #top .news .flex {
    flex-direction: column;
  }
  #top .news h2 {
    font-size: 2.7rem;
    writing-mode: inherit;
    letter-spacing: 0;
    line-height: 1.2em;
    margin-bottom: 23px;
  }
  #top .news h2 span {
    font-size: 2.1rem;
    margin: 0 0 3px;
    line-height: 1.3em;
  }
  #top .news .right .swiper-nav-buttons {
    max-width: 138px;
    margin: 29px auto 0 0;
  }
  #top .news .swiper-pagination {
    font-size: 1.3rem;
  }
  #top .news .right ul li:not(:last-child) {
    margin-bottom: 15px;
  }
  #top .news .right ul li a {
    padding: 12px 35px 12px 18px;
    flex-wrap: wrap;
  }
  #top .news .right ul li a::after {
    right: 21px;
  }
  #top .news .right ul li a .date {
    font-size: 1.2rem;
    line-height: 1.4em;
  }
  #top .news .right ul li a .cate {
    font-size: 1rem;
    line-height: 1.3em;
    width: 51px;
    padding: 2px 0;
    margin: 0 0 0 10px;
  }
  #top .news .right ul li a .ttl {
    font-size: 1.3rem;
    line-height: 1.45em;
    width: 100%;
    margin-top: 7px;
  }

  #top .site-contents {
    margin: 0 0 89px;
  }
  #top .site-contents ul {
    flex-wrap: wrap;
    row-gap: 23.6px;
  }
  #top .site-contents ul li {
    width: 100%;
  }
  #top .site-contents ul li a .img-box .image {
    height: 342px;
  }
  #top .site-contents ul li a .text h3 {
    margin: 69px 0 11px;
  }
  #top .site-contents ul li a .text p {
    line-height: 1.47em;
  }

  #top .recruit {
    background: url(/s-kango/assets/images/top/recruit_back_sp.jpg) no-repeat;
    background-size: 100%;
    background-position: top;
    padding: 108px 0 47px;
  }
  #top .recruit .text {
    background: url(/s-kango/assets/images/top/recruit_back_white.png) no-repeat;
    background-size: 100% 100%;
    background-position: bottom;
    padding-bottom: 24px;
  }
  #top .recruit h2 {
    font-size: 2.4rem;
  }
  #top .recruit h2 span {
    font-size: 1.8rem;
    line-height: 1.2em;
    margin-bottom: 11px;
  }
  #top .recruit p {
    font-size: 1.4rem;
    line-height: 2em;
    margin-top: 33px;
  }
  #top .recruit ul {
    row-gap: 10px;
    margin: 0;
  }
  #top .recruit ul li {
    width: 100%;
  }
  #top .recruit ul li a::after {
    right: 13.5px;
  }
  #top .recruit ul li .img-box {
    width: 76px;
    height: 76px;
    margin-right: 22px;
  }
  #top .recruit ul li .ttl h3 {
    font-size: 1.5rem;
    line-height: 1.4em;
  }
  #top .recruit ul li .ttl h3 span {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }

  .sub .page-head {
    padding-top: 23px;
  }
  .sub .page-head .visual {
    /* background: url(/s-kango/assets/images/sub/page-head_sp.jpg) no-repeat; */
    background-position: 70% !important;
    background-size: cover;
    overflow: hidden;
    height: 154px;
    border-radius: 15px;
    position: relative;
  }
  .sub .page-head .visual:before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 100%;
    border-radius: 15px;
    background: #fff;
    z-index: 1;
    z-index: 0;
    opacity: 0.3;
  }
  /* .sub .page-head .visual h2 {
    padding: 102px 0 0 13px;
    font-size: 2rem;
    line-height: 1.2em;
    position: relative;
  }
  .sub .page-head .visual h2 span {
    margin-bottom: 0;
    line-height: 1.22em;
    font-size: 0.9rem;
  } */
  .sub .page-head .visual .top-title {
    padding: 102px 0 0 13px;
    font-size: 2rem;
    line-height: 1.2em;
    position: relative;
  }
  .sub .page-head .visual .top-title p {
    margin-bottom: 0;
    line-height: 1.22em;
    font-size: 0.9rem;
  }
  .breadcrumbs {
    margin: 16px 0 0;
  }
  .breadcrumbs ol li,
  .breadcrumbs ol li a {
    font-size: 1.1rem;
  }
  .sub h3.ttl2 {
    font-size: 2.1rem;
    line-height: 1.238em;
  }
  .sub h3.ttl2::after {
    margin-top: 21px;
  }
  .other ul {
    row-gap: 10px;
    margin: 0;
  }
  .other ul li {
    width: 100%;
  }
  .other ul li a {
    padding-right: 20px;
  }
  .other ul li a::after {
    right: 13.5px;
  }
  .other ul li .img-box {
    width: 76px;
    height: 76px;
    margin-right: 22px;
  }
  .other ul li .ttl h4 {
    font-size: 1.5rem;
    line-height: 1.4em;
  }
  .other ul li .ttl h4 span {
    font-size: 1.1rem;
    margin-bottom: 5px;
  }
  .other h3 {
    font-size: 2.4rem;
  }
  .other h3 span {
    font-size: 1.8rem;
    line-height: 1.2em;
    margin-bottom: 16px;
  }
  #about .text-sec h3 {
    margin: 75px 0 40px;
    font-size: 2.4rem;
  }
  #about .text-sec p {
    font-size: 1.4rem;
    line-height: 2.5em;
  }
  #about .img-sec {
    transform: translateY(-66px);
    margin-bottom: 106px;
  }

  #policy .text-sec {
    margin: 45px 0 105px;
  }
  #policy .text-sec p {
    font-size: 4vw;
    line-height: 1.65em;
    margin-top: 15px;
  }
  #policy .policy .container > p {
    font-size: 1.4rem;
    margin: 20px 0 60px;
    line-height: 2em;
  }
  #policy .policy ul {
    gap: 45px;
  }
  #policy .policy ul li {
    max-width: 400px;
    width: 100%;
    margin: 0 auto;
    padding: 40px 0 25px;
  }
  #policy .policy ul li p {
    font-size: 1.5rem;
  }
  #policy .policy ul li .num {
    font-size: 2.2rem;
    height: 40px;
    width: 40px;
  }
  #policy .intention {
    margin: 100px 0 128px;
  }
  #policy .intention .wrapper {
    background-color: var(--beige-color);
    border-radius: 3px;
    padding: 45px 15px 38px;
  }
  #policy .intention h4 {
    font-size: 2rem;
    line-height: 1.75em;
    display: table;
    margin: 20px auto 0;
  }
  #policy .intention p {
    font-size: 1.4rem;
    max-width: 100%;
  }
  #greetings .text-sec {
    margin: 100px 0 135px;
  }
  #greetings .text-sec .flex {
    flex-direction: column;
  }
  #greetings .text-sec .flex .right {
    max-width: 420px;
    margin: 0 auto;
  }
  #greetings .text-sec h3 {
    font-size: 2rem;
    line-height: 1.4em;
    text-align: center;
  }
  #greetings .text-sec h4 {
    font-size: 2.1rem;
    text-align: center;
  }
  #greetings .text-sec p {
    column-count: 1;
    gap: 0px;
    margin: 41px 0 35px;
  }
  #greetings .text-sec .name {
    font-size: 2rem;
  }
  #greetings .text-sec .name span {
    font-size: 1.4rem;
    margin-right: 18px;
  }
  #workplace-detail .text-sec {
    margin: 60px 0 100px;
  }
  #workplace-detail .text-sec > .flex {
    flex-direction: column;
  }
  #workplace-detail .text-sec .right {
    margin: 25px 0 0;
    text-align: center;
    max-width: 100%;
  }
  #workplace-detail .text-sec h3 .room {
    font-size: 1.4rem;
  }
  #workplace-detail .text-sec p {
    font-size: 1.5rem;
    line-height: 1.8em;
    max-width: 100%;
  }
  #workplace-detail .prev_link {
    margin: 65px 0 75px;
  }

  #workplace .select-container {
    margin-top: 60px;
  }
  #workplace select {
    font-size: 1.4rem;
  }
  #workplace .place {
    margin: 0 0 70px;
  }
  #workplace .place ul::before {
    content: "";
    width: calc(100% / 2 - 7px);
  }
  #workplace .place ul::after {
    width: calc(100% / 2 - 7px);
    max-width: 100%;
  }
  #workplace .place ul li {
    width: calc(100% / 2 - 5px);
    max-width: 100%;
  }
  #workplace .place ul li a .img-box .image {
    height: 245px;
  }
  #workplace .place ul li a .text {
    padding: 20px 35px 18px 16px;
  }
  #workplace .system ul li:not(:last-child) {
    margin-bottom: 15px;
  }

  #workplace .time {
    margin: 100px 0 110px;
  }
  #workplace .time table {
    margin-top: 35px;
  }

  #graduates .sec3 .flex {
    flex-direction: column;
  }
  #graduates .sec3 .left {
    max-width: 100%;
  }
  #graduates .scroll-img {
    overflow: scroll;
  }
  #graduates .scroll-img img {
    max-width: 700px;
  }
  #access .bus li .table-wrapper table {
    width: 100%;
  }
  #access .map .ttl-box {
    flex-direction: column;
    gap: 20px;
  }
  #dorm .dorm-detail {
    flex-direction: column;
    align-items: center;
  }
  #dorm .dorm-detail .right {
    width: 100%;
  }
  #dorm .dorm-detail .right h4 {
    margin: 0px 0 15px;
  }
  #dorm .sec1 .note-list h4 {
    margin-bottom: 17px;
  }
  #dorm .sec1 .note-list,
  #dorm .back {
    padding: 25px;
  }
  #internship .sec1 .back,
  #jobfair .sec1 .back {
    padding: 25px 15px 30px 15px;
  }
  #jobfair .sec1 .back .flex a {
    max-width: 100%;
  }
  #experienced .sec2 .flex {
    flex-direction: column;
  }
  #internship .sec2 table {
    min-width: auto;
  }
  #internship .sec2 table td:first-child {
    width: auto;
  }
  #internship .sec2 table th {
    word-break: keep-all;
  }
  #examination .sec2 table,
  #experienced .sec3 table {
    min-width: auto;
  }
  #examination .sec2 table th,
  #examination .sec2 table td,
  #experienced .sec3 table th,
  #experienced .sec3 table td,
  #access .bus li .table-wrapper table td,
  #access .bus li .table-wrapper table th {
    display: block;
    width: 100% !important;
    height: auto;
    padding: 18px !important;
    border-right: none !important;
    border-left: none !important;
  }

  #access .bus li .table-wrapper table tr {
    display: grid;
    grid-template-columns: 100px calc(100% - 100px);
  }

  #examination .sec2 table th,
  #experienced .sec3 table th {
    border-bottom: 1px solid #e4e4e5;
  }
  #examination .sec2 ul li.grid {
    grid-template-columns: 100%;
    padding: 20px;
  }
  #examination .sec2 ul li .ttl {
    margin-bottom: 10px;
  }
  #examination .sec2 ul li .ttl .note {
    display: inline;
    margin-left: 20px;
  }
  .sub .back-box {
    padding: 30px 15px 30px 15px;
  }
  #support_detail .sec1 .container {
    flex-direction: column;
  }
  #support_detail .sec1 p {
    max-width: 100%;
  }
  #support_detail .sec1 .right {
    text-align: center;
    max-width: 100%;
    margin: 20px 0 0;
  }
  #support_detail .sec5 .wrapper {
    padding: 47px 25px 75px 25px;
  }
  #support_detail .sec5 .flex {
    flex-direction: column;
  }
  #support_detail .sec5 .flex .left {
    max-width: 350px;
    width: 100%;
  }
  .sub .btn1 {
    min-width: auto;
  }
  #workplace .career {
    flex-wrap: wrap;
  }
  #workplace .career > * {
    width: 100% !important;
  }
  #workplace .career .img-box {
    margin-top: 0;
  }
  #specialist .ttl3 {
    font-size: 2.1rem;
  }
  #graduates .sec5 .flex,
  #graduates .sec6 .flex {
    flex-wrap: wrap;
  }
  #graduates .sec5 .flex .text-box,
  #graduates .sec6 .flex .text-box {
    width: 100%;
  }
  #graduates .sec5 .img-grid {
    margin-top: 30px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  table th,
  table td {
    padding-left: 10px;
  }
  #benefit table {
    width: 100%;
  }
  #access .summary .table-wrapper table {
    width: 100%;
  }
  #access .summary table th,
  #access .summary table td {
    padding-left: 10px;
  }
  table td.time span {
    width: 55px;
  }
  .strech_tag {
    display: block;
    position: absolute;
    height: 100px;
    width: 160px;
    top: 70px;
  }
}

@media screen and (max-width: 700px) {
  #support .sec2 ul li {
    width: 100%;
  }
  #movie .movie-box .flex {
    padding-bottom: 60px;
  }
}
@media screen and (max-width: 550px) {
  #about .text-sec h3 {
    font-size: 1.8rem;
  }
  #policy .text-sec p {
    font-size: 4.5vw;
  }
}
