@media screen and (min-width: 300px) {
  .content,
  .support {
    width: clamp(15rem, 80vw, 25rem);
  }
  #header {
    left: 0;
  }
  #topPc {
    display: none;
  }
  .hamburger {
    width: clamp(2.5rem, 0.714rem + 8.93vw, 5rem);
    height: clamp(2.5rem, 0.714rem + 8.93vw, 5rem);
  }
  .hamburger-line {
    top: 28%;
  }
  .hamburger-line::before {
    top: 10px;
  }
  .hamburger-line::after {
    top: 20px;
  }
  .hamburger[aria-expanded="true"] .hamburger-line {
    -webkit-transform: translateY(10px) rotate(-45deg);
    transform: translateY(10px) rotate(-45deg);
  }
  .hamburger[aria-expanded="true"] .hamburger-line::after {
    -webkit-transform: translateY(-20px) rotate(90deg);
    transform: translateY(-20px) rotate(90deg);
  }
  .modal-container {
    top: 7%;
    overflow: scroll;
    width: clamp(15.625rem, 83.33vw, 31.25rem);
    height: clamp(35rem, 27.857rem + 35.71vw, 45rem);
  }
  .menu-list {
    margin-top: clamp(1.875rem, 0.673rem + 6.41vw, 3.75rem);
    padding-right: 2rem;
  }
  .menu-link {
    font-size: clamp(1rem, 0.84rem + 0.85vw, 1.25rem);
  }
  .menuSubitemLink {
    margin: 0.5rem;
  }
  hr {
    margin: 2rem 0;
  }
  .burgerMv {
    display: none;
  }
  .topLogo_sp {
    display: block;
    margin: 0 auto;
    padding-left: 50px;
    padding-right: 50px;
  }
  .topLogo {
    display: none;
  }
  #modal-1-content {
    flex: 1 1 100%;
    max-width: 100%;
  }
  .headingPic {
    margin-top: 2rem;
  }
  .catchCopy {
    padding: 0;
  }
  .catchCopy::before {
    display: none;
  }
  .catchCopy::after {
    width: 240px;
  }

  .catchCopy::after {
    right: -18%;
    top: 105%;
  }
  #topTitle {
    max-width: 280px;
    margin: 0 auto;
  }

  /* .adButton {
    z-index: 99;
  } */

  .accordion-body table th {
    width: 30%;
  }
  .accordion-body table td {
    width: 70%;
  }
  .support p,
  .admission p {
    -webkit-font-feature-settings: "palt";
    font-feature-settings: "palt";
    margin: 0 auto;
    margin-bottom: 0.5rem;
  }

  .smallSubtext {
    text-align: left;
  }

  .accordion-body {
    padding: 0;
    width: 100%;
  }
  .accordion-item {
    margin: 1rem 0;
  }
  .tableTitle {
    margin-top: 20px;
  }

  .accordion-body table:last-child {
    margin-top: 20px;
  }
  .accordion-body table {
    margin-top: 0;
    margin-bottom: 16px;
  }
  .lastTable {
    margin-top: 0 !important;
    margin-bottom: 16px !important;
  }

  #admissionBorder {
    margin-top: 22rem;
    margin-bottom: 2rem;
  }

  .courseProgram {
    padding: 25px 20px;
  }
  .courseSchedule,
  .advanceSchedule {
    padding-bottom: 25px;
  }
  #contactSp {
    display: block;
    width: 100%;
    margin: 0 auto;
    max-width: 300px;
  }
  #contactPc {
    display: none;
  }

  .row {
    flex-wrap: nowrap;
  }
  .col-form-label {
    font-size: clamp(0.688rem, 0.625rem + 0.31vw, 1rem);
    width: clamp(5rem, 3.214rem + 8.93vw, 7.5rem);
    white-space: pre;
    margin-left: 0;
  }
  .form-control {
    width: clamp(10.75rem, 7.75rem + 16vw, 11.25rem);
  }

  #mailspRequired {
    margin-left: 37px;
  }
  #commentspRequired {
    margin-left: 50px;
  }
  #inputEmailsp3 {
    margin-left: 12px;
  }
  textarea.form-control {
    margin-left: 24px;
  }

  #mailSp {
    margin-left: -12px;
  }
  #commentSp {
    margin-left: -25px;
  }
  .divider {
    height: 24px;
    margin: 6px 15px;
  }
  #inputPostalCodepc {
    width: clamp(5.375rem, 3.3rem + 10.38vw, 15.75rem);
  }
  .address {
    -webkit-box-pack: start;
    -webkit-justify-content: flex-start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
  .required {
    display: table;
    float: none;
    margin-left: 25px;
  }

  .admission p {
    margin-bottom: 3rem;
  }
  #admission {
    padding-bottom: 44px;
  }
  .contactButton {
    height: 100%;
  }
  .yoyaku {
    font-size: 13px;
  }
}

