@media (max-width: 1500px) {
  :root {
    --sitePadding: 5%;
  }
  #header .gnb {
    margin-left: 5%;
  }
  #header .gnb ul .depth1 > a {
    padding: 0 2em;
  }
  #customPage.about01 .flex .img {
    aspect-ratio: 4/4;
  }
}
@media (max-width: 1280px) {
  :root {
    --sitePadding: 3%;
    --sitePaddingS: 3%;
    --t1: 40px;
    --spaceL: 90px;
    --spaceM: 65px;
    --spaceS: 40px;
  }
  body {
    font-size: 13px;
  }
  .main_con.partner ul {
    gap: 50px;
    padding: 50px;
    grid-auto-rows: 50px;
  }
  .main_con.partner ul img {
    max-width: 100%;
  }
  #customPage.about01 .flex .con br {
    display: none;
  }
}
@media (max-width: 1024px) {
  body {
    font-size: 14px;
  }
  #footer .quickmenu {
    display: none;
  }
  #header .user {
    display: none;
  }
  #header .gnb {
    margin: 0;
    position: fixed;
    width: 250px;
    height: 100%;
    top: 0;
    right: -250px;
    background-color: #000;
    transition: right 0.3s;
  }
  #header .gnb.on {
    right: 0;
  }
  #header .gnb .btn_gnb {
    display: block;
    position: fixed;
    right: 25px;
    top: 25px;
    font-size: 0;
    width: 48px;
    height: 48px;
    background: url(../img/Menu.svg) no-repeat;
    background-size: contain;
    transition: all 0.3s;
  }
  #header .gnb .btn_gnb.on {
    transform: rotate(90deg);
  }
  #header .gnb ul {
    flex-direction: column;
    padding-top: var(--gnbHeight);
  }
  #header .gnb ul .depth1 > a {
    justify-content: flex-start;
    padding: 0 40px;
    height: 60px;
  }
  #header .gnb ul .depth1 > a::after {
    display: none;
  }
  #header .gnb ul .depth1 ul {
    display: none;
    position: static;
    padding: 0;
    opacity: 1;
    height: auto;
    background-color: rgba(255, 255, 255, 0.1);
  }
  #header .gnb ul .depth1 ul a {
    justify-content: flex-start;
    padding-left: 40px;
    height: 50px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
  }
  #header .gnb ul .depth1 ul li:first-child a {
    border: 0;
  }
  .main_con.service ul {
    grid-template-rows: 350px 300px;
  }
  .main_con.cscenter .sec01 {
    padding: 50px;
  }
  .main_con.cscenter .sec01 p {
    word-break: keep-all;
  }
  .main_con.partner ul {
    grid-template-columns: repeat(5, 1fr);
  }
  #customPage.about01 .flex > div.img {
    width: 40%;
    aspect-ratio: 5/7;
  }
  #customPage.about01 .flex > div.con {
    width: 60%;
  }
  #customPage.about02 .info {
    display: flex;
    flex-wrap: wrap;
    margin: 0;
  }
  #customPage.about02 .info dt,
  #customPage.about02 .info dd {
    margin-top: -1px;
    margin-left: -1px;
  }
  #customPage.about02 .info dt {
    font-size: 0;
    gap: 0;
    width: 70px;
    margin-left: 0;
  }
  #customPage.about02 .info dd:nth-child(2) {
    width: calc(100% - 69px);
  }
  #customPage.about02 .info dd:nth-child(4) {
    width: 200px;
  }
  #customPage.about02 .info dt:nth-child(5) {
    margin-left: -1px;
  }
  #customPage.about02 .info dd:nth-child(6) {
    width: calc(100% - 337px);
  }
  #customPage.about02 .info dd br {
    display: none;
  }
  #customPage.about02 .info dd span.space {
    display: inline-block;
    width: 20px;
  }
  .snb ul {
    justify-content: space-between;
  }
  .snb ul li {
    width: 100%;
  }
  .snb ul a {
    min-width: auto;
  }
  .service_header {
    padding: 0 10%;
    word-break: keep-all;
  }
  #customPage.service01 .progress {
    padding: 0;
  }
  #customPage.client ul {
    grid-template-columns: repeat(5, 1fr);
    grid-auto-rows: auto;
  }
  #customPage.client ul li {
    padding: 2vw;
  }
  #customPage.client ul li img {
    max-width: 100%;
  }
  #customPage.contact .flex .sec01 {
    min-width: auto;
    width: 350px;
  }
  #customPage.contact .flex .sec01 dl {
    grid-template-columns: 100px 1fr;
    grid-auto-rows: minmax(3.5em, auto);
  }
  #customPage.contact .flex .sec01 dl dt,
  #customPage.contact .flex .sec01 dl dd {
    height: auto;
    padding-top: 1em;
    padding-bottom: 1em;
    word-break: keep-all;
  }
}
@media (max-width: 768px) {
  #hd_pop {
    width: 100%;
  }
  .hd_pops {
    left: 3vw !important;
    width: 94vw;
    top: 80px !important;
  }
  .hd_pops .hd_pops_con {
    width: 100% !important;
    height: auto !important;
  }
  :root {
    --gnbHeight: 80px;
    --spaceL: 70px;
    --spaceM: 45px;
  }
  #header .logo img {
    height: 35px;
  }
  #header .gnb .btn_gnb {
    width: 40px;
    height: 40px;
    top: 20px;
  }
  #mainVisual .swiper-slide h2 {
    font-size: 50px;
  }
  #mainVisual .swiper-slide p {
    font-size: 20px;
  }
  .main_con.service ul {
    grid-template-rows: 320px 240px;
  }
  .main_con.service ul li a h3 {
    font-size: 1.3em;
  }
  .main_con.service ul li a p {
    font-size: 0.9em;
  }
  .main_con.cscenter {
    display: block;
  }
  .main_con.cscenter .pc_no {
    display: block;
  }
  .main_con.cscenter iframe {
    height: 250px;
  }
  #subVisual {
    height: 300px;
    padding-top: 150px;
    font-size: 2.6em;
  }
  #customPage.about01 .flex > div.img {
    display: none;
  }
  #customPage.about01 .flex > div.con {
    width: 100%;
    text-align: center;
    word-break: keep-all;
    padding-left: 13%;
    padding-right: 13%;
  }
  #customPage.about02 .info dd:nth-child(4) {
    width: calc(100% - 69px);
  }
  #customPage.about02 .info dt:nth-child(5) {
    margin-left: 0;
  }
  #customPage.about02 .info dd:nth-child(6) {
    width: calc(100% - 69px);
  }
  .service_header {
    padding: 0;
  }
  #customPage.service02 .flex {
    gap: 5px;
  }
  #customPage.service02 .flex > li {
    width: 100%;
    padding: 1.5em;
    word-break: keep-all;
  }
  #customPage.client ul {
    grid-template-columns: repeat(4, 1fr);
  }
  #customPage.contact .flex {
    flex-direction: column;
  }
  #customPage.contact .flex .sec01 {
    width: 100%;
    min-width: auto;
  }
  #customPage.contact .flex .sec02 iframe {
    height: 300px;
  }
  #customPage.contact .flex .sec01 h3 {
    font-size: 2em;
  }
  #customPage.estimate {
    padding: 0 10%;
  }
  #customPage.service05 .list01 p {
    margin-top: 0.5em;
  }
  #customPage.service05 .list01:nth-last-of-type(1) li {
    width: 49%;
  }
  #customPage.service05 .list01:nth-last-of-type(2) li {
    width: 49%;
  }
  #customPage.service05 .list01:nth-last-of-type(3) li {
    width: 49%;
  }
}
@media (max-width: 700px) {
  :root {
    --gnbHeight: 65px;
    --spaceL: 50px;
    --spaceM: 35px;
    --spaceS: 25px;
    --t1: 32px;
    --sitePadding: 5%;
  }
  .mobile_only {
    display: block;
  }
  #header {
    padding: 0 20px;
  }
  #header .logo img {
    height: 25px;
  }
  #header .gnb .btn_gnb {
    width: 24px;
    height: 24px;
    right: 20px;
  }
  #mainVisual .swiper-slide h2 {
    font-size: 30px;
    padding-left: 25px;
    padding-right: 25px;
    word-break: keep-all;
    font-weight: 700;
  }
  #mainVisual .swiper-slide p {
    font-size: 1.1em;
    padding-left: 25px;
    padding-right: 25px;
    word-break: keep-all;
  }
  #mainVisual .swiper-slide p br {
    display: none;
  }
  .main_con_header p {
    font-size: 1.15em;
  }
  .main_con.service ul {
    display: block;
  }
  .main_con.service ul li {
    height: 200px;
  }
  .main_con.service ul li a i {
    width: 35px;
    height: 35px;
  }
  .main_con.service ul li a h3 {
    font-size: 1.2em;
  }
  .main_con.service ul li a p {
    font-size: 0.85em;
  }
  .main_con.portfolio {
    padding-left: 0;
    padding-right: 0;
  }
  .main_con.partner ul {
    padding: 25px;
    gap: 20px;
    border-radius: 10px;
    grid-template-columns: repeat(3, 1fr);
  }
  .main_con.partner ul img {
    max-height: 30px;
  }
  .main_con.cscenter .sec01 {
    padding: 35px;
    font-size: 1em;
  }
  #footer {
    flex-direction: column;
    padding: 40px 20px;
    font-size: 12px;
    word-break: keep-all;
    text-align: center;
  }
  #footer h1 {
    width: 100px;
    height: 28px;
  }
  #subVisual {
    font-size: 26px;
    padding-top: 100px;
    height: 200px;
  }
  .snb ul {
    height: 50px;
    overflow-x: auto;
    overflow-y: hidden;
  }
  .snb ul a {
    min-width: 120px;
    font-size: 1.1em;
    height: 50px;
  }
  #customPage {
    font-size: 1em;
  }
  #customPage.about01 .flex > div.con {
    padding-left: 0;
    padding-right: 0;
  }
  #customPage.about01 .flex .con .txt01 {
    font-size: 1.45em;
  }
  #customPage.about01 .flex .con .txt02 {
    font-size: 1.25em;
  }
  #customPage.about01 .flex .con .logo {
    margin: 2.5em 0;
  }
  #customPage.about01 .flex .con .logo img {
    height: 70px;
  }
  #customPage.about01 .flex .con .txt03 strong {
    font-size: 1.2em;
  }
  #customPage.about02 .info dd br {
    display: block;
  }
  #customPage.about02 .info dd span.space {
    display: none;
  }
  #customPage.about02 .map iframe {
    height: 300px;
  }
  #customPage.about02 .info dt,
  #customPage.about02 .info dd {
    padding: 15px;
  }
  .service_header h3 {
    font-size: 1.5em;
    word-break: keep-all;
  }
  .service_header p {
    font-size: 1.15em;
    word-break: keep-all;
  }
  .service_header ul {
    font-size: 1em;
  }
  .service_header ul li {
    padding-left: 1.2em;
  }
  .service_header ul li::before {
    top: 0.1625em;
  }
  .service_con header h3 {
    font-size: 1.4em;
    word-break: keep-all;
    line-height: 1.3;
  }
  .service_con header p {
    font-size: 1.05em;
    word-break: keep-all;
  }
  .service_con .list01 li {
    margin-top: 5px;
    width: 49%;
  }
  .service_con .pc {
    display: none;
  }
  .service_con .mobile {
    display: block;
  }
  #customPage.service01 .progress .grid {
    display: block;
  }
  #customPage.service01 .progress .grid > li {
    padding: 2em;
  }
  #customPage.service01 .progress .grid > li li {
    font-size: 1em;
  }
  #customPage.service01 .progress .grid > li::before {
    width: 1px;
    height: 100%;
    top: 0;
    right: 40px;
    left: auto;
  }
  #customPage.service01 .progress .grid > li .date {
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
  }
  #customPage.service02 .flex {
    display: block;
  }
  #customPage.service02 .flex li {
    margin-top: 8px;
  }
  .ul01 li {
    padding-left: 1.2em;
  }
  .ul01 li::before {
    top: 0.1625em;
  }
  #customPage.service02 .flex > li .ul01 {
    font-size: 1em;
  }
  #customPage.client ul {
    grid-template-columns: repeat(3, 1fr);
    gap: 5px;
  }
  #customPage.client ul li {
    padding: 10px;
  }
  #customPage.client ul li img {
    max-height: 25px;
  }
  #customPage.contact .flex .sec01 dl {
    grid-template-columns: 80px 1fr;
  }
  #customPage.estimate {
    padding: 0;
  }
  .main_lists_tit .titles {
    font-size: 1em;
  }
}