@media screen and (min-width: 1400px) {
  #top .mvv-area .left:before {
    left: 4%;
  }
}

@media screen and (max-width: 1600px) {
  footer #page-top {
    right: 50px;
    bottom: -15px;
  }
  footer .box > .bottom small {
    margin-right: 80px;
  }
}
@media screen and (max-width: 820px) {
  .pc {
    display: none !important;
  }
  .sp {
    display: block !important;
  }

  .btn {
    padding: 18px;
    font-size: 1.5rem;
  }

  /*body.fixed{ position: fixed; }*/

  header {
    padding: 15px 0;
    margin-bottom: 0;
  }
  header .left {
    transition: 0.3s;
    position: relative;
    z-index: 999;
  }
  header .left h1 a img {
    max-height: 50px;
  }
  header .right .modalbtn {
    position: fixed;
    right: 8px;
    top: 8px;
    transition: 0.3s;
    z-index: 999;
    background: #fff;
    width: 40px;
    height: 40px;
    border-radius: 40px;
  }
  header .right .modalbtn:before {
    content: "";
    transition: 0.3s;
    position: absolute;
    left: 0;
    right: 0;
    top: 17px;
    margin: auto;
    width: 15px;
    background: var(--main-color);
    height: 1px;
  }
  header .right .modalbtn:after {
    content: "";
    transition: 0.3s;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 17px;
    margin: auto;
    width: 15px;
    background: var(--main-color);
    height: 1px;
  }
  header .right .modalbtn.active:before {
    top: 19.5px;
    transform: rotate(-135deg);
  }
  header .right .modalbtn.active:after {
    bottom: 19.5px;
    transform: rotate(-225deg);
  }
  header .right nav {
    display: none;
    height: 100%;
    overflow-y: auto;
    padding: 0 20px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
    text-align: center;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    height: 0;
    height: 100%;
    background: #f8f8f8;
    width: 100%;
  }
  header .right nav.active {
  }
  header .right ul {
    gap: 50px;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    padding-top: 100px;
  }
  header .right ul li {
    width: 100%;
    max-width: 100% !important;
  }
  header .right ul li a {
    color: var(--main-color);
  }
  header .right ul li.nav-list.nav-btn a {
    padding: 0;
    border: none;
    border-radius: 0;
  }
  .fixed header .left {
    opacity: 0;
  }

  header.is-animation {
    backdrop-filter: none;
  }

  footer {
    padding: 70px 0 30px;
  }
  footer .top {
    margin-bottom: 40px;
  }
  footer .top nav {
    width: 100%;
  }
  footer .top nav ul {
    gap: 15px;
  }
  footer .top nav ul li.nav-list {
    width: calc(100% / 3 - (10px));
  }
  footer .middle .address .bottom p {
    font-size: 1.4rem;
  }
  footer .middle .address .top {
    margin-bottom: 30px;
    -webkit-box-pack: start;
    -ms-flex-pack: start;
    justify-content: flex-start;
  }
  footer .middle .address .top * {
    font-size: 1.6rem;
  }
  footer .bottom {
    margin-bottom: 0;
    flex-direction: column;
  }
  footer .bottom small {
    font-size: 1.2rem;
  }
  footer .bottom .label {
    max-width: 70px;
    gap: 0 5px;
  }

  footer .left .logo {
    max-width: 135px;
    margin-bottom: 40px;
  }

  footer .box > * {
    gap: 60px;
  }
  footer .box > .top {
    text-align: center;
  }
  footer .box > .middle .left .top {
    text-align: center;
    margin-bottom: 20px;
  }
  footer .box > .middle .left .top a {
    margin-top: 15px;
    text-decoration: underline;
  }
  footer .box > .middle .left .bottom {
    gap: 0 12px;
    max-width: 340px;
    margin: 0 auto;
  }
  footer .box > .middle > * {
    width: 100%;
  }
  footer .box > .middle .right nav {
    max-width: 340px;
    /* margin: auto; */
    text-align: center;
    gap: 30px 30px;
  }
  footer .box > .middle .right nav ul {
    flex: 1;
  }
  footer .box > .middle .right nav ul li a.jp {
    line-height: 1.6em;
  }
  footer .box > .bottom small {
    width: 100%;
    font-size: 1.2rem;
    text-align: center;
    margin: 0;
  }
  footer #page-top {
    display: none;
  }

  .contact-area .container {
    padding-bottom: 70px;
  }
  .contact-area .text {
    font-size: 1.6rem;
  }
  .contact-area .two-column .box {
    width: 100%;
    flex: auto;
  }
  .contact-area .box {
    padding: 30px 20px;
  }
  .contact-area .box h4 {
    font-size: 2.2rem;
  }
  .contact-area .box .tel-num {
    font-size: 3.5rem;
  }
  .contact-area .box .icon-box {
    max-width: 35px;
    max-height: 35px;
    margin: 0 auto 10px;
  }
  .contact-area .box p {
    font-size: 1.6rem;
  }

  .news-box li a {
    display: block;
    padding: 30px 50px 30px 0;
  }
  .news-box li a > * {
    width: 100%;
  }
  .news-box li a span {
    font-size: 1.4rem;
  }
  .news-box li a p {
    font-size: 1.5rem;
    margin-top: 10px;
  }
  .news-box li:before {
    right: 15px;
    width: 10px;
    height: 10px;
  }

  .sub .page-header {
    margin-bottom: 100px;
    padding: 100px 0 45px;
  }
  .sub .page-header .page-title .en {
    font-weight: 400;
    font-size: 1.8rem;
    margin-bottom: 10px;
  }
  .sub .page-header .page-title h2,
  .sub .page-header .page-title h2.en {
    ine-height: 1em;
    font-size: 3rem;
  }
  .sub .page-header .page-title h2.en {
    font-weight: 400;
  }
  .sub .page-header .breadcrumb > * {
    font-size: 1.3rem;
  }
  .sub .page-header .breadcrumb > *:not(:last-child):before {
    right: -17px;
    width: 7px;
  }
  .sub .page-header .breadcrumb > *:not(:last-child) {
    margin-right: 25px;
  }

  section .sec-title {
    margin-bottom: 30px;
  }
  section .sec-title h3 {
    font-size: 2.5rem;
  }
  section .sec-title .en {
    font-size: 3.5rem;
    margin-bottom: 14px;
  }
  .sub main section .sec-title .en {
    font-size: 3.5rem;
  }
  .sub main section:last-child {
    padding-bottom: 120px;
  }

  .page-content {
    padding-bottom: 80px;
  }

  .table-box table th,
  .table-box table td {
    padding: 15px;
  }
  .table-box table th {
    min-width: 5em;
    padding-left: 0;
  }
  .table-box table td {
    padding-left: 0;
    padding-right: 0;
  }

  #notfound main section .img-box img {
    max-width: 70px;
  }
  #notfound main section h3 {
    font-size: 2.3rem;
  }

  #privacy section .box h3 {
    font-size: 2.3rem;
  }
  #privacy section p {
    font-size: 1.4rem;
  }
  #privacy section:not(:last-child) {
    margin-bottom: 100px;
  }
  #privacy section h2 {
    font-size: 2.6rem;
  }

  #single-detail .content {
    padding-bottom: 120px;
  }
  #single-detail .meta-box span {
    font-size: 1.4rem !important;
  }
  #single-detail .meta-box .content-title {
    font-size: 2.4rem;
  }
  #single-detail .meta-box .flex {
    margin-bottom: 20px;
  }
  #single-detail .meta-box {
    padding-bottom: 25px;
    margin-bottom: 35px;
  }
  #single-detail .contents > h4:not(:first-child) {
    margin-top: 50px;
  }
  #single-detail .contents > h5:not(:first-child) {
    margin-top: 45px;
  }
  #single-detail .contents > h6:not(:first-child) {
    margin-top: 40px;
  }

  #service .service-area .flex > * {
    width: 100%;
    padding: 0;
  }
  #service .service-area .left .sec-title h3 {
    font-size: 3rem;
  }
  #service .three-area .text {
    font-size: 1.7rem;
  }
  #service .three-area .box {
    flex: auto;
    padding: 40px 20px;
  }
  #service .three-area .sec-title .en {
    margin: 0 5px 0 0px;
    font-size: 6rem;
  }
  #service .three-area .sec-title h3 {
    font-size: 3rem;
  }
  #service .three-area .three-column {
    margin-top: 45px;
  }
  #service .three-area,
  #service .price-area {
    padding: 80px 0;
  }
  #service .price-area .flex > * {
    width: 100%;
    padding: 0;
  }
  #service .price-area .left .sec-title h3 {
    font-size: 3rem;
  }
  #service .price-area .right {
    text-align: center;
  }
  #service .price-area .right img {
    width: 77%;
  }
  #service .price-area .left ul li {
    padding-left: 1.8em;
    line-height: 1.5em;
    font-size: 1.8rem;
  }
  #service .price-area .left ul li:before {
    top: 0.4em;
    left: 7px;
    width: 12px;
    height: 5px;
  }

  /*#company .philosophy-area{ margin-bottom: 60px; }*/
  #company .philosophy-area p {
    font-size: 1.6rem;
    line-height: 1.8em;
  }
  #company .philosophy-area:before {
    height: 70%;
  }
  #company .greeting-area:before {
    top: 28%;
    height: 72%;
    width: calc(100% - 15px);
  }
  #company .greeting-area .left {
    position: relative;
    width: 100%;
    padding-top: 115%;
    bottom: 0;
    left: -50px;
  }
  #company .greeting-area .left img {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
  }
  #company .greeting-area .right {
    width: 100%;
    background: #fff;
    padding: 50px 50px 50px 35px;
  }
  #company .greeting-area .right .sec-title {
    margin-bottom: 15px;
  }
  #company .greeting-area .right h4 {
    font-size: 3.2rem;
  }
  #company .greeting-area .right h4 span {
    margin-left: 10px;
    font-size: 1.5rem;
  }
  #company .greeting-area .right p {
    font-size: 1.5rem;
    line-height: 1.8em;
  }
  #company .greeting-area .container {
    background: none;
    padding-top: 0;
    padding-bottom: 0;
  }
  #company .access-area .flex > * {
    width: 100%;
    padding: 0;
  }
  #company .access-area .right iframe {
    max-height: 300px;
  }

  #company .access-area,
  #company .company-area {
    padding: 80px 0;
  }
  #company .office-area {
    padding: 0 0 80px;
  }
  #company .office-area .sec-title {
    margin-bottom: 10px;
  }
  #company .office-area .sec-title .en {
    font-size: 4.5rem;
    line-height: 1em;
  }

  #company .access-area .left .btn-box {
    margin-top: 30px;
  }

  #top .fv .box {
    width: 50%;
  }
  #top .fv .box:before {
  }
  #top .fv .container:after {
    right: 24px;
    left: auto;
  }
  #top .fv .container:before {
    right: 18.5px;
    left: auto;
  }
  #top .fv .box:before {
    right: calc(-100% - 2px);
  }
  #top .mvv-area .left {
    text-align: left;
    width: auto;
  }
  #top .mvv-area .right {
    width: auto;
  }
  #top .mvv-area .left:before {
    left: -45%;
    min-width: 350px;
  }
  #top .mvv-area {
    padding: 120px 0 80px;
  }
  #top .company-area,
  #top .service-area,
  #top .news-area {
    padding: 80px 0;
  }
  #top .company-area .left {
    padding-right: 50px;
    width: 54%;
  }
  #top .company-area .right {
    width: 46%;
  }
  #top .service-area .box .img {
    width: 40%;
  }
  #top .service-area .box .text {
    width: 60%;
    padding: 60px 50px;
  }
  #top .service-area p {
    font-size: 1.5rem;
    line-height: 1.8em;
  }
  #top .news-area .container > .flex {
    gap: 0 100px;
  }
  #top .news-area .right {
    width: calc(100% - 280px);
  }
}
@media screen and (max-width: 768px) {
  #single-detail figure {
    margin-top: 30px !important;
    flex-direction: column;
  }
}