@media screen and (min-width: 360px) {
  .modal-container {
    top: 8%;
  }
  .form-control {
    width: clamp(11.25rem, 5rem + 33.33vw, 12.5rem);
  }
}
@media screen and (min-width: 375px) {
  .form-control {
    width: clamp(12.375rem, 8.025rem + 21.75vw, 34.125rem);
  }
}
@media screen and (min-width: 500px) {
  .modal-container {
    top: 8%;
  }

  .content,
  .support {
    width: clamp(22.5rem, 46.88vw, 56.25rem);
  }
  .topLogo {
    width: clamp(22.5rem, 46.88vw, 56.25rem);
    height: 100%;
  }

  .accordion-body table th {
    width: 20%;
    font-size: clamp(0.688rem, 0.642rem + 0.25vw, 1rem);
  }
  .accordion-body table td {
    width: 80%;
    font-size: clamp(0.688rem, 0.642rem + 0.25vw, 1rem);
  }

  #admissionBorder {
    margin-top: 25rem;
  }
  .topLogo_sp {
    padding-left: 0;
    padding-right: 0;
  }
  .required,
  #mailspRequired,
  #commentspRequired {
    margin-left: 50px;
  }
  #commentSp {
    margin-left: -15px;
  }
  textarea.form-control {
    margin-left: 22px;
  }
  #inputEmailsp3 {
    margin-left: 0;
  }
  #inputEmailsp3 {
    margin-left: 0;
  }
  #mailSp {
    margin-left: 0;
  }
}
@media screen and (min-width: 600px) {
  .content,
  .support {
    width: clamp(33.75rem, 18.409rem + 40.91vw, 67.5rem);
  }
  .modal-container {
    left: 1%;
    overflow: hidden;
    width: clamp(17.5rem, 10.324rem + 38.27vw, 56.25rem);
    height: calc(100% - 100px);
  }
  .hamburger-line {
    top: 34%;
  }

  .menu-item {
    padding-top: 1rem;
  }

  #topTitle {
    max-width: 480px;
    margin: 0 auto;
  }

  /* .contactFinal {
    width: 25%;
  } */

  .smallSubtext {
    text-align: center;
    margin-top: 1.5rem;
    white-space: nowrap;
  }
  /* .address {
    display: flex;
    justify-content: flex-end;
  } */
  .form-check-label {
    white-space: nowrap;
  }
  .catchCopy {
    padding: 0 2em;
  }
  .catchCopy::before {
    display: block;
  }
  .catchCopy::before,
  .catchCopy::after {
    width: 200px;
    top: 50%;
    transform: translateY(-50%);
  }
  .catchCopy::before {
    left: -20%;
  }
  .catchCopy::after {
    right: -20%;
  }
}

@media screen and (min-width: 720px) {
  #topTitle {
    max-width: 100%;
    margin-left: 18px;
    margin-right: 18px;
  }

  .divider {
    height: 60px;
    margin: 12px 15px;
  }
  .catchCopy::before {
    left: 0;
  }
  .catchCopy::after {
    right: 0;
  }
  #inputEmailsp3 {
    margin-left: 0;
  }
  #commentSp {
    margin-left: -5px;
  }
  .required {
    margin-left: 55px;
  }
  #mailspRequired,
  #commentspRequired {
    margin-left: 55px;
  }
}
/* ==================
タブレットサイズ
=====================*/
@media screen and (min-width: 768px) {
  .hamburger {
    width: clamp(5rem, 3.125rem + 3.91vw, 6.25rem);
    height: clamp(5rem, 3.125rem + 3.91vw, 6.25rem);
  }
  .topLogo_sp {
    display: none;
  }
  .topLogo {
    display: block;
    margin: 0 auto;
    width: 50%;
  }
  .modal-container {
    width: clamp(18.75rem, 1.875rem + 35.16vw, 30rem);
  }
  .menu-list {
    margin-top: clamp(3.75rem, 7.81vw, 6.25rem);
  }
  .menu-link {
    font-size: clamp(1.25rem, 0.75rem + 0.63vw, 1.5rem);
  }
  .tableTitle {
    margin-top: 50px;
  }

  .accordion-body table:last-child {
    margin-top: 50px;
  }
  .accordion-body table {
    margin-top: 0;
    margin-bottom: 20px;
  }
  .lastTable {
    margin-top: 0 !important;
    margin-bottom: 20px !important;
  }
  .accordion-body table th {
    width: 20%;
    text-align: center;
    background-color: var(--bg-color2);
  }
  .accordion-body table td {
    width: 80%;
    text-align: left;
  }

  #indexContact {
    padding-top: 18rem;
  }

  .aboutContainer {
    padding-top: 60px;
  }
  .support p,
  .admission p {
    margin-bottom: 1rem;
  }
  #contactSp {
    display: none;
  }
  #contactPc {
    display: block;
    margin: 0 auto;
  }
  .col-form-label {
    white-space: pre;
    margin-left: -10px;
  }
  .addressno {
    text-align: right;
  }

  .required {
    display: table-cell;
    float: right;
  }
  textarea.form-control {
    margin-left: 15px;
  }
  #inputName3 {
    display: flex;
  }
  .commentPc {
    margin-left: -24px;
  }
  #commentRequired {
    margin-right: -10px;
  }
  .yoyaku {
    font-size: 15px;
  }
}

/* ==================
PCサイズ
=====================*/
@media screen and (min-width: 912px) {
  .hamburger {
    top: 2%;
  }
  .modal-container {
    top: 4%;
  }
  .modal-container[aria-hidden="false"] {
    overflow-y: scroll;
  }
  #header {
    left: 2%;
  }
  #topPc {
    display: block;
  }
  #topSp {
    display: none;
  }
  .contactButton {
    height: clamp(3.375rem, 2.9rem + 2.38vw, 5.75rem);
  }
  .supportInner {
    background-image: url("../images/accordion_bg.png");
    width: 100vw;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    margin-top: -5px;
    margin-bottom: -5px;
  }

  #admission {
    position: relative;
    z-index: 1;
    background: #fff;
    min-height: 100vh;
    padding-bottom: 1500px;
  }
}