@media screen and (max-width: 640px) {
  .pc2 {
    display: none !important;
  }
  .sp2 {
    display: block !important;
  }

  #single-detail article {
    padding: 40px 30px;
  }
  .swiper-button-next:after,
  .swiper-button-prev:after {
    width: 30px;
    height: 30px;
  }
  .swiper-button-next,
  .swiper-rtl .swiper-button-prev {
    right: 14%;
    width: 30px;
    height: 30px;
  }
  .swiper-button-prev,
  .swiper-rtl .swiper-button-next {
    left: 14%;
    width: 30px;
    height: 30px;
  }

  #top .news-area .left {
    max-width: 100%;
  }
  #top .news-area .right {
    width: 100%;
  }
  #top .news-area .right .btn-box {
    margin-top: 30px;
  }
  #top .news-area .sec-title {
    margin-bottom: 0;
  }
  #top .service-area .box .img {
    order: 1;
  }
  #top .service-area .box .text {
    order: 2;
  }
  #top .service-area .box > * {
    width: 100% !important;
  }
  #top .service-area .box .text {
    padding: 40px 30px;
  }
  #top .company-area .flex > * {
    width: 100%;
    padding: 0;
  }
  #top .mvv-area .flex > * {
    width: 100%;
    padding: 0;
  }
  #top .mvv-area .left img {
    max-width: 270px;
  }
  #top .mvv-area .left:before {
    right: -24%;
    left: auto;
    min-width: 100%;
    left: auto;
    bottom: -76%;
    height: 200%;
    background: url(../images/top/mvv-02.svg) right/contain no-repeat;
  }
  #top .mvv-area .right dl dt {
    font-size: 2rem;
  }
  #top .mvv-area .right dl dd {
    font-size: 1.5rem;
  }
  #top .mvv-area .right dl:not(:last-child) {
    margin-bottom: 50px;
  }
  #top .mvv-area .right .sec-title {
    margin-bottom: 50px;
  }
  #top .fv .box {
    width: 100%;
    padding: 0 18px;
  }
  #top .fv h2 {
    margin-bottom: 23px;
  }
  #top .fv p {
    font-size: 1.6rem;
  }
  #top .fv .container {
    bottom: 5%;
  }
  #top .fv > img {
    min-height: 100%;
  }
  #top .fv .box:before {
    right: -8px;
    font-size: 1.3rem;
  }
  #top .fv .container:after {
    right: 18px;
  }
  #top .fv .container:before {
    right: 13.5px;
    height: 8px;
    width: 8px;
  }
  #top .service-area .box {
    margin-top: 50px;
  }
  #top .service-area .box .text .btn-box {
    margin-top: 20px;
  }

  .contact-area .sec-title h3 {
    font-size: 2.3rem;
  }
  .contact-area .box .tel-num {
    font-size: 8.5vw;
  }
  footer .box > .middle .left .bottom {
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
  }
  footer .box > .middle .left .bottom * {
    font-size: 4vw !important;
  }
  footer .box > .middle .left .bottom p * {
    margin-left: 0.5em;
  }

  footer .p-mark {
    width: 30%;
    display: block;
    margin-top: -60px;
    margin-bottom: 40px;
    margin-inline: auto;
  }
  .p-mark img {
    width: 70px;
    display: block;
    margin-inline: auto;
  }
}

@media screen and (max-width: 420px) {
}

@media screen and (max-width: 376px) {
}