@media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) {
  .modal-container {
    top: 8%;
    overflow: hidden;
    width: clamp(17.5rem, 10.324rem + 38.27vw, 56.25rem);
    height: clamp(40rem, 25rem + 31.25vw, 45rem);
  }
  .burgerMv img {
    height: clamp(40rem, 25rem + 31.25vw, 45rem);
  }
}
@media screen and (min-width: 960px) {
  .courseProgram {
    padding: 50px 100px;
  }
  .courseSchedule,
  .advanceSchedule {
    padding-bottom: 50px;
  }
  .modalInner {
    display: flex; /* 横並び */
    justify-content: center;
    align-items: stretch;
  }
  .modal-container {
    width: 100%;
    height: auto;
    left: -5%;
  }

  .modalContent {
    display: flex; /* 横並び */
    flex-wrap: wrap; /* スマホ時に縦並び可 */
  }

  #modal-1-content,
  .burgerMv {
    flex: 1 1 50%; /* 50%ずつ */
    max-width: 50%;
    box-sizing: border-box;
  }

  .burgerMv {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .burgerMv img {
    width: 100%;
    height: auto;
    object-fit: contain;
  }
  .menu-list {
    padding: 0 7rem;
  }
}
@media screen and (min-width: 1280px) {
  .hamburger {
    top: 2%;
    left: 4%;
  }
  .hamburger-line {
    top: 36%;
  }

  .hamburger-line::before {
    top: 15px;
  }
  .hamburger-line::after {
    top: 30px;
  }
  .hamburger[aria-expanded="true"] .hamburger-line {
    -webkit-transform: translateY(15px) rotate(-45deg);
    transform: translateY(15px) rotate(-45deg);
  }

  .hamburger[aria-expanded="true"] .hamburger-line::after {
    -webkit-transform: translateY(-30px) rotate(90deg);
    transform: translateY(-30px) rotate(90deg);
  }
  .modal-container {
    top: 5%;
  }
  .menu-list {
    margin-top: clamp(6.25rem, -1.25rem + 9.38vw, 10rem);
  }
  hr {
    margin: 5rem 0;
  }

  .menuSubitemLink {
    margin: 1rem;
  }
}
@media screen and (min-width: 1366px) {
  .modal-container {
    top: 0;
  }
}
@media screen and (min-width: 1440px) {
  .modal-container {
    top: 0;
  }

  #header {
    left: 5%;
  }

  .adButton {
    top: 60%;
  }
  .form-control {
    width: clamp(40rem, 27.143rem + 14.29vw, 50rem);
  }
  .commentPc {
    font-size: 14px;
  }
  .supportInner {
    margin-top: 0;
    margin-bottom: -1px;
    padding-top: 2rem;
    padding-bottom: 4.6rem;
  }
}
@media screen and (min-width: 1920px) {
  .menu-link {
    font-size: 2rem;
  }
  .modal-container {
    top: 0;
  }
  .supportInner {
    margin-top: -1rem;
    margin-bottom: -1px;
    padding-top: 24rem;
    padding-bottom: 5rem;
  }
  #admission {
    padding-bottom: 1500px;
  }
}
@media screen and (min-width: 2304px) {
  .content,
  .support {
    max-width: 120%;
  }

  .hamburger-line {
    top: 35%;
  }
  .hamburger-line::before {
    top: 13px;
  }
  .hamburger-line::after {
    top: 28px;
  }
  .hamburger[aria-expanded="true"] .hamburger-line::before {
    -webkit-transform: translateY(-15px) translateX(20px) rotate(45deg);
    transform: translateY(-15px) translateX(20px) rotate(45deg);
  }
  .hamburger[aria-expanded="true"] .hamburger-line::after {
    -webkit-transform: translateY(-26px) rotate(90deg);
    transform: translateY(-26px) rotate(90deg);
  }
  .menu-list {
    margin-top: 240px;
  }
  .smallText {
    font-size: 13px;
  }
  .smallSubtext {
    font-size: 14px;
  }
  #admission {
    padding-bottom: 1800px;
  }
  #emailTitle {
    margin-left: -22px;
  }
  #inputEmail3 {
    margin-left: 10px;
  }
  #mailRequired {
    margin-right: -10px;
  }
  .supportInner {
    margin-bottom: -1px;
    margin-top: -1px;
    padding-top: 20rem;
    padding-bottom: 5rem;
  }
}
@media screen and (min-width: 2560px) {
  #admission {
    padding-bottom: 2000px;
  }
  .supportInner {
    margin-bottom: -1px;
    margin-top: -1px;
    padding-top: 20rem;
    padding-bottom: 23rem;
  }
}
